/* Opt-in tokens for the personal site.
   Link this file, then use var(--rv-*). Lab styles stay as they are
   until a page chooses these names. No external fonts or assets. */

:root {
  --rv-serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --rv-sans: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --rv-mono: ui-monospace, Consolas, "Courier New", monospace;
}

:root,
:root[data-theme="dark"] {
  /* rv-dark */
  --rv-bg: #101410;
  --rv-surface: #1a211b;
  --rv-ink: #f4f0e4;
  --rv-muted: #c5ceb8;
  --rv-line: #3e4c3c;
  --rv-brass: #f0d48a;
  --rv-brass-ink: #1a160c;
  --rv-button: #f0d48a;
  --rv-button-ink: #1a160c;
  --rv-shipped: #b8d7a4;
  --rv-building: #f0d48a;
  --rv-exploring: #c9d6f2;
  --rv-learning: #f0c7ae;
  --rv-focus: #f0d48a;
  --rv-scroll-thumb: #5f6b4f;
  --rv-header-bg: rgba(16, 20, 16, 0.97);
}

:root[data-theme="light"] {
  /* rv-light */
  --rv-bg: #f4f0e6;
  --rv-surface: #fbf8f2;
  --rv-ink: #1c2618;
  --rv-muted: #3d4e36;
  --rv-line: #d2cbb8;
  --rv-brass: #6a4e16;
  --rv-brass-ink: #fbf8f2;
  --rv-button: #6a4e16;
  --rv-button-ink: #fbf8f2;
  --rv-shipped: #245c32;
  --rv-building: #6a4e16;
  --rv-exploring: #2a3f68;
  --rv-learning: #6b3d28;
  --rv-focus: #6a4e16;
  --rv-scroll-thumb: #8a9a72;
  --rv-header-bg: rgba(244, 240, 230, 0.97);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    /* rv-light-system */
    --rv-bg: #f4f0e6;
    --rv-surface: #fbf8f2;
    --rv-ink: #1c2618;
    --rv-muted: #3d4e36;
    --rv-line: #d2cbb8;
    --rv-brass: #6a4e16;
    --rv-brass-ink: #fbf8f2;
    --rv-button: #6a4e16;
    --rv-button-ink: #fbf8f2;
    --rv-shipped: #245c32;
    --rv-building: #6a4e16;
    --rv-exploring: #2a3f68;
    --rv-learning: #6b3d28;
    --rv-focus: #6a4e16;
  --rv-scroll-thumb: #8a9a72;
  --rv-header-bg: rgba(244, 240, 230, 0.97);
  }
}
