/* ==========================================================================
   黑料网 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --paper: #F7F5F0;
  --ink: #1D2B32;
  --teal: #1F4E5F;
  --ochre: #B4671E;
  --slate: #6B7C85;
  --rule: #D9D3C6;
  --panel: #EEF2F0;
  --serif: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --shell: 1080px;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.7;
}

blockquote {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

caption {
  text-align: left;
  color: var(--slate);
  font-size: 13px;
  padding-bottom: 10px;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
}

.site-header {
  background-color: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  color: var(--ink);
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.3;
}

.brand-sub {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}

.site-nav {
  flex: 1 1 auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 22px;
}

.nav-list li {
  list-style: none;
}

.nav-list a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--teal);
  text-decoration: none;
  border-bottom-color: var(--teal);
}

.nav-list a.is-current {
  color: var(--teal);
  border-bottom-color: var(--ochre);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ink);
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.home-main {
  padding-bottom: 0;
}

.site-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* 右侧栏：主内容在前，aside 在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  gap: 60px;
  align-items: start;
}

/* 左侧栏：aside 在前，主内容在后 */
.sidebar-left .page-layout,
.page-layout.sidebar-left {
  grid-template-columns: 300px minmax(0, 720px);
}

.page-layout > main,
.page-layout > div {
  min-width: 0;
}

.page-layout > aside {
  min-width: 0;
}

.site-footer {
  margin-top: 64px;
  background-color: var(--panel);
  border-top: 1px solid var(--rule);
  color: var(--ink);
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 8px;
}

.footer-title {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
}

.footer-slogan {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--ink);
}

.footer-desc {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.75;
}

.footer-statement {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px 24px 40px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--slate);
}

.footer-statement p {
  margin: 0 0 8px;
}

.footer-copy {
  margin: 0;
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */

.section-title {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.section-lead,
.section-intro,
.section-note {
  color: var(--slate);
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 820px;
}

.section-more {
  margin: 24px 0 0;
  font-size: 15px;
}

.section-more a {
  font-weight: 600;
}

/* 编号索引列表 */
.index-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.index-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}

.index-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.index-item .index-no {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ochre);
}

.index-item .index-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.index-item .index-desc {
  grid-column: 2 / 3;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.7;
}

.index-item a {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 14px;
  white-space: nowrap;
}

/* 按钮 */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn-primary,
.btn-ghost {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.5;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--ochre);
  color: #FFFFFF;
  border: 1px solid var(--ochre);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #9C5615;
  border-color: #9C5615;
  color: #FFFFFF;
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--teal);
  color: #FFFFFF;
  text-decoration: none;
}

/* 结论框 */
.conclusion {
  border-left: 3px solid var(--ochre);
  background-color: var(--panel);
  padding: 16px 20px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.conclusion p {
  margin: 0;
}

/* 表格 */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
}

.service-table,
.accept-table,
.duty-table {
  min-width: 620px;
  font-size: 15px;
}

.service-table caption,
.accept-table caption,
.duty-table caption {
  padding: 12px 14px 0;
}

.service-table th,
.service-table td,
.accept-table th,
.accept-table td,
.duty-table th,
.duty-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--rule);
  line-height: 1.7;
}

.service-table thead th,
.accept-table thead th,
.duty-table thead th {
  background-color: var(--teal);
  color: #FFFFFF;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--teal);
}

.service-table tbody th,
.duty-table tbody th {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background-color: #FCFBF8;
}

.service-table tbody tr:hover th,
.service-table tbody tr:hover td,
.accept-table tbody tr:hover td,
.duty-table tbody tr:hover th,
.duty-table tbody tr:hover td {
  background-color: #F2F6F5;
}

.service-table tbody tr:last-child th,
.service-table tbody tr:last-child td,
.accept-table tbody tr:last-child td,
.duty-table tbody tr:last-child th,
.duty-table tbody tr:last-child td {
  border-bottom: none;
}

/* 图片与图注 */
.section-figure,
.overview-figure,
.delivery-figure,
.content-figure,
.material-figure,
.accept-figure,
.principle-figure {
  margin-top: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  padding: 14px;
}

.section-figure img,
.overview-figure img,
.delivery-figure img,
.content-figure img,
.material-figure img,
.accept-figure img,
.principle-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
}

.content-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

/* 面包屑 */
.breadcrumb {
  font-size: 13px;
  color: var(--slate);
  padding: 22px 0 0;
}

