/* ==========================================================================
   秋霞电影 saddt.com — 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base — 变量、复位、字体与基础元素
   -------------------------------------------------------------------------- */
:root {
  --ink-900: #1f2a44;
  --ink-700: #3b4a6b;
  --ink-500: #4a5568;
  --ink-300: #6b7a90;
  --bg-soft: #f5f7fa;
  --bg-white: #ffffff;
  --line: #e2e8f0;
  --line-strong: #cbd5e0;
  --amber: #c98a2e;
  --brick: #a8452f;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-card: 0 1px 2px rgba(31, 42, 68, 0.06), 0 6px 18px rgba(31, 42, 68, 0.05);
  --shadow-soft: 0 1px 3px rgba(31, 42, 68, 0.08);
  --container: 1180px;
  --font-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;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-500);
  background-color: var(--bg-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--ink-900);
  line-height: 1.35;
  font-weight: 700;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink-700);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: var(--amber);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   layout — 全站骨架：容器、页头、导航、主区、页脚
   -------------------------------------------------------------------------- */

/* 顶部信息条 */
.topbar,
.top-bar {
  background-color: var(--ink-900);
  color: #d6dded;
  font-size: 13px;
  line-height: 1.6;
  padding: 0 20px;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 0;
}

.topbar-text,
.top-bar-text {
  margin: 0;
  color: #d6dded;
}

.topbar-scope {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid rgba(201, 138, 46, 0.6);
  border-radius: var(--radius-sm);
  color: #e8c07a;
  font-size: 12px;
  white-space: nowrap;
}

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  min-height: 44px;
}

.brand:hover {
  color: var(--ink-900);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: var(--radius);
  background-color: var(--ink-900);
  color: #f0d9a8;
  font-size: 15px;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
}

.brand-slogan {
  font-size: 12px;
  color: var(--ink-300);
}

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink-700);
  white-space: nowrap;
}

.nav-link:hover {
  background-color: var(--bg-soft);
  color: var(--ink-900);
}

.nav-link.is-current {
  color: var(--ink-900);
  font-weight: 700;
  background-color: #eef2f8;
  box-shadow: inset 0 -2px 0 var(--amber);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background-color: var(--bg-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ink-900);
  border-radius: 1px;
}

/* 主区 */
.site-main {
  display: block;
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.inner-main {
  padding-top: 20px;
}

/* 页脚 */
.site-footer {
  background-color: var(--ink-900);
  color: #c3ccdf;
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(150px, 1fr)) minmax(200px, 1.2fr);
  gap: 28px 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 20px 28px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.footer-desc {
  margin: 0;
  color: #aeb9ce;
  line-height: 1.75;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  display: inline-block;
  min-height: 24px;
  color: #c3ccdf;
}

.footer-list a:hover {
  color: #f0d9a8;
}

.footer-note {
  margin: 0;
  color: #aeb9ce;
  line-height: 1.75;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copy {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 13px;
  color: #94a1ba;
}

/* --------------------------------------------------------------------------
   components — 通用组件
   -------------------------------------------------------------------------- */

/* 按钮与文字链接 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--ink-900);
  color: #ffffff;
  border-color: var(--ink-900);
}

.btn-primary:hover {
  background-color: var(--ink-700);
  border-color: var(--ink-700);
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink-900);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background-color: var(--bg-white);
  border-color: var(--ink-700);
  color: var(--ink-900);
}

.btn-outline {
  background-color: var(--bg-white);
  color: var(--ink-900);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  border-bottom: 1px solid transparent;
}

.text-link::after {
  content: "→";
  font-size: 13px;
  transition: transform 0.18s ease;
}

.text-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* 区块标题组 */
.section-head {
  margin-bottom: 20px;
}

.section-title {
  font-size: 22px;
  color: var(--ink-900);
}

.section-desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-500);
  max-width: 780px;
}

.section-lead {
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--ink-500);
  max-width: 780px;
}

.section-foot {
  margin-top: 20px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-300);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--ink-700);
}

.breadcrumb a:hover {
  color: var(--amber);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink-300);
}

/* 页面标题区 */
.page-header {
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink-900);
}

.page-description {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
}

.page-lead {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-500);
  max-width: 820px;
}

/* 内页布局骨架 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 32px;
  align-items: start;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 32px;
  align-items: start;
}

.page-layout.sidebar-left,
.sidebar-left .page-layout {
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
}

.content-column,
.layout-main,
.main-column,
.faq-content {
  min-width: 0;
}

/* 侧栏通用 */
.side-panel,
.faq-tree,
.side-column,
.layout-aside {
  min-width: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.side-title,
.aside-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* 主题树 / 锚点导航 */
.tree-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tree-item a {
  display: block;
  min-height: 40px;
  padding: 8px 10px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  color: var(--ink-700);
}

.tree-item a:hover {
  border-left-color: var(--amber);
  background-color: var(--bg-soft);
  color: var(--ink-900);
}

.side-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-300);
}

