/* ==========================================================
   南京师范大学商学院"AI+商科"生态建设规划（2026—2031）
   多页面提案站点 · 沉稳机构风
   深墨蓝 #1b2a41 · 纸面米白 #f7f4ee · 赭金 #9a6b2f
   ========================================================== */

:root {
  --ink: #1b2a41;
  --ink-mid: #2c405e;
  --ink-light: #46586f;
  --paper: #f7f4ee;
  --paper-alt: #efeae0;
  --accent: #9a6b2f;
  --accent-soft: #c9a86a;
  --line: #d8d0c0;
  --white: #ffffff;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: var(--serif); }
img { max-width: 100%; display: block; }

/* ---------- 顶部导航 ---------- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 244, 238, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.header-brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--ink); }
.brand-seal {
  width: 40px; height: 40px; flex: none;
  border: 2px solid var(--accent); color: var(--accent);
  font-family: var(--serif); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; letter-spacing: 1px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-text strong { font-family: var(--serif); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text span { font-size: 11px; color: var(--ink-light); letter-spacing: 1px; }

#main-nav { display: flex; gap: 2px; flex-wrap: wrap; }
#main-nav a {
  color: var(--ink-light); text-decoration: none; font-size: 14.5px;
  padding: 6px 12px; border-radius: 4px; transition: color .2s, background .2s;
  white-space: nowrap;
}
#main-nav a:hover { color: var(--accent); background: rgba(154,107,47,.08); }
#main-nav a.active { color: var(--accent); font-weight: 600; position: relative; }
#main-nav a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0;
  height: 2px; background: var(--accent);
}
#nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 4px; width: 40px; height: 40px; color: var(--ink);
  font-size: 16px; cursor: pointer;
}

/* ---------- 子页页眉 ---------- */
.page-hero {
  padding: 150px 24px 64px;
  background:
    radial-gradient(ellipse 800px 400px at 80% -20%, rgba(154,107,47,.12), transparent 60%),
    linear-gradient(180deg, var(--paper-alt), var(--paper));
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { max-width: 1080px; margin: 0 auto; }
.page-hero .crumb {
  font-size: 13px; color: var(--accent); letter-spacing: 3px; margin-bottom: 14px;
  font-weight: 500;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: 2px;
  margin-bottom: 16px;
}
.page-hero .hero-lede { color: var(--ink-light); font-size: 16.5px; max-width: 840px; }
.page-hero .hero-lede b { color: var(--ink); }

/* ---------- 章节通用 ---------- */
.doc-section { padding: 84px 24px; }
.doc-section > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section-alt { background: var(--paper-alt); }

.section-head { margin-bottom: 46px; }
.section-tag {
  display: inline-block; font-size: 13px; color: var(--accent);
  border: 1px solid var(--accent-soft); border-radius: 20px;
  padding: 3px 16px; letter-spacing: 3px; margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 33px); font-weight: 700;
  letter-spacing: 2px; margin-bottom: 12px;
}
.section-lede { color: var(--ink-light); font-size: 16px; max-width: 860px; }
.section-lede b { color: var(--ink); }
.section-note {
  font-size: 13px; color: var(--ink-light); margin-top: 26px;
  border-left: 3px solid var(--line); padding-left: 14px;
}

/* ---------- 提示框 ---------- */
.callout {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--accent-soft);
  border-radius: 6px; padding: 26px 28px; margin-top: 42px;
}
.callout-key { border-left-color: var(--accent); background: #fbf8f1; }
.callout > i { font-size: 22px; color: var(--accent); margin-top: 5px; flex: none; }
.callout strong { font-family: var(--serif); font-size: 17px; display: block; margin-bottom: 8px; color: var(--ink); }
.callout p { color: var(--ink-light); font-size: 15px; }
.callout p b { color: var(--ink); }

/* ---------- 配图 ---------- */
.figure { margin: 40px auto; }
.figure img {
  width: 100%; border-radius: 6px; border: 1px solid var(--line);
  aspect-ratio: 21/9; object-fit: cover;
}
.figure figcaption {
  font-size: 12.5px; color: var(--ink-light); margin-top: 10px;
  text-align: center; letter-spacing: 1px;
}
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px auto; }
.figure-pair figure { margin: 0; }
.figure-pair img {
  width: 100%; border-radius: 6px; border: 1px solid var(--line);
  aspect-ratio: 16/9; object-fit: cover;
}
.figure-pair figcaption { font-size: 12.5px; color: var(--ink-light); margin-top: 8px; text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: 4px; text-decoration: none;
  font-size: 15px; letter-spacing: 1px; transition: all .25s;
}
.btn-primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--ink-mid); }
.btn-ghost { color: var(--ink); border: 1px solid var(--ink-light); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 渐显 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ================= 首页 ================= */
#sec-cover {
  min-height: 92vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 130px 24px 70px; position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(154,107,47,.10), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 100%);
}
.cover-inner { max-width: 880px; }
.cover-kicker { font-size: 13px; letter-spacing: 8px; color: var(--accent); margin-bottom: 28px; font-weight: 500; }
#sec-cover h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; letter-spacing: 3px; line-height: 1.45; }
.cover-years { font-family: var(--serif); font-size: clamp(18px, 2.5vw, 24px); letter-spacing: 6px; color: var(--ink-light); margin-top: 10px; }
.cover-rule { width: 72px; height: 3px; background: var(--accent); margin: 32px auto 24px; }
.cover-subtitle { font-family: var(--serif); font-size: clamp(16px, 2.2vw, 20px); font-weight: 600; letter-spacing: 2px; }
.cover-thesis { margin-top: 24px; color: var(--ink-light); font-size: 15.5px; line-height: 2.1; }
.cover-thesis b { color: var(--ink); }
.cover-actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cover-onepagers { margin-top: 18px; font-size: 13.5px; color: var(--muted, #5c6470); }
.cover-onepagers a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(154,107,47,.4); padding-bottom: 1px; transition: color .2s; }
.cover-onepagers a:hover { color: #9a6b2f; }
.cover-onepagers i { margin-right: 4px; color: #9a6b2f; }
.cover-footnote {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  font-size: 12px; color: var(--ink-light); letter-spacing: 1px; padding: 0 24px;
}

/* 首页 · 规划主线 */
.mainline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 10px; }
.mainline::before {
  content: ""; position: absolute; top: 26px; left: 10%; right: 10%;
  height: 2px; background: var(--line);
}
.ml-node { text-align: center; padding: 0 10px; position: relative; }
.ml-dot {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--accent);
  color: var(--accent); font-family: var(--serif); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; position: relative; z-index: 1; font-size: 15px;
}
.ml-node h3 { font-size: 16px; margin-bottom: 6px; }
.ml-node p { font-size: 13px; color: var(--ink-light); line-height: 1.7; }

/* 首页 · 分册导航卡片 */
.chapter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.chapter-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s;
}
.chapter-card:hover { box-shadow: 0 10px 30px rgba(27,42,65,.12); transform: translateY(-3px); }
.chapter-card .cc-img { aspect-ratio: 16/8; overflow: hidden; background: var(--ink); }
.chapter-card .cc-img img { width: 100%; height: 100%; object-fit: cover; }
.chapter-card .cc-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.cc-no { font-size: 12px; color: var(--accent); letter-spacing: 3px; margin-bottom: 8px; }
.chapter-card h3 { font-size: 19px; margin-bottom: 8px; }
.chapter-card p { font-size: 14px; color: var(--ink-light); flex: 1; }
.cc-more { margin-top: 14px; font-size: 13.5px; color: var(--accent); }
.cc-more i { margin-left: 6px; transition: margin .2s; }
.chapter-card:hover .cc-more i { margin-left: 12px; }

