/* tokens.css — design tokens (colors, fonts). Light/dark follows the OS setting;
   data-theme="light"|"dark" on <html> forces one. */

:root {
  --bg: #E6E7E9;
  --bg-panel: #FFFFFF;
  --ink: #1F2124;
  --ink-soft: #666B72;
  --line: #D2D5D9;
  --wax: #C53131;          /* primary accent (red) */
  --wax-soft: #E58B8B;
  --gold: #B7791F;         /* secondary accent (amber) */
  --gold-glow: #F0C36A;
  --good: #2E7D32;
  --blue: #1F6FB2;
  --nav-bg: #1B1C1E;
  --nav-ink: #AEB3B9;
  --card-shadow: rgba(20, 22, 24, 0.10);
  --font-display: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Roboto', -apple-system, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121314;
    --bg-panel: #1E2023;
    --ink: #E8E9EB;
    --ink-soft: #9AA0A6;
    --line: #34373B;
    --wax: #E04B4B;
    --wax-soft: #8F3434;
    --gold: #E0A93B;
    --gold-glow: #F0C36A;
    --good: #5DB36A;
    --blue: #5AA7E6;
    --nav-bg: #0B0C0D;
    --nav-ink: #9AA0A6;
    --card-shadow: rgba(0, 0, 0, 0.45);
  }
}
:root[data-theme="dark"] {
  --bg: #121314;
  --bg-panel: #1E2023;
  --ink: #E8E9EB;
  --ink-soft: #9AA0A6;
  --line: #34373B;
  --wax: #E04B4B;
  --wax-soft: #8F3434;
  --gold: #E0A93B;
  --gold-glow: #F0C36A;
  --good: #5DB36A;
  --blue: #5AA7E6;
  --nav-bg: #0B0C0D;
  --nav-ink: #9AA0A6;
  --card-shadow: rgba(0, 0, 0, 0.45);
}
