:root {
  color-scheme: light;
  --paper: #f7f4ec;
  --ink: #1f211e;
  --muted: #55554d;
  --blue: #1835cf;
  --blue-deep: #11289a;
  --pale-blue: #e7ebfa;
  --rule: #d5d3c6;
  --red: #b6332b;
  --font-display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--font-body); }
p, ul, h1, h2, h3, h4 { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
address { font-style: normal; }
.shell { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.skip { position: absolute; top: .75rem; left: .75rem; z-index: 3; transform: translateY(calc(-100% - 1rem)); padding: .65rem 1rem; background: white; }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { color: var(--blue); display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-size: 1rem; font-weight: 900; line-height: 1; letter-spacing: -.045em; text-decoration: none; }
.brand img { object-fit: contain; }
.header-logo { position: relative; display: block; flex: none; width: 2.3rem; aspect-ratio: 1; overflow: hidden; border-radius: 22%; }
.header-logo img { position: absolute; width: 121.3%; max-width: none; height: auto; top: -18.1%; left: -9.6%; }
.brand-sub { display: block; margin-top: .15rem; }
.top-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.45rem); }
.top-nav a { font-size: .92rem; font-weight: 700; text-decoration: none; }
.top-nav a:hover { color: var(--blue); text-decoration: underline; }
.top-nav .nav-cta, .menu-toggle { display: inline-flex; align-items: center; min-height: 2.65rem; padding: .4rem 1.05rem; border: 1px solid var(--blue); background: transparent; color: var(--blue); font-weight: 700; }
.top-nav .nav-cta:hover, .menu-toggle:hover { background: var(--blue); color: white; text-decoration: none; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2.4rem, 5vw, 4.3rem) clamp(2rem, 6.5vw, 6.25rem); padding-top: clamp(3.1rem, 6vw, 5.2rem); }
.eyebrow { color: var(--blue); font: 700 .82rem/1.4 var(--font-body); letter-spacing: .11em; text-transform: uppercase; }
.election-label { display: flex; gap: .75rem; align-items: center; margin-bottom: 1.3rem; }
.flag { width: 2.25rem; height: auto; flex: none; outline: 1px solid #0002; }
.hero h1 { margin-left: -.06em; color: var(--blue); font: 900 clamp(5rem, 9.25vw, 8.45rem)/.86 var(--font-display); letter-spacing: -.091em; }
.hero h1 span { color: var(--red); }
.intro { max-width: 30rem; margin-top: 1.6rem; font-size: clamp(1.02rem, 1.55vw, 1.21rem); line-height: 1.47; }
.actions, .inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.actions { margin-top: 1.7rem; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--blue); padding: .65rem 1.12rem; background: var(--blue); color: #fff; font-weight: 700; text-align: center; text-decoration: none; transition: color .16s ease, background .16s ease; }
.button:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.button-outline { color: var(--blue); background: transparent; }
.button-outline:hover { color: white; }
.text-link { font-weight: 700; color: var(--blue); }
.text-link:hover { color: var(--blue-deep); }


.dates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-block: 1px solid var(--blue); color: var(--blue); }
.early-date { display: grid; grid-column: 1 / -1; gap: .2rem; padding: .8rem clamp(.65rem, 2vw, 1.45rem) .85rem; border-bottom: 1px solid var(--blue); background: var(--pale-blue); }
.early-date strong { font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.3; }
.date-cell { display: flex; flex-direction: column; justify-content: start; min-width: 0; padding: 1.05rem clamp(.65rem, 2vw, 1.45rem) 1.16rem; border-bottom: 1px solid var(--blue); }
.date-cell + .date-cell { border-left: 1px solid var(--blue); }
.deadline { background: var(--blue); color: white; }
.date-caption { font-size: .81rem; line-height: 1.35; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.date-cell strong { font-family: var(--font-display); font-size: clamp(1.25rem, 2.7vw, 2.4rem); font-weight: 900; line-height: 1.16; letter-spacing: -.07em; margin: .24rem 0; }
.date-note { font-size: .88rem; font-weight: 500; }
.dates-source { grid-column: 1 / -1; justify-self: end; margin-inline: 1rem 1.3rem; padding-block: .52rem; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.dates-source span, .file-type { display: inline-block; font: 700 .76rem/1.25 monospace; padding: .25rem .35rem; background: var(--pale-blue); color: var(--blue); }
.dates-source span { margin-left: .28rem; }

.walkthrough { padding-block: 4.8rem 5.15rem; }
.section-head { display: grid; grid-template-columns: 1fr minmax(13rem, 24rem); align-items: end; gap: 1.25rem 3rem; margin-bottom: 1.85rem; }
.section-head > p { font-size: 1.05rem; color: var(--muted); max-width: 23rem; padding-bottom: .15rem; }
h2 { margin-top: .38rem; font: 900 clamp(2.55rem, 5.2vw, 4.6rem)/.98 var(--font-display); letter-spacing: -.076em; }
.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #b6c0f0; margin-bottom: 1.85rem; padding-bottom: 1.65rem; background: var(--pale-blue); }
.roadmap::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; bottom: 1.02rem; border-top: 1px dashed #1835cf7a; }
.roadmap a { color: var(--blue); display: flex; justify-content: center; align-items: center; gap: .66rem; min-height: 4rem; padding: .55rem; font-weight: 700; text-align: center; text-decoration: none; }
.roadmap a + a { border-left: 1px solid #b6c0f0; }
.roadmap a:hover, .roadmap a[aria-current="step"] { background: var(--blue); color: white; }
.step-number { font: 700 .79rem/1 monospace; }
.roadmap::after { content: ""; z-index: 1; pointer-events: none; position: absolute; bottom: .13rem; left: 12.5%; width: 39px; height: 28px; transform: translateX(-50%); border-radius: 15%; background: var(--pale-blue) url("crown.webp") center / contain no-repeat; transition: left .35s cubic-bezier(.2,.75,.27,1); }
.roadmap:has(a:nth-child(2)[aria-current])::after { left: 37.5%; }
.roadmap:has(a:nth-child(3)[aria-current])::after { left: 62.5%; }
.roadmap:has(a:nth-child(4)[aria-current])::after { left: 87.5%; }

.steps { border-top: 1px solid var(--rule); }
.step { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 2.15rem 1.1rem 2.25rem 0; border-bottom: 1px solid var(--rule); }
.step-index { font: 900 2rem/1.25 var(--font-display); color: var(--blue); letter-spacing: -.055em; }
.step h3 { font: 900 clamp(1.65rem, 3.35vw, 2.65rem)/1.09 var(--font-display); letter-spacing: -.055em; }
.step-body > p { margin-top: .8rem; max-width: 46rem; font-size: 1.06rem; }
.step-body > .button, .inline-actions { margin-top: 1.05rem; }
.forms { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding: 0; margin-top: 1.05rem; list-style: none; }
.forms a { height: 100%; display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .85rem 1.05rem; border: 1px solid #b6c0f0; color: var(--blue); font-weight: 700; }
.forms a:hover { background: var(--pale-blue); }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.15rem; }
.apply-grid > div { padding: 1.25rem; border: 1px solid #b6c0f0; }
.email-card { background: var(--pale-blue); }
.apply-grid h4 { color: var(--blue); font-size: 1.15rem; line-height: 1.2; }
.apply-grid p, .apply-grid address { margin-top: .6rem; }
.email-address { display: inline-block; margin-top: .65rem; font-weight: 700; color: var(--blue); overflow-wrap: anywhere; }
.copy-button { min-height: 2.5rem; margin-top: .8rem; display: flex; }
.copy-status:not(:empty) { display: block; margin-top: .45rem; font-size: .9rem; color: var(--blue-deep); }
.pdf-panel { margin-top: 1.15rem; padding: clamp(.85rem, 2.4vw, 1.55rem); border: 1px solid #b6c0f0; border-top: .25rem solid var(--blue); background: #fffdf7; }
.pdf-panel h4 { color: var(--blue); font: 900 clamp(1.35rem, 2.3vw, 1.85rem)/1.1 var(--font-display); letter-spacing: -.045em; }
.pdf-panel > p { max-width: 49rem; margin-top: .55rem; }
.pdf-file-picker { position: relative; margin-top: 1rem; cursor: pointer; }
.pdf-file-picker input { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pdf-file-picker:focus-within { outline: 3px solid var(--red); outline-offset: 5px; }
.pdf-hint { margin-top: .45rem; color: var(--muted); font-size: .9rem; }
.pdf-file-list { margin: 1rem 0 0; padding: 0 0 0 1.75rem; }
.pdf-file-list:empty { display: none; }
.pdf-file-list li { padding: .4rem 0 .4rem .2rem; border-top: 1px solid var(--rule); }
.pdf-file-list li::marker { color: var(--blue); font-weight: 700; }
.pdf-file-name { overflow-wrap: anywhere; }
.pdf-file-actions { display: inline-flex; flex-wrap: wrap; gap: .3rem; margin-left: .5rem; vertical-align: middle; }
.pdf-file-actions button { min-width: 2.75rem; min-height: 2.75rem; padding: .2rem .5rem; border: 1px solid #b6c0f0; background: white; color: var(--blue); font-weight: 700; }
.pdf-file-actions button:hover:not(:disabled) { background: var(--pale-blue); }
.pdf-builder button:disabled { cursor: default; opacity: .55; }
.pdf-builder > .button { margin-top: 1rem; }
.pdf-status:not(:empty) { margin: .75rem 0 0; font-weight: 700; }
.pdf-status[data-error] { color: var(--red); }
.pdf-result { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid #b6c0f0; }
.pdf-draft { min-width: 0; margin: 1rem 0 0; padding: .65rem 1rem .85rem; border: 1px solid #b6c0f0; }
.pdf-draft legend { padding-inline: .35rem; color: var(--blue-deep); font-weight: 700; }
.pdf-draft .pdf-hint { margin-top: 0; }
.pdf-draft-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); align-items: end; gap: .65rem .8rem; margin: .8rem 0 1rem; }
.pdf-draft-fields label { display: grid; gap: .3rem; font-weight: 700; }
.pdf-draft-fields input { min-width: 0; width: 100%; min-height: 2.75rem; padding: .4rem .55rem; border: 1px solid var(--blue-deep); border-radius: 0; color: var(--ink); background: white; font-weight: 400; }
.pdf-attach-note { margin-top: .5rem; }
.pdf-builder > .pdf-hint { margin-top: .85rem; }
.checklist { margin: 1.4rem 0 0; padding: .65rem 1rem .85rem; border: 1px solid var(--rule); }
.checklist legend { padding-inline: .35rem; font-weight: 700; }
.checklist label { display: flex; align-items: baseline; gap: .55rem; padding-block: .22rem; cursor: pointer; }
.checklist input { flex: none; width: 1rem; height: 1rem; transform: translateY(.13rem); accent-color: var(--blue); }
.poll-note { margin-top: 1.05rem; border-left: .25rem solid var(--blue); background: var(--pale-blue); padding: .9rem 1.15rem 1rem; }
.poll-note strong { display: block; color: var(--blue); font-size: 1.08rem; }
.poll-note p { margin-top: .15rem; }

.faq-section { border-block: 1px solid #b6c0f0; background: var(--pale-blue); }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.7rem 3rem; padding-block: 3.85rem 4rem; }
.faq-list { border-top: 1px solid #b0b8dc; }
.faq-list details { border-bottom: 1px solid #b0b8dc; }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 3.4rem; padding: .65rem 0; cursor: pointer; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 1.45rem 1rem 0; }
.faq-list details a { color: var(--blue); overflow-wrap: anywhere; }
.site-footer { color: #f6f7ff; background: var(--blue-deep); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 3rem; padding-block: 2.55rem; }
.footer-brand { color: #fff; margin-bottom: .85rem; }
.footer-inner .verified { margin-top: .7rem; color: #dbe2ff; font-size: .89rem; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.1rem; margin-top: .5rem; }
.footer-social a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
.sources h2 { font: 700 1.06rem/1.4 var(--font-body); letter-spacing: 0; margin: 0 0 .45rem; }
.sources ul { list-style: none; padding: 0; }
.sources li + li { margin-top: .2rem; }
.sources a:hover, .footer-social a:hover { color: #dbe2ff; }
.site-footer :focus-visible { outline-color: white; }

@media (max-width: 850px) {
  .shell { width: calc(100% - 3rem); }
  .hero { gap: 1.8rem; }
  .hero h1 { font-size: clamp(4.5rem, 10.7vw, 6rem); }
  .step { grid-template-columns: 4.2rem 1fr; padding-right: 0; }
  .roadmap a { font-size: .89rem; }
}

@media (min-width: 621px) and (max-width: 750px) {
  .dates { grid-template-columns: 1fr; }
  .date-cell + .date-cell { border-left: 0; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { position: relative; min-height: 4.15rem; flex-wrap: wrap; gap: .5rem 1rem; padding-block: .5rem; }
  .menu-toggle { display: inline-flex; }
  .top-nav { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem .7rem; padding-block: .45rem; }
  .top-nav a { display: flex; align-items: center; min-height: 2.4rem; }
  .top-nav .nav-cta { justify-self: start; min-height: 2.4rem; }
  .has-menu .top-nav:not(.menu-open) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 1.65rem; padding-top: 2.15rem; }
  .dates { grid-row: 2; }
  .hero h1 { font-size: clamp(4.25rem, 15.25vw, 6.9rem); }
  .election-label { margin-bottom: 1rem; }
  .intro { margin-top: 1.15rem; }
  .actions { margin-top: 1.3rem; }
  .date-cell { justify-content: start; padding: .75rem .65rem; }
  .date-caption, .date-note { font-size: .78rem; }
  .date-cell strong { font-size: clamp(1.15rem, 5.65vw, 1.95rem); }
  .dates-source { margin-right: 0; }
  .walkthrough { padding-block: 2.8rem 3rem; }
  .section-head, .faq-layout, .footer-inner { grid-template-columns: 1fr; }
  .section-head { gap: .75rem; margin-bottom: 1.25rem; }
  .roadmap { margin-bottom: 1.2rem; grid-template-columns: 1fr 1fr; padding-bottom: 0; }
  .roadmap a { justify-content: start; text-align: left; padding-inline: .65rem; min-height: 3rem; gap: .35rem; }
  .roadmap a:nth-child(3) { border-left: 0; }
  .roadmap a:nth-child(n + 3) { border-top: 1px solid #b6c0f0; }
  .roadmap::before, .roadmap::after { display: none; }
  .step { grid-template-columns: 2rem 1fr; gap: .45rem; padding-block: 1.5rem 1.65rem; }
  .step-index { font-size: 1.13rem; padding-top: .2rem; }
  .step-body > p { font-size: 1rem; }
  .forms, .apply-grid { grid-template-columns: 1fr; }
  .apply-grid > div { padding: .85rem; }
  .pdf-file-actions { display: flex; margin: .35rem 0 0; }
  .faq-layout { padding-block: 2.6rem; }
}

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

