*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--content); font-family: var(--font-sans); font-size: 19px; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Bands */
.band--white { background: var(--white); }
.band--gray { background: var(--gray-100); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.pad { padding-block: var(--space-8); }
@media (max-width: 720px) { .pad { padding-block: var(--space-7); } }
.h2 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1; }
.sec-line { margin: var(--space-3) 0 0; font-size: 19px; color: var(--ink-muted); max-width: 40em; }

/* Header */
.site-head { background: var(--navy); }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: var(--space-5); padding-block: var(--space-4); }
.logo { display: flex; flex-wrap: wrap; align-items: center; justify-self: start; min-width: 0; text-decoration: none; }
.logo img { height: 22px; width: auto; display: block; }
.logo__sub { font-family: var(--font-display); font-weight: 700; font-size: 25px; line-height: 1; letter-spacing: 0.5px; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.btn-sm { min-height: 44px; padding: 10px 20px; flex: none; }
/* Below 1100px the initiative name sits under the logo, without the colon, rather than wrapping beside it */
@media (max-width: 1100px) { .logo { flex-direction: column; align-items: flex-start; gap: 4px; } .logo__sep { display: none; } .logo__sub { font-size: 21px; } }
@media (max-width: 600px) { .logo__sub { font-size: 19px; } .hero-h .rv-em { display: block; } }
@media (max-width: 420px) { .logo img { height: 16px; } .logo__sub { font-size: 17px; } }
.head-nav ul { display: flex; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.head-nav a { display: inline-block; padding-block: 12px; color: var(--white); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.head-nav a:hover { border-bottom-color: var(--gold); }
@media (max-width: 760px) {
  .head-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--space-2); }
  .head-nav { order: 3; grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.15); }
  .head-nav a { padding-block: 10px 8px; font-size: 13px; letter-spacing: 1px; }
}
@media (max-width: 420px) {
  .head-nav ul { justify-content: space-between; gap: var(--space-2); }
  .head-nav a { font-size: 12px; letter-spacing: 0.5px; }
}

/* Hero */
.hero { background: var(--navy); }
.hero-in { padding-block: var(--space-7) var(--space-8); display: flex; flex-direction: column; gap: var(--space-5); }
.hero-h { font-size: clamp(40px, 6vw, 76px); line-height: 0.95; max-width: 14em; text-wrap: balance; }
.hero-line b, .hero-line em { color: var(--white); font-weight: 700; }
.hero-copy { margin-top: calc(-1 * var(--space-2)); display: flex; flex-direction: column; gap: var(--space-3); max-width: 40em; }
.hero-line { margin: 0; font-size: 20px; line-height: 1.45; color: var(--shade-blue); max-width: 40em; }
.hero-lead { margin: var(--space-2) 0 var(--space-2); padding-left: var(--space-4); border-left: var(--stroke-accent) solid var(--accent-bar); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; text-transform: none; color: var(--white); text-wrap: balance; }
.hero-lead .rv-em { color: var(--gold); }
.hero-cta { margin: var(--space-3) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.hero-how { font-size: 16px; font-weight: 700; color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.hero-how:hover { color: var(--white); }

/* Hero thermometer: total committed toward the goal (the full breakdown is the widget in #fund) */
.thermo { color-scheme: light; display: grid; gap: var(--space-4); padding: var(--space-5) var(--space-6); background: var(--white); color: var(--content); border-radius: var(--radius-md); border-top: var(--stroke-accent) solid var(--cyan); }
.thermo__lead { margin: 0; max-width: 46em; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--navy); }
.thermo__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-4); }
.thermo__num { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 5vw, 60px); line-height: 0.9; color: var(--navy); font-variant-numeric: tabular-nums; }
.thermo__of { margin: 0; font-size: 17px; font-weight: 700; color: var(--gray-700); font-variant-numeric: tabular-nums; }
.thermo__track { position: relative; height: 20px; margin: var(--space-2) 0 var(--space-2) 18px; border: 2px solid var(--navy); border-radius: 999px; background: var(--gray-100); }
.thermo__track::before { content: ""; position: absolute; z-index: 1; left: -20px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border: 2px solid var(--navy); border-radius: 50%; background: var(--navy); }
.thermo__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; display: flex; overflow: hidden; border-radius: 999px; }
.thermo__seg { flex: 1 1 0; min-width: 0; }
.thermo__seg--dem { background: #1D4FBF; }
.thermo__seg--ind { background: #9B78D3; }
.thermo__seg--rep { background: #D6202E; }
.thermo__seg--none { background: var(--gray-500); }
.thermo__key { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-5); margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--gray-700); }
.thermo__key li { display: inline-flex; align-items: center; gap: var(--space-2); }
.thermo__key b { color: var(--navy); font-variant-numeric: tabular-nums; }
.thermo__sw { width: 12px; height: 12px; border-radius: 50%; flex: none; }
/* Stretch goal: the tube runs to the stretch total; the stretch stretch of it is hatched, and a navy marker stands at the goal */
.thermo__stretch { position: absolute; top: 0; right: 0; bottom: 0; left: 100%; border-radius: 0 999px 999px 0; background: repeating-linear-gradient(-45deg, var(--gray-100) 0 6px, var(--gray-200) 6px 12px); }
.thermo__goal { position: absolute; z-index: 1; top: -8px; bottom: -8px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--navy); }
.thermo__scale { position: relative; height: 18px; margin: 0 0 0 18px; font-size: 13px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; line-height: 18px; color: var(--navy); font-variant-numeric: tabular-nums; }
.thermo__mark { position: absolute; top: 0; white-space: nowrap; transform: translateX(-50%); }
.thermo__mark--stretch { right: 0; transform: none; color: var(--gray-700); }
.thermo__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-5); }
.thermo__meta { margin: 0; font-size: 15px; color: var(--gray-700); }
.thermo__link { font-size: 15px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; color: var(--navy); text-underline-offset: 4px; }
@media (max-width: 600px) { .thermo { padding: var(--space-4); } }
/* Desktop: the copy and the thermometer sit side by side under the title */
@media (min-width: 1000px) {
  .hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: var(--space-7); row-gap: var(--space-5); align-items: center; }
  .hero-h { grid-column: 1 / -1; }
  .hero-line { font-size: 18px; }
}
@media (max-width: 720px) { .hero-in { padding-block: var(--space-6) var(--space-7); gap: var(--space-5); } .hero-lead { font-size: 20px; line-height: 1.2; padding-left: var(--space-3); } .hero-line { font-size: 16px; } .hero-cta .rv-btn { width: 100%; } }

