/* 由 build/render_site.py 生成，不要手改。
   变量来自 config/site_config.json → design.tokens（P3 风格定调产物）。
   全站只走变量，不逐页写死颜色（P3 / F3B 限制与禁止第 1 条）。 */
:root {
  --accent: #06B6D4;
  --accent-on-inverse: #38D9F0;
  --accent-subtle: #E6F8FC;
  --bg-inverse: #07111F;
  --bg-inverse-raised: #0E1D30;
  --bg-inverse-subtle: #16283E;
  --bg-muted: #EEF2F8;
  --bg-page: #FFFFFF;
  --bg-subtle: #F5F8FC;
  --border: #DCE5F2;
  --border-control: #7C8DA6;
  --border-inverse: rgba(255,255,255,0.12);
  --border-strong: #C3D0E3;
  --brand: #2563EB;
  --brand-active: #1E40AF;
  --brand-border: #BFD3FE;
  --brand-hover: #1D4ED8;
  --brand-on-inverse: #7FB0FF;
  --brand-subtle: #EFF4FF;
  --btn-ghost-bg-hover: #EFF4FF;
  --btn-ghost-text: #1D4ED8;
  --btn-inverse-bg: #FFFFFF;
  --btn-inverse-outline-border: rgba(255,255,255,0.32);
  --btn-inverse-outline-text: #F2F5FB;
  --btn-inverse-text: #0B2545;
  --btn-primary-bg: #2563EB;
  --btn-primary-bg-active: #1E40AF;
  --btn-primary-bg-hover: #1D4ED8;
  --btn-primary-text: #FFFFFF;
  --btn-secondary-bg: transparent;
  --btn-secondary-bg-hover: #F5F8FC;
  --btn-secondary-border: #C3D0E3;
  --btn-secondary-text: #111827;
  --container-max: 1200px;
  --container-pad-desktop: 32px;
  --container-pad-mobile: 20px;
  --danger-fill: #DC2626;
  --danger-subtle: #FDECEC;
  --danger-text: #B91C1C;
  --figure-grid-inverse: #12253C;
  --figure-grid-light: #EDF1F8;
  --focus-ring: #2563EB;
  --focus-ring-inverse: #7FB0FF;
  --font-cjk: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  --font-sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-body: 16px;
  --fs-body-l: 18px;
  --fs-caption: 12px;
  --fs-display: 36px;
  --fs-h1: 30px;
  --fs-h2: 26px;
  --fs-h3: 20px;
  --fs-h4: 18px;
  --fs-small: 14px;
  --neutral-fill: #94A3B8;
  --neutral-subtle: #EEF2F8;
  --neutral-text: #5B677A;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --radius-sm: 6px;
  --radius-xs: 4px;
  --section-y-desktop: 96px;
  --section-y-mobile: 48px;
  --section-y-tablet: 64px;
  --shadow-inverse: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 12px 32px rgba(15,23,42,0.12);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --success-fill: #16A34A;
  --success-subtle: #E8F7EE;
  --success-text: #166534;
  --text-body: #374151;
  --text-inverse-body: #C7CEDB;
  --text-inverse-muted: #8A93A8;
  --text-inverse-strong: #F2F5FB;
  --text-link: #1D4ED8;
  --text-muted: #5B677A;
  --text-strong: #111827;
  --warning-fill: #F59E0B;
  --warning-subtle: #FEF3E2;
  --warning-text: #92400E;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg-page); color: var(--text-body);
  font-family: var(--font-sans); font-size: var(--fs-body);
  line-height: 1.7; font-weight: 400;
}
h1, h2, h3, h4 { color: var(--text-strong); margin: 0 0 var(--sp-4); }
h1 { font-size: var(--fs-h1); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; }
h4 { font-size: var(--fs-h4); line-height: 1.35; font-weight: 600; }
p { margin: 0 0 var(--sp-4); }
a { color: var(--text-link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-hover); }
code, kbd, samp { font-family: var(--font-mono); font-size: 0.94em; }
img, svg { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-xs); }
.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;
}
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 100;
  background: var(--bg-page); color: var(--text-strong);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm);
  border: 1px solid var(--border-control);
}
.skip-link:focus { top: var(--sp-4); }

.container {
  width: 100%; max-width: var(--container-max); margin: 0 auto;
  padding-left: var(--container-pad-mobile); padding-right: var(--container-pad-mobile);
}

