/* ==========================================================================
   香蕉漫画 · 整站样式表
   tinxlih.cn
   ========================================================================== */

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #101820;
  background-color: #f6f1e4;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #101820;
  text-decoration: none;
}

a:hover {
  color: #b8860b;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: #101820;
}

p {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* 等宽数字，强调日程感 */
.route-num,
.stage-num,
.service-num,
.q-num,
.section-number,
.direction-number,
.stage-number,
.rework-index,
.principle-index,
.page-header-number,
.cat-num,
.error-code {
  font-family: "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, "Courier New", monospace;
  font-variant-numeric: tabular-nums;
}

/* 屏幕阅读器专用 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
}

/* 全站统一容器宽度 */
.header-shell,
.footer-shell,
.section-shell,
.hero-shell,
.layout-shell {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 内页正文容器 */
.inner-main {
  padding-bottom: 64px;
}

/* 窄栏长文容器 */
.page-guide .guide-section,
.page-guide .guide-next-step {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  background-color: #101820;
  border-bottom: 3px solid #ffb800;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.2;
  color: #f6f1e4;
  letter-spacing: 0.02em;
}

.brand-mark::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ffb800;
  margin-right: 10px;
  vertical-align: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: transparent;
  border: 1px solid rgba(246, 241, 228, 0.6);
  border-radius: 6px;
  color: #f6f1e4;
  font-size: 0.9375rem;
  line-height: 1;
  cursor: pointer;
  min-height: 44px;
}

.nav-toggle-label {
  font-size: 0.875rem;
}

.nav-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background-color: #f6f1e4;
  box-shadow: 0 -6px 0 #f6f1e4, 0 6px 0 #f6f1e4;
}

.nav-toggle[aria-expanded="true"]::before {
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  content: "";
  width: 18px;
  height: 2px;
  background-color: #f6f1e4;
  transform: rotate(-45deg);
  margin-top: -2px;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(246, 241, 228, 0.85);
  border-radius: 4px;
  position: relative;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.nav-list a:hover {
  color: #f6f1e4;
}

.nav-list a:hover::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background-color: #ffb800;
}

.nav-list a.is-current {
  color: #f6f1e4;
  font-weight: 700;
}

.nav-list a.is-current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background-color: #ffb800;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 0.8125rem;
  color: #707070;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: #707070;
  text-decoration: none;
  padding: 4px 0;
}

.breadcrumb a:hover {
  color: #101820;
}

.breadcrumb-sep {
  color: #b0a890;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #101820;
  font-weight: 500;
}

/* ==========================================================================
   Page Header（内页统一标题区）
   ========================================================================== */

.page-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-description {
  font-family: "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  font-size: 0.8125rem;
  color: #b8860b;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #101820;
  margin-bottom: 8px;
}

.page-lead,
.page-intro {
  font-size: 1rem;
  color: #707070;
  max-width: 720px;
  line-height: 1.8;
}

/* FAQ 页标题区特殊结构 */
.page-faq .page-header {
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.page-header-number {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: #ffb800;
  background-color: #101820;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  flex-shrink: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #ffb800;
  border-color: #ffb800;
  color: #101820;
}

.btn-primary:hover {
  background-color: #e6a600;
  border-color: #e6a600;
  color: #101820;
}

.btn-secondary {
  background-color: transparent;
  border-color: #101820;
  color: #101820;
}

.btn-secondary:hover {
  background-color: #101820;
  color: #f6f1e4;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #b8860b;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 4px 0;
}

.text-link:hover {
  color: #101820;
}

.text-link::after {
  content: "→";
  font-weight: 400;
}

/* ==========================================================================
   首页 Hero
   ========================================================================== */

.home-main {
  background-color: #f6f1e4;
}

.hero-section {
  background-color: #101820;
  color: #f6f1e4;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-kicker {
  font-family: "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  font-size: 0.8125rem;
  color: #ffb800;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #f6f1e4;
  margin-bottom: 20px;
}

.hero-copy p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(246, 241, 228, 0.85);
  max-width: 480px;
}

.hero-route {
  border-left: 2px solid rgba(255, 184, 0, 0.4);
  padding-left: 24px;
}

.route-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.route-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.route-num {
  font-size: 1.375rem;
  font-weight: 700;
  color: #ffb800;
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 32px;
}

.route-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(246, 241, 228, 0.9);
  font-weight: 500;
}

