/*
 * BGSS 官网设计系统（全站唯一样式表）。
 *
 * 首页、产品目录、产品页、公司页、新闻、下载、法律页全部引用本文件，
 * 不再各自带一套主题。颜色、字号、间距、组件一处定义，改一处全站生效。
 *
 * 2026-09 第四版的三条约束：
 *   - 只有三种颜色：深藏青（标题与唯一的深色区块）、一种品牌蓝（按钮、链接、图标）、中性灰。
 *     不再为领域、产品各配一种颜色，不再用金色点缀与彩色光斑。
 *   - 区块标题一律上下排（小标题 / 大标题 / 说明），宽度足够，中文标题不会被随意切断。
 *   - 网格整齐：领域 4 列、服务 2 列、数字 4 列；卡片同宽同高。
 * 2026-09 第五版：首页先总后分——「领域全景」索引卡在前，「分领域介绍」章节在后（左栏讲领域，右栏列产品与可代办的服务）；
 *   图标悬停显示产品名（[data-tip]，纯 CSS）；研发方案三步只在 Build / Wiki 产品页，作为该页唯一深色区块。
 *
 * 结构：
 *   1. 令牌（浅色 / 深色）      2. 基础与排版        3. 布局容器
 *   4. 按钮 / 徽标 / 链接       5. 页头 / 页脚       6. 首页与区块组件
 *   7. 产品目录与产品页         8. 文章 / 法律 / 表格 9. 表单 / 下载矩阵 / 提示
 *  10. 图标、界面示意           11. 响应式
 */

/* ---------- 1. 令牌 ---------- */
:root {
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --bg: #ffffff;
  --surface: #f6f7f9;
  --surface-2: #eceef3;
  --card: #ffffff;
  --line: #e4e7ed;
  --line-strong: #cbd2dd;

  --ink: #0f172a;
  --text: #2c3548;
  --muted: #6b7588;
  --faint: #98a1b3;

  --brand: #1f5fe0;
  --brand-600: #1a4fc0;
  --brand-700: #15409c;
  --brand-soft: #e9effd;
  --brand-soft-2: #d6e1fa;
  --brand-ink: #0d2a6b;

  --dark: #0d1830;
  --dark-2: #142248;
  --on-dark: #ffffff;
  --on-dark-muted: #a9b5cf;
  --on-dark-line: rgba(255, 255, 255, 0.12);
  --on-dark-soft: rgba(255, 255, 255, 0.07);
  --on-dark-brand: #9dbcff;

  --ok: #1a7f4b;
  --ok-soft: #e6f4ec;
  --err: #b42318;
  --err-soft: #fdecea;

  /* 旧令牌别名：仍指向三色系统，保证历史页面不会冒出第四种颜色 */
  --navy: var(--dark);
  --navy-2: var(--dark-2);
  --on-navy: var(--on-dark);
  --on-navy-muted: var(--on-dark-muted);
  --on-navy-line: var(--on-dark-line);
  --gold: var(--brand);
  --gold-soft: var(--brand-soft);
  --gold-ink: var(--brand-ink);
  --warn: var(--brand-ink);
  --warn-soft: var(--brand-soft);
  --info: var(--brand);
  --info-soft: var(--brand-soft);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);

  --max: 1180px;
  --gutter: 24px;
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220; --surface: #101a2e; --surface-2: #172341; --card: #111b31; --line: #223250; --line-strong: #31456a;
    --ink: #eef3ff; --text: #cbd6ea; --muted: #94a4c3; --faint: #6f809f;
    --brand: #6ea0ff; --brand-600: #8bb3ff; --brand-700: #a9c6ff; --brand-soft: #16264a; --brand-soft-2: #1d3260; --brand-ink: #dbe7ff;
    --dark: #060c1a; --dark-2: #0d1a38;
    --ok: #4ade80; --ok-soft: #10301f; --err: #f87171; --err-soft: #3a1414;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5); --shadow: 0 8px 24px rgba(0, 0, 0, 0.45); --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220; --surface: #101a2e; --surface-2: #172341; --card: #111b31; --line: #223250; --line-strong: #31456a;
  --ink: #eef3ff; --text: #cbd6ea; --muted: #94a4c3; --faint: #6f809f;
  --brand: #6ea0ff; --brand-600: #8bb3ff; --brand-700: #a9c6ff; --brand-soft: #16264a; --brand-soft-2: #1d3260; --brand-ink: #dbe7ff;
  --dark: #060c1a; --dark-2: #0d1a38;
  --ok: #4ade80; --ok-soft: #10301f; --err: #f87171; --err-soft: #3a1414;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5); --shadow: 0 8px 24px rgba(0, 0, 0, 0.45); --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* ---------- 2. 基础与排版 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 2.875rem); line-height: 1.2; }
