/* ============================================================
   base / 基础变量与重置
   ============================================================ */
:root {
  --paper: #f5f3ee;
  --ink: #1a1a18;
  --accent: #c2410c;
  --accent-dark: #9a3408;
  --slate: #3f5d68;
  --slate-light: #5a7a86;
  --line: #e8e4dc;
  --card-bg: #ffffff;
  --white: #ffffff;
  --text-secondary: #55554f;
  --text-muted: #7a7a72;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Songti SC", "SimSun", serif;
  --container-width: 1200px;
  --container-padding: 24px;
  --header-height: 72px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 3px rgba(26, 26, 24, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 26, 24, 0.08);
  --transition: 0.2s ease;
}

/* 重置 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   layout / 全站布局骨架
   ============================================================ */

/* 页头 */
.site-header {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

.brand-tag {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0;
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
}

.nav-list li a:hover {
  color: var(--accent);
  background-color: rgba(194, 65, 12, 0.06);
}

.nav-list li a.is-current {
  color: var(--accent);
  font-weight: 600;
}

.nav-list li a.is-current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 1px;
  position: relative;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle-icon::before {
  position: absolute;
  top: -7px;
}

.nav-toggle-icon::after {
  position: absolute;
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  min-height: 44px;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--slate);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--slate-light);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--white);
}

.btn-consult {
  flex-shrink: 0;
  padding: 8px 18px;
  min-height: 40px;
  font-size: 14px;
}

/* 主内容区 */
.site-main {
  flex: 1;
  width: 100%;
}

.main-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px var(--container-padding) 64px;
}

/* 页脚 */
.site-footer {
  background-color: var(--ink);
  color: #b8b8b0;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px var(--container-padding) 32px;
}

.footer-brand {
  margin-bottom: 28px;
}

.footer-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-version {
  font-size: 13px;
  color: #8a8a82;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
  color: #b8b8b0;
  font-size: 14px;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-boundary p {
  font-size: 13px;
  line-height: 1.7;
  color: #8a8a82;
  margin-bottom: 4px;
}

.footer-boundary .copyright {
  margin-top: 8px;
  font-size: 12px;
}

/* ============================================================
   components / 公共组件
   ============================================================ */

/* 面包屑 */
.breadcrumb {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px var(--container-padding) 0;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px var(--container-padding) 32px;
}

.page-title {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 720px;
}

/* 内页通用布局 */
.inner-main {
  width: 100%;
}

/* 侧栏布局：侧栏在前，正文在后 */
.layout-shell,
.page-layout {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding) 64px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.layout-shell.sidebar-left,
.page-layout.sidebar-left {
  grid-template-columns: 260px minmax(0, 1fr);
}

/* 侧栏 */
.toc,
.toc-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.toc-title,
.toc p.toc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list li a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
}

.toc-list li a:hover {
  color: var(--accent);
  background-color: rgba(194, 65, 12, 0.04);
  border-left-color: var(--accent);
}

.toc-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

/* 正文区 */
.article-body,
.body,
.quality-doc,
.faq-article {
  min-width: 0;
}

/* 章节 */
.content-section,
.quality-section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.content-section:last-child,
.quality-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.section-no {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
}

.section-intro {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 720px;
}

.section-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
}

.section-body p {
  margin-bottom: 16px;
}

/* 正文段落 */
.article-body p,
.body p,
.quality-doc p,
.faq-article p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.article-body p:last-child,
.body p:last-child,
.quality-doc p:last-child,
.faq-article p:last-child {
  margin-bottom: 0;
}

