/* ─────────────────────────────────────────────────────────────
   Meridian — Typography scale
   Barlow across the board; Spline Sans Mono for code/labels.
   Values transcribed from the source deck (exact px, not snapped).
   ───────────────────────────────────────────────────────────── */

:root {
  /* Display / section headers (deck) */
  --text-display-size: 104px;
  --text-display-line: 104px;
  --text-display-weight: var(--font-weight-medium);

  /* Headings */
  --text-h1-size: 44.4px;   /* stat / hero numerals */
  --text-h1-line: 53.28px;
  --text-h1-weight: var(--font-weight-semibold);

  --text-h2-size: 34px;
  --text-h2-line: 41px;
  --text-h2-weight: var(--font-weight-semibold);

  --text-h3-size: 24px;
  --text-h3-line: 31.2px;   /* 130% */
  --text-h3-weight: var(--font-weight-medium);

  --text-title-size: 18px;  /* card titles */
  --text-title-line: 28px;
  --text-title-weight: var(--font-weight-semibold);

  /* Body */
  --text-body-lg-size: 24px;
  --text-body-lg-line: 31.2px;   /* 130% */
  --text-body-size: 16px;
  --text-body-line: 24px;        /* 150% */
  --text-body-sm-size: 14px;
  --text-body-sm-line: 20px;

  /* Labels / mono chrome */
  --text-label-size: 14px;
  --text-label-line: 18px;
  --text-caption-size: 12px;
  --text-caption-line: 16px;
}

/* Utility classes — opt-in, all reference the tokens above */
.md-display {
  font-family: var(--font-family-heading);
  font-weight: var(--text-display-weight);
  font-size: var(--text-display-size);
  line-height: var(--text-display-line);
  color: var(--text-primary);
}
.md-h1 { font-family: var(--font-family-heading); font-weight: var(--text-h1-weight); font-size: var(--text-h1-size); line-height: var(--text-h1-line); color: var(--text-primary); }
.md-h2 { font-family: var(--font-family-heading); font-weight: var(--text-h2-weight); font-size: var(--text-h2-size); line-height: var(--text-h2-line); color: var(--text-primary); }
.md-h3 { font-family: var(--font-family-heading); font-weight: var(--text-h3-weight); font-size: var(--text-h3-size); line-height: var(--text-h3-line); color: var(--text-primary); }
.md-title { font-family: var(--font-family-heading); font-weight: var(--text-title-weight); font-size: var(--text-title-size); line-height: var(--text-title-line); color: var(--text-primary); }
.md-body-lg { font-family: var(--font-family-body); font-weight: var(--font-weight-regular); font-size: var(--text-body-lg-size); line-height: var(--text-body-lg-line); color: var(--text-primary); }
.md-body { font-family: var(--font-family-body); font-weight: var(--font-weight-regular); font-size: var(--text-body-size); line-height: var(--text-body-line); color: var(--text-primary); }
.md-body-sm { font-family: var(--font-family-body); font-weight: var(--font-weight-regular); font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-line); color: var(--text-secondary); }
.md-label { font-family: var(--font-family-body); font-weight: var(--font-weight-medium); font-size: var(--text-label-size); line-height: var(--text-label-line); color: var(--text-tertiary); }
.md-mono { font-family: var(--font-family-mono); font-weight: var(--font-weight-regular); font-size: var(--text-label-size); line-height: var(--text-label-line); color: var(--text-secondary); }
