:root {
  --navy: #13294B;
  --red: #B3001B;
  --ink-2: #3A4A66;
  --ink-3: #4A5A75;
  --line: #E3E7EE;
  --field: #C5CDDA;
  --panel: #F4F6FA;
  --display: 'Archivo', 'Arial Black', sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--navy);
  background: #fff;
  line-height: 1.5;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--red); }
a:hover { color: var(--navy); }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 20px;
  border: 0; border-radius: 10px;
  font: inherit; font-weight: 800; font-size: 16px;
  text-decoration: none; cursor: pointer;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn:focus-visible { outline: 3px solid rgba(19,41,75,.45); outline-offset: 2px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { color: #fff; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 15px; border-radius: 8px; }
.btn-lg { padding: 18px 28px; font-size: 18px; }
.btn-block { width: 100%; min-height: 56px; font-size: 18px; }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--field); font-weight: 700; font-size: 15px; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* Header */
.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 900; font-size: 20px; letter-spacing: -0.01em;
  color: var(--navy); text-decoration: none;
}
.brand:hover { color: var(--navy); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--red); color: #fff; font-size: 17px;
}

/* Hero */
.hero {
  display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start;
  padding-top: 72px; padding-bottom: 64px;
}
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
h1 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(40px, 7vw, 76px); line-height: .98; letter-spacing: -0.025em;
}
.lede { font-size: 20px; line-height: 1.55; max-width: 540px; color: var(--ink-2); }
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-weight: 600;
}
.chip svg { flex: 0 0 auto; }

/* Pledge card */
.card {
  flex: 1 1 380px; min-width: 0;
  background: var(--panel); border-radius: 16px; padding: 32px;
  scroll-margin-top: 16px;
}
.card h2 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
#pledge-form { display: flex; flex-direction: column; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choices { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.choices legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: block; min-height: 52px; padding: 13px 16px;
  border: 2px solid var(--field); border-radius: 10px; background: #fff;
  font-weight: 700; font-size: 16px; line-height: 1.3;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.choice:hover span { border-color: var(--navy); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid rgba(179,0,27,.35); outline-offset: 2px; }

.names { display: flex; gap: 12px; flex-wrap: wrap; }
.field { flex: 1 1 140px; display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.field input {
  height: 50px; padding: 0 14px; width: 100%;
  border: 1px solid var(--field); border-radius: 8px; background: #fff;
  font: inherit; font-weight: 500; font-size: 17px; color: var(--navy);
}
.field input:focus { outline: 3px solid rgba(179,0,27,.3); outline-offset: 1px; border-color: var(--navy); }

.error { font-size: 14px; font-weight: 600; color: var(--red); }

.thanks { display: flex; flex-direction: column; gap: 16px; }
.thanks h2:focus { outline: none; }
.thanks p { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.thanks .btn-ghost { align-self: flex-start; }
.check {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* Voting location */
.locator-strip {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 16px;
  background: var(--red); color: #fff; text-decoration: none;
  font-size: 15px; line-height: 1.3; text-align: center;
}
.locator-strip:hover { color: #fff; background: #9A0017; }
.locator-strip svg { flex: 0 0 auto; }
.locator { background: var(--panel); border-top: 1px solid var(--line); }
.locator-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px 40px; padding-top: 48px; padding-bottom: 48px;
}
.locator-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.locator-copy h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.02em;
}
.locator-copy p { font-size: 18px; color: var(--ink-2); }
.locator-btn { gap: 10px; }
.redirect-note { font-size: 14px !important; color: var(--ink-3) !important; }

/* Navy band */
.band { background: var(--navy); color: #fff; }
.band-inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.band h2, .momentum h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.02em;
}
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.reason { padding: 22px; border-radius: 12px; background: rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 8px; }
.reason h3 { font-family: var(--body); font-weight: 800; font-size: 19px; }
.reason p { font-size: 15px; line-height: 1.5; color: #D3DAE6; }

/* Momentum */
.momentum { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.momentum-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.momentum-copy p { font-size: 18px; line-height: 1.55; color: var(--ink-2); }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.disclaimer {
  display: inline-block; margin: 24px 0;
  padding: 8px 12px; border: 1px solid var(--navy);
  font-size: 14px; font-weight: 600;
}

/* Phones */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; font-size: 15px; }
  .btn-sm { padding: 10px 14px; font-size: 14px; }
  .hero { padding-top: 36px; padding-bottom: 40px; gap: 32px; }
  .hero-copy { gap: 16px; }
  .eyebrow { font-size: 13px; }
  .lede { font-size: 18px; }
  .chip { width: 100%; }
  .card { padding: 22px 18px; border-radius: 14px; }
  .card h2 { font-size: 24px; }
  .band-inner, .momentum { padding-top: 44px; padding-bottom: 44px; }
  .reason { padding: 18px; }
  .momentum .btn-lg, .locator-btn { width: 100%; }
  .locator-strip { font-size: 14px; }
  .strip-sub { display: none; }
  .locator-inner { padding-top: 36px; padding-bottom: 36px; }
  .thanks .btn-ghost { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