/* 引用块 */
blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  background-color: rgba(194, 65, 12, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

blockquote p {
  margin-bottom: 0;
}

.principle-quote,
.quality-quote,
.quote-block {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  background-color: rgba(194, 65, 12, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* 文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 8px;
}

.text-link::after {
  content: "→";
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* 表格 */
.table-wrap,
.table-wrapper,
.spec-table-wrapper {
  margin: 20px 0;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.spec-table,
.method-table,
.version-table {
  width: 100%;
  font-size: 14px;
  line-height: 1.6;
  background-color: var(--card-bg);
}

.spec-table caption,
.version-table caption {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background-color: rgba(232, 228, 220, 0.3);
}

.spec-table th,
.spec-table td,
.method-table th,
.method-table td,
.version-table th,
.version-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table thead th,
.method-table thead th,
.version-table thead th {
  background-color: var(--paper);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.spec-table tbody tr:last-child td,
.method-table tbody tr:last-child td,
.version-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table tbody tr:hover td,
.method-table tbody tr:hover td,
.version-table tbody tr:hover td {
  background-color: rgba(232, 228, 220, 0.2);
}

/* 内容图片 */
.content-figure,
.record-figure,
.media-figure,
.quality-media,
.faq-figure,
.news-figure,
.map-figure {
  margin: 24px 0;
}

.content-figure img,
.record-figure img,
.media-figure img,
.quality-media img,
.faq-figure img,
.news-figure img,
.map-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--card-bg);
}

.content-figure figcaption,
.record-figure figcaption,
.media-figure figcaption,
.quality-media figcaption,
.faq-figure figcaption,
.news-figure figcaption,
.map-figure figcaption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
  line-height: 1.6;
}

/* 相关链接卡片 */
.link-cards,
.link-grid,
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 88px;
}

.link-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.link-card strong {
  font-size: 15px;
  color: var(--ink);
}

.link-card span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.link-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.link-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 流程横条（首页与流程页通用） */
.process-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.process-strip .process-step {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 96px;
}

.process-strip .step-num {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.process-strip .step-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.process-strip .step-output {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ 折叠 */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card-bg);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
  background-color: rgba(232, 228, 220, 0.15);
}

.faq-answer {
  padding: 16px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   pages / 首页
   ============================================================ */

.home-main {
  width: 100%;
}

.home-layout {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding) 64px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
}

/* 首页侧栏 */
.toc-sidebar,
.dynamic-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.toc-card,
.dynamic-card,
.recommend-card {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.toc-title,
.dynamic-title,
.recommend-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list li a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
}

.toc-list li a:hover {
  color: var(--accent);
  background-color: rgba(194, 65, 12, 0.04);
  border-left-color: var(--accent);
}

.dynamic-list,
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dynamic-list li a,
.recommend-list li a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background-color: rgba(232, 228, 220, 0.2);
}

.dynamic-list li a:hover,
.recommend-list li a:hover {
  color: var(--accent);
  background-color: rgba(194, 65, 12, 0.04);
}

/* 首页报告区 */
.report-wrapper {
  min-width: 0;
}

/* 报告封面区 */
.report-hero {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 34px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 业务地图 */
.hero-map {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.map-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  text-align: center;
}

.map-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.map-node {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-node:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.node-icon {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 4px;
}

.node-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.node-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-figure {
  margin-top: 20px;
  margin-bottom: 0;
}

.map-figure img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* 报告摘要 */
.report-summary {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 32px;
}

.summary-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.anchor-nav a {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
}

.anchor-nav a:hover {
  color: var(--accent);
}

/* 报告章节 */
.report-section {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.report-section .section-title {
  font-size: 20px;
}

.section-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* 原则列表 */
.principle-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background-color: var(--paper);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--accent);
}

.principle-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
  min-width: 80px;
}

.principle-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 服务目录表 */
.service-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
}

.table-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1.4fr 0.8fr;
  gap: 16px;
  padding: 14px 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background-color: var(--card-bg);
}

.table-row:last-child {
  border-bottom: none;
}

