/* ==========================================================================
   吃瓜网 · 企业品牌内容服务官网
   样式分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #24302D;
  background-color: #F5F2E9;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.4;
  color: #24302D;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: #1E4D45;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: #B9743A;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #3D6F8C;
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

details > summary {
  cursor: pointer;
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: 6px;
  background: #1E4D45;
  color: #FFFCF4;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 12px;
  color: #FFFCF4;
}

/* ==========================================================================
   layout · 站点骨架
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* 页头 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFCF4;
  border-bottom: 1px solid #D8D0C0;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #24302D;
  flex-shrink: 0;
}

.brand-link:hover {
  color: #1E4D45;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background-color: #1E4D45;
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  border: 2px solid #FFFCF4;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

/* 主导航 */

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 0.94rem;
  color: #3E4A46;
  white-space: nowrap;
}

.nav-link:hover {
  color: #1E4D45;
  background-color: #F1EDE1;
}

.nav-link.is-current {
  color: #1E4D45;
  font-weight: 700;
  background-color: #E7E2D3;
}

/* 汉堡按钮 */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 6px;
  border: 1px solid #D8D0C0;
  background-color: #FFFCF4;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #24302D;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 页脚 */

.site-footer {
  flex-shrink: 0;
  margin-top: 72px;
  background-color: #24302D;
  color: #D8D0C0;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 24px 36px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFCF4;
  margin-bottom: 10px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #A9B3AC;
}

.footer-column {
  min-width: 0;
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFCF4;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  display: inline-block;
  padding: 2px 0;
  font-size: 0.875rem;
  color: #B9C2BB;
  line-height: 1.7;
}

.footer-list a:hover {
  color: #FFFCF4;
}

.footer-bottom {
  border-top: 1px solid rgba(216, 208, 192, 0.22);
}

.footer-bottom p {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 24px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #8F9A92;
}

/* 内页主容器与阅读宽度 */

.inner-main {
  width: 100%;
}

.inner-main > .container,
.inner-main > .page-layout,
.inner-main > .page-head,
.inner-main > .page-header,
.inner-main > .breadcrumb,
.inner-main > .faq-group,
.inner-main > .faq-entry,
.inner-main > .related-links {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  font-size: 0.8125rem;
  color: #5E665F;
}

.breadcrumb a {
  color: #5E665F;
}

.breadcrumb a:hover {
  color: #1E4D45;
}

.breadcrumb-sep {
  color: #A9A292;
}

.breadcrumb-current {
  color: #24302D;
}

/* 页面标题区 */

.page-header {
  padding-top: 18px;
  padding-bottom: 8px;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  color: #24302D;
}

.page-lead {
  margin-top: 14px;
  max-width: 720px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #3E4A46;
}

.page-back-link,
.page-back,
.group-return {
  margin-top: 14px;
  font-size: 0.875rem;
}

.page-back-link a,
.page-back a,
.group-return a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: #3D6F8C;
  border-bottom: 1px solid transparent;
}

.page-back-link a:hover,
.page-back a:hover,
.group-return a:hover {
  border-bottom-color: #3D6F8C;
}

/* 内页两栏骨架：主内容在前，aside 在后 */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  padding-top: 20px;
  padding-bottom: 24px;
}

.page-content,
.content-main,
.content-column,
.article-main {
  min-width: 0;
}

.page-aside,
.content-aside,
.article-aside,
.sidebar {
  min-width: 0;
  position: sticky;
  top: 92px;
}

/* ==========================================================================
   components · 通用组件
   ========================================================================== */

/* 区域色标标签 */

.region-tag,
.group-tag,
.section-tag,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0;
  white-space: nowrap;
}

.region-tag--capability,
.group-tag--capability,
.tag-capability {
  background-color: #F3E5D7;
  color: #8A5323;
}

.tag-method,
.group-tag--index {
  background-color: #DEE9F0;
  color: #2C5A75;
}

.tag-quality,
.group-tag--delivery {
  background-color: #F0DEDA;
  color: #7E4234;
}

.tag-collab,
.group-tag--collab {
  background-color: #E4E8D6;
  color: #55643A;
}

.group-tag--help {
  background-color: #E7E2D3;
  color: #5E665F;
}

