:root {
  --ink: #1c2430;
  --muted: #5b6474;
  --paper: #ffffff;
  --canvas: #f4f5f7;
  --line: #d8dce2;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --warn-bg: #fffbeb;
  --warn-border: #fde68a;
  --warn-ink: #78350f;
  --ok: #166534;
  --danger: #b91c1c;
  --radius: 12px;
  font-size: 17px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.dev-banner {
  background: #111827;
  color: #fde68a;
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 16px;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 22px;
}

.wordmark {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0;
}

.tagline {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 1.02rem;
}

main.wrap { padding-top: 24px; padding-bottom: 48px; }

h1 { font-size: 1.3rem; margin: 0 0 14px; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }

a { color: var(--accent); }

.disclaimer-card, .ask-card, .answer-card, .coverage-card, .correction-card, .info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
}

.disclaimer-card {
  background: #eef2ff;
  border-color: #c7d2fe;
  font-size: 0.95rem;
}

.scope-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: -4px 0 14px;
}

textarea, input[type="text"], input[type="url"], input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  margin-bottom: 12px;
}

textarea { min-height: 90px; resize: vertical; }

label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.ask-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

button:disabled { opacity: 0.55; cursor: not-allowed; }

.ask-status { font-size: 0.9rem; color: var(--muted); }
.ask-status.error { color: var(--danger); }
.ask-status.ok { color: var(--ok); }

.examples { margin-top: 16px; }
.examples-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.examples-group + .examples-group { margin-top: 14px; }

.example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.example-chip {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
}
.example-chip:hover { background: #eef2ff; }

.clarification-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 16px 0 10px;
}
.clarification-option {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 76px;
  padding: 13px 15px;
  text-align: left;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.clarification-option span { font-weight: 750; }
.clarification-option small { color: var(--muted); line-height: 1.35; }
.clarification-option:hover, .clarification-option:focus-visible {
  background: #eef2ff;
  border-color: var(--accent);
}
.clarification-option.selected { background: #e0f2fe; border-color: #0284c7; }
.clarification-option:disabled { cursor: wait; opacity: 0.62; }
.clarification-reword { border-style: dashed; }
.clarification-note { margin-top: 12px; }
.clarification-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: -2px 0 14px;
  padding: 9px 12px;
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
  border-radius: 0 8px 8px 0;
}
.clarification-selection span { color: var(--muted); font-size: 0.86rem; }

/* ---- answer ---- */

.mode-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  margin-bottom: 12px;
}

.reviewed-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  margin: 0 6px 12px 0;
}

.public-body-badge {
  display: inline-block;
  margin: 0 6px 12px 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 0.75rem;
  font-weight: 750;
}

