/* Hallmark tokens · theme: Terminal (mono · chromatic-other phosphor). Light by default; the switch in the nav sets data-theme="dark". */
:root {
  --color-paper: oklch(98.5% 0.005 150);
  --color-paper-2: oklch(96% 0.008 150);
  --color-paper-3: oklch(93% 0.010 150);
  --color-rule: oklch(82% 0.010 150);
  --color-neutral: oklch(46% 0.012 160);
  --color-muted: oklch(38% 0.012 160);
  --color-ink: oklch(18% 0.014 160);
  --color-accent: oklch(46% 0.13 150);
  --color-accent-ink: oklch(98.5% 0.005 150);
  --color-danger: oklch(50% 0.19 28);
  --color-outside: oklch(50% 0.12 70);
  --color-focus: oklch(46% 0.13 150);

  --font-display: "IBM Plex Mono", ui-monospace, monospace;
  --font-body:    "IBM Plex Sans", system-ui, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.375rem;
  --text-xl: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  --text-display: clamp(2.5rem, 1.2rem + 5.2vw, 5.5rem);
  --space-2xs: 0.25rem; --space-xs: 0.5rem; --space-sm: 0.75rem; --space-md: 1.25rem;
  --space-lg: 2rem; --space-xl: 3.5rem; --space-2xl: 6rem; --space-3xl: 9rem;
  --page-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 62ch;
  --rule-hair: 1px;
  --radius-sm: 3px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 500ms;
}

/* Dark: same hues, lower lightness. */
:root[data-theme="dark"] {
  --color-paper: oklch(14% 0.014 165);
  --color-paper-2: oklch(18% 0.016 165);
  --color-paper-3: oklch(22% 0.016 165);
  --color-rule: oklch(34% 0.016 165);
  --color-neutral: oklch(62% 0.012 160);
  --color-muted: oklch(76% 0.012 160);
  --color-ink: oklch(94% 0.010 150);
  --color-accent: oklch(84% 0.185 150);
  --color-accent-ink: oklch(16% 0.02 165);
  --color-danger: oklch(72% 0.17 28);
  --color-outside: oklch(80% 0.13 78);
  --color-focus: oklch(84% 0.185 150);
}
