@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@500;600;700&display=swap');

:root {
  --bg-1: #f5f8ff;
  --bg-2: #eef4ff;
  --bg-3: #fdfcff;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(71, 93, 146, 0.12);
  --line-strong: rgba(71, 93, 146, 0.18);
  --text: #18233f;
  --muted: #6d7b9f;
  --cyan: #31b7ff;
  --magenta: #ff5db6;
  --violet: #7a6cff;
  --green: #16c79a;
  --soft-cyan: rgba(49, 183, 255, 0.12);
  --soft-magenta: rgba(255, 93, 182, 0.12);
  --soft-violet: rgba(122, 108, 255, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 20px 50px rgba(44, 78, 140, 0.12);
  --shadow-soft: 0 10px 30px rgba(44, 78, 140, 0.08);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
 /* font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;*/
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgba(49,183,255,.14), transparent 18%),
    radial-gradient(circle at 86% 10%, rgba(255,93,182,.14), transparent 22%),
    radial-gradient(circle at 50% 88%, rgba(122,108,255,.08), transparent 26%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 48%, var(--bg-3) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image:
    radial-gradient(2px 2px at 18% 20%, rgba(122,108,255,.35), transparent 60%),
    radial-gradient(1px 1px at 70% 14%, rgba(49,183,255,.3), transparent 60%),
    radial-gradient(1.5px 1.5px at 82% 65%, rgba(255,93,182,.24), transparent 60%),
    radial-gradient(1px 1px at 34% 78%, rgba(49,183,255,.22), transparent 60%),
    radial-gradient(1.5px 1.5px at 12% 62%, rgba(122,108,255,.24), transparent 60%);
  opacity: .95;
  animation: starDrift 18s linear infinite alternate;
}

body::after {
  background: linear-gradient(180deg, rgba(255,255,255,.55), transparent 20%, transparent 80%, rgba(255,255,255,.4));
}

@keyframes starDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

a { color: inherit; text-decoration: none; }


.hero-title,
.section-title,
.brand {
  font-family: "Sora", sans-serif;
}

.page {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.brand-badge {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

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

.nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: .25s ease;
  border: 1px solid transparent;
  font-size: 14px;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.66);
  border-color: var(--line);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.section { margin-top: 18px; }

.eyebrow, .section-kicker {
  color: #269ee4;
    letter-spacing: .03em;
    font-size: 14px;
    font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

.hero-left {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(49,183,255,.13), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(247,250,255,.9));
}

.hero-left::before {
  content: "";
  position: absolute;
  inset: -25% auto auto 58%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,93,182,.2), transparent 62%);
  filter: blur(14px);
}

.hero-left::after {
  content: "";
  position: absolute;
  bottom: -26px;
  left: -10px;
  width: 120%;
  height: 120px;
  background: linear-gradient(90deg, transparent, rgba(49,183,255,.12), transparent);
  transform: rotate(-6deg);
}

.hero-left > * { position: relative; z-index: 1; }

.hero-title {
  margin: 10px 0 0;
  font-size: clamp(30px, 5vw, 30px);
  line-height: 1;
  letter-spacing: -.03em;
  max-width: 720px;
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  appearance: none;
  border: 0;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  letter-spacing: .02em;
  transition: transform .22s ease, box-shadow .22s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  box-shadow: 0 12px 24px rgba(255,93,182,.18);
}

.btn-secondary {
  background: rgba(255,255,255,.84);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.hero-right {
  display: grid;
  gap: 18px;
}

.radar {
  min-height: 450px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(245,249,255,.92));
  border: 1px solid rgba(49,183,255,.14);
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(49,183,255,.18);
}

.radar::before { width: 320px; height: 320px; }
.radar::after { width: 200px; height: 200px; }

.radar-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 22%, rgba(122,108,255,.22), transparent 18%),
    radial-gradient(circle at 78% 18%, rgba(49,183,255,.20), transparent 20%),
    radial-gradient(circle at 68% 72%, rgba(255,93,182,.16), transparent 18%),
    radial-gradient(circle at 34% 68%, rgba(49,183,255,.14), transparent 16%),
    radial-gradient(2px 2px at 16% 24%, rgba(122,108,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 74% 22%, rgba(49,183,255,.40), transparent 60%),
    radial-gradient(2px 2px at 66% 64%, rgba(255,93,182,.36), transparent 60%),
    radial-gradient(1.5px 1.5px at 42% 76%, rgba(49,183,255,.28), transparent 60%),
    linear-gradient(rgba(71,93,146,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71,93,146,.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.20), rgba(241,246,255,.02));
  background-size: auto, auto, auto, auto, auto, auto, auto, auto, 32px 32px, 32px 32px, auto;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat, no-repeat;
  opacity: .95;
}