/* ---------------------------------------------------------------- 页头 */
.site-header {
  position: sticky; top: 0; z-index: 40; background: var(--bg-page);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3);
  min-height: 64px; padding-top: var(--sp-2); padding-bottom: var(--sp-2);
}
.brand {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; font-size: var(--fs-h4); color: var(--text-strong);
  text-decoration: none; margin-right: auto; letter-spacing: -0.01em;
}
.brand:hover { color: var(--text-strong); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0 var(--sp-4);
  background: var(--btn-secondary-bg); color: var(--btn-secondary-text);
  border: 1px solid var(--border-control); border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle:hover { background: var(--btn-secondary-bg-hover); }
.site-nav { display: none; width: 100%; }
.site-nav[data-open="true"] { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0 0 var(--sp-3); }
.nav-list a {
  display: flex; align-items: center; min-height: 44px;
  color: var(--text-body); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.nav-list a:hover { color: var(--text-link); }

/* 下拉子菜单（P2 §4.1：Capability / Solutions / Compare / Format 四项带下拉）。
   **父项本身是真链接**，不是只能展开的按钮——下拉是它下面的一层。
   移动端：抽屉里点「+」就地展开（手风琴）；桌面端：hover / 键盘 focus 展开。 */
.nav-item {
  display: flex; flex-wrap: wrap; align-items: center;
  border-bottom: 1px solid var(--border); position: relative;
}
.nav-item > a { flex: 1 1 auto; border-bottom: 0; }
.nav-sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; min-width: 44px; min-height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--border-control);
  border-radius: var(--radius-xs); color: var(--text-muted);
  font: inherit; cursor: pointer;
}
.nav-sub-toggle::before { content: "+"; font-family: var(--font-mono); font-weight: 600; }
.nav-item[data-sub-open="true"] > .nav-sub-toggle { color: var(--text-strong); }
.nav-item[data-sub-open="true"] > .nav-sub-toggle::before { content: "\2013"; }
.nav-submenu {
  display: none; flex-basis: 100%; list-style: none;
  margin: 0; padding: 0 0 var(--sp-2) var(--sp-4);
}
.nav-item[data-sub-open="true"] > .nav-submenu { display: block; }
.nav-submenu a { border-bottom: 0; font-weight: 400; }

/* ---------------------------------------------------------------- 首屏 */
.hero { background: var(--bg-page); border-bottom: 1px solid var(--border); }
.hero.is-inverse { background: var(--bg-inverse); border-bottom: 0; }
.hero.is-inverse h1, .hero.is-inverse .hero-overline { color: var(--text-inverse-strong); }
.hero.is-inverse .hero-lead { color: var(--text-inverse-body); }
.hero.is-inverse .hero-note { color: var(--text-inverse-muted); }
.hero-inner { padding: var(--section-y-mobile) 0; }
.hero-overline {
  font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted);
  margin: 0 0 var(--sp-4);
}
.hero h1 { max-width: 20ch; }
.hero-lead {
  font-size: var(--fs-body-l); line-height: 1.65; color: var(--text-body);
  max-width: 68ch; margin: var(--sp-5) 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero-note {
  /* 16px：这是给人读的整句说明，不是标签层——不享受 LABEL_SEL 豁免
     （M7 §2.1 正文 <16px 判定，2026-10-02 修） */
  font-size: var(--fs-body); color: var(--text-muted);
  margin: var(--sp-4) 0 0; max-width: 68ch;
}
.hero-figure { margin: var(--sp-7) 0 0; }
/* 正文配图：单独一节，与上下模块拉开距离，别贴着文字 */
.section-figure {
  margin: 0 auto; max-width: var(--container-max);
  padding: 0 var(--container-pad-mobile);
}
.section-figure img {
  width: 100%; border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.hero-figure img { width: 100%; border-radius: var(--radius-md); }
.hero.is-inverse .hero-figure img { border: 1px solid var(--border-inverse); }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-sm); font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color var(--dur-fast, 150ms) ease,
              border-color var(--dur-fast, 150ms) ease;
}
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.btn-primary:hover { background: var(--btn-primary-bg-hover); color: var(--btn-primary-text); }
.btn-secondary {
  background: var(--btn-secondary-bg); color: var(--btn-secondary-text);
  border-color: var(--btn-secondary-border);
}
.btn-secondary:hover { background: var(--btn-secondary-bg-hover); color: var(--btn-secondary-text); }
.btn-inverse { background: var(--btn-inverse-bg); color: var(--btn-inverse-text); }
.btn-inverse:hover { background: var(--bg-muted); color: var(--btn-inverse-text); }
.btn-inverse-outline {
  background: transparent; color: var(--btn-inverse-outline-text);
  border-color: var(--btn-inverse-outline-border);
}
.btn-inverse-outline:hover {
  background: var(--bg-inverse-raised); color: var(--btn-inverse-outline-text);
}

