:root {
  --bg: #050511;
  --space: #090923;
  --bg-2: #10102d;
  --purple: #874bff;
  --violet: #b15cff;
  --cyan: #45f3e4;
  --red: #ff3e53;
  --lunar: #f4f6ff;
  --muted: #a5a8c8;
  --line: rgba(165, 168, 200, 0.16);
  --text: #ffffff;
  --display: "Arial Black", Impact, "Haettenschweiler", "Franklin Gothic Heavy", sans-serif;
  --body: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Segoe UI Mono", Consolas, ui-monospace, monospace;
  --gutter: clamp(32px, 5vw, 112px);
  --content: 1720px;
  --header: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 42% at 70% -8%, rgba(135, 75, 255, 0.2), transparent 55%),
    radial-gradient(ellipse 40% 30% at 0% 20%, rgba(69, 243, 228, 0.06), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(17px, 1.05vw, 20px);
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

::selection {
  background: var(--red);
  color: var(--text);
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--cyan);
  color: var(--bg);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(100%, calc(var(--content) + 2 * var(--gutter)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow,
.mission-id,
.ticker,
.telemetry span,
.terminal-top,
.scope-labels,
.footer-nav,
.nav-desktop,
.nav-mobile,
.link-x {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  font-size: 12px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cyan);
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  color: var(--text);
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  cursor: pointer;
  background: transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary {
  position: relative;
  background: var(--red);
  color: var(--text);
  box-shadow: 6px 6px 0 rgba(135, 75, 255, 0.28);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.92);
  border-right: 1.5px solid rgba(255, 255, 255, 0.92);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 8px 10px 0 rgba(69, 243, 228, 0.22);
}

.btn-secondary {
  background: rgba(5, 5, 17, 0.72);
  border-color: rgba(177, 92, 255, 0.65);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(5, 5, 17, 0.4);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: auto;
  color: var(--text);
  overflow: visible;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 17, 0.9);
  box-shadow: inset 0 -1px 0 rgba(69, 243, 228, 0.45);
}

.header-bar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px rgba(69, 243, 228, 0.7), 0 0 18px rgba(177, 92, 255, 0.35);
}

