/* ==========================================================================
   众说 · 产品主页
   设计语言与桌面应用保持一致：浅蓝白分区、发丝级边框、蓝绿品牌渐变。
   纯静态、无外部字体与第三方脚本。
   ========================================================================== */

:root {
  --font-sans: "Segoe UI", "Segoe UI Variable Text", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Mono", "Cascadia Code", Consolas, "Sarasa Mono SC", ui-monospace, monospace;

  --ink: #172431;
  --ink-2: #40505f;
  --muted: #5f6d7a;
  --faint: #66727e;

  --paper: #f6f9fb;
  --paper-2: #f1f6f9;
  --card: #ffffff;
  --line: #e1e9ef;
  --line-strong: #cbd9e4;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #e8effd;
  --accent-border: #b9cdfb;
  --teal: #0f766e;

  --grad: linear-gradient(135deg, #2678c7 0%, #1c7ea6 55%, #0e856a 100%);
  --grad-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.10) 0%, rgba(52, 211, 153, 0.12) 100%);

  --shadow-sm: 0 1px 2px rgba(23, 38, 52, 0.05);
  --shadow-md: 0 10px 30px rgba(23, 38, 52, 0.08), 0 2px 8px rgba(23, 38, 52, 0.04);
  --shadow-lg: 0 28px 70px rgba(23, 38, 52, 0.14), 0 6px 18px rgba(23, 38, 52, 0.06);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --wrap: 1180px;
  --head-h: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

::selection { background: var(--accent-soft); color: var(--ink); }

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
}

/* ---------- 跳转与动效 ---------- */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: none; }

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

.feature:nth-child(2) { transition-delay: 0.04s; }
.feature:nth-child(3) { transition-delay: 0.08s; }
.feature:nth-child(4) { transition-delay: 0.04s; }
.feature:nth-child(5) { transition-delay: 0.08s; }
.feature:nth-child(6) { transition-delay: 0.12s; }
.step:nth-child(2) { transition-delay: 0.06s; }
.step:nth-child(3) { transition-delay: 0.12s; }
.gallery-card:nth-child(2) { transition-delay: 0.06s; }
.gallery-card:nth-child(3) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- 通用元素 ---------- */

.kicker {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.kicker span {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.kicker-light { color: #8fa3b5; }
.kicker-light span { color: #9cc8ff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  backdrop-filter: blur(6px);
}
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.24); }
  70% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.lede {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-2);
}

.sec-head { max-width: 780px; margin-bottom: 54px; }
.sec-head h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.sec-lede {
  max-width: 620px;
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; border-radius: 11px; }

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(23, 38, 52, 0.2);
}
.btn-dark:hover {
  background: #223346;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(23, 38, 52, 0.18);
}

