
  :root {
    --bg: #f7f7f5;
    --ink: #0b1220;
    --ink-soft: #334155;
    --muted: #64748b;
    --rule: #e5e7eb;
    --card: #ffffff;
    --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 30px rgba(15,23,42,.06);

    --brand-green: #10b981;
    --brand-green-ink: #047857;

    --dem: #1f4dd8;
    --dem-soft: #eaf0ff;
    --dem-ink: #152d80;

    --gop: #d1253b;
    --gop-soft: #fdecef;
    --gop-ink: #8a1626;

    --ind: #7a4bc4;
    --ind-soft: #f2ecfb;
    --ind-ink: #4c2a86;

    --hero: radial-gradient(1200px 500px at 20% 0%, #0f2b3a 0%, #0a1826 55%, #07111b 100%);
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.01em; margin: 0; }

  /* HEADER */
  header.site {
    background: #f4f4f2;
    border-bottom: 1px solid var(--rule);
    position: sticky; top: 0; z-index: 50;
  }
  .nav {
    max-width: 1200px; margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
  }
  .brand { font-family: 'Fraunces', serif; font-weight: 900; font-size: 22px; letter-spacing: 0.02em; }
  .nav-right { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--ink-soft); }
  .nav-right a { text-decoration: none; }
  .cta-btn {
    background: var(--brand-green); color: #fff;
    border: none; border-radius: 8px; padding: 10px 16px; font-weight: 600;
    font-size: 14px; cursor: pointer; text-decoration: none;
  }

  /* HERO */
  .hero {
    background: var(--hero);
    color: #fff;
    padding: 80px 24px 64px;
    position: relative;
    overflow: hidden;
  }
  .hero::before{
    content:""; position:absolute; inset:0;
    background-image:
      radial-gradient(circle at 80% 20%, rgba(16,185,129,.12), transparent 40%),
      radial-gradient(circle at 15% 85%, rgba(31,77,216,.12), transparent 45%);
    pointer-events:none;
  }
  .hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
  .crumb { font-size: 13px; color: #93a5b8; margin-bottom: 20px; }
  .crumb a { color: #cbd5e1; text-decoration: none; }
  h1.title {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    max-width: 820px;
    margin-bottom: 16px;
  }
  .deck { font-size: 15px; color: #9fb1c5; max-width: 680px; }

  /* COUNTDOWN */
  .countdown-wrap {
    margin-top: 44px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
    backdrop-filter: blur(4px);
  }
  .countdown-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #10b981;
  }
  .countdown-label .date { display:block; color:#e2e8f0; font-size:13px; letter-spacing:.12em; margin-top:4px; }
  .countdown-grid {
    display: grid; grid-template-columns: repeat(4, minmax(70px, 1fr));
    gap: 18px; flex: 1; min-width: 280px;
  }
  .cd-unit { text-align: left; }
  .cd-num {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 700; line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
  }
  .cd-lbl {
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase; font-size: 10px; letter-spacing: 0.2em; color: #94a3b8;
    margin-top: 6px;
  }

  /* LAYOUT GRID */
  .body-wrap {
    max-width: 1200px; margin: -40px auto 0;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    position: relative; z-index: 1;
  }
  @media (max-width: 960px) {
    .body-wrap { grid-template-columns: 1fr; }
  }

  .main-col > section { margin-top: 36px; }
  .main-col > section:first-child { margin-top: 0; }

  /* CARD STYLES */
  .panel {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 16px;
    padding: 28px 28px 32px;
    box-shadow: var(--shadow);
  }
  .panel.dark {
    background: #0b1f33;
    color: #e2e8f0;
    border-color: #0b1f33;
  }
  .panel.dark h2, .panel.dark h3 { color: #fff; }
  .panel h2 {
    font-size: 26px; font-weight: 700; margin-bottom: 10px;
  }
  .panel p { color: var(--ink-soft); margin: 10px 0; }
  .panel.dark p { color: #b9c6d6; }

  .kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--brand-green-ink);
    margin-bottom: 10px;
  }
  .panel.dark .kicker { color: #10b981; }

  /* WHY IT MATTERS GRID */
  .why-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px;
  }
  @media (max-width: 680px) { .why-grid { grid-template-columns: 1fr; } }
  .why-card {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    border-radius: 12px; padding: 18px;
  }
  .why-card .big {
    font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: #fff;
  }
  .why-card .lbl {
    font-size: 13px; color: #9fb1c5; margin-top: 6px;
  }

  /* CANDIDATE GRID */
  .party-section { margin-top: 36px; }
  .party-header {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 14px; margin-bottom: 20px;
    border-bottom: 1px solid var(--rule);
    gap: 16px; flex-wrap: wrap;
  }
  .party-title {
    display: flex; align-items: center; gap: 14px;
  }
  .party-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
  .party-title h2 { font-size: 28px; font-weight: 700; }
  .party-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted);
  }

  .candidates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .cand-card {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    font-family: inherit;
    color: inherit;
    width: 100%;
  }
  .cand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15,23,42,.09);
  }
  .cand-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--accent);
  }
  .cand-card.dem { --accent: var(--dem); }
  .cand-card.gop { --accent: var(--gop); }
  .cand-card.ind { --accent: var(--ind); }
  .cand-card:hover { border-color: var(--accent); }

  .avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
  }
  .cand-name {
    font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700;
    margin-bottom: 4px; line-height: 1.2;
  }
  .cand-role { font-size: 13px; color: var(--muted); line-height: 1.45; }
  .tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
    padding: 3px 8px; border-radius: 4px; margin-top: 12px;
    background: var(--accent-soft); color: var(--accent-ink);
  }
  .cand-card.dem .tag { background: var(--dem-soft); color: var(--dem-ink); }
  .cand-card.gop .tag { background: var(--gop-soft); color: var(--gop-ink); }
  .cand-card.ind .tag { background: var(--ind-soft); color: var(--ind-ink); }

  .frontrunner {
    position: absolute; top: 14px; right: 14px;
    font-family: 'JetBrains Mono', monospace; font-size: 9px;
    letter-spacing: 0.15em; text-transform: uppercase;
    background: #fef3c7; color: #92400e;
    padding: 3px 7px; border-radius: 4px;
  }

  /* SIDEBAR */
  aside.side {
    position: sticky; top: 90px;
    align-self: start;
    display: flex; flex-direction: column; gap: 16px;
  }
  @media (max-width: 960px) {
    aside.side { position: static; }
  }
  .side-box {
    background: #fff; border: 1px solid var(--rule);
    border-radius: 14px; padding: 20px; font-size: 14px;
  }
  .side-box.alert {
    background: #fff7ed; border-color: #fed7aa;
  }
  .side-box.alert .dot {
    display: inline-block; width: 7px; height: 7px;
    border-radius: 50%; background: #dc2626; margin-right: 7px;
  }
  .side-box h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--muted); margin-bottom: 10px; font-weight: 600;
  }
  .side-box ol { margin: 0; padding: 0; list-style: none; }
  .side-box ol li { padding: 5px 0; color: var(--ink-soft); font-size: 13px; border-bottom: 1px dashed #eef2f7; }
  .side-box ol li:last-child { border-bottom: none; }
  .toc a { text-decoration: none; color: var(--ink-soft); }
  .toc a:hover { color: var(--brand-green-ink); }
  .num-row {
    display: flex; justify-content: space-between; padding: 6px 0;
    border-bottom: 1px dashed #eef2f7; font-size: 13px;
  }
  .num-row:last-child { border-bottom: none; }
  .num-row .v { font-weight: 600; font-family: 'JetBrains Mono', monospace; color: var(--ink); }

  /* MODAL */
  .modal-backdrop {
    position: fixed; inset: 0; background: rgba(7,17,27,.72);
    backdrop-filter: blur(4px);
    display: none; align-items: flex-start; justify-content: center;
    padding: 40px 20px; z-index: 100; overflow-y: auto;
  }
  .modal-backdrop.open { display: flex; }
  .modal {
    background: #fff;
    border-radius: 18px;
    width: 100%; max-width: 780px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    animation: fadeUp .25s ease;
  }
  @keyframes fadeUp {
    from { transform: translateY(16px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  .modal-head {
    padding: 32px 32px 24px;
    background: var(--head-bg, #0b1f33);
    color: #fff;
    position: relative;
  }
  .modal-head .avatar-lg {
    width: 76px; height: 76px; border-radius: 50%;
    background: rgba(255,255,255,.15);
    font-family: 'Fraunces', serif; font-size: 30px; font-weight: 700;
    color: #fff; display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    border: 2px solid rgba(255,255,255,.25);
  }
  .modal-head h3 { font-size: 30px; color: #fff; line-height: 1.15; margin-bottom: 4px; }
  .modal-head .sub { color: rgba(255,255,255,.75); font-size: 14px; }
  .modal-close {
    position: absolute; top: 18px; right: 18px;
    background: rgba(255,255,255,.14); border: none;
    color: #fff; width: 36px; height: 36px; border-radius: 50%;
    cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center;
  }
  .modal-close:hover { background: rgba(255,255,255,.25); }

  .tabs {
    display: flex; border-bottom: 1px solid var(--rule);
    padding: 0 32px; background: #fafafa; gap: 6px;
    overflow-x: auto;
  }
  .tab-btn {
    background: none; border: none; padding: 14px 14px;
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
    color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .tab-btn.active { color: var(--ink); border-bottom-color: var(--accent-bar, #0b1f33); }

  .modal-body { padding: 28px 32px 32px; max-height: 55vh; overflow-y: auto; }
  .modal-body h4 {
    font-size: 18px; font-weight: 700; margin-top: 18px; margin-bottom: 8px;
    font-family: 'Fraunces', serif;
  }
  .modal-body h4:first-child { margin-top: 0; }
  .modal-body p { color: var(--ink-soft); font-size: 14.5px; margin: 8px 0; }
  .issue-list { list-style: none; padding: 0; margin: 0; }
  .issue-list li {
    padding: 14px 0; border-bottom: 1px solid var(--rule);
  }
  .issue-list li:last-child { border-bottom: none; }
  .issue-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 4px;
  }
  .issue-pos {
    font-size: 14.5px; color: var(--ink-soft);
  }
  .disclaimer {
    margin-top: 18px; padding: 12px 14px; font-size: 12px;
    color: var(--muted); background: #f8fafc; border-radius: 8px;
    border: 1px solid #e2e8f0;
  }

  /* FOOTER POLL BLOCK */
  .poll-block {
    margin-top: 36px; padding: 30px; background: #fff;
    border: 1px solid var(--rule); border-radius: 16px; text-align: center;
  }
  .poll-block h3 { font-size: 24px; margin-bottom: 4px; }
  .poll-block p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
  .poll-opts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
  .poll-opt {
    padding: 10px 18px; border: 1px solid var(--rule);
    background: #fff; border-radius: 8px; cursor: pointer;
    font-size: 14px; font-family: inherit;
  }
  .poll-opt:hover { border-color: var(--brand-green); color: var(--brand-green-ink); }

  .site-foot {
    background: #07111b; color: #94a3b8; padding: 40px 24px; font-size: 13px;
  }
  .site-foot-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
  .site-foot .brand { color: #fff; font-size: 18px; }
  .site-foot a { color: #cbd5e1; text-decoration: none; margin-right: 16px; }

  /* ACCESSIBILITY + UTIL */
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }