/* ============================================================
   寅鼎佑心 · 官网样式层
   令牌与产品端 psycare-ds/tokens.css 对齐（澄青 CHENGQING）
   设计约束：无彩 + 一点青碧；唯一强调色 --accent；去金属化
   ------------------------------------------------------------
   目录
     1. 令牌
     2. 基础重置与排版
     3. 顶栏 / 页脚
     4. 按钮
     5. 区块骨架
     6. 首页 Hero
     7. 数据条
     8. 卡片
     9. 图文两栏 / 截图框
    10. 对比表
    11. 列表 / 结论块 / FAQ / CTA
    12. 页面头 / 面包屑 / 说明条
    13. 页面级组件（步骤 / 版本卡 / 相关页面 / 提示条 / 页头按钮）
    14. 内容中心（文章列表 / 正文排版）
    15. 动效
    16. 响应式
    17. 打印
   ============================================================ */

/* ------------------------------------------------------------
   1. 令牌
   ------------------------------------------------------------ */
:root {
  /* --- 品牌 · 澄青（唯一强调色） --- */
  --accent: #0e7a6e;
  --accent-deep: #0a5e53;
  --accent-soft: #e4f2f0;
  --accent-line: #bfded9;
  --accent-tint: rgba(14, 122, 110, 0.07);
  --on-accent: #f2fbf9;

  /* --- 中性面 --- */
  --bg: #f4f8f7;
  --surface: #ffffff;
  --surface-2: #edf3f1;
  --surface-3: #e4ecea;

  /* --- 文字 --- */
  --ink: #13201d;
  --ink-2: #3e4f4b;
  --ink-3: #63756f;
  --ink-inv: #e8f2f0;
  --ink-inv-2: #b7c9c6;

  /* --- 字号标尺 --- */
  --fs-xs: 12.5px;
  --fs-sm: 13.5px;
  --fs-base: 16px;
  --fs-md: 17px;
  --fs-lg: 19px;
  --fs-h4: 18px;
  --fs-h3: 21px;
  --fs-h2: 31px;
  --fs-h1: 42px;
  --fs-display: 50px;

  /* --- 间距标尺（4px 基） --- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 48px;
  --sp-10: 64px;
  --sp-11: 80px;
  --sp-12: 96px;

  /* --- 圆角 --- */
  --radius-xs: 5px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* --- 阴影（用墨色而非纯黑，边缘干净、层次柔和） --- */
  --shadow-1: 0 1px 2px rgba(19, 32, 29, 0.05);
  --shadow-2: 0 1px 2px rgba(19, 32, 29, 0.04), 0 4px 12px rgba(19, 32, 29, 0.05);
  --shadow-3: 0 2px 4px rgba(19, 32, 29, 0.04), 0 12px 32px rgba(19, 32, 29, 0.09);
  --shadow-4: 0 4px 8px rgba(19, 32, 29, 0.05), 0 24px 60px rgba(19, 32, 29, 0.13);
  --shadow-accent: 0 10px 28px rgba(14, 122, 110, 0.22);

  /* --- 动效曲线 --- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.55, 0.05, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.32, 0.64, 1);
  --dur-1: 0.14s;
  --dur-2: 0.22s;
  --dur-3: 0.38s;
  --dur-4: 0.62s;

  /* --- 版式 --- */
  --maxw: 1140px;
  --maxw-narrow: 760px;
  --header-h: 68px;
  --hair: 1px solid var(--surface-3);

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", "Hiragino Sans GB", system-ui,
    -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong",
    "SimSun", Georgia, "Times New Roman", serif;
}

/* ------------------------------------------------------------
   2. 基础重置与排版
   ------------------------------------------------------------ */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--sp-5));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.78;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease-out);
}
a:hover { color: var(--accent-deep); }

/* 标题：大标题走衬线（稳重、可信），功能级标题走无衬线（清晰、好扫读） */
h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0;
  line-height: 1.28;
  text-wrap: balance;
}
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }

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

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

/* 滚动条（Chromium / WebKit） */
* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-line); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.wrap--narrow { max-width: var(--maxw-narrow); }