/* Why insurance */
.case { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.case__text .h2 { margin-top: var(--space-3); max-width: 12em; text-wrap: balance; }
.case__stats { display: grid; gap: var(--space-5); }
.cs { padding-top: var(--space-4); border-top: 2px solid var(--gray-200); }
.cs--key { border-top-color: var(--red); }
.cs__v { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(52px, 6vw, 72px); line-height: 0.9; color: var(--navy); font-variant-numeric: tabular-nums; }
.cs--key .cs__v { color: var(--red); }
.cs__l { margin: var(--space-2) 0 0; font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--content); max-width: 22em; }
.cs__go { display: inline-block; margin-top: var(--space-2); font-size: 15px; font-weight: 700; color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.cs__go:hover { color: var(--navy); }
.case__src { margin-top: var(--space-2); }
@media (max-width: 860px) { .case { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }

/* Plan */
#states .h2, #fund .h2 { margin-top: var(--space-3); }
.voices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; }
.voice { margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.voice:only-child { grid-column: 1 / -1; max-width: 48em; } /* one quote spans the row */
.voice__q { margin: 0; font-size: 24px; line-height: 1.4; color: var(--gray-500); }
.voice__q::before { content: "\201C"; display: block; font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: 0.6; color: var(--red); margin-bottom: var(--space-2); }
.voice figcaption { font-size: 15px; color: var(--gray-700); }
.voice figcaption b { display: block; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.voice__title { display: block; }
.voice__by--photo { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-4); align-content: center; }
.voice__by--photo > :not(.voice__photo) { grid-column: 2; }
.voice__photo { grid-column: 1; grid-row: 1 / span 3; align-self: center; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
@media (max-width: 860px) { .voices { grid-template-columns: minmax(0, 1fr); } }
.give .talk b { color: var(--white); }

/* ===== Progress widget: self-contained component ===== */
.rv-widget { --w-pad: 32px; position: relative; display: block; background: #FFFFFF; color: #212126; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.4; text-align: left; border-radius: 12px; border-top: 8px solid #0BADD8; overflow: hidden; color-scheme: light; }
.rv-widget * { box-sizing: border-box; }
.rv-widget p, .rv-widget dl, .rv-widget dd, .rv-widget h2 { margin: 0; }
.rv-widget .rvw-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px var(--w-pad); border-bottom: 1px solid #DCE0EC; }
.rv-widget .rvw-title { font-size: 14px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: #040449; }
.rv-widget .rvw-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: #040449; }
.rv-widget .rvw-dot { width: 8px; height: 8px; border-radius: 50%; background: #0BADD8; flex: none; }
.rv-widget .rvw-time { margin-left: auto; font-size: 14px; color: #4A4A58; font-variant-numeric: tabular-nums; }
.rv-widget .rvw-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 48px; align-items: end; padding: 24px var(--w-pad) 20px; }
.rv-widget .rvw-num { font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 700; font-size: clamp(64px, 8vw, 104px); line-height: 0.84; color: #040449; font-variant-numeric: tabular-nums; }
.rv-widget .rvw-of { margin-top: 10px; font-size: 16px; color: #4A4A58; font-variant-numeric: tabular-nums; }
.rv-widget .rvw-of span { font-weight: 400; letter-spacing: 0; text-transform: none; color: #4A4A58; font-size: 15px; }
.rv-widget .rvw-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 4px var(--w-pad) 0; }
.rv-widget .rvw-tabs { display: inline-grid; grid-template-columns: repeat(3, auto); gap: 3px; padding: 3px; border: 1.5px solid #040449; border-radius: 999px; }
.rv-widget .rvw-tab { appearance: none; border: 0; background: transparent; color: #040449; font: 900 13px/1 Roboto, Arial, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; padding: 9px 18px; border-radius: 999px; cursor: pointer; min-height: 36px; }
.rv-widget .rvw-tab[aria-selected="true"] { background: #040449; color: #FFFFFF; }
.rv-widget .rvw-tab:focus-visible { outline: 2px solid #040449; outline-offset: 3px; }
.rv-widget .rvw-panel { padding: 16px var(--w-pad) 20px; }
.rv-widget .rvw-panel[hidden] { display: none; }
.rv-widget svg { display: block; overflow: visible; }
.rv-widget .chart-text { paint-order: stroke; stroke: #FFFFFF; stroke-width: 4px; stroke-linejoin: round; }
.rv-widget .rvw-parties { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rv-widget .rvw-party { appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 16px 6px 12px; border: 1.5px solid #DCE0EC; border-radius: 999px; background: #FFFFFF; color: #040449; font: 700 15px/1 Roboto, Arial, sans-serif; cursor: pointer; }
.rv-widget .rvw-party:hover, .rv-widget .rvw-party.on { border-color: #040449; }
.rv-widget .rvw-party:focus-visible { outline: 2px solid #040449; outline-offset: 3px; }
.rv-widget .rvw-sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.rv-widget .rvw-panel { position: relative; }
.rv-widget .rvw-chart { width: 100%; min-width: 0; }
.rv-widget .rvw-mark { cursor: pointer; outline: none; transition: opacity 0.15s ease; }
.rv-widget .rvw-chart.is-focus .rvw-mark:not(.on) { opacity: 0.22; }
.rv-widget .rvw-mark:focus-visible .rvw-fill { stroke: #040449; stroke-width: 3; }
.rv-widget .rvw-tip { position: absolute; z-index: 2; pointer-events: none; min-width: 150px; padding: 10px 14px 12px; border-radius: 8px; background: #040449; color: #FFFFFF; }
.rv-widget .rvw-tip-name { display: flex; align-items: center; gap: 8px; font: 900 12px/1.2 Roboto, Arial, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #D7F7FF; }
.rv-widget .rvw-tip .rvw-sw { border: 1.5px solid #FFFFFF; }
.rv-widget .rvw-tip-val { margin-top: 6px; font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 700; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.rv-widget .rvw-tip-of { margin-top: 4px; font-size: 13px; color: #C6CBE4; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .rv-widget .rvw-mark { transition: none; } }
.rv-widget .rvw-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px var(--w-pad); border-top: 1px solid #DCE0EC; background: #F4F6FA; }
.rv-widget .rvw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 26px; border-radius: 999px; font: 900 17px/1 Roboto, Arial, sans-serif; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.rv-widget .rvw-btn--give { background: #F9193A; color: #FFFFFF; border: 0; }
.rv-widget .rvw-btn:focus-visible, .rv-widget .rvw-link:focus-visible { outline: 2px solid #040449; outline-offset: 3px; }
.rv-widget .rvw-link { font-size: 15px; font-weight: 700; color: #040449; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .rv-widget .rvw-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
}
@media (max-width: 600px) {
  .rv-widget { --w-pad: 16px; }
  .rv-widget .rvw-time { margin-left: 0; flex-basis: 100%; }
}

/* States */
.states-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-6); }
.st { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; padding: var(--space-5) var(--space-4) var(--space-4); background: var(--navy); color: var(--shade-blue); border-radius: var(--radius-md); border-top: var(--stroke-accent) solid var(--cyan); }
.st--yellow { border-top-color: var(--yellow); }
.st--red { border-top-color: var(--red); }
.st--stretch { background: transparent; color: var(--gray-700); border: 2px dashed var(--navy); border-top: var(--stroke-accent) solid var(--gold); }
.st--stretch .st__name { color: var(--navy); }
.st--stretch .st__punch { color: var(--navy); }
.st--stretch .st__note { color: var(--gray-700); }
.st--stretch .st__year { border-top-color: rgba(4, 4, 73, 0.2); color: var(--navy); }
.st__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 2.6vw, 36px); line-height: 0.92; text-transform: uppercase; color: var(--white); text-wrap: balance; }
.st__punch { margin: 0; font-family: var(--font-sans); font-weight: 900; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--cyan); }
.st__note { margin: 0; font-size: 15px; line-height: 1.45; color: var(--shade-blue); }
.st__year { margin: auto 0 0; padding-top: var(--space-3); border-top: 1px solid rgba(215, 247, 255, 0.24); font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; text-transform: uppercase; color: var(--gold); font-variant-numeric: tabular-nums; }
.states-cap { margin-top: var(--space-4); }
/* Rob Sand clip: a poster that opens the video on YouTube at the approval voting section */
.clip { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-6); align-items: center; margin-top: var(--space-6); padding: var(--space-6); background: var(--navy); color: var(--shade-blue); border-radius: var(--radius-md); }
.clip__h { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 38px); line-height: 0.95; text-transform: uppercase; color: var(--white); text-wrap: balance; }
.clip__p { margin: 0 0 var(--space-3); font-size: 16px; line-height: 1.5; }
.clip__link { color: var(--cyan); font-weight: 700; text-underline-offset: 3px; }
.clip__ts { display: inline-block; margin-right: var(--space-2); padding: 5px 8px; border-radius: 4px; background: var(--yellow); color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.clip__poster { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; text-decoration: none; background: radial-gradient(circle at 30% 30%, #13135C, #000); box-shadow: 10px 10px 0 var(--cyan); }
.clip__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 4, 73, 0.85), rgba(4, 4, 73, 0) 45%); pointer-events: none; }
.clip__play, .clip__cap { z-index: 1; }
.clip__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: #000; box-shadow: 10px 10px 0 var(--cyan); }
.clip__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip__play { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--red); transition: transform 0.15s; }
.clip__poster:hover .clip__play { transform: scale(1.06); }
.clip__poster:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.clip__cap { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-3); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.1; text-transform: uppercase; }
@media (max-width: 860px) { .clip { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); padding: var(--space-5); } }
@media (max-width: 600px) { .clip { padding: var(--space-4) var(--space-4) var(--space-5); } .clip__poster, .clip__frame { box-shadow: 6px 6px 0 var(--cyan); margin-right: 6px; } .clip__play { width: 60px; height: 60px; } .clip__cap { font-size: 16px; bottom: var(--space-2); left: var(--space-3); } }
@media (prefers-reduced-motion: reduce) { .clip__play { transition: none; } }
.states-funds { margin: var(--space-4) 0 0; max-width: 56em; font-size: 16px; line-height: 1.5; color: var(--gray-700); }
.states-funds b { color: var(--navy); font-weight: 700; }
.why-ballot { margin: var(--space-3) 0 0; min-width: 0; }
@media (max-width: 860px) { .why-ballot { max-width: 440px; } }

/* Fund: the full progress widget sits on a white band, so it gets a hairline edge */
#fund .rv-widget { margin-top: var(--space-6); border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
@media (max-width: 1000px) { .states-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .states-grid { grid-template-columns: minmax(0, 1fr); } }

/* Ballot */
.ballot { background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius-md); display: grid; grid-template-columns: 14px minmax(0, 1fr); overflow: hidden; }
.ballot__marks { background: var(--white); border-right: 1px solid var(--gray-200); }
.ballot__body { min-width: 0; }
.ballot__top { padding: var(--space-4) var(--space-5); display: flex; flex-direction: column; gap: 2px; }
.ballot__kicker { font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); margin: 0; }
.ballot__city { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; text-transform: uppercase; color: var(--navy); margin: 0; }
.ballot__meta { font-size: 14px; color: var(--gray-700); margin: 0; }
.ballot__contest { background: var(--navy); color: var(--white); padding: var(--space-2) var(--space-5); display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; }
.ballot__contest b { font-size: 15px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.ballot__contest span { font-size: 13px; color: var(--mist); }
.ballot__instr { background: var(--gray-100); padding: var(--space-3) var(--space-5); font-size: 15px; line-height: 1.4; font-weight: 700; color: var(--navy); margin: 0; border-bottom: 1px solid var(--gray-200); }
.ballot__list { list-style: none; margin: 0; padding: 0; }
.ballot__row { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: var(--space-4); padding: 10px var(--space-5); border-top: 1px solid var(--gray-200); position: relative; }
.ballot__row:first-child { border-top: 0; }
.ballot__row::before { content: ""; position: absolute; left: -14px; top: 50%; width: 10px; height: 5px; margin-top: -2px; background: var(--navy); }
.pill { width: 20px; height: 32px; display: block; }
.ballot__name { display: block; font-weight: 700; font-size: 18px; color: var(--navy); line-height: 1.2; }
.ballot__foot { padding: var(--space-2) var(--space-5); border-top: 2px solid var(--navy); font-size: 13px; color: var(--gray-700); }
.ballot-cap { margin-top: var(--space-3); }
/* Compact ballot (beside the cross-party case in #states) */
.ballot--compact .ballot__top { padding: var(--space-3) var(--space-4); }
.ballot--compact .ballot__kicker { font-size: 11px; }
.ballot--compact .ballot__city { font-size: 24px; }
.ballot--compact .ballot__meta { font-size: 13px; }
.ballot--compact .ballot__contest { padding: 6px var(--space-4); }
.ballot--compact .ballot__contest b { font-size: 13px; }
.ballot--compact .ballot__instr { padding: var(--space-2) var(--space-4); font-size: 14px; }
.ballot--compact .ballot__row { grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-3); padding: 6px var(--space-4); }
.ballot--compact .pill { width: 16px; height: 26px; }
.ballot--compact .ballot__name { font-size: 16px; }
.ballot--compact .ballot__foot { padding: 6px var(--space-4); font-size: 12px; }

/* Give */
.give { background: var(--navy); }
.give-in { display: flex; flex-direction: column; gap: var(--space-5); }
.give .sec-line { color: var(--shade-blue); }

/* Interest and feedback (non-donors) */
.interest-in { display: flex; flex-direction: column; gap: var(--space-5); }
#interest .h2 { margin-top: var(--space-3); }
.scale-key { margin: 0; font-size: 16px; line-height: 1.45; color: var(--gray-700); }
.form .reform { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--gray-200); }
.reform legend { float: left; width: 100%; margin-bottom: 0; }
.reform__d { margin: 0; font-size: 16px; line-height: 1.45; color: var(--content); }
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 52px)); gap: var(--space-2); }
.scale input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.scale label { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--field-border); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy); cursor: pointer; font-variant-numeric: tabular-nums; }
.scale label:hover { background: var(--gray-100); }
.scale input:checked + label { background: var(--navy); border-color: var(--navy); color: var(--white); }
.scale input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
#fb-comment { min-height: 120px; resize: vertical; line-height: 1.45; }
.form-card { color-scheme: light; background: var(--white); color: var(--content); border-radius: var(--radius-md); padding: var(--space-6); max-width: 760px; min-width: 0; }
@media (max-width: 520px) { .form-card { padding: var(--space-5) var(--space-4); } }
.form { display: flex; flex-direction: column; gap: var(--space-5); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: var(--space-2); font-size: 14px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--navy); }
.rv-field { min-width: 0; }
.rv-field__input { width: 100%; background: var(--white); }
select.rv-field__input { appearance: auto; }
.rv-field__label .opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--gray-700); }
.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 2px solid var(--navy); border-radius: var(--radius-full); }
.toggle input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.toggle label { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--radius-full); font-size: 16px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); cursor: pointer; text-align: center; line-height: 1.1; padding: 0 var(--space-3); }
.toggle input:checked + label { background: var(--navy); color: var(--white); }
.toggle input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 3px; }
.mode-note { margin: var(--space-2) 0 0; font-size: 15px; color: var(--gray-700); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.chips label { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--field-border); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--navy); cursor: pointer; font-variant-numeric: tabular-nums; }
.chips input:checked + label { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chips input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.other { margin-top: var(--space-3); }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--gray-700); }
.money .rv-field__input { padding-left: 30px; font-variant-numeric: tabular-nums; }
.err { margin: var(--space-2) 0 0; font-size: 16px; font-weight: 700; color: var(--navy); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
@media (max-width: 520px) { .choices { grid-template-columns: minmax(0, 1fr); } .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { display: flex; align-items: center; gap: var(--space-3); min-height: 48px; padding: var(--space-2) var(--space-3); border: 1px solid var(--field-border); border-radius: var(--radius-sm); font-size: 17px; line-height: 1.25; color: var(--content); cursor: pointer; }
.choice input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--navy); outline: 1px solid var(--navy); outline-offset: -2px; background: var(--gray-100); }
.choice input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.privacy { margin: var(--space-2) 0 0; font-size: 15px; color: var(--gray-700); }
.feature-opt { margin-top: var(--space-3); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); }
.row-ez { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-4); }
@media (max-width: 520px) { .row2, .row-ez { grid-template-columns: minmax(0, 1fr); } }
.pledge-box { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-4); background: var(--gray-100); border-radius: var(--radius-md); }
[hidden] { display: none !important; }
.submit-row { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; padding-top: var(--space-5); border-top: 1px solid var(--gray-200); }
.fine { margin: 0; font-size: 14px; line-height: 1.45; color: var(--gray-700); }

