@font-face {
  font-family: "Board Display";
  src: url("../assets/fonts/display-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Board Han";
  src: url("../assets/fonts/noto-sans-sc-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Board Han";
  src: url("../assets/fonts/noto-sans-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070b14;
  --wash: #12306e;
  --ink: #e8eefc;
  --muted: #9aafd4;
  --soft: #d5e2ff;
  --copy: #b7c7e8;
  --line: #1c2c4e;
  --gold: #4d86ff;
  --signal: #9aafd4;
  --cta: #1d5bff;
  --cta-hover: #3d74ff;
  --cta-ink: #ffffff;
  --card: transparent;
  --panel: #0d1424;
  --bar: rgba(7, 11, 20, 0.9);
  --nav: #b7c7e8;
  --theme-on: rgba(77, 134, 255, 0.12);
  --field: #0d1424;
  --field-line: #24365e;
  --node-bg: #0d1424;
  --node-line: #24365e;
  --wire: rgba(77, 134, 255, 0.85);
  --device: #0c1220;
  --device-bar: #121a2e;
  --chip: #121a2e;
  --prompt-ink: #9aafd4;
  --quiet-line: #24365e;
  --quiet-hover: rgba(77, 134, 255, 0.1);
  --draft-bg: #070b14;
  --draft-ink: #e8eefc;
  --note-error: #ffb4a8;
  --note-ok: #7dffa1;
  --visit-bg: #e8eefc;
  --visit-ink: #070b14;
  --shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
  --flap: #f4efe4;
  --flap-ink: #1a1a1a;
  --serif: "Board Han", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: "Board Han", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Board Display", "Board Han", ui-monospace, monospace;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f4f7ff;
  --wash: #d9e4ff;
  --ink: #0b1533;
  --muted: #3d4e78;
  --soft: #0b1533;
  --copy: #24345c;
  --line: #d5def2;
  --gold: #1d5bff;
  --signal: #3d4e78;
  --cta: #1d5bff;
  --cta-hover: #1746cc;
  --cta-ink: #ffffff;
  --card: transparent;
  --panel: #ffffff;
  --bar: rgba(244, 247, 255, 0.92);
  --nav: #24345c;
  --theme-on: rgba(29, 91, 255, 0.08);
  --field: #ffffff;
  --field-line: #d5def2;
  --node-bg: #ffffff;
  --node-line: #d5def2;
  --wire: #1d5bff;
  --device: #ffffff;
  --device-bar: #eef3ff;
  --chip: #eef3ff;
  --prompt-ink: #3d4e78;
  --quiet-line: #d5def2;
  --quiet-hover: #eef3ff;
  --draft-bg: #ffffff;
  --draft-ink: #0b1533;
  --note-error: #b42318;
  --note-ok: #0b6b32;
  --visit-bg: #0b1533;
  --visit-ink: #ffffff;
  --shadow: 0 1px 2px rgba(11, 21, 51, 0.05), 0 10px 30px rgba(11, 21, 51, 0.07);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blink::before,
  .diagram .wire,
  .diagram .step-1,
  .diagram .step-2,
  .diagram .step-3,
  .logo-dot,
  .term p,
  .close-trace,
  .close-signal,
  .hero-line,
  .hero-eq { animation: none; }
  .term p { opacity: 1; }
  .shot .device { transition: none; }
  .shot .device:hover { transform: none; }
  .shot .device::after { transition: none; opacity: 0; }
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 160% 72vh at 50% -16vh, color-mix(in srgb, var(--gold) 16%, var(--wash)) 0%, var(--wash) 34%, transparent 74%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
}
a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--cta-ink);
  padding: 0.45rem 0.7rem;
  z-index: 5;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--bar);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 0;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.logo-mark,
.mark {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
}
.logo-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: logo-dot-blink 1.6s ease-in-out infinite;
}
@keyframes logo-dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(0.82); }
}
.logo-word {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}
.logo-ai { color: var(--gold); }
.bar-left,
.bar-right {
  display: flex;
  align-items: center;
  min-width: 0;
}
.bar-left { gap: 1.65rem; }
.bar-right { gap: 0.2rem; flex: none; }
.bar nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-shrink: 0;
}
.bar-tools { display: inline-flex; align-items: center; gap: 0.1rem; }
.icon-btn {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
}
.icon-btn svg { width: 16px; height: 16px; display: block; }
[data-theme="dark"] .sun,
[data-theme="light"] .moon { display: none; }
.bar nav a {
  color: var(--nav);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: normal;
  text-decoration: none;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cta);
  color: var(--cta-ink);
  border: 1px solid var(--cta);
  border-radius: 10px;
  font: inherit;
  font-weight: 560;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.68rem 1.15rem;
  cursor: pointer;
}
.bar a.btn,
.bar .btn {
  color: var(--cta-ink);
  padding: 0.42rem 0.85rem;
  font-size: 0.875rem;
}
.bar-wx { width: auto; white-space: nowrap; }
.btn-quiet {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--quiet-line);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: 3rem;
  align-items: center;
  padding: 4.2rem 0 2.2rem;
}
.who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.05rem;
}
.who strong {
  display: block;
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}
.who .line {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
  white-space: nowrap;
}
.who strong .logo-ai {
  color: var(--gold);
  font: inherit;
  letter-spacing: inherit;
}
.mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  object-fit: cover;
  object-position: center 18%;
  background: var(--wash);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.85rem, 5.4vw, 5.15rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.hero-title {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin-bottom: 1.06em;
}
.hero-line {
  display: block;
  white-space: nowrap;
}
.hero-eq {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  white-space: nowrap;
}
h1 em {
  font-style: normal;
  color: var(--gold);
}
.block > h2 {
  margin: 0 0 2.8rem;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
}
h2 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
}
h3 { margin: 0 0 0.45rem; font-size: 1.15rem; font-weight: 600; }