/* 首页 · 核心数字 */
.figures-band { background: var(--ink); color: var(--paper); padding: 64px 24px; }
.figures-band-inner { max-width: 1080px; margin: 0 auto; }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.fig-item .fig-num { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--accent-soft); }
.fig-item .fig-unit { font-size: 14px; opacity: .75; margin-left: 4px; }
.fig-item p { font-size: 13.5px; opacity: .8; margin-top: 6px; }

/* ================= 路径参照页 ================= */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.policy-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 26px 24px; border-top: 3px solid var(--ink);
}
.policy-card .pc-level { font-size: 12px; color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; }
.policy-card h3 { font-size: 17px; margin-bottom: 10px; }
.policy-card p { font-size: 14px; color: var(--ink-light); }

.precedent-timeline { position: relative; padding-left: 34px; }
.precedent-timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.precedent-item { position: relative; display: flex; gap: 26px; padding: 20px 0; }
.precedent-item::before {
  content: ""; position: absolute; left: -31px; top: 32px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.p-year { flex: none; width: 108px; font-family: var(--serif); font-weight: 700; color: var(--accent); font-size: 17px; padding-top: 4px; }
.p-body h3 { font-size: 18px; margin-bottom: 6px; }
.p-body p { color: var(--ink-light); font-size: 15px; }
.p-tag {
  display: inline-block; margin-top: 10px; font-size: 12px;
  color: var(--accent); border: 1px solid var(--accent-soft);
  padding: 2px 10px; border-radius: 20px; letter-spacing: 1px;
}

/* 五步序列 */
.sequence { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.seq-step {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 22px 18px; position: relative;
}
.seq-step .seq-no {
  font-family: var(--serif); font-size: 30px; font-weight: 700;
  color: rgba(154,107,47,.28); line-height: 1; margin-bottom: 10px;
}
.seq-step h3 { font-size: 16px; margin-bottom: 8px; }
.seq-step p { font-size: 13px; color: var(--ink-light); }
.seq-step::after {
  content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--accent-soft); font-size: 13px; z-index: 1;
}
.seq-step:last-child::after { display: none; }

/* ================= 生态蓝图页 ================= */
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.status-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 30px 28px; }
.status-card i { font-size: 24px; color: var(--accent); margin-bottom: 14px; }
.status-card h3 { font-size: 18px; margin-bottom: 10px; }
.status-card p { color: var(--ink-light); font-size: 14.5px; }

