/* Generated from tokens.json by scripts/build.mjs. Do not edit: change tokens.json and rebuild.
   Light values on :root. Dark values follow the device unless data-theme="light", and always apply under data-theme="dark". */
:root {
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --display: 800 4.25rem/4rem var(--font-display); /* 68px/64px */
  --display-tracking: -0.03em;
  --h1: 800 2.75rem/2.875rem var(--font-display); /* 44px/46px */
  --h1-tracking: -0.02em;
  --h2: 800 1.875rem/2.125rem var(--font-display); /* 30px/34px */
  --h2-tracking: -0.01em;
  --h3: 700 1.375rem/1.75rem var(--font-display); /* 22px/28px */
  --h3-tracking: normal;
  --label: 800 0.875rem/1rem var(--font-display); /* 14px/16px */
  --label-tracking: 0.02em;
  --lede: 500 1.25rem/1.875rem var(--font-body); /* 20px/30px */
  --lede-tracking: normal;
  --body: 400 1.0625rem/1.75rem var(--font-body); /* 17px/28px */
  --body-tracking: normal;
  --small: 500 0.875rem/1.25rem var(--font-body); /* 14px/20px */
  --small-tracking: normal;
  --code: 500 0.9375rem/1.5rem var(--font-mono); /* 15px/24px */
  --code-tracking: normal;
  --surface: #fff5dc;
  --surface-raised: #ffffff;
  --surface-sunken: #f7e7c1;
  --ink: #17131f;
  --ink-muted: #4a4459;
  --line: #eadbb5;
  --line-strong: #17131f;
  --brand: #ff5a36;
  --on-brand: #17131f;
  --brand-soft: #ffe0d4;
  --link: #b42f12;
  --accent: #ffcf33;
  --on-accent: #17131f;
  --highlight: #0b8a66;
  --focus: #2a4fff;
  --ok: #1d43c4;
  --ok-soft: #dfe6ff;
  --almost: #6b4a00;
  --almost-soft: #fff0b3;
  --retry: #b3261e;
  --retry-soft: #ffe1db;
  --shell-bg: #17131f;
  --shell-bar: #2b2539;
  --shell-ink: #f7f3ff;
  --shell-muted: #bdb5d0;
  --shell-prompt: #ffcf33;
  --shell-warn: #ff9d87;
  --code-bg: #fff0b3;
  --code-ink: #17131f;
  --shadow-card: 4px 4px 0 #17131f;
  --shadow-pop: 6px 6px 0 #17131f;
  --sp-1: 0.25rem; /* 4px */
  --sp-2: 0.5rem; /* 8px */
  --sp-3: 0.75rem; /* 12px */
  --sp-4: 1rem; /* 16px */
  --sp-5: 1.5rem; /* 24px */
  --sp-6: 2rem; /* 32px */
  --sp-7: 3rem; /* 48px */
  --sp-8: 4rem; /* 64px */
  --sp-9: 6rem; /* 96px */
  --radius-sm: 0.5rem; /* 8px */
  --radius-md: 0.875rem; /* 14px */
  --radius-lg: 1.375rem; /* 22px */
  --radius-pill: 624.9375rem; /* 9999px */
  --stroke: 2.5px;
  --stroke-hair: 1px;
  --size-target: 2.75rem; /* 44px */
  --measure-reading: 66ch;
  --layout-max: 73.75rem; /* 1180px */
  --sidebar-width: 15rem; /* 240px */
  --press-depth: 3px;
  --dur-quick: 140ms;
  --dur-base: 220ms;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #17131f;
    --surface-raised: #231d2f;
    --surface-sunken: #0f0c15;
    --ink: #fff5dc;
    --ink-muted: #c6bed8;
    --line: #3a3350;
    --line-strong: #d9d1ea;
    --brand: #ff7a5c;
    --on-brand: #17131f;
    --brand-soft: #41201b;
    --link: #ff9a80;
    --accent: #ffcf33;
    --on-accent: #17131f;
    --highlight: #4fe0b6;
    --focus: #8aa5ff;
    --ok: #9db5ff;
    --ok-soft: #1d2550;
    --almost: #ffd966;
    --almost-soft: #3a3010;
    --retry: #ff9d8f;
    --retry-soft: #45201c;
    --shell-bg: #0b0910;
    --shell-bar: #1f1a2b;
    --shell-ink: #f7f3ff;
    --shell-muted: #b6aecb;
    --shell-prompt: #ffcf33;
    --shell-warn: #ff9d87;
    --code-bg: #2e2640;
    --code-ink: #fff5dc;
    --shadow-card: 4px 4px 0 #000000;
    --shadow-pop: 6px 6px 0 #ffcf33;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --surface: #17131f;
  --surface-raised: #231d2f;
  --surface-sunken: #0f0c15;
  --ink: #fff5dc;
  --ink-muted: #c6bed8;
  --line: #3a3350;
  --line-strong: #d9d1ea;
  --brand: #ff7a5c;
  --on-brand: #17131f;
  --brand-soft: #41201b;
  --link: #ff9a80;
  --accent: #ffcf33;
  --on-accent: #17131f;
  --highlight: #4fe0b6;
  --focus: #8aa5ff;
  --ok: #9db5ff;
  --ok-soft: #1d2550;
  --almost: #ffd966;
  --almost-soft: #3a3010;
  --retry: #ff9d8f;
  --retry-soft: #45201c;
  --shell-bg: #0b0910;
  --shell-bar: #1f1a2b;
  --shell-ink: #f7f3ff;
  --shell-muted: #b6aecb;
  --shell-prompt: #ffcf33;
  --shell-warn: #ff9d87;
  --code-bg: #2e2640;
  --code-ink: #fff5dc;
  --shadow-card: 4px 4px 0 #000000;
  --shadow-pop: 6px 6px 0 #ffcf33;
  color-scheme: dark;
}