.breadcrumb a {
  color: var(--slate);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--teal);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-size: 13px;
  color: var(--slate);
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-list li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--rule);
}

/* 页标题区 */
.page-header {
  padding: 18px 0 0;
}

.page-title {
  font-size: 34px;
  line-height: 1.4;
  font-weight: 600;
  font-family: var(--serif);
  color: var(--ink);
  margin: 0;
}

section.page-title {
  padding: 14px 0 34px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 44px;
}

section.page-title .page-lead,
.page-lead {
  color: var(--slate);
  font-size: 16px;
  max-width: 820px;
  margin: 0 0 14px;
}

.page-index,
.title-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 14px;
  color: var(--slate);
}

.page-index li,
.title-index li {
  display: inline-flex;
  align-items: center;
}

.page-index li + li::before,
.title-index li + li::before {
  content: "·";
  margin: 0 10px;
  color: var(--rule);
}

/* 侧栏 */
.aside-block {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}

.aside-block:first-child {
  border-top: none;
  padding-top: 0;
}

.aside-title {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.anchor-list {
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.anchor-list li {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
}

.anchor-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.aside-links {
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.aside-links li {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
}

.aside-links li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-list {
  margin: 0;
  font-size: 15px;
}

.fact-list dt {
  color: var(--slate);
  font-size: 13px;
  margin-top: 12px;
}

.fact-list dt:first-child {
  margin-top: 0;
}

.fact-list dd {
  margin: 2px 0 0;
  color: var(--ink);
}

.aside-facts {
  margin: 0 0 20px;
  font-size: 15px;
}

.aside-facts .fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
}

.aside-facts .fact-row:last-child {
  border-bottom: none;
}

.aside-facts dt {
  color: var(--slate);
  font-size: 14px;
}

.aside-facts dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
}

/* 相关页面推荐条 */
.related {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 24px 0;
  border-top: 1px solid var(--rule);
}

.related > h2,
.related-title {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.related-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.related-item,
.related-card {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  color: var(--ink);
}

.related-item:hover,
.related-item:focus-visible,
.related-card:hover,
.related-card:focus-visible {
  border-color: var(--teal);
  text-decoration: none;
}

.related-item h3,
.related-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 6px;
}

.related-item p,
.related-desc {
  margin: 0;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.7;
}

.related-name,
.related-title {
  display: block;
}

/* FAQ 手风琴 */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
}

.faq-item summary {
  cursor: pointer;
  padding: 15px 44px 15px 18px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ochre);
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: var(--teal);
}

.faq-item > p,
.faq-answer {
  padding: 0 18px;
}

.faq-item > p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
}

.faq-answer {
  padding-bottom: 4px;
}

.faq-answer p {
  font-size: 16px;
}

.faq-more {
  margin: 0 0 14px;
  font-size: 14px;
}

.faq-item > a {
  display: inline-block;
  margin: 0 18px 16px;
  font-size: 14px;
}

/* 边界对照双栏 */
.scope-compare {
  margin-top: 8px;
}

.scope-compare > h2 {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.scope-compare > .section-intro {
  margin-bottom: 24px;
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.scope-in,
.scope-out {
  padding: 20px 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  min-width: 0;
}

.scope-in {
  border-top: 3px solid var(--teal);
}

.scope-out {
  border-top: 3px solid var(--ochre);
}

.scope-in h3,
.scope-out h3 {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.scope-in ul li,
.scope-out ul li {
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.75;
  position: relative;
}

.scope-in ul li:last-child,
.scope-out ul li:last-child {
  border-bottom: none;
}

.scope-in ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--teal);
  font-weight: 700;
}

.scope-out ul li::before {
  content: "×";
  position: absolute;
  left: 2px;
  color: var(--ochre);
  font-size: 13px;
}

/* 编号边界清单（合规页） */
.scope-list {
  counter-reset: scope;
}

.scope-list li {
  counter-increment: scope;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.scope-list li:last-child {
  border-bottom: none;
}

.scope-list li::before {
  content: counter(scope, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 13px;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ochre);
}

.scope-list .scope-name {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.scope-list p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
}

/* 材料清单 */
.material-list {
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.material-list li {
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  line-height: 1.75;
}

.material-list li:last-child {
  border-bottom: none;
}

.material-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 6px;
  height: 6px;
  background-color: var(--teal);
  border-radius: 50%;
}

.material-list li h3 {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 4px;
}

.material-list li p {
  margin: 0;
  color: var(--slate);
  font-size: 14px;
}

/* 场景卡 / 情况卡 */
.scene-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scene-card,
.case-card {
  padding: 20px 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  min-width: 0;
}

.scene-card:hover,
.case-card:hover {
  border-color: var(--teal);
}

.scene-card h3,
.case-card h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.scene-card > p,
.case-card > p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
}

.scene-focus,
.case-point {
  padding: 10px 12px;
  background-color: var(--panel);
  border-left: 2px solid var(--ochre);
  font-size: 14px;
  color: var(--teal);
  line-height: 1.7;
  margin: 0 0 12px;
}

.scene-card > a,
.case-link {
  font-size: 14px;
  font-weight: 600;
}

/* 路径卡（首页） */
.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.path-card {
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  min-width: 0;
}

.path-card:hover {
  border-color: var(--teal);
}

.path-card h3 {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.path-fit {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.75;
}

.path-points {
  display: grid;
  gap: 8px;
  margin: 14px 0 16px;
  font-size: 15px;
}

.path-points li {
  padding-left: 18px;
  position: relative;
  line-height: 1.75;
}

.path-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  background-color: var(--teal);
  border-radius: 50%;
}

.path-link {
  font-size: 15px;
  font-weight: 600;
}

/* 阶段步骤条（首页） */
.stage-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stage-step {
  padding: 20px 18px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ochre);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  min-width: 0;
}