.route-text small {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(246, 241, 228, 0.6);
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background-color: #ffb800;
  color: #101820;
}

.hero-actions .btn-secondary {
  border-color: rgba(246, 241, 228, 0.7);
  color: #f6f1e4;
}

.hero-actions .btn-secondary:hover {
  background-color: rgba(246, 241, 228, 0.1);
  color: #f6f1e4;
}

.hero-visual {
  background-color: #101820;
}

.visual-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.hero-figure {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a2430;
  aspect-ratio: 16 / 9;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   首页 Section 通用
   ========================================================================== */

.section-shell {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section-kicker {
  font-family: "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  font-size: 0.8125rem;
  color: #b8860b;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: #101820;
  margin-bottom: 16px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head-row .section-title {
  margin-bottom: 0;
}

/* ==========================================================================
   首页 阶段节点表
   ========================================================================== */

.route-table-section {
  background-color: #f6f1e4;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.route-card {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.route-card:hover {
  box-shadow: 0 4px 16px rgba(16, 24, 32, 0.08);
  transform: translateY(-2px);
}

.stage-num {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffb800;
  background-color: #101820;
  border-radius: 4px;
  padding: 2px 10px;
  margin-bottom: 14px;
}

.route-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.route-card p {
  font-size: 0.875rem;
  color: #707070;
  line-height: 1.7;
  margin-bottom: 14px;
}

.stage-output {
  display: inline-block;
  font-size: 0.8125rem;
  color: #b8860b;
  background-color: rgba(255, 184, 0, 0.12);
  border-radius: 4px;
  padding: 4px 10px;
  font-weight: 500;
}

/* ==========================================================================
   首页 服务入口档位
   ========================================================================== */

.service-index-section {
  background-color: #101820;
}

.service-index-section .section-kicker {
  color: #ffb800;
}

.service-index-section .section-title {
  color: #f6f1e4;
}

.service-index-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(246, 241, 228, 0.15);
  transition: background-color 0.2s ease;
}

.service-row:last-child {
  border-bottom: none;
}

.service-row:hover {
  background-color: rgba(255, 184, 0, 0.05);
}

.service-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffb800;
  text-align: center;
}

.service-name-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f6f1e4;
  margin-bottom: 4px;
}

.service-name-block p {
  font-size: 0.875rem;
  color: rgba(246, 241, 228, 0.7);
  line-height: 1.6;
}

.service-link-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffb800;
  white-space: nowrap;
}

.service-row:hover .service-link-label {
  text-decoration: underline;
}

/* ==========================================================================
   首页 作品样张带
   ========================================================================== */

.sample-strip-section {
  background-color: #f6f1e4;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sample-card {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sample-card:hover {
  box-shadow: 0 4px 16px rgba(16, 24, 32, 0.1);
  transform: translateY(-2px);
}

.sample-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sample-card figcaption {
  padding: 14px 16px;
}

.sample-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #101820;
  margin-bottom: 6px;
}

.sample-tags {
  font-size: 0.8125rem;
  color: #b8860b;
}

.sample-more-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background-color: #101820;
  border-color: #101820;
  text-align: center;
  padding: 24px;
}

.sample-more-card:hover {
  background-color: #1a2430;
}

.more-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.more-icon {
  font-size: 2rem;
  color: #ffb800;
  line-height: 1;
}

.more-text {
  font-size: 1rem;
  font-weight: 700;
  color: #f6f1e4;
}

.more-sub {
  font-size: 0.8125rem;
  color: rgba(246, 241, 228, 0.6);
}

/* ==========================================================================
   首页 高频问题短列表
   ========================================================================== */

.question-links-section {
  background-color: #fffdf7;
  border-top: 1px solid #e5ddc8;
}

.q-links-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.q-links-intro .section-title {
  margin-bottom: 12px;
}

.q-links-intro p {
  color: #707070;
  font-size: 0.9375rem;
}

.q-links-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid #101820;
}

.q-link-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 8px;
  border-bottom: 1px solid #e5ddc8;
  transition: background-color 0.2s ease;
}

.q-link-item:hover {
  background-color: rgba(255, 184, 0, 0.08);
}

.q-num {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffb800;
  flex-shrink: 0;
}

.q-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #101820;
}

.q-link-item:hover .q-text {
  color: #b8860b;
}

/* ==========================================================================
   首页 下一步行动区
   ========================================================================== */

