:root {
  --ink: #0b2340;
  --paper: #fbf7ec;
  --yellow: #f5be37;
  --yellow-bright: #ffd151;
  --coral: #f45b47;
  --blue: #3469ff;
  --muted: #637081;
  --white: #fffdf7;
  --border: 3px solid var(--ink);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

button, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  border: 2px solid var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  padding: 0 5vw;
  background: var(--paper);
  border-bottom: var(--border);
}

.wordmark {
  width: max-content;
  color: var(--ink);
  font-family: "League Spartan", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.06em;
}

.header-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.share-button {
  justify-self: end;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.68rem 1.05rem;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 100px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.share-button svg { fill: currentColor; }
.share-button:hover { background: var(--blue); transform: translateY(-2px); }
.share-button:focus-visible, .vote-button:focus-visible, a:focus-visible { outline: 4px solid var(--blue); outline-offset: 4px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 30%, rgb(255 255 255 / 22%) 0 9%, transparent 9.4%),
    radial-gradient(circle at 13% 70%, rgb(255 255 255 / 17%) 0 7%, transparent 7.4%),
    var(--yellow);
  border-bottom: var(--border);
}

.hero::before {
  content: "?";
  position: absolute;
  top: 4%;
  right: 2%;
  color: rgb(11 35 64 / 7%);
  font-family: "League Spartan", sans-serif;
  font-size: clamp(20rem, 48vw, 43rem);
  font-weight: 900;
  line-height: 0.8;
  transform: rotate(8deg);
}

.ticker {
  position: relative;
  z-index: 2;
  display: flex;
  width: max-content;
  gap: 2rem;
  padding: 0.7rem 0;
  color: var(--white);
  background: var(--ink);
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.ticker span::after { content: "✦"; margin-left: 2rem; color: var(--yellow); }
.ticker-top { transform: translateX(-1rem) rotate(-1deg); }
.ticker-bottom { transform: translateX(-1rem) rotate(1deg); }

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1040px, 90vw);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(4.5rem, 9vw, 7rem);
  text-align: center;
}

