/* ==========================================================================
   Design tokens
   Colour, radius, easing and grain variables, plus the dark theme overrides.
   ========================================================================== */

:root {
  --bg: #f5f6fa;
  --surface: #fff;
  --ink: #0f1324;
  --muted: #5b6279;
  --line: #dfe3ee;
  --a: #2e3bea;
  --on-a: #fff;
  --soft: #e6e9fb;
  --sel: #101323;
  --lime: #f1ff5e;
  --cink: #1b1170;
  --cf: #fff;
  --cbg: #2610ad;
  --cline: transparent;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 26px;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
[data-theme='dark'] {
  --bg: #04060c;
  --surface: #0b0f18;
  --ink: #eef1f8;
  --muted: #8e97b2;
  --line: #182033;
  --a: #f1ff5e;
  --on-a: #10130a;
  --sel: #f1ff5e;
  --cink: #10130a;
  --cf: #f4f6ee;
  --cbg: #020305;
  --cline: #1a2112;
  --soft: #101627;
}