.wordmark {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.14em;
  line-height: 1;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a,
.footer-nav a,
.link-x {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
}

.nav-desktop a {
  padding: 8px 0;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="true"],
.footer-nav a:hover,
.link-x:hover,
.nav-mobile a[aria-current="true"] {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.buy-short {
  display: none;
}

.link-x {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(5, 5, 17, 0.4);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  background: #090923;
  border-bottom: 1px solid var(--line);
  padding: 6px var(--gutter) 16px;
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile a {
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mobile a::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  flex: none;
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 78% 46%, rgba(135, 75, 255, 0.18), transparent 68%),
    var(--bg);
}

.hero-atmo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.nebula,
.stars,
.ring-parallax,
.meteor {
  position: absolute;
  pointer-events: none;
}

.nebula-violet {
  width: 52vw;
  height: 70vh;
  right: -4vw;
  top: 8vh;
  background: radial-gradient(ellipse at center, rgba(135, 75, 255, 0.42), rgba(177, 92, 255, 0.08) 42%, transparent 70%);
}

.nebula-cyan {
  width: 34vw;
  height: 40vh;
  right: 6vw;
  top: 28vh;
  background: radial-gradient(ellipse at center, rgba(69, 243, 228, 0.2), transparent 68%);
}

.nebula-red {
  width: 28vw;
  height: 34vh;
  right: 18vw;
  bottom: 10vh;
  background: radial-gradient(ellipse at center, rgba(255, 62, 83, 0.2), transparent 70%);
}

.stars {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: transparent;
  left: 0;
  top: 0;
}

.stars-a {
  box-shadow:
    12vw 18vh 0 0 #fff,
    22vw 42vh 0 0 rgba(244, 246, 255, 0.85),
    38vw 14vh 0 0 rgba(69, 243, 228, 0.9),
    48vw 28vh 0 0 #fff,
    63vw 12vh 0 0 rgba(244, 246, 255, 0.75),
    71vw 36vh 0 0 #fff,
    84vw 16vh 0 0 rgba(69, 243, 228, 0.8),
    91vw 44vh 0 0 #fff,
    16vw 72vh 0 0 rgba(244, 246, 255, 0.7),
    33vw 64vh 0 0 #fff,
    57vw 78vh 0 0 rgba(177, 92, 255, 0.85),
    78vw 68vh 0 0 #fff,
    8vw 48vh 0 0 rgba(244, 246, 255, 0.6),
    95vw 72vh 0 0 rgba(69, 243, 228, 0.7);
  animation: twinkle 4.8s ease-in-out infinite;
}

.stars-b {
  box-shadow:
    18vw 24vh 0 0 rgba(255, 255, 255, 0.55),
    29vw 8vh 0 0 #fff,
    52vw 48vh 0 0 rgba(69, 243, 228, 0.65),
    66vw 22vh 0 0 rgba(255, 255, 255, 0.5),
    88vw 30vh 0 0 #fff,
    42vw 86vh 0 0 rgba(244, 246, 255, 0.55),
    74vw 84vh 0 0 rgba(177, 92, 255, 0.7),
    6vw 30vh 0 0 #fff;
  animation: twinkle 6.4s ease-in-out infinite reverse;
}

.meteor {
  top: 16%;
  left: 8%;
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  opacity: 0;
  animation: meteor 11s linear infinite;
}

.hero-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: 0;
  overflow: hidden;
  padding: var(--header) 20px 8px var(--gutter);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding-left: 22px;
  border-left: 1px solid rgba(69, 243, 228, 0.4);
}

.mission-id,
.ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.mission-id span {
  color: var(--cyan);
}

.hero-title {
  margin: 12px 0 18px;
  font-family: var(--display);
  font-size: clamp(100px, 10vw, 190px);
  line-height: 0.8;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.hero-title span {
  display: block;
}

.line-poke {
  color: var(--text);
}

.line-moon {
  color: var(--red);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .line-moon {
    background-image: linear-gradient(102deg, #ff3e53 8%, #ff3e53 46%, #b15cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-lead {
  max-width: 16ch;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.25;
  color: var(--lunar);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  max-width: 100%;
  min-width: 0;
}

.ticker {
  margin-top: 22px;
}

.hero-stage {
  position: relative;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ring-parallax {
  inset: 0;
  display: grid;
  place-items: center;
}

.hero-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(69, 243, 228, 0.32);
  border-left-color: transparent;
  border-bottom-color: rgba(177, 92, 255, 0.2);
}

.hero-ring-a {
  width: min(88%, 860px);
  aspect-ratio: 1.7;
  transform: translate(-50%, -50%) rotate(-22deg);
  animation: orbit-a 90s linear infinite;
}

.hero-ring-b {
  width: min(64%, 620px);
  aspect-ratio: 1.15;
  border-color: rgba(177, 92, 255, 0.28);
  border-right-color: transparent;
  transform: translate(-50%, -50%) rotate(18deg);
  animation: orbit-b 70s linear infinite;
}

.moon-parallax,
.moon-float {
  max-width: 96%;
  max-height: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moon-parallax {
  position: relative;
  z-index: 1;
}

.moon-float {
  animation: lunar-float 8.5s ease-in-out infinite;
}

.moon-float img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
}

.telemetry {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-inline: var(--gutter);
  padding: 14px 0 16px;
  border-top: 1px solid rgba(69, 243, 228, 0.35);
  background:
    linear-gradient(90deg, rgba(69, 243, 228, 0.08), transparent 18%),
    #050511;
}

.telemetry p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.telemetry span {
  color: var(--cyan);
  font-size: 11px;
}

.telemetry strong {
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 26px);
  letter-spacing: 0.04em;
  font-weight: 900;
  line-height: 1.1;
}

.beyond {
  position: relative;
  background: #03030c;
  min-height: clamp(420px, 62vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 10vh, 120px) var(--gutter);
}

.orbit-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 243, 228, 0.15), var(--cyan), var(--violet), transparent);
  box-shadow: 0 18px 0 rgba(255, 62, 83, 0.28);
  transform: scaleX(0);
  transform-origin: left center;
}

