:root {
  --void: #030712;
  --navy: #07111f;
  --panel: rgba(7, 18, 36, 0.62);
  --line: rgba(78, 232, 255, 0.28);
  --cyan: #4ee8ff;
  --cyan-deep: #1aa7d4;
  --ice: #eaf8ff;
  --mist: #9ec6d8;
  --glow: 0 0 40px rgba(78, 232, 255, 0.35);
  --font-display: "Oxanium", sans-serif;
  --font-body: "Sora", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 70% 10%, rgba(26, 110, 210, 0.18), transparent 55%),
    radial-gradient(900px 600px at 15% 80%, rgba(78, 232, 255, 0.08), transparent 50%),
    linear-gradient(180deg, #030712 0%, #06101c 48%, #030712 100%);
  color: var(--ice);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

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

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

.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(3, 7, 18, 0.4), transparent 45%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.15), transparent 20%, transparent 80%, rgba(3, 7, 18, 0.55));
}

.scan {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(78, 232, 255, 0.015) 3px,
    rgba(78, 232, 255, 0.015) 4px
  );
  mix-blend-mode: screen;
  animation: scan-drift 9s linear infinite;
}

@keyframes scan-drift {
  from { transform: translateY(0); }
  to { transform: translateY(4px); }
}

.cursor-halo {
  position: fixed;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle, rgba(78, 232, 255, 0.12), transparent 68%);
  transform: translate(-100vw, -100vh);
  transition: opacity 0.4s ease;
}

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

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 4vw;
  backdrop-filter: blur(18px);
  background: rgba(3, 7, 18, 0.55);
  border-bottom: 1px solid rgba(78, 232, 255, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 18px rgba(78, 232, 255, 0.45);
}

.brand-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 0.92rem;
}

.brand-copy small {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  position: relative;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(78, 232, 255, 0.05);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

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

.drawer {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 4vw 1.25rem;
  background: rgba(3, 7, 18, 0.92);
  border-bottom: 1px solid var(--line);
}

.drawer.open {
  display: flex;
}

.drawer a {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

main {
  padding: 0 4vw 6rem;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 3rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.45; }
}

.wordmark {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.2rem, 10vw, 8.4rem);
  letter-spacing: 0.08em;
  line-height: 0.82;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 10%, #4ee8ff 72%, #1a7ad4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(78, 232, 255, 0.35));
}

.wm-a {
  position: relative;
}

.wm-a::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #4ee8ff;
  top: 18%;
  right: 6%;
}

.wordmark-sub {
  display: block;
  margin-top: 0.15em;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ice);
}

.symbol-row {
  display: flex;
  gap: 0.6rem;
  margin: 1.3rem 0 1rem;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  background: rgba(78, 232, 255, 0.08);
}

.chip.ghost {
  border-color: var(--line);
  color: var(--mist);
  background: transparent;
}

.tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.spark {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan);
  animation: spark 2.4s ease-in-out infinite;
}

@keyframes spark {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.lede {
  max-width: 36rem;
  color: var(--mist);
  line-height: 1.7;
  font-weight: 300;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.7rem 0 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border: 1px solid var(--cyan);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, rgba(78, 232, 255, 0.28), rgba(26, 122, 212, 0.35));
  box-shadow: var(--glow);
}

.btn.ghost {
  background: rgba(3, 7, 18, 0.4);
  border-color: var(--line);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
  animation: sheen 4.5s ease-in-out infinite;
}

@keyframes sheen {
  0%, 60% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(78, 232, 255, 0.5);
}

.ca-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 34rem;
  padding: 0.7rem 0.8rem;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.ca-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}

#ca-text {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mist);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#copy-ca {
  border: 0;
  background: transparent;
  color: var(--ice);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}

.stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(78, 232, 255, 0.28);
  animation: spin 28s linear infinite;
}

.orbit-a {
  width: 78%;
  aspect-ratio: 1;
  box-shadow: inset 0 0 40px rgba(78, 232, 255, 0.08);
}

.orbit-b {
  width: 94%;
  aspect-ratio: 1;
  animation-duration: 42s;
  animation-direction: reverse;
  border-style: solid;
  border-color: rgba(78, 232, 255, 0.12);
}

.orbit-c {
  width: 110%;
  aspect-ratio: 1;
  animation-duration: 56s;
  border-color: rgba(78, 232, 255, 0.08);
}

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

.portrait {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  isolation: isolate;
  animation: float-y 6s ease-in-out infinite;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transform: scale(1.08);
}

