/* ============================================================
   ZERROW — "Cosmic Sorting Office" landing page (Home B)
   Palette: NASA orange + bone on deep space (unchanged)
   NOTE: this file is also linked by the app shell — the global
   html/body rules below must stay compatible with the inbox.
   All landing-only decoration is scoped under `.landing`.
   ============================================================ */

:root {
  --bg: #0a0e1a;
  --bg-2: #0d1220;
  --panel: #131826;
  --panel-2: #1a1f2e;
  --line: #232a3d;
  --line-bright: #2f3852;
  --muted: #8a92a8;
  --muted-2: #a6adc2;
  --bone: #f5f5f0;
  --bone-dim: #d8d8d0;
  --orange: #ff6b3d;
  --orange-deep: #e3552a;
  --orange-glow: rgba(255, 107, 61, 0.35);
  --amber: #f5b942;
  --green: #4ade80;

  --display: "Space Grotesk", system-ui, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1160px;
  --rad: 6px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--display);
  font-feature-settings: "ss01", "ss02", "tnum";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--orange);
  color: #0a0e1a;
}

/* Deep-space backdrop — subtle radial glow + faint grid + starfield */
body {
  background:
    radial-gradient(ellipse 80% 55% at 50% -8%, rgba(255, 107, 61, 0.1), transparent 70%),
    linear-gradient(180deg, #0a0e1a, #070912 60%, #0a0e1a);
  background-attachment: fixed;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 20%, #000 25%, transparent 80%);
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 78% 9%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 42% 84%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 92% 62%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 26% 71%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1.2px 1.2px at 65% 32%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 6% 52%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1px 1px at 53% 12%, rgba(255, 255, 255, 0.45), transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

main,
.nav,
.statusbar {
  position: relative;
  z-index: 1;
}

/* ====================== KEYFRAMES ====================== */
@keyframes zb-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes zb-spin-rev {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes zb-twinkle {
  0%,
  100% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.3;
  }
}
@keyframes zb-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes zb-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}
@keyframes zb-burp {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.18);
  }
  70% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes zb-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes zb-dash {
  to {
    stroke-dashoffset: -24;
  }
}
@keyframes zb-shootx {
  0%,
  91% {
    opacity: 0;
    transform: translateX(0);
  }
  92% {
    opacity: 1;
  }
  99%,
  100% {
    opacity: 0;
    transform: translateX(135vw);
  }
}
@keyframes zb-flyby {
  0%,
  55% {
    transform: translate(-120px, 32vh) rotate(52deg) scale(0.55);
    opacity: 0;
  }
  57% {
    opacity: 0.75;
  }
  95% {
    opacity: 0.75;
  }
  100% {
    transform: translate(112vw, 4vh) rotate(52deg) scale(0.55);
    opacity: 0;
  }
}

