/* ============================================================
   Jungle Systems — Typography Tokens
   ------------------------------------------------------------
   Display  Space Grotesk   headings, numerals, hero figures
   Sans     IBM Plex Sans   body, UI, controls
   Mono     IBM Plex Mono   data, codes, eyebrows, metadata
   ============================================================ */

:root {
  /* ---- Families ------------------------------------------- */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

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

  /* ---- Type scale (px) — major-third-ish, UI-tuned --------- */
  --text-2xs: 11px;
  --text-xs:  12px;
  --text-sm:  13px;
  --text-base:15px;
  --text-md:  17px;
  --text-lg:  20px;
  --text-xl:  24px;
  --text-2xl: 30px;
  --text-3xl: 38px;
  --text-4xl: 48px;
  --text-5xl: 60px;
  --text-6xl: 76px;

  /* ---- Line heights --------------------------------------- */
  --leading-none: 1;
  --leading-tight: 1.12;
  --leading-snug: 1.28;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* ---- Letter spacing ------------------------------------- */
  --tracking-tighter: -0.03em;
  --tracking-tight: -0.015em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;
  --tracking-eyebrow: 0.14em;   /* mono uppercase eyebrows      */

  /* ---- Semantic roles ------------------------------------- */
  /* Display / hero */
  --type-display-font: var(--font-display);
  --type-display-weight: var(--weight-bold);
  --type-display-tracking: var(--tracking-tight);
  --type-display-leading: var(--leading-tight);

  /* Headings */
  --type-heading-font: var(--font-display);
  --type-heading-weight: var(--weight-semibold);
  --type-heading-tracking: var(--tracking-tight);
  --type-heading-leading: var(--leading-snug);

  /* Body */
  --type-body-font: var(--font-sans);
  --type-body-weight: var(--weight-regular);
  --type-body-leading: var(--leading-relaxed);

  /* Eyebrow / label (mono, uppercase) */
  --type-eyebrow-font: var(--font-mono);
  --type-eyebrow-weight: var(--weight-medium);
  --type-eyebrow-tracking: var(--tracking-eyebrow);
  --type-eyebrow-size: var(--text-xs);

  /* Data / numerals */
  --type-data-font: var(--font-mono);
  --type-data-weight: var(--weight-medium);
}
