/* 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; }

/* the note box and the copy-address button (2026-11-14, feedback.js) */
.note-box { display: grid; gap: 6px; max-width: 560px; margin-top: 10px; }
.note-box label { font-size: .88em; color: var(--text); }
.note-box textarea, .note-box input[type=email] {
  font: inherit; font-size: .92em; color: var(--text); background: var(--card);
  border: 1px solid var(--light); border-radius: 6px; padding: 8px 10px; width: 100%; box-sizing: border-box; }
.note-box textarea { min-height: 96px; resize: vertical; }
.note-box button[type=submit] { justify-self: start; background: var(--teal); color: #fff; border: 0;
  border-radius: 6px; padding: 7px 18px; font: inherit; font-weight: 600; font-size: .9em; cursor: pointer; }
.note-box button[type=submit]:disabled { opacity: .6; cursor: default; }
.note-box .note-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note-status { min-height: 1.2em; margin: 0; font-size: .88em; color: var(--text); }
.note-status.good { color: var(--teal); font-weight: 600; }
.note-status.bad { color: var(--danger); }
.note-fine { margin: 0; font-size: .82em; color: var(--text); }
.copy-btn { font: inherit; font-size: .8em; color: var(--teal); background: transparent;
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 8px; margin-left: 6px; cursor: pointer; vertical-align: 1px; }
.copy-btn:hover { border-color: var(--teal); }
/* an iPhone zooms the page into any text box set below 16px */
@media (max-width: 767px) {
  .note-box textarea, .note-box input[type=email] { font-size: 16px; }
  .note-box button[type=submit] { padding: 13px 30px; min-height: 44px; }
  .copy-btn { display: block; font-size: .9em; padding: 10px 14px; min-height: 44px; margin: 6px 0 0; }
}
