/* ============================================================
   玖畅智行 官网 · 全站样式
   设计语言来源：DESIGN.md（Airtable 风格设计系统分析）
   约定：页面只引用变量，不写死色值
   ============================================================ */

/* ------------------------------------------------------------
   1. 设计令牌（与 DESIGN.md 的 tokens 一一对应）
   ------------------------------------------------------------ */
:root {
  /* 颜色 —— 来自 DESIGN.md colors */
  --primary: #181d26;         /* 主 CTA / 墨字。注意：不是链接蓝 */
  --primary-active: #0d1218;  /* 主 CTA 按下态 */
  --ink: #181d26;             /* 最强文字 */
  --body: #333840;            /* 正文 */
  --muted: #41454d;           /* footer 链接、说明文字 */
  --hairline: #dddddd;        /* 1px 分隔线 / 次按钮描边 */
  --border-strong: #9297a0;   /* 次按钮按下态描边 */
  --canvas: #ffffff;          /* 默认页底 */
  --surface-soft: #f8fafc;    /* 柔性卡片底 */
  --surface-strong: #e0e2e6;  /* 浅灰提示带 */
  --surface-dark: #181d26;    /* 深墨色块 */
  --on-primary: #ffffff;

  /* 招牌色块 —— 仅用于整块出血卡片，不用作小元素点缀 */
  --signature-forest: #0a2e0e; /* 深绿：呼应电动出行语义 */
  --signature-cream: #f5e9d4;  /* 米色提示块 */
  --signature-peach: #fcab79;
  --signature-mint: #a8d8c4;
  --signature-yellow: #f4d35e;

  /* 语义 */
  --link: #1b61c9;
  --link-active: #1a3866;
  --info-border: #458fff;

  /* 圆角 —— 层级化，不要混用 */
  --r-xs: 2px;   /* 仅法律小按钮 */
  --r-sm: 6px;   /* 输入框 */
  --r-md: 10px;  /* 内容卡 / 演示网格卡 / 米色提示块 */
  --r-lg: 12px;  /* 主 CTA / 大招牌卡 */

  /* 间距 —— 全部 4 的倍数 */
  --s-xxs: 4px;
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-xxl: 48px;
  --s-section: 96px;  /* 段落上下留白的全局常量 */

  /* 字体 —— Haas Grotesk 为 Airtable 商用授权字体，不可使用。
     按 DESIGN.md「Note on Font Substitutes」的指引回退系统栈：
     零外链、审核环境 100% 可加载。 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", Roboto, "Helvetica Neue",
          Arial, sans-serif;

  /* 主内容宽度 */
  --wrap: 1280px;
}

/* ------------------------------------------------------------
   2. 重置与基础
   ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  /* 中文排版适配：DESIGN.md 的 body-md 行高 1.25 是拉丁文口径，
     中文正文按 1.75 排更易读。字号与字重不做改动。 */
  line-height: 1.75;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 刘海屏安全区 */
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* object-fit 兜底：图标以固定宽高渲染，非正方形时留白而非拉伸变形 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

a { color: var(--link); text-decoration: none; }
a:active { color: var(--link-active); }

/* 键盘焦点可见（无障碍） */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--info-border);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  /* 红线：display 字号字重不超过 500，强调靠字号与色块 */
  font-weight: 400;
  letter-spacing: 0.01em;
}

p { margin: 0; }

ul, ol { margin: 0; padding-left: 1.4em; }

/* ------------------------------------------------------------
   3. 排版层级（与 DESIGN.md typography tokens 对应）
   ------------------------------------------------------------ */
/* display-lg —— hero h1 */
.t-display-lg {
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.2;
  font-weight: 400;
}

/* display-md —— 段落 h2 */
.t-display-md {
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.25;
  font-weight: 400;
}

/* title-lg —— 段落内小标题 */
.t-title-lg {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.35;
  font-weight: 400;
}

/* title-sm —— 卡片标题 */
.t-title-sm {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
}

