/* ==========================================================================
   酷漫屋 pfhoa.cn — 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base — 变量、重置、排版基础
   -------------------------------------------------------------------------- */

:root {
  --ink: #1b2a41;
  --ink-soft: #2c3c54;
  --slate: #5a6b7c;
  --slate-light: #8a99a8;
  --teal: #2e7d6f;
  --ochre: #a8552e;
  --mist: #f4f6f8;
  --line: #dde3e9;
  --line-soft: #eaeef2;
  --white: #ffffff;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(27, 42, 65, 0.06);
  --shell: 1180px;
  --content: 760px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

p {
  margin: 0 0 12px;
  max-width: var(--content);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--teal);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout — 页头 / 主导航 / 主骨架 / 页脚
   -------------------------------------------------------------------------- */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--mist);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid #16233a;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 66px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  color: var(--white);
  flex-shrink: 0;
}

.brand:hover,
.brand:focus-visible {
  color: var(--white);
}

.brand-name {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 12px;
  line-height: 1.3;
  color: #9fb0c2;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  display: block;
}

.nav-link {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #c8d3de;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-current {
  color: var(--white);
  border-bottom-color: var(--teal);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #e2e8ee;
  border-radius: 1px;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.inner-main {
  padding-top: 20px;
}

.page-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.sidebar-left .page-layout,
.page-layout.sidebar-left {
  grid-template-columns: 248px minmax(0, 1fr);
}

.page-content {
  min-width: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--slate);
}

.breadcrumb a {
  color: var(--slate);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--teal);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--slate-light);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.page-header {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 32px;
  line-height: 1.3;
  color: var(--ink);
}

.page-description {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
}

.site-footer {
  flex-shrink: 0;
  background: var(--ink);
  color: #b9c5d2;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 36px 24px 28px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.footer-text {
  margin: 0;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.8;
  color: #9fb0c2;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.footer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-list a {
  font-size: 13px;
  color: #b9c5d2;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid #2a3a52;
}

.footer-copy {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px 18px;
  font-size: 12px;
  color: #8595a6;
}

/* --------------------------------------------------------------------------
   components — 通用区块、表格、标签、折叠、侧栏、图片
   -------------------------------------------------------------------------- */

.section {
  margin-bottom: 44px;
}

.section:last-child {
  margin-bottom: 0;
}

.section-head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: 22px;
  line-height: 1.4;
}

.section-desc,
.section-lead {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
}

.section-lead {
  margin-bottom: 18px;
}

.section-foot {
  margin: 14px 0 0;
  font-size: 13px;
}

.section-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--slate);
}

.section-foot .text-link,
.section-note .text-link,
.text-link {
  display: inline-block;
  margin-right: 16px;
  color: var(--teal);
  border-bottom: 1px solid rgba(46, 125, 111, 0.35);
  padding-bottom: 1px;
}

.section-foot .text-link:hover,
.section-note .text-link:hover,
.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* 表格 */

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 620px;
  font-size: 14px;
  line-height: 1.6;
}

.table-caption {
  caption-side: top;
  padding: 12px 16px 0;
  text-align: left;
  font-size: 13px;
  color: var(--slate);
}

.data-table thead th {
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--ink-soft);
}

.data-table tbody tr:nth-child(even) th,
.data-table tbody tr:nth-child(even) td {
  background: var(--mist);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody th.cell-name {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.data-table tbody tr:hover th,
.data-table tbody tr:hover td {
  background: #eaf0f4;
}

.cell-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate);
  white-space: nowrap;
}

/* 状态标签 */

.status {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 10px;
  white-space: nowrap;
}

.status-open {
  background: rgba(46, 125, 111, 0.12);
  color: var(--teal);
  border: 1px solid rgba(46, 125, 111, 0.32);
}

.status-review {
  background: rgba(168, 85, 46, 0.1);
  color: var(--ochre);
  border: 1px solid rgba(168, 85, 46, 0.3);
}

.status-doing {
  background: rgba(27, 42, 65, 0.08);
  color: var(--ink);
  border: 1px solid rgba(27, 42, 65, 0.22);
}

.status-check {
  background: rgba(90, 107, 124, 0.12);
  color: var(--slate);
  border: 1px solid rgba(90, 107, 124, 0.28);
}

/* 对照卡 */