.side-note a {
  color: var(--ink-700);
  border-bottom: 1px solid var(--line-strong);
}

.side-note a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* 侧栏要点块 */
.aside-block {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.aside-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.aside-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 8px;
}

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.7;
}

.aside-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--amber);
}

.aside-text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-500);
}

.aside-status-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-status-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-500);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background-color: var(--amber);
}

/* 图片容器 */
.section-media,
.section-figure,
.media-figure,
.aside-figure {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--bg-soft);
}

.section-media img,
.section-figure img,
.media-figure img,
.aside-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-caption,
.aside-caption,
.section-figure figcaption,
.media-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-300);
  background-color: var(--bg-white);
  border-top: 1px solid var(--line);
}

/* 相关链接列表 */
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.related-item a {
  display: block;
  min-height: 44px;
  padding: 12px 14px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-700);
}

.related-item a:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* 表格 */
.table-wrap,
.timing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-white);
}

.data-table,
.timing-table {
  width: 100%;
  min-width: 640px;
  font-size: 14px;
}

.table-caption,
.timing-caption {
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.data-table th,
.data-table td,
.timing-table th,
.timing-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.data-table thead th,
.timing-table thead th {
  background-color: #eef2f8;
  color: var(--ink-900);
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody tr:last-child td,
.timing-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover,
.timing-table tbody tr:hover {
  background-color: #f8fafc;
}

.cell-code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  font-weight: 600;
  white-space: nowrap;
}

.cell-name {
  font-weight: 600;
  color: var(--ink-900);
}

/* 折叠问答 */
.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-q,
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker,
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-q::before,
.faq-question::before {
  content: "＋";
  flex: 0 0 auto;
  color: var(--amber);
  font-weight: 700;
}

.faq-item[open] .faq-q::before,
.faq-item[open] .faq-question::before {
  content: "－";
}

.faq-q:hover,
.faq-question:hover {
  background-color: var(--bg-soft);
}

.faq-a {
  padding: 0 16px 16px 42px;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

.faq-answer {
  padding: 0 16px 16px 42px;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

.faq-answer p + p {
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   pages — 首页
   -------------------------------------------------------------------------- */

/* 编辑部式头条首屏 */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  padding: 8px 0 36px;
  border-bottom: 1px solid var(--line);
}

.hero-lead {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-kicker {
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background-color: #fdf3e2;
  color: var(--brick);
  font-size: 13px;
  font-weight: 600;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.28;
}

.hero-desc {
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink-500);
  line-height: 1.85;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-strong);
}

.hero-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fact-label {
  font-size: 13px;
  color: var(--ink-300);
}

.fact-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

.hero-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-media {
  margin: 0;
  background-color: var(--bg-soft);
}

.feature-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-body {
  padding: 18px;
}

.feature-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 8px;
}

.feature-title {
  font-size: 20px;
  color: var(--ink-900);
}

.feature-desc {
  margin: 10px 0 14px;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

.hero-sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 14px 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sub-card:hover {
  border-color: var(--amber);
}

.sub-card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
}

.sub-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
}

.sub-card-desc {
  font-size: 13px;
  color: var(--ink-300);
  line-height: 1.7;
}

/* 首页通用区块间距 */
.home-matrix,
.home-flow,
.home-faq,
.home-index,
.home-scenes {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.home-scenes {
  border-bottom: none;
}

/* 服务矩阵概览 */
.matrix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
}

.tag-plan {
  background-color: #eef2f8;
  color: var(--ink-700);
  border-color: #d7e0ee;
}

.tag-asset {
  background-color: #fdf3e2;
  color: var(--brick);
  border-color: #f2ddb9;
}

.tag-edit {
  background-color: #eaf3ec;
  color: #2f6b45;
  border-color: #cfe4d6;
}

.tag-text {
  background-color: #f0edf8;
  color: #52408a;
  border-color: #ddd7ef;
}

.tag-keep {
  background-color: #f6eef0;
  color: var(--brick);
  border-color: #ecd6da;
}

.matrix-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.matrix-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  grid-template-areas:
    "index name  link"
    "index scope link"
    "index fit   link";
  align-items: start;
  gap: 4px 16px;
  padding: 18px 20px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.matrix-card:hover {
  border-color: var(--line-strong);
}

