:root {
  --bg: #07090b;
  --bg-2: #0b1013;
  --bg-3: #12181c;
  --ink: #f2f6f8;
  --muted: #96a3aa;
  --ice: #b0d8e0;
  --ice-2: #d4eef2;
  --ice-deep: #7eb8c4;
  --green: #3ee07a;
  --green-soft: rgba(62, 224, 122, 0.16);
  --silver: #a7b0b8;
  --line: rgba(176, 216, 224, 0.14);
  --glass: rgba(8, 12, 14, 0.58);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

body.booting { overflow: hidden; }

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

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.wordmark .fone {
  background: linear-gradient(180deg, #ffffff 8%, var(--ice) 72%, var(--ice-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.grain {
  opacity: 0.09;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

#field { z-index: 0; }

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 90;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ice);
  opacity: 0;
  transition: width 0.25s, height 0.25s, opacity 0.25s;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--ice);
  opacity: 0;
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button {
  cursor: none;
}

body.has-cursor .cursor,
body.has-cursor .cursor-dot { opacity: 1; }

body.has-cursor .cursor.is-hot {
  width: 64px;
  height: 64px;
}

/* boot */
.boot {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: radial-gradient(circle at 50% 40%, #12181c 0%, #050607 70%);
  display: grid;
  place-items: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  animation: bootHide 0.7s ease 1.7s forwards;
}

@keyframes bootHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.boot.is-done {
  opacity: 0;
  visibility: hidden;
}

.boot-inner { text-align: center; width: min(360px, 80vw); }

.boot-label {
  color: var(--ice);
  margin-bottom: 18px;
}

.boot-mark {
  font-size: clamp(42px, 8vw, 64px);
  margin-bottom: 28px;
}

.boot-track {
  height: 2px;
  background: rgba(176, 216, 224, 0.12);
  overflow: hidden;
}

.boot-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ice-deep), var(--ice), #fff);
  animation: bootFill 1.15s ease forwards;
}

.boot-status {
  margin-top: 14px;
  color: var(--muted);
}

@keyframes bootFill {
  to { width: 100%; }
}

/* nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(7, 9, 11, 0.72);
  backdrop-filter: blur(22px);
  border-bottom-color: var(--line);
}

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

.nav-device {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(176, 216, 224, 0.06), 0 8px 20px rgba(0, 0, 0, 0.35);
}

.nav-device img {
  width: 148%;
  height: 148%;
  margin: -18% 0 0 -24%;
  object-fit: cover;
  object-position: 50% 36%;
}

.nav-word { font-size: 22px; }

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  position: relative;
  transition: color 0.25s;
}

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

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

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

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.icon-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.icon-btn img[src*="pumpswap"] {
  filter: none;
}

.icon-btn:hover {
  border-color: var(--ice);
  transform: translateY(-1px);
  background: rgba(176, 216, 224, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-ice img:not([src*="pumpswap"]) {
  filter: brightness(0);
}

.btn-ice {
  background: linear-gradient(180deg, var(--ice-2), var(--ice));
  color: #0a1214;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(176, 216, 224, 0.18);
}

.btn-ice:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(176, 216, 224, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

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

.btn-lg { padding: 14px 22px; font-size: 15px; }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
}

.menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-btn.is-open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-btn.is-open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 132px 48px 48px;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  left: 54%;
  top: 12%;
  transform: translateX(-20%);
  background: radial-gradient(circle, rgba(176, 216, 224, 0.16) 0%, rgba(176, 216, 224, 0.04) 38%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.orb-a {
  width: 280px;
  height: 280px;
  background: rgba(176, 216, 224, 0.12);
  top: 18%;
  left: 8%;
  animation: floaty 12s ease-in-out infinite;
}

.orb-b {
  width: 340px;
  height: 340px;
  background: rgba(62, 224, 122, 0.06);
  right: 4%;
  bottom: 8%;
  animation: floaty 16s ease-in-out infinite reverse;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-20%) scale(1); }
  50% { opacity: 1; transform: translateX(-20%) scale(1.06); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  margin-bottom: 28px;
}

.status-pill img {
  width: 16px;
  height: 16px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(62, 224, 122, 0.6);
  animation: pulse 1.8s infinite;
}

.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 224, 122, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(62, 224, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 122, 0); }
}

.hero-mark {
  font-size: clamp(64px, 9vw, 118px);
  margin-bottom: 22px;
}

.hero-mark sup {
  font-size: 0.18em;
  letter-spacing: 0.08em;
  margin-left: 6px;
  color: var(--ice);
  font-style: italic;
}

.hero-bio {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  max-width: 520px;
  color: #e6eef1;
  margin-bottom: 12px;
}

.hero-kicker {
  color: var(--ice-deep);
  margin-bottom: 32px;
}

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

.ca-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ca-label { color: var(--ice); }

#caText {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: none;
}

.ca-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a1214;
  background: var(--ice);
  border-radius: 999px;
  padding: 6px 10px;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.rings {
  position: absolute;
  width: 520px;
  height: 520px;
}

.rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(176, 216, 224, 0.12);
  border-radius: 50%;
  animation: ring 8s linear infinite;
}

.rings i:nth-child(2) { inset: 40px; animation-duration: 11s; animation-direction: reverse; }
.rings i:nth-child(3) { inset: 80px; animation-duration: 14s; }

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

.device-wrap {
  position: relative;
  width: min(460px, 100%);
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
}

.device {
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(176, 216, 224, 0.12));
  animation: deviceFloat 6.5s ease-in-out infinite;
}

.device-shine {
  position: absolute;
  inset: 8% 18% 12%;
  background: linear-gradient(120deg, transparent 30%, rgba(176, 216, 224, 0.08) 48%, transparent 66%);
  mix-blend-mode: screen;
  animation: shine 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes deviceFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes shine {
  0%, 100% { opacity: 0.15; transform: translateX(-8%); }
  50% { opacity: 0.55; transform: translateX(8%); }
}

.hud {
  position: absolute;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  animation: hudIn 1s ease both;
}

.hud span { color: var(--muted); display: block; margin-bottom: 4px; }
.hud strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hud-top {
  top: 8%;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 12px;
  animation-delay: 0.3s;
}

.hud-top span { margin: 0; }

.hud-left { left: 0; bottom: 22%; animation-delay: 0.5s; }
.hud-right { right: 0; bottom: 16%; animation-delay: 0.7s; }

.hud-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 12px;
}

.hud-bars b {
  width: 3px;
  background: var(--ice);
  display: block;
  animation: bars 1.4s ease-in-out infinite;
}

.hud-bars b:nth-child(1) { height: 40%; }
.hud-bars b:nth-child(2) { height: 65%; animation-delay: 0.15s; }
.hud-bars b:nth-child(3) { height: 90%; animation-delay: 0.3s; }
.hud-bars b:nth-child(4) { height: 100%; animation-delay: 0.45s; }

@keyframes bars {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes hudIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-metrics {
  position: relative;
  max-width: 1240px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-metrics article {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  backdrop-filter: blur(10px);
}

.hero-metrics .mono { color: var(--ice); margin-bottom: 10px; }
.hero-metrics h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.hero-metrics p { color: var(--muted); font-size: 15px; }

/* ticker */
.ticker {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: rgba(176, 216, 224, 0.03);
  overflow: hidden;
  padding: 16px 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 32s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 15px;
  color: var(--ice);
}