.stage-step .stage-no {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ochre);
  margin-bottom: 6px;
}

.stage-step h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.stage-step p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 10px;
}

.stage-step .stage-output {
  display: block;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}

/* 工作要点（首页交付说明） */
.work-points {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.work-points li h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.work-points li p {
  margin: 0;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
}

/* 深层索引（首页） */
.index-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.index-group {
  min-width: 0;
}

.index-group h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.index-group ul {
  display: grid;
  gap: 8px;
  font-size: 15px;
}

/* 编号列表（企业阶段产出 / 个人配合 / 团队协作） */
.output-list,
.cooperate-steps {
  display: grid;
  gap: 16px;
}

.output-item,
.cooperate-step {
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  min-width: 0;
}

.output-item h3,
.cooperate-step h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.output-item p,
.cooperate-step p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.75;
}

.output-item p:last-child,
.cooperate-step p:last-child {
  margin-bottom: 0;
}

.cooperate-step .step-output,
.cooperate-step .step-response {
  color: var(--slate);
  font-size: 14px;
}

.cooperate-note {
  margin-top: 20px;
  font-size: 15px;
}

/* 材料与对接两列 */
.material-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.material-col,
.contact-way,
.material-list {
  min-width: 0;
}

.contact-way h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.contact-way p {
  font-size: 15px;
  line-height: 1.75;
}

.inline-link {
  font-size: 15px;
  font-weight: 600;
}

/* 角色卡 */
.role-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.role-card {
  padding: 20px 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  min-width: 0;
}

.role-card:hover {
  border-color: var(--teal);
}

.role-card h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.role-scope {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 12px;
}

.role-duties {
  display: grid;
  gap: 8px;
  font-size: 15px;
}

.role-duties li {
  padding-left: 18px;
  position: relative;
  line-height: 1.75;
}

.role-duties li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  background-color: var(--teal);
  border-radius: 50%;
}

/* 复核要点 */
.review-points {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.review-points li h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.review-points li p {
  margin: 0;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
}

/* 阶段总览条（合作流程页） */
.stage-chip-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stage-chip {
  padding: 18px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ochre);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  min-width: 0;
}

.stage-chip .stage-num {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ochre);
  margin-bottom: 4px;
}

