:root {
  --ink: #14211d;
  --muted: #596763;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #d7ddd8;
  --green: #1f6b4d;
  --green-dark: #173f31;
  --blue: #214e75;
  --amber: #c9812b;
  --amber-soft: #fff0d8;
  --red: #b54034;
  --red-dark: #772820;
  --red-soft: #fff0ee;
  --shadow: 0 20px 55px rgba(20, 33, 29, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

p {
  color: var(--muted);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(216, 222, 216, 0.82);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

nav a {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

nav a:hover {
  background: #edf2ee;
  color: var(--ink);
}

.deadline-banner {
  position: fixed;
  top: 68px;
  right: 0;
  left: 0;
  z-index: 19;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 32px;
  border-bottom: 1px solid rgba(181, 64, 52, 0.26);
  background: linear-gradient(90deg, #fff5f2, #fff9f2);
  box-shadow: 0 12px 24px rgba(181, 64, 52, 0.13);
  transform: translateY(calc(-100% - 70px));
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.deadline-banner.is-visible,
.proxy-body .deadline-banner {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.deadline-banner > div {
  display: block;
}

.deadline-banner .countdown-label {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deadline-banner strong {
  display: flex;
  gap: 5px;
}

.deadline-banner span:last-child {
  color: #5f4b45;
  font-weight: 800;
}

.deadline-banner .button {
  min-height: 42px;
  padding: 10px 15px;
  white-space: nowrap;
}

.hero,
.action-strip,
.accountability-section,
.promise-band,
.timeline-section,
.faq-section,
.split-section,
.story-section,
.vote-section {
  padding: 74px 6vw;
}

#about,
#accountability,
#plan {
  scroll-margin-top: 88px;
}

#vote {
  scroll-margin-top: 64px;
}

.candidate-hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 68px);
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.94) 0%, rgba(251, 250, 246, 0.86) 45%, rgba(251, 250, 246, 0.74) 100%),
    url("assets/home_closing_compressed.jpg") center 42% / cover no-repeat;
}

.candidate-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42vw;
  height: 42vw;
  border-radius: 50% 0 0;
  background: rgba(31, 107, 77, 0.09);
  content: "";
  pointer-events: none;
}

.candidate-card {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.candidate-photo,
.flyer-photo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, var(--green-dark), var(--blue));
  background-position: center top;
  background-size: cover;
  color: var(--white);
  font-weight: 950;
  letter-spacing: 0;
}

.candidate-photo {
  aspect-ratio: 1 / 1;
  font-size: clamp(4rem, 9vw, 8rem);
}

.candidate-photo.has-photo {
  background-color: #f8f4ec;
  background-repeat: no-repeat;
  background-size: contain;
}

.candidate-photo.has-photo span,
.flyer-photo.has-photo span {
  display: none;
}

.candidate-card figcaption {
  display: grid;
  gap: 5px;
  padding: 22px;
}

.candidate-card strong {
  font-size: 1.45rem;
  line-height: 1.1;
}

.candidate-card span {
  color: var(--muted);
  font-weight: 700;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-section h2,
.vote-section h2,
.action-strip h2,
.flyer-hero h1,
.flyer-action h2 {
  margin: 0;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3.1rem, 7.3vw, 7rem);
}

.lede {
  max-width: 760px;
  margin: 26px 0 0;
  color: #33413d;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  text-decoration: none;
}

.button svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(181, 64, 52, 0.25);
}

.button.urgent {
  background: var(--amber-soft);
  color: #6e3e08;
  border-color: #efc27b;
}

.button.light {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--line);
}

.combined-cta {
  display: inline-grid;
  gap: 12px;
  min-width: min(100%, 430px);
  padding: 18px;
  border: 2px solid #efc27b;
  border-radius: 8px;
  background: var(--amber-soft);
  color: #6e3e08;
  box-shadow: 0 18px 34px rgba(201, 129, 43, 0.22);
  text-decoration: none;
}

.combined-cta > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.combined-cta svg {
  width: 20px;
  height: 20px;
}

.combined-cta strong {
  display: flex;
  gap: 6px;
}

.combined-cta .timer-unit {
  min-width: 58px;
  background: rgba(255, 255, 255, 0.96);
  color: #8a4c0a;
  box-shadow: inset 0 0 0 1px rgba(201, 129, 43, 0.28);
}

.combined-cta .timer-unit em {
  color: #805315;
}

.final-cta {
  margin-top: 24px;
}