.next-step-section {
  background-color: #101820;
}

.next-step-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0;
}

.next-step-text .section-kicker {
  color: #ffb800;
}

.next-step-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f6f1e4;
  margin-bottom: 8px;
}

.next-step-text p {
  font-size: 0.9375rem;
  color: rgba(246, 241, 228, 0.75);
}

.next-step-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   首页 相关内容导航
   ========================================================================== */

.related-links {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  border-top: 1px solid #e5ddc8;
}

.related-links-label {
  font-size: 0.8125rem;
  color: #707070;
  font-weight: 600;
  margin-right: 8px;
}

.related-links-item {
  font-size: 0.875rem;
  color: #b8860b;
  padding: 4px 0;
}

.related-links-item:hover {
  color: #101820;
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #101820;
  color: rgba(246, 241, 228, 0.8);
  margin-top: auto;
}

.footer-shell {
  padding-top: 48px;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f6f1e4;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: #ffb800;
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-desc {
  font-size: 0.8125rem;
  color: rgba(246, 241, 228, 0.6);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #f6f1e4;
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(246, 241, 228, 0.7);
  padding: 2px 0;
  display: inline-block;
}

.footer-col a:hover {
  color: #ffb800;
}

.footer-bottom {
  border-top: 1px solid rgba(246, 241, 228, 0.15);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(246, 241, 228, 0.5);
}

/* ==========================================================================
   服务内容页 layout（侧栏左 - 主内容右）
   ========================================================================== */

.page-service-scope .page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 24px;
}

.service-category-nav {
  position: sticky;
  top: 96px;
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 24px;
}

.service-category-nav h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #101820;
}

.service-category-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.service-category-nav li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #101820;
  transition: background-color 0.2s ease;
}

.service-category-nav li a:hover {
  background-color: rgba(255, 184, 0, 0.15);
}

.cat-num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffb800;
}

.sidebar-note {
  font-size: 0.8125rem;
  color: #707070;
  line-height: 1.7;
  border-top: 1px solid #e5ddc8;
  padding-top: 16px;
}

.sidebar-note a {
  color: #b8860b;
  font-weight: 500;
  display: inline-block;
  padding: 2px 0;
}

.sidebar-note a:hover {
  text-decoration: underline;
}

/* 服务内容主区 */

.service-detail-content {
  min-width: 0;
}

.service-match-method {
  background-color: #101820;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 48px;
}

.service-match-method h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f6f1e4;
  margin-bottom: 12px;
}

.service-match-method p {
  font-size: 0.9375rem;
  color: rgba(246, 241, 228, 0.85);
  margin-bottom: 12px;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.match-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.9375rem;
  color: rgba(246, 241, 228, 0.9);
}

.match-list li::before {
  content: "—";
  color: #ffb800;
  font-weight: 700;
}

.service-section {
  margin-bottom: 56px;
  scroll-margin-top: 96px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid #101820;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.section-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffb800;
  background-color: #101820;
  border-radius: 4px;
  padding: 2px 12px;
  line-height: 1.4;
  flex-shrink: 0;
}

.section-heading-row h2 {
  font-size: 1.375rem;
  font-weight: 800;
}

.service-section > p {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 680px;
}

.service-section h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 20px 0 10px;
}

.service-figure {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5ddc8;
  margin: 20px 0;
  background-color: #fffdf7;
}

.service-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-figure figcaption {
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #707070;
  background-color: #fffdf7;
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.deliverable-list li {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #101820;
  position: relative;
  padding-left: 36px;
}

.deliverable-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 12px;
  height: 12px;
  background-color: #ffb800;
  border-radius: 2px;
}

.process-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.process-steps li {
  counter-increment: step;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9375rem;
  color: #444;
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 6px;
  padding: 12px 16px;
}

.process-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-weight: 700;
  color: #ffb800;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.process-steps strong {
  font-weight: 700;
  color: #101820;
}

/* 适用边界清单 */

.boundary-list {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 40px;
}

.boundary-list h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.boundary-list ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.boundary-list li {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #444;
  padding-left: 20px;
  position: relative;
}

.boundary-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #ffb800;
  font-weight: 700;
  font-size: 1.125rem;
}

/* 服务页相关链接 */

.page-service-scope .related-links {
  border-top: 1px solid #e5ddc8;
  margin-top: 24px;
}

/* ==========================================================================
   作品归档页 layout（主内容左 - 侧栏右）
   ========================================================================== */