.table-row.table-header {
  background-color: var(--paper);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.table-row span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.table-row .table-header {
  font-weight: 600;
  color: var(--ink);
}

.table-row a {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* 品质与动态 */
.quality-news-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.quality-block {
  padding: 20px;
  background-color: var(--paper);
  border-radius: var(--radius);
}

.news-block {
  padding: 20px;
  background-color: var(--paper);
  border-radius: var(--radius);
}

.news-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.news-list li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.news-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.news-figure {
  margin: 12px 0 0;
}

.news-figure img {
  border-radius: var(--radius);
}

/* 结论 */
.conclusion-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.faq-teaser {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ============================================================
   pages / 内页
   ============================================================ */

/* 品牌理念页 */
.method-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.method-table {
  min-width: 480px;
}

.entry-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.entry-card {
  padding: 20px;
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.entry-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.entry-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.entry-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* 服务项目页 */
.service-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-detail h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: -8px;
  padding-top: 8px;
}

.service-detail p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
}

/* 案例记录页 */
.record-item {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.record-item .section-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.record-item .section-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.record-figure {
  margin: 16px 0 0;
}

.record-figure img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* 流程页 */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.stage-item {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.stage-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stage-item h3::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.stage-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.stage-media {
  margin: 20px 0;
}

.stage-media .media-figure {
  margin: 0;
}

/* 品质页 */
.quality-doc .quality-section {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.deliverable-list li {
  padding: 14px 16px;
  background-color: var(--paper);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--accent);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.deliverable-list li strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.review-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.review-steps li {
  padding: 14px 16px;
  background-color: var(--paper);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--slate);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.review-steps li strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.related-links {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-links p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.related-links ul li a {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}

.related-links ul li a:hover {
  text-decoration: underline;
}

/* 合作方式页 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.step-item {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  position: relative;
}

.step-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.preparation-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.preparation-list li {
  padding: 14px 16px;
  background-color: var(--paper);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--accent);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.preparation-list li strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.service-roles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.role-item {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.role-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.role-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.feedback-list li {
  padding: 14px 16px;
  background-color: var(--paper);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--slate);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feedback-list li strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.faq-entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* FAQ 页 */
.faq-article {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding) 64px;
}

.faq-section {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
}

.faq-section .section-title {
  font-size: 18px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-more {
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 20px;
}

.more-actions p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-article .related-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 16px 20px;
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.related-links-item {
  font-size: 14px;
  color: var(--accent);
  padding: 4px 0;
}

.related-links-item:hover {
  text-decoration: underline;
}

/* 404 页 */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--container-padding);
  min-height: 60vh;
}

.error-panel {
  max-width: 560px;
  text-align: center;
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
}

.error-code {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.error-help {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   responsive / 响应式
   ============================================================ */

@media (max-width: 1200px) {
  .home-layout {
    grid-template-columns: 200px minmax(0, 1fr) 240px;
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    gap: 16px;
  }

  .nav-list li a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .btn-consult {
    padding: 8px 14px;
    font-size: 13px;
  }

  .home-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .toc-sidebar,
  .dynamic-sidebar {
    position: static;
  }

  .toc-card,
  .dynamic-card,
  .recommend-card {
    margin-bottom: 16px;
  }

  .report-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .layout-shell,
  .page-layout,
  .layout-shell.sidebar-left,
  .page-layout.sidebar-left {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .process-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-strip .process-step:nth-child(4),
  .process-strip .process-step:nth-child(5) {
    grid-column: span 1;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .quality-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
    --header-height: 64px;
  }

  .header-inner {
    height: var(--header-height);
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-tag {
    font-size: 11px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: static;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--container-padding) 20px;
    gap: 2px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-list li a.is-current::after {
    left: 16px;
    right: auto;
    width: 2px;
    height: auto;
    top: 8px;
    bottom: 8px;
  }

  .btn-consult {
    display: none;
  }

  .home-layout {
    display: flex;
    flex-direction: column;
  }

  .report-wrapper {
    order: 1;
  }

  .dynamic-sidebar {
    order: 2;
  }

  .toc-sidebar {
    order: 3;
  }

  .layout-shell,
  .page-layout,
  .layout-shell.sidebar-left,
  .page-layout.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .layout-shell .toc,
  .layout-shell .toc-sidebar,
  .page-layout .toc,
  .page-layout .toc-sidebar {
    order: 2;
    position: static;
    width: 100%;
  }

  .layout-shell .article-body,
  .layout-shell .body,
  .layout-shell .quality-doc,
  .layout-shell .faq-article,
  .page-layout .article-body,
  .page-layout .body,
  .page-layout .quality-doc,
  .page-layout .faq-article {
    order: 1;
    width: 100%;
  }

  .report-hero {
    padding: 28px 24px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .report-section {
    padding: 24px 20px;
  }

  .report-summary {
    padding: 24px 20px;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px;
  }

  .table-row.table-header {
    display: none;
  }

  .table-row a {
    margin-top: 4px;
  }

  .process-strip {
    grid-template-columns: 1fr 1fr;
  }

  .process-strip .process-step {
    min-height: 80px;
  }

  .stage-grid,
  .deliverable-list,
  .review-steps,
  .preparation-list,
  .service-roles {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .quality-news-grid {
    grid-template-columns: 1fr;
  }

  .map-nodes {
    grid-template-columns: 1fr 1fr;
  }

  .content-figure,
  .record-figure,
  .media-figure,
  .quality-media,
  .faq-figure,
  .news-figure,
  .map-figure {
    margin: 16px 0;
  }

  .footer-inner {
    padding: 36px var(--container-padding) 24px;
  }

  .footer-links {
    gap: 4px 16px;
  }

  .error-main {
    padding: 48px var(--container-padding);
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-tag {
    font-size: 11px;
  }

  .page-header {
    padding: 16px var(--container-padding) 24px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-description {
    font-size: 15px;
  }

  .report-hero {
    padding: 24px 16px;
  }

  .hero-copy h1 {
    font-size: 24px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .report-section {
    padding: 20px 16px;
  }

  .report-summary {
    padding: 20px 16px;
  }

  .section-title {
    font-size: 18px;
  }

  .process-strip {
    grid-template-columns: 1fr;
  }

  .process-strip .process-step {
    min-height: auto;
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .process-strip .step-num {
    font-size: 14px;
  }

  .process-strip .step-name {
    font-size: 14px;
  }

  .process-strip .step-output {
    font-size: 12px;
    margin-left: auto;
    text-align: right;
  }

  .map-nodes {
    grid-template-columns: 1fr;
  }

  .map-node {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 12px 14px;
  }

  .node-icon {
    margin-bottom: 0;
    font-size: 18px;
  }

  .node-name {
    font-size: 14px;
  }

  .node-desc {
    font-size: 12px;
  }

  .quality-block,
  .news-block {
    padding: 16px;
  }

  .faq-section {
    padding: 20px 16px;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 14px 16px;
  }

  .faq-more {
    padding: 20px 16px;
  }

  .action-links {
    flex-direction: column;
    align-items: stretch;
  }

  .action-links .btn {
    width: 100%;
  }

  .link-cards,
  .link-grid,
  .entry-grid {
    grid-template-columns: 1fr;
  }

  .spec-table th,
  .spec-table td,
  .method-table th,
  .method-table td,
  .version-table th,
  .version-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 4px 0;
  }
}

/* 滚动出现动画（仅作为增强，不影响初始可见性） */
@media (prefers-reduced-motion: no-preference) {
  .report-section,
  .content-section,
  .quality-section,
  .faq-section {
    animation: fadeInUp 0.4s ease both;
  }

  .report-section:nth-child(2),
  .content-section:nth-child(2),
  .quality-section:nth-child(2),
  .faq-section:nth-child(2) {
    animation-delay: 0.05s;
  }

  .report-section:nth-child(3),
  .content-section:nth-child(3),
  .quality-section:nth-child(3),
  .faq-section:nth-child(3) {
    animation-delay: 0.1s;
  }

  .report-section:nth-child(4),
  .content-section:nth-child(4),
  .quality-section:nth-child(4),
  .faq-section:nth-child(4) {
    animation-delay: 0.15s;
  }

  .report-section:nth-child(5),
  .content-section:nth-child(5),
  .quality-section:nth-child(5),
  .faq-section:nth-child(5) {
    animation-delay: 0.2s;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