.deadline-countdown {
  display: inline-grid;
  min-width: min(100%, 280px);
  gap: 4px;
  padding: 11px 14px;
  border: 2px solid #d34a3d;
  border-radius: 8px;
  background: #fff5f2;
  color: var(--ink);
  box-shadow: 0 14px 26px rgba(181, 64, 52, 0.16);
}

.deadline-countdown .countdown-label {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deadline-countdown strong {
  display: flex;
  gap: 5px;
}

.deadline-countdown span:last-child {
  color: #5f4b45;
  font-size: 0.88rem;
  font-weight: 800;
}

.deadline-countdown.compact {
  min-width: 260px;
  background: var(--white);
}

.deadline-countdown.vote-countdown,
.deadline-countdown.proxy-countdown {
  display: grid;
  margin-top: 14px;
}

.deadline-countdown.is-expired {
  border-color: var(--muted);
  background: #f3f5f3;
  box-shadow: none;
}

.deadline-countdown.is-expired .countdown-label,
.deadline-countdown.is-expired strong {
  color: var(--muted);
}

.timer-unit {
  display: grid;
  min-width: 48px;
  padding: 7px 7px 6px;
  border-radius: 7px;
  background: var(--white);
  color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(181, 64, 52, 0.18);
  text-align: center;
}

.timer-unit b {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 950;
  line-height: 0.95;
}

.timer-unit em {
  margin-top: 3px;
  color: #7b4d48;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.deadline-banner .timer-unit {
  min-width: 42px;
  padding: 5px 6px;
}

.deadline-banner .timer-unit b {
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.deadline-banner .timer-unit em {
  font-size: 0.58rem;
}

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 750;
}

.action-deadline {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 12px;
}

.hero-date svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.action-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 34px;
  padding-bottom: 34px;
  background: var(--green-dark);
}

.about-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-top: 58px;
  padding-bottom: 58px;
}

.action-strip h2 {
  max-width: 840px;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.action-strip .kicker {
  color: #f0ba72;
}

.about-copy {
  max-width: 760px;
}

.about-copy p:not(.kicker) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.62;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-points article {
  display: grid;
  min-height: 220px;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.about-points svg {
  width: 26px;
  height: 26px;
  color: #f4c477;
}

.about-points strong {
  color: var(--white);
  font-size: 1.05rem;
}

.about-points span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.section-heading h2,
.split-section h2,
.vote-section h2 {
  max-width: 860px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.accountability-section {
  background: var(--white);
}

.warning-grid,
.promise-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.warning-grid {
  align-items: stretch;
}

.warning-card,
.promise-grid article,
.faq-grid article,
.callout,
.qr-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.warning-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 360px;
  padding: 24px 24px 76px;
  border-color: #efc5c0;
  background: linear-gradient(180deg, var(--red-soft), var(--white));
  box-shadow: 0 18px 42px rgba(119, 40, 32, 0.12);
}

.warning-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--red);
  content: "";
}

.warning-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
}

.warning-icon svg,
.promise-grid svg {
  width: 26px;
  height: 26px;
}

.warning-label {
  margin: 18px 0 5px;
  color: var(--red-dark);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.warning-card h3 {
  margin: 0 0 10px;
  color: var(--red-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.warning-card p {
  margin-bottom: 18px;
}

.warning-card > small {
  display: block;
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: var(--muted);
  font-weight: 800;
}

.money-visual {
  display: grid;
  gap: 12px;
  margin: 24px 0 12px;
}

.reserve-visual strong {
  color: var(--red-dark);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.money-stack {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px 8px;
}

.bill {
  display: grid;
  place-items: center;
  min-height: 34px;
}

.bill svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(119, 40, 32, 0.12));
}

.bill-paper {
  fill: #f4ebe7;
  stroke: #d7c9c5;
  stroke-width: 3;
}

.bill-border,
.bill-medallion,
.bill-line {
  fill: none;
  stroke: #9a7970;
  stroke-linecap: round;
  stroke-width: 3;
  opacity: 0.72;
}

.bill.is-active .bill-paper {
  fill: var(--red);
  stroke: #8b362f;
}

.bill.is-active .bill-border,
.bill.is-active .bill-medallion,
.bill.is-active .bill-line {
  stroke: rgba(255, 255, 255, 0.92);
}

.reserve-visual {
  display: grid;
  gap: 12px;
  margin: 24px 0 12px;
}

.reserve-tank {
  display: flex;
  overflow: hidden;
  min-height: 158px;
  border: 1px solid #cfb3ad;
  border-radius: 8px;
  background: #f4e5e1;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.42);
}

.reserve-funded,
.reserve-gap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: max-content;
  padding: 14px;
  color: var(--white);
  font-weight: 950;
  line-height: 1.05;
}

.reserve-funded b,
.reserve-gap b {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.reserve-funded small,
.reserve-gap small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.reserve-funded {
  background: var(--green);
}

.reserve-gap {
  flex: 1;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(119, 40, 32, 0.1) 0 8px,
      rgba(119, 40, 32, 0.2) 8px 16px
    ),
    var(--red);
}

.assessment-visual {
  display: grid;
  gap: 18px;
  margin: 24px 0 12px;
}

.assessment-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 68px;
  gap: 12px;
  align-items: center;
}

