:root {
  --bg: #f6fbf8;
  --bg-pure: #ffffff;
  --mint: #e7f6ee;
  --mint-soft: #f2faf5;
  --green: #00c805;
  --green-deep: #00a344;
  --emerald: #127a45;
  --ink: #0b0f0d;
  --ink-soft: #3a433e;
  --muted: #7a847e;
  --line: rgba(11, 15, 13, 0.08);
  --silver: #cfd7d2;
  --glass: rgba(255, 255, 255, 0.58);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-ui: "Inter", system-ui, sans-serif;
  --font-display: "Syne", "Inter", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(0, 200, 5, 0.08), transparent 60%),
    radial-gradient(700px 400px at 8% 30%, rgba(18, 122, 69, 0.05), transparent 55%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 80;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--green);
  transform-origin: left center;
}

.up-wave {
  position: fixed;
  left: 50%;
  bottom: -20%;
  width: 42vw;
  max-width: 560px;
  height: 140vh;
  pointer-events: none;
  z-index: 40;
  transform: translateX(-50%) translateY(20%) scaleY(0.4);
  opacity: 0;
  background: linear-gradient(
    to top,
    rgba(0, 200, 5, 0) 0%,
    rgba(0, 200, 5, 0.18) 40%,
    rgba(0, 200, 5, 0) 100%
  );
  filter: blur(18px);
}

.up-wave.is-on {
  animation: riseWave 1.35s var(--ease) forwards;
}

@keyframes riseWave {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(18%) scaleY(0.35);
  }
  35% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-70%) scaleY(1.15);
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 70;
  transform: translateX(-50%) translateY(16px);
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  border-radius: 4px;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 28px;
  background: transparent;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
}

.brand-mark {
  width: 28px;
  height: 28px;
  mix-blend-mode: multiply;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--ink);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.social-x,
.footer-x {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.social-x:hover,
.footer-x:hover {
  color: var(--ink);
}

.footer-x {
  display: inline-block;
  margin: 28px 0 0;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 12px 18px;
  border-radius: 6px;
  touch-action: manipulation;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
}

.btn-primary:hover {
  background: #12d42a;
}

.btn-ghost,
.btn-buy,
.btn-copy {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 56px 64px;
}

.hero-copy {
  padding-top: 24px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 12vw, 10.5rem);
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.hero-tag {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  letter-spacing: -0.02em;
}

.hero-line {
  margin: 28px 0 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.status-pill {
  display: inline-flex;
  gap: 8px;
  margin: 28px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  min-height: 68vh;
  display: grid;
  place-items: center;
  perspective: 980px;
}

.hero-glow {
  position: absolute;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 5, 0.16), transparent 68%);
  filter: blur(8px);
}

.hero-shadow {
  position: absolute;
  width: 46%;
  height: 10%;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(16, 70, 42, 0.22), transparent 70%);
  filter: blur(10px);
}

.hero-logo-wrap {
  position: relative;
  width: min(82%, 640px);
  z-index: 1;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-logo {
  width: 100%;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 28px rgba(10, 70, 40, 0.08));
}

.hero-spec {
  position: absolute;
  top: 12%;
  left: 18%;
  width: 28%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.65;
}

.flip {
  height: 240vh;
  position: relative;
}

.flip-pin {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.flip-inner {
  width: min(100%, 980px);
  padding: 0 24px 32px;
  text-align: center;
}

.kicker {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.flip-stage {
  position: relative;
  min-height: min(62vh, 560px);
  display: grid;
  place-items: center;
}

.flip-axis {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(18, 122, 69, 0.12);
  overflow: hidden;
}

.flip-axis-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0%;
  background: linear-gradient(to top, var(--green), rgba(0, 200, 5, 0.05));
}

.flip-figure {
  position: relative;
  width: min(42vw, 340px);
  z-index: 1;
}

.flip-shadow {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 70%;
  height: 14%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(16, 70, 42, 0.2), transparent 70%);
  filter: blur(8px);
}

.flip-tiny {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.flip-logo-orbit {
  position: relative;
  transform: rotate(180deg);
  transform-origin: 50% 58%;
  will-change: transform;
}

.flip-logo {
  width: 100%;
  mix-blend-mode: multiply;
}

.flip-glass {
  position: absolute;
  inset: 10% 18% 28%;
  border-radius: 50%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.45), transparent 42%, rgba(0, 200, 5, 0.08) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.55;
}

.flip-label {
  position: absolute;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transform: translateX(-50%);
}

.flip-label-before {
  top: 8px;
  color: var(--muted);
}

.flip-label-after {
  bottom: 8px;
  color: var(--emerald);
  opacity: 0;
}

.flip-arrow {
  font-size: 1.1rem;
  letter-spacing: 0;
}

.flip-support {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.narrative {
  max-width: 1180px;
  margin: 0 auto;
  padding: 160px 48px 80px;
}

.narr-line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6.4vw, 5.6rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.narr-huge {
  font-size: clamp(2.8rem, 8vw, 7.2rem);
}

.narr-green {
  color: var(--green-deep);
}

.narr-center {
  text-align: center;
  margin: 120px 0;
}

.narr-down span {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
}

.narr-stack {
  margin: 64px 0 0;
}

.narr-right {
  text-align: right;
}

.narr-muted {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  color: var(--muted);
  letter-spacing: -0.02em;
}

.narr-block {
  margin: 120px 0;
}

.narr-pair {
  margin: 140px 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4.2rem);
  letter-spacing: -0.04em;
}

