/* tokens.css — single source of truth for color, type, and spacing */

:root {
  /* Color */
  --color-bg: #0f0f0e;
  --color-text: #e8e8e2;
  --color-text-muted: #a8a8a2;
  --color-accent: #60c8f0;
  --color-border: #2a2a28;

  /* Type families */
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", -apple-system, system-ui, sans-serif;
  --font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;

  /* Type scale — fluid, clamps between mobile and desktop */
  --text-xs: clamp(0.75rem, 0.7rem + 0.1vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --text-xl: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  --text-2xl: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  --text-3xl: clamp(2.75rem, 2.1rem + 2.8vw, 4rem);

  /* Line height */
  --leading-tight: 1.15;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* Spacing scale — 4px base */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Layout */
  --max-width: 1400px;
  --radius: 0.5rem;

  /* Spotlight cursor position — updated by main.js on mousemove */
  --x: 50vw;
  --y: 50vh;
}
