/* ════════════════════════════════════════════════════════════════
   Regnum Wealth — Design tokens (SINGLE SOURCE OF TRUTH)
   Canonical palette = WARM ("premium paper"). Load in <head> BEFORE any
   page-specific <style> so pages can still override, but new pages should
   consume these vars instead of hardcoding hex.

   Both naming conventions are provided as aliases so the historical MF/admin
   names (--bg/--royal/--crimson/--border/--text-muted) and the newer
   SIF/PMS/home names (--paper/--ink/--neg/--line/--muted) resolve to the same
   canonical value. Sidebar (dark navy) is identical in both systems.
   ════════════════════════════════════════════════════════════════ */
:root {
  /* ── brand blues (unchanged across palettes) ── */
  --royal: #1a3a8f;  --ink: #1a3a8f;
  --deep:  #0d2260;
  --navy:  #0c1224;

  /* ── surfaces (WARM) ── */
  --white:   #ffffff;
  --card:    #ffffff;
  --bg:      #f7f5ef;  --paper:   #f7f5ef;
  --surface: #f2efe6;

  /* ── lines / borders (WARM) ── */
  --border: #e6e3da;  --line: #e6e3da;

  /* ── text ── */
  --text-main: #0d2260;
  --text-body: #374151;
  --text-muted: #56627a;  --muted: #56627a;

  /* ── accents ── */
  --gold:    #b8923c;
  --green:   #0e7c4a;  --pos: #0e7c4a;
  --crimson: #b42318;  --neg: #b42318;  --danger: #b42318;

  /* ── sidebar (dark, unchanged) ── */
  --sb-bg: #0c1224;
  --sb-bg-2: #141b35;
  --sb-text: rgba(255,255,255,0.78);
  --sb-text-dim: rgba(255,255,255,0.6);   /* was .45 — nudged up for AA */
  --sb-divider: rgba(255,255,255,0.08);
  --sb-active: rgba(91,141,239,0.15);

  /* ── type ── */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