/* ------------------------------------------------------------
   3. 顶栏 / 页脚
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 248, 247, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: var(--hair);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--sp-6);
}

.brand { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: var(--shadow-1);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.22; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand-sub { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: var(--sp-7); }
.nav > a {
  color: var(--ink-2);
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}
.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav > a:hover { color: var(--accent); }
.nav > a:hover::after { transform: scaleX(1); }
.nav > a.active { color: var(--ink); font-weight: 500; }
.nav > a.active::after { transform: scaleX(1); }
.nav > a.btn { padding: 9px 20px; }
.nav > a.btn::after { content: none; }

/* 桌面端分组下拉：同样零 JS，用 <details> 实现 */
.nav-drop { position: relative; }
.nav-drop > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: var(--ink-2);
  font-size: 15px;
  position: relative;
  transition: color var(--dur-2) var(--ease-out);
  user-select: none;
  -webkit-user-select: none;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav-drop > summary::after {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform var(--dur-2) var(--ease-out);
}
.nav-drop > summary:hover { color: var(--accent); }
.nav-drop > summary:hover::before { transform: scaleX(1); }
.nav-drop.is-current > summary { color: var(--ink); font-weight: 500; }
.nav-drop.is-current > summary::before { transform: scaleX(1); }
.nav-drop[open] > summary { color: var(--accent); }
.nav-drop[open] > summary::after { transform: rotate(-135deg) translate(-2px, -1px); }

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 268px;
  max-width: calc(100vw - 48px);
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-4);
  padding: var(--sp-3);
  z-index: 70;
  display: grid;
  gap: 1px;
}
.nav-drop-panel.cols-2 { grid-template-columns: 1fr 1fr; min-width: 540px; }
.nav-drop-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-1) var(--ease-out);
}
.nav-drop-panel a strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}
.nav-drop-panel a span {
  display: block;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 1px;
}
.nav-drop-panel a:hover { background: var(--accent-soft); }
.nav-drop-panel a:hover strong { color: var(--accent-deep); }
.nav-drop-panel a.active strong { color: var(--accent-deep); }
.nav-drop-panel a.active { background: var(--accent-soft); }
.nav-drop-panel .nav-drop-head {
  grid-column: 1 / -1;
  padding: var(--sp-3) 12px var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.nav-drop-panel .nav-drop-head:first-child { padding-top: var(--sp-1); }

/* 移动端导航：用 <details> 做零 JS 汉堡菜单 */
.nav-mobile { display: none; position: relative; }
.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: var(--hair);
  color: var(--ink-2);
  transition: color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.nav-mobile > summary svg { width: 22px; height: 22px; display: block; }
.nav-mobile-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-4);
  padding: var(--sp-2);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-mobile-panel .nav-mobile-head {
  padding: var(--sp-4) 14px var(--sp-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.nav-mobile-panel .nav-mobile-head:first-child { padding-top: var(--sp-2); }
.nav-mobile-panel a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 15px;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.nav-mobile-panel a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.nav-mobile-panel a.active { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.nav-mobile-panel .btn { margin-top: var(--sp-2); width: 100%; }

.site-footer {
  background: var(--surface);
  border-top: var(--hair);
  padding: var(--sp-11) 0 var(--sp-8);
  margin-top: var(--sp-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.15fr;
  gap: var(--sp-9);
  margin-bottom: var(--sp-9);
}
.footer-grid > div:last-child {
  grid-column: 1 / -1;
  max-width: none;
}
.footer-grid > div:last-child ul {
  display: flex;
  gap: var(--sp-7);
  flex-wrap: wrap;
}
.footer-grid > div:last-child li { margin-bottom: 0; }
.footer-grid h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: var(--sp-4);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: var(--sp-2); }
.footer-grid a, .footer-grid p {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.7;
}
.footer-grid a:hover { color: var(--accent); }
.footer-grid > div:first-child p { margin: 0; max-width: 34em; }
.footer-grid > div:first-child .brand img { box-shadow: none; }

.copyright {
  border-top: var(--hair);
  padding-top: var(--sp-6);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   4. 按钮
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 2px rgba(19, 32, 29, 0.06), 0 6px 18px rgba(14, 122, 110, 0.18);
}
.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--accent-line); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-deep); border-color: var(--accent); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ------------------------------------------------------------
   5. 区块骨架
   ------------------------------------------------------------ */
section { padding: var(--sp-12) 0; }
section.tight { padding: var(--sp-10) 0; }

.section-head { max-width: var(--maxw-narrow); margin-bottom: var(--sp-8); }
.section-head h2 { margin-bottom: var(--sp-4); }
.section-head p { color: var(--ink-3); font-size: var(--fs-md); margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: var(--sp-3);
  text-transform: none;
}
.rule { width: 44px; height: 4px; background: var(--accent); border-radius: 2px; margin: 0 0 var(--sp-6); }

.alt {
  background: var(--surface);
  border-top: var(--hair);
  border-bottom: var(--hair);
}

/* ------------------------------------------------------------
   6. 首页 Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: var(--sp-11) 0 var(--sp-10);
  overflow: hidden;
  isolation: isolate;
}
/* 极淡青碧光晕 */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -12% auto -12%;
  height: 165%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58% 52% at 80% 20%, rgba(14, 122, 110, 0.11), transparent 70%),
    radial-gradient(44% 44% at 8% 74%, rgba(14, 122, 110, 0.06), transparent 72%);
}
/* 细网格底纹（向四周淡出） */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(19, 32, 29, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(19, 32, 29, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(88% 72% at 58% 28%, #000 18%, transparent 76%);
  mask-image: radial-gradient(88% 72% at 58% 28%, #000 18%, transparent 76%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: var(--sp-11);
  align-items: center;
}
.hero h1 {
  font-size: var(--fs-display);
  color: var(--ink);
  margin-bottom: var(--sp-5);
}
.hero .lead {
  font-size: var(--fs-lg);
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: var(--sp-7);
  line-height: 1.75;
}
.hero-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.hero-note {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin: 0;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--accent-line);
}

/* ------------------------------------------------------------
   7. 数据条
   ------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.stat { padding: var(--sp-6) var(--sp-6) var(--sp-6); border-right: var(--hair); }
.stat:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.stat-num em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-left: 5px;
  letter-spacing: 0.02em;
}
.stat-num.is-wide {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  padding-top: 5px;
}
.stat-label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin-top: var(--sp-2);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   8. 卡片
   ------------------------------------------------------------ */
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6);
  transition: box-shadow var(--dur-3) var(--ease-out),
    transform var(--dur-3) var(--ease-out),
    border-color var(--dur-3) var(--ease-out);
}
.card:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-3);
  transform: translateY(-3px);
}
.card h3 { margin-bottom: var(--sp-3); font-size: var(--fs-h3); }
.card p { color: var(--ink-3); font-size: 15px; margin: 0; line-height: 1.75; }
.card .num {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-4);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  transition: background-color var(--dur-3) var(--ease-out);
}
.card-icon svg { width: 22px; height: 22px; display: block; }
.card:hover .card-icon { background: var(--accent-line); }

