@font-face {
  font-family: "Chakra Petch";
  src: url("/fonts/ChakraPetch-600-normal-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/Inter-400-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/Inter-500-normal-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #07111c;
  --text: #f4f7fb;
  --muted: #b7c3d4;
  --dim: #7d8da3;
  --line: rgba(255, 255, 255, 0.14);
  --ice: #c5dff8;
  --acid: #d6ff4a;
  --amber: #ffb347;
  --display: "Chakra Petch", "Avenir Next", sans-serif;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --script: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;
  --sans: Inter, "Avenir Next", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  background: #050910;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 40;
  background: #fff; color: #111; padding: 8px 12px; border-radius: 999px;
}
.skip:focus { top: 12px; }
#stars, .dawn { position: fixed; inset: 0; pointer-events: none; }
#stars { z-index: 0; width: 100%; height: 100%; }
.dawn {
  z-index: 0;
  background:
    radial-gradient(780px 520px at 74% 28%, rgba(120, 190, 255, 0.34), transparent 62%),
    radial-gradient(640px 420px at 62% 62%, rgba(40, 90, 150, 0.28), transparent 70%),
    linear-gradient(180deg, #07111c 0%, #123154 34%, #0a1a2c 68%, #050910 100%);
}
.nav, .banner, .hero, .instruments, .ticker, main, footer, .dockcta { position: relative; z-index: 1; }

.nav {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--display); letter-spacing: 0.2em; }
.brand img, .dest img { width: 28px; height: 28px; border-radius: 8px; }
.nav nav { display: flex; gap: 18px; margin-left: 12px; }
.nav nav a { color: var(--muted); font-size: 14px; padding-bottom: 4px; }
.nav nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -1px 0 #fff; }
.nav nav a:hover { color: #fff; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
#utc { color: var(--dim); font: 500 12px/1 var(--mono); }
.live {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.06); color: #fff; font-size: 13px;
}
.live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--acid);
  box-shadow: 0 0 10px var(--acid); animation: pulse 1.8s ease-in-out infinite;
}
.banner {
  width: min(1180px, calc(100% - 36px));
  margin: 14px auto 0;
  color: #d7e6f8;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.banner strong { color: #fff; letter-spacing: 0.08em; font-size: 12px; }

.hero {
  width: min(1180px, calc(100% - 36px));
  margin: 4px auto 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(320px, 560px) 1fr;
  align-items: center;
  gap: 8px;
}
.kicker {
  margin: 0 0 14px;
  color: var(--ice);
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1 { margin: 0 0 16px; }
.display {
  display: block;
  font: 600 clamp(52px, 6.2vw, 84px)/0.86 var(--display);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.serif {
  display: block;
  margin-top: 6px;
  font: italic 400 clamp(48px, 5.6vw, 78px)/0.95 var(--serif);
  color: var(--ice);
  letter-spacing: -0.03em;
}
.lede { max-width: 34rem; margin: 0 0 22px; color: #d5e0ee; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.btn, button[type="submit"] {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 13px 18px;
  background: #fff; color: #102033; font-weight: 600; cursor: pointer;
}
.btn.ghost { background: transparent; color: #fff; border: 1px solid var(--line); }
.btn:hover, button[type="submit"]:hover { transform: translateY(-1px); }
.dest {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(8, 16, 28, 0.45);
  backdrop-filter: blur(10px);
}
.count { display: flex; align-items: center; gap: 8px; color: var(--dim); font: 500 12px/1 var(--mono); }
.count b { color: #fff; }
.count i { width: 36px; height: 1px; background: rgba(255,255,255,0.35); }
.dest-body { display: flex; align-items: center; gap: 10px; }
.dest-body small { display: block; color: var(--dim); font-size: 11px; }
.dest-body strong { font-size: 14px; }

.stage { position: relative; min-height: 440px; display: grid; place-items: center; }
.float {
  position: relative;
  width: min(440px, 40vw);
  height: min(440px, 40vw);
  animation: bob 7s ease-in-out infinite;
}
.halo {
  position: absolute; inset: 1%;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 61%, rgba(156, 210, 255, 0.55) 69%, transparent 76%);
  filter: blur(1.5px);
}
.planet {
  position: absolute; inset: 8%;
  border-radius: 50%; overflow: hidden;
  background: #071422;
  box-shadow:
    0 0 0 1px rgba(190, 224, 255, 0.38),
    0 18px 46px rgba(0, 0, 0, 0.3);
}
.planet img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transform-origin: center;
  animation: spin 42s linear infinite;
}
.shade {
  position: absolute; inset: 0; border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 30% 26%, rgba(255,255,255,0.16), transparent 22%);
}
.ring {
  position: absolute; left: -2%; right: -2%; top: 36%; height: 28%;
  border: 1px solid rgba(255,255,255,0.38); border-radius: 50%;
  transform: rotate(-16deg);
}
.ring.front { border-color: rgba(214, 255, 74, 0.7); animation: tilt 14s ease-in-out infinite; }
.ring.back { opacity: 0.4; transform: rotate(22deg); }
.spark {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: #ffe08a; box-shadow: 0 0 12px #ffe08a;
}
.s1 { top: 12%; left: 8%; animation: drift 9s ease-in-out infinite; }
.s2 { top: 62%; right: 0; animation: drift 11s ease-in-out infinite reverse; background: #fff; }
.s3 { bottom: 14%; left: 18%; width: 7px; height: 7px; animation: drift 8s ease-in-out infinite; }
.scribble, .target { z-index: 3; }
.scribble {
  position: absolute; top: 8%; right: -8%;
  margin: 0; color: #f3fbff;
  font: 400 28px/1.05 var(--script);
  transform: rotate(8deg);
  text-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.target {
  position: absolute; left: -6%; bottom: 12%;
  width: 160px; padding: 12px 14px; border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 28, 0.55);
  backdrop-filter: blur(12px);
}
.target span, .target em { display: block; color: var(--dim); font: 500 10px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.target strong { display: block; margin: 4px 0; }
.scrolldown {
  position: absolute; right: 0; bottom: 8px;
  color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px;
}
@media (min-width: 981px) {
  .scrolldown { display: none; }
}
.scrolldown::before {
  content: ""; display: block; width: 18px; height: 28px; margin: 0 auto 8px;
  border: 1px solid var(--line); border-radius: 12px;
  background: radial-gradient(circle at 50% 30%, #fff 0 2px, transparent 3px);
}

.instruments {
  width: min(1180px, calc(100% - 36px));
  margin: 10px auto 0;
}
.rail-label {
  margin: 0 6px 8px;
  color: var(--dim);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 16, 28, 0.58);
  backdrop-filter: blur(18px);
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.rail::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--ice), var(--acid), var(--ice), transparent);
  background-size: 200% 100%;
  animation: sheen 7s linear infinite;
}
.card, .dock, .facts li, details, .transmit form {
  border: 1px solid var(--line);
  background: rgba(8, 16, 28, 0.46);
  backdrop-filter: blur(16px);
  border-radius: 22px;
}
.card {
  min-width: 0;
  min-height: 0;
  padding: 12px 14px 11px;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: inset -1px 0 0 var(--line);
}
.card:last-child { box-shadow: none; }
.card header { display: flex; justify-content: space-between; gap: 8px; color: var(--dim); font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.card header b, .liveword { color: #fff; }
.liveword { color: var(--acid); }
.card footer { margin-top: auto; padding-top: 6px; display: grid; gap: 1px; }
.card footer strong { font-size: 15px; letter-spacing: -0.02em; }
.card footer span, .fine, .facts span, .steps span, .dock p, .definition { color: var(--muted); }
.card footer span { font-size: 12.5px; line-height: 1.35; }
.ship { width: 100%; height: 56px; margin: 10px 0 0; color: #e7eef8; }
.landscape {
  position: relative; height: 72px; margin: 8px 0 0; border-radius: 12px; overflow: hidden;
  background: linear-gradient(#16324d, #2a4a68 55%, #0c1218);
}
.landscape i {
  position: absolute; left: 22%; top: 16%; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #9eb0c4 60%, #314050);
}
.landscape b {
  position: absolute; left: -8%; right: -8%; bottom: -6px; height: 36px;
  background: linear-gradient(#3d5368, #121820);
  clip-path: polygon(0 70%, 20% 42%, 38% 66%, 58% 30%, 76% 60%, 100% 36%, 100% 100%, 0 100%);
}
.radar {
  position: relative; width: 72px; height: 72px; margin: 8px auto 0;
  border-radius: 50%; border: 1px solid rgba(214,255,74,0.4);
}
.radar i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 8px var(--acid); }
.radar i:nth-child(2) { top: 24%; left: 60%; }
.radar i:nth-child(3) { top: 52%; left: 28%; }
.radar i:nth-child(4) { top: 66%; left: 70%; }
.radar i:nth-child(5) { top: 34%; left: 76%; }
.sweep {
  position: absolute; inset: 8%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(214,255,74,0.5), transparent 88%);
  animation: spin 4.8s linear infinite;
}
.log { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.log li { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.log b { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.log .done b { color: var(--acid); }
.log .now b { color: var(--amber); }

.ticker { overflow: hidden; margin: 40px 0 8px; border-block: 1px solid rgba(255,255,255,0.08); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker p { margin: 0; padding: 10px 0; color: var(--dim); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; white-space: nowrap; }

main { width: min(980px, calc(100% - 36px)); margin: 18px auto 40px; }
.deck { padding: 42px 0 8px; }
.deck h2, .transmit h2 {
  margin: 0 0 12px;
  font: 600 clamp(36px, 5vw, 58px)/1.02 var(--display);
  letter-spacing: -0.04em;
}
.deck h2 em { font: italic 400 0.86em var(--serif); color: var(--ice); letter-spacing: -0.03em; }
.rows, .facts, .steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.dock, .facts li, details, .steps li { padding: 16px; }
.dock { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.dock span { font: 600 13px/1 var(--mono); color: var(--ice); letter-spacing: 0.08em; }
.facts b, .steps b { display: block; margin-bottom: 4px; }
.facts b.go { color: var(--acid); }
.facts b.wait { color: var(--amber); }
.facts b.no { color: #ff8b72; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }
.transmit form { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.transmit h2, .transmit > form > p, .steps, .wide, .fine, #form-status, button[type="submit"] { grid-column: 1 / -1; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(0,0,0,0.28); padding: 11px 12px;
}
textarea { min-height: 88px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: flex-start; }
.check input { width: auto; margin-top: 3px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.okbox, .errbox { margin: 0; padding: 10px 12px; border-radius: 12px; }
.okbox { background: rgba(214,255,74,0.12); color: var(--acid); }
.errbox { background: rgba(255,139,114,0.12); color: #ffb1a1; }
footer.wrap {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto 88px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
  color: var(--dim); font-size: 13px;
}
footer a { text-decoration: underline; text-underline-offset: 3px; }
.dockcta {
  position: fixed; right: 16px; bottom: 16px; z-index: 5;
  padding: 12px 14px; border-radius: 999px; background: #fff; color: #102033; font-weight: 600;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: 0.3s ease;
}
.dockcta.is-shown { opacity: 1; transform: none; pointer-events: auto; }
[data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal].in { opacity: 1; transform: none; transition: 0.7s ease; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-14px); } }
@keyframes tilt { 50% { transform: rotate(-6deg) scaleX(1.05); } }
@keyframes drift { 50% { transform: translate(16px, -18px); } }
@keyframes pulse { 50% { opacity: 0.35; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes sheen { to { background-position: -200% 0; } }


.orbits { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orbit-tilt {
  position: absolute;
  border-radius: 50%;
  transform: rotate(var(--tilt)) scaleY(var(--y));
}
.o1 { inset: 4%; --tilt: -26deg; --y: 0.34; --dur: 12s; }
.o2 { inset: -8%; --tilt: 20deg; --y: 0.4; --dur: 18s; }
.o3 { inset: -16%; --tilt: -6deg; --y: 0.48; --dur: 26s; }
.orbit-line {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(197, 223, 248, 0.32);
}
.orbit-spin { position: absolute; inset: 0; animation: spin var(--dur) linear infinite; }
.o2 .orbit-spin { animation-delay: -7s; }
.o3 .orbit-spin { animation-delay: -15s; }
.sat {
  position: absolute;
  top: -6px; left: 50%;
  width: 14px; height: 6px;
  margin-left: -7px;
  border-radius: 2px;
  background: #f4f7fb;
  color: #d6ff4a;
  transform: scaleY(calc(1 / var(--y)));
  box-shadow: 0 0 10px currentColor;
}
.sat::before, .sat::after {
  content: "";
  position: absolute;
  top: 0; width: 6px; height: 6px;
  background: currentColor;
  opacity: 0.9;
}
.sat::before { left: -6px; }
.sat::after { right: -6px; }
.sat-b { color: #9ad7ff; top: auto; bottom: -6px; }
.sat-c { color: #ffe08a; width: 10px; height: 5px; }

.mote-dock, .mote-fly, .spot { position: fixed; z-index: 8; }
.mote-dock { left: 16px; bottom: 16px; width: min(340px, calc(100% - 32px)); }
.mote-panel {
  margin-bottom: 8px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 28, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.mote-say { margin: 0 0 10px; font-size: 14px; color: #e7eef8; }
.mote-panel form { display: flex; gap: 8px; }
.mote-panel input {
  flex: 1; min-width: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(0,0,0,0.28); padding: 9px 12px;
}
.mote-panel button[type="submit"], .mote-chips button, .mote-toggle {
  border: 0; cursor: pointer;
}
.mote-panel button[type="submit"] {
  border-radius: 999px; padding: 9px 12px;
  background: #fff; color: #102033; font-weight: 600;
}
.mote-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mote-chips button {
  border-radius: 999px; padding: 6px 9px;
  background: transparent; color: var(--ice);
  border: 1px solid var(--line); font-size: 12px;
}
.mote-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgba(8, 16, 28, 0.82);
  border: 1px solid var(--line);
  color: #fff; font-weight: 600;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.mote-toggle svg, .mote-fly svg { width: 42px; height: 42px; }
.mote-toggle span { letter-spacing: 0.04em; }
.mote-fly {
  width: 54px; height: 72px;
  pointer-events: none;
  transition: left 0.65s ease, top 0.65s ease;
}
.mote-fly b {
  display: block; margin-top: 2px;
  max-width: 140px;
  color: #fff; font-size: 11px; font-weight: 600;
  text-shadow: 0 2px 8px #000;
}
.spot {
  z-index: 6;
  pointer-events: none;
  border-radius: 18px;
  outline: 2px solid var(--acid);
  outline-offset: 5px;
  box-shadow: 0 0 0 9999px rgba(3, 8, 16, 0.58), 0 0 24px rgba(214, 255, 74, 0.35);
}
.is-spot { scroll-margin: 90px; }

@media (max-width: 980px) {
  .nav nav { display: none; }
  .hero, .transmit form, .hero-copy, .stage, .instruments, .rail { min-width: 0; }
  .hero, .transmit form { grid-template-columns: 1fr; }
  .hero { padding-top: 18px; }
  .display { font-size: 46px; }
  .serif { font-size: 42px; }
  .actions, .btn, .dest { max-width: 100%; }
  .stage { min-height: 360px; }
  .float { width: min(380px, 86vw); height: min(380px, 86vw); }
  .scribble { right: 4%; font-size: 22px; }
  .rail { grid-template-columns: 1fr; }
  .rail .card { box-shadow: inset 0 -1px 0 var(--line); }
  .rail .card:last-child { box-shadow: none; }
  .instruments { margin-top: 8px; }
  .mote-dock { left: 10px; bottom: 10px; }
  .o3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
