@font-face {
  font-family: "D-DIN";
  src: url("../assets/fonts/D-DIN.woff2") format("woff2"),
    url("../assets/fonts/D-DIN.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN";
  src: url("../assets/fonts/D-DIN-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("../assets/fonts/RobotoMono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --void: #05070c;
  --ink: #0b1018;
  --navy: #121a26;
  --steel: #8d96a3;
  --ivory: #f3efe6;
  --mars: #c45324;
  --ember: #e87838;
  --ginger: #d4783a;
  --flare: #7ec8e8;
  --earth: #2f6a9a;
  --line: rgba(243, 239, 230, 0.12);
  --glass: rgba(10, 14, 22, 0.62);
  --display: "D-DIN", "Arial Narrow", "Helvetica Neue", sans-serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ivory);
  background: var(--void);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

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

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

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

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.void-wash,
.mars-orb,
.earth-limb,
.hex-veil,
.grain,
.cursor-flare {
  position: fixed;
  pointer-events: none;
  z-index: 1;
}

.void-wash {
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(47, 106, 154, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 8%, rgba(196, 83, 36, 0.16), transparent 50%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.15), rgba(5, 7, 12, 0.55) 40%, rgba(5, 7, 12, 0.82));
}

.mars-orb {
  width: 42vw;
  height: 42vw;
  top: -8vw;
  right: -10vw;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(232, 120, 56, 0.38), rgba(196, 83, 36, 0.08) 46%, transparent 70%);
  filter: blur(8px);
  animation: orb-breathe 14s ease-in-out infinite;
}

.earth-limb {
  left: 0;
  right: 0;
  bottom: -18vh;
  height: 36vh;
  background: radial-gradient(ellipse at 50% 120%, rgba(47, 106, 154, 0.28), transparent 62%);
  animation: limb-shift 18s ease-in-out infinite;
}

.hex-veil {
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath fill='none' stroke='%23f3efe6' stroke-width='0.6' d='M28 1l27 16v30L28 63 1 47V17z'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
}

.grain {
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.cursor-flare {
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 120, 56, 0.14), transparent 68%);
  transform: translate3d(-200px, -200px, 0);
  transition: opacity 0.4s ease;
  opacity: 0;
  mix-blend-mode: screen;
}

.cursor-flare.on {
  opacity: 1;
}

.nav,
main,
.footer {
  position: relative;
  z-index: 2;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 36px;
  z-index: 20;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 7, 12, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

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

.nav-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 230, 0.28);
  box-shadow: 0 0 0 3px rgba(232, 120, 56, 0.12), 0 0 22px rgba(232, 120, 56, 0.2);
}

.nav-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.nav-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: 0.22em;
  font-size: 11px;
}

.nav-word span:last-child {
  color: var(--ember);
  margin-top: 3px;
}

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

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--ember);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--ivory);
}

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

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

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.icon-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(0.92) sepia(0.15) saturate(0.6) hue-rotate(330deg);
}

.icon-btn:hover {
  border-color: rgba(232, 120, 56, 0.7);
  box-shadow: 0 0 18px rgba(232, 120, 56, 0.25);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn-ember {
  background: linear-gradient(180deg, #ef8a48, #c45324);
  color: #1a0d08;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 28px rgba(196, 83, 36, 0.28);
  animation: ember-pulse 3.4s ease-in-out infinite;
}

.btn-ember img {
  filter: none;
  border-radius: 50%;
}

.btn-ember:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 12px 34px rgba(232, 120, 56, 0.42);
}

.btn-ghost {
  border-color: rgba(243, 239, 230, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost img,
.btn-ghost .icon-dex,
.chart-bar img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(0.92) sepia(0.15) saturate(0.6) hue-rotate(330deg);
}

.btn-ghost:hover {
  border-color: var(--flare);
  box-shadow: 0 0 22px rgba(126, 200, 232, 0.18);
  transform: translateY(-2px);
}

.nav-buy {
  padding: 0 14px;
}

.nav-buy span {
  display: none;
}

@media (min-width: 1180px) {
  .nav-buy span {
    display: inline;
  }
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ivory);
}

.hero {
  min-height: 100vh;
  padding: 120px 36px 48px;
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  grid-template-rows: 1fr auto;
  gap: 20px 16px;
}

.hero-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portrait-rig {
  position: relative;
  width: min(430px, 78vw);
  height: min(430px, 78vw);
  margin-bottom: 22px;
}

.portrait {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 230, 0.28);
  box-shadow:
    0 0 0 10px rgba(5, 7, 12, 0.55),
    0 0 40px rgba(232, 120, 56, 0.22),
    inset 0 0 30px rgba(0, 0, 0, 0.35);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  animation: portrait-float 8s ease-in-out infinite;
}

