/* EXIT landing — structural scaffold
   Palette: white + Robinhood green + near-black
   Refs (language only): Cantor8 asymmetry, Flim nav
*/

:root {
  --bg: #ffffff;
  --bg-muted: #f4f4f0;
  --ink: #000000;
  --ink-muted: #555555;
  --green: #ccff00;
  --green-soft: rgba(204, 255, 0, 0.18);
  --green-deep: #b8e600;
  --line: rgba(0, 0, 0, 0.1);
  --red-k: rgba(198, 40, 40, 0.08);
  --nav-h: 64px;
  --radius: 12px;
  --max: 1120px;
  --font: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Syne", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-cursor {
  cursor: none;
}

body.has-cursor a,
body.has-cursor button,
body.has-cursor summary {
  cursor: none;
}

h1, h2, h3, .nav__logo, .hero__eyebrow {
  font-family: var(--display);
}

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

button {
  font: inherit;
  cursor: pointer;
}

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

/* ----- Nav (Flim-inspired structure) ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.125rem;
  line-height: 1;
}

.nav__logo img {
  width: 28px;
  height: 28px;
  max-width: none;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.nav__logo span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav__links {
  display: none;
  gap: 28px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.nav__links a {
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav__menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.nav__mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.nav__mobile[hidden] {
  display: none;
}

.nav__mobile a {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.nav__mobile .btn {
  text-align: center;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }

  .nav__menu-btn {
    display: none;
  }

  .nav__mobile {
    display: none !important;
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 0;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
}

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

.btn--green:hover {
  opacity: 0.88;
}

.btn--ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  opacity: 0.7;
  cursor: not-allowed;
}

.btn--locked {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: #e8e8e8;
  color: #999;
  cursor: not-allowed;
  position: relative;
}

.btn--locked::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius) + 3px);
  border: 1px solid var(--green);
  opacity: 0.35;
  animation: claim-pulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes claim-pulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.65;
  }
}

/* ----- Placeholders ----- */
.placeholder {
  border: 1.5px dashed rgba(13, 13, 13, 0.25);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(13, 13, 13, 0.03) 8px,
      rgba(13, 13, 13, 0.03) 16px
    );
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  color: var(--ink-muted);
}

.placeholder__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 28em;
}

.placeholder__meta {
  font-size: 0.75rem;
  max-width: 32em;
}

.placeholder--bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04),
    transparent 45%
  );
  opacity: 1;
  pointer-events: none;
}

.placeholder--bg .placeholder__label {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  border: 1px dashed rgba(0, 0, 0, 0.35);
  color: var(--ink);
}

.placeholder--hero {
  min-height: 320px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.06);
  border-color: var(--ink);
  border-style: dashed;
  color: var(--ink);
}

.placeholder--flow {
  min-height: 160px;
  margin-bottom: 40px;
}

.placeholder--narrative {
  min-height: 120px;
  margin-top: 40px;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
}

.placeholder--narrative .placeholder__label {
  color: rgba(255, 255, 255, 0.85);
}

.placeholder--claim-fx {
  min-height: 56px;
  margin-bottom: 20px;
  border-color: var(--green);
  background: var(--green-soft);
}

.placeholder--pool {
  min-height: 180px;
  border-color: var(--green);
  background: var(--green-soft);
  margin-bottom: 20px;
}

/* ----- Ticker (ponszi-inspired feed structure) ----- */
.ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: #000;
  color: var(--green);
  padding: 0 0 0 16px;
  overflow: hidden;
  height: 40px;
}

.ticker__badge {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--green);
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
}

.ticker__track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}

.ticker__item {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--green);
}

.ticker__item--dim {
  color: rgba(204, 255, 0, 0.45);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 24px 56px;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: stretch;
  background: var(--green);
}

.hero__stack {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero__eyebrow {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1rem;
}

.hero__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__chips li {
  padding: 6px 12px;
  border: 1.5px solid #000;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.06);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--ink);
  max-width: 12em;
}

.hero__lead {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.72);
  max-width: 28em;
}

.hero__lead + .hero__lead {
  margin-top: 4px;
  margin-bottom: 20px;
}

