/* KrewBots Neutral Premium (2026-10-24, Krew Designer): the only place brand colours, fonts and radii are defined.
   Light is the default; dark follows the OS, or [data-theme]. Fonts are bundled under /fonts (SIL OFL 1.1, licences beside them). */
@font-face { font-family: 'Geist'; src: url('/fonts/Geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/fonts/Newsreader.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
:root {
  --kb-bg: #F1F0EC; --kb-surface: #FBFAF8; --kb-surface-2: #E7E5DF; --kb-border: #D8D5CD;
  --kb-text: #1B1A17; --kb-muted: #5F5C55;
  --kb-accent: #1E4B3F; --kb-on-accent: #FBFAF8; --kb-accent-soft: #DFE9E4;
  --kb-success: #2D6A48; --kb-warning: #875811; --kb-danger: #A23A2B; --kb-danger-soft: #F5E2DD;
  --kb-font-display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --kb-font-ui: 'Geist', 'Segoe UI', system-ui, sans-serif;
  --kb-font-mono: 'Geist Mono', ui-monospace, Consolas, monospace;
  --kb-radius-sm: 6px; --kb-radius-md: 10px; --kb-radius-lg: 16px;
}
[data-theme="dark"] {
  --kb-bg: #121211; --kb-surface: #1B1A18; --kb-surface-2: #25241F; --kb-border: #36342E;
  --kb-text: #EDE9E1; --kb-muted: #A39D92;
  --kb-accent: #93C7B6; --kb-on-accent: #121211; --kb-accent-soft: #1D2D28;
  --kb-success: #7CC79B; --kb-warning: #E2B263; --kb-danger: #F08E7E; --kb-danger-soft: #3B211C;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kb-bg: #121211; --kb-surface: #1B1A18; --kb-surface-2: #25241F; --kb-border: #36342E;
    --kb-text: #EDE9E1; --kb-muted: #A39D92;
    --kb-accent: #93C7B6; --kb-on-accent: #121211; --kb-accent-soft: #1D2D28;
    --kb-success: #7CC79B; --kb-warning: #E2B263; --kb-danger: #F08E7E; --kb-danger-soft: #3B211C;
  }
}