.stage-chip .stage-name {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.stage-chip p {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
}

/* 阶段详情（合作流程页） */
.stage-block {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(280px, 380px);
  gap: 40px;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 90px;
}

.stage-block:last-child {
  border-bottom: 1px solid var(--rule);
}

.stage-body,
.stage-confirm {
  min-width: 0;
}

.stage-body h3 {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.stage-badge {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 8px;
  background-color: var(--ochre);
  color: #FFFFFF;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  vertical-align: 2px;
}

.stage-body p {
  font-size: 16px;
  line-height: 1.8;
}

.stage-confirm {
  background-color: var(--panel);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.stage-confirm h4 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.confirm-list {
  display: grid;
  gap: 10px;
}

.confirm-list li {
  font-size: 15px;
  line-height: 1.75;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.confirm-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.confirm-list .confirm-name {
  display: block;
  font-weight: 600;
  color: var(--teal);
  font-size: 15px;
  margin-bottom: 2px;
}

/* 阶段锚点条 */
.stage-anchor {
  margin-top: 20px;
}

.stage-anchor .anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stage-anchor .anchor-list li {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0;
  background-color: #FFFFFF;
}

.stage-anchor .anchor-list a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 15px;
  min-height: 40px;
  line-height: 1.6;
}

.stage-anchor .anchor-list a:hover,
.stage-anchor .anchor-list a:focus-visible {
  background-color: var(--teal);
  color: #FFFFFF;
  text-decoration: none;
}

/* 验收区（合作流程页） */
.acceptance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 32px;
  align-items: start;
}

.acceptance-table-wrap {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
}

.acceptance-grid .accept-figure {
  margin-top: 0;
}

/* 原则列表（合规页） */
.principle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 32px;
  align-items: start;
}

.principle-list {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.principle-list li {
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  background-color: #FFFFFF;
}

.principle-list li h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.principle-list li p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.75;
}

.principle-list .principle-require {
  color: var(--slate);
  font-size: 14px;
}

.principle-layout .principle-figure {
  margin-top: 0;
}

/* 声明段 */
.statement {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.statement h2 {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.statement > p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.8;
}

/* 问答分组跳转条 */
.faq-groupnav {
  margin-bottom: 8px;
}

.faq-groupnav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-groupnav-list li {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
}

.faq-groupnav-list a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 15px;
  min-height: 40px;
  line-height: 1.6;
}

.faq-groupnav-list a:hover,
.faq-groupnav-list a:focus-visible {
  background-color: var(--teal);
  color: #FFFFFF;
  text-decoration: none;
}

/* 404 */
.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 80px 24px 60px;
}

.error-panel {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  padding: 40px 36px;
}

.error-code {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.2;
  color: var(--ochre);
  margin: 0 0 10px;
}

.error-panel h1 {
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.error-lead {
  color: var(--slate);
  font-size: 16px;
  max-width: 640px;
}

.error-links {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  font-size: 16px;
}

.error-links li {
  padding-left: 18px;
  position: relative;
}

.error-links li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--teal);
  font-weight: 700;
}

.error-home {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--ochre);
  color: #FFFFFF;
  border-radius: var(--radius);
  font-size: 16px;
  min-height: 44px;
}

.error-home:hover,
.error-home:focus-visible {
  background-color: #9C5615;
  color: #FFFFFF;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.hero-portfolio {
  border-bottom: 1px solid var(--rule);
  background-color: var(--paper);
}

.hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 400px);
  gap: 48px;
  align-items: start;
}

