:root {
  --bg: #fbf7ef;
  --bg-2: #f2ebdd;
  --card: #ffffff;
  --ink: #16142a;
  --muted: #55526a;
  --line: #e4dccb;
  --accent: #d23f1a;
  --accent-ink: #a8310f;
  --navy: #1c1f4e;
  --navy-2: #2a2e6b;
  --sun: #ffc83d;
  --ok: #17785c;
  --c1: #5b7cf0;
  --c2: #23a68c;
  --c3: #a87bd9;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Arial, sans-serif;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Liberation Serif", Georgia, serif;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.075rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
p + p { margin-top: 0.8rem; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
strong { font-weight: 700; }
.skip { position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: #fff; padding: 0.4rem 0.7rem; z-index: 10; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.hl { background: linear-gradient(transparent 62%, var(--sun) 62%); padding: 0 0.08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Header */
.site {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 0; }
.mark { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 850; font-size: 1.35rem; letter-spacing: -0.03em; text-decoration: none; }
.mark-dots { display: inline-grid; grid-template-columns: repeat(3, 6px); gap: 2px; }
.mark-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.3rem; }
nav a { text-decoration: none; color: var(--muted); font-weight: 550; font-size: 0.98rem; }
nav a:hover, nav a[aria-current='page'] { color: var(--ink); }
nav .button { color: #fff; padding: 0.5rem 0.95rem; font-size: 0.95rem; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.button:hover { background: var(--accent-ink); border-color: var(--accent-ink); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: #fff; }
.button.light { background: #fff; color: var(--navy); border-color: #fff; }
.button.light:hover { background: var(--sun); border-color: var(--sun); }
.button:disabled { opacity: 0.55; cursor: wait; transform: none; }
.button small { font-weight: 500; opacity: 0.85; }
.linkish { background: none; border: none; padding: 0; color: var(--accent-ink); text-decoration: underline; cursor: pointer; font-weight: 600; }

/* Hero */
.hero { padding: 3.5rem 0 4rem; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.lede { margin-top: 1.4rem; font-size: clamp(1.15rem, 1.8vw, 1.32rem); max-width: 36rem; color: #2b2940; }
.lede + .lede { margin-top: 0.9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; align-items: center; }
.reassure { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }

.crowd-card {
  background: var(--card);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px rgba(28, 31, 78, 0.35);
}
.crowd-toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); border-radius: 999px; padding: 4px; margin-bottom: 1.1rem; }
.crowd-toggle button { border: none; background: transparent; border-radius: 999px; padding: 0.45rem 0.6rem; font-weight: 700; font-size: 0.92rem; cursor: pointer; color: var(--muted); }
.crowd-toggle button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.crowd { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; }
.crowd i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dot);
  transition: background 0.5s ease, transform 0.5s ease;
}
.crowd.together i { background: var(--accent); }
.crowd-legend { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin-top: 1rem; font-size: 0.88rem; color: var(--muted); min-height: 2.8em; }
.crowd-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.crowd-legend b { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 50%; }
.crowd-caption { margin-top: 0.8rem; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) { .crowd i { transition: none; } .button { transition: none; } }

/* Sections */
.section { padding: 5rem 0; }
.section.alt { background: var(--bg-2); }
.section.dark { background: var(--navy); color: #f1f0fa; }
.section.dark .section-head p, .section.dark .muted { color: #c6c6e4; }
.section-head { max-width: 44rem; margin-bottom: 2.6rem; }
.section-head p { margin-top: 0.9rem; font-size: 1.15rem; color: var(--muted); }
.kicker { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 0.7rem; }
.section.dark .kicker { color: var(--sun); }
.muted { color: var(--muted); }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.panel { background: var(--card); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.ico {
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.65rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: #fde6dd;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.panel h3 { margin-bottom: 0.5rem; }
.panel p { color: var(--muted); }
.punch {
  margin-top: 2.4rem;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 46rem;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.steps > li { background: var(--card); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); display: flex; flex-direction: column; }
.steps > li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 850;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}
.steps h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.steps p { color: var(--muted); }
.steps .curious { margin-top: auto; padding-top: 1rem; }

/* "For the curious" disclosures */
details.curious { margin-top: 1rem; border-top: 1px dashed var(--line); padding-top: 0.75rem; }
details.curious > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
details.curious > summary::-webkit-details-marker { display: none; }
details.curious > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 1.5px solid currentColor; font-size: 0.9rem; line-height: 1; }
details.curious[open] > summary::before { content: "–"; }
details.curious > :not(summary) { margin-top: 0.7rem; font-size: 0.95rem; color: var(--muted); }
details.curious ul { padding-left: 1.1rem; }
details.curious li + li { margin-top: 0.35rem; }

/* Story */
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2.4rem; }
.story article { border-top: 4px solid var(--accent); padding-top: 1rem; }
.story article:nth-child(1) { border-color: var(--c3); }
.story article:nth-child(2) { border-color: var(--muted); }
.story .beat { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.story h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.story p { color: var(--muted); }

.target { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.target .section-head { margin-bottom: 0; }
.target-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; display: grid; gap: 1.2rem; }
.target-card label { display: grid; gap: 0.4rem; }
.target-card label span { font-weight: 650; }
.target-card select { padding: 0.6rem 0.8rem; border: 2px solid var(--line); border-radius: 10px; background: var(--bg); }
.target-card input[type='range'] { accent-color: var(--accent); width: 100%; }
.target-result { background: var(--accent); color: #fff; border-radius: 14px; padding: 1.1rem 1.3rem; }
.target-result strong { display: block; font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.target-result span { opacity: 0.95; }
.target-card .note { margin-top: 0; }
.signal { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.signal p { font-size: 1.15rem; }
.signal h2 + p { margin-top: 1rem; }
.faq-more { margin-top: 1.6rem; color: var(--muted); }
.signal-card { background: var(--navy-2); border-radius: 18px; padding: 1.5rem; }
.signal-card .row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.signal-card .row:last-child { border-bottom: none; }
.signal-card .label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #c6c6e4; font-weight: 700; }
.signal-card .name { font-size: 1.5rem; font-weight: 800; }
.signal-card .why-tag { font-size: 0.9rem; color: #c6c6e4; }

.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.promise .panel h3 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.checks li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.5rem; color: var(--ink); }
.checks li::before { content: "✓"; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: #dff3ea; color: var(--ok); font-weight: 800; font-size: 0.85rem; margin-top: 0.15rem; }
.checks.one li::before { content: "★"; background: #fde6dd; color: var(--accent); }
.pledge-quote {
  grid-column: 1 / -1;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.pledge-quote p { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.3; font-style: italic; max-width: 40rem; }
.pledge-quote footer { color: #c6c6e4; font-size: 0.92rem; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.2rem; }
.faq { max-width: 50rem; display: grid; gap: 0.7rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { margin-top: 0.7rem; color: var(--muted); }

.join { text-align: center; }
.join .section-head { margin-inline: auto; }
.join-form { display: flex; gap: 0.6rem; max-width: 30rem; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.join-form input {
  flex: 1 1 16rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
}
.join-form input::placeholder { color: #b9b9da; }
.join-note { min-height: 1.6em; margin-top: 0.9rem; color: var(--sun); font-weight: 600; }
.join .or { margin-top: 1.6rem; color: #c6c6e4; }
.join .or a { color: #fff; font-weight: 700; }

.site-foot { padding: 2rem 0 2.6rem; color: var(--muted); font-size: 0.92rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-foot a { color: var(--ink); }

/* Result card (home and demo) */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; box-shadow: 0 18px 50px -36px rgba(28, 31, 78, 0.4); }
.card-top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.4rem; }
.card h3 { margin: 1.6rem 0 0.4rem; }
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.4rem 0 1.4rem; }
.verdict > div { border-radius: 14px; padding: 1.1rem 1.2rem; }
.verdict .pick { background: var(--accent); color: #fff; }
.verdict .fav { background: var(--bg-2); }
.verdict .label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; }
.verdict .name { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 850; letter-spacing: -0.03em; line-height: 1.1; margin: 0.25rem 0; }
.verdict .sub { font-size: 0.92rem; opacity: 0.92; }
.verdict.single { grid-template-columns: 1fr; }

.counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 1.2rem 0; }
.counts > div { background: var(--bg); border-radius: 12px; padding: 0.8rem 1rem; }
.counts strong { display: block; font-size: 1.7rem; font-weight: 850; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.counts span { color: var(--muted); font-size: 0.88rem; line-height: 1.3; display: block; }

.bars { display: grid; gap: 0.75rem; margin-top: 0.8rem; }
.bar-row { display: grid; grid-template-columns: 8.5rem 1fr 5.5rem; gap: 0.8rem; align-items: center; }
.bar-row .who { font-weight: 650; }
.bar-row .who small { display: block; color: var(--muted); font-weight: 500; font-size: 0.8rem; }
.track { height: 0.8rem; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.fill { display: block; height: 100%; background: var(--muted); border-radius: 999px; }
.fill.fav { background: var(--c3); }
.fill.pick { background: var(--accent); }
.fill.can { background: var(--ok); }
.fill.cant { background: #c9c3b5; }
.meta { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.92rem; }
.note { color: var(--muted); margin-top: 0.9rem; font-size: 0.95rem; }

table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; font-variant-numeric: tabular-nums; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: baseline; }
th { color: var(--muted); font-weight: 650; font-size: 0.82rem; }
.table-scroll { max-height: 22rem; overflow: auto; }

.pill { display: inline-flex; align-items: center; gap: 0.3rem; border-radius: 999px; padding: 0.15rem 0.65rem; font-size: 0.8rem; font-weight: 750; background: #dff3ea; color: var(--ok); white-space: nowrap; }
.pill.off { background: var(--bg-2); color: var(--muted); }
.pill.warn { background: #fde6dd; color: var(--accent-ink); }

.alert { background: #fde6dd; color: #6d1f08; border-radius: 10px; padding: 0.8rem 1rem; margin: 0.8rem 0; }
.ok { color: var(--ok); }
.loading { color: var(--muted); padding: 1rem 0; }

/* Demo */
.demo { padding: 2rem 0 5rem; }
.demo-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.demo-intro h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.demo-intro p { color: var(--muted); max-width: 40rem; margin-top: 0.6rem; font-size: 1.08rem; }
.whoami { display: flex; align-items: center; gap: 0.7rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 1rem 0.4rem 0.4rem; font-size: 0.92rem; }
.whoami .avatar { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--c3); color: #fff; display: grid; place-items: center; font-weight: 800; }
.whoami small { display: block; color: var(--muted); line-height: 1.2; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; list-style: none; margin: 0 0 1.6rem; padding: 0; }
.timeline button {
  width: 100%;
  text-align: left;
  border: 2px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  display: grid;
  gap: 0.1rem;
}
.timeline button:hover { border-color: var(--ink); }
.timeline .num { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.timeline .what { font-weight: 750; line-height: 1.25; }
.timeline .when { font-size: 0.82rem; color: var(--muted); }
.timeline .done button { background: var(--bg-2); }
.timeline .now button { border-color: var(--accent); background: #fff3ee; }
.timeline .now .num { color: var(--accent-ink); }

.now-banner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.now-banner p { font-weight: 650; font-size: 1.05rem; }
.now-banner .pill { background: var(--sun); color: var(--ink); }
.now-banner .pill.off { background: #3c3a55; color: #e2e1f0; }
.now-banner .linkish { color: #fff; margin-left: 0.6rem; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem); gap: 1.4rem; align-items: start; }
.next-up { display: flex; justify-content: flex-end; margin-top: 1.4rem; }

.why { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; position: sticky; top: 5rem; }
.why h2 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.why > p { color: var(--muted); font-size: 0.97rem; }

.winnable { display: grid; gap: 0.5rem; margin: 0.8rem 0 0.4rem; }
.winnable li { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0.9rem; border-radius: 12px; background: var(--bg); }
.winnable ul, ul.winnable { padding: 0; margin: 0.8rem 0 0.4rem; }
.winnable .who { font-weight: 700; }
.winnable .who small { display: block; color: var(--muted); font-weight: 500; }

.ballot { margin-top: 1.6rem; border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.ballot-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.ballot-head h3 { margin: 0; font-size: 1.5rem; }
.legend { display: flex; gap: 1rem; font-size: 0.88rem; color: var(--muted); }
.candidate { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.candidate .who strong { display: block; font-size: 1.12rem; }
.candidate .who span { color: var(--muted); font-size: 0.9rem; }
.scale-wrap { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.scale { display: flex; align-items: center; gap: 0.15rem; }
.scale button { cursor: pointer; }
.scale .zero {
  width: 2.4rem;
  height: 2.4rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--muted);
}
.scale .zero[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: #fff; }
.scale .star { width: 2.5rem; height: 2.5rem; padding: 0; border: none; background: transparent; color: #d6cfbf; font-size: 2rem; line-height: 1; transition: transform 0.1s ease; }
.scale .star:hover { transform: scale(1.12); }
.scale .star.lit { color: var(--accent); }
.score-word { min-width: 6.5rem; font-size: 0.85rem; color: var(--muted); text-align: right; }
.pledge-box { margin-top: 1.4rem; background: #fff3ee; border: 2px solid #f6c9b8; border-radius: 14px; padding: 1rem 1.2rem; }
.pledge-box strong { display: block; margin-bottom: 0.2rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-top: 1.2rem; }
.status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 12px; background: #dff3ea; color: #0d4f3b; }
.status.off { background: var(--bg-2); color: var(--muted); }
.status code { font-weight: 800; letter-spacing: 0.06em; }

.prep { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.prep li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; align-items: start; background: var(--bg); padding: 1rem; border-radius: 12px; }
.prep .icon { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--card); font-size: 1.15rem; font-weight: 800; color: var(--accent); }
.prep strong { display: block; font-size: 1.08rem; }
.prep p { color: var(--muted); }

.big-vote { text-align: center; background: var(--accent); color: #fff; border-radius: 16px; padding: 1.8rem 1.2rem; margin: 0.6rem 0 1.2rem; }
.big-vote .label { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.big-vote .name { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.05; margin: 0.3rem 0; }
.big-vote p { opacity: 0.95; }

/* Technical page */
.doc { padding: 3rem 0 5rem; }
.doc .wrap { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.toc { position: sticky; top: 5.5rem; font-size: 0.93rem; }
.toc p { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.doc article { max-width: 46rem; }
.doc header h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.doc header p { margin-top: 1rem; font-size: 1.18rem; color: var(--muted); }
.doc section { padding-top: 2.6rem; scroll-margin-top: 4.5rem; }
.doc section h2 { font-size: 1.75rem; margin-bottom: 0.9rem; }
.doc section h3 { margin: 1.4rem 0 0.4rem; }
.doc section p, .doc section li { color: #2f2d44; }
.doc ol.plain, .doc ul.plain { padding-left: 1.25rem; display: grid; gap: 0.5rem; margin: 0.8rem 0; }
.doc code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.88em; background: var(--bg-2); padding: 0.05rem 0.35rem; border-radius: 5px; }
.callout { background: var(--card); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.callout.todo { border-color: var(--sun); }
.numbers-card { margin-top: 1rem; }

@media (max-width: 900px) {
  .hero .wrap, .signal, .target, .doc .wrap { grid-template-columns: 1fr; }
  .toc { position: static; }
  .problem-grid, .steps, .story, .promise { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; }
  .why { position: static; }
}
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero { padding-top: 2rem; }
  nav a:not(.button) { display: none; }
  nav a.keep { display: inline; }
  .verdict, .counts { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 1fr 4.5rem; }
  .bar-row .track { grid-column: 1 / -1; grid-row: 2; }
  .score-word { text-align: left; }
}
