/* rokan-tokens.css: the one token set for rokan.computer and the Rokan app (Nov 25 2026).
   Byte-identical copies live in site-redesign/tokens.css and fde-sandbox ops/assets/rokan-tokens.css;
   a check fails if they differ. Plan: ~/Desktop/rokan-design-plan/PLAN.md section 2.
   Fonts are declared by each surface (paths differ); the families are Host Grotesk and JetBrains Mono. */
:root {
  color-scheme: light;
  /* colour: grounds */
  --canvas: #fcfcfb;
  --surface: #ffffff;
  --tray: #f5f4f2;
  --sunk: #eeedea;
  /* colour: ink */
  --ink: #0e0f11;
  --ink-2: #4a4d54;
  --ink-3: #65676d;
  --ink-hover: #26282c;
  --on-ink: #ffffff;
  /* hairlines */
  --line: rgba(14, 15, 17, .08);
  --line-2: rgba(14, 15, 17, .14);
  /* meaning */
  --accent: #2140e8;
  --accent-soft: #eef1fe;
  --pass: #0a7a3f;
  --pass-soft: #e8f5ed;
  --fail: #c0261b;
  --fail-soft: #fdeeec;
  --hold: #8a5a00;
  --hold-soft: #fdf3df;
  --mark: #ffd43b;
  --mark-ink: #111315;
  /* type */
  --font: 'Host Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --t-display: clamp(2.75rem, 1.55rem + 4.4vw, 5.5rem);
  --t-h1: clamp(2.125rem, 1.6rem + 2.2vw, 3.5rem);
  --t-h2: 1.75rem;
  --t-h3: 1.25rem;
  --t-lead: 1.1875rem;
  --t-body: 1rem;
  --t-ui: .9375rem;
  --t-meta: .8125rem;
  --t-micro: .75rem;
  --t-mono: .8125rem;
  --track-display: -.04em;
  --track-h1: -.032em;
  --track-h2: -.022em;
  /* space */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 160px;
  --w-page: 1280px; --w-text: 640px; --w-flow: 720px; --w-run: 1080px; --w-app: 1120px;
  /* radius */
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  /* elevation: only floating things get a shadow */
  --e1: 0 0 0 .5px rgba(14, 15, 17, .14), 0 1px 1px rgba(14, 15, 17, .04), 0 2px 4px rgba(14, 15, 17, .04);
  --e2: 0 0 0 .5px rgba(14, 15, 17, .12), 0 4px 12px -2px rgba(14, 15, 17, .08), 0 16px 32px -8px rgba(14, 15, 17, .12);
  --e3: 0 0 0 .5px rgba(14, 15, 17, .12), 0 24px 64px -16px rgba(14, 15, 17, .24);
  /* motion */
  --d-press: 100ms; --d-hover: 150ms; --d-state: 240ms; --d-reveal: 480ms; --d-max: 600ms;
  --e-std: cubic-bezier(.4, 0, .2, 1);
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-drawer: cubic-bezier(.32, .72, 0, 1);
  --e-spring: linear(0, .36 10%, .81 22%, 1.04 33%, 1.06 42%, 1.02 55%, .995 70%, 1);
  --stagger: 40ms;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #0f1011; --surface: #17181a; --tray: #1c1d20; --sunk: #121315;
    --ink: #ededee; --ink-2: #b0b2b7; --ink-3: #8b8d93; --ink-hover: #d9dadc; --on-ink: #0f1011;
    --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
    --accent: #8196ff; --accent-soft: #1b2142;
    --pass: #4cc98a; --pass-soft: #13261b; --fail: #ff7a6e; --fail-soft: #2e1715; --hold: #f0b44c; --hold-soft: #2b2210;
    --e1: 0 0 0 1px rgba(255, 255, 255, .1);
    --e2: 0 0 0 1px rgba(255, 255, 255, .12), 0 16px 32px -8px rgba(0, 0, 0, .5);
    --e3: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 64px -16px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0f1011; --surface: #17181a; --tray: #1c1d20; --sunk: #121315;
  --ink: #ededee; --ink-2: #b0b2b7; --ink-3: #8b8d93; --ink-hover: #d9dadc; --on-ink: #0f1011;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --accent: #8196ff; --accent-soft: #1b2142;
  --pass: #4cc98a; --pass-soft: #13261b; --fail: #ff7a6e; --fail-soft: #2e1715; --hold: #f0b44c; --hold-soft: #2b2210;
  --e1: 0 0 0 1px rgba(255, 255, 255, .1);
  --e2: 0 0 0 1px rgba(255, 255, 255, .12), 0 16px 32px -8px rgba(0, 0, 0, .5);
  --e3: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 64px -16px rgba(0, 0, 0, .6);
}
@media (prefers-reduced-motion: reduce) {
  :root { --d-hover: 0ms; --d-state: 0ms; --d-reveal: 0ms; --d-max: 0ms; --stagger: 0ms; }
}
