/* Only index.html loads this sheet. Keep inheritance inside the public page
   regions: dialogs and shared global typography must retain their own styles. */
/* Inter 4.1, https://rsms.me/inter/ — see fonts/OFL.txt. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/InterVariable.woff2') format('woff2');
}

.home-page > :is(.site-header, #main, .site-footer, .skip-link) {
  --home-h1: clamp(2.75rem, 3.6vw, 3.25rem);
  --home-h2: clamp(2rem, 2.5vw, 2.25rem);
  --home-h3: 1.375rem;
  --home-body: 1rem;
  --home-caption: 0.8125rem;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-optical-sizing: auto;
  font-size: var(--home-body);
  line-height: 1.6;
}

.home-page > #main h1 {
  font-size: var(--home-h1);
  line-height: 1.15;
}

.home-page > #main h2 {
  font-size: var(--home-h2);
  line-height: 1.25;
}

.home-page > #main h3 {
  font-size: var(--home-h3);
  line-height: 1.3;
}

.home-page
  > #main
  :is(
    .hero-description,
    .section-copy,
    .section-heading > p,
    .insurance-card > p,
    .check-list,
    .advisor-points p,
    .steps p,
    .benefit-list p,
    .faq-list details p,
    .video-description
  ) {
  font-size: var(--home-body);
  line-height: 1.6;
}

.home-page > #main .lead {
  font-size: 1.1875rem;
  line-height: 1.5;
}

.home-page > #main .benefit-list h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.home-page
  > #main
  :is(
    .eyebrow,
    .card-number,
    .benefits-kicker,
    .microcopy,
    .small,
    .image-caption strong,
    .image-caption div > span,
    .benefits-note,
    .advisor-points > div > span,
    .trust-grid > p > span
  ) {
  font-size: var(--home-caption);
  line-height: 1.5;
}

.home-page > #main .image-label {
  font-size: 0.75rem;
  line-height: 1.5;
}

.home-page > #main .trust-grid p {
  font-size: var(--home-body);
  line-height: 1.6;
}

.home-page > #main .faq-list summary {
  font-size: 1rem;
  line-height: 1.6;
}

.home-page > :is(.site-header, #main) :is(.button, .text-button, .video-control) {
  font-size: 1rem;
  line-height: 1.2;
  min-height: 48px;
  min-width: 44px;
}

.home-page > :is(.site-header, #main) .button {
  min-height: 50px;
  padding-block: 12px;
}

.home-page > :is(.site-header, #main) :is(.button, .text-button) > span {
  line-height: 1;
  flex-shrink: 0;
}

.home-page > #main .text-button {
  padding-block: 12px;
}

.home-page > #main .video-control {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}

.home-page > .site-header .header-inner {
  height: 72px;
}

.home-page > .site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.home-page > .site-footer .footer-top p {
  font-size: 0.875rem;
  line-height: 1.3;
}

.home-page > .site-footer nav {
  font-size: 0.9375rem;
  line-height: 1.25;
}

.home-page > .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.home-page > .site-footer .footer-bottom p {
  font-size: var(--home-caption);
  line-height: 1.3;
}

.home-page > #main .advisor-contact a,
.home-page > .site-footer .footer-top p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.home-page > #main .calculator-assumptions summary {
  min-height: 44px;
  padding-block: 11px;
}

@media (max-width: 780px) {
  .home-page > .site-header .header-inner {
    height: 64px;
  }
}

@media (max-width: 520px) {
  .home-page > :is(.site-header, #main, .site-footer, .skip-link) {
    --home-h1: clamp(2rem, 9.2vw, 2.25rem);
    --home-h2: clamp(1.625rem, 7.3vw, 1.875rem);
    --home-h3: 1.25rem;
    --home-body: 0.9375rem;
    --home-caption: 0.75rem;
  }

  .home-page > .site-header .button {
    gap: 6px;
    padding-inline: 8px;
  }

  .home-page > #main .lead {
    font-size: 1.0625rem;
  }

  .home-page > #main .calculator-actions .button {
    gap: 8px;
    padding-inline: 12px;
  }
}