.radar-grid::before {
  content: "";
  position: absolute;
  inset: 10% 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(49,183,255,.08), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.24) 0 1px, transparent 2px);
  box-shadow: inset 0 0 50px rgba(122,108,255,.08);
  opacity: .8;
}

.radar-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.22), transparent 32%, transparent 68%, rgba(49,183,255,.08)),
    radial-gradient(circle at 50% 50%, transparent 54%, rgba(122,108,255,.08) 72%, transparent 74%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.sweep {
  position: absolute;
  width: 320px;
  height: 320px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(49,183,255,.26), transparent 16%, transparent 100%);
  animation: spin 4s linear infinite;
  filter: blur(1px);
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

#radarDots { position: absolute; inset: 0; z-index: 2; }

.radar-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(49,183,255,.4);
  animation: pulse 2.2s infinite ease-out;
}

.radar-dot.hot {
  background: var(--magenta);
  box-shadow: 0 0 14px rgba(255,93,182,.35);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: .84; }
}

.stats-grid, .quotes-grid, .ballot-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quotes-grid { grid-template-columns: 1fr; }
.ballot-grid { grid-template-columns: 1fr; }

.content-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}

.content-panel {
  padding: 22px;
  border-radius: 24px;
}

.stat-card,
.quote-card,
.vote-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-card::before,
.quote-card::before,
.vote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.5), transparent 45%);
  pointer-events: none;
}

.stat-value {
  margin-top: 10px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
}

.stat-label {
  display: block;
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.stat-trend {
  margin-top: 12px;
  color: var(--green);
  font-size: 14px;
}

.section-title {
  margin: 0 0 15px 0;
  font-size: 22px;
  letter-spacing: -.02em;
}

.ballot-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.ballot-filter {
  min-width: 240px;
  max-width: 320px;
  width: 100%;
}

.ballot-filter label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
}

.ballot-filter select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,249,255,.92));
  color: var(--text);
  border-radius: 16px;
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  outline: none;
  transition: .22s ease;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,249,255,.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%236d7b9f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 14px center;
  background-size: auto, 18px;
}

.ballot-filter select:hover { border-color: rgba(49,183,255,.28); }
.ballot-filter select:focus {
  border-color: rgba(49,183,255,.38);
  box-shadow: 0 0 0 4px rgba(49,183,255,.10), var(--shadow-soft);
}

.form-message {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
}

.form-message.error {
  background: rgba(255, 93, 182, 0.12);
  color: #8f2d67;
  border: 1px solid rgba(255, 93, 182, 0.18);
}

.form-message.success {
  background: rgba(22, 199, 154, 0.12);
  color: #0f8061;
  border: 1px solid rgba(22, 199, 154, 0.18);
}

.hidden { display: none !important; }

.vote-card h4 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.vote-support {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(122,108,255,.08);
  color: var(--muted);
  border: 1px solid rgba(122,108,255,.08);
}

.vote-options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.vote-option {
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(245,249,255,.9);
  border: 1px solid rgba(71,93,146,.1);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: .25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  cursor: pointer;
}

.vote-option:hover {
  transform: translateY(-1px);
  border-color: rgba(49,183,255,.25);
}

.vote-option input {
  accent-color: var(--cyan);
  margin: 0;
}

.vote-option-text {
  font-weight: 700;
  font-size: 18px;
}

.vote-option:has(input:checked) {
  background: linear-gradient(135deg, rgba(255,93,182,.15), rgba(49,183,255,.14));
  border-color: rgba(255,93,182,.18);
  box-shadow: 0 10px 22px rgba(255,93,182,.08);
}

.ballot-filter select.input-error {
  border-color: #d92d20;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.16), var(--shadow-soft);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,245,245,.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23d92d20' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.vote-card.input-error {
  border-color: #d92d20;
  box-shadow:
    0 0 0 4px rgba(217, 45, 32, 0.12),
    var(--shadow);
}

.vote-card.input-error .status-pill {
  border-color: rgba(217, 45, 32, 0.18);
  color: #a61b14;
  background: rgba(217, 45, 32, 0.08);
}