/* label-md —— 小标签 / 列表标签 */
.t-label-md {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

/* caption —— 说明文字 */
.t-caption {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
}

.t-lede {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.8;
  color: var(--body);
  max-width: 46em;
}

/* 通用工具类 */
.measure { max-width: 46em; }        /* 行宽约束：避免中文长段排到整屏宽 */
.gap-top { margin-top: var(--s-xl); }

/* ------------------------------------------------------------
   3b. 多语言支持（中 / 英）
   ------------------------------------------------------------ */

/* 英文版排版适配
   中文正文按 1.75 行高排（中文的舒适区间）、并加 0.16px 字距补偿；
   英文回到 DESIGN.md 原始的拉丁文口径：行高收紧、去掉中文的字距补偿。
   英文页面为 <html lang="en">，以下规则自动生效，无需额外类名。 */
html[lang="en"] body { line-height: 1.6; }
html[lang="en"] .t-lede { line-height: 1.6; }
html[lang="en"] .f-card p { line-height: 1.6; }
html[lang="en"] .card-points li { line-height: 1.6; }
html[lang="en"] .perm-row dd { line-height: 1.6; }
html[lang="en"] .doc-section p,
html[lang="en"] .doc-section li { line-height: 1.75; }
html[lang="en"] .doc-table th,
html[lang="en"] .doc-table td { line-height: 1.6; }
html[lang="en"] .fact-list li,
html[lang="en"] .footer-col h3,
html[lang="en"] .t-caption,
html[lang="en"] .doc-table th { letter-spacing: normal; }
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] .t-display-lg,
html[lang="en"] .t-display-md { letter-spacing: -0.01em; }

/* 语言切换控件（顶栏）—— 两个语言并排，当前语言高亮 */
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}
.lang-switch > span,
.lang-switch > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;    /* 满足 48×48 最小点击区 */
  min-height: 48px;
  padding: 0 var(--s-xs);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--muted);
}
.lang-switch > [aria-current="true"] {
  background: var(--surface-soft);
  color: var(--ink);
}
.lang-switch > a:active {
  background: var(--surface-soft);
  color: var(--ink);
}

/* ------------------------------------------------------------
   4. 布局容器与段落节奏
   ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--s-xxl);
}

/* 段落上下 96px —— 全站统一常量 */
.band { padding: var(--s-section) 0; }
.band-tight { padding: var(--s-xxl) 0; }

/* 段落内首行标题与正文的间距 */
.band-head { max-width: 46em; margin-bottom: var(--s-xl); }
.band-head h2 + p { margin-top: var(--s-md); }

/* ------------------------------------------------------------
   5. 顶栏（top-nav · 64px · 白底）
   ------------------------------------------------------------ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.brand img { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  margin-left: var(--s-sm);
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--body);
  font-size: 14px;
  padding: 8px 0;
  display: inline-block;
}
.nav-links a:active { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  margin-left: auto;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  background: var(--canvas);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------
   6. 按钮
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-xs);
  /* 点击区 ≥ 48px（16px 上下内边距 + 16px 行高） */
  padding: 16px 24px;
  min-height: 48px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

/* 主 CTA：近黑底、白字 —— 每屏只允许一个 */
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
  /* 文档记载的按钮静置阴影：极淡的蓝调辉光 */
  box-shadow: 0 1px 2px rgba(24, 29, 38, 0.16),
              0 0 0 3px rgba(27, 97, 201, 0.06);
}
.btn-primary:active {
  background: var(--primary-active);
  border-color: var(--primary-active);
  box-shadow: none;
}

/* 次 CTA：白底、墨字、1px 发丝描边 */
.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-secondary:active { border-color: var(--border-strong); }

/* 深色块上的按钮：保持白底墨字，不反转为半透明 */
.btn-on-dark {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--canvas);
}
.btn-on-dark:active { background: var(--surface-strong); border-color: var(--surface-strong); }

/* 小号按钮（顶栏用） */
.btn-sm {
  padding: 10px 18px;
  min-height: 40px;
  font-size: 14px;
  border-radius: var(--r-md);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  margin-top: var(--s-xl);
}

/* ------------------------------------------------------------
   7. Hero（白底，96px 留白，无任何渐变 / 光晕 / mesh）
   ------------------------------------------------------------ */
.hero { padding: var(--s-section) 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: var(--s-xxl);
  align-items: center;
}

.hero h1 { max-width: 20em; }
.hero .t-lede { margin-top: var(--s-lg); }

.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.hero-visual img {
  width: 160px;
  height: 160px;
}

/* ------------------------------------------------------------
   8. 事实条（logo-strip 气质的中性事实行，不放未授权第三方 Logo）
   ------------------------------------------------------------ */
.fact-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--s-xl) 0;
}

.fact-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md) var(--s-xxl);
  list-style: none;
  margin: 0;
  padding: 0;
}
.fact-list li {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16px;
}
.fact-list li::before {
  content: "·";
  margin-right: var(--s-xs);
  color: var(--border-strong);
}

