/* Typography — Montserrat */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  color: var(--color-text);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, var(--fs-xl));
  line-height: var(--lh-snug);
  font-weight: var(--fw-semibold);
}

h4 {
  font-size: var(--fs-lg);
}

p {
  max-width: 65ch;
  line-height: var(--lh-relaxed);
}

.lead {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  max-width: 40rem;
  font-weight: var(--fw-regular);
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-accent-line);
}

.eyebrow--pill {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-accent-line);
  border-bottom: 1px solid var(--color-accent-line);
  background: var(--color-accent-muted);
  margin-bottom: var(--space-4);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-small {
  font-size: var(--fs-sm);
}

.text-center {
  text-align: center;
}

.prose {
  max-width: var(--container-narrow);
}

.prose > * + * {
  margin-top: var(--space-4);
}

.prose h2,
.prose h3 {
  margin-top: var(--space-8);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: var(--space-2);
}

.section-heading {
  margin-bottom: var(--space-10);
  max-width: 36rem;
}

.section-heading .lead {
  margin-top: var(--space-4);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .lead {
  margin-inline: auto;
}

.section-heading--split {
  display: grid;
  gap: var(--space-6);
  max-width: none;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-12));
  align-items: end;
}

.section-heading__main {
  max-width: 18rem;
}

.section-heading__aside {
  margin-top: 0;
  max-width: 34rem;
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-5);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.wordmark span {
  color: var(--color-accent-dark);
}

.site-footer .wordmark {
  color: var(--color-text-inverse);
}

.site-footer .wordmark span {
  color: var(--color-accent-hover);
}

.wordmark--dark {
  color: var(--color-text);
}