/* 卡片内嵌小截图 */
.shot-mini {
  border: var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--sp-5);
  background: var(--surface-2);
}
.shot-mini img { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------
   9. 图文两栏 / 截图框
   ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-11);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  box-shadow: var(--shadow-3);
}
.split-media img { border-radius: var(--radius); display: block; width: 100%; height: auto; }
.split-body h2 { margin-bottom: var(--sp-4); }
.split-body h3 { font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; }
.split-body ul { padding-left: var(--sp-5); margin: 0 0 var(--sp-5); }
.split-body li { margin-bottom: var(--sp-2); }
.split-body > p:last-child { margin-bottom: 0; }
.split-gap { margin-bottom: 76px; }

/* 浏览器窗口外框（首页主截图） */
.shot-frame {
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-4);
  overflow: hidden;
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px var(--sp-4);
  background: var(--surface-2);
  border-bottom: var(--hair);
}
.shot-dots { display: flex; gap: 6px; flex: none; }
.shot-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d3dedb;
}
.shot-dots i:first-child { background: var(--accent-line); }
.shot-url {
  flex: 1;
  min-width: 0;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: var(--hair);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  overflow: hidden;
  white-space: nowrap;
}
.shot-body { background: var(--surface-2); }
.shot-body img { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------
   10. 对比表
   ------------------------------------------------------------ */
.table-wrap {
  position: relative;
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius-lg);
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}
th, td {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--surface-3);
}
th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
td strong { color: var(--ink); font-weight: 600; }

/* 表头吸顶（仅真正的对照表：带 thead） */
thead th {
  position: sticky;
  top: var(--header-h);
  z-index: 3;
}
thead th:first-child { border-top-left-radius: var(--radius-lg); }
thead th:last-child { border-top-right-radius: var(--radius-lg); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:last-child td:first-child { border-bottom-left-radius: var(--radius-lg); }
tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius-lg); }