/* 通用按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.btn-primary {
  background-color: #1E4D45;
  color: #FFFCF4;
  border-color: #1E4D45;
}

.btn-primary:hover {
  background-color: #173D37;
  border-color: #173D37;
  color: #FFFCF4;
}

.btn-ghost {
  background-color: transparent;
  color: #1E4D45;
  border-color: #B9C4BC;
}

.btn-ghost:hover {
  background-color: #EDE8DA;
  border-color: #1E4D45;
  color: #1E4D45;
}

/* 区块标题组 */

.section-head,
.section-heading-text,
.faq-group-head,
.sitemap-group-head {
  min-width: 0;
}

.section-head h2,
.section-title,
.faq-group-head h2,
.sitemap-group-head h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.45;
  color: #24302D;
}

.section-head p,
.section-intro,
.section-desc,
.section-note,
.sitemap-group-desc {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #5E665F;
}

.section-intro,
.section-desc {
  max-width: 720px;
}

/* 图片容器 */

.hero-figure,
.scenario-figure,
.overview-figure,
.article-media,
.section-figure,
.section-media,
.faq-media,
.rules-figure {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #D8D0C0;
  background-color: #FFFCF4;
}

.hero-figure img,
.scenario-figure img,
.overview-figure img,
.article-media img,
.section-figure img,
.section-media img,
.faq-media img,
.rules-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-figure figcaption,
.scenario-figure figcaption,
.overview-figure figcaption,
.article-media figcaption,
.section-figure figcaption,
.section-media figcaption,
.faq-media figcaption,
.figure-caption {
  padding: 10px 14px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #5E665F;
  border-top: 1px solid #E7E2D3;
}

/* 侧栏：关键资料 / 节奏 / 交接节点 */

.aside-title,
.sidebar-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #24302D;
  padding-bottom: 10px;
  border-bottom: 2px solid #D8D0C0;
}

.aside-intro,
.aside-note,
.sidebar-intro {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #5E665F;
}

.key-materials,
.schedule-list,
.handoff-list,
.sidebar-link-list,
.aside-link-list,
.anchor-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.key-material-item,
.material-item,
.schedule-item,
.handoff-item,
.sidebar-link-list li,
.aside-link-list li,
.anchor-item {
  padding: 12px 0;
  border-bottom: 1px solid #E7E2D3;
  font-size: 0.9rem;
  line-height: 1.7;
}

.key-material-item:last-child,
.material-item:last-child,
.schedule-item:last-child,
.handoff-item:last-child,
.sidebar-link-list li:last-child,
.aside-link-list li:last-child,
.anchor-item:last-child {
  border-bottom: 0;
}

.key-material-item a,
.material-item a,
.aside-link-list a,
.sidebar-link-list a,
.anchor-item a {
  font-weight: 600;
  color: #1E4D45;
}

.key-material-item a:hover,
.material-item a:hover,
.aside-link-list a:hover,
.sidebar-link-list a:hover,
.anchor-item a:hover {
  color: #B9743A;
}

.key-material-item p,
.material-item p {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: #5E665F;
}

.aside-return {
  margin-top: 16px;
  font-size: 0.875rem;
}

.aside-return a {
  color: #3D6F8C;
}

/* 折叠问答 */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
  padding: 4px 18px;
}

.faq-question {
  position: relative;
  padding: 14px 30px 14px 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: #24302D;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 400;
  color: #3D6F8C;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #3E4A46;
}

.faq-answer p + p {
  margin-top: 8px;
}

.faq-conclusion {
  font-weight: 600;
  color: #24302D;
}

.faq-extra {
  color: #5E665F;
}

/* 延伸阅读 / 相关内容 */

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-top: 28px;
  padding-bottom: 8px;
  font-size: 0.875rem;
}

.related-links-label {
  color: #5E665F;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #3D6F8C;
  border-bottom: 1px solid transparent;
}