.beyond-title {
  position: relative;
  max-width: 100%;
  font-family: var(--display);
  font-size: min(14vw, 210px, calc((100vw - 2 * var(--gutter)) / 6.4));
  line-height: 0.8;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.beyond-title span {
  display: block;
  color: transparent;
  background: linear-gradient(180deg, #f4f6ff 0%, #d7c4ff 46%, #b15cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(177, 92, 255, 0.45);
}

.js .beyond-title span {
  opacity: 0;
  transform: translateY(36px);
}

.beyond.is-in .orbit-line {
  transform: scaleX(1);
  transition: transform 1.5s var(--ease);
}

.beyond.is-in .beyond-title span {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.beyond.is-in .beyond-title span:last-child {
  transition-delay: 0.12s;
}

#mission,
#moon,
#chart,
.terminal-section,
.sky-statement,
.farewell {
  scroll-margin-top: calc(var(--header) + 16px);
}

.mission {
  position: relative;
  background: var(--space);
  padding: clamp(88px, 12vh, 150px) 0;
  overflow: hidden;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
}

.mission-copy {
  position: relative;
}

.mission h2,
.moon h2,
.terminal h2,
.chart h2,
.farewell h2,
.sky-statement p {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.88;
  font-size: clamp(56px, 6vw, 112px);
}

.mission-line,
.mission-contrast {
  display: block;
}

.mission-contrast {
  color: var(--violet);
  margin-top: 10px;
}

.orbit-diagram {
  position: absolute;
  width: min(340px, 46%);
  aspect-ratio: 1;
  right: 4%;
  bottom: -18%;
  pointer-events: none;
}

.od-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(135, 75, 255, 0.35);
}

.od-ring-b {
  inset: 16%;
  border-color: rgba(69, 243, 228, 0.35);
  border-left-color: transparent;
  animation: spin 48s linear infinite;
}

.od-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  top: 12%;
  left: 58%;
  box-shadow: 0 0 12px var(--cyan);
}

.mission-story {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 46ch;
  padding-bottom: 8px;
}

.mission-story ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mission-story li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mission-story li span {
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.mission-story p {
  font-size: clamp(18px, 1.3vw, 22px);
  color: var(--lunar);
}

.mission-close {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 48px) !important;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text) !important;
  margin-top: 8px;
}

.mission-close em {
  font-style: normal;
  color: var(--red);
}

.moon {
  background: var(--bg);
  padding: clamp(88px, 12vh, 140px) 0 clamp(40px, 6vh, 72px);
}

.moon-head {
  margin-bottom: clamp(20px, 4vh, 40px);
}

.scope {
  position: relative;
  width: min(1100px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  min-height: clamp(520px, 72vh, 860px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at center, rgba(16, 16, 45, 0.2), rgba(5, 5, 17, 0.95) 72%);
  overflow: hidden;
}

.scope-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scope-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(69, 243, 228, 0.28);
  transform: translate(-50%, -50%);
}

.scope-ring-a {
  width: min(78%, 760px);
  aspect-ratio: 1;
}

.scope-ring-b {
  width: min(92%, 920px);
  aspect-ratio: 1.35;
  border-color: rgba(177, 92, 255, 0.32);
  border-bottom-color: transparent;
}

.scope-ring-c {
  width: min(64%, 560px);
  aspect-ratio: 1.8;
  border-color: rgba(69, 243, 228, 0.18);
}

.scope-marker {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.scope-marker-a { top: 18%; left: 22%; }
.scope-marker-b { top: 30%; right: 14%; }
.scope-marker-c { bottom: 24%; left: 48%; }

.scope-cross {
  position: absolute;
  inset: 8%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 1px 100% no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) center / 100% 1px no-repeat;
  opacity: 0.28;
  -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 42% 48%, transparent 56%);
  mask: radial-gradient(circle, transparent 0 34%, #000 42% 48%, transparent 56%);
}

.exhibit {
  margin: 0;
  width: min(640px, 72%);
  position: relative;
  z-index: 1;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(69, 243, 228, 0.45),
    0 0 0 14px rgba(5, 5, 17, 0.35),
    0 0 80px rgba(135, 75, 255, 0.25);
}

.exhibit img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.scope-labels {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.scope-labels li {
  position: absolute;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--lunar);
  pointer-events: auto;
}

.scope-labels span {
  color: var(--cyan);
}

.scope-labels li:nth-child(1) { top: 12%; left: 6%; }
.scope-labels li:nth-child(2) { top: 42%; right: 4%; }
.scope-labels li:nth-child(3) { bottom: 14%; left: 8%; }

.cinema {
  margin: 0;
  background: var(--bg);
}

.cinema img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  background: #03030c;
}

.sky-statement {
  background: var(--bg);
  padding: clamp(56px, 8vw, 110px) 0 clamp(20px, 4vh, 48px);
}

.sky-statement p {
  max-width: 12ch;
}