.ballot-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.map-supporting-card {
  margin: 12px 0 16px;
  padding: 16px 18px;
  border-radius: 18px;
}

.map-supporting-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.live-option-results {
	display: none !important;
 /* margin-top: 18px;
  display: grid;
  gap: 10px;*/
}

.option {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(245,249,255,.9);
  border: 1px solid rgba(71,93,146,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.option b { font-size: 14px; }
.option em {
  font-style: normal;
  color: #269ee4;
  font-weight: 700;
  white-space: nowrap;
}

.result-bar {
  height: 8px;
  width: 100%;
  border-radius: 999px;
  background: rgba(71,93,146,.08);
  overflow: hidden;
}

.result-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  box-shadow: 0 0 10px rgba(255,93,182,.18);
  animation: grow 1.2s ease;
}

@keyframes grow {
  from { width: 0 !important; }
}

.quote-mark {
  font-size: 52px;
  line-height: 1;
  color: rgba(122,108,255,.52);
}

.quote-card p {
  margin: 10px 0 0;
  line-height: 1.8;
  color: var(--text);
  font-size: 15px;
}

.quote-card span {
  display: block;
  margin-top: 16px;
  color: #269ee4;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}




/*

.ballot-panel {
  perspective: 1400px;
}

.ballot-panel-inner {
  position: relative;
  min-height: 720px;
  transform-style: preserve-3d;
  transition: transform .8s ease;
}

.ballot-panel.is-flipped .ballot-panel-inner,
.ballot-panel.is-flipped > .ballot-panel-inner {
  transform: rotateY(180deg);
}

.ballot-side {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

.ballot-front {
  transform: rotateY(0deg);
}

.ballot-back {
  transform: rotateY(180deg);
  display: flex;
  align-items: stretch;
}


*/






.ballot-panel {
  position: relative;
  overflow: visible;
}

.ballot-panel-inner {
  position: relative;
  min-height: 0;
  height: auto;
}

.ballot-side {
  position: relative;
  inset: auto;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  width: 100%;
}

.ballot-front {
  display: block;
  animation: ballotPanelFadeIn .35s ease;
}

.ballot-back {
  display: none;
  animation: ballotPanelFadeIn .35s ease;
}

.ballot-panel.is-flipped .ballot-front {
  display: none;
}

.ballot-panel.is-flipped .ballot-back {
  display: flex;
  align-items: stretch;
}

@keyframes ballotPanelFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



.thank-you-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 8px 4px;
}

.thank-you-panel h2 {
  margin: 4px 0 12px;
  font-size: 26px;
  line-height: 1.05;
}

.back-copy {
  color: var(--text);
  line-height: 1.8;
  margin: 0;
}

.cooldown-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cooldown-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cooldown-box strong {
  display: block;
  font-size: 38px;
  letter-spacing: -.03em;
}

.submitted-summary {
  margin-top: 22px;
}

.submitted-summary h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.back-question-counts {
  display: grid;
  gap: 10px;
}

.back-count-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(245,249,255,.9);
  border: 1px solid rgba(71,93,146,.1);
}

.back-count-item span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

.back-count-item strong {
  font-size: 22px;
}

.map-shell {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 35%, rgba(49,183,255,.1), transparent 14%),
    radial-gradient(circle at 70% 42%, rgba(255,93,182,.1), transparent 15%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(244,248,255,1));
  border: 1px solid var(--line);
}

.map-canvas {
  height: 420px;
  width: 100%;
}

.leaflet-container {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(244,248,255,1));
}

.legend {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 250px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  z-index: 600;
}

.legend h5 {
  margin: 0 0 12px;
  font-size: 13px;
 /* letter-spacing: .12em;
  text-transform: uppercase;*/
  color: var(--muted);
}

.legend-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  margin-top: 8px;
  font-size: 14px;
}

.footer {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .hero,
  .content-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page { width: min(var(--max), calc(100% - 20px)); }
  .topbar { position: static; }
  .hero,
  .content-split,
  .quotes-grid,
  .ballot-grid {
    grid-template-columns: 1fr;
  }
  .hero-left { padding: 26px; min-height: auto; }
  .legend { position: static; width: auto; margin: 18px; }
  .map-shell { padding-bottom: 18px; }
  .hero-title { font-size: clamp(34px, 10vw, 34px); }
  
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}