:root {
  --void: #07080b;
  --floor: #101218;
  --panel: #161922;
  --line: rgba(232, 238, 246, 0.1);
  --cyan: #5ad4ff;
  --cyan-deep: #1aa7e6;
  --lavender: #9b8cff;
  --mint: #2ee59d;
  --wood: #3a2c20;
  --silver: #d7dde6;
  --fog: #8d96a6;
  --white: #f4f7fb;
  --ink: #e8eef6;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  background: var(--void);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  cursor: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: none; }

.grain,
.vignette,
#dust,
.arc-mark {
  pointer-events: none;
}

#dust {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  background: radial-gradient(1200px 700px at 50% 20%, transparent 40%, rgba(7, 8, 11, 0.55) 100%);
}

.arc-mark {
  position: fixed;
  right: -8vw;
  top: 12vh;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  z-index: 0;
  opacity: 0.18;
}

.arc-mark span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 18px solid transparent;
  border-top-color: var(--cyan);
  border-right-color: var(--lavender);
  filter: blur(0.2px);
  animation: spin 28s linear infinite;
}

.arc-mark span:nth-child(2) {
  inset: 12%;
  border-width: 12px;
  animation-duration: 42s;
  animation-direction: reverse;
  opacity: 0.7;
}

.arc-mark span:nth-child(3) {
  inset: 24%;
  border-width: 7px;
  animation-duration: 18s;
  opacity: 0.45;
}

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

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.cursor {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(90, 212, 255, 0.7);
  transition: transform 0.18s var(--ease), opacity 0.2s;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: var(--cyan);
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 28px;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.86), rgba(7, 8, 11, 0.2) 80%, transparent);
  backdrop-filter: blur(10px);
}

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

.nav-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(90, 212, 255, 0.35);
  box-shadow: 0 0 0 4px rgba(90, 212, 255, 0.08), 0 0 24px rgba(90, 212, 255, 0.18);
}

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

.nav-word strong {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 16px;
  letter-spacing: -0.03em;
}

.nav-word small {
  display: block;
  color: var(--fog);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 8px;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--lavender));
  transition: width 0.35s var(--ease);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

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

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

.icon-btn img { width: 16px; height: 16px; }
.icon-btn:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 167, 230, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  font-family: Sora, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}

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

.btn-cyan {
  background: linear-gradient(135deg, #3ec8ff, #7f8cff);
  color: #071018;
  box-shadow: 0 0 0 1px rgba(90, 212, 255, 0.25), 0 10px 30px rgba(26, 167, 230, 0.22);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(26, 167, 230, 0.32);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(16, 18, 24, 0.55);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn-lg { height: 50px; padding: 0 20px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--white);
}

.nav-sheet {
  display: none;
  position: fixed;
  inset: 72px 16px auto;
  z-index: 19;
  padding: 18px;
  background: rgba(10, 12, 16, 0.96);
  border: 1px solid var(--line);
}

.nav-sheet a {
  display: block;
  padding: 12px 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
}

.nav-sheet.open { display: block; }

.hero {
  min-height: 100vh;
  padding: 110px 28px 80px;
  position: relative;
}

.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05) brightness(0.42);
  transform: scale(1.06);
  animation: drift 28s var(--ease) infinite alternate;
}

@keyframes drift {
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.88) 0%, rgba(7, 8, 11, 0.42) 52%, rgba(7, 8, 11, 0.7) 100%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.2), rgba(7, 8, 11, 0.82));
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(90, 212, 255, 0.035) 3px 4px
  );
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  animation: scan 7s linear infinite;
}

@keyframes scan {
  0% { opacity: 0.25; }
  50% { opacity: 0.55; }
  100% { opacity: 0.25; }
}

.letterbox {
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  background: #050608;
}

.letterbox.top { top: 0; }
.letterbox.bot { bottom: 0; }

