:root {
  color-scheme: dark;
  --bg: #07080c;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #818cf8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

/* Slow-moving colour wash behind everything. */
.glow {
  position: fixed;
  inset: -25%;
  background:
    radial-gradient(38% 32% at 30% 32%, rgb(99 102 241 / 0.24), transparent 70%),
    radial-gradient(32% 30% at 72% 68%, rgb(56 189 248 / 0.14), transparent 70%),
    radial-gradient(30% 26% at 62% 22%, rgb(168 85 247 / 0.12), transparent 70%);
  filter: blur(24px);
  animation: aurora 22s ease-in-out infinite alternate;
}

@keyframes aurora {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(18deg) scale(1.12);
  }
}

/* Perspective grid floor moving towards the viewer, fading out at the horizon. */
.floor {
  position: fixed;
  left: -50%;
  right: -50%;
  bottom: 0;
  height: 52vh;
  perspective: 340px;
  perspective-origin: 50% 0%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 92%);
  mask-image: linear-gradient(to top, #000 15%, transparent 92%);
}

.floor .plane {
  position: absolute;
  inset: 0 0 -120% 0;
  transform-origin: 50% 0;
  transform: rotateX(72deg);
  background-image:
    linear-gradient(rgb(129 140 248 / 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgb(129 140 248 / 0.28) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: travel 2.4s linear infinite;
}

@keyframes travel {
  to {
    transform: rotateX(72deg) translateY(44px);
  }
}

/* Slowly turning rings around the logo, each carrying a glowing dot. */
.orbits {
  position: fixed;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.orbits span {
  position: absolute;
  width: var(--s);
  height: var(--s);
  left: calc(var(--s) / -2);
  top: calc(var(--s) / -2);
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.07);
  animation: spin var(--t) linear infinite;
}

.orbits span::after {
  content: "";
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 14px 2px var(--c);
}

.orbits span:nth-child(1) { --s: 440px; --t: 26s; --c: rgb(165 180 252 / 0.9); }
.orbits span:nth-child(2) { --s: 680px; --t: 40s; --c: rgb(56 189 248 / 0.8); animation-direction: reverse; }
.orbits span:nth-child(3) { --s: 960px; --t: 60s; --c: rgb(192 132 252 / 0.8); }

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

/* Small points of light drifting up the screen. */
.sparks {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.sparks i {
  position: absolute;
  bottom: -12px;
  left: var(--x);
  width: var(--z, 4px);
  height: var(--z, 4px);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.85);
  box-shadow: 0 0 10px 1px rgb(165 180 252 / 0.8);
  opacity: 0;
  animation: float-up var(--t, 14s) linear var(--delay, 0s) infinite;
}

.sparks i:nth-child(1) { --x: 4%; --t: 13s; --delay: -2s; }
.sparks i:nth-child(2) { --x: 11%; --t: 17s; --delay: -9s; --z: 3px; }
.sparks i:nth-child(3) { --x: 18%; --t: 11s; --delay: -5s; --z: 5px; }
.sparks i:nth-child(4) { --x: 24%; --t: 15s; --delay: -12s; }
.sparks i:nth-child(5) { --x: 31%; --t: 19s; --delay: -1s; --z: 3px; }
.sparks i:nth-child(6) { --x: 37%; --t: 12s; --delay: -7s; }
.sparks i:nth-child(7) { --x: 43%; --t: 16s; --delay: -14s; --z: 2px; }
.sparks i:nth-child(8) { --x: 49%; --t: 14s; --delay: -4s; --z: 5px; }
.sparks i:nth-child(9) { --x: 55%; --t: 18s; --delay: -10s; --z: 3px; }
.sparks i:nth-child(10) { --x: 61%; --t: 12s; --delay: -6s; }
.sparks i:nth-child(11) { --x: 67%; --t: 17s; --delay: -15s; --z: 2px; }
.sparks i:nth-child(12) { --x: 72%; --t: 13s; --delay: -3s; --z: 5px; }
.sparks i:nth-child(13) { --x: 78%; --t: 20s; --delay: -11s; --z: 3px; }
.sparks i:nth-child(14) { --x: 83%; --t: 15s; --delay: -8s; }
.sparks i:nth-child(15) { --x: 88%; --t: 11s; --delay: -13s; --z: 2px; }
.sparks i:nth-child(16) { --x: 93%; --t: 16s; --delay: -5s; --z: 4px; }
.sparks i:nth-child(17) { --x: 97%; --t: 19s; --delay: -16s; --z: 3px; }
.sparks i:nth-child(18) { --x: 2%; --t: 18s; --delay: -10s; --z: 2px; }

@keyframes float-up {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  70% {
    opacity: 0.6;
  }
  100% {
    transform: translate3d(24px, -108vh, 0);
    opacity: 0;
  }
}

/* Rounded strokes at the logo's own angles, drifting slowly. */
.field {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.field span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h, 14px);
  border-radius: 999px;
  background: var(--c, rgb(255 255 255 / 0.09));
  transform: rotate(var(--r));
  animation:
    appear 1.8s ease-out var(--in, 0s) both,
    drift var(--d, 16s) ease-in-out var(--delay, 0s) infinite alternate;
}

.field span:nth-child(1) { --x: 6%; --y: 14%; --w: 140px; --r: 0deg; --dx: 80px; --dy: 36px; --d: 17s; }
.field span:nth-child(2) { --x: 16%; --y: 68%; --w: 90px; --r: 90deg; --dx: -32px; --dy: -68px; --d: 19s; --in: 0.2s; }
.field span:nth-child(3) { --x: 78%; --y: 12%; --w: 120px; --r: 64deg; --dx: -60px; --dy: 52px; --d: 15s; --c: rgb(129 140 248 / 0.22); }
.field span:nth-child(4) { --x: 86%; --y: 56%; --w: 160px; --r: -49deg; --dx: -72px; --dy: -40px; --d: 21s; --in: 0.3s; }
.field span:nth-child(5) { --x: 40%; --y: 8%; --w: 70px; --r: 49deg; --dx: 44px; --dy: 60px; --d: 14s; --in: 0.4s; }
.field span:nth-child(6) { --x: 60%; --y: 84%; --w: 130px; --r: 0deg; --dx: -88px; --dy: -24px; --d: 18s; --c: rgb(56 189 248 / 0.16); }
.field span:nth-child(7) { --x: 4%; --y: 42%; --w: 60px; --h: 60px; --r: 0deg; --dx: 40px; --dy: 48px; --d: 16s; --in: 0.5s; }
.field span:nth-child(8) { --x: 92%; --y: 30%; --w: 46px; --h: 46px; --r: 0deg; --dx: -36px; --dy: 56px; --d: 20s; --c: rgb(129 140 248 / 0.18); }
.field span:nth-child(9) { --x: 30%; --y: 88%; --w: 100px; --r: -64deg; --dx: 56px; --dy: -52px; --d: 17s; --in: 0.6s; }
.field span:nth-child(10) { --x: 70%; --y: 38%; --w: 80px; --r: 90deg; --dx: 52px; --dy: -28px; --d: 23s; --c: rgb(255 255 255 / 0.05); }
.field span:nth-child(11) { --x: 22%; --y: 30%; --w: 54px; --r: -49deg; --dx: -44px; --dy: 32px; --d: 13s; --c: rgb(255 255 255 / 0.05); }
.field span:nth-child(12) { --x: 50%; --y: 62%; --w: 26px; --h: 26px; --r: 0deg; --dx: 60px; --dy: 44px; --d: 15s; --c: rgb(168 85 247 / 0.2); }
.field span:nth-child(13) { --x: 84%; --y: 86%; --w: 64px; --r: 64deg; --dx: -40px; --dy: -60px; --d: 19s; --in: 0.7s; }
.field span:nth-child(14) { --x: 10%; --y: 90%; --w: 36px; --h: 36px; --r: 0deg; --dx: 52px; --dy: -44px; --d: 22s; --c: rgb(56 189 248 / 0.14); }

@keyframes appear {
  from {
    opacity: 0;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(var(--r));
  }
  to {
    transform: translate3d(var(--dx), var(--dy), 0) rotate(calc(var(--r) + 14deg));
  }
}

/* Content */
.hero {
  position: relative;
  z-index: 1;
  width: min(560px, 100% - 32px);
  text-align: center;
  padding: 48px 0 72px;
}

.hero > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero > :nth-child(2) { animation-delay: 0.15s; }
.hero > :nth-child(3) { animation-delay: 0.25s; }
.hero > :nth-child(4) { animation-delay: 0.35s; }
.hero > :nth-child(5) { animation-delay: 0.5s; }
.hero > :nth-child(6) { animation-delay: 0.65s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.logo {
  display: block;
  width: min(260px, 64vw);
  height: auto;
  margin: 0 auto 36px;
  /* The supplied logo is black; show it white on this dark page. */
  filter: invert(1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.04);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgb(129 140 248 / 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgb(129 140 248 / 0);
  }
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lede {
  margin: 0 auto 32px;
  max-width: 490px;
  color: var(--muted);
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.6;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--text);
  color: #0b0d12;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgb(129 140 248 / 0.6);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgb(129 140 248 / 0.8);
}

.note {
  margin: 22px 0 0;
  color: rgb(148 163 184 / 0.75);
  font-size: 13px;
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.arrow {
  transition: transform 0.2s ease;
}

.cta:hover .arrow {
  transform: translateX(4px);
}

footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgb(148 163 184 / 0.6);
  font-size: 12px;
  letter-spacing: 0.08em;
  z-index: 1;
}

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