/* ==========================================================================
   增额寿百科 · zengshou.rongjiains.com
   全站设计系统（单文件，所有页面共用）
   风格：纸感底色 + 深青权威 + 金色数字；中文长文阅读优化
   语义：深青 = 权威/稳态，金 = 数字/关键值，绿 = 已核验，赭红 = 风险/误区
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 纸感底色层 */
  --paper:        #f7f4ec;
  --paper-deep:   #efe9db;
  --card:         #fffdf8;
  /* 文字层 */
  --ink:          #1a2b2c;
  --ink-2:        #354a4c;
  --muted:        #5c7073;
  --muted-2:      #8b9998;
  /* 线条层 */
  --line:         #e4dccb;
  --line-strong:  #cfc5ae;
  /* 品牌：深青（权威/稳重） */
  --brand:        #0f4a4a;
  --brand-2:      #1c6b68;
  --brand-soft:   #e7f1ee;
  /* 金：数字与关键值 */
  --gold:         #a97e27;
  --gold-strong:  #8c6617;
  --gold-soft:    #f6eedb;
  /* 绿：已核验 */
  --ok:           #2c6a4c;
  --ok-soft:      #e9f2ec;
  /* 赭红：风险/误区/提示 */
  --risk:         #9c3b2e;
  --risk-soft:    #f8eae5;
  /* 法条/文件引用底 */
  --law-soft:     #edf3ef;
  /* 兼容参考站变量名（早期页面可能直接引用） */
  --accent:       var(--gold);
  --accent-soft:  var(--gold-soft);
  --warn:         var(--risk);
  --warn-soft:    var(--risk-soft);
  /* 形状与阴影 */
  --radius:       10px;
  --radius-sm:    6px;
  --shadow:       0 1px 2px rgba(26,43,44,.05), 0 8px 24px -16px rgba(26,43,44,.28);
  --shadow-lift:  0 2px 4px rgba(26,43,44,.06), 0 16px 40px -20px rgba(26,43,44,.32);
  /* 字体：系统字体，无网络请求 */
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC",
           "SimSun", "Georgia", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1140px;
  --wrap-narrow: 760px;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(15,74,74,.045) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand); text-decoration: none; text-underline-offset: 3px; overflow-wrap: break-word; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
  border-radius: 3px;
}
h1, h2, h3, h4 { line-height: 1.4; letter-spacing: .005em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
li { margin: .3em 0; }
strong { font-weight: 700; color: var(--ink); }
small { font-size: 85%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
::selection { background: var(--gold-soft); color: var(--ink); }
mark { background: var(--gold-soft); color: var(--ink); padding: 0 .15em; border-radius: 2px; }
code { font-family: var(--mono); font-size: .92em; background: var(--paper-deep); padding: .1em .35em; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.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: 16px; top: -60px;
  background: var(--brand); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); z-index: 100;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------- 顶部核验条（深青底 + 绿点 = 已核验） ---------- */
.verify-strip {
  background: #0b3636;
  color: #d7e6e2;
  font-size: 12.5px;
  letter-spacing: .04em;
}
.verify-strip .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 18px; min-height: 34px; padding-top: 6px; padding-bottom: 6px;
}
.verify-strip strong { color: #fff; font-weight: 600; }
.verify-strip .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #74c69d; margin-right: 7px; vertical-align: 1px;
  box-shadow: 0 0 0 3px rgba(116,198,157,.18);
}
.verify-strip a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.verify-strip a:hover { text-decoration: none; border-bottom-color: #fff; }

/* ---------- 站点头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,248,.94);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-2) 0%, #0b3636 100%);
  color: #f0d492; font-family: var(--serif); font-size: 21px; font-weight: 700;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(240,212,146,.28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--serif); font-size: 19.5px; letter-spacing: .06em; }
.brand-text small { color: var(--muted); font-size: 11.5px; letter-spacing: .09em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-block; padding: 7px 12px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-size: 15px; font-weight: 500;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--brand); color: #fff; }
.nav-toggle {
  display: none; border: 1px solid var(--line-strong); background: var(--card);
  border-radius: var(--radius-sm); padding: 7px 13px; font-size: 14px;
  font-family: inherit; color: var(--ink-2); cursor: pointer;
}

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 20px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 4px; }
.breadcrumb li + li::before { content: "›"; color: var(--muted-2); margin: 0 3px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current="page"] { color: var(--ink-2); }

/* ---------- 页面头部 ---------- */
.page-head { padding: 26px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: .14em; color: var(--gold-strong);
  font-weight: 600; text-transform: uppercase; margin: 0 0 14px;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--gold); display: inline-block; }
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.32;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: .015em;
}
.lede {
  font-size: 18px; line-height: 1.8; color: var(--ink-2);
  max-width: 800px; margin: 0 0 18px;
}
.meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  font-size: 12.5px; color: var(--muted);
}
.meta-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--card); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 999px;
}
.meta-chip--ok { color: var(--ok); border-color: #cfe3d7; background: var(--ok-soft); }
.meta-chip--ok::before { content: "✓"; font-size: 11px; }

/* ---------- 答案前置卡（GEO 核心组件） ---------- */
.answer-box {
  position: relative;
  background: linear-gradient(180deg, #fbf8ef 0%, var(--card) 100%);
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  padding: 26px 30px 24px;
  margin: 0 0 40px;
  box-shadow: var(--shadow);
}
.answer-box::after {
  content: "结论先行 · 可核验";
  position: absolute; top: 14px; right: 18px;
  font-size: 10.5px; letter-spacing: .1em; color: var(--muted-2);
}
.answer-tag {
  display: inline-block; font-size: 11.5px; letter-spacing: .16em;
  color: #fff; background: var(--brand); padding: 2px 9px;
  border-radius: 3px; margin-bottom: 12px; font-weight: 600;
}
.answer-box h2 {
  font-family: var(--serif); font-size: 20px; margin: 0 0 12px;
  color: var(--brand); letter-spacing: .02em;
}
.answer-lead {
  font-size: 18.5px; line-height: 1.8; margin: 0 0 16px;
  color: var(--ink); font-weight: 500;
}
.answer-facts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; }
.answer-facts li {
  position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.7; margin: 0;
}
.answer-facts li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; background: var(--gold); border-radius: 1px;
}
.answer-facts li strong { color: var(--ink); }
.answer-note { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.7; }
.answer-note a { color: var(--brand); }

