:root {
  --bg: #030710;
  --ink: #f5f7fb;
  --muted: #a9b6ca;
  --cyan: #63e3f4;
  --purple: #a377fc;
  --line: #a4bad42b;
  --frame: clamp(22px, 5.2vw, 125px);
  --nav-height: 86px;
}

html {
  scroll-padding-top: 0;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}
html.chapter-threshold { scroll-snap-type: none; }

body { background: var(--bg); }
.page { isolation: isolate; }
.page > main, .page > footer { position: relative; z-index: 1; background: transparent; }
/* A direct image reference also works when the offline preview embeds a data URL. */
.site-galaxy, .companion-scene {
  background: url("assets/galaxy-4k.webp") center / cover no-repeat;
}
.site-galaxy::before, .companion-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.site-galaxy {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.site-galaxy::before {
  background: linear-gradient(90deg, #020712e8, #050b17bb 62%, #030713cf);
}
.language-input { position: fixed; top: 0; left: 0; }
.page > .site-header {
  position: fixed;
  z-index: 12;
  inset: 0 0 auto;
  padding: 14px 0 0;
  background: none;
  pointer-events: none;
}
.header-row {
  width: calc(100% - var(--frame) * 2);
  max-width: none;
  height: auto;
  min-height: 58px;
  gap: clamp(12px, 2.8vw, 44px);
  border: 0;
}
.header-row > a, .header-controls, .desktop-nav { pointer-events: auto; }
.header-row .brand {
  gap: 10px;
  font-size: clamp(26px, 2.35vw, 47px);
  text-shadow: 0 2px 18px #000;
}
.header-row .brand-mark { width: clamp(43px, 4.2vw, 74px); height: auto; aspect-ratio: 5 / 4; }
.desktop-nav {
  margin-inline-start: auto;
  gap: clamp(15px, 2.3vw, 45px);
  padding: 0 clamp(12px, 1.6vw, 30px);
  border: 1px solid #b9d1ee38;
  border-radius: 50px;
  background: #050913d6;
  box-shadow: 0 8px 30px #0003, inset 0 1px #d3eaff18;
}
.desktop-nav a, .desktop-nav a:first-child {
  border: 0;
  color: #edf2fa;
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 600;
  white-space: nowrap;
}
.desktop-nav a:hover { color: var(--cyan); }
.header-controls { flex-shrink: 0; }
.header-row .language-switch {
  display: flex;
  gap: 0;
  padding: 2px;
  border: 1px solid #b9d1ee54;
  border-radius: 999px;
  background: #050913eb;
}
.header-row .language-option,
#language-en:checked ~ .page .header-row label[for="language-en"],
#language-zh:checked ~ .page .header-row label[for="language-zh"] {
  min-height: 36px;
  min-width: 41px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  color: #b8c6d8;
  background: transparent;
  box-shadow: none;
}
.header-row .language-option::before, .header-row .language-option::after { display: none; }
#language-en:checked ~ .page .header-row label[for="language-en"],
#language-zh:checked ~ .page .header-row label[for="language-zh"] {
  background: #bce4ff28;
  color: #fff;
}
.skip-link { z-index: 20; }