.btn-line {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-line:hover {
  border-color: #a9bccc;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(156, 200, 255, 0.4);
  color: #9cc8ff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.text-link svg { width: 17px; height: 17px; }
.text-link:hover { color: #c4dfff; border-color: rgba(196, 223, 255, 0.8); }

/* ---------- 顶栏 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 249, 251, 0.72);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: saturate(160%) blur(16px);
}
.site-head.is-scrolled {
  background: rgba(246, 249, 251, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.head-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--head-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand-mark {
  display: block;
  width: 58px;
  height: 34px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand-text { display: flex; align-items: baseline; gap: 9px; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: 0.01em; }
.brand-sub { font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 13.5px;
  color: var(--ink-2);
}
.site-nav a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  transition: color 0.16s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.nav-ext { display: inline-flex; align-items: center; gap: 3px; }
.nav-ext svg { width: 14px; height: 14px; opacity: 0.7; }

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 19px; height: 19px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  background:
    radial-gradient(60% 48% at 50% 0%, rgba(37, 99, 235, 0.055), transparent 70%),
    radial-gradient(46% 42% at 84% 12%, rgba(52, 211, 153, 0.07), transparent 72%),
    var(--paper);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(30, 52, 74, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 52, 74, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(64% 58% at 50% 0%, #000 12%, transparent 76%);
  mask-image: radial-gradient(64% 58% at 50% 0%, #000 12%, transparent 76%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-logo {
  display: block;
  width: 168px;
  height: auto;
  margin: 0 auto 16px;
  mix-blend-mode: multiply;
}
.hero h1 {
  max-width: 1040px;
  margin: 26px auto 0;
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-em {
  display: inline-block;
  background-image: linear-gradient(180deg, transparent 64%, rgba(37, 99, 235, 0.13) 64%, rgba(52, 211, 153, 0.16) 100%);
  padding-inline: 0.04em;
}
.hero .cta-row { justify-content: center; margin-top: 32px; }
.hero-note {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-shot {
  position: relative;
  max-width: 1120px;
  margin: 56px auto 0;
}
.window-frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-open {
  position: absolute;
  inset: 10px;
  z-index: 1;
  width: auto;
  height: auto;
  border-radius: 10px;
  cursor: zoom-in;
}
.hero-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.window-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(30, 52, 74, 0.08);
  border-radius: 10px;
  background: #fff;
}
.window-glow {
  position: absolute;
  inset: -34px;
  z-index: -1;
  border-radius: 48px;
  background:
    radial-gradient(42% 54% at 26% 18%, rgba(37, 99, 235, 0.20), transparent 72%),
    radial-gradient(40% 52% at 76% 86%, rgba(14, 133, 106, 0.18), transparent 74%);
  filter: blur(48px);
  opacity: 0.65;
  pointer-events: none;
}
.hero-shot figcaption {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.hero-shot figcaption b { color: var(--ink-2); font-weight: 600; }

/* ---------- 分区骨架 ---------- */

.section {
  padding: 108px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.section-tint {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.028), rgba(14, 133, 106, 0.024)),
    var(--paper-2);
}

/* ---------- 怎么工作 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.step {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.step-no {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.step h3 {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.step p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- 协作方式 ---------- */

.mode-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.mode-group {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.mode-group-head {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.mode-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.mode-group:nth-child(2) .mode-group-label { color: var(--teal); }
.mode-group-head h3 {
  margin-top: 7px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}
.mode-list { list-style: none; }
.mode-list li {
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
}
.mode-list li:last-child { border-bottom: 0; }
.mode-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.mode-item-head h4 { font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; }
.mode-how {
  flex: none;
  padding: 3px 9px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.mode-group:nth-child(2) .mode-how {
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.07);
  color: var(--teal);
}
.mode-list p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}
.mode-group-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.mode-rule {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}
.mode-rule b { color: var(--accent-text); font-weight: 650; }
.mode-rule i { color: var(--accent-border); font-style: normal; }

/* ---------- 跨 harness 协作 ---------- */

.harness-compare {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}
.harness-panel {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.harness-panel-cross {
  border-color: var(--accent-border);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.045), rgba(52, 211, 153, 0.055)),
    var(--card);
}
.harness-panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.harness-panel-cross .harness-panel-title { color: var(--accent); }
.harness-panel-sub {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.harness-box {
  flex: 1;
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--paper-2);
}
.harness-box-cross { background: rgba(255, 255, 255, 0.72); }
.harness-box-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.harness-machine {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.machine-node {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.machine-node.quiet {
  border-style: dashed;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}
.machine-link {
  flex: 1;
  min-width: 20px;
  height: 1px;
  background: var(--line-strong);
}
.harness-box-note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.harness-machines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.harness-machine-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.harness-machine-card b {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
}
.harness-machine-card span {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
}
.harness-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.harness-point {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.harness-point-no {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.harness-point h3 {
  margin-top: 9px;
  font-size: 16px;
  font-weight: 650;
}
.harness-point p {
  margin-top: 7px;
  font-size: 13.8px;
  line-height: 1.75;
  color: var(--ink-2);
}
.harness-workflow {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.harness-workflow-head h3 {
  margin-top: 8px;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.harness-workflow-head > p:not(.mini-tag) {
  margin-top: 9px;
  max-width: 70ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.exploded {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 26px;
}
.ex-layer,
.ex-runtimes {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 9px 0 #e8eff4, 0 22px 40px rgba(23, 38, 52, 0.08);
}
.ex-layer-project { width: 82%; }
.ex-layer-orchestrator {
  width: 92%;
  border-color: var(--accent-border);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.045), rgba(52, 211, 153, 0.05)),
    var(--card);
}
.ex-runtimes { width: 100%; border-color: var(--line-strong); }
.ex-layer-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--line);
}
.ex-layer-orchestrator .ex-layer-head { border-bottom-color: rgba(37, 99, 235, 0.16); }
.ex-layer-no {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.ex-layer-name { font-size: 13px; font-weight: 650; }
.ex-layer-hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}
.ex-layer-body { padding: 15px 20px 18px; }
.ex-layer-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.ex-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.ex-tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 11.5px;
  color: var(--ink-2);
}
.ex-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  height: 50px;
  padding: 0 15%;
}
.ex-link-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px dashed var(--line-strong);
}
.ex-link-line::before,
.ex-link-line::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-border);
}
.ex-link-line::before { top: -1px; }
.ex-link-line::after { bottom: -1px; }
.ex-link-label {
  position: relative;
  z-index: 1;
  padding: 2px 8px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}
