:root {
  --space: #05050a;
  --space-raised: #0e091c;
  --panel: #161222;
  --paper: #f7f5ff;
  --muted: #bdb6cc;
  --purple: #6e54ff;
  --lavender: #ddd7fe;
  --gold: #ffb547;
  --cyan: #85e6ff;
  --cherry: #f05a73;
  --line: rgba(247, 245, 255, 0.16);
  --line-strong: rgba(247, 245, 255, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --header-height: 78px;
  --font-display: "Bowlby One", Impact, sans-serif;
  --font-body: "Space Grotesk", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  overflow-x: hidden;
  background: var(--space);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--space);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

button,
a {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

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

::selection {
  background: var(--gold);
  color: var(--space);
}

.shell {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--space);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  border-color: var(--line);
  background: rgba(5, 5, 10, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 181, 71, 0.55);
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(255, 181, 71, 0.18);
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-copy small {
  overflow: hidden;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.desktop-nav a,
.footer-links a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.desktop-nav a::after,
.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--paper);
}

.desktop-nav a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

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

.icon-button {
  position: relative;
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  cursor: pointer;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(14, 9, 28, 0.7);
  color: var(--paper);
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.icon-button:hover {
  border-color: var(--gold);
  background: var(--space-raised);
  color: var(--gold);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.icon-button[data-tooltip]::after,
.copy-button[data-tooltip]::after {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 20;
  width: max-content;
  max-width: 160px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--space-raised);
  color: var(--paper);
  content: attr(data-tooltip);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.icon-button[data-tooltip]:hover::after,
.icon-button[data-tooltip]:focus-visible::after,
.copy-button[data-tooltip]:hover::after,
.copy-button[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.x-mark {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--gold);
  color: var(--space);
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 12px 34px rgba(255, 181, 71, 0.18);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--paper);
  background: var(--paper);
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-small {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 13px;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(5, 5, 10, 0.68);
  color: var(--paper);
  box-shadow: none;
}

.button-secondary:hover {
  border-color: var(--cyan);
  background: var(--space-raised);
  color: var(--cyan);
}

.menu-toggle,
.mobile-menu,
.mobile-dock {
  display: none;
}

.mobile-menu[hidden] {
  display: none;
}

.hero {
  position: relative;
  min-height: max(720px, 90svh);
  overflow: hidden;
  background: var(--space);
  isolation: isolate;
}

.hero-media,
.hero-media img,
.join-media,
.join-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.025) translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transition: none;
}

.hero::after,
.join-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 5, 10, 0.18);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black, transparent 58%);
}

.hero-inner {
  display: flex;
  min-height: max(720px, 90svh);
  align-items: center;
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: 70px;
}

.hero-copy {
  width: min(100%, 650px);
}

.eyebrow,
.section-kicker,
.cargo-index {
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}

.signal-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  animation: signal 1.8s ease-in-out infinite;
}

@keyframes signal {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

.hero h1 {
  max-width: 650px;
  color: var(--paper);
  font-size: 82px;
  text-shadow: 0 10px 50px rgba(0, 0, 0, 0.62);
}

.hero-lede {
  max-width: 590px;
  margin: 22px 0 0;
  color: #ddd8e7;
  font-size: 19px;
  line-height: 1.55;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.9);
}

.hero-lede strong {
  color: var(--paper);
}

.hero-actions,
.coordinate-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contract-bar {
  position: relative;
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 6px 7px 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(5, 5, 10, 0.78);
  box-shadow: var(--shadow);
}

.contract-label {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.contract-bar code {
  overflow: hidden;
  color: var(--paper);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-short {
  display: none;
}

.copy-button {
  position: relative;
  display: inline-flex;
  min-width: 76px;
  min-height: 44px;
  flex: 0 0 auto;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--space-raised);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 160ms ease, color 160ms ease;
}

.copy-button:hover,
.copy-button.is-copied {
  border-color: var(--cyan);
  color: var(--cyan);
}

.copy-button svg {
  width: 14px;
  height: 14px;
}

.scroll-cue {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  z-index: 2;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  writing-mode: vertical-rl;
}

.scroll-cue svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  animation: scroll-nudge 1.8s ease-in-out infinite;
}

@keyframes scroll-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.proof-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  min-height: 118px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--purple);
}

.proof-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item span {
  color: var(--lavender);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-item strong {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
  overflow-wrap: anywhere;
}

.proof-dev strong {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
}

.section {
  position: relative;
  padding: 124px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 50px;
}

.section-kicker {
  margin-bottom: 14px;
}

.section h2,
.join-section h2 {
  font-size: 58px;
}

.section-intro,
.section-side-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-side-copy {
  width: min(100%, 430px);
  margin-bottom: 2px;
}

.telemetry-section {
  border-bottom: 1px solid var(--line);
  background: var(--space-raised);
}

.telemetry-status-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.telemetry-status {
  margin: 0;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.refresh-button {
  width: 44px;
  height: 44px;
}

.refresh-button.is-loading svg {
  animation: spin 800ms linear infinite;
}

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

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric {
  display: grid;
  min-width: 0;
  min-height: 190px;
  align-content: space-between;
  gap: 10px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.metric > span,
.coordinate-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.metric strong {
  align-self: end;
  overflow: hidden;
  color: var(--paper);
  font-size: 33px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric small {
  min-height: 20px;
  color: var(--cyan);
  font-size: 12px;
}

.metric small.negative {
  color: var(--cherry);
}

.metric small.positive {
  color: #73e39b;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  border-bottom: 1px solid var(--gold);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.text-link svg {
  width: 15px;
  height: 15px;
}

.mission-section {
  overflow: hidden;
  background: var(--space);
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 80px;
}

.mission-copy .section-intro {
  max-width: 600px;
  margin: 24px 0 0;
}

.allocation-list {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.allocation {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.allocation-number {
  font-family: var(--font-display);
  font-size: 45px;
  line-height: 1;
}

.allocation-gift .allocation-number {
  color: var(--gold);
}

.allocation-lp .allocation-number {
  color: var(--cyan);
}

.allocation h3 {
  color: var(--paper);
  font-size: 19px;
}

.allocation p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
}

.source-note {
  margin: 20px 0 0;
  color: #8f899b;
  font-size: 12px;
}

.source-note a {
  border-bottom: 1px solid var(--gold);
  color: var(--paper);
}

.orbit-stage {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: clip;
}

.orbit-ring {
  position: absolute;
  inset: 11%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0deg 270deg, var(--cyan) 270deg 360deg);
  box-shadow: 0 0 80px rgba(110, 84, 255, 0.2);
}

.orbit-ring::before {
  position: absolute;
  inset: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--space-raised);
  content: "";
}

.orbit-ring::after {
  position: absolute;
  inset: -38px;
  border: 1px dashed rgba(221, 215, 254, 0.25);
  border-radius: 50%;
  content: "";
}

.orbit-center {
  position: relative;
  z-index: 2;
  width: 62%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

.orbit-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbiting-gift {
  position: absolute;
  inset: -44px;
  z-index: 3;
  border-radius: 50%;
  animation: orbit 15s linear infinite;
}

.orbiting-gift span {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  background: var(--purple);
  box-shadow: 0 0 22px rgba(255, 181, 71, 0.65);
  transform: translateX(-50%);
}

.orbiting-gift span::before,
.orbiting-gift span::after {
  position: absolute;
  background: var(--gold);
  content: "";
}

.orbiting-gift span::before {
  top: 0;
  bottom: 0;
  left: 11px;
  width: 3px;
}

.orbiting-gift span::after {
  top: 11px;
  right: 0;
  left: 0;
  height: 3px;
}

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

.orbit-key {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--space-raised);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 700;
}

.orbit-key span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.orbit-key-gift {
  top: 7%;
  right: -2%;
}

.orbit-key-gift span {
  background: var(--gold);
}

.orbit-key-lp {
  bottom: 9%;
  left: -2%;
}

.orbit-key-lp span {
  background: var(--cyan);
}

.cargo-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #100d17;
}

.cargo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cargo-item {
  display: flex;
  min-height: 338px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  transition: border-color 180ms ease, transform 180ms ease;
}

.cargo-item:hover {
  border-color: rgba(255, 181, 71, 0.58);
  transform: translateY(-4px);
}

.cargo-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 62px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--gold);
}