.compare-grid,
.compare-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compare-col {
  min-width: 0;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compare-title {
  margin-bottom: 12px;
  padding-bottom: 10px;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}

.compare-include .compare-title,
.compare-col-adjust .compare-title {
  color: var(--teal);
  border-bottom-color: rgba(46, 125, 111, 0.3);
}

.compare-exclude .compare-title,
.compare-col-exclusion .compare-title {
  color: var(--ochre);
  border-bottom-color: rgba(168, 85, 46, 0.3);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.compare-exclude .compare-list li::before,
.compare-col-exclusion .compare-list li::before {
  background: var(--ochre);
}

/* 折叠问答 */

.faq-list,
.faq-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question,
.faq-item > summary {
  position: relative;
  padding: 14px 44px 14px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-question::after,
.faq-item > summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: -3px;
}

.faq-question:hover,
.faq-item > summary:hover {
  background: var(--mist);
}

.faq-answer {
  padding: 0 18px 16px;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
}

.faq-answer a {
  color: var(--teal);
  border-bottom: 1px solid rgba(46, 125, 111, 0.35);
}

.faq-answer a:hover,
.faq-answer a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* 清单 */

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.check-mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 1px solid var(--teal);
  border-radius: 3px;
  background: rgba(46, 125, 111, 0.08);
  position: relative;
}

.check-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(40deg);
}

.checklist-num {
  flex-shrink: 0;
  width: 22px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
  line-height: 1.7;
}

.checklist-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* 侧栏 */

.page-aside,
.inner-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aside-block {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.aside-title {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.aside-subtitle {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.aside-nav,
.aside-list,
.aside-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-nav a,
.aside-list a,
.aside-links a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.aside-nav a:hover,
.aside-list a:hover,
.aside-links a:hover,
.aside-nav a:focus-visible,
.aside-list a:focus-visible,
.aside-links a:focus-visible {
  color: var(--ink);
  background: var(--mist);
  border-left-color: var(--teal);
}

.aside-item {
  display: block;
}

.aside-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 12px;
  color: var(--slate-light);
}

.filter-count {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
}

.aside-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--slate-light);
}

/* 图片容器 */

.hero-figure,
.direction-media,
.scene-figure,
.section-figure,
.section-media,
.content-figure {
  overflow: hidden;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-figure img,
.direction-media img,
.scene-figure img,
.section-figure img,
.section-media img,
.content-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--mist);
}

.hero-figure figcaption,
.direction-media figcaption,
.scene-figure figcaption,
.section-figure figcaption,
.media-caption,
.content-figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  border-top: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------------------
   pages — 首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-top: 0;
}

/* 首屏定位区 */

.hero-section {
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 40px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--teal);
  font-family: var(--mono);
  text-transform: uppercase;
}

.hero-title {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-lead {
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}

.hero-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-path {
  min-width: 0;
}

.hero-path-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-path-link:hover,
.hero-path-link:focus-visible {
  border-color: var(--teal);
  border-left-color: var(--ink);
  color: var(--ink);
}

.hero-path-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.hero-path-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate);
}

.hero-figure {
  min-width: 0;
}

.hero-figure img {
  aspect-ratio: 4 / 3;
}

/* 服务方向总览表 */

.services-table tbody th.cell-name {
  width: 20%;
}

.services-table tbody td {
  font-size: 14px;
}

.services-table .row-link {
  display: inline-block;
  font-size: 13px;
  color: var(--teal);
  border-bottom: 1px solid rgba(46, 125, 111, 0.35);
  white-space: nowrap;
}

.services-table .row-link:hover,
.services-table .row-link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* 适用场景 */

.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scene-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scene-figure {
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
}

.scene-figure img {
  aspect-ratio: 16 / 9;
}

.scene-title {
  padding: 16px 20px 0;
  font-size: 17px;
}

.scene-text {
  padding: 8px 20px 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
  max-width: none;
}

/* 合作流程阶段速览 */

.stage-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: stage;
}

.stage-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stage-no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 6px;
}

.stage-name {
  font-size: 16px;
  margin-bottom: 12px;
}

.stage-client,
.stage-ours {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
  max-width: none;
}

.stage-ours {
  margin-bottom: 0;
}

.stage-label {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  color: var(--slate-light);
  font-family: var(--mono);
}

/* 站内栏目索引 */

.index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.index-item {
  min-width: 0;
}

.index-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 16px 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.index-link:hover,
.index-link:focus-visible {
  border-color: var(--teal);
  color: var(--ink);
}

