/* ==========================================================================
   nkerk.cn 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background-color: #f5f7fa;
  color: #2b3440;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #1f3a5f;
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #4a6fa5;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #1f3a5f;
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.6;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid #4a6fa5;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   layout
   -------------------------------------------------------------------------- */

/* 页头与主导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #ffffff;
  border-bottom: 1px solid #d6dee8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
}

.brand {
  flex: 0 0 auto;
  color: #1f3a5f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.brand:hover,
.brand:focus-visible {
  color: #4a6fa5;
  text-decoration: none;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 10px 14px;
  min-height: 44px;
  color: #2b3440;
  font-size: 15px;
  line-height: 24px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #1f3a5f;
  background-color: #f5f7fa;
  border-color: #d6dee8;
  text-decoration: none;
}

.nav-link.is-current {
  color: #1f3a5f;
  font-weight: 700;
  border-color: #d6dee8;
  background-color: #f5f7fa;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  margin: 4px 0;
  background-color: #1f3a5f;
  border-radius: 1px;
}

/* 主内容骨架 */
.site-main {
  display: block;
}

.inner-main {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 24px 56px;
}

/* 面包屑与页面标题区 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #6b7a8d;
}

.breadcrumb a {
  color: #4a6fa5;
}

.breadcrumb-sep {
  color: #6b7a8d;
}

.breadcrumb-current {
  color: #2b3440;
}

.page-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #d6dee8;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f3a5f;
  line-height: 1.35;
}

.page-description {
  margin: 12px 0 0;
  max-width: 860px;
  color: #6b7a8d;
  font-size: 16px;
  line-height: 1.75;
}

/* 内页布局容器 */
.page-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

.layout-sidebar-right {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.sidebar-left .page-layout,
.page-layout.sidebar-left {
  grid-template-columns: 240px minmax(0, 1fr);
}

.layout-main,
.page-content,
.process-main {
  min-width: 0;
}

.layout-side,
.page-sidebar {
  min-width: 0;
}

/* 页脚 */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #d6dee8;
}

.footer-inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.footer-index {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d6dee8;
}

.footer-col-brand {
  min-width: 0;
}

.footer-brand {
  margin: 0 0 8px;
  color: #1f3a5f;
  font-size: 18px;
  font-weight: 700;
}

.footer-slogan {
  margin: 0 0 12px;
  color: #4a6fa5;
  font-size: 15px;
}

.footer-note {
  margin: 0;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

.footer-col-title {
  margin: 0 0 12px;
  color: #1f3a5f;
  font-size: 16px;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #2b3440;
  font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #1f3a5f;
}

.footer-bottom {
  padding-top: 20px;
}

.footer-copyright {
  margin: 0 0 8px;
  color: #6b7a8d;
  font-size: 14px;
}

.footer-boundary {
  margin: 0;
  color: #6b7a8d;
  font-size: 13px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   components
   -------------------------------------------------------------------------- */

/* 编号块 */
.direction-no,
.stage-no,
.stage-num,
.condition-num,
.change-num,
.group-num {
  display: inline-block;
  flex: 0 0 auto;
  min-width: 40px;
  padding: 2px 8px;
  background-color: #eef2f7;
  border: 1px solid #d6dee8;
  border-radius: 4px;
  color: #4a6fa5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background-color: #1f3a5f;
  border-color: #1f3a5f;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #2b4d78;
  border-color: #2b4d78;
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background-color: #ffffff;
  border-color: #d6dee8;
  color: #1f3a5f;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #4a6fa5;
  color: #1f3a5f;
  text-decoration: none;
}

/* 区块标题组 */
.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 24px;
}

.section-desc {
  margin: 10px 0 0;
  max-width: 820px;
  color: #6b7a8d;
  font-size: 15px;
  line-height: 1.75;
}

.section-title {
  font-size: 24px;
}

.section-intro,
.section-lead {
  margin: 10px 0 20px;
  max-width: 820px;
  color: #6b7a8d;
  font-size: 15px;
  line-height: 1.75;
}

.section-intro a,
.section-lead a {
  color: #4a6fa5;
}

.section-foot {
  margin: 24px 0 0;
  font-size: 15px;
}

.section-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #4a6fa5;
  font-weight: 700;
}