/* ---------------------------------------------------------------- 区块 */
.section { padding: var(--section-y-mobile) 0; }
.section.alt { background: var(--bg-subtle); }
.section + .section { border-top: 1px solid var(--border); }
.section.alt + .section, .section + .section.alt { border-top: 0; }
.section-head { max-width: 68ch; margin-bottom: var(--sp-6); }
.section-lead { font-size: var(--fs-body-l); color: var(--text-body); margin: 0; }

/* 四大能力支柱 */
.pillar-grid { display: grid; gap: var(--sp-5); margin: 0; padding: 0; list-style: none; }
.pillar {
  background: var(--bg-page); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: var(--sp-5);
}
.pillar h3 { margin-bottom: var(--sp-3); }
.pillar p { color: var(--text-body); }
.pillar ul { margin: var(--sp-4) 0 0; padding-left: var(--sp-5); }
.pillar li { margin-bottom: var(--sp-2); color: var(--text-muted); font-size: var(--fs-body); }

/* 能力卡片组 */
.card-grid { display: grid; gap: var(--sp-5); margin: 0; padding: 0; list-style: none; }
.card {
  background: var(--bg-page); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: var(--sp-5);
  display: flex; flex-direction: column;
  position: relative;
}
.card h3 { margin-bottom: var(--sp-3); }
.card h3 a { color: var(--text-strong); text-decoration: none; }
.card h3 a:hover { color: var(--text-link); text-decoration: underline; }
/* 整张卡可点（section_spec「cards」模式①：有 href 无 cta）。
   卡片标题本身就是链接文字，这里用一层铺满卡片的伪元素把**可点面积**
   从 23px 高的文字行扩到整张卡——WCAG 2.5.8 认的是实际可点区域。
   只在模式①出现（模式②的卡片标题不带链接，另有一条 .card-cta），
   所以不会盖住别的链接。 */
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--text-body); margin-bottom: 0; }
/* 模式②的卡片底部链接。min-height 44 是触控最小可点高度——
   原来只有一行文字高（实测 43px），差 1px 就是不合格（M7 §2.1，2026-10-02 修） */
.card-cta {
  margin-top: auto; padding-top: var(--sp-4); font-weight: 600;
  display: inline-flex; align-items: center; min-height: 44px;
}
.card-meta {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-mono); font-size: var(--fs-caption);
  color: var(--success-text); background: var(--success-subtle);
  border-radius: var(--radius-pill); padding: 2px var(--sp-3);
  margin-top: var(--sp-4); align-self: flex-start;
}
.card-meta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success-fill); }

/* 客群分流 */
.audience-grid { display: grid; gap: var(--sp-5); margin: 0; padding: 0; list-style: none; }
.audience-card {
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: var(--sp-5);
}
.audience-card a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* 正文 + 侧栏 */
.split { display: grid; gap: var(--sp-6); }
.split-main p { max-width: 68ch; }
.split-aside {
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-left: 3px solid var(--brand); border-radius: var(--radius-md);
  padding: var(--sp-5);
}
.split-aside h3 { font-size: var(--fs-h4); }
.split-aside ol { margin: var(--sp-4) 0 0; padding-left: var(--sp-5); }
.split-aside li {
  /* 16px：侧栏这些是整句说明（"What your system can call" 之类），不是标签。
     2026-10-02 实测全站 55 处 14px 违规，全是这一条惹的。 */
  margin-bottom: var(--sp-2); font-size: var(--fs-body); color: var(--text-muted);
}

