/* Design tokens — single source of truth.
   Locked from FRONTEND_SPEC.md §1. */

:root {
  /* surfaces — sage palette (charcoal family). Migrated from gold/purple
     2026-06-28 to match apex + projections. */
  --bg-page:        #1E1A22;
  --bg-raised:      #221E2A;
  --bg-sidebar:     #221E2A;
  --bg-card:        #26222C;
  --bg-inset:       #2C2834;
  --bg-elevated:    #2C2834;
  --bg-code:        #15131A;
  --border:         #3B2C55;
  --border-dashed:  #4A3968;

  /* text */
  --text-primary:   #c2c7b7;
  --text-secondary: #9498A0;
  --text-tertiary:  #7E8278;
  --text-faint:     #6A6B65;

  /* accent — token still named "gold" (legacy) but is now SAGE: THE single
     accent for marks/headings/numbers/active-nav. Light accent on a dark
     page, exactly as gold was, so all contrast relationships are preserved. */
  --gold:           #c2c7b7;
  --gold-hover:    #d4d8cb;
  --gold-text-soft: #a7ac99;
  --on-gold:        #1E1A22;

  /* CTA — primary buttons: olive fill (sage scheme's secondary) with the
     light sage accent as text. Kept mid/dark so the accent text stays
     readable. Hover is a soft sage glow (shadow-only, no bg shift). */
  --cta-bg:         #484e3c;
  --cta-rest-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
  --cta-glow:       0 3px 12px rgba(194, 199, 183, 0.45);

  /* verdict — deliberate exception to single-accent, only in result contexts */
  --verdict-real:   #93AB78;
  --verdict-ai:     #CC7D62;
  --verdict-abstain:#FFD662;

  /* type scale */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* radii */
  --radius-button: 8px;
  --radius-card:   12px;
  --radius-pill:   20px;
}
