/* Static landing. Product illustrations follow marro-client/frontend/src/styles/
 * tokens.css and marro-hub/src/marro_hub/hub_admin/styles.css. */

:root {
  --bg: oklch(0.985 0.004 80);
  --bg-2: oklch(0.97 0.004 80);
  --bg-3: oklch(0.945 0.004 80);
  --surface: #ffffff;
  --line: oklch(0.91 0.005 80);
  --line-2: oklch(0.86 0.006 80);
  --ink-1: oklch(0.20 0.012 260);
  --ink-2: oklch(0.42 0.010 260);
  --ink-3: oklch(0.58 0.008 260);
  --ink-4: oklch(0.72 0.006 260);
  --accent: oklch(0.46 0.085 175);
  --accent-2: oklch(0.55 0.085 175);
  --accent-soft: oklch(0.94 0.03 175);
  --accent-line: oklch(0.85 0.05 175);
  --warn: oklch(0.52 0.13 45);
  --warn-soft: oklch(0.95 0.04 60);
  --agent-codex: oklch(0.55 0.10 240);
  --agent-claude: oklch(0.58 0.10 35);
  --agent-opencode: oklch(0.55 0.10 150);
  --r-1: 6px;
  --r-2: 8px;
  --r-3: 10px;
  --r-4: 14px;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-cjk: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Menlo", monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-1);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  line-height: 1.5;
}

html[data-lang="zh"] body { font-family: var(--font-cjk); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink-1);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}
p { margin: 0; }
.mono { font-family: var(--font-mono); font-feature-settings: "zero", "ss01"; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mark { display: inline-block; flex-shrink: 0; border-radius: 22.5%; }
.mark .sq { fill: url(#ink); }
.mark .gl {
  fill: none;
  stroke: #f3efe6;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mark .dot { fill: #f3efe6; stroke: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  border: 0.5px solid var(--accent-line);
  overflow-wrap: anywhere;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px oklch(0.92 0.04 175);
  flex: 0 0 6px;
}
.dot { background: var(--ink-4); box-shadow: none; }
.dot.on { background: var(--accent); box-shadow: 0 0 0 2px oklch(0.92 0.04 175); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--r-2);
  border: 0.5px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-1);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background .12s, border-color .12s, transform .06s;
  text-align: center;
}
.btn:hover { background: var(--bg-2); border-color: var(--ink-4); }
.btn:active { transform: translateY(0.5px); }
.btn.primary { background: var(--ink-1); color: #fff; border-color: var(--ink-1); }
.btn.primary:hover { background: oklch(0.28 0.012 260); }
.btn[disabled] { opacity: 0.52; cursor: not-allowed; }

.card {
  background: var(--surface);
  border-radius: var(--r-3);
  border: 0.5px solid var(--line);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: oklch(0.985 0.004 80 / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}
.nav .links { display: flex; align-items: center; gap: 22px; }
.nav .links a { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.nav .links a:hover { color: var(--ink-1); }
.nav .spacer { flex: 1; }
.nav .nav-cta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lang-toggle {
  display: inline-flex;
  gap: 1px;
  padding: 2px;
  border-radius: var(--r-2);
  background: var(--bg-3);
  border: 0.5px solid var(--line);
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  min-width: 38px;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.lang-btn.is-active {
  background: var(--surface);
  color: var(--ink-1);
  box-shadow: 0 1px 2px rgba(15,15,20,0.05), 0 0 0 0.5px var(--line-2);
}

section { scroll-margin-top: 72px; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(680px, 1.24fr);
  gap: 44px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 64px;
}
.hero-copy { min-width: 0; }
.hero h1 {
  max-width: 560px;
  font-size: 54px;
  line-height: 1.03;
  letter-spacing: 0;
}
html[data-lang="zh"] .hero h1 {
  font-size: 50px;
  line-height: 1.12;
}
.hero .lede {
  max-width: 510px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.58;
  color: var(--ink-2);
}
.hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  align-items: center;
}
.hero .btn.primary { min-height: 42px; padding: 0 18px; }
.hero .meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 12px;
}

.product-shell {
  min-width: 0;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  border: 0.5px solid rgba(0,0,0,0.08);
  box-shadow: 0 20px 60px rgba(0,40,30,0.10);
}
.product-topbar {
  height: 52px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid var(--line);
  background: var(--bg);
}
.product-body {
  min-height: 400px;
  display: grid;
  grid-template-columns: 190px minmax(250px, 1fr) 230px;
}
.product-nav {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 9px;
  background: var(--bg-2);
  border-right: 0.5px solid var(--line);
}
.product-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 18px;
}
.product-brand-name { font-size: 13.5px; font-weight: 700; }
.nav-section {
  padding: 0 8px 6px;
  color: var(--ink-3);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.mock-nav-item {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 7px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 500;
  position: relative;
}
.mock-nav-item span:first-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-nav-item.on {
  background: var(--surface);
  color: var(--ink-1);
  font-weight: 600;
  box-shadow: 0 0 0 0.5px var(--line), 0 1px 2px rgba(0,0,0,0.04);
}
.mock-nav-item.on::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}
.mock-nav-spacer { flex: 1; }

.product-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 24px 24px;
  background: var(--bg);
  overflow: hidden;
}
.pane-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}
.pane-head h2 { font-size: 25px; }
.pane-head p {
  max-width: 420px;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.45;
}
.pane-head .pill { margin-left: auto; flex: 0 0 auto; }

