/* Union Ballot — marketing landing.
   Uses the app's exact design tokens and chrome (see public/style.css on the
   voter app): warm ballot-stock paper, ink, fire-service navy, brass, and
   brick reserved strictly for the PERC hard stop. Fonts are the app's own,
   self-hosted from /fonts (SIL OFL 1.1; see fonts/OFL.txt) — no third-party
   font host is contacted. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/archivo-500.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/archivo-600.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/ibm-plex-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/ibm-plex-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/ibm-plex-sans-600.woff2') format('woff2'); }

:root {
  --paper: #FAF8F3;
  --ink: #16181D;
  --tint: #1B2A4A;
  --seal: #8A6D2F;
  --brick: #A6192E;
  --ok: #2E6E4E;
  --muted: #6B6459;
  --line: #D8D2C4;
  --rule: #C7BCA6;

  --font-display: Archivo, "Helvetica Neue", Arial, sans-serif;
  --font-ui: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-ui); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--tint); }
main { max-width: 880px; margin: 0 auto; padding: 28px 20px 60px; }

/* top chrome — letterhead with the heavy ink head rule, as in the app */
.topbar {
  background: #fff; color: var(--ink);
  display: flex; align-items: center; gap: 18px; padding: 12px 20px;
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.topbar .brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-logo { height: 42px; width: auto; display: block; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-org {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  color: var(--ink); letter-spacing: .17em; text-transform: uppercase;
}
.brand-sub {
  font-size: 10.5px; color: var(--seal); letter-spacing: .16em;
  text-transform: uppercase; margin-top: 4px;
}
.topbar nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.topbar a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.topbar a:hover { color: var(--ink); }

/* ballot head — the signature printed-ballot rule */
.ballot-head { margin: 10px 0 26px; }
.ballot-head .bar { height: 7px; background: var(--ink); }
.ballot-head .hairlines { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); height: 4px; margin-top: 2px; }

/* hero */
.hero { padding: 6px 0 34px; }
.eyebrow {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .26em;
  font-size: 12px; font-weight: 600; color: var(--seal); margin: 16px 0 2px;
}
h1 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: 34px; margin: 2px 0 6px; line-height: 1.16;
}
.sub { color: var(--muted); margin: 6px 0 0; max-width: 36em; font-size: 17px; }
.cta-row { margin: 10px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }

/* buttons — app style: uppercase display face, square, ink border */
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  border: 2px solid var(--ink); background: #fff; color: var(--ink);
  padding: 11px 24px; font-size: 14px; cursor: pointer; margin-top: 16px; text-decoration: none;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--tint); border-color: var(--tint); color: #fff; }
.btn.primary:hover { background: #12203A; border-color: #12203A; }

/* section heads — app's ruled h2 */
h2 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: 18px; margin: 36px 0 10px;
  border-bottom: 2px solid var(--ink); padding-bottom: 5px;
}
h3 { font-family: var(--font-ui); font-weight: 600; font-size: 16px; margin: 0 0 4px; }

/* what it runs */
.cards { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 20px; }
.card {
  flex: 1; min-width: 200px;
  border: 1px solid var(--line); background: #fff; padding: 18px 20px;
  border-top: 3px solid var(--tint);
}
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* notices — app's .notice.seal / .notice.warn */
.notice { border: 1px solid var(--line); background: #fff; padding: 14px 16px; margin: 16px 0; font-size: 14.5px; }
.notice.seal { border-left: 5px solid var(--seal); max-width: 44em; }
.notice.warn { border-left: 5px solid var(--brick); padding: 18px 22px; }
.notice.warn h2 {
  margin: 0 0 10px; border-bottom: none; padding-bottom: 0;
  color: var(--brick); font-size: 15px; letter-spacing: .14em;
}
.notice.warn p { margin: 0 0 8px; font-size: 15px; }
.notice.warn p:last-child { margin-bottom: 0; }

/* single CTA */
.cta-band {
  margin: 36px 0 8px; padding: 26px 28px; text-align: center;
  background: var(--tint); color: #fff;
}
.cta-line { margin: 0 0 2px; font-size: 16px; color: #E6E9EC; }
.cta-band .btn.primary { background: #fff; border-color: #fff; color: var(--tint); }
.cta-band .btn.primary:hover { background: var(--paper); border-color: var(--paper); }

/* contact */
.contact-card {
  font-style: normal; display: inline-block;
  border: 1px solid var(--line); background: #fff; padding: 18px 24px;
}
.contact-card p { margin: 3px 0; }
.contact-name { font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; font-size: 17px; }

/* branded footer — as in the app */
.sitefoot {
  max-width: 880px; margin: 24px auto 0; padding: 18px 20px 40px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; color: var(--muted);
}
.sitefoot .foot-org {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .16em; color: var(--ink); font-size: 12.5px;
}

:focus-visible { outline: 3px solid var(--tint); outline-offset: 2px; }

@media (max-width: 640px) {
  h1 { font-size: 25px; letter-spacing: .07em; }
  h2 { font-size: 16px; }
  main { padding: 18px 14px 48px; }
  .topbar { gap: 12px; padding: 10px 14px; }
  .brand-logo { height: 34px; }
  .brand-org { font-size: 16px; letter-spacing: .14em; }
  .brand-sub { display: none; }
  .topbar nav { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
