/* =====================================================================
   reset-tracker — shared stylesheet
   Nav / drawer / footer pattern ported from play-every-season
   (see agent-ops/mobile-nav-drawer-footer-rules.md). Because this
   project has no build step, nav+footer markup is duplicated per page,
   but CSS and JS are shared here to prevent drift.
   ===================================================================== */

:root {
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, 'Cascadia Code', monospace;

  --bg: #0a0c11;
  --bg-2: #0f131b;
  --surface: #141924;
  --surface-2: #1b2130;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --ink: #e9edf5;
  --ink-dim: #a7b0c0;
  --ink-faint: #6d7686;

  --anthropic: #d97757;
  --openai: #10a37f;

  --cat-incident: #f0616d;
  --cat-goodwill: #34d399;
  --cat-launch: #a78bfa;
  --cat-milestone: #fbbf24;
  --cat-holiday: #f472b6;
  --cat-capacity: #7c8798;

  --accent: #7aa2f7;

  --nav-h: 64px;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

section[id] { scroll-margin-top: calc(var(--nav-h, 64px) + 16px); }

a { color: var(--accent); }
a:hover { color: #a9c4fa; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #06080d;
  padding: 0.75rem 1.25rem;
  z-index: 300;
  font-weight: 700;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ---------------------------------------------------------------- NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.55rem 1.5rem;
  background: rgba(10, 12, 17, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
nav.scrolled {
  background: rgba(10, 12, 17, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  border-bottom-color: var(--line);
}

nav .nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-brand:hover { color: var(--ink); }
.nav-brand-mark {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--anthropic) 0%, var(--openai) 100%);
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: nowrap;
}
.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current='page'] { color: var(--ink); }

/* Hamburger — 3 spans that morph to an X on .active */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  background: none; border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 3px 0;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile drawer — full-viewport opacity-fade overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(10, 12, 17, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.1rem;
  padding-top: calc(env(safe-area-inset-top, 0px) + 5rem);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 2rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.active { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s;
}
.mobile-nav a:hover { opacity: 0.65; }
.mobile-nav-close {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 16px);
  right: 18px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-close svg {
  width: 26px; height: 26px;
  stroke: currentColor; stroke-width: 2.5; stroke-linecap: round;
  fill: none;
}
body.nav-open { overflow: hidden; }

/* -------------------------------------------------------------- HERO */
.hero {
  padding: calc(var(--nav-h, 64px) + 5rem) 0 3.5rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(217, 119, 87, 0.13), transparent 62%),
    radial-gradient(900px 380px at 88% -10%, rgba(16, 163, 127, 0.13), transparent 62%);
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
  font-weight: 800;
}
.hero .lede {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 65ch;
  margin: 0 0 1.6rem;
}
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ------------------------------------------------------------- STATS */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
}
.stat .n {
  font-family: var(--mono);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: block;
}
.stat .k {
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.45rem;
  display: block;
}
.stat.anthropic .n { color: var(--anthropic); }
.stat.openai .n { color: var(--openai); }

/* ---------------------------------------------------------- SECTIONS */
section { padding: 4rem 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
  font-weight: 750;
}
h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 2rem 0 0.6rem; }
.section-note { color: var(--ink-dim); max-width: 70ch; margin: 0 0 2rem; }

/* ------------------------------------------------------------- CHART */
.bars { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.5rem 0 0; }
.bar-group { display: flex; flex-direction: column; gap: 0.3rem; }
.bar-row { display: grid; grid-template-columns: 148px 1fr auto; align-items: center; gap: 1rem; }
.bar-label { font-size: 0.85rem; color: var(--ink-dim); text-align: right; }
.bar-track { background: var(--surface); border-radius: 6px; height: 26px; overflow: hidden; display: flex; }
.bar-seg { height: 100%; transition: width 0.5s ease; }
.bar-seg.anthropic { background: var(--anthropic); }
.bar-seg.openai { background: var(--openai); }
.bar-val { font-family: var(--mono); font-size: 0.9rem; color: var(--ink); min-width: 2.4ch; text-align: right; }
/* Indented to line up under the bar track, not inside the grid — a
   grid-column reference breaks the moment the row collapses to 1fr. */
.bar-why { font-size: 0.8rem; color: var(--ink-faint); margin-left: 164px; }

.legend { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: 0.82rem; color: var(--ink-dim); }
.legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ---------------------------------------------------------- FILTERS */
.filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.chip {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-dim);
  cursor: pointer;
  transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { color: var(--ink); border-color: var(--ink-faint); }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter-sep { width: 1px; background: var(--line-strong); margin: 0.2rem 0.35rem; align-self: stretch; }

