:root {
  color-scheme: light;
  --ink: #172b46;
  --muted: #57667a;
  --navy: #163556;
  --maroon: #640000;
  --accent: #a33d3d;
  --line: #dce3eb;
  --surface: #fff;
  --page: #f2f5f8;
  --gutter: 28px;
  --page-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0 var(--gutter) 48px;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}

main, .hero-inner, .page-footer { max-width: var(--page-width); margin-inline: auto; }
.hero {
  margin: 0 calc(-1 * var(--gutter)) 42px;
  padding: 54px var(--gutter) 38px;
  background: var(--maroon);
  color: #fff;
  border-bottom: 5px solid var(--navy);
}

h1, h2, h3 { font-family: Georgia, serif; font-weight: normal; }
h1 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.12; letter-spacing: -.025em; }
h2 { margin: 0 0 18px; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; }
h3 { margin: 0 0 16px; font-size: 23px; line-height: 1.25; }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: #c1d3e4; }
.hero .election { margin: 15px 0 0; color: #e0e9f2; font-size: 19px; }
a, a:visited { color: #235b8b; }
a:hover { color: var(--accent); }
.hero a { color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.panel {
  min-width: 0;
  padding: clamp(16px, 3vw, 27px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 16px #172b4606;
}
.panel + .panel { margin-top: 22px; }
.panel > :last-child { margin-bottom: 0; }
.choice-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 9px; }
a.choice-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px;
  background: #fff;
  border: 1px solid #c6d2df;
  border-radius: 7px;
  color: var(--maroon);
  font: 600 .875rem/1.3 system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}
a.choice-button:hover, a.choice-button:focus-visible { background: #e3ebf4; border-color: var(--navy); }

img, video, iframe, input, select, textarea { max-width: 100%; }
img, video { height: auto; }
iframe { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.centered { text-align: center; }
table { max-width: 100%; }
.table-scroll { max-width: 100%; overflow: auto; }
.table-scroll:focus-visible { outline-offset: -3px; }
.legacy-content td, .legacy-content th { padding: .4rem; vertical-align: top; }
.legacy-content :is(ul, ol) { padding-inline-start: clamp(1.25rem, 4vw, 2rem); }
.legacy-content iframe { width: 100%; }
blockquote { margin: 18px 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.page-footer {
  margin-block-start: 32px;
  padding-block-start: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.page-footer p { margin: 0 0 4px; }

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  body { padding-bottom: 30px; }
  .hero { margin-bottom: 30px; padding-block: 36px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
