:root {
  --void: #030914;
  --navy: #071526;
  --pool: #0b2c48;
  --ice: #d7ecff;
  --ice-hot: #7ec8ff;
  --chrome: #f6f9ff;
  --cream: #efe4d2;
  --bandana: #c81e3a;
  --navy-stripe: #16324f;
  --line: rgba(215, 236, 255, 0.14);
  --glass: rgba(7, 18, 34, 0.62);
  --text: #e8f2fb;
  --muted: #9bb3c9;
  --shadow: 0 24px 60px rgba(0, 8, 20, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 640px at 18% -10%, rgba(80, 170, 255, 0.16), transparent 58%),
    radial-gradient(900px 520px at 88% 8%, rgba(200, 30, 58, 0.08), transparent 50%),
    linear-gradient(180deg, #04101c 0%, var(--void) 38%, #06182a 100%);
  color: var(--text);
  font-family: "Sora", system-ui, sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.cursor-bloom {
  position: fixed;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(126, 200, 255, 0.16), transparent 68%);
  transform: translate(-40vw, -40vh);
  transition: transform 80ms linear;
  mix-blend-mode: screen;
}

#night-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bandana-rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  display: flex;
  flex-direction: column;
}

.bandana-rail span {
  flex: 1;
}

.bandana-rail span:nth-child(1),
.bandana-rail span:nth-child(5) {
  background: var(--bandana);
}

.bandana-rail span:nth-child(2),
.bandana-rail span:nth-child(4) {
  background: #f4f7fb;
}

.bandana-rail span:nth-child(3) {
  background: #1a3d68;
}

.pool-caustic {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 18%;
  height: 42%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(126, 200, 255, 0.08), transparent 42%),
    radial-gradient(ellipse at 70% 40%, rgba(215, 236, 255, 0.08), transparent 38%);
  filter: blur(18px);
  animation: caustic 16s ease-in-out infinite;
}

.pool-caustic.alt {
  top: 48%;
  animation-delay: -7s;
  opacity: 0.7;
}

.arc-mark {
  position: absolute;
  width: min(920px, 80vw);
  right: -8%;
  top: 6%;
  opacity: 0.9;
  animation: markPulse 8s ease-in-out infinite;
}

.horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 58%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(215, 236, 255, 0.45), transparent);
  box-shadow: 0 0 30px rgba(126, 200, 255, 0.45);
  animation: horizonBreath 5.5s ease-in-out infinite;
}

.grain,
.vignette {
  position: absolute;
  inset: 0;
}

.grain {
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.vignette {
  background: radial-gradient(ellipse at center, transparent 40%, rgba(2, 6, 14, 0.72) 100%);
}

.nav,
.ticker,
main,
.foot {
  position: relative;
  z-index: 2;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 28px 16px 36px;
  background: rgba(4, 14, 26, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: padding 280ms ease, background 280ms ease;
}

.nav.compact {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(3, 10, 20, 0.88);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-photo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(215, 236, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(126, 200, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--ice-hot);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 200ms ease;
}

.nav-links a:hover {
  color: var(--chrome);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.buy-btn,
.ghost-btn,
.ca-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: rgba(10, 28, 46, 0.7);
}

.icon-btn img,
.buy-btn img,
.ghost-btn img,
.text-link img,
.foot-links img {
  width: 16px;
  height: 16px;
}

.buy-btn {
  padding: 10px 16px;
  background: linear-gradient(180deg, #1a4d78, #0d2a44);
  border: 1px solid rgba(215, 236, 255, 0.28);
  color: var(--chrome);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.buy-btn.solid {
  background: linear-gradient(180deg, #d7ecff, #8ec4ef);
  color: #082033;
  box-shadow: 0 10px 30px rgba(126, 200, 255, 0.28);
}

.ghost-btn {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(8, 22, 36, 0.55);
}

.ghost-btn.slim {
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 13px;
}

.icon-btn:hover,
.buy-btn:hover,
.ghost-btn:hover,
.ca-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(80, 160, 230, 0.18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--ice);
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 20, 34, 0.55);
}

.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 10px 0;
  animation: ticker 32s linear infinite;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8eabc2;
}

.ticker-track span + span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 36px 0 0;
  border-radius: 50%;
  background: var(--bandana);
  box-shadow: 0 0 0 3px rgba(200, 30, 58, 0.18);
  transform: translateY(-1px);
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 160px);
  padding: 28px 0 64px;
}

.hero-stage {
  position: relative;
  min-height: 520px;
}

.runway {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 58px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(126, 200, 255, 0.28), transparent 70%);
  filter: blur(6px);
}

.paw {
  position: absolute;
  bottom: 72px;
  width: 18px;
  height: 12px;
  border-radius: 50%;
  background: rgba(215, 236, 255, 0.35);
  filter: blur(1px);
  animation: paw 2.8s ease-in-out infinite;
}

.p1 { left: 22%; animation-delay: 0s; }
.p2 { left: 34%; animation-delay: 0.35s; }
.p3 { left: 46%; animation-delay: 0.7s; }
.p4 { left: 58%; animation-delay: 1.05s; }

.walker {
  position: relative;
  width: min(460px, 100%);
  margin: 30px auto 0;
  animation: walkBob 3.4s ease-in-out infinite;
}

.walker img {
  width: 100%;
  border-radius: 36px 36px 120px 36px;
  border: 1px solid rgba(215, 236, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(126, 200, 255, 0.08),
    0 30px 70px rgba(0, 10, 24, 0.55),
    0 0 80px rgba(110, 190, 255, 0.16);
}

.hud-chip {
  position: absolute;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  min-width: 124px;
}

.hud-chip.left {
  left: 0;
  top: 36px;
  animation: hudFloat 5s ease-in-out infinite;
}

.hud-chip.right {
  right: 0;
  bottom: 110px;
  animation: hudFloat 6s ease-in-out infinite reverse;
}

.hud-chip em,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice-hot);
}

