/* The homepage design, including the teal logo panel, is in site.css. */
[hidden] { display: none !important; }
.brand-intro { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html.show-intro .brand-intro {
    display: grid; place-content: center; justify-items: center; gap: 22px;
    position: fixed; inset: 0; z-index: 1000; pointer-events: none;
    background: radial-gradient(ellipse at 50% 62%, #18514b, #103e3b 58%);
    animation: intro-out .36s ease .67s both;
  }
  .brand-intro img { display: block; width: clamp(160px, 36vw, 280px); height: auto; animation: logo-in .42s ease-out both; }
  .brand-intro::after { content: ""; width: 60px; height: 2px; background: #f3c56a; animation: line-in .55s ease-out both; }
  @keyframes intro-out { to { opacity: 0; visibility: hidden; } }
  @keyframes logo-in {
    from { opacity: 0; clip-path: inset(0 0 65% 0); transform: translateY(8px); }
    to { opacity: 1; clip-path: inset(0); transform: none; }
  }
  @keyframes line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .hero--home .hero-grid > div:first-child { animation: logo-in .48s ease-out both; }
  html.show-intro .hero--home .hero-grid > div:first-child { animation-delay: .72s; }
}

.question-search { margin-block: 0 1.2rem; max-width: 45rem; }
.question-search label { display: block; color: var(--teal-deep); font-weight: 650; margin-block-end: .4rem; }
.question-search > div { display: flex; gap: .65rem; flex-wrap: wrap; align-items: center; }
.question-search input { flex: 1 1 12rem; min-width: 0; width: auto; min-height: 46px; }
.question-search p { margin-top: .75rem; }

.question-search button {
  min-height: 44px;
  padding: .5rem 1rem;
  border: 1px solid var(--teal);
  border-radius: 3rem;
  background: white;
  color: var(--teal-deep);
  font: inherit;
  cursor: pointer;
}