.lead { margin: 1.35rem 0 0; max-width: 32rem; color: var(--copy); font-size: 1.02rem; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.55rem; }
.actions .btn {
  min-height: 2.8rem;
  padding: 0.5rem 1.2rem;
  border-radius: 12px;
}
.actions .btn-lead { gap: 0.5rem; }
.actions .btn-lead svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}
.actions .btn-quiet { box-shadow: 0 1px 2px rgba(36, 36, 36, 0.04); }
.sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding:
    max(1.2rem, env(safe-area-inset-top))
    max(1.2rem, env(safe-area-inset-right))
    max(1.2rem, env(safe-area-inset-bottom))
    max(1.2rem, env(safe-area-inset-left));
  background: rgba(20, 18, 14, 0.45);
  overscroll-behavior: contain;
}
.sheet-card {
  width: min(24rem, 100%);
  background: var(--panel);
  color: var(--ink);
  border-radius: 16px;
  padding: 1.3rem 1.3rem 1.15rem;
  box-shadow: var(--shadow);
}
.sheet-card h2 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}
.sheet-card p {
  margin: 0 0 0.9rem;
  color: var(--copy);
  line-height: 1.6;
}
.sheet-card label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.8125rem;
}
.sheet-card input { margin-bottom: 0.9rem; }
.sheet-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--quiet-line);
  border-radius: 12px;
  background: var(--bg);
}
.sheet-id-text {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  min-width: 0;
}
.sheet-id-text span { color: var(--muted); font-size: 0.8125rem; white-space: nowrap; }
.sheet-id-text strong {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.sheet-id .btn { padding: 0.42rem 0.85rem; }
.sheet-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}
.sheet-actions .btn { width: auto; }
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 0.75rem;
  margin-top: 1.2rem;
}
.hero-meta .prompt {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin: 0;
  padding: 0.15rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  flex: 0 1 auto;
  max-width: 100%;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.hero-meta .socials { margin-top: 0; gap: 0.45rem; }
.socials { display: flex; gap: 0.5rem; margin-top: 1.05rem; }
.socials a,
.socials button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.socials svg { width: 1.05rem; height: 1.05rem; display: block; }
.prompt span { color: var(--muted); margin-right: 0.35rem; }

.map { min-height: 0; }
.diagram { width: 100%; height: auto; display: block; overflow: visible; }
.diagram .dot { fill: rgba(11, 21, 51, 0.22); }
[data-theme="dark"] .diagram .dot { fill: rgba(232, 238, 252, 0.22); }
.diagram .field {
  fill: url(#desk-dots);
  -webkit-mask-image: radial-gradient(ellipse at 50% 46%, #000 42%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 46%, #000 42%, transparent 78%);
}
.diagram .glow { fill: url(#desk-glow); }
.diagram .glow-core { stop-color: var(--gold); stop-opacity: 0.07; }
.diagram .glow-edge { stop-color: var(--gold); stop-opacity: 0; }
[data-theme="dark"] .diagram .glow-core { stop-opacity: 0.18; }
.diagram .wire {
  fill: none;
  stroke: var(--wire);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: flow 1.6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -14; } }
@keyframes step {
  0%, 68%, 100% { stroke: var(--node-line); }
  10%, 30% { stroke: var(--wire); }
}
.diagram .step-1 { animation: step 6.3s ease-in-out infinite; }
.diagram .step-2 { animation: step 6.3s ease-in-out 2.1s infinite; }
.diagram .step-3 { animation: step 6.3s ease-in-out 4.2s infinite; }
.diagram .pill-plain {
  fill: var(--node-bg);
  stroke: var(--node-line);
  stroke-width: 1.25;
  filter: url(#desk-shadow);
}
.diagram .pill-line {
  fill: var(--node-bg);
  stroke: var(--wire);
  stroke-width: 1.6;
}
.diagram .pill-fill { fill: var(--cta); stroke: var(--cta); }
.diagram text {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
}
.diagram .label { fill: var(--ink); }
.diagram .label-ink { fill: var(--cta-ink); font-weight: 600; }
.diagram .label-gold { fill: var(--gold); font-weight: 600; }
[data-theme="dark"] .diagram .label-gold { fill: var(--gold); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.facts div { padding: 2.6rem 1.2rem; }
.facts div + div { border-left: 1px solid var(--line); }
[data-theme="light"] .facts,
[data-theme="light"] .facts div + div { border-color: #e6e8ef; }
.facts strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 3.15rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.facts .plus { color: var(--ink); }
.facts > div > span {
  display: block;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.block { padding: 6.4rem 0 0.6rem; }
h2, h3 { text-wrap: balance; }
.lead,
.shot .body,
.pair .body,
.fit-line,
.bound .note { text-wrap: pretty; }
.shot .body,
.pair .body,
.fit-line,
.bound .note { max-width: 66ch; }

.shot {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 6rem;
}
.shot-tall { align-items: start; }
.shot-flip { grid-template-columns: 1.28fr 0.72fr; }
.shot-tall .device { height: auto; min-height: 0; }
.shot-tall .device::after,
.shot-tall .device:hover::after { opacity: 0; }
.shot-tall .term {
  display: block;
  min-height: 0;
  padding: 1.25rem 1.4rem 1.4rem;
  font-size: 1.02rem;
  line-height: 1.75;
}
.shot h3, .pair h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.shot-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.shot-head .idx { margin: 0; flex: none; }
.shot-head h3 { margin: 0; }
.shot-banner {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.15rem;
}
.shot-banner .shot-head { margin: 0; min-width: 0; }
.shot-banner .kind { margin: 0; }
.shot-banner .meta { margin: 0 0 0 auto; }
.shot-banner .idx { margin: 0; }
.fit-go {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 0;
}
.idx {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.shot .idx,
.pair .idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 0 0.75rem;
  padding: 0;
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-ink);
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.kind { margin: 0 0 0.7rem; color: var(--muted); font-size: 1rem; }
.shot p, .pair p, .fit p, .flow p { margin: 0; }
.shot p, .pair p { color: var(--copy); }
.shot .body, .pair .body { line-height: 1.75; }
.shot .body + .body, .pair .body + .body { margin-top: 0.85rem; }
.meta {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--muted);
}
.shot .meta,
.pair .meta {
  margin-top: 1.4rem;
}
.shot-banner .meta { margin-top: 0; }
.meta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.meta-stack .visit { margin-top: 0; }
.visit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
  padding: 0.62rem 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--cta);
  color: var(--cta-ink);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
}
.visit svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
}
.visit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.device {
  position: relative;
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 40%;
  background: var(--device);
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.shot .device::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.38), transparent 46%);
  opacity: 0;
  transition: opacity 0.35s;
}
.device-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  background: var(--device-bar);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.device-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5d0c8;
}
.device-bar i:first-child { background: #ff5f57; }
.device-bar i:nth-child(2) { background: #febc2e; }
.device-bar i:nth-child(3) { background: #28c840; }
.device-bar em { margin-left: 0.45rem; font-style: normal; }
.shot-img { display: block; width: 100%; height: auto; }
.term, .browser { padding: 1rem 1.05rem 1.15rem; min-height: 210px; }
.term {
  background: #0c0f18;
  color: #eceefb;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.7;
}
.term p {
  margin: 0;
  opacity: 0;
  animation: line-in 0.4s ease forwards;
}
.term p:nth-child(1) { animation-delay: 0.15s; }
.term p:nth-child(2) { animation-delay: 0.5s; }
.term p:nth-child(3) { animation-delay: 0.85s; }
.term p:nth-child(4) { animation-delay: 1.2s; }
.term p:nth-child(5) { animation-delay: 1.55s; }
.term p:nth-child(6) { animation-delay: 1.9s; }
.term p:nth-child(7) { animation-delay: 2.25s; }
.term p:nth-child(8) { animation-delay: 2.6s; }
.term p:nth-child(9) { animation-delay: 2.95s; }
.term p:nth-child(10) { animation-delay: 3.3s; }
@keyframes line-in { to { opacity: 1; } }
.term b { color: #5c86ff; font-weight: 500; }
.blink::before {
  content: "▸ ";
  color: var(--gold);
  animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.langs { display: flex; gap: 0.4rem; margin-bottom: 1.1rem; }
.langs span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.langs .on { background: var(--gold); color: var(--cta-ink); border-color: var(--gold); }
.price-label { color: var(--muted); font-size: 0.8rem; }
.price {
  margin: 0.2rem 0 1rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.pay-row { display: flex; gap: 0.45rem; }
.pay-row span {
  flex: 1;
  text-align: center;
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0;
  font-size: 0.85rem;
}

.pair, .fit, .flow, .vs { display: grid; gap: 0; }
.pair, .fit { grid-template-columns: 1fr 1fr; gap: 0 3.5rem; }
.flow { grid-template-columns: repeat(4, 1fr); gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; }
.pair article, .fit article, .flow li {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1.15rem 0 1.5rem;
}
.flow > li > span, .fit article > span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: 0.82rem;
}
.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem 4.6rem;
  max-width: 52rem;
  margin: 0 auto;
  border: 0;
}
.fit article {
  display: block;
  margin: 0;
  padding: 0 0 0.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.fit article::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 0.85rem;
  background: color-mix(in srgb, var(--ink) 42%, transparent);
}
.fit article:hover,
.fit article:focus-within {
  background: transparent;
  box-shadow: none;
}
.fit article:focus-within .fit-code,
.fit article:focus-within .fit-who span,
.fit article:focus-within .fit-deliver span {
  background-image: linear-gradient(
    100deg,
    color-mix(in srgb, var(--gold) 72%, #061433) 0%,
    var(--gold) 48%,
    color-mix(in srgb, var(--gold) 28%, #ffffff) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.fit article > .fit-code {
  display: block;
  margin: 0.85rem 0 0.4rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.fit h3 { margin: 0; font-size: 1.28rem; font-weight: 700; }
.fit-line { margin: 0.4rem 0 0.95rem; color: var(--copy); font-size: 0.98rem; line-height: 1.55; }
.fit-who,
.fit-deliver {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 0.15rem 0.65rem;
  margin: 0.28rem 0 0;
  color: var(--copy);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
.fit-who span,
.fit-deliver span {
  display: block;
  margin: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
}

.trail {
  list-style: none;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0;
  border: 0;
}
.trail li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) minmax(8rem, 13rem);
  column-gap: 0.85rem;
  row-gap: 0.55rem;
  align-items: start;
  position: relative;
  padding: 0.2rem 0 1.85rem;
  border: 0;
}
.trail li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 1.15rem;
  bottom: 0;
  width: 1px;
  background: color-mix(in srgb, var(--gold) 42%, var(--line));
}
.trail li:last-child::before { display: none; }
.trail .dot {
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 11px;
  height: 11px;
  margin-top: 0.32rem;
  justify-self: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--bg);
  position: relative;
  z-index: 1;
}
.trail-head {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.55rem;
}
.trail .idx { margin: 0; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.02em; }
.trail h3 { margin: 0; font-size: 1.12rem; font-weight: 700; }
.chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.45rem;
  margin: 0;
}
.trail .chips {
  grid-column: 2;
  grid-row: 2;
  justify-content: flex-start;
}
.trail .chips::before { content: none; }
.chips b { color: var(--muted); font-weight: 400; font-size: 0.78rem; }
.chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  padding: 0.16rem 0.7rem;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.4;
}
.chips .on {
  border-color: transparent;
  background: var(--cta);
  color: var(--cta-ink);
}
.trail .chips .on {
  border-color: color-mix(in srgb, var(--gold) 30%, var(--line));
  background: color-mix(in srgb, var(--gold) 14%, var(--panel));
  color: var(--ink);
}
.trail .result {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  margin: 0;
  color: var(--copy);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
}
.path {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 2.6rem auto 0;
  padding: 0;
  border: 0;
  max-width: 52rem;
  color: var(--copy);
  font-size: 0.92rem;
}
.path b { color: var(--ink); font-weight: 600; font-size: 0.92rem; }
#fit .bound { margin-top: 2.8rem; }

.bound {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 1.7rem 1.7rem 1.45rem;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}
.bound h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
}
.bound .note { margin: 0.4rem auto 1.15rem; color: var(--muted); font-size: 0.92rem; }
.bound-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 4.6rem;
  padding: 0 0.2rem;
  text-align: left;
}
.bound-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 1px;
  background: var(--line);
}
.bound-grid::after {
  content: "VS";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 2.15rem;
  text-align: center;
}
.bound h3 { margin: 0 0 0.45rem; color: var(--muted); font-size: 0.82rem; font-weight: 500; text-align: center; }
.bound ul { list-style: none; margin: 0; padding: 0; }
.bound li {
  position: relative;
  margin: 0.42rem 0;
  padding-left: 1.35rem;
  color: var(--copy);
  font-size: 0.92rem;
  line-height: 1.45;
}
.bound-skip li::before {
  content: "×";
  position: absolute;
  left: 0.1rem;
  color: var(--muted);
}
.bound-take li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 0.62rem;
  line-height: 0.95rem;
  text-align: center;
}
.flow p, .fit p { color: var(--copy); }
.vs {
  margin: 2.6rem auto 0;
  width: min(720px, 100%);
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--panel);
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.7rem 1.8rem 1.8rem;
}
.vs h3 { font-size: 1rem; }
.vs ul { margin: 0.45rem 0 0; padding-left: 1.1rem; color: var(--copy); }
.vs li + li { margin-top: 0.3rem; }
.block > .aside { margin: 1.4rem 0 0; color: var(--muted); font-size: 0.9rem; text-align: center; }
.start .aside { margin: 0.8rem 0 0; text-align: left; }
.aside a { color: var(--gold); }

