/* Design tokens. Every color and font the pages use comes from here.
   Two themes (dark / light) chosen by <html data-theme>; blue is the accent,
   orange is reserved for the cat and a few tiny details. */
:root {
  --sans: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --pixel: Silkscreen, ui-monospace, monospace;
  /* the terminals stay dark in both themes */
  --term-bg: #17181a; --term-line: #2c2e31; --term-ink: #d9dcdf; --term-mute: #6e7378; --term-accent: #8fa8ff;
  --claude: #d97757;
}

html[data-theme="dark"] {
  --bg: #111213; --surface: #18191b; --surface-2: #202124; --line: #26282b; --line-2: #36393d;
  --ink: #e9ebec; --soft: #9da2a6; --mute: #6a6f74; --ok: #8fd19e; --bad: #f2555a; --cat: #ff8a3d;
  --accent: #7c9cff; --grid: rgba(233, 235, 236, .06);
}

html[data-theme="light"] {
  --bg: #f7f7f4; --surface: #efefeb; --surface-2: #e6e6e1; --line: #e1e1dc; --line-2: #c9c9c3;
  --ink: #1b1c1e; --soft: #55595e; --mute: #8b8f93; --ok: #2f8f4e; --bad: #d1343a; --cat: #d9661f;
  --accent: #3b5bdb; --grid: rgba(27, 28, 30, .07);
}

html {
  --accent-dim: color-mix(in srgb, var(--accent) 45%, transparent);
  --accent-bg: color-mix(in srgb, var(--accent) 12%, var(--surface-2));
}
