:root {
  --orange: #ff6600;
  --ink: #424257;
  --ink-strong: #1b1b2a;
  --muted: #6c6c93;
  --bg: #fffaf4;
  --pocket: #161622;
  --page-width: 1920px;
  --page-gutter: clamp(24px, 4vw, 80px);
  --font-display: "Space Grotesk", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  --font-copy: "IBM Plex Sans", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  --font: var(--font-copy);
  --mono: "IBM Plex Mono", "Noto Sans SC", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button, a { font-family: inherit; }
button { cursor: pointer; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 58px;
  padding-block: 0;
  padding-inline: max(var(--page-gutter), calc((100% - var(--page-width)) / 2 + var(--page-gutter)));
  background: #fffaf4;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: clamp(156px, 16vw, 198px);
  max-width: 100%;
  height: 44px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-strong);
  text-decoration: none;
}
.brand-art {
  display: block;
  width: 100%;
  aspect-ratio: 1613 / 124;
  overflow: hidden;
  mix-blend-mode: darken;
}
/* Display the supplied artwork's measured ink region without redrawing its letters. */
.brand-art img {
  display: block;
  width: calc(100% * 1906 / 1613);
  max-width: none;
  height: auto;
  transform: translate(calc(-100% * 171 / 1906), calc(-100% * 339 / 628));
  filter: brightness(1.025);
}
.brand:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 2px; }
.paw {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}
.paw svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  fill: var(--orange);
}
.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-btn {
  border: 0;
  background: transparent;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 8px 10px;
  border-radius: 999px;
}
.progress-chip {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.curator-banner {
  display: none;
  position: sticky;
  top: 58px;
  z-index: 39;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 28px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
body.curating .curator-banner { display: flex; }
.curator-banner button {
  border: 1px solid rgba(255,255,255,0.55);
  background: transparent;
  color: #fff;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 460px);
  gap: 36px;
  align-items: center;
  padding: 12px 48px 0;
  max-width: 1280px;
}
h1 {
  margin: 10px 0 0;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.86;
  font-weight: 900;
  color: var(--orange);
}
.hero h1 { margin-top: 0; }
h1 .lead { display: block; }
h1 .product {
  display: block;
  margin-top: 8px;
  color: var(--ink-strong);
  font-size: 0.4em;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.stats { display: flex; gap: 28px; margin-top: 20px; }
.stat-n { font-size: 26px; font-weight: 800; color: var(--ink-strong); }
.stat-l {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
}

.draw-stage {
  position: relative;
  min-height: 300px;
  padding-bottom: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.dispatch {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  margin-bottom: -22px;
  padding: 16px 18px 18px;
  border-radius: 22px 22px 18px 18px;
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid rgba(255, 102, 0, 0.28);
  box-shadow: 0 16px 32px rgba(255, 102, 0, 0.12);
  transform: rotate(-1.2deg);
}
.dispatch .k {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--orange);
  font-weight: 800;
}
.dispatch h2 {
  margin: 8px 0 0;
  font-size: 22px;
  color: var(--ink-strong);
}
.dispatch p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
}
.dispatch button {
  margin-top: 12px;
  border: 0;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}
.gadget-card { display: none; }
.gadget-card .badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 999px;
}
.gadget-card .badge.live {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}
.gadget-card .badge.pending {
  background: transparent;
  color: var(--muted);
  border: 1px solid #eadfd4;
}
.gadget-card h2 {
  margin: 10px 0 0;
  font-size: 22px;
  color: var(--ink-strong);
}
.gadget-card .summary {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}
.gadget-card h3 {
  margin: 14px 0 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--orange);
}
.gadget-card ul { margin: 0; padding: 0; list-style: none; }
.gadget-card li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 102, 0, 0.1);
}
.gadget-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--orange);
}
.card-tools {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.card-tools button {
  border: 1px solid rgba(255,102,0,0.7);
  background: transparent;
  color: var(--orange);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
}
.card-tools .primary {
  background: var(--orange);
  color: #fff;
}
body:not(.curating) .card-tools { display: none; }
.card-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}