.jurisdiction-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #c4b5fd;
  border-left: 4px solid #6d28d9;
  border-radius: 9px;
  background: #f5f3ff;
}
.jurisdiction-notice div { display: grid; gap: 3px; }
.jurisdiction-notice span { color: #6d28d9; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.jurisdiction-notice strong { color: #312e81; }
.jurisdiction-notice p { margin: 0; color: #4c1d95; font-size: 0.9rem; }
.jurisdiction-notice a { flex: 0 0 auto; color: #5b21b6; font-size: 0.88rem; font-weight: 750; }

@media (max-width: 680px) {
  .jurisdiction-notice { align-items: flex-start; flex-direction: column; }
}

.turnstile-slot { margin-top: 14px; min-height: 65px; }
.turnstile-slot[hidden] { display: none; }
.turnstile-status {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.turnstile-status[hidden] { display: none; }
.turnstile-status.ok { color: var(--ok); }
.turnstile-status.error { color: var(--danger); }

.status-banner {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.status-banner.incomplete {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-ink);
}

.status-banner.held {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--danger);
}

.status-banner.answered {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--ok);
}

.reframed-question {
  margin: 0 0 14px;
  padding: 13px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
}
.reframed-question p { margin: 0; }
.reframed-question p + p { margin-top: 8px; }
.reframed-question-text span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.record-points {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.record-points li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.record-points li:last-child { border-bottom: none; }

.vote-cards {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.record-points .vote-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.vote-card-date {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.vote-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.35;
}
.vote-card-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}
.vote-card-details div {
  padding: 9px 10px;
  border-radius: 7px;
  background: #f8fafc;
}
.vote-card-details dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.vote-card-details dd {
  margin: 3px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.vote-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vote-sides p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 0.9rem;
}
.vote-sides strong {
  display: block;
  margin-bottom: 3px;
}
.vote-for { background: #ecfdf5; }
.vote-against { background: #fef2f2; }

.agreement-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.record-points .agreement-card {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.agreement-pair {
  min-height: 2.7em;
  font-weight: 700;
  line-height: 1.35;
}
.agreement-pair span {
  color: var(--muted);
  font-weight: 500;
}
.agreement-result {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}
.agreement-result strong {
  color: var(--accent);
  font-size: 1.55rem;
  line-height: 1;
}
.agreement-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.calculation-source p { margin-bottom: 0; }

.record-points .analysis-card {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.analysis-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}
.analysis-card > ul {
  margin: 9px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.87rem;
}
.analysis-card > ul li {
  padding: 2px 0;
  border: 0;
}

@media (max-width: 680px) {
  .vote-card-details,
  .vote-sides,
  .agreement-list { grid-template-columns: 1fr; }
  .agreement-pair { min-height: 0; }
}

.citation-links {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
}
.citation-links a { margin-right: 10px; }

.limitations-list {
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--muted);
}

.sources-block { margin-top: 16px; }
.sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sources-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}
.sources-list li:last-child { border-bottom: none; }

.correction-shortcut {
  margin-top: 16px;
  font-size: 0.9rem;
}
.correction-shortcut button {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
  font-weight: 600;
  padding: 8px 14px;
}

/* ---- coverage ---- */

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin-bottom: 14px;
}

@media (max-width: 520px) {
  .coverage-grid { grid-template-columns: 1fr; }
}

.coverage-item .value {
  font-size: 1.3rem;
  font-weight: 800;
}
.coverage-item .label {
  font-size: 0.82rem;
  color: var(--muted);
}

.coverage-notes {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 40px;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.info-card h2 { margin-top: 22px; }
.info-card h2:first-child { margin-top: 0; }
.info-card ul { padding-left: 22px; }
.back-link { display: inline-block; margin-bottom: 18px; font-weight: 700; }

/* ---- 2026 homepage refresh ---- */

:root {
  --ink: #101522;
  --muted: #626978;
  --paper: #ffffff;
  --canvas: #f3f1ec;
  --line: #dcd9d1;
  --accent: #6d4aff;
  --accent-ink: #ffffff;
  --electric: #c9ff4a;
  --night: #0d1220;
  --radius: 20px;
}

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
}

.dev-banner {
  position: relative;
  z-index: 5;
  background: var(--electric);
  color: var(--night);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  padding: 7px 16px;
}

.site-header {
  position: relative;
  z-index: 3;
  padding: 0;
  background: var(--night);
  border: 0;
}

.site-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.wordmark span { color: var(--electric); }

.beta-pill {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.site-nav-actions { display: flex; align-items: center; gap: 10px; }
.site-nav-link { padding: 7px 10px; border-radius: 999px; color: rgba(255,255,255,.72); font-size: .74rem; font-weight: 750; text-decoration: none; }
.site-nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }

main.wrap { padding-top: 0; padding-bottom: 0; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 54px 0 72px;
  background: #06172c;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/images/kingsville/profile-shoreline-dusk.webp");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4,17,34,.9) 0%, rgba(4,17,34,.62) 35%, rgba(4,17,34,.16) 72%, rgba(4,17,34,.04) 100%),
    linear-gradient(0deg, rgba(4,17,34,.76) 0%, rgba(4,17,34,.18) 48%, rgba(4,17,34,.06) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--electric);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.dark { color: #6d4aff; }

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.067em;
}

.hero h1 span { color: var(--electric); }

.hero-lede {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
  line-height: 1.6;
}

.term-badge {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.term-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: var(--electric);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(201, 255, 74, 0.13);
}

.term-badge strong,
.term-badge span { display: block; }
.term-badge strong { font-size: 0.82rem; }
.term-badge div span { margin-top: 1px; color: rgba(255, 255, 255, 0.62); font-size: 0.76rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.76rem;
  font-weight: 650;
}

.trust-row span::before { content: "✓"; margin-right: 6px; color: var(--electric); }

.ask-card {
  position: relative;
  margin: 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
}

.ask-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.ask-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background: var(--night);
  color: var(--electric);
  font-size: 0.72rem;
  font-weight: 850;
}

.ask-card h2 { margin: 0; font-size: 1.25rem; letter-spacing: -0.025em; }
.ask-card-heading p { margin: 4px 0 0; color: var(--muted); font-size: 0.84rem; line-height: 1.45; }

.ask-card textarea {
  min-height: 132px;
  margin-bottom: 12px;
  padding: 15px 16px;
  border: 1px solid #d7d4cd;
  border-radius: 14px;
  background: #f7f6f2;
  font-size: 1.02rem;
  line-height: 1.45;
}

textarea:focus, input:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(109, 74, 255, 0.25);
  outline-offset: 2px;
}

.ask-card button,
.follow-up-form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--electric);
  color: var(--night);
  font-weight: 850;
}

.ask-card button:hover,
.follow-up-form button:hover { background: #d7ff77; transform: translateY(-1px); }

.prompt-starter {
  margin: 0 0 16px;
  padding: 13px;
  border: 1px solid #dedbe7;
  border-radius: 14px;
  background: #f7f6fb;
}

.prompt-starter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: #343047;
  font-size: 0.76rem;
}

