/* ============================================================
   Cold Anvil website — Typography tokens
   Identity: Inter (body/UI), Inter Tight (display), Geist Mono
   (numbers / data / IDs — always tabular). Posture: READING
   FIRST — a long-form scale with generous measure and leading,
   not the operator console's dense UI scale.
   ============================================================ */

:root {
  /* Families */
  --font-body:    "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-ui:      var(--font-body);
  --font-display: "Inter Tight", "Inter", -apple-system, system-ui, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", "JetBrains Mono", "Menlo", monospace;

  /* Scale — reading-first; body base is 17px */
  --text-2xs: 0.6875rem;  /* 11px — overlines, table footnotes */
  --text-xs:  0.75rem;    /* 12px — captions, metadata */
  --text-sm:  0.875rem;   /* 14px — secondary UI, table cells */
  --text-md:  1.0625rem;  /* 17px — body / prose base */
  --text-lg:  1.1875rem;  /* 19px — lede paragraphs */
  --text-xl:  1.375rem;   /* 22px — h3 */
  --text-2xl: 1.6875rem;  /* 27px — h2 */
  --text-3xl: 2.125rem;   /* 34px — h1 / page titles */
  --text-4xl: 2.75rem;    /* 44px — display / hero */

  /* Leading — generous for reading */
  --leading-tight:   1.12;  /* display */
  --leading-snug:    1.3;   /* headings */
  --leading-normal:  1.5;   /* UI */
  --leading-relaxed: 1.7;   /* prose */

  /* Tracking */
  --tracking-display: -0.022em;  /* Inter Tight at display sizes */
  --tracking-tight:   -0.011em;  /* UI controls */
  --tracking-normal:  0em;       /* body prose */
  --tracking-caps:    0.08em;    /* UPPERCASE overlines ONLY */
  --tracking-mono:    0em;

  /* Weights */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* Measure — line length, the reading-first backbone */
  --measure:        66ch;   /* prose default */
  --measure-narrow: 46ch;   /* asides, captions */
  --measure-wide:   88ch;   /* tables, figures may exceed prose */
}