.page-samples .archive-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
  padding-top: 24px;
}

.archive-list.main-content {
  min-width: 0;
  padding: 0;
}

.archive-sidebar.sidebar-right {
  position: sticky;
  top: 96px;
}

/* 归档页 header 位于 main 内部 */

.archive-list .page-header {
  padding: 0 0 24px;
}

.archive-note {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.archive-note .section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.archive-note p {
  font-size: 0.875rem;
  color: #707070;
  line-height: 1.7;
}

.archive-group {
  margin-bottom: 48px;
  scroll-margin-top: 96px;
}

.archive-group .section-title {
  font-size: 1.375rem;
  font-weight: 800;
  border-bottom: 2px solid #101820;
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.group-desc {
  font-size: 0.875rem;
  color: #707070;
  margin-bottom: 16px;
}

.archive-group .sample-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sample-item {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.sample-item:hover {
  box-shadow: 0 4px 12px rgba(16, 24, 32, 0.08);
}

.sample-figure {
  background-color: #1a2430;
}

.sample-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sample-item .sample-title {
  display: block;
  padding: 12px 14px 4px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 14px;
}

.tag-list li {
  font-size: 0.75rem;
  color: #b8860b;
  background-color: rgba(255, 184, 0, 0.12);
  border-radius: 4px;
  padding: 2px 8px;
}

/* 归档底部说明 */

.next-note {
  background-color: #101820;
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 24px;
}

.next-note .section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f6f1e4;
  margin-bottom: 8px;
}

.next-note p {
  font-size: 0.9375rem;
  color: rgba(246, 241, 228, 0.8);
  line-height: 1.7;
}

.next-note a {
  color: #ffb800;
  font-weight: 600;
  padding: 2px 0;
}

.next-note a:hover {
  text-decoration: underline;
}

/* 归档侧栏 */

.sidebar-block {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-block h2 {
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 2px solid #101820;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.category-anchor-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.category-anchor-list a {
  display: block;
  padding: 8px 6px;
  font-size: 0.875rem;
  color: #101820;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.category-anchor-list a:hover {
  background-color: rgba(255, 184, 0, 0.15);
  color: #101820;
}

.tag-cloud-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-cloud-list li a {
  display: inline-block;
  font-size: 0.8125rem;
  color: #444;
  background-color: #f6f1e4;
  border: 1px solid #e5ddc8;
  border-radius: 4px;
  padding: 4px 10px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tag-cloud-list li a:hover {
  background-color: #ffb800;
  border-color: #ffb800;
  color: #101820;
}

/* ==========================================================================
   合作流程页
   ========================================================================== */

.page-workflow .page-layout {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.process-stages {
  margin-bottom: 48px;
}

.process-stages .section-heading-row {
  border-bottom: 2px solid #101820;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.process-stages .section-heading-row h2 {
  font-size: 1.375rem;
  font-weight: 800;
}

.stage-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stage-item {
  display: flex;
  gap: 20px;
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.stage-item:hover {
  box-shadow: 0 4px 12px rgba(16, 24, 32, 0.06);
}

.stage-number {
  font-size: 2rem;
  font-weight: 700;
  color: #ffb800;
  background-color: #101820;
  border-radius: 6px;
  padding: 4px 14px;
  line-height: 1.3;
  flex-shrink: 0;
  height: fit-content;
}

.stage-content {
  flex: 1;
  min-width: 0;
}

.stage-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stage-content p {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 10px;
}

.stage-output {
  display: inline-block;
  font-size: 0.8125rem;
  color: #b8860b;
  background-color: rgba(255, 184, 0, 0.12);
  border-radius: 4px;
  padding: 4px 10px;
  font-weight: 500;
}

.status-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5ce1e6;
  background-color: rgba(92, 225, 230, 0.1);
  border: 1px solid rgba(92, 225, 230, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
}

/* 流程页配图 */

.workflow-media {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5ddc8;
  margin-bottom: 48px;
  background-color: #fffdf7;
}

.workflow-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.workflow-media figcaption {
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #707070;
  background-color: #fffdf7;
}

/* 确认对象表格 */

.confirmation-table-section {
  margin-bottom: 48px;
}

.confirmation-table-section h2 {
  font-size: 1.375rem;
  font-weight: 800;
  border-bottom: 2px solid #101820;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.confirmation-table-section > p {
  font-size: 0.9375rem;
  color: #707070;
  margin-bottom: 16px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  background-color: #fffdf7;
}

.confirmation-table {
  width: 100%;
  min-width: 560px;
}

.confirmation-table th,
.confirmation-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #e5ddc8;
  font-size: 0.875rem;
  line-height: 1.6;
}

.confirmation-table thead th {
  background-color: #101820;
  color: #f6f1e4;
  font-weight: 700;
  white-space: nowrap;
}

.confirmation-table tbody tr:last-child td {
  border-bottom: none;
}

.confirmation-table tbody tr:nth-child(even) td {
  background-color: rgba(246, 241, 228, 0.4);
}

/* 返工诱因 */

.rework-note {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 40px;
}

.rework-note > h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.rework-note > p {
  font-size: 0.9375rem;
  color: #707070;
  margin-bottom: 20px;
}

.rework-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rework-index {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffb800;
  background-color: #101820;
  border-radius: 4px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

.rework-text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.rework-text p {
  font-size: 0.875rem;
  color: #707070;
  line-height: 1.7;
}

.rework-tip {
  margin-top: 20px;
  font-size: 0.875rem;
}

.rework-tip a {
  color: #b8860b;
  font-weight: 600;
}

.rework-tip a:hover {
  text-decoration: underline;
}

/* 流程页 CTA */

.process-cta {
  margin-top: 24px;
}

.cta-card {
  background-color: #101820;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-card p {
  font-size: 1rem;
  color: #f6f1e4;
  line-height: 1.7;
  max-width: 480px;
}

.cta-card p a {
  color: #ffb800;
  font-weight: 600;
}

.cta-card p a:hover {
  text-decoration: underline;
}

.cta-links {
  display: flex;
  gap: 12px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid #ffb800;
  color: #ffb800;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-link:hover {
  background-color: #ffb800;
  color: #101820;
}

/* ==========================================================================
   咨询指南页
   ========================================================================== */

.page-guide .guide-section {
  margin-bottom: 48px;
}

.guide-section .section-title {
  font-size: 1.375rem;
  font-weight: 800;
  border-bottom: 2px solid #101820;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 0.9375rem;
  color: #707070;
  margin-bottom: 20px;
}

.direction-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.direction-item {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 24px;
}

.direction-number {
  display: inline-block;
  font-size: 1.375rem;
  font-weight: 700;
  color: #ffb800;
  background-color: #101820;
  border-radius: 4px;
  padding: 2px 10px;
  margin-bottom: 12px;
}

.direction-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.direction-content p {
  font-size: 0.875rem;
  color: #707070;
  line-height: 1.7;
}

/* 简报六项信息（两列清单） */

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.brief-item {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 20px;
}

.brief-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #101820;
}

.brief-item h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ffb800;
  margin-right: 8px;
  vertical-align: 2px;
}

.brief-item p {
  font-size: 0.875rem;
  color: #707070;
  line-height: 1.7;
}

/* 检查清单表格 */

.checklist-table {
  width: 100%;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fffdf7;
}

.checklist-row {
  display: grid;
  grid-template-columns: 120px 1fr;
}

.checklist-row + .checklist-row {
  border-top: 1px solid #e5ddc8;
}

.checklist-row > span:first-child {
  background-color: #101820;
  color: #f6f1e4;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 14px 16px;
}

.checklist-row > span:last-child {
  font-size: 0.875rem;
  color: #444;
  padding: 14px 16px;
  line-height: 1.7;
}

/* 指南页配图 */

.guide-figure {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5ddc8;
  margin-bottom: 24px;
  background-color: #fffdf7;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #707070;
  background-color: #fffdf7;
}

/* 指南页收尾 */

.guide-next-step {
  background-color: #101820;
  border-radius: 8px;
  padding: 28px 32px;
  margin-top: 24px;
}

.guide-next-step .section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f6f1e4;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}

.guide-next-step p {
  font-size: 0.9375rem;
  color: rgba(246, 241, 228, 0.8);
  line-height: 1.7;
  margin-bottom: 8px;
}

.guide-next-step a {
  color: #ffb800;
  font-weight: 600;
}

.guide-next-step a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FAQ 页
   ========================================================================== */

.faq-category-anchors {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 0;
}

.faq-category-anchors ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-category-anchors a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #101820;
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-category-anchors a:hover {
  background-color: #ffb800;
  border-color: #ffb800;
}

.faq-section {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.faq-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid #101820;
  padding-bottom: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.faq-status-mark {
  width: 10px;
  height: 10px;
  background-color: #5ce1e6;
  border-radius: 2px;
  flex-shrink: 0;
}

.faq-section-heading h2 {
  font-size: 1.25rem;
  font-weight: 800;
}

.faq-section-heading p {
  font-size: 0.8125rem;
  color: #707070;
  margin-left: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #101820;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.375rem;
  font-weight: 400;
  color: #ffb800;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary {
  background-color: rgba(255, 184, 0, 0.06);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid #e5ddc8;
}

.faq-answer {
  padding: 16px 20px;
}

.faq-answer p {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #b8860b;
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-figure {
  border-radius: 6px;
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid #e5ddc8;
  background-color: #fffdf7;
}

.faq-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.faq-figure figcaption {
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: #707070;
}

/* FAQ 帮助提示 */

.faq-help-note {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.faq-help-note p {
  font-size: 0.9375rem;
  color: #707070;
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 20px 24px;
  line-height: 1.8;
}

.faq-help-note a {
  color: #b8860b;
  font-weight: 600;
}

.faq-help-note a:hover {
  text-decoration: underline;
}

/* FAQ 下一步 */

.page-faq .next-step-block {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.next-step-content {
  background-color: #101820;
  border-radius: 8px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.next-step-text {
  font-size: 0.9375rem;
  color: rgba(246, 241, 228, 0.85);
  line-height: 1.7;
  max-width: 480px;
}

.next-step-actions {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   关于工作室页
   ========================================================================== */

.page-about .section-block {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

/* 工作室定位 */

.studio-position {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}

.position-copy h2 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
}

.position-copy p {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}

.position-copy .text-link {
  margin-top: 8px;
}

.position-figure {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5ddc8;
  background-color: #1a2430;
}

.position-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.position-figure figcaption {
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #707070;
  background-color: #fffdf7;
}

/* 工作原则 */

.work-principles {
  padding-bottom: 32px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid #101820;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.section-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffb800;
  background-color: #101820;
  border-radius: 4px;
  padding: 2px 12px;
  line-height: 1.4;
  flex-shrink: 0;
}

.section-heading h2 {
  font-size: 1.375rem;
  font-weight: 800;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.principle-card {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 24px;
}

.principle-index {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffb800;
  background-color: #101820;
  border-radius: 4px;
  padding: 2px 10px;
  display: inline-block;
  margin-bottom: 12px;
}

.principle-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 0.875rem;
  color: #707070;
  line-height: 1.7;
}

/* 适合合作项目 */

.suitable-projects {
  padding-bottom: 32px;
}

.suitable-copy h2 {
  font-size: 1.375rem;
  font-weight: 800;
  border-bottom: 2px solid #101820;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.suitable-copy p {
  font-size: 0.9375rem;
  color: #707070;
  margin-bottom: 20px;
}

.suitable-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.suitable-list li {
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 20px;
}

.suitable-item-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #101820;
}

.suitable-list li p:last-child {
  font-size: 0.875rem;
  color: #707070;
  line-height: 1.7;
}

.next-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.next-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid #101820;
  color: #101820;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.next-links a:hover {
  background-color: #101820;
  color: #f6f1e4;
}

/* 创作过程顶端横幅 */

.process-banner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 0;
  border-radius: 8px;
  overflow: hidden;
}

.process-banner img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 8px;
}

/* ==========================================================================
   404 页
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  min-height: 60vh;
}

.error-panel {
  max-width: 560px;
  text-align: center;
  background-color: #fffdf7;
  border: 1px solid #e5ddc8;
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 4rem;
  font-weight: 800;
  color: #ffb800;
  background-color: #101820;
  border-radius: 8px;
  padding: 8px 24px;
  display: inline-block;
  margin-bottom: 24px;
  line-height: 1.2;
}

.error-panel h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 0.9375rem;
  color: #707070;
  line-height: 1.8;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.error-help {
  font-size: 0.875rem;
  color: #707070;
}

.error-help a {
  color: #b8860b;
  font-weight: 600;
}

.error-help a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   响应式
   ========================================================================== */

/* 平板及以下（1023px） */
@media (max-width: 1023px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .route-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-service-scope .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-category-nav {
    position: static;
    order: 2;
  }

  .service-detail-content {
    order: 1;
  }

  .page-samples .archive-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .archive-sidebar.sidebar-right {
    position: static;
    order: 2;
  }

  .archive-list.main-content {
    order: 1;
  }

  .page-faq .page-header {
    flex-direction: column;
  }

  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .suitable-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 移动端（767px） */
@media (max-width: 767px) {
  .header-shell {
    min-height: 60px;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(246, 241, 228, 0.1);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 14px 8px;
    font-size: 1rem;
    border-radius: 0;
  }

  .nav-list a.is-current {
    background-color: rgba(255, 184, 0, 0.1);
  }

  .nav-list a.is-current::after,
  .nav-list a:hover::after {
    display: none;
  }

  /* 页面标题区 */
  .page-header {
    padding: 24px 20px 4px;
  }

  .page-title {
    font-size: 1.625rem;
  }

  .hero-shell {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-copy h1 {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-shell {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .service-link-label {
    grid-column: 2;
  }

  .sample-grid {
    grid-template-columns: 1fr;
  }

  .sample-more-card {
    min-height: 160px;
  }

  .q-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .next-step-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 0;
  }

  .next-step-actions {
    width: 100%;
    flex-direction: column;
  }

  .next-step-actions .btn {
    width: 100%;
  }

  /* 页脚 */
  .footer-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(246, 241, 228, 0.15);
    padding-top: 16px;
  }

  .footer-col {
    border-bottom: 1px solid rgba(246, 241, 228, 0.1);
  }

  .footer-col h3 {
    margin-bottom: 0;
    padding: 14px 0;
    position: relative;
    cursor: pointer;
  }

  .footer-col h3::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #ffb800;
  }

  .footer-col ul {
    display: none;
    padding-bottom: 14px;
  }

  /* 桌面端展开 */
  @media (min-width: 768px) {
    .footer-col ul {
      display: flex;
    }

    .footer-col h3::after {
      display: none;
    }
  }

  /* 服务目录行移动端 */
  .deliverable-list {
    grid-template-columns: 1fr;
  }

  .boundary-list ul {
    grid-template-columns: 1fr;
  }

  /* 归档页 */
  .archive-group .sample-grid {
    grid-template-columns: 1fr;
  }

  .tag-cloud-list {
    justify-content: flex-start;
  }

  /* 流程页 */
  .stage-item {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .stage-number {
    font-size: 1.5rem;
    padding: 2px 12px;
    align-self: flex-start;
  }

  .rework-list {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .cta-links {
    width: 100%;
    flex-direction: column;
  }

  .cta-link {
    width: 100%;
  }

  /* 指南页 */
  .direction-list {
    grid-template-columns: 1fr;
  }

  .brief-grid {
    grid-template-columns: 1fr;
  }

  .checklist-row {
    grid-template-columns: 1fr;
  }

  .checklist-row > span:first-child {
    border-bottom: 1px solid rgba(246, 241, 228, 0.2);
  }

  /* FAQ */
  .faq-section-heading p {
    margin-left: 0;
    width: 100%;
  }

  .next-step-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .next-step-actions {
    width: 100%;
    flex-direction: column;
  }

  .next-step-actions .btn {
    width: 100%;
  }

  /* 关于页 */
  .studio-position {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .suitable-list {
    grid-template-columns: 1fr;
  }

  /* 404 */
  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 3rem;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn {
    width: 100%;
  }
}

/* 移动端页脚折叠（最终规则） */
@media (max-width: 767px) {
  .footer-col ul {
    display: none;
  }

  .footer-col.is-open ul {
    display: flex;
  }

  .footer-col h3 {
    cursor: pointer;
  }
}

/* 桌面端页脚展开 */
@media (min-width: 768px) {
  .footer-col ul {
    display: flex;
  }

  .footer-col h3 {
    cursor: default;
  }

  .footer-col h3::after {
    display: none;
  }
}

/* 桌面断点重设（避免移动端规则污染） */
@media (min-width: 768px) {
  .nav-list {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    width: auto;
  }
}

/* 服务侧栏在桌面端左、移动端右 */
@media (max-width: 1023px) {
  .sidebar-left .service-category-nav,
  .sidebar-left.service-category-nav {
    order: 2;
  }

  .sidebar-left .service-detail-content,
  .sidebar-left.service-detail-content {
    order: 1;
  }
}

/* 归档侧栏在移动端位于主内容之后 */
@media (max-width: 1023px) {
  .archive-sidebar.sidebar-right {
    order: 2;
  }

  .archive-list.main-content {
    order: 1;
  }
}

/* 作品样张带 —— 桌面端 3 列，移动端 1 列 */
@media (min-width: 768px) and (max-width: 1023px) {
  .sample-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 内容宽度保护 */
@media (min-width: 768px) {
  .archive-list.main-content {
    min-width: 520px;
  }

  .service-detail-content {
    min-width: 520px;
  }
}

/* 字体平滑 */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 链接 title 属性提示 */
a[title] {
  cursor: pointer;
}

/* 焦点可见性 */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #ffb800;
  outline-offset: 2px;
}

/* 图片占满容器但不破坏比例 */
.sample-card img,
.sample-figure img,
.hero-figure img,
.service-figure img,
.workflow-media img,
.position-figure img,
.faq-figure img,
.guide-figure img,
.process-banner img {
  width: 100%;
  height: auto;
}

/* 表格容器 */
.table-scroll {
  -webkit-overflow-scrolling: touch;
}

/* 移动端折叠面板动画 */
.footer-col ul {
  transition: max-height 0.25s ease;
}

/* 动效增强（不影响初始可见性） */
.route-card,
.sample-card,
.stage-item,
.direction-item,
.brief-item,
.principle-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.route-card:hover,
.sample-item:hover,
.stage-item:hover,
.direction-item:hover,
.brief-item:hover,
.principle-card:hover {
  box-shadow: 0 4px 12px rgba(16, 24, 32, 0.08);
}

/* 首页 hero 视觉 */
.hero-visual {
  background-color: #101820;
  padding-bottom: 0;
}

.visual-shell {
  padding-bottom: 48px;
}

/* 首页服务区深色背景下的文本链接 */
.service-index-section .text-link {
  color: #ffb800;
}

/* FAQ details 浏览器默认 marker 隐藏 */
.faq-item summary {
  -webkit-appearance: none;
  appearance: none;
}

/* 桌面端服务侧栏 sticky 高度控制 */
@media (min-width: 1024px) {
  .service-category-nav {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .archive-sidebar.sidebar-right {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

/* 归档页 DOM 顺序：main 在 aside 前 */
@media (min-width: 1024px) {
  .page-samples .archive-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .archive-list.main-content {
    grid-column: 1;
  }

  .archive-sidebar.sidebar-right {
    grid-column: 2;
  }
}

/* 服务内容页 DOM 顺序：aside 在 main 前 */
@media (min-width: 1024px) {
  .page-service-scope .page-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .service-category-nav {
    grid-column: 1;
  }

  .service-detail-content {
    grid-column: 2;
  }
}

/* 移动端侧栏顺序纠正 */
@media (max-width: 1023px) {
  .page-samples .archive-layout {
    display: flex;
    flex-direction: column;
  }

  .archive-list.main-content {
    order: 1;
  }

  .archive-sidebar.sidebar-right {
    order: 2;
  }

  .page-service-scope .page-layout {
    display: flex;
    flex-direction: column;
  }

  .service-category-nav {
    order: 2;
    position: static;
  }

  .service-detail-content {
    order: 1;
  }
}

/* 移动端 H1 在辅助内容之前 */
@media (max-width: 767px) {
  .page-samples .archive-layout {
    display: flex;
    flex-direction: column;
  }

  .archive-list.main-content {
    order: 1;
  }

  .archive-sidebar.sidebar-right {
    order: 2;
  }
}

/* 归档页面包屑、标题、说明、列表都在侧栏前 */
.archive-list .breadcrumb,
.archive-list .page-header,
.archive-list .archive-note,
.archive-list .archive-group,
.archive-list .next-note {
  position: relative;
  z-index: 1;
}

/* 归档移动端布局最终修正 */
@media (max-width: 1023px) {
  .page-samples .archive-layout {
    display: flex;
    flex-direction: column;
  }

  .archive-list.main-content {
    order: 1;
    width: 100%;
  }

  .archive-sidebar.sidebar-right {
    order: 2;
    width: 100%;
    position: static;
  }
}

/* 服务内容移动端布局最终修正 */
@media (max-width: 1023px) {
  .page-service-scope .page-layout {
    display: flex;
    flex-direction: column;
  }

  .service-category-nav {
    order: 2;
    width: 100%;
    position: static;
  }

  .service-detail-content {
    order: 1;
    width: 100%;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