.cargo-icon svg {
  width: 23px;
  height: 23px;
}

.cargo-index {
  margin-bottom: 10px;
}

.cargo-item h3 {
  font-size: 28px;
}

.cargo-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

.coordinates-section {
  background: var(--paper);
  color: var(--space-raised);
}

.coordinates-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  align-items: center;
  gap: 80px;
}

.coordinates-section .section-kicker {
  color: #5941d8;
}

.coordinates-section h2 {
  color: var(--space-raised);
}

.coordinates-copy > p:not(.section-kicker) {
  max-width: 480px;
  margin: 24px 0 0;
  color: #5f586d;
  font-size: 18px;
}

.coordinates-section .button-secondary {
  border-color: #4d4758;
  background: transparent;
  color: var(--space-raised);
}

.coordinates-section .button-secondary:hover {
  border-color: var(--purple);
  background: var(--space-raised);
  color: var(--paper);
}

.coordinate-panel {
  overflow: hidden;
  border: 1px solid #2f2940;
  border-radius: 4px;
  background: var(--space-raised);
  color: var(--paper);
  box-shadow: 0 28px 80px rgba(14, 9, 28, 0.18);
}

.coordinate-row {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.coordinate-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.coordinate-contract {
  grid-template-columns: 1fr auto;
  min-height: 138px;
  align-items: start;
}

.coordinate-contract > span {
  grid-column: 1 / -1;
}

.coordinate-contract code {
  min-width: 0;
  align-self: center;
  color: var(--cyan);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.copy-button-wide {
  min-width: 122px;
}

.launch-note {
  margin: 0;
  padding: 18px 22px;
  color: #aba3b9;
  font-size: 12px;
}

.launch-note strong {
  color: var(--gold);
}

.join-section {
  position: relative;
  display: flex;
  min-height: 620px;
  overflow: hidden;
  align-items: center;
  background: var(--space);
  isolation: isolate;
}

.join-media {
  z-index: -2;
}

.join-media img {
  object-fit: cover;
  object-position: center;
}

.join-section::after {
  background: rgba(5, 5, 10, 0.34);
}

.join-inner {
  position: relative;
  z-index: 2;
}

.join-inner h2 {
  max-width: 650px;
}

.join-inner > p:not(.section-kicker) {
  max-width: 540px;
  margin: 22px 0 0;
  color: #ddd8e7;
  font-size: 18px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--space-raised);
}

.footer-main {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #8f899b;
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  max-width: calc(100vw - 44px);
  padding: 11px 14px;
  border: 1px solid var(--cyan);
  border-radius: 4px;
  background: var(--space-raised);
  color: var(--paper);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1500px) {
  .shell {
    width: min(100% - 80px, 1380px);
  }

  .hero h1 {
    max-width: 740px;
    font-size: 94px;
  }

  .hero-copy {
    width: 700px;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 18px;
  }

  .hero h1 {
    font-size: 68px;
  }

  .mission-layout,
  .coordinates-layout {
    gap: 48px;
  }

  .mission-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  }

  .coordinates-layout {
    grid-template-columns: minmax(0, 0.75fr) minmax(440px, 1.25fr);
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .mobile-menu {
    display: grid;
    max-height: calc(100svh - var(--header-height));
    gap: 0;
    padding: 12px 24px 28px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: rgba(5, 5, 10, 0.98);
  }

  .mobile-menu > a,
  .mobile-socials a {
    display: flex;
    min-height: 58px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    font-weight: 600;
  }

  .mobile-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
  }

  .mobile-socials a {
    min-height: 44px;
    border: 0;
    color: var(--cyan);
    font-size: 13px;
  }

  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-layout,
  .coordinates-layout {
    grid-template-columns: 1fr;
  }

  .mission-layout {
    gap: 70px;
  }

  .orbit-stage {
    width: min(100%, 500px);
  }

  .cargo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cargo-item:last-child {
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .coordinates-layout {
    gap: 56px;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 66px;
  }

  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  .shell {
    width: min(100% - 32px, 620px);
  }

  .site-header .shell {
    width: min(100% - 24px, 620px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    max-width: 148px;
    font-size: 9px;
  }

  .desktop-only {
    display: none;
  }

  .hero {
    min-height: max(730px, 91svh);
  }

  .hero-media img {
    object-position: center top;
    transform: scale(1.015) translate3d(0, var(--hero-y, 0), 0);
  }

  .hero::after {
    background: rgba(5, 5, 10, 0.08);
  }

  .hero-grid {
    opacity: 0.06;
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent 26%, black 58%, black);
  }

  .hero-inner {
    min-height: max(730px, 91svh);
    align-items: flex-end;
    padding-top: calc(var(--header-height) + 260px);
    padding-bottom: 30px;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 11px;
    font-size: 10px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 49px;
    line-height: 1.04;
    white-space: nowrap;
  }

  .hero-lede {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 46px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .contract-bar {
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
  }

  .contract-full {
    display: none;
  }

  .contract-short {
    display: inline;
  }

  .contract-bar code {
    flex: 1;
    font-size: 11px;
  }

  .copy-button {
    min-width: 68px;
  }

  .scroll-cue {
    display: none;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .proof-item {
    min-height: 88px;
    flex-direction: column;
    gap: 5px;
    padding: 14px 12px;
    text-align: center;
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item strong {
    font-size: 29px;
  }

  .proof-dev {
    grid-column: 1 / -1;
    min-height: 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-right: 0;
  }

  .proof-dev strong {
    font-size: 18px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    display: grid;
    gap: 18px;
    margin-bottom: 34px;
  }

  .section h2,
  .join-section h2 {
    font-size: 38px;
    line-height: 1.06;
  }

  .section-intro,
  .section-side-copy {
    font-size: 16px;
  }

  .telemetry-status-wrap {
    justify-content: space-between;
  }

  .telemetry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric {
    min-height: 148px;
    padding: 18px 16px;
  }

  .metric strong {
    font-size: 24px;
  }

  .metric [data-stat="price"] {
    font-size: 20px;
  }

  .metric > span,
  .coordinate-row > span {
    font-size: 10px;
  }

  .mission-layout {
    gap: 66px;
  }

  .allocation-list {
    margin-top: 34px;
  }

  .allocation {
    grid-template-columns: 82px 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .allocation-number {
    font-size: 35px;
  }

  .allocation h3 {
    font-size: 17px;
  }

  .allocation p {
    font-size: 14px;
  }

  .orbit-stage {
    width: min(100%, 360px);
  }

  .orbit-ring::after {
    inset: -22px;
  }

  .orbiting-gift {
    inset: -28px;
  }

  .orbit-key-gift {
    top: 1%;
    right: 0;
  }

  .orbit-key-lp {
    bottom: 2%;
    left: 0;
  }

  .cargo-grid {
    grid-template-columns: 1fr;
  }

  .cargo-item,
  .cargo-item:last-child {
    grid-column: auto;
    min-height: 280px;
    padding: 26px;
  }

  .cargo-icon {
    margin-bottom: 42px;
  }

  .cargo-item h3 {
    font-size: 25px;
  }

  .coordinates-layout {
    gap: 46px;
  }

  .coordinates-copy > p:not(.section-kicker) {
    font-size: 16px;
  }

  .coordinate-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .coordinate-actions .button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 13px;
  }

  .coordinate-row {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 12px;
    min-height: 66px;
    padding: 16px;
    font-size: 13px;
  }

  .coordinate-contract {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .coordinate-contract code {
    font-size: 11px;
  }

  .copy-button-wide {
    width: 100%;
  }

  .launch-note {
    padding: 16px;
  }

  .join-section {
    min-height: 720px;
    align-items: flex-end;
  }

  .join-media img {
    object-position: center top;
  }

  .join-section::after {
    background: rgba(5, 5, 10, 0.12);
  }

  .join-inner {
    padding-bottom: 54px;
  }

  .join-inner > p:not(.section-kicker) {
    font-size: 16px;
  }

  .join-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .join-actions .button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 13px;
  }

  .footer-main {
    display: grid;
    gap: 28px;
    padding: 38px 0;
  }

  .site-footer .brand-copy small {
    max-width: none;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 20px;
  }

  .footer-bottom {
    display: grid;
    gap: 14px;
    padding: 22px 0;
  }

  .mobile-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 150;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(62px + env(safe-area-inset-bottom));
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    gap: 7px;
    border-top: 1px solid var(--line-strong);
    background: rgba(5, 5, 10, 0.96);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-dock.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-dock a {
    display: flex;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--space-raised);
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-dock a:first-child {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--space);
  }

  .mobile-dock svg {
    width: 17px;
    height: 17px;
  }

  .toast {
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    left: 12px;
    max-width: none;
    text-align: center;
  }

  .icon-button[data-tooltip]::after,
  .copy-button[data-tooltip]::after {
    display: none;
  }
}

@media (max-width: 370px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero-actions .button,
  .coordinate-actions .button,
  .join-actions .button {
    font-size: 12px;
  }

  .section h2,
  .join-section h2 {
    font-size: 34px;
  }

  .metric strong {
    font-size: 21px;
  }

  .metric [data-stat="price"] {
    font-size: 19px;
  }

  .orbit-key {
    font-size: 10px;
  }
}

@media (max-width: 340px) {
  .hero h1 {
    font-size: 41px;
  }

  .metric [data-stat="price"] {
    font-size: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media img {
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Cosmic motion and Gift Goat Space Bridge */
.space-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.section-fx {
  z-index: 0;
  opacity: 0.7;
}

.telemetry-section,
.mission-section,
.cargo-section {
  overflow: hidden;
  isolation: isolate;
}

.telemetry-section > .shell,
.mission-section > .shell,
.cargo-section > .shell {
  position: relative;
  z-index: 1;
}

.telemetry-fx {
  opacity: 0.43;
}

.mission-fx {
  opacity: 0.6;
}

.cargo-fx {
  opacity: 0.48;
}

.cosmic-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  color: var(--paper);
  animation: star-twinkle 2.8s ease-in-out infinite;
}

.cosmic-spark::before,
.cosmic-spark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.cosmic-spark::before {
  width: 23px;
  height: 1px;
}

.cosmic-spark::after {
  width: 1px;
  height: 23px;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.18; transform: scale(0.55) rotate(0); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

.hero-sparks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.spark-one { top: 15%; left: 43%; color: var(--cyan); }
.spark-two { top: 28%; right: 6%; color: var(--gold); animation-delay: -1.1s; }
.spark-three { bottom: 23%; left: 48%; color: var(--lavender); animation-delay: -2s; }
.spark-four { top: 12%; right: 27%; color: var(--paper); animation-delay: -0.6s; }
.spark-five { right: 8%; bottom: 12%; color: var(--gold); animation-delay: -1.6s; }

.cosmic-flyby {
  position: relative;
  height: clamp(240px, 21vw, 340px);
  overflow: hidden;
  border-top: 1px solid rgba(133, 230, 255, 0.18);
  border-bottom: 1px solid rgba(255, 181, 71, 0.18);
  background-color: #05050a;
  background-image:
    radial-gradient(circle at 8% 22%, #f7f5ff 0 1px, transparent 1.7px),
    radial-gradient(circle at 31% 68%, #85e6ff 0 1px, transparent 1.8px),
    radial-gradient(circle at 57% 18%, #ffcf7f 0 1px, transparent 1.7px),
    radial-gradient(circle at 82% 73%, #ddd7fe 0 1.2px, transparent 2px);
  background-size: 137px 113px, 181px 151px, 223px 179px, 269px 211px;
  isolation: isolate;
  animation: deep-star-drift 75s linear infinite;
}

.flyby-fx {
  z-index: 0;
  opacity: 0.78;
}

.nebula-ribbon {
  position: absolute;
  z-index: 0;
  width: 88%;
  height: 64%;
  opacity: 0.3;
  background: linear-gradient(105deg, transparent, #6e54ff 29%, #f05a73 50%, #85e6ff 72%, transparent);
  clip-path: polygon(0 42%, 20% 18%, 46% 38%, 69% 12%, 100% 41%, 76% 70%, 42% 57%, 12% 82%);
  filter: blur(22px);
  pointer-events: none;
  animation: nebula-drift 24s ease-in-out infinite alternate;
}

.nebula-ribbon-one {
  top: 4%;
  left: 6%;
}

.nebula-ribbon-two {
  right: -12%;
  bottom: -12%;
  transform: rotate(180deg);
  animation-name: nebula-drift-reverse;
  animation-delay: -12s;
}

.flyby-sun {
  position: absolute;
  top: 50%;
  left: clamp(-158px, -8vw, -72px);
  z-index: 2;
  width: clamp(210px, 21vw, 350px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 244, 216, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 35%, rgba(255, 255, 255, 0.92) 0 3%, transparent 4%),
    radial-gradient(circle at 62% 40%, #fff5c7 0 8%, #ffcf63 28%, #ff8b38 62%, #c93655 100%);
  box-shadow: 0 0 34px #ffb547, 0 0 105px rgba(240, 90, 115, 0.52);
  transform: translateY(-50%);
  animation: sun-breathe 7s ease-in-out infinite;
}

.flyby-sun::before,
.flyby-sun::after,
.flyby-sun > i {
  position: absolute;
  inset: -12%;
  border: 1px solid rgba(255, 207, 127, 0.3);
  border-radius: 50%;
  content: "";
}

.flyby-sun::after {
  inset: -24%;
  border-style: dashed;
  border-color: rgba(240, 90, 115, 0.2);
  animation: solar-rotation 38s linear infinite;
}

.flyby-sun > i:nth-child(1) {
  inset: 18% 12% 54% 58%;
  border: 0;
  background: rgba(159, 54, 63, 0.32);
}

.flyby-sun > i:nth-child(2) {
  inset: 58% 55% 20% 24%;
  border: 0;
  background: rgba(255, 238, 177, 0.34);
}

.flyby-sun > i:nth-child(3) {
  inset: -36%;
  border-style: dotted;
  border-color: rgba(255, 181, 71, 0.18);
  animation: solar-rotation 62s linear infinite reverse;
}

.flyby-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(221, 215, 254, 0.24);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-9deg);
}

.flyby-orbit::after {
  position: absolute;
  top: -4px;
  left: 62%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
  content: "";
}

.flyby-orbit-one {
  inset: 15% 10% 12% 13%;
}

.flyby-orbit-two {
  inset: 28% 22% 23% 27%;
  border-style: dashed;
  animation: solar-rotation 48s linear infinite;
}

.flyby-planet {
  position: absolute;
  z-index: 3;
  aspect-ratio: 1;
  border: 1px solid rgba(221, 215, 254, 0.42);
  border-radius: 50%;
  pointer-events: none;
  animation: planet-float 7s ease-in-out infinite;
}

.flyby-planet-ringed {
  top: 24%;
  right: 17%;
  width: clamp(84px, 8vw, 126px);
  background:
    linear-gradient(172deg, transparent 0 28%, rgba(255, 207, 127, 0.42) 29% 35%, transparent 36% 49%, rgba(133, 230, 255, 0.28) 50% 57%, transparent 58%),
    radial-gradient(circle at 34% 30%, #f4c7ff, #8b66e8 38%, #30204f 78%);
  box-shadow: inset -16px -11px 24px rgba(5, 5, 10, 0.58), 0 0 36px rgba(133, 230, 255, 0.26);
}

.flyby-planet-ringed::before,
.flyby-planet-ringed::after {
  position: absolute;
  top: 42%;
  left: -34%;
  width: 168%;
  height: 28%;
  border: 3px solid rgba(255, 207, 127, 0.82);
  border-radius: 50%;
  content: "";
  transform: rotate(-13deg);
}

.flyby-planet-ringed::before {
  z-index: -1;
  border-color: rgba(133, 230, 255, 0.42);
  transform: rotate(-13deg) scale(1.08);
}

.flyby-planet-ringed > i,
.flyby-planet-ringed > b,
.flyby-planet-small > i {
  position: absolute;
  border-radius: 50%;
  background: rgba(25, 16, 48, 0.4);
}

.flyby-planet-ringed > i {
  top: 21%;
  left: 24%;
  width: 13%;
  height: 13%;
}

.flyby-planet-ringed > b {
  right: 20%;
  bottom: 23%;
  width: 18%;
  height: 11%;
}

.flyby-planet-small {
  right: 43%;
  bottom: 17%;
  width: clamp(34px, 3.2vw, 50px);
  background: radial-gradient(circle at 35% 28%, #baf1ff, #4b76b8 50%, #192039);
  box-shadow: inset -8px -6px 12px rgba(5, 5, 10, 0.54), 0 0 22px rgba(133, 230, 255, 0.24);
  animation-delay: -3s;
}

.flyby-planet-small > i {
  top: 22%;
  left: 24%;
  width: 22%;
  height: 18%;
}

.asteroid-stream {
  position: absolute;
  right: 3%;
  bottom: 9%;
  z-index: 3;
  width: 55%;
  height: 28%;
  pointer-events: none;
  transform: rotate(-8deg);
  animation: asteroid-drift 17s ease-in-out infinite alternate;
}

.asteroid-stream i,
.mission-asteroids span {
  position: absolute;
  width: 12px;
  aspect-ratio: 1;
  border: 1px solid rgba(221, 215, 254, 0.22);
  border-radius: 52% 38% 58% 42%;
  background:
    radial-gradient(circle at 32% 31%, rgba(30, 26, 37, 0.72) 0 12%, transparent 14%),
    #756b83;
  box-shadow: inset -3px -2px 4px #302938, 0 0 8px rgba(133, 230, 255, 0.14);
}

.asteroid-stream i:nth-child(1) { top: 72%; left: 2%; }
.asteroid-stream i:nth-child(2) { top: 38%; left: 15%; width: 20px; }
.asteroid-stream i:nth-child(3) { top: 67%; left: 29%; width: 8px; }
.asteroid-stream i:nth-child(4) { top: 26%; left: 43%; width: 15px; }
.asteroid-stream i:nth-child(5) { top: 59%; left: 57%; width: 10px; }
.asteroid-stream i:nth-child(6) { top: 20%; left: 70%; width: 22px; }
.asteroid-stream i:nth-child(7) { top: 54%; left: 84%; width: 9px; }
.asteroid-stream i:nth-child(8) { top: 11%; left: 96%; width: 14px; }
.asteroid-stream i:nth-child(9) { top: 78%; left: 76%; width: 6px; }
.asteroid-stream i:nth-child(10) { top: 6%; left: 52%; width: 7px; }

.space-satellite {
  position: absolute;
  top: 13%;
  left: 55%;
  z-index: 4;
  width: 112px;
  height: 38px;
  pointer-events: none;
  transform: rotate(-8deg);
  animation: satellite-float 10s ease-in-out infinite;
}

.satellite-panel,
.satellite-body,
.satellite-antenna {
  position: absolute;
}

.satellite-panel {
  top: 8px;
  width: 38px;
  height: 24px;
  border: 1px solid rgba(133, 230, 255, 0.72);
  background:
    linear-gradient(rgba(133, 230, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 230, 255, 0.24) 1px, transparent 1px),
    #21164f;
  background-size: 8px 8px;
  box-shadow: 0 0 14px rgba(110, 84, 255, 0.42);
}

.satellite-panel-left { left: 0; }
.satellite-panel-right { right: 0; }

.satellite-body {
  top: 5px;
  left: 42px;
  z-index: 2;
  width: 28px;
  height: 30px;
  border: 1px solid rgba(255, 244, 216, 0.7);
  border-radius: 5px;
  background: linear-gradient(145deg, #fff0bd, #ffb547 55%, #d76548);
  box-shadow: 0 0 18px rgba(255, 181, 71, 0.4);
}

.satellite-body > i {
  position: absolute;
  top: 9px;
  left: 8px;
  width: 10px;
  height: 10px;
  border: 2px solid #34245f;
  border-radius: 50%;
  background: var(--cyan);
}

.satellite-antenna {
  top: -9px;
  left: 54px;
  width: 17px;
  height: 17px;
  border-top: 1px solid var(--paper);
  border-right: 1px solid var(--paper);
  border-radius: 0 100% 0 0;
  transform: rotate(-35deg);
}

.satellite-antenna::after {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cherry);
  box-shadow: 0 0 12px var(--cherry);
  content: "";
  animation: satellite-signal 1.8s ease-in-out infinite;
}

.cosmic-rocket {
  position: absolute;
  top: 64%;
  left: 0;
  z-index: 7;
  width: 132px;
  height: 72px;
  pointer-events: none;
  animation: rocket-crossing 13s cubic-bezier(0.3, 0, 0.7, 1) infinite;
}

.rocket-ship {
  position: absolute;
  top: 50%;
  right: 0;
  width: 112px;
  height: 54px;
  filter: drop-shadow(0 0 11px rgba(133, 230, 255, 0.74));
  transform: translateY(-50%) rotate(-8deg);
  transform-origin: center;
  animation: rocket-bob 1.35s ease-in-out infinite;
}

.rocket-hull {
  position: absolute;
  top: 12px;
  left: 28px;
  z-index: 3;
  width: 61px;
  height: 31px;
  border: 1px solid rgba(255, 244, 216, 0.72);
  border-radius: 48% 24% 24% 48%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(100deg, #432987, #7e58df 58%, #df6c85);
  box-shadow: inset 0 -8px 12px rgba(28, 16, 64, 0.58);
}

.rocket-nose {
  position: absolute;
  top: 13px;
  right: 0;
  z-index: 2;
  width: 32px;
  height: 29px;
  background: linear-gradient(135deg, #fff2bf, #ffb547 58%, #f05a73);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%);
  filter: drop-shadow(4px 0 7px rgba(255, 181, 71, 0.45));
}

.rocket-window {
  position: absolute;
  top: 4px;
  left: 27px;
  z-index: 2;
  width: 23px;
  height: 23px;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #080510;
  box-shadow: 0 0 10px rgba(133, 230, 255, 0.5);
}

.rocket-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
}

.rocket-rivet {
  position: absolute;
  top: 14px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.rocket-rivet-one { left: 9px; }
.rocket-rivet-two { right: 5px; }

.rocket-fin {
  position: absolute;
  left: 36px;
  z-index: 1;
  width: 31px;
  height: 18px;
  background: linear-gradient(135deg, var(--cyan), #5f45d4 68%);
  filter: drop-shadow(0 0 5px rgba(133, 230, 255, 0.42));
}

.rocket-fin-top {
  top: 2px;
  clip-path: polygon(0 100%, 62% 0, 100% 100%);
}

.rocket-fin-bottom {
  bottom: 2px;
  clip-path: polygon(0 0, 100% 0, 62% 100%);
}

.rocket-engine {
  position: absolute;
  top: 17px;
  left: 14px;
  z-index: 2;
  width: 17px;
  height: 21px;
  border: 1px solid rgba(221, 215, 254, 0.55);
  border-radius: 5px 1px 1px 5px;
  background: linear-gradient(90deg, #191224, #756b83);
}

.rocket-flame {
  position: absolute;
  top: 19px;
  left: -13px;
  z-index: 1;
  width: 31px;
  height: 17px;
  border-radius: 50% 0 0 50%;
  background: linear-gradient(90deg, rgba(240, 90, 115, 0), #f05a73 38%, #ffcf7f 78%);
  clip-path: polygon(0 50%, 100% 0, 82% 50%, 100% 100%);
  animation: rocket-flame 180ms ease-in-out infinite alternate;
}

.rocket-flame > i,
.rocket-flame > b {
  position: absolute;
  top: 5px;
  right: 2px;
  width: 23px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.rocket-flame > i {
  box-shadow: -11px 0 12px var(--cherry), -24px 0 20px rgba(110, 84, 255, 0.82);
}

.rocket-flame > b {
  top: 7px;
  right: 4px;
  width: 15px;
  height: 3px;
  background: var(--paper);
}

.rocket-trail {
  position: absolute;
  top: calc(50% - 2px);
  right: 101px;
  z-index: 0;
  width: 205px;
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(110, 84, 255, 0.36), var(--cyan), var(--gold));
  filter: drop-shadow(0 0 7px rgba(133, 230, 255, 0.62));
  transform: rotate(-8deg);
  transform-origin: right center;
}

.rocket-trail::before,
.rocket-trail::after {
  position: absolute;
  right: 0;
  width: 78%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--cyan));
  content: "";
}

.rocket-trail::before { top: -8px; transform: rotate(3deg); }
.rocket-trail::after { bottom: -8px; transform: rotate(-3deg); }

.rocket-spark {
  position: absolute;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 9px var(--gold);
  animation: rocket-spark 720ms ease-out infinite;
}

.rocket-spark-one { top: 23px; left: 3px; }
.rocket-spark-two { top: 41px; left: -15px; animation-delay: -240ms; }
.rocket-spark-three { top: 31px; left: -37px; animation-delay: -480ms; }

.flyby-spark-one { top: 15%; left: 29%; color: var(--cyan); }
.flyby-spark-two { top: 25%; right: 34%; color: var(--gold); animation-delay: -1.4s; }
.flyby-spark-three { right: 7%; bottom: 22%; color: var(--lavender); animation-delay: -2.1s; }
.flyby-spark-four { bottom: 17%; left: 41%; color: var(--paper); animation-delay: -0.8s; }

.mission-asteroids {
  position: absolute;
  inset: 3%;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: asteroid-orbit 52s linear infinite;
}

.mission-asteroids span:nth-child(1) { top: 3%; left: 47%; width: 10px; }
.mission-asteroids span:nth-child(2) { top: 18%; right: 10%; width: 15px; }
.mission-asteroids span:nth-child(3) { top: 49%; right: 1%; width: 8px; }
.mission-asteroids span:nth-child(4) { right: 15%; bottom: 12%; width: 18px; }
.mission-asteroids span:nth-child(5) { bottom: 2%; left: 44%; width: 9px; }
.mission-asteroids span:nth-child(6) { bottom: 16%; left: 10%; width: 14px; }
.mission-asteroids span:nth-child(7) { top: 46%; left: 1%; width: 7px; }
.mission-asteroids span:nth-child(8) { top: 14%; left: 16%; width: 12px; }

.coordinates-section {
  overflow: hidden;
  isolation: isolate;
}

.coordinates-section::before {
  position: absolute;
  top: 50%;
  right: -160px;
  z-index: 0;
  width: 430px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    transparent 0 66px,
    rgba(89, 65, 216, 0.11) 67px 68px
  );
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.coordinates-layout {
  position: relative;
  z-index: 1;
}

@keyframes deep-star-drift {
  to { background-position: 137px 113px, -181px 151px, 223px -179px, -269px -211px; }
}

@keyframes nebula-drift {
  to { transform: translate3d(7%, -4%, 0) scale(1.08); }
}

@keyframes nebula-drift-reverse {
  from { transform: rotate(180deg); }
  to { transform: rotate(180deg) translate3d(-7%, 4%, 0) scale(1.08); }
}

@keyframes sun-breathe {
  0%, 100% { transform: translateY(-50%) scale(0.98); }
  50% { transform: translateY(-50%) scale(1.03); }
}

@keyframes solar-rotation {
  to { transform: rotate(360deg); }
}

@keyframes planet-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-9px) rotate(3deg); }
}

@keyframes asteroid-drift {
  to { transform: translate3d(5%, -3%, 0) rotate(-5deg); }
}

@keyframes asteroid-orbit {
  to { transform: rotate(360deg); }
}

@keyframes satellite-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
  35% { transform: translate3d(18px, 8px, 0) rotate(-3deg); }
  68% { transform: translate3d(-9px, 14px, 0) rotate(-12deg); }
}

@keyframes satellite-signal {
  0%, 100% { opacity: 0.3; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes rocket-crossing {
  0%, 5% { opacity: 0; transform: translate3d(-250px, 55px, 0) scale(0.72); }
  12% { opacity: 1; transform: translate3d(-90px, 42px, 0) scale(0.82); }
  34% { transform: translate3d(28vw, 0, 0) scale(1); }
  56% { transform: translate3d(57vw, -28px, 0) scale(1.06); }
  81% { opacity: 1; transform: translate3d(calc(100vw - 170px), -58px, 0) scale(0.94); }
  93% { opacity: 1; transform: translate3d(calc(100vw - 24px), -92px, 0) scale(0.84); }
  97%, 100% { opacity: 0; transform: translate3d(calc(100vw + 160px), -116px, 0) scale(0.72); }
}

@keyframes rocket-bob {
  0%, 100% { transform: translateY(-50%) rotate(-8deg); }
  50% { transform: translateY(calc(-50% - 3px)) rotate(-5deg); }
}

@keyframes rocket-flame {
  to { opacity: 0.6; transform: scaleX(0.72); }
}

@keyframes rocket-spark {
  0% { opacity: 0; transform: translate3d(12px, 0, 0) scale(0.4); }
  28% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(-46px, 9px, 0) scale(1.15); }
}

.hero-fx {
  z-index: 0;
  opacity: 0.88;
  transform: translate3d(calc(var(--hero-x, 0px) * -0.6), calc(var(--hero-y, 0px) * -0.6), 0);
}

.hero-grid {
  z-index: 1;
}

.hero-inner,
.scroll-cue {
  position: relative;
  z-index: 2;
}

.hero-copy {
  transform: translate3d(calc(var(--hero-x, 0px) * -0.18), calc(var(--hero-y, 0px) * -0.18), 0);
}

.site-header .brand {
  position: relative;
}

.site-header .brand::after {
  position: absolute;
  top: -3px;
  left: 35px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
  content: "";
  opacity: 0;
  animation: brand-spark 1.4s ease 0.7s 1;
}

@keyframes brand-spark {
  0%, 100% { opacity: 0; transform: scale(0.3); }
  38% { opacity: 1; transform: scale(1.35); }
  65% { opacity: 0.55; transform: scale(0.7); }
}

.button {
  position: relative;
  overflow: hidden;
}

.button::after {
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 34%;
  background: rgba(255, 255, 255, 0.34);
  content: "";
  pointer-events: none;
  transform: skewX(-18deg);
  transition: left 420ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  left: 125%;
}

.metric strong.is-updating {
  animation: metric-signal 320ms ease;
}

@keyframes metric-signal {
  0% { opacity: 0.45; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.copy-burst {
  position: fixed;
  z-index: 500;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.copy-burst i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: copy-spark 680ms ease-out forwards;
}

.copy-burst i:nth-child(even) {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

@keyframes copy-spark {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) rotate(90deg) scale(1); }
}

.connections-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(133, 230, 255, 0.18);
  border-bottom: 1px solid rgba(255, 181, 71, 0.18);
  background-color: #090611;
  isolation: isolate;
}

.connections-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(133, 230, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 230, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  content: "";
  pointer-events: none;
}

.connections-fx {
  z-index: 0;
  opacity: 0.82;
}

.connections-section > .shell {
  position: relative;
  z-index: 1;
}

.connections-heading {
  align-items: end;
}

.connections-heading h2 {
  max-width: 760px;
}

.connections-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(600px, 1.22fr);
  align-items: start;
  gap: 54px;
}

.connection-portal {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  min-width: 0;
}

.portal-status {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.portal-stage {
  --capsule-radius: 173px;
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin: 12px auto 0;
  contain: layout paint;
}

.portal-wormhole {
  position: absolute;
  inset: 15%;
  z-index: 0;
  overflow: hidden;
  border: 1px solid rgba(133, 230, 255, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 5, 10, 0.96) 0 21%, rgba(43, 27, 92, 0.72) 32%, rgba(5, 5, 10, 0) 68%);
  box-shadow:
    inset 0 0 42px rgba(110, 84, 255, 0.42),
    0 0 42px rgba(133, 230, 255, 0.15),
    0 0 90px rgba(110, 84, 255, 0.18);
  animation: wormhole-breathe 5.5s ease-in-out infinite;
}

.portal-wormhole::before,
.portal-wormhole::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.portal-wormhole::before {
  inset: 4%;
  border: 1px solid rgba(255, 207, 127, 0.38);
  box-shadow: inset 0 0 28px rgba(240, 90, 115, 0.26), 0 0 22px rgba(255, 181, 71, 0.18);
}

.portal-wormhole::after {
  inset: 28%;
  background: #020105;
  box-shadow: 0 0 28px rgba(5, 5, 10, 0.95), 0 0 52px rgba(110, 84, 255, 0.62);
}

.wormhole-swirl {
  position: absolute;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(133, 230, 255, 0.05) 0 9deg,
    rgba(133, 230, 255, 0.8) 10deg 13deg,
    rgba(110, 84, 255, 0.14) 14deg 28deg,
    rgba(240, 90, 115, 0.65) 29deg 32deg,
    rgba(255, 181, 71, 0.08) 33deg 47deg,
    rgba(255, 207, 127, 0.72) 48deg 51deg
  );
  -webkit-mask: radial-gradient(circle, transparent 0 24%, #000 31% 71%, transparent 78%);
  mask: radial-gradient(circle, transparent 0 24%, #000 31% 71%, transparent 78%);
  animation: wormhole-spin 13s linear infinite;
}

.wormhole-swirl-one {
  inset: -8%;
}

.wormhole-swirl-two {
  inset: 8%;
  opacity: 0.72;
  animation-duration: 8s;
  animation-direction: reverse;
}

.wormhole-horizon {
  position: absolute;
  inset: 32%;
  z-index: 2;
  border: 1px solid rgba(133, 230, 255, 0.58);
  border-radius: 50%;
  background: #010104;
  box-shadow:
    0 0 15px var(--cyan),
    0 0 34px rgba(110, 84, 255, 0.86),
    0 0 60px rgba(240, 90, 115, 0.34);
  animation: wormhole-horizon 2.8s ease-in-out infinite;
}

.portal-energy-particles {
  position: absolute;
  inset: 7%;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
  animation: portal-energy-orbit 24s linear infinite;
}

.portal-energy-particles i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px currentColor, 0 0 24px currentColor;
  color: var(--cyan);
  animation: portal-energy-pulse 1.9s ease-in-out infinite;
}

.portal-energy-particles i:nth-child(1) { top: 1%; left: 48%; }
.portal-energy-particles i:nth-child(2) { top: 16%; right: 13%; color: var(--gold); background: var(--gold); animation-delay: -0.4s; }
.portal-energy-particles i:nth-child(3) { top: 48%; right: 1%; animation-delay: -0.8s; }
.portal-energy-particles i:nth-child(4) { right: 14%; bottom: 14%; color: var(--cherry); background: var(--cherry); animation-delay: -1.2s; }
.portal-energy-particles i:nth-child(5) { bottom: 1%; left: 48%; color: var(--gold); background: var(--gold); animation-delay: -1.6s; }
.portal-energy-particles i:nth-child(6) { bottom: 14%; left: 14%; animation-delay: -0.2s; }
.portal-energy-particles i:nth-child(7) { top: 48%; left: 1%; color: var(--cherry); background: var(--cherry); animation-delay: -0.6s; }
.portal-energy-particles i:nth-child(8) { top: 15%; left: 14%; color: var(--gold); background: var(--gold); animation-delay: -1s; }

.connections-layout:has(.connection-console[data-connection-state="loading"]) .wormhole-swirl,
.connections-layout:has(.connection-console[data-connection-state="pending"]) .wormhole-swirl {
  animation-duration: 3.8s;
}

.connections-layout:has(.connection-console[data-connection-state="loading"]) .portal-wormhole,
.connections-layout:has(.connection-console[data-connection-state="pending"]) .portal-wormhole {
  animation-duration: 2.2s;
}

.portal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  border: 1px solid rgba(133, 230, 255, 0.31);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.portal-ring::before,
.portal-ring::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px currentColor;
  color: var(--cyan);
  content: "";
}

.portal-ring::before {
  top: -4px;
  left: 50%;
}

.portal-ring::after {
  right: 9%;
  bottom: 18%;
  background: var(--gold);
  color: var(--gold);
}

.portal-ring-outer {
  width: 92%;
  height: 92%;
  border-style: dashed;
  animation: portal-spin 42s linear infinite;
}

.portal-ring-middle {
  width: 70%;
  height: 70%;
  border-color: rgba(255, 181, 71, 0.38);
  animation: portal-spin-reverse 28s linear infinite;
}

.portal-ring-inner {
  width: 48%;
  height: 48%;
  border-style: dotted;
  border-color: rgba(110, 84, 255, 0.68);
  animation: portal-spin 20s linear infinite;
}

@keyframes portal-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes portal-spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

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

@keyframes wormhole-breathe {
  0%, 100% { opacity: 0.76; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.035); }
}

@keyframes wormhole-horizon {
  0%, 100% { opacity: 0.7; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes portal-energy-orbit {
  to { transform: rotate(360deg); }
}

@keyframes portal-energy-pulse {
  0%, 100% { opacity: 0.28; transform: scale(0.62); }
  50% { opacity: 1; transform: scale(1.25); }
}

.portal-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(247, 245, 255, 0.24);
  border-radius: 50%;
  background: #100b1d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  animation: portal-node-float 5s ease-in-out infinite;
}

.portal-node img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.portal-node-one { top: 3%; left: 46%; animation-delay: -1s; }
.portal-node-two { top: 23%; right: 3%; animation-delay: -2.4s; }
.portal-node-three { right: 12%; bottom: 12%; animation-delay: -0.5s; }
.portal-node-four { bottom: 2%; left: 36%; animation-delay: -3.1s; }
.portal-node-five { bottom: 20%; left: 4%; animation-delay: -1.8s; }
.portal-node-six { top: 20%; left: 7%; animation-delay: -3.8s; }

@keyframes portal-node-float {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(4px); }
}

.portal-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border: 1px solid rgba(255, 181, 71, 0.62);
  border-radius: 50%;
  background: #0e091c;
  box-shadow: 0 0 54px rgba(110, 84, 255, 0.48), 0 0 24px rgba(255, 181, 71, 0.22);
  transform: translate(-50%, -50%);
  animation: portal-core-float 6s ease-in-out infinite;
}

.portal-core-glow {
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(133, 230, 255, 0.42);
  border-radius: 50%;
  animation: ring-spin-reverse 18s linear infinite;
}

.portal-core img {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes portal-core-float {
  0%, 100% { transform: translate(-50%, calc(-50% - 3px)); }
  50% { transform: translate(-50%, calc(-50% + 4px)); }
}

.route-capsule {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--space-raised);
  box-shadow: 0 0 22px rgba(255, 181, 71, 0.7);
  animation: capsule-orbit 8s linear infinite;
}

.route-capsule img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@keyframes capsule-orbit {
  from { transform: rotate(0) translateX(var(--capsule-radius)) rotate(0); }
  to { transform: rotate(360deg) translateX(var(--capsule-radius)) rotate(-360deg); }
}

.connection-console[data-connection-state="loading"] .route-capsule,
.connection-console[data-connection-state="pending"] .route-capsule {
  animation-duration: 3.6s;
}

.portal-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 18px;
  max-width: 440px;
  margin: 10px auto 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portal-copy span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.portal-copy strong {
  grid-row: 2;
  font-size: 18px;
}

.portal-copy code {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--cyan);
  font-size: 11px;
}

.connection-console {
  overflow: hidden;
  border: 1px solid rgba(247, 245, 255, 0.24);
  border-radius: 6px;
  background: rgba(14, 9, 28, 0.94);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.connection-console.is-paused {
  border-color: rgba(240, 90, 115, 0.42);
}

.connection-target {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 96px;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(110, 84, 255, 0.08);
}

.connection-target > img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 181, 71, 0.55);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(255, 181, 71, 0.18);
}

.connection-target > div {
  display: grid;
  min-width: 0;
}

.connection-target > div > span,
.connection-target p,
.fixed-target {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.connection-target strong {
  overflow: hidden;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connection-target strong small {
  color: var(--gold);
  font-size: 12px;
}

.connection-target p {
  margin: 1px 0 0;
  color: var(--cyan);
}

.fixed-target {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(133, 230, 255, 0.28);
  border-radius: 4px;
  color: var(--cyan);
}

.fixed-target svg {
  width: 13px;
  height: 13px;
}

.connection-form,
.connection-order {
  padding: 26px 28px 30px;
}

.source-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.source-fieldset legend,
.destination-field label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.source-fieldset legend span,
.destination-field label span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 181, 71, 0.54);
  border-radius: 50%;
  color: var(--gold);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-height: 312px;
  align-content: start;
}

.source-loading {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}

.source-option {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  min-width: 0;
  min-height: 72px;
  align-items: center;
  gap: 9px;
  padding: 10px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(5, 5, 10, 0.62);
  color: var(--paper);
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.source-option:hover:not(:disabled) {
  border-color: rgba(133, 230, 255, 0.62);
  transform: translateY(-2px);
}

.source-option.is-selected {
  border-color: var(--gold);
  background: rgba(255, 181, 71, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.2);
}

.source-option:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.source-option > img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.source-option > span {
  display: grid;
  min-width: 0;
}

.source-option strong,
.source-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-option strong {
  font-size: 12px;
}

.source-option small {
  color: var(--muted);
  font-size: 10px;
}

.source-option > svg {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  color: var(--gold);
  opacity: 0;
}

.source-option.is-selected > svg {
  opacity: 1;
}

.destination-field {
  margin-top: 26px;
}

.address-input-wrap {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(5, 5, 10, 0.7);
  transition: border-color 160ms ease;
}

.address-input-wrap:focus-within {
  border-color: var(--cyan);
}

.address-input-wrap > svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.address-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.address-input-wrap:has(input[aria-invalid="true"]) {
  border-color: var(--cherry);
}

.field-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.route-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.route-preview > span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-preview > svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.route-preview > strong {
  min-width: 0;
  color: var(--paper);
  text-align: right;
}

.connection-submit {
  width: 100%;
  margin-top: 20px;
}

.connection-submit:disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: #272132;
  color: #8f899b;
  box-shadow: none;
  transform: none;
}

.connection-form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.connection-form-status.is-good {
  color: var(--cyan);
}

.connection-form-status.is-bad {
  color: #ff9bad;
}

.connection-order[hidden],
.connection-form[hidden] {
  display: none;
}

.order-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.order-heading .section-kicker {
  margin-bottom: 5px;
}

.order-heading h3 {
  font-size: 24px;
}

.order-state {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(133, 230, 255, 0.34);
  border-radius: 4px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.order-state > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  animation: signal 1.6s ease-in-out infinite;
}

.order-state.is-complete {
  border-color: rgba(255, 181, 71, 0.52);
  color: var(--gold);
}

.order-state.is-error {
  border-color: rgba(240, 90, 115, 0.52);
  color: #ff9bad;
}

.deposit-layout {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(5, 5, 10, 0.6);
}

.deposit-qr-wrap {
  display: grid;
  width: 184px;
  height: 184px;
  place-items: center;
  overflow: hidden;
  border: 5px solid var(--paper);
  border-radius: 4px;
  background: var(--paper);
}

.deposit-qr-wrap img {
  width: 174px;
  height: 174px;
  object-fit: contain;
}

.deposit-copy {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.deposit-copy > span {
  color: var(--muted);
  font-size: 12px;
}

.deposit-copy code {
  padding: 12px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 181, 71, 0.06);
  color: var(--paper);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.copy-deposit {
  width: max-content;
  min-width: 190px;
}

.deposit-copy p {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
}

.deposit-warning {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--cherry);
  background: rgba(240, 90, 115, 0.06);
  color: #e1dbe9;
  font-size: 11px;
}

.connection-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.timeline-step {
  display: grid;
  min-width: 0;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  color: #777080;
  font-size: 10px;
}

.timeline-step i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
}

.timeline-step.is-current {
  color: var(--cyan);
}

.timeline-step.is-current i {
  box-shadow: 0 0 14px rgba(133, 230, 255, 0.36);
}

.timeline-step.is-done {
  color: var(--gold);
}

.order-message {
  min-height: 24px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mission-symbol {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(255, 181, 71, 0.52);
  border-radius: 50%;
  color: var(--gold);
  box-shadow: 0 0 28px rgba(255, 181, 71, 0.1);
}

.mission-symbol svg {
  width: 28px;
  height: 28px;
}

.orbit-ring::after {
  animation: ring-spin-reverse 45s linear infinite;
}

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

.orbit-center {
  animation: orbit-center-float 6s ease-in-out infinite;
}

@keyframes orbit-center-float {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(4px); }
}

.cargo-item {
  overflow: hidden;
}

.cargo-item::after {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 14px 17px 0 rgba(133, 230, 255, 0.65), -7px 25px 0 rgba(110, 84, 255, 0.7);
  content: "";
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cargo-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.join-fx {
  z-index: 0;
  opacity: 0.82;
}

.join-inner {
  z-index: 2;
}

.js .reveal {
  opacity: 0.22;
  transform: translateY(18px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1160px) {
  .connections-layout {
    grid-template-columns: minmax(310px, 0.72fr) minmax(540px, 1.28fr);
    gap: 34px;
  }

  .portal-stage {
    --capsule-radius: 150px;
  }

  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 472px;
  }
}

@media (max-width: 960px) {
  .connections-layout {
    grid-template-columns: 1fr;
  }

  .connection-portal {
    position: relative;
    top: auto;
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .connection-console {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .cosmic-flyby {
    height: 210px;
  }

  .nebula-ribbon {
    width: 110%;
    opacity: 0.22;
  }

  .flyby-sun {
    left: -82px;
    width: 178px;
  }

  .flyby-orbit-one {
    inset: 18% 4% 13% 7%;
  }

  .flyby-orbit-two {
    inset: 31% 18% 25% 22%;
  }

  .flyby-planet-ringed {
    top: 25%;
    right: 8%;
    width: 76px;
  }

  .flyby-planet-small,
  .asteroid-stream i:nth-child(n + 7),
  .spark-three,
  .spark-five,
  .flyby-spark-four {
    display: none;
  }

  .asteroid-stream {
    right: 1%;
    bottom: 8%;
    width: 70%;
  }

  .space-satellite {
    top: 10%;
    left: 40%;
    scale: 0.72;
    transform-origin: center;
  }

  .cosmic-rocket {
    width: 132px;
    height: 72px;
    scale: 0.72;
    transform-origin: left center;
  }

  .portal-energy-particles i {
    width: 4px;
    height: 4px;
  }

  .coordinates-section::before {
    right: -260px;
    width: 360px;
  }

  .hero-fx {
    opacity: 0.72;
    transform: none;
  }

  .hero-copy {
    transform: none;
  }

  .connections-section {
    padding-top: 76px;
  }

  .connections-section::before {
    background-size: 54px 54px;
  }

  .connections-heading h2 {
    font-size: 37px;
  }

  .connections-layout {
    gap: 42px;
  }

  .portal-stage {
    --capsule-radius: 116px;
    width: min(100%, 360px);
  }

  .portal-node {
    width: 38px;
    height: 38px;
  }

  .portal-node img {
    width: 22px;
    height: 22px;
  }

  .portal-core {
    width: 118px;
    height: 118px;
  }

  .portal-core img {
    width: 88px;
    height: 88px;
  }

  .portal-copy {
    grid-template-columns: 1fr;
  }

  .portal-copy code {
    grid-column: 1;
    grid-row: 3;
    margin-top: 5px;
  }

  .connection-target {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 15px;
  }

  .connection-target > img {
    width: 50px;
    height: 50px;
  }

  .connection-target strong {
    font-size: 17px;
  }

  .fixed-target {
    padding: 7px;
  }

  .fixed-target svg {
    display: none;
  }

  .connection-form,
  .connection-order {
    padding: 22px 16px 24px;
  }

  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    min-height: 443px;
  }

  .source-option {
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 68px;
    gap: 7px;
    padding: 9px 7px;
  }

  .source-option > img {
    width: 28px;
    height: 28px;
  }

  .source-option strong {
    font-size: 11px;
  }

  .address-input-wrap {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .address-input-wrap input {
    font-size: 11px;
  }

  .route-preview {
    grid-template-columns: 1fr 18px 1fr;
    gap: 7px;
    font-size: 10px;
  }

  .order-heading {
    display: grid;
  }

  .order-state {
    width: max-content;
  }

  .deposit-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 17px;
  }

  .deposit-copy {
    width: 100%;
    text-align: center;
  }

  .deposit-copy code {
    text-align: left;
  }

  .copy-deposit {
    width: 100%;
  }

  .connection-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 12px 7px;
  }

  .order-actions {
    display: grid;
  }

  .order-actions .button {
    width: 100%;
  }
}

@media (max-width: 370px) {
  .cosmic-flyby {
    height: 190px;
  }

  .flyby-sun {
    left: -72px;
    width: 152px;
  }

  .flyby-planet-ringed {
    right: 5%;
    width: 68px;
  }

  .space-satellite {
    scale: 0.62;
  }

  .cosmic-rocket {
    scale: 0.64;
  }

  .connections-heading h2 {
    font-size: 34px;
  }

  .source-option strong {
    font-size: 10px;
  }

  .source-option small {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cosmic-flyby,
  .nebula-ribbon,
  .flyby-sun,
  .flyby-sun::after,
  .flyby-sun > i,
  .flyby-orbit,
  .flyby-planet,
  .asteroid-stream,
  .mission-asteroids,
  .cosmic-spark,
  .space-satellite,
  .satellite-antenna::after,
  .portal-wormhole,
  .wormhole-swirl,
  .wormhole-horizon,
  .portal-energy-particles,
  .portal-energy-particles i,
  .rocket-ship,
  .rocket-flame,
  .rocket-spark {
    animation: none !important;
  }

  .cosmic-rocket {
    top: 58%;
    right: 27%;
    left: auto;
    opacity: 0.9;
    animation: none !important;
    transform: translateY(-50%) scale(0.9);
  }

  .cosmic-spark {
    opacity: 0.68;
    transform: none;
  }

  .flyby-sun {
    transform: translateY(-50%);
  }

  .hero-fx,
  .hero-copy {
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