.start {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 2.8rem;
  align-items: start;
  padding-bottom: 3.5rem;
}
form { display: grid; gap: 0.85rem; }
label span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.8125rem;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--field-line);
  border-radius: 8px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.68rem 0.75rem;
}
textarea { min-height: 7rem; resize: vertical; }
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
#order input[aria-invalid="true"],
#order textarea[aria-invalid="true"] {
  border-color: var(--note-error);
}
input:focus-visible, select:focus-visible, textarea:focus-visible,
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
#order button.btn { width: 100%; border: 0; }
.note { margin: 0; font-size: 0.92rem; }
.note[data-state="error"] { color: var(--note-error); }
.note[data-state="ok"] { color: var(--note-ok); }
.draft {
  margin: 0;
  padding: 0.75rem 0.8rem;
  background: var(--draft-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--draft-ink);
}
.mail { font-weight: 600; color: var(--gold); }

.close {
  overflow: hidden;
  margin-top: 0;
  padding: 0 0 0.4rem;
}
.close-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 22rem;
  padding: 2.6rem 0 2.2rem;
}
.close-stage::before {
  content: "";
  grid-area: 1 / 1;
  width: min(34rem, 78%);
  height: 14rem;
  background: radial-gradient(ellipse at center, rgba(29, 91, 255, 0.09), transparent 68%);
  pointer-events: none;
}
[data-theme="dark"] .close-stage::before {
  background: radial-gradient(ellipse at center, rgba(92, 134, 255, 0.18), transparent 68%);
}
.close-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 calc(50% - 19rem), transparent calc(50% - 14.5rem), transparent calc(50% + 14.5rem), #000 calc(50% + 19rem), #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 calc(50% - 19rem), transparent calc(50% - 14.5rem), transparent calc(50% + 14.5rem), #000 calc(50% + 19rem), #000 95%, transparent 100%);
}
.close-trace,
.close-signal {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.close-trace {
  stroke-width: 1.35;
  stroke-dasharray: 1.25 3.75;
  opacity: 0.55;
  animation: close-flow 2.8s linear infinite;
}
[data-theme="dark"] .close-trace { opacity: 0.78; }
.close-signal {
  stroke-width: 2;
  stroke-dasharray: 10 90;
  opacity: 1;
  filter: url(#close-glow);
  animation: close-flow 4.6s linear infinite;
}
.close-signal.out { animation-direction: reverse; animation-duration: 5.4s; }
@keyframes close-flow { to { stroke-dashoffset: -100; } }
.close-in {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 3rem);
  margin: 0 auto;
  padding: 0.4rem 0.2rem;
  text-align: center;
  background: none;
}
.close h2 {
  margin: 0 auto;
  max-width: 14em;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.22;
}
.close h2 em { font-style: normal; color: var(--gold); }
.close-line { margin: 0.65rem 0 0.95rem; color: var(--muted); }
.close .btn { display: inline-flex; }

.foot {
  margin-top: 0;
  background: #121624;
  color: #eceefb;
  padding: 3.4rem 0 1.3rem;
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: end;
}
.foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: #eceefb;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.foot-logo .logo-mark { width: 2rem; height: 2rem; }
.foot h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  text-align: left;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}
.foot h2 .foot-eq { color: #4d86ff; }
.foot-line {
  margin: 0;
  color: #b7bccd;
  font-size: 0.98rem;
  white-space: nowrap;
}
.foot-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.15rem;
}
.foot-actions { display: flex; align-items: center; gap: 0.75rem; }
.foot .socials { margin-top: 0; }
.foot .socials a,
.foot .socials button {
  border-color: rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #b7bccd;
}
.foot-nav { display: flex; gap: 1.35rem; }
.foot-nav a { color: #eceefb; text-decoration: none; font-size: 0.95rem; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #808697;
  font-size: 0.8rem;
}
.foot-bottom span:last-child { text-align: right; }

