/* Nature Paladin: theme tokens (taste, editorial direction).
   Subject names: oat paper (ground), pressing card (band), walnut ink (text),
   lichen (secondary text), moss (accent fill and text), fern (signal),
   beeswax (warm field), forest night (dark ground).
   Dark remap under @media screen so print stays light.
   Check: python3 scripts/check_contrast.py theme.css */
:root {
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --w-display: 500;
  --tr-display: -0.015em;
  --tr-h2: -0.01em;
  --lh-display: 1.02;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-button: 6px;
  --case-eyebrow: uppercase;
  --tr-eyebrow: 0.14em;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 600ms;
  --bg: #f3eee2;
  --surface: #faf7ef;
  --surface-2: #e8e0cc;
  --ink: #1f241b;
  --muted-strong: #3d4536;
  --muted: #535c4a;
  --line: #d8cfb9;
  --line-strong: #b9ad90;
  --ink-field: #24301f;
  --on-ink: #f1ecdf;
  --on-ink-muted: #c9c8b4;
  --accent: #4d6b34;
  --accent-fill: #3f5a2a;
  --accent-on-fill: #ffffff;
  --accent-text: #3b5527;
  --accent-soft: #e1e6cf;
  --field-1: #e8e0cc;
  --field-1-ink: #1f241b;
  --field-2: #e7cf9b;
  --field-2-ink: #1f241b;
  --field-3: #24301f;
  --field-3-ink: #f1ecdf;
  --drawing: #6f7f52;
  color-scheme: light dark;
}
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12170f;
    --surface: #182014;
    --surface-2: #1d2618;
    --ink: #ece7d8;
    --muted-strong: #cfcbb9;
    --muted: #a9a893;
    --line: rgba(236, 231, 216, 0.12);
    --line-strong: rgba(236, 231, 216, 0.26);
    --ink-field: #1d2618;
    --on-ink: #ece7d8;
    --on-ink-muted: #c2c0aa;
    --accent: #a9c486;
    --accent-fill: #a9c486;
    --accent-on-fill: #12170f;
    --accent-text: #b5cd93;
    --accent-soft: rgba(169, 196, 134, 0.14);
    --field-1: #1d2618;
    --field-1-ink: #ece7d8;
    --field-2: #3a3320;
    --field-2-ink: #ece7d8;
    --field-3: #0d110b;
    --field-3-ink: #ece7d8;
    --drawing: #8fa36c;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --bg: #12170f;
    --surface: #182014;
    --surface-2: #1d2618;
    --ink: #ece7d8;
    --muted-strong: #cfcbb9;
    --muted: #a9a893;
    --line: rgba(236, 231, 216, 0.12);
    --line-strong: rgba(236, 231, 216, 0.26);
    --ink-field: #1d2618;
    --on-ink: #ece7d8;
    --on-ink-muted: #c2c0aa;
    --accent: #a9c486;
    --accent-fill: #a9c486;
    --accent-on-fill: #12170f;
    --accent-text: #b5cd93;
    --accent-soft: rgba(169, 196, 134, 0.14);
    --field-1: #1d2618;
    --field-1-ink: #ece7d8;
    --field-2: #3a3320;
    --field-2-ink: #ece7d8;
    --field-3: #0d110b;
    --field-3-ink: #ece7d8;
    --drawing: #8fa36c;
  }
  :root[data-theme="light"] { color-scheme: light; }
  :root[data-theme="dark"] { color-scheme: dark; }
}
