/* theme.css — the ONE place tokens live. v134v (design spec, 2026-08-26).
   Every surface links this. No page may re-declare a token: the five-times-
   copied palette was the CSS incarnation of the duplicated-logic disease
   CLAUDE.md documents. Data-series colors inside charts are NOT tokens —
   chrome gets the brand, data keeps its contrast. */

:root {
  --navy: #1a3a52;
  --navy-2: #16324a;
  --accent: #e8722a;
  --teal: #2E7A8C;
  --bg: #f4f6f8;
  --card: #fff;
  --text: #2c3e50;
  --light: #7f8c8d;
  --line: #e3e8ea;
  --danger: #c0392b;
  --shadow: 0 1px 4px rgba(0, 0, 0, .06);
  --radius: 10px;
}

/* ── shared components ─────────────────────────────────────────────── */
.site-header {
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  color: #fff;
  padding: 16px 20px;
}
.site-header a { color: #cfe3f0; text-decoration: none; font-size: .85em; }
.site-header .wordmark { font-size: 1.35em; font-weight: 700; color: #fff; }
.site-header .wordmark span { color: var(--accent); }

.site-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.site-nav a { color: #cfe3f0; font-size: .82em; }
.site-nav a:hover { color: #fff; text-decoration: underline; }

.site-footer {
  text-align: center; color: var(--light); font-size: .83em;
  padding: 22px 16px 30px; line-height: 1.7;
}
.site-footer a { color: var(--teal); }

/* honesty notes, named for what they mean — not for how they look */
.note--method  { border-left: 3px solid var(--teal);
  background: rgba(46, 122, 140, .06); }
.note--caution { border-left: 3px solid var(--accent);
  background: rgba(232, 114, 42, .07); }
.note--limit   { border-left: 3px solid var(--light);
  background: rgba(140, 148, 154, .08); }
.note--method, .note--caution, .note--limit {
  padding: 10px 14px; border-radius: 0 6px 6px 0; font-size: .92em;
}

/* signal chips (hub cards + river pages) */
.chip { display: inline-block; font-size: .68em; font-weight: 700;
  padding: 2px 8px; border-radius: 10px; vertical-align: 2px; }
.chip--hot  { background: rgba(232, 114, 42, .14); color: var(--accent); }
.chip--cold { background: rgba(46, 122, 140, .14); color: var(--teal); }
.chip--stab { background: rgba(140, 148, 154, .16); color: var(--light);
  font-weight: 600; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