/* --------------------------------------------------------- TIMELINE */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.tl-item { position: relative; padding: 0 0 1.5rem 2.4rem; }
/* Deep-linked cards (from RSS items) must clear the fixed nav on landing. */
.tl-item[id] { scroll-margin-top: calc(var(--nav-h, 64px) + 16px); }
.tl-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  background: var(--ink-faint);
}
.tl-item[data-vendor='anthropic']::before { background: var(--anthropic); }
.tl-item[data-vendor='openai']::before { background: var(--openai); }
.tl-item[data-kind='increase']::before { background: var(--bg); border-color: var(--ink-faint); box-shadow: 0 0 0 2px var(--ink-faint); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}
.card:hover { border-color: var(--line-strong); }

.card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin-bottom: 0.6rem; }
.date { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint); }
.tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  border: 1px solid currentColor;
}
.tag.vendor-anthropic { color: var(--anthropic); }
.tag.vendor-openai { color: var(--openai); }
.tag.cat-incident { color: var(--cat-incident); }
.tag.cat-goodwill { color: var(--cat-goodwill); }
.tag.cat-launch { color: var(--cat-launch); }
.tag.cat-milestone { color: var(--cat-milestone); }
.tag.cat-holiday { color: var(--cat-holiday); }
.tag.cat-capacity { color: var(--cat-capacity); }
.tag.kind { color: var(--ink-faint); }
.tag.no-reason { color: var(--ink-faint); border-style: dashed; }

.card h3 { font-size: 1rem; margin: 0 0 0.5rem; font-weight: 650; line-height: 1.45; letter-spacing: 0; }

blockquote.q {
  margin: 0.8rem 0;
  padding: 0.7rem 0 0.7rem 1rem;
  border-left: 3px solid var(--line-strong);
  color: var(--ink-dim);
  font-size: 0.92rem;
  font-style: italic;
}
blockquote.q .trunc { font-style: normal; font-size: 0.72rem; color: var(--ink-faint); display: block; margin-top: 0.4rem; letter-spacing: 0.04em; }

.caveat {
  font-size: 0.85rem;
  color: var(--ink-dim);
  background: var(--surface-2);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  margin: 0.8rem 0;
  border-left: 3px solid var(--cat-milestone);
}
.caveat strong { color: var(--ink); font-weight: 650; }

.scope { font-size: 0.82rem; color: var(--ink-faint); margin: 0.5rem 0 0; }

.sources { margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.sources-label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-faint); margin-bottom: 0.45rem;
}
.sources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.sources li { font-size: 0.85rem; display: flex; align-items: baseline; gap: 0.5rem; }
.tier {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.1rem 0.32rem;
  border-radius: 3px;
  flex-shrink: 0;
}
.tier-A { background: rgba(52, 211, 153, 0.16); color: var(--cat-goodwill); }
.tier-B { background: rgba(122, 162, 247, 0.16); color: var(--accent); }
.tier-C { background: rgba(124, 135, 152, 0.16); color: var(--ink-faint); }

.empty { color: var(--ink-faint); padding: 2rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: 12px; }

/* ------------------------------------------------------- CALCULATOR */
.calc { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 2rem; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
.field { margin-bottom: 1.35rem; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 0.8rem; font-weight: 650; margin-bottom: 0.5rem; color: var(--ink); }
.field .hint { font-size: 0.76rem; color: var(--ink-faint); margin-top: 0.4rem; line-height: 1.5; }

select, input[type='date'] {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.6rem 0.7rem;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
input[type='range'] { width: 100%; accent-color: var(--accent); }

.slider-head { display: flex; justify-content: space-between; align-items: baseline; }
.slider-val { font-family: var(--mono); font-size: 0.95rem; color: var(--accent); font-weight: 700; }

/* Must out-specify `.field label`, which is bold and full-contrast. */
.field label.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-dim);
  cursor: pointer;
  margin-bottom: 0;
}
.check input { margin-top: 0.2rem; accent-color: var(--accent); flex-shrink: 0; }

.result-hero {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.result-hero .big {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cat-goodwill);
}
.result-hero .big.zero { color: var(--ink-faint); }
.result-hero .cap { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 0.7rem; }
.result-hero .sub { color: var(--ink-dim); margin-top: 0.9rem; font-size: 0.94rem; max-width: 60ch; }

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.9rem; }
.kv-item { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem 1rem; }
.kv-item .kv-k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }
.kv-item .kv-v { font-family: var(--mono); font-size: 1.35rem; font-weight: 700; margin-top: 0.35rem; letter-spacing: -0.01em; }
.strike { text-decoration: line-through; color: var(--ink-faint); }

.warn {
  border: 1px solid rgba(240, 97, 109, 0.4);
  background: rgba(240, 97, 109, 0.07);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  font-size: 0.88rem;
  color: var(--ink-dim);
}
.warn strong { color: var(--cat-incident); }