.visor-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(126, 200, 232, 0.16) 46%, transparent 62%);
  animation: sheen 7s linear infinite;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 230, 0.12);
}

.orbit-a {
  animation: spin 28s linear infinite;
  background:
    radial-gradient(circle at 50% 0, var(--ember) 0 3px, transparent 4px),
    radial-gradient(circle at 100% 50%, var(--flare) 0 2px, transparent 3px);
}

.orbit-b {
  inset: 7%;
  border-style: dashed;
  animation: spin 40s linear infinite reverse;
}

.orbit-c {
  inset: -7%;
  border-color: rgba(126, 200, 232, 0.12);
  animation: spin 60s linear infinite;
}

.reticle span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(243, 239, 230, 0.45);
}

.reticle span:nth-child(1) { top: 10%; left: 10%; border-right: 0; border-bottom: 0; }
.reticle span:nth-child(2) { top: 10%; right: 10%; border-left: 0; border-bottom: 0; }
.reticle span:nth-child(3) { bottom: 10%; left: 10%; border-right: 0; border-top: 0; }
.reticle span:nth-child(4) { bottom: 10%; right: 10%; border-left: 0; border-top: 0; }

.kicker {
  color: var(--steel);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 14px;
}

.display {
  font-size: clamp(34px, 6.4vw, 86px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 0.95;
  padding-right: 0.28em;
  text-shadow: 0 0 40px rgba(232, 120, 56, 0.18);
}

.x-tail {
  position: relative;
  display: inline-block;
}

.x-tail::after {
  content: "";
  position: absolute;
  top: 22%;
  right: -22%;
  width: 46%;
  height: 3px;
  background: currentColor;
  transform: rotate(-28deg);
  transform-origin: left center;
  box-shadow: 0 0 10px rgba(126, 200, 232, 0.55);
}

.bio {
  max-width: 520px;
  margin: 18px auto 0;
  color: #c8c2b6;
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--steel);
}

.ticker-chip strong {
  color: var(--ivory);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
  animation: blink 1.6s ease-in-out infinite;
}

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

.hero-rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding-top: 40px;
}

.hero-rail.right {
  text-align: right;
}

.rail-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 14px;
}

