:root {
  --bg: #050712;
  --cyan: #7af0ff;
  --cyan-deep: #39c6ff;
  --violet: #9a73ff;
  --magenta: #d16cff;
  --ice: #e9fbff;
  --gold: #c8f56b;
  --muted: #a9c0d4;
  --line: rgba(140, 230, 255, 0.2);
  --glass: rgba(8, 14, 30, 0.62);
  --display: "Orbitron", sans-serif;
  --body: "Sora", sans-serif;
  --nav-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ice);
  font-family: var(--body);
  font-weight: 400;
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(122, 240, 255, 0.28); color: white; }

.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;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  background: var(--cyan);
  color: #041018;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(28, 70, 160, 0.45), transparent 70%),
    radial-gradient(700px 480px at 86% 18%, rgba(92, 32, 150, 0.38), transparent 68%),
    radial-gradient(800px 500px at 50% 100%, rgba(12, 90, 120, 0.28), transparent 70%),
    var(--bg);
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: drift 22s ease-in-out infinite;
}
.n1 { width: 42vw; height: 42vw; left: -12vw; top: -8vw; background: #1a4ed8; }
.n2 { width: 36vw; height: 36vw; right: -10vw; top: 28vh; background: #6d2ad4; animation-delay: -8s; }
.n3 { width: 28vw; height: 28vw; left: 32vw; bottom: -8vh; background: #0c7c96; opacity: 0.4; animation-delay: -14s; }
.lattice {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(122, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 68%);
  animation: lattice 48s linear infinite;
}
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(2, 4, 12, 0.72) 100%);
}
.pointer-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 240, 255, 0.16), rgba(154, 115, 255, 0.05) 40%, transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}
body.using-pointer .pointer-glow { opacity: 1; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 30;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold));
  box-shadow: 0 0 12px var(--cyan);
}

.topnav, main, .footer { position: relative; z-index: 1; }
.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--nav-h);
  padding: 14px 6vw;
  background: linear-gradient(180deg, rgba(5, 7, 18, 0.86), rgba(5, 7, 18, 0.42) 70%, transparent);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease;
}
.topnav.hide { transform: translateY(-110%); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ice);
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(122, 240, 255, 0.45), 0 0 18px rgba(57, 198, 255, 0.45);
}
.topnav nav {
  display: flex;
  gap: 8px;
}
.topnav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.topnav nav a:hover,
.topnav nav a.active {
  color: var(--ice);
  background: rgba(122, 240, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(122, 240, 255, 0.28);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8, 16, 32, 0.7);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--cyan);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(40deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-40deg); }

