/* ==========================================================================
   飘花完整电影 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --ink-900: #16232f;
  --ink-800: #1d2f3f;
  --ink-700: #2c4257;
  --ink-600: #3d556c;
  --ink-500: #5b7186;
  --ink-400: #7d8fa1;
  --line-strong: #c3ccd5;
  --line: #dbe2e8;
  --line-soft: #e9eef2;
  --paper: #ffffff;
  --paper-warm: #f6f4f0;
  --paper-grey: #f2f5f7;
  --accent: #a8442c;
  --accent-dark: #8c3722;
  --accent-soft: #f4e7e2;
  --radius: 6px;
  --radius-sm: 4px;
  --shell-max: 1180px;
  --shell-pad: 24px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-700);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink-800);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 20;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-900);
}

.brand:hover,
.brand:focus-visible {
  color: var(--accent);
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  display: block;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-600);
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--ink-900);
  border-bottom-color: var(--line-strong);
}

.nav-list a.is-current {
  color: var(--ink-900);
  font-weight: 700;
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-800);
}

.nav-toggle::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-main {
  display: block;
}

.inner-main {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad) 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-400);
}

.breadcrumb a {
  color: var(--ink-500);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink-700);
}

.page-header {
  padding: 20px 0 32px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-900);
}

.page-description,
.page-summary {
  max-width: 820px;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-500);
}

.site-footer {
  background-color: var(--paper-warm);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(140px, 1fr));
  gap: 32px 28px;
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 48px var(--shell-pad) 32px;
}

.footer-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-900);
}

.footer-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-500);
}

.footer-group {
  display: block;
}

.footer-group-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-800);
}

.footer-list {
  margin-top: 12px;
}

.footer-list li + li {
  margin-top: 8px;
}

.footer-list a {
  display: inline-block;
  min-height: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-500);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--accent);
}

.footer-copy {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 18px var(--shell-pad) 28px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-400);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   components · 通用元件
   -------------------------------------------------------------------------- */

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line-soft);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-900);
}

.section-note,
.section-lead {
  max-width: 820px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-500);
}

.section-lead a,
.section-note a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
}

.section-lead a:hover,
.section-note a:hover,
.section-lead a:focus-visible,
.section-note a:focus-visible {
  border-bottom-color: var(--accent);
}

.section-more {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease;
}

.btn-primary {
  color: #ffffff;
  background-color: var(--ink-800);
  border-color: var(--ink-800);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #ffffff;
  background-color: var(--accent);
  border-color: var(--accent);
}

.btn-ghost {
  color: var(--ink-800);
  background-color: transparent;
  border-color: var(--line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

/* 图片容器统一约束 */

.hero-figure,
.content-media,
.direction-media,
.media-figure,
.media-item,
.guide-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-grey);
}

.hero-figure img,
.content-media img,
.direction-media img,
.media-figure img,
.media-item img,
.guide-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.hero-figure figcaption,
.content-media figcaption,
.media-figure figcaption,
.media-item figcaption,
.guide-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-500);
  background-color: var(--paper);
  border-top: 1px solid var(--line-soft);
}

/* 折叠问答 */

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  position: relative;
  display: block;
  padding: 18px 40px 18px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink-800);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 10px;
  height: 10px;
  margin-top: -6px;
  border-right: 2px solid var(--ink-400);
  border-bottom: 2px solid var(--ink-400);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.faq-item[open] .faq-question {
  color: var(--ink-900);
}

.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 0 40px 20px 0;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-500);
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
}

/* 相关列表 */

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.related-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
  transition: border-color 0.18s ease;
}

.related-item:hover,
.related-item:focus-within {
  border-color: var(--ink-500);
}

.related-item > a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 16px 18px;
}

.related-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-800);
}

.related-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-500);
}

/* 滚动出现增强：默认完全可见，仅在支持时叠加动效 */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js-anim .section,
  .js-anim .content-section,
  .js-anim .faq-section,
  .js-anim .prepare-section,
  .js-anim .sorting-section,
  .js-anim .guide-summary {
    animation: rise-in 0.5s ease both;
  }

  .js-anim .section:nth-of-type(n + 3),
  .js-anim .content-section:nth-of-type(n + 3) {
    animation-delay: 0.06s;
  }
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.fact-bar {
  margin: 0;
  padding: 10px var(--shell-pad);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-600);
  text-align: center;
  background-color: var(--paper-grey);
  border-bottom: 1px solid var(--line);
}

.home-main {
  display: block;
}

.hero {
  padding: 52px 0 44px;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  gap: 44px;
  align-items: start;
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
}

.hero-lead {
  min-width: 0;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-900);
}

.hero-sub {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-600);
}

.hero-judge {
  margin-top: 14px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-700);
  background-color: var(--paper-warm);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-figure {
  margin-top: 28px;
}