.ask-card .prompt-toggle {
  width: auto;
  min-height: auto;
  padding: 2px 0;
  border-radius: 0;
  background: transparent;
  color: #674ee0;
  font-size: 0.7rem;
  font-weight: 800;
}

.ask-card .prompt-toggle:hover {
  background: transparent;
  color: #3f28af;
  transform: none;
}

.prompt-question-grid {
  display: grid;
  gap: 6px;
}

.ask-card .prompt-question {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 1px 0 rgba(18, 21, 32, 0.04);
}

.ask-card .prompt-question:hover {
  border-color: #aa9cf2;
  background: #fff;
  transform: translateX(2px);
}

.prompt-question[hidden] { display: none !important; }

.prompt-icon {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--night);
  color: var(--electric);
  font-size: 0.62rem;
  font-weight: 900;
}

.prompt-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.prompt-text {
  font-size: 0.73rem;
  font-weight: 760;
  line-height: 1.25;
}

.prompt-arrow { color: #755ce4; font-size: 1rem; font-weight: 900; }

.beta-note {
  margin: 16px 0 0;
  color: #878c97;
  font-size: 0.72rem;
  text-align: center;
}

.content-wrap { padding-top: 70px; padding-bottom: 80px; }

.home-council {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 42px;
  align-items: center;
  margin: 0 0 68px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #d9d5cc;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(18,21,32,.06);
}
.home-council h2 { margin: 0; font-size: clamp(2rem,4vw,3rem); line-height: 1; letter-spacing: -.055em; }
.home-council-copy > p:not(.eyebrow) { margin: 15px 0 20px; color: var(--muted); font-size: .86rem; }
.home-council-copy > a { color: #684fd4; font-size: .82rem; font-weight: 850; text-decoration: none; }
.home-council-copy > a span { margin-left: 5px; }
.home-council-members { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.home-council-members a { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 9px 4px; border-radius: 13px; color: var(--ink); font-size: .62rem; font-weight: 760; line-height: 1.15; text-align: center; text-decoration: none; }
.home-council-members a:hover { background: #f2effb; }
.home-council-members img { width: 54px; height: 54px; border-radius: 15px; object-fit: cover; object-position: top center; background: #eceaf3; }

.answer-card {
  margin: 0 0 64px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #d9d5cd;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(18, 21, 32, 0.08);
}

.answer-shell { max-width: 920px; margin: 0 auto; }
.answer-heading { margin: 24px 0 8px; }
.answer-heading h2 {
  max-width: 800px;
  margin: 5px 0 0;
  font-size: clamp(1.65rem, 4vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.answer-section-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.answer-section-block h2 { margin-bottom: 9px; font-size: 1.15rem; }
.answer-section-block > p { max-width: 760px; }
.short-answer-block {
  margin-top: 18px;
  padding: 21px 22px;
  border: 0;
  border-radius: 16px;
  background: var(--night);
  color: #fff;
}
.short-answer-block h2 { color: var(--electric); font-size: 0.76rem; letter-spacing: .08em; text-transform: uppercase; }
.short-answer-block p { margin: 0; font-size: clamp(1.08rem, 2.4vw, 1.35rem); line-height: 1.55; }
.why-matters {
  padding: 18px 20px;
  border: 1px solid #d9d0ff;
  border-left: 4px solid #6d4aff;
  border-radius: 12px;
  background: #f5f2ff;
}
.why-matters h2 { color: #4c36ad; }
.timeline-block .record-points li { position: relative; padding-left: 22px; }
.timeline-block .record-points li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6d4aff;
}
.councillor-inline-link { color: inherit; font-weight: 780; text-decoration-color: #9a89e8; text-underline-offset: 2px; }
.related-block > p { color: var(--muted); font-size: .88rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.related-question,
.related-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 68px;
  padding: 14px 16px;
  border: 1px solid #d9d5e8;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 760;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
}
.related-question:hover,
.related-profile:hover { border-color: #9f8df2; background: #f7f5ff; }
.answer-follow-up {
  padding: 20px;
  border: 0;
  border-radius: 14px;
  background: #eefcf1;
}
.answer-follow-up-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.answer-follow-up-actions button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #a7d8b1;
  border-radius: 9px;
  background: #fff;
  color: #14532d;
  font: inherit;
  font-size: .86rem;
  font-weight: 760;
}
.answer-follow-up-actions button:first-child { border-color: #166534; background: #166534; color: #fff; }

@media (max-width: 680px) {
  .related-grid { grid-template-columns: 1fr; }
  .short-answer-block { padding: 18px; }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading > p { max-width: 290px; margin: 0; color: var(--muted); font-size: 0.88rem; }

.featured-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.featured-question {
  min-height: 124px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 16px;
  padding: 22px;
  border: 1px solid #dad7cf;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-size: 1.06rem;
  font-weight: 760;
  line-height: 1.35;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.featured-question:first-child {
  grid-column: 1 / -1;
  min-height: 104px;
  align-items: center;
  background: var(--night);
  border-color: var(--night);
  color: #fff;
  font-size: 1.25rem;
}

.featured-question:hover {
  transform: translateY(-3px);
  border-color: #a89cff;
  box-shadow: 0 18px 34px rgba(22, 18, 50, 0.1);
}

.featured-number {
  color: #7d6aff;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.featured-question:first-child .featured-number { color: var(--electric); }
.featured-arrow { color: #8e849e; font-size: 1.15rem; }
.featured-question:first-child .featured-arrow { color: var(--electric); }

.compact-coverage {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 64px 0;
  padding: 25px 28px;
  border: 0;
  border-radius: 18px;
  background: var(--electric);
}

.compact-coverage p { margin: 0; }
.compact-coverage .muted { margin-top: 3px; color: #475019; font-size: 0.82rem; }
.coverage-kicker { display: block; margin-bottom: 5px; font-size: 0.66rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.compact-coverage > a { color: var(--night); font-size: 0.82rem; font-weight: 800; white-space: nowrap; }

.how-it-works { margin: 0 0 70px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.principle-grid article { padding: 24px; border-top: 2px solid var(--ink); background: rgba(255,255,255,0.52); }
.principle-grid article > span { color: #765fff; font-size: 0.7rem; font-weight: 850; }
.principle-grid h3 { margin: 28px 0 7px; font-size: 1.08rem; }
.principle-grid p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.follow-up-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  margin: 0;
  padding: clamp(28px, 5vw, 54px);
  border: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 100%, rgba(109, 74, 255, 0.48), transparent 40%),
    var(--night);
  color: #fff;
}

.follow-up-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.follow-up-copy > p:last-child { margin-top: 20px; color: rgba(255,255,255,0.65); font-size: 0.94rem; }
.follow-up-form label { color: rgba(255,255,255,0.82); font-size: 0.8rem; }
.follow-up-form textarea,
.follow-up-form input[type="text"],
.follow-up-form input[type="email"] {
  min-height: 48px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.09);
  color: #fff;
}
.follow-up-form label > span { color: rgba(255,255,255,0.55); }
.follow-up-form .follow-up-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin: 2px 0 18px;
  font-size: .82rem;
  line-height: 1.45;
}
.follow-up-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--electric); }
.follow-up-consent span { color: rgba(255,255,255,0.78) !important; }
.follow-up-form textarea { min-height: 84px; }
.follow-up-form textarea::placeholder,
.follow-up-form input::placeholder { color: rgba(255,255,255,0.38); }
.follow-up-form .ask-status { color: rgba(255,255,255,0.7); }
.follow-up-form .ask-status.ok { color: var(--electric); }
.follow-up-form .ask-status.error { color: #ffaaaa; }
.follow-up-form .turnstile-status { color: rgba(255,255,255,0.62); }
.form-privacy { margin: 12px 0 0; color: rgba(255,255,255,0.42); font-size: 0.7rem; }

.site-footer {
  padding: 38px 0 48px;
  border: 0;
  background: #080c16;
  color: rgba(255,255,255,0.52);
}
.site-footer strong { color: #fff; }
.site-footer a { color: var(--electric); }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0; }
.footer-social a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 9px; text-decoration: none; }
.footer-social a:hover { border-color: var(--electric); }
.site-header a:focus-visible, .site-footer a:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 700px; }
  .follow-up-card { grid-template-columns: 1fr; gap: 30px; }
  .home-council { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 680px) {
  .wrap { width: 100%; padding-right: 14px; padding-left: 14px; }
  .site-nav { min-height: 64px; }
  .beta-pill { font-size: 0.61rem; }
  .site-nav-actions { gap: 5px; }
  .site-nav-link { font-size: .65rem; }
  .beta-pill { display: none; }
  .hero { padding: 30px 0 46px; }
  .hero::before { height: 520px; background-position: 72% top; background-size: auto 520px; opacity: 1; mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%); }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(4,17,34,.9) 0%, rgba(4,17,34,.58) 58%, rgba(4,17,34,.08) 100%),
      linear-gradient(0deg, rgba(4,17,34,.82) 0%, rgba(4,17,34,.16) 55%, rgba(4,17,34,.03) 100%);
  }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.35rem); }
  .hero-lede { margin-top: 20px; font-size: 1rem; }
  .trust-row { display: grid; gap: 7px; }
  .ask-card { padding: 20px; border-radius: 20px; }
  .ask-card-heading { gap: 10px; }
  .content-wrap { padding-top: 48px; padding-bottom: 56px; }
  .home-council { margin-bottom: 48px; padding: 22px 16px; border-radius: 19px; }
  .home-council-members { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 5px; scroll-snap-type: x mandatory; }
  .home-council-members a { min-width: 82px; scroll-snap-align: start; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 10px; }
  .featured-question-grid { grid-template-columns: 1fr; }
  .featured-question:first-child { grid-column: auto; min-height: 124px; align-items: start; }
  .compact-coverage { grid-template-columns: 1fr; gap: 12px; margin: 48px 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 150px; }
  .follow-up-card { padding: 26px 20px; border-radius: 20px; }
  .follow-up-form button, .ask-card button { width: 100%; }
  .ask-card .prompt-toggle { width: auto; }
}

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

/* ---- civic gameboard homepage ---- */

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.85rem, 5.6vw, 5.15rem);
  line-height: 0.98;
}

.featured-section { margin-bottom: 76px; }

.featured-question,
.featured-question:first-child {
  grid-column: auto;
  min-height: 154px;
  align-items: start;
  background: #fff;
  border-color: #d8d4ca;
  color: var(--ink);
  font-size: 1rem;
}

.featured-question:nth-child(1),
.featured-question:nth-child(6) {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}

.featured-question:nth-child(3),
.featured-question:nth-child(8) {
  background: #e7ffad;
  border-color: #c6eb6f;
}

.featured-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-tag {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #7158e8;
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.featured-question:nth-child(1) .featured-tag,
.featured-question:nth-child(6) .featured-tag,
.featured-question:nth-child(1) .featured-number,
.featured-question:nth-child(6) .featured-number,
.featured-question:nth-child(1) .featured-arrow,
.featured-question:nth-child(6) .featured-arrow { color: var(--electric); }

.featured-text { line-height: 1.35; }

.featured-arrow {
  align-self: end;
  color: #7665d5;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.council-pulse { margin-bottom: 68px; }
.pulse-heading { margin-bottom: 28px; }

.pulse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.pulse-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #d8d4ca;
  border-radius: 24px;
  background: #fff;
}

.agenda-card {
  background:
    radial-gradient(circle at 110% -10%, rgba(201, 255, 74, 0.22), transparent 38%),
    var(--night);
  border-color: var(--night);
  color: #fff;
}

.pulse-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
}

.pulse-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--electric);
  color: var(--night);
  font-size: 1.2rem;
  font-weight: 900;
}

.pulse-status {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pulse-status.waiting { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.72); }
.pulse-status.posted { background: #e7ffad; color: #33400f; }
.pulse-kicker { margin: 0 0 8px; color: #7764d8; font-size: 0.67rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.agenda-card .pulse-kicker { color: var(--electric); }

.pulse-card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.meeting-time { margin: 20px 0; }
.meeting-time strong, .meeting-time span { display: block; }
.meeting-time strong { font-size: 1.06rem; }
.meeting-time span { margin-top: 2px; color: rgba(255,255,255,0.58); font-size: 0.82rem; }

.agenda-waiting {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 26px 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 16px;
  background: rgba(255,255,255,0.065);
}

.calendar-tile {
  width: 60px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--electric);
  color: var(--night);
  font-size: 0.62rem;
  font-weight: 900;
}
.calendar-tile strong { font-size: 1.55rem; line-height: 1; }
.agenda-waiting p { margin: 4px 0 0; color: rgba(255,255,255,0.55); font-size: 0.78rem; line-height: 1.45; }

.agenda-lede {
  max-width: 720px;
  margin: -4px 0 24px;
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.55;
}

.agenda-story-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.agenda-story {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.07);
}

.agenda-story-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.agenda-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--electric);
  color: var(--night);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.agenda-story h4 {
  margin: 1px 0 0;
  color: #fff;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.agenda-story-detail {
  margin: 17px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.58;
}