.related-links-item:hover {
  border-bottom-color: #3D6F8C;
  color: #3D6F8C;
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

.home-main {
  width: 100%;
}

.home-main > section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 首屏服务路线面板 */

.hero-route {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
  padding-top: 52px;
  padding-bottom: 56px;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid #D8D0C0;
  background-color: #FFFCF4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #5E665F;
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  color: #24302D;
}

.hero-lead {
  margin-top: 16px;
  max-width: 560px;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #3E4A46;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-visual {
  min-width: 0;
}

.hero-figure img {
  aspect-ratio: 4 / 3;
}

.route-legend {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  padding: 14px 16px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #3E4A46;
  line-height: 1.6;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.legend-capability .legend-dot {
  background-color: #B9743A;
}

.legend-method .legend-dot {
  background-color: #3D6F8C;
}

.legend-quality .legend-dot {
  background-color: #8C4E3D;
}

.legend-collab .legend-dot {
  background-color: #6B7B4D;
}

/* 能力区域索引带 */

.region-index {
  padding-top: 8px;
  padding-bottom: 48px;
}

.region-rows {
  margin-top: 22px;
  border-top: 1px solid #D8D0C0;
}

.region-row {
  display: grid;
  grid-template-columns: 56px 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 16px 12px;
  border-bottom: 1px solid #D8D0C0;
  border-left: 3px solid transparent;
  transition: background-color 0.18s ease, border-left-color 0.18s ease;
}

.region-row:hover,
.region-row:focus-within {
  background-color: #FFFCF4;
}

.region-capability {
  border-left-color: #B9743A;
}

.region-method {
  border-left-color: #3D6F8C;
}

.region-quality {
  border-left-color: #8C4E3D;
}

.region-collab {
  border-left-color: #6B7B4D;
}

.region-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: #5E665F;
}

.region-name {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
}

.region-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #5E665F;
  min-width: 0;
}

.region-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid #D8D0C0;
  font-size: 0.875rem;
  color: #1E4D45;
  white-space: nowrap;
}

.region-link:hover {
  background-color: #1E4D45;
  border-color: #1E4D45;
  color: #FFFCF4;
}

/* 服务能力矩阵面板 */

.capability-matrix {
  padding-bottom: 52px;
}

.matrix-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #FFFCF4;
}

.matrix-column {
  min-width: 0;
  padding: 0 18px 8px;
  border-left: 1px solid #E7E2D3;
}

.matrix-column:first-child {
  border-left: 0;
}

.matrix-column-title {
  padding: 16px 0 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #5E665F;
  border-bottom: 2px solid #D8D0C0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.capability-column .matrix-column-title {
  color: #8A5323;
  border-bottom-color: #B9743A;
}

.scene-column .matrix-column-title {
  color: #2C5A75;
  border-bottom-color: #3D6F8C;
}

.deliverable-column .matrix-column-title {
  color: #55643A;
  border-bottom-color: #6B7B4D;
}

.matrix-list {
  display: flex;
  flex-direction: column;
}

.matrix-item {
  padding: 12px 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #3E4A46;
  border-bottom: 1px solid #EFEADD;
  min-height: 64px;
}

.matrix-item:last-child {
  border-bottom: 0;
}

.matrix-footnote {
  margin-top: 14px;
  font-size: 0.875rem;
  color: #5E665F;
}

.matrix-footnote a {
  color: #3D6F8C;
  border-bottom: 1px solid #C4D2DB;
}

.matrix-footnote a:hover {
  border-bottom-color: #3D6F8C;
}

/* 项目过程时间线（首页） */

.process-timeline {
  padding-bottom: 52px;
}

.timeline-list {
  margin-top: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 26px;
}

.timeline-node:last-child {
  padding-bottom: 0;
}

.timeline-node::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background-color: #D8D0C0;
}

.timeline-node:last-child::before {
  display: none;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #3D6F8C;
  background-color: #F5F2E9;
}

.timeline-node:nth-child(1) .timeline-marker {
  border-color: #B9743A;
}

.timeline-node:nth-child(3) .timeline-marker {
  border-color: #8C4E3D;
}

.timeline-node:nth-child(4) .timeline-marker {
  border-color: #6B7B4D;
}

.timeline-body {
  min-width: 0;
  padding: 0 0 22px;
  border-bottom: 1px solid #E7E2D3;
}

.timeline-node:last-child .timeline-body {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #24302D;
}

.timeline-goal {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #3E4A46;
}

.timeline-material {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #5E665F;
}

