:root {
  color-scheme: dark;
  font-family: "Manrope", sans-serif;
  background: #030408;
  color: #f5f6fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: #030408;
}

a {
  color: inherit;
  text-decoration: none;
}

.universe {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 51% 48%, rgba(12, 24, 46, .22), transparent 38%),
    #030408;
}

.starfield,
.nebula,
.vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.starfield {
  z-index: -3;
}

.nebula {
  z-index: -2;
  opacity: .8;
  transition: transform 450ms ease-out;
}

.nebula--blue {
  background: radial-gradient(ellipse at 51% 46%, rgba(38, 89, 150, .16), transparent 31%);
}

.nebula--violet {
  background: radial-gradient(ellipse at 68% 63%, rgba(93, 42, 133, .11), transparent 34%);
}

.vignette {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 4, 8, .48), transparent 24%, transparent 75%, rgba(3, 4, 8, .68)),
    radial-gradient(ellipse at center, transparent 30%, rgba(1, 2, 5, .47) 100%);
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 5.3vw;
}

.wordmark,
.topbar__status,
.sound-toggle,
.eyebrow,
.telemetry,
.scroll-cue,
.flight-guide {
  font-family: "DM Mono", monospace;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
}

.wordmark__symbol {
  color: #c9a7ff;
  font-size: 22px;
  line-height: 1;
}

.wordmark__dot {
  color: #a986fa;
}

.topbar__status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(232, 236, 248, .57);
  font-size: 9px;
  letter-spacing: .17em;
}

.status-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8d7aff;
  box-shadow: 0 0 12px rgba(141, 122, 255, .9);
  animation: pulse 2.4s ease-in-out infinite;
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(232, 236, 248, .77);
  font-size: 9px;
  letter-spacing: .14em;
  transition: color 180ms ease;
}

.sound-toggle:hover {
  color: #fff;
}

.sound-toggle__icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(226, 230, 250, .25);
  border-radius: 50%;
  color: #c3a5ff;
  font-size: 14px;
}

.hero {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 560px;
  padding: 0 12.2vw;
}

.hero__copy {
  position: relative;
  z-index: 1;
  margin-top: -1.5vh;
  animation: arrive 1.1s cubic-bezier(.2, .75, .2, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 27px 4px;
  color: #b6a1e9;
  font-size: 9px;
  letter-spacing: .22em;
}

.eyebrow__line {
  width: 26px;
  height: 1px;
  background: #a78aff;
  box-shadow: 0 0 9px rgba(167, 138, 255, .7);
}

h1 {
  margin: 0 0 21px;
  font-size: clamp(5.25rem, 11vw, 10.1rem);
  font-weight: 500;
  letter-spacing: -.085em;
  line-height: .78;
}

h1 > span:first-of-type {
  display: inline-block;
  margin-top: .13em;
  background: linear-gradient(105deg, #fff 7%, #d8d9f0 54%, #a48bda 105%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__period {
  color: #a78aff;
}

.hero__description {
  margin: 31px 0 27px 5px;
  color: rgba(225, 228, 240, .7);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 400;
  letter-spacing: .025em;
  line-height: 2;
}

.launch-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 13px;
  margin-left: 4px;
  padding: 0 20px 0 10px;
  border: 1px solid rgba(194, 171, 255, .34);
  border-radius: 99px;
  background: rgba(30, 25, 49, .28);
  color: #f3edff;
  font-size: 12px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.launch-button:hover {
  transform: translateY(-2px);
  border-color: rgba(194, 171, 255, .76);
  background: rgba(88, 63, 135, .28);
}

.launch-button__icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: #b69aff;
  color: #130d21;
  font-size: 15px;
}

.center-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(224, 225, 255, .34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.center-mark span:first-child,
.center-mark span:last-child {
  position: absolute;
  background: rgba(224, 225, 255, .32);
}

.center-mark span:first-child {
  width: 1px;
  height: 30px;
}

.center-mark span:last-child {
  width: 30px;
  height: 1px;
}

.telemetry {
  position: absolute;
  bottom: 24%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 9px;
  letter-spacing: .08em;
}

.telemetry--left {
  left: 5.3vw;
}

.telemetry--right {
  right: 5.3vw;
  text-align: right;
}

.telemetry__label {
  color: rgba(194, 199, 222, .42);
  font-size: 8px;
  letter-spacing: .17em;
}

.telemetry__value {
  color: rgba(233, 234, 247, .78);
}

.telemetry__value i {
  color: #b99bff;
  font-style: normal;
}

.telemetry__rule {
  width: 100px;
  height: 1px;
  margin: 5px 0;
  background: rgba(221, 225, 244, .15);
}

.telemetry__coordinates {
  margin-top: 6px;
  color: rgba(194, 199, 222, .43);
  font-size: 8px;
  line-height: 1.8;
}

.scroll-cue {
  position: absolute;
  bottom: 11%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(216, 218, 237, .42);
  font-size: 8px;
  letter-spacing: .17em;
  transform: translateX(-50%);
}

.scroll-cue__line {
  width: 29px;
  height: 1px;
  background: rgba(216, 218, 237, .4);
}

.flight-guide {
  position: absolute;
  right: 5.3vw;
  bottom: 33px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(225, 228, 240, .55);
  font-size: 9px;
  letter-spacing: .03em;
}

.flight-guide__mouse {
  position: relative;
  width: 13px;
  height: 19px;
  border: 1px solid rgba(225, 228, 240, .53);
  border-radius: 8px;
}

.flight-guide__mouse span {
  position: absolute;
  top: 3px;
  left: 5px;
  width: 1px;
  height: 4px;
  background: #d7c9ff;
  animation: mouse-scroll 1.6s ease-in-out infinite;
}

.flight-guide__divider {
  width: 1px;
  height: 15px;
  margin: 0 3px;
  background: rgba(225, 228, 240, .2);
}

.flight-guide__key {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(225, 228, 240, .25);
  border-radius: 4px;
  color: rgba(225, 228, 240, .7);
  font-size: 8px;
}

@keyframes pulse {
  50% { opacity: .5; }
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mouse-scroll {
  0%, 100% { opacity: .4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(5px); }
}

@media (max-width: 700px) {
  .topbar {
    padding: 24px 6vw;
  }

  .topbar__status {
    display: none;
  }

  .hero {
    min-height: 650px;
    align-items: center;
    padding: 0 8vw 70px;
  }

  .hero__copy {
    margin-top: -7vh;
  }

  h1 {
    font-size: clamp(5.2rem, 20vw, 8rem);
  }

  .center-mark {
    top: 40%;
    left: 79%;
    transform: translate(-50%, -50%) scale(.75);
  }

  .telemetry {
    bottom: 17%;
    font-size: 8px;
  }

  .telemetry--left {
    left: 8vw;
  }

  .telemetry--right {
    right: 8vw;
  }

  .scroll-cue {
    bottom: 8%;
  }

  .flight-guide {
    right: auto;
    bottom: 24px;
    left: 50%;
    width: max-content;
    transform: translateX(-50%);
  }
}

@media (max-width: 390px) {
  .sound-toggle__label {
    display: none;
  }

  .hero {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .flight-guide {
    gap: 7px;
    font-size: 8px;
  }
}

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