.confirm { display: flex; flex-direction: column; gap: var(--space-4); }
.confirm:focus { outline: none; }
.confirm .rv-display { font-size: 44px; }
.confirm p { margin: 0; }
.confirm__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.confirm__list li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--gray-200); font-size: 17px; }
.confirm__list b { font-size: 13px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); padding-top: 3px; }
@media (max-width: 520px) { .confirm__list li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.textbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 17px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; align-self: flex-start; }

/* How we count */
.count summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; text-transform: uppercase; color: var(--navy); }
.count summary::-webkit-details-marker { display: none; }
.count summary::before { content: "+"; width: 20px; }
.count[open] summary::before { content: "\2212"; }
.count dl { margin: var(--space-5) 0 0; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); max-width: 860px; border-top: 2px solid var(--navy); }
.count dt, .count dd { margin: 0; padding-block: var(--space-3); border-bottom: 1px solid var(--gray-200); font-size: 17px; line-height: 1.45; }
.count dt { font-weight: 700; color: var(--navy); padding-right: var(--space-4); }
.count dd { color: var(--gray-700); font-variant-numeric: tabular-nums; }
.count__lead { margin: var(--space-5) 0 0; max-width: 860px; font-size: 20px; line-height: 1.45; font-weight: 700; color: var(--navy); }
.count__lead + dl { margin-top: var(--space-4); }
.count dd a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.count dd a:hover { color: var(--red); }
.count address { margin-top: var(--space-2); font-style: normal; color: var(--navy); }
@media (max-width: 600px) { .count dl { grid-template-columns: minmax(0, 1fr); } .count dt { border-bottom: 0; padding-bottom: 0; } }

/* Footer */
.foot { background: var(--navy); }
.foot-inner { padding-block: var(--space-7); display: flex; flex-direction: column; gap: var(--space-5); }
.foot-inner img { height: 20px; width: auto; display: block; align-self: flex-start; }
.foot-name { margin: 0; font-size: 16px; font-weight: 700; color: var(--white); }
.paid { margin: 0; padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; line-height: 1.45; color: var(--shade-blue); max-width: 46em; }
.paid b { display: block; font-size: 12px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: var(--space-1); }

/* Party swatches (replace inline styles; CSP forbids style attributes) */
.rv-widget .rvw-sw--dem { background: #1D4FBF; }
.rv-widget .rvw-sw--ind { background: #9B78D3; }
.rv-widget .rvw-sw--rep { background: #D6202E; }

/* Submit states and error slots */
.rv-btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.err[role="alert"] { margin-top: 0; }