.narr-pair p {
  margin: 8px 0;
}

.narr-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 120px 0;
}

.narr-split p:last-child {
  text-align: right;
}

.narr-close {
  margin-top: 160px;
  text-align: center;
}

.vote {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 24px 140px;
  text-align: center;
  overflow-x: clip;
}

.vote .kicker {
  margin-bottom: 48px;
}

.vote-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-height: 220px;
}

.vote-slot {
  position: relative;
  min-height: 180px;
}

.vote-btn {
  appearance: none;
  width: 100%;
  min-height: 180px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.vote-btn span {
  display: block;
  font-size: 0.55em;
  line-height: 1;
}

.vote-no {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
}

.vote-yes {
  border: 1px solid rgba(0, 200, 5, 0.35);
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 200, 5, 0.18);
}

.vote-yes:hover {
  transform: translateY(-3px);
}

.vote-yes.is-pulse {
  animation: yesPulse 0.7s var(--ease);
}

@keyframes yesPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.045); }
  100% { transform: scale(1); }
}

.vote-result {
  min-height: 28px;
  margin: 28px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
}

.vote-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.vote-thumb {
  position: fixed;
  left: 50%;
  top: 42%;
  width: min(28vw, 220px);
  pointer-events: none;
  opacity: 0;
  z-index: 45;
  mix-blend-mode: multiply;
  transform: translate(-50%, -40%) scale(0.7);
}

.vote-thumb.is-on {
  animation: thumbPop 0.9s var(--ease) forwards;
}

@keyframes thumbPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -28%) scale(0.72);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, -48%) scale(1.04);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -70%) scale(1.08);
  }
}

.about {
  padding: 40px 48px 140px;
}

.about-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: start;
}

.about-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.about-copy p {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.35;
  color: var(--ink-soft);
}

.contract,
.chart {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.panel {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(231, 246, 238, 0.55));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 24px 50px rgba(16, 70, 42, 0.05);
  backdrop-filter: blur(16px);
}

.panel-label {
  margin: 0 0 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-row strong {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.ca-value {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  word-break: break-all;
  text-align: right;
}

.btn-copy {
  margin-top: 22px;
  width: 100%;
}

.section-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
}

.chart-frame {
  position: relative;
  min-height: 420px;
  background: var(--bg-pure);
  border: 1px solid var(--line);
  overflow: hidden;
}

.chart-placeholder {
  min-height: 420px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 16px;
  background:
    linear-gradient(to top, rgba(0, 200, 5, 0.06), transparent 42%),
    repeating-linear-gradient(
      to top,
      transparent 0 47px,
      rgba(18, 122, 69, 0.06) 47px 48px
    );
}

.chart-placeholder p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.chart-placeholder span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.chart-frame iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

.banner-break {
  position: relative;
  height: min(68vh, 760px);
  margin: 20px 12px 0;
  overflow: hidden;
}

.banner-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.banner-break p {
  position: absolute;
  left: 50%;
  bottom: 11%;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 8px 28px rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.site-footer {
  padding: 120px 24px 48px;
  text-align: center;
}

.footer-mark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.85;
}

.site-footer p {
  color: var(--ink-soft);
}

.footer-chain {
  margin-top: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 12px 24px 48px;
    min-height: auto;
  }

  .hero-visual {
    min-height: 52vh;
    order: -1;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 22vw, 7rem);
  }

  .site-header {
    padding: 0 16px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.62rem;
    justify-content: center;
  }

  .narrative,
  .about {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-grid,
  .narr-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .narr-right,
  .narr-split p:last-child {
    text-align: left;
  }

  .banner-break {
    margin: 0;
    height: min(52vh, 480px);
  }
}

@media (max-width: 640px) {
  .site-header {
    height: auto;
    min-height: var(--header-h);
    padding: 10px 12px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand buy"
      "nav nav";
  }

  .brand { grid-area: brand; }
  .header-actions { grid-area: buy; }
  .site-header .btn-buy { padding: 10px 12px; }
  .site-nav {
    grid-area: nav;
    justify-content: space-between;
    padding: 6px 2px 4px;
  }

  .hero-visual {
    min-height: 46vh;
  }

  .flip-figure {
    width: min(68vw, 260px);
  }

  .flip-stage {
    min-height: min(46vh, 340px);
  }

  .flip-tiny {
    margin-bottom: 8px;
    font-size: 0.82rem;
  }

  .vote-board {
    grid-template-columns: 1fr;
  }

  .vote-btn {
    min-height: 112px;
  }

  .banner-break p {
    white-space: normal;
    text-align: center;
    width: min(90%, 20rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .vote-btn,
  .toast,
  .site-header,
  .hero-logo-wrap,
  .flip-logo-orbit,
  .flip-shadow,
  .flip-glass,
  .flip-axis-fill,
  .progress span {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .up-wave.is-on,
  .vote-thumb.is-on {
    animation: none;
    opacity: 0;
  }

  .flip-logo-orbit {
    transform: none;
  }

  .flip-label-after {
    opacity: 1;
  }

  .flip-label-before {
    opacity: 0.28;
  }
}