/* ---------- 正文布局：TOC + 文章 ---------- */
.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  padding-bottom: 20px;
}
.layout > * { min-width: 0; }
.toc-col { position: sticky; top: 88px; }
.toc {
  border: 1px solid var(--line);
  background: rgba(255,253,248,.72);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  font-size: 13.5px;
}
.toc-title {
  margin: 0 0 9px; font-size: 11.5px; letter-spacing: .16em;
  color: var(--muted-2); font-weight: 600;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc ol li { margin: 0; counter-increment: toc; }
.toc ol li a {
  display: block; padding: 5px 8px 5px 26px; position: relative;
  color: var(--ink-2); border-radius: 4px; line-height: 1.5;
}
.toc ol li a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 4px; top: 5px;
  font-family: var(--mono); font-size: 10.5px; color: var(--gold);
}
.toc ol li a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.toc ol li a.is-active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.toc-note {
  margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 11.5px; color: var(--muted-2); line-height: 1.6;
}

.article { min-width: 0; }
.section { margin: 0 0 46px; scroll-margin-top: 90px; }
.section > h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 27px);
  margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
}
.section > h2 .h2-index {
  font-family: var(--mono); font-size: 13px; color: var(--gold-strong);
  font-weight: 600; letter-spacing: .04em; flex: 0 0 auto;
}
.section h3 {
  font-size: 18.5px; margin: 30px 0 10px; color: var(--ink);
  font-weight: 700;
}
.section h3:first-of-type { margin-top: 22px; }
.section p, .section li { color: var(--ink-2); }
.section > p:last-child { margin-bottom: 0; }