.eco-detail { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 22px; }
.eco-detail .ed-side { color: var(--paper); padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.eco-detail[data-layer="1"] .ed-side { background: #1b2a41; }
.eco-detail[data-layer="2"] .ed-side { background: #2c405e; }
.eco-detail[data-layer="3"] .ed-side { background: #47607f; }
.eco-detail[data-layer="4"] .ed-side { background: #6a83a1; }
.ed-side .ed-tier { font-size: 12px; letter-spacing: 3px; opacity: .75; }
.ed-side h3 { font-size: 22px; }
.ed-side .ed-phase { font-size: 13px; opacity: .8; }
.eco-detail .ed-main { padding: 28px 30px; }
.ed-main h4 { font-size: 15px; color: var(--accent); margin: 16px 0 6px; }
.ed-main h4:first-child { margin-top: 0; }
.ed-main p, .ed-main li { font-size: 14.5px; color: var(--ink-light); }
.ed-main ul { list-style: none; }
.ed-main li { padding: 4px 0 4px 18px; position: relative; }
.ed-main li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft);
}

/* 一日场景 */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px 26px; }
.scene-card .sc-role {
  display: inline-block; background: var(--ink); color: var(--paper);
  font-size: 13px; padding: 3px 14px; border-radius: 20px; margin-bottom: 14px;
}
.scene-card h3 { font-size: 17px; margin-bottom: 10px; }
.scene-card p { font-size: 14px; color: var(--ink-light); }

/* ================= 五年实施页 ================= */
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; }
.principle-card i { font-size: 22px; color: var(--accent); margin-bottom: 12px; }
.principle-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.principle-card p { font-size: 14px; color: var(--ink-light); }

.year-block { margin-bottom: 64px; }
.year-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; border-bottom: 2px solid var(--accent-soft); padding-bottom: 14px; margin-bottom: 26px; }
.year-head .yh-year { font-family: var(--serif); font-size: 26px; font-weight: 900; color: var(--accent); }
.year-head h3 { font-size: 21px; }
.year-head .yh-scale { margin-left: auto; font-size: 14px; color: var(--ink-light); }

.pack-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 14px; }
.pack-table th {
  background: var(--ink); color: var(--paper); font-weight: 500;
  padding: 12px 16px; text-align: left; font-size: 13.5px; letter-spacing: 1px;
}
.pack-table td { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--ink-light); vertical-align: top; }
.pack-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.pack-table .pt-price { color: var(--accent); font-weight: 600; white-space: nowrap; }

