/* ═══════════════════════════════════════════
   vMumbai — civic participation platform
   Inspired by vTaiwan · Powered by pol.is
   ═══════════════════════════════════════════ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --saffron:        #FF6B00;
  --saffron-dark:   #CC5500;
  --saffron-light:  #FFF0E6;
  --saffron-mid:    #FFB380;
  --sea:            #006C8F;
  --sea-light:      #E0F2F8;
  --sea-dark:       #004D66;
  --green:          #27500A;
  --green-light:    #EAF3DE;
  --ink:            #1A1A2E;
  --ink-light:      #2E2E4A;
  --stone:          #F8F5F1;
  --border:         rgba(26,26,46,0.1);
  --border-strong:  rgba(26,26,46,0.2);
  --text:           #1A1A2E;
  --text-muted:     #666;
  --text-light:     #999;
  --card:           #FFFFFF;
  --bg:             #F8F5F1;
  --nav-h:          56px;
  --radius:         8px;
  --radius-lg:      12px;
  --radius-xl:      16px;
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--saffron); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; border-radius: 2px; }

img { max-width: 100%; }
code { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.85em; background: rgba(0,0,0,0.05); padding: 1px 5px; border-radius: 4px; }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--saffron); color: #fff;
  padding: 8px 16px; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Container ── */
.vm-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ══════════════════════════════
   NAV
══════════════════════════════ */
.vm-nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 1rem;
  padding: 0 1.25rem;
  background: #fff;
  border-bottom: 0.5px solid var(--border);
}

.vm-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.vm-logo-mark {
  width: 32px; height: 32px;
  background: var(--saffron); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 13px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.vm-logo-mark.small { width: 24px; height: 24px; font-size: 10px; border-radius: 4px; }
.vm-logo-text { font-size: 17px; font-weight: 500; color: var(--text); }
.vm-logo-text .accent { color: var(--saffron); }

.vm-nav-links {
  display: flex; gap: 2px; margin-left: auto;
}
.vm-nav-btn {
  padding: 6px 12px; border-radius: var(--radius);
  font-size: 14px; color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.vm-nav-btn:hover { background: var(--stone); color: var(--text); text-decoration: none; }
.vm-nav-btn.active { background: var(--saffron-light); color: var(--saffron); font-weight: 500; }

.vm-nav-action {
  display: inline-flex; align-items: center;
  background: var(--saffron); color: #fff;
  padding: 7px 14px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  white-space: nowrap; text-decoration: none;
  transition: background 0.15s;
  flex-shrink: 0;
}
.vm-nav-action:hover { background: var(--saffron-dark); text-decoration: none; }

/* Hamburger */
.vm-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
  margin-left: auto;
  border-radius: var(--radius);
}
.vm-hamburger span {
  display: block; height: 2px; width: 20px;
  background: var(--text); border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.vm-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vm-hamburger.open span:nth-child(2) { opacity: 0; }
.vm-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.vm-drawer {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 0.5px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: 4px;
  z-index: 199;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  pointer-events: none;
}
.vm-drawer.open { transform: translateY(0); pointer-events: auto; }
.vm-drawer-link {
  display: block; padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 15px; color: var(--text-muted);
  text-decoration: none;
}
.vm-drawer-link:hover, .vm-drawer-link.active { background: var(--stone); color: var(--text); }
.vm-drawer-cta {
  display: block; margin-top: 8px;
  background: var(--saffron); color: #fff;
  padding: 11px 16px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
  text-align: center; text-decoration: none;
}
.vm-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 190;
  background: rgba(0,0,0,0.15);
}
.vm-overlay.visible { display: block; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.vm-hero {
  background: var(--ink);
  color: #fff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.vm-hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: var(--saffron); opacity: 0.07;
  border-radius: 50%;
  pointer-events: none;
}

.vm-eyebrow {
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--saffron);
  font-weight: 500; margin-bottom: 1rem;
}
.vm-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500; line-height: 1.15;
  margin-bottom: 1rem; color: #fff;
}
.vm-hero-sub {
  font-size: 15px; color: rgba(255,255,255,0.7);
  max-width: 540px; margin-bottom: 2rem; line-height: 1.7;
}
.vm-hero-about .vm-hero-sub { max-width: 580px; }

.vm-hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.vm-stat {}
.vm-stat-num {
  display: block; font-size: 26px; font-weight: 500;
  color: var(--saffron);
}
.vm-stat-label {
  display: block; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
}