.hero-grid {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  min-height: calc(100vh - 190px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(46, 229, 157, 0.7);
  animation: ping 1.8s infinite;
}

@keyframes ping {
  70% { box-shadow: 0 0 0 12px transparent; }
}

.kicker-rule {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

h1, h2, h3 { font-family: Sora, sans-serif; }

.hero-name {
  display: block;
  font-size: clamp(72px, 12vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.06em;
  font-weight: 800;
  background: linear-gradient(180deg, #fff 20%, #c9d3e0 70%, #7fd4ff 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 20px 60px rgba(90, 212, 255, 0.08);
}

.hero-sub {
  display: block;
  margin-top: 10px;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--silver);
}

.lede {
  max-width: 540px;
  margin: 22px 0 28px;
  color: var(--fog);
  font-size: 17px;
  line-height: 1.65;
}

.ca-bay { margin-bottom: 22px; }

.ca-label {
  display: block;
  margin-bottom: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
}

.ca-row {
  width: min(100%, 560px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(22, 25, 34, 0.9), rgba(10, 12, 16, 0.9));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ca-row code {
  flex: 1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--silver);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-copy {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.ca-row:hover { border-color: rgba(90, 212, 255, 0.45); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-plinth {
  position: relative;
  display: grid;
  justify-items: center;
}

.plinth-ring {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  top: 4%;
  border-radius: 50%;
  border: 1px dashed rgba(90, 212, 255, 0.28);
  animation: spin 48s linear infinite;
}

.plinth-card {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 28px 28px 12px 12px;
  border: 1px solid rgba(90, 212, 255, 0.22);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(155, 140, 255, 0.08),
    inset 0 0 80px rgba(90, 212, 255, 0.05);
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
  animation: float 6.5s ease-in-out infinite;
}

@keyframes float {
  50% { transform: perspective(900px) rotateY(-6deg) rotateX(1deg) translateY(-10px); }
}

.plinth-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.plinth-hud {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eaf7ff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.plinth-hud .eyes { color: var(--mint); }

.charge-track {
  position: relative;
  width: min(100%, 360px);
  height: 18px;
  margin-top: 22px;
  border: 1px solid rgba(90, 212, 255, 0.2);
  background: rgba(8, 10, 14, 0.7);
  overflow: hidden;
}

.charge-track i {
  position: absolute;
  top: 3px;
  bottom: 3px;
  width: 14%;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--lavender));
  opacity: 0.25;
}

.charge-track i:nth-child(1) { left: 4%; }
.charge-track i:nth-child(2) { left: 22%; }
.charge-track i:nth-child(3) { left: 40%; }
.charge-track i:nth-child(4) { left: 58%; }
.charge-track i:nth-child(5) { left: 76%; }

.usdc-chip {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  animation: charge 3.6s var(--ease) infinite;
}

.usdc-chip img { width: 100%; height: 100%; }

@keyframes charge {
  0% { left: -8%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 96%; opacity: 0; }
}

.plinth-cap {
  margin-top: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.about,
.howto,
.chart,
.join {
  padding: 100px 28px;
}

.about {
  background:
    radial-gradient(700px 280px at 15% 0%, rgba(90, 212, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(7, 8, 11, 0), rgba(16, 18, 24, 0.55));
}

.section-head {
  max-width: 1180px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.045em;
}

.section-lead {
  margin-top: 12px;
  color: var(--fog);
  max-width: 520px;
}

.about-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-story p {
  color: var(--fog);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-story strong { color: var(--white); }

.telemetry {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.telemetry li {
  padding: 14px 12px;
  border-top: 1px solid rgba(90, 212, 255, 0.28);
  background: linear-gradient(180deg, rgba(90, 212, 255, 0.05), transparent);
}

.telemetry span {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 6px;
}

.telemetry strong {
  font-family: Sora, sans-serif;
  font-size: 18px;
}

.tweet-bay {
  padding: 18px;
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid var(--line);
  min-height: 280px;
}

.tweet-bay figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
}

.tweet-bay figcaption img { width: 12px; height: 12px; }
.tweet-bay .twitter-tweet { margin: 0 auto !important; }

.howto {
  background:
    radial-gradient(800px 300px at 80% 10%, rgba(155, 140, 255, 0.08), transparent 55%);
}

.rail {
  max-width: 1180px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.rail::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--lavender), transparent);
  opacity: 0.45;
}

.rail-step {
  position: relative;
  padding: 0 18px 8px;
}

.rail-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(90, 212, 255, 0.4);
  background: #0c0f14;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  position: relative;
  z-index: 1;
}

.rail-step h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.rail-step p {
  color: var(--fog);
  line-height: 1.6;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--cyan);
  font-size: 13px;
}

.text-link img { width: 14px; height: 14px; }
.text-link:hover { color: var(--white); }

.howto-ca {
  max-width: 1180px;
  margin: 36px auto 0;
}

.howto-ca .ca-row { width: 100%; }

.chart-bezel {
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #090b10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.bezel-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
  border-bottom: 1px solid var(--line);
}

.chart-bezel iframe {
  width: 100%;
  height: 680px;
  border: 0;
  background: #0b0e14;
}

.join { padding-bottom: 80px; }

.billboard {
  max-width: 1180px;
  margin: 0 auto;
  display: block;
  position: relative;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border: 1px solid rgba(90, 212, 255, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.billboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.1s var(--ease);
}

.billboard:hover img { transform: scale(1.04); }

.billboard-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 11, 0.55), transparent 55%);
}

.billboard-cta {
  position: absolute;
  left: 36px;
  bottom: 28px;
  color: #fff;
}

.billboard-cta span {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.billboard-cta strong {
  display: block;
  font-family: Sora, sans-serif;
  font-size: clamp(22px, 4vw, 40px);
  letter-spacing: -0.04em;
}

.billboard-cta em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-style: normal;
  font-size: 13px;
}

.billboard-cta em img { width: 13px; height: 13px; }

.foot {
  padding: 36px 28px 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}

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

.foot-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 55% 40%;
}

.foot-brand strong { display: block; font-family: Sora, sans-serif; }
.foot-brand small { color: var(--fog); }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fog);
  font-size: 13px;
}

.foot-links img { width: 13px; height: 13px; }
.foot-links a:hover { color: var(--white); }

.foot-note {
  grid-column: 1 / -1;
  color: var(--fog);
  font-size: 12px;
  line-height: 1.6;
  max-width: 720px;
}

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

.reveal.delay { animation-delay: 0.16s; }

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

@media (hover: none), (pointer: coarse) {
  body, button { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid,
  .about-layout,
  .rail,
  .foot {
    grid-template-columns: 1fr;
  }
  .rail::before { display: none; }
  .telemetry { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 96px; }
  .plinth-card { transform: none; animation: none; }
  .chart-bezel iframe { height: 520px; }
  .billboard { aspect-ratio: 3 / 1; min-height: 180px; }
}

@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .about, .howto, .chart, .join { padding: 72px 16px; }
  .hero { padding: 92px 16px 64px; }
  .hero-name { font-size: 72px; }
  .billboard-cta { left: 16px; bottom: 16px; }
}

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