/* 典型业务场景摘要 */

.scenario-summary {
  padding-bottom: 52px;
}

.scenario-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.scenario-heading {
  min-width: 0;
}

.scenario-heading h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.45;
}

.scenario-heading p {
  margin-top: 10px;
  max-width: 620px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #5E665F;
}

.scenario-figure img {
  aspect-ratio: 3 / 2;
}

.scenario-rows {
  margin-top: 26px;
  border-top: 1px solid #D8D0C0;
}

.scenario-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid #D8D0C0;
}

.scenario-name {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
}

.scenario-fit,
.scenario-unfit {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #3E4A46;
  min-width: 0;
}

.scenario-fit::before {
  content: "适用";
  display: block;
  margin-bottom: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #55643A;
}

.scenario-unfit::before {
  content: "不适用";
  display: block;
  margin-bottom: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #8C4E3D;
}

/* 合作流程预览 */

.process-preview {
  padding-bottom: 52px;
}

.preview-route {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #FFFCF4;
}

.preview-node {
  min-width: 0;
  padding: 18px 18px 20px;
  border-left: 1px solid #E7E2D3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-node:first-child {
  border-left: 0;
}

.preview-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #3D6F8C;
}

.preview-link {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
  align-self: flex-start;
}

.preview-link:hover {
  color: #1E4D45;
}

.preview-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #5E665F;
}

.preview-footnote {
  margin-top: 14px;
  font-size: 0.875rem;
  color: #5E665F;
}

.preview-footnote a {
  color: #3D6F8C;
  border-bottom: 1px solid #C4D2DB;
}

.preview-footnote a:hover {
  border-bottom-color: #3D6F8C;
}

/* 常见问题摘要 */

.faq-summary {
  padding-bottom: 52px;
}

.faq-summary .faq-list {
  margin-top: 22px;
}

/* 关键资料与延伸阅读 */

.resource-reading {
  padding-bottom: 24px;
}

.resource-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.resource-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.resource-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
  margin-bottom: 10px;
}

.resource-item {
  padding: 12px 0;
  border-bottom: 1px solid #E7E2D3;
  font-size: 0.9rem;
  line-height: 1.7;
}

.resource-item:last-child {
  border-bottom: 0;
}

.resource-item a {
  font-weight: 600;
  color: #1E4D45;
}

.resource-item a:hover {
  color: #B9743A;
}

.related-reading {
  min-width: 0;
}

.related-reading .reading-list {
  display: flex;
  flex-direction: column;
}

.reading-list {
  display: flex;
  flex-direction: column;
}

.reading-item {
  padding: 12px 0;
  border-bottom: 1px solid #E7E2D3;
  font-size: 0.9rem;
  line-height: 1.7;
}

.reading-item:last-child {
  border-bottom: 0;
}

.reading-item a {
  color: #3D6F8C;
}

.reading-item a:hover {
  color: #B9743A;
}

/* ==========================================================================
   pages · 能力矩阵
   ========================================================================== */

.capability-overview {
  padding-top: 24px;
  padding-bottom: 48px;
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.overview-index {
  min-width: 0;
}

.overview-list {
  margin-top: 18px;
  border-top: 1px solid #D8D0C0;
}

.overview-item {
  border-bottom: 1px solid #D8D0C0;
}

.overview-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 4px;
  font-size: 0.95rem;
  color: #24302D;
}

.overview-link:hover {
  color: #8A5323;
}

.overview-figure img {
  aspect-ratio: 4 / 3;
}

.capability-matrix {
  padding-bottom: 48px;
}

.matrix-table {
  margin-top: 20px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #FFFCF4;
}

.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
}

.matrix-head {
  background-color: #EFEADD;
  border-bottom: 1px solid #D8D0C0;
}

.matrix-row {
  border-bottom: 1px solid #E7E2D3;
}

.matrix-row:last-child {
  border-bottom: 0;
}

.matrix-col {
  min-width: 0;
  padding: 16px 18px;
  border-left: 1px solid #EFEADD;
}

.matrix-col:first-child {
  border-left: 0;
}

.matrix-head .matrix-col {
  padding-top: 12px;
  padding-bottom: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #5E665F;
  border-left-color: #D8D0C0;
}

