/* ==========================================================================
   天美精品 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background-color: #f4f1ea;
  color: #1b2220;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun",
    Georgia, serif;
  font-weight: 700;
  color: #223f57;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #223f57;
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: #b0522c;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid #b0522c;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   layout · 全局骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #fffdf8;
  border-bottom: 1px solid #d9d2c4;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-mark {
  flex: 0 0 auto;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun",
    Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: #223f57;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark:hover,
.brand-mark:focus-visible {
  color: #b0522c;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li {
  flex: 0 0 auto;
}

.nav-link {
  display: inline-block;
  padding: 8px 10px;
  font-size: 14.5px;
  color: #223f57;
  border-bottom: 2px solid transparent;
  line-height: 1.4;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #b0522c;
  border-bottom-color: #b0522c;
}

.nav-link.is-current {
  color: #b0522c;
  border-bottom-color: #b0522c;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid #d9d2c4;
  border-radius: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #223f57;
}

.mobile-menu {
  display: none;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  font-size: 16px;
  color: #223f57;
  border-bottom: 1px solid #d9d2c4;
}

.mobile-nav-link.is-active {
  color: #b0522c;
  background-color: #f4f1ea;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: #788b8a;
}

.breadcrumb a {
  color: #788b8a;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #b0522c;
}

.breadcrumb-sep {
  color: #d9d2c4;
}

.breadcrumb-current {
  color: #223f57;
}

/* 页标题区 */
.page-header {
  padding: 16px 0 0;
}

.page-title {
  font-size: 32px;
  color: #223f57;
  line-height: 1.3;
}

.page-title-block {
  padding: 32px 0 8px;
}

.page-summary {
  max-width: 780px;
  margin-top: 12px;
  font-size: 15.5px;
  color: #3a4744;
  line-height: 1.8;
}

.page-head {
  padding: 24px 0 8px;
}

.page-kicker {
  font-size: 13px;
  color: #788b8a;
  letter-spacing: 0;
}

.page-lead {
  max-width: 780px;
  margin-top: 10px;
  font-size: 15.5px;
  color: #3a4744;
}

.page-eyebrow {
  font-size: 13px;
  color: #b0522c;
}

/* 内页通用两栏骨架 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 80px;
  align-items: start;
  margin-top: 28px;
}

.page-layout.sidebar-left {
  grid-template-columns: 320px minmax(0, 1fr);
}

.page-content,
.content-main,
.page-main-column {
  min-width: 0;
}

.content-aside,
.page-side-column,
.toc-sidebar {
  min-width: 0;
}

/* 页脚 */
.site-footer {
  background-color: #223f57;
  color: #e6e1d6;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(230, 225, 214, 0.24);
}

.footer-position {
  max-width: 640px;
  font-size: 15px;
  color: #e6e1d6;
  line-height: 1.8;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14.5px;
  color: #fffdf8;
  border: 1px solid rgba(230, 225, 214, 0.5);
  border-radius: 4px;
  white-space: nowrap;
}

.footer-cta:hover,
.footer-cta:focus-visible {
  color: #fffdf8;
  background-color: #b0522c;
  border-color: #b0522c;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(230, 225, 214, 0.24);
}

.footer-group-toggle {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #fffdf8;
  padding: 0 0 10px;
  border-bottom: 1px solid transparent;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: #c8cfd2;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fffdf8;
  text-decoration: underline;
}

.footer-boundary {
  padding: 24px 0;
  border-bottom: 1px solid rgba(230, 225, 214, 0.24);
}

.footer-boundary p {
  font-size: 13px;
  color: #a9b4b8;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
}

.footer-brand {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun",
    Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: #fffdf8;
}

.footer-note {
  font-size: 13px;
  color: #a9b4b8;
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}

.btn-primary {
  color: #fffdf8;
  background-color: #223f57;
  border-color: #223f57;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fffdf8;
  background-color: #b0522c;
  border-color: #b0522c;
}

.btn-ghost {
  color: #223f57;
  background-color: transparent;
  border-color: #223f57;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #b0522c;
  border-color: #b0522c;
}