/* ══════════════════════════════
   PROCESS STRIP
══════════════════════════════ */
.vm-process-section {
  background: #fff;
  border-bottom: 0.5px solid var(--border);
  padding: 0;
}
.vm-process-strip {
  display: flex; align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 0.75rem 0;
  scrollbar-width: none;
}
.vm-process-strip::-webkit-scrollbar { display: none; }
.vm-process-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius);
  flex-shrink: 0;
  cursor: default;
}
.vm-process-icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-propose .vm-process-icon { background: var(--saffron-light); color: var(--saffron); }
.step-deliberate .vm-process-icon { background: var(--sea-light); color: var(--sea); }
.step-reflect .vm-process-icon { background: var(--green-light); color: var(--green); }
.step-act .vm-process-icon { background: #FAEEDA; color: #854F0B; }
.vm-process-name { font-size: 13px; font-weight: 500; color: var(--text); }
.vm-process-desc { font-size: 11px; color: var(--text-muted); }
.vm-process-arrow {
  color: var(--border-strong); font-size: 16px;
  padding: 0 4px; flex-shrink: 0;
}

/* ══════════════════════════════
   MAIN / ISSUES
══════════════════════════════ */
.vm-main { padding: 2rem 0 4rem; }

/* Filter bar */
.vm-filter-bar {
  margin-bottom: 1.5rem;
}
.vm-filter-scroll {
  display: flex; gap: 6px;
  overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none;
}
.vm-filter-scroll::-webkit-scrollbar { display: none; }
.vm-filter-btn {
  padding: 6px 14px; border-radius: 100px;
  border: 0.5px solid var(--border);
  font-size: 13px; cursor: pointer;
  background: var(--card); color: var(--text-muted);
  white-space: nowrap; flex-shrink: 0;
  transition: all 0.15s;
}
.vm-filter-btn:hover { border-color: var(--border-strong); color: var(--text); }
.vm-filter-btn.active { background: var(--saffron); color: #fff; border-color: var(--saffron); }

/* Issues grid */
.vm-issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.vm-issue-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: border-color 0.15s, transform 0.1s;
  cursor: pointer;
}
.vm-issue-card:hover { border-color: var(--border-strong); transform: translateY(-1px); text-decoration: none; }
.vm-issue-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 10px;
}
.vm-tag {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  padding: 3px 9px; border-radius: 100px;
}
.tag-active   { background: var(--sea-light);   color: var(--sea-dark); }
.tag-polishing { background: var(--saffron-light); color: var(--saffron-dark); }
.tag-complete { background: #F1EFE8; color: #5F5E5A; }
.tag-voting   { background: var(--green-light);  color: var(--green); }

.vm-stage-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 3px;
}
.dot-active   { background: var(--sea); }
.dot-polishing { background: var(--saffron); animation: pulse-dot 2s infinite; }
.dot-complete { background: #888; }
.dot-voting   { background: var(--green); }
@keyframes pulse-dot {
  0%,100% { opacity:1; } 50% { opacity:0.3; }
}

.vm-issue-title {
  font-size: 15px; font-weight: 500; line-height: 1.4;
  margin-bottom: 6px; color: var(--text);
}
.vm-issue-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
  margin-bottom: 1rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.vm-issue-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px; flex-wrap: wrap;
  border-top: 0.5px solid var(--border); padding-top: 10px;
}
.vm-issue-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.vm-issue-meta-item {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--text-muted);
}
.vm-issue-meta-item svg { flex-shrink: 0; }
.vm-participate-btn {
  background: none; border: 0.5px solid var(--border);
  padding: 5px 12px; border-radius: var(--radius);
  font-size: 12px; cursor: pointer;
  color: var(--text); transition: all 0.15s;
  white-space: nowrap;
}
.vm-participate-btn:hover { background: var(--stone); border-color: var(--border-strong); }

/* Empty state */
.vm-empty {
  grid-column: 1/-1;
  text-align: center; padding: 3rem;
  color: var(--text-muted);
}
.vm-empty-icon { font-size: 2rem; margin-bottom: 0.75rem; opacity: 0.4; }

/* ══════════════════════════════
   ISSUE PAGE
══════════════════════════════ */
.vm-breadcrumb {
  padding: 0.75rem 0;
  background: #fff;
  border-bottom: 0.5px solid var(--border);
}
.vm-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted);
  text-decoration: none;
}
.vm-back-link:hover { color: var(--text); }