.hero__bottom {
  display: grid;
  gap: 24px;
  align-items: end;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn--outline {
  background: transparent;
  color: #000;
  border: 1.5px solid #000;
  border-radius: 999px;
}

.btn--outline:hover {
  background: #000;
  color: var(--green);
}

.hero__panels {
  display: grid;
  gap: 10px;
}

.hero-panel {
  background: #000;
  color: #fff;
  border-radius: 16px;
  padding: 18px 20px;
}

.hero-panel__label {
  margin: 0 0 10px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-panel__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hero-panel__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-panel__steps span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--green);
}

.hero-panel--pool .hero-panel__value {
  margin: 0;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
}

.hero-panel__meta {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero-panel--claim .hero-panel__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.hero-panel__value--sm {
  margin: 0;
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-panel__lock {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  background: var(--green);
  padding: 4px 8px;
  border-radius: 4px;
}

.hero-panel--claim .btn--locked {
  background: #222;
  color: #777;
}

.hero-panel--claim .btn--locked::after {
  border-color: var(--green);
}

.btn--outline-nav {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 600;
}

.btn--outline-nav:hover {
  border-color: #000;
}

.btn--claim-ready {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 0;
  background: var(--green);
  color: #000;
  font-weight: 700;
  cursor: pointer;
}

.btn--claim-ready:hover {
  opacity: 0.9;
}

.hero-panel--drop .hero-panel__value {
  margin: 0;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.hero-panel__hint {
  margin: 10px 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.hero-panel__lock.is-on {
  background: #fff;
  color: #000;
}

.pool__meta--drop {
  background: #000;
  color: #fff;
  border-left-color: var(--green);
}

.pool__meta--drop .pool__meta-label,
.pool__meta--drop .pool__meta-hint {
  color: rgba(255, 255, 255, 0.55);
}

.pool__meta-value--drop {
  color: var(--green) !important;
  font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
  font-variant-numeric: tabular-nums;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 10001;
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 12px;
  background: #000;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.toast[hidden] {
  display: none !important;
}

body.is-connected .js-connect.is-connected {
  background: #111;
  color: var(--green);
}

@media (min-width: 900px) {
  .hero {
    padding: 48px 24px 64px;
  }

  .hero__bottom {
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: end;
  }

  .hero__panels {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel--claim {
    grid-column: 1 / -1;
  }
}

/* ----- CA bar ----- */
.ca-bar {
  display: flex;
  align-items: stretch;
  max-width: 480px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.ca-bar__text {
  flex: 1;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-bar__copy {
  flex-shrink: 0;
  padding: 0 16px;
  border: 0;
  border-left: 2px solid var(--ink);
  background: var(--ink);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
}

.ca-bar__copy:hover {
  opacity: 0.9;
}

.ca-bar__copy.is-copied {
  background: #fff;
  color: var(--ink);
}

.ca-bar__hint {
  min-height: 1.25em;
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.ca-bar__stage {
  margin: 10px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
}

.badge-preview {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  background: var(--green);
  color: #000;
  font-weight: 700;
}

.hero-panel .badge-preview {
  background: rgba(204, 255, 0, 0.2);
  color: var(--green);
  border: 1px solid rgba(204, 255, 0, 0.35);
}

/* ----- Sections ----- */
.section {
  padding: 80px 24px;
}

.section--muted {
  background: #f2f7e6;
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 640px;
}

.section__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6b00;
}

.section__header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section__intro {
  margin: 0 0 40px;
  color: var(--ink-muted);
  max-width: 36em;
}

/* ----- Steps ----- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.steps__item {
  position: relative;
  padding-left: 0;
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green);
  color: #000;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.steps__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.steps__body {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .steps__item {
    padding-right: 16px;
    border-right: 1px solid var(--line);
  }

  .steps__item:last-child {
    border-right: 0;
  }
}

/* ----- Narrative (dark reverse) ----- */
.narrative {
  background: var(--ink);
  color: #f5f5f5;
  padding: 96px 24px;
}

.narrative__inner {
  max-width: 720px;
  margin: 0 auto;
}

.narrative h2 {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 800;
}

.narrative p {
  margin: 0 0 12px;
  color: rgba(245, 245, 245, 0.72);
  font-size: 1.05rem;
}

.narrative__punch {
  margin-top: 24px !important;
  color: var(--green) !important;
  font-weight: 700;
}

.narrative {
  background: #000;
}

/* Nav contrast when narrative is under sticky nav — optional class via JS */
.nav.is-over-dark {
  background: rgba(13, 13, 13, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #f5f5f5;
}

.nav.is-over-dark .nav__links {
  color: rgba(245, 245, 245, 0.65);
}

.nav.is-over-dark .nav__links a:hover {
  color: #fff;
}

.nav.is-over-dark .nav__menu-btn span {
  background: #f5f5f5;
}

/* ----- Stats ----- */
.stats {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.stats__card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  border-top: 3px solid var(--green);
}

.stats__label {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.stats__value {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stats__value--status {
  color: #000;
  background: var(--green);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.stats__hint {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.stats__footnote {
  margin: 20px 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ----- Split: exit vs bag ----- */
.split {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

.split__card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--bg-muted);
}

.split__card--hold {
  border-color: rgba(0, 0, 0, 0.2);
  background: var(--green);
}

.split__card--hold .split__eyebrow,
.split__card--hold .split__body {
  color: rgba(0, 0, 0, 0.65);
}

.split__card--hold .split__title {
  color: #000;
}

.split__card--exit {
  border-color: rgba(0, 0, 0, 0.15);
  background: #111;
  color: #fff;
}

.split__card--exit .split__eyebrow {
  color: var(--green);
}

.split__card--exit .split__body {
  color: rgba(255, 255, 255, 0.7);
}

.split__eyebrow {
  margin: 0 0 8px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.split__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.split__body {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

/* ----- Pool ----- */
.pool {
  display: grid;
  gap: 20px;
}

.pool__main {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: #000;
  color: #fff;
}

.pool__main .pool__label,
.pool__main .pool__caption {
  color: rgba(255, 255, 255, 0.55);
}

.pool__label {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.pool__caption {
  margin: 12px 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.pool__side {
  display: grid;
  gap: 12px;
}

.pool__amount {
  display: block;
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--green);
}

.pool__meta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--bg);
  border-left: 3px solid var(--green);
}

.pool__meta-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.pool__meta-value {
  display: block;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
}

.pool__meta-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

@media (min-width: 900px) {
  .pool {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
  }

  .pool__side {
    grid-template-rows: repeat(3, 1fr);
  }
}

/* ----- Claim panel ----- */
.claim-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 4px 16px;
  border-left: 3px solid var(--green);
}

.faq__item[open] {
  background: #fcffe8;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  background: #000;
  color: var(--green);
}

.footer__x:hover {
  color: #fff;
}

.nav__logo span::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.5);
  animation: logo-dot 2s ease-out infinite;
}

@keyframes logo-dot {
  0% { box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(204, 255, 0, 0); }
}


.claim-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.claim-panel__wallet-label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.claim-panel__wallet {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.claim-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.claim-panel__cell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--bg-muted);
}

.claim-panel__cell--wide {
  grid-column: 1 / -1;
}

.claim-panel__label {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.claim-panel__amount {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.claim-panel__status {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ----- FAQ ----- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 4px 16px;
}

.faq__item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--ink-muted);
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  margin: 0 0 16px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ----- Footer ----- */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  background: #000;
  color: var(--green);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer__x:hover {
  color: #fff;
}


/* =========================================================
   Rig-inspired diagram / media layer
   ========================================================= */

.diagram {
  margin-bottom: 56px;
}

.diagram__frame {
  position: relative;
  border: 2px solid #000;
  border-radius: 20px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.diagram__img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
  transition: transform 0.8s var(--ease-out), opacity 0.4s ease;
}

.diagram.is-hot .diagram__img {
  transform: scale(1.02);
}

.diagram__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(204, 255, 0, 0.08) 50%,
    transparent 100%
  );
  background-size: 100% 200%;
  animation: scan-sweep 4.5s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes scan-sweep {
  from { background-position: 0 -100%; }
  to { background-position: 0 100%; }
}

.diagram__tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .diagram__tabs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.diagram__tab {
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.diagram__tab span {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: #777;
  margin-bottom: 2px;
}

.diagram__tab:hover {
  border-color: #000;
  transform: translateY(-2px);
}

.diagram__tab.is-active {
  background: var(--green);
  border-color: #000;
}

.diagram__tab.is-active span {
  color: #000;
}

.diagram__panels {
  margin-top: 14px;
  border: 1.5px solid #000;
  border-radius: 16px;
  padding: 20px 22px;
  background: #111;
  color: #fff;
  min-height: 140px;
}

.diagram__panel[hidden] {
  display: none !important;
}

.diagram__kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.diagram__panel h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.diagram__panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  max-width: 40em;
}

.feature-grid {
  display: grid;
  gap: 12px;
  margin: 48px 0;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 22px 20px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--green);
}

.feature-card__id {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #888;
  margin-bottom: 10px;
}

.feature-card__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.feature-card:hover {
  border-color: #000;
  background: #fcffe8;
}

.compare {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: 8px;
  padding: 20px;
  border-radius: 20px;
  border: 2px solid #000;
  background: #0a0a0a;
  color: #fff;
}

@media (min-width: 900px) {
  .compare {
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    padding: 28px;
  }
}

.compare__media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(204, 255, 0, 0.25);
}

.compare__media img {
  width: 100%;
  height: auto;
  display: block;
}

.compare .section__eyebrow {
  color: var(--green);
}

.compare__title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.compare__copy > p:not(.section__eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px;
}

.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compare__label {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.compare__text {
  margin: 0;
  font-weight: 600;
}

.pool-viz__img {
  width: min(220px, 70%);
  height: auto;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 40px rgba(204, 255, 0, 0.35);
}

.pool-viz {
  position: relative;
  height: 200px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}


/* =========================================================
   Beaucoup-inspired motion layer
   ========================================================= */

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9990;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
    mix-blend-mode: difference;
  }

  .cursor__dot {
    position: absolute;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: #fff;
    transform: translate3d(var(--x, -100px), var(--y, -100px), 0);
  }

  .cursor__ring {
    position: absolute;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) scale(var(--rs, 1));
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), margin 0.25s var(--ease-out);
  }

  .cursor.is-hover .cursor__ring {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }
}

/* Scroll / load reveals */
[data-reveal]:not([data-reveal="hero"]) {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

[data-reveal]:not([data-reveal="hero"]).is-in {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="hero"] {
  opacity: 1;
  transform: none;
}

.hero [data-reveal="hero"] .reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
  /* Failsafe if JS fails: become visible after 1s */
  animation: hero-failsafe 0.01s linear 1s forwards;
}

.hero.is-ready [data-reveal="hero"] .reveal-item {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

@keyframes hero-failsafe {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero.is-ready [data-reveal="hero"] .reveal-item:nth-child(1) { transition-delay: 0.05s; }
.hero.is-ready [data-reveal="hero"] .reveal-item:nth-child(2) { transition-delay: 0.18s; }
.hero.is-ready [data-reveal="hero"] .reveal-item:nth-child(3) { transition-delay: 0.36s; }

.line-mask {
  display: block;
  overflow: hidden;
}

.line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  animation: line-failsafe 0.01s linear 1s forwards;
}

.hero.is-ready .line-inner {
  transform: translateY(0);
  animation: none;
}

@keyframes line-failsafe {
  to { transform: translateY(0); }
}

.hero.is-ready .line-mask:nth-child(1) .line-inner { transition-delay: 0.15s; }
.hero.is-ready .line-mask:nth-child(2) .line-inner { transition-delay: 0.28s; }

/* Hero atmosphere */
.hero__glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -10%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 68%);
  filter: blur(20px);
  animation: glow-breathe 6s ease-in-out infinite;
  pointer-events: none;
}

.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 78px,
      rgba(0, 0, 0, 0.04) 78px,
      rgba(0, 0, 0, 0.04) 79px
    );
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  animation: lines-drift 18s linear infinite;
}

@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes lines-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-79px); }
}