/* ------------------------------------------------------------
   9. 招牌卡片
   ------------------------------------------------------------ */
.card {
  border-radius: var(--r-lg);
  padding: var(--s-xxl);
}

/* 卡片内标题与正文的固定间距 */
.card > h2 + p,
.card > h3 + p { margin-top: var(--s-md); }

/* 深绿招牌卡（signature-forest-card） */
.card-forest {
  background: var(--signature-forest);
  color: #e9efe9;
}
.card-forest h2,
.card-forest h3 { color: var(--on-primary); }
.card-forest .t-caption { color: #b9c9b9; }

/* 深墨招牌卡（hero-card-dark） */
.card-dark {
  background: var(--surface-dark);
  color: #d6d9de;
}
.card-dark h2,
.card-dark h3 { color: var(--on-primary); }
.card-dark .t-caption { color: #a6abb4; }

/* 米色提示块（cream-callout-card · 10px 圆角 · 24px 内边距） */
.card-cream {
  background: var(--signature-cream);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: var(--s-lg);
}

/* 柔性底卡片 */
.card-soft {
  background: var(--surface-soft);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: var(--s-lg);
}

/* 深色卡内的要点列表 */
.card-points {
  list-style: none;
  margin: var(--s-lg) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-sm);
}
.card-points li {
  position: relative;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.7;
}
.card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: currentColor;
  opacity: 0.55;
}

/* ------------------------------------------------------------
   10. 功能网格（demo-grid-card）
   刻意让卡片高度不一致，避免「规格表」观感
   ------------------------------------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-lg);
  /* 关键：不对齐拉伸，卡片按自身内容高度呈现 → 高度自然错落 */
  align-items: start;
}

.f-card {
  border-radius: var(--r-md);
  /* 中文排版适配：DESIGN.md 的 demo-grid-card 内边距为 16px，
     中文在此略加至 24px 以保证呼吸感 */
  padding: var(--s-lg);
  background: var(--surface-soft);
  border: 1px solid transparent;
}
.f-card h3 { margin-bottom: var(--s-xs); }
.f-card p { font-size: 14px; line-height: 1.75; color: var(--body); }

/* 各卡底色取自 DESIGN.md 的演示网格调色板 */
.f-card--white  { background: var(--canvas); border-color: var(--hairline); }
.f-card--mint   { background: var(--signature-mint); }
.f-card--peach  { background: var(--signature-peach); }
.f-card--yellow { background: var(--signature-yellow); }
.f-card--cream  { background: var(--signature-cream); }
.f-card--soft   { background: var(--surface-soft); }

.f-ico {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: var(--s-sm);
  color: var(--ink);
}
.f-ico svg { width: 24px; height: 24px; display: block; }

/* ------------------------------------------------------------
   11. 权限说明（surface-strong 浅灰带）
   ------------------------------------------------------------ */
.perm-band {
  background: var(--surface-strong);
  border-radius: var(--r-lg);
  padding: var(--s-xxl);
}
.perm-band h2 { margin-bottom: var(--s-sm); }
.perm-band > p { max-width: 46em; margin-bottom: var(--s-xl); }

.perm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--s-xxl);
}

.perm-row {
  padding: var(--s-md) 0;
  border-top: 1px solid rgba(24, 29, 38, 0.12);
}
.perm-row dt {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.perm-row dd {
  margin: var(--s-xxs) 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

/* ------------------------------------------------------------
   12. 下载区
   ------------------------------------------------------------ */
.download {
  text-align: center;
  max-width: 40em;
  margin: 0 auto;
}
.download .btn-row { justify-content: center; }

/* ------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--hairline);
  padding: var(--s-xxl) 0 var(--s-xl);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-xl);
  padding-bottom: var(--s-xl);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
  color: var(--ink);
}
.footer-brand img { width: 32px; height: 32px; }
.footer-brand .t-caption { margin-top: var(--s-xs); }

.footer-col h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--ink);
  margin-bottom: var(--s-sm);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-xs);
}
.footer-col a,
.footer-col span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-col a:active { color: var(--ink); }

.footer-legal {
  border-top: 1px solid var(--hairline);
  padding-top: var(--s-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-xs) var(--s-lg);
  font-size: 13px;
  color: var(--muted);
}

/* ------------------------------------------------------------
   14. 法律文档页（privacy / terms / third-party）
   ------------------------------------------------------------ */
.doc { padding: var(--s-xxl) 0 var(--s-section); }

.doc-inner {
  /* 长文阅读舒适度优先于设计张力：收窄到 720px 居中 */
  max-width: 720px;
  margin: 0 auto;
}

.doc-head {
  padding-bottom: var(--s-lg);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: var(--s-xl);
}
.doc-head h1 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.3; }
.doc-meta {
  margin-top: var(--s-sm);
  font-size: 13px;
  color: var(--muted);
}

.doc-section { margin-bottom: var(--s-xl); }
.doc-section h2 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: var(--s-sm);
}
.doc-section p,
.doc-section li {
  font-size: 14px;
  line-height: 1.9;   /* 法律长文行高再放宽 */
  color: var(--body);
}
.doc-section p + p { margin-top: var(--s-sm); }
.doc-section ol,
.doc-section ul { margin-top: var(--s-xs); display: grid; gap: var(--s-xxs); }

