/* Meydn's design tokens: docs/design/design-system.md §2 (colour), §3 (families)
   and §5 (motion). Two copies, identical byte for byte: web/tokens.css for
   meydn.com and webapp/src/meydn_web/static/tokens.css for app.meydn.com, so
   neither site needs the other to render. Every page loads it before its own
   styles. webapp/tests/test_design_tokens.py holds the copies identical: change
   both. The app's motion.js repeats the motion values (EASE, DUR) for animations
   run in script. Page layout variables stay in their page. */
:root {
  --bg: #0c0c0a;
  --bg-elevated: #131210;
  --ink: #f3ede2;
  --ink-dim: #a8a094;
  --ink-quiet: #6b665c;
  --accent: #c9a66b;
  --rule: rgba(243, 237, 226, 0.08);
  --rule-strong: rgba(243, 237, 226, 0.18);
  --err: #ff8080;
  --warn: #f4c150;

  --glass-bg: rgba(19, 18, 16, 0.72);
  --glass-blur: 12px;
  --glass-blur-soft: 8px;
  --glass-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --ease-settle: cubic-bezier(0.2, 0, 0.2, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --dur-1: 120ms;
  --dur-2: 220ms;
  --dur-3: 400ms;
  --dur-4: 640ms;
}