.ex-link-up { color: var(--accent-text); }
.ex-runtime-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 20px 20px;
}
.ex-runtime {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.ex-runtime b { display: block; font-size: 12.5px; font-weight: 650; }
.ex-runtime span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}
.ex-caption {
  max-width: 70ch;
  margin: 18px auto 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.harness-note {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--accent-border);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 能力 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  background: var(--grad-soft), #fff;
  color: var(--accent);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.feature p {
  margin-top: 9px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- 界面 ---------- */

.showcase {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 68px;
}
.showcase + .showcase { margin-top: 96px; }
.showcase-reverse { grid-template-columns: 1.08fr 0.92fr; }
.showcase-copy h3 {
  margin-top: 12px;
  font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.showcase-copy > p:not(.mini-tag) {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-2);
}
.mini-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.chip-row li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-2);
}

.shot-card {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.shot-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
}
.shot-open img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(30, 52, 74, 0.08);
  border-radius: 10px;
  background: #fff;
}
.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(20, 32, 43, 0.82);
  color: #fff;
  font-size: 11.5px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.zoom-hint svg { width: 14px; height: 14px; }
.shot-open:hover .zoom-hint,
.shot-open:focus-visible .zoom-hint { opacity: 1; transform: none; }
.shot-card figcaption {
  margin-top: 12px;
  padding: 0 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 84px;
}
.gallery-card {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gallery-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.gallery-card .shot-open img {
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  object-position: top left;
}
.gallery-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 6px 7px;
}
.gallery-card b { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.gallery-card span { font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* ---------- 还能这样用 ---------- */

.scenario-head { margin-top: 84px; }
.scenario-head h3 {
  margin-top: 10px;
  font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.scenario-head > p:not(.mini-tag) {
  margin-top: 10px;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.scenario {
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.scenario:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.scenario-no {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.scenario h4 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.scenario p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.scenario-mode {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}

/* ---------- 本地优先 ---------- */

.band {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background: #0d1620;
  color: #e9eff5;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 40%, #000 10%, transparent 78%);
  mask-image: radial-gradient(70% 80% at 50% 40%, #000 10%, transparent 78%);
  pointer-events: none;
}
.band-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 40% at 20% 20%, rgba(37, 99, 235, 0.22), transparent 70%),
    radial-gradient(36% 38% at 82% 74%, rgba(16, 185, 129, 0.16), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
}
.band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 70px;
}
.band h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #fff;
}
.band-copy > p:not(.kicker) {
  max-width: 56ch;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.9;
  color: #a9b8c6;
}
.band-facts {
  display: grid;
  gap: 4px;
  padding-bottom: 4px;
}
.band-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.band-facts li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.band-facts b {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}
.band-facts span { font-size: 13px; color: #94a6b7; }

/* ---------- 细节 ---------- */

.details-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}
.details-grid .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--head-h) + 32px); }
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 26px;
}
.checklist li {
  position: relative;
  padding-left: 31px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
}

/* ---------- 开始使用 ---------- */

.start-grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 64px;
  align-items: center;
}
.start-copy h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.025em;
}
.start-copy .sec-lede { margin-top: 16px; }
.start-copy .cta-row { margin-top: 28px; }
.start-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

.code-card {
  overflow: hidden;
  border: 1px solid #1d2b3a;
  border-radius: var(--r-lg);
  background: #0f1720;
  box-shadow: var(--shadow-lg);
  color: #dbe6f0;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.code-lang {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #8fa3b5;
}
.code-copy {
  padding: 4px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #cfe0f0;
  font-size: 11.5px;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.code-copy:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.28); }