.product-inspector {
  min-width: 0;
  padding: 18px 16px;
  background: var(--bg-2);
  border-left: 0.5px solid var(--line);
  overflow: hidden;
}
.product-inspector h3 {
  margin: 6px 0 10px;
  font-size: 13px;
}
.inspector-card {
  padding: 14px;
  border-radius: var(--r-3);
  background: var(--surface);
  border: 0.5px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.inspector-card label {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
}
.inspector-card .value {
  color: var(--ink-1);
  font-size: 12px;
}
.select {
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--bg-2);
  border: 0.5px solid var(--line-2);
  color: var(--ink-2);
  font-size: 12px;
}
.inspector-card .btn { margin-top: 4px; }

.features .wrap,
.capabilities .wrap,
.how .wrap,
.download .wrap {
  padding-top: 72px;
  padding-bottom: 72px;
}
.features .wrap { border-top: 0.5px solid var(--line); }
.how {
  background: var(--bg-2);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.sec-head .grow { flex: 1; }
.sec-head .lede {
  max-width: 390px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.58;
}
h2.big {
  max-width: 760px;
  font-size: 38px;
  line-height: 1.08;
}
html[data-lang="zh"] h2.big { line-height: 1.14; }

.capabilities .eyebrow,
.how .eyebrow,
.download .eyebrow { margin-bottom: 8px; }

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.step .n {
  color: var(--accent);
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.04em;
}
.step .bar {
  width: 24px;
  height: 1px;
  margin: 10px 0 14px;
  background: var(--accent);
}
.step h3 { font-size: 17px; }
.step p {
  margin-top: 7px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.56;
}

.download h2.big { margin-top: 8px; }
.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.plat {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 20px 22px;
}
.plat .pico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  flex: 0 0 32px;
}
.plat .pinfo { flex: 1; min-width: 0; }
.plat .pname,
.plat .pstatus {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plat .pname { font-size: 14px; font-weight: 600; }
.plat .pstatus { margin-top: 2px; color: var(--ink-3); font-size: 11.5px; }
.release-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 0.5px solid var(--line);
}
.release-note strong,
.release-note span {
  display: block;
}
.release-note strong { font-size: 13.5px; }
.release-note span {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 12px;
}
.release-links { display: flex; gap: 8px; flex: 0 0 auto; }

.foot {
  border-top: 0.5px solid var(--line);
}
.foot .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--ink-3);
  font-size: 12px;
}
.foot .brand {
  color: var(--ink-1);
  font-size: 13px;
  font-weight: 600;
}
.foot .spacer { flex: 1; }
.foot a:hover { color: var(--ink-1); }