.module-index {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #8A5323;
  margin-bottom: 4px;
}

.module-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #24302D;
}

.module-note {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #5E665F;
}

.task-list,
.deliverable-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-list li,
.deliverable-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #3E4A46;
}

.task-list li::before,
.deliverable-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #3D6F8C;
}

.deliverable-list li::before {
  background-color: #6B7B4D;
}

.capability-boundary {
  padding-bottom: 40px;
}

.boundary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.boundary-col {
  min-width: 0;
  padding: 20px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

.boundary-col--fit {
  border-top: 3px solid #6B7B4D;
}

.boundary-col--unfit {
  border-top: 3px solid #8C4E3D;
}

.boundary-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
  margin-bottom: 12px;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.boundary-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #3E4A46;
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: #B9C4BC;
}

.links-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 8px;
  padding-bottom: 24px;
}

.capability-links {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.capability-links a {
  font-size: 0.9rem;
  color: #3D6F8C;
}

.links-back {
  margin-top: 6px;
  font-size: 0.875rem;
}

.links-back a {
  color: #1E4D45;
  font-weight: 600;
}

.back-group-link {
  font-size: 0.875rem;
}

.back-group-link a {
  color: #3D6F8C;
}

.related-reading--article {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #D8D0C0;
}

.page-capabilities .capability-matrix {
  padding-top: 8px;
}

/* ==========================================================================
   pages · 方法体系
   ========================================================================== */

.page-description {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #5E665F;
  margin-bottom: 10px;
}

.article-intro {
  padding-bottom: 32px;
}

.article-intro h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 14px;
}

.article-intro p {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.85;
  color: #3E4A46;
}

.article-intro p + p {
  margin-top: 12px;
}

.article-media {
  margin-top: 22px;
  max-width: 720px;
}

.article-media img {
  aspect-ratio: 16 / 9;
}

.method-timeline {
  padding-bottom: 36px;
}

.method-timeline h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.45;
}

.method-timeline .section-note {
  margin-top: 10px;
}

.method-timeline .timeline-list {
  margin-top: 24px;
}

.method-timeline .timeline-node {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
}

.method-timeline .timeline-node::before {
  left: 19px;
  top: 36px;
}

.timeline-index {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #3D6F8C;
  background-color: #FFFCF4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: #3D6F8C;
}

.timeline-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #24302D;
}

.timeline-label {
  display: inline-block;
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #5E665F;
}

.timeline-goal {
  margin-top: 4px;
}

.timeline-material {
  margin-top: 6px;
}

.timeline-check {
  margin-top: 8px;
  padding: 8px 12px;
  border-left: 3px solid #6B7B4D;
  background-color: #F1EEE3;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #3E4A46;
}

.related-reading--article h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.related-reading--article .reading-item a {
  color: #3D6F8C;
}

.page-method .article-aside {
  padding: 20px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

/* ==========================================================================
   pages · 质量与合规
   ========================================================================== */

.page-heading {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px 8px;
}

.page-heading .tag-quality {
  margin-bottom: 12px;
}

.page-heading .page-lead {
  max-width: 780px;
}

.section {
  padding-bottom: 44px;
}

.section-audit {
  padding-top: 12px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
}

.section-heading-text {
  min-width: 0;
}

.section-heading-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.45;
}

.section-heading-text p {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #5E665F;
}

.section-figure img {
  aspect-ratio: 4 / 3;
}

.audit-list {
  margin-top: 22px;
  border-top: 1px solid #D8D0C0;
}

.audit-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid #D8D0C0;
}

.audit-name {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
}

.audit-body {
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #3E4A46;
}

.audit-label {
  display: inline-block;
  margin-right: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #8C4E3D;
}

.audit-target,
.audit-pass,
.audit-note {
  display: block;
  margin-top: 4px;
}

.audit-pass {
  color: #55643A;
}

.audit-note {
  color: #5E665F;
}

.checklist {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-item {
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
  padding: 4px 16px;
}

.checklist-summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px 12px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #24302D;
}

.checklist-summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.1rem;
  color: #3D6F8C;
}

.checklist-item[open] .checklist-summary::after {
  content: "−";
}

.checklist-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #5E665F;
  flex-shrink: 0;
}

