@font-face {
  font-family: "Neo Contact D";
  src: url("/fonts/neo-contact-d.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --navy: #10213f;
  --navy-2: #002768;
  --red: #c22224;
  --red-dark: #9e1a1c;
  --paper: #eeeeee;
  --white: #fff;
  --sky: #b9d2e9;
  --ink: #10213f;
  --muted: #4a5670;
  --display: "Neo Contact D", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -0.01em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Countdown bar */
.meetingbar { background: var(--red); color: var(--white); font-size: 15px; }
.meetingbar__inner { width: min(1120px, 100% - 24px); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; padding: 9px 0; text-align: center; }
.meetingbar__label { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; opacity: .9; }
.meetingbar__when { font-weight: 700; }
.meetingbar__count { display: inline-flex; gap: 8px; font-variant-numeric: tabular-nums; }
.meetingbar__count b { font-size: 18px; }
.meetingbar__link { font-weight: 700; text-underline-offset: 3px; }

/* Header */
.topnav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; width: min(1120px, 100% - 40px); margin: 0 auto; padding: 18px 0; }
.brand { font-family: var(--display); font-size: 28px; text-decoration: none; color: var(--navy); }
.socials { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--navy); transition: background .15s, color .15s; }
.socials a:hover, .socials a:focus-visible { background: var(--navy); color: var(--white); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.socials a.mail { width: auto; height: auto; border-radius: 6px; padding: 6px 10px; font-weight: 700; }

/* Hero */
.hero { padding: 24px 0 24px; }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(44px, 9vw, 92px); color: var(--navy); margin-bottom: .2em; }
.hero__join { font-family: var(--display); font-size: clamp(56px, 12vw, 128px); line-height: .9; color: var(--red); margin: 0; }
.hero__name { font-family: var(--display); font-size: clamp(30px, 5vw, 48px); line-height: 1.05; color: var(--navy); margin: 0 0 .25em; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } .hero { padding: 40px 0 24px; } }

