:root {
  --void: #02040a;
  --cyan: #5cf3ff;
  --cyan-dim: rgba(92, 243, 255, 0.16);
  --violet: #7c6cff;
  --paper: #e8fbff;
  --mute: #9eb6c4;
  --line: rgba(92, 243, 255, 0.22);
  --glass: rgba(5, 12, 22, 0.72);
  --display: "Syne", "Segoe UI", sans-serif;
  --font: "Outfit", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
  color: var(--paper);
  font-family: var(--font);
  font-weight: 400;
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(88, 48, 180, 0.34), transparent 62%),
    radial-gradient(760px 560px at 8% 18%, rgba(16, 110, 140, 0.22), transparent 58%),
    radial-gradient(680px 480px at 70% 92%, rgba(0, 80, 110, 0.2), transparent 55%),
    var(--void);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a, input { font: inherit; }
code { font-family: var(--mono); }
::selection { background: var(--cyan); color: #04141c; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#field, .nebula, .noise, .vignette, .beam {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
#field { z-index: 0; width: 100%; height: 100%; }
.nebula {
  z-index: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(92, 243, 255, 0.06), transparent 28%),
    radial-gradient(circle at 78% 30%, rgba(124, 108, 255, 0.08), transparent 26%);
  animation: drift 18s ease-in-out infinite alternate;
}
.noise {
  z-index: 1;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}
.vignette {
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(2, 4, 10, 0.78) 100%);
}
.beam {
  z-index: 1;
  background: linear-gradient(112deg, transparent 40%, rgba(92, 243, 255, 0.07) 50%, transparent 60%);
  background-size: 220% 220%;
  animation: sweep 16s linear infinite;
}
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 20;
  background: linear-gradient(90deg, transparent, var(--cyan));
  box-shadow: 0 0 16px var(--cyan);
}
.spine {
  display: none;
  position: fixed;
  left: 1.1rem;
  top: 50%;
  z-index: 4;
  margin: 0;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(158, 182, 196, 0.55);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 6vw;
  background: rgba(2, 4, 10, 0.35);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  background: rgba(2, 4, 10, 0.82);
  border-bottom-color: var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: screen;
  box-shadow: 0 0 18px rgba(92, 243, 255, 0.45);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav-links a {
  color: var(--mute);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.nav-links a:hover { color: var(--paper); }
.nav-x {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper) !important;
}
.nav-x img { width: 14px; height: 14px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:nth-child(2) { top: 25px; }

.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
section { scroll-margin-top: 5.2rem; position: relative; z-index: 2; }

.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 8rem);
}
.hero-copy { min-width: 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: blink 1.8s ease-in-out infinite;
}
h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.symbol {
  margin: 0.7rem 0 1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(185deg, #ffffff 8%, #bffbff 46%, #3ad8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(92, 243, 255, 0.28));
}
.symbol span { color: #f4feff; -webkit-text-fill-color: #f4feff; }
.lead {
  max-width: 38rem;
  margin: 0 0 1.4rem;
  color: var(--mute);
  font-size: 1.08rem;
  font-weight: 300;
}
.ca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  max-width: 42rem;
}
.ca-label {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ca code, .mini-ca {
  color: var(--paper);
  font-size: 0.78rem;
  word-break: break-all;
}
.copy, .btn, .text-link, .door {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.copy {
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: var(--cyan);
  color: #04141c;
  font-weight: 600;
  cursor: pointer;
}
.copy:hover, .btn:hover, .door:hover, .text-link:hover { transform: translateY(-2px); }
.copy.done { background: #d8fff4; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}
.btn img { width: 18px; height: 18px; }
.btn-solid {
  background: var(--cyan);
  color: #04141c;
  box-shadow: 0 0 28px rgba(92, 243, 255, 0.28);
}
.btn-solid img { filter: brightness(0); }
.btn-ghost {
  background: rgba(92, 243, 255, 0.04);
  border-color: var(--line);
  color: var(--paper);
}
.btn-solid:hover { box-shadow: 0 0 36px rgba(92, 243, 255, 0.5); }
.btn-ghost:hover { border-color: var(--cyan); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  max-width: 42rem;
}
.stats div {
  padding: 0.7rem 0.15rem 0;
  border-top: 1px solid var(--line);
}
.stats dt {
  color: var(--mute);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.stats dd { margin: 0.2rem 0 0; font-family: var(--mono); font-size: 0.92rem; }
.up { color: #7dffa8; }
.down { color: #ff8d9a; }

.sigil {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.sigil img {
  position: relative;
  z-index: 2;
  width: 82%;
  height: auto;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 74%);
  mask-image: radial-gradient(circle, #000 58%, transparent 74%);
  animation: float 6.5s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(92, 243, 255, 0.45));
}
.sigil-glow {
  position: absolute;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 243, 255, 0.55), transparent 70%);
  filter: blur(18px);
  animation: glow 4.8s ease-in-out infinite;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(92, 243, 255, 0.55);
}
.ring-a { inset: 2%; animation: spin 28s linear infinite; }
.ring-b { inset: 12%; border-style: solid; border-color: rgba(92, 243, 255, 0.28); animation: spin 42s linear infinite reverse; }
.ring-c { inset: 22%; border-style: dotted; border-color: rgba(186, 255, 255, 0.7); animation: spin 18s linear infinite; }
.orbit {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  animation: spin 12s linear infinite;
}
.orbit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px var(--cyan);
}
.reticle {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
}
.reticle::before, .reticle::after {
  content: "";
  position: absolute;
  background: rgba(92, 243, 255, 0.45);
}
.reticle::before { left: 50%; top: -6px; bottom: -6px; width: 1px; }
.reticle::after { top: 50%; left: -6px; right: -6px; height: 1px; }

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(4, 12, 20, 0.55);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker p {
  margin: 0;
  padding: 0.72rem 0;
  white-space: nowrap;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--mute);
}
.ticker i {
  font-style: normal;
  color: var(--cyan);
  padding-inline: 0.35rem;
}

.about, .buy, .chart, .join { padding: 5.5rem 0; }
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.sec-head span {
  font-family: var(--mono);
  color: var(--cyan);
  letter-spacing: 0.14em;
}
.sec-head h2, .foot p { margin: 0; }
.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.sec-lead { color: var(--mute); max-width: 40rem; margin-top: 0; }

.about { overflow: hidden; }
.watermark {
  position: absolute;
  right: 0;
  top: 4%;
  z-index: 0;
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(7rem, 18vw, 16rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(92, 243, 255, 0.16);
  pointer-events: none;
  user-select: none;
}
blockquote {
  position: relative;
  margin: 0 0 2rem;
  max-width: min(24ch, 62%);
  z-index: 1;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.3vw, 2.85rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
blockquote::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.2em;
  bottom: 0.2em;
  width: 2px;
  background: linear-gradient(var(--cyan), transparent);
  box-shadow: 0 0 12px var(--cyan);
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.facts article, .path > li, .door {
  background: rgba(6, 14, 24, 0.55);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}
.facts article { padding: 1.1rem 1.15rem 1.2rem; }
.facts h3, .path h3 {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}
.facts p, .path p { margin: 0; }

.path {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
.path::before {
  content: "";
  position: absolute;
  top: 2.15rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--cyan), transparent);
  opacity: 0.7;
}
.path > li {
  padding: 1.15rem 1rem 1.25rem;
  position: relative;
  min-height: 100%;
}
.path > li:hover { border-color: rgba(92, 243, 255, 0.55); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); }
.node {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  background: #041018;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.75rem;
  box-shadow: 0 0 16px rgba(92, 243, 255, 0.35);
  position: relative;
  z-index: 1;
}
.specs { list-style: none; margin: 0.9rem 0 0; padding: 0; }
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(92, 243, 255, 0.1);
  font-size: 0.78rem;
}
.specs span { color: var(--mute); }
.specs strong { font-weight: 500; text-align: right; word-break: break-all; }
.mini-ca {
  display: block;
  margin: 0.8rem 0 0.55rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--cyan);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.7rem 0.8rem 0 0;
  color: var(--paper);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(92, 243, 255, 0.4);
}
.text-link img { width: 15px; height: 15px; }

.chart-frame {
  margin-top: 1.5rem;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(92, 243, 255, 0.85), rgba(92, 243, 255, 0.05), rgba(124, 108, 255, 0.7), rgba(92, 243, 255, 0.85));
  background-size: 280% 280%;
  animation: borderflow 9s linear infinite;
  box-shadow: 0 0 60px rgba(92, 243, 255, 0.08);
}
.chart-frame iframe {
  width: 100%;
  height: 640px;
  border: 0;
  border-radius: 21px;
  background: #070d14;
  display: block;
}
.chart-out { margin-top: 1.1rem; }