.hero-methods {
  min-width: 0;
  padding: 24px 24px 20px;
  background-color: var(--paper-grey);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.methods-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink-900);
}

.methods-intro {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-500);
}

.methods-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.methods-item {
  position: relative;
  padding: 16px 0 14px 44px;
  border-bottom: 1px solid var(--line);
}

.methods-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.methods-num {
  position: absolute;
  top: 18px;
  left: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent);
}

.methods-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-800);
}

.methods-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-500);
}

.methods-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.methods-link:hover,
.methods-link:focus-visible {
  color: var(--accent-dark);
}

.content-media {
  width: 100%;
  max-width: var(--shell-max);
  margin: 40px auto 0;
  padding: 0;
}

.content-media-primary {
  max-width: calc(var(--shell-max) - var(--shell-pad) * 2);
}

.section-direction {
  background-color: var(--paper);
}

.direction-rows {
  border-top: 1px solid var(--line);
}

.direction-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.direction-num {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent);
}

.direction-row .direction-body {
  min-width: 0;
}

.direction-row .direction-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.direction-scene {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-500);
}

.direction-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.direction-link:hover,
.direction-link:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.section-process {
  background-color: var(--paper-warm);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.section-process .process-step {
  padding: 22px 20px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section-process .process-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent);
}

.section-process .process-name {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.section-process .process-client,
.section-process .process-us {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-500);
}

.section-process .process-client {
  padding-left: 12px;
  border-left: 2px solid var(--line-strong);
}

.section-process .process-us {
  padding-left: 12px;
  border-left: 2px solid var(--accent-soft);
}

.section-standard {
  background-color: var(--paper);
}

.standard-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.standard-col {
  min-width: 0;
  padding: 24px 24px 20px;
  background-color: var(--paper-grey);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.standard-sub {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.standard-list {
  margin-top: 14px;
}

.standard-item {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-600);
}

.standard-item + .standard-item {
  margin-top: 10px;
}

.standard-item::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.section-faq {
  background-color: var(--paper-warm);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.section-index {
  background-color: var(--paper);
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.index-card {
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease;
}

.index-card:hover,
.index-card:focus-within {
  border-color: var(--ink-500);
}

.index-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.index-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-500);
}

.index-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.index-link:hover,
.index-link:focus-visible {
  color: var(--accent-dark);
}

/* --------------------------------------------------------------------------
   pages · 内页通用区块
   -------------------------------------------------------------------------- */

.content-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line-soft);
}

.content-section:last-of-type {
  border-bottom: 0;
}

.content-section > p {
  max-width: 860px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-500);
}

.media-figure {
  max-width: 720px;
  margin-top: 22px;
}

/* 服务方向页 */

.section-abstract .section-lead {
  max-width: 860px;
}

.section-direction-list .section-lead {
  max-width: 860px;
}

.direction-item {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.direction-item:last-child {
  border-bottom: 0;
}

.direction-item .direction-body {
  min-width: 0;
}

.direction-index {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent);
}

.direction-item .direction-name {
  margin-top: 6px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.direction-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-600);
}

.direction-desc a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
}

.direction-meta {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.direction-meta dt {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink-800);
}

.direction-meta dd {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-500);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.compare-col {
  min-width: 0;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-fit {
  background-color: var(--paper-grey);
}

.compare-unfit {
  background-color: var(--paper-warm);
}

.compare-heading {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.compare-list {
  margin-top: 14px;
}

.compare-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-600);
}

.compare-list li + li {
  margin-top: 10px;
}

.compare-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 2px;
  background-color: var(--accent);
}

.advice-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.advice-item {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.advice-case {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink-800);
}

.advice-tip {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-500);
}

/* 合作流程页 */

.summary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.summary-list li {
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-600);
  background-color: var(--paper-grey);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.summary-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--ink-900);
}

.section-steps .process-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.section-steps .process-step {
  padding: 24px 24px 20px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.section-steps .step-index {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent);
}

.section-steps .step-title {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.section-steps .step-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-500);
}

.step-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.step-col {
  min-width: 0;
}

.step-col-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-800);
}

.step-col-list {
  margin-top: 10px;
}

.step-col-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-500);
}

.step-col-list li + li {
  margin-top: 8px;
}

.step-col-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--line-strong);
  border-radius: 50%;
}

.step-col-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-500);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.client-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.client-item {
  padding: 20px 20px 18px;
  background-color: var(--paper-grey);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.client-stage {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.client-need {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-500);
}

.sync-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.sync-item {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.sync-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink-800);
}

.sync-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-500);
}

/* 交付标准页 */

.page-layout {
  display: block;
  padding-top: 8px;
}

.deliverable-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.deliverable-item {
  position: relative;
  padding: 18px 0 18px 48px;
  border-bottom: 1px solid var(--line);
}

