
:root {
  color-scheme: dark;
  background: #090513;
  color: #fff6ff;
  font-family: "Segoe UI", system-ui, sans-serif;
  --pointer-x: 0px;
  --pointer-y: 0px;
  --launch-duration: 2600ms;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.space {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 43%, #201036 0%, #0d0719 57%, #06030e 100%);
}
.nebula, .orbit-light { position: absolute; pointer-events: none; }
.nebula {
  left: 50%;
  top: 50%;
  width: max(140vw, 900px);
  height: max(85vh, 580px);
  mix-blend-mode: screen;
  filter: blur(clamp(22px, 5vw, 84px));
  transform: translate(calc(-50% + var(--pointer-x)), calc(-50% + var(--pointer-y))) rotate(-25deg);
}
.nebula-violet {
  background:
    radial-gradient(ellipse at 22% 55%, #6325a87d 0%, #2f11615c 22%, transparent 50%),
    radial-gradient(ellipse at 61% 50%, #8020bb75 0%, #5420994f 31%, transparent 62%),
    radial-gradient(ellipse at 80% 41%, #86349e81 0%, transparent 39%);
}
.nebula-blue {
  opacity: .92;
  background:
    radial-gradient(ellipse at 22% 63%, #396cdf67 0%, transparent 30%),
    radial-gradient(ellipse at 58% 57%, #255ac04c 0%, transparent 34%),
    radial-gradient(ellipse at 76% 29%, #353bb568 0%, transparent 28%);
  transform: translate(calc(-49% + var(--pointer-x)), calc(-53% + var(--pointer-y))) rotate(-23deg);
}
.nebula-rose {
  opacity: .76;
  background:
    radial-gradient(ellipse at 18% 69%, #bf328556 0%, transparent 31%),
    radial-gradient(ellipse at 65% 62%, #8023665c 0%, transparent 26%),
    radial-gradient(ellipse at 86% 39%, #d353a774 0%, transparent 27%);
  transform: translate(calc(-55% + var(--pointer-x)), calc(-47% + var(--pointer-y))) rotate(-27deg);
}
.orbit-light {
  inset: 8% -36%;
  border-radius: 50%;
  transform: translate(var(--pointer-x),var(--pointer-y)) rotate(-25deg);
  background:
    radial-gradient(ellipse 50% 20% at 52% 49%, #d891ff27, transparent 87%),
    radial-gradient(ellipse 54% 18% at 54% 51%, #4c1c95a9, transparent 89%),
    radial-gradient(ellipse 79% 10% at 55% 50%, #8f57ce52, transparent 80%);
  filter: blur(15px);
  opacity: .8;
}
#starfield, #warp-trails { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#warp-trails { visibility: hidden; pointer-events: none; }
.is-launching #warp-trails { visibility: visible; }
.hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 30px 18px; }
.hero-content { display: grid; justify-items: center; text-align: center; transform: translateY(-1.5vh); }
.hero-symbol {
  display: grid;
  place-items: center;
  position: relative;
  width: 66px;
  height: 66px;
  border: 1px solid #e9c2ff5c;
  border-radius: 21px;
  background: linear-gradient(146deg, #c484ee30, #28173b77);
  color: #f6deff;
  font-size: 38px;
  line-height: 1;
  box-shadow: inset 0 0 16px #efd0ff25, 0 0 35px #b262ff63;
}
.hero-symbol::after {
  content: "";
  position: absolute;
  width: 93px;
  height: 29px;
  border: 1px solid #ead0ff48;
  border-radius: 50%;
  transform: rotate(-32deg);
  pointer-events: none;
}
.hero h1 {
  font: 400 clamp(76px, 14vw, 194px)/.94 Georgia, "Times New Roman", serif;
  letter-spacing: -.052em;
  margin: 15px .075em 30px 0;
  color: #fff8ff;
  text-shadow: 0 0 50px #e4a7ff6b, 0 9px 50px #10071eaa;
}
.launch {
  display: inline-flex;
  min-width: 166px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 11px 10px 22px;
  color: #231137;
  background: #f0d5ff;
  border: 1px solid #ffe9ff;
  border-radius: 100px;
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 0 32px #dd99ff64, inset 0 1px 0 #fff8;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.launch span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #653a9b23;
  font-size: 20px;
}
.launch:hover, .launch:focus-visible {
  transform: translateY(3px);
  box-shadow: 0 0 52px #dd99ff9c;
  background: #f8e5ff;
}
.launch:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.hero-content, .space { will-change: transform, opacity; }
.is-launching .hero-content { animation: descend var(--launch-duration) cubic-bezier(.53,.01,.73,.52) both; pointer-events: none; }
.is-launching .space { animation: warp-background var(--launch-duration) cubic-bezier(.5,.02,.8,.85) both; }
@keyframes descend {
  0% { transform: translateY(-1.5vh) scale(1); }
  12% { transform: translateY(1vh) scale(.985); }
  64% { opacity: 1; transform: translateY(-15vh) scale(1.035); }
  100% { opacity: 0; transform: translateY(-54vh) scale(1.13); }
}
@keyframes warp-background {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.12) translateY(-4vh); opacity: .77; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(62px, 17vw, 85px); margin-bottom: 28px; }
  .hero-symbol { width: 54px; height: 54px; border-radius: 17px; font-size: 31px; }
  .hero-symbol::after { width: 76px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.nebula-violet { opacity: .59; }
.nebula-blue { opacity: .7; }
.nebula-rose { opacity: .56; }
.orbit-light { opacity: .36; }