.wrap { width: min(1120px, calc(100% - 10vw)); margin: 0 auto; }
.hero { padding: 18px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--cyan);
}
.kicker img { width: 14px; height: 22px; }
h1 { margin: 0; }
.display {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(185deg, #ffffff 8%, #c8f7ff 38%, #3ecbff 70%, #8d7bff 100%);
  background-size: 100% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 7s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(40, 150, 255, 0.28));
}
.symbol {
  display: inline-block;
  margin: 18px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 245, 107, 0.45);
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}
.tagline {
  margin: 16px 0 8px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--ice);
  max-width: 36rem;
}
.readout {
  min-height: 1.6em;
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.readout.tick { animation: fadeup 0.6s ease; }
.hero-actions, .join-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--ice);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(8, 16, 34, 0.55);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn img { width: 18px; height: 18px; object-fit: contain; }
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 240, 255, 0.7);
  box-shadow: 0 10px 30px rgba(40, 160, 255, 0.2);
}
.btn-primary {
  background: linear-gradient(180deg, rgba(122, 240, 255, 0.22), rgba(122, 240, 255, 0.05));
  border-color: rgba(122, 240, 255, 0.7);
  box-shadow: 0 0 24px rgba(57, 198, 255, 0.18);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  max-width: 460px;
}
.facts div {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
}
.facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.aperture-wrap { position: relative; display: grid; place-items: center; }
.aperture {
  position: relative;
  width: min(460px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.aperture-core {
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(122, 240, 255, 0.35),
    0 0 60px rgba(57, 198, 255, 0.28),
    0 0 120px rgba(154, 115, 255, 0.18);
  animation: pulse 5.5s ease-in-out infinite;
}
.aperture-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
}
.ring, .orbit, .aperture-sheen { position: absolute; inset: 0; border-radius: 50%; }
.ring-a {
  border: 1px dashed rgba(122, 240, 255, 0.55);
  animation: spin 28s linear infinite;
}
.ring-b {
  inset: 7%;
  border: 1px solid rgba(154, 115, 255, 0.45);
  animation: spin 40s linear infinite reverse;
}
.ring-c {
  inset: 14%;
  border: 1px solid rgba(200, 245, 107, 0.28);
  border-left-color: transparent;
  border-bottom-color: transparent;
  animation: spin 16s linear infinite;
}
.orbit i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.orbit-a { animation: spin 11s linear infinite; }
.orbit-b { inset: 7%; animation: spin 17s linear infinite reverse; }
.orbit-b i { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.orbit-c { inset: 14%; animation: spin 8s linear infinite; }
.orbit-c i { width: 5px; height: 5px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.aperture-sheen {
  inset: 16%;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(122, 240, 255, 0.9) 82%, rgba(209, 108, 255, 0.8) 90%, transparent 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 5.5s linear infinite;
  z-index: 3;
  pointer-events: none;
}
.motes span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: rise 9s linear infinite;
}
.motes span:nth-child(1) { left: 8%; animation-duration: 8s; }
.motes span:nth-child(2) { left: 18%; animation-duration: 11s; animation-delay: -2s; background: var(--violet); }
.motes span:nth-child(3) { left: 30%; animation-duration: 7.5s; animation-delay: -4s; }
.motes span:nth-child(4) { left: 70%; animation-duration: 10s; animation-delay: -1s; }
.motes span:nth-child(5) { left: 82%; animation-duration: 9s; animation-delay: -3s; background: var(--gold); }
.motes span:nth-child(6) { left: 90%; animation-duration: 12s; animation-delay: -6s; }
.motes span:nth-child(7) { left: 46%; top: 8%; animation-duration: 13s; }
.motes span:nth-child(8) { left: 58%; animation-duration: 8.5s; animation-delay: -5s; }
.motes span:nth-child(9) { left: 4%; animation-duration: 14s; animation-delay: -7s; }
.motes span:nth-child(10) { left: 96%; animation-duration: 9.5s; animation-delay: -2.5s; }
.motes span:nth-child(11) { left: 40%; animation-duration: 11.5s; animation-delay: -8s; background: var(--magenta); }
.motes span:nth-child(12) { left: 64%; animation-duration: 10.5s; animation-delay: -3.5s; }

.wave {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 10px;
  overflow: visible;
}
.wave path {
  fill: none;
  stroke: rgba(122, 240, 255, 0.45);
  stroke-width: 1.5;
  stroke-dasharray: 8 10;
  animation: dash 8s linear infinite;
}

.section { padding: 88px 0; }
.index {
  margin: 0 0 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}
h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
}
.lede { color: var(--ice); font-size: 1.08rem; }
.section-head { max-width: 680px; margin-bottom: 32px; }

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px 48px;
  align-items: center;
}
.about-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.about-visual img {
  width: min(340px, 70vw);
  border-radius: 36px;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  animation: floaty 8s ease-in-out infinite;
  filter: saturate(1.08);
}
.about-rings {
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(122, 240, 255, 0.2);
  animation: spin 36s linear infinite;
}
.about-rings::before,
.about-rings::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(154, 115, 255, 0.35);
}
.about-rings::after { inset: 24%; border-style: solid; border-color: rgba(200, 245, 107, 0.25); }
.about p { color: var(--muted); }
.traits {
  grid-column: 1 / -1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 10px 0 0;
  padding: 0;
}
.card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 22, 44, 0.78), rgba(7, 12, 26, 0.72));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(122, 240, 255, 0.16), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover::before { opacity: 1; }
.card h3, .card p, .card a { position: relative; }
.card h3 {
  margin: 8px 0;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card p { margin: 0; color: var(--muted); }
.trait-mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(122, 240, 255, 0.5);
  background:
    radial-gradient(circle at 50% 50%, transparent 35%, rgba(122, 240, 255, 0.8) 36% 42%, transparent 43%),
    radial-gradient(circle at 50% 50%, var(--cyan) 0 3px, transparent 4px);
  animation: spin 10s linear infinite;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  display: grid;
  gap: 16px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--violet), transparent);
  transform-origin: top;
  animation: grow 1.6s ease both;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
}
.step-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(122, 240, 255, 0.06);
  border: 1px solid var(--line);
}
.step-icon img { width: 32px; height: 32px; object-fit: contain; }
.step-no {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.16em;
  color: var(--cyan);
  font-size: 0.75rem;
}
.step a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 14px 0 0;
  font-size: 0.92rem;
}
.step a img { width: 14px; height: 14px; }