.story-chapter {
  --scene-panel: clamp(290px, 32vw, 510px);
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  isolation: isolate;
  overflow: clip;
  scroll-snap-align: start;
}
.story-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.story-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  min-width: 0;
  padding: calc(var(--nav-height) + 34px) var(--frame) clamp(38px, 8.5svh, 104px);
}
.planet-chapter {
  --mark-left: 46%;
  --mark-top: clamp(74px, 11.6svh, 144px);
  --mark-font: clamp(110px, 18.5vw, 368px);
  background:
    radial-gradient(ellipse at 74% 45%, #111d3c96, transparent 68%),
    linear-gradient(180deg, #03071033 42%, #030711 100%);
}
.planet-chapter .story-scene::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(0deg, #030710ce, #03071068 28%, transparent 60%),
    linear-gradient(90deg, #03071170, transparent 63%);
  pointer-events: none;
}
.planet-mark {
  position: absolute;
  z-index: 0;
  top: var(--mark-top);
  left: var(--mark-left);
  display: grid;
  justify-items: center;
  gap: clamp(7px, 1.6svh, 21px);
  transform: translateX(-50%);
  white-space: nowrap;
  user-select: none;
}
.planet-mark-kicker {
  display: flex;
  align-items: center;
  gap: .64rem;
  font-size: clamp(.60rem, .86vw, .82rem);
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: .34em;
  color: #c0d5ec;
}
.planet-mark-kicker::before {
  content: "";
  width: 17px;
  height: 1px;
  background: linear-gradient(90deg, #5bcde9, #a28efb);
}
.planet-mark-word {
  font-size: var(--mark-font);
  font-weight: 800;
  line-height: .79;
  letter-spacing: -.078em;
  padding-inline-end: .078em;
  color: #25354d;
  background: linear-gradient(155deg, #384e68c9, #202e48af 67%, #1a24408c);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.planet-mark-outline { z-index: 2; }
.planet-mark-outline .planet-mark-kicker { visibility: hidden; }
.planet-mark-outline .planet-mark-word {
  background: none;
  -webkit-text-stroke: 1px #abc8fe58;
  clip-path: inset(0 0 0 45%);
}
.story-earth {
  position: absolute;
  margin: 0;
  aspect-ratio: 1;
  isolation: isolate;
}
.opening-earth {
  z-index: 1;
  top: 53%;
  left: 74%;
  width: min(64vw, 91svh, 1130px);
  transform: translate(-50%, -50%);
}
.earth-disc {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
}
.earth-canvas, .earth-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.earth-canvas { visibility: hidden; }
.earth-ready .earth-canvas { visibility: visible; }
.earth-ready .earth-poster { visibility: hidden; }
.story-earth::before, .story-earth::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.story-earth::before {
  z-index: -1;
  inset: -9.5%;
  background: radial-gradient(circle closest-side, transparent 76%, #1e82ff70 83%, #2a59f94c 88%, transparent 100%);
  mask-image: linear-gradient(#000 16%, #000e 48%, transparent 91%);
}
.story-earth::after {
  inset: 0;
  box-shadow: inset 0 3px 15px #4bc7ff8c, inset 8px -1px 22px #295bc35c;
  border-top: 1px solid #a3eaffd6;
  border-right: 1px solid #9d6eff8f;
  mask-image: linear-gradient(#000 0%, #000c 44%, #0000 98%);
}
.planet-inner { display: flex; align-items: flex-end; }
.planet-copy { max-width: min(58vw, 980px); }
.planet-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(53px, min(6.85vw, calc(9svh + 35px)), 136px);
  line-height: .99;
  letter-spacing: -.062em;
}
.planet-copy .gradient { background-image: linear-gradient(102deg, #75e1f5, #849dff 54%, #bc83fd); }
.planet-copy p { max-width: 36ch; font-size: clamp(16px, 1.52vw, 24px); color: #dce5f2; margin-bottom: 27px; }
.story-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 34px);
  width: fit-content;
  padding: 10px 17px 10px 19px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px 22px 22px 8px;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 650;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.story-button-light { background: #f1f5fa; color: #081320; }
.story-button-light:hover { background: #b9ebf7; color: #081320; }
.story-button-dark { background: #101d2c; border-color: #7395ba57; color: #f3f8ff; }
.story-button-dark:hover { background: #1e3c50; border-color: #8be7fa9e; color: #fff; }
.story-chevron {
  width: 8px;
  height: 8px;
  flex: none;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  margin: -4px 4px 0 0;
}

.companion-chapter {
  --orbit-scene: calc(100% - var(--scene-panel) - var(--frame) - 14px);
  background: radial-gradient(ellipse at 42% 45%, #0b1837, #050b1b 67%, #030711);
}
.companion-scene {
  background-position: center 58%;
}
.companion-scene::before {
  background: linear-gradient(90deg, #02071334, transparent 78%, #03071357);
}
.orbit-stage {
  position: absolute;
  width: min(calc(var(--orbit-scene) * .89), 103svh, 1180px);
  aspect-ratio: 1;
  left: calc(var(--orbit-scene) * .5);
  top: 49%;
  transform: translate(-50%, -50%);
}
.companion-earth {
  z-index: 2;
  width: 59%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84%;
  height: 52%;
  transform: translate(-50%, -50%) rotate(-13deg);
  border-radius: 50%;
  border: 1px solid #76cfff42;
  box-shadow: 0 0 12px #05a4eb27;
}
.orbot-flight {
  position: absolute;
  z-index: 3;
  top: 58%;
  left: 50%;
  width: 23%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.orbot-flight[data-rear] { z-index: 1; }
.orbot-flight img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(var(--orbot-bank, 0deg));
  filter: drop-shadow(0 7px 13px #010517a8);
}
.orbot-exhaust {
  position: absolute;
  left: 50%;
  top: 60%;
  width: 85%;
  height: 11%;
  border-radius: 50%;
  transform: rotate(var(--jet-angle, 0rad)) translate(-134%, -50%);
  transform-origin: left center;
  opacity: var(--jet-opacity, 0);
  background: linear-gradient(90deg, #966bff00 5%, #a87dff72 44%, #5cceffbe 79%, #e4fdff 100%);
  box-shadow: 0 0 19px #5ec7ff3b;
  mask-image: radial-gradient(ellipse at 58% 50%, #000 0%, #0009 49%, #0000 83%);
}
.panel-inner { display: flex; align-items: center; justify-content: flex-end; }
.story-panel {
  flex: 0 1 var(--scene-panel);
  min-width: 290px;
  padding: clamp(25px, 2.35vw, 43px);
  border: 1px solid #a3c5e947;
  border-radius: 10px 36px 36px 10px;
  background: linear-gradient(125deg, #0b1525f2, #07111eeb 73%, #0d1826df);
  box-shadow: inset 3px 0 #63e1f16b, 0 22px 66px #0005;
}
.story-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: center;
  margin: 0 0 16px;
  color: #92ecf9;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .09em;
}
.story-panel h2 {
  margin: 0 0 clamp(19px, 4svh, 42px);
  line-height: 1.035;
  font-size: clamp(35px, 3.7vw, 65px);
  letter-spacing: -.045em;
}
.story-panel h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #d4ddff;
}
#language-zh:checked ~ .page .story-panel h2 em { font-family: inherit; font-style: normal; }
.story-description { color: #d9e3f3; margin-bottom: 23px; font-size: clamp(15px, 1.18vw, 19px); line-height: 1.6; }
.office-chapter { background: #071121; }
.office-poster, .office-poster img, .office-film {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}
.office-film { opacity: 0; }
.office-film[data-playing] { opacity: 1; }
.office-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #02071298 0%, transparent 45%), linear-gradient(90deg, transparent 53%, #03091474);
}
.office-inner { align-items: flex-end; }
.office-panel { background: linear-gradient(120deg, #081321f1, #11182aef 80%); }
.office-concept { color: #c1d0e4; font-size: .72rem; font-weight: 500; letter-spacing: 0; }

#services, #ai, #about, #contact { scroll-margin-top: var(--nav-height); }
.services-section {
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  padding-block: max(calc(var(--nav-height) + 8px), 8svh) clamp(36px, 5svh, 80px);
  background: linear-gradient(150deg, #07122254, #03071096);
  border-top: 1px solid #a4bad431;
}
#services { scroll-margin-top: 0; }
.services-layout { grid-template-columns: minmax(235px, .78fr) minmax(0, 1.55fr); gap: clamp(34px, 6vw, 122px); align-items: center; }
.service-intro { max-width: 470px; }
.service-intro h2 { font-size: clamp(39px, 5vw, 92px); line-height: 1; margin: 0 0 23px; }
.service-intro p:not(.eyebrow) { color: #bdcada; font-size: clamp(15px, 1.3vw, 21px); }
.service-list { gap: 0; border-top: 1px solid var(--line); }
.service-list > .service {
  grid-template-columns: 64px minmax(0, 1fr) 36px;
  gap: 16px;
  min-height: clamp(83px, 13svh, 126px);
  padding: 10px 8px 10px 0;
  background: #07101d66;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.service-list > .service > .service-visual { min-height: 0; border: 0; background: none; color: #8bcdf6; }
.service-visual .icon { width: 33px; height: 33px; filter: drop-shadow(0 0 9px #24a6ef68); }
.service h3 { margin-bottom: 4px; font-size: clamp(16px, 1.43vw, 25px); }
.service p { font-size: .88rem; color: #c0cbe0; }
.service-title-number { color: #80c6ef; margin-right: 8px; }
.service .round-link { border-color: #5175a4; color: #aae7fc; }
.ai-section, .about-section, .contact-section { background: #040a15be; }
.section-heading > p, .panel > p { font-size: 1rem; }
.about-copy, .about-intro > p:not(.eyebrow):not(.tagline) { font-size: 1rem; }
.panel, .contact-banner { background: #0b1526; border-color: #647ca750; }
.about-layout { border: 1px solid #647ca745; background: #0b1526; border-radius: 16px; padding: clamp(18px, 2.8vw, 46px); }
.contact-actions .button[data-contact],
.contact-actions .button[data-contact][aria-disabled="true"] {
  border-color: #64e3f07b;
  color: #99eaf7;
  background: #030b16;
}
.contact-actions .icon { filter: drop-shadow(0 0 7px #47d9fc70); }
.contact-banner .contact-actions { flex-wrap: wrap; }
.media-credit { font-size: .77rem; color: #b3c1d3; text-align: center; padding: 0 22px 22px; }

@media (max-width: 950px) {
  .story-chapter { --scene-panel: max(265px, 36vw); }
  .story-panel { padding: 24px; min-width: 265px; }
  .story-panel h2 { font-size: clamp(33px, 4.2vw, 50px); }
  .story-description { font-size: .94rem; }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .office-poster img, .office-film { object-position: center 61%; }
  .office-inner { justify-content: center; padding-bottom: 34px; }
  .office-panel { flex-basis: min(560px, 75%); }
}

@media (max-width: 760px) {
  :root { --frame: 20px; --nav-height: 68px; }
  .page > .site-header { padding-top: 7px; }
  .header-row { min-height: 54px; }
  .header-row .brand { font-size: 25px; }
  .header-row .brand-mark { width: 41px; height: auto; }
  .header-row .language-option,
  #language-en:checked ~ .page .header-row label[for="language-en"],
  #language-zh:checked ~ .page .header-row label[for="language-zh"] { min-height: 40px; }
  .mobile-menu > summary { border-radius: 50%; background: #050913eb; }
  .mobile-menu nav { top: 59px; background: #07111f; }
  .story-inner { padding: calc(var(--nav-height) + 15px) var(--frame) max(26px, env(safe-area-inset-bottom)); }
  .planet-chapter {
    --mark-left: 49%;
    --mark-top: clamp(78px, 11.4svh, 116px);
    --mark-font: clamp(70px, 22.8vw, 158px);
  }
  .planet-chapter .story-scene::after {
    background: linear-gradient(180deg, transparent 32%, #03071124 48%, #030711ed 86%);
  }
  .opening-earth { width: min(102vw, 56svh, 540px); left: 59%; top: 39%; }
  .planet-copy { max-width: 100%; width: min(100%, 460px); }
  .planet-copy h1 { font-size: clamp(37px, 10.45vw, 66px); letter-spacing: -.046em; margin-bottom: 15px; }
  .planet-copy p { font-size: clamp(15px, 4vw, 18px); margin-bottom: 18px; max-width: 31ch; }
  .story-button { min-height: 44px; }
  .companion-scene { background-position: 32% center; }
  .orbit-stage { width: min(97vw, 50svh, 450px); left: 50%; top: clamp(160px, 34svh, 345px); }
  .story-panel { min-width: 0; width: min(100%, 440px); flex: 0 1 auto; padding: 20px; border-radius: 8px 24px 24px 8px; }
  .panel-inner { align-items: flex-end; justify-content: center; padding-top: min(54svh, 400px); }
  .story-panel h2 { font-size: clamp(33px, 8vw, 49px); margin-bottom: 14px; }
  .story-kicker { margin-bottom: 10px; }
  .story-description { margin-bottom: 15px; font-size: .95rem; line-height: 1.5; }
  .office-scene::after { background: linear-gradient(180deg, #06101a77 0%, transparent 29%, transparent 56%, #020712c4 95%); }
  .office-film, .office-poster img { object-position: center; }
  .office-inner { padding-top: min(58svh, 490px); }
  .services-layout { grid-template-columns: 1fr; gap: 22px; }
  .service-intro h2 br { display: block; }
  .service-list > .service { grid-template-columns: 38px minmax(0, 1fr) 29px; gap: 10px; min-height: 86px; padding: 9px 4px 9px 0; }
  .service-visual .icon { width: 24px; height: 24px; }
  .service h3 { font-size: 1rem; }
  .service p { font-size: .82rem; }
  .service-title-number { display: inline; }
}
@media (max-width: 360px) {
  :root { --frame: 16px; }
  .story-panel { padding: 16px; }
  .story-panel h2 { font-size: 31px; }
  .story-description { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .story-button { transition: none; }
  .office-film { display: none; }
}

.mission-board {
  --mission-orbot-width: clamp(76px, 8.6vw, 124px);
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(210px, 1fr) minmax(112px, .64fr) minmax(0, 1.5fr);
  gap: clamp(9px, 1.35vw, 23px);
}
.mission-intro { grid-column: 1; width: 100%; max-width: none; position: relative; z-index: 2; }
.mission-intro h2 { font-size: clamp(40px, 5.45vw, 90px); margin-bottom: .28em; }
.mission-intro > p:not(.sr-only) { margin-bottom: 24px; }
.mission-choices { display: grid; gap: 11px; }
.mission-choice {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 57px;
  padding: 11px 15px;
  border: 1px solid #9abde94d;
  border-radius: 15px;
  text-align: left;
  color: #f3f8ff;
  background: #071222;
  line-height: 1.4;
  font-family: inherit;
  font-size: clamp(.94rem, 1.2vw, 1.16rem);
  font-weight: 650;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .25s;
}
.mission-choice .icon { width: 24px; height: 24px; color: #9ed8f4; }
.mission-choice:hover { border-color: #88ddf8; background: #10243b; }
.mission-choice[aria-pressed="true"] {
  border-color: #73edfb;
  background: linear-gradient(115deg, #133650, #0c1930);
  box-shadow: inset 0 0 0 1px #73edfb4d, 0 0 25px #1cdaee28;
}
.mission-choice:focus-visible,
.service-demo-action:focus-visible,
.reply-send:focus-visible { outline: 2px solid #a3f1fa; outline-offset: 3px; }
.mission-board .service-list {
  grid-column: 3;
  gap: 9px;
  border: 0;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.mission-board .service-list > .service {
  grid-template-columns: clamp(38px, 4vw, 57px) minmax(0, 1fr) 32px;
  min-height: clamp(72px, 12svh, 112px);
  gap: clamp(8px, 1vw, 16px);
  padding: 10px 11px 10px 0;
  border: 1px solid #95b7e343;
  border-radius: 13px;
  background: linear-gradient(105deg, #0b182b, #071020);
  transition: border-color .3s, background .3s, box-shadow .35s;
}
.mission-board .service-list > .service[data-incoming] { border-color: #5ccde5a6; }
.mission-board .service-list > .service[data-arrived] {
  border-color: transparent;
  background: linear-gradient(110deg, #12364c, #15213a 64%, #1e1740) padding-box,
    linear-gradient(115deg, #85eff9, #739beb 56%, #c18af6) border-box;
  box-shadow: inset 2px 0 #7deefa, 0 0 22px #50cde32b;
}
.mission-board .service h3 { font-size: clamp(.95rem, 1.24vw, 1.22rem); }
.mission-board .service .round-link { width: 30px; height: 30px; }
.service-with-egg > .service-visual { grid-row: 1; grid-column: 1; }
.service-with-egg > .round-link { grid-row: 1; grid-column: 3; }
.service-demo-action {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  max-width: 100%;
  margin-top: 8px;
  padding: 3px 12px;
  border: 1px solid #67e5faa8;
  border-radius: 999px;
  color: #d5faff;
  background: #0a2738;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
  visibility: hidden;
}
.service[data-arrived] .service-demo-action { visibility: visible; }
.service-demo-action:hover { background: #18455a; }
.service-egg {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  justify-self: center;
  width: 94%;
  max-width: 72px;
  overflow: visible;
  fill: none;
  stroke: #91f6ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  visibility: hidden;
  pointer-events: none;
  filter: drop-shadow(0 0 5px #54dff7a0);
}
.service[data-arrived] .service-egg { visibility: visible; }
.service-egg .egg-secondary { stroke: #ddaaff; }
.service-egg circle { fill: currentColor; color: #c3faff; stroke: none; }
.service[data-arrived] .egg-main { animation: egg-reveal .33s cubic-bezier(.2,.8,.25,1) both; }
.service[data-arrived] .egg-secondary { animation: egg-reveal .35s .29s cubic-bezier(.2,.8,.25,1) both; }
.service[data-arrived] .egg-dot { animation: egg-dot-in .23s calc(90ms + var(--egg-delay, 0ms)) ease-out both; }
@keyframes egg-reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes egg-dot-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 900px) {
  .mission-board .service-list > .service-with-egg {
    grid-template-columns: clamp(38px, 4vw, 57px) minmax(0, 1fr) clamp(49px, 5.3vw, 75px) 32px;
  }
  .service-with-egg .service-egg { grid-column: 3; }
  .service-with-egg > .round-link { grid-column: 4; }
}
@media (max-width: 899px) {
  .service-with-egg[data-arrived] > .service-visual { visibility: hidden; }
}
.mission-flight {
  position: absolute;
  inset: 0;
  z-index: 1;
  visibility: hidden;
  pointer-events: none;
}
.mission-flight[data-ready] { visibility: visible; }
.mission-trail { position: absolute; inset: 0; overflow: visible; }
.mission-route, .mission-route-lit {
  fill: none;
  stroke: url(#mission-route-color);
  stroke-width: 2.1;
  stroke-linecap: round;
}
.mission-route { opacity: .24; }
.mission-route-lit { filter: drop-shadow(0 0 5px #6fdafb); }
.mission-arrival { fill: #c4f8ff; filter: drop-shadow(0 0 8px #62defd); opacity: 0; }
.mission-flight[data-landed] .mission-arrival { opacity: 1; }
.mission-orbot {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--mission-orbot-width);
  height: auto;
  filter: drop-shadow(0 6px 13px #02040cb3);
  will-change: transform;
}

.reply-demo {
  scroll-margin-top: calc(var(--nav-height) + 16px);
  margin: 0 0 clamp(56px, 9vw, 128px);
  padding: clamp(0px, 1vw, 14px) 0 clamp(30px, 4vw, 60px);
  border-bottom: 1px solid #9abfed38;
}
.reply-demo-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 21px;
  margin-bottom: clamp(22px, 3vw, 42px);
}
.reply-demo-heading h2 { margin: 0; font-size: clamp(33px, 4.27vw, 65px); }
.reply-demo-tag {
  display: inline-flex;
  padding: 5px 13px;
  border: 1px solid #77cfea72;
  border-radius: 999px;
  color: #c0eafb;
  font-size: .85rem;
}
.reply-flow {
  --reply-rail-gap: 34px;
  position: relative;
  isolation: isolate;
  padding-bottom: calc(var(--reply-rail-gap) + 12px);
}
.reply-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.reply-step {
  --reply-accent: #87edfa;
  position: relative;
  min-width: 0;
  min-height: 214px;
  padding: clamp(16px, 2vw, 27px);
  border: 1px solid #8bacda52;
  border-radius: 17px;
  background: linear-gradient(130deg, #101e34, #091122);
  transition: border-color .3s, box-shadow .3s;
}
.reply-step:nth-child(2) { --reply-accent: #97b6ff; }
.reply-step:nth-child(3) { --reply-accent: #daa6ff; }
.reply-dock {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: calc(100% + var(--reply-rail-gap));
  width: 13px;
  height: 13px;
  border: 1px solid #7899bf;
  border-radius: 50%;
  background: #0b192d;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.reply-dock::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: calc(var(--reply-rail-gap) - 5px);
  background: #729bd168;
}
.reply-step:is([data-current],[data-complete]) .reply-dock { border-color: var(--reply-accent); }
.reply-step:is([data-current],[data-complete]) .reply-dock::before { background: var(--reply-accent); }
.reply-travel { position: absolute; inset: 0; pointer-events: none; }
.reply-conduit {
  position: absolute;
  background: #46658a99;
  border-radius: 999px;
  transform: translateY(-50%);
}
.reply-conduit-lit {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #55e8f6, #769dff, #d38bff);
  box-shadow: 0 0 10px #718cff9c;
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(var(--reply-distance, 0));
}
.reply-signal {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f3fdff;
  color: #62eaf6;
  box-shadow: 0 0 7px 2px currentColor, 0 0 17px 3px currentColor;
  opacity: 0;
  transition: color .18s ease;
}
.reply-flow[data-reply-active] .reply-signal { opacity: 1; }
.reply-flow[data-reply-active="2"] .reply-signal { color: #93b7ff; }
.reply-flow[data-reply-active="3"] .reply-signal { color: #daa6ff; }
.reply-step[data-current] { border-color: var(--reply-accent); box-shadow: 0 0 26px color-mix(in srgb, var(--reply-accent) 24%, transparent); }
.reply-step[data-complete] { border-color: color-mix(in srgb, var(--reply-accent) 64%, #18283e); }
.reply-step:last-child[data-current] { background: linear-gradient(130deg, #211839, #0f142a); }
.reply-step h3 { display: flex; gap: 11px; align-items: center; margin-bottom: 19px; font-size: clamp(1rem, 1.6vw, 1.36rem); }
.reply-step h3 .icon { color: var(--reply-accent); }
.reply-bubble {
  padding: 10px 13px;
  border: 1px solid #708cba6c;
  border-radius: 12px 12px 12px 3px;
  background: #172741;
  font-size: .94rem;
  color: #e6f1ff;
  line-height: 1.55;
}
.reply-bubble strong { color: white; }
.reply-summary { display: grid; gap: 5px; background: #251d40; }
.reply-summary-heading { display: flex; align-items: center; gap: 8px; }
.reply-summary-heading .icon { width: 19px; height: 19px; color: #ddaaff; }
.reply-step:first-child .reply-step-content { margin-top: 11px; }
.reply-step-content[hidden] { display: block; visibility: hidden; }
.reply-step-content:not([hidden]) { animation: reply-in .34s ease both; }
@keyframes reply-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.reply-send {
  min-height: 41px;
  padding: 7px 16px;
  border: 1px solid #67e5fa;
  border-radius: 999px;
  color: #cbf6ff;
  background: #071d2c;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
}
.reply-send:hover { background: #13384b; }
.reply-send[aria-disabled="true"] { opacity: .63; cursor: wait; }
.reply-send-again, .reply-send[data-replay] .reply-send-first { display: none; }
.reply-send[data-replay] .reply-send-again { display: inline; }
@media (max-width: 760px) {
  .mission-board {
    --mission-rail: clamp(62px, 18vw, 84px);
    --mission-orbot-width: clamp(38px, 12.5vw, 58px);
    grid-template-columns: var(--mission-rail) minmax(0, 1fr);
    gap: 13px 0;
  }
  .mission-intro { grid-column: 1 / -1; padding: 0; }
  .mission-intro h2 { font-size: clamp(35px, 10vw, 58px); }
  .mission-intro > p:not(.sr-only) { margin-bottom: 19px; }
  .mission-choices { margin-inline-start: var(--mission-rail); }
  .mission-choice { padding: 9px 12px; min-height: 51px; gap: 10px; }
  .mission-choice .icon { width: 20px; height: 20px; }
  .mission-board .service-list { grid-column: 2; gap: 7px; }
  .mission-board .service-list > .service {
    grid-template-columns: 34px minmax(0, 1fr) 23px;
    min-height: 75px;
    gap: 5px;
    padding: 8px 6px 8px 2px;
  }
  .mission-board .service .round-link { width: 22px; height: 22px; font-size: 14px; }
  .mission-board .service .service-visual .icon { width: 21px; height: 21px; }
  .mission-board .service h3 { margin: 0; line-height: 1.3; font-size: .9rem; }
  .mission-board .service-title-number { margin-right: 3px; }
  .mission-board .service p { font-size: .76rem; line-height: 1.43; }
  .mission-board .service .note { font-size: .70rem !important; }
  .service-demo-action { min-height: 36px; padding-inline: 9px; }
  .reply-flow { --reply-rail-gap: 23px; padding: 0; }
  .reply-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-inline-start: 34px; }
  .reply-step { min-height: 127px; padding: 15px 17px; }
  .reply-step:first-child { min-height: 170px; }
  .reply-step h3 { margin-bottom: 12px; }
  .reply-dock { top: 50%; left: calc(-1 * var(--reply-rail-gap)); }
  .reply-dock::before { top: 50%; left: 100%; bottom: auto; width: calc(var(--reply-rail-gap) - 5px); height: 1px; }
  .reply-conduit { transform: translateX(-50%); }
  .reply-conduit-lit {
    background: linear-gradient(180deg, #55e8f6, #769dff, #d38bff);
    transform-origin: center top;
    transform: scaleY(var(--reply-distance, 0));
  }
}
@media (prefers-reduced-motion: reduce) {
  .mission-choice, .mission-board .service, .reply-step, .reply-signal { transition: none; }
  .reply-step-content:not([hidden]), .service[data-arrived] .service-egg * { animation: none; }
}