/* 区块通用头部 */
.section {
  padding: 56px 0;
  border-bottom: 1px solid #d9d2c4;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 26px;
  color: #223f57;
}

.section-desc {
  max-width: 760px;
  margin-top: 10px;
  font-size: 15px;
  color: #3a4744;
  line-height: 1.8;
}

.section-desc a {
  color: #b0522c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-title {
  font-size: 24px;
  color: #223f57;
}

.section-num {
  display: inline-block;
  margin-right: 10px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 15px;
  color: #b0522c;
}

.section-lead {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 15px;
  color: #3a4744;
  line-height: 1.8;
}

.section-intro {
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: 15px;
  color: #3a4744;
  line-height: 1.8;
}

.section-note {
  margin-top: 8px;
  font-size: 14px;
  color: #788b8a;
}

/* 图片与图注 */
.hero-figure,
.content-figure,
.media-figure,
.capability-figure,
.scene-figure,
.workbench-figure,
.page-figure {
  overflow: hidden;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.hero-figure img,
.content-figure img,
.media-figure img,
.capability-figure img,
.scene-figure img,
.workbench-figure img,
.page-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-figure:hover img,
.content-figure:hover img,
.media-figure:hover img,
.capability-figure:hover img,
.scene-figure:hover img,
.workbench-figure:hover img,
.page-figure:hover img {
  transform: scale(1.012);
}

.figure-caption,
.content-figure figcaption,
.media-figure figcaption,
.capability-figure figcaption,
.scene-figure figcaption,
.workbench-figure figcaption,
.page-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #788b8a;
  line-height: 1.7;
  border-top: 1px solid #d9d2c4;
  background-color: #fffdf8;
}

/* 表格容器 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.data-table,
.scene-table,
.scenario-table {
  width: 100%;
  min-width: 620px;
  font-size: 14.5px;
}

.data-table th,
.data-table td,
.scene-table th,
.scene-table td,
.scenario-table th,
.scenario-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e6e0d4;
  line-height: 1.7;
}

.data-table thead th,
.scene-table thead th,
.scenario-table thead th {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun",
    Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: #223f57;
  background-color: #f4f1ea;
  border-bottom: 1px solid #d9d2c4;
  white-space: nowrap;
}

.data-table tbody th,
.scene-table tbody th,
.scenario-table tbody th {
  font-weight: 700;
  color: #223f57;
  background-color: #faf7f0;
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.scene-table tbody tr:last-child th,
.scene-table tbody tr:last-child td,
.scenario-table tbody tr:last-child th,
.scenario-table tbody tr:last-child td {
  border-bottom: 0;
}

.table-caption {
  caption-side: top;
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  color: #788b8a;
  background-color: #f4f1ea;
  border-bottom: 1px solid #d9d2c4;
}

/* 路线提示条 */
.route-hint {
  margin-top: 32px;
  padding: 20px 22px;
  border: 1px solid #d9d2c4;
  border-left: 3px solid #b0522c;
  border-radius: 4px;
  background-color: #fffdf8;
}

.route-hint-title,
.route-hint-text,
.route-lead,
.route-hint-lead {
  font-size: 14px;
  font-weight: 700;
  color: #223f57;
  margin-bottom: 10px;
}

.route-hint-list,
.route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.route-hint-list li,
.route-list li {
  min-width: 0;
}

.route-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  color: #223f57;
  border-bottom: 1px solid transparent;
  padding: 2px 0;
}

.route-link::after {
  content: "→";
  color: #b0522c;
  font-size: 14px;
}

.route-link:hover,
.route-link:focus-visible {
  color: #b0522c;
  border-bottom-color: #b0522c;
}

.route-arrow {
  color: #b0522c;
  margin-left: 4px;
}

/* 相关内容条 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid #d9d2c4;
}

.related-links-label {
  font-size: 13px;
  color: #788b8a;
}

.related-links-item {
  font-size: 14px;
  color: #223f57;
  border-bottom: 1px solid #d9d2c4;
  padding-bottom: 2px;
}

.related-links-item:hover,
.related-links-item:focus-visible {
  color: #b0522c;
  border-bottom-color: #b0522c;
}

/* 结论摘要框 */
.summary-box,
.conclusion-box {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 3px solid #788b8a;
  border-radius: 4px;
  background-color: #eef1ee;
}