.eyebrow, .section-kicker {
  margin: 0 0 1.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pulse-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgb(244 91 71 / 70%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgb(244 91 71 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(244 91 71 / 0%); }
}

h1, h2, h3 { font-family: "League Spartan", sans-serif; }

h1 {
  max-width: 950px;
  margin: 0 auto;
  font-size: clamp(4rem, 10.4vw, 8.3rem);
  font-weight: 900;
  line-height: 0.83;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

h1 span {
  display: inline-block;
  color: var(--white);
  text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-2deg);
}

.lede {
  max-width: 630px;
  margin: 2rem auto 2.6rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.vote-panel { max-width: 780px; margin: 0 auto; }

.vote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vote-button {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  min-height: 140px;
  padding: 1.4rem 1.5rem;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: var(--border);
  border-radius: 3px;
  box-shadow: 7px 7px 0 var(--ink);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.vote-button:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--ink); }
.vote-button:active:not(:disabled) { transform: translate(5px, 5px); box-shadow: 2px 2px 0 var(--ink); }
.vote-button:disabled { cursor: default; opacity: 0.58; }
.vote-button.is-selected { color: var(--white); background: var(--blue); opacity: 1; }
.vote-button svg { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 3rem; fill: none; stroke: currentColor; stroke-width: 3.5; }
.vote-label { font-family: "League Spartan", sans-serif; font-size: 2.5rem; font-weight: 900; text-transform: uppercase; }
.vote-subtitle { align-self: end; font-size: 0.78rem; font-weight: 600; }
.vote-help { margin: 1.3rem 0 0; font-size: 0.8rem; font-weight: 600; }
.status-message { min-height: 1.5rem; margin-top: 0.5rem; font-size: 0.9rem; font-weight: 700; }
.status-message[data-type="success"] { color: #0a4b34; }
.status-message[data-type="error"] { color: #8b1a0d; }

.results {
  width: min(1160px, 90vw);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.results-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.4rem;
}

.results h2, .context h2 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.response-total { margin: 0; text-align: right; }
.response-total strong { display: block; font-family: "League Spartan", sans-serif; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.7; }
.response-total span { color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.result-card { min-width: 0; padding: clamp(1.4rem, 4vw, 2.4rem); border: var(--border); }
.result-yes { background: var(--blue); color: var(--white); }
.result-no { background: var(--white); }
.result-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.result-label-row h3, .result-label-row strong { margin: 0; font-family: "League Spartan", sans-serif; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1; text-transform: uppercase; }
.result-track { height: 13px; margin: 1.5rem 0 1rem; overflow: hidden; background: rgb(11 35 64 / 18%); border: 2px solid currentColor; }
.result-track span { display: block; width: 0; height: 100%; background: currentColor; transition: width 600ms cubic-bezier(.2,.8,.2,1); }
.result-yes .result-track span { background: var(--yellow-bright); }
.result-card p { margin: 0; font-size: 0.85rem; }
.method-note { max-width: 640px; margin: 1.3rem auto 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; text-align: center; }
.turnstile-widget { width: min(100%, 420px); min-height: 1px; margin: 0.9rem auto 0; }

.context {
  display: grid;
  grid-template-columns: 0.35fr 1.2fr 0.9fr;
  gap: 3rem;
  align-items: start;
  padding: clamp(4rem, 8vw, 7rem) 5vw;
  color: var(--white);
  background: var(--ink);
  border-top: var(--border);
}

.context-number { color: var(--yellow); font-family: "League Spartan", sans-serif; font-size: clamp(5rem, 10vw, 10rem); font-weight: 900; line-height: 0.7; }
.context .section-kicker { color: var(--yellow); }
.context > p { margin: 1.7rem 0 0; color: #c7d0db; font-size: 1rem; line-height: 1.7; }

.site-footer {
  display: grid;
  grid-template-columns: 0.55fr 1.5fr 0.55fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3.5rem 5vw 2rem;
  background: var(--paper);
}

.footer-mark { font-family: "League Spartan", sans-serif; font-size: 2rem; font-weight: 900; letter-spacing: -0.08em; }
.disclaimer strong { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.disclaimer p { max-width: 620px; margin: 0.6rem 0 0; color: var(--muted); font-size: 0.75rem; line-height: 1.6; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 1rem; font-size: 0.8rem; font-weight: 700; }
.copyright { grid-column: 1 / -1; margin: 2.5rem 0 0; padding-top: 1.2rem; color: var(--muted); border-top: 1px solid #c8c4ba; font-size: 0.7rem; }

.legal-main { width: min(800px, 88vw); margin: 0 auto; padding: clamp(4rem, 10vw, 8rem) 0; }
.legal-main .section-kicker { color: var(--coral); }
.legal-main h1 { margin: 0 0 1.5rem; font-size: clamp(3.5rem, 9vw, 7rem); text-align: left; }
.legal-intro { margin-bottom: 3rem; padding: 1.4rem; background: var(--yellow); border: var(--border); font-weight: 700; line-height: 1.55; }
.legal-main h2 { margin: 2.6rem 0 0.7rem; font-size: 1.7rem; letter-spacing: -0.025em; }
.legal-main p, .legal-main li { color: #344256; line-height: 1.7; }
.legal-main li + li { margin-top: 0.55rem; }
.legal-updated { color: var(--muted); font-size: 0.78rem; }

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 72px; }
  .header-note { display: none; }
  .share-button { padding: 0.58rem 0.8rem; }
  .hero-inner { width: 92vw; padding-top: 3.7rem; }
  h1 { font-size: clamp(3.7rem, 18.5vw, 6rem); }
  h1 span { text-shadow: 3px 3px 0 var(--ink); }
  .vote-actions, .result-grid { grid-template-columns: 1fr; }
  .vote-button { min-height: 116px; }
  .results-heading { display: block; }
  .response-total { margin-top: 2.5rem; text-align: left; }
  .context { grid-template-columns: 1fr; gap: 1.6rem; }
  .context-number { font-size: 5rem; }
  .context > p { margin-top: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 1.6rem; }
  .site-footer nav { justify-content: flex-start; }
}

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