.pocket-well {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 220px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: block;
  isolation: isolate;
}
.pocket-replay {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.pocket-replay:focus-visible {
  outline: 2px solid var(--ink-strong);
  outline-offset: 7px;
}
.pocket-well::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.18), rgba(255, 102, 0, 0) 68%);
  transform: translate(-50%, -50%);
}
.portal-orbit {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 278px;
  height: 104px;
  border: 1.5px solid rgba(255, 102, 0, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  transition: border-color 220ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.portal-orbit::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(255, 102, 0, 0.16);
  border-radius: inherit;
}
.portal-orbit i {
  position: absolute;
  right: 20px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 102, 0, 0.12);
}
.portal-orbit-b {
  width: 220px;
  height: 150px;
  border-color: rgba(27, 27, 42, 0.22);
  transform: translate(-50%, -50%) rotate(58deg);
}
.portal-orbit-b i {
  left: 28px;
  right: auto;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--ink-strong);
  box-shadow: 0 0 0 4px rgba(27, 27, 42, 0.08);
}
.portal-core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 47%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fffaf4;
  border: 2px solid var(--orange);
  box-shadow: 0 18px 38px rgba(255, 102, 0, 0.16), 0 0 0 8px rgba(255, 102, 0, 0.08);
  transform: translate(-50%, -50%);
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 360ms ease;
  pointer-events: none;
}
.portal-core svg {
  width: 58px;
  height: 58px;
  fill: var(--orange);
}
.portal-doc-link {
  position: absolute;
  left: 50%;
  bottom: -23px;
  transform: translateX(-50%);
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-decoration: none;
  pointer-events: auto;
  transform-origin: center;
  transition: background 160ms ease, box-shadow 160ms ease;
}
.portal-doc-link:hover,
.portal-doc-link:focus-visible {
  background: var(--ink-strong);
  box-shadow: 0 0 0 5px rgba(255, 102, 0, 0.13), 0 6px 16px rgba(27, 27, 42, 0.18);
  outline: none;
  animation: pqc-link-shake 420ms steps(2, end) infinite;
}
@keyframes pqc-link-shake {
  0%, 100% { transform: translateX(-50%) translate(0, 0) rotate(0); }
  20% { transform: translateX(-50%) translate(-2px, 1px) rotate(-2deg); }
  40% { transform: translateX(-50%) translate(2px, -1px) rotate(2deg); }
  60% { transform: translateX(-50%) translate(-1px, -1px) rotate(-1deg); }
  80% { transform: translateX(-50%) translate(2px, 1px) rotate(1deg); }
}
.pocket-well:hover .portal-orbit-a {
  border-color: var(--orange);
  transform: translate(-50%, -50%) rotate(-17deg) scale(1.035);
}
.pocket-well:hover .portal-orbit-b {
  border-color: rgba(27, 27, 42, 0.42);
  transform: translate(-50%, -50%) rotate(64deg) scale(1.04);
}
.pocket-well:hover .portal-core {
  transform: translate(-50%, -50%) scale(1.055);
  box-shadow: 0 22px 44px rgba(27, 27, 42, 0.24), 0 0 0 12px rgba(255, 102, 0, 0.08);
}
.pocket-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -32px;
  color: var(--ink-strong);
  text-align: center;
}
.pocket-cta strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--orange);
}
.pocket-cta em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}
.pocket-pct {
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 30px;
  min-width: 48px;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.voyage-wrap { padding: 8px 24px 28px; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 8px 10px;
}
.section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--ink-strong);
}
html[lang="zh-CN"] .section-kicker { letter-spacing: 0.12em; }
.section-hint {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.map-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 8px 10px;
}
.map-bar button {
  border: 1px solid rgba(255, 102, 0, 0.22);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.map-bar button.on {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.map-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.map-bar [data-focus="account"] i { background: #ff8a3d; }
.map-bar [data-focus="software"] i { background: #ff6600; }
.map-bar [data-focus="consensus"] i { background: #c94b00; }

.voyage {
  position: relative;
  height: 620px;
  min-height: 620px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 86% 48%, rgba(255, 102, 0, 0.08), transparent 42%),
    #fff6ec;
  box-shadow: inset 0 0 0 1px rgba(255, 102, 0, 0.14);
  contain: layout paint;
}
.terrain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.terrain path {
  fill: none;
  stroke: rgba(255, 102, 0, 0.16);
  stroke-width: 0.35;
}
.compass {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 102, 0, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 250, 244, 0.8);
  z-index: 3;
}
.compass b {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.compass span {
  position: absolute;
  top: 8px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 12px solid var(--orange);
}
.trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.voyage.unfurl .comet { display: none; }
.voyage.unfurl .route.done .tube,
.voyage.unfurl .route.done .core {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: unfurl 1.35s ease forwards;
}
@keyframes unfurl {
  to { stroke-dashoffset: 0; }
}
.route path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.route .tube {
  stroke: #ff6600;
  stroke-width: 0.72;
}
.route .core {
  stroke: #fff7ee;
  stroke-width: 0.24;
}
.route .comet {
  stroke: #fff;
  stroke-width: 0.42;
  stroke-dasharray: 8 92;
  animation: comet 3.2s linear infinite;
}
.route.live .tube { stroke-width: 0.62; }
.route.frontier .tube {
  stroke: #ff8a3d;
  stroke-width: 0.36;
  stroke-dasharray: 1.2 1.7;
}
.route.frontier .core,
.route.frontier .comet { display: none; }
@keyframes comet {
  to { stroke-dashoffset: -100; }
}

.stations {
  position: absolute;
  inset: 0;
}
.voyage[data-focus="account"] .station:not(.account),
.voyage[data-focus="software"] .station:not(.software),
.voyage[data-focus="consensus"] .station:not(.consensus) {
  opacity: 0.16;
}
.voyage[data-focus="account"] .route:not(.account),
.voyage[data-focus="software"] .route:not(.software),
.voyage[data-focus="consensus"] .route:not(.consensus) {
  opacity: 0.12;
}
.traveler {
  position: absolute;
  z-index: 6;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.2);
  left: 10%;
  top: 56%;
  transition: left 0.38s ease, top 0.38s ease;
  pointer-events: none;
  opacity: 0;
}
.voyage.playing .traveler { opacity: 1; }
.station.passed .orb {
  transform: scale(1.18);
}
.station.hidden {
  opacity: 0.16;
  pointer-events: none;
}
.station.hidden .name, .station.hidden .now-tag { display: none; }
.station.frontier .orb {
  background: #fff;
  border-style: dashed;
}
.station.frontier .name { color: var(--orange); }
.station.awaken {
  animation: awaken 700ms cubic-bezier(0.2, 1.2, 0.3, 1);
}
@keyframes awaken {
  from { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.map-card {
  position: absolute;
  z-index: 8;
  width: min(340px, calc(100% - 24px));
  padding: 16px 36px 14px 16px;
  border-radius: 4px 18px 18px 18px;
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid rgba(255, 102, 0, 0.28);
  box-shadow: 0 16px 40px rgba(255, 102, 0, 0.16);
  transform: rotate(-0.8deg);
}
.map-card::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 6px 0 -4px #fffdf8;
}
.map-card[hidden] { display: none; }
.map-card .badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}
.map-card .badge.live, .map-card .badge.pending {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}
.map-card h2 { margin: 8px 0 0; font-size: 20px; color: var(--ink-strong); }
.map-card .summary { margin: 8px 0 0; font-size: 13px; line-height: 1.55; }
.map-card h3 { margin: 12px 0 6px; font-size: 10px; letter-spacing: 0.16em; color: var(--orange); }
.map-card ul { margin: 0; padding: 0; list-style: none; }
.map-card li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 102, 0, 0.1);
}
.map-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--orange);
}
.station {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.gadget {
  appearance: none;
  border: 0;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 0;
  color: inherit;
}
.station.account .name { order: -1; }
.orb {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 102, 0, 0.3);
}
.orb::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 102, 0, 0.18);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 220ms ease, transform 220ms ease;
}
.station:hover .orb::before,
.station.live .orb::before {
  opacity: 1;
  transform: scale(1);
}
.station.done .orb {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow:
    0 0 0 6px rgba(255, 102, 0, 0.12);
}
.station.live .orb {
  width: 22px;
  height: 22px;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 102, 0, 0.16);
  animation: pulse 1.8s ease-out infinite;
}
.station.horizon .orb {
  width: 28px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--orange);
  background: #fff;
  box-shadow: none;
}
.name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-strong);
  white-space: nowrap;
  background: #fffaf4;
  padding: 0 6px;
  line-height: 1.4;
}
.station.pending .name { color: #9a9ab3; }
.now-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--orange);
}
.station:hover { z-index: 5; }
.station:hover .orb { transform: scale(1.12); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.28); }
  100% { box-shadow: 0 0 0 12px rgba(255, 102, 0, 0); }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink-strong);
  color: #fff;
  padding: 10px 16px;
  font-size: 12px;
  opacity: 0;
  transition: 280ms ease;
  z-index: 90;
  border-radius: 999px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 72px 22px 8px;
    gap: 12px;
  }
  h1 { font-size: 52px; }
  .section-head, .foot { padding-left: 22px; padding-right: 22px; }
  .section-head { flex-direction: column; }
  .section-hint { text-align: left; }
  .voyage { height: auto; min-height: 0; }
  .trail, .compass { display: none; }
  .stations {
    position: relative;
    inset: auto;
    display: grid;
    gap: 2px;
    padding: 14px 12px 18px;
  }
  .station {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none;
  }
  .gadget {
    grid-template-columns: 24px 1fr;
    justify-items: start;
    width: 100%;
    padding: 10px 6px;
  }
  .station.horizon .orb { width: 18px; height: 24px; }
  .pocket-well { width: 286px; height: 198px; }
  .portal-orbit-a { width: 248px; height: 92px; }
  .portal-orbit-b { width: 196px; height: 132px; }
  .portal-core { width: 92px; height: 92px; }
  .portal-core svg { width: 50px; height: 50px; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .route .comet,
  .station.live .orb,
  .voyage.unfurl .route.done .tube,
  .voyage.unfurl .route.done .core {
    animation: none;
  }
  .trail, .stations, .traveler { transform: none; }
}

/* Flight chart v2: one migration spine, two purposeful branches. */
.voyage-wrap {
  width: 100%;
  max-width: 2400px;
  margin: 0 auto;
  padding: 24px clamp(20px, 3vw, 72px) 40px;
}
.section-head {
  align-items: flex-end;
  padding: 0 4px 16px;
}
.section-kicker {
  color: var(--ink-strong);
  font-size: 13px;
  letter-spacing: 0.18em;
}
.section-hint {
  max-width: 720px;
  margin: 0;
  color: #77778f;
  line-height: 1.55;
}
.map-bar {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 4px 14px;
}
.track-filters,
.status-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.map-bar button {
  min-height: 34px;
  border-color: rgba(27, 27, 42, 0.12);
  background: rgba(255, 253, 248, 0.86);
  color: #555568;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.map-bar button:hover {
  border-color: rgba(255, 102, 0, 0.48);
  color: #a94400;
  transform: translateY(-1px);
}
.map-bar button.on {
  border-color: var(--ink-strong);
  background: var(--ink-strong);
  color: #fff;
}
.status-legend {
  gap: 18px;
  color: #69697f;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.status-legend em {
  font-style: normal;
}
.status-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255, 102, 0, 0.35);
}
.status-legend i.done {
  border-color: var(--orange);
  background: var(--orange);
}
.status-legend i.live {
  border-color: var(--orange);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.13);
}
.status-legend i.planned {
  border-style: dashed;
}

