/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/ijwRs572Xtc6ZYQws9YVwnNJfJ7Cww.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/ijwRs572Xtc6ZYQws9YVwnNIfJ7Cww.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/ijwRs572Xtc6ZYQws9YVwnNGfJ4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * PorchLite shared stylesheet — the civic-register design system.
 * Light/dark variables + shared chrome are global; page-specific rules are
 * scoped under body.page-* so the five page designs never collide.
 * @font-face for the self-hosted fonts is prepended from fonts/_fontface.css.
 */

/* ===== Theme variables ===== */
:root {
  --ink: #1a1814;
  --ink-soft: #3a3530;
  --ink-mute: #6b655c;
  --paper: #faf7f0;
  --paper-deep: #f2ede1;
  --paper-line: #e5dfd0;
  --civic: #2f4a6b;
  --civic-deep: #1f3349;
  --civic-soft: #5577a0;
  --glow: #d4a541;
  --glow-soft: #e8c777;
  --flag-bg: #f5ede0;
  --flag-ink: #8a6d2f;
  --flag-border: #e3d4ad;
  --invert-bg: #1a1814;
  --invert-bg-2: #2f4a6b;
  --invert-text: #faf7f0;
  --invert-text-mute: rgba(250, 247, 240, 0.62);
  --row-hover: #f2ede1;
  --field-bg: #ffffff;

  --fs-display: clamp(2.5rem, 5.5vw, 4.5rem);
  --fs-h1: clamp(2rem, 3.5vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 2.4vw, 2rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;
  --max: 980px;
}

:root[data-theme="dark"] {
  --ink: #ede8dd;
  --ink-soft: #c4bdaf;
  --ink-mute: #8b8576;
  --paper: #16140f;
  --paper-deep: #211e17;
  --paper-line: #353027;
  --civic: #7a9cc4;
  --civic-deep: #9bb6d6;
  --civic-soft: #5577a0;
  --glow: #e0b252;
  --glow-soft: #ecc77a;
  --flag-bg: #2a2418;
  --flag-ink: #d8b878;
  --flag-border: #463c26;
  --invert-bg: #2b2920;
  --invert-bg-2: #2f4a6b;
  --invert-text: #f4efe4;
  --invert-text-mute: rgba(244, 239, 228, 0.6);
  --row-hover: #211e17;
  --field-bg: #211e17;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ede8dd;
    --ink-soft: #c4bdaf;
    --ink-mute: #8b8576;
    --paper: #16140f;
    --paper-deep: #211e17;
    --paper-line: #353027;
    --civic: #7a9cc4;
    --civic-deep: #9bb6d6;
    --civic-soft: #5577a0;
    --glow: #e0b252;
    --glow-soft: #ecc77a;
    --flag-bg: #2a2418;
    --flag-ink: #d8b878;
    --flag-border: #463c26;
    --invert-bg: #2b2920;
    --invert-bg-2: #2f4a6b;
    --invert-text: #f4efe4;
    --invert-text-mute: rgba(244, 239, 228, 0.6);
    --row-hover: #211e17;
    --field-bg: #211e17;
  }
}

.page-home { --max: 1180px; }

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background 200ms ease, color 200ms ease;
}
.page-home body, body.page-home { line-height: 1.55; }
.page-home::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(212, 165, 65, 0.025) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(47, 74, 107, 0.02) 0%, transparent 50%);
  z-index: -1;
}
a { color: var(--civic); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--civic-deep); }

/* ===== Top utility bar ===== */
.topbar { background: var(--invert-bg); color: var(--invert-text); font-size: var(--fs-micro); letter-spacing: 0.05em; text-transform: uppercase; }
.topbar-inner { max-width: var(--max); margin: 0 auto; padding: 0.5rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar-left { display: flex; align-items: center; gap: 0.5rem; opacity: 0.85; }
.topbar-flag { width: 14px; height: 14px; display: inline-block; background: linear-gradient(180deg, var(--glow) 0%, var(--glow) 33%, var(--invert-text) 33%, var(--invert-text) 66%, var(--civic-soft) 66%, var(--civic-soft) 100%); border-radius: 2px; }
.topbar-right { opacity: 0.7; }

/* ===== Masthead ===== */
.masthead { border-bottom: 1px solid var(--paper-line); background: var(--paper); transition: background 200ms ease; }
.masthead-inner { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-wordmark { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1; }
.brand-tag { font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; font-weight: 500; }
.masthead-right { display: flex; align-items: center; gap: 1.5rem; }
nav.primary { display: flex; gap: 1.5rem; align-items: center; }
nav.primary a { color: var(--ink-soft); text-decoration: none; font-size: var(--fs-small); font-weight: 500; }
nav.primary a:hover { color: var(--ink); }
nav.primary a.cta { background: var(--ink); color: var(--paper); padding: 0.55rem 1.1rem; border-radius: 2px; font-weight: 600; }
nav.primary a.cta:hover { background: var(--civic); color: var(--paper); }
@media (max-width: 720px) { nav.primary { display: none; } }

/* ===== Theme toggle ===== */
.theme-toggle { background: var(--paper-deep); border: 1px solid var(--paper-line); color: var(--ink-soft); width: 36px; height: 36px; border-radius: 3px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 150ms ease, color 150ms ease, border-color 150ms ease; flex-shrink: 0; }
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-mute); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
}