/* Form */
.signup { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px rgba(16,33,63,.12); border-top: 6px solid var(--red); }
.signup__title { font-size: 32px; color: var(--navy); }
.field { margin-bottom: 14px; }
.field--zip { max-width: 9.5rem; }
.turnstile { margin: 2px 0 12px; }
.turnstile:empty { display: none; }
label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.req, .opt { font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-left: 4px; }
.req { color: var(--red); }
input { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 2px solid #cfd5df; border-radius: 8px; background: #fbfbfc; color: var(--ink); }
input:focus { outline: none; border-color: var(--navy); background: #fff; }
input[aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-size: 14px; margin: 4px 0 0; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 800; font-size: 18px; text-decoration: none; cursor: pointer; transition: transform .1s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.signup .btn { width: 100%; }
.signup .btn[disabled] { opacity: .6; cursor: progress; }
.consent { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.45; }
.form-msg { font-weight: 700; margin: 10px 0 0; color: var(--red); }
.form-msg:empty { display: none; }
.signup--done { text-align: left; }
.signup--done p { margin: 0; }

/* About */
.about { background: var(--navy); color: var(--white); padding: 64px 0; }
.about__grid { display: grid; gap: 32px; align-items: center; }
.about__photo { width: 100%; max-width: 360px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); margin-inline: auto; }
.about h2 { font-size: clamp(36px, 6vw, 56px); }
.about p { font-size: 20px; margin: 0 0 1em; max-width: 36em; }
.about__kicker { font-family: var(--display); font-size: clamp(28px, 4vw, 40px) !important; line-height: 1.1; color: var(--sky); }
@media (min-width: 900px) { .about__grid { grid-template-columns: 360px 1fr; gap: 64px; } }

/* Election */
.election { padding: 72px 0; }
.hero + .election { padding-top: 4px; }
.eyebrow { display: inline-block; background: var(--navy); color: var(--white); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding: 6px 12px; border-radius: 4px; margin: 0 0 10px; }
.big { font-size: clamp(40px, 7vw, 76px); color: var(--navy); }
.out { background: var(--white); border-left: 8px solid var(--red); border-radius: var(--radius); padding: 22px 24px; margin: 28px 0 48px; }
.out h3 { font-size: clamp(34px, 6vw, 56px); color: var(--red); }
.out p { margin: 0; color: var(--muted); max-width: 46em; }
.slate-title { font-size: clamp(30px, 5vw, 48px); color: var(--navy); margin-top: 8px; }
.slate-title--also { margin-top: 48px; font-size: clamp(26px, 4vw, 38px); }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cards--2 { max-width: 760px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 18px rgba(16,33,63,.08); display: flex; flex-direction: column; }
.card img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; background: #dde3ec; }
.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h4 { font-size: 30px; color: var(--navy); margin: 0; }
.card p { margin: 0; font-size: 16px; color: var(--muted); flex: 1; }
.card a { font-weight: 800; color: var(--red); text-decoration: none; }
.card a:hover { text-decoration: underline; }
.cards--3 .card { border-top: 6px solid var(--red); }
.voteinfo { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

/* Fight */
.fight { background: var(--red); color: var(--white); padding: 72px 0; }
.fight__inner { max-width: 760px; }
.fight .big { color: var(--white); }
.fight p { font-size: 21px; margin: 0 0 1em; }
.score { display: flex; align-items: center; gap: 18px; margin: 28px 0; }
.score__side { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 14px 22px; text-align: center; min-width: 140px; }
.score__side--us { background: var(--white); color: var(--red); }
.score__side b { display: block; font-family: var(--display); font-weight: 400; font-size: 84px; line-height: 1; }
.score__side span { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.score__vs { font-family: var(--display); font-size: 32px; }
.fight .btn--red { background: var(--white); color: var(--red); }
.fight .btn--red:hover { background: var(--navy); color: var(--white); }

/* Footer */
.footer { background: var(--navy); color: var(--white); padding: 40px 0 48px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.socials--footer a { color: var(--white); }
.socials--footer a:hover { background: var(--white); color: var(--navy); }
.disclosure { font-weight: 800; border: 2px solid var(--white); padding: 6px 14px; margin: 10px 0 0; }
.fine { font-size: 13px; opacity: .7; margin: 0; }

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

/* Layout refinements */
.brand { white-space: nowrap; }
@media (min-width: 760px) {
  .cards--3, .cards--2 { grid-template-columns: repeat(3, 1fr); max-width: none; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .meetingbar { font-size: 14px; }
  .meetingbar__inner { gap: 2px 10px; padding: 7px 0; }
  .meetingbar__label { flex-basis: 100%; font-size: 11px; }
  .meetingbar__count b { font-size: 16px; }
  .topnav { padding: 12px 0; }
  .brand { font-size: 24px; }
  .socials { gap: 0; }
  .socials a { width: 34px; height: 34px; }
  .socials svg { width: 18px; height: 18px; }
  .score__side { min-width: 0; flex: 1; padding: 12px; }
  .score__side b { font-size: 64px; }
}
@media (max-width: 600px) {
  .about { padding: 44px 0; }
  .about__photo { max-width: 220px; }
}

/* Countdown bar: single message + link */
.meetingbar__when { font-weight: 700; }
.meetingbar__link { background: var(--white); color: var(--red); padding: 3px 10px; border-radius: 999px; text-decoration: none; }
.meetingbar__link:hover { background: var(--navy); color: var(--white); }

/* Public comment */
.comment { background: var(--white); padding: 72px 0; scroll-margin-top: 70px; border-bottom: 1px solid #dde2ea; }
.eyebrow--red { background: var(--red); }
.comment__lead { font-family: var(--display); font-size: clamp(28px, 4.5vw, 44px); line-height: 1.1; color: var(--red); margin: 0 0 14px; max-width: 22em; }
.comment__next { font-size: 19px; margin: 0 0 32px; color: var(--ink); }
.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 16px; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 22px 22px 20px 78px; }
.step__n { position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-size: 26px; }
.step h3 { font-size: 28px; color: var(--navy); margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 17px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { padding: 76px 24px 24px; } .step__n { left: 24px; top: 22px; } }
.comment__quote { margin: 0 0 32px; padding: 22px 26px; border-left: 8px solid var(--red); background: var(--navy); color: var(--white); border-radius: var(--radius); font-family: var(--display); font-size: clamp(24px, 3.4vw, 34px); line-height: 1.2; }
.comment__quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-weight: 800; font-size: 15px; color: var(--sky); }
.comment__quote cite::before { content: "— "; }
.comment__links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.comment__fine { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .comment { padding: 48px 0; } .meetingbar__when { flex-basis: 100%; } }

/* Calendar buttons */
.calstrip { background: var(--navy); color: var(--white); font-size: 14px; }
.calstrip__inner { width: min(1120px, 100% - 24px); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 8px 0; text-align: center; }
.calstrip__label { opacity: .9; }
.calbtns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.calbtn { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; border: 2px solid currentColor; }
.calbtns--strip .calbtn { color: var(--white); border-color: rgba(255,255,255,.55); }
.calbtns--strip .calbtn:hover { background: var(--white); color: var(--navy); }
.calbtns--section { justify-content: flex-start; margin: 0 0 28px; }
.calbtns--section .calbtn { color: var(--navy); min-height: 44px; padding: 8px 16px; font-size: 15px; }
.calbtns--section .calbtn:hover { background: var(--navy); color: var(--white); }
.comment__calhead { font-size: 30px; color: var(--navy); margin: 0 0 6px; }
.comment__calnote { color: var(--muted); margin: 0 0 14px; font-size: 16px; }
@media (max-width: 600px) {
  .calstrip { font-size: 13px; }
  .calstrip__label { flex-basis: 100%; }
  .calbtns--strip { gap: 6px; }
  .calbtns--strip .calbtn { font-size: 12.5px; min-height: 30px; padding: 4px 9px; }
}

/* Vote-out block with grayscale photo (grayscale + 10% dim baked into the file; original is untouched in sources/) */
.out { display: flex; gap: 20px; align-items: center; }
.out__photo { width: 120px; height: 120px; flex: none; border-radius: 8px; object-fit: cover; }
@media (min-width: 700px) { .out__photo { width: 168px; height: 168px; } .out { gap: 28px; } }
@media (max-width: 480px) { .out { flex-direction: column; align-items: flex-start; } }

/* Visible email + copy button */
.emailcopy { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.emailcopy__addr { font-weight: 800; text-underline-offset: 3px; word-break: break-all; }
.emailcopy__btn { font: inherit; font-size: 13px; font-weight: 800; padding: 4px 12px; min-height: 30px; border-radius: 999px; border: 2px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.emailcopy__btn:hover { background: var(--white); color: var(--navy); }
.emailcopy__btn.is-copied { background: #1f8a4c; border-color: #1f8a4c; color: #fff; }
.about__contact { font-size: 18px !important; margin-top: 8px; }
.footer__email { margin: 4px 0 0; font-size: 16px; }

/* "Not a candidate" statement in the hero */
.hero__citizen { margin: 22px 0 0; padding: 14px 18px; border-left: 6px solid var(--red); background: var(--white); border-radius: 8px; font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; line-height: 1.4; max-width: 34em; }
.hero__citizen strong { color: var(--red); font-weight: 900; letter-spacing: .02em; }
/* Election Day countdown, same-day registration, own-city */
.meetingbar__elec { color: var(--white); font-weight: 700; text-underline-offset: 3px; }
.elec-count { background: var(--navy); color: var(--white); border-radius: 10px; padding: 18px 22px; margin: 0 0 28px; display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.elec-count__nums { display: flex; gap: 18px; font-variant-numeric: tabular-nums; }
.elec-count__nums div { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.elec-count__nums b { font-family: var(--display); font-size: clamp(40px, 7vw, 64px); line-height: 1; }
.elec-count__nums span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.elec-count__label { margin: 0; font-weight: 700; font-size: 17px; max-width: 280px; }
.owncity { border-left: 6px solid var(--red); background: var(--white); border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 8px 0 36px; max-width: 820px; }
.owncity h3 { margin: 0 0 6px; font-size: 28px; color: var(--navy); }
.owncity p { margin: 0; font-size: 18px; }
.sameday { background: var(--white); border-top: 6px solid var(--navy); border-radius: 10px; padding: 22px 24px; margin: 48px 0 24px; max-width: 820px; }
.sameday h3 { margin: 0 0 10px; font-size: 28px; color: var(--navy); }
.sameday p, .sameday li { font-size: 17px; }
.sameday ul { padding-left: 20px; margin: 10px 0; }
.sameday li { margin-bottom: 6px; }
.sameday__more a { color: var(--red); font-weight: 700; }
@media (max-width: 600px) { .elec-count { display: flex; } .elec-count__nums div { min-width: 54px; } }
/* 2028 seats: same Election Day countdown, smaller, four units so it still fits a phone. */
.elec-count--2028 { padding: 12px 14px; margin: 4px 0 26px; gap: 8px 16px; }
.elec-count--2028 .elec-count__nums { gap: 8px; }
.elec-count--2028 .elec-count__nums div { min-width: 0; }
.elec-count--2028 .elec-count__nums b { font-size: clamp(24px, 4.2vw, 40px); }
.elec-count--2028 .elec-count__nums span { font-size: 11px; letter-spacing: .06em; }
.elec-count--2028 .elec-count__label { font-size: 15px; max-width: 18em; }
@media (max-width: 600px) {
  .elec-count--2028 { padding: 10px 10px; margin-bottom: 22px; }
  .elec-count--2028 .elec-count__nums { gap: 4px; }
  .elec-count--2028 .elec-count__nums b { font-size: 24px; }
  .elec-count--2028 .elec-count__nums span { font-size: 10px; letter-spacing: .04em; }
}
/* 2028 seat holders: navy cards on the red fight section, under the Join me button. */
.seats2028 { margin-top: 36px; }
.seats2028 h3 { font-size: clamp(28px, 5vw, 44px); color: var(--white); margin: 0 0 16px; }
.seats2028__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.seats2028__card { background: var(--navy); color: var(--white); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.seats2028__card img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: center 18%; background: #0b1830; filter: grayscale(100%); }
.seats2028__body { padding: 10px 10px 14px; }
.seats2028__card h4 { font-size: clamp(18px, 4.2vw, 26px); color: var(--white); margin: 0; overflow-wrap: break-word; }
.seats2028__card p { margin: 4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.fight .seats2028__credit { margin: 12px 0 0; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; opacity: .85; }
@media (min-width: 700px) {
  .seats2028__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .seats2028__body { padding: 12px 12px 16px; }
  .seats2028__card p { font-size: 13px; }
}
.topbars { position: sticky; top: 0; z-index: 10; }
.electionbar { background: var(--navy); color: var(--white); font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.18); }
.electionbar .meetingbar__count b { font-size: 18px; }
.electionbar__link { background: var(--red); color: var(--white); padding: 3px 10px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.electionbar__link:hover { background: var(--white); color: var(--navy); }
@media (max-width: 600px) { .electionbar { font-size: 14px; } .electionbar .meetingbar__inner { gap: 2px 10px; padding: 7px 0; } .electionbar .meetingbar__count b { font-size: 16px; } }
.about__photo { height: auto; align-self: center; }
.maplink { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.maplink:hover { color: var(--red); }
.maplink__hint { font-size: 13px; color: var(--red); font-weight: 700; }
#how-to-vote, #vote { scroll-margin-top: 120px; }
.out + .owncity { margin-top: -24px; }
.hero__citizen p { margin: 0; } .hero__citizen p + p { margin-top: .7em; font-weight: 500; }

.hero__side { display: flex; flex-direction: column; gap: 20px; }
.hero__photo { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(16,33,63,.15); }

/* QA 2026-10-15: on phones the sticky bars are ~150px tall; keep anchor targets clear of them. */
#signup { scroll-margin-top: 110px; }
@media (max-width: 600px) { #how-to-vote, #vote, #public-comment, #signup { scroll-margin-top: 165px; } }

/* Privacy page */
.legal__top { padding: 18px 0; border-bottom: 1px solid #dde2ea; background: var(--white); }
.legal { padding: 48px 0 64px; }
.legal__inner { max-width: 760px; }
.legal h1 { margin-bottom: .2em; }
.legal__updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.legal h2 { font-size: 30px; color: var(--navy); margin: 32px 0 10px; }
.legal p, .legal li { font-size: 18px; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin-bottom: 6px; }
.legal a:not(.btn) { color: var(--red); font-weight: 700; }
.legal .btn { margin-top: 24px; }
.footer__links { margin: 4px 0 0; font-size: 14px; }
.footer__links a { color: var(--white); }
.consent a { color: inherit; font-weight: 700; }