tbody tr { transition: background-color var(--dur-1) linear; }
tbody tr:hover td { background: var(--surface-2); }

/* 对照表专用：高亮「本系统」整列（第 2 列） */
.compare th:nth-child(2),
.compare td:nth-child(2) { background: var(--accent-soft); }
.compare thead th:nth-child(2) { background: #d8ece8; color: var(--accent-deep); }
.compare tbody tr:hover td:nth-child(2) { background: #d3e9e4; }

.yes { color: var(--accent); font-weight: 600; }
.no { color: var(--ink-3); }

.table-hint {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

/* 键值表（/zizhi/ 主体信息）：左列标签，右列内容 */
.table-wrap.kv th { width: 200px; white-space: normal; }
.table-wrap.kv td { color: var(--ink-2); }

/* 行表头（首列写 <th scope="row"> 的对照表）：语义正确，视觉与普通单元格一致 */
.table-wrap.compare tbody th {
  background: var(--surface);
  width: 150px;
  white-space: normal;
  font-size: 15px;
  color: var(--ink);
}

/* ------------------------------------------------------------
   11. 列表 / 结论块 / FAQ / CTA
   ------------------------------------------------------------ */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: var(--sp-7); margin-bottom: var(--sp-3); }
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.ink-block {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-inv);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-9);
  margin-top: var(--sp-9);
}
.ink-block::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 122, 110, 0.34), transparent 68%);
  pointer-events: none;
}
.ink-block h3 { color: #fff; margin-bottom: var(--sp-3); position: relative; }
.ink-block p { color: var(--ink-inv-2); margin: 0; font-size: 15px; position: relative; }

.faq details {
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-3);
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.faq details[open] { border-color: var(--accent-line); box-shadow: var(--shadow-1); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: var(--fs-md);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  float: right;
  color: var(--accent);
  font-weight: 400;
  transition: transform var(--dur-2) var(--ease-out);
}
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: var(--sp-4) 0 0; color: var(--ink-3); font-size: 15px; }
.faq details p:last-child { margin-bottom: 0; }

.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-inv);
  border-radius: var(--radius-xl);
  padding: var(--sp-12) var(--sp-9);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -70% 20% auto;
  height: 300px;
  background: radial-gradient(50% 60% at 50% 50%, rgba(14, 122, 110, 0.42), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: var(--sp-4); }
.cta p { color: var(--ink-inv-2); max-width: 40em; margin: 0 auto var(--sp-7); }
.cta .btn-primary { background: var(--accent); }
.cta .btn-primary:hover { background: #12907f; }
.cta .btn-ghost { color: var(--ink-inv); border-color: rgba(255, 255, 255, 0.28); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.09); color: #fff; border-color: rgba(255, 255, 255, 0.5); }

/* ------------------------------------------------------------
   12. 页面头 / 面包屑 / 说明条 / 二维码卡
   ------------------------------------------------------------ */
.crumbs { font-size: var(--fs-xs); color: var(--ink-3); padding: var(--sp-5) 0 0; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { color: var(--surface-3); margin: 0 2px; }

.page-head { padding: var(--sp-9) 0 var(--sp-8); }
.page-head h1 { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }
.page-head .lead {
  font-size: var(--fs-md);
  color: var(--ink-2);
  max-width: 42em;
  margin: 0;
  line-height: 1.78;
}

/* 说明条：原 form-note，语义为「小字提示」 */
.form-note {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.7;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--surface-3);
  margin-bottom: var(--sp-5);
}
.form-note a { color: var(--accent); }

.qr-card {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-2);
}
.qr-card img {
  width: 150px;
  height: 150px;
  border-radius: var(--radius);
  flex: none;
  background: var(--surface-2);
}
.qr-card h3 { margin-bottom: var(--sp-2); }
.qr-card p { color: var(--ink-3); font-size: 15px; margin: 0; }

/* ------------------------------------------------------------
   13. 页面级组件（步骤 / 版本卡 / 相关页面 / 提示条 / 页头按钮）
   ------------------------------------------------------------ */

/* --- 页头按钮组（与 .page-head .lead 配合） --- */
.page-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}