/* ===== Shared bits ===== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 620px; }
.breadcrumb { padding: 1.25rem 0 0; font-size: var(--fs-small); color: var(--ink-mute); display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--civic); text-decoration: underline; }
.breadcrumb span.sep { opacity: 0.5; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.2rem; font-weight: 600; font-size: var(--fs-small); text-decoration: none; border-radius: 2px; border: 1px solid var(--ink-mute); color: var(--ink); transition: all 150ms ease; background: transparent; cursor: pointer; }
.btn:hover { border-color: var(--ink); background: var(--paper-deep); }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--ink); color: var(--paper); border-color: transparent; padding: 0.875rem 1.5rem; }
.btn-primary:hover { background: var(--civic); color: var(--paper); border-color: transparent; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink-mute); padding: 0.875rem 1.5rem; }

.ai-disclosure { margin-top: 2rem; background: var(--paper-deep); border: 1px solid var(--paper-line); border-left: 3px solid var(--glow); border-radius: 3px; padding: 1rem 1.25rem; font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.55; }
.ai-disclosure strong { color: var(--ink); font-weight: 700; }

/* ===== Footer (content pages: dark) ===== */
footer { background: var(--invert-bg); color: var(--invert-text-mute); padding: 2.5rem 1.5rem; font-size: var(--fs-small); margin-top: 1rem; }
:root[data-theme="dark"] footer { border-top: 1px solid var(--paper-line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) footer { border-top: 1px solid var(--paper-line); } }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
footer a, footer strong { color: var(--invert-text); }
.footer-fine { font-size: var(--fs-micro); color: var(--invert-text-mute); opacity: 0.7; margin-top: 1.5rem; max-width: var(--max); margin-left: auto; margin-right: auto; }

/* ============================================================
   LANDING (apex) — body.page-home
   ============================================================ */
.page-home .hero { padding: 5rem 1.5rem 4rem; border-bottom: 1px solid var(--paper-line); position: relative; overflow: hidden; }
.page-home .hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) { .page-home .hero-inner { grid-template-columns: 1fr; gap: 3rem; } .page-home .hero { padding: 3rem 1.5rem; } }
.page-home .hero-eyebrow { font-size: var(--fs-micro); letter-spacing: 0.15em; text-transform: uppercase; color: var(--civic); font-weight: 600; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.page-home .hero-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--civic); }
.page-home .hero h1 { font-size: var(--fs-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 1.5rem; color: var(--ink); }
.page-home .hero h1 em { font-style: normal; color: var(--civic); }
.page-home .hero-lede { font-size: 1.25rem; line-height: 1.5; color: var(--ink-soft); max-width: 36rem; margin-bottom: 2rem; }
.page-home .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.page-home .hero-ctas .btn svg { width: 16px; height: 16px; }

.coverage-card { background: var(--paper-deep); border: 1px solid var(--paper-line); border-radius: 3px; padding: 1.75rem; position: relative; }
.coverage-card::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--civic); border-radius: 3px 3px 0 0; }
.coverage-label { font-size: var(--fs-micro); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 1rem; }
.coverage-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.875rem 0; border-bottom: 1px solid var(--paper-line); }
.coverage-row:last-child { border-bottom: none; padding-bottom: 0; }
.coverage-name { font-weight: 600; color: var(--ink); }
.coverage-where { font-size: var(--fs-small); color: var(--ink-mute); display: block; margin-top: 2px; font-weight: 400; }
.coverage-status { font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--civic); display: flex; align-items: center; gap: 0.4rem; }
.coverage-status.live::before { content: ''; width: 6px; height: 6px; background: var(--civic); border-radius: 50%; box-shadow: 0 0 0 3px rgba(47, 74, 107, 0.18); animation: pulse 2.5s ease-in-out infinite; }
.coverage-status.planned { color: var(--ink-mute); }
.coverage-status.planned::before { content: ''; width: 6px; height: 6px; background: var(--ink-mute); border-radius: 50%; display: inline-block; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(47, 74, 107, 0.18); } 50% { box-shadow: 0 0 0 6px rgba(47, 74, 107, 0.05); } }
.coverage-footnote { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--paper-line); font-size: var(--fs-small); color: var(--ink-mute); }
.coverage-footnote a { color: var(--civic); font-weight: 500; }

.page-home .section-eyebrow { font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.page-home .section-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--ink-mute); }
.how { padding: 5rem 1.5rem; background: var(--paper); }
.how-inner { max-width: var(--max); margin: 0 auto; }
.how h2 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 3rem; max-width: 28rem; line-height: 1.15; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 2rem 1.5rem; border-right: 1px solid var(--paper-line); }
.step:last-child { border-right: none; }
@media (max-width: 900px) { .step:nth-child(2) { border-right: none; } .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--paper-line); } }
@media (max-width: 560px) { .step { border-right: none; border-bottom: 1px solid var(--paper-line); } .step:last-child { border-bottom: none; } }
.step-num { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-micro); color: var(--ink-mute); margin-bottom: 1rem; letter-spacing: 0.05em; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.625rem; letter-spacing: -0.01em; }
.step p { font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.55; }

