:root {
  --violet: #552878;
  --violet-dark: #2e153d;
  --violet-soft: #7b4c97;
  --gold: #f3c34f;
  --ivory: #fbf7ef;
  --paper: #fffdf9;
  --ink: #1c1722;
  --muted: #6d6571;
  --line: rgba(46, 21, 61, 0.15);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(46, 21, 61, 0.13);
  --radius-lg: 32px;
  --radius-md: 20px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

a { color: inherit; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.04em; }
h1 { font-size: clamp(3.2rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.4rem); }
h3 { font-size: 1.45rem; }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--violet-dark);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(24px, calc((100vw - var(--max-width)) / 2));
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(251, 247, 239, 0.92);
  box-shadow: 0 8px 30px rgba(46, 21, 61, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--violet-dark);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  color: var(--violet-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover { color: var(--violet); }
.site-nav .nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--violet);
  border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--violet); color: var(--white); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
}
.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--violet-dark);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  min-height: 100svh;
  padding: 130px max(24px, calc((100vw - var(--max-width)) / 2)) 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(243, 195, 79, 0.25), transparent 24%),
    linear-gradient(135deg, var(--ivory), #f5ece7 65%, #eadcec);
}

.hero-copy, .hero-symbol { position: relative; z-index: 2; }
.eyebrow {
  margin-bottom: 20px;
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero h1 { max-width: 820px; margin-bottom: 30px; color: var(--violet-dark); }
.hero h1 em {
  color: var(--violet);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
}
.hero-lede { max-width: 690px; margin-bottom: 32px; color: #4d4551; font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--violet); color: var(--white); box-shadow: 0 12px 28px rgba(85, 40, 120, 0.24); }
.button-primary:hover { background: var(--violet-dark); box-shadow: 0 16px 36px rgba(85, 40, 120, 0.3); }
.button-quiet { color: var(--violet-dark); }
.button-full { width: 100%; }

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  list-style: none;
}
.trust-line li { position: relative; }
.trust-line li:not(:last-child)::after { content: "·"; position: absolute; right: -14px; }

.flag-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.flag-prototype {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--violet);
}
.flag-sun { position: relative; width: 52%; }
.flag-sun span {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ivory);
  transform: translate(-50%, -50%);
}
.flag-sun img { position: relative; z-index: 1; width: 100%; }
.flag-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.flag-caption div { display: grid; }
.flag-caption span { color: var(--muted); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.flag-caption strong { color: var(--violet-dark); font-size: 0.92rem; }
.status-pill { padding: 7px 9px; border-radius: 999px; background: #efe5f3; color: var(--violet) !important; white-space: nowrap; }
.symbol-note { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 0.82rem; }
.symbol-note strong { color: var(--violet-dark); }

.hero-orbit { position: absolute; border: 1px solid rgba(85, 40, 120, 0.12); border-radius: 50%; }
.orbit-one { width: 620px; height: 620px; right: -260px; top: -180px; }
.orbit-two { width: 420px; height: 420px; right: -120px; top: -70px; }

.statement-band {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 6vw, 90px);
  padding: 28px 24px;
  background: var(--gold);
  color: var(--violet-dark);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 600;
}
.statement-band p { margin: 0; }

.section { padding: clamp(88px, 11vw, 150px) max(24px, calc((100vw - var(--max-width)) / 2)); }
.section-light { background: var(--paper); }
.section-intro { max-width: 820px; }
.section-intro h2 { margin-bottom: 28px; color: var(--violet-dark); }
.section-intro > p:last-child { max-width: 700px; color: var(--muted); font-size: 1.08rem; }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.method-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory);
}
.method-number { color: var(--violet-soft); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
.method-card h3 { margin-top: 80px; margin-bottom: 14px; color: var(--violet-dark); }
.method-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.projects-section { background: var(--paper); }
.projects-header { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.projects-header .section-intro { max-width: 820px; }
.projects-header .button { flex: 0 0 auto; margin-bottom: 8px; }
.projects-header-actions { display: grid; justify-items: start; gap: 10px; flex: 0 0 auto; }
.projects-header-actions .text-link { color: var(--violet); font-size: .72rem; }
.project-lifecycle {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 55px 0 24px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ivory);
  list-style: none;
}
.project-lifecycle li { position: relative; display: flex; align-items: center; gap: 9px; padding: 15px 13px; color: var(--muted); font-size: .68rem; }
.project-lifecycle li:not(:last-child) { border-right: 1px solid var(--line); }
.project-lifecycle span { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: #eadff0; color: var(--violet); font-size: .61rem; font-weight: 800; }
.project-lifecycle strong { color: var(--violet-dark); }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 55px 0 24px; }
.project-lifecycle + .project-filters { margin-top: 0; }
.project-filter {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--violet-dark);
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}
.project-filter:hover, .project-filter.is-active { border-color: var(--violet); background: var(--violet); color: var(--white); }
.project-registry { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.registry-card {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.registry-card:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(46, 21, 61, .08); }
.registry-card.is-hidden { display: none; }
.registry-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.project-code { color: var(--violet-soft); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.project-status { padding: 6px 9px; border-radius: 999px; font-size: .64rem; font-weight: 800; }
.status-definition { background: #eadff0; color: var(--violet); }
.status-exploration { background: #e2edf0; color: #285f6b; }
.status-design { background: #fbebbc; color: #6b5213; }
.status-idea { background: #e8e7e8; color: #55505a; }
.status-active { background: #ddf1e6; color: #21623c; }
.status-voting { background: #fbdf9d; color: #5f4100; }
.status-review { background: #e2edf0; color: #285f6b; }
.project-category { margin-bottom: 8px; color: var(--violet); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.registry-card h3 { margin-bottom: 16px; color: var(--violet-dark); font-size: clamp(1.6rem, 2.6vw, 2.35rem); }
.registry-card > p:not(.project-category) { color: var(--muted); }
.project-progress { height: 5px; margin-top: auto; overflow: hidden; border-radius: 999px; background: #dfd7df; }
.project-progress span { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--gold)); }
.project-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 9px; color: var(--muted); font-size: .64rem; font-weight: 700; }
.registry-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.registry-actions .text-link { color: var(--violet-dark); }
.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--violet);
  font-size: .68rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.support-button:hover, .support-button.is-supported { border-color: var(--violet); background: var(--violet); color: var(--white); }
.vote-cta { border-color: var(--gold); background: var(--gold); color: var(--violet-dark); }
.vote-cta:hover { border-color: var(--violet-dark); background: var(--violet-dark); color: var(--white); }
.registry-note { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--muted); font-size: .72rem; }
.registry-note span { padding: 5px 8px; border-radius: 999px; background: #efe5f3; color: var(--violet); font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.registry-note p { margin: 0; }

.project-drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.project-drawer.is-open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(23, 11, 32, .58); backdrop-filter: blur(4px); cursor: default; }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(580px, 92vw);
  padding: clamp(34px, 6vw, 64px);
  overflow-y: auto;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(23, 11, 32, .2);
  animation: drawer-in 220ms ease both;
}
.drawer-close { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--ivory); color: var(--violet-dark); font-size: 1.5rem; cursor: pointer; }
.drawer-code { display: inline-block; margin-bottom: 28px; color: var(--violet-soft); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.drawer-panel .eyebrow { margin-bottom: 12px; }
.drawer-panel h2 { margin-bottom: 24px; color: var(--violet-dark); font-size: clamp(2.3rem, 5vw, 4rem); }
.drawer-summary { margin-bottom: 42px; color: var(--muted); font-size: 1.05rem; }
.drawer-section { padding: 21px 0; border-top: 1px solid var(--line); }
.drawer-section > span { display: block; margin-bottom: 8px; color: var(--violet); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.drawer-section p { margin: 0; color: var(--ink); }
.drawer-actions { display: flex; align-items: center; gap: 10px; margin-top: 35px; }
.drawer-actions .button { flex: 1; }
body.drawer-open { overflow: hidden; }

@keyframes drawer-in { from { transform: translateX(40px); opacity: .7; } to { transform: translateX(0); opacity: 1; } }

.project-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  background: var(--violet-dark);
  color: var(--white);
}
.project-section .eyebrow { color: var(--gold); }
.project-copy h2 { color: var(--white); }
.project-copy > p { color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; }
.check-list { display: grid; gap: 12px; margin: 30px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: center; }
.check-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(243, 195, 79, 0.12); }
.text-link { display: inline-flex; gap: 9px; align-items: center; border: 0; background: none; color: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform 160ms ease; }

.project-visual { position: relative; min-height: 400px; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); background: rgba(255,255,255,0.04); overflow: hidden; }
.project-visual.project-map-visual { min-height: 0; aspect-ratio: 3 / 2; }
.project-map-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-map-label { position: absolute; top: 22px; left: 22px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(46,21,61,.72); color: var(--white); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }

.roadmap-section { background: #eee2ef; }
.roadmap-intro { display: grid; grid-template-columns: 0.9fr 1.1fr; column-gap: 80px; max-width: none; align-items: end; }
.roadmap-intro .eyebrow { grid-column: 1 / -1; }
.roadmap-intro h2 { margin-bottom: 0; }
.roadmap-intro > p:last-child { align-self: end; margin-bottom: 8px; }
.roadmap-compass { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 55px; border: 1px solid rgba(85, 40, 120, .17); border-radius: 18px; background: rgba(255, 253, 249, .5); }
.roadmap-compass div { min-height: 120px; padding: 24px; }
.roadmap-compass div:not(:last-child) { border-right: 1px solid var(--line); }
.roadmap-compass span { display: block; margin-bottom: 8px; color: var(--violet); font-size: .66rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.roadmap-compass strong { display: block; color: var(--violet-dark); font-size: .98rem; line-height: 1.35; }
.roadmap-compass .compass-next { background: var(--violet); }
.roadmap-compass .compass-next span { color: var(--gold); }
.roadmap-compass .compass-next strong { color: var(--white); }
.roadmap-shell { margin-top: 65px; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.roadmap-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.roadmap-tab { position: relative; padding: 22px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.roadmap-tab:last-child { border-right: 0; }
.roadmap-tab span, .roadmap-tab strong { display: block; }
.roadmap-tab span { margin-bottom: 6px; font-size: 0.67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.roadmap-tab strong { color: var(--violet-dark); }
.roadmap-tab.is-active { background: var(--violet); color: rgba(255,255,255,.7); }
.roadmap-tab.is-active strong { color: var(--white); }
.roadmap-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; padding: clamp(35px, 6vw, 72px); }
.stage-kicker { display: block; margin-bottom: 18px; color: var(--violet); font-size: 0.72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.roadmap-panel h3 { max-width: 620px; margin-bottom: 22px; color: var(--violet-dark); font-size: clamp(2rem, 3.4vw, 3.3rem); }
.roadmap-panel > div > p { max-width: 650px; color: var(--muted); }
.success-gate { align-self: center; padding: 24px; border-left: 3px solid var(--gold); background: var(--ivory); }
.success-gate span { display: block; color: var(--violet); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.success-gate p { margin: 10px 0 0; color: var(--violet-dark); font-weight: 700; }
.stage-projects { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid var(--line); }
.stage-projects > span { display: block; margin-bottom: 13px; color: var(--violet); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.stage-projects > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stage-project-chip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--ivory); color: var(--violet-dark); text-align: left; cursor: pointer; }
.stage-project-chip:hover { border-color: var(--violet); box-shadow: 0 8px 24px rgba(46, 21, 61, .08); }
.stage-project-chip span { color: var(--violet); font-size: .63rem; font-weight: 800; letter-spacing: .08em; }
.stage-project-chip strong { font-size: .82rem; }
.stage-project-chip small { color: var(--muted); font-size: .62rem; }
.stage-projects-empty { grid-column: 1 / -1; margin: 0; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: .78rem; }
.roadmap-closer { margin: 40px 0 0; color: var(--violet-dark); font-family: "Source Serif 4", serif; font-size: clamp(1.4rem, 3vw, 2.2rem); text-align: center; }

.decision-modal { position: fixed; inset: 0; z-index: 110; display: none; }
.decision-modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(23, 11, 32, .68); backdrop-filter: blur(5px); }
.decision-panel { position: relative; width: min(680px, calc(100vw - 32px)); max-height: calc(100svh - 40px); margin: 20px auto; padding: clamp(30px, 5vw, 56px); overflow-y: auto; border-radius: 28px; background: var(--paper); box-shadow: 0 28px 90px rgba(23, 11, 32, .32); animation: fade-up 220ms ease both; }
.decision-panel h2 { max-width: 560px; margin: 18px 0; color: var(--violet-dark); font-size: clamp(2rem, 4vw, 3.3rem); }
.decision-panel > p { color: var(--muted); }
.decision-step { color: var(--violet); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.decision-panel form { margin-top: 30px; }
.decision-panel form > label, .decision-panel legend { display: block; margin: 15px 0 7px; color: var(--violet-dark); font-size: .75rem; font-weight: 800; }
.decision-panel input:not([type="radio"]), .decision-panel textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); resize: vertical; }
.decision-panel input:focus, .decision-panel textarea:focus { outline: 3px solid rgba(243,195,79,.5); border-color: var(--violet); }
.decision-brief { margin-top: 28px; padding: 22px; border-left: 3px solid var(--gold); background: var(--ivory); }
.decision-brief > span { color: var(--violet); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.decision-brief p { margin: 10px 0 0; color: var(--muted); font-size: .82rem; }
.decision-panel fieldset { display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.decision-panel fieldset label { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.decision-panel fieldset label:has(input:checked) { border-color: var(--violet); background: #f3ebf4; }
.decision-panel fieldset input { margin-top: 5px; accent-color: var(--violet); }
.decision-panel fieldset label span { display: grid; }
.decision-panel fieldset small { color: var(--muted); font-size: .7rem; }
.proposal-result, .vote-result { display: none; margin-top: 32px; padding: 25px; border-radius: 16px; background: #edf6f0; }
.proposal-result.is-visible, .vote-result.is-visible { display: block; }
.proposal-result > span, .vote-result > span { color: #21623c; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.proposal-result p, .vote-result p { color: var(--muted); }
.proposal-result-actions { display: flex; gap: 8px; }
.proposal-result-actions .button { flex: 1; }
.vote-result .text-link { color: var(--violet); }
body.modal-open { overflow: hidden; }

.civic-grid-section { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--paper); }
.civic-card { min-height: 600px; padding: clamp(34px, 5vw, 60px); border-radius: var(--radius-lg); }
.civic-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 70px; border: 1px solid currentColor; border-radius: 50%; font-size: 1.6rem; }
.civic-card h2 { max-width: 540px; font-size: clamp(2.3rem, 4vw, 4rem); }
.civic-card > p:not(.eyebrow) { max-width: 560px; }
.civic-card ul { display: grid; gap: 10px; padding-left: 18px; }
.civic-data { background: var(--gold); color: var(--violet-dark); }
.civic-data .eyebrow { color: var(--violet-dark); }
.civic-democracy { background: var(--violet); color: var(--white); }
.civic-democracy .eyebrow { color: var(--gold); }
.civic-democracy blockquote { margin: 50px 0 0; padding-left: 20px; border-left: 2px solid var(--gold); font-family: "Source Serif 4", serif; font-size: 1.35rem; }

.principles-section { background: var(--ivory); }
.principles-list { margin-top: 65px; border-top: 1px solid var(--line); }
.principles-list div { display: grid; grid-template-columns: 70px 1fr; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles-list span { color: var(--violet-soft); font-size: .72rem; font-weight: 800; }
.principles-list strong { color: var(--violet-dark); font-size: clamp(1.25rem, 2.5vw, 2rem); }

.identity-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 130px); align-items: center; background: var(--paper); }
.identity-copy > p:not(.eyebrow):not(.prototype-warning) { color: var(--muted); font-size: 1.05rem; }
.identity-legend { margin: 35px 0; }
.identity-legend div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.identity-legend div:last-child { border-bottom: 1px solid var(--line); }
.identity-legend dt { color: var(--violet-dark); font-weight: 800; }
.identity-legend dd { margin: 0; color: var(--muted); }
.prototype-warning { padding: 14px 18px; border-radius: 12px; background: #f3ebf4; color: var(--violet-dark); font-size: .8rem; font-weight: 700; }
.identity-lockup { display: grid; gap: 20px; }
.logo-display { display: flex; align-items: center; gap: 20px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ivory); }
.logo-display img { width: 150px; }
.logo-display > div { display: grid; color: var(--violet-dark); font-size: clamp(1.8rem, 3vw, 3rem); line-height: .96; letter-spacing: -.06em; }
.logo-display span { margin-top: 12px; color: var(--violet); font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.palette > span { position: relative; min-height: 130px; padding: 15px; border-radius: 14px; background: var(--swatch); }
.palette b, .palette small { position: relative; z-index: 1; display: block; color: var(--white); mix-blend-mode: difference; }
.palette b { font-size: .75rem; }.palette small { margin-top: 3px; font-size: .65rem; }

.vision-section { padding: clamp(90px, 15vw, 200px) 24px; background: var(--violet-dark); color: var(--white); text-align: center; }
.vision-inner { max-width: 1000px; margin: 0 auto; }
.vision-section .eyebrow { color: var(--gold); }
.vision-section h2 { margin-bottom: 32px; }
.vision-section p:last-child { max-width: 760px; margin: 0 auto; color: rgba(255,255,255,.72); font-size: 1.08rem; }

.participate-section { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(50px, 9vw, 130px); align-items: center; background: linear-gradient(135deg, var(--ivory), #eee2ef); }
.participate-copy h2 { color: var(--violet-dark); }
.participate-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.participant-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.participant-types li { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); color: var(--violet-dark); font-size: .72rem; font-weight: 700; }
.signup-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.form-step { display: none; }
.form-step.is-active { display: block; animation: fade-up 300ms ease both; }
.form-progress { color: var(--violet); font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.form-step h3 { margin: 14px 0 26px; color: var(--violet-dark); font-size: 1.8rem; }
.form-step label { display: block; margin: 14px 0 7px; color: var(--violet-dark); font-size: .75rem; font-weight: 800; }
.form-step input[type="email"], .form-step select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.form-step input:focus, .form-step select:focus { outline: 3px solid rgba(243,195,79,.5); border-color: var(--violet); }
.form-step .button { margin-top: 22px; }
.form-privacy { margin: 13px 0 0; color: var(--muted); font-size: .68rem; text-align: center; }
.role-options { display: grid; gap: 8px; }
.role-options label { display: flex; gap: 10px; align-items: center; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.role-options label:has(input:checked) { border-color: var(--violet); background: #f3ebf4; }
.role-options input { accent-color: var(--violet); }
.form-success { text-align: center; }
.form-success img { width: 90px; margin: 0 auto 18px; }
.form-success p { color: var(--muted); }
.reset-form { color: var(--violet); }

.site-footer { display: grid; grid-template-columns: .8fr 1.3fr auto; align-items: center; gap: 40px; padding: 45px max(24px, calc((100vw - var(--max-width)) / 2)); background: #170b20; color: rgba(255,255,255,.58); }
.footer-brand { color: var(--white); }
.site-footer p { margin: 0; font-size: .76rem; }
.footer-meta { text-align: right; }
.footer-meta a { color: var(--gold); font-weight: 700; text-decoration: none; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .site-header { padding-left: 22px; padding-right: 22px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; }
  .site-nav .nav-cta { text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 150px; }
  .hero-copy { max-width: 780px; }
  .hero-symbol { width: min(680px, 100%); margin: 0 auto; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .projects-header { align-items: flex-start; flex-direction: column; gap: 25px; }
  .projects-header .button { width: auto; }
  .project-section, .identity-section, .participate-section { grid-template-columns: 1fr; }
  .project-visual { min-height: 330px; }
  .roadmap-intro { grid-template-columns: 1fr; gap: 18px; }
  .project-lifecycle { grid-template-columns: repeat(3, 1fr); }
  .project-lifecycle li:nth-child(3) { border-right: 0; }
  .project-lifecycle li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .roadmap-compass { grid-template-columns: 1fr; }
  .roadmap-compass div:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
  .roadmap-tabs { grid-template-columns: 1fr 1fr; }
  .roadmap-tab { border-bottom: 1px solid var(--line); }
  .roadmap-panel { grid-template-columns: 1fr; gap: 34px; }
  .civic-grid-section { grid-template-columns: 1fr; }
  .civic-card { min-height: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; }
  .footer-meta { text-align: left; }
}

@media (max-width: 640px) {
  .brand span { font-size: .82rem; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .trust-line { gap: 6px 14px; }
  .trust-line li:not(:last-child)::after { right: -9px; }
  .statement-band { align-items: center; flex-direction: column; gap: 4px; text-align: center; }
  .method-grid { grid-template-columns: 1fr; }
  .project-registry { grid-template-columns: 1fr; }
  .project-filters { flex-wrap: nowrap; margin-right: -20px; padding-right: 20px; overflow-x: auto; }
  .project-filter { flex: 0 0 auto; }
  .registry-card { min-height: 390px; }
  .registry-actions { align-items: stretch; flex-direction: column; }
  .support-button { min-height: 42px; }
  .registry-note { align-items: flex-start; }
  .drawer-actions { align-items: stretch; flex-direction: column; }
  .method-card { min-height: 220px; }
  .method-card h3 { margin-top: 45px; }
  .roadmap-tabs { grid-template-columns: 1fr; }
  .roadmap-tab { display: flex; align-items: center; justify-content: space-between; }
  .roadmap-tab span { margin: 0; }
  .roadmap-panel { padding: 28px 22px; }
  .stage-projects > div { grid-template-columns: 1fr; }
  .stage-project-chip { grid-template-columns: auto 1fr; }
  .stage-project-chip small { grid-column: 2; }
  .project-lifecycle { grid-template-columns: 1fr 1fr; }
  .project-lifecycle li { border-bottom: 1px solid var(--line); }
  .project-lifecycle li:nth-child(odd) { border-right: 1px solid var(--line); }
  .project-lifecycle li:nth-child(2n) { border-right: 0; }
  .project-lifecycle li:nth-last-child(-n+2) { border-bottom: 0; }
  .proposal-result-actions { align-items: stretch; flex-direction: column; }
  .identity-legend div { grid-template-columns: 1fr; gap: 2px; }
  .logo-display { align-items: flex-start; flex-direction: column; }
  .palette { grid-template-columns: 1fr 1fr; }
  .palette > span { min-height: 95px; }
  .civic-icon { margin-bottom: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