/* ---------- 表格（含口径对照表：数字列金色强调） ---------- */
.table-wrap {
  margin: 22px 0 10px;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--card);
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}
table.data {
  width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.65;
  min-width: 520px;
}
table.data caption {
  caption-side: top; text-align: left;
  padding: 13px 16px 11px;
  font-size: 13px; color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: #faf7ee;
}
table.data caption strong { color: var(--ink); font-weight: 600; }
table.data th, table.data td {
  padding: 11px 16px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
table.data thead th {
  background: #f0eadb; color: var(--ink);
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) { background: #fcfaf3; }
table.data tbody tr:hover { background: #f8f3e6; }
table.data td.num, table.data th.num {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
  color: var(--gold-strong); font-weight: 600;
}
table.data .cell-strong { color: var(--ink); font-weight: 700; }
table.data .tag-ok { color: var(--ok); font-weight: 600; }
table.data .tag-warn { color: var(--risk); font-weight: 600; }
table.data .caliber { color: var(--brand); font-weight: 600; }
.table-note {
  font-size: 12.5px; color: var(--muted); margin: 8px 0 26px;
  padding-left: 2px; line-height: 1.7;
}
.table-note a { color: var(--muted); border-bottom: 1px dotted var(--line-strong); }

/* ---------- 提示框 / 法条与文件引用框 ---------- */
.callout {
  border-radius: var(--radius);
  padding: 17px 20px;
  margin: 22px 0;
  font-size: 15.5px;
  line-height: 1.8;
  background: var(--card);
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-left-style: solid;
}
.callout p { margin: 0 0 .6em; color: var(--ink-2); }
.callout p:last-child { margin-bottom: 0; }
.callout ul, .callout ol { margin: .5em 0 .7em; padding-left: 1.3em; }
.callout-title {
  font-weight: 700; color: var(--ink); font-size: 14.5px;
  letter-spacing: .02em; display: block; margin-bottom: 6px;
}
.callout--note { border-left-color: var(--brand); background: var(--brand-soft); }
.callout--warn { border-left-color: var(--risk); background: var(--risk-soft); }
.callout--tip  { border-left-color: var(--ok); background: var(--ok-soft); }
.callout--note .callout-title { color: var(--brand); }
.callout--warn .callout-title { color: var(--risk); }
.callout--tip  .callout-title { color: var(--ok); }

.law-quote {
  margin: 24px 0;
  background: var(--law-soft);
  border: 1px solid #d6e2da;
  border-radius: var(--radius);
  padding: 18px 22px 16px;
}
.law-quote figcaption {
  font-size: 12.5px; letter-spacing: .1em; color: var(--brand);
  font-weight: 700; margin-bottom: 10px;
}
.law-quote blockquote {
  margin: 0; padding: 0 0 0 16px;
  border-left: 3px solid var(--brand-2);
  font-family: var(--serif);
  font-size: 16.5px; line-height: 1.9; color: var(--ink);
}
.law-quote blockquote p { margin: 0; color: var(--ink); }
.law-source {
  margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.7;
}
.law-source a { color: var(--brand); }

/* ---------- 流程步骤 ---------- */
.flow { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; counter-reset: flow; }
.flow-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px 16px 64px;
  margin: 0;
}
.flow-step::before {
  counter-increment: flow; content: counter(flow);
  position: absolute; left: 18px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; font-family: var(--mono);
}
.flow-step strong { display: block; margin-bottom: 3px; font-size: 16px; }
.flow-step p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 术语卡（寿险储蓄主题细节：四个口径先分清） ---------- */
.term-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px; margin: 22px 0 10px;
}
.term-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 18px 15px;
  box-shadow: var(--shadow);
}
.term-card h3 { margin: 0 0 2px; font-size: 16.5px; color: var(--ink); }
.term-card .term-en {
  display: block; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .04em; color: var(--muted-2); margin-bottom: 8px;
}
.term-card p { margin: 0; font-size: 14px; line-height: 1.72; color: var(--muted); }
.term-card p strong { color: var(--gold-strong); }

/* ---------- FAQ ---------- */
.faq { margin-top: 8px; display: grid; gap: 9px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 15px 46px 15px 20px;
  position: relative;
  font-weight: 600; font-size: 16px; color: var(--ink);
  line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-52%);
  font-size: 21px; font-weight: 400; color: var(--gold-strong);
  transition: transform .15s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: #fbf8f0; }