.voyage {
  height: clamp(560px, 36vw, 760px);
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255, 102, 0, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 68% 48%, rgba(255, 102, 0, 0.025), transparent 34%),
    linear-gradient(180deg, #fffdf9 0%, #fffaf4 100%);
  box-shadow: 0 16px 48px rgba(53, 37, 24, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  isolation: isolate;
}
.voyage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(255, 102, 0, 0.025) 50%, transparent 50.1%),
    linear-gradient(180deg, transparent 0 49.9%, rgba(255, 102, 0, 0.03) 50%, transparent 50.1%);
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}
.lane-index {
  position: absolute;
  inset: 0 auto 0 22px;
  z-index: 1;
  width: 68px;
  pointer-events: none;
  color: rgba(79, 79, 105, 0.38);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.lane-index span {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
}
.lane-index .account { top: 23%; }
.lane-index .software { top: 50%; }
.lane-index .consensus { top: 77%; }

.trail {
  z-index: 1;
}
.route {
  opacity: 1;
  transition: opacity 220ms ease;
}
.route path {
  vector-effect: non-scaling-stroke;
}
.route .tube {
  stroke: rgba(255, 102, 0, 0.11);
  stroke-width: 7px;
}
.route .core {
  stroke: #f25c05;
  stroke-width: 2px;
}
.route.done .tube {
  stroke: rgba(255, 102, 0, 0.10);
}
.route.done .core {
  stroke: #f25c05;
}
.route.live .tube {
  stroke: rgba(255, 102, 0, 0.13);
  stroke-width: 9px;
}
.route.live .core {
  stroke: var(--orange);
  stroke-width: 2.5px;
}
.route.frontier .tube {
  display: block;
  stroke: rgba(255, 102, 0, 0.06);
  stroke-width: 8px;
  stroke-dasharray: none;
}
.route.frontier .core {
  display: block;
  stroke: rgba(255, 102, 0, 0.32);
  stroke-width: 1.5px;
  stroke-dasharray: 7 10;
}
.network-current path {
  fill: none;
  stroke-linecap: round;
  pointer-events: none;
}
.network-current .current-halo {
  stroke: rgba(255, 102, 0, 0.52);
  stroke-width: 1.35;
  stroke-dasharray: 2.4 97.6;
  filter: blur(1.6px);
  opacity: 0.55;
  animation: network-flow 9s linear infinite;
}
.network-current .current-pulse {
  stroke: #fffdf8;
  stroke-width: 0.48;
  stroke-dasharray: 1.35 98.65;
  filter: drop-shadow(0 0 2px rgba(255, 102, 0, 0.7));
  opacity: 0.7;
  animation: network-flow 9s linear infinite;
}
@keyframes network-flow {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}
.voyage.unfurl .route.done .tube,
.voyage.unfurl .route.done .core {
  animation-duration: 900ms;
}
.voyage[data-focus="account"] .station:not(.account),
.voyage[data-focus="software"] .station:not(.software),
.voyage[data-focus="consensus"] .station:not(.consensus) {
  opacity: 0.1;
}
.voyage[data-focus="account"] .route:not(.account),
.voyage[data-focus="software"] .route:not(.software),
.voyage[data-focus="consensus"] .route:not(.consensus) {
  opacity: 0.08;
}

.stations {
  z-index: 2;
}
.station {
  transition: opacity 220ms ease, filter 220ms ease;
}
.gadget {
  gap: 8px;
  border-radius: 12px;
}
.gadget:focus-visible,
.map-bar button:focus-visible,
.map-card button:focus-visible,
.map-card a:focus-visible {
  outline: 2px solid var(--ink-strong);
  outline-offset: 4px;
}
.orb {
  width: 15px;
  height: 15px;
  border: 1.5px solid rgba(255, 102, 0, 0.34);
  background: #fffdf8;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.station.done .orb {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 102, 0, 0.09);
}
.station.live .orb {
  width: 19px;
  height: 19px;
  border: 2px solid var(--orange);
  background: #fffdf8;
  box-shadow: 0 0 0 5px rgba(255, 102, 0, 0.12);
  animation: live-ring 2.6s ease-out infinite;
}
.station.live .orb::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--ink-strong);
}
.station.live .orb::before {
  inset: -9px;
  border: 0;
  background: conic-gradient(from 0deg, transparent 0 72%, rgba(255, 102, 0, 0.85) 88%, transparent 100%);
  opacity: 1;
  transform: none;
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 61%);
  mask: radial-gradient(circle, transparent 58%, #000 61%);
  animation: live-orbit 5.8s linear infinite;
}
.station.frontier .orb,
.station.planned .orb {
  border: 1.5px dashed rgba(255, 102, 0, 0.62);
  background: #fffdf8;
}
.station.horizon .orb {
  width: 27px;
  height: 27px;
  border: 1.5px solid rgba(255, 102, 0, 0.68);
  border-radius: 50%;
  background: #fffdf8;
  box-shadow: 0 0 0 7px rgba(255, 102, 0, 0.065), 0 0 0 12px rgba(255, 102, 0, 0.025);
}
.station.horizon .orb::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.38);
}
.station:hover .orb,
.station.pinned .orb {
  transform: scale(1.16);
}
.station:hover .name,
.station.pinned .name {
  color: #a84400;
}
.name {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.82);
  box-shadow: 0 0 6px 3px rgba(255, 250, 244, 0.6);
  color: #262638;
  font-size: 12px;
  line-height: 1.3;
  width: max-content;
  max-width: var(--label-width, 224px);
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  text-wrap: balance;
  hyphens: auto;
  transform: translateY(var(--label-nudge, 0px));
  transition: color 180ms ease, transform 180ms ease;
}
.station.pending .name,
.station.frontier .name {
  color: #626278;
}
.now-tag {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fffdf8;
  color: #ad4500;
  box-shadow: 0 0 0 1px rgba(255, 102, 0, 0.16);
  font-size: 8px;
  line-height: 1;
}
@keyframes live-ring {
  0%, 35% { box-shadow: 0 0 0 5px rgba(255, 102, 0, 0.13), 0 0 0 6px rgba(255, 102, 0, 0); }
  100% { box-shadow: 0 0 0 5px rgba(255, 102, 0, 0.06), 0 0 0 16px rgba(255, 102, 0, 0); }
}
@keyframes live-orbit {
  to { transform: rotate(1turn); }
}

.map-card {
  top: 18px;
  right: 18px;
  left: auto;
  width: min(400px, calc(100% - 36px));
  max-height: calc(100% - 36px);
  overflow: auto;
  padding: 22px 44px 22px 22px;
  border: 1px solid rgba(27, 27, 42, 0.12);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.975);
  color: #4b4b60;
  box-shadow: 0 22px 54px rgba(35, 28, 22, 0.13);
  transform: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 102, 0, 0.3) transparent;
}
.map-card[data-side="left"] {
  right: auto;
  left: 18px;
}
.map-card::before { display: none; }
.map-card .card-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #77778e;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.map-card .badge {
  background: var(--ink-strong);
  color: #fff;
  letter-spacing: 0.08em;
}
.map-card .badge.live {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.map-card .badge.pending {
  border-color: rgba(255, 102, 0, 0.36);
  background: transparent;
  color: #a94400;
}
.map-card h2 {
  margin-top: 12px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.08;
}
.map-card .summary {
  margin-top: 10px;
  color: #343448;
  font-size: 14px;
  line-height: 1.62;
}
.map-card .card-body {
  margin: 12px 0 0;
  color: #66667b;
  font-size: 13px;
  line-height: 1.72;
}
.map-card .detail-points {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.map-card .detail-points li {
  position: relative;
  margin: 0;
  padding: 0 0 0 15px;
  border: 0;
  color: #5d5d72;
  font-size: 13px;
  line-height: 1.62;
}
.map-card .detail-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.08);
}
.map-card .card-context {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 102, 0, 0.045);
}
.map-card .card-context h3 {
  margin-top: 0;
}
.map-card .card-context p {
  margin: 0;
  color: #4e4e63;
  font-size: 12px;
  line-height: 1.55;
}
.map-card nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.map-card nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a74300;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.map-card nav a:hover { text-decoration: underline; }
.map-card h3 {
  margin-top: 18px;
  color: #a74300;
}
.map-card li {
  color: #4e4e63;
  line-height: 1.48;
}
.card-close {
  top: 13px;
  right: 13px;
  border-radius: 50%;
}
.card-close:hover {
  background: rgba(27, 27, 42, 0.06);
  color: var(--ink-strong);
}
.card-tools {
  flex-wrap: wrap;
  padding-top: 4px;
}
.card-tools button:disabled {
  cursor: not-allowed;
  border-color: rgba(27, 27, 42, 0.12);
  background: rgba(27, 27, 42, 0.035);
  color: rgba(66, 66, 87, 0.38);
}
.stage-lock {
  margin: 9px 0 0;
  color: #a74300;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
}

