:root {
  --background: #000018;
  --foreground: #ffffff;
  --cyan: #02a3ef;
  --blue: #096ce5;
  --magenta: #ae2097;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(9, 108, 229, 0.16), transparent 27rem),
    radial-gradient(circle at 48% 75%, rgba(132, 48, 181, 0.12), transparent 32rem),
    linear-gradient(180deg, #000018 0%, #02031a 58%, #000016 100%);
  isolation: isolate;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

.data-field {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.data-field span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(63, 202, 255, 0.78);
  box-shadow: 0 0 18px rgba(2, 163, 239, 0.58);
  animation: data-drift linear infinite;
}

.aurora {
  position: absolute;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(86px);
  opacity: 0.16;
  z-index: -2;
}

.aurora-one {
  left: 17%;
  top: 18%;
  background: var(--cyan);
}

.aurora-two {
  right: 11%;
  bottom: 9%;
  background: var(--magenta);
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem clamp(1.25rem, 5vw, 5.25rem);
}

.brand-link {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  opacity: 0.96;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.16));
}

.brand-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.topbar button,
.topbar .nav-link {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.91);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.topbar button:hover,
.topbar button:focus-visible,
.topbar .nav-link:hover,
.topbar .nav-link:focus-visible,
.topbar .nav-link[aria-current="page"] {
  color: #ffffff;
  outline: none;
  opacity: 0.74;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 7rem 1.5rem 10vh;
}

.logo-stage {
  position: relative;
  width: min(46vw, 31rem);
  min-width: 18rem;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  transform: translateY(2vh);
}

.logo-glow {
  position: absolute;
  width: 84%;
  height: 84%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(2, 163, 239, 0.2), transparent 48%),
    radial-gradient(circle, rgba(174, 32, 151, 0.16), transparent 62%);
  filter: blur(32px);
  animation: glow-breathe 5.8s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  width: 100%;
  height: auto;
  user-select: none;
  filter: drop-shadow(0 0 20px rgba(9, 108, 229, 0.16));
  animation: logo-float 7.5s ease-in-out infinite;
}

.bead-sheen {
  position: absolute;
  inset: 11% 8% 43% 8%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.26) 44%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-34%) rotate(-8deg);
  animation: sheen-pass 6.4s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  mask-image: linear-gradient(90deg, transparent, black 34%, black 66%, transparent);
}

.orbit-a {
  width: 76%;
  height: 76%;
  animation: orbit-turn 18s linear infinite;
}

.orbit-b {
  width: 58%;
  height: 58%;
  border-color: rgba(2, 163, 239, 0.13);
  animation: orbit-turn 23s linear infinite reverse;
}

.hero-cta {
  min-width: 11.5rem;
  min-height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #000018;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22), 0 0 36px rgba(2, 163, 239, 0.12);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.26), 0 0 48px rgba(2, 163, 239, 0.22);
  outline: none;
}

.hero-cta.coming-soon {
  border-color: rgba(255, 214, 80, 0.95);
  background: #ffd84a;
  color: #000018;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25), 0 0 46px rgba(255, 216, 74, 0.26);
}

.hero-cta.coming-soon:hover,
.hero-cta.coming-soon:focus-visible {
  transform: none;
  background: #ffd84a;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 16, 0.72);
  backdrop-filter: blur(18px);
}

.modal-backdrop[hidden] {
  display: none;
}

.waitlist-modal {
  position: relative;
  width: min(100%, 42rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 24, 46, 0.96), rgba(0, 0, 24, 0.98)), #000018;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.44);
  padding: clamp(1.4rem, 4vw, 2.25rem);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1;
}

.modal-kicker {
  margin: 0 0 0.65rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.waitlist-modal h1 {
  margin: 0 2rem 1.5rem 0;
  max-width: 28rem;
  color: #ffffff;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.12;
  font-weight: 800;
}

.waitlist-modal form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.waitlist-modal label {
  display: grid;
  gap: 0.45rem;
}

.waitlist-modal label.full,
.form-status {
  grid-column: 1 / -1;
}

.waitlist-modal span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.waitlist-modal input,
.waitlist-modal textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0.85rem 0.9rem;
  outline: none;
  resize: vertical;
}

.waitlist-modal input:focus,
.waitlist-modal textarea:focus {
  border-color: rgba(2, 163, 239, 0.72);
  box-shadow: 0 0 0 3px rgba(2, 163, 239, 0.14);
}

.submit-button {
  grid-column: 1 / -1;
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #000018;
  padding: 0.9rem 1.35rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-status {
  margin: -0.2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

@keyframes data-drift {
  0% {
    transform: translate3d(0, 22px, 0) scale(0.88);
  }
  50% {
    transform: translate3d(14px, -24px, 0) scale(1.12);
  }
  100% {
    transform: translate3d(-10px, -62px, 0) scale(0.92);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -8px, 0) scale(1.006);
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes sheen-pass {
  0%,
  38% {
    opacity: 0;
    transform: translateX(-38%) rotate(-8deg);
  }
  48% {
    opacity: 0.2;
  }
  62%,
  100% {
    opacity: 0;
    transform: translateX(42%) rotate(-8deg);
  }
}

@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    padding: 1.4rem 1rem;
  }

  .brand-link {
    width: 2rem;
    height: 2rem;
  }

  .topbar nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 0.8rem;
    max-width: 17rem;
  }

  .topbar button,
  .topbar .nav-link {
    font-size: 0.66rem;
  }

  .logo-stage {
    width: min(84vw, 27rem);
    min-width: 0;
  }

  .hero {
    padding: 7rem 1rem 8vh;
  }

  .waitlist-modal form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
