:root {
  --type-body: 16px;
  --type-control: 15px;
  --type-meta: 13px;
  --type-h1: clamp(32px, 4.2vw, 48px);
  --type-h2: clamp(24px, 2.7vw, 30px);
  --type-h3: clamp(18px, 2vw, 24px);
}

body {
  font-size: var(--type-body);
  line-height: 1.5;
}

main h1,
.hero h1,
.story-copy h1 {
  font-size: var(--type-h1) !important;
  line-height: 1.08 !important;
}

main h2,
.step-head h2,
.pilot-heading h2 {
  font-size: var(--type-h2) !important;
  line-height: 1.15 !important;
}

main h3,
.legal h3 {
  font-size: var(--type-h3) !important;
  line-height: 1.25 !important;
}

main p,
.intro,
.hero-lede,
.hero-deck,
.story-copy p,
.legal p,
.legal li {
  font-size: var(--type-body) !important;
  line-height: 1.6;
}

button,
.button,
.header-signin,
.header-start,
.text-link,
.text-button,
.social-button,
.header-link,
.site-header nav a,
.site-nav a,
.quiet-link,
.pilot-button {
  font-size: var(--type-control) !important;
}

input,
textarea,
select {
  font-size: 16px !important;
}

small,
time,
.eyebrow,
.updated,
.demo-banner,
.card-label,
.section-label,
.message-label,
.route-time,
.pricing-note,
.receipt-code,
.receipt-disclaimer,
.summary-note,
.field-message,
.field-error,
.access-footer,
.security-note {
  font-size: var(--type-meta) !important;
  line-height: 1.45;
}

.choice strong,
.plan-card span,
.summary-lines dd,
.field label,
.field-label,
.access label,
.access-intro,
.moment strong,
.workflow-list strong,
.schedule-row strong,
.price-grid strong,
.faq-list summary {
  font-size: 14px !important;
}

.choice span,
.date-button,
.slot-button,
.chip,
.progress li,
.summary-lines dt,
.moment p,
.moment time,
.workflow-list p,
.schedule-row span,
.proof-strip,
.site-footer,
.footer-brand,
.legal .updated {
  font-size: var(--type-meta) !important;
}

.choice b,
.plan-card strong,
.price-grid .price,
.story-metric strong,
.large-number {
  line-height: 1.05;
}

@media (max-width: 820px) {
  :root {
    --type-h1: clamp(32px, 10vw, 40px);
    --type-h2: clamp(24px, 7vw, 28px);
    --type-h3: clamp(18px, 5vw, 22px);
  }

  main p,
  .intro,
  .hero-lede,
  .hero-deck,
  .story-copy p {
    font-size: 16px !important;
  }
}

@media (max-width: 560px) {
  .progress li {
    font-size: 0 !important;
  }

  .progress li span {
    font-size: 14px !important;
  }
}