.section-footnote {
  margin: 16px 0 0;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

/* 参数表 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  background-color: #ffffff;
}

.param-table,
.spec-table {
  min-width: 640px;
  font-size: 14px;
}

.param-table-caption,
.table-caption {
  padding: 14px 16px;
  color: #1f3a5f;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid #d6dee8;
  background-color: #f5f7fa;
}

.param-table th,
.param-table td,
.spec-table th,
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #d6dee8;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.param-table thead th,
.spec-table thead th {
  background-color: #f5f7fa;
  color: #1f3a5f;
  font-weight: 700;
  white-space: nowrap;
}

.param-table tbody tr:last-child td,
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.cell-num {
  width: 88px;
  color: #4a6fa5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  white-space: nowrap;
}

.cell-name {
  color: #1f3a5f;
  font-weight: 700;
  white-space: nowrap;
}

/* 折叠问答 */
.faq-list,
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item,
.qa-item {
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item:hover,
.qa-item:hover {
  border-color: #b7c5d6;
}

.faq-question,
.qa-question {
  position: relative;
  padding: 16px 52px 16px 18px;
  min-height: 44px;
  color: #1f3a5f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker,
.qa-question::-webkit-details-marker {
  display: none;
}

.faq-question::after,
.qa-question::after {
  content: "展开";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #4a6fa5;
  font-size: 13px;
  font-weight: 700;
}

.faq-item[open] .faq-question::after,
.qa-item[open] .qa-question::after {
  content: "收起";
}

.faq-answer,
.qa-answer {
  padding: 0 18px 18px;
  border-top: 1px solid #eef2f7;
}

.faq-answer p,
.qa-answer p {
  margin: 12px 0 0;
  color: #2b3440;
  font-size: 15px;
  line-height: 1.75;
}

.faq-more {
  font-size: 14px;
}

.faq-more a,
.qa-extend a {
  color: #4a6fa5;
  font-weight: 700;
}

/* 站内栏目索引 */
.site-index {
  margin-top: 56px;
}

.index-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.index-col {
  min-width: 0;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.index-col h3 {
  font-size: 17px;
}

.index-col h3 a {
  color: #1f3a5f;
}

.index-col p {
  margin: 8px 0 0;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

.index-col-title {
  font-size: 17px;
}

.index-col-desc {
  margin: 8px 0 12px;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

.index-link,
.site-index-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #4a6fa5;
  font-size: 14px;
  font-weight: 700;
}

.site-index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.site-index-col {
  min-width: 0;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.site-index-name {
  font-size: 17px;
}

.site-index-name a {
  color: #1f3a5f;
}

.site-index-desc {
  margin: 8px 0 0;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

/* 侧栏 */
.sidebar-block {
  margin-bottom: 20px;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.sidebar-title {
  margin: 0 0 12px;
  color: #1f3a5f;
  font-size: 16px;
  font-weight: 700;
}

.sidebar-list li,
.sidebar-link-list li,
.sidebar-no-list li {
  margin-bottom: 10px;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

.sidebar-list li:last-child,
.sidebar-link-list li:last-child,
.sidebar-no-list li:last-child {
  margin-bottom: 0;
}

.sidebar-list a,
.sidebar-link-list a,
.sidebar-no-item a {
  color: #4a6fa5;
}

.sidebar-no-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sidebar-links {
  margin-top: 16px;
}

.sidebar-note {
  margin: 16px 0 0;
  color: #6b7a8d;
  font-size: 13px;
  line-height: 1.7;
}

/* 左侧目录 */
.process-toc {
  position: sticky;
  top: 92px;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.toc-title {
  margin: 0 0 12px;
  color: #1f3a5f;
  font-size: 16px;
  font-weight: 700;
}

.toc-list li {
  margin-bottom: 6px;
}

.toc-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 10px;
  border-left: 3px solid #d6dee8;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.6;
}

.toc-link:hover,
.toc-link:focus-visible {
  border-left-color: #4a6fa5;
  background-color: #f5f7fa;
  color: #1f3a5f;
  text-decoration: none;
}

.toc-link.is-active {
  border-left-color: #1f3a5f;
  color: #1f3a5f;
  font-weight: 700;
}

.toc-note {
  margin: 14px 0 0;
  color: #6b7a8d;
  font-size: 13px;
  line-height: 1.7;
}

.topic-nav-list li {
  margin-bottom: 6px;
}

.topic-nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 10px;
  border-left: 3px solid #d6dee8;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.6;
}

.topic-nav-link:hover,
.topic-nav-link:focus-visible {
  border-left-color: #4a6fa5;
  background-color: #f5f7fa;
  color: #1f3a5f;
  text-decoration: none;
}

.topic-nav-link.is-active {
  border-left-color: #1f3a5f;
  color: #1f3a5f;
  font-weight: 700;
}

/* 通用内容区块 */
.section,
.content-section {
  margin-bottom: 48px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.section-media,
.group-media,
.direction-figure,
.stage-media {
  margin: 20px 0 0;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  overflow: hidden;
}

.section-media img,
.group-media img,
.direction-figure img,
.stage-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-media figcaption,
.group-media figcaption,
.direction-figure figcaption,
.stage-media figcaption {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid #eef2f7;
  background-color: #ffffff;
}

/* --------------------------------------------------------------------------
   pages
   -------------------------------------------------------------------------- */

/* 顶部事实条 */
.top-factbar {
  background-color: #1f3a5f;
}

.top-factbar p {
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 24px;
  color: #dbe4ef;
  font-size: 13px;
  line-height: 1.6;
}

/* 首屏服务判断区 */
.hero-section {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 8px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 12px;
  color: #4a6fa5;
  font-size: 14px;
  font-weight: 700;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f3a5f;
  line-height: 1.35;
}

.hero-lead {
  margin: 16px 0 0;
  max-width: 560px;
  color: #2b3440;
  font-size: 16px;
  line-height: 1.75;
}

.hero-points {
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: #2b3440;
  font-size: 15px;
  line-height: 1.7;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #4a6fa5;
  border-radius: 1px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-media {
  margin: 0;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media figcaption {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid #eef2f7;
}

.content-media-primary {
  margin: 40px 0 0;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  overflow: hidden;
}

.content-media-primary img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.content-media-primary figcaption {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid #eef2f7;
}

/* 首页内容区块间距 */
.directions-overview,
.process-preview,
.delivery-summary,
.faq-preview {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

.site-index {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* 服务方向索引总览 */
.direction-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.direction-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.direction-row:hover {
  border-color: #b7c5d6;
  transform: translateY(-2px);
}

.direction-body {
  min-width: 0;
}

.direction-name {
  font-size: 18px;
}

.direction-name a {
  color: #1f3a5f;
}

.direction-scope {
  margin: 6px 0 0;
  color: #6b7a8d;
  font-size: 15px;
  line-height: 1.7;
}

/* 合作流程四阶段预览 */
.stage-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stage-card {
  min-width: 0;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.stage-card:hover {
  border-color: #b7c5d6;
  transform: translateY(-2px);
}

.stage-name {
  margin: 12px 0 0;
  font-size: 17px;
}

.stage-role {
  margin: 8px 0 0;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

.stage-output {
  margin: 8px 0 0;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

/* 交付范围与验收标准摘要 */
.summary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.summary-col {
  min-width: 0;
  padding: 22px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.summary-col h3 {
  font-size: 18px;
}

.summary-col-accept h3 {
  color: #4a6fa5;
}

.summary-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-list li {
  position: relative;
  padding-left: 18px;
  color: #2b3440;
  font-size: 15px;
  line-height: 1.7;
}

.summary-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #4a6fa5;
  border-radius: 1px;
}

/* 服务方向页 */
.direction-index-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.direction-index-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.direction-index-body {
  min-width: 0;
}

.direction-index-name {
  font-size: 16px;
  font-weight: 700;
  color: #1f3a5f;
}

.direction-index-desc {
  margin: 4px 0 0;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

.direction-block {
  margin-top: 24px;
  padding: 22px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.direction-block-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.direction-block-title {
  font-size: 18px;
}

.direction-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.direction-meta-col {
  min-width: 0;
}

.direction-meta-title {
  margin: 0 0 8px;
  color: #1f3a5f;
  font-size: 15px;
  font-weight: 700;
}

.direction-meta-text {
  margin: 0 0 8px;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

.direction-meta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.direction-meta-list li {
  position: relative;
  padding-left: 16px;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

.direction-meta-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  background-color: #4a6fa5;
  border-radius: 1px;
}

/* 服务方向页下一步 */
.next-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.next-step-item {
  min-width: 0;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.next-step-title {
  font-size: 16px;
}

.next-step-text {
  margin: 8px 0 12px;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

.next-step-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #4a6fa5;
  font-size: 14px;
  font-weight: 700;
}

/* 合作流程页 */
.process-overview,
.process-stages,
.stage-conditions,
.stage-pitfalls {
  margin-bottom: 48px;
}

.stage-strip-item {
  min-width: 0;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.stage-strip-item:hover {
  border-color: #b7c5d6;
  transform: translateY(-2px);
}

.stage-goal {
  margin: 10px 0 0;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

.stage-detail {
  margin-top: 24px;
  padding: 22px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.stage-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stage-detail-title {
  font-size: 18px;
}

.stage-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.stage-column {
  min-width: 0;
}

.stage-column-title {
  margin: 0 0 8px;
  color: #1f3a5f;
  font-size: 15px;
  font-weight: 700;
}

.stage-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stage-list li {
  position: relative;
  padding-left: 16px;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

.stage-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  background-color: #4a6fa5;
  border-radius: 1px;
}

.stage-link {
  margin: 18px 0 0;
  font-size: 14px;
}

.stage-link a {
  color: #4a6fa5;
  font-weight: 700;
}

.condition-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.condition-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.condition-title {
  font-size: 16px;
}

.condition-desc {
  margin: 8px 0 0;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

.condition-judge {
  margin: 8px 0 0;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

.pitfall-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pitfall-item {
  min-width: 0;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.pitfall-title {
  font-size: 16px;
}

.pitfall-desc {
  margin: 8px 0 0;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

.pitfall-fix {
  margin: 8px 0 0;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

/* 交付范围页 */
.site-index-section {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.exclusion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exclusion-item {
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-left: 4px solid #4a6fa5;
  border-radius: 8px;
}

.exclusion-title {
  font-size: 16px;
}

.exclusion-text {
  margin: 8px 0 0;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

.change-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.change-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.change-title {
  font-size: 16px;
}

.change-text {
  margin: 8px 0 0;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

/* 问题解答页 */
.qa-group {
  margin-bottom: 40px;
  scroll-margin-top: 92px;
}

.group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.group-title {
  font-size: 22px;
}

.group-desc {
  flex: 1 1 100%;
  margin: 8px 0 0;
  color: #6b7a8d;
  font-size: 15px;
  line-height: 1.7;
}

.extend-note,
.advice-block {
  margin-bottom: 40px;
}

.extend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.extend-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.extend-tag {
  flex: 0 0 auto;
  padding: 2px 8px;
  background-color: #eef2f7;
  border: 1px solid #d6dee8;
  border-radius: 4px;
  color: #4a6fa5;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
}

.extend-text {
  margin: 0;
  min-width: 0;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

.advice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: advice;
}

.advice-item {
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.advice-title {
  font-size: 16px;
}

.advice-item p {
  margin: 8px 0 0;
  color: #2b3440;
  font-size: 14px;
  line-height: 1.7;
}

/* 404 */
.error-main {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 24px;
}

.error-panel {
  max-width: 720px;
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
}

.error-code {
  margin: 0 0 8px;
  color: #4a6fa5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.error-panel h1 {
  font-size: 28px;
}

.error-text {
  margin: 14px 0 0;
  color: #2b3440;
  font-size: 16px;
  line-height: 1.75;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.error-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  background-color: #f5f7fa;
  border: 1px solid #d6dee8;
  border-radius: 6px;
  color: #1f3a5f;
  font-size: 15px;
  font-weight: 700;
}

.error-links a:hover,
.error-links a:focus-visible {
  border-color: #4a6fa5;
  text-decoration: none;
}

.error-hint {
  margin: 20px 0 0;
  color: #6b7a8d;
  font-size: 14px;
  line-height: 1.7;
}

/* 滚动出现增强（不依赖 JS 也能看到内容） */
.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .reveal.is-visible {
    transform: translateY(0);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-inner {
    gap: 32px;
  }

  .layout-sidebar-right,
  .layout-shell {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
  }

  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
  }

  .stage-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-columns,
  .site-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .direction-meta,
  .stage-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .next-step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0 16px;
    min-height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0 12px;
    border-top: 1px solid #eef2f7;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 8px;
    border-radius: 6px;
  }

  .top-factbar p {
    padding: 8px 16px;
  }

  .hero-section {
    padding: 32px 16px 8px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-media {
    order: 2;
  }

  .hero-title {
    font-size: 26px;
  }

  .content-media-primary {
    margin-top: 28px;
  }

  .directions-overview,
  .process-preview,
  .delivery-summary,
  .faq-preview {
    padding: 36px 16px 0;
  }

  .site-index {
    padding: 36px 16px 48px;
  }

  .stage-strip,
  .summary-columns,
  .pitfall-list,
  .next-step-list,
  .direction-meta,
  .stage-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .index-columns,
  .site-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-main {
    padding: 16px 16px 40px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .layout-sidebar-right,
  .layout-shell,
  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .sidebar-left .page-layout .page-content,
  .page-layout.sidebar-left .page-content {
    order: 1;
  }

  .sidebar-left .page-layout .page-sidebar,
  .page-layout.sidebar-left .page-sidebar {
    order: 2;
  }

  .process-toc {
    position: static;
  }

  .toc-list,
  .topic-nav-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .toc-list li,
  .topic-nav-list li {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .toc-link,
  .topic-nav-link {
    border-left: 0;
    border-bottom: 3px solid #d6dee8;
    white-space: nowrap;
  }

  .toc-link:hover,
  .toc-link:focus-visible,
  .topic-nav-link:hover,
  .topic-nav-link:focus-visible {
    border-left-color: transparent;
    border-bottom-color: #4a6fa5;
  }

  .toc-link.is-active,
  .topic-nav-link.is-active {
    border-left-color: transparent;
    border-bottom-color: #1f3a5f;
  }

  .condition-item,
  .change-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .group-title {
    font-size: 20px;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .footer-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }

  .error-main {
    padding: 40px 16px;
  }

  .error-panel {
    padding: 24px;
  }

  .error-code {
    font-size: 32px;
  }

  .error-panel h1 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .index-columns,
  .site-index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-index {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .direction-row,
  .direction-index-row,
  .extend-item {
    flex-direction: column;
    gap: 10px;
  }

  .condition-item,
  .change-item {
    grid-template-columns: minmax(0, 1fr);
  }
}