.rail-value {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail-value.live {
  color: var(--ember);
}

.rail-value.mono {
  font-family: var(--mono);
  letter-spacing: 0.08em;
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.stat {
  padding: 16px 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}

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

.stat span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}

.stat strong,
.ca-btn {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ca-btn {
  color: var(--ivory);
  border-bottom: 1px dashed rgba(243, 239, 230, 0.3);
}

.ca-btn.copied {
  color: var(--ember);
}

.tape {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.tape-track {
  display: flex;
  width: max-content;
  animation: tape 28s linear infinite;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 12px 0;
}

.tape-track span {
  padding-right: 28px;
}

.section {
  padding: 110px 36px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 42px;
  max-width: 720px;
}

.section-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-sub {
  margin-top: 14px;
  color: #b7b1a6;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.panel {
  position: relative;
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.panel-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.panel-corners::before,
.panel-corners::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(232, 120, 56, 0.7);
  pointer-events: none;
}

.panel > .panel-corners::before,
.chart-frame > .panel-corners::before,
.banner-board > .panel-corners::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.panel > .panel-corners::after,
.chart-frame > .panel-corners::after,
.banner-board > .panel-corners::after {
  top: -1px;
  right: -1px;
  border-left: 0;
  border-bottom: 0;
}

.panel::after,
.chart-frame::after,
.banner-board::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(126, 200, 232, 0.45);
  border-top: 0;
  border-left: 0;
  pointer-events: none;
}

.about-copy .lead {
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.about-copy p {
  color: #c4beb2;
  line-height: 1.75;
  letter-spacing: 0.03em;
}

.about-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.about-meta span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}

.about-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.about-shot img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 1.2s ease;
}

.about-shot:hover img {
  transform: scale(1.04);
}

.about-shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(5, 7, 12, 0.85));
}

.pillar-stack {
  display: grid;
  gap: 12px;
}

.pillar {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.pillar span {
  grid-row: span 2;
  align-self: center;
  font-family: var(--mono);
  color: var(--ember);
}

.pillar h3 {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
}

.pillar p {
  color: #b3ada2;
  font-size: 13px;
  line-height: 1.55;
  grid-column: 2;
}

.sequence {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.traj {
  display: none;
}

.step {
  position: relative;
  padding: 26px 20px 24px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  transform: translateX(-100%);
  animation: scan 4.8s ease-in-out infinite;
}

.step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--steel);
  margin-bottom: 16px;
}

.step-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 18px rgba(232, 120, 56, 0.08);
}

.step-icon img {
  width: 28px;
  height: 28px;
}

.step-icon.mark {
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
}

.step-icon.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.step h3 {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 10px;
}

.step p {
  color: #b7b1a6;
  font-size: 14px;
  line-height: 1.6;
}

.howto-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.chart-frame {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(5, 7, 12, 0.55);
}

.chart-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.chart-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory);
}

.chart-bar img {
  width: 14px;
  height: 14px;
}

.chart-viewport {
  height: min(680px, 78vh);
}

.chart-viewport iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b0e13;
}

.banner-board {
  position: relative;
  border: 1px solid var(--line);
  background: #05070c;
}

.banner-ratio {
  position: relative;
  aspect-ratio: 3 / 1;
  overflow: hidden;
}

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

.banner-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(126, 200, 232, 0.18) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: sweep 7s ease-in-out infinite;
  mix-blend-mode: screen;
}

.join-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 8px 2px;
}

.join-row p {
  color: #c4beb2;
  letter-spacing: 0.04em;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 36px 40px;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s ease forwards;
  animation-play-state: paused;
}

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

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

@keyframes portrait-float {
  0%, 100% { transform: scale(1.02) translateY(0); }
  50% { transform: scale(1.06) translateY(-4px); }
}

@keyframes sheen {
  0% { transform: translateX(-40%); }
  100% { transform: translateX(40%); }
}

@keyframes ember-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 28px rgba(196, 83, 36, 0.28); }
  50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 8px 36px rgba(232, 120, 56, 0.48); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@keyframes tape {
  to { transform: translateX(-50%); }
}

@keyframes scan {
  0%, 55% { transform: translateX(-100%); }
  80%, 100% { transform: translateX(100%); }
}

@keyframes sweep {
  0%, 40% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

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

@keyframes limb-shift {
  0%, 100% { opacity: 0.85; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-10px); }
}

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

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 108px 20px 32px;
  }

  .hero-rail {
    display: none;
  }

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

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

  .nav {
    padding: 14px 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 7, 12, 0.94);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-links a {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-buy {
    display: none;
  }

  .section,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .join-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .x-tail::after {
    width: 34%;
    right: -14%;
  }
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .display {
    letter-spacing: 0.08em;
  }

  .chart-viewport {
    height: 520px;
  }
}

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

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