/* ====================== SKY (fixed backdrop) ====================== */
.landing {
  overflow-x: clip;
  position: relative;
}
.landing .sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.sky__base {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #070912, #05070d 55%, #070912);
}
.sky__nebula {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 18% 8%, rgba(255, 107, 61, 0.06), transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 30%, rgba(245, 185, 66, 0.04), transparent 65%),
    radial-gradient(ellipse 80% 60% at 60% 90%, rgba(35, 42, 61, 0.4), transparent 70%),
    radial-gradient(ellipse 45% 35% at 40% 45%, rgba(13, 18, 32, 0.7), transparent 70%);
}
.sky__band {
  position: absolute;
  left: -8%;
  top: -30%;
  width: 70%;
  height: 160%;
  transform: rotate(24deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(166, 173, 194, 0.03) 35%,
    rgba(245, 245, 240, 0.05) 50%,
    rgba(166, 173, 194, 0.03) 65%,
    transparent
  );
  filter: blur(6px);
}
.sky__stars {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 200%;
  background-repeat: repeat;
}
.sky__stars--far {
  background-size: 780px 520px;
  opacity: 0.55;
  animation: zb-drift 340s linear infinite;
  background-image:
    radial-gradient(1px 1px at 60px 90px, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1px 1px at 300px 200px, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(1px 1px at 480px 400px, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(1px 1px at 660px 120px, rgba(255, 255, 255, 0.2), transparent 60%),
    radial-gradient(1px 1px at 160px 340px, rgba(255, 255, 255, 0.25), transparent 60%),
    radial-gradient(1px 1px at 720px 470px, rgba(255, 255, 255, 0.2), transparent 60%);
}
.sky__stars--mid {
  background-size: 640px 400px;
  opacity: 0.75;
  animation: zb-drift 280s linear infinite;
  background-image:
    radial-gradient(1px 1px at 40px 60px, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1.4px 1.4px at 210px 150px, rgba(245, 185, 66, 0.4), transparent 60%),
    radial-gradient(1px 1px at 350px 240px, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1.6px 1.6px at 520px 90px, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 590px 330px, rgba(255, 107, 61, 0.35), transparent 60%);
}
.sky__stars--near {
  background-size: 420px 300px;
  opacity: 0.6;
  animation: zb-drift 220s linear infinite;
  background-image:
    radial-gradient(1px 1px at 30px 40px, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 120px 180px, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1.2px 1.2px at 220px 90px, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1px 1px at 320px 240px, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(1px 1px at 380px 60px, rgba(245, 185, 66, 0.3), transparent 60%),
    radial-gradient(1.4px 1.4px at 70px 260px, rgba(255, 255, 255, 0.42), transparent 60%),
    radial-gradient(1px 1px at 260px 290px, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1px 1px at 170px 20px, rgba(255, 107, 61, 0.28), transparent 60%);
}
/* Named twinkle stars — position/size/delay set inline per star. */
.tw {
  position: absolute;
  border-radius: 50%;
  background: var(--bone);
  box-shadow: 0 0 8px 2px rgba(245, 245, 240, 0.55);
  animation: zb-twinkle 4s ease-in-out infinite;
}
.tw--amber {
  background: var(--amber);
  box-shadow: 0 0 7px 2px rgba(245, 185, 66, 0.55);
}
.tw--orange {
  background: var(--orange);
  box-shadow: 0 0 7px 2px rgba(255, 107, 61, 0.5);
}
/* Shooting star — wrapper positioned/rotated inline; the streak animates. */
.shoot {
  position: absolute;
  width: 100vw;
  transform-origin: left center;
}
.shoot__streak {
  position: relative;
  width: 150px;
  height: 3px;
  opacity: 0;
  animation: zb-shootx 15s linear infinite 3s;
}
.shoot__streak i {
  position: absolute;
  left: 0;
  right: 5px;
  top: 1px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(245, 245, 240, 0.85));
}
.shoot__streak i:last-child {
  left: auto;
  right: 0;
  top: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--bone);
  box-shadow: 0 0 10px 2px rgba(245, 245, 240, 0.8);
}
.shoot--amber .shoot__streak {
  width: 110px;
  animation: zb-shootx 26s linear infinite 12s;
}
.shoot--amber .shoot__streak i {
  background: linear-gradient(90deg, transparent, rgba(245, 185, 66, 0.8));
}
.shoot--amber .shoot__streak i:last-child {
  background: var(--amber);
  box-shadow: 0 0 10px 2px rgba(245, 185, 66, 0.75);
}
.sky__flyby {
  position: absolute;
  top: 0;
  left: 0;
  height: 52px;
  opacity: 0;
  filter: drop-shadow(0 0 12px rgba(255, 107, 61, 0.5));
  animation: zb-flyby 24s linear infinite 2s;
}

/* ====================== NAV ====================== */
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 2;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand__logo {
  height: 52px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--bone-dim);
}
.nav__links a:hover {
  color: var(--orange);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ====================== BUTTONS (pills) ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.btn--ghost {
  color: var(--bone-dim);
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  color: var(--bone);
  border-color: var(--muted);
}
.btn--primary {
  color: #0a0e1a;
  font-weight: 600;
  background: var(--orange);
  box-shadow: 0 8px 24px -10px var(--orange-glow);
}
.btn--primary:hover {
  background: #ff7b52;
  transform: translateY(-1px);
}
.btn--lg {
  font-size: 16px;
  padding: 14px 26px;
}

/* ====================== SHARED TEXT ====================== */
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
}
.accent {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--orange);
}
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 24px;
}
.sect-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.sect-head .kicker {
  display: block;
  margin-bottom: 16px;
}
.sect-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 18px;
}
.sect-lede {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

/* ====================== HERO ====================== */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 32px;
  text-align: center;
}
.hero .kicker {
  display: block;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(46px, 6.5vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 auto 22px;
  max-width: 16ch;
}
.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 30px;
}
.hero__sub b {
  color: var(--bone-dim);
  font-weight: 500;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__fineprint {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ====================== ORBIT SYSTEM ====================== */
.orbit {
  position: relative;
  width: min(720px, 92vw);
  height: min(720px, 92vw);
  margin: 24px auto 0;
}
.orbit__sun {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a5e, var(--orange) 45%, #b23c1a 90%);
  box-shadow:
    0 0 60px -10px rgba(255, 107, 61, 0.55),
    inset -14px -12px 30px rgba(0, 0, 0, 0.4);
  z-index: 3;
}
.orbit__sunring {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 190px;
  height: 52px;
  transform: translate(-50%, -50%) rotate(-16deg);
  border-radius: 50%;
  border: 2px solid rgba(245, 185, 66, 0.5);
  border-top-color: transparent;
  z-index: 4;
  pointer-events: none;
}
.orbit__ship {
  position: absolute;
  top: calc(50% - 88px);
  left: calc(50% + 52px);
  height: 42px;
  transform: rotate(24deg);
  z-index: 5;
  filter: drop-shadow(0 6px 14px rgba(255, 107, 61, 0.45));
  animation: zb-bob 4s ease-in-out infinite;
  pointer-events: none;
}
.orbit__homelbl {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: end center;
  z-index: 3;
  pointer-events: none;
}
.orbit__homelbl span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffb28f;
  background: rgba(10, 14, 26, 0.7);
  border: 1px solid rgba(255, 107, 61, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
}
.orbit__track {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}
.orbit__track--inner {
  width: 62%;
  height: 62%;
  border: 1.5px dashed rgba(47, 56, 82, 0.9);
}
.orbit__track--outer {
  width: 88%;
  height: 88%;
  border: 1.5px dashed rgba(47, 56, 82, 0.7);
}
.orbit__track--courier {
  width: 75%;
  height: 75%;
  border: 1px dotted rgba(255, 107, 61, 0.35);
}
.orbit__spin {
  position: absolute;
  inset: 0;
  margin: auto;
}
.orbit__spin--inner {
  width: 62%;
  height: 62%;
  animation: zb-spin 34s linear infinite;
}
.orbit__spin--outer {
  width: 88%;
  height: 88%;
  animation: zb-spin 52s linear infinite;
}
.orbit__spin--courier {
  width: 75%;
  height: 75%;
  animation: zb-spin 18s linear infinite;
}
.orbit__spin--courier2 {
  width: 75%;
  height: 75%;
  animation: zb-spin 18s linear infinite;
  animation-delay: -9s;
}
/* Carriers counter-rotate so planets + labels stay upright. */
.carrier {
  position: absolute;
}
.carrier--inner {
  animation: zb-spin-rev 34s linear infinite;
}
.carrier--outer {
  animation: zb-spin-rev 52s linear infinite;
}
.carrier--top {
  top: -34px;
  left: 50%;
  margin-left: -34px;
  width: 68px;
  height: 68px;
}
.carrier--bottom {
  bottom: -30px;
  left: 50%;
  margin-left: -30px;
  width: 60px;
  height: 60px;
}
.carrier--right {
  top: 50%;
  right: -26px;
  margin-top: -26px;
  width: 52px;
  height: 52px;
}
.carrier--left {
  top: 50%;
  left: -30px;
  margin-top: -30px;
}
.planet {
  border-radius: 50%;
}
.planet--amber {
  background: radial-gradient(circle at 35% 30%, #ffd884, var(--amber) 50%, #8a6420 95%);
  box-shadow: inset -8px -8px 18px rgba(0, 0, 0, 0.35);
}
.planet--grey {
  background: radial-gradient(circle at 35% 30%, #c7d0e8, var(--muted) 55%, #3a4258 95%);
  box-shadow: inset -8px -8px 16px rgba(0, 0, 0, 0.35);
}
.planet--green {
  background: radial-gradient(circle at 35% 30%, #7be0a2, var(--green) 55%, #1d5c38 95%);
  box-shadow: inset -6px -6px 14px rgba(0, 0, 0, 0.35);
}
.planet--sun {
  background: radial-gradient(circle at 35% 30%, #ff8a5e, var(--orange) 45%, #b23c1a 90%);
  box-shadow:
    0 0 32px -6px rgba(255, 107, 61, 0.55),
    inset -8px -8px 18px rgba(0, 0, 0, 0.4);
}
.planet__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  border-radius: 50%;
  border: 1.5px solid rgba(166, 173, 194, 0.55);
  border-top-color: transparent;
}
.planet__lbl {
  text-align: center;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.planet__lbl small {
  font-size: 9px;
  color: var(--muted);
}
/* The black hole — clickable, it eats cold pitches. */
.bhole {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
}
.bhole--burp {
  animation: zb-burp 0.5s ease;
}
.bhole__glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 107, 61, 0),
    rgba(255, 107, 61, 0.6),
    rgba(245, 185, 66, 0.35),
    rgba(255, 107, 61, 0)
  );
  filter: blur(3px);
  animation: zb-spin 6s linear infinite;
}
.bhole__core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #05070d;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.9);
}
/* Envelope courier riding the dotted track. */
.mail {
  position: absolute;
  top: -9px;
  left: 50%;
  margin-left: -13px;
  width: 26px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid var(--muted);
  background: var(--bone);
  overflow: hidden;
  box-shadow: 0 0 10px rgba(245, 245, 240, 0.35);
}
.mail i {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 50% 62%, 100% 0);
  background: var(--bone-dim);
  border-bottom: 1px solid var(--muted);
}

/* ====================== STATS ====================== */
.stats {
  display: flex;
  justify-content: center;
  max-width: 820px;
  margin: 8px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.stat + .stat {
  border-left: 1px solid var(--line);
}
.stat__num {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stat--orange .stat__num {
  color: var(--orange);
}
.stat__lbl {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ====================== PLANET CARDS ====================== */
.pcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.pcard {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(19, 24, 38, 0.85);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}
.pcard:hover {
  transform: translateY(-3px);
}
.pcard--amber:hover {
  border-color: rgba(245, 185, 66, 0.5);
}
.pcard--grey:hover {
  border-color: rgba(166, 173, 194, 0.6);
}
.pcard--orange:hover {
  border-color: rgba(255, 107, 61, 0.5);
}
.pcard--home {
  border-color: rgba(255, 107, 61, 0.35);
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255, 107, 61, 0.08), transparent 70%),
    rgba(19, 24, 38, 0.85);
}
.pcard--home:hover {
  border-color: rgba(255, 107, 61, 0.6);
}
.pcard__icon {
  flex: 0 0 auto;
  position: relative;
  width: 64px;
  height: 64px;
}
.pcard__icon--bob {
  animation: zb-bob 5s ease-in-out infinite;
}
.pcard__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pcard h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
}
.pcard p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.pcards__note {
  text-align: center;
  margin: 36px auto 0;
  max-width: 60ch;
  font-size: 15px;
  color: var(--muted);
}
.pcards__note b {
  color: var(--bone-dim);
  font-weight: 500;
}

/* ====================== FIELD GUIDE (duo panels) ====================== */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.duo__panel {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(19, 24, 38, 0.85);
  transition: border-color 0.18s ease;
}
.duo__panel--amber:hover {
  border-color: rgba(245, 185, 66, 0.45);
}
.duo__panel--orange:hover {
  border-color: rgba(255, 107, 61, 0.4);
}
.duo__stars {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 120px;
  height: 80px;
  pointer-events: none;
}
.duo__panel .pcard__tag {
  margin-bottom: 14px;
}
.duo__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.duo__body {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 20px;
}
.duo__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--bone-dim);
}
.duo__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.duo__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.duo__list--amber li::before {
  border: 1px solid var(--amber);
  box-shadow: 0 0 6px rgba(245, 185, 66, 0.5);
}
.duo__list--orange li::before {
  border: 1px solid var(--orange);
  box-shadow: 0 0 6px rgba(255, 107, 61, 0.5);
}