.deliverable-item .item-index {
  position: absolute;
  top: 20px;
  left: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent);
}

.deliverable-item .item-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.deliverable-item .item-form {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-400);
}

.deliverable-item .item-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-500);
}

.acceptance-table {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.acceptance-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1.6fr);
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.acceptance-row:last-child {
  border-bottom: 0;
}

.acceptance-head {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-800);
  background-color: var(--paper-grey);
}

.acceptance-row .col-basis {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--ink-800);
}

.acceptance-row .col-confirm {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-500);
}

.deviation-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.deviation-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.deviation-item .item-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.deviation-item .item-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-500);
}

/* 问题分类页 */

.guide-summary {
  padding: 40px 0;
  border-bottom: 1px solid var(--line-soft);
}

.guide-summary > p {
  max-width: 860px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-500);
}

.guide-figure {
  max-width: 720px;
  margin-top: 22px;
}

.faq-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line-soft);
}

.faq-group {
  margin-top: 28px;
}

.faq-group-title {
  padding-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line-strong);
}

.faq-group .faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.prepare-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line-soft);
}

.prepare-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.prepare-item {
  padding: 18px 18px 16px;
  background-color: var(--paper-grey);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prepare-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-900);
}

.prepare-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-500);
}

.sorting-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line-soft);
}

.sorting-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.sorting-item {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.sorting-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink-800);
}

.sorting-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-500);
}

.related-nav {
  padding: 40px 0 8px;
}

.related-nav .section-title {
  margin-bottom: 20px;
}

/* 404 */

.error-main {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 64px var(--shell-pad) 72px;
}

.error-intro {
  max-width: 700px;
}

.error-code {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent);
}

.error-intro h1 {
  margin-top: 10px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-900);
}

.error-text {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-500);
}

.error-intro .btn {
  margin-top: 24px;
}

.error-links {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.error-links h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-900);
}

.error-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.error-link-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-800);
  background-color: var(--paper-grey);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.error-link-list a:hover,
.error-link-list a:focus-visible {
  color: var(--accent);
  border-color: var(--ink-500);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-title {
    font-size: 32px;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --shell-pad: 18px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 60px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    flex: 1 1 100%;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 10px;
    border-top: 1px solid var(--line-soft);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-list a.is-current {
    border-bottom-color: var(--line-soft);
    box-shadow: inset 3px 0 0 var(--accent);
    padding-left: 12px;
  }

  .breadcrumb {
    padding-top: 16px;
  }

  .page-header {
    padding: 16px 0 24px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-description,
  .page-summary {
    margin-top: 12px;
    font-size: 15px;
  }

  .inner-main {
    padding-bottom: 56px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 21px;
  }

  .hero {
    padding: 36px 0 32px;
  }

  .hero-title {
    font-size: 27px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 200px;
  }

  .hero-methods {
    padding: 20px 18px 16px;
  }

  .content-media,
  .content-media-primary {
    max-width: 100%;
    margin-top: 28px;
  }

  .direction-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .direction-link {
    grid-column: 2 / -1;
    justify-self: start;
    margin-top: 4px;
  }

  .process-steps,
  .section-steps .process-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .standard-columns,
  .compare-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .direction-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
  }

  .direction-meta {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 6px 14px;
  }

  .advice-item,
  .sync-item,
  .sorting-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .step-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .acceptance-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 14px 16px;
  }

  .acceptance-head {
    display: none;
  }

  .acceptance-row .col-basis {
    font-size: 15px;
    color: var(--ink-900);
  }

  .deliverable-item {
    padding-left: 36px;
  }

  .faq-question {
    padding-right: 32px;
  }

  .faq-answer {
    padding-right: 8px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 32px var(--shell-pad) 24px;
  }

  .footer-brand {
    padding-bottom: 20px;
  }

  .footer-group {
    border-top: 1px solid var(--line);
  }

  .footer-group-title {
    position: relative;
    padding: 16px 32px 16px 0;
    cursor: pointer;
  }

  .footer-group-title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 9px;
    height: 9px;
    margin-top: -6px;
    border-right: 2px solid var(--ink-400);
    border-bottom: 2px solid var(--ink-400);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
  }

  .footer-group.is-open .footer-group-title::after {
    transform: rotate(-135deg);
  }

  .footer-list {
    display: none;
    margin-top: 0;
    padding-bottom: 16px;
  }

  .footer-group.is-open .footer-list {
    display: block;
  }

  .footer-copy {
    padding: 16px var(--shell-pad) 24px;
  }

  .error-main {
    padding: 44px var(--shell-pad) 56px;
  }

  .error-intro h1 {
    font-size: 26px;
  }

  .error-links {
    margin-top: 36px;
    padding-top: 26px;
  }
}

@media (max-width: 480px) {
  .index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .direction-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .direction-meta dt {
    margin-top: 6px;
  }
}
