:root {
  color-scheme: dark;
  --ink: #f7efe7;
  --muted: #b6b9c5;
  --panel: rgba(9, 11, 16, 0.52);
  --line: rgba(255, 255, 255, 0.16);
  --aqua: #6ef6d8;
  --rose: #ff6f91;
  --amber: #ffc46b;
  --violet: #a88cff;
  --void: #07080d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--void);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 111, 145, 0.25), transparent 26rem),
    radial-gradient(circle at 78% 18%, rgba(110, 246, 216, 0.22), transparent 24rem),
    radial-gradient(circle at 52% 85%, rgba(255, 196, 107, 0.18), transparent 28rem),
    linear-gradient(140deg, #07080d 0%, #101019 46%, #120c13 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.55;
  animation: grid-drift 16s linear infinite;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.045) 50%, transparent 100%),
    radial-gradient(circle at center, transparent 0%, rgba(7, 8, 13, 0.3) 68%, rgba(7, 8, 13, 0.72) 100%);
  background-size: 100% 7px, 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.42;
}

#signal-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.page-shell {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 3.5rem);
  isolation: isolate;
  place-items: center;
}

.hero {
  position: relative;
  width: min(100%, 58rem);
  text-align: center;
}

.hero::before,
.hero::after {
  position: absolute;
  left: 50%;
  width: min(88vw, 44rem);
  height: 1px;
  content: "";
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero::before {
  top: -2.1rem;
}

.hero::after {
  bottom: -2.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(0.78rem, 2vw, 0.94rem);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

h1 {
  position: relative;
  margin: 0;
  font-size: clamp(4.1rem, 15vw, 12.5rem);
  font-weight: 800;
  line-height: 0.84;
  text-wrap: balance;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(110, 246, 216, 0.28),
    0 0 42px rgba(255, 111, 145, 0.2);
}

h1 span {
  position: relative;
  display: block;
  animation: signal-shiver 4.8s steps(1, end) infinite;
}

.lede {
  width: min(100%, 35rem);
  margin: 1.35rem auto 0;
  color: rgba(247, 239, 231, 0.78);
  font-size: clamp(1rem, 2.5vw, 1.28rem);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: balance;
}

.launch-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, 30rem);
  height: 2.5rem;
  margin: 2.25rem auto 0;
  gap: 1rem;
}

.launch-line span {
  display: block;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.launch-line span:nth-child(2) {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--amber);
  box-shadow:
    0 0 18px rgba(255, 196, 107, 0.95),
    0 0 44px rgba(110, 246, 216, 0.45);
  animation: pulse-core 2.6s ease-in-out infinite;
}

.orbital-system {
  position: fixed;
  right: min(7vw, 6rem);
  bottom: min(9vw, 6rem);
  z-index: -1;
  width: clamp(14rem, 29vw, 27rem);
  aspect-ratio: 1;
  opacity: 0.8;
  filter: drop-shadow(0 0 1.7rem rgba(110, 246, 216, 0.18));
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orbit span {
  position: absolute;
  top: 50%;
  left: -0.34rem;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 22px rgba(110, 246, 216, 0.9);
}

.orbit-large {
  animation: orbital-tilt 18s linear infinite;
}

.orbit-medium {
  inset: 18%;
  border-color: rgba(255, 111, 145, 0.24);
  animation: orbital-tilt 13s linear infinite reverse;
}

.orbit-medium span {
  background: var(--rose);
  box-shadow: 0 0 22px rgba(255, 111, 145, 0.85);
}

.orbit-small {
  inset: 35%;
  border-color: rgba(255, 196, 107, 0.28);
  animation: orbital-tilt 8s linear infinite;
}

.orbit-small span {
  background: var(--amber);
  box-shadow: 0 0 20px rgba(255, 196, 107, 0.85);
}

@keyframes grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(72px, 72px, 0);
  }
}

@keyframes signal-shiver {
  0%,
  82%,
  100% {
    transform: translate3d(0, 0, 0);
    filter: drop-shadow(0 0 0 rgba(110, 246, 216, 0));
  }

  84% {
    transform: translate3d(-0.012em, 0.006em, 0);
    filter:
      drop-shadow(0.035em 0 rgba(110, 246, 216, 0.42))
      drop-shadow(-0.028em 0 rgba(255, 111, 145, 0.36));
  }

  86% {
    transform: translate3d(0.01em, -0.005em, 0);
    filter:
      drop-shadow(-0.03em 0 rgba(110, 246, 216, 0.35))
      drop-shadow(0.025em 0 rgba(255, 196, 107, 0.32));
  }

  88% {
    transform: translate3d(0, 0, 0);
    filter: drop-shadow(0 0 0 rgba(110, 246, 216, 0));
  }
}

@keyframes pulse-core {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

@keyframes orbital-tilt {
  from {
    transform: rotateX(68deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(68deg) rotateZ(360deg);
  }
}

@media (max-width: 680px) {
  body {
    overflow: hidden;
  }

  .page-shell {
    align-items: center;
    padding: 1.35rem;
  }

  .hero {
    padding-top: 1.5rem;
  }

  h1 {
    font-size: clamp(3.45rem, 18vw, 6.8rem);
    line-height: 0.9;
  }

  .lede {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .launch-line {
    margin-top: 1.5rem;
  }

  .orbital-system {
    right: -4.5rem;
    bottom: -3.5rem;
    width: 17rem;
    opacity: 0.45;
  }
}

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