/* Flow diagram — Rig-inspired nodes + particle pipes */
.flow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 48px;
  padding: 22px 18px;
  border: 2px solid #000;
  border-radius: 18px;
  background: var(--green);
  overflow: hidden;
}

.flow__node {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1.5px solid #000;
  border-radius: 14px;
  padding: 16px 14px;
  text-align: left;
}

.flow__node--end {
  background: #000;
}

.flow__tag {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

.flow__node--end .flow__tag {
  color: rgba(204, 255, 0, 0.7);
}

.flow__title {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #000;
  line-height: 1;
}

.flow__node--end .flow__title {
  color: var(--green);
}

.flow__sub {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #222;
}

.flow__node--end .flow__sub {
  color: #fff;
}

.flow__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #999;
}

.flow__node--end .flow__meta {
  color: rgba(255, 255, 255, 0.45);
}

.flow__pipe {
  flex: 0.55;
  align-self: center;
  height: 2px;
  position: relative;
  overflow: hidden;
  min-width: 36px;
}

.flow__rail {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
}

.flow__pipe i {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #000;
  animation: pipe-dot 1.6s linear infinite;
  opacity: 0;
}

.flow__pipe i:nth-child(2) { animation-delay: 0s; }
.flow__pipe i:nth-child(3) { animation-delay: 0.4s; }
.flow__pipe i:nth-child(4) { animation-delay: 0.8s; }
.flow__pipe i:nth-child(5) { animation-delay: 1.2s; }