.checklist-title {
  font-weight: 600;
  min-width: 0;
}

.checklist-verdict {
  margin-left: auto;
  padding: 1px 8px;
  border-radius: 4px;
  background-color: #E4E8D6;
  font-size: 0.75rem;
  font-weight: 400;
  color: #55643A;
  white-space: nowrap;
  flex-shrink: 0;
}

.checklist-detail {
  padding: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #5E665F;
}

.boundary-columns {
  margin-top: 20px;
}

.boundary-column {
  min-width: 0;
  padding: 18px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

.boundary-column h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E7E2D3;
}

.boundary-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: #5E665F;
}

.boundary-note a {
  color: #3D6F8C;
  margin-right: 12px;
}

.page-quality .content-aside {
  padding: 20px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

.page-quality .section-boundary {
  padding-bottom: 24px;
}

/* ==========================================================================
   pages · 团队分工
   ========================================================================== */

.page-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px 6px;
}

.page-head-body {
  max-width: 780px;
}

.page-head .group-tag {
  margin-bottom: 12px;
}

.page-head .page-lead {
  margin-top: 10px;
}

.content-section {
  padding-bottom: 40px;
}

.content-section .section-head {
  margin-bottom: 16px;
}

.section-media {
  margin-bottom: 20px;
}

.section-media img {
  aspect-ratio: 16 / 9;
}

.role-list {
  border-top: 1px solid #D8D0C0;
}

.role-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid #D8D0C0;
}

.role-name-cell {
  min-width: 0;
}

.role-duty-cell,
.role-handoff-cell {
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #3E4A46;
}

.role-index {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #55643A;
  margin-bottom: 2px;
}

.role-name {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
}

.role-duty,
.role-handoff {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #3E4A46;
}

.role-handoff-label {
  display: block;
  margin-bottom: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #5E665F;
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.collab-column {
  min-width: 0;
  padding: 18px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

.collab-title {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E7E2D3;
}

.collab-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collab-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #3E4A46;
}

.collab-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #6B7B4D;
}

.boundary-item {
  padding: 14px 0;
  border-bottom: 1px solid #E7E2D3;
}

.boundary-item:last-child {
  border-bottom: 0;
}

.boundary-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #24302D;
  margin-bottom: 4px;
}

.boundary-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #5E665F;
}

.page-aside {
  padding: 20px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

.schedule-item {
  padding: 12px 0;
}

.schedule-stage {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #24302D;
}

.schedule-role {
  margin-top: 2px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #5E665F;
}

.aside-links {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #E7E2D3;
}

.aside-subtitle {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #24302D;
  margin-bottom: 8px;
}

/* ==========================================================================
   pages · 合作流程
   ========================================================================== */

.route-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.route-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 24px;
}

.route-item:last-child {
  padding-bottom: 0;
}

.route-item::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background-color: #D8D0C0;
}

.route-item:last-child::before {
  display: none;
}

.route-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #3D6F8C;
  background-color: #FFFCF4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: #3D6F8C;
}

.route-body {
  min-width: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #E7E2D3;
}

.route-item:last-child .route-body {
  border-bottom: 0;
  padding-bottom: 0;
}

.route-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #24302D;
}

.route-desc {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #3E4A46;
}

.route-meta {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #5E665F;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.materials-column {
  min-width: 0;
  padding: 18px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

.materials-title {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E7E2D3;
}

.materials-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.materials-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #3E4A46;
}

.materials-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background-color: #3D6F8C;
}

.participation-list {
  margin-top: 20px;
  border-top: 1px solid #D8D0C0;
}

.participation-item {
  padding: 16px 4px;
  border-bottom: 1px solid #D8D0C0;
}

.participation-title {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
  margin-bottom: 4px;
}

.participation-item p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #5E665F;
}

.sidebar {
  padding: 20px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

.handoff-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #24302D;
}

.handoff-role {
  margin-top: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #3D6F8C;
}

.handoff-desc {
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #5E665F;
}

.sidebar-links {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #E7E2D3;
}

.sidebar-links .sidebar-title {
  font-size: 0.9375rem;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 6px;
}

.sidebar-link-list a {
  font-weight: 400;
}

