:root {
  --bg: #000;
  --cyan: #31cece;
  --text: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.46);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.045);
  --mx: 0;
  --my: 0;
  --sy: 0;
}

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

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, system-ui, sans-serif;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.glow {
  position: fixed;
  width: 55vw;
  height: 55vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.45;
  mix-blend-mode: screen;
  will-change: transform;
}

.glow-a {
  top: 18%;
  left: 28%;
  background: radial-gradient(circle, rgba(49, 206, 206, 0.55), transparent 68%);
  transform: translate3d(calc(var(--mx) * 48px), calc(var(--my) * 32px), 0);
}

.glow-b {
  right: 8%;
  bottom: 6%;
  width: 38vw;
  height: 38vw;
  background: radial-gradient(circle, rgba(120, 160, 255, 0.22), transparent 70%);
  transform: translate3d(calc(var(--mx) * -36px), calc(var(--my) * -24px), 0);
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.mark-fallback {
  position: fixed;
  left: 50%;
  top: 48%;
  width: min(42vw, 340px);
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 48px rgba(49, 206, 206, 0.55));
  animation: float 7.5s ease-in-out infinite;
  opacity: 0.95;
}

body.webgl .mark-fallback {
  display: none;
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) rotateX(12deg) rotateY(-18deg);
  }
  50% {
    transform: translate(-50%, calc(-50% - 16px)) rotateX(8deg) rotateY(14deg);
  }
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, 4vw);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

.brand img {
  display: block;
  height: 18px;
  width: auto;
}

.nav-right,
.foot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.glass-pill,
.x-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: pointer;
  text-decoration: none;
}

.glass-pill {
  padding: 0 14px 0 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.glass-pill span {
  color: var(--cyan);
  font-weight: 600;
}

.glass-pill code {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.glass-pill.lg {
  min-height: 48px;
  padding: 0 18px;
  font-size: 13px;
}

.glass-pill:hover,
.x-btn:hover {
  border-color: rgba(49, 206, 206, 0.45);
  box-shadow: 0 0 0 1px rgba(49, 206, 206, 0.12), 0 0 28px rgba(49, 206, 206, 0.12);
}

.x-btn {
  width: 40px;
  height: 40px;
  justify-content: center;
  border-radius: 50%;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 max(28px, 5vw) 8vh;
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--cyan);
  margin-bottom: 1.5vh;
  transform: translate3d(calc(var(--mx) * 10px), calc(var(--my) * 8px), 0);
}

.eyebrow i {
  width: 28px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.word {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(6.4rem, 24vw, 20rem);
  line-height: 0.78;
  letter-spacing: -0.08em;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 0 80px rgba(49, 206, 206, 0.18);
  transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -14px + var(--sy) * -40px), 0);
}

.word span {
  display: inline-block;
  animation: rise 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.word span:nth-child(2) {
  animation-delay: 0.08s;
}

.word span:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 0.35em, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tag {
  margin-top: 1.2vh;
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  letter-spacing: 0.58em;
  color: var(--muted);
  transform: translate3d(calc(var(--mx) * 12px), calc(var(--my) * 10px), 0);
}

.band {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0 max(28px, 5vw);
}

.band h2 {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(4.2rem, 16vw, 14rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
  transform: translate3d(calc(var(--mx) * -18px), calc(var(--my) * 10px), 0);
}

.band-end h2 {
  margin-left: auto;
  -webkit-text-stroke-color: rgba(49, 206, 206, 0.7);
}

.foot {
  position: relative;
  z-index: 4;
  justify-content: space-between;
  padding: 28px max(28px, 4vw) 36px;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 20;
  transform: translateX(-50%) translateY(120%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cyan);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 720px) {
  .nav {
    height: 64px;
    padding: 0 16px;
  }
  .brand img {
    height: 15px;
  }
  .hero {
    padding-bottom: 10vh;
  }
  .word {
    font-size: 20vw;
  }
  .nav .glass-pill code {
    display: none;
  }
  .x-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .word span,
  .mark-fallback,
  .glow {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