.hero-figure {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  padding: 12px;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.hero-index {
  min-width: 0;
}

.hero-index h1 {
  font-size: 34px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.hero-lead {
  color: var(--slate);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 4px;
}

.brand-summary,
.service-matrix-table,
.audience-split,
.process-stages,
.delivery-note,
.faq-preview,
.compliance-summary,
.deep-index {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 52px 24px 0;
}

.deep-index {
  padding-bottom: 8px;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fact-item {
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  min-width: 0;
}

.fact-label {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 6px;
}

.fact-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.delivery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 40px;
  align-items: start;
}

.delivery-text {
  min-width: 0;
}

.delivery-explain {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.delivery-grid .delivery-figure {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   pages · 内页栏目
   -------------------------------------------------------------------------- */

.service-content,
.client-content,
.team-content,
.team-aside,
.client-aside,
.service-aside {
  min-width: 0;
}

.service-overview,
.service-entries,
.acceptance,
.scene-section,
.material-section,
.output-section,
.team-roles,
.team-duties,
.team-cooperate,
.team-review,
.person-scope,
.person-material,
.person-cooperate,
.faq-group,
.data-principle {
  padding-bottom: 44px;
}

.service-overview h2,
.service-entries h2,
.acceptance h2,
.scene-section h2,
.material-section h2,
.output-section h2,
.team-roles h2,
.team-duties h2,
.team-cooperate h2,
.team-review h2,
.person-scope h2,
.person-material h2,
.person-cooperate h2,
.faq-group h2,
.data-principle h2,
.stage-overview h2,
.stage-detail h2 {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.service-entries > p,
.service-overview > p,
.acceptance > p {
  color: var(--slate);
  font-size: 16px;
  margin-bottom: 20px;
}

.entry-card {
  padding: 22px 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  margin-bottom: 20px;
  scroll-margin-top: 90px;
}

.entry-card:hover {
  border-color: var(--teal);
}

.entry-card h3 {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.entry-fit {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
}

.entry-card h4 {
  font-size: 15px;
  line-height: 1.5;
  color: var(--teal);
  margin: 16px 0 8px;
}

.entry-card > p:not(.entry-fit):not(.entry-link) {
  font-size: 15px;
  line-height: 1.75;
}

.entry-link {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.faq-group {
  scroll-margin-top: 90px;
}

.faq-group .faq-item {
  margin-bottom: 12px;
}

.faq-group .faq-item:last-child {
  margin-bottom: 0;
}

.stage-overview,
.stage-detail {
  padding-bottom: 44px;
}

.stage-detail {
  padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   responsive · 1024px
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .header-inner {
    padding: 12px 20px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .site-nav {
    flex: 1 1 100%;
    order: 4;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    padding: 8px 0 4px;
    border-top: 1px solid var(--rule);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--rule);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 13px 2px;
    min-height: 48px;
    font-size: 16px;
    border-bottom: none;
  }

  .nav-list a.is-current {
    color: var(--teal);
    border-bottom: none;
    border-left: 3px solid var(--ochre);
    padding-left: 10px;
  }

  .inner-main,
  .site-inner,
  .related {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 36px 20px 44px;
  }

  .brand-summary,
  .service-matrix-table,
  .audience-split,
  .process-stages,
  .delivery-note,
  .faq-preview,
  .compliance-summary,
  .deep-index {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-layout,
  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .stage-row,
  .stage-chip-list,
  .index-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .acceptance-grid,
  .principle-layout,
  .delivery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 40px 20px 28px;
  }

  .footer-statement {
    padding: 18px 20px 36px;
  }
}

/* --------------------------------------------------------------------------
   responsive · 640px
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-sub {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: var(--slate);
  }

  .inner-main,
  .site-inner,
  .related {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    padding: 26px 16px 36px;
    gap: 26px;
  }

  .hero-index h1 {
    font-size: 25px;
    line-height: 1.4;
  }

  .brand-summary,
  .service-matrix-table,
  .audience-split,
  .process-stages,
  .delivery-note,
  .faq-preview,
  .compliance-summary,
  .deep-index {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 40px;
  }

  .section-title,
  .service-overview h2,
  .service-entries h2,
  .acceptance h2,
  .scene-section h2,
  .material-section h2,
  .output-section h2,
  .team-roles h2,
  .team-duties h2,
  .team-cooperate h2,
  .team-review h2,
  .person-scope h2,
  .person-material h2,
  .person-cooperate h2,
  .faq-group h2,
  .data-principle h2,
  .stage-overview h2,
  .stage-detail h2,
  .scope-compare > h2,
  .statement h2 {
    font-size: 20px;
  }

  .page-title {
    font-size: 25px;
    line-height: 1.4;
  }

  section.page-title {
    padding: 12px 0 26px;
    margin-bottom: 30px;
  }

  .index-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 2px 10px;
  }

  .index-item .index-desc {
    grid-column: 2 / 3;
  }

  .index-item a {
    grid-column: 2 / 3;
    grid-row: auto;
    justify-self: start;
    margin-top: 6px;
  }

  .fact-row,
  .path-grid,
  .scene-grid,
  .case-grid,
  .scope-columns,
  .material-layout,
  .related-row,
  .stage-row,
  .stage-chip-list,
  .index-groups,
  .role-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience-split .path-grid {
    display: flex;
    flex-direction: column;
  }

  .audience-split .path-grid .path-card:nth-child(2) {
    order: -1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    text-align: center;
  }

  .stage-anchor .anchor-list,
  .faq-groupnav-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .stage-anchor .anchor-list li,
  .faq-groupnav-list li {
    flex: 0 0 auto;
  }

  .error-main {
    padding: 48px 16px 40px;
  }

  .error-panel {
    padding: 26px 20px;
  }

  .error-code {
    font-size: 34px;
  }

  .error-panel h1 {
    font-size: 23px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-statement {
    padding: 16px 16px 32px;
  }

  .service-table,
  .accept-table,
  .duty-table {
    min-width: 540px;
  }
}

/* --------------------------------------------------------------------------
   动效增强（不影响初始可见性）
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .faq-item summary,
  .related-item,
  .related-card,
  .path-card,
  .scene-card,
  .case-card,
  .role-card,
  .entry-card {
    transition: border-color 0.18s ease, background-color 0.18s ease;
  }

  .btn-primary,
  .btn-ghost,
  .error-home {
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
