/* The site's accent and dark tokens, written by site.mjs from site-source/site.json (theme)
   and the library's dark palette in main.css. Edit those, never this file. Dark applies under the
   system preference unless the visitor chose Light, and whenever the visitor chose Dark. */
:root {
  --accent: #8f5200;
  --accent-hover: #7a4600;
  --button-primary-bg: #8f5200;
  --button-primary-bg-hover: #7a4600;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08090b;
    --surface: rgba(255, 255, 255, 0.055);
    --surface-strong: #1b1d21;
    --text: #f5f5f7;
    --secondary: #a1a1a6;
    --line: rgba(255, 255, 255, 0.11);
    --accent: #f0b04f;
    --accent-hover: #f5c272;
    --button-primary-fg: #1a1100;
    --button-primary-bg: #f0b04f;
    --button-primary-bg-hover: #f5c272;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
    --icon-shadow: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
  }
}

:root[data-theme="dark"] {
  --bg: #08090b;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: #1b1d21;
  --text: #f5f5f7;
  --secondary: #a1a1a6;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #f0b04f;
  --accent-hover: #f5c272;
  --button-primary-fg: #1a1100;
  --button-primary-bg: #f0b04f;
  --button-primary-bg-hover: #f5c272;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  --icon-shadow: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
}
