:root {
  --void: #020206;
  --ink: #07070f;
  --panel: rgba(8, 10, 20, 0.72);
  --panel-strong: rgba(6, 8, 16, 0.88);
  --cyan: #00e5ff;
  --cyan-hot: #7dfff8;
  --green: #14f195;
  --candle: #00ff9d;
  --magenta: #e14cff;
  --purple: #9945ff;
  --sol-purple: #dc1fff;
  --text: #eef7ff;
  --muted: #8ea3bb;
  --line: rgba(0, 229, 255, 0.2);
  --font-display: "Audiowide", "Orbitron", sans-serif;
  --font-title: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--void);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

#field,
.nebula,
.grid-floor,
.scanlines,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#field {
  z-index: 0;
}

.nebula {
  z-index: 1;
  background:
    radial-gradient(ellipse 50% 40% at 18% 12%, rgba(0, 229, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 38% at 86% 18%, rgba(225, 76, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 60% 45% at 50% 92%, rgba(20, 241, 149, 0.08), transparent 60%),
    radial-gradient(circle at 50% 40%, rgba(153, 69, 255, 0.08), transparent 42%);
  animation: nebulaShift 18s ease-in-out infinite alternate;
}

.grid-floor {
  z-index: 1;
  top: auto;
  height: 38vh;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 76, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 80%);
  animation: gridDrift 22s linear infinite;
}

.scanlines {
  z-index: 8;
  opacity: 0.08;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 3px
  );
}

.vignette {
  z-index: 7;
  background: radial-gradient(ellipse at center, transparent 48%, rgba(0, 0, 0, 0.62) 100%);
}

header,
main,
footer {
  position: relative;
  z-index: 3;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 28px;
  background: linear-gradient(180deg, rgba(2, 2, 6, 0.72), rgba(2, 2, 6, 0.18));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

.nav.is-scrolled {
  padding: 10px 28px;
  border-bottom-color: var(--line);
  background: rgba(2, 2, 6, 0.82);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 15px;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }

.nav.is-open .nav-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.nav.is-open .nav-toggle span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn img,
.icon-btn img,
.footer-links img,
.terminal-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.55));
}

.btn img[src*="pumpswap"],
.footer-links img[src*="pumpswap"] {
  filter: drop-shadow(0 0 7px rgba(20, 241, 149, 0.65));
}

.btn img[src*="x.svg"],
.icon-btn img[src*="x.svg"],
.footer-links img[src*="x.svg"] {
  color: #eef7ff;
  filter: drop-shadow(0 0 7px rgba(0, 229, 255, 0.7));
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #eef7ff;
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.35);
}

.icon-btn img {
  width: 16px;
  height: 16px;
}

.btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-buy,
.btn-primary {
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.2), rgba(225, 76, 255, 0.22));
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.16);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
}

.btn:hover,
.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.28), 0 0 36px rgba(225, 76, 255, 0.12);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-rails {
  position: absolute;
  inset: 120px 4vw auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.rail {
  width: 86px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0.55;
}

.mini-candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: candlePulse 2.8s ease-in-out infinite;
}

.mini-wick {
  width: 1px;
  background: currentColor;
}

.mini-body {
  width: 9px;
  border-radius: 1px;
}

.mini-candle.up { color: var(--candle); }
.mini-candle.down { color: #ff4d6d; }
.mini-candle.up .mini-body {
  background: linear-gradient(180deg, var(--cyan-hot), var(--green));
  box-shadow: 0 0 10px rgba(20, 241, 149, 0.45);
}
.mini-candle.down .mini-body {
  background: linear-gradient(180deg, #ff8aa0, #ff4d6d);
}

.hero-core {
  width: min(860px, 100%);
  text-align: center;
  position: relative;
}

.orbit-wrap {
  width: 236px;
  height: 236px;
  margin: 0 auto 28px;
  position: relative;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.28);
}

.orbit-a {
  animation: spin 18s linear infinite;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.08);
}

.orbit-b {
  inset: -18px;
  border-color: rgba(225, 76, 255, 0.22);
  animation: spin 28s linear infinite reverse;
}

.orbit-c {
  inset: 18px;
  border-style: solid;
  border-color: transparent;
  border-top-color: var(--cyan);
  border-bottom-color: var(--magenta);
  animation: spin 9s linear infinite;
}

.core-glow {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.22), transparent 68%);
  animation: pulse 3.4s ease-in-out infinite;
}

.core-slice {
  position: absolute;
  width: 210px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
  z-index: 2;
  animation: sliceSweep 5.5s ease-in-out infinite;
}

.hero-logo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  animation: floatLogo 5s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.45)) drop-shadow(0 0 28px rgba(153, 69, 255, 0.28));
}

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--cyan);
}