/* Scale the presentation with the viewport instead of freezing it at laptop width. */
@media (min-width: 981px) {
  .hero {
    width: 100%;
    max-width: 2400px;
    min-height: clamp(500px, 54vh, 720px);
    margin: 0 auto;
    padding: clamp(24px, 3vw, 68px) clamp(28px, 4vw, 96px) clamp(20px, 2vw, 40px);
    grid-template-columns: minmax(420px, 0.86fr) minmax(560px, 1.14fr);
    gap: clamp(40px, 5vw, 112px);
  }
  .hero-copy {
    width: 100%;
    max-width: 860px;
  }
  h1 {
    font-size: clamp(70px, 5.8vw, 132px);
  }
  h1 .product {
    margin-top: clamp(10px, 1vw, 18px);
  }
  .stats {
    gap: clamp(28px, 2.4vw, 54px);
    margin-top: clamp(22px, 2vw, 38px);
  }
  .stat-n {
    font-size: clamp(27px, 1.8vw, 40px);
  }
  .stat-l {
    font-size: clamp(11px, 0.72vw, 14px);
  }
  .draw-stage {
    min-height: clamp(430px, 48vh, 600px);
  }
  .dispatch {
    max-width: clamp(400px, 27vw, 520px);
    padding: clamp(18px, 1.35vw, 28px);
  }
  .dispatch h2 {
    font-size: clamp(23px, 1.65vw, 34px);
    line-height: 1.14;
  }
  .dispatch p {
    font-size: clamp(13px, 0.88vw, 17px);
  }
  .dispatch button {
    padding: 10px 15px;
    font-size: 13px;
  }
  .pocket-well {
    width: clamp(330px, 24vw, 460px);
    height: clamp(230px, 17vw, 330px);
  }
  .portal-orbit-a {
    width: 84%;
    height: 42%;
  }
  .portal-orbit-b {
    width: 66%;
    height: 62%;
  }
  .portal-core {
    width: clamp(104px, 7vw, 148px);
    height: clamp(104px, 7vw, 148px);
  }
  .portal-core svg {
    width: 55%;
    height: 55%;
  }
  .pocket-pct {
    right: 9%;
    top: 12%;
    font-size: clamp(12px, 0.85vw, 16px);
  }
  .section-kicker {
    font-size: clamp(13px, 0.78vw, 16px);
  }
  .name {
    font-size: clamp(11px, 0.7vw, 15px);
  }
}

