/* Responsive proportion pass: keep the product calm and readable without letting
   headings dominate desktop/laptop viewports. Loaded after the shared styles. */

h1 {
  font-size: clamp(2.45rem, 3vw, 3.2rem);
}

h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
}

.hero {
  padding-block: clamp(42px, 5vw, 64px);
}

/* The homepage hero uses .split-section, not the older .hero__grid wrapper. */
.hero .split-section {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 4.5vw, 64px);
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 3.35vw, 3.35rem);
  line-height: 1.08;
}

.hero__lead {
  max-width: 640px;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
}

.hero__support {
  max-width: 640px;
  margin-bottom: 24px;
}

.hero__image {
  width: min(100%, 640px);
  justify-self: end;
}

.section {
  padding-block: clamp(50px, 5.5vw, 72px);
}

.section h2 {
  max-width: 680px;
  margin-bottom: 24px;
}

.final-cta {
  padding-top: clamp(54px, 5.5vw, 78px);
}

.site-footer {
  margin-top: 52px;
}

/* Short content-page heroes should read as page introductions, not billboards. */
.hero .legal-content h1,
.legal-content > h1,
main .site-shell > h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 3vw, 3rem);
  line-height: 1.1;
}

@media (max-width: 1100px) {
  h1 {
    font-size: clamp(2.35rem, 4.3vw, 3rem);
  }

  .hero .split-section {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 36px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(2.45rem, 4.2vw, 3rem);
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: clamp(2.3rem, 6vw, 2.9rem);
  }

  .hero {
    padding-block: 44px 54px;
  }

  .hero .split-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero h1,
  .hero__lead,
  .hero__support {
    max-width: 700px;
  }

  .hero__image {
    width: min(100%, 700px);
    justify-self: start;
  }
}

@media (max-width: 640px) {
  h1,
  .hero h1,
  .hero .legal-content h1,
  .legal-content > h1 {
    font-size: clamp(2.15rem, 9vw, 2.55rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.5rem, 6.5vw, 1.9rem);
  }

  .hero {
    padding-block: 40px 50px;
  }

  .hero .split-section {
    gap: 28px;
  }

  .section {
    padding-block: 46px;
  }
}