.change-box { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 24px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.change-before, .change-after { padding: 24px 26px; }
.change-before { background: var(--paper-alt); }
.change-after { background: #fbf8f1; border-left: 1px solid var(--line); }
.change-box h4 { font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.change-before h4 { color: var(--ink-light); }
.change-after h4 { color: var(--accent); }
.change-box ul { list-style: none; }
.change-box li { font-size: 13.5px; color: var(--ink-light); padding: 5px 0 5px 18px; position: relative; }
.change-box li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--line);
}
.change-after li::before { background: var(--accent-soft); }

/* ================= 首季启动页 ================= */
.pilot-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; }
.pilot-main { display: flex; flex-direction: column; gap: 22px; }
.pilot-pack { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.pack-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.pack-no { background: var(--ink); color: var(--paper); font-size: 13px; padding: 3px 12px; border-radius: 20px; letter-spacing: 1px; }
.pack-head h3 { font-size: 18px; flex: 1; min-width: 200px; }
.pack-price { font-family: var(--serif); font-weight: 700; color: var(--accent); font-size: 18px; }
.pilot-pack h4 { font-size: 14.5px; color: var(--accent); margin: 18px 0 8px; }
.pilot-pack ul { list-style: none; }
.pilot-pack li { font-size: 14.5px; color: var(--ink-light); padding: 7px 0 7px 22px; position: relative; border-top: 1px dashed var(--line); }
.pilot-pack li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 8px; font-size: 12px; color: var(--accent);
}
.pilot-side { background: #fbf8f1; border: 1px solid var(--accent-soft); border-radius: 6px; padding: 28px; align-self: start; position: sticky; top: 90px; }
.pilot-side h3 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.pilot-side h3 i { color: var(--accent); }
.pilot-steps { list-style: none; }
.pilot-steps li { font-size: 14px; color: var(--ink-light); padding: 9px 0; border-bottom: 1px dashed var(--line); }
.pilot-steps li b { color: var(--ink); margin-right: 6px; }

/* 甘特 */
.gantt { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 30px; overflow-x: auto; }
.gantt-row { display: grid; grid-template-columns: 190px repeat(9, 1fr); align-items: center; gap: 2px; margin-bottom: 10px; min-width: 760px; }
.gantt-row.gantt-head { margin-bottom: 16px; }
.gantt-label { font-size: 13.5px; color: var(--ink); padding-right: 14px; font-weight: 500; }
.gantt-head span { font-size: 11px; color: var(--ink-light); text-align: center; }
.gantt-cell { height: 26px; border-radius: 3px; background: var(--paper-alt); }
.gantt-cell.on { background: var(--ink-mid); }
.gantt-cell.on.hi { background: var(--accent); }

/* ================= 投入与绩效页 ================= */
.budget-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.chart-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.chart-card h3 { font-size: 16px; margin-bottom: 18px; }
.chart-box { height: 320px; position: relative; }

.output-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.output-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 24px 20px; text-align: center; }
.output-card i { font-size: 26px; color: var(--accent); margin-bottom: 12px; }
.output-card h4 { font-size: 16px; margin-bottom: 8px; }
.output-card p { font-size: 13px; color: var(--ink-light); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi-item { background: var(--ink); color: var(--paper); border-radius: 6px; padding: 26px 20px; text-align: center; }
.kpi-num { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--accent-soft); }
.kpi-unit { font-size: 13px; margin-left: 6px; opacity: .8; }
.kpi-item p { font-size: 13.5px; margin-top: 8px; opacity: .85; }

.revenue-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rf-step { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 24px 22px; position: relative; }
.rf-step::after {
  content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  color: var(--accent-soft); font-size: 13px; z-index: 1;
}
.rf-step:last-child::after { display: none; }
.rf-step h4 { font-size: 16px; margin-bottom: 8px; color: var(--accent); }
.rf-step p { font-size: 13.5px; color: var(--ink-light); }

/* ================= 合规保障页 ================= */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.comp-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px 24px; border-top: 3px solid var(--accent); }
.comp-card i { font-size: 24px; color: var(--accent); margin-bottom: 14px; }
.comp-card h3 { font-size: 17px; margin-bottom: 10px; }
.comp-card p { font-size: 14px; color: var(--ink-light); }

