/* ============================================================
   Weio — LUMEN theme bridge for the server-rendered templates.
   Loaded LAST (after weio-quiet-ledger.css) so it wins the token
   layer. Remaps the classic template variables (--accent, --ink,
   --paper, --font-*) to the React app's Lumen values (web/src/
   tokens.css) so every weio.ai page shares ONE theme: cool paper,
   ink text, vivid orange CTA, Geist type. Patrick 2026-07-12.
   ============================================================ */

:root {
  /* surfaces — cool Lumen paper (was warm quiet-ledger) */
  --paper: #F5F6F8;   --bg: #F5F6F8;
  --card: #FFFFFF;    --surface: #FFFFFF;
  --surface2: #EFF0F3; --surface3: #E6E8ED;

  /* ink / text */
  --ink: #16181D;      --text: #16181D;
  --ink-soft: #4B4F58; --text-soft: #4B4F58;
  --ink-muted: #6C7078; --text-sec: #6C7078;
  --ink-faint: #9A9EA7;

  /* borders */
  --line: #E6E8ED;        --border: #E6E8ED;
  --border-strong: #C9CDD6; --line-strong: #C9CDD6;

  /* accent = Weio Blue (blue identity pass 2026-08-19; primary buttons + wordmark dot) */
  --accent: #3D5AFE;      --accent-h: #2A3ECC;  --accent-hover: #2A3ECC;
  --accent-soft: #EEF0FF; --accent-tint: #EEF0FF;
  --accent-on-dark: #5B72FF;

  /* semantic — Lumen vivid */
  --success: #12A150; --warning: #D97706; --error: #E11D48; --danger: #E11D48; --info: #3D5AFE;

  /* type — Geist (matches the React app), Instrument as fallback for a clean revert */
  --font-sans: "Geist", "Instrument Sans", "Helvetica Neue", sans-serif;
  --font-serif: "Geist", "Instrument Sans", Georgia, serif;
  --font-mono: "Geist Mono", "Spline Sans Mono", ui-monospace, monospace;

  /* geometry — Lumen radii (8 / 12 / 20) + soft cool shadows */
  --radius: 12px; --radius-sm: 8px; --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(22,24,29,.05);
  --shadow-md: 0 2px 16px rgba(22,24,29,.06);
  --shadow-lg: 0 14px 36px rgba(22,24,29,.14);
}

body { font-family: var(--font-sans); background: var(--bg); color: var(--text); }

/* The landing hero highlighted the tagline in the old terracotta via --accent; keep it
   readable on white — the vivid blue is already legible. Buttons/pills inherit the
   remapped tokens automatically because the quiet-ledger component rules use var(). */

/* Lumen dock for the classic /my/* remainder pages — mirrors the React app's dock so those
   pages aren't stranded without nav (Patrick 2026-07-13). */
body:has(.lumen-dock-classic) { padding-bottom: 92px; }
.lumen-dock-classic {
  position: fixed; left: 16px; right: 16px; bottom: 14px; height: 64px; z-index: 900;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: var(--w-nav-bg, rgba(255,255,255,0.9)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line, #E6E8ED); border-radius: 999px; box-shadow: 0 14px 36px rgba(22,24,29,.14);
}
.lumen-dock-classic a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--ink-muted, #6C7078); font: 500 10.5px var(--font-sans, sans-serif);
}
.lumen-dock-classic a:hover { color: var(--ink, #16181D); }
.lumen-dock-classic svg { width: 20px; height: 20px; }
/* On the classic /my/* pages, hide the old top nav clutter on mobile — the dock is the nav now. */
@media (max-width: 900px) { body:has(.lumen-dock-classic) nav.nav .nav-center { display: none; } }
