/* ==========================================================================
   camanrou.cn — 光棍影院11111 官网样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base — 变量、重置、排版、通用元素
   ========================================================================== */

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-alt: #f1f1ee;
  --ink: #1c1c1a;
  --ink-soft: #5a5a56;
  --ink-faint: #83837d;
  --accent: #0f5c4a;
  --accent-soft: #e4efeb;
  --line: #dcdcd6;
  --line-strong: #c6c6bf;
  --radius: 6px;
  --radius-sm: 4px;
  --gutter: 24px;
  --shell: 1160px;
  --content: 760px;
  --aside: 200px;
  --gap-col: 48px;
  --shadow: 0 1px 2px rgba(28, 28, 26, 0.04);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", "WenQuanYi Micro Hei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 16px;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: #0b4437;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

strong {
  font-weight: 600;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ==========================================================================
   layout — 页面骨架：site-body / site-header / site-main / site-footer
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
}

/* ---- 页头 ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(247, 247, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}

.header-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

/* ---- 主导航 ---- */

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-list > li {
  flex: 0 0 auto;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--ink);
  background-color: var(--surface-alt);
  text-decoration: none;
}

.nav-list a.is-current {
  color: var(--accent);
  background-color: var(--accent-soft);
}

.header-entry {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.entry-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background-color: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.entry-link:hover,
.entry-link:focus-visible {
  background-color: #0b4437;
  border-color: #0b4437;
  color: #ffffff;
  text-decoration: none;
}

/* ---- 汉堡按钮 ---- */

.nav-toggle {
  display: none;
  order: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle:hover {
  border-color: var(--accent);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 1px;
}

/* ---- 主内容容器 ---- */

.site-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px var(--gutter) 72px;
}

.inner-main {
  padding-top: 24px;
}

/* ---- 内页两栏布局 ---- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap-col);
  align-items: start;
}

.sidebar-left .page-layout,
.page-layout.sidebar-left {
  grid-template-columns: var(--aside) minmax(0, 1fr);
}

.page-aside,
.page-sidebar {
  min-width: 0;
}

.content,
.page-content {
  min-width: 0;
  max-width: var(--content);
}

/* ---- 页脚 ---- */

.site-footer {
  border-top: 1px solid var(--line);
  background-color: var(--surface-alt);
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px var(--gutter) 28px;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 32px 48px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.footer-brand-desc {
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 24px;
  min-width: 0;
}

.footer-group {
  min-width: 0;
}

.footer-group-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.footer-list li + li {
  margin-top: 6px;
}

.footer-list a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   components — 通用组件：区块头、表格、卡片、列表、目录、面包屑、FAQ 等
   ========================================================================== */

/* ---- 区块抬头（首页 section-head / 内页 section-title+section-lead） ---- */

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.section-title {
  margin-bottom: 8px;
}

.section-intro {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.section-note {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.section-note a {
  font-weight: 500;
}

.section-footnote {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

/* ---- 面包屑 ---- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1.6;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
}

/* ---- 页面标题区 ---- */

.page-header {
  max-width: var(--content);
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  color: var(--ink);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
}

.page-description {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

/* ---- 侧栏目录 ---- */

.toc-title,
.aside-title,
.sidebar-title {
  margin-bottom: 12px;
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
}

.toc-list,
.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list a,
.sidebar-list a {
  display: block;
  min-height: 36px;
  padding: 6px 10px;
  border-left: 2px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.toc-list a:hover,
.toc-list a:focus-visible,
.sidebar-list a:hover,
.sidebar-list a:focus-visible {
  border-left-color: var(--accent);
  background-color: var(--surface-alt);
  color: var(--ink);
  text-decoration: none;
}

.toc-hint {
  margin-top: 16px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.7;
}

/* ---- 数据表格 ---- */

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  min-width: 640px;
  font-size: 15px;
}

.table-caption {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.data-table thead th {
  background-color: var(--surface-alt);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody th {
  color: var(--ink);
  font-weight: 600;
}

.data-table tbody td {
  color: var(--ink-soft);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover th,
.data-table tbody tr:hover td {
  background-color: #fafaf8;
}

/* ---- 场景卡（首页 scene-card / 内页 scene-card 共用父级限定） ---- */

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.scene-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease;
}

.scene-card:hover {
  border-color: var(--line-strong);
}

.scene-figure {
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--surface-alt);
  aspect-ratio: 16 / 10;
}

.scene-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-name {
  margin-bottom: 8px;
  font-size: 16px;
}

.scene-occasion {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.scene-point {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* 内页卡片的字段名与首页不同，用父级限定作用域 */

.scene-cards .card-title {
  margin-bottom: 8px;
  font-size: 16px;
}

.scene-cards .card-usage {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.scene-cards .card-demand {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.scene-cards .card-point {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- 编号步骤（首页 process-steps） ---- */

.step-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.step-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.step-body {
  min-width: 0;
}

.step-name {
  margin-bottom: 6px;
  font-size: 16px;
}

.step-action {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.step-data {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- 服务边界并列说明（首页） ---- */

.boundary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.boundary-col {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.boundary-in {
  border-top: 3px solid var(--accent);
}

.boundary-out {
  border-top: 3px solid var(--line-strong);
}

.boundary-name {
  margin-bottom: 12px;
  font-size: 16px;
}

.boundary-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.boundary-list li + li {
  margin-top: 8px;
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--line-strong);
}

.boundary-in .boundary-list li::before {
  background-color: var(--accent);
}

/* ---- 对接准备清单（首页 / 服务方向页） ---- */

.prep-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.prep-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.prep-name {
  margin-bottom: 6px;
  font-size: 16px;
}

.prep-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* ---- 站内页面索引（首页） ---- */

.index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.index-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.index-card:hover {
  border-color: var(--accent);
  background-color: #fbfdfc;
}

.index-name {
  margin-bottom: 8px;
  font-size: 16px;
}

.index-name a {
  color: var(--ink);
  text-decoration: none;
}

.index-name a:hover,
.index-name a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.index-desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- 相关链接区（内页） ---- */

.related-links {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.related-list li {
  min-width: 0;
}

.related-list a {
  display: inline-block;
  min-height: 32px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.related-desc {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- 图片说明 ---- */

.content-figure {
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.content-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.figure-caption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   pages — 各页专属模块
   ========================================================================== */

/* ---- 首页：首屏任务面板 ---- */

.hero-task-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 44px;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.hero-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-lead {
  margin-top: 14px;
  max-width: 46em;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.hero-figure {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-actions {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.hero-actions-title {
  margin-bottom: 12px;
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 600;
}

.hero-entry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-entry {
  min-width: 0;
}

.hero-entry-link {
  display: block;
  min-height: 44px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface-alt);
  text-decoration: none;
}

.hero-entry-link:hover,
.hero-entry-link:focus-visible {
  border-color: var(--accent);
  background-color: var(--accent-soft);
  text-decoration: none;
}

.hero-entry-name {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.hero-entry-desc {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.hero-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.7;
}

/* ---- 首页：各内容区块间距 ---- */

.home-main > section + section {
  margin-top: 56px;
}

/* ---- 服务方向页：方向选择提示 ---- */

.tip-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tip-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.tip-title {
  margin-bottom: 8px;
  font-size: 16px;
}

.tip-text {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.content > section + section {
  margin-top: 48px;
}

/* ---- 合作流程页：阶段概览 ---- */

.stage-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.stage-overview-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.stage-overview-item .stage-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.stage-overview-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.stage-overview-item p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- 合作流程页：流程配图 ---- */

.process-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
}

.process-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.process-figure figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

/* ---- 合作流程页：阶段详情 ---- */

.stage-detail .stage-block {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.stage-detail .stage-block:last-child {
  border-bottom: 1px solid var(--line);
}

.stage-detail .stage-block h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.stage-actions li,
.stage-materials li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.stage-actions li + li,
.stage-materials li + li {
  margin-top: 6px;
}

.stage-actions li::before,
.stage-materials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--line-strong);
}

.stage-actions li::before {
  background-color: var(--accent);
}

.stage-material-title {
  margin-top: 14px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

/* ---- 合作流程页：验收约定 ---- */

.acceptance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.acceptance-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.acceptance-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.acceptance-item p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* ---- 合作流程页：进度提示 ---- */

.progress-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.progress-step {
  flex: 1 1 120px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.progress-step.is-done {
  border-color: var(--accent);
  background-color: var(--accent-soft);
  color: var(--accent);
}

.progress-step.is-active {
  border-color: var(--accent);
  background-color: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

.progress-notes li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.progress-notes li + li {
  margin-top: 8px;
}

.progress-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.progress-notes strong {
  color: var(--ink);
}

/* ---- 常见问题页：分类导航 ---- */

.category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.category-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.category-name {
  margin-bottom: 6px;
  font-size: 16px;
}

.category-desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- 常见问题页：问答折叠 ---- */

.faq-group + .faq-group {
  margin-top: 44px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-question {
  position: relative;
  padding: 16px 44px 16px 18px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 18px 16px;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

/* ---- 常见问题页：反馈路径 ---- */

.path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.path-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.path-name {
  margin-bottom: 8px;
  font-size: 16px;
}

.path-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* ---- 常见问题页：一致性说明 ---- */

.consistency-note {
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.consistency-note p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.consistency-note p:first-of-type {
  margin-top: 12px;
}

/* ---- 站内反馈页：反馈分类 ---- */

.type-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.type-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.type-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.type-item p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* ---- 站内反馈页：所需信息 ---- */

.info-block {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.info-block:last-child {
  border-bottom: 1px solid var(--line);
}

.info-block h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.info-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.info-list li + li {
  margin-top: 6px;
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

/* ---- 站内反馈页：提交与核对 ---- */

.submit-panel,
.scope-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.submit-col,
.scope-col {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.submit-col h3,
.scope-col h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.entry-list li,
.scope-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.entry-list li + li,
.scope-list li + li {
  margin-top: 8px;
}

.entry-list li::before,
.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--line-strong);
}

.entry-list li::before {
  background-color: var(--accent);
}

/* ---- 404 页 ---- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 96px;
}

.error-inner {
  width: 100%;
  max-width: 620px;
  min-width: 0;
  text-align: left;
}

.error-code {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.error-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
}

.error-desc {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary {
  border: 1px solid var(--accent);
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  border-color: #0b4437;
  background-color: #0b4437;
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  background-color: var(--surface);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.error-links {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.error-links-title {
  margin-bottom: 14px;
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 600;
}

.error-links-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.error-links-list a {
  display: inline-block;
  min-height: 32px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

/* ==========================================================================
   responsive — 响应式断点 1024px / 768px
   ========================================================================== */

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-task-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: var(--aside) minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 18px;
    --gap-col: 24px;
  }

  h1,
  .page-title,
  .hero-title,
  .error-title {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
  }

  /* 页头：汉堡菜单接管导航 */
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px var(--gutter);
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    order: 4;
    flex: 1 1 100%;
    min-width: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-list a {
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
  }

  .header-entry {
    order: 2;
  }

  .entry-link {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  /* 主容器 */
  .site-main {
    padding: 24px var(--gutter) 56px;
  }

  .inner-main {
    padding-top: 18px;
  }

  /* 内页两栏折叠：正文在前，侧栏目录转为顶部横向轨道 */
  .page-layout,
  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .page-content,
  .content {
    order: 1;
    max-width: 100%;
  }

  .page-aside,
  .page-sidebar {
    order: 2;
    width: 100%;
  }

  .toc-list,
  .sidebar-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .toc-list li,
  .sidebar-list li {
    flex: 0 0 auto;
  }

  .toc-list a,
  .sidebar-list a {
    min-height: 40px;
    padding: 8px 14px;
    border-left: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background-color: var(--surface);
    white-space: nowrap;
  }

  .toc-list a:hover,
  .toc-list a:focus-visible,
  .sidebar-list a:hover,
  .sidebar-list a:focus-visible {
    border-color: var(--accent);
    background-color: var(--accent-soft);
  }

  .toc-hint {
    margin-top: 10px;
  }

  /* 首页各区块 */
  .home-main > section + section {
    margin-top: 40px;
  }

  .hero-task-panel {
    padding-bottom: 32px;
    margin-bottom: 40px;
  }

  .hero-actions {
    padding: 18px;
  }

  .scene-grid,
  .card-grid,
  .boundary-columns,
  .tip-list,
  .acceptance-grid,
  .category-list,
  .path-list,
  .type-list,
  .submit-panel,
  .scope-panel,
  .related-list,
  .error-links-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .step-index {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  /* 表格：保持横向滚动，不压缩列宽 */
  .data-table {
    min-width: 560px;
    font-size: 14px;
  }

  .data-table th,
  .data-table td,
  .table-caption {
    padding: 12px 12px;
  }

  .progress-step {
    flex: 1 1 100%;
    text-align: left;
  }

  /* 页脚 */
  .footer-inner {
    padding: 32px var(--gutter) 22px;
    gap: 24px;
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  /* 404 */
  .error-main {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .index-grid,
  .stage-overview,
  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 动效增强：仅在支持滚动时间线或用户未要求减少动效时轻微淡入 */
@media (prefers-reduced-motion: no-preference) {
  .scene-card {
    transition: border-color 0.18s ease, transform 0.18s ease;
  }

  .scene-card:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