.risk-list { display: flex; flex-direction: column; gap: 16px; }
.risk-item { display: grid; grid-template-columns: 1fr 1.4fr; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.risk-q { background: var(--paper-alt); padding: 22px 26px; }
.risk-q h4 { font-size: 15.5px; display: flex; gap: 10px; align-items: flex-start; }
.risk-q h4 i { color: #a4442f; margin-top: 5px; }
.risk-a { padding: 22px 26px; font-size: 14px; color: var(--ink-light); border-left: 1px solid var(--line); }
.risk-a b { color: var(--ink); }

/* ---------- 页间导览（上一册/下一册） ---------- */
.pager { display: flex; justify-content: space-between; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 0 0 20px; flex-wrap: wrap; }
.pager a {
  flex: 1; min-width: 240px; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 20px 24px; transition: border-color .2s;
}
.pager a:hover { border-color: var(--accent); }
.pager .pg-dir { font-size: 12px; color: var(--accent); letter-spacing: 2px; }
.pager .pg-title { font-family: var(--serif); font-size: 16.5px; font-weight: 700; margin-top: 4px; }
.pager .pg-next { text-align: right; }

/* ---------- 结语带 ---------- */
.closing-band { background: var(--ink); color: var(--paper); padding: 84px 24px; text-align: center; }
.closing-band .closing-inner { max-width: 760px; margin: 0 auto; }
.closing-band p { font-family: var(--serif); font-size: clamp(17px, 2.4vw, 22px); letter-spacing: 2px; line-height: 2.1; }
.closing-band .em { color: var(--accent-soft); }
.closing-band .btn { margin-top: 34px; background: var(--accent); border-color: var(--accent); color: var(--paper); }
.closing-band .btn:hover { background: var(--accent-soft); }

/* ---------- 页脚 ---------- */
#site-footer { background: #14202f; color: rgba(247,244,238,.55); padding: 40px 24px; font-size: 12.5px; line-height: 2; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-nav a { color: rgba(247,244,238,.55); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-soft); }

/* 表格横滑提示（默认隐藏，窄屏媒体查询中显示） */
.table-hint { display: none; font-size: 12px; color: var(--ink-light); margin: -14px 0 8px; }
.table-hint i { margin-right: 4px; color: var(--accent); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .chapter-grid, .policy-grid, .comp-grid, .scene-grid, .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .sequence { grid-template-columns: repeat(2, 1fr); }
  .seq-step::after { display: none; }
  .mainline { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .mainline::before { display: none; }
  .budget-grid, .pilot-grid { grid-template-columns: 1fr; }
  .pilot-side { position: static; }
  .eco-detail { grid-template-columns: 1fr; }
  .figures-grid, .output-grid, .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .revenue-flow { grid-template-columns: 1fr; }
  .rf-step::after { display: none; }
  .risk-item { grid-template-columns: 1fr; }
  .risk-a { border-left: none; border-top: 1px solid var(--line); }
  .figure-pair { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  #main-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 20px 16px;
  }
  #main-nav.open { display: flex; }
  #main-nav a { padding: 11px 8px; border-bottom: 1px dashed var(--line); }
  #main-nav a.active::after { display: none; }
  #nav-toggle { display: block; }
  .brand-text strong { font-size: 13px; max-width: 50vw; }

  .doc-section { padding: 60px 18px; }
  .page-hero { padding: 120px 18px 48px; }
  .chapter-grid, .policy-grid, .comp-grid, .scene-grid, .principle-grid,
  .status-grid, .sequence, .mainline { grid-template-columns: 1fr; }
  .precedent-item { flex-direction: column; gap: 4px; }
  .p-year { width: auto; }
  .callout { flex-direction: column; gap: 10px; padding: 22px 20px; }
  .change-box { grid-template-columns: 1fr; }
  .change-after { border-left: none; border-top: 1px solid var(--line); }
  .year-head .yh-scale { margin-left: 0; width: 100%; }
  /* 采购包表：撑开列宽，横向滑动而非挤压 */
  .pack-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pack-table th, .pack-table td { min-width: 96px; }
  .pack-table th:nth-child(2), .pack-table td:nth-child(2) { min-width: 250px; }
  .pack-table th:last-child, .pack-table td:last-child { min-width: 210px; }
  .table-hint { display: block; }
  /* 甘特图：收紧内边距，保留横滑 */
  .gantt { padding: 16px 14px; }
  .gantt-row { grid-template-columns: 132px repeat(9, 1fr); min-width: 640px; }
  .gantt-label { font-size: 12px; padding-right: 8px; }
  .chart-box { height: 260px; }
  .cover-actions .btn { width: 100%; justify-content: center; }
  .cover-onepagers { line-height: 2; }
  .pager a { min-width: 100%; }
  .figures-grid { gap: 18px; }
  .fig-num { font-size: 34px; }
  .closing-band { padding: 64px 20px; }
  .footer-inner { flex-direction: column; gap: 14px; }

  /* 封面与 hero：窄屏字距收敛、留白收紧 */
  #sec-cover { padding: 104px 20px 56px; min-height: auto; }
  #sec-cover h1 { letter-spacing: 1.5px; }
  .cover-kicker { letter-spacing: 5px; }
  .cover-thesis { font-size: 14.5px; line-height: 1.9; text-align: justify; }
  .cover-thesis br { display: none; }
  .page-hero .hero-lede { text-align: justify; }
  .section-lede { text-align: justify; }

  /* 触控目标与点按反馈 */
  .btn { padding: 14px 22px; }
  .footer-nav { gap: 4px 16px; }
  .footer-nav a { padding: 6px 0; display: inline-block; }
  .cover-onepagers a { display: inline-block; padding: 4px 0; }
}

/* 移动端去除 hover 依赖：触屏点按高亮 */
@media (hover: none) {
  .chapter-card:active { transform: translateY(-2px); }
  .btn:active { opacity: .85; }
}