.summary-box h2,
.conclusion-box h2 {
  font-size: 18px;
  color: #223f57;
  margin-bottom: 10px;
}

.summary-box p,
.conclusion-box p {
  font-size: 15px;
  color: #2f3b38;
  line-height: 1.8;
}

.summary-box p + p,
.conclusion-box p + p {
  margin-top: 8px;
}

/* 折叠问答 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid #d9d2c4;
  border-radius: 4px;
  background-color: #fffdf8;
}

.faq-question {
  position: relative;
  display: block;
  padding: 16px 46px 16px 18px;
  font-size: 15.5px;
  font-weight: 700;
  color: #223f57;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid #b0522c;
  border-bottom: 2px solid #b0522c;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq-question:hover {
  color: #b0522c;
}

.faq-answer {
  padding: 0 18px 18px;
  border-top: 1px solid #e6e0d4;
}

.faq-answer p {
  margin-top: 12px;
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.faq-answer a {
  color: #b0522c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 侧栏小节目录（通用） */
.toc,
.toc-panel,
.side-toc,
.toc-sidebar {
  padding: 18px 20px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.toc-title,
.toc-heading,
.side-toc-title,
#toc-title {
  font-size: 14px;
  font-weight: 700;
  color: #223f57;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6e0d4;
}

.toc-list,
.side-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list a,
.side-toc-list a,
.toc-link {
  display: block;
  padding: 7px 0 7px 12px;
  font-size: 14px;
  color: #3a4744;
  border-left: 2px solid transparent;
  line-height: 1.5;
}

.toc-list a:hover,
.toc-list a:focus-visible,
.side-toc-list a:hover,
.side-toc-list a:focus-visible,
.toc-link:hover,
.toc-link:focus-visible {
  color: #b0522c;
  border-left-color: #b0522c;
}

/* 侧栏索引（系列页） */
.page-aside {
  min-width: 0;
}

.aside-title {
  font-size: 15px;
  font-weight: 700;
  color: #223f57;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d2c4;
}

.zone-index {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zone-link {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  padding: 12px 14px;
  border: 1px solid #d9d2c4;
  border-radius: 4px;
  background-color: #fffdf8;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.zone-link:hover,
.zone-link:focus-visible {
  border-color: #b0522c;
  transform: translateY(-1px);
}

.zone-swatch {
  grid-row: 1 / span 2;
  align-self: start;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 2px;
  background-color: #788b8a;
}

.zone-swatch-gift {
  background-color: #b0522c;
}

.zone-swatch-channel {
  background-color: #223f57;
}

.zone-swatch-brand {
  background-color: #788b8a;
}

.zone-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #223f57;
  line-height: 1.5;
}

.zone-desc {
  font-size: 13px;
  color: #788b8a;
  line-height: 1.6;
}

.aside-note {
  margin-top: 16px;
  font-size: 13px;
  color: #788b8a;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: 48px 0 56px;
  border-bottom: 1px solid #d9d2c4;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.hero-content {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  color: #b0522c;
  border: 1px solid #e3c4b4;
  border-radius: 4px;
  background-color: #fbf0e9;
}

.hero-content h1 {
  margin-top: 18px;
  font-size: 40px;
  line-height: 1.28;
  color: #223f57;
}

.hero-lead {
  margin-top: 18px;
  font-size: 16.5px;
  color: #2f3b38;
  line-height: 1.8;
}

.hero-sub {
  margin-top: 12px;
  font-size: 15px;
  color: #5a6663;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-media {
  min-width: 0;
}

.hero-figure {
  border-radius: 6px;
}

.hero-figure img {
  aspect-ratio: 4 / 3;
}

.route-hints {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.route-hints .route-hint {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px dashed #d9d2c4;
  border-radius: 0;
  background: transparent;
}

.route-hints .route-hint:last-child {
  border-bottom: 0;
}

.route-label {
  flex: 0 0 auto;
  font-size: 13px;
  color: #788b8a;
  white-space: nowrap;
}

/* 服务分区索引 */
.index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.index-panel {
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  border: 1px solid #d9d2c4;
  border-top: 3px solid #788b8a;
  border-radius: 6px;
  background-color: #fffdf8;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    transform 0.18s ease;
}

.index-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 63, 87, 0.08);
}