.sky-statement span {
  color: var(--red);
}

.terminal-section {
  background:
    radial-gradient(ellipse 40% 50% at 10% 0%, rgba(135, 75, 255, 0.14), transparent 70%),
    var(--bg);
  padding: clamp(72px, 10vh, 130px) 0;
}

.terminal {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 64px);
}

.terminal::before,
.terminal::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--cyan);
  pointer-events: none;
}

.terminal::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}

.terminal::after {
  right: 10px;
  bottom: 10px;
  border-left: 0;
  border-top: 0;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 28px;
}

.lamp {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.terminal-top-gap {
  margin-left: auto;
}

.terminal-sub {
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.18em;
  font-size: 13px;
}

.address-block {
  margin-top: 36px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(69, 243, 228, 0.28);
  background:
    linear-gradient(180deg, rgba(69, 243, 228, 0.05), transparent 28%),
    #070714;
}

.contract-value {
  font-family: var(--mono);
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: 0.08em;
  color: var(--cyan);
  overflow-wrap: anywhere;
  line-height: 1.1;
}

.contract-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.copy-status {
  min-height: 1.2em;
  font-family: var(--mono);
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--cyan);
}

.terminal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.chart {
  background: var(--space);
  padding: clamp(80px, 11vh, 140px) 0;
}

.chart h2 {
  max-width: 14ch;
}

.chart-note {
  max-width: 62ch;
  margin-top: 18px;
  color: var(--muted);
}

.chart-frame {
  width: min(1500px, 100%);
  height: clamp(600px, 62vh, 700px);
  margin-top: 32px;
  border: 1px solid rgba(69, 243, 228, 0.28);
  background: #070714;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px rgba(5, 5, 17, 0.8), 0 30px 80px rgba(0, 0, 0, 0.28);
}

.chart-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.chart-bar span:last-child {
  color: var(--red);
}

.chart-frame::before,
.chart-frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--violet);
  border-style: solid;
  pointer-events: none;
  z-index: 1;
}

.chart-frame::before {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.chart-frame::after {
  right: 8px;
  bottom: 8px;
  border-width: 0 1px 1px 0;
}

.chart-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  border: 0;
  display: block;
}

.chart-link {
  margin-top: 18px;
}

.chart-link a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-decoration: none;
}

.chart-link a:hover {
  color: var(--text);
}

.farewell {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 14vh, 180px) 0;
  background: linear-gradient(180deg, #10102d 0%, #140c28 42%, #050511 100%);
}

.farewell-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 36% 48% at 82% 18%, rgba(255, 62, 83, 0.16), transparent 70%),
    radial-gradient(ellipse 32% 42% at 12% 78%, rgba(69, 243, 228, 0.12), transparent 68%);
  pointer-events: none;
}

.farewell-inner {
  position: relative;
}

.farewell h2 span {
  color: var(--red);
  box-shadow: inset 0 -0.08em 0 rgba(255, 62, 83, 0.85);
}

.farewell-lead {
  margin-top: 20px;
  color: var(--lunar);
  font-size: clamp(18px, 1.4vw, 22px);
}

.site-footer {
  background: #03030c;
  border-top: 1px solid rgba(69, 243, 228, 0.28);
  padding: 36px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--display);
  letter-spacing: 0.12em;
  font-size: 18px;
}