.note {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  font-size: 0.88rem;
  color: var(--ink-dim);
}
.note strong { color: var(--ink); }

/* -------------------------------------------------------------- CTA */
.cta {
  background:
    radial-gradient(700px 300px at 8% 0%, rgba(217, 119, 87, 0.12), transparent 60%),
    radial-gradient(700px 300px at 92% 100%, rgba(16, 163, 127, 0.12), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 2.25rem;
}
.cta h2 { margin-top: 0; }
.cta .prose { margin-bottom: 1.75rem; }

.cta-rule {
  border-left: 3px solid var(--cat-goodwill);
  background: var(--bg-2);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-dim);
}
.cta-rule strong { color: var(--ink); font-weight: 650; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.72rem 1.2rem;
  border-radius: 9px;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: #fff; color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink-dim); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-faint); }

/* ------------------------------------------------------- PROVENANCE */
.provenance {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 1rem 0;
  font-size: 0.83rem;
  color: var(--ink-faint);
}
.provenance .wrap { display: flex; flex-wrap: wrap; gap: 0.55rem 1.5rem; align-items: baseline; }
.provenance .prov-key {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-right: 0.4rem;
}
.provenance b { color: var(--ink-dim); font-weight: 600; }
.prov-dot { color: var(--line-strong); }
.prov-manual { color: var(--cat-goodwill); }

/* ------------------------------------------------------------- FEEDS */
.feed-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
}
.feed-panel h3 { margin-top: 0; }
.feed-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 1.1rem; line-height: 1.6; }
.btn-rss { color: #f59e0b; border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.07); }
.btn-rss:hover { color: #fbbf24; border-color: #f59e0b; }

/* --------------------------------------------------- COMPARISON TABLE */
.vs-table th:nth-child(2), .vs-table td:nth-child(2) {
  background: rgba(122, 162, 247, 0.06);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.vs-table th:first-child { width: 32%; }
.vs-table td:first-child { color: var(--ink); font-weight: 600; }
.vs-yes { color: var(--cat-goodwill); font-weight: 650; }
.vs-no { color: var(--ink-faint); }
.vs-part { color: var(--cat-milestone); }
.vs-table caption {
  caption-side: bottom;
  text-align: left;
  font-size: 0.78rem;
  color: var(--ink-faint);
  padding-top: 0.9rem;
  line-height: 1.6;
}

/* ----------------------------------------------------------- TABLES */
.tbl-scroll { overflow-x: auto; margin: 1.25rem 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
th, td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); font-weight: 700; }
td { color: var(--ink-dim); }
td strong { color: var(--ink); font-weight: 650; }

.prose { max-width: 72ch; }
.prose p { color: var(--ink-dim); }
.prose li { color: var(--ink-dim); margin-bottom: 0.4rem; }

/* ----------------------------------------------------------- FOOTER */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem 2rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.footer-left { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-tagline { color: rgba(255, 255, 255, 0.65); font-size: 0.86rem; margin: 0; }
.footer-links { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, 0.65); text-decoration: none; font-size: 0.86rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }
.footer-links .sep { color: rgba(255, 255, 255, 0.22); }
.footer-top-link { color: rgba(255, 255, 255, 0.65); text-decoration: none; font-size: 0.86rem; }
.footer-top-link:hover { color: var(--ink); }

.footer-disclaimer {
  max-width: var(--maxw);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-disclaimer p { font-size: 0.78rem; line-height: 1.65; color: var(--ink-faint); margin: 0 0 0.75rem; }
.footer-colophon { max-width: var(--maxw); margin: 1rem auto 0; font-size: 0.78rem; color: var(--ink-faint); }
.footer-colophon a { color: var(--ink-dim); }

/* ------------------------------------------------------ RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .calc { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 110px 1fr auto; gap: 0.7rem; }
  .bar-label { font-size: 0.78rem; }
  .bar-why { margin-left: 122px; }
  .cta { padding: 1.5rem; }
  /* Once the chips wrap, a vertical rule just dangles at a row end. */
  .filter-sep { display: none; }
}

@media (max-width: 720px) {
  nav { background: rgba(10, 12, 17, 0.95); padding-top: calc(env(safe-area-inset-top, 0px) + 0.55rem); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-left { justify-content: center; }
  .hero { padding-top: calc(var(--nav-h, 64px) + 3rem); }
  section { padding: 2.75rem 0; }
  /* Row collapses to a single column: label / track / value stacked.
     The blurb must fall back to the left edge with it. */
  .bar-row { grid-template-columns: 1fr auto; gap: 0.3rem 0.7rem; }
  .bar-label { text-align: left; grid-column: 1; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .bar-val { text-align: right; grid-column: 2; grid-row: 1; }
  .bar-why { margin-left: 0; }
  .btn-row .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