@media (min-width: 1500px) {
  .draw-stage {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
    align-items: center;
    justify-items: center;
    padding: 20px 0 32px;
  }
  .dispatch {
    align-self: start;
    justify-self: end;
    margin: 26px -24px 0 0;
  }
  .pocket-well {
    align-self: end;
    justify-self: start;
    margin: 0 0 8px -10px;
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .voyage-wrap { padding-inline: 20px; }
  .voyage { height: 560px; }
  .name { font-size: 10px; }
  .map-card { width: 350px; }
}

@media (max-width: 980px) {
  .voyage-wrap { padding: 22px 14px 32px; }
  .section-head {
    align-items: flex-start;
    padding-inline: 4px;
  }
  .map-bar {
    align-items: flex-start;
    padding-inline: 4px;
  }
  .status-legend { gap: 12px; }
  .voyage {
    height: auto;
    min-height: 0;
    padding: 10px;
    border-radius: 22px;
    overflow: visible;
  }
  .voyage::before,
  .trail,
  .lane-index,
  .traveler { display: none; }
  .stations {
    display: grid;
    gap: 0;
    padding: 0;
    transform: none;
  }
  .station {
    min-height: 50px;
    border-bottom: 1px solid rgba(27, 27, 42, 0.075);
  }
  .station:last-child { border-bottom: 0; }
  .station.hidden { display: none; }
  .gadget {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 9px 8px;
  }
  .gadget .orb {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .gadget .name {
    grid-column: 2;
    grid-row: 1;
    order: initial;
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    width: auto;
    max-width: none;
    white-space: normal;
    text-align: left;
    transform: none;
  }
  .gadget .now-tag {
    grid-column: 3;
    grid-row: 1;
    order: initial;
  }
  .station.account .name { order: initial; }
  .station.horizon .orb { width: 22px; height: 22px; }
  .map-card,
  .map-card[data-side="left"] {
    position: relative;
    inset: auto;
    width: 100%;
    max-height: none;
    margin-top: 10px;
    padding: 20px 42px 20px 18px;
    border-radius: 16px;
  }
}

@media (max-width: 720px) {
  .nav-actions { gap: 5px; }
  .progress-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .network-current,
  .portal-doc-link:hover,
  .portal-doc-link:focus-visible,
  .station.live .orb,
  .station.live .orb::before,
  .voyage.unfurl .route.done .tube,
  .voyage.unfurl .route.done .core {
    animation: none;
  }
  .network-current { display: none; }
}

/* Local typography study: technical, distinctive, and readable in both languages. */
.brand,
.nav-btn,
h1,
h1 .product,
.stat-n,
.dispatch h2,
.gadget-card h2,
.section-kicker,
.station .name,
.map-card h2,
.pocket-cta strong {
  font-family: var(--font-display);
}

h1 {
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

h1 .product {
  font-weight: 600;
  letter-spacing: 0.075em;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.2em;
}

.nav-btn,
.section-kicker {
  font-weight: 600;
}

.stat-n {
  font-weight: 600;
  letter-spacing: -0.035em;
}

.stat-l {
  font-weight: 500;
  letter-spacing: 0.12em;
}

.dispatch .k,
.progress-chip,
.pocket-pct,
.now-tag,
.status-legend,
.lane-index,
.map-card .card-eyebrow,
.map-card h3,
.stage-lock {
  font-family: var(--mono);
}

.dispatch h2,
.gadget-card h2,
.map-card h2 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.dispatch p,
.gadget-card .summary,
.map-card .summary,
.map-card .card-body,
.map-card .detail-points,
.map-card .card-context,
.map-card nav {
  font-family: var(--font-copy);
}

.station .name {
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.28;
}

html[lang="zh-CN"] .brand,
html[lang="zh-CN"] .nav-btn,
html[lang="zh-CN"] .section-kicker,
html[lang="zh-CN"] .stat-l,
html[lang="zh-CN"] .station .name,
html[lang="zh-CN"] .dispatch h2,
html[lang="zh-CN"] .gadget-card h2,
html[lang="zh-CN"] .map-card h2 {
  letter-spacing: 0.01em;
}

html[lang="zh-CN"] .station .name {
  line-height: 1.45;
}

/* Opening composition: an editorial briefing above the flight chart. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero,
.voyage-wrap {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(56px, 8vw, 150px);
  align-items: center;
  padding-top: 36px;
  padding-bottom: 40px;
}

.hero-copy {
  display: block;
  width: 100%;
  max-width: 480px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 4.6vw, 76px);
  line-height: 0.92;
}

.hero h1 .product {
  margin-top: 12px;
  font-size: 0.32em;
  letter-spacing: 0.09em;
}

.journey-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  margin-top: 25px;
}

.progress-track {
  display: flex;
  flex: 1;
  gap: 4px;
}

.progress-track i {
  flex: 1;
  height: 3px;
  border-radius: 1px;
  background: rgba(27, 27, 42, 0.1);
}

.progress-track .done { background: var(--orange); }
.progress-track .live { background: rgba(255, 102, 0, 0.42); }

.progress-pct {
  min-width: 3ch;
  font-family: var(--mono);
  font-size: 10px;
  color: #9f4000;
}

.hero .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 10px 0 0;
}

.stats > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero .stat-n {
  font-size: 20px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero .stat-l {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  color: #757583;
}

.draw-stage {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

.dispatch {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0;
  padding-block: 4px;
  padding-inline: 32px 0;
  border: 0;
  border-inline-start: 1px solid rgba(255, 102, 0, 0.22);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  transform: none;
}

.dispatch-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}

.dispatch .k {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a94400;
}

.dispatch .k i {
  position: absolute;
  top: 3px;
  inset-inline-start: -37px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(255, 102, 0, 0.16);
}

.dispatch[data-status="done"] .k i { background: var(--orange); }
.dispatch[data-status="pending"] .k i { border-style: dashed; }



.dispatch h2 {
  max-width: 22ch;
  margin: 16px 0 0;
  font-size: clamp(25px, 2.05vw, 34px);
  line-height: 1.16;
  text-wrap: balance;
}

.dispatch p {
  max-width: 55ch;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #656574;
}

.dispatch button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-strong);
  font-size: 12px;
  font-weight: 600;
}

.dispatch-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 102, 0, 0.35);
  border-radius: 50%;
  color: var(--orange);
  font-size: 18px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.dispatch button:hover .dispatch-arrow {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.voyage-wrap { padding-top: 0; }

.section-head {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 18px 0 14px;
  border-top: 1px solid rgba(27, 27, 42, 0.12);
}

.section-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.status-legend {
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.035em;
  color: #777783;
}

.status-legend i {
  width: 7px;
  height: 7px;
}

.map-bar {
  align-items: center;
  gap: 12px 24px;
  min-height: 48px;
  padding: 0 0 12px;
}

.track-filters { gap: 4px; }

.track-filters button {
  position: relative;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.035em;
  color: #777783;
}

.track-filters button::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  background: transparent;
}

.track-filters button.on {
  background: transparent;
  color: var(--ink-strong);
}

.track-filters button.on::after { background: var(--orange); }

.track-filters button:hover {
  background: transparent;
  color: var(--ink-strong);
  transform: none;
}

.track-filters i { width: 6px; height: 6px; }

.map-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-inline-start: auto;
}

.map-article,
.map-bar .map-replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  color: #777783;
  transition: color 180ms ease;
}

.map-article { color: #a94400; }
.map-article b { color: var(--orange); font-size: 16px; font-weight: 400; }
.map-replay svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.3; }

.map-article:hover,
.map-bar .map-replay:hover {
  color: var(--ink-strong);
  transform: none;
}

.nav a:focus-visible,
.nav button:focus-visible,
.dispatch button:focus-visible,
.map-bar a:focus-visible,
.map-bar button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}

@media (min-width: 981px) {
  .voyage {
    height: clamp(460px, calc(100svh - 450px), 650px);
    min-height: 460px;
    border-radius: 22px;
  }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .hero { gap: 48px; }
  .dispatch { padding-inline-start: 24px; }
  .dispatch .k i { inset-inline-start: -29px; }
  .dispatch h2 { font-size: 25px; }
  .dispatch p { font-size: 13px; }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero h1 { font-size: 54px; }
  .hero .stats { gap: 10px 16px; }
  .hero .stat-n { font-size: 16px; }
  .hero .stat-l { font-size: 9px; }
  .dispatch { padding-inline-start: 24px; }
  .dispatch .k i { inset-inline-start: -29px; }
  .dispatch h2 { font-size: 24px; }
  .dispatch p { font-size: 13px; }
  .status-legend { gap: 14px; }
  .map-meta { gap: 18px; }
}

@media (max-width: 720px) {
  :root { --page-gutter: 20px; }
  .nav { height: 64px; }
  .brand { width: clamp(112px, 30vw, 156px); max-width: 100%; }
  .nav-btn { padding-inline: 6px; font-size: 11px; letter-spacing: 0.06em; }
  .curator-banner { top: 64px; padding-inline: 20px; }
  .hero,
  .voyage-wrap { padding-inline: var(--page-gutter); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 24px; }
  .hero h1 { font-size: clamp(52px, 12vw, 64px); }
  .hero-copy { max-width: none; }
  .journey-progress { max-width: 330px; margin-top: 22px; }
  .hero .stats { gap: 12px 24px; }
  .hero .stat-n { font-size: 18px; }
  .hero .stat-l { font-size: 10px; }
  .dispatch { max-width: none; }
  .dispatch-meta { gap: 6px 16px; }
  .dispatch h2 { margin-top: 12px; font-size: 25px; }
  .dispatch p { margin-top: 10px; }
  .dispatch button { margin-top: 12px; }
  .section-head { flex-wrap: wrap; gap: 12px; padding-block: 18px 10px; }
  .section-kicker { width: 100%; }
  .map-bar { gap: 4px; padding-bottom: 12px; }
  .track-filters { width: 100%; gap: 0; justify-content: space-between; }
  .track-filters button { min-height: 44px; padding-inline: 7px; font-size: 9px; gap: 5px; }
  .track-filters button::after { right: 7px; left: 7px; }
  .map-meta { width: 100%; gap: 24px; margin: 0; }
  .map-article,
  .map-bar .map-replay { min-height: 44px; }
}

/* Language selection: one quiet entry, usable with hover, touch, and keyboard. */
.nav { direction: ltr; }
.language-picker { position: relative; }
.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0 8px 10px;
  font-family: var(--font-copy);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 4px;
}
.language-trigger svg { flex: none; stroke: currentColor; stroke-width: 1.2; }
.language-globe { width: 17px; height: 17px; }
.language-chevron { width: 12px; height: 12px; transition: transform 160ms ease; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-trigger:hover { color: #a94400; }
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: 196px;
  max-width: calc(100vw - 40px);
  padding: 10px;
  border: 1px solid rgba(129, 95, 63, 0.16);
  border-radius: 28px;
  background: #fffdf9;
  box-shadow: 0 20px 44px -16px rgba(44, 29, 17, 0.24), 0 3px 8px rgba(44, 29, 17, 0.04), inset 0 1px 0 #fff;
  transform-origin: top right;
}
.language-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.language-menu::after { content: none; }
.language-menu:not([hidden]) { animation: language-menu-in 280ms cubic-bezier(0.2, 0.8, 0.2, 1.15) both; }
.language-menu[hidden] { display: none; }
.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-copy);
  font-size: 14px;
  text-align: start;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.language-menu button + button { margin-top: 4px; }
.language-menu:not([hidden]) button { animation: language-option-in 220ms ease-out both; }
.language-menu:not([hidden]) button:nth-child(2) { animation-delay: 35ms; }
.language-menu:not([hidden]) button:nth-child(3) { animation-delay: 70ms; }
.language-menu [lang="ar"] { font-family: "Noto Sans Arabic", sans-serif; }
.language-menu button:hover,
.language-menu button:focus-visible { background: rgba(255, 102, 0, 0.06); color: #a94400; }
.language-menu button:focus-visible { outline-offset: -2px; }
.language-menu button[aria-checked="true"] { color: #a94400; background: rgba(255, 102, 0, 0.065); border-color: rgba(255, 102, 0, 0.1); }
@keyframes language-menu-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes language-option-in {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .language-menu:not([hidden]), .language-menu:not([hidden]) button { animation: none; }
  .language-menu button { transition: none; }
}

/* Arabic text reads right to left inside the shared, fixed page composition. */
html[lang="ar"] {
  --font-display: "Space Grotesk", "Noto Sans Arabic", ui-sans-serif, system-ui, sans-serif;
  --font-copy: "Noto Sans Arabic", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Noto Sans Arabic", ui-monospace, monospace;
}
html[lang="ar"] .hero h1 { direction: ltr; text-align: left; }
html[lang="ar"] .hero h1 .product { letter-spacing: 0.06em; }
html[lang="ar"] .dispatch h2,
html[lang="ar"] .map-card h2 { max-width: none; line-height: 1.55; letter-spacing: 0; }
html[lang="ar"] .dispatch p,
html[lang="ar"] .map-card .summary,
html[lang="ar"] .map-card .card-body,
html[lang="ar"] .map-card .detail-points li,
html[lang="ar"] .map-card .card-context p { line-height: 1.9; }
html[lang="ar"] .section-kicker,
html[lang="ar"] .status-legend,
html[lang="ar"] .stat-l,
html[lang="ar"] .dispatch .k,
html[lang="ar"] .track-filters button,
html[lang="ar"] .map-article,
html[lang="ar"] .map-replay,
html[lang="ar"] .map-card .card-eyebrow,
html[lang="ar"] .map-card h3,
html[lang="ar"] .stage-lock,
html[lang="ar"] .now-tag,
html[lang="ar"] .lane-index { font-family: var(--font-copy); letter-spacing: 0; }
html[lang="ar"] .stat-n,
html[lang="ar"] .progress-pct { direction: ltr; font-family: var(--font-copy); }
html[lang="ar"] .section-kicker { font-size: 13px; text-align: left; }
html[lang="ar"] .status-legend,
html[lang="ar"] .hero .stat-l { font-size: 11px; }
html[lang="ar"] .dispatch .k,
html[lang="ar"] .track-filters button,
html[lang="ar"] .map-article,
html[lang="ar"] .map-replay { font-size: 12px; }
html[lang="ar"] .dispatch .k i { top: 5px; }
html[lang="ar"] .dispatch-arrow { transform: scaleX(-1); }
html[lang="ar"] .voyage { direction: ltr; }
html[lang="ar"] .map-card { direction: rtl; }
html[lang="ar"] .station .name { letter-spacing: 0; line-height: 1.6; font-size: 12px; }
html[lang="ar"] .now-tag { font-size: 10px; line-height: 1.3; }
html[lang="ar"] .map-card { padding-inline: 22px 44px; text-align: start; }
html[lang="ar"] .map-card .card-eyebrow { flex-wrap: wrap; }
html[lang="ar"] .card-close { right: auto; left: 13px; }
html[lang="ar"] .detail-points li { padding-right: 15px; padding-left: 0; }
html[lang="ar"] .detail-points li::before { left: auto; right: 0; }
html[lang="ar"] .curator-banner { letter-spacing: 0; }
@media (max-width: 980px) {
  html[lang="ar"] .gadget .name { text-align: start; font-size: 13px; }
}
@media (max-width: 720px) {
  .language-trigger { gap: 6px; font-size: 11px; }
  html[lang="ar"] .hero h1 { text-align: left; }
  html[lang="ar"] .hero .stats { gap: 10px 18px; }
  html[lang="ar"] .section-kicker { font-size: 12px; }
  html[lang="ar"] .track-filters button { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .language-chevron { transition: none; }
}

/* A quiet chart toolbar; supporting labels appear only where they are useful. */
.chart-toolbar {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding-block: 16px;
  border-top: 1px solid rgba(27, 27, 42, 0.12);
}
.chart-toolbar .section-head { flex: none; min-height: 0; padding: 0; border: 0; }
.hero-context .map-title {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(27, 27, 42, 0.16);
  font-family: var(--font-copy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  white-space: nowrap;
  color: var(--ink-strong);
}
.chart-toolbar .map-bar { flex: 1; min-width: 0; min-height: 44px; padding: 0; }
.map-bar .map-replay {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(27, 27, 42, 0.1);
  border-radius: 50%;
}
.map-bar .map-replay:hover { color: var(--orange); border-color: rgba(255, 102, 0, 0.35); }
.map-replay svg { width: 17px; height: 17px; }
.replay-tooltip {
  position: absolute;
  inset-inline-end: 0;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--ink-strong);
  color: #fffaf4;
  font-family: var(--font-copy);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(3px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}
.map-replay:hover .replay-tooltip,
.map-replay:focus-visible .replay-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.station .orb { transition: transform 260ms ease, box-shadow 260ms ease; }
.gadget:focus-visible { outline: 2px solid var(--orange); outline-offset: 8px; border-radius: 8px; }
.voyage.inspecting .network-current { opacity: 0; }
.voyage.inspecting .station { opacity: 0.24; }
.voyage.inspecting .station.related { opacity: 0.65; }
.voyage.inspecting .station.pinned { opacity: 1; }
.voyage.inspecting .station.pinned .orb { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(255, 102, 0, 0.12), 0 0 0 18px rgba(255, 102, 0, 0.04); }
.voyage.inspecting .route { opacity: 0.14; }
.voyage.inspecting .route.related { opacity: 1; }

/* The detail sheet shares the map's warm surface, fine lines, and orbital markers. */
html { scrollbar-gutter: stable; }
html.detail-open,
html.detail-open body { overflow: hidden; }
.waypoint-dialog {
  position: fixed;
  inset: 0;
  width: min(720px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100svh - 64px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.waypoint-dialog:not([open]) { display: none; }
.waypoint-dialog::backdrop {
  background: rgba(33, 29, 26, 0.18);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.waypoint-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - 64px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 102, 0, 0.19);
  border-radius: 24px;
  background: linear-gradient(135deg, #fffefa, #fffaf4);
  box-shadow: 0 32px 96px rgba(35, 28, 22, 0.2), 0 6px 20px rgba(35, 28, 22, 0.06), inset 0 1px 0 #fff;
}
.waypoint-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.6), transparent);
}
.waypoint-scroll {
  min-height: 0;
  padding: 32px 36px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 102, 0, 0.2) transparent;
}
.waypoint-close {
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(27, 27, 42, 0.08);
  border-radius: 50%;
  background: #fffdf8;
  color: #777783;
  transition: color 160ms ease, background 160ms ease;
}
.waypoint-close:hover { color: var(--ink-strong); background: #f3eee7; }
.waypoint-dialog svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; flex: none; }
.waypoint-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-height: 22px;
  padding-inline-end: 44px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.waypoint-status { display: inline-flex; align-items: center; gap: 9px; color: #a94400; }
.waypoint-lane { color: #83838d; }
.node-status {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 102, 0, 0.6);
  background: transparent;
}
.node-status.done { border-style: solid; border-color: var(--orange); background: var(--orange); }
.node-status.live { border: 1.5px solid var(--orange); box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1); }
.waypoint-header h2 {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
  outline: none;
}
.waypoint-summary {
  max-width: 64ch;
  margin: 18px 0 0;
  color: #606070;
  font-size: 15px;
  line-height: 1.7;
}
.waypoint-sections { margin-top: 28px; border-top: 1px solid rgba(27, 27, 42, 0.09); }
.waypoint-section { border-bottom: 1px solid rgba(27, 27, 42, 0.09); }
.waypoint-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  padding-block: 12px;
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.waypoint-section summary::-webkit-details-marker { display: none; }
.waypoint-section summary svg { width: 16px; height: 16px; color: #858590; transition: transform 180ms ease; }
.waypoint-section[open] summary svg { transform: rotate(180deg); }
.waypoint-section-body { padding-bottom: 22px; color: #656575; font-size: 14px; line-height: 1.75; }
.waypoint-section-body p { margin: 0; }
.waypoint-section-body ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.waypoint-section-body li { position: relative; padding-inline-start: 16px; }
.waypoint-section-body li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.75em; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 102, 0, 0.6); }
.waypoint-connections { margin-top: 26px; }
.waypoint-connections h3 {
  margin: 0 0 12px;
  color: #888893;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.waypoint-dependencies { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 8px; }
.waypoint-dependency {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(27, 27, 42, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  color: #575766;
  font-family: var(--font-copy);
  font-size: 11px;
  line-height: 1.45;
  text-align: start;
  transition: background 180ms ease, border-color 180ms ease;
}
.waypoint-dependency span { flex: 1; }
.waypoint-dependency .node-status { width: 6px; height: 6px; }
.waypoint-dependency svg { width: 14px; height: 14px; color: #a5a5ae; }
.waypoint-dependency:hover { border-color: rgba(255, 102, 0, 0.28); background: #fff; }
.waypoint-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex: none;
  padding: 10px 24px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(27, 27, 42, 0.08);
  background: rgba(247, 242, 235, 0.65);
}
.waypoint-footer button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #646474;
  font-size: 12px;
  font-weight: 500;
}
.waypoint-footer button:hover:enabled { color: #a94400; background: rgba(255, 102, 0, 0.035); }
.waypoint-footer button:disabled { opacity: 0.3; cursor: default; }
.waypoint-previous svg { transform: rotate(180deg); }
.waypoint-dialog button:focus-visible,
.waypoint-dialog summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.waypoint-dialog .card-tools { margin-top: 20px; }
html[lang="zh-CN"] .waypoint-header h2 { line-height: 1.4; letter-spacing: 0; }
html[lang="ar"] .waypoint-header h2 { line-height: 1.5; letter-spacing: 0; }
html[lang="ar"] .waypoint-summary,
html[lang="ar"] .waypoint-section-body { line-height: 1.9; }
html[lang="ar"] .waypoint-eyebrow,
html[lang="ar"] .waypoint-connections h3 { font-family: var(--font-copy); letter-spacing: 0; font-size: 11px; }
html[lang="ar"] .waypoint-dependency { font-size: 12px; }
html[dir="rtl"] .waypoint-next svg,
html[dir="rtl"] .waypoint-dependency svg { transform: rotate(180deg); }
html[dir="rtl"] .waypoint-previous svg { transform: none; }
@media (max-width: 1100px) {
  .chart-toolbar { flex-wrap: wrap; gap: 10px 24px; }
  .chart-toolbar .section-head { width: 100%; }
}
@media (max-width: 720px) {
  .chart-toolbar { gap: 10px; padding-block: 18px 12px; }
  .chart-toolbar .map-meta { justify-content: space-between; }
  .map-bar .map-replay { width: 44px; min-height: 44px; }
  .waypoint-dialog { inset: auto 0 0; width: 100%; max-height: calc(100svh - 32px); margin: 0; }
  .waypoint-sheet { max-height: min(88svh, 860px); border-radius: 22px 22px 0 0; border-bottom: 0; }
  .waypoint-scroll { padding: 28px 24px 24px; }
  .waypoint-close { inset-block-start: 14px; inset-inline-end: 14px; }
  .waypoint-header h2 { margin-top: 22px; font-size: 28px; line-height: 1.2; }
  .waypoint-summary { margin-top: 16px; font-size: 14px; }
  .waypoint-sections { margin-top: 24px; }
  .waypoint-dependencies { grid-template-columns: 1fr; }
  .waypoint-dependency { min-height: 50px; font-size: 12px; }
  .waypoint-footer { padding-inline: 12px; }
  .waypoint-footer button { gap: 8px; padding-inline: 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .replay-tooltip,
  .waypoint-section summary svg,
  .waypoint-dependency { transition: none; }
}

/* The flight chart is the opening view; the heading and design entry share one masthead. */
.hero {
  display: block;
  padding-block: 20px 24px;
}
.hero-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}
.hero h1 {
  flex: none;
  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 1;
}
.hero .metal-title { display: flex; direction: ltr; }
.hero .metal-title .lead { flex: none; }
.hero-identity { flex: none; max-width: 100%; }
.hero-context {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-top: 10px;
  direction: ltr;
}
.hero-context .product {
  display: block;
  flex: none;
  width: fit-content;
  color: var(--ink-strong);
  font-family: var(--font-copy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-decoration: none;
}
.hero-context .product:hover { color: var(--orange); }
.hero-context .product:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.hero .stats { justify-content: space-between; gap: 8px 20px; margin-top: 12px; }
.hero .stat-n { font-size: 20px; }
.hero .stat-l { font-size: 10px; }
.station .name { transition: color 180ms ease; }

@media (min-width: 981px) {
  body { display: flex; flex-direction: column; height: 100svh; min-height: 540px; }
  .nav,
  .hero,
  .curator-banner { flex: none; }
  .voyage-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding-bottom: 20px;
  }
  .chart-toolbar { flex: none; flex-wrap: nowrap; gap: clamp(16px, 2vw, 32px); padding-block: 10px; }
  .chart-toolbar .section-head { width: auto; }
  .chart-toolbar .map-bar { justify-content: flex-end; gap: 12px; }
  .chart-toolbar .map-meta { gap: 16px; }
  .voyage { flex: 1; height: auto; min-height: 300px; }
  .station .name { font-size: clamp(11px, 0.7vw, 15px); }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .track-filters button { padding-inline: 9px; font-size: 10px; }
}

@media (max-width: 980px) {
  .hero { padding-block: 18px 20px; }
  .hero h1 { font-size: 34px; }
  .hero .stat-n { font-size: 17px; }
  .hero .stat-l { font-size: 9px; }
  .chart-toolbar { gap: 6px 16px; padding-block: 12px; }
  .voyage-wrap { padding-top: 0; }
}

@media (max-width: 720px) {
  .nav { height: 56px; }
  .curator-banner { top: 56px; }
  .hero-copy { flex-direction: column; align-items: stretch; gap: 20px; }
  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero-context { margin-top: 8px; gap: 14px; }
  .hero-context .product { font-size: 11px; }
  .hero-context .map-title { padding-left: 14px; font-size: 11px; }
  .hero .stats { margin-top: 8px; gap: 8px 16px; }
  .hero .stat-n { font-size: 17px; }
  .hero .stat-l { font-size: 10px; }
  .chart-toolbar { gap: 8px; }
  .chart-toolbar .map-bar { gap: 0; }
  .chart-toolbar .map-meta { gap: 12px; }
}

/* Editorial entry to the migration design, shared across all node states. */
.hero { padding-block: 26px 16px; }
.hero-copy { align-items: center; }
/* Compact architecture capsule; the complete surface is one link. */
.design-entry {
  display: inline-flex;
  flex: none;
  flex-direction: column;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 54px;
  margin-block-start: 0;
  padding: 8px 10px 8px 22px;
  border: 0;
  border-radius: 999px;
  background: #fff0e5;
  color: var(--ink-strong);
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}
.design-entry-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  font-family: var(--font-copy);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.012em;
}
.design-entry-row > span { min-width: 0; }
.design-entry-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
}
.design-entry-arrow {
  display: block;
  width: 22px;
  height: 22px;
  transition: transform 180ms ease;
}
.design-entry:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.design-entry:active { transform: translateY(1px); }
html[lang="ar"] .design-entry { padding-inline: 22px 10px; }
html[lang="ar"] .design-entry-row { font-size: 17px; line-height: 1.5; letter-spacing: 0; }
html[lang="zh-CN"] .design-entry-row { letter-spacing: 0.025em; }

@media (hover: hover) and (pointer: fine) {
  .design-entry:hover { background: #ffe7d6; }
  .design-entry:hover .design-entry-arrow { transform: translate(2px, -2px); }
}
@media (min-width: 981px) {
  .chart-toolbar { padding-block: 12px; }
}
@media (max-width: 980px) {
  .hero { padding-block: 18px 20px; }
  .design-entry-row { font-size: 17px; }
}
@media (max-width: 720px) {
  .hero-copy { align-items: stretch; }
  .design-entry { min-height: 50px; padding: 7px 9px 7px 18px; }
  html[lang="ar"] .design-entry { padding-inline: 18px 9px; }
  .design-entry-row { font-size: 16px; gap: 12px; }
  .design-entry-icon { flex-basis: 36px; width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .design-entry,
  .design-entry-arrow { transition: none; }
  .design-entry:hover .design-entry-arrow,
  .design-entry:active { transform: none; }
}

/* Display type carries the identity; reading type keeps milestone labels clear. */
.station .name {
  font-family: var(--font-copy);
  font-size: clamp(12px, 0.78vw, 15px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  hyphens: none;
}
html[lang="zh-CN"] .station .name { line-height: 1.5; letter-spacing: 0.01em; }
html[lang="ar"] .station .name { line-height: 1.7; letter-spacing: 0; }
.name-text .technical-term { white-space: nowrap; }

.station .orb { width: 18px; height: 18px; }
.station.live .orb { width: 22px; height: 22px; }
.station.horizon .orb { width: 28px; height: 28px; }
.station .gadget .orb { transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 220ms ease; }
.name-text {
  display: block;
  transform: scale(1);
  transform-origin: center top;
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.station.account .name-text { transform-origin: center bottom; }
.station.horizon .name-text { transform-origin: right top; }
.station:focus-within { z-index: 5; }
.station .gadget:focus-visible .name { color: #a84400; }
.station .gadget:focus-visible .name-text { transform: scale(1.08); }
.station .gadget:focus-visible .orb { transform: scale(1.22); }

@media (hover: hover) and (pointer: fine) {
  .station .gadget:hover .name-text { transform: scale(1.08); }
  .station .gadget:hover .orb { transform: scale(1.22); }
}

@media (max-width: 980px) {
  .station .gadget .name { font-size: 13px; line-height: 1.5; }
  html[lang="ar"] .station .gadget .name { line-height: 1.8; }
  .station .name-text { transform-origin: left center; }
  html[dir="rtl"] .station .name-text { transform-origin: right center; }
}

@media (hover: none) {
  .station:hover .orb { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .station .gadget .name-text,
  .station .gadget .orb { transition: none; }
  .station .gadget:is(:hover, :focus-visible) .name-text,
  .station .gadget:is(:hover, :focus-visible) .orb { transform: none; }
}

/* Anchor desktop markers to their routes; labels never move the marker center. */
@media (min-width: 981px) {
  .nav { height: 50px; }
  .hero { padding-block: 16px 12px; }
  .chart-toolbar { padding-block: 8px; }
  .station .gadget {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
    place-items: center;
  }
  .station .name {
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    transform: translate(-50%, var(--label-nudge, 0px));
  }
  .station.account .name {
    top: auto;
    bottom: calc(100% - 2px);
  }
  .station .now-tag {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .station.account .now-tag {
    top: calc(100% + 4px);
    bottom: auto;
  }
}

/* Locale-aware typography and an eight-language menu that fits short screens. */
.language-menu {
  width: 220px;
  max-height: min(480px, calc(100dvh - 100px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.language-menu button { min-height: 40px; }
html:lang(ja) { --font-copy: "IBM Plex Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
html:lang(ko) { --font-copy: "IBM Plex Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html:lang(zh-TW) { --font-copy: "IBM Plex Sans", "PingFang TC", "Microsoft JhengHei", sans-serif; }
html:is(:lang(ja), :lang(ko), :lang(zh-TW)) .station .name,
html:is(:lang(ja), :lang(ko), :lang(zh-TW)) .waypoint-header h2 {
  font-family: var(--font-copy);
  line-height: 1.5;
  letter-spacing: 0;
}
html:is(:lang(ja), :lang(ko), :lang(zh-TW)) .track-filters,
html:is(:lang(ja), :lang(ko), :lang(zh-TW)) .waypoint-eyebrow {
  font-family: var(--font-copy);
  letter-spacing: 0;
}
html:lang(ko) .station .name,
html:lang(ko) .waypoint-sheet { word-break: keep-all; overflow-wrap: break-word; }

/* Quiet footer navigation aligned with the roadmap's page grid. */
.site-footer {
  width: 100%;
  flex-shrink: 0;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 12px var(--page-gutter) 32px;
  font-family: var(--font-copy);
}
.footer-inner {
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.7fr;
  gap: 28px 40px;
  align-items: start;
  padding-top: 24px;

}
.footer-copyright {
  margin: 0;
  padding-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  direction: ltr;
  unicode-bidi: isolate;
}
.footer-group h2 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}
.footer-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-group a {
  display: inline-block;
  padding-block: 5px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}
.footer-group a:hover { color: var(--orange); text-decoration: underline; }
.footer-group a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1.65fr; gap: 20px 28px; }
  .footer-copyright { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .site-footer { padding-bottom: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-group ul { gap: 0 22px; }
  .footer-group a { padding-block: 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .footer-group a { transition: none; } }

/* Light geometric footer lettering, matching the approved typography preview. */
@font-face {
  font-family: "Oxanium Footer";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/oxanium-regular.ttf") format("truetype");
}
.site-footer {
  font-family: "Oxanium Footer", var(--font-copy);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}
.footer-copyright { align-self: center; padding-top: 0; }
.footer-group h2 { margin-bottom: 3px; }
.footer-group a { font-weight: 400; letter-spacing: 0.025em; }
html:lang(ar) .site-footer { font-family: var(--font-copy); letter-spacing: 0; text-transform: none; }
html:is(:lang(ar), :lang(zh), :lang(ja), :lang(ko)) .footer-group a { letter-spacing: 0; }
@media (max-width: 980px) { .footer-copyright { align-self: start; } }

/* A separate, non-interactive rim keeps hover light away from label layout. */
@media (hover: hover) and (pointer: fine) {
  .voyage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    border: 1px solid rgba(255, 102, 0, 0.12);
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 320ms ease;
    animation: roadmap-rim-breathe 3.6s ease-in-out infinite;
    animation-play-state: paused;
  }
  .voyage:hover::after {
    opacity: 1;
    animation-play-state: running;
  }
}
@keyframes roadmap-rim-breathe {
  0%, 100% {
    border-color: rgba(255, 102, 0, 0.12);
    box-shadow: inset 0 0 8px rgba(255, 102, 0, 0.015);
  }
  50% {
    border-color: rgba(255, 102, 0, 0.52);
    box-shadow: inset 0 0 16px rgba(255, 102, 0, 0.09), inset 0 0 3px rgba(255, 146, 64, 0.2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .voyage::after { animation: none; transition: none; }
}

/* The roadmap remains a full first screen; applications form the next screen. */
body { height: auto; }
.roadmap-screen { flex: none; min-height: 100svh; display: flex; flex-direction: column; }
.apps-section { flex: none; width: 100%; min-height: 100svh; display: grid; align-items: center; padding: clamp(56px, 8vh, 100px) var(--page-gutter); }
.apps-grid { width: 100%; max-width: 1280px; margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 52px); }
.app-card { min-width: 0; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border: 1px solid rgba(110, 93, 78, .22); border-radius: 24px; }
.app-card-heading h2 { margin: 0; font: 600 clamp(25px, 2.5vw, 36px)/1.2 var(--font-copy); letter-spacing: -.025em; color: var(--ink-strong); }
.app-card-heading p { margin: 10px 0 0; color: #626575; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.4; }
.app-art { aspect-ratio: 4 / 3; margin: 20px -16px 18px; display: grid; align-items: center; }
.app-art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.app-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; align-self: center; margin-top: auto; width: 250px; max-width: 100%; height: 62px; padding: 9px 11px 9px 26px; border: 0; border-radius: 999px; background: #fff0e5; color: var(--ink-strong); text-decoration: none; font: 500 18px/1.2 var(--font-copy); }
.app-cta-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; background: var(--orange); border-radius: 50%; }
.app-cta-icon img { display: block; }
.app-cta:disabled { cursor: default; opacity: 1; }
.app-cta:disabled .app-cta-icon { background: #ffbb87; }
.app-cta:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
@media (hover: hover) { a.app-cta:hover { background: #ffe5d2; } }
.apps-motion .app-card { opacity: 0; transform: translateY(42px) scale(.965); }
.apps-motion .app-card.is-visible { opacity: 1; transform: none; transition: opacity 600ms ease, transform 800ms cubic-bezier(.16, 1, .3, 1); transition-delay: var(--reveal-delay, 0ms); }
.apps-motion .app-card:focus-within { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .apps-grid { grid-template-columns: 1fr; max-width: 550px; gap: 24px; }
  .apps-section { min-height: auto; padding-block: 56px; }
  .app-card { padding: 24px; }
  .app-cta { height: 56px; width: 230px; font-size: 17px; }
  .app-cta-icon { flex-basis: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .apps-motion .app-card, .apps-motion .app-card.is-visible { opacity: 1; transform: none; transition: none; }
}
.app-art img { mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent); mask-composite: intersect; }

/* Preserve the application section for a future launch without reserving layout space. */
.apps-section[hidden] { display: none; }

/* Share the viewport with the footer while applications are unpublished. */
@media (min-width: 981px) {
  body:has(.apps-section[hidden]) { height: 100svh; }
  body:has(.apps-section[hidden]) .roadmap-screen { flex: 1; min-height: 0; }
  body:has(.apps-section[hidden]) .site-footer { padding-block: 8px 20px; }
  body:has(.apps-section[hidden]) .footer-inner { padding-top: 8px; }
}

/* One shared type treatment and moving highlight for the complete title. */
.hero h1 { direction: ltr; }
.hero .metal-title { flex-wrap: wrap; align-items: baseline; column-gap: 0; }
.hero .hero-roadmap { margin-inline-start: .3em; }
@media (max-width: 540px) {
  .hero .metal-title { width: 100%; }
  .hero .metal-title .lead.hero-roadmap {
    flex: 0 0 100%;
    margin-inline-start: 0;
    margin-top: .12em;
  }
  .hero .hero-roadmap .metal-lettering { width: max-content; }
  .hero .hero-roadmap .metal-glint { right: auto; width: max-content; }
}
