:root {
  --bg: #05060a;
  --ink: #f3efe6;
  --muted: #8d8a82;
  --line: rgba(243, 239, 230, 0.1);
  --accent: #d7ff4a;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 880px;
  --wide: 960px;
  --p: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::selection { background: var(--accent); color: #111; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
body.home,
body.doc-page {
  background:
    radial-gradient(ellipse 80% 55% at 50% calc(38% + var(--p) * 42%), rgba(215, 255, 74, calc(0.08 * (1 - var(--p)))) 0%, transparent 52%),
    radial-gradient(ellipse 90% 48% at 50% 115%, rgba(56, 150, 255, calc(var(--p) * 0.18)) 0%, transparent 62%),
    radial-gradient(ellipse 46% 40% at 86% 78%, rgba(132, 72, 220, calc(var(--p) * 0.14)) 0%, transparent 58%),
    #05060a;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

#field {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%; pointer-events: none;
}
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 42%, transparent 0%, rgba(5, 6, 10, 0.35) 55%, var(--bg) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.2), transparent 20%, transparent 75%, var(--bg));
}
.home .veil::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 52% 78% at 50% 42%, rgba(3, 4, 10, calc(var(--p) * 0.38)), transparent 72%),
    linear-gradient(180deg, rgba(5, 6, 10, calc(var(--p) * 0.08)), rgba(2, 3, 9, calc(var(--p) * 0.22)));
}
.doc-page .veil::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 70% at 50% 24%, rgba(3, 4, 10, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.18), transparent 28%, rgba(2, 3, 9, 0.16));
}
.home .glow,
.doc-page .glow {
  position: fixed; z-index: 0; pointer-events: none; border-radius: 50%;
  filter: blur(90px);
  opacity: calc(0.28 * (1 - var(--p) * 1.05));
  animation: glow-drift 18s ease-in-out infinite alternate;
}
.home .g1, .doc-page .g1 { width: 46vw; height: 46vw; left: -8%; top: 8%; background: #3a4f10; }
.home .g2, .doc-page .g2 { width: 38vw; height: 38vw; right: -10%; top: 28%; background: #0c4250; animation-duration: 24s; }
.home .g3, .doc-page .g3 { width: 28vw; height: 28vw; left: 38%; bottom: -8%; background: #2a1f55; animation-duration: 20s; }
.home.is-deep .g1, .doc-page.is-deep .g1 { background: #123a4a; }
.home.is-deep .g2, .doc-page.is-deep .g2 { background: #2a1c58; }
.home.is-deep .g3, .doc-page.is-deep .g3 { background: #0b2a22; }
.horizon {
  position: fixed; left: -12%; right: -12%; bottom: -20vh; height: 50vh; z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 85% at 50% 100%, rgba(215, 255, 74, 0.32), rgba(64, 170, 255, 0.2) 40%, transparent 70%);
  opacity: calc(var(--p) * 1);
  filter: blur(8px);
  transform: translate3d(0, calc((1 - var(--p)) * 18vh), 0);
}
.home.is-abyss .horizon,
.doc-page.is-abyss .horizon {
  background: radial-gradient(ellipse 70% 85% at 50% 100%, rgba(140, 100, 255, 0.2), rgba(50, 180, 255, 0.14) 42%, transparent 70%);
}
.progress {
  position: fixed; top: 0; left: 0; z-index: 40;
  height: 2px; width: calc(var(--p) * 100%);
  pointer-events: none;
  background: linear-gradient(90deg, var(--accent), #9ae7ff);
  box-shadow: 0 0 14px rgba(215, 255, 74, 0.55);
  opacity: 0.9;
}
@keyframes glow-drift {
  to { transform: translate3d(6%, 8%, 0) scale(1.12); }
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  mix-blend-mode: difference;
}
.home .nav {
  mix-blend-mode: normal;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.78), transparent);
  animation: nav-in 0.9s var(--ease) 0.15s both;
  transition: background 0.45s var(--ease), border-color 0.45s, backdrop-filter 0.45s;
}
.home.is-deep .nav {
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(243, 239, 230, 0.08);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.03em; }
.brand img {
  border-radius: 8px;
  animation: brand-breathe 4.8s ease-in-out infinite;
}
@keyframes brand-breathe {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); transform: scale(1); }
  50% { filter: drop-shadow(0 0 10px rgba(215, 255, 74, 0.5)); transform: scale(1.07); }
}
.nav-links { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.nav-links a:hover { color: #fff; }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 2px; border-radius: 999px; background: rgba(255,255,255,0.06); }
.lang button { padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; color: var(--muted); }
.lang button.is-on { background: var(--ink); color: #111; }
.menu-btn { display: none; width: 40px; height: 40px; place-items: center; gap: 5px; flex-direction: column; }
.menu-btn span { width: 18px; height: 1.5px; background: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 999px;
  background: var(--ink); color: #111; font-weight: 700; font-size: 13px;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); }
.btn-sm { padding: 8px 12px; font-size: 12px; }
.btn-xl {
  position: relative;
  isolation: isolate;
  padding: 16px 28px; font-size: 15px; margin-top: 28px;
  animation:
    rise 1s var(--ease) 1.15s both,
    pulse-glow 3.4s var(--ease) 2s infinite;
}
.btn-xl::before {
  content: "";
  position: absolute; inset: -2px; z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--accent), #9ae7ff, transparent 42%, var(--accent));
  animation: spin 3.8s linear infinite;
  opacity: 0.55;
}
.btn-xl::after {
  content: "";
  position: absolute; inset: 1.5px; z-index: -1;
  border-radius: inherit; background: var(--ink);
}
.btn-xl:hover::after { background: var(--accent); }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215, 255, 74, 0); }
  50% { box-shadow: 0 0 32px 2px rgba(215, 255, 74, 0.3); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise {
  from { opacity: 0; filter: blur(12px); transform: translate3d(0, 22px, 0); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes nav-in {
  from { opacity: 0; transform: translate3d(0, -10px, 0); }
  to { opacity: 1; transform: none; }
}

.stage {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 88px 24px 72px;
  transform: translate3d(0, calc(var(--p) * -7vh), 0) scale(calc(1 - var(--p) * 0.05));
  opacity: calc(1 - var(--p) * 0.96);
  filter: blur(calc(var(--p) * 7px));
  will-change: transform, opacity, filter;
}
.stage::before {
  content: "";
  position: absolute; left: 50%; top: 46%;
  width: min(920px, 92vw); height: 46vh;
  transform: translate(-50%, -55%);
  background: radial-gradient(ellipse, rgba(5, 6, 10, 0.78) 0%, rgba(5, 6, 10, 0.2) 55%, transparent 72%);
  pointer-events: none; z-index: -1;
}
.stage::after {
  content: "";
  position: absolute; left: 50%; top: 48%;
  width: min(560px, 72vw); height: 26vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(215, 255, 74, 0.16), transparent 70%);
  pointer-events: none; z-index: -1;
  animation: halo 7s ease-in-out infinite;
}
@keyframes halo {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(0.92); }
  50% { opacity: 0.7; transform: translate(-50%, -52%) scale(1.08); }
}

.constellation {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.stage > :not(.constellation):not(.hint) { position: relative; z-index: 1; }
.ring {
  position: absolute; left: 50%; top: 48%;
  aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(215, 255, 74, 0.16);
  animation: ring-breathe 9s ease-in-out infinite;
}
.r1 { width: min(520px, 78vw); }
.r2 {
  width: min(700px, 96vw);
  border-color: rgba(154, 231, 255, 0.1);
  animation-duration: 13s; animation-delay: -3s;
}
@keyframes ring-breathe {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(0.96) rotate(0deg); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.04) rotate(8deg); }
}
.orbit {
  position: absolute; left: 50%; top: 48%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.o-a { --r: min(280px, 41vw); width: min(560px, 82vw); animation: orbit-spin 42s linear infinite; }
.o-b { --r: min(190px, 29vw); width: min(380px, 58vw); animation: orbit-spin 58s linear infinite reverse; }
.orbit img {
  position: absolute; left: 50%; top: 50%;
  width: 26px; height: 26px; margin: -13px 0 0 -13px;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
  opacity: 0.7;
  filter: drop-shadow(0 0 8px rgba(215, 255, 74, 0.22));
  animation: coin-pulse 3.8s ease-in-out infinite;
}
.orbit img:nth-child(odd) { animation-delay: -1.2s; }
.orbit img:nth-child(3n) { animation-delay: -2.4s; }
@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes coin-pulse {
  0%, 100% { opacity: 0.45; filter: drop-shadow(0 0 4px rgba(215, 255, 74, 0.1)); }
  50% { opacity: 0.95; filter: drop-shadow(0 0 12px rgba(215, 255, 74, 0.4)); }
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  animation: rise 1s var(--ease) 0.2s both;
}
.kicker i, [data-pulse] {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(215, 255, 74, 0.7);
  animation: ping 1.8s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 8px transparent; } }

.logo-type {
  --mx: 0;
  --my: 0;
  margin: 18px 0 8px;
  font-family: Syne, Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 12.5vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: #fff;
  perspective: 900px;
  white-space: nowrap;
  filter: drop-shadow(0 0 18px rgba(215, 255, 74, 0.18));
  transform: perspective(900px) rotateX(calc(var(--my) * -8deg)) rotateY(calc(var(--mx) * 10deg));
  transition: transform 0.7s var(--ease);
}
.logo-type span {
  display: inline-block;
  background: linear-gradient(105deg, #fff 18%, var(--accent) 44%, #9ae7ff 60%, #fff 82%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation:
    letter-in 1.2s var(--ease) both,
    letter-float 5.2s ease-in-out infinite,
    sheen 5.4s linear infinite;
  animation-delay:
    calc(var(--i) * 110ms),
    calc(1.05s + var(--i) * 160ms),
    calc(0.7s + var(--i) * 80ms);
  will-change: transform, filter, background-position;
}
@keyframes letter-in {
  from { opacity: 0; filter: blur(18px); }
  to { opacity: 1; filter: blur(0); }
}
@keyframes letter-float {
  0%, 100% { transform: translate3d(0, 9px, 0) rotate(calc((var(--i) - 2.5) * 0.5deg)); }
  35% { transform: translate3d(calc((var(--i) - 2.5) * 1.4px), -11px, 0) rotate(calc((2.5 - var(--i)) * 0.7deg)); }
  68% { transform: translate3d(calc((2.5 - var(--i)) * 1.6px), 3px, 0) rotate(calc((var(--i) - 2) * 0.45deg)); }
}
@keyframes sheen {
  to { background-position: 240% 0; }
}
.stroke {
  display: block;
  width: min(220px, 42vw); height: 2px; margin: 4px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), #9ae7ff, transparent);
  background-size: 220% 100%;
  opacity: 0.75;
  animation: rise 1s var(--ease) 0.7s both, sheen 2.8s linear 1s infinite;
}

.tag {
  font-size: clamp(16px, 2.2vw, 22px);
  color: #c9c4b8;
  letter-spacing: -0.02em;
  animation: rise 1s var(--ease) 0.85s both;
}

.ticker {
  width: min(560px, 92vw);
  margin-top: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  animation: rise 1s var(--ease) 1s both;
}
.ticker-track {
  display: flex; gap: 10px; width: max-content;
  animation: marquee 36s linear infinite;
  font-size: 12px; color: #c9c4b8; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ticker-track span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(5, 6, 10, 0.55); border: 1px solid rgba(243, 239, 230, 0.08);
}
.ticker b { color: #fff; font-weight: 650; }
.ticker em { font-style: normal; }
.ticker .up { color: #7dffb0; }
.ticker .dn { color: #ff8fa0; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  width: 20px; height: 32px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: rise 1s var(--ease) 1.5s both;
}
.hint span {
  position: absolute; left: 50%; top: 6px;
  width: 3px; height: 7px; border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  animation: wheel 1.7s ease-in-out 1.8s infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  70% { opacity: 0; transform: translateX(-50%) translateY(10px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

.more {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 24px auto;
  padding: 48px 28px 36px;
  border-radius: 28px;
  background: rgba(8, 9, 14, calc(0.28 + var(--p) * 0.62));
  border: 1px solid rgba(243, 239, 230, calc(0.04 + var(--p) * 0.1));
  box-shadow: 0 28px 90px rgba(0, 0, 0, calc(var(--p) * 0.42));
  backdrop-filter: blur(calc(var(--p) * 18px));
}
.more + .more { margin-top: 20px; }
.more h2, .about h2 {
  font-family: Syne, Inter, sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.lead { color: var(--muted); font-size: 17px; max-width: 62ch; }
.about .lead + .lead { margin-top: 12px; }
.section-head { margin-bottom: 22px; }
.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 28px;
}
.home.is-deep .facts article,
.home.is-deep .swap-box {
  background: rgba(255,255,255,0.045);
}
.facts article {
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  transition: transform 0.45s var(--ease), border-color 0.35s, background 0.35s;
}
.facts article:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 255, 74, 0.22);
  background: rgba(255,255,255,0.05);
}
.facts h3 { font-size: 16px; margin-bottom: 6px; }
.facts p { color: var(--muted); font-size: 14px; }

.mkt { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: start; padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
th { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
#mkt-body tr {
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s;
  animation: card-in 0.55s var(--ease) both;
}
#mkt-body tr:nth-child(1) { animation-delay: 0.02s; }
#mkt-body tr:nth-child(2) { animation-delay: 0.06s; }
#mkt-body tr:nth-child(3) { animation-delay: 0.1s; }
#mkt-body tr:nth-child(4) { animation-delay: 0.14s; }
#mkt-body tr:nth-child(5) { animation-delay: 0.18s; }
#mkt-body tr:nth-child(6) { animation-delay: 0.22s; }
#mkt-body tr:nth-child(7) { animation-delay: 0.26s; }
#mkt-body tr:nth-child(8) { animation-delay: 0.3s; }
#mkt-body tr:nth-child(9) { animation-delay: 0.34s; }
#mkt-body tr:nth-child(10) { animation-delay: 0.38s; }
#mkt-body tr:hover {
  background: linear-gradient(90deg, rgba(215,255,74,0.08), rgba(154,231,255,0.04), transparent);
  transform: translateX(4px);
}
#mkt-body tr:hover td { color: #fff; }
.asset-cell { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.asset-cell img {
  width: 24px; height: 24px;
  animation: coin-pulse 3.8s ease-in-out infinite;
}
#mkt-body tr:nth-child(2n) .asset-cell img { animation-delay: -1.4s; }
#mkt-body tr:nth-child(3n) .asset-cell img { animation-delay: -2.2s; }
.asset-cell small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.up { color: #7dffb0; } .dn { color: #ff8fa0; }
.tnum { font-variant-numeric: tabular-nums; }

.swap-box {
  display: grid; gap: 10px;
  margin-top: 28px; padding: 18px;
  border-radius: 20px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.swap-box label span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.swap-row {
  display: grid; grid-template-columns: 1fr 110px; gap: 8px;
  padding: 10px; border-radius: 14px; background: rgba(0,0,0,0.28); border: 1px solid var(--line);
}
.swap-row input, .swap-row select { width: 100%; outline: none; background: none; border: 0; color: inherit; font: inherit; }
.swap-row input { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.swap-row select { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 8px; }
.flip {
  width: 40px; height: 40px; margin: 0 auto; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.06); font-size: 16px;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.flip:hover { transform: rotate(180deg); background: rgba(215, 255, 74, 0.12); }
.flip.is-spin { animation: flip-spin 0.55s var(--ease); }
@keyframes flip-spin { to { transform: rotate(180deg); } }
.swap-meta { font-size: 13px; color: var(--muted); min-height: 1.3em; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 16px 0;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease);
}
.faq details:hover { background: rgba(255,255,255,0.02); }
.faq details[open] {
  padding: 18px 10px 20px;
  background: rgba(215, 255, 74, 0.035);
  border-radius: 16px;
}
.faq details[open] p { animation: rise 0.55s var(--ease) both; }
.faq summary {
  cursor: pointer; font-weight: 650; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--muted); font-weight: 400;
  transition: transform 0.45s var(--ease), color 0.3s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 62ch; }

.foot {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 20px auto 0;
  padding: 28px 28px 48px;
  border-top: 0;
  border-radius: 28px 28px 0 0;
  background: rgba(8, 9, 14, calc(0.16 + var(--p) * 0.62));
  border: 1px solid rgba(243, 239, 230, calc(0.04 + var(--p) * 0.08));
  backdrop-filter: blur(calc(var(--p) * 16px));
}
.foot p { color: var(--muted); font-size: 13px; max-width: 56ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0; font-size: 13px; }
.foot-links a:hover { color: #fff; }
.copy { opacity: 0.65; margin-top: 8px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #111;
  font-size: 13px; font-weight: 700; z-index: 50;
}

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.facts.is-in article { animation: card-in 0.8s var(--ease) both; }
.facts.is-in article:nth-child(1) { animation-delay: 0.04s; }
.facts.is-in article:nth-child(2) { animation-delay: 0.1s; }
.facts.is-in article:nth-child(3) { animation-delay: 0.16s; }
.facts.is-in article:nth-child(4) { animation-delay: 0.22s; }
.facts.is-in article:nth-child(5) { animation-delay: 0.28s; }
.facts.is-in article:nth-child(6) { animation-delay: 0.34s; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Legacy aurora — unused on cinematic pages */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
  animation: drift 18s var(--ease) infinite alternate;
}
.o1 { width: 46vw; height: 46vw; left: -10%; top: -14%; background: #2a4db8; }
.o2 { width: 38vw; height: 38vw; right: -12%; top: 16%; background: #5138a8; animation-duration: 24s; }
.o3 { width: 30vw; height: 30vw; left: 28%; bottom: -10%; background: #0e6f86; }
.grain { position: absolute; inset: 0; opacity: 0.05; }
@keyframes drift { to { transform: translate3d(5%, 7%, 0) scale(1.08); } }

body:not(.home):not(.doc-page) .nav {
  position: sticky; mix-blend-mode: normal;
  max-width: 1120px; margin: 0 auto;
  backdrop-filter: blur(16px);
  background: rgba(5, 6, 10, 0.55);
}
.doc-page .nav {
  mix-blend-mode: normal;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(243, 239, 230, 0.08);
}
.doc-page .nav-links a[aria-current="page"] { color: #fff; }
body:not(.home) .brand span { font-family: Syne, Inter, sans-serif; font-weight: 800; }

.doc {
  position: relative; z-index: 2;
  max-width: 760px;
  margin: 96px auto 48px;
  padding: 40px 28px 56px;
  border-radius: 28px;
  background: rgba(10, 12, 18, 0.86);
  border: 1px solid rgba(243, 239, 230, 0.12);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
}
.doc-page .eyebrow,
.doc-page .doc h1 { animation: rise 0.9s var(--ease) both; }
.doc-page .doc h1 { animation-delay: 0.08s; }
.doc h1, .doc h2, .doc h3 { font-family: Syne, Inter, sans-serif; letter-spacing: -0.04em; line-height: 1.1; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin: 12px 0 16px; }
.doc h2 { font-size: 26px; margin: 36px 0 12px; }
.doc h3 { font-size: 18px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--muted); font-size: 16px; }
.doc ul, .doc ol { padding-inline-start: 1.2em; display: grid; gap: 8px; margin: 10px 0 18px; }
.doc a { color: #d7ff4a; text-decoration: underline; text-underline-offset: 3px; }
.doc .lead { font-size: 18px; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.doc-nav a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: #d5dcf0; font-size: 13px; font-weight: 700;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.doc-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 255, 74, 0.28);
  background: rgba(215, 255, 74, 0.08);
}
.doc table.facts { width: 100%; margin: 16px 0 24px; border-collapse: collapse; }
.doc table.facts th, .doc table.facts td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc table.facts th { width: 42%; color: #d5dcf0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #c8c3b6;
}
.warn {
  margin: 18px 0; padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(245, 184, 61, 0.35); background: rgba(245, 184, 61, 0.08);
}
.warn p { color: #f3e6c4; }
.ok {
  margin: 18px 0; padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(42, 212, 138, 0.3); background: rgba(42, 212, 138, 0.08);
}
.ok p { color: #d4ffe8; }
.en-block { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  body:not(.home) .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: 16px; right: 16px; top: 68px;
    padding: 16px; border-radius: 16px; background: #121212; border: 1px solid var(--line);
  }
  .menu-btn { display: grid; }
  .logo-type { font-size: 15vw; }
  .facts { grid-template-columns: 1fr; }
  .home .nav-links { display: flex; gap: 12px; font-size: 12px; }
  .orbit img { width: 20px; height: 20px; margin: -10px 0 0 -10px; }
  .o-b { display: none; }
  .hint { bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .kicker, .tag, .btn-xl, .home .nav, .stroke, .ticker, .hint { opacity: 1; transform: none; filter: none; }
  .logo-type { transform: none; }
  .logo-type span { color: #fff; background: none; -webkit-background-clip: unset; background-clip: unset; }
  .ticker-track { animation: none; }
  .constellation, .home .glow, .doc-page .glow, .horizon, .progress { display: none; }
  .stage { transform: none; opacity: 1; filter: none; }
  .more, .foot, .doc { background: rgba(8, 9, 14, 0.86); backdrop-filter: none; }
  .brand img { animation: none; }
}