.faq-body { padding: 0 20px 17px; font-size: 15.5px; color: var(--ink-2); line-height: 1.85; }
.faq-body p { margin: 0 0 .7em; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body ul { margin: .4em 0 .8em; }
.faq-body a { word-break: break-word; }

/* ---------- 来源区 ---------- */
.sources {
  background: #fbf8f1; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin-top: 10px;
}
.sources > h2 { border-bottom-color: var(--line-strong); }
.source-list { list-style: none; margin: 0; padding: 0; counter-reset: src; display: grid; gap: 10px; }
.source-list li {
  counter-increment: src; position: relative; padding-left: 30px;
  font-size: 14px; line-height: 1.75; color: var(--ink-2); margin: 0;
}
.source-list li::before {
  content: "[" counter(src) "]"; position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 11.5px; color: var(--gold-strong);
}
.source-list a { word-break: break-word; }
.src-date { color: var(--muted-2); font-size: 12px; white-space: nowrap; }
.source-note { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; line-height: 1.7; }

/* ---------- 内链卡片 ---------- */
.related { margin: 50px 0 40px; }
.related > h2 {
  font-family: var(--serif); font-size: 22px; margin: 0 0 18px;
  padding-bottom: 10px; border-bottom: 2px solid var(--ink);
}
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
  color: var(--ink); box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  text-decoration: none; transform: translateY(-2px);
  box-shadow: var(--shadow-lift); border-color: var(--line-strong);
}
.card-tag {
  align-self: flex-start;
  font-size: 11px; letter-spacing: .1em; color: var(--gold-strong);
  background: var(--gold-soft); padding: 2px 8px; border-radius: 3px;
  font-weight: 600;
}
.card strong { font-size: 16px; line-height: 1.5; }
.card span { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.card::after {
  content: "阅读 →"; margin-top: auto; padding-top: 8px;
  font-size: 12.5px; color: var(--brand); font-weight: 600;
}
.card--static { cursor: default; }
.card--static:hover { transform: none; box-shadow: var(--shadow); }
.card--static::after { content: none; }

/* ---------- 免责声明 ---------- */
.disclaimer {
  margin: 34px 0 0;
  padding: 18px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: 13px; color: var(--muted); line-height: 1.8;
  background: rgba(255,253,248,.6);
}
.disclaimer strong { color: var(--ink-2); }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 70px;
  background: #0b3636;
  color: #c3d6d1;
  font-size: 13.5px;
  line-height: 1.8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2.2fr 1.3fr;
  gap: 40px;
  padding: 46px 24px 34px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand-mark { background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(240,212,146,.28); }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 17px; letter-spacing: .06em; }
.footer-about p { margin: 0 0 10px; max-width: 320px; }
.footer-about a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
.footer-title {
  color: #fff; font-size: 12px; letter-spacing: .16em;
  font-weight: 600; margin: 0 0 12px; opacity: .9;
}
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 7px; }
.footer-links a { color: #c3d6d1; }
.footer-links a:hover { color: #fff; }
.footer-meta p { margin: 0 0 8px; }
.footer-meta .ok-line { color: #8ed3ad; }
.footer-domain { font-size: 12.5px; color: #9db8b2; }
.footer-domain a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 24px 22px;
  font-size: 12px; color: #90aaa4;
}
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding: 0; }

/* ---------- 首页：hero / 指标 / 板块 ---------- */
.home-hero { padding: 56px 0 44px; }
.home-hero .kicker { margin-bottom: 18px; }
.home-hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5.4vw, 56px);
  line-height: 1.28; margin: 0 0 20px; letter-spacing: .02em;
  max-width: 900px;
}
.home-hero h1 em { font-style: normal; color: var(--brand); }
.home-hero .lede { font-size: 19px; max-width: 760px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-size: 15.5px; font-weight: 600; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -8px rgba(15,74,74,.75); }
.btn--primary:hover { background: #0c3d3d; }
.btn--ghost { background: var(--card); color: var(--brand); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); }
.hero-note { font-size: 13px; color: var(--muted); margin: 0; }

.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin: 40px 0 0;
}
.stat {
  background: var(--card); border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 18px 20px 16px;
  box-shadow: var(--shadow);
}
.stat-num {
  font-family: var(--mono); font-size: 27px; font-weight: 700;
  color: var(--gold-strong); line-height: 1.2; letter-spacing: -.02em;
  display: block; margin-bottom: 4px; font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 14px; color: var(--ink-2); font-weight: 600; display: block; margin-bottom: 5px; }
