/* =============================================================
   tokens.css — single source of design tokens for every page
   Load before any other stylesheet or inline <style>.
   ============================================================= */
:root {
  /* colour */
  --bg: #030712;
  --surface: #0f172a;
  --surface2: #1e293b;
  --surface3: #162032;
  --accent: #64ffda;
  --purple: #a78bfa;
  --blue: #38bdf8;
  --text: #f1f5f9;        /* headings, emphasis */
  --text-body: #cbd5e1;   /* paragraphs and descriptions */
  --text-muted: #94a3b8;  /* meta lines, nav, pills */
  --text-dim: #7c8aa0;    /* tags, keys, footer only */
  --error: #f87171;
  --border: color-mix(in srgb, var(--accent) 10%, transparent);
  --border-hover: color-mix(in srgb, var(--accent) 35%, transparent);
  --accent-dim: color-mix(in srgb, var(--accent) 8%, transparent);
  --accent-glow: color-mix(in srgb, var(--accent) 25%, transparent);
  --purple-dim: color-mix(in srgb, var(--purple) 8%, transparent);

  /* type families */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* type scale */
  --fs-meta: 0.75rem;    /* 12px labels, tags, keys */
  --fs-small: 0.875rem;  /* 14px UI text, links, secondary lines */
  --fs-card: 0.9375rem;  /* 15px card and timeline prose */
  --fs-body: 1rem;       /* 16px body */
  --fs-lead: 1.125rem;   /* 18px lead lines, small titles */
  --fs-title: 1.4rem;    /* card titles */
  --fs-h3: 1.6rem;       /* sub-headings */
  --fs-stat: 2rem;       /* stat numbers */

  /* shape, depth, motion */
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.6);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
