/* ShillGPT.com — theme tokens.
 * One direction: "digest" (editorial press-dossier), in light and dark.
 * Set on <html data-dir="digest" data-mode="light|dark">.
 * Day/night is picked automatically from the visitor's local time and can be
 * switched with the header toggle. All values authored for this project. */

:root {
  /* structural defaults (direction-independent) */
  --wrap: 1140px;
  --wrap-narrow: 720px;
  --radius: 2px;
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px; --space-32: 128px;
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --motion-fast: 140ms;
  --motion-base: 220ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

/* ─────────────────────────────────────────────────────────────
 * "digest" · Editorial press-dossier
 * Serif display + institutional sans, deep green accent, ruled notes.
 * ───────────────────────────────────────────────────────────── */
[data-dir="digest"][data-mode="light"] {
  --bg: #F3F4EE;
  --bg-soft: #EAECE2;
  --surface: #FAFAF5;
  --fg: #1B1F19;
  --fg-soft: #3F463C;
  --muted: #596052;
  --line: #DBDDD0;
  --line-strong: #BFc2B2;
  --accent: #1F5B3D;
  --accent-ink: #F6F8F2;
  --accent-soft: rgba(31, 91, 61, 0.09);
  --sel: rgba(31, 91, 61, 0.18);
  --tag-bg: #E4E7DA;
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --radius: 3px;
}
[data-dir="digest"][data-mode="dark"] {
  --bg: #12150F;
  --bg-soft: #171B13;
  --surface: #1A1E15;
  --fg: #E9EBE0;
  --fg-soft: #C4C9B8;
  --muted: #98A08C;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --accent: #7FB392;
  --accent-ink: #0F2018;
  --accent-soft: rgba(127, 179, 146, 0.14);
  --sel: rgba(127, 179, 146, 0.26);
  --tag-bg: #232A1E;
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --radius: 3px;
}

/* Night voice (owner's choice): mono display inside the dark palette. */
[data-dir="digest"][data-mode="dark"] {
  --font-display: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
}