@keyframes flow-particle {
  from { left: -10px; opacity: 0; }
  20% { opacity: 1; }
  to { left: 100%; opacity: 0; }
}

@keyframes step-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.35); transform: scale(1); }
  50% { box-shadow: 0 0 0 12px rgba(204, 255, 0, 0); transform: scale(1.04); }
}

@keyframes pipe-dot {
  from { left: -10px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  to { left: calc(100% + 6px); opacity: 0; }
}

/* Pool viz */
.pool-viz {
  position: relative;
  height: 200px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.pool-viz__core {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 40px rgba(204, 255, 0, 0.65);
  animation: orb-pulse 2.6s ease-in-out infinite;
  z-index: 2;
}

.pool-viz__ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(204, 255, 0, 0.35);
  animation: ring-expand 2.8s ease-out infinite;
  pointer-events: none;
}

.pool-viz__ring--2 {
  animation-delay: 1.2s;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes ring-expand {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Narrative marquee */
.narrative {
  position: relative;
  overflow: hidden;
}

.narrative__marquee {
  position: absolute;
  inset: auto 0 18%;
  opacity: 0.08;
  pointer-events: none;
  overflow: hidden;
}

.narrative__marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  animation: ticker-scroll 28s linear infinite;
}

.narrative__marquee-track span {
  color: #fff;
}

/* Card hover lift */
.stats__card,
.split__card,
.pool__main,
.pool__meta,
.claim-panel,
.faq__item {
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    border-color 0.35s ease;
}

.stats__card:hover,
.split__card:hover,
.pool__meta:hover,
.claim-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.stats__card:hover {
  border-color: #000;
}

.split__card--hold:hover {
  border-color: var(--green-deep);
}

.btn--green {
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease;
}

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

/* Magnetic helper */
[data-magnetic] {
  will-change: transform;
}

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

  .btn--locked::after,
  .ticker__track,
  .hero__glow,
  .hero__lines,
  .flow__pipe i,
  .pool-viz__core,
  .pool-viz__ring,
  .narrative__marquee-track {
    animation: none !important;
  }

  [data-reveal]:not([data-reveal="hero"]),
  .hero [data-reveal="hero"] .reveal-item,
  .line-inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor summary {
    cursor: auto;
  }

  .cursor {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .flow {
    flex-direction: column;
    gap: 14px;
    padding: 18px 14px;
  }

  .flow__node {
    width: 100%;
  }

  .flow__pipe {
    width: 2px;
    height: 36px;
    flex: none;
    min-width: 0;
    align-self: center;
  }

  .flow__pipe i {
    left: 50%;
    margin-left: -3.5px;
    margin-top: 0;
    top: auto;
    animation-name: pipe-dot-v;
  }

  @keyframes pipe-dot-v {
    from { top: -10px; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    to { top: calc(100% + 6px); opacity: 0; }
  }

  .cursor {
    display: none !important;
  }

  body.has-cursor {
    cursor: auto;
  }
}


/* Drop locked state */
.hero-panel--drop.is-locked .hero-panel__value,
.pool__meta--drop.is-locked .pool__meta-value--drop,
.claim-panel__cell.is-locked .claim-panel__amount {
  color: rgba(204, 255, 0, 0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.35rem;
}

.hero-panel--drop.is-locked,
.pool__meta--drop.is-locked {
  position: relative;
}

.hero-panel--drop.is-locked::after,
.pool__meta--drop.is-locked::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(204, 255, 0, 0.15);
  pointer-events: none;
}