/* ====================== FLIGHT PLAN ====================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.steps__path {
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  width: 76%;
  height: 20px;
  overflow: visible;
}
.steps__path path {
  animation: zb-dash 1.6s linear infinite;
}
.step {
  position: relative;
  text-align: center;
}
.step__num {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0a0e1a;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
}
.step__num--sun {
  background: radial-gradient(circle at 35% 30%, #ff8a5e, var(--orange) 50%, #b23c1a 95%);
  box-shadow: 0 0 24px -4px rgba(255, 107, 61, 0.5);
}
.step__num--amber {
  background: radial-gradient(circle at 35% 30%, #ffd884, var(--amber) 50%, #8a6420 95%);
  box-shadow: 0 0 24px -4px rgba(245, 185, 66, 0.45);
}
.step__num--grey {
  background: radial-gradient(circle at 35% 30%, #c7d0e8, var(--muted) 55%, #3a4258 95%);
}
.step__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
}
.step__body {
  font-size: 15px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 32ch;
}

/* ====================== TRANSMISSIONS (FAQ) ====================== */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(19, 24, 38, 0.85);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--orange);
}
.faq-tx {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 0.12em;
}
.faq-q {
  flex: 1;
}
.faq-toggle {
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}
.faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--muted);
}
.faq-body b {
  color: var(--bone-dim);
  font-weight: 500;
}

