/*
 * tokar-design — generated tokens. DO NOT EDIT.
 * Source of truth: tokens/*.json (edit there, then `npm run build`).
 */

/**
 * Do not edit directly, this file was auto-generated.
 */

:root {
  --color-paper: #f5f1e8;
  --color-ink: #1a1a1a;
  --color-muted: #8a8578;
  --color-warm-50: #faf7f0;
  --color-warm-100: #f5f1e8;
  --color-warm-200: #ece7da;
  --color-warm-300: #ded7c6;
  --color-warm-400: #c7bda8;
  --color-warm-500: #8a8578;
  --color-warm-600: #6e695c;
  --color-warm-700: #4e4a41;
  --color-warm-800: #2e2b26;
  --color-warm-900: #1a1a1a;
  --color-espresso-700: #322a22;
  --color-espresso-800: #261f19;
  --color-espresso-850: #201b16;
  --color-espresso-900: #1a1612;
  --color-espresso-950: #110e0a;
  --color-cream: #efe8d9;
  --color-cream-muted: #a89f8e;
  --color-scene-gym: #d97706;
  --color-scene-run: #ef6f3a;
  --color-scene-math: #2d5a3f;
  --color-scene-kite: #0ea5e9;
  --color-scene-read: #a02c2c;
  --color-scene-code: #4338ca;
  --font-family-serif: "Fraunces Variable", Fraunces, Georgia, "Times New Roman", serif;
  --font-family-mono: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  --font-size-2xs: 0.694rem;
  --font-size-xs: 0.78rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.27rem;
  --font-size-2xl: 1.6rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.05rem;
  --font-size-display-sm: clamp(2.5rem, 6vw, 4rem);
  --font-size-display-md: clamp(3.5rem, 9vw, 7rem);
  --font-size-display-lg: clamp(4rem, 12vw, 10rem);
  --font-leading-none: 1;
  --font-leading-tight: 1.1;
  --font-leading-snug: 1.25;
  --font-leading-normal: 1.5;
  --font-leading-relaxed: 1.7;
  --font-tracking-tighter: -0.03em;
  --font-tracking-tight: -0.02em;
  --font-tracking-normal: 0;
  --font-tracking-wide: 0.1em;
  --font-tracking-wider: 0.15em;
  --font-tracking-widest: 0.25em;
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-px: 1px;
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 2px rgba(26, 22, 18, 0.06);
  --shadow-md: 0 2px 8px rgba(26, 22, 18, 0.08);
  --shadow-lg: 0 8px 24px rgba(26, 22, 18, 0.10);
  --shadow-xl: 0 16px 48px rgba(26, 22, 18, 0.14);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 400ms;
  --duration-slower: 700ms;
  --duration-slowest: 900ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --z-base: 0;
  --z-raised: 10;
  --z-sticky: 100;
  --z-overlay: 1000;
  --z-modal: 1100;
  --z-toast: 1200;
  --border: rgba(26, 22, 18, 0.10);
  --border-strong: rgba(26, 22, 18, 0.18);
  --bg: var(--color-paper);
  --surface: var(--color-warm-50);
  --surface-sunken: var(--color-warm-200);
  --fg: var(--color-ink);
  --muted: var(--color-warm-600);
  --subtle: var(--color-warm-400);
  --accent: var(--color-ink);
  --accent-fg: var(--color-paper);
  --focus: var(--color-scene-code);
  --status-ok: var(--color-scene-math);
  --status-warn: var(--color-scene-gym);
  --status-danger: var(--color-scene-read);
  --status-info: var(--color-scene-kite);
}

/**
 * Do not edit directly, this file was auto-generated.
 */

[data-theme="dark"] {
  --bg: #1a1612;
  --surface: #261f19;
  --surface-sunken: #110e0a;
  --border: rgba(239, 232, 217, 0.12);
  --border-strong: rgba(239, 232, 217, 0.22);
  --fg: #efe8d9;
  --muted: #a89f8e;
  --subtle: rgba(239, 232, 217, 0.45);
  --accent: #efe8d9;
  --accent-fg: #1a1612;
  --focus: #0ea5e9;
  --status-ok: #2d5a3f;
  --status-warn: #d97706;
  --status-danger: #a02c2c;
  --status-info: #0ea5e9;
}

/* Legacy aliases — map the original homepage variable names onto the new
   design tokens so pre-existing components (e.g. Journey.astro) keep working
   unchanged. Prefer the namespaced tokens (--color-*, --space-*, --bg, --fg…)
   in new code; these aliases exist only for backward compatibility. */
:root {
  --paper: var(--color-paper);
  --ink: var(--color-ink);
  /* --muted is already defined by the semantic layer (== --color-muted) */
  --gym: var(--color-scene-gym);
  --run: var(--color-scene-run);
  --math: var(--color-scene-math);
  --kite: var(--color-scene-kite);
  --read: var(--color-scene-read);
  --code: var(--color-scene-code);
}