h2 { font-size: clamp(1.625rem, 2.5vw, 2.125rem); }
h3 { font-size: 1.1875rem; }
h4 { font-size: 1.0625rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
code { font-family: var(--mono); font-size: 0.9em; padding: 2px 6px; border-radius: 4px; background: var(--surface-2); color: var(--brand-700); }
pre { margin: 0; padding: 16px 18px; border-radius: var(--r); background: var(--dark); color: #dbe7ff; font-family: var(--mono); font-size: 0.85rem; line-height: 1.6; overflow: auto; }
pre code { background: transparent; color: inherit; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.kicker { display: block; margin: 0 0 12px; color: var(--brand); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; }
.lede { color: var(--muted); font-size: 1.0625rem; line-height: 1.8; max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* ---------- 3. 布局容器 ---------- */
.container { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: 80px; }
.section-tight { padding-block: 48px; }
.section-surface { background: var(--surface); }
.section-navy, .section-dark { background: var(--dark); color: var(--on-dark); }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4, .section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--on-dark); }
.section-navy .kicker, .section-dark .kicker { color: var(--on-dark-brand); }
.section-navy .lede, .section-navy .muted, .section-dark .lede, .section-dark .muted { color: var(--on-dark-muted); }
/* 区块标题：上下排。小标题 / 大标题 / 说明依次排列，标题最宽 820px，说明最宽 720px */
.section-head { display: block; max-width: 820px; margin-bottom: 36px; }
.section-head .lede { margin-top: 12px; font-size: 1.0625rem; }
.section-head-center { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head-center .lede { margin-inline: auto; }
.section-foot { margin-top: 28px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 4. 按钮 / 徽标 / 链接 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 0.9375rem; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.btn-primary, .btn-gold { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: var(--brand-600); color: #fff; }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--brand); padding-inline: 12px; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-on-navy, .btn-on-dark { background: #fff; color: var(--dark); }
.btn-on-navy:hover, .btn-on-dark:hover { background: var(--brand-soft); color: var(--dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.875rem; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.link { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link .arrow { transition: transform 0.15s ease; }
.link:hover .arrow { transform: translateX(3px); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--brand-soft); color: var(--brand); }
.badge-soon, .badge-dev { background: var(--surface-2); color: var(--muted); }
.badge-plain::before { display: none; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 6px; font-size: 0.8125rem; background: var(--surface-2); color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 5. 页头 / 页脚 ---------- */
.site-skip { position: absolute; top: -100px; left: 16px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--card); color: var(--brand); box-shadow: var(--shadow); }
.site-skip:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { color: var(--ink); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.08em; }
.brand-name small { color: var(--muted); font-size: 0.6875rem; letter-spacing: 0.04em; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.site-nav > li { list-style: none; position: relative; }
.site-nav a, .site-nav summary { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 8px; color: var(--text); font-size: 0.9375rem; font-weight: 500; }
.site-nav a:hover, .site-nav li:hover > a, .site-nav li:focus-within > a { color: var(--brand); background: var(--brand-soft); }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.site-nav .caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.7; }
.mega { position: absolute; top: calc(100% + 8px); left: -12px; width: 720px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s; }
.site-nav li:hover > .mega, .site-nav li:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mega-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 10px 12px; border-radius: 10px; align-items: start; }
.mega-item:hover { background: var(--surface); color: inherit; }
.mega-item .mega-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 0.8125rem; }
.mega-item strong { display: block; color: var(--ink); font-size: 0.9375rem; }
.mega-item span { display: block; color: var(--muted); font-size: 0.8125rem; line-height: 1.5; margin-top: 2px; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.875rem; }
.mega-foot a { color: var(--brand); font-weight: 600; padding: 4px 6px; border-radius: 6px; }
.site-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.lang-switch a { padding: 3px 8px; border-radius: 999px; color: var(--muted); }
.lang-switch a.is-active { background: var(--brand-soft); color: var(--brand); }
.site-mobile { display: none; margin-left: auto; }
.site-mobile > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.site-mobile > summary::-webkit-details-marker { display: none; }
.site-mobile > summary span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
.site-mobile-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); overflow: auto; padding: 8px var(--gutter) 24px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.site-mobile-panel a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.site-mobile-panel .mobile-group { padding: 14px 0 4px; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.site-mobile-panel .mobile-sub a { padding-left: 12px; color: var(--text); font-weight: 400; }
.site-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.site-mobile-actions .btn { min-height: 44px; }

/* 页脚：浅色、三栏导航、少而精 */
.site-footer { background: var(--surface); color: var(--muted); border-top: 1px solid var(--line); }
.site-footer-top { display: grid; grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; padding: 56px 0 40px; }
.site-footer-blurb { max-width: 340px; margin-top: 18px; font-size: 0.9rem; line-height: 1.75; }
.site-footer-contact { margin-top: 18px; display: grid; gap: 4px; font-size: 0.9rem; font-style: normal; }
.site-footer-contact a { color: var(--ink); font-weight: 500; }
.site-footer-contact a:hover { color: var(--brand); }
.site-footer-col h2 { margin: 0 0 14px; color: var(--ink); font-size: 0.875rem; letter-spacing: 0.04em; }
.site-footer-col ul { list-style: none; display: grid; gap: 9px; }
.site-footer-col a { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.site-footer-col a:hover { color: var(--brand); }
.site-footer-cols { display: contents; }
.site-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: 0.8125rem; }
.site-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer-bottom a { color: var(--muted); }
.site-footer-bottom a:hover { color: var(--brand); }
.site-footer-bottom .lang-switch { background: var(--card); }

/* ---------- 6. 首页与区块组件 ---------- */
.hero { position: relative; padding: 72px 0 64px; background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.375rem); line-height: 1.18; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { margin-top: 22px; font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding: 0; list-style: none; color: var(--muted); font-size: 0.875rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* 首页产品拼图：全部产品图标按领域排开，最后几格代表持续新增 */
.mosaic { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 20px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mosaic-tile { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 4px 8px; border-radius: 12px; color: var(--muted); font-size: 0.6875rem; line-height: 1.2; text-align: center; transition: background 0.15s ease; }
.mosaic-tile span:last-child { max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mosaic-tile:hover { background: var(--surface); color: var(--ink); }
.mosaic-more { color: var(--faint); }
.mosaic-more-narrow { display: none; }
.mosaic-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--muted); font-size: 0.8125rem; }

/* 数字带 */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: 24px; background: var(--card); }
.stat strong { display: block; color: var(--ink); font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.stat strong small { font-size: 0.9375rem; color: var(--brand); margin-left: 4px; font-weight: 700; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }


/* 领域索引卡（首页全景）：等宽等高，按数据算列数，不足一行用「持续加入」补齐；卡内顺序固定为 图标 + 编号 / 标题 / 一句话 / 产品图标 / 数量 + 链接 */
.domain-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
.domain-tile { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 100%; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.domain-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); color: inherit; }
.domain-tile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.domain-tile-num { color: var(--faint); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.domain-tile h3 { font-size: 1.125rem; }
.domain-tile-tagline { color: var(--brand); font-weight: 600; font-size: 0.875rem; line-height: 1.5; }
.nowrap { white-space: nowrap; }
.domain-tile-products { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.domain-tile-product { display: inline-flex; border-radius: 8px; }
.domain-tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.domain-tile-count { color: var(--muted); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.domain-tile .link { font-size: 0.875rem; }
.domain-tile-filler { justify-content: center; align-items: center; text-align: center; border-style: dashed; border-color: var(--line-strong); background: transparent; box-shadow: none; }
.domain-tile-filler:hover { border-color: var(--line-strong); box-shadow: none; }
.domain-tile-filler h3 { margin-top: 12px; font-size: 1.0625rem; color: var(--muted); }
.domain-tile-filler p { color: var(--faint); font-size: 0.85rem; max-width: 220px; }


/* 分领域介绍：每个领域一章，同一套三栏版式。左栏讲领域（编号 / 名称 / 一句话 / 说明），中栏列本领域产品与可交给团队代办的服务，右栏放界面示意；左右两栏跟随滚动 */
.chapters .section-head { margin-bottom: 8px; }
.chapter { padding: 56px 0; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; padding-top: 36px; }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr) minmax(0, 0.9fr); gap: 40px; align-items: start; }
.chapter-intro, .chapter-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.chapter-num { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; color: var(--faint); }
.chapter-num span { color: var(--brand); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.chapter-num small { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; }
.chapter-title { display: flex; align-items: flex-start; gap: 16px; }
.chapter-title .kicker { margin-bottom: 4px; }
.chapter-title h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
.chapter-heading { margin-top: 18px; color: var(--ink); font-size: 1.125rem; font-weight: 600; line-height: 1.6; }
.chapter-desc { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; line-height: 1.75; }
.chapter-screen { margin: 0; }
.chapter-screen figcaption { margin-top: 10px; color: var(--faint); font-size: 0.8125rem; }
.chapter-label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--muted); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.chapter-label b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 0.75rem; }
.chapter-label-services { margin-top: 28px; }
.chapter-foot { margin-top: 22px; }
.product-rows, .service-rows { display: grid; gap: 10px; }
.product-row, .service-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 16px; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.product-row:hover, .service-row:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); color: inherit; }
.product-row-body { display: grid; gap: 3px; min-width: 0; }
.product-row-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-row-head strong { color: var(--ink); font-size: 1rem; }
.product-row-tagline { color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
.product-row-arrow { color: var(--brand); font-weight: 700; transition: transform 0.15s ease; }
.product-row:hover .product-row-arrow, .service-row:hover .product-row-arrow { transform: translateX(3px); }
.product-row-more { grid-template-columns: 44px minmax(0, 1fr); border-style: dashed; border-color: var(--line-strong); background: transparent; }
.product-row-more .product-row-tagline { color: var(--faint); }
.service-row { background: var(--surface); }
.service-row > .ui-icon { width: 44px; height: 44px; border-radius: 12px; }

/* 一套系统：一个账号、一个助手、一个模型中枢（全站唯一深色区块） */
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--on-dark-soft); border: 1px solid var(--on-dark-line); }
.pillar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pillar-verb { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--on-dark-brand); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; }
.pillar h3 { font-size: 1.125rem; }
.pillar p { color: var(--on-dark-muted); font-size: 0.9375rem; line-height: 1.7; }
.pillar .link { margin-top: auto; padding-top: 8px; color: #fff; font-size: 0.875rem; }
.system-strip { margin-top: 28px; padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--on-dark-line); }
.system-strip .icon-strip { justify-content: center; gap: 8px; }
.system-strip-caption { margin-top: 14px; text-align: center; color: var(--on-dark-muted); font-size: 0.875rem; }
.system-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* 研发方案：三步流程 */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: flow; }
.flow-step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); counter-increment: flow; }
.flow-step::before { content: counter(flow, decimal-leading-zero); color: var(--brand); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.1em; }
.flow-step::after { content: ""; position: absolute; top: 50%; right: -17px; width: 18px; height: 18px; margin-top: -9px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: translateX(-9px) rotate(45deg); }
.flow-step:last-child::after { display: none; }
.flow-step-head { display: flex; align-items: center; gap: 10px; }
.flow-step h3 { font-size: 1.0625rem; }
.flow-step p { color: var(--muted); font-size: 0.9375rem; line-height: 1.7; }
.section-dark .flow-step { background: var(--on-dark-soft); border-color: var(--on-dark-line); }
.section-dark .flow-step p { color: var(--on-dark-muted); }
.section-dark .flow-step::after { border-color: var(--on-dark-line); }
.section-dark .section-foot .link { color: #fff; }

/* 专业服务：两列卡片，服务名一行放下 */
.service-grid, .service-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.service-card:hover { border-color: var(--brand); box-shadow: var(--shadow); color: inherit; }
.service-card-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.service-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service-label { display: inline-flex; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; }
.service-card h3 { font-size: 1.125rem; line-height: 1.4; color: var(--ink); }
.service-need { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.service-tags span { padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 0.8125rem; font-weight: 600; }
.service-card .link { margin-top: auto; padding-top: 4px; font-size: 0.875rem; }
.service-lead-need { margin-top: 10px; font-weight: 600; color: var(--brand-ink); }
.service-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.service-item { padding: 22px; border-radius: var(--r-lg); background: var(--surface); }
.service-item h3 { margin-top: 14px; font-size: 1.0625rem; }
.service-item p { margin-top: 6px; color: var(--muted); font-size: 0.875rem; line-height: 1.7; }
.service-code { display: inline-grid; place-items: center; min-width: 52px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 0.875rem; letter-spacing: 0.08em; }
.service-products { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.service-products a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.service-products a:hover { color: var(--brand); }
.service-more { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; }
.service-group .service-facts { margin-top: 4px; }
.mega-services { width: 460px; }
.mega-services .mega-grid { grid-template-columns: minmax(0, 1fr); }

/* 特性列表 / 流程 / 信息卡 */
.feature-list { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.feature-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.feature-list .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 0.8125rem; }
.feature-list strong { display: block; color: var(--ink); }
.feature-list span { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }
.section-dark .feature-list .ico, .section-navy .feature-list .ico { background: rgba(255, 255, 255, 0.1); color: #fff; }
.section-dark .feature-list strong, .section-navy .feature-list strong { color: #fff; }
.section-dark .feature-list span, .section-navy .feature-list span { color: var(--on-dark-muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: inline-block; margin-bottom: 12px; color: var(--brand); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.1em; }
.step h3 { font-size: 1.0625rem; }
.step p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; line-height: 1.7; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.info-card h3 { font-size: 1.0625rem; }
.info-card p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; line-height: 1.7; }
.info-card ul { margin-top: 12px; padding-left: 18px; color: var(--text); font-size: 0.9375rem; display: grid; gap: 6px; }
.info-card .ico { width: 40px; height: 40px; margin-bottom: 14px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 0.8125rem; }
.info-card.accent { border-color: var(--brand-soft-2); background: var(--brand-soft); }
.section-dark .info-card, .section-navy .info-card { background: var(--on-dark-soft); border-color: var(--on-dark-line); }
.section-dark .info-card p, .section-dark .info-card ul, .section-navy .info-card p, .section-navy .info-card ul { color: var(--on-dark-muted); }

/* 认可 / 新闻卡 */
.news-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.news-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.news-card time { color: var(--muted); font-size: 0.8125rem; letter-spacing: 0.04em; }
.news-card h3 { font-size: 1.0625rem; line-height: 1.5; }
.news-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.news-card .link { margin-top: auto; font-size: 0.875rem; }
.news-card figure { margin: 0 0 6px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.news-card figure img { width: 100%; height: 100%; object-fit: cover; }
.award-list { list-style: none; display: grid; gap: 12px; }
.award-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.award-list .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 0.8125rem; }
.award-list strong { display: block; color: var(--ink); font-size: 0.9375rem; }
.award-list span { color: var(--muted); font-size: 0.8125rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; color: var(--ink); font-weight: 600; font-size: 1.0625rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--brand); font-weight: 400; font-size: 1.125rem; transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 820px; padding: 0 0 22px; color: var(--muted); line-height: 1.8; }

/* CTA 带 */
.cta-band { border-radius: var(--r-xl); padding: 48px 52px; background: var(--dark); color: #fff; }
.cta-band-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 12px; color: var(--on-dark-muted); font-size: 1.0625rem; }
.cta-band .kicker { color: var(--on-dark-brand); }
.cta-links { display: grid; gap: 10px; justify-items: start; }
.cta-links a:not(.btn) { color: #dbe7ff; font-size: 1rem; }
.cta-links a:not(.btn):hover { color: #fff; }

/* 历史区块（其它页面仍在用）：统一账号带、BOT 窗口示意 */
.account-band { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 32px; align-items: center; padding: 28px 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.account-band h2 { font-size: 1.25rem; }
.account-band p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
.bot-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.bot-visual { position: relative; border-radius: var(--r-lg); padding: 20px; background: var(--dark-2); color: #fff; }
.bot-window { border-radius: 12px; background: var(--dark); border: 1px solid var(--on-dark-line); overflow: hidden; }
.bot-window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255, 255, 255, 0.05); font-size: 0.75rem; color: var(--on-dark-muted); }
.bot-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.bot-window-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 260px; }
.bot-side { padding: 14px 12px; border-right: 1px solid var(--on-dark-line); display: grid; gap: 6px; align-content: start; }
.bot-side span { display: block; padding: 8px 10px; border-radius: 8px; font-size: 0.8125rem; color: var(--on-dark-muted); }
.bot-side span.active { background: rgba(31, 95, 224, 0.35); color: #fff; }
.bot-side .icon-tile { display: inline-grid; padding: 0; color: #fff; }
.bot-main { padding: 14px; display: grid; gap: 10px; align-content: start; }
.bot-msg { max-width: 92%; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); font-size: 0.8125rem; line-height: 1.55; }
.bot-msg.user { justify-self: end; background: var(--brand); }
.bot-msg small { display: block; margin-bottom: 4px; color: var(--on-dark-brand); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- 7. 产品目录与产品页 ---------- */
.page-hero { padding: 56px 0 40px; background: var(--bg); border-bottom: 1px solid var(--line); }
.page-hero .lede { margin-top: 16px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 0.8125rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span[aria-hidden] { color: var(--faint); }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 14px; color: var(--text); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--brand); }
.subnav a b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 0.75rem; font-weight: 700; }

.catalog-group { padding: 56px 0 8px; }
.catalog-group + .catalog-group { border-top: 1px solid var(--line); }
.catalog-group-head { display: block; max-width: 820px; margin-bottom: 26px; }
.catalog-group-head .lede { margin-top: 12px; font-size: 1rem; }
.catalog-group-head .kicker { margin-bottom: 6px; }

/* 产品卡片 */
.product-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.product-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.product-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.product-mark { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; color: var(--brand); font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.04em; background: var(--brand-soft); }
.product-card h3 { font-size: 1.0625rem; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card .tagline { color: var(--ink); font-weight: 600; font-size: 0.9375rem; line-height: 1.6; }
.product-card .desc { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.product-card .who { color: var(--muted); font-size: 0.8125rem; }
.product-card .who b { color: var(--brand); font-weight: 600; }
.product-card .link { margin-top: auto; padding-top: 6px; font-size: 0.875rem; position: relative; z-index: 1; }
.product-list-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin-top: 22px; font-size: 0.9375rem; }
.product-list-inline strong { color: var(--muted); font-weight: 500; }
.product-list-inline a { color: var(--brand); }

.product-hero { padding: 48px 0 48px; background: var(--bg); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr); gap: 48px; align-items: start; }
.product-hero-grid.with-screen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.product-hero .product-mark { width: 56px; height: 56px; min-width: 56px; font-size: 1rem; border-radius: 16px; margin-bottom: 20px; }
.product-hero h1 { font-size: clamp(1.875rem, 3.6vw, 2.625rem); }
.product-hero .product-name { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.product-hero .tags { margin-top: 20px; }
.product-hero-visual { position: relative; padding: 14px 0 0 14px; }
.product-hero-visual .screen { position: relative; }
.product-hero-visual .icon-tile.floating { position: absolute; right: -14px; top: -14px; z-index: 2; box-shadow: var(--shadow); border: 3px solid var(--bg); }
.product-facts { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.product-facts h2 { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.product-facts dl { display: grid; gap: 12px; margin: 0; }
.product-facts dt { color: var(--muted); font-size: 0.8125rem; }
.product-facts dd { margin: 2px 0 0; color: var(--ink); font-size: 0.9375rem; font-weight: 500; overflow-wrap: anywhere; }
.product-facts dd a { color: var(--brand); }
.product-facts .btn { width: 100%; margin-top: 8px; }
.facts-band { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.facts-band > div { padding: 18px 20px; background: var(--card); min-width: 0; }
.facts-band dt { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.facts-band dd { margin: 6px 0 0; color: var(--ink); font-size: 0.9rem; font-weight: 500; overflow-wrap: anywhere; }
.facts-band dd a { color: var(--brand); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.benefit { padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.benefit .ico { width: 40px; height: 40px; margin-bottom: 14px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 0.8125rem; }
.benefit .ui-icon, .info-card .ui-icon, .step .ui-icon { margin-bottom: 14px; }
.benefit h3 { font-size: 1.0625rem; }
.benefit p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; line-height: 1.7; }
.audience-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.audience-list li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--surface); color: var(--text); font-size: 0.9375rem; line-height: 1.6; }
.audience-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231f5fe0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.boundary-list { list-style: none; display: grid; gap: 10px; }
.boundary-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 0.9375rem; line-height: 1.6; }
.boundary-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b7588' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M10 6.2v.2M10 9v5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.related-card:hover { border-color: var(--brand); color: inherit; }
.related-card strong { display: block; color: var(--ink); font-size: 0.9375rem; }
.related-card span { display: block; color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare > div { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.compare > div.win { border-color: var(--brand-soft-2); background: var(--brand-soft); }
.compare h3 { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 1.0625rem; }
.compare ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; font-size: 0.9375rem; color: var(--text); }
.compare li { display: flex; gap: 10px; }
.compare li::before { content: "·"; color: var(--brand); font-weight: 800; }

/* ---------- 8. 文章 / 法律 / 表格 ---------- */
.article-hero { padding: 56px 0 28px; }
.article-hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--muted); font-size: 0.875rem; }
.prose { max-width: 820px; font-size: 1.0625rem; line-height: 1.9; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: 0.5em; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: 12px; }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: 0.875rem; text-align: center; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.prose blockquote { margin: 0; padding: 16px 22px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 12px 12px 0; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface); color: var(--ink); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-card { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.aside-card h2 { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.aside-card ul { list-style: none; display: grid; gap: 10px; font-size: 0.9375rem; }
.aside-card li a { color: var(--text); display: block; line-height: 1.5; }
.aside-card li a:hover, .aside-card li a[aria-current="page"] { color: var(--brand); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-nav a { display: block; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); color: var(--ink); }
.article-nav a:hover { border-color: var(--brand); }
.article-nav small { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; margin-bottom: 6px; }
.article-nav a.next { text-align: right; }
.legal-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--brand-soft-2); background: var(--brand-soft); color: var(--brand-ink); font-size: 0.875rem; line-height: 1.7; margin-bottom: 24px; }
.legal-cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.legal-cards a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.legal-cards a:hover { border-color: var(--brand); color: inherit; }
.prose .legal-cards a { text-decoration: none; color: inherit; }
.legal-cards strong { color: var(--ink); }
.legal-cards span { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: var(--surface); color: var(--ink); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.04em; }
.table tr:last-child td { border-bottom: 0; }
.table code { white-space: nowrap; }

/* 营销日历 */
.calendar-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.calendar-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 0.9rem; font-weight: 500; }
.calendar-tabs a:hover { border-color: var(--brand); }
.calendar-region { padding: 28px 0; border-top: 1px solid var(--line); }
.calendar-region h2 { display: flex; align-items: center; gap: 12px; font-size: 1.375rem; margin-bottom: 16px; }
.calendar-region h2 .badge { font-size: 0.75rem; }
.calendar-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calendar-list li { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--surface); font-size: 0.9375rem; }
.calendar-list li b { color: var(--brand); font-weight: 700; font-size: 0.875rem; }

/* ---------- 9. 表单 / 下载矩阵 / 提示 ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.field label small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card); color: var(--text); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.form-hint { color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }
.form-status { display: none; padding: 12px 14px; border-radius: 10px; font-size: 0.9rem; }
.form-status[data-state="ok"] { display: block; background: var(--ok-soft); color: var(--ok); }
.form-status[data-state="error"] { display: block; background: var(--err-soft); color: var(--err); }
.contact-card { padding: 28px; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.contact-card h2 { color: #fff; font-size: 1.25rem; }
.contact-card dl { margin: 18px 0 0; display: grid; gap: 14px; }
.contact-card dt { color: var(--on-dark-muted); font-size: 0.8125rem; letter-spacing: 0.06em; }
.contact-card dd { margin: 2px 0 0; font-size: 1.0625rem; }
.contact-card dd a { color: #fff; }
.contact-card dd a:hover { color: var(--on-dark-brand); }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand-ink); font-size: 0.9375rem; line-height: 1.7; }
.callout.warn { background: var(--surface-2); color: var(--text); }
.callout.ok { background: var(--ok-soft); color: var(--ok); }
.callout strong { font-weight: 700; }

.installer-matrix { margin-top: 8px; }
.installer-matrix h2 { font-size: 1.25rem; margin-bottom: 14px; }
.installer-matrix .im-empty-banner { padding: 16px 18px; border-radius: var(--r); border: 1px dashed var(--line-strong); background: var(--surface); color: var(--text); font-size: 0.9rem; line-height: 1.7; margin-bottom: 14px; }
.installer-matrix .im-empty-title { margin: 0 0 4px; font-weight: 800; font-size: 1rem; }
.installer-matrix .im-docs-link { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.installer-matrix .im-note { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); font-size: 0.875rem; line-height: 1.65; }
.installer-matrix .im-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.installer-matrix table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.installer-matrix th, .installer-matrix td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.installer-matrix th { background: var(--surface); color: var(--ink); font-size: 0.8125rem; font-weight: 700; }
.installer-matrix tr:last-child td { border-bottom: 0; }
.installer-matrix code { font-size: 0.8125rem; word-break: break-all; }
.installer-matrix .im-status-live { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; }
.installer-matrix .im-status-empty { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; border: 1px dashed var(--line-strong); background: var(--surface); color: var(--muted); font-size: 0.8125rem; font-weight: 700; cursor: not-allowed; }
.installer-matrix .im-legacy { display: block; margin-top: 4px; color: var(--faint); font-size: 0.75rem; }
.im-hero-disabled { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px dashed var(--line-strong); color: var(--muted); font-weight: 600; font-size: 0.9375rem; cursor: not-allowed; }
.hero-download .primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; }
.hero-download .ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--ink); font-weight: 600; margin-left: 8px; }
.platform-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.platform-grid div { padding: 18px 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); text-align: center; }
.platform-grid strong { display: block; color: var(--ink); }
.platform-grid span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.8125rem; }
.platform-grid .ui-icon { display: inline-grid; margin: 0 0 10px; color: var(--brand); }

/* 首次法律提示（运行时注入） */
.bgss-legal-notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10040; display: flex; gap: 16px; align-items: center; justify-content: space-between; max-width: 820px; margin: 0 auto; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: var(--text); box-shadow: var(--shadow-lg); font-size: 0.875rem; line-height: 1.6; }
.bgss-legal-notice p { margin: 0; }
.bgss-legal-notice a { color: var(--brand); font-weight: 600; }
.bgss-legal-notice button { flex: none; border: 0; border-radius: 10px; background: var(--brand); color: #fff; padding: 9px 16px; font-weight: 600; }

/* ---------- 10. 图标、界面示意 ---------- */
/* 图标底块：三种色调——浅蓝底蓝线（默认）、品牌蓝底白线、深色区块上的白线 */
.icon-tile { display: inline-grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand); }
.icon-tile-solid { background: var(--brand); color: #fff; }
.icon-tile-dark { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid var(--on-dark-line); }
.icon-tile-dashed { background: transparent; color: var(--faint); border: 1.5px dashed var(--line-strong); }
.ui-icon { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; }
.ui-icon-soft, .ui-icon-gold { background: var(--brand-soft); color: var(--brand); }
.ui-icon-brand { background: var(--brand); color: #fff; }
.ui-icon-navy, .ui-icon-dark { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ui-icon-lg { width: 52px; height: 52px; border-radius: 14px; }
.section-dark .ui-icon-soft, .section-navy .ui-icon-soft { background: rgba(255, 255, 255, 0.1); color: #fff; }
.mega-item .icon-tile { display: inline-grid; margin-top: 0; }
.mega-item .ui-icon { display: inline-grid; margin-top: 0; color: var(--brand); }
.icon-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.icon-strip a { display: inline-flex; border-radius: 12px; transition: transform 0.15s ease; }
.icon-strip a:hover { transform: translateY(-2px); }
.icon-strip-item { display: inline-flex; border-radius: 12px; }
.section-dark .icon-tile-dashed { color: var(--on-dark-muted); border-color: rgba(255, 255, 255, 0.28); }

/* 悬停提示：图标上显示产品名。纯 CSS，预渲染后不需要脚本；键盘聚焦同样显示。深色区块里反色。 */
[data-tip] { position: relative; }
[data-tip]::before, [data-tip]::after { position: absolute; left: 50%; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 4px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s; z-index: 40; }
[data-tip]::after { content: attr(data-tip); bottom: calc(100% + 7px); padding: 6px 10px; border-radius: 8px; background: var(--dark); color: #fff; font-size: 0.75rem; font-weight: 600; line-height: 1.3; white-space: nowrap; box-shadow: var(--shadow); }
[data-tip]::before { content: ""; bottom: calc(100% - 3px); border: 5px solid transparent; border-top-color: var(--dark); }
[data-tip]:hover::before, [data-tip]:hover::after, [data-tip]:focus-visible::before, [data-tip]:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.section-dark [data-tip]::after { background: #fff; color: var(--dark); }
.section-dark [data-tip]::before { border-top-color: #fff; }

/* 产品界面示意图：一律品牌蓝 */
.screen { --pc: var(--brand); position: relative; display: grid; grid-template-rows: 32px minmax(0, 1fr); width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); overflow: hidden; font-size: 0.6875rem; color: var(--muted); }
.screen-compact { font-size: 0.625rem; border-radius: 12px; box-shadow: var(--shadow-sm); }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.screen-bar > i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.screen-url { flex: 1; margin-left: 8px; height: 18px; padding: 0 10px; line-height: 18px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); color: var(--faint); font-size: 0.625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen-body { display: grid; grid-template-columns: 27% minmax(0, 1fr); min-height: 0; }
.screen-side { display: grid; gap: 4px; align-content: start; padding: 12px 10px; border-right: 1px solid var(--line); background: var(--surface); min-width: 0; }
.screen-side b { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen-side b.on { background: var(--pc); color: #fff; }
.screen-brand { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; }
.screen-brand b { padding: 0; height: auto; color: var(--ink); }
.screen-main { display: grid; gap: 10px; align-content: start; padding: 12px; min-width: 0; overflow: hidden; }
.sk-lines { display: grid; gap: 5px; min-width: 0; }
.sk-lines i { display: block; height: 6px; border-radius: 3px; background: var(--surface-2); }
.sk-title { display: block; width: 55%; height: 10px; border-radius: 4px; background: color-mix(in srgb, var(--pc) 45%, var(--surface-2)); margin-bottom: 4px; }
.sk-label { display: block; width: 45%; height: 5px; border-radius: 3px; background: var(--surface-2); }
.sk-avatar { flex: none; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--pc) 30%, var(--surface-2)); }
.sk-pill { display: inline-flex; align-items: center; flex: none; height: 16px; padding: 0 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 0.6rem; font-weight: 700; white-space: nowrap; }
.sk-pill.on { background: var(--pc); color: #fff; }
.sk-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.sk-dot.ok { background: var(--pc); } .sk-dot.warn { background: color-mix(in srgb, var(--pc) 45%, var(--surface-2)); }
.sk-thumb { display: block; border-radius: 6px; background: color-mix(in srgb, var(--pc) 55%, var(--surface-2)); }
.sk-thumb.t1 { background: var(--pc); }
.sk-thumb.t2 { background: color-mix(in srgb, var(--pc) 30%, var(--surface-2)); }
.sk-thumb.t3 { background: var(--dark-2); }
.sk-cursor { display: inline-block; width: 2px; height: 12px; background: var(--pc); margin-top: 4px; }
.w-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.w-stats > div { display: grid; gap: 6px; padding: 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); }
.w-stats b { display: block; height: 8px; border-radius: 4px; background: var(--pc); }
.w-list { display: grid; gap: 6px; }
.w-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); min-width: 0; }
.w-row .sk-lines { flex: 1; }
.w-list.compact .w-row { padding: 4px 6px; }
.w-chart { display: flex; align-items: flex-end; gap: 4px; height: 72px; padding: 8px; border-radius: 8px; border: 1px solid var(--line); }
.w-chart i { flex: 1; border-radius: 3px 3px 0 0; background: color-mix(in srgb, var(--pc) 35%, var(--surface-2)); }
.w-chart i.hi { background: var(--pc); }
.w-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.w-two.editor, .w-two.doc { grid-template-columns: 1.6fr 1fr; }
.w-two.shell { grid-template-columns: 1.1fr 1fr; }
.w-doc { display: grid; gap: 7px; align-content: start; padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); min-width: 0; }
.w-panel { display: grid; gap: 7px; align-content: start; padding: 10px; border-radius: 8px; background: var(--brand-soft); border: 1px dashed var(--brand-soft-2); color: var(--pc); }
.w-toolbar { display: flex; align-items: center; gap: 6px; }
.w-toolbar > i { width: 16px; height: 16px; border-radius: 4px; background: var(--surface-2); }
.w-toolbar .sk-pill:first-of-type { margin-left: auto; }
.w-canvas { display: grid; gap: 8px; padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.wc-nav { display: flex; gap: 6px; } .wc-nav i { width: 22px; height: 5px; border-radius: 3px; background: var(--line-strong); } .wc-nav i:first-child { width: 34px; background: var(--pc); }
.wc-hero { display: grid; gap: 6px; padding: 10px; border-radius: 6px; background: var(--card); }
.wc-hero b { display: block; width: 44px; height: 9px; border-radius: 999px; background: var(--pc); }
.wc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .wc-cards i { height: 28px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); }
.w-search { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--muted); }
.w-search i { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); }
.w-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.w-card { display: grid; gap: 6px; padding: 6px; border-radius: 8px; border: 1px solid var(--line); } .w-card .sk-thumb { height: 28px; }
.w-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.w-tile { display: grid; align-content: end; padding: 6px; min-height: 44px; border-radius: 8px; background: color-mix(in srgb, var(--pc) 55%, var(--surface-2)); }
.w-tile.t1 { background: var(--pc); } .w-tile.t2 { background: color-mix(in srgb, var(--pc) 30%, var(--surface-2)); } .w-tile.t3 { background: var(--dark-2); }
.w-tile.tall { min-height: 60px; } .w-tile .sk-lines i { background: rgba(255, 255, 255, 0.7); }
.w-frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.w-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; background: color-mix(in srgb, var(--pc) 55%, var(--surface-2)); }
.w-frame.t1 { background: var(--pc); } .w-frame.t2 { background: color-mix(in srgb, var(--pc) 30%, var(--surface-2)); } .w-frame.t3 { background: var(--dark-2); }
.w-frame b { position: absolute; left: 5px; top: 4px; color: #fff; font-size: 0.6rem; }
.w-track { display: flex; gap: 3px; height: 14px; padding: 3px; border-radius: 6px; background: var(--surface-2); } .w-track i { border-radius: 3px; background: var(--pc); opacity: 0.85; } .w-track i:nth-child(2n) { opacity: 0.5; }
.w-video { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; border-radius: 8px; background: linear-gradient(160deg, var(--dark-2), var(--pc)); }
.sk-play { width: 0; height: 0; border-left: 16px solid rgba(255, 255, 255, 0.9); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.w-video .sk-pill { position: absolute; left: 8px; top: 8px; background: rgba(255, 255, 255, 0.2); color: #fff; }
.sk-progress { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); } .sk-progress b { display: block; width: 42%; height: 100%; border-radius: 2px; background: #fff; }
.w-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .w-thumbs .sk-thumb { height: 26px; }
.w-table { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.w-th { display: flex; gap: 8px; padding: 4px 6px; } .w-th i { flex: 1; height: 5px; border-radius: 3px; background: var(--line-strong); }
.w-tr { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-top: 1px solid var(--line); } .w-tr > i { height: 6px; border-radius: 3px; background: var(--surface-2); } .w-tr .sk-pill { margin-left: auto; }
.w-diagram { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 8px; border-radius: 6px; background: var(--surface); }
.w-diagram i { height: 22px; border-radius: 5px; border: 1.5px solid var(--pc); background: var(--card); position: relative; z-index: 1; } .w-diagram b { position: absolute; left: 20%; right: 20%; top: 50%; height: 1.5px; background: var(--pc); }
.w-chat { display: grid; gap: 6px; align-content: start; }
.w-msg { display: grid; gap: 5px; max-width: 78%; padding: 8px 10px; border-radius: 10px 10px 10px 3px; background: var(--surface-2); }
.w-msg.me { justify-self: end; border-radius: 10px 10px 3px 10px; background: var(--pc); } .w-msg.me .sk-lines i { background: rgba(255, 255, 255, 0.75); }
.w-input { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; border: 1px solid var(--line-strong); } .w-input i { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); } .w-input b { width: 18px; height: 18px; border-radius: 50%; background: var(--pc); }
.w-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.w-model { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; }
.w-code { display: grid; gap: 6px; padding: 10px; border-radius: 8px; background: var(--dark); }
.w-line { display: flex; gap: 6px; } .w-line i { display: block; height: 6px; border-radius: 3px; } .w-line .c0 { background: rgba(255, 255, 255, 0.75); } .w-line .c1 { background: var(--on-dark-brand); } .w-line .c2 { background: rgba(255, 255, 255, 0.4); }
.w-line.add { background: rgba(157, 188, 255, 0.16); border-left: 2px solid var(--on-dark-brand); padding-left: 6px !important; } .w-line.del { background: rgba(255, 255, 255, 0.06); border-left: 2px solid rgba(255, 255, 255, 0.35); padding-left: 6px !important; }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1080px) {
  .site-header-inner { gap: 16px; }
  .site-nav a, .site-nav summary { padding-inline: 10px; font-size: 0.9rem; }
  .mega { width: 640px; }
  .grid-4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-4, .service-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav .mega:not(.mega-services) { width: 640px; }
  .site-nav .mega:not(.mega-services) .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); }
  .chapter-aside { display: none; }
}
@media (max-width: 960px) {
  .site-nav, .site-actions { display: none; }
  .site-mobile { display: block; }
  .hero-grid, .bot-band, .two-col, .cta-band-grid, .product-hero-grid, .product-hero-grid.with-screen, .article-layout, .account-band { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .grid-3, .benefit-grid, .steps, .related-grid, .audience-list, .calendar-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-grid, .flow, .service-grid, .service-overview { grid-template-columns: 1fr; }
  .chapter-grid { grid-template-columns: 1fr; gap: 28px; }
  .chapter-intro { position: static; }
  .flow-step::after { display: none; }
  .facts-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding-block: 64px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .section { padding-block: 52px; }
  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: 2.1rem; }
  .grid-2, .grid-3, .grid-4, .stats, .benefit-grid, .steps, .steps-4, .related-grid, .audience-list, .compare, .legal-cards, .form-row, .calendar-list, .platform-grid, .article-nav, .domain-grid, .facts-band, .service-items { grid-template-columns: 1fr; }
  .site-footer-top { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 32px; }
  .site-footer-col a { white-space: normal; }
  .cta-band { padding: 32px 22px; }
  .hero-actions .btn, .page-hero-actions .btn { width: 100%; }
  .system-actions .btn { width: 100%; }
  .chapter { padding: 40px 0; }
  .chapter-num span { font-size: 2rem; }
  .chapter-title { gap: 12px; }
  .product-row, .service-row { grid-template-columns: 44px minmax(0, 1fr); }
  .product-row-arrow { display: none; }
  [data-tip]::after { white-space: normal; max-width: 160px; text-align: center; }
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 14px; }
  .mosaic-tile span:last-child { display: none; }
  .mosaic-more-narrow { display: flex; }
  .mosaic-more-wide { display: none; }
  .screen-body { grid-template-columns: 1fr; } .screen-side { display: none; }
  .w-two, .w-two.editor, .w-two.doc, .w-two.shell { grid-template-columns: 1fr; }
  .product-hero-visual { padding: 0; }
  .product-hero-visual .icon-tile.floating { right: 0; top: -10px; }
  .bot-window-body { grid-template-columns: 1fr; }
  .bot-side { display: none; }
  .article-nav a.next { text-align: left; }
  .product-card, .info-card, .benefit, .step, .service-card, .service-item, .domain-tile, .pillar, .flow-step { padding: 18px; }
  .product-row, .service-row { padding: 12px 14px; }
  .service-card { grid-template-columns: 1fr; }
  .service-card > .ui-icon { margin-bottom: 4px; }
}