@media (max-width: 1120px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero h1 { font-size: 46px; }
  html[data-lang="zh"] .hero h1 { font-size: 42px; }
  .product-shell { height: auto; }
  .product-body { grid-template-columns: 190px minmax(0, 1fr) 230px; }
  .nav .links { display: none; }
}

@media (max-width: 880px) {
  .product-shell { height: auto; }
  .product-body {
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 430px;
  }
  .product-inspector { display: none; }
  .sec-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .plat-grid {
    grid-template-columns: 1fr;
  }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav .wrap {
    gap: 12px;
    min-height: 62px;
  }
  .nav .brand { font-size: 14px; }
  .nav .nav-cta { margin-left: auto; }
  .nav .btn { display: none; }
  .hero .wrap {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .hero h1,
  html[data-lang="zh"] .hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }
  .hero .lede { font-size: 15.5px; }
  .hero .btn {
    width: 100%;
    white-space: normal;
  }
  .hero .meta { gap: 8px; }
  .product-shell {
    border-radius: 12px;
    height: auto;
  }
  .product-topbar { height: 46px; padding: 7px 10px; }
  .product-body {
    height: auto;
    grid-template-columns: 1fr;
  }
  .product-nav { display: none; }
  .product-main { padding: 20px; }
  .pane-head {
    flex-direction: column;
    gap: 10px;
  }
  .pane-head h2 { font-size: 24px; }
  .pane-head .pill { margin-left: 0; }
  .features .wrap,
  .capabilities .wrap,
  .how .wrap,
  .download .wrap {
    padding-top: 54px;
    padding-bottom: 54px;
  }
  h2.big { font-size: 30px; }
  .step-grid {
    grid-template-columns: 1fr;
  }
  .plat {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .plat > .btn { margin-left: 48px; }
  .release-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .release-links { flex-wrap: wrap; }
}

/* Client + Hub product story */
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 30; padding: 12px 20px; border-radius: 8px; background: var(--ink-1); color: white; }
.skip-link:focus { top: 12px; }
.hero .wrap { display: block; padding-top: 72px; padding-bottom: 40px; }
.hero-copy { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.hero .eyebrow { margin-bottom: 20px; color: var(--accent); }
.hero h1 { max-width: 780px; font-size: clamp(40px, 4.5vw, 62px); letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
html[data-lang="zh"] .hero h1 { max-width: 700px; margin: auto; font-size: 54px; letter-spacing: 0; line-height: 1.2; white-space: pre-line; }
.hero .lede { max-width: 650px; margin: 24px auto 0; font-size: 16px; line-height: 1.8; }
.hero .cta { justify-content: center; }
.hero .cta .btn { min-height: 44px; }
.hero .meta { display: block; font-size: 11px; }
.agent-strip { margin-top: 36px; text-align: center; font-size: 11px; color: var(--ink-3); }
.agent-strip > div { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 20px; row-gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.agent-strip > div span { color: var(--line-2); }
.client-preview {
  --bg: #0b0b0e; --bg-2: #101013; --bg-3: #202025; --surface: #17171b;
  --line: #2b2b30; --line-2: #3a3a40; --ink-1: #ededf0; --ink-2: #b0b0ba; --ink-3: #92929e;
  --accent: #91d0a7; --accent-soft: #21372a; --accent-line: #365942;
  color: var(--ink-1);
}
.hub-preview { --bg: #f6f7f4; --ink-1: #1c2523; --accent: #1f5d50; }
.product-topbar { gap: 18px; height: auto; min-height: 42px; padding: 10px 18px; background: var(--bg-2); color: var(--ink-2); font-size: 10px; }
.window-dots { font-size: 9px; letter-spacing: 3px; color: var(--ink-3); opacity: .6; }
.preview-device { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.product-body { grid-template-columns: 180px minmax(0, 1fr) 224px; height: auto; }
.product-brand { justify-content: space-between; }
.group-gap { margin-top: 14px; }
.product-main { padding: 28px; }
.pane-head h2 { font-size: 22px; }
.pane-head p { font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.pane-head .pill { font-size: 10px; }
.mock-nav-item { font-size: 11px; }
.mock-nav-item.on { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.mock-nav-item.on::before { display: none; }
.asset-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 10px; color: var(--ink-3); }
.filter-active { padding: 4px 8px; background: var(--bg-3); border-radius: 5px; color: var(--ink-1); }
.asset-list { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.asset-row { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 12px 14px; background: var(--surface); }
.asset-row + .asset-row { border-top: 1px solid var(--line); }
.asset-kind { display: flex; justify-content: center; align-items: center; flex: 0 0 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--accent); font: 12px var(--font-mono); }
.asset-row strong, .review-heading strong { display: block; font-size: 12px; font-weight: 500; }
.asset-row div > span { display: block; margin-top: 4px; font-size: 10px; color: var(--ink-3); }
.asset-check { margin-left: auto; color: var(--accent); font-size: 12px; }
.mock-summary { margin-top: 16px; color: var(--accent); font-size: 10px; }
.product-inspector { padding: 25px 18px; }
.product-inspector h3 { margin: 4px 0 14px; font-size: 12px; }
.field-label { font-size: 10px; color: var(--ink-3); }
.inspector-card .value, .select { font-size: 11px; overflow-wrap: anywhere; }
.preview-action { margin-top: 6px; padding: 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 10px; text-align: center; }
.inspector-note { color: var(--ink-3); font-size: 10px; line-height: 1.7; }
.review-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.review-topic { display: block; margin-top: 4px; color: var(--ink-3); font-size: 10px; }
.review-heading .pill { margin-left: auto; font-size: 10px; }
.review-document { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.review-document > div { font-size: 9px; color: var(--ink-3); }
.review-document h3 { margin-top: 12px; font-size: 14px; }
.review-document ol { margin: 12px 0 0; padding-left: 18px; font-size: 11px; line-height: 1.9; color: var(--ink-2); }
.step p { line-height: 1.8; }
.section-note { margin-top: 22px; font-size: 11px; line-height: 1.8; color: var(--ink-3); }
.capabilities { background: #f4f6f2; border-top: 1px solid var(--line); }
.download-lede { max-width: 650px; margin-top: 20px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.plat { flex-wrap: wrap; gap: 14px; }
.plat .pinfo { min-width: 150px; }
.plat .pname, .plat .pstatus { white-space: normal; overflow: visible; }
.plat .pico { font-size: 12px; color: var(--accent); }
.plat > .btn { width: 100%; margin: 4px 0 0; }
.release-note span { line-height: 1.8; }
@media (max-width: 1000px) {
  .product-body { grid-template-columns: 160px minmax(0, 1fr) 200px; }
  .product-main { padding: 24px 20px; }
  .pane-head { flex-direction: column; }
  .pane-head .pill { margin-left: 0; }
}
@media (max-width: 880px) {
  .product-body { grid-template-columns: 150px minmax(0, 1fr); min-height: 400px; }
  .pane-head { flex-direction: row; }
  .plat > .btn { width: auto; margin: 0; }
}
@media (max-width: 640px) {
  .hero .wrap { padding-top: 48px; padding-bottom: 32px; }
  .hero h1 { font-size: 38px; }
  html[data-lang="zh"] .hero h1 { font-size: clamp(30px, 9vw, 36px); }
  .hero .lede { font-size: 14px; }
  .hero-copy { margin-bottom: 32px; }
  .hero .meta { font-size: 10px; line-height: 1.8; }
  .product-topbar { gap: 10px; padding: 10px 14px; }
  .product-body { grid-template-columns: 1fr; min-height: 0; }
  .product-main { padding: 24px 16px; }
  .pane-head { flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .asset-row { padding: 12px; gap: 10px; }
  .review-heading { flex-wrap: wrap; gap: 10px; }
  .review-heading .pill { margin-left: 0; }
  .agent-strip > div { column-gap: 10px; font-size: 12px; }
  .plat > .btn { width: 100%; margin: 0; }
  .plat .pinfo { min-width: 120px; }
  .foot .spacer { flex-basis: 100%; height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Customer-facing scenarios and the additional value of Hub. */
h2.big { white-space: pre-line; line-height: 1.2; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); gap: 36px; }
.sec-head > * { min-width: 0; }
.sec-head .grow { display: none; }
.sec-head .lede { max-width: none; }
.hero .agent-strip { margin-top: 0; }
.agent-coming { margin-top: 12px; }
.hero .wrap { padding-bottom: 48px; }
.scenario-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.scenario-card { padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.scenario-label { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; font-size: 11px; color: var(--accent); }
.scenario-label .mono { font-size: 10px; color: var(--ink-3); }
.scenario-card h3 { font-size: 21px; line-height: 1.35; font-weight: 600; }
.scenario-card p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.scenario-capabilities { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ink-3); }
.product-illustration { margin: 36px 0 0; }
.product-illustration figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; font-size: 11px; color: var(--ink-3); }
.product-illustration figcaption strong { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.product-close { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 28px; }
.product-close p { max-width: 740px; color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.product-close .btn { flex-shrink: 0; }
.team-bridge { background: var(--bg-2); border-top: 1px solid var(--line); }
.team-bridge .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; padding-top: 64px; padding-bottom: 64px; }
.bridge-intro h2 { font-size: 44px; line-height: 1.2; }
.bridge-intro p { max-width: 300px; margin-top: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.bridge-questions ul { list-style: none; padding: 0; margin: 0; }
.bridge-questions li { padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; line-height: 1.7; }
.bridge-questions li:first-child { padding-top: 0; }
.bridge-next { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.6; }
.bridge-next:hover { text-decoration: underline; text-underline-offset: 4px; }
.bridge-next > span[aria-hidden] { flex-shrink: 0; }
.together { --ink-1: #eef5ef; --ink-2: #c3d5c9; --ink-3: #a3c5b2; --accent: #b5e1c4; --line: #426052; background: #1c352d; color: var(--ink-1); }
.together .wrap { padding-top: 72px; padding-bottom: 72px; }
.together .sec-head { align-items: flex-start; }
.together .eyebrow { color: var(--accent); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.benefit { padding-top: 20px; border-top: 1px solid var(--line); }
.benefit-number { display: block; margin-bottom: 16px; color: var(--accent); font-size: 11px; }
.benefit h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
.benefit p { margin-top: 12px; font-size: 13px; line-height: 1.9; color: var(--ink-2); }
#download-hub { scroll-margin-top: 90px; }
@media (max-width: 880px) {
  .team-bridge .wrap { grid-template-columns: 1fr; gap: 28px; }
  .bridge-intro p { max-width: 600px; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 24px; }
  .benefit { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; }
  .benefit-number { margin-top: 6px; }
  .benefit p { grid-column: 2; margin-top: 8px; }
  .product-close { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (max-width: 640px) {
  .team-bridge .wrap { padding-top: 48px; padding-bottom: 48px; }
  .bridge-intro h2 { font-size: 34px; }
  .bridge-intro p, .bridge-questions li { font-size: 14px; }
  .scenario-grid { grid-template-columns: 1fr; gap: 14px; }
  .scenario-card { padding: 22px; }
  .scenario-card h3 { font-size: 20px; }
  .scenario-card p { font-size: 13px; }
  .product-illustration figcaption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .together .wrap { padding-top: 48px; padding-bottom: 48px; }
  .product-close .btn { width: 100%; }
}

/* Visual refresh: earlier product visuals, readable small type, connected example. */
.eyebrow { font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.sec-head .eyebrow, .how .eyebrow, .download .eyebrow { margin-bottom: 12px; }
.hero { background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-soft), transparent 70%), var(--bg); }
.hero .wrap { padding-top: 88px; padding-bottom: 64px; }
.hero .eyebrow { font-size: 12px; }
.hero .meta { margin-top: 18px; font-size: 12px; }
.agent-strip { font-size: 12px; }
.agent-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.agent-list li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.agent-list .agent-coming { margin: 0; border-style: dashed; background: transparent; color: var(--ink-3); font-weight: 400; }
.product-illustration { margin: 0 0 28px; }
.product-illustration figcaption { font-size: 12px; }
.scenario-card { transition: border-color .15s, box-shadow .15s; }
.scenario-card:hover { border-color: var(--accent-line); box-shadow: 0 8px 24px rgba(0,40,30,.06); }
.scenario-label, .scenario-capabilities, .benefit-number { font-size: 12px; }
.scenario-label .mono { font-size: 11px; }
.product-close p, .benefit p { font-size: 14px; }
.section-note { font-size: 12px; }
.product-topbar, .asset-filter, .asset-row div > span, .mock-summary, .field-label, .preview-action,
.inspector-note, .review-topic, .review-heading .pill, .pane-head .pill { font-size: 11px; }
.mock-nav-item { font-size: 12px; }
.bridge-intro p { max-width: 400px; }
.how .step-grid { gap: 28px; margin-top: 40px; }
.how .step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.how .step:not(:last-child)::after { content: "→"; position: absolute; top: 20px; right: -21px; color: var(--accent); font-size: 14px; }
.how .step .bar { display: none; }
.how .step .n { margin-bottom: 14px; }
@media (max-width: 880px) {
  .how .step:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 44px; }
  .agent-list li { padding: 5px 11px; font-size: 12px; }
  .how .step { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .scenario-card { transition: none; }
}

/* Detail polish: scenario icons, platform icons, window chrome, reveal motion. */
.features .wrap { border-top: 0; padding-top: 48px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico .fill { fill: currentColor; stroke: none; }
.scenario-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.scenario-label { gap: 12px; font-weight: 600; }
.hub-scenarios .scenario-card { background: #fbfcfa; border-color: #dfe6e1; }
.hub-scenarios .scenario-icon { background: #e3ede8; color: #1f5d50; }
.hub-scenarios .scenario-label { color: #1f5d50; }
.hub-scenarios .scenario-card:hover { border-color: #b9cfc4; }
.window-dots { display: inline-flex; gap: 7px; opacity: 1; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; opacity: .85; }
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.client-preview .window-dots i { opacity: .7; }
.asset-kind { font-weight: 600; }
.client-preview .kind-memory { color: #8fb8f0; background: #172235; border-color: #2a3c58; }
.client-preview .kind-skill { color: #91d0a7; background: #16291e; border-color: #2c4a37; }
.client-preview .kind-mcp { color: #e8be7c; background: #2c2216; border-color: #4a3a24; font-size: 10px; }
.hub-preview .kind-skill { color: #1f5d50; background: #e3ede8; border-color: #c4d8cd; }
.plat .pico { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; background: var(--bg-2); color: var(--ink-1); }
.plat .pico .ico { width: 20px; height: 20px; }
.plat { transition: border-color .15s, box-shadow .15s; }
.plat:hover { border-color: var(--line-2); box-shadow: 0 8px 24px rgba(0,40,30,.06); }
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .features .wrap { padding-top: 32px; }
  .plat > .btn { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .plat { transition: none; }
}

/* Separate Client and Hub pages. */
.bridge-note { margin-top: 24px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.bridge-cta { margin-top: 20px; gap: 10px; border-color: var(--accent-line); color: var(--accent); font-weight: 600; }
.bridge-cta:hover { background: var(--accent-soft); border-color: var(--accent); }
.hub-teaser { margin-top: 20px; color: var(--ink-2); font-size: 14px; }
.hub-teaser a { color: var(--accent); font-weight: 600; }
.hub-teaser a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hub-hero { --accent: #1f5d50; --accent-soft: #e3ede8; }
.hub-hero .wrap { padding-bottom: 72px; }
.hub-hero .hero-copy { margin-bottom: 0; }
.download .release-note { margin-top: 28px; }
.download .release-note + .release-note { margin-top: 12px; background: var(--surface); }
.foot a[aria-current="page"] { color: var(--ink-1); }
@media (max-width: 640px) {
  .bridge-cta { width: 100%; }
  .hub-hero .wrap { padding-bottom: 48px; }
}
h1, h2 { text-wrap: pretty; }
@media (max-width: 640px) {
  html[data-lang="zh"] .hero h1 { font-size: clamp(26px, 8.2vw, 36px); }
  html[data-lang="zh"] h2.big { font-size: clamp(22px, 7vw, 30px); }
}

/* ---------- User guide (guide.html) ---------- */
.guide-hero .wrap { padding-top: 64px; padding-bottom: 36px; }
.guide-hero .eyebrow { margin-bottom: 18px; color: var(--accent); }
.guide-hero h1 { max-width: 760px; font-size: 48px; line-height: 1.1; white-space: pre-line; }
html[data-lang="zh"] .guide-hero h1 { line-height: 1.2; }
.guide-hero .lede { max-width: 680px; margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.guide-shots-note { margin-top: 14px; color: var(--ink-3); font-size: 12px; }
.guide-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 820px);
  gap: 48px;
  align-items: start;
  padding-bottom: 72px;
}
.guide-toc {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 2px;
}
.guide-toc-title { margin-bottom: 8px; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.guide-toc a {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 13px;
}
.guide-toc a:hover { background: var(--bg-2); color: var(--ink-1); }
.guide-section {
  padding: 8px 0 36px;
  margin-bottom: 36px;
  border-bottom: 0.5px solid var(--line);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.8;
}
.guide-section:last-child { border-bottom: 0; margin-bottom: 0; }
.guide-section h2 { margin-bottom: 16px; font-size: 28px; line-height: 1.25; }
.guide-section h3 { margin: 28px 0 10px; font-size: 18px; line-height: 1.35; }
.guide-section p,
.guide-section ul,
.guide-section ol,
.guide-section dl { margin: 0 0 14px; }
.guide-section ul,
.guide-section ol { padding-left: 22px; }
.guide-section li + li { margin-top: 6px; }
.guide-tip {
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--ink-1);
  font-size: 14px;
}
.guide-terms, .guide-faq { display: grid; }
.guide-terms dt, .guide-faq dt { color: var(--ink-1); font-weight: 600; }
.guide-terms dd, .guide-faq dd { margin: 2px 0 14px; }
.guide-figure { margin: 18px 0 26px; }
.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15,15,20,0.05), 0 0 0 0.5px var(--line-2), 0 12px 32px rgba(15,15,20,0.06);
}
.guide-figure figcaption { margin-top: 10px; color: var(--ink-3); font-size: 12.5px; text-align: center; }
.guide-arch {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.guide-arch-box {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--line-2);
  font-size: 13px;
  line-height: 1.6;
}
.guide-arch-box strong { display: block; margin-bottom: 6px; color: var(--ink-1); font-size: 14px; }
.guide-arch-box ul { margin: 0; padding-left: 16px; }
.guide-arch-box.is-hub { background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent-line); }
.guide-arch-arrow {
  display: grid;
  justify-items: center;
  max-width: 120px;
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.4;
  text-align: center;
}
.guide-arch-arrow::after { content: "⇄"; font-size: 18px; color: var(--accent); }
@media (max-width: 900px) {
  .guide-hero h1 { font-size: 36px; }
  .guide-layout { grid-template-columns: 1fr; gap: 24px; }
  .guide-toc { position: static; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .guide-toc-title { grid-column: 1 / -1; }
  .guide-arch { grid-template-columns: 1fr; }
  .guide-arch-arrow { max-width: none; }
  .guide-arch-arrow::after { content: "⇅"; }
}
@media (max-width: 560px) {
  .guide-hero .wrap { padding-top: 40px; }
  .guide-hero h1 { font-size: 30px; }
  .guide-section h2 { font-size: 24px; }
}