.agenda-stake,
.agenda-choice {
  margin: 15px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.52;
}

.agenda-stake {
  padding-left: 13px;
  border-left: 3px solid var(--electric);
}

.agenda-stake strong,
.agenda-choice strong { color: #fff; }

.agenda-official {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.63);
  font-size: 0.79rem;
  line-height: 1.5;
}

.agenda-official summary {
  cursor: pointer;
  color: var(--electric);
  font-weight: 850;
}

.agenda-official > strong { display: block; margin-top: 12px; color: #fff; }
.agenda-official p { margin: 7px 0 0; }

.agenda-also {
  margin: 8px 0 26px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: rgba(201,255,74,0.07);
}

.agenda-also h4 { margin: 0; color: var(--electric); font-size: 1rem; }
.agenda-also ul { margin: 12px 0 0; padding-left: 20px; }
.agenda-also li { margin-top: 8px; color: rgba(255,255,255,0.76); font-size: 0.9rem; line-height: 1.5; }

.decision-feed { list-style: none; padding: 0; margin: 22px 0 24px; }
.decision-feed li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid #e7e3da; }
.decision-feed li > span { color: #775ee9; font-size: 0.64rem; font-weight: 900; }
.decision-feed strong { display: block; font-size: 0.9rem; line-height: 1.35; }
.decision-feed p { margin: 4px 0 0; color: var(--muted); font-size: 0.76rem; line-height: 1.42; }
.decision-feed .decision-stake {
  margin-top: 9px;
  padding-left: 10px;
  border-left: 2px solid #7059dd;
  color: #4f4768;
}
.decision-feed .decision-stake strong { display: inline; color: var(--ink); font-size: inherit; }
.agenda-card .decision-feed li { border-bottom-color: rgba(255,255,255,0.13); }
.agenda-card .decision-feed li > span { color: var(--electric); }
.agenda-card .decision-feed p { color: rgba(255,255,255,0.58); }
.agenda-card .decision-feed strong { color: #fff; }

.agenda-from {
  margin: 13px 0 0;
  color: rgba(255,255,255,.58);
  font-size: .72rem;
  line-height: 1.4;
}
.agenda-from strong {
  color: var(--electric);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pulse-link { display: inline-flex; margin-top: 2px; color: #6d4aff; font-size: 0.78rem; font-weight: 850; }
.agenda-card .pulse-link { color: var(--electric); }
.pulse-source { margin: 16px 0 0; color: var(--muted); font-size: 0.67rem; line-height: 1.45; }
.agenda-card .pulse-source { color: rgba(255,255,255,0.43); }
.agenda-card .pulse-source a { color: rgba(255,255,255,0.7); }

/* Recorded-motion cards: Date · Motion · Position · Result */
.record-points .vote-card { padding: 0; overflow: hidden; }
.vote-card-table {
  display: grid;
  grid-template-columns: 0.72fr 2.3fr 1fr 0.8fr;
  margin: 0;
}
.vote-card-table > div { padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vote-card-table > div:last-child { border-right: 0; }
.vote-card-table dt { color: var(--muted); font-size: 0.64rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.vote-card-table dd { margin: 5px 0 0; font-size: 0.84rem; font-weight: 750; line-height: 1.35; }
.vote-motion-cell dd { font-size: 0.94rem; }
.position-pill { display: inline-flex; padding: 4px 7px; border-radius: 999px; background: #eceaf2; color: #514c5f; font-size: 0.72rem; }
.position-pill.for { background: #dcfce7; color: #166534; }
.position-pill.against { background: #fee2e2; color: #991b1b; }
.vote-impact { margin: 0; padding: 13px 16px; background: #f4f1ff; color: #4b4269; font-size: 0.78rem; }
.motion-procedure { margin: 0; padding: 12px 16px 0; color: var(--muted); font-size: 0.75rem; }
.motion-procedure span { margin: 0 5px; color: #b5afc1; }
.vote-card .vote-sides { padding: 12px 16px 0; }
.vote-card .citation-links { padding: 0 16px 16px; }

@media (max-width: 900px) {
  .pulse-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .featured-question,
  .featured-question:first-child { min-height: 138px; }
  .pulse-card { padding: 22px 20px; }
  .agenda-story-list { grid-template-columns: 1fr; }
  .agenda-story { padding: 18px; }
  .vote-card-table { grid-template-columns: 1fr 1fr; }
  .vote-motion-cell { grid-column: 1 / -1; grid-row: 1; border-right: 0 !important; }
  .vote-date-cell { grid-column: 1; grid-row: 2; }
  .vote-position-cell { grid-column: 2; grid-row: 2; border-right: 0 !important; }
  .vote-result-cell { grid-column: 1 / -1; grid-row: 3; border-right: 0 !important; }
}

/* ---- email briefing ---- */

.site-nav-update {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--electric);
  color: var(--night);
  font-size: .73rem;
  font-weight: 850;
  text-decoration: none;
}
.site-nav-update:hover { background: #d7ff77; }

.newsletter-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  margin: 0 0 68px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 26px;
  background: var(--night);
  color: #fff;
  box-shadow: 0 24px 56px rgba(6, 23, 44, .17);
}
.newsletter-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 310px;
  height: 310px;
  border: 72px solid rgba(201, 255, 74, .08);
  border-radius: 50%;
  pointer-events: none;
}
.newsletter-copy,
.newsletter-form { position: relative; z-index: 1; }
.newsletter-copy h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1; letter-spacing: -.055em; }
.newsletter-copy > p:not(.eyebrow) { margin: 18px 0 0; color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.65; }
.newsletter-promises { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 700; }
.newsletter-promises span::before { content: "✓"; margin-right: 6px; color: var(--electric); }
.newsletter-form { padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.075); }
.newsletter-form > label:first-child { color: #fff; font-size: .78rem; }
.newsletter-email-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.newsletter-email-row input { min-width: 0; min-height: 50px; margin: 0; border-color: rgba(255,255,255,.24); background: #fff; }
.newsletter-email-row button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 17px; border-radius: 11px; background: var(--electric); color: var(--night); white-space: nowrap; }
.newsletter-email-row button:hover { background: #d7ff77; }
.newsletter-consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; margin: 13px 0 0; color: rgba(255,255,255,.75); font-size: .72rem; font-weight: 500; line-height: 1.45; }
.newsletter-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--electric); }
.newsletter-status { min-height: 1.4em; margin: 11px 0 0; color: rgba(255,255,255,.68); font-size: .78rem; }
.newsletter-status.ok { color: var(--electric); font-weight: 750; }
.newsletter-status.error { color: #fecaca; }
.newsletter-fine-print { margin: 7px 0 0; color: rgba(255,255,255,.43); font-size: .64rem; line-height: 1.45; }
.newsletter-fine-print a { color: rgba(255,255,255,.72); }
.newsletter-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.unsubscribe-main { min-height: 65vh; padding-top: 64px; padding-bottom: 80px; }
.unsubscribe-card { max-width: 620px; margin: 0 auto; padding: clamp(26px, 5vw, 44px); }
.unsubscribe-card h1 { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1; letter-spacing: -.05em; }
.unsubscribe-card button { margin: 12px 0; background: var(--night); color: #fff; }

@media (max-width: 840px) {
  .newsletter-card { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .beta-pill { display: none; }
  .site-nav-actions { gap: 4px; }
  .site-nav-link { display: none; }
  .site-nav-update { padding: 7px 11px; }
  .newsletter-card { margin-bottom: 48px; padding: 24px 20px; border-radius: 20px; }
  .newsletter-form { padding: 17px; }
  .newsletter-email-row { grid-template-columns: 1fr; }
  .newsletter-email-row button { width: 100%; }
}

/* ---- information-centre homepage (Milestone 2) ---- */

html { scroll-behavior: smooth; }

#latest,
#topics,
#popular,
#topic-spotlight,
#council,
#bylaws,
#ask,
#subscribe,
#follow-up { scroll-margin-top: 24px; }

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-left: auto;
}

.primary-nav a {
  padding: 8px 9px;
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  font-size: .7rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.information-hero {
  position: relative;
  z-index: 1;
}

.information-hero .hero-copy {
  max-width: 900px;
}

.information-hero .hero-lede {
  max-width: 760px;
}

.hero-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 18px;
}

.hero-paths a {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.075);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.hero-paths a:hover {
  transform: translateY(-2px);
  border-color: rgba(201,255,74,.72);
  background: rgba(255,255,255,.12);
}

.hero-paths span {
  color: var(--electric);
  font-size: .62rem;
  letter-spacing: .08em;
}

.quick-ask {
  max-width: 820px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 17px;
  background: rgba(4,17,34,.56);
  backdrop-filter: blur(10px);
}

.quick-ask > label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.quick-ask-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.quick-ask input {
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.quick-ask button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border: 0;
  border-radius: 11px;
  background: var(--electric);
  color: var(--night);
  font: inherit;
  font-size: .82rem;
  font-weight: 850;
}

.quick-ask button:hover { background: #d7ff77; }
.quick-ask > p { margin: 8px 0 0; color: rgba(255,255,255,.55); font-size: .68rem; }

.content-wrap > section { margin-bottom: 72px; }
.content-wrap > section:last-child { margin-bottom: 0; }

.subject-explorer,
.popular-questions {
  margin-top: 0;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.subject-grid a {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 21px;
  border: 1px solid #d8d4ca;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.subject-grid a:nth-child(1),
.subject-grid a:nth-child(6) {
  border-color: var(--night);
  background: var(--night);
  color: #fff;
}

.subject-grid a:nth-child(3) {
  border-color: #c6eb6f;
  background: #e7ffad;
}

.subject-grid a:hover {
  transform: translateY(-3px);
  border-color: #9f91ea;
  box-shadow: 0 16px 32px rgba(22,18,50,.09);
}

.subject-grid span { font-size: 1rem; font-weight: 850; line-height: 1.2; }
.subject-grid small { margin-top: 16px; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.subject-grid a:nth-child(1) small,
.subject-grid a:nth-child(6) small { color: rgba(255,255,255,.58); }

.question-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.question-group {
  min-width: 0;
  padding: 20px;
  border: 1px solid #d8d4ca;
  border-radius: 18px;
  background: #fff;
}

.question-group h3 {
  min-height: 2.5em;
  margin: 0 0 12px;
  color: #6551c5;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.question-group-list { display: grid; gap: 8px; }

.browse-question,
.bylaw-question-list button {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid #e8e4dc;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
}

.question-group-list .browse-question:first-child { border-top: 0; }
.browse-question span:last-child,
.bylaw-question-list button span { color: #7059dd; font-weight: 900; }
.browse-question:hover,
.bylaw-question-list button:hover { color: #5b43c7; }

.topic-spotlight {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 12%, rgba(201,255,74,.22), transparent 31%),
    var(--night);
  color: #fff;
}

.topic-spotlight > div { max-width: 710px; }
.topic-spotlight h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.25rem); line-height: .98; letter-spacing: -.055em; }
.topic-spotlight p:not(.eyebrow) { margin: 18px 0 0; color: rgba(255,255,255,.68); font-size: .92rem; line-height: 1.65; }
.topic-spotlight button,
.topic-spotlight-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--electric);
  color: var(--night);
  font: inherit;
  font-size: .8rem;
  font-weight: 850;
  white-space: nowrap;
  text-decoration: none;
}
.topic-spotlight button:hover,
.topic-spotlight-link:hover { background: #d7ff77; }

.bylaw-explorer {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid #d8d4ca;
  border-radius: 24px;
  background: #fff;
}

.bylaw-explorer h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1; letter-spacing: -.05em; }
.bylaw-explorer-copy > p:not(.eyebrow) { margin: 16px 0 0; color: var(--muted); font-size: .87rem; line-height: 1.6; }
.bylaw-question-list { padding: 2px 0; }
.bylaw-question-list button { padding: 15px 3px; }

.full-ask-card {
  max-width: 900px;
  margin-right: auto !important;
  margin-left: auto !important;
  border: 1px solid #d8d4ca;
  box-shadow: 0 22px 56px rgba(18,21,32,.1);
}

.full-ask-card .ask-number {
  width: 48px;
  flex-basis: 48px;
}

.full-ask-card label {
  display: block;
  margin-bottom: 7px;
  color: #403b4b;
  font-size: .78rem;
  font-weight: 800;
}

.full-ask-card textarea { min-height: 150px; }

@media (max-width: 960px) {
  .primary-nav a { padding: 8px 6px; font-size: .65rem; }
  .question-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 0; padding-top: 10px; padding-bottom: 5px; }
  .site-nav-actions { grid-column: 2; }
  .primary-nav { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 2px; width: 100%; margin-left: 0; overflow-x: auto; }
  .primary-nav a { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; padding: 8px 7px; font-size: .78rem; white-space: nowrap; }
  .hero-paths,
  .subject-grid { grid-template-columns: 1fr; }
  .hero-paths a { min-height: 58px; }
  .subject-grid a { min-height: 106px; }
  .quick-ask-row { grid-template-columns: 1fr; }
  .quick-ask button { width: 100%; justify-content: center; }
  .question-groups { grid-template-columns: 1fr; }
  .question-group h3 { min-height: 0; }
  .topic-spotlight,
  .bylaw-explorer { grid-template-columns: 1fr; gap: 25px; }
  .topic-spotlight button { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .site-nav-update { font-size: .67rem; }
  .information-hero h1 { font-size: clamp(2.65rem, 13vw, 3.6rem); }
  .quick-ask { padding: 14px; }
  .content-wrap > section { margin-bottom: 52px; }
}

/* ---- permanent shared answers ---- */

.share-block {
  padding: 20px;
  border: 1px solid #c8bdf5;
  border-radius: 14px;
  background: #f7f5ff;
}
.share-create-button,
.share-actions button,
.share-actions a,
.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #6d4aff;
  border-radius: 9px;
  background: #fff;
  color: #4c36ad;
  font: inherit;
  font-size: .86rem;
  font-weight: 780;
  text-decoration: none;
}
.share-create-button { background: #5b3fd1; color: #fff; }
.share-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.share-actions[hidden] { display: none; }
.share-status { margin: 10px 0 0; color: var(--muted); font-size: .84rem; }

.shared-answer-main { max-width: 960px; padding-top: 44px; padding-bottom: 68px; }
.shared-answer {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid #d9d5cd;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 21, 32, .08);
}
.shared-answer .answer-heading h1 { margin: 5px 0 0; font-size: clamp(1.65rem, 4vw, 2.85rem); line-height: 1.08; letter-spacing: -.045em; }
.shared-updated { margin-top: 10px; color: var(--muted); font-size: .82rem; }
.shared-correction-notice { margin: 18px 0; padding: 13px 15px; border: 1px solid #fde68a; border-radius: 10px; background: #fffbeb; color: #78350f; font-weight: 700; }
.shared-unavailable { max-width: 680px; margin: 40px auto; padding: clamp(26px, 5vw, 48px); border: 1px solid #d9d5cd; border-radius: 22px; background: #fff; text-align: center; }
.shared-unavailable h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.shared-unavailable .primary-link { margin-top: 12px; background: #5b3fd1; color: #fff; }
.header-inner { display: flex; align-items: center; }
.brand-lockup { color: var(--ink); font-size: 1.25rem; font-weight: 850; text-decoration: none; }
.brand-lockup small { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; }
.brand-mark { display: none; }