.pillars { padding: 5rem 1.5rem; background: var(--paper-deep); border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.pillars-inner { max-width: var(--max); margin: 0 auto; }
.pillars h2 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 3rem; max-width: 32rem; line-height: 1.15; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar { background: var(--paper); padding: 2rem 1.75rem; border-radius: 3px; border: 1px solid var(--paper-line); display: flex; flex-direction: column; }
.pillar-icon { width: 36px; height: 36px; margin-bottom: 1.25rem; color: var(--civic); }
.pillar h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.pillar p { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.6; margin-bottom: 1.5rem; flex: 1; }
.pillar-link { font-size: var(--fs-small); font-weight: 600; color: var(--civic); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.pillar-link:hover { color: var(--civic-deep); }
.pillar-link::after { content: '→'; transition: transform 200ms ease; }
.pillar-link:hover::after { transform: translateX(3px); }

.subscribe { padding: 5rem 1.5rem; background: var(--invert-bg); color: var(--invert-text); }
.subscribe-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .subscribe-inner { grid-template-columns: 1fr; gap: 2.5rem; } }
.subscribe-eyebrow { color: var(--glow); font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.subscribe-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--glow); }
.subscribe h2 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1rem; }
.subscribe p { color: rgba(250, 247, 240, 0.75); font-size: 1.0625rem; line-height: 1.6; }
.subscribe-form { background: rgba(250, 247, 240, 0.04); border: 1px solid rgba(250, 247, 240, 0.12); border-radius: 3px; padding: 1.75rem; }
.subscribe-form label { display: block; font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250, 247, 240, 0.65); font-weight: 600; margin-bottom: 0.5rem; }
.subscribe-form input, .subscribe-form select { width: 100%; padding: 0.875rem 1rem; background: var(--paper); color: var(--ink); border: 1px solid transparent; border-radius: 2px; font-family: inherit; font-size: var(--fs-body); margin-bottom: 1rem; }
.subscribe-form input:focus, .subscribe-form select:focus { outline: none; border-color: var(--glow); }
.subscribe-form button { width: 100%; padding: 0.875rem; background: var(--glow); color: #1a1814; border: none; border-radius: 2px; font-weight: 700; font-size: var(--fs-small); cursor: pointer; letter-spacing: 0.02em; transition: background 150ms ease; font-family: inherit; }
.subscribe-form button:hover { background: var(--glow-soft); }
.subscribe-fine { font-size: var(--fs-micro); color: rgba(250, 247, 240, 0.55); margin-top: 0.875rem; line-height: 1.5; }

/* Landing footer (light, multi-column) */
.page-home footer { background: var(--paper); color: var(--ink-mute); padding: 3rem 1.5rem 2rem; border-top: 1px solid var(--paper-line); margin-top: 0; }
.page-home footer a { color: var(--ink-soft); }
.page-home footer .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
@media (max-width: 720px) { .page-home footer .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand p { color: var(--ink-mute); font-size: var(--fs-small); margin-top: 1rem; max-width: 22rem; line-height: 1.55; }
.footer-col h4 { font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a { color: var(--ink-soft); text-decoration: none; font-size: var(--fs-small); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid var(--paper-line); display: flex; justify-content: space-between; font-size: var(--fs-micro); color: var(--ink-mute); flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   ITEM PAGE — body.page-item
   ============================================================ */
.page-item .item-head { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--paper-line); }
.page-item .item-meta-line { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.page-item .item-number-badge { background: var(--civic); color: var(--invert-text); padding: 0.25rem 0.6rem; border-radius: 2px; }
:root[data-theme="dark"] .page-item .item-number-badge { color: #16140f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-item .item-number-badge { color: #16140f; } }
.page-item .item-section-tag, .page-item .item-meeting-date { color: var(--ink-mute); }
.page-item .item-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; color: var(--ink); }
.page-item .dollar-strip { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.page-item .dollar-card { background: var(--invert-bg); color: var(--invert-text); border-radius: 3px; padding: 1.1rem 1.5rem; min-width: 200px; border: 1px solid transparent; }
:root[data-theme="dark"] .page-item .dollar-card { border-color: var(--paper-line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-item .dollar-card { border-color: var(--paper-line); } }
.page-item .dollar-card.civic { background: var(--invert-bg-2); }
.page-item .dollar-label { font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--glow); font-weight: 600; margin-bottom: 0.35rem; }
.page-item .dollar-value { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.page-item .dollar-sub { font-size: var(--fs-micro); color: var(--invert-text-mute); margin-top: 0.4rem; }
.page-item .flags-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.page-item .body-grid { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; padding: 2.5rem 0 3rem; }
@media (max-width: 820px) { .page-item .body-grid { grid-template-columns: 1fr; gap: 2rem; } }
.page-item .summary-block { margin-bottom: 2rem; }
.page-item .summary-block:last-child { margin-bottom: 0; }
.page-item .block-label { font-size: var(--fs-micro); letter-spacing: 0.15em; text-transform: uppercase; color: var(--civic); font-weight: 700; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; }
.page-item .block-label::after { content: ''; flex: 1; height: 1px; background: var(--paper-line); }
.page-item .block-text { font-size: 1.125rem; line-height: 1.65; color: var(--ink); }
.page-item .block-text.lead { font-size: 1.25rem; line-height: 1.6; }
.page-item .block-text.muted { color: var(--ink-soft); font-size: var(--fs-body); }
.page-item .sidebar { font-size: var(--fs-small); }
.page-item .side-card { background: var(--paper-deep); border: 1px solid var(--paper-line); border-radius: 3px; padding: 1.25rem; margin-bottom: 1.25rem; }
.page-item .side-card:last-child { margin-bottom: 0; }
.page-item .side-label { font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; margin-bottom: 0.875rem; }
.page-item .side-row { padding: 0.6rem 0; border-bottom: 1px solid var(--paper-line); }
.page-item .side-row:first-of-type { padding-top: 0; }
.page-item .side-row:last-child { border-bottom: none; padding-bottom: 0; }
.page-item .side-row-label { font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 0.15rem; }
.page-item .side-row-value { color: var(--ink); font-weight: 500; }
.page-item .source-link { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0; border-bottom: 1px solid var(--paper-line); text-decoration: none; color: var(--civic); font-weight: 600; }
.page-item .source-link:last-child { border-bottom: none; }
.page-item .source-link:hover { color: var(--civic-deep); }
.page-item .source-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.page-item .raw-agenda { margin-top: 1rem; }
.page-item .raw-agenda summary { cursor: pointer; font-size: var(--fs-small); font-weight: 600; color: var(--ink-mute); padding: 0.75rem 0; list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.page-item .raw-agenda summary::-webkit-details-marker { display: none; }
.page-item .raw-agenda summary::before { content: '+'; font-family: 'JetBrains Mono', monospace; color: var(--civic); font-weight: 700; }
.page-item .raw-agenda[open] summary::before { content: '\2013'; }
.page-item .raw-agenda summary:hover { color: var(--ink); }
.page-item .raw-text { font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.7; padding: 0.75rem 0 0; border-top: 1px solid var(--paper-line); }

/* Flag chips (item + meeting) */
.flag { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--flag-bg); color: var(--flag-ink); border: 1px solid var(--flag-border); font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 2px; }
.flag::before { content: ''; width: 5px; height: 5px; background: var(--glow); border-radius: 50%; }

/* ============================================================
   MEETING PAGE — body.page-meeting
   ============================================================ */
.page-meeting .ai-disclosure { margin-bottom: 2rem; }
.page-meeting .meeting-head { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--paper-line); }
.page-meeting .meeting-eyebrow { font-size: var(--fs-micro); letter-spacing: 0.15em; text-transform: uppercase; color: var(--civic); font-weight: 700; margin-bottom: 0.75rem; }
.page-meeting .meeting-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 1.25rem; }
.page-meeting .meeting-facts { display: flex; gap: 2rem; flex-wrap: wrap; }
.page-meeting .mfact-label { font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 0.2rem; }
.page-meeting .mfact-value { font-weight: 600; color: var(--ink); }
.page-meeting .meeting-actions { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.page-meeting .glance { display: flex; gap: 1.25rem; flex-wrap: wrap; padding: 1.5rem 0; border-bottom: 1px solid var(--paper-line); }
.page-meeting .glance-num { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.page-meeting .glance-label { font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.page-meeting .glance-stat.flagged .glance-num { color: var(--glow); }
.page-meeting .agenda-section-label { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; padding: 1.75rem 0 0.5rem; }
.page-meeting .agenda-list { padding: 0.5rem 0 3rem; }
.page-meeting .agenda-row { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 1rem; align-items: start; padding: 1rem 0.75rem; border-bottom: 1px solid var(--paper-line); text-decoration: none; color: var(--ink); transition: background 120ms ease; border-radius: 3px; }
.page-meeting .agenda-row:hover { background: var(--row-hover); }
.page-meeting .agenda-row.procedural { opacity: 0.62; }
.page-meeting .agenda-row.significant { box-shadow: inset 3px 0 0 var(--glow); }
.page-meeting .row-num { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-small); color: var(--ink-mute); font-weight: 500; padding-top: 0.1rem; }
.page-meeting .row-main { min-width: 0; }
.page-meeting .row-title { font-weight: 600; font-size: 1.0625rem; line-height: 1.4; margin-bottom: 0.4rem; }
.page-meeting .row-flags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.page-meeting .row-amount { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.0625rem; color: var(--ink); white-space: nowrap; padding-top: 0.05rem; }
.page-meeting .row-amount.none { color: var(--ink-mute); font-weight: 400; font-size: var(--fs-small); }
@media (max-width: 620px) { .page-meeting .agenda-row { grid-template-columns: 2rem 1fr; } .page-meeting .row-amount { grid-column: 2; text-align: left; padding-top: 0.5rem; } }

/* ============================================================
   SUBSCRIBE PAGE — body.page-subscribe
   ============================================================ */
.page-subscribe .hero { padding: 3.5rem 0 1rem; text-align: center; }
.page-subscribe .hero-eyebrow { font-size: var(--fs-micro); letter-spacing: 0.15em; text-transform: uppercase; color: var(--civic); font-weight: 700; margin-bottom: 1rem; }
.page-subscribe .hero-h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 1rem; }
.page-subscribe .hero-lede { font-size: 1.1875rem; color: var(--ink-soft); line-height: 1.6; }
.page-subscribe .signup { background: var(--paper-deep); border: 1px solid var(--paper-line); border-radius: 4px; padding: 2rem; margin: 2.5rem 0; }
.page-subscribe .field-label { font-size: var(--fs-small); font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; display: block; }
.page-subscribe .field-input, .page-subscribe .field-select { width: 100%; font-family: inherit; font-size: 1.0625rem; padding: 0.8rem 1rem; border: 1px solid var(--paper-line); border-radius: 3px; background: var(--field-bg); color: var(--ink); margin-bottom: 1.25rem; }
.page-subscribe .field-input:focus, .page-subscribe .field-select:focus { outline: 2px solid var(--civic-soft); outline-offset: -1px; border-color: var(--civic); }
.page-subscribe .submit-btn { width: 100%; font-family: inherit; font-size: 1.0625rem; font-weight: 800; padding: 0.9rem; background: var(--glow); color: #1a1814; border: none; border-radius: 3px; cursor: pointer; transition: background 150ms ease; }
.page-subscribe .submit-btn:hover { background: var(--glow-soft); }
.page-subscribe .form-fine { font-size: var(--fs-small); color: var(--ink-mute); margin-top: 1rem; line-height: 1.5; text-align: center; }
.page-subscribe .form-error { background: var(--flag-bg); color: var(--flag-ink); border: 1px solid var(--flag-border); border-radius: 3px; padding: 0.7rem 1rem; margin-bottom: 1.25rem; font-size: var(--fs-small); font-weight: 600; }
.page-subscribe .promises { margin: 2.5rem 0; }
.page-subscribe .promise { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--paper-line); }
.page-subscribe .promise:last-child { border-bottom: none; }
.page-subscribe .promise-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--civic); }
.page-subscribe .promise-text { font-size: var(--fs-body); color: var(--ink-soft); line-height: 1.55; }
.page-subscribe .promise-text strong { color: var(--ink); font-weight: 700; }
.page-subscribe .honest-note { background: var(--paper-deep); border: 1px solid var(--paper-line); border-left: 3px solid var(--glow); border-radius: 3px; padding: 1.1rem 1.25rem; font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.6; margin-bottom: 3rem; }
.page-subscribe .honest-note strong { color: var(--ink); }

/* ============================================================
   JURISDICTION HOME — body.page-jurisdiction
   ============================================================ */
.page-jurisdiction .juris-head { padding: 2.25rem 0 1.75rem; border-bottom: 1px solid var(--paper-line); }
.page-jurisdiction .juris-eyebrow { font-size: var(--fs-micro); letter-spacing: 0.15em; text-transform: uppercase; color: var(--civic); font-weight: 700; margin-bottom: 0.6rem; }
.page-jurisdiction .juris-title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.page-jurisdiction .juris-desc { font-size: 1.125rem; color: var(--ink-soft); line-height: 1.6; max-width: 640px; }

.page-jurisdiction .search-bar { display: flex; gap: 0.6rem; margin-top: 1.5rem; max-width: 480px; }
.page-jurisdiction .search-input { flex: 1; font-family: inherit; font-size: 1rem; padding: 0.7rem 0.95rem; border: 1px solid var(--paper-line); border-radius: 3px; background: var(--field-bg); color: var(--ink); }
.page-jurisdiction .search-input:focus { outline: 2px solid var(--civic-soft); outline-offset: -1px; border-color: var(--civic); }
.page-jurisdiction .search-btn { font-family: inherit; font-size: var(--fs-small); font-weight: 700; padding: 0 1.1rem; background: var(--civic); color: #fff; border: none; border-radius: 3px; cursor: pointer; }
.page-jurisdiction .search-btn:hover { background: var(--civic-deep); }
:root[data-theme="dark"] .page-jurisdiction .search-btn { color: #16140f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-jurisdiction .search-btn { color: #16140f; } }

.page-jurisdiction .featured { margin: 2rem 0 0; }
.page-jurisdiction .featured-card { display: block; text-decoration: none; color: var(--ink); background: var(--invert-bg-2); border-radius: 4px; padding: 1.5rem 1.75rem; transition: transform 120ms ease; }
.page-jurisdiction .featured-card:hover { transform: translateY(-1px); }
.page-jurisdiction .featured-label { font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--glow-soft); font-weight: 700; margin-bottom: 0.5rem; }
.page-jurisdiction .featured-title { font-size: 1.4rem; font-weight: 800; color: #faf7f0; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.page-jurisdiction .featured-stats { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.page-jurisdiction .featured-stat-num { font-size: 1.25rem; font-weight: 800; color: #faf7f0; font-variant-numeric: tabular-nums; }
.page-jurisdiction .featured-stat-num.gold { color: var(--glow-soft); }
.page-jurisdiction .featured-stat-label { font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(250, 247, 240, 0.65); font-weight: 600; }
.page-jurisdiction .featured-cta { margin-top: 1rem; font-size: var(--fs-small); font-weight: 700; color: var(--glow-soft); }

.page-jurisdiction .section-head { display: flex; justify-content: space-between; align-items: baseline; padding: 2.5rem 0 0.25rem; gap: 1rem; flex-wrap: wrap; }
.page-jurisdiction .section-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.page-jurisdiction .section-link { font-size: var(--fs-small); font-weight: 600; }
.page-jurisdiction .section-note { font-size: var(--fs-small); color: var(--ink-mute); padding-top: 0.35rem; }

.page-jurisdiction .items-list { padding: 0.75rem 0 0; }
.page-jurisdiction .item-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; padding: 0.95rem 0.75rem; border-bottom: 1px solid var(--paper-line); text-decoration: none; color: var(--ink); transition: background 120ms ease; border-radius: 3px; }
.page-jurisdiction .item-row:hover { background: var(--row-hover); }
.page-jurisdiction .item-row.procedural { opacity: 0.6; }
.page-jurisdiction .item-row.significant { box-shadow: inset 3px 0 0 var(--glow); }
.page-jurisdiction .item-main { min-width: 0; }
.page-jurisdiction .item-title { font-weight: 600; font-size: 1.0625rem; line-height: 1.4; margin-bottom: 0.35rem; }
.page-jurisdiction .item-sub { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.page-jurisdiction .item-date { font-size: var(--fs-micro); color: var(--ink-mute); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-right: 0.25rem; }
.page-jurisdiction .flag { font-size: 0.6875rem; padding: 0.16rem 0.42rem; }
.page-jurisdiction .flag::before { width: 4px; height: 4px; }
.page-jurisdiction .item-amount { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.0625rem; white-space: nowrap; padding-top: 0.05rem; }
.page-jurisdiction .item-amount.none { color: var(--ink-mute); font-weight: 400; font-size: var(--fs-small); }
@media (max-width: 560px) {
  .page-jurisdiction .item-row { grid-template-columns: 1fr; }
  .page-jurisdiction .item-amount { text-align: left; padding-top: 0.4rem; }
}

.page-jurisdiction .meeting-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 0.75rem; border-bottom: 1px solid var(--paper-line); text-decoration: none; color: var(--ink); transition: background 120ms ease; border-radius: 3px; }
.page-jurisdiction .meeting-row:hover { background: var(--row-hover); }
.page-jurisdiction .meeting-row-title { font-weight: 600; }
.page-jurisdiction .meeting-row-meta { font-size: var(--fs-small); color: var(--ink-mute); }

.page-jurisdiction .sub-strip { margin: 2.75rem 0 0; background: var(--paper-deep); border: 1px solid var(--paper-line); border-left: 3px solid var(--glow); border-radius: 4px; padding: 1.5rem 1.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.page-jurisdiction .sub-strip-title { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 0.25rem; }
.page-jurisdiction .sub-strip-desc { font-size: var(--fs-small); color: var(--ink-soft); }
.page-jurisdiction .sub-strip-btn { display: inline-block; background: var(--glow); color: #1a1814; font-weight: 800; font-size: var(--fs-small); text-decoration: none; padding: 0.7rem 1.4rem; border-radius: 3px; white-space: nowrap; }
.page-jurisdiction .sub-strip-btn:hover { background: var(--glow-soft); color: #1a1814; }

.page-jurisdiction .ai-disclosure { margin: 2.5rem 0 3rem; }

/* ============================================================
   ABOUT — body.page-about
   ============================================================ */
.page-about { --measure: 680px; }
.page-about { line-height: 1.65; }
.page-about .about-hero { padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--paper-line); }
.page-about .about-eyebrow { font-size: var(--fs-micro); letter-spacing: 0.15em; text-transform: uppercase; color: var(--civic); font-weight: 700; margin-bottom: 0.75rem; }
.page-about .about-h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 1.25rem; max-width: var(--measure); }
.page-about .about-lede { font-size: 1.25rem; color: var(--ink-soft); line-height: 1.55; max-width: var(--measure); }

.page-about .prose { padding: 2.75rem 0 0; max-width: var(--measure); }
.page-about .prose h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.9rem; }
.page-about .prose h2:not(:first-child) { margin-top: 2.75rem; }
.page-about .prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.page-about .prose p strong { color: var(--ink); font-weight: 700; }

.page-about .steps { padding: 2.75rem 0 0; }
.page-about .steps-label { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.page-about .step { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1.1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--paper-line); border-right: none; }
.page-about .step:last-child { border-bottom: none; }
.page-about .step-num { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--civic); color: #fff; font-weight: 800; font-size: 1.05rem; font-family: inherit; letter-spacing: 0; margin-bottom: 0; display: flex; align-items: center; justify-content: center; }
:root[data-theme="dark"] .page-about .step-num { color: #16140f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-about .step-num { color: #16140f; } }
.page-about .step-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.page-about .step-body p { color: var(--ink-soft); font-size: var(--fs-body); }

.page-about .principles { padding: 2.75rem 0 0; }
.page-about .principles-label { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.page-about .principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .page-about .principle-grid { grid-template-columns: 1fr; } }
.page-about .principle { background: var(--paper-deep); border: 1px solid var(--paper-line); border-radius: 4px; padding: 1.25rem; }
.page-about .principle-icon { width: 22px; height: 22px; color: var(--civic); margin-bottom: 0.6rem; }
.page-about .principle h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.page-about .principle p { font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.55; }

.page-about .limits { margin: 2.75rem 0 0; max-width: var(--measure); background: var(--paper-deep); border: 1px solid var(--paper-line); border-left: 3px solid var(--glow); border-radius: 4px; padding: 1.5rem 1.6rem; }
.page-about .limits h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.6rem; }
.page-about .limits p { font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.6; margin-bottom: 0.6rem; }
.page-about .limits p:last-child { margin-bottom: 0; }
.page-about .limits strong { color: var(--ink); }

.page-about .about-cta { margin: 3rem 0 3.5rem; max-width: var(--measure); background: var(--invert-bg-2); border-radius: 4px; padding: 2rem; text-align: center; }
.page-about .about-cta h2 { color: #faf7f0; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.page-about .about-cta p { color: rgba(250, 247, 240, 0.8); font-size: var(--fs-body); margin-bottom: 1.25rem; }
.page-about .cta-btn { display: inline-block; background: var(--glow); color: #1a1814; font-weight: 800; font-size: 1rem; text-decoration: none; padding: 0.8rem 1.8rem; border-radius: 3px; }
.page-about .cta-btn:hover { background: var(--glow-soft); color: #1a1814; }

/* ============================================================
   REPRESENTATIVES — roster (page-representatives) + profile (page-representative)
   ============================================================ */
.page-representatives .reps-head { padding: 1.5rem 0 0.5rem; }
.page-representatives .reps-title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.page-representatives .reps-intro { font-size: var(--fs-body); color: var(--ink-soft); max-width: 60ch; margin-top: 0.5rem; }
.page-representatives .reps-empty { color: var(--ink-mute); padding: 2rem 0; }
.page-representatives .reps-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.5rem 0 3rem; }
@media (max-width: 820px) { .page-representatives .reps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .page-representatives .reps-grid { grid-template-columns: 1fr; } }
.rep-card { background: var(--paper-deep); border: 1px solid var(--paper-line); border-radius: 3px; transition: border-color 0.15s; }
.rep-card:hover { border-color: var(--civic-soft); }
.rep-card-link { display: flex; align-items: center; gap: 0.9rem; padding: 1rem; text-decoration: none; color: inherit; }
.rep-card-body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.rep-avatar { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--civic); display: flex; align-items: center; justify-content: center; }
.rep-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rep-avatar-initials { color: #faf7f0; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.rep-seat { font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--civic); font-weight: 700; }
.rep-name { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.rep-role { font-size: var(--fs-small); color: var(--ink-mute); }

.page-representative .body-grid { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; padding: 1.5rem 0 3rem; }
@media (max-width: 820px) { .page-representative .body-grid { grid-template-columns: 1fr; gap: 2rem; } }
.page-representative .rep-profile-head { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 0 0.5rem; }
.page-representative .rep-avatar-lg { width: 88px; height: 88px; }
.page-representative .rep-avatar-lg .rep-avatar-initials { font-size: 1.8rem; }
.page-representative .rep-profile-name { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 0.15rem 0; }
.page-representative .rep-profile-role { color: var(--ink-soft); font-size: var(--fs-body); }
.page-representative .sidebar { font-size: var(--fs-small); }
.page-representative .side-card { background: var(--paper-deep); border: 1px solid var(--paper-line); border-radius: 3px; padding: 1.25rem; margin-bottom: 1.25rem; }
.page-representative .side-card:last-child { margin-bottom: 0; }
.page-representative .side-label { font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; margin-bottom: 0.875rem; }
.page-representative .side-row { padding: 0.6rem 0; border-bottom: 1px solid var(--paper-line); }
.page-representative .side-row:first-of-type { padding-top: 0; }
.page-representative .side-row:last-child { border-bottom: none; padding-bottom: 0; }
.page-representative .side-row-label { font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 0.15rem; }
.page-representative .side-row-value { color: var(--ink); font-weight: 500; }
.page-representative .side-row-value a, .page-representative .source-link { color: var(--civic); text-decoration: none; font-weight: 600; }
.page-representative .source-link { display: flex; align-items: center; gap: 0.5rem; padding-top: 0.7rem; }
.page-representative .source-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.page-representative .summary-block { margin-bottom: 2rem; }
.page-representative .block-label { font-size: var(--fs-micro); letter-spacing: 0.15em; text-transform: uppercase; color: var(--civic); font-weight: 700; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; }
.page-representative .block-label::after { content: ''; flex: 1; height: 1px; background: var(--paper-line); }
.page-representative .block-text { font-size: var(--fs-body); line-height: 1.65; color: var(--ink); }
.page-representative .block-text.muted { color: var(--ink-mute); }
.page-representative .rep-votes { list-style: none; }
.page-representative .rep-vote-row { display: flex; align-items: baseline; gap: 0.9rem; padding: 0.7rem 0; border-bottom: 1px solid var(--paper-line); }
.page-representative .rep-vote-row:last-child { border-bottom: none; }
.page-representative .rep-vote-mark { flex-shrink: 0; min-width: 5.5rem; font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.page-representative .rep-vote-item a { color: var(--ink); text-decoration: none; font-weight: 600; }
.page-representative .rep-vote-item a:hover { color: var(--civic); }
.page-representative .rep-vote-date { display: block; font-size: var(--fs-small); color: var(--ink-mute); }
.vote-aye { color: #2e7d4f; }
.vote-nay { color: #b3402e; }
.vote-abstain, .vote-absent { color: var(--ink-mute); }

/* Item-page "Your representatives" sidebar list. */
.page-item .side-note { font-size: var(--fs-small); color: var(--ink-mute); margin-bottom: 0.75rem; }
.page-item .side-reps { list-style: none; }
.page-item .side-reps li { border-bottom: 1px solid var(--paper-line); }
.page-item .side-reps li:last-child { border-bottom: none; }
.page-item .side-reps a { display: flex; flex-direction: column; gap: 0.05rem; padding: 0.5rem 0; text-decoration: none; }
.page-item .side-rep-seat { font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.page-item .side-rep-name { color: var(--civic); font-weight: 600; }
.page-item .side-reps a:hover .side-rep-name { color: var(--civic-deep); }
.page-item .side-reps-all { display: inline-block; margin-top: 0.875rem; color: var(--civic); text-decoration: none; font-weight: 600; font-size: var(--fs-small); }

/* Factual roll-call result on the item page — the public record, neutrally shown. */
.page-item .summary-block.rollcall { background: var(--paper-deep); border: 1px solid var(--paper-line); border-radius: 3px; padding: 1.25rem 1.5rem; }
.page-item .rollcall-result { font-size: 1.125rem; font-weight: 700; color: var(--ink); margin-bottom: 0.25rem; }
.page-item .rollcall-motion { font-size: var(--fs-small); color: var(--ink-mute); margin-bottom: 1rem; }
.page-item .rollcall-group { display: flex; gap: 0.9rem; align-items: baseline; padding: 0.6rem 0; border-top: 1px solid var(--paper-line); }
.page-item .rollcall-tag { flex-shrink: 0; min-width: 6.5rem; font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.page-item .rollcall-names { font-size: var(--fs-small); line-height: 1.6; color: var(--ink-soft); }
.page-item .rollcall-names a { color: var(--civic); text-decoration: none; }
.page-item .rollcall-names a:hover { text-decoration: underline; }
.page-item .rollcall-source { margin-top: 1rem; font-size: var(--fs-small); color: var(--ink-mute); }
.page-item .rollcall-source a { color: var(--civic); text-decoration: none; font-weight: 600; }

/* Per-measure feedback form (item page). Private channel — not published. */
.page-item .feedback { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--paper-line); }
.page-item .feedback-intro { font-size: var(--fs-small); color: var(--ink-mute); margin-bottom: 1rem; max-width: 60ch; }
.page-item .feedback-notice { padding: 0.7rem 1rem; border-radius: 3px; font-size: var(--fs-small); margin-bottom: 1rem; }
.page-item .feedback-notice.is-ok { background: var(--flag-bg); color: var(--flag-ink); border: 1px solid var(--flag-border); }
.page-item .feedback-notice.is-error { background: #fbeae7; color: #b3402e; border: 1px solid #f0cfc8; }
:root[data-theme="dark"] .page-item .feedback-notice.is-error { background: #2c1c19; border-color: #4a2a24; color: #e0a99e; }
.page-item .feedback-label { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--ink-soft); margin: 0.75rem 0 0.3rem; }
.page-item .feedback-form textarea,
.page-item .feedback-form input[type="email"] { width: 100%; max-width: 540px; font: inherit; font-size: var(--fs-body); color: var(--ink); background: var(--field-bg); border: 1px solid var(--paper-line); border-radius: 3px; padding: 0.6rem 0.75rem; }
.page-item .feedback-form textarea:focus,
.page-item .feedback-form input:focus { outline: 2px solid var(--civic-soft); outline-offset: 1px; }
.page-item .feedback-form button { margin-top: 1rem; }
.page-item .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Masthead jurisdiction switcher (in the dark topbar). JS-free <details>. */
.switcher { position: relative; }
.switcher > summary { display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; list-style: none; color: var(--invert-text); }
.switcher > summary::-webkit-details-marker { display: none; }
.switcher-flag { width: 14px; height: 14px; flex-shrink: 0; background: linear-gradient(180deg, var(--glow) 0%, var(--glow) 33%, var(--invert-text) 33%, var(--invert-text) 66%, var(--civic-soft) 66%, var(--civic-soft) 100%); border-radius: 2px; }
.switcher-caret { width: 13px; height: 13px; transition: transform 0.15s; }
.switcher[open] > summary .switcher-caret { transform: rotate(180deg); }
.switcher-panel { position: absolute; top: calc(100% + 0.5rem); left: 0; z-index: 50; min-width: 250px; max-height: 70vh; overflow-y: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--paper-line); border-radius: 4px; box-shadow: 0 8px 28px rgba(0,0,0,0.18); padding: 0.5rem; text-transform: none; letter-spacing: normal; }
.switcher-state { padding: 0.35rem 0; }
.switcher-state-name { display: block; font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; text-decoration: none; padding: 0.35rem 0.6rem; }
.switcher-state-name:hover { color: var(--civic); }
.switcher-state ul { list-style: none; }
.switcher-state li a { display: flex; flex-direction: column; gap: 0.05rem; padding: 0.45rem 0.6rem; border-radius: 3px; text-decoration: none; color: var(--ink); }
.switcher-state li a:hover { background: var(--row-hover); }
.switcher-city { font-weight: 600; font-size: var(--fs-small); }
.switcher-where { font-size: var(--fs-micro); color: var(--ink-mute); text-transform: none; letter-spacing: normal; }
.switcher-empty { padding: 0.6rem; font-size: var(--fs-small); color: var(--ink-mute); }
.switcher-footer { display: flex; flex-direction: column; gap: 0.3rem; border-top: 1px solid var(--paper-line); margin-top: 0.4rem; padding: 0.5rem 0.6rem 0.3rem; }
.switcher-footer a { font-size: var(--fs-small); color: var(--civic); text-decoration: none; font-weight: 600; }

/* State directory page reuses the representatives roster grid + header. */
.page-state .reps-head { padding: 1.5rem 0 0.5rem; }
.page-state .reps-title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.page-state .reps-intro { font-size: var(--fs-body); color: var(--ink-soft); max-width: 60ch; margin-top: 0.5rem; }
.page-state .reps-empty { color: var(--ink-mute); padding: 2rem 0; }
.page-state .reps-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.5rem 0 3rem; }
@media (max-width: 820px) { .page-state .reps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .page-state .reps-grid { grid-template-columns: 1fr; } }
