/*
 * savantrealms.com's tokens -- a COPY, for the designs that wear the website's brand rather than
 * Elysian's (930-960; design-silos#108).
 *
 * Source: savant-realms/savant-realms-ui, assets/css/site.css, at a984f3f -- the commit
 * savantrealms.com serves (S3 ETags equal the MD5 of that commit's files, read 2026-10-17).
 * Values are verbatim. Names are the source's with --sr-site- in front: --cyan is
 * --sr-site-cyan. The prefix is what lets 00_tools/check_mocks.mjs prove a mock uses no token
 * this file does not define, and what keeps this palette from being read as brand/tokens.css's.
 *
 * Not generated, and not in brand/: everything in brand/ is generated from brand.yaml, and this
 * palette is not in brand.yaml. Putting it there is a decision for a person (AGENTS.md, "What
 * requires a human"). Until then, a change to the website's palette makes this file stale; diff
 * it against the source path at the new commit and update the commit named above.
 *
 * Theme: the website sets data-theme="dark" | "light" on <html>, dark by default. A mock follows
 * the reader's prefers-color-scheme when nothing sets data-theme, and any element carrying
 * data-theme scopes its own subtree -- so one page can show both themes side by side.
 */

:root,
[data-theme="dark"] {
  --sr-site-bg: #07090d;
  --sr-site-bg-grid: rgba(88, 166, 255, .065);
  --sr-site-surface: #0d1117;
  --sr-site-surface2: #121821;
  --sr-site-surface3: #171e28;
  --sr-site-border: #26313d;
  --sr-site-border-strong: #344454;
  --sr-site-text: #f4f7fb;
  --sr-site-text-sub: #a7b2c0;
  --sr-site-text-ui: #c7d0dc;
  --sr-site-cyan: #48d5ff;
  --sr-site-green: #66e88f;
  --sr-site-warm: #b79b38;
  --sr-site-sage: #7c916f;
  --sr-site-danger: #ff6b6b;
  --sr-site-shadow: rgba(0, 0, 0, .38);
  /* .btn-primary's text colour, a literal in the source rule; the same in both themes. */
  --sr-site-on-cyan: #061018;
}

[data-theme="light"] {
  --sr-site-bg: #f7f9fc;
  --sr-site-bg-grid: rgba(25, 91, 130, .085);
  --sr-site-surface: #ffffff;
  --sr-site-surface2: #eef3f8;
  --sr-site-surface3: #e7edf4;
  --sr-site-border: #d6e0ea;
  --sr-site-border-strong: #b8c7d6;
  --sr-site-text: #101722;
  --sr-site-text-sub: #526170;
  --sr-site-text-ui: #263545;
  --sr-site-cyan: #087ea4;
  --sr-site-green: #128a43;
  --sr-site-warm: #8d7424;
  --sr-site-sage: #617655;
  --sr-site-danger: #b4232f;
  --sr-site-shadow: rgba(25, 42, 58, .12);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --sr-site-bg: #f7f9fc;
    --sr-site-bg-grid: rgba(25, 91, 130, .085);
    --sr-site-surface: #ffffff;
    --sr-site-surface2: #eef3f8;
    --sr-site-surface3: #e7edf4;
    --sr-site-border: #d6e0ea;
    --sr-site-border-strong: #b8c7d6;
    --sr-site-text: #101722;
    --sr-site-text-sub: #526170;
    --sr-site-text-ui: #263545;
    --sr-site-cyan: #087ea4;
    --sr-site-green: #128a43;
    --sr-site-warm: #8d7424;
    --sr-site-sage: #617655;
    --sr-site-danger: #b4232f;
    --sr-site-shadow: rgba(25, 42, 58, .12);
  }
}

/* The same in both themes, as in the source. */
:root {
  --sr-site-radius: 8px;
  --sr-site-radius-sm: 6px;
  --sr-site-footer-h: 58px;
  --sr-site-font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sr-site-font-head: 'Space Grotesk', system-ui, sans-serif;
  --sr-site-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