/* --- 编号步骤（选型指南、上线流程） --- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: var(--sp-6);
}
.steps > li {
  position: relative;
  counter-increment: step;
  padding-left: 66px;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps > li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 54px;
  bottom: calc(-1 * var(--sp-6));
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-line), transparent);
}
.steps > li:last-child::after { display: none; }
.steps h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.steps p { color: var(--ink-3); margin: 0; font-size: 15px; line-height: 1.75; }
.steps p + p { margin-top: var(--sp-3); }

/* --- 简洁列表（带青碧圆点，用于要点枚举） --- */
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list > li {
  position: relative;
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-6);
  border-bottom: var(--hair);
  color: var(--ink-2);
  line-height: 1.75;
}
.plain-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.plain-list > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- 提示条（青碧底，用于关键提醒；务必简短） --- */
.note {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-6) 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}
.note::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--accent-soft);
}
.note > *:last-child { margin-bottom: 0; }
.note a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* --- 版本 / 报价卡 --- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  align-items: stretch;
}
.plans-2 { grid-template-columns: repeat(2, 1fr); }
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6);
  transition: border-color var(--dur-3) var(--ease-out),
    box-shadow var(--dur-3) var(--ease-out),
    transform var(--dur-3) var(--ease-out);
}
.plan-card:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-3);
  transform: translateY(-3px);
}
.plan-card.is-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}
.plan-flag {
  position: absolute;
  top: calc(-1 * var(--sp-3));
  left: var(--sp-6);
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px var(--sp-4);
  border-radius: var(--radius-full);
}
.plan-card h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.plan-period {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 3px var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}
.plan-period::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.plan-desc {
  color: var(--ink-3);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
.plan-card .checks { flex: 1; margin-bottom: var(--sp-6); }
.plan-card .checks li { font-size: 15px; color: var(--ink-2); margin-bottom: var(--sp-3); }
.plan-card .btn { width: 100%; }

/* --- 相关页面（站内交叉内链，每页页脚前） --- */
.related-box {
  margin-top: var(--sp-10);
  padding-top: var(--sp-7);
  border-top: var(--hair);
}
.related-box h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-5); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.related-grid a {
  display: block;
  padding: var(--sp-5);
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius);
  transition: border-color var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}
.related-grid a:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.related-grid strong {
  display: block;
  color: var(--ink);
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--sp-1);
}
.related-grid span { display: block; color: var(--ink-3); font-size: var(--fs-sm); line-height: 1.65; }

/* --- 「一句话结论」 Emphasis 段（结论前置，便于 AI 与用户摘取） --- */
.takeaway {
  background: var(--surface);
  border: var(--hair);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-5) var(--sp-6);
  margin: 0 0 var(--sp-7);
  color: var(--ink-2);
  line-height: 1.8;
}
.takeaway strong { color: var(--ink); }

/* --- 内容中心：文章列表与正文 --- */
.article-list { display: grid; gap: var(--sp-6); max-width: var(--maxw-narrow); }
.article-card {
  background: var(--surface);
  border: var(--hair);
  border-radius: var(--radius);
  padding: var(--sp-6);
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.article-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-2); }
.article-card h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.article-card h2 a { color: var(--ink); }
.article-card h2 a:hover { color: var(--accent); }
.article-card > p { color: var(--ink-3); margin: 0; font-size: 15px; line-height: 1.75; }
.article-meta { display: flex; gap: var(--sp-3); align-items: center; margin-bottom: var(--sp-3); color: var(--ink-3); font-size: var(--fs-sm); }
.article-meta time { font-variant-numeric: tabular-nums; }
.article-meta .meta-sep { color: var(--ink-3); opacity: 0.55; }
.article-meta--post { margin-bottom: var(--sp-7); padding-bottom: var(--sp-5); border-bottom: var(--hair); }
.tag { display: inline-block; padding: 2px 10px; background: var(--accent-soft); color: var(--accent-deep); border-radius: var(--radius-full); font-size: var(--fs-xs); font-weight: 500; }

.prose {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  color: var(--ink-2);
  line-height: 1.82;
  font-size: var(--fs-md);
}
.prose h2 { font-family: var(--font-serif); font-size: var(--fs-h2); margin: var(--sp-10) 0 var(--sp-4); }
.prose h3 { font-size: var(--fs-h3); margin: var(--sp-8) 0 var(--sp-3); }
.prose p { margin: 0 0 var(--sp-5); }
.prose ul, .prose ol { padding-left: var(--sp-7); margin: 0 0 var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); }
.prose li > p { margin: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--sp-4) 0 var(--sp-4) var(--sp-6);
  margin: var(--sp-6) 0;
  color: var(--ink);
  font-style: italic;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border-radius: var(--radius); margin: var(--sp-6) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: var(--sp-6) 0; }
