/*
 * Stimeo UI — typography tokens.
 *
 * Hanken Grotesk carries UI + display; JetBrains Mono carries code (the
 * `data-*` / `stimeo--*` API is shown in mono everywhere). Scale is a modest
 * 1.2-ish ratio tuned for dense documentation reading.
 */

:root {
  /* ── Families ────────────────────────────────────────────────────── */
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

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

  /* ── Type scale (rem) ────────────────────────────────────────────── */
  --text-xs:   0.75rem;   /* 12 — tags, captions, eyebrows */
  --text-sm:   0.8125rem; /* 13 — labels, code, table meta */
  --text-base: 0.9375rem; /* 15 — body */
  --text-md:   1.0625rem; /* 17 — lead body */
  --text-lg:   1.25rem;   /* 20 — card titles, section h3 */
  --text-xl:   1.5rem;    /* 24 — h2 */
  --text-2xl:  1.875rem;  /* 30 — page h1 */
  --text-3xl:  2.5rem;    /* 40 — hero */
  --text-4xl:  3.25rem;   /* 52 — display hero */

  /* ── Line heights ────────────────────────────────────────────────── */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* ── Letter spacing ──────────────────────────────────────────────── */
  --tracking-tight: -0.02em;
  --tracking-snug: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-eyebrow: 0.08em; /* uppercase eyebrows / category labels */

  /* ── Semantic aliases ────────────────────────────────────────────── */
  --text-body: var(--text-base);
  --text-heading: var(--font-display);
  --text-code: var(--font-mono);
}