.portrait-glow {
  position: absolute;
  inset: auto -10% -18% -10%;
  height: 45%;
  background: radial-gradient(circle, rgba(78, 232, 255, 0.45), transparent 70%);
  filter: blur(8px);
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.shard {
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #fff, var(--cyan));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 12px var(--cyan);
  animation: shard-orbit 14s linear infinite;
}

.s1 { top: 8%; left: 18%; animation-duration: 16s; }
.s2 { top: 22%; right: 6%; animation-duration: 21s; animation-direction: reverse; }
.s3 { bottom: 16%; left: 8%; animation-duration: 18s; }
.s4 { bottom: 10%; right: 16%; animation-duration: 24s; }

@keyframes shard-orbit {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0.9; }
  50% { transform: translate(18px, -22px) rotate(180deg); opacity: 0.4; }
  100% { transform: translate(0, 0) rotate(360deg); opacity: 0.9; }
}

.hud-chip {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.6);
  animation: hud-flicker 5s steps(2, end) infinite;
}

.hud-tl { top: 8%; left: 0; }
.hud-br { bottom: 10%; right: 0; }

@keyframes hud-flicker {
  0%, 92%, 100% { opacity: 1; }
  94% { opacity: 0.35; }
}

.section-head {
  margin: 5.5rem 0 2.2rem;
}

.kicker {
  font-family: var(--font-mono);
  color: var(--cyan);
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-note {
  color: var(--mist);
  margin-top: 0.7rem;
  max-width: 36rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 3rem;
  align-items: center;
}

.about-frame {
  position: relative;
  padding: 0.7rem;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

.about-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 12%;
}

.about-frame figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--cyan);
}

.about-copy p {
  color: var(--mist);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.stat-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.stat-list li {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  background: rgba(78, 232, 255, 0.04);
}

.stat-list span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.stat-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.path {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.path::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 12px var(--cyan);
  animation: beam 3.2s ease-in-out infinite;
}

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

.node {
  position: relative;
  padding: 1.4rem 1.1rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 280px;
}

.node-index {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  font-family: var(--font-mono);
  color: rgba(78, 232, 255, 0.45);
}

.node-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: rgba(78, 232, 255, 0.08);
  box-shadow: 0 0 18px rgba(78, 232, 255, 0.2);
}

.node-icon img {
  width: 22px;
  height: 22px;
}

.node-icon.mark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cyan);
}

.node h3 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
}

.node p {
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.node a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  border-bottom: 1px solid transparent;
}

.node a:hover {
  border-bottom-color: var(--cyan);
}

.chart-frame {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.7);
  min-height: 620px;
  overflow: hidden;
}

.chart-frame iframe {
  width: 100%;
  height: 640px;
  border: 0;
  background: #0b111b;
}

.frame-corners::before,
.frame-corners::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--cyan);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.frame-corners::before {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
}

.frame-corners::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 2px 2px 0;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.banner-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.82) 0%, rgba(3, 7, 18, 0.28) 55%, rgba(3, 7, 18, 0.5) 100%),
    linear-gradient(180deg, transparent 40%, rgba(3, 7, 18, 0.55));
}

.banner-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.2rem, 4vw, 3rem);
  max-width: 42rem;
}

.banner-kicker {
  font-family: var(--font-mono);
  color: var(--cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 0.45rem;
}

.banner-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.banner-copy p {
  color: var(--mist);
  margin-bottom: 1.1rem;
}

.join-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.join-card {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  background: rgba(3, 7, 18, 0.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.join-card img {
  width: 15px;
  height: 15px;
}

.join-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 2rem 4vw 2.4rem;
  border-top: 1px solid rgba(78, 232, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  border: 1px solid var(--line);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
}

.footer-brand span {
  color: var(--mist);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mist);
}

.footer-links img {
  width: 14px;
  height: 14px;
}

.disclaimer {
  grid-column: 1 / -1;
  color: rgba(158, 198, 216, 0.7);
  font-size: 0.78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s ease forwards;
}

.delay { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.28s; }
.delay-3 { animation-delay: 0.42s; }

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

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid,
  .about-layout,
  .path {
    grid-template-columns: 1fr;
  }
  .path::before { display: none; }
  .stage { min-height: 460px; }
  .chart-frame,
  .chart-frame iframe { min-height: 480px; height: 480px; }
  .banner-copy { max-width: none; }
  .footer,
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wordmark-sub { letter-spacing: 0.22em; }
  .ca-bar { flex-wrap: wrap; }
  .banner {
    aspect-ratio: 3 / 1;
    min-height: 220px;
  }
  .stat-list { grid-template-columns: 1fr; }
}