.code-card pre {
  margin: 0;
  padding: 20px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  tab-size: 2;
}
.code-card pre code { font-family: inherit; color: #d7e3ef; }
.code-note {
  padding: 0 18px 18px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #93a5b7;
}
.code-note code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #cfe0f0;
}

/* ---------- 页脚 ---------- */

.site-foot {
  padding: 66px 0 26px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.foot-inner {
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap: 60px;
}
.foot-brand p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.foot-cols h4 {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.foot-cols a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.16s ease;
}
.foot-cols a:hover { color: var(--accent); }
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
}

/* ---------- 大图查看 ---------- */

.lightbox {
  max-width: 96vw;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(7, 14, 22, 0.82);
  backdrop-filter: blur(5px);
}
.lightbox img {
  display: block;
  max-width: 94vw;
  max-height: 88vh;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lb-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.16s ease;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.22); }

.br-mobile { display: none; }

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .harness-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase { gap: 44px; }
  .details-grid { gap: 48px; }
  .start-grid { gap: 40px; }
  .band-inner { gap: 44px; }
  .brand-sub { display: none; }
}

@media (max-width: 900px) {
  .head-inner { gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .head-actions { margin-left: 0; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 10px 20px 16px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
  }
  .site-head.is-open .site-nav { display: flex; }
  .site-nav a {
    padding: 11px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }

  .hero { padding: 68px 0 56px; }
  .hero h1 { letter-spacing: -0.03em; }
  .hero-shot { margin-top: 42px; }

  .section { padding: 84px 0; }
  .sec-head { margin-bottom: 40px; }

  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step { padding-top: 20px; }

  .mode-matrix { grid-template-columns: 1fr; }
  .mode-group { padding: 22px 22px 18px; }

  .harness-compare { grid-template-columns: 1fr; }
  .ex-layer-project,
  .ex-layer-orchestrator,
  .ex-runtimes { width: 100%; }
  .ex-link { width: 100%; height: 44px; padding: 0 8%; }

  .showcase,
  .showcase-reverse { grid-template-columns: 1fr; gap: 26px; }
  .showcase + .showcase { margin-top: 68px; }
  .showcase-reverse .shot-card { order: -1; }

  .scenario-head { margin-top: 60px; }
  .scenario-grid { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: 1fr; margin-top: 60px; }
  .gallery-card .shot-open img { aspect-ratio: 1.6 / 1; }

  .band { padding: 80px 0; }
  .band-inner { grid-template-columns: 1fr; align-items: start; gap: 36px; }
  .band-facts { gap: 0; }

  .details-grid { grid-template-columns: 1fr; gap: 34px; }
  .details-grid .sec-head { position: static; }

  .start-grid { grid-template-columns: 1fr; gap: 34px; }

  .foot-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .hero-logo { width: 132px; margin-bottom: 12px; }
  .brand-mark { width: 50px; height: 29px; }
  .hero h1 { font-size: 30px; letter-spacing: -0.03em; }
  .lede { font-size: 15.5px; margin-top: 20px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; }
  .br-mobile { display: inline; }
  .showcase-copy h3 { font-size: 22px; text-wrap: balance; }
  .feature-grid { grid-template-columns: 1fr; }
  .mode-item-head { gap: 6px 10px; }
  .mode-rule { align-items: flex-start; padding: 13px 15px; }
  .harness-points { grid-template-columns: 1fr; }
  .harness-machines { grid-template-columns: 1fr; }
  .harness-panel { padding: 20px; }
  .ex-layer-head { padding: 12px 16px 10px; }
  .ex-layer-hint { margin-left: 0; }
  .ex-layer-body { padding: 13px 16px 16px; }
  .ex-runtime-grid { grid-template-columns: 1fr; padding: 14px 16px 16px; }
  .ex-link { height: 40px; padding: 0 4%; }
  .ex-link-label { font-size: 9.5px; }
  .ex-caption { text-align: left; }
  .checklist { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .window-frame { padding: 6px; }
  .band-facts li { flex-wrap: wrap; gap: 8px; }
  .code-card pre { font-size: 11.5px; }
  .start-copy .cta-row { flex-direction: column; align-items: stretch; }
  .start-copy .cta-row .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 15px; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.06em; }
}
