.hero {
  min-height: 0;
  height: clamp(540px, 68vh, 650px);
  padding: 0;
  isolation: isolate;
  background: #f7eee1;
}

.hero__background,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__background {
  z-index: -2;
  display: block;
  object-fit: cover;
  object-position: center 54%;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.97) 0%, rgba(255, 250, 241, 0.9) 32%, rgba(255, 250, 241, 0.42) 55%, rgba(255, 250, 241, 0.04) 78%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.48) 0%, transparent 28%, rgba(7, 59, 120, 0.08) 100%);
}

.hero__content {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 8rem;
}

.hero__copy {
  width: min(100%, 620px);
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 4.4vw, 4rem);
}

.hero .lead {
  max-width: 560px;
  color: #344e66;
}

.hero .button--quiet {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(6px);
}

@media (max-width: 800px) {
  .hero {
    height: clamp(560px, 78vh, 640px);
  }

  .hero__background {
    object-position: 62% center;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(255, 250, 241, 0.96) 0%, rgba(255, 250, 241, 0.82) 62%, rgba(255, 250, 241, 0.28) 100%);
  }

  .hero__content {
    padding-top: 7rem;
  }

  .hero__copy {
    width: min(90%, 560px);
  }
}

@media (max-width: 480px) {
  .hero {
    height: 610px;
  }

  .hero__background {
    object-position: 67% center;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.96) 0%, rgba(255, 250, 241, 0.86) 60%, rgba(255, 250, 241, 0.42) 100%);
  }

  .hero__copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 11vw, 3rem);
  }

  .hero .lead {
    font-size: 1rem;
  }

  .hero .actions {
    margin-top: 1.4rem;
  }

  .hero .trust-line {
    margin-top: 1rem;
  }
}