.vm-progress-bar-wrap {
  background: #fff;
  border-bottom: 0.5px solid var(--border);
  padding: 0.75rem 0;
}
.vm-progress-steps {
  display: flex; align-items: center;
}
.vm-prog-step {
  display: flex; flex-direction: column;
  align-items: center; flex: 1; min-width: 60px;
}
.vm-prog-dot {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: var(--text-muted);
  position: relative; z-index: 1;
}
.vm-prog-step.done .vm-prog-dot {
  background: var(--saffron); border-color: var(--saffron); color: #fff;
}
.vm-prog-step.active .vm-prog-dot {
  border-color: var(--saffron); border-width: 2px; color: var(--saffron);
}
.vm-prog-label {
  font-size: 10px; color: var(--text-light);
  margin-top: 4px; text-align: center;
  white-space: nowrap;
}
.vm-prog-step.done .vm-prog-label,
.vm-prog-step.active .vm-prog-label { color: var(--saffron); }
.vm-prog-connector {
  flex: 1; height: 1px; background: var(--border);
  min-width: 20px;
}
.vm-prog-connector.done { background: var(--saffron); }

.vm-issue-header {
  background: #fff;
  border-bottom: 0.5px solid var(--border);
  padding: 1.5rem 0;
}
.vm-issue-header .vm-tag { margin-bottom: 10px; }
.vm-issue-header h1 {
  font-size: clamp(20px, 3vw, 26px); font-weight: 500; line-height: 1.25;
  margin-bottom: 10px;
}
.vm-issue-desc-text { font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 700px; }
.vm-issue-meta-row {
  display: flex; align-items: center; gap: 1rem; margin-top: 12px;
  flex-wrap: wrap;
}
.vm-threshold-notice {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--sea-dark);
  background: var(--sea-light);
  padding: 8px 12px; border-radius: var(--radius);
  margin-top: 12px; max-width: 620px;
}

/* Tabs */
.vm-tabs-wrap {
  background: #fff;
  border-bottom: 0.5px solid var(--border);
  position: sticky; top: var(--nav-h); z-index: 100;
}
.vm-tabs {
  display: flex; gap: 0;
  overflow-x: auto; scrollbar-width: none;
}
.vm-tabs::-webkit-scrollbar { display: none; }
.vm-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; font-size: 14px;
  border: none; background: none;
  color: var(--text-muted); cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap; flex-shrink: 0;
  transition: all 0.15s;
}
.vm-tab:hover:not(.active) { color: var(--text); }
.vm-tab.active { color: var(--saffron); border-bottom-color: var(--saffron); }
.vm-tab-badge {
  font-size: 11px; background: var(--saffron-light);
  color: var(--saffron-dark); padding: 2px 7px; border-radius: 100px;
}

/* Panels */
.vm-panel { display: none; padding: 2rem 0 4rem; }
.vm-panel.active { display: block; }

/* ── Pol.is layout ── */
.vm-polis-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.vm-polis-sidebar { position: sticky; top: calc(var(--nav-h) + 50px); }

.vm-polis-explainer {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.vm-polis-explainer h2 { font-size: 14px; font-weight: 500; margin-bottom: 0.75rem; }
.vm-polis-explainer p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.5rem; }
.vm-polis-powered {
  display: flex; align-items: center; gap: 5px;
  margin-top: 1rem; font-size: 11px; color: var(--text-light);
  flex-wrap: wrap;
}
.vm-polis-logo-link {
  font-weight: 600; font-size: 12px; color: var(--saffron);
}

.vm-polis-setup-guide {
  background: #FFFBF5;
  border: 0.5px solid var(--saffron-mid);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.vm-polis-setup-guide h3 {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; margin-bottom: 0.75rem;
  color: var(--saffron-dark);
}
.vm-polis-setup-guide p { font-size: 12px; color: var(--text-muted); margin-bottom: 0.75rem; }
.vm-polis-setup-guide ol { font-size: 12px; color: var(--text-muted); padding-left: 1.25rem; margin-bottom: 1rem; }
.vm-polis-setup-guide ol li { margin-bottom: 5px; line-height: 1.5; }

.vm-polis-embed-wrap {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.vm-polis-embed-header {
  padding: 1.25rem 1.5rem 0;
}
.vm-polis-embed-header h2 { font-size: 17px; font-weight: 500; margin-bottom: 4px; }
.vm-polis-embed-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 1.25rem; }

/* THE pol.is EMBED container */
.vm-polis-container {
  min-height: 400px;
  padding: 0 0 1rem;
}
.vm-polis-container .polis {
  width: 100%;
  display: block;
}
.vm-polis-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 380px; text-align: center; padding: 2rem;
  color: var(--text-muted);
}
.vm-polis-placeholder svg { color: var(--border-strong); margin-bottom: 1rem; }
.vm-polis-placeholder p { font-size: 14px; margin-bottom: 4px; }
.vm-placeholder-sub { font-size: 12px; color: var(--text-light); }

