:root {
  --green: #00c805;
  --green-hot: #2bff32;
  --black: #000;
  --ink: #111;
  --paper: #f3f0e8;
  --paper-2: #f7f4ee;
  --muted: rgba(255, 255, 255, 0.66);
  --line: rgba(255, 255, 255, 0.1);
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { background: var(--black); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

::selection { background: var(--green); color: #000; }

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

.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;
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

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

.progress span {
  display: block;
  height: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: 0 50%;
  box-shadow: 0 0 12px var(--green);
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
}

.header.scrolled { border-bottom: 1px solid var(--line); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.02rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-links a.active { color: var(--green); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-btn {
  display: none;
  height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 650;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-sm { height: 40px; padding: 0 1rem; font-size: 0.88rem; }

.btn-primary {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 0 rgba(0, 200, 5, 0.4);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--green-hot);
  box-shadow: 0 10px 34px rgba(0, 200, 5, 0.35);
}

.btn-primary:hover::after {
  transform: translateX(130%);
  transition: transform 0.65s ease;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero {
  position: relative;
  z-index: 2;
  padding: 1.25rem 0 3.5rem;
}

.spine {
  position: absolute;
  left: 1.1rem;
  top: 46%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.38);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: rise 0.7s both;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.6);
  animation: ping 1.8s infinite;
}

h1 {
  margin: 0.55rem 0 0.35rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.super {
  display: block;
  font-size: clamp(3.25rem, 16vw, 8.4rem);
  color: var(--green);
  animation: chroma 4.8s infinite;
  filter: drop-shadow(0 0 22px rgba(0, 200, 5, 0.35));
}

.super span {
  display: inline-block;
  animation: rise 0.7s both;
}

.super span:nth-child(1) { animation-delay: 0.04s; }
.super span:nth-child(2) { animation-delay: 0.1s; }
.super span:nth-child(3) { animation-delay: 0.16s; }
.super span:nth-child(4) { animation-delay: 0.22s; }
.super span:nth-child(5) { animation-delay: 0.28s; }

.intelligence {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.35rem, 4.5vw, 3.15rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.9);
  animation: rise 0.8s 0.32s both;
}

.ticker {
  margin: 0.85rem 0 0.45rem;
  animation: rise 0.7s 0.4s both;
}

.ticker {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(0, 200, 5, 0.12);
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.cycle {
  min-height: 1.5em;
  margin: 0.85rem 0 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.95rem;
  animation: rise 0.7s 0.48s both;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 0.95em;
  margin-left: 5px;
  background: var(--green);
  vertical-align: text-bottom;
  animation: caret 1s steps(1) infinite;
}

#cycle {
  display: inline-block;
  transition: opacity 0.28s ease, filter 0.28s ease, transform 0.28s ease;
}

#cycle.out {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(6px);
}

.lede {
  max-width: 38rem;
  margin: 1.15rem 0 0;
  padding-left: 0.95rem;
  border-left: 2px solid var(--green);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
  animation: rise 0.8s 0.56s both;
}

.lede p { margin: 0 0 0.35rem; }
.lede p:last-child { margin-bottom: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
  animation: rise 0.8s 0.66s both;
}

.ca {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: min(100%, 520px);
  margin-top: 0.95rem;
  padding: 0.4rem 0.4rem 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  cursor: pointer;
  animation: rise 0.8s 0.76s both;
}

.buy-row .ca,
.footer .ca { animation: none; }

.ca:hover { border-color: rgba(0, 200, 5, 0.65); }

.ca-label {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ca-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.9rem;
  user-select: all;
}

.ca-action {
  flex: none;
  margin-left: auto;
  background: var(--green);
  color: #000;
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.portrait-wrap {
  width: min(420px, 100%);
  margin-inline: auto;
  padding: 48px;
  animation: fade 0.9s 0.15s both;
}

.portrait {
  position: relative;
  animation: float 6.5s ease-in-out infinite;
}

.halo {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(0, 200, 5, 0.65), transparent 66%);
  filter: blur(22px);
  z-index: 0;
  animation: pulse 3.6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.orbit span {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.orbit-a {
  inset: -22px;
  border: 1px dashed rgba(0, 200, 5, 0.5);
  animation: spin 20s linear infinite;
}

.orbit-b {
  inset: -42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  animation: spin 34s linear infinite reverse;
}

.orbit-b span {
  background: #fff;
  box-shadow: 0 0 10px #fff;
}

.portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 36px;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(0, 200, 5, 0.85),
    0 24px 80px rgba(0, 200, 5, 0.22);
}

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #000;
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee p {
  margin: 0;
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.marquee em {
  font-style: normal;
  color: var(--green);
}

.plate-section {
  position: relative;
  z-index: 2;
  background: var(--paper);
  color: var(--ink);
  padding: 4.5rem 0;
}

.plate {
  position: relative;
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  background: var(--paper-2);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.plate::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 5, 0.95), transparent);
  animation: scan 4.8s ease-in-out infinite;
  pointer-events: none;
}

.mark {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.4);
}

.mark.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.mark.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.mark.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.mark.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.plate-kicker {
  margin: 0.2rem 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.plate img {
  width: min(100%, 840px);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.plate figcaption {
  margin: 1.1rem auto 0.2rem;
  max-width: 28rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 560;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}

.section {
  position: relative;
  z-index: 2;
  padding: 5.25rem 0;
  scroll-margin-top: 84px;
}

.section-tight { padding-top: 1rem; }

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.plate-section .eyebrow { color: var(--ink); }

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 750;
  font-weight: 700;
}

.about-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.about-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.cards, .steps {
  display: grid;
  gap: 0.9rem;
}

.card, .step {
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem 1.2rem 1.35rem;
}

.card:hover, .step:hover {
  border-color: rgba(0, 200, 5, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 200, 5, 0.15), 0 16px 40px rgba(0, 0, 0, 0.25);
}

.step-n {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.card h3, .step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.card p, .step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.steps { position: relative; }

.buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.buy-row .ca { margin-top: 0; }

.fine {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.fine span { color: rgba(255, 255, 255, 0.82); font-family: var(--mono); }

.join-card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding: 2.6rem 1.4rem 2.4rem;
  border-radius: 28px;
  border: 1px solid rgba(0, 200, 5, 0.35);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 200, 5, 0.18), transparent 56%),
    #070707;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.join-card:hover {
  border-color: rgba(0, 200, 5, 0.75);
  box-shadow: 0 0 80px rgba(0, 200, 5, 0.12);
}

.eyes {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.4rem;
}

.eyes span {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #050505 0 7px, transparent 8px),
    radial-gradient(circle at 50% 50%, #f4ffc8 0 14px, #c6ff4a 24px, #00c805 36px, transparent 48px);
  box-shadow: 0 0 28px rgba(0, 200, 5, 0.45);
  transform-origin: center;
  animation: blink 6.8s infinite;
}

.join-card h2 { margin-bottom: 0.6rem; }

.join-copy {
  margin: 0 auto 1.3rem;
  max-width: 28rem;
  color: var(--muted);
}

.join-url { margin: 0.9rem 0 0; }

.join-url a {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 0.88rem;
}

.join-url a:hover { color: var(--green); }

.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.footer strong {
  display: block;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.footer p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.92rem; }

.footer .ca { margin-top: 0; }

.legal {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  max-width: 28rem;
}

.reveal.animate {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.animate.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.cards .reveal:nth-child(2).animate.in,
.steps .reveal:nth-child(2).animate.in { transition-delay: 0.08s; }

.cards .reveal:nth-child(3).animate.in,
.steps .reveal:nth-child(3).animate.in { transition-delay: 0.16s; }

.steps .reveal:nth-child(4).animate.in { transition-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(0, 200, 5, 0); }
}

@keyframes caret {
  50% { opacity: 0; }
}

@keyframes chroma {
  0%, 88%, 100% { text-shadow: 0 0 24px rgba(0, 200, 5, 0.28); }
  91% { text-shadow: -3px 0 #b8ff9a, 3px 0 #00c805; }
  95% { text-shadow: 3px 0 #b8ff9a, -3px 0 #00c805; }
}

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

@keyframes scan {
  0% { top: 10%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 88%; opacity: 0; }
}

@keyframes blink {
  0%, 42%, 50%, 100% { transform: scaleY(1); }
  46% { transform: scaleY(0.08); }
}

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .legal { grid-column: 1 / -1; }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2rem;
    min-height: calc(100svh - 96px);
  }

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: end;
  }

  .cards, .steps { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }

  .footer-grid {
    grid-template-columns: 1.1fr auto 1fr;
  }

  .legal { grid-column: auto; justify-self: end; text-align: right; }
}

@media (max-width: 860px) {
  .portrait-wrap { order: -1; }
}

@media (max-width: 1100px) {
  .spine { display: none; }
}

@media (max-width: 800px) {
  .menu-btn { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0 0.8rem;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .intelligence { letter-spacing: 0.06em; }

  .ca-value { max-width: 42vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

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