/* 流程步骤 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.step {
  border-left: 2px solid var(--border); padding-left: var(--sp-5); position: relative;
}
.step::before {
  content: ""; position: absolute; left: -5px; top: 6px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.step-n {
  font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: 500;
  color: var(--text-muted); display: block; margin-bottom: var(--sp-2);
}
.step h3 { font-size: var(--fs-h4); }

/* 表格（能力全表 / 对比表） */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
caption { text-align: left; padding-bottom: var(--sp-3); color: var(--text-muted); font-size: var(--fs-small); }
th, td {
  text-align: left; padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border); vertical-align: top;
  font-size: var(--fs-body); line-height: 1.55;
}
thead th {
  background: var(--bg-muted); color: var(--text-strong); font-weight: 600;
  border-bottom: 1px solid var(--border-strong); white-space: nowrap;
}
tbody th { font-weight: 600; color: var(--text-strong); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* 状态词：**不单靠颜色**（tokens.accessibility 硬要求），
   颜色 + 圆点形状 + 文字三者同时表达。 */
.status { display: inline-flex; align-items: center; gap: var(--sp-2); white-space: nowrap; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.status-supported { color: var(--success-text); }
.status-supported::before { background: var(--success-fill); }
.status-scoped { color: var(--warning-text); }
.status-scoped::before { background: var(--warning-fill); border-radius: 2px; }
.status-not_offered { color: var(--neutral-text); }
.status-not_offered::before { background: var(--neutral-fill); border-radius: 0; }

/* FAQ */
.faq-list { display: grid; gap: var(--sp-3); }
details.faq-item {
  background: var(--bg-page); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: var(--sp-3) var(--sp-4);
}
details.faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--text-strong);
  min-height: 44px; display: flex; align-items: center;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; margin-left: auto; padding-left: var(--sp-4);
  font-family: var(--font-mono); color: var(--text-muted); font-weight: 400;
}
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item p { margin: var(--sp-3) 0 0; color: var(--text-body); }

/* 表单 */
.lead-form {
  background: var(--bg-page); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: var(--sp-5);
  max-width: 640px;
}
.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-weight: 600; color: var(--text-strong); margin-bottom: var(--sp-2); }
.field .req { color: var(--danger-text); font-weight: 400; font-size: var(--fs-small); }
.field input, .field textarea {
  width: 100%; min-height: 44px; padding: var(--sp-3);
  font: inherit; color: var(--text-strong); background: var(--bg-page);
  border: 1px solid var(--border-control); border-radius: var(--radius-sm);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--focus-ring);
}
/* 16px：字段提示是整句（"Document types, language pairs, rough volume"），
   不是标签。14px 会让填表的人看不清提示——M7 §2.1 判定，2026-10-02 修。 */
.field-hint { font-size: var(--fs-body); color: var(--text-muted); margin: var(--sp-2) 0 0; }
/* 同意勾选：跟普通字段反着来——勾选框在左、说明在右，
   说明整块都可点（点文字就是点勾选框）。 */
.field-consent { display: flex; align-items: flex-start; gap: var(--sp-3); }
.field-consent input {
  flex: none; width: 22px; height: 22px; min-height: 0;
  margin: 4px 0 0; padding: 0; accent-color: var(--brand);
}
.field-consent label {
  display: block; font-weight: 400; color: var(--text-body);
  margin-bottom: 0; min-height: 44px; line-height: 1.5;
}
/* 16px：表单下方那句是隐私承诺（"We do not add you to a mailing list…"），
   正是最该让人看清的一句。2026-10-02 修。 */
.form-note { font-size: var(--fs-body); color: var(--text-muted); margin: var(--sp-4) 0 0; }
.form-status { margin: var(--sp-4) 0 0; font-weight: 600; min-height: 1.5em; }
.form-status[data-state="error"] { color: var(--danger-text); }
.form-status[data-state="success"] { color: var(--success-text); }
.standard-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* 正文块 */
.prose p { max-width: 72ch; }

/* 页脚 */
.site-footer { background: var(--bg-inverse); color: var(--text-inverse-body); margin-top: var(--sp-9); }
.footer-inner { padding: var(--sp-8) 0 var(--sp-6); }
.footer-cols { display: grid; gap: var(--sp-6); }
.footer-col h2 {
  font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-inverse-muted); margin-bottom: var(--sp-3);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a {
  display: flex; align-items: center; min-height: 44px;
  color: var(--text-inverse-body); text-decoration: none; font-size: var(--fs-small);
}
.footer-col a:hover { color: var(--brand-on-inverse); text-decoration: underline; }
.footer-note {
  /* 16px：页脚这句是给人读的整句说明（37 页每页一条），不是标签层。
     2026-10-02 修——它此前是 --fs-small，M7 每页都报一次。 */
  border-top: 1px solid var(--border-inverse); margin-top: var(--sp-6);
  padding-top: var(--sp-5); font-size: var(--fs-body); color: var(--text-inverse-muted);
  max-width: 72ch;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin-top: var(--sp-5); }
.footer-legal a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--text-inverse-body); font-size: var(--fs-small);
}
.footer-legal a:hover { color: var(--brand-on-inverse); }