.assessment-name {
  color: var(--red-dark);
  font-size: 0.8rem;
  font-weight: 950;
}

.assessment-row strong {
  color: var(--red-dark);
  font-size: 0.86rem;
  text-align: right;
}

.assessment-track {
  position: relative;
  display: grid;
  gap: 7px;
}

.assessment-old,
.assessment-new {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: max-content;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
}

.assessment-old b,
.assessment-new b {
  position: relative;
  z-index: 1;
}

.assessment-old {
  background: #dfd1cc;
  color: #67463e;
}

.assessment-new {
  background: var(--amber);
  color: #fffaf0;
  box-shadow: 0 9px 16px rgba(201, 129, 43, 0.2);
}

.assessment-new.jump {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.16) 0 9px,
      rgba(255, 255, 255, 0) 9px 18px
    ),
    var(--red);
}

.promise-band {
  background: #eef4ef;
}

.promise-grid article,
.faq-grid article {
  padding: 24px;
  box-shadow: none;
}

.promise-grid svg {
  color: var(--green);
}

h3 {
  margin: 14px 0 8px;
  font-size: 1.08rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.story-section {
  background: var(--white);
}

.story-copy {
  max-width: 980px;
}

.story-copy h2 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
}

.story-copy p:not(.kicker) {
  max-width: 820px;
  font-size: 1.08rem;
}

.split-section p,
.vote-section p {
  max-width: 780px;
  font-size: 1.05rem;
}

.callout {
  padding: 28px;
  border-left: 8px solid var(--amber);
  box-shadow: var(--shadow);
}

.callout-title {
  margin-top: 0;
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

.timeline-section {
  background: var(--green-dark);
  color: var(--white);
}

.timeline-section .section-heading h2,
.timeline-section .section-heading p {
  color: var(--white);
}

.timeline-section .kicker {
  color: #f0ba72;
}

.timeline {
  display: grid;
  gap: 0;
  max-width: 1050px;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f0ba72;
  font-weight: 950;
}

.timeline span svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 8px;
  background: rgba(240, 186, 114, 0.14);
  color: #f8d5a2;
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.faq-section {
  background: #f4f0e8;
}

.vote-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: center;
}

.qr-panel {
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.qr-panel img {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 12px;
  border: 1px solid var(--line);
}

.qr-panel p {
  margin: 10px 0 6px;
  color: var(--red);
  font-weight: 950;
}

.qr-panel a {
  display: block;
  overflow-wrap: anywhere;
  color: var(--blue);
  font-weight: 800;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 6vw 38px;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

footer p,
footer a {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.flyer-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: #dbe3dd;
}

.flyer-page {
  width: 8.5in;
  min-height: 11in;
  padding: 0.34in;
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.flyer-candidate-hero {
  display: grid;
  min-height: 2.16in;
  grid-template-columns: 1.5in minmax(0, 1fr);
  gap: 0.24in;
  align-items: center;
  padding: 0.26in;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(20, 33, 29, 0.9), rgba(20, 33, 29, 0.58)),
    url("assets/2024_11_25_06_47_08_2024_11_25_01_46_44_516_462d45b9-45a3-4e5c-8f00-1c993d923832.webp") center 54% / cover no-repeat;
  color: var(--white);
}

.flyer-photo {
  width: 1.5in;
  height: 1.7in;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  font-size: 38px;
}

.flyer-hero .kicker {
  color: #f0ba72;
}

.flyer-hero h1 {
  max-width: 5.6in;
  color: var(--white);
  font-size: 48px;
}

.flyer-subhead {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1.22;
}

.flyer-register {
  display: inline-block;
  margin: 12px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: #6e3e08;
  font-size: 15px;
  font-weight: 950;
}

.flyer-action {
  display: grid;
  gap: 6px;
  padding: 0.14in 0 0.11in;
}

.flyer-about {
  padding: 0.15in 0 0.1in;
}

.flyer-about > div:first-child {
  padding: 15px;
  border-radius: 8px;
  background: var(--green-dark);
}

.flyer-about .kicker {
  margin-bottom: 7px;
  color: #f0ba72;
}

.flyer-about h2 {
  margin: 0;
  color: var(--white);
  font-size: 25px;
  font-weight: 950;
  line-height: 1.08;
}

.flyer-about p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.6px;
  font-weight: 720;
  line-height: 1.28;
}

.flyer-action h2 {
  max-width: 7.1in;
  font-size: 30px;
}

.flyer-action p {
  margin: 0;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.27;
}

.flyer-action strong {
  color: var(--green-dark);
  font-weight: 950;
}

.flyer-problem-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 0.13in;
}

