/* ============================================================
   STG Consult — Typography tokens
   Display / titles: Rubik (geometric, heavy, confident).
   Body / UI:        Inter (neutral, legible).
   Data / mono:      JetBrains Mono (metrics, code — an addition).
   ============================================================ */

:root {
  /* ---- Families ---- */
  --font-display: 'Rubik', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

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

  /* ---- Type scale (rem on a 16px base) ---- */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.375rem;  /* 38px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */
  --text-7xl:  4.75rem;   /* 76px */
  --text-8xl:  6rem;      /* 96px */

  /* ---- Line heights ---- */
  --leading-none:    1;
  --leading-tight:   1.08;   /* display headlines */
  --leading-snug:    1.22;   /* subheads */
  --leading-normal:  1.5;    /* body */
  --leading-relaxed: 1.65;   /* long-form */

  /* ---- Letter spacing ---- */
  --tracking-tighter: -0.03em;  /* big Rubik display */
  --tracking-tight:   -0.015em; /* headings */
  --tracking-normal:  0;
  --tracking-wide:    0.04em;
  --tracking-wider:   0.14em;   /* spaced uppercase overlines (à la "CONSULT") */

  /* ---- Composite semantic roles ---- */
  --font-display-weight: var(--weight-bold);
}