.kicker span {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.kicker.light {
  color: #d9fbff;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 108px);
  line-height: 0.9;
  letter-spacing: 0.06em;
  transform: skewX(-8deg);
  text-shadow:
    0 0 24px rgba(0, 229, 255, 0.45),
    0 0 48px rgba(225, 76, 255, 0.22);
}

.title-sol {
  background: linear-gradient(180deg, #ffffff 0%, var(--cyan-hot) 48%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-stonk {
  background: linear-gradient(180deg, #f4e9ff 0%, var(--magenta) 58%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-symbol {
  margin: 14px 0 0;
  font-family: var(--font-title);
  letter-spacing: 0.34em;
  color: var(--green);
  text-shadow: 0 0 16px rgba(20, 241, 149, 0.4);
}

.hero-bio {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 21px;
}

.ca-chip {
  margin: 28px auto 0;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.ca-label {
  font-family: var(--font-title);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

#caValue {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  max-width: min(420px, 58vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#copyCa {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  font-family: var(--font-title);
  font-size: 10px;
  letter-spacing: 0.14em;
}

#copyCa.copied {
  color: var(--green);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(225, 76, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 12px 0;
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--cyan-hot);
  animation: ticker 28s linear infinite;
}

.ticker-track i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 54px;
}

.section-head h2,
.join-content h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slice-rule {
  width: 160px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  position: relative;
}

.slice-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--text);
  box-shadow: 0 0 12px var(--cyan);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-copy,
.module,
.step,
.terminal {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.about-copy {
  padding: 36px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.about-copy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
}

.about-copy p {
  margin: 0 0 16px;
  color: #c5d6e8;
  font-size: 20px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat {
  padding: 14px 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--cyan-hot);
}

.stat span {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-modules {
  display: grid;
  gap: 16px;
}

.module {
  padding: 24px 26px;
  border-radius: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.module:hover {
  transform: translateX(8px);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.08);
}

.module-index {
  font-family: var(--font-mono);
  color: var(--magenta);
  letter-spacing: 0.16em;
  font-size: 12px;
}

.module h3,
.step h3 {
  margin: 6px 0 8px;
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.module p,
.step p {
  margin: 0;
  color: var(--muted);
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr;
  gap: 0;
  align-items: stretch;
}

.step {
  padding: 28px 22px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.step:hover::after {
  transform: scaleX(1);
}

.step-mark {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 14px auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: radial-gradient(circle at 40% 35%, rgba(0, 229, 255, 0.18), rgba(225, 76, 255, 0.08) 70%);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.16);
}

.step-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.45));
}

.pipe {
  position: relative;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.pipe::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  animation: pipeFlow 2.2s linear infinite;
  box-shadow: 0 0 10px var(--cyan-hot);
}

.step-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.terminal {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--panel-strong);
  border-bottom: 1px solid var(--line);
}

.terminal-dots {
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 5px, #ff5f57 4px, transparent 5px),
    radial-gradient(circle at 21px 5px, #febc2e 4px, transparent 5px),
    radial-gradient(circle at 37px 5px, #28c840 4px, transparent 5px);
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.terminal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.terminal-frame {
  height: min(720px, 78vh);
  background: #0b0d14;
}

.terminal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.joinus {
  position: relative;
  overflow: hidden;
}

.join-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: #05050c;
}

.join-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.join-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 2, 6, 0.04) 0%, rgba(2, 2, 6, 0.12) 52%, rgba(2, 2, 6, 0.72) 100%);
}

.join-content {
  position: absolute;
  left: 50%;
  bottom: 8%;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  transform: translateX(-50%);
  text-align: center;
}

.join-content p {
  color: #d5e7f5;
  font-size: 20px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d7ecff;
}

.footer-links a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.8s ease forwards;
  animation-play-state: paused;
}

.reveal.is-in {
  animation-play-state: running;
}

@keyframes nebulaShift {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.08) translateY(-18px); }
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 0 72px; }
}

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

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

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

@keyframes sliceSweep {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 1; }
}

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

@keyframes pipeFlow {
  from { left: 0; opacity: 0; }
  15% { opacity: 1; }
  to { left: calc(100% - 8px); opacity: 0; }
}

@keyframes riseIn {
  to { opacity: 1; transform: none; }
}

@keyframes candlePulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.12); }
}

@keyframes scanX {
  0%, 100% { opacity: 0.15; transform: translateX(-50%) scaleX(0.4); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

.hero-core::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  width: min(720px, 92vw);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0), rgba(0, 229, 255, 0.7), rgba(225, 76, 255, 0));
  animation: scanX 4.8s ease-in-out infinite;
  pointer-events: none;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-brand { order: 1; }
  .nav-actions { order: 2; justify-self: end; }
  .nav-toggle {
    display: block;
    order: 3;
    justify-self: end;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px 24px 24px;
    flex-direction: column;
    gap: 16px;
    background: rgba(2, 2, 6, 0.94);
    border-bottom: 1px solid var(--line);
  }

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

  .about-grid,
  .pipeline {
    grid-template-columns: 1fr;
  }

  .pipe {
    width: 2px;
    height: 22px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--cyan), var(--magenta));
  }

  .pipe::after {
    left: 50%;
    top: 0;
    animation: pipeFlowY 2.2s linear infinite;
  }

  .hero-rails {
    display: none;
  }
}

@keyframes pipeFlowY {
  from { top: 0; left: 50%; transform: translate(-50%, 0); opacity: 0; }
  15% { opacity: 1; }
  to { top: calc(100% - 8px); left: 50%; transform: translate(-50%, 0); opacity: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 12px 16px; }
  .hero-ctas .btn { width: 100%; }
  .stat-row { grid-template-columns: 1fr; }
  .footer { flex-direction: column; text-align: center; }
  .terminal-title { display: none; }
  .join-content {
    bottom: 6px;
  }
  .join-content .kicker,
  .join-content p {
    display: none;
  }
  .join-content h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .join-content .btn {
    min-height: 36px;
    padding: 0 14px;
  }
}

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

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