.flyer-problem-strip article {
  min-height: 1.18in;
  padding: 11px;
  border: 1px solid #efc5c0;
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: var(--red-soft);
}

.flyer-problem-strip svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.flyer-problem-strip span {
  display: block;
  margin-top: 6px;
  color: var(--red-dark);
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
}

.flyer-problem-strip p {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 11.2px;
  font-weight: 750;
  line-height: 1.28;
}

.flyer-promises {
  padding: 0.11in 0 0.07in;
  border-top: 4px solid var(--green);
  border-bottom: 1px solid var(--line);
}

.flyer-promises h2,
.flyer-vote h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.1;
}

.flyer-promises p {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 7px 0;
  color: var(--ink);
  font-size: 13.6px;
  font-weight: 760;
  line-height: 1.28;
}

.flyer-promises strong {
  color: var(--green-dark);
  font-weight: 950;
}

.flyer-promises svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.flyer-vote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.08in;
  gap: 16px;
  align-items: center;
  margin-top: 0.13in;
  padding: 0.14in;
  border-radius: 8px;
  background: #eef4ef;
}

.flyer-vote p {
  margin: 6px 0;
  color: var(--ink);
  font-size: 14.4px;
  line-height: 1.3;
}

.flyer-qr {
  text-align: center;
}

.flyer-qr img {
  width: 1.55in;
  height: 1.55in;
  border: 1px solid var(--line);
  background: var(--white);
}

.flyer-qr p {
  margin: 6px 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
}

.flyer-footer {
  display: block;
  padding: 9px 0 0;
  border-top: 0;
  background: transparent;
}

.flyer-footer p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 9.8px;
}

.proxy-body {
  background: #eef4ef;
}

.proxy-shell {
  padding: 58px 6vw 80px;
}

.proxy-intro {
  max-width: none;
  margin-bottom: 30px;
}

.proxy-intro h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.6rem, 5.8vw, 5.8rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
}

.proxy-intro p {
  max-width: 760px;
  font-size: 1.08rem;
}

.proxy-registration-alert {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  width: fit-content;
  max-width: calc(100vw - 12vw);
  margin-top: 18px;
  padding: 13px 16px 13px 14px;
  border: 2px solid #2f7d5c;
  border-left-width: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, #e8f4ed, #f7fbf5);
  color: var(--green-dark);
  box-shadow: 0 16px 34px rgba(31, 107, 77, 0.16);
}

.proxy-registration-alert svg {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: var(--green);
}

.proxy-registration-alert p {
  min-width: 0;
  max-width: none;
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  font-weight: 850;
  line-height: 1.35;
  white-space: nowrap;
}

