/* Dungeon Runner Studios design tokens: the BASE layer (SITE_PLAN.md section 3).
   Layer 1, primitives: raw scales. Layer 2, semantic: what things mean; themes override ONLY layer 2.
   Components (components/*.css) use semantic tokens only, never raw values. */
:root {
  /* type */
  --font-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --text-xs: 0.8rem;  --text-sm: 0.9rem;  --text-md: 1.05rem; --text-lg: 1.25rem;
  --text-xl: 1.6rem;  --text-2xl: 2.1rem; --text-3xl: clamp(2.2rem, 5vw, 3.4rem); --text-hero: clamp(2.6rem, 7vw, 5rem);
  --leading-tight: 1.1; --leading-body: 1.6;
  --tracking-wide: 0.12em; --tracking-wider: 0.32em;

  /* space (4 px steps) */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.5rem;
  --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem; --space-9: 7rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --content-max: 72rem;

  /* shape */
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-pill: 999px;
  --border-width: 1.5px;

  /* motion: every animation reads this; reduced motion sets it to 0 */
  --motion-speed: 1;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --duration: calc(220ms * var(--motion-speed));

  /* glow: one dial for every neon effect on the site (0 = flat, 1 = normal, 2 = loud) */
  --glow-strength: 1;

  /* the red for notes that must be seen (USER 2026-10-18, the website review A5 / B2: "make red"): a soft coral red
     that reads on the dark blues (contrast checked: 5.4:1 on deep-blue's --color-bg, 4.7:1 on its --color-surface).
     A theme may override it. Used by .note-red (components/site.css) */
  --color-red: #FF6B7A;
}

@media (prefers-reduced-motion: reduce) {
  :root { --motion-speed: 0; }
}
