/* Shared typography for the landing page and application.
   These installed fonts avoid third-party font requests. */
:root {
  --type-ui: "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

body {
  font-family: var(--type-ui);
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

h1,
h2,
.legal-page h1,
.legal-page h2 {
  font-family: var(--type-ui);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h3,
h4 {
  font-family: var(--type-ui);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand,
.brand strong,
.brand small {
  font-family: var(--type-ui);
}

.brand strong {
  font-weight: 650;
  letter-spacing: -0.015em;
}

.header-nav a {
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
}

.button,
.btn {
  font-family: var(--type-ui);
  font-weight: 650;
  letter-spacing: -0.012em;
}

.text-link,
.questions-list summary,
.contact-details a,
.field label {
  font-weight: 650;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--type-ui);
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.075em;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5.45rem);
  letter-spacing: -0.042em;
}

.hero-facts strong {
  font-family: var(--type-ui);
  font-size: 1.16rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-facts span {
  font-size: 0.82rem;
  line-height: 1.4;
}

.income-card span {
  font-family: var(--type-ui);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #d5e4d4;
}

.income-card strong {
  font-family: var(--type-ui);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.income-card small {
  font-size: 0.78rem;
  line-height: 1.4;
}

.step-number {
  font-weight: 650;
}

.lead-form h3 {
  font-family: var(--type-ui);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

@media (min-width: 761px) and (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    gap: 24px;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(3.6rem, 7vw, 4.4rem);
  }

  .hero-visual {
    width: min(100%, 650px);
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(2.65rem, 11.4vw, 3.5rem);
  }

  .hero-facts strong {
    font-size: 1rem;
  }
}