.proxy-registration-alert strong {
  color: var(--green);
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: #7fbf9e;
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

.proxy-intro a,
.workflow-note a {
  color: var(--blue);
  font-weight: 850;
}

.proxy-workflow {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(460px, 1fr);
  gap: 28px;
  align-items: start;
}

.proxy-panel,
.official-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.proxy-panel {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.form-block {
  display: grid;
  gap: 8px;
}

.form-block.is-disabled label {
  color: #7b8783;
}

.form-label,
.proxy-panel label {
  color: var(--ink);
  font-weight: 900;
}

.required-mark {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(181, 64, 52, 0.35);
  border-radius: 999px;
  background: #fff0ee;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.choice-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.choice-card input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--red);
}

.choice-card span {
  color: var(--muted);
  font-weight: 650;
}

.choice-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.proxy-panel input[type="text"],
.proxy-panel textarea {
  width: 100%;
  border: 1px solid #cbd4ce;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.proxy-panel input:disabled {
  border-color: #d5ddd8;
  background: #edf2ef;
  color: #7b8783;
  cursor: not-allowed;
  opacity: 1;
}

.proxy-panel input[aria-invalid="true"] {
  border-color: var(--red);
  background: #fff8f6;
  box-shadow: 0 0 0 3px rgba(181, 64, 52, 0.12);
}

.proxy-panel textarea {
  resize: vertical;
}

.field-help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.field-error {
  margin: 0;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 800;
}

.address-suggestions {
  position: relative;
  z-index: 6;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid #b8c8bf;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(15, 36, 29, 0.14);
}

.address-suggestions button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #edf2ef;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.address-suggestions button:last-child {
  border-bottom: 0;
}

.address-suggestions button:hover,
.address-suggestions button:focus {
  background: var(--green-soft);
  outline: none;
}

.date-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 10px;
}

.date-grid label {
  display: block;
  margin-bottom: 8px;
}

.proxy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.proxy-actions .button {
  width: 100%;
  font-size: 0.92rem;
  cursor: pointer;
}

.proxy-actions button {
  font-family: inherit;
}

.save-status,
.workflow-note {
  margin: 0;
  font-size: 0.92rem;
}

.save-status {
  color: var(--muted);
  font-weight: 750;
}

.save-status.is-error {
  padding: 10px 12px;
  border: 1px solid rgba(181, 64, 52, 0.36);
  border-radius: 8px;
  background: #fff0ee;
  color: var(--red-dark);
}

.workflow-note {
  padding: 12px;
  border: 1px solid #b8c8bf;
  border-radius: 8px;
  background: #eef4ef;
  color: #40534c;
}

.official-preview {
  padding: 18px;
}

.proxy-summary {
  margin-bottom: 12px;
  color: var(--ink);
}

.official-page {
  width: min(100%, 612px);
  aspect-ratio: 612 / 792;
  margin: 0 auto;
  border: 1px solid #cfd6d1;
  background: var(--white);
}

.original-proxy {
  position: relative;
  overflow: hidden;
}

.original-proxy img {
  display: block;
  width: 100%;
  height: 100%;
}

.official-check,
.official-fill {
  position: absolute;
  z-index: 2;
  color: #001f17;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: pre-wrap;
}

.official-check {
  font-size: 13px;
}

.official-fill {
  overflow: hidden;
  font-size: 11px;
}

.fill-signature {
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: 16px;
  font-weight: 500;
}

.check-one {
  left: 10.8%;
  top: 30.9%;
  width: 2.8%;
}

.check-two {
  left: 10.8%;
  top: 41.5%;
  width: 2.8%;
}

.fill-proxy {
  left: 31.4%;
  top: 36.2%;
  width: 29.6%;
  height: 2.2%;
}

.fill-day {
  left: 39.3%;
  top: 47.8%;
  width: 7.0%;
}

.fill-month {
  left: 52.5%;
  top: 47.8%;
  width: 17.5%;
}

.fill-year {
  left: 71.2%;
  top: 47.8%;
  width: 6.2%;
}

.fill-property {
  left: 11.8%;
  top: 52.1%;
  width: 76.5%;
  height: 2.5%;
}

.fill-signature {
  left: 11.8%;
  top: 58.5%;
  width: 35.3%;
  height: 3.4%;
}