.matrix-index {
  grid-area: index;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.matrix-name {
  grid-area: name;
  font-size: 17px;
  color: var(--ink-900);
}

.matrix-scope {
  grid-area: scope;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.75;
}

.matrix-fit {
  grid-area: fit;
  font-size: 14px;
  color: var(--ink-300);
  line-height: 1.7;
}

.matrix-card .text-link {
  grid-area: link;
  align-self: center;
  white-space: nowrap;
}

/* 合作流程四阶段预览 */
.flow-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  border-radius: var(--radius);
}

.flow-node .flow-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-300);
}

.flow-node .flow-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--line-strong);
}

.flow-node .flow-status-done {
  color: #2f6b45;
}

.flow-node .flow-status-done::before {
  background-color: #2f6b45;
}

.flow-node .flow-status-active {
  color: var(--amber);
}

.flow-node .flow-status-active::before {
  background-color: var(--amber);
}

.flow-node .flow-status-wait {
  color: var(--ink-300);
}

.flow-node .flow-status-wait::before {
  background-color: var(--line-strong);
}

.flow-node:has(.flow-status-done) {
  border-top-color: #2f6b45;
}

.flow-node:has(.flow-status-active) {
  border-top-color: var(--amber);
}

.flow-name {
  font-size: 16px;
  color: var(--ink-900);
}

.flow-meta {
  font-size: 13px;
  color: var(--ink-300);
  font-variant-numeric: tabular-nums;
}

.flow-prep {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.75;
}

/* 首页常见问题摘要 */
.faq-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.faq-group {
  min-width: 0;
}

.faq-group-title {
  font-size: 16px;
  color: var(--ink-700);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--amber);
}

/* 站内页面索引 */
.index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.index-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.index-card:hover {
  border-color: var(--amber);
}

.index-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
}

.index-desc {
  font-size: 13px;
  color: var(--ink-300);
  line-height: 1.7;
}

/* 首页场景图组 */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.scene-card {
  margin: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.scene-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.scene-caption {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink-500);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   pages — 服务矩阵页
   -------------------------------------------------------------------------- */
.section {
  margin-bottom: 40px;
}

.section:last-child {
  margin-bottom: 0;
}

.section-overview,
.section-scope,
.section-choose,
.section-boundary,
.section-related {
  min-width: 0;
}

.item-block {
  padding: 20px;
  margin-bottom: 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.item-block:last-child {
  margin-bottom: 0;
}

.item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.item-code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.item-name {
  font-size: 18px;
  color: var(--ink-900);
}

.item-scope {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

.item-deliverables {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
  padding: 14px 16px;
  background-color: var(--bg-soft);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
}

.item-deliverables li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.75;
}

.item-deliverables li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -2px;
  font-size: 20px;
  color: var(--amber);
  line-height: 1.4;
}

.item-fit {
  font-size: 14px;
  color: var(--ink-300);
  line-height: 1.75;
}

/* 条目选择方法 */
.method-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: method;
}

.method-step {
  position: relative;
  padding: 16px 18px 16px 56px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: method;
}