/* Consensus preview (shown after voting) */
.vm-consensus-preview {
  border-top: 0.5px solid var(--border);
  padding: 1.25rem 1.5rem;
}
.vm-consensus-preview h3 { font-size: 13px; font-weight: 500; margin-bottom: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.vm-consensus-items { margin-bottom: 1rem; }
.vm-consensus-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 0.5px solid var(--border);
}
.vm-consensus-item:last-child { border-bottom: none; }
.vm-consensus-pct {
  font-size: 17px; font-weight: 500; color: var(--green);
  min-width: 40px; flex-shrink: 0;
}
.vm-consensus-text { font-size: 13px; color: var(--text); line-height: 1.5; }
.vm-consensus-note { font-size: 12px; color: var(--text-light); font-style: italic; }

/* ── Timeline ── */
.vm-timeline-container { max-width: 700px; }
.vm-timeline { padding: 1rem 0; }
.vm-timeline-item {
  display: flex; gap: 16px;
  padding: 1rem 0; border-bottom: 0.5px solid var(--border);
}
.vm-timeline-item:last-child { border-bottom: none; }
.vm-timeline-item.future { opacity: 0.45; }
.vm-tl-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.vm-tl-body {}
.vm-tl-title { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.vm-tl-sub { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.vm-tl-date { font-size: 11px; color: var(--text-light); margin-top: 4px; }

/* ── Documents ── */
.vm-docs-container { max-width: 700px; }
.vm-docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 2rem; }
.vm-doc-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem; display: flex; gap: 12px;
}
.vm-doc-icon { font-size: 24px; flex-shrink: 0; }
.vm-doc-title { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.vm-doc-meta { font-size: 11px; color: var(--text-muted); }
.vm-doc-link { font-size: 12px; color: var(--saffron); margin-top: 5px; display: block; }
.vm-docs-opendata {
  background: var(--sea-light); border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.vm-docs-opendata h3 { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.vm-docs-opendata p { font-size: 13px; color: var(--text-muted); margin-bottom: 1rem; }
.vm-docs-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ══════════════════════════════
   PROPOSE PAGE
══════════════════════════════ */
.vm-propose-wrap { padding-top: 2.5rem; padding-bottom: 4rem; }
.vm-propose-header { margin-bottom: 2rem; }
.vm-propose-header h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 500; margin-bottom: 0.75rem; line-height: 1.2; }
.vm-propose-sub { font-size: 14px; color: var(--text-muted); max-width: 560px; line-height: 1.65; }

.vm-propose-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.vm-propose-form {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

/* Form elements */
.vm-field { margin-bottom: 1.5rem; }
.vm-label {
  display: block; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted); margin-bottom: 6px;
}
.vm-required { color: var(--saffron); }
.vm-field-hint { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.vm-input {
  width: 100%;
  padding: 10px 12px;
  border: 0.5px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 14px; background: #fff; color: var(--text);
  font-family: inherit;
  transition: border-color 0.15s;
  appearance: none;
}
.vm-input:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px var(--saffron-light); }
.vm-input.error { border-color: #E24B4A; }
.vm-textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.vm-select { cursor: pointer; }
.vm-field-error { font-size: 12px; color: #A32D2D; margin-top: 5px; min-height: 16px; }

.vm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vm-chip {
  padding: 6px 13px; border-radius: 100px;
  border: 0.5px solid var(--border);
  font-size: 12px; cursor: pointer; color: var(--text-muted);
  background: var(--card); transition: all 0.15s;
}
.vm-chip:hover { border-color: var(--saffron-mid); color: var(--saffron-dark); }
.vm-chip.selected { background: var(--saffron-light); color: var(--saffron-dark); border-color: var(--saffron-mid); }

.vm-checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-muted); cursor: pointer;
}
.vm-checkbox-label input { margin-top: 2px; accent-color: var(--saffron); flex-shrink: 0; }
.vm-propose-terms { margin-bottom: 1.5rem; }
.vm-propose-footnote { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 10px; }

.vm-propose-success {
  text-align: center; padding: 3rem 2rem;
}
.vm-success-icon { color: var(--green); margin-bottom: 1rem; }
.vm-success-icon svg { display: inline; }
.vm-propose-success h2 { font-size: 22px; font-weight: 500; margin-bottom: 0.75rem; }
.vm-propose-success p { font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 420px; margin: 0 auto 1.5rem; }

/* Propose sidebar */
.vm-propose-sidebar { position: sticky; top: calc(var(--nav-h) + 1rem); }
.vm-propose-guide {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 1.5rem;
}
.vm-propose-guide h2 { font-size: 15px; font-weight: 500; margin-bottom: 1.25rem; }
.vm-guide-steps { margin-bottom: 1.5rem; }
.vm-guide-step {
  display: flex; gap: 14px;
  padding: 10px 0; border-bottom: 0.5px solid var(--border);
}
.vm-guide-step:last-child { border-bottom: none; }
.vm-guide-step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--saffron-light); color: var(--saffron-dark);
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.vm-guide-step h3 { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.vm-guide-step p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.vm-guide-note {
  background: var(--stone); border-radius: var(--radius);
  padding: 1rem;
}
.vm-guide-note h3 { font-size: 12px; font-weight: 500; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.vm-guide-note ul { padding-left: 1.25rem; }
.vm-guide-note ul li { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; line-height: 1.5; }

/* ══════════════════════════════
   ABOUT PAGE
══════════════════════════════ */
.vm-about-section {
  padding: 3rem 0;
  border-bottom: 0.5px solid var(--border);
}
.vm-about-section:last-of-type { border-bottom: none; }
.vm-about-section h2 { font-size: 22px; font-weight: 500; margin-bottom: 1rem; }
.vm-about-section p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.75rem; }

.vm-about-two-col {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 3rem; align-items: start;
}
.vm-about-card {
  background: var(--ink); border-radius: var(--radius-xl); padding: 2rem;
  color: rgba(255,255,255,0.85);
}
.vm-about-quote blockquote {
  font-size: 15px; line-height: 1.65; font-style: italic;
  margin-bottom: 1rem;
  border-left: 3px solid var(--saffron); padding-left: 1rem;
}
.vm-about-quote cite { font-size: 12px; color: rgba(255,255,255,0.5); }

.vm-section-intro {
  font-size: 14px; color: var(--text-muted); max-width: 600px;
  margin-bottom: 2rem; line-height: 1.65;
}
.vm-stages-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.vm-stage-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.vm-stage-num {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 500; margin-bottom: 1rem;
}
.stage-propose   { background: var(--saffron-light); color: var(--saffron); }
.stage-deliberate { background: var(--sea-light); color: var(--sea); }
.stage-reflect   { background: var(--green-light); color: var(--green); }
.stage-act       { background: #FAEEDA; color: #854F0B; }
.vm-stage-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.vm-stage-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.vm-stage-detail {
  font-size: 12px; color: var(--text-light);
  background: var(--stone); border-radius: var(--radius);
  padding: 8px 10px; line-height: 1.5;
}

/* Pol.is diagram */
.vm-about-polis .vm-about-two-col { grid-template-columns: 1fr 300px; }
.vm-polis-diagram {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 1.5rem;
}
.vm-polis-diagram-inner {
  display: flex; align-items: center; justify-content: space-around;
  padding: 1.5rem 0; flex-wrap: wrap; gap: 1rem;
}
.vm-polis-cluster, .vm-polis-cluster-center {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500; color: var(--text-muted);
}
.vm-polis-cluster span { margin-top: 4px; }
.vm-polis-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--sea); opacity: 0.7;
}
.vm-polis-dot.b { background: var(--saffron); }
.vm-polis-dot.consensus { background: var(--green); opacity: 0.9; }
.vm-polis-diagram-caption {
  font-size: 11px; color: var(--text-light); text-align: center;
  line-height: 1.5; margin-top: 0.75rem;
}

/* FAQ */
.vm-faq-wrap { max-width: 700px; }
.vm-faq-wrap h2 { font-size: 22px; font-weight: 500; margin-bottom: 1.5rem; }
.vm-faq-list {}
.vm-faq-item {
  border-bottom: 0.5px solid var(--border);
}
.vm-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; font-size: 15px; font-weight: 500; cursor: pointer;
  list-style: none; user-select: none;
}
.vm-faq-q::-webkit-details-marker { display: none; }
.vm-faq-q::after { content: '+'; font-size: 20px; color: var(--text-muted); }
.vm-faq-item[open] .vm-faq-q::after { content: '−'; }
.vm-faq-a { padding: 0 0 1rem; }
.vm-faq-a p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.vm-about-cta {
  text-align: center; padding: 4rem 0;
  background: var(--ink); color: #fff;
}
.vm-about-cta h2 { font-size: 28px; font-weight: 500; color: #fff; margin-bottom: 0.75rem; }
.vm-about-cta p { font-size: 15px; color: rgba(255,255,255,0.65); margin-bottom: 2rem; }
.vm-cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.vm-btn-primary {
  display: inline-flex; align-items: center;
  background: var(--saffron); color: #fff;
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  border: none; cursor: pointer;
  text-decoration: none; transition: background 0.15s;
}
.vm-btn-primary:hover { background: var(--saffron-dark); text-decoration: none; }
.vm-submit-btn { width: 100%; justify-content: center; padding: 13px; font-size: 15px; }
.vm-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.vm-btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--saffron);
  padding: 9px 18px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--saffron);
  cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.vm-btn-outline:hover { background: var(--saffron-light); text-decoration: none; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.vm-footer {
  background: var(--ink); color: rgba(255,255,255,0.55);
  padding: 2.5rem 0;
  border-top: none;
}
.vm-footer-inner {
  display: flex; flex-direction: column; gap: 1rem;
}
.vm-footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.vm-footer-links {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.vm-footer-links a {
  padding: 4px 10px; border-radius: var(--radius);
  font-size: 13px; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color 0.15s;
}
.vm-footer-links a:hover { color: #fff; }
.vm-footer-note { font-size: 12px; }
.vm-footer-note a { color: rgba(255,255,255,0.55); }
.vm-footer-note a:hover { color: #fff; }

/* ══════════════════════════════
   TOAST
══════════════════════════════ */
#vm-toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: var(--radius);
  font-size: 13px; z-index: 9999;
  transition: transform 0.3s ease;
  pointer-events: none; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
#vm-toast.show { transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════
   MOBILE RESPONSIVE
══════════════════════════════ */
@media (max-width: 768px) {
  .vm-nav-links { display: none; }
  .vm-nav-action { display: none; }
  .vm-hamburger { display: flex; }

  .vm-hero { padding: 2rem 0 1.75rem; }
  .vm-hero-stats { gap: 1.5rem; }

  .vm-issues-grid { grid-template-columns: 1fr; }

  .vm-polis-layout {
    grid-template-columns: 1fr;
  }
  .vm-polis-sidebar {
    position: static;
    order: 2;
  }
  .vm-polis-embed-wrap { order: 1; }

  .vm-propose-layout { grid-template-columns: 1fr; }
  .vm-propose-sidebar { position: static; order: 2; }
  .vm-propose-form-wrap { order: 1; }

  .vm-about-two-col { grid-template-columns: 1fr; }
  .vm-stages-grid { grid-template-columns: 1fr; }

  .vm-docs-grid { grid-template-columns: 1fr; }

  .vm-progress-steps { padding: 0.5rem 0; }
  .vm-prog-label { display: none; }

  .vm-footer-links { gap: 0; }

  .vm-process-strip { padding: 0.5rem 0; }
}

@media (max-width: 480px) {
  :root { --nav-h: 52px; }
  .vm-hero h1 { font-size: 24px; }
  .vm-propose-form { padding: 1.25rem; }
  .vm-tab { padding: 10px 12px; font-size: 13px; }
  .vm-polis-embed-header { padding: 1rem 1rem 0; }
}

/* ══════════════════════════════
   REDUCED MOTION
══════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ══════════════════════════════
   PRINT
══════════════════════════════ */
@media print {
  .vm-nav, .vm-drawer, .vm-overlay, .vm-hamburger, .vm-footer { display: none; }
  .vm-hero { background: none; color: #000; padding: 1rem 0; }
  .vm-hero h1 { color: #000; }
}
