:root {
  color-scheme: dark;
  --midnight: #101b36;
  --deep-blue: #17274a;
  --parchment: #f4eedf;
  --soft-gold: #d6b86d;
  --sky: #91acc9;
  --muted: #b8c3d2;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 28%, rgb(145 172 201 / 10%), transparent 28rem),
    linear-gradient(145deg, var(--midnight), #0b1327 68%);
  color: var(--parchment);
  font-family: Avenir, "Avenir Next", "Segoe UI", sans-serif;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
}

.launch-card {
  position: relative;
  z-index: 1;
  width: min(100%, 60rem);
  margin-inline: auto;
  padding-block: 4rem;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--soft-gold);
  font-size: clamp(0.72rem, 1.1vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  font-size: clamp(4.5rem, 14vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.78;
}

h1 span {
  display: block;
  color: var(--soft-gold);
  font-style: italic;
  transform: translateX(-0.06em);
}

.intro {
  max-width: 31rem;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.mark {
  display: flex;
  gap: 0.6rem;
  margin-top: 2rem;
}

.mark span {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--soft-gold);
}

.constellation {
  position: absolute;
  top: 50%;
  left: 68%;
  width: clamp(22rem, 42vw, 42rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.7;
}

.orbit {
  position: absolute;
  inset: 8%;
  border: 1px solid rgb(214 184 109 / 22%);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(0.44);
}

.star {
  position: absolute;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--parchment);
  box-shadow: 0 0 1.4rem rgb(244 238 223 / 75%);
}

.star--one { top: 14%; left: 35%; }
.star--two { top: 31%; right: 8%; width: 0.56rem; height: 0.56rem; }
.star--three { right: 25%; bottom: 16%; }
.star--four { bottom: 26%; left: 10%; width: 0.2rem; height: 0.2rem; }
.star--five { top: 45%; left: 44%; width: 0.7rem; height: 0.7rem; background: var(--soft-gold); }

footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

footer p {
  margin: 0;
  color: var(--sky);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .page-shell {
    padding: 1.5rem;
  }

  .launch-card {
    padding-block: 6rem;
  }

  .constellation {
    top: 30%;
    left: 78%;
    opacity: 0.42;
  }

  footer {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .launch-card {
    animation: arrive 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .constellation {
    animation: drift 14s ease-in-out infinite alternate;
  }
}

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

@keyframes drift {
  from { transform: translate(-50%, -50%) rotate(-2deg); }
  to { transform: translate(-50%, -52%) rotate(2deg); }
}

:focus-visible {
  outline: 3px solid var(--soft-gold);
  outline-offset: 4px;
}