/* ====================== CTA ====================== */
.cta__inner {
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 107, 61, 0.25);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(255, 107, 61, 0.12), transparent 70%),
    var(--panel);
}
.cta__ship {
  height: 96px;
  display: block;
  margin: 0 auto 20px;
  animation: zb-bob 4s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(255, 107, 61, 0.35));
}
.cta__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 18px;
}
.cta__sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 auto 32px;
}
.cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ====================== FOOTER ====================== */
.footer {
  border-top: 1px solid var(--line);
  background: #06090f;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: zb-pulse 2.4s ease-in-out infinite;
}
.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__links a:hover {
  color: var(--orange);
}

/* ====================== MOTION SAFETY ====================== */
@media (prefers-reduced-motion: reduce) {
  /* High-intensity motion: fully disabled to respect vestibular triggers. */
  .sky__stars,
  .shoot__streak,
  .sky__flyby,
  .tw,
  .bhole__glow,
  .cta__ship,
  .steps__path path,
  .footer__status i {
    animation: none !important;
  }

  /* Soft continuous loops: slowed rather than killed, so the hero orbit
     still reads as "alive" on mobile devices with Reduce Motion on. */
  .orbit__spin--inner {
    animation-duration: 90s !important;
  }
  .carrier--inner {
    animation-duration: 90s !important;
  }
  .orbit__spin--outer {
    animation-duration: 140s !important;
  }
  .carrier--outer {
    animation-duration: 140s !important;
  }
  .orbit__spin--courier,
  .orbit__spin--courier2 {
    animation-duration: 48s !important;
  }
  .orbit__ship {
    animation-duration: 8s !important;
  }
  .pcard__icon--bob {
    animation-duration: 10s !important;
  }
}


/* ====================== RESPONSIVE ====================== */
@media (max-width: 900px) {
  .pcards {
    grid-template-columns: 1fr;
  }
  .duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .steps__path {
    display: none;
  }
  .section {
    padding: 72px 20px;
  }
  .duo__panel {
    padding: 28px;
  }
  .sky__flyby {
    display: none;
  }
}

@media (max-width: 520px) {
  .stats {
    flex-direction: column;
    gap: 24px;
  }
  .stat + .stat {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .nav__cta .btn--ghost {
    display: none;
  }
  .footer__inner {
    justify-content: center;
    text-align: center;
  }
}
