/* Holy Scriptures and Israel — tokens.css
   The brand's shared design tokens — the ONLY place these values exist.
   Imported by BOTH site.css (public) and admin.css (cockpit); each surface
   keeps its own surface-specific tokens (--bg, admin's --ok/--warn/--danger,
   public's --white/--paper-deep) and its own chrome. A brand-color change
   is a one-file edit here. */

:root {
  --serif: 'Source Serif 4', Georgia, serif;
  --hebrew: 'Frank Ruhl Libre', serif;
  --sans: 'Inter', system-ui, sans-serif;
  --card: #FFFFFF;
  --paper: #F6F9FC;
  --ink: #11202E;
  --ink-soft: #4A5866;
  --rule: #D4DDE6;
  --navy: #0C5682;
  --navy-deep: #062B47;
  --cyan: #15A2DC;
  --gold: #C99B3F;
  --gold-light: #E5C46D;
  /* Gold as TEXT on light surfaces: --gold reads 2.4:1 on paper (fails WCAG
     for any text size). --gold-text is the same family taken down to an old-
     gold ink that passes 4.5:1. Ornaments, rules, borders, and gold on dark
     keep --gold / --gold-light. */
  --gold-text: #8F6C26;
  --cyan-text: #0C7099; /* same rule for cyan: the accent cyan fails as text on light */
}

@media (prefers-color-scheme: dark) {
  :root {
    --card: #15202B;
    --paper: #111A23;
    --ink: #E9EEF3;
    --ink-soft: #9DAEBB;
    --rule: #273543;
    --navy: #58A4D8; /* link/accent text lightened for contrast on dark */
    --gold-text: #E5C46D; /* on dark, the luminous gold is the accessible one */
    --cyan-text: #5DC5F0;
  }
}