.method-step::before {
  content: counter(method, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.method-title {
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.method-text {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

/* 条目边界说明 */
.boundary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.boundary-item {
  padding: 16px 18px;
  background-color: #fdf6f4;
  border: 1px solid #ecd6da;
  border-left: 3px solid var(--brick);
  border-radius: var(--radius);
}

.boundary-title {
  font-size: 15px;
  color: var(--brick);
  margin-bottom: 6px;
}

.boundary-text {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   pages — 合作流程页
   -------------------------------------------------------------------------- */
.flow-line .section-head,
.stage-materials .section-head,
.stage-timing .section-head,
.stage-close .section-head,
.related-links .section-head {
  margin-bottom: 18px;
}

.flow-figure {
  margin-bottom: 20px;
}

.stage-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stage-node {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  border-radius: var(--radius);
}

.stage-node.is-done {
  border-top-color: #2f6b45;
}

.stage-node.is-active {
  border-top-color: var(--amber);
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background-color: var(--bg-soft);
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stage-node.is-done .stage-badge {
  background-color: #eaf3ec;
  color: #2f6b45;
}

.stage-node.is-active .stage-badge {
  background-color: #fdf3e2;
  color: var(--brick);
}

.stage-name {
  font-size: 16px;
  color: var(--ink-900);
}

.stage-desc {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.75;
}

.stage-meta {
  font-size: 13px;
  color: var(--ink-300);
  font-variant-numeric: tabular-nums;
}

/* 各阶段准备材料 */
.material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.material-card {
  padding: 18px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.material-title {
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.material-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.material-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.75;
}

.material-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--amber);
}

/* 验收与后续协作 */
.close-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.close-card {
  padding: 18px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
}

.close-title {
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 8px;
}

.close-text {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   pages — 常见问题页
   -------------------------------------------------------------------------- */
.faq-tree {
  position: sticky;
  top: 84px;
}

.faq-group,
.faq-section {
  margin-bottom: 36px;
}

.faq-group:last-child,
.faq-section:last-child {
  margin-bottom: 0;
}

.feedback-note {
  padding: 20px 22px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink-700);
  border-radius: var(--radius);
}

.feedback-note p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.85;
}

.feedback-note p + p {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   pages — 服务说明页
   -------------------------------------------------------------------------- */
.content-section {
  margin-bottom: 40px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.boundary-card {
  padding: 18px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.boundary-card:nth-child(1) {
  border-left: 3px solid var(--ink-700);
}

.boundary-card:nth-child(2) {
  border-left: 3px solid var(--brick);
}

.card-title {
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 8px;
}

.boundary-card p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

.boundary-card p + p {
  margin-top: 8px;
}

.standard-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: standard;
}

.standard-item {
  position: relative;
  padding: 16px 18px 16px 56px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: standard;
}

.standard-item::before {
  content: counter(standard, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.standard-name {
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.standard-item p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.principle-item {
  padding: 18px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink-700);
  border-radius: var(--radius);
}

.principle-name {
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.principle-item p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}

.exclude-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exclude-item {
  padding: 16px 18px;
  background-color: #fdf6f4;
  border: 1px solid #ecd6da;
  border-radius: var(--radius);
}

.exclude-name {
  font-size: 15px;
  color: var(--brick);
  margin-bottom: 6px;
}

.exclude-item p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.8;
}

/* 服务说明页侧栏 */
.side-block {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.side-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.side-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.75;
}

.side-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
}

.side-tip p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.8;
}

.side-tip a {
  color: var(--brick);
  border-bottom: 1px solid #ecd6da;
}

.side-tip a:hover {
  border-bottom-color: var(--brick);
}

.side-link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-link-list a {
  display: block;
  min-height: 40px;
  padding: 8px 10px;
  background-color: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-700);
}

.side-link-list a:hover {
  background-color: #eef2f8;
  color: var(--ink-900);
}

/* --------------------------------------------------------------------------
   pages — 404
   -------------------------------------------------------------------------- */
.error-main {
  padding-top: 44px;
}

.error-hero {
  padding: 8px 0 36px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}

.error-title {
  font-size: 32px;
  color: var(--ink-900);
}

.error-desc {
  margin: 14px 0 22px;
  font-size: 16px;
  color: var(--ink-500);
  max-width: 720px;
  line-height: 1.85;
}

.error-routes {
  padding: 36px 0 0;
}

.error-route-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.error-route-item {
  padding: 16px 18px;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-route-link {
  display: inline-block;
  min-height: 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
}

.error-route-link:hover {
  color: var(--amber);
}

.error-route-note {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-300);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   responsive — 断点适配（768px 与窄屏）
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-title {
    font-size: 32px;
  }

  .flow-track,
  .stage-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-layout,
  .layout-shell,
  .page-layout.sidebar-left,
  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .faq-tree {
    position: static;
  }

  .side-column,
  .layout-aside,
  .side-panel,
  .faq-tree {
    order: 2;
  }

  .content-column,
  .layout-main,
  .main-column,
  .faq-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
  }

  .site-nav {
    order: 4;
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: flex-start;
    width: 100%;
    padding: 10px 12px;
  }

  .site-main {
    padding: 20px 16px 44px;
  }

  .page-header {
    padding: 16px 0 18px;
    margin-bottom: 22px;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-sub {
    grid-template-columns: minmax(0, 1fr);
  }

  .matrix-card {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
      "index name"
      "index scope"
      "index fit"
      "index link";
    padding: 16px;
  }

  .matrix-card .text-link {
    justify-self: start;
    margin-top: 6px;
    white-space: normal;
  }

  .flow-track,
  .stage-track,
  .material-grid,
  .close-grid,
  .boundary-grid,
  .principle-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .section-title {
    font-size: 19px;
  }

  .section {
    margin-bottom: 32px;
  }

  .home-matrix,
  .home-flow,
  .home-faq,
  .home-index,
  .home-scenes {
    padding: 30px 0;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 32px 16px 22px;
  }

  .footer-copy {
    padding: 14px 16px;
  }

  .error-title {
    font-size: 24px;
  }

  .error-main {
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .faq-a,
  .faq-answer {
    padding-left: 16px;
  }

  .data-table,
  .timing-table {
    min-width: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