.footer-tag {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  gap: 22px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

@keyframes lunar-float {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes twinkle {
  0%,
  100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes meteor {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-28deg); }
  7% { opacity: 0.75; }
  16% { opacity: 0; transform: translate3d(320px, 160px, 0) rotate(-28deg); }
  100% { opacity: 0; transform: translate3d(320px, 160px, 0) rotate(-28deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit-a {
  from { transform: translate(-50%, -50%) rotate(-22deg); }
  to { transform: translate(-50%, -50%) rotate(338deg); }
}

@keyframes orbit-b {
  from { transform: translate(-50%, -50%) rotate(18deg); }
  to { transform: translate(-50%, -50%) rotate(-342deg); }
}

@media (min-width: 2200px) {
  :root {
    --content: 1760px;
  }

  .hero-main {
    grid-template-columns: minmax(520px, 760px) minmax(0, 1fr);
  }

  .moon-parallax {
    max-height: min(100%, 860px);
    margin-left: auto;
  }
}

@media (max-width: 1280px) {
  .hero-title {
    font-size: clamp(84px, 8.4vw, 128px);
  }

  .nav-desktop {
    gap: 18px;
  }
}

@media (max-width: 1024px) {
  .hero-main {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    padding-right: 12px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .mission-grid {
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .hero-main {
    grid-template-columns: 1fr;
    padding: calc(var(--header) + 18px) var(--gutter) 12px;
    gap: 8px;
  }

  .hero-title {
    font-size: clamp(54px, 14vw, 88px);
  }

  .hero-stage {
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: visible;
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .moon-parallax,
  .moon-float {
    height: auto;
    max-height: none;
    width: min(520px, 88vw);
    max-width: 100%;
    margin-inline: auto;
    display: block;
  }

  .moon-float img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .hero-ring-a,
  .hero-ring-b {
    display: none;
  }

  .orbit-diagram {
    display: none;
  }
}

@media (max-width: 780px) {
  :root {
    --header: 64px;
    --gutter: 16px;
  }

  .nav-desktop,
  .link-x {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex: none;
  }

  .header-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px max-content;
    align-items: center;
    column-gap: 8px;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    overflow: hidden;
  }

  .brand {
    min-width: 0;
    overflow: hidden;
  }

  .header-actions {
    display: contents;
  }

  .wordmark {
    min-width: 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
  }

  .btn-buy {
    grid-column: 3;
    justify-self: end;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 0 8px;
    min-height: 40px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .nav-toggle {
    grid-column: 2;
    position: static;
    transform: none;
    display: inline-flex;
    width: 44px;
    height: 44px;
    justify-self: center;
  }

  .mission-grid,
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .scope {
    min-height: 0;
    padding: 28px 0 8px;
    overflow: visible;
    background: transparent;
  }

  .scope-cross {
    display: none;
  }

  .scope-labels {
    position: static;
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }

  .scope-labels li {
    position: static;
  }

  .scope-ring-b,
  .scope-ring-c,
  .scope-marker {
    display: none;
  }

  .exhibit {
    width: min(460px, 86vw);
  }

  .chart-frame {
    height: clamp(440px, 68vh, 520px);
  }
}

@media (max-width: 640px) {
  .telemetry {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-inline: var(--gutter);
  }

  .mission h2,
  .moon h2,
  .terminal h2,
  .chart h2,
  .farewell h2,
  .sky-statement p,
  .beyond-title {
    font-size: clamp(40px, 11vw, 64px);
  }

  .terminal-actions .btn,
  .hero-actions .btn,
  .farewell .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .buy-long {
    display: none;
  }

  .buy-short {
    display: inline;
  }

  .site-header {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .header-bar {
    padding-right: 12px;
  }

  .btn-buy {
    padding: 0 8px;
  }

  .hero-actions .btn,
  .terminal-actions .btn,
  .farewell .hero-actions .btn {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    padding: 0 8px;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .wordmark {
    display: none;
  }
}

@media (max-width: 380px) {
  .header-bar {
    column-gap: 6px;
    padding: 0 8px;
    grid-template-columns: minmax(0, 1fr) 40px max-content;
  }

  .wordmark {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .btn {
    font-size: 11px;
    padding: 8px 10px;
    letter-spacing: 0;
    white-space: normal;
    line-height: 1.15;
    min-height: 44px;
  }

  .btn-buy {
    font-size: 12px;
    padding: 0 10px;
    min-height: 40px;
    max-width: none;
    white-space: nowrap;
  }

  .nav-toggle {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .mission h2,
  .moon h2,
  .terminal h2,
  .chart h2,
  .farewell h2,
  .sky-statement p {
    font-size: clamp(34px, 12vw, 46px);
  }

  .hero-title {
    font-size: clamp(54px, 14vw, 72px);
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  :root {
    --header: 56px;
  }

  .hero {
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .hero-main {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.8fr);
    padding-top: calc(var(--header) + 8px);
    align-items: center;
  }

  .hero-title {
    font-size: clamp(42px, 8vh, 72px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .moon-parallax {
    height: auto;
    width: min(280px, 36vw);
  }

  .moon-float {
    height: auto;
  }

  .moon-float img {
    width: 100%;
    height: auto;
  }

  .telemetry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 8px;
  }

  .telemetry strong {
    font-size: 16px;
  }

  .btn {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal,
  .js .beyond-title span,
  .orbit-line,
  .beyond-title span {
    opacity: 1 !important;
    transform: none !important;
  }
}