.index-panel .tag-series {
  border-top-color: #b0522c;
}

.index-panel .tag-craft {
  border-top-color: #223f57;
}

.index-panel .tag-process {
  border-top-color: #788b8a;
}

.index-panel .tag-scenario {
  border-top-color: #b0a08c;
}

.panel-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  font-size: 12px;
  color: #223f57;
  border: 1px solid #d9d2c4;
  border-radius: 3px;
  background-color: #f4f1ea;
  margin-bottom: 12px;
}

.panel-title {
  font-size: 18px;
  color: #223f57;
  margin-bottom: 8px;
}

.panel-text {
  flex: 1 1 auto;
  font-size: 14px;
  color: #3a4744;
  line-height: 1.75;
}

.panel-link {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #b0522c;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}

.panel-link:hover,
.panel-link:focus-visible {
  border-bottom-color: #b0522c;
}

/* 能力清单 */
.capability-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.capability-col {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.capability-col:first-child {
  border-left: 3px solid #223f57;
}

.capability-col:last-child {
  border-left: 3px solid #b0522c;
}

.capability-heading {
  font-size: 17px;
  color: #223f57;
  margin-bottom: 14px;
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.capability-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.75;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #788b8a;
}

.capability-figure {
  margin-top: 28px;
  max-width: 100%;
}

.capability-figure img {
  aspect-ratio: 16 / 7;
}

/* 打样与交付节点条 */
.node-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.node-track .node-item {
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.node-num {
  display: inline-block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  color: #b0522c;
  margin-bottom: 8px;
}

.node-track .node-title {
  font-size: 16px;
  color: #223f57;
  margin-bottom: 10px;
}

.node-track .node-output {
  font-size: 13.5px;
  color: #3a4744;
  line-height: 1.7;
}

.node-track .node-risk {
  margin-top: 8px;
  font-size: 13px;
  color: #788b8a;
  line-height: 1.7;
}

.nodes-note {
  margin-top: 18px;
  font-size: 14px;
  color: #3a4744;
}

.nodes-note a {
  color: #b0522c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 适用场景对照 */
.scenario-table {
  min-width: 640px;
}

/* 合作步骤 */
.cooperation-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.cooperation-steps,
.cooperation-checklist {
  min-width: 0;
  padding: 24px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.cooperation-heading {
  font-size: 17px;
  color: #223f57;
  margin-bottom: 16px;
}

.cooperation-steps .step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cooperation-steps .step-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.cooperation-steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  color: #fffdf8;
  background-color: #223f57;
  border-radius: 50%;
}

.cooperation-steps .step-text {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.75;
  padding-top: 3px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.75;
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #b0522c;
}

.checklist-note {
  margin-top: 16px;
  font-size: 14px;
  color: #3a4744;
}

.checklist-note a {
  color: #b0522c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 首页常见疑问摘录 */
.section-faq .faq-list {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   pages · 精品系列 series
   -------------------------------------------------------------------------- */

.page-series .page-content {
  min-width: 0;
}

.content-section {
  margin-top: 36px;
}

.content-section:first-of-type {
  margin-top: 24px;
}

.content-section > p {
  margin-top: 12px;
  font-size: 15px;
  color: #3a4744;
  line-height: 1.85;
}

.content-section > .content-figure {
  margin-top: 18px;
}

.content-figure img {
  aspect-ratio: 16 / 9;
}

.data-table {
  min-width: 660px;
}

.compare-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.compare-col {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.compare-title {
  font-size: 16px;
  color: #223f57;
  margin-bottom: 12px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.75;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 1px solid #b0522c;
  border-radius: 2px;
}

#single-batch > p {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   pages · 定制流程 process
   -------------------------------------------------------------------------- */

.process-nodes {
  margin-top: 36px;
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

.node-list .node-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.node-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 16px;
  color: #b0522c;
  border: 1px solid #e3c4b4;
  border-radius: 6px;
  background-color: #fbf0e9;
}

.node-body {
  min-width: 0;
}

.node-body .node-title {
  font-size: 17px;
  color: #223f57;
  margin-bottom: 8px;
}

.node-label {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: #788b8a;
  margin-right: 6px;
}

.node-input,
.node-body .node-output,
.node-body .node-risk {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.node-input + .node-output,
.node-output + .node-risk {
  margin-top: 6px;
}

.node-body .node-risk {
  color: #788b8a;
}

.media-figure {
  margin-top: 24px;
}

.media-figure img {
  aspect-ratio: 16 / 9;
}

.requirement-list,
.pitfall-list {
  margin-top: 36px;
}

.requirement-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: req;
}

.requirement-item {
  padding: 18px 20px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.requirement-name {
  font-size: 16px;
  color: #223f57;
  margin-bottom: 8px;
}

.requirement-detail {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.requirement-example {
  margin-top: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #5a6663;
  background-color: #f4f1ea;
  border-left: 2px solid #788b8a;
  border-radius: 3px;
  line-height: 1.7;
}

.pitfall-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pitfall-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.pitfall-wrong,
.pitfall-right {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.8;
}

.pitfall-wrong {
  color: #8a5a4a;
  border-left: 2px solid #b0522c;
}

.pitfall-right {
  color: #2f4a44;
  border-left: 2px solid #223f57;
}

.pitfall-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #788b8a;
  margin-bottom: 4px;
}

/* 流程页侧栏 */
.toc-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
}

/* --------------------------------------------------------------------------
   pages · 工艺与质检 craft
   -------------------------------------------------------------------------- */

.craft-item {
  padding: 18px 20px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.craft-item + .craft-item {
  margin-top: 14px;
}

.craft-item .item-title {
  font-size: 16px;
  color: #223f57;
  margin-bottom: 6px;
}

.item-meta {
  font-size: 13px;
  color: #788b8a;
  margin-bottom: 8px;
}

.craft-item p:not(.item-meta) {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.inspection-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inspection-item {
  padding: 18px 20px;
  border: 1px solid #d9d2c4;
  border-left: 3px solid #788b8a;
  border-radius: 6px;
  background-color: #fffdf8;
}

.inspection-item .item-title {
  font-size: 16px;
  color: #223f57;
  margin-bottom: 6px;
}

.inspection-item p {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.misconception-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.misconception-item {
  padding: 18px 20px;
  border: 1px solid #d9d2c4;
  border-left: 3px solid #b0522c;
  border-radius: 6px;
  background-color: #fffdf8;
}

.misconception-item .item-title {
  font-size: 16px;
  color: #223f57;
  margin-bottom: 6px;
}

.misconception-item p {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.content-aside {
  position: sticky;
  top: 92px;
  align-self: start;
}

/* --------------------------------------------------------------------------
   pages · 适用场景 scenarios
   -------------------------------------------------------------------------- */

.scene-index {
  margin-top: 32px;
}

.scene-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.scene-index-item {
  min-width: 0;
  padding: 18px 18px 20px;
  border: 1px solid #d9d2c4;
  border-top: 3px solid #788b8a;
  border-radius: 6px;
  background-color: #fffdf8;
}

.scene-index-item:has(.scene-swatch-gift) {
  border-top-color: #b0522c;
}

.scene-index-item:has(.scene-swatch-channel) {
  border-top-color: #223f57;
}

.scene-index-item:has(.scene-swatch-brand) {
  border-top-color: #788b8a;
}

.scene-index-item:has(.scene-swatch-single) {
  border-top-color: #b0a08c;
}

.scene-swatch {
  display: block;
  width: 22px;
  height: 4px;
  margin-bottom: 12px;
  border-radius: 2px;
  background-color: #788b8a;
}

.scene-swatch-gift {
  background-color: #b0522c;
}

.scene-swatch-channel {
  background-color: #223f57;
}

.scene-swatch-brand {
  background-color: #788b8a;
}

.scene-swatch-single {
  background-color: #b0a08c;
}

.scene-index-name {
  font-size: 16px;
  color: #223f57;
  margin-bottom: 8px;
}

.scene-index-name a {
  color: #223f57;
}

.scene-index-name a:hover,
.scene-index-name a:focus-visible {
  color: #b0522c;
}

.scene-index-note {
  font-size: 13.5px;
  color: #5a6663;
  line-height: 1.7;
}

.scene-table-section {
  margin-top: 36px;
}

.scene-table {
  margin-top: 18px;
  min-width: 660px;
}

.scene-figure {
  margin-top: 32px;
}

.scene-figure img {
  aspect-ratio: 16 / 7;
}

.scene-unsuitable {
  margin-top: 36px;
}

.unsuitable-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.unsuitable-item {
  padding: 18px 20px;
  border: 1px solid #d9d2c4;
  border-left: 3px solid #b0522c;
  border-radius: 6px;
  background-color: #fffdf8;
}

.unsuitable-name {
  font-size: 16px;
  color: #223f57;
  margin-bottom: 8px;
}

.unsuitable-desc {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.unsuitable-desc a {
  color: #b0522c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.route-hint .route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.route-item a {
  font-size: 14.5px;
  color: #223f57;
  border-bottom: 1px solid transparent;
  padding: 2px 0;
}

.route-item a::after {
  content: "→";
  margin-left: 6px;
  color: #b0522c;
}

.route-item a:hover,
.route-item a:focus-visible {
  color: #b0522c;
  border-bottom-color: #b0522c;
}

/* --------------------------------------------------------------------------
   pages · 常见问题 faq
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 24px 0 8px;
}

.faq-group {
  margin-top: 36px;
}

.faq-group:first-of-type {
  margin-top: 24px;
}

.faq-group-title {
  font-size: 20px;
  color: #223f57;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d2c4;
}

.faq-group-intro {
  margin: 10px 0 16px;
  font-size: 14.5px;
  color: #5a6663;
  line-height: 1.8;
}

.faq-group .faq-item + .faq-item {
  margin-top: 10px;
}

.faq-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-next-item {
  padding: 18px 20px;
  border: 1px solid #d9d2c4;
  border-left: 3px solid #223f57;
  border-radius: 6px;
  background-color: #fffdf8;
}

.faq-next-title {
  font-size: 16px;
  color: #223f57;
  margin-bottom: 8px;
}

.faq-next-item p {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.faq-next-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #b0522c;
  border-bottom: 1px solid transparent;
}

.faq-next-link:hover,
.faq-next-link:focus-visible {
  border-bottom-color: #b0522c;
}

/* --------------------------------------------------------------------------
   pages · 合作沟通 cooperation
   -------------------------------------------------------------------------- */

.cooperation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 28px;
}

.cooperation-layout .content-main,
.cooperation-layout .content-side {
  min-width: 0;
  padding: 24px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.cooperation-layout .content-main {
  border-top: 3px solid #223f57;
}

.cooperation-layout .content-side {
  border-top: 3px solid #b0522c;
}

.cooperation-layout h2 {
  font-size: 19px;
  color: #223f57;
}

.prep-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prep-item {
  padding-bottom: 14px;
  border-bottom: 1px dashed #e0d9cb;
}

.prep-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.prep-name {
  font-size: 15.5px;
  color: #223f57;
  margin-bottom: 6px;
}

.prep-item p {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-item {
  padding-bottom: 14px;
  border-bottom: 1px dashed #e0d9cb;
}

.rule-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rule-name {
  font-size: 15.5px;
  color: #223f57;
  margin-bottom: 6px;
}

.rule-item p {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.decline-section,
.progress-section {
  margin-top: 36px;
}

.decline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.decline-item {
  padding: 16px 20px;
  border: 1px solid #d9d2c4;
  border-left: 3px solid #b0522c;
  border-radius: 6px;
  background-color: #fffdf8;
}

.decline-name {
  font-size: 15.5px;
  color: #223f57;
  margin-bottom: 6px;
}

.decline-item p {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.progress-step {
  min-width: 0;
  padding: 20px;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background-color: #fffdf8;
}

.progress-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  color: #fffdf8;
  background-color: #223f57;
  border-radius: 50%;
}

.step-name {
  font-size: 16px;
  color: #223f57;
  margin-bottom: 8px;
}

.progress-step p {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.workbench-figure {
  margin-top: 36px;
}

.workbench-figure img {
  aspect-ratio: 16 / 7;
}

/* --------------------------------------------------------------------------
   pages · 术语索引 glossary
   -------------------------------------------------------------------------- */

.glossary-group {
  margin-top: 36px;
}

.glossary-group:first-of-type {
  margin-top: 24px;
}

.group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d2c4;
}

.group-index {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  color: #b0522c;
}

.group-head h2 {
  font-size: 20px;
  color: #223f57;
}

.group-note {
  grid-column: 2;
  margin-top: 6px;
  font-size: 14px;
  color: #788b8a;
  line-height: 1.7;
}

.term-list {
  margin: 0;
  padding: 0;
}

.term-item {
  padding: 14px 0;
  border-bottom: 1px dashed #e0d9cb;
}

.term-item:last-child {
  border-bottom: 0;
}

.term-item dt {
  font-size: 15px;
  font-weight: 700;
  color: #223f57;
  margin-bottom: 4px;
}

.term-item dd {
  margin: 0;
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.confuse-block,
.writing-block {
  margin-top: 36px;
}

.confuse-block .section-head,
.writing-block .section-head {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d2c4;
}

.confuse-block .section-head h2,
.writing-block .section-head h2 {
  font-size: 20px;
  color: #223f57;
}

.confuse-item {
  padding: 18px 20px;
  border: 1px solid #d9d2c4;
  border-left: 3px solid #788b8a;
  border-radius: 6px;
  background-color: #fffdf8;
}

.confuse-item + .confuse-item {
  margin-top: 12px;
}

.confuse-item h3 {
  font-size: 15.5px;
  color: #223f57;
  margin-bottom: 8px;
}

.confuse-diff {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.confuse-write {
  margin-top: 8px;
  padding: 8px 12px;
  font-size: 13.5px;
  color: #5a6663;
  background-color: #f4f1ea;
  border-radius: 3px;
  line-height: 1.7;
}

.writing-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.writing-item {
  padding: 16px 20px;
  border: 1px solid #d9d2c4;
  border-left: 3px solid #223f57;
  border-radius: 6px;
  background-color: #fffdf8;
}

.writing-item h3 {
  font-size: 15.5px;
  color: #223f57;
  margin-bottom: 6px;
}

.writing-item p {
  font-size: 14.5px;
  color: #3a4744;
  line-height: 1.8;
}

.page-figure {
  margin-top: 32px;
}

.page-figure img {
  aspect-ratio: 16 / 7;
}

.glossary-group + .page-figure {
  margin-top: 36px;
}

.toc-panel {
  position: sticky;
  top: 92px;
}

.toc-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e6e0d4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
}

.toc-foot a {
  color: #b0522c;
  border-bottom: 1px solid transparent;
}

.toc-foot a:hover,
.toc-foot a:focus-visible {
  border-bottom-color: #b0522c;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}

.error-panel {
  max-width: 720px;
  padding: 36px 32px;
  border: 1px solid #d9d2c4;
  border-left: 4px solid #b0522c;
  border-radius: 6px;
  background-color: #fffdf8;
}

.error-code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 15px;
  color: #b0522c;
  margin-bottom: 8px;
}

.error-panel h1 {
  font-size: 30px;
  color: #223f57;
  line-height: 1.35;
}

.error-lead {
  margin-top: 14px;
  font-size: 15.5px;
  color: #3a4744;
  line-height: 1.8;
}

.error-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed #d9d2c4;
}

.error-paths a {
  font-size: 14.5px;
  color: #223f57;
  border-bottom: 1px solid #d9d2c4;
  padding-bottom: 2px;
}

.error-paths a:hover,
.error-paths a:focus-visible {
  color: #b0522c;
  border-bottom-color: #b0522c;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fffdf8;
  background-color: #223f57;
  border-radius: 4px;
}

.error-home-link:hover,
.error-home-link:focus-visible {
  color: #fffdf8;
  background-color: #b0522c;
}

.error-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  color: #223f57;
  border-bottom: 1px solid transparent;
}

.error-text-link:hover,
.error-text-link:focus-visible {
  color: #b0522c;
  border-bottom-color: #b0522c;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 20px;
  }

  .nav-link {
    padding: 8px 7px;
    font-size: 13.5px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .hero-inner {
    gap: 36px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .node-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scene-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progress-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .brand-mark {
    font-size: 19px;
  }

  .site-nav .nav-list {
    display: none;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    overflow-y: auto;
    background-color: #fffdf8;
    border-top: 1px solid #d9d2c4;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .inner-main,
  .home-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .inner-main {
    padding-bottom: 56px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-title-block {
    padding: 24px 0 4px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .section-title {
    font-size: 21px;
  }

  /* 首页首屏改单列 */
  .hero {
    padding: 32px 0 40px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .section {
    padding: 40px 0;
  }

  .index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .capability-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .capability-figure img {
    aspect-ratio: 16 / 9;
  }

  .node-track {
    grid-template-columns: minmax(0, 1fr);
  }

  .cooperation-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* 内页：主内容在前，辅助侧栏在后 */
  .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout.sidebar-left .page-aside {
    order: 2;
  }

  .page-layout.sidebar-left .page-content {
    order: 1;
  }

  .toc-sidebar,
  .content-aside {
    position: static;
  }

  .toc-panel {
    position: static;
  }

  .compare-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .node-list .node-item {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    padding: 18px;
  }

  .node-index {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .pitfall-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .faq-next {
    grid-template-columns: minmax(0, 1fr);
  }

  .cooperation-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .progress-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene-index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene-table,
  .data-table,
  .scenario-table {
    min-width: 560px;
  }

  .footer-inner {
    padding: 36px 16px 28px;
  }

  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 8px 0;
  }

  .footer-group {
    border-bottom: 1px solid rgba(230, 225, 214, 0.24);
  }

  .footer-group:last-child {
    border-bottom: 0;
  }

  .footer-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0;
    border-bottom: 0;
  }

  .footer-group-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #c8cfd2;
    border-bottom: 2px solid #c8cfd2;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .footer-group-toggle[aria-expanded="false"]::after {
    transform: rotate(-45deg);
  }

  .footer-links {
    padding: 0 0 14px;
  }

  .footer-group-toggle[aria-expanded="false"] + .footer-links {
    display: none;
  }

  .error-main {
    padding: 40px 16px 64px;
  }

  .error-panel {
    padding: 26px 20px;
  }

  .error-panel h1 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  body.site-body {
    font-size: 15.5px;
  }

  .hero-content h1 {
    font-size: 25px;
  }

  .page-title {
    font-size: 24px;
  }

  .section-head h2 {
    font-size: 20px;
  }

  .section-title {
    font-size: 19px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .index-panel {
    padding: 18px 16px;
  }

  .node-list .node-item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
  }

  .node-index {
    width: 40px;
    height: 40px;
  }

  .capability-col,
  .cooperation-steps,
  .cooperation-checklist,
  .compare-col,
  .cooperation-layout .content-main,
  .cooperation-layout .content-side {
    padding: 18px 16px;
  }

  .route-hint {
    padding: 16px 16px;
  }

  .route-hint-list,
  .route-list {
    flex-direction: column;
    gap: 8px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .related-links {
    padding: 20px 16px;
  }

  .faq-question {
    padding: 14px 42px 14px 14px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 14px 16px;
  }

  .error-panel h1 {
    font-size: 22px;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
