/* ==========================================================================
   IACBT — Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); font-weight: 600; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

p {
  font-family: var(--font-body);
  color: var(--color-text-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  margin: 0;
}

.text-lead {
  font-size: var(--fs-body-lg);
  line-height: 1.65;
  color: var(--color-text-body);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-heading);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
}

.section-heading {
  max-width: 640px;
}

.section-heading--center {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.text-muted { color: var(--color-text-muted); }
.text-on-dark { color: #FFFFFF; }
.text-on-dark p, .text-on-dark .text-lead { color: rgba(255,255,255,0.82); }
.text-on-dark h1, .text-on-dark h2, .text-on-dark h3, .text-on-dark h4 { color: #FFFFFF; }

a {
  color: var(--color-secondary);
  text-decoration: none;
}

strong { font-weight: 600; color: var(--color-text-dark); }

blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: normal;
}

::selection {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
