/* Palette + type tokens, lifted from the rulebook so the sheet matches the site.
   Dark is the default; light is opt-in via [data-theme="light"] on <html>. */
:root {
  --bg: #17140f;
  --page: #211c15;
  --ink: #e7ddca;
  --muted: #a89e88;
  --faint: #7c7362;
  --accent: #c93300;
  --accent2: #209cc3;
  --link: #c93300;
  --border: #38322a;
  --rule: #c2a07a;
  --panel: #211c15;
  --field: #17130d;
  --callout-bg: rgba(255, 255, 255, 0.045);
  --shadow: rgba(0, 0, 0, 0.45);
  --hl: rgba(194, 160, 122, 0.34);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 8px;
  --gap: 0.9rem;
  --content-max: 1100px;
}

:root[data-theme="light"] {
  --bg: #efe7d6;
  --page: #faf5ea;
  --ink: #2b2620;
  --muted: #6b6252;
  --faint: #8c8271;
  --border: #d8cdb6;
  --panel: #e7ddc7;
  --field: #fffdf8;
  --callout-bg: rgba(255, 255, 255, 0.45);
  --shadow: rgba(0, 0, 0, 0.18);
  --hl: rgba(194, 160, 122, 0.42);
}