/* 章节间的返回顶部 / 锚点导航 */
.doc-toc {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: var(--s-lg);
  margin-bottom: var(--s-xl);
}
.doc-toc .t-caption { margin-bottom: var(--s-sm); }
.doc-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-xxs) var(--s-lg);
}
.doc-toc a { font-size: 14px; line-height: 1.8; }

/* 文档页脚的联系提示条 */
.doc-contact {
  margin-top: var(--s-xl);
  padding: var(--s-md) var(--s-lg);
  background: var(--surface-soft);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--body);
}

/* 第三方 SDK 披露表 */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s-md);
}
.doc-table caption {
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  padding-bottom: var(--s-md);
}
.doc-table th,
.doc-table td {
  text-align: left;
  vertical-align: top;
  padding: var(--s-sm) var(--s-lg) var(--s-sm) 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.7;
}
.doc-table th {
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.16px;
  white-space: nowrap;
}
.doc-table td { color: var(--body); }
.doc-table td:first-child { color: var(--ink); font-weight: 500; }

/* 返回首页链接 */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xxs);
  font-size: 14px;
  color: var(--muted);
  min-height: 32px;
}
.back-link:active { color: var(--ink); }

/* ------------------------------------------------------------
   15. 404 页
   ------------------------------------------------------------ */
.notfound {
  padding: var(--s-section) 0;
  text-align: center;
}
.notfound .t-display-md { margin-bottom: var(--s-md); }

/* ------------------------------------------------------------
   16. 响应式（断点照搬 DESIGN.md）
   ------------------------------------------------------------ */

/* Wide > 1440px：内容宽度锁定，外侧留白增加，不放大字号 */
@media (min-width: 1441px) {
  :root { --wrap: 1280px; }
}

/* Tablet 768–1024px */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { justify-content: flex-start; }
  .hero-visual img { width: 120px; height: 120px; }
  .perm-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile < 768px */
@media (max-width: 767px) {
  :root {
    --s-section: 64px;  /* 移动端段落留白收窄，避免滚动疲劳 */
  }

  .wrap { padding: 0 20px; }

  /* 顶栏收起为汉堡菜单 */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: var(--s-xs) 20px var(--s-md);
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-actions .btn { display: none; }  /* 移动端顶栏只留汉堡，CTA 交给 hero */

  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: var(--s-lg); }
  .doc-toc ul { grid-template-columns: minmax(0, 1fr); }

  .card { padding: var(--s-lg); }
  .perm-band { padding: var(--s-lg); }

  .btn { width: 100%; }
  .btn-row { flex-direction: column; }

  /* SDK 披露表在窄屏改为堆叠展示，避免横向滚动 */
  .doc-table thead { display: none; }
  .doc-table tr {
    display: block;
    padding: var(--s-md) 0;
    border-bottom: 1px solid var(--hairline);
  }
  .doc-table td {
    display: block;
    padding: 0;
    border-bottom: 0;
  }
  .doc-table td + td { margin-top: var(--s-xxs); }
  .doc-table td[data-label]::before {
    content: attr(data-label) "：";
    color: var(--muted);
  }
  /* 英文版堆叠表格的标签改用半角冒号 */
  html[lang="en"] .doc-table td[data-label]::before {
    content: attr(data-label) ": ";
  }
}

/* 尊重用户的动效偏好（本站无动画，此处为规范兜底） */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------
   17. 打印（法律文档常被打印留档）
   ------------------------------------------------------------ */
@media print {
  .top-nav, .footer, .doc-toc, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .doc-inner { max-width: none; }
  .doc-section { page-break-inside: avoid; }
}