.banner {
  position: relative;
  margin: 1.6rem auto 1.5rem;
  width: min(100%, 1080px);
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 0 80px rgba(92, 243, 255, 0.16);
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(180, 255, 255, 0.16) 50%, transparent 65%);
  background-size: 220% 100%;
  mix-blend-mode: screen;
  animation: scan 5.5s ease-in-out infinite;
}
.doors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.door {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1rem;
  min-height: 84px;
}
.door img { width: 22px; height: 22px; flex: none; }
.door strong { display: block; font-weight: 600; }
.door small {
  display: block;
  color: var(--mute);
  font-size: 0.78rem;
}
.door:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(92, 243, 255, 0.12);
}

.foot {
  position: relative;
  z-index: 2;
  padding: 2rem 0 2.6rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.86rem;
}
.foot-row { display: grid; gap: 0.35rem; }
.foot-ca { font-family: var(--mono); color: var(--paper); word-break: break-all; }

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
  animation-play-state: paused;
}
html.js .reveal.in { animation-play-state: running; }
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes glow {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes sweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -16px, 0); }
}
@keyframes borderflow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes scan {
  0% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}

@media (min-width: 1180px) {
  .spine { display: block; }
  body { padding-left: 2.2rem; }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "mark" "copy";
    min-height: 0;
    gap: 0.5rem;
  }
  .sigil { grid-area: mark; width: min(380px, 78vw); min-height: 280px; }
  .hero-copy { grid-area: copy; }
  .facts, .path, .doors, .stats { grid-template-columns: 1fr 1fr; }
  .path::before { display: none; }
  .watermark { display: none; }
  blockquote { max-width: none; }
  .chart-frame iframe { height: 520px; }
}

@media (max-width: 720px) {
  .nav { padding-inline: 1rem; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.6rem 1rem 1rem;
    background: rgba(2, 4, 10, 0.96);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0.2rem; width: 100%; }
  .facts, .path, .doors, .stats { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; line-height: 1.02; }
  .hero { padding-top: 1.4rem; }
  blockquote::before { left: 0; }
  blockquote { padding-left: 0.9rem; }
  .chart-frame iframe { height: 460px; }
  .ca {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .copy { margin-left: 0; width: fit-content; }
  .ca code { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