.index-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.index-desc {
  font-size: 12px;
  line-height: 1.65;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   pages — 内页公共模块（服务方向 / 合作流程 / 交付标准 / 常见问题）
   -------------------------------------------------------------------------- */

.inner-main .section-title {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.content-section {
  margin-bottom: 44px;
}

/* 服务方向逐项说明 */

.direction-block {
  margin-bottom: 24px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.direction-block:last-child {
  margin-bottom: 0;
}

.direction-media {
  margin-bottom: 16px;
}

.direction-media img {
  aspect-ratio: 16 / 6;
}

.direction-name {
  font-size: 17px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.direction-fields {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0;
}

.direction-fields dt {
  font-size: 13px;
  color: var(--slate);
  padding-top: 2px;
}

.direction-fields dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 合作流程阶段块 */

.stage-block {
  margin-bottom: 22px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stage-block:last-child {
  margin-bottom: 0;
}

.stage-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 17px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.stage-index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
  font-weight: 400;
}

.stage-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.stage-col {
  min-width: 0;
  padding: 14px 16px;
  background: var(--mist);
  border-radius: var(--radius-sm);
}

.stage-col-client {
  border-left: 3px solid var(--ink);
}

.stage-col-us {
  border-left: 3px solid var(--teal);
}

.stage-col-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.stage-col p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: none;
}

.stage-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stage-col li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.stage-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--slate-light);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 关键节点 */

.node-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.node-item {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.node-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.node-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.node-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--slate);
  font-family: var(--mono);
}

/* 常见问题内页 */

.page-faq .page-header {
  margin-bottom: 26px;
}

.inner-aside {
  position: static;
}

.inner-content {
  min-width: 0;
}

.content-figure {
  margin-bottom: 26px;
}

.content-figure img {
  aspect-ratio: 16 / 6;
}

.faq-group {
  margin-bottom: 36px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group h2 {
  font-size: 20px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.faq-group .section-lead {
  margin-bottom: 16px;
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.path-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.path-index {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
}

.path-body {
  min-width: 0;
}

.path-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: none;
}

.path-body a {
  color: var(--teal);
  border-bottom: 1px solid rgba(46, 125, 111, 0.35);
}

.path-body a:hover,
.path-body a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.section-footnote {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.error-panel {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 44px;
  line-height: 1;
  color: var(--slate-light);
}

.error-title {
  font-size: 26px;
  margin-bottom: 12px;
}

.error-text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}

.error-home-link {
  display: inline-block;
  padding: 10px 22px;
  font-size: 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-sm);
  border-bottom: 0;
}

.error-home-link:hover,
.error-home-link:focus-visible {
  background: var(--teal);
  color: var(--white);
}

.error-entry {
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.error-entry-title {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.error-entry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.error-entry-list a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}

.error-entry-list a:hover,
.error-entry-list a:focus-visible {
  color: var(--ink);
  border-color: var(--teal);
}

/* --------------------------------------------------------------------------
   responsive — 1024px 与 720px 断点
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 20px;
  }

  .site-main {
    padding: 24px 20px 48px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-figure {
    max-width: 560px;
  }

  .hero-paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stage-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .page-aside,
  .inner-aside {
    order: 2;
    margin-top: 32px;
  }

  .page-content,
  .inner-content {
    order: 1;
  }

  .aside-nav,
  .aside-list,
  .aside-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .aside-nav a,
  .aside-list a,
  .aside-links a {
    padding: 8px 12px;
    background: var(--mist);
    border-left: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }

  .aside-nav a:hover,
  .aside-list a:hover,
  .aside-links a:hover,
  .aside-nav a:focus-visible,
  .aside-list a:focus-visible,
  .aside-links a:focus-visible {
    border-color: var(--teal);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding: 0 16px;
    min-height: 60px;
  }

  .brand {
    padding: 10px 0;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    flex-basis: 100%;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 14px;
    border-top: 1px solid #2a3a52;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 15px;
    border-bottom: 1px solid #2a3a52;
    border-radius: 0;
  }

  .nav-link.is-current {
    border-bottom-color: var(--teal);
  }

  .site-main {
    padding: 20px 16px 40px;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-section {
    padding: 26px 0 32px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-paths {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  .section {
    margin-bottom: 34px;
  }

  .section-title {
    font-size: 19px;
  }

  .scene-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-grid,
  .compare-cols,
  .stage-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direction-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px 0;
  }

  .direction-fields dt {
    margin-top: 8px;
    font-size: 12px;
    color: var(--slate-light);
  }

  .direction-fields dd {
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line-soft);
  }

  .direction-fields dd:last-of-type {
    border-bottom: 0;
  }

  .direction-block,
  .stage-block {
    padding: 16px 16px 18px;
  }

  .compare-col,
  .checklist,
  .node-item {
    padding: 16px 16px;
  }

  .error-panel {
    padding: 28px 20px;
  }

  .error-code {
    font-size: 34px;
  }

  .error-title {
    font-size: 22px;
  }

  .error-entry-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 16px 22px;
  }

  .footer-list {
    gap: 10px 18px;
  }

  .footer-list a {
    display: inline-block;
    padding: 6px 0;
    min-height: 32px;
  }

  .footer-copy {
    padding: 12px 16px 16px;
  }

  .section-foot .text-link,
  .section-note .text-link {
    display: block;
    margin: 0 0 8px;
  }
}

@media (max-width: 400px) {
  .index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title {
    font-size: 23px;
  }
}