.fill-printed {
  left: 53.0%;
  top: 59.0%;
  width: 35.3%;
  height: 2.6%;
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .deadline-banner {
    position: fixed;
    top: 0;
    align-items: stretch;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
  }

  .deadline-banner > div {
    min-width: 0;
  }

  .deadline-banner strong,
  .deadline-countdown strong {
    gap: 4px;
  }

  .deadline-banner .button {
    flex: 0 0 auto;
    padding-inline: 12px;
  }

  .deadline-banner .button svg {
    display: none;
  }

  .deadline-banner .timer-unit {
    min-width: 36px;
  }

  .deadline-banner .timer-unit b {
    font-size: 1rem;
  }

  .combined-cta {
    width: 100%;
  }

  .combined-cta strong {
    gap: 4px;
  }

  .combined-cta .timer-unit {
    min-width: 46px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .candidate-hero,
  .split-section,
  .story-section,
  .vote-section,
  .proxy-workflow {
    grid-template-columns: 1fr;
  }

  .candidate-hero {
    min-height: auto;
    padding: 42px 20px 56px;
  }

  .candidate-hero .hero-content {
    order: 1;
  }

  .candidate-card {
    order: 2;
    max-width: 420px;
  }

  .candidate-photo {
    aspect-ratio: 1 / 1;
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }

  .hero,
  .action-strip,
  .accountability-section,
  .promise-band,
    .timeline-section,
    .faq-section,
    .split-section,
    .story-section,
    .vote-section {
      padding-left: 20px;
      padding-right: 20px;
  }

  .action-strip {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .action-deadline {
    justify-content: flex-start;
    width: 100%;
  }

  .deadline-countdown {
    width: 100%;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-points article {
    min-height: auto;
  }

  .warning-grid,
  .promise-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  footer {
    padding: 22px 20px 34px;
  }

  .proxy-shell {
    padding: 42px 20px 64px;
  }

  .proxy-registration-alert {
    width: 100%;
    max-width: 100%;
    padding: 12px 13px 12px 12px;
  }

  .proxy-registration-alert p {
    white-space: normal;
  }

  .proxy-registration-alert svg {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }

  .proxy-panel {
    position: static;
  }

  .proxy-actions {
    grid-template-columns: 1fr;
  }

  .date-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: letter;
    margin: 0;
  }

  body.flyer-body {
    display: block;
    background: var(--paper);
  }

  .flyer-page {
    width: 8.5in;
    height: 11in;
    min-height: 0;
    padding: 0.24in 0.3in;
    box-shadow: none;
  }

  .flyer-candidate-hero {
    min-height: 1.72in;
    grid-template-columns: 1.25in minmax(0, 1fr);
    gap: 0.2in;
    padding: 0.2in;
  }

  .flyer-photo {
    width: 1.25in;
    height: 1.42in;
  }

  .flyer-hero h1 {
    font-size: 39px;
  }

  .flyer-subhead {
    margin-top: 7px;
    font-size: 16px;
  }

  .flyer-register {
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .flyer-about {
    padding: 0.08in 0 0.07in;
  }

  .flyer-about > div:first-child {
    padding: 11px;
  }

  .flyer-about .kicker {
    margin-bottom: 5px;
    font-size: 0.78rem;
  }

  .flyer-about h2 {
    font-size: 21px;
  }

  .flyer-about p {
    margin-top: 6px;
    font-size: 10.8px;
    line-height: 1.18;
  }

  .flyer-action {
    gap: 4px;
    padding: 0.08in 0 0.08in;
  }

  .flyer-action h2 {
    font-size: 24px;
  }

  .flyer-action p {
    font-size: 12.2px;
    line-height: 1.2;
  }

  .flyer-problem-strip article {
    min-height: 0.98in;
    padding: 9px;
  }

  .flyer-problem-strip span {
    font-size: 23px;
  }

  .flyer-problem-strip p {
    font-size: 10.4px;
  }

  .flyer-promises {
    padding-top: 0.09in;
  }

  .flyer-promises h2,
  .flyer-vote h2 {
    font-size: 23px;
  }

  .flyer-promises p {
    margin: 6px 0;
    font-size: 12.2px;
  }

  .flyer-vote {
    grid-template-columns: minmax(0, 1fr) 1.72in;
    margin-top: 0.09in;
    padding: 0.11in;
  }

  .flyer-vote p {
    font-size: 12.6px;
  }

  .flyer-qr img {
    width: 1.36in;
    height: 1.36in;
  }

  .flyer-footer {
    padding-top: 7px;
  }

  .flyer-footer p {
    margin: 3px 0;
    font-size: 8.6px;
  }

  body.proxy-body {
    background: var(--white);
  }

  body.proxy-body .topbar,
  body.proxy-body .deadline-banner,
  body.proxy-body .proxy-intro,
  body.proxy-body .proxy-panel,
  body.proxy-body .proxy-summary {
    display: none !important;
  }

  body.proxy-body .proxy-shell {
    padding: 0;
  }

  body.proxy-body .proxy-workflow {
    display: block;
  }

  body.proxy-body .official-preview {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  body.proxy-body .official-page {
    width: 8.5in;
    height: 11in;
    border: 0;
  }

  body.proxy-body .official-check {
    font-size: 15px;
  }

  body.proxy-body .official-fill {
    font-size: 12px;
  }

  body.proxy-body .fill-signature {
    font-size: 18px;
  }
}