/* ==========================================================================
   pages · 常见问题
   ========================================================================== */

.faq-group {
  padding-top: 26px;
  padding-bottom: 8px;
}

.faq-group-head {
  margin-bottom: 16px;
}

.faq-group-head--media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.faq-group-copy {
  min-width: 0;
}

.faq-media img {
  aspect-ratio: 4 / 3;
}

.faq-answer {
  padding-bottom: 14px;
}

.faq-entry {
  padding-top: 30px;
  padding-bottom: 8px;
}

.entry-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.entry-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.entry-link {
  font-size: 1rem;
  font-weight: 600;
  color: #1E4D45;
}

.entry-link:hover {
  color: #B9743A;
}

.entry-desc {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #5E665F;
}

.page-faq .faq-item {
  padding: 4px 18px;
}

/* ==========================================================================
   pages · 站点地图
   ========================================================================== */

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 44px;
  align-items: start;
}

.page-title-block {
  padding-top: 6px;
}

.page-meta {
  margin-top: 10px;
  font-size: 0.875rem;
  color: #5E665F;
}

.sitemap-group {
  padding-top: 30px;
  padding-bottom: 10px;
}

.sitemap-group-head {
  margin-bottom: 14px;
}

.sitemap-group-head .group-tag {
  margin-bottom: 8px;
}

.sitemap-list {
  border-top: 1px solid #D8D0C0;
}

.sitemap-entry {
  padding: 14px 4px;
  border-bottom: 1px solid #D8D0C0;
}

.sitemap-entry-title {
  font-size: 1rem;
  font-weight: 600;
  color: #24302D;
}

.sitemap-link {
  color: #1E4D45;
  border-bottom: 1px solid transparent;
}

.sitemap-link:hover {
  color: #B9743A;
  border-bottom-color: #B9743A;
}

.sitemap-entry-desc {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #5E665F;
}

.sitemap-entry-path {
  display: inline-block;
  margin-top: 6px;
  padding: 1px 8px;
  border-radius: 4px;
  background-color: #EFEADD;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #5E665F;
}

.path-token {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: #3D6F8C;
}

.sitemap-rules {
  padding-top: 30px;
  padding-bottom: 8px;
}

.sitemap-rules-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
  margin-top: 16px;
}

.rules-column {
  min-width: 0;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rules-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #3E4A46;
}

.rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: #B9C4BC;
}

.rules-figure img {
  aspect-ratio: 4 / 3;
}

.rules-backtop {
  margin-top: 16px;
  font-size: 0.875rem;
}

.rules-backtop a {
  color: #3D6F8C;
}

.page-sidebar {
  position: sticky;
  top: 92px;
  padding: 20px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

.sidebar-block + .sidebar-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #E7E2D3;
}

.sidebar-block .sidebar-title {
  font-size: 0.9375rem;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 6px;
}

.anchor-count {
  display: inline-block;
  margin-left: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #5E665F;
}

.reading-order {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #5E665F;
}

.page-sitemap .page-header {
  padding-bottom: 4px;
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 40px;
}

.error-inner {
  width: 100%;
  max-width: 640px;
  padding: 36px 32px;
  border: 1px solid #D8D0C0;
  border-radius: 8px;
  background-color: #FFFCF4;
}

.error-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #3D6F8C;
}

.error-inner h1 {
  margin-top: 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
}

.error-lead {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.8;
  color: #3E4A46;
}

.error-links {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.error-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #D8D0C0;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #1E4D45;
}

.error-links a:hover {
  background-color: #EDE8DA;
  border-color: #1E4D45;
}

