/* Full-bleed landing hero.
   The floating pill nav that used to live here now ships site-wide from
   site-nav-pill.css, which the home views load just before this file. */

.hero {
  height: auto;
  max-height: none;
  min-height: min(90vh, 840px);
  margin: 0;
  border-radius: 0;
  padding: calc(env(safe-area-inset-top, 0px) + 8.5rem) 1.5rem 4.5rem;
}

.hero-gradient-overlay {
  border-radius: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 1.35rem;
}

/* Second clause sits back so the first one carries the page. */
.hero-h1-dim {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.45);
}

.hero p {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

.hero-trust {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  margin-top: 1.6rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 640px) {
  .hero {
    padding-top: calc(env(safe-area-inset-top, 0px) + 7rem);
    padding-bottom: 3.5rem;
    min-height: min(94vh, 760px);
  }
  .hero-trust {
    padding: 0.6rem 1rem;
    gap: 0.75rem;
    font-size: 0.75rem;
  }
}