/* ---------------------------------------------------------------- Cookie 横幅
   B2B页面标准 §八 合规标配：必须底部细条(banner)或右下角小 toast，
   **不准全屏遮罩 / 大弹窗 / 居中模态**。硬规格：
     ① 桌面 ≤96px、移动 ≤160px；
     ② 高度 / 视口 ≤ 0.22；
     ③ 不得遮挡主 CTA / 表单提交键 / 客服浮窗 / 底部导航；
     ④ 文案一行 +「接受 / 拒绝 / 管理偏好」。
   本站有统计埋点（standard-runtime.js 上报匿名访问），所以**默认展示**。
   正文 16px：同意横幅是给人读的，不是标签层，不享受 LABEL_SEL 豁免。 */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--bg-inverse); color: var(--text-inverse-body);
  /* 贴底细条，垂直留白压到最小：360×640 手机上横幅高度必须 ≤ 视口的 22%（≈140px），
     多一个 --sp-2 就顶破。2026-10-02 实测 141px/22.03% 差 1px 不过，改到 128px/20.0%。 */
  border-top: 1px solid var(--border-inverse); padding: var(--sp-1) 0;
}
.cookie-banner[hidden] { display: none; }
/* 横幅可见时给文档底部留出它的高度。
   不留的话，滚到最底部时页脚最后几个链接会**永远**压在横幅底下——
   那是真够不到（内容已经滚到头了，再往下滚也没有了），不是滚一下就能露出来的。
   高度由运行时实测写进 --cookie-h：三断点下横幅高度不一样。 */
html.cookie-open body { padding-bottom: calc(var(--cookie-h, 0px) + var(--sp-4)); }
.cookie-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--sp-1) var(--sp-4);
}
/* line-height 1.5（正文默认 1.7）：横幅是贴底细条，360px 宽的手机上
   每多一行就多吃 27px，占屏比例会顶破 22% 的上限。文案也压到两行以内。
   2026-10-02 实测：改前 151px / 占屏 23.5%，改后见 M7 报告。 */
.cookie-text { margin: 0; flex: 1 1 20ch; font-size: var(--fs-body); line-height: 1.5; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.cookie-actions button, .cookie-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 var(--sp-4);
  border: 1px solid var(--border-inverse); border-radius: var(--radius-xs);
  background: transparent; color: var(--text-inverse-strong);
  font: inherit; font-weight: 600; font-size: var(--fs-small);
  text-decoration: none; cursor: pointer;
}
.cookie-actions button[data-cookie-accept] {
  background: var(--brand-on-inverse); color: var(--bg-inverse); border-color: transparent;
}
.cookie-actions button:hover, .cookie-actions a:hover {
  border-color: var(--text-inverse-strong);
}

/* ---------------------------------------------------------------- 断点
   M7 强制在 360 / 768 / 1280 三断点截图断言。移动优先，逐级抬。 */
@media (min-width: 768px) {
  :root {
    --fs-body: 16px;
    --fs-body-l: 18px;
    --fs-caption: 12px;
    --fs-display: 56px;
    --fs-h1: 44px;
    --fs-h2: 32px;
    --fs-h3: 22px;
    --fs-h4: 18px;
    --fs-small: 14px;
  }
  body { font-size: var(--fs-body); }
  .section, .hero-inner { padding: var(--section-y-tablet) 0; }
  .container {
    padding-left: var(--container-pad-desktop); padding-right: var(--container-pad-desktop);
  }
  h1 { font-size: var(--fs-display); }
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; }
  .nav-list { display: flex; flex-wrap: wrap; gap: var(--sp-1); padding: 0; }
  .nav-list a { border-bottom: 0; padding: 0 var(--sp-3); border-radius: var(--radius-xs); }
  .nav-list a:hover { background: var(--bg-subtle); }
  /* 桌面端：下拉靠 hover / 键盘 focus 展开，不用点。 */
  .nav-item { display: block; border-bottom: 0; }
  .nav-sub-toggle { display: none; }
  .nav-submenu {
    display: none; position: absolute; top: 100%; left: 0; z-index: 50;
    flex-basis: auto; min-width: 240px; margin: 0; padding: var(--sp-2);
    background: var(--bg-page); border: 1px solid var(--border);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  }
  .nav-item:hover > .nav-submenu,
  .nav-item:focus-within > .nav-submenu { display: block; }
  .nav-submenu a { padding: 0 var(--sp-3); white-space: nowrap; }
  .pillar-grid, .card-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--sp-7); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .section, .hero-inner { padding: var(--section-y-desktop) 0; }
  .pillar-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