@media (max-width: 860px) {
  .wrap { width: min(1120px, calc(100% - 1.6rem)); }
  .hero, .shot, .shot-flip, .pair, .fit, .vs, .start, .flow, .bound-grid {
    grid-template-columns: 1fr;
  }
  .trail { max-width: none; }
  .trail li { grid-template-columns: 16px minmax(0, 1fr); }
  .trail .result { grid-column: 2; grid-row: 3; text-align: left; }
  .fit { grid-template-columns: 1fr; gap: 2rem; }
  .fit article { display: block; padding-top: 0.9rem; }
  .fit-deliver { margin-top: 0.28rem; text-align: left; }
  .facts {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
  .facts div { padding: 1.35rem 0.7rem; }
  .facts strong { font-size: 2.35rem; }
  .facts div + div { border-top: 0; border-left: 1px solid var(--line); }
  .facts div:nth-child(odd) { border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hero { padding-top: 1.6rem; }
  .board { grid-template-columns: 1fr; align-items: start; }
  h1 { font-size: 2.35rem; }
  .map { min-height: 0; }
  .block { padding-top: 3.2rem; }
  .block > h2 { margin-bottom: 1.5rem; }
  .foot-top, .foot-bottom { display: flex; flex-direction: column; align-items: flex-start; }
  .foot-line { white-space: normal; }
  .foot-side, .foot-actions { align-items: flex-start; }
  .foot-actions { flex-wrap: wrap; }
  .foot-bottom span:last-child { text-align: left; }
  .shot, .shot-flip { gap: 1.4rem; margin-bottom: 2.8rem; }
  .shot-tall .device { min-height: 0; height: auto; }
  .shot-tall .term {
    min-height: 0;
    padding: 1.05rem 1.05rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .shot-banner { order: 0; }
  .shot .device,
  .shot-flip .device { order: 1; max-width: 100%; }
  .shot > .shot-copy { order: 2; }
  .vs { gap: 1.2rem; padding: 1.2rem; }
  .logo { flex: none; }
  .logo-mark { width: 1.9rem; height: 1.9rem; }
  .logo-word { font-size: 0.92rem; }
  .close { padding-bottom: 1rem; }
  .close h2 { font-size: 1.65rem; }
  .hero-meta .prompt { white-space: normal; }
  .close-stage { min-height: 16rem; padding: 1.6rem 0 1.2rem; }
  .close-stage::before { width: min(22rem, 88%); height: 12rem; }
  .close-field {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 8%, transparent 18%, transparent 82%, #000 92%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 8%, transparent 18%, transparent 82%, #000 92%, #000 97%, transparent 100%);
  }
  .close-in { padding: 0; max-width: calc(100% - 1.6rem); }
  .bound-grid::before,
  .bound-grid::after { content: none; }
}
@media (max-width: 520px) {
  .bar-in {
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding-top: 0.75rem;
    padding-bottom: 1rem;
    row-gap: 1.05rem;
  }
  .bar-left { display: contents; }
  .logo { order: 0; }
  .bar-right { order: 1; margin-left: auto; }
  .bar nav {
    order: 2;
    flex: 1 0 100%;
    justify-content: center;
    gap: 1.6rem;
    padding: 0.15rem 0 0.2rem;
  }
  .bar-tools .icon-btn {
    width: 2.75rem;
    height: 2.75rem;
  }
  .socials a,
  .socials button {
    width: 2.75rem;
    height: 2.75rem;
  }
  .hero-meta .prompt { width: 100%; box-sizing: border-box; }
  .actions { flex-direction: column; align-items: stretch; }
}

::selection { background: #1d5bff; color: #ffffff; }
html { scrollbar-color: #1d5bff #070b14; }
body { caret-color: #4d86ff; }
.bar { border-bottom: 1px solid var(--line); }
h1, h2, h3, .btn, .logo-word, .bar nav a {
  font-family: "Board Han", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.facts strong {
  font-family: "Board Display", "Board Han", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.hero { display: block; padding: 2.4rem 0 0; }
.board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.72fr);
  gap: 2.6rem 3.2rem;
  align-items: center;
}
.hero-copy {
  display: grid;
  gap: 1.85rem;
  align-content: end;
}
.hero-title {
  position: static;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.28em;
  max-width: 100%;
  margin: 0;
  white-space: nowrap;
}
.logo-word {
  font-family: "Board Han", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-line,
.hero-eq {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  display: inline;
  padding: 0;
  background: none;
  color: var(--ink);
  font-family: "Board Han", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hero-eq { color: var(--gold); }
.hero .prompt {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  width: auto;
  max-width: 36rem;
  color: var(--ink);
  background: none;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero .prompt svg { width: 1.15rem; height: 1.15rem; flex: none; }
.hero .lead {
  margin: 0;
  max-width: 34rem;
  color: var(--copy);
  font-size: 1.05rem;
}
.live {
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  padding: 0.2rem 0 0;
  box-shadow: none;
}
.departures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.departure {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0;
  border-radius: 0;
  color: var(--ink);
  background: none;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0;
  border-bottom: 1px solid var(--line);
}
.departures li:last-child .departure { border-bottom: 0; }
.departure:focus-visible {
  outline: 2px solid #4d86ff;
  outline-offset: 2px;
}
.dep-name {
  min-width: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  white-space: nowrap;
}
.dep-status {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #7dffa1;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}
[data-theme="light"] .dep-status { color: #0c7a46; }
.dep-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: currentColor;
}
.hero-links,
.hero-contact { align-items: center; margin-top: 0; }
.hero-contact .prompt { flex: 0 1 auto; }
.actions .btn-lead {
  min-width: 9.5rem;
  background: var(--cta);
  color: var(--cta-ink);
  border-color: var(--cta);
  box-shadow: 0 8px 18px rgba(11, 21, 51, 0.12);
}
.actions .socials { margin: 0; }
.hero-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.hero-figure .diagram { width: min(100%, 24rem); height: auto; }
.hero .facts {
  width: min(100%, 52rem);
  margin: 6.4rem auto 0;
  border: 0;
  gap: 0.85rem;
  text-align: center;
  background: transparent;
}
.hero .facts > div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 0.4rem 1rem;
  background: var(--panel);
}
.hero .facts div::after { content: none; }
.hero .facts strong { color: var(--gold); font-size: 2.35rem; line-height: 1.15; }
.hero .facts .plus { color: var(--ink); }
.hero .facts > div > span { color: var(--muted); margin-top: 0.35rem; font-size: 0.92rem; }
.shot .idx,
.pair .idx {
  background: var(--cta);
  color: var(--cta-ink);
}
.system-board { display: flex; justify-content: center; }
.system-board .diagram { width: min(520px, 100%); height: auto; }
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; align-items: start; }
  .hero-line,
  .hero-eq { white-space: nowrap; font-size: clamp(1.28rem, 4.2vw, 1.85rem); }
  .actions { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .hero-line,
  .hero-eq { white-space: nowrap; font-size: 1.12rem; }
}
.system-board { padding-top: 2.4rem; }
@media (max-width: 860px) {
  .hero .facts > div { padding: 0.95rem 0.35rem 0.85rem; }
  .hero .facts strong { font-size: 2.05rem; }
  .hero .facts { margin-top: 3.2rem; }
  .hero { padding-bottom: 0; }
  .hero-copy { gap: 1.25rem; }
  .hero-title { justify-content: center; }
  .hero .lead { text-align: center; margin-inline: auto; }
  .hero-links { justify-content: center; }
  .hero-links,
  .hero-contact { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .live { padding-top: 0.4rem; border-top: 1px solid var(--line); }
}
.to-top {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right));
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 12;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(29, 91, 255, 0.95);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
}
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:focus,
.to-top:active {
  outline: none;
  background: var(--cta);
}
.to-top:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, #fff 70%, var(--cta)), 0 12px 24px -14px rgba(29, 91, 255, 0.95);
}
.to-top svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
}

@keyframes signal-run { to { background-position: 0 24px; } }
.board {
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.78fr);
  grid-template-areas: none;
  gap: 1.6rem 2.4rem;
  align-items: center;
}
.hero-title {
  grid-area: auto;
  width: auto;
  justify-content: flex-start;
  padding: 0;
  border: 0;
}
.hero-copy { align-content: center; gap: 1.25rem; }
.hero-figure {
  position: relative;
  background: none;
  box-shadow: none;
  padding: 0;
}
.hero-figure::before { content: none; }
.hero-figure .diagram { position: relative; z-index: 1; width: min(100%, 26rem); }
.hero-line,
.hero-eq { font-size: clamp(1.85rem, 3.2vw, 2.65rem); }
.actions .btn-lead {
  box-shadow: 0 0 0 1px rgba(29, 91, 255, 0.25), 0 12px 28px -8px rgba(29, 91, 255, 0.72);
}
.block > h2 {
  display: block;
  text-align: left;
  font-weight: 700;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  margin: 0 0 1.35rem;
}
.block > h2::after { content: none; }
.hero .facts {
  position: relative;
  width: 100%;
  margin: 6.4rem 0 0;
  border: 0;
  border-radius: 0;
  gap: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.hero .facts::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 91, 255, 0.95), transparent);
  box-shadow: 0 0 18px rgba(29, 91, 255, 0.75);
}
.hero .facts > div {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 1.45rem 0.5rem 0.2rem;
}
.hero .facts strong { text-shadow: 0 0 22px rgba(29, 91, 255, 0.45); }
.shot,
.shot-flip {
  align-items: start;
  margin-bottom: 5.2rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.shot { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 1.6rem 2.6rem; }
.shot-flip { grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: 1.6rem 2.6rem; }
.shot > div,
.shot-flip > div,
.shot .device,
.shot-flip .device { order: 0; }
.shot .device,
.shot-flip .device {
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(29, 91, 255, 0.16),
    0 22px 50px -18px rgba(29, 91, 255, 0.48);
}
.shot h3,
.pair h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
#work > .shot:last-of-type { margin-bottom: 0; }
.block > .aside { text-align: left; }
#work > h2,
#method > h2,
#fit > h2 {
  text-align: center;
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}
#method > h2,
#fit > h2 { margin-bottom: 2.4rem; }
.fit article:hover,
.fit article:focus-within {
  background: transparent;
}
.bound {
  width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(29, 91, 255, 0.22), 0 28px 60px -30px rgba(29, 91, 255, 0.55);
}
.bound h3 { text-align: center; }
#order {
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  border-radius: 22px;
  padding: 1.45rem 1.4rem 1.35rem;
  box-shadow: 0 0 0 1px rgba(29, 91, 255, 0.18), 0 24px 56px -28px rgba(29, 91, 255, 0.5);
  backdrop-filter: blur(10px);
}
.close-stage { place-items: center; min-height: 22rem; }
.close-in {
  width: max-content;
  max-width: calc(100% - 3rem);
  margin: 0 auto;
  text-align: center;
}
.close h2 {
  margin: 0 auto;
  max-width: 14em;
  text-align: center;
}
.close-field {
  display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 calc(50% - 19rem), transparent calc(50% - 14.5rem), transparent calc(50% + 14.5rem), #000 calc(50% + 19rem), #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 calc(50% - 19rem), transparent calc(50% - 14.5rem), transparent calc(50% + 14.5rem), #000 calc(50% + 19rem), #000 95%, transparent 100%);
}
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; grid-template-areas: none; }
  .hero-title { justify-content: center; }
  .hero .lead { text-align: center; margin-inline: auto; }
  .hero-links { justify-content: center; }
  .hero-copy { gap: 1.15rem; }
  .hero-line,
  .hero-eq { font-size: clamp(1.28rem, 4.2vw, 1.85rem); }
  .hero .facts { margin-top: 3.2rem; }
  .hero .facts > div,
  .hero .facts > div:nth-child(odd),
  .hero .facts > div:nth-child(n + 3) {
    border: 0;
    padding: 1.05rem 0.35rem 0.35rem;
  }
  .shot,
  .shot-flip { grid-template-columns: 1fr; gap: 1.15rem; padding: 0; margin-bottom: 2.8rem; }
  .shot-banner { order: 0; }
  .shot .device,
  .shot-flip .device { order: 1; }
  .shot > .shot-copy { order: 2; }
  .trail li { grid-template-columns: 16px minmax(0, 1fr); }
  .trail .result { grid-column: 2; grid-row: 3; text-align: left; }
  #work > h2,
  #method > h2,
  #fit > h2 { font-size: 1.45rem; }
  #method > h2,
  #fit > h2 { margin-bottom: 1.4rem; }
  .fit article { display: block; }
  .fit-deliver { text-align: left; }
  .block > h2 { margin-bottom: 1rem; }
  .close-in,
  .close h2 { text-align: center; }
  .close-field {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 8%, transparent 18%, transparent 82%, #000 92%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 8%, transparent 18%, transparent 82%, #000 92%, #000 97%, transparent 100%);
  }
}
@media (max-width: 520px) {
  .hero-line,
  .hero-eq { font-size: 1.12rem; }
  html { scroll-padding-top: calc(7.4rem + env(safe-area-inset-top)); }
}
@media (pointer: coarse) {
  input, textarea, select { font-size: max(1rem, 16px); }
}
button,
a,
[role="button"] { touch-action: manipulation; }
button,
[role="button"],
.visit,
.bar nav a,
.foot-nav a,
.socials a,
.departure {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.btn,
.visit,
.icon-btn,
.socials a,
.socials button { transition: transform 120ms ease-out; }
.btn:active,
.visit:active,
.icon-btn:active,
.socials a:active,
.socials button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { color: var(--ink); background: var(--theme-on); }
  .bar nav a:hover { color: var(--ink); }
  .btn:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
  a.btn-quiet:hover { background: var(--quiet-hover); border-color: var(--quiet-line); }
  .socials a:hover,
  .socials button:hover { color: var(--ink); border-color: var(--quiet-line); }
  .visit:hover {
    background: var(--cta-hover);
    border-color: var(--cta-hover);
    color: var(--cta-ink);
  }
  .shot .device:hover {
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(1.02);
  }
  .shot .device:hover::after { opacity: 1; }
  .fit article:hover .fit-code,
  .fit article:hover .fit-who span,
  .fit article:hover .fit-deliver span {
    background-image: linear-gradient(
      100deg,
      color-mix(in srgb, var(--gold) 72%, #061433) 0%,
      var(--gold) 48%,
      color-mix(in srgb, var(--gold) 28%, #ffffff) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .foot .socials a:hover,
  .foot .socials button:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
  .foot-nav a:hover { color: #5c86ff; }
  .departure:hover .dep-name { color: var(--gold); }
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .visit,
  .icon-btn,
  .socials a,
  .socials button,
  .shot .device,
  .shot .device::after { transition: none; }
  .shot .device:hover { transform: none; }
  .shot .device:hover::after { opacity: 0; }
  .btn:active,
  .visit:active,
  .icon-btn:active,
  .socials a:active,
  .socials button:active { transform: none; }
}