.error-note {
  margin-top: 20px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #5E665F;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-route {
    gap: 36px;
  }

  .region-row {
    grid-template-columns: 48px 130px minmax(0, 1fr) auto;
    gap: 16px;
  }
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 60px;
    padding: 8px 20px;
    gap: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    flex-basis: 100%;
    width: 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 12px;
    border-top: 1px solid #E7E2D3;
    margin-top: 8px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 0 12px;
    min-height: 46px;
    font-size: 0.95rem;
  }

  .hero-route {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  .region-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas:
      "no name link"
      "no desc desc";
    gap: 6px 14px;
    align-items: start;
    padding: 14px 12px;
  }

  .region-no {
    grid-area: no;
    padding-top: 2px;
  }

  .region-name {
    grid-area: name;
  }

  .region-desc {
    grid-area: desc;
  }

  .region-link {
    grid-area: link;
    align-self: start;
  }

  .matrix-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .matrix-column {
    border-left: 0;
    border-top: 1px solid #E7E2D3;
    padding: 0 16px 6px;
  }

  .matrix-column:first-child {
    border-top: 0;
  }

  .matrix-item {
    min-height: 0;
  }

  .scenario-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .scenario-figure {
    max-width: 420px;
  }

  .scenario-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 16px 4px;
  }

  .preview-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-node {
    border-top: 1px solid #E7E2D3;
  }

  .preview-node:nth-child(1),
  .preview-node:nth-child(2) {
    border-top: 0;
  }

  .preview-node:nth-child(odd) {
    border-left: 0;
  }

  .resource-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .page-layout,
  .layout-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-aside,
  .content-aside,
  .article-aside,
  .sidebar,
  .page-sidebar {
    position: static;
    top: auto;
  }

  .overview-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .overview-figure {
    max-width: 460px;
  }

  .section-heading-row,
  .faq-group-head--media,
  .sitemap-rules-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .section-figure,
  .faq-media,
  .rules-figure {
    max-width: 420px;
  }

  .collab-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .materials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .links-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .matrix-head {
    display: none;
  }

  .matrix-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .matrix-col {
    border-left: 0;
    border-top: 1px solid #EFEADD;
    padding: 14px 16px;
  }

  .matrix-col:first-child {
    border-top: 0;
  }

  .matrix-col--task::before,
  .matrix-col--deliverable::before {
    display: block;
    margin-bottom: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    color: #5E665F;
  }

  .matrix-col--task::before {
    content: "典型任务";
  }

  .matrix-col--deliverable::before {
    content: "交付物";
  }

  .role-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 14px 4px;
  }

  .role-duty-cell::before {
    content: "职责：";
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    color: #5E665F;
    margin-right: 4px;
  }

  .audit-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 0.9688rem;
  }

  .header-inner,
  .footer-inner,
  .footer-bottom p,
  .inner-main > .container,
  .inner-main > .page-layout,
  .inner-main > .page-head,
  .inner-main > .page-header,
  .inner-main > .breadcrumb,
  .inner-main > .faq-group,
  .inner-main > .faq-entry,
  .inner-main > .related-links,
  .home-main > section,
  .page-heading {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-route {
    padding-top: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .page-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .route-legend {
    grid-template-columns: minmax(0, 1fr);
  }

  .region-row {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-areas:
      "no name"
      "no desc"
      "no link";
    gap: 4px 12px;
  }

  .region-link {
    justify-self: start;
    margin-top: 6px;
  }

  .preview-route {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-node {
    border-left: 0;
    border-top: 1px solid #E7E2D3;
    padding: 14px 16px;
  }

  .preview-node:first-child {
    border-top: 0;
  }

  .boundary-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline-node {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline-node::before {
    left: 11px;
  }

  .timeline-marker {
    width: 24px;
    height: 24px;
  }

  .method-timeline .timeline-node {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .method-timeline .timeline-node::before {
    left: 16px;
    top: 30px;
  }

  .timeline-index {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }

  .route-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .route-item::before {
    left: 16px;
    top: 34px;
  }

  .route-step {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 36px;
    padding-bottom: 24px;
    gap: 22px;
  }

  .site-footer {
    margin-top: 48px;
  }

  .error-main {
    padding: 48px 16px 24px;
  }

  .error-inner {
    padding: 26px 20px;
  }

  .error-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-item,
  .checklist-item,
  .page-faq .faq-item {
    padding: 4px 14px;
  }

  .checklist-summary {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .checklist-verdict {
    margin-left: 0;
  }

  .scenario-figure,
  .overview-figure,
  .section-figure,
  .faq-media,
  .rules-figure {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-text {
    font-size: 1.05rem;
  }

  .hero-eyebrow {
    font-size: 0.6875rem;
  }

  .page-lead,
  .hero-lead {
    font-size: 0.9688rem;
  }

  .footer-list a {
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