.chart-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(122, 240, 255, 0.35);
  background: #070b16;
  box-shadow: 0 0 0 1px rgba(154, 115, 255, 0.15), 0 30px 80px rgba(0, 0, 0, 0.35);
  min-height: 640px;
}
.chart-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(122, 240, 255, 0.08), transparent);
  animation: scan 5.5s linear infinite;
  pointer-events: none;
}
.chart-frame iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
  background: #070b16;
}

.banner-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(122, 240, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(154, 115, 255, 0.2),
    0 24px 80px rgba(20, 80, 180, 0.25);
}
.banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.2) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: sweep 6.5s ease-in-out infinite;
  pointer-events: none;
}
.join-row { margin-top: 22px; }
.icon-row {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.icon-row a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8, 16, 34, 0.6);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.icon-row img { width: 22px; height: 22px; object-fit: contain; }
.icon-row a:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 8px 24px rgba(57, 198, 255, 0.25);
}

.footer {
  padding: 10px 0 36px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.footer p { margin: 0; }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}
[data-reveal].is-in {
  animation: rise-in 0.9s ease forwards;
}
[data-reveal]:nth-child(2) { animation-delay: 0.12s; }
.traits [data-reveal]:nth-child(2) { animation-delay: 0.12s; }
.traits [data-reveal]:nth-child(3) { animation-delay: 0.24s; }
.steps [data-reveal]:nth-child(2) { animation-delay: 0.08s; }
.steps [data-reveal]:nth-child(3) { animation-delay: 0.16s; }
.steps [data-reveal]:nth-child(4) { animation-delay: 0.24s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -4%, 0) scale(1.08); }
}
@keyframes lattice { to { transform: translate3d(-84px, -42px, 0); } }
@keyframes sheen {
  0%, 100% { background-position: 50% 0%; }
  50% { background-position: 50% 100%; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(122, 240, 255, 0.35), 0 0 50px rgba(57, 198, 255, 0.22); }
  50% { box-shadow: 0 0 0 1px rgba(122, 240, 255, 0.6), 0 0 80px rgba(154, 115, 255, 0.32); }
}
@keyframes rise {
  0% { transform: translateY(40px); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-280px); opacity: 0; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes dash { to { stroke-dashoffset: -180; } }
@keyframes fadeup {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes scan {
  0% { top: -80px; }
  100% { top: 100%; }
}
@keyframes sweep {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@keyframes grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes rise-in {
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .topnav nav {
    display: none;
    position: absolute;
    top: calc(100% - 10px);
    right: 6vw;
    left: 6vw;
    flex-direction: column;
    padding: 10px;
    border-radius: 18px;
    background: rgba(6, 10, 22, 0.94);
    border: 1px solid var(--line);
  }
  .topnav nav.open { display: flex; }
  .hero-grid, .about-grid, .traits, .facts { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .hero-grid { min-height: auto; padding-top: 12px; }
  .chart-frame, .chart-frame iframe { min-height: 520px; height: 520px; }
  .step { grid-template-columns: 52px 1fr; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