.hud-chip strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ee0a0;
  box-shadow: 0 0 0 0 rgba(94, 224, 160, 0.7);
  animation: pulse 1.8s ease-out infinite;
}

.hero-copy h1 {
  margin: 10px 0 6px;
  line-height: 0.86;
}

.chrome {
  display: inline-block;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(72px, 11vw, 132px);
  font-weight: 700;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 0%, #e7f4ff 42%, #9fd0f4 78%, #6aa7d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 50px rgba(110, 190, 255, 0.28);
  filter: drop-shadow(0 10px 0 rgba(90, 150, 200, 0.18));
  animation: chromeShift 7s ease-in-out infinite;
}

.nameplate {
  font-family: "Fredoka", sans-serif;
  font-size: 28px;
  color: var(--cream);
}

.tag {
  margin: 8px 0 18px;
  color: var(--ice);
  font-size: 15px;
}

.tag span {
  color: var(--bandana);
  margin: 0 8px;
}

.lede,
.about-copy p,
.seq p,
.join-panel p,
.foot p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 16px;
}

.ca-chip {
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--line);
  background: rgba(8, 20, 34, 0.7);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.ca-label {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(200, 30, 58, 0.9);
  color: white;
}

.ca-status {
  color: var(--ice-hot);
}

.section-head {
  margin: 28px 0 28px;
}

.section-head h2 {
  margin-top: 8px;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.about,
.howtobuy,
.chart,
.joinus {
  padding: 72px 0 20px;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 96px;
}

.about-photo img {
  border-radius: 28px;
  border: 1px solid rgba(215, 236, 255, 0.18);
  box-shadow: var(--shadow), 0 0 50px rgba(126, 200, 255, 0.12);
}

.about-photo figcaption {
  margin-top: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #8eabc2;
}

.about-copy blockquote {
  margin-bottom: 20px;
  padding: 18px 20px;
  border-left: 3px solid var(--bandana);
  background: linear-gradient(90deg, rgba(200, 30, 58, 0.12), transparent);
  color: var(--cream);
  font-size: 22px;
  line-height: 1.4;
}

.about-copy p + p {
  margin-top: 14px;
}

.dossier {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.dossier article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 22, 36, 0.55);
}

.dossier span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--ice-hot);
}

.dossier h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.sequence {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.seq {
  padding: 20px 18px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 36, 56, 0.7), rgba(6, 16, 28, 0.7));
  box-shadow: var(--shadow);
  min-height: 280px;
}

.seq-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tminus {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--ice);
}

.seq-fill {
  flex: 1;
  height: 3px;
  overflow: hidden;
  background: rgba(215, 236, 255, 0.12);
  border-radius: 99px;
}

.seq-fill::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--bandana), var(--ice-hot));
  animation: load 2.8s ease-in-out infinite;
}

.seq h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--ice);
  font-size: 14px;
}

.telemetry {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #06101a;
  box-shadow: var(--shadow), 0 0 40px rgba(80, 170, 255, 0.1);
}

.telemetry-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8eabc2;
}

.telemetry iframe {
  width: 100%;
  height: 640px;
  border: 0;
  background: #0b1118;
}

.join-banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(215, 236, 255, 0.2);
  box-shadow: var(--shadow), 0 0 60px rgba(90, 170, 255, 0.16);
  transform-style: preserve-3d;
}

.join-banner img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center;
}

.banner-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 48%, transparent 62%);
  transform: translateX(-60%);
  animation: sheen 6.5s ease-in-out infinite;
  pointer-events: none;
}

.join-panel {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 20, 34, 0.62);
}

.join-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 36px 36px;
  border-top: 1px solid var(--line);
  background: rgba(3, 10, 18, 0.8);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 120ms; }
.delay-2 { animation-delay: 220ms; }
.delay-3 { animation-delay: 320ms; }

@keyframes caustic {
  0%, 100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(4%) scale(1.05); }
}

@keyframes markPulse {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50% { opacity: 0.95; transform: translateY(-8px); }
}

@keyframes horizonBreath {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes walkBob {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -8px); }
}

@keyframes paw {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  40% { opacity: 1; transform: scale(1); }
}

@keyframes hudFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 224, 160, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(94, 224, 160, 0); }
}

@keyframes chromeShift {
  0%, 100% { filter: drop-shadow(0 10px 0 rgba(90, 150, 200, 0.18)) saturate(1); }
  50% { filter: drop-shadow(0 12px 0 rgba(126, 200, 255, 0.28)) saturate(1.15); }
}

@keyframes load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

@keyframes sheen {
  0%, 30% { transform: translateX(-60%); }
  70%, 100% { transform: translateX(60%); }
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero,
  .about-layout,
  .sequence {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 24px;
  }

  .hero-stage {
    min-height: 420px;
    order: -1;
  }

  .about-photo {
    position: static;
  }

  .nav-links,
  .nav-tools {
    display: none;
  }

  .nav.open .nav-links,
  .nav.open .nav-tools {
    display: flex;
  }

  .nav.open {
    flex-wrap: wrap;
  }

  .nav.open .nav-links,
  .nav.open .nav-tools {
    width: 100%;
    padding-top: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .telemetry iframe {
    height: 520px;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 28px, 1180px);
  }

  .chrome {
    font-size: 76px;
  }

  .walker img {
    border-radius: 28px;
  }

  .join-banner img {
    aspect-ratio: 3 / 1;
  }

  .telemetry iframe {
    height: 430px;
  }

  .bandana-rail {
    width: 8px;
  }
}