.prose th, .prose td { padding: var(--sp-3) var(--sp-4); border-bottom: var(--hair); text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 600; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; background: var(--surface-2); padding: 2px 5px; border-radius: var(--radius-xs); font-size: 0.9em; }
.prose pre { background: var(--ink); color: var(--ink-inv); padding: var(--sp-5); border-radius: var(--radius); overflow-x: auto; }
.prose pre code { background: transparent; padding: 0; }

/* ------------------------------------------------------------
   14. 动效（渐进增强，无 JS 时内容完整可见）
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  /* Hero 首发入场：纯 CSS，任何情况下都以可见态结束 */
  .hero h1 { animation: rise-in var(--dur-4) var(--ease-out) both; }
  .hero .lead { animation: rise-in var(--dur-4) var(--ease-out) 0.07s both; }
  .hero-actions { animation: rise-in var(--dur-4) var(--ease-out) 0.14s both; }
  .hero-note { animation: rise-in var(--dur-4) var(--ease-out) 0.2s both; }
  .hero .shot-frame { animation: rise-in 0.72s var(--ease-out) 0.12s both; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .hero .lead, .hero-actions, .hero-note, .hero .shot-frame { animation: none; }
}

/* ------------------------------------------------------------
   15. 响应式
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-grid { gap: var(--sp-9); }
  .split { gap: var(--sp-9); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-7); }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child ul { gap: var(--sp-6); }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; --fs-display: 34px; --fs-h1: 30px; --fs-h2: 25px; }

  .nav { display: none; }
  .nav-mobile { display: block; }
  .page-head { padding: var(--sp-7) 0 var(--sp-7); }

  .hero { padding: var(--sp-9) 0 var(--sp-8); }
  .hero-grid, .split, .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }
  .split.reverse .split-media { order: 0; }
  .split-gap { margin-bottom: var(--sp-8); }

  /* 页面级组件：版本卡单列、相关页两列、步骤标记略缩 */
  .plans, .plans-2 { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .steps > li { padding-left: 58px; }
  .steps > li::before { width: 40px; height: 40px; font-size: 14px; }
  .steps > li::after { left: 19px; top: 48px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: var(--sp-5); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: var(--hair); }

  section { padding: var(--sp-9) 0; }
  section.tight { padding: var(--sp-8) 0; }
  .section-head { margin-bottom: var(--sp-7); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
  .footer-grid > div:last-child { grid-column: 1 / -1; }

  .ink-block { padding: var(--sp-6); }
  .cta { padding: var(--sp-9) var(--sp-6); border-radius: var(--radius-lg); }

  /* 对照表：横向滚动 + 首列吸附 */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-wrap.compare table { min-width: 820px; }
  th, td { padding: var(--sp-3) var(--sp-4); }
  thead th { position: static; }
  .compare th:first-child, .compare td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--surface-2);
    box-shadow: 1px 0 0 var(--surface-3);
  }
  .compare td:first-child { background: var(--surface); }
  .compare thead th:first-child { z-index: 4; }
  .compare tbody th:first-child { background: var(--surface-2); }
  .table-hint { display: flex; }

  /* 键值表（/zizhi/ 主体信息）：不横滑，标签列自适应 */
  .table-wrap.kv th { width: auto; white-space: normal; }

  .qr-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 var(--sp-5); }
  .hero-actions .btn, .cta .btn, .page-actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: var(--hair); }
  .stat:nth-child(-n+2) { border-bottom: var(--hair); }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .related-grid { grid-template-columns: 1fr; }
  .note { padding: var(--sp-5); }
  .plan-card { padding: var(--sp-6) var(--sp-5); }
}

/* ------------------------------------------------------------
   16. 打印
   ------------------------------------------------------------ */
@media print {
  .site-header, .cta, .table-hint, .shot-bar, .page-actions, .nav-mobile { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .wrap { max-width: none; padding: 0; }
  section { padding: 12pt 0; page-break-inside: avoid; }
  .alt { background: #fff; border: 0; }
  .card, .stats, .table-wrap, .qr-card, .plan-card { box-shadow: none; }
  .card, .table-wrap, .plan-card, .steps > li { break-inside: avoid; }
  .steps > li::after { display: none; }
  a { color: var(--ink); }
  a[href^="/"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}
