/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text-dark);
  margin: 0 0 var(--space-4);
  line-height: var(--lh-heading);
}

h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}
h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
}
h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
}
h4 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
}

p {
  margin: 0 0 var(--space-4);
  color: var(--color-text-body);
}
p:last-child { margin-bottom: 0; }

.text-lead {
  font-size: var(--fs-body-lg);
  color: var(--color-text-muted);
}
.text-small { font-size: var(--fs-small); }
.text-caption {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
}

/* Eyebrow label — sits above a section heading and names the section's
   role (e.g. "SUBJECTS", "HOW IT WORKS"). Orange to tie back to the logo. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-orange);
  margin-bottom: var(--space-3);
}

.section-heading {
  max-width: 640px;
  margin-bottom: var(--space-7);
}
.section-heading--center {
  margin-inline: auto;
  text-align: center;
}