.stat-src { font-size: 11.5px; color: var(--muted-2); line-height: 1.6; display: block; }

.home-section { padding: 54px 0 10px; }
.home-section-head { margin-bottom: 28px; max-width: 780px; }
.home-section-head h2 {
  font-family: var(--serif); font-size: clamp(24px, 3.2vw, 32px);
  margin: 0 0 12px; line-height: 1.35;
}
.home-section-head p { color: var(--muted); font-size: 15.5px; margin: 0; }
.home-section-head .kicker { margin-bottom: 10px; }

/* 首批页面「整理中」文字列表：只用文字，不生成链接，避免死链 */
.pending {
  margin: 22px 0 0;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255,253,248,.6);
  padding: 20px 24px;
}
.pending-list {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px 26px;
  font-size: 14.5px; color: var(--muted);
}
.pending-list li { position: relative; padding-left: 16px; margin: 0; line-height: 1.65; }
.pending-list li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong);
}
.pending-list .pending-status {
  font-size: 11.5px; color: var(--muted-2); letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; margin-left: 6px;
  white-space: nowrap;
}
.pending-note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted-2); line-height: 1.7; }

/* ---------- 通用小工具 ---------- */
.tag {
  display: inline-block; font-size: 11.5px; padding: 1px 8px;
  border-radius: 3px; background: var(--brand-soft); color: var(--brand);
  font-weight: 600; letter-spacing: .04em; vertical-align: 2px;
}
.tag--ok { background: var(--ok-soft); color: var(--ok); }
.tag--warn { background: var(--risk-soft); color: var(--risk); }
.lead-in { font-size: 17px; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }

/* ---------- 响应式（500–1280px 无横向溢出） ---------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1.4fr 2fr; }
  .footer-meta { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--card); border-bottom: 1px solid var(--line);
    padding: 10px 18px 16px; gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav-toggle { display: inline-block; }
  .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; position: relative; }
  .layout { grid-template-columns: 1fr; gap: 22px; }
  .toc-col { position: static; order: -1; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
  .answer-box { padding: 20px 20px 18px; }
  .answer-box::after { display: none; }
  .page-head { padding: 18px 0 24px; margin-bottom: 26px; }
  .home-hero { padding: 38px 0 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 34px 18px 26px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  table.data { font-size: 14px; }
  table.data th, table.data td { padding: 9px 12px; }
}
@media (max-width: 560px) {
  .toc ol { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-num { font-size: 22px; }
  .verify-strip .wrap { font-size: 11.5px; }
  .brand-text small { display: none; }
  .pending-list { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .home-hero h1 { font-size: clamp(28px, 9vw, 40px); }
}
@media (max-width: 500px) {
  .wrap { padding: 0 16px; }
  body { font-size: 15.5px; }
  .page-head h1 { font-size: 25px; }
  .stat-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- 移动端增强：目录折叠 + 数据表横滑提示 ---------- */
.table-hint { display: none; }
.toc-toggle { display: none; }
@media (max-width: 860px) {
  .toc-title { display: none; }
  .toc-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 4px 2px; margin: 0;
    background: none; border: 0; cursor: pointer;
    font-family: inherit; font-size: 13.5px; font-weight: 600;
    color: var(--brand); letter-spacing: .02em;
  }
  .toc-toggle::after { content: "＋"; font-weight: 400; font-size: 16px; }
  .toc-toggle[aria-expanded="true"]::after { content: "－"; }
  .toc.is-collapsed ol, .toc.is-collapsed .toc-note { display: none; }
  .table-hint {
    display: block; font-size: 12px; color: var(--muted-2);
    margin: 14px 0 -8px; letter-spacing: .02em;
  }
  .table-wrap:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header, .verify-strip, .toc-col, .related, .site-footer,
  .skip-link, .hero-actions, .table-hint, .toc-toggle, .nav-toggle { display: none !important; }
  body { background: #fff; font-size: 11pt; color: #000; }
  .answer-box, .table-wrap, .callout, .law-quote, .faq-item, .card { box-shadow: none; }
  .layout { display: block; }
  a { color: #1a2b2c; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #555; }
  .section { page-break-inside: avoid; }
  .answer-box::after { display: none; }
  table.data { min-width: 0; }
  .faq-item { break-inside: avoid; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