.ticker-track i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* sections */
.section {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 48px;
}

.section-head { margin-bottom: 48px; max-width: 720px; }

.eyebrow {
  color: var(--ice);
  margin-bottom: 16px;
}

.section h2,
.join h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.95;
}

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.section-head .btn { margin-top: 24px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.lede {
  font-size: 18px;
  color: #d7e0e4;
  margin-bottom: 32px;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.spec-list li {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.spec-list .mono { color: var(--muted); display: block; margin-bottom: 6px; }
.spec-list strong { font-weight: 600; }

.spec-board {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(176, 216, 224, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow);
}

.island {
  width: 88px;
  height: 10px;
  border-radius: 999px;
  background: #050607;
  margin: 0 auto 8px;
  box-shadow: inset 0 0 0 1px rgba(176, 216, 224, 0.12);
}

.spec-card {
  padding: 20px;
  border-radius: 20px;
  background: rgba(7, 9, 11, 0.45);
  border: 1px solid rgba(176, 216, 224, 0.08);
}

.spec-card .mono { color: var(--ice); margin-bottom: 8px; }
.spec-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  margin-bottom: 8px;
}
.spec-card p { color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice), var(--green), var(--ice), transparent);
  opacity: 0.35;
}

.step {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  min-height: 320px;
}

.step-index { color: var(--ice); margin-bottom: 18px; }

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.step-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.step h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.step p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

.text-link {
  color: var(--ice);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.text-link:hover { border-bottom-color: var(--ice); }

.bezel {
  border-radius: 36px;
  border: 1px solid rgba(176, 216, 224, 0.18);
  background: linear-gradient(180deg, #1a2226, #0a0d0f);
  padding: 14px 12px 12px;
  box-shadow: 0 0 0 8px rgba(176, 216, 224, 0.03), var(--shadow);
}

.bezel-bar {
  display: flex;
  justify-content: center;
  padding: 4px 0 12px;
}

.bezel iframe {
  width: 100%;
  height: 640px;
  border: 0;
  border-radius: 24px;
  background: #0b1114;
}

.join {
  position: relative;
  z-index: 1;
  padding: 40px 48px 80px;
  max-width: 1320px;
  margin: 0 auto;
}

.join-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #050709;
}

.join-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: bannerDrift 18s ease-in-out infinite;
}

@keyframes bannerDrift {
  0%, 100% { transform: scale(1.02) translateY(0); }
  50% { transform: scale(1.06) translateY(-1.2%); }
}

.join-dock {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 40px 48px 48px;
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover { color: var(--ink); }

.footer-social { display: flex; gap: 10px; }

.footer-note {
  color: var(--muted);
  font-size: 13px;
  max-width: 820px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .steps { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .hero-stage { min-height: 520px; }
}

@media (max-width: 860px) {
  .nav { padding: 14px 18px; }
  .nav-links {
    position: fixed;
    inset: 72px 18px auto;
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(7, 9, 11, 0.92);
    backdrop-filter: blur(18px);
  }
  .nav-links.is-open { display: flex; }
  .menu-btn { display: flex; }
  .nav-actions .btn { display: none; }
  .hero, .section, .join, .footer { padding-left: 18px; padding-right: 18px; }
  .hero { padding-top: 110px; }
  .hero-grid,
  .about-grid,
  .hero-metrics,
  .steps,
  .spec-list { grid-template-columns: 1fr; }
  .hero-stage { min-height: 460px; }
  .hud-left { left: 8px; }
  .hud-right { right: 8px; }
  .bezel iframe { height: 460px; }
  .join-frame { border-radius: 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .cursor, .cursor-dot { display: none; }
}

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