/* ==========================================================
   51爆料黑料 · 全站样式表
   设计方向：手工艺目录风（亚麻背景 / 深青主色 / 赭石强调）
   ========================================================== */

/* ==========================================================
   Base —— 全局基础
   ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2a2725;
  background-color: #f4efe6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: #1f4e4a;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #a05c3b;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: #1f4e4a;
  line-height: 1.35;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 12px;
}

strong {
  font-weight: 700;
  color: #1f4e4a;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-error {
  background-color: #f4efe6;
}

/* ==========================================================
   Layout —— 布局骨架
   ========================================================== */
.site-header {
  background-color: #f4efe6;
  border-bottom: 1px solid #e8e2d8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #1f4e4a;
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 13px;
  color: #7a7468;
  white-space: nowrap;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #2a2725;
  border-radius: 4px;
  line-height: 1.4;
}

.nav-item:hover {
  color: #a05c3b;
  background-color: #ece5d8;
}

.nav-item.is-current {
  color: #1f4e4a;
  font-weight: 700;
  background-color: #e8e2d8;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid #e8e2d8;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1f4e4a;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 面包屑 */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 14px;
  color: #7a7468;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: #1f4e4a;
}

.breadcrumb a:hover {
  color: #a05c3b;
}

.breadcrumb-sep {
  color: #a89f8f;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #7a7468;
}

/* 页面标题 */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 8px;
}

.page-title {
  font-size: 32px;
  color: #1f4e4a;
  line-height: 1.3;
}

/* 页脚 */
.site-footer {
  background-color: #1f4e4a;
  color: #d9d2c4;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 24px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #b8b0a0;
  max-width: 320px;
}

.footer-col h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #b8b0a0;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.footer-bottom p {
  font-size: 13px;
  color: #8f8a7e;
  margin: 0;
}

/* ==========================================================
   Components —— 通用组件
   ========================================================== */

/* 通知横幅 */
.notice-banner {
  background-color: #1f4e4a;
  color: #f4efe6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px 48px;
}

.notice-text {
  margin: 0;
  font-size: 14px;
  text-align: center;
}

.notice-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: #f4efe6;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-close:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* 区块标题 */
.section-header,
.page-heading {
  margin-bottom: 28px;
}

.section-header h2,
.page-heading h2 {
  font-size: 24px;
  color: #1f4e4a;
  margin-bottom: 8px;
}

.section-header p,
.page-heading p {
  color: #5d584e;
  font-size: 15px;
  max-width: 720px;
}

/* 相关链接 */
.related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links-label {
  font-size: 14px;
  color: #7a7468;
  font-weight: 600;
}

.related-links-item {
  font-size: 14px;
  color: #1f4e4a;
  border: 1px solid #d8d0c0;
  padding: 6px 14px;
  border-radius: 4px;
  background-color: #fff;
  transition: border-color 0.2s, color 0.2s;
}

.related-links-item:hover {
  border-color: #a05c3b;
  color: #a05c3b;
}

/* 表格通用 */
.table-wrapper,
.table-wrap {
  overflow-x: auto;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  background-color: #fff;
}

.data-table,
.version-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table th,
.data-table td,
.version-table th,
.version-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e8e2d8;
  vertical-align: top;
}

.data-table th,
.version-table th {
  background-color: #1f4e4a;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.data-table tr:last-child td,
.version-table tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover,
.version-table tbody tr:hover {
  background-color: #faf7f0;
}

/* FAQ details */
.faq-item {
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  background-color: #fff;
  margin-bottom: 12px;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1f4e4a;
  cursor: pointer;
  position: relative;
  padding-right: 44px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #a05c3b;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid #e8e2d8;
}

.faq-answer {
  padding: 16px 20px;
  font-size: 15px;
  color: #4a463f;
  line-height: 1.8;
}

/* 侧栏通用 */
.sidebar {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 24px;
}

.sidebar h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8e2d8;
}

.sidebar-content {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 24px;
}

.sidebar-content h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

/* ==========================================================
   Pages —— 页面专属
   ========================================================== */

/* ---------- 首页 ---------- */
.site-home {
  background-color: #f4efe6;
}

/* Hero 首屏 */
.hero-section {
  background-color: #f4efe6;
  border-bottom: 1px solid #e8e2d8;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: #5d584e;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
}

.action-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 14px 18px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.action-card:hover {
  border-color: #a05c3b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 78, 74, 0.08);
}

.action-num {
  grid-row: 1 / 3;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 22px;
  font-weight: 700;
  color: #a05c3b;
  background-color: #f4efe6;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-name {
  font-size: 16px;
  font-weight: 700;
  color: #1f4e4a;
  align-self: end;
}

.action-desc {
  font-size: 13px;
  color: #7a7468;
  align-self: start;
  line-height: 1.5;
}

.hero-figure {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e2d8;
  background-color: #e8e2d8;
  aspect-ratio: 4 / 3;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 服务能力概览 */
.capabilities-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.capability-card {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 24px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.capability-card:hover {
  border-color: #a05c3b;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(32, 78, 74, 0.08);
}

.capability-num {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #a05c3b;
  display: block;
  margin-bottom: 12px;
}

.capability-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.capability-card p {
  font-size: 14px;
  color: #5d584e;
  line-height: 1.7;
  margin: 0;
}

.capability-figure {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e2d8;
  aspect-ratio: 16 / 6;
  background-color: #e8e2d8;
}

.capability-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 应用场景入口 */
.scenarios-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scenario-card {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 24px;
  display: block;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.scenario-card:hover {
  border-color: #a05c3b;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(32, 78, 74, 0.08);
}

.scenario-num {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #a05c3b;
  display: block;
  margin-bottom: 12px;
}

.scenario-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #1f4e4a;
}

.scenario-card p {
  font-size: 14px;
  color: #5d584e;
  line-height: 1.7;
  margin: 0;
}

/* 合作流程预览 */
.process-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.process-step {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 24px;
  position: relative;
}

.process-step::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: #a05c3b;
  font-size: 20px;
  z-index: 1;
}

.process-step:last-child::after {
  display: none;
}

.step-num {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #a05c3b;
  display: block;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: #5d584e;
  line-height: 1.7;
  margin: 0;
}

.process-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #1f4e4a;
  border: 1px solid #1f4e4a;
  padding: 10px 24px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.process-link:hover {
  background-color: #1f4e4a;
  color: #fff;
}

/* FAQ 预览 */
.faq-preview-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.faq-preview-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-preview-item {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 18px 24px;
  display: block;
  transition: border-color 0.2s, background-color 0.2s;
}

.faq-preview-item:hover {
  border-color: #a05c3b;
  background-color: #faf7f0;
}

.faq-q {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1f4e4a;
  margin-bottom: 4px;
}

.faq-a {
  display: block;
  font-size: 14px;
  color: #7a7468;
  line-height: 1.6;
}

/* ---------- 内页通用 ---------- */
.inner-main {
  background-color: #f4efe6;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-heading {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px 24px;
}

.page-heading .page-intro {
  font-size: 15px;
  color: #5d584e;
  line-height: 1.8;
  max-width: 760px;
}

/* 左右侧栏布局 */
.page-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 服务功能页 ---------- */
.page-service-features {
  background-color: #f4efe6;
}

.service-index .index-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-index .index-list a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #2a2725;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.service-index .index-list a:hover {
  background-color: #f4efe6;
  border-left-color: #a05c3b;
  color: #a05c3b;
}

.content-area {
  min-width: 0;
}

.service-attribute-section {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 24px;
  scroll-margin-top: 88px;
}

.service-attribute-section h2 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8e2d8;
}

.attribute-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.attribute-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0ebe2;
}

.attribute-item:last-child {
  border-bottom: none;
}

.attribute-item dt {
  font-size: 14px;
  font-weight: 600;
  color: #1f4e4a;
}

.attribute-item dd {
  font-size: 14px;
  color: #4a463f;
  line-height: 1.7;
}

.service-process {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 24px;
}

.service-process h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.process-lead {
  font-size: 14px;
  color: #5d584e;
  margin-bottom: 16px;
}

.process-list {
  counter-reset: process-counter;
  padding-left: 0;
}

.process-list li {
  counter-increment: process-counter;
  position: relative;
  padding: 10px 0 10px 40px;
  font-size: 14px;
  color: #4a463f;
  line-height: 1.7;
}

.process-list li::before {
  content: counter(process-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #a05c3b;
  background-color: #f4efe6;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image-block {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e2d8;
  background-color: #e8e2d8;
  margin-top: 8px;
}

.service-image-block img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.service-image-block figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #7a7468;
  background-color: #fff;
}

/* ---------- 应用场景页 ---------- */
.page-application-scenarios {
  background-color: #f4efe6;
}

.scenario-anchor-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anchor-link {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #1f4e4a;
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 4px;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.anchor-link:hover {
  border-color: #a05c3b;
  color: #a05c3b;
  background-color: #faf7f0;
}

.scenario-card-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.scenario-card-list .scenario-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 0;
  overflow: hidden;
}

.scenario-card-media {
  background-color: #e8e2d8;
  min-height: 220px;
}

.scenario-figure {
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.scenario-figure img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.scenario-card-body {
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scenario-index {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #a05c3b;
  margin-bottom: 8px;
}

.scenario-card-body h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.scenario-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.detail-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0ebe2;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row dt {
  font-size: 14px;
  font-weight: 600;
  color: #1f4e4a;
}

.detail-row dd {
  font-size: 14px;
  color: #4a463f;
  line-height: 1.7;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: #a05c3b;
  align-self: flex-start;
}

.card-link:hover {
  color: #1f4e4a;
}

.scenario-service-table {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.scenario-service-table h2 {
  margin-bottom: 8px;
}

.scenario-service-table > p {
  font-size: 14px;
  color: #5d584e;
  margin-bottom: 20px;
}

/* ---------- 方案版本页 ---------- */
.page-service-versions {
  background-color: #f4efe6;
}

.page-header-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px 20px;
}

.page-lead {
  font-size: 15px;
  color: #5d584e;
  max-width: 760px;
}

.version-compare-section,
.version-relation-section {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 24px;
}

.version-compare-section h2,
.version-relation-section h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.section-intro {
  font-size: 14px;
  color: #5d584e;
  margin-bottom: 16px;
}

.version-table {
  min-width: 600px;
}

.version-table th,
.version-table td {
  text-align: left;
}

.version-figure {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e2d8;
  margin-top: 20px;
  background-color: #e8e2d8;
}

.version-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.version-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #7a7468;
  background-color: #fff;
}

.relation-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.relation-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.step-index {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #a05c3b;
  background-color: #f4efe6;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.relation-step h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.relation-step p {
  font-size: 14px;
  color: #5d584e;
  margin: 0;
}

.selection-guide .guide-block {
  padding: 16px 0;
  border-bottom: 1px solid #f0ebe2;
}

.selection-guide .guide-block:last-of-type {
  border-bottom: none;
}

.selection-guide .guide-block h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.selection-guide .guide-block p {
  font-size: 14px;
  color: #5d584e;
  margin: 0;
}

.guide-cta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid #e8e2d8;
}

.guide-cta a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: #1f4e4a;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.guide-cta a:hover {
  background-color: #a05c3b;
  color: #fff;
}

/* ---------- 合作指南页 ---------- */
.page-cooperation-guide {
  background-color: #f4efe6;
}

.cooperation-steps {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 32px;
}

.cooperation-steps h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 14px;
  color: #5d584e;
  margin-bottom: 24px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #f0ebe2;
}

.step-item:last-child {
  border-bottom: none;
}

.step-number {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 22px;
  font-weight: 700;
  color: #a05c3b;
  background-color: #f4efe6;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: #4a463f;
  margin-bottom: 10px;
}

.step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.step-input,
.step-output {
  color: #7a7468;
}

.step-input strong,
.step-output strong {
  color: #1f4e4a;
}

.process-figure {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e2d8;
  margin-top: 24px;
  background-color: #e8e2d8;
}

.process-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.process-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #7a7468;
  background-color: #fff;
}

.material-prep {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 32px;
}

.material-prep h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.material-card {
  background-color: #faf7f0;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 20px;
}

.material-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.material-card p {
  font-size: 14px;
  color: #5d584e;
  margin: 0;
  line-height: 1.7;
}

.feedback-block {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 32px;
}

.feedback-block h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.feedback-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.feedback-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #1f4e4a;
  border: 1px solid #1f4e4a;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.feedback-link:hover {
  background-color: #1f4e4a;
  color: #fff;
}

.feedback-note {
  font-size: 13px;
  color: #7a7468;
  margin: 0;
}

/* ---------- 技术支持页 ---------- */
.page-faq-support {
  background-color: #f4efe6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-faq-support .page-heading {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px 24px;
}

.faq-group-block {
  background-color: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 24px;
  scroll-margin-top: 88px;
}

.section-heading h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.section-heading p {
  font-size: 14px;
  color: #5d584e;
  margin-bottom: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-card {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0ebe2;
}

.support-card:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.support-card h2 {
  margin-bottom: 10px;
}

.support-card p {
  font-size: 14px;
  color: #5d584e;
  margin-bottom: 12px;
}

.support-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-links a {
  font-size: 14px;
  color: #1f4e4a;
}

.support-links a:hover {
  color: #a05c3b;
}

.support-figure {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e2d8;
  margin-top: 20px;
  background-color: #e8e2d8;
}

.support-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.support-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #7a7468;
  background-color: #fff;
}

/* ---------- 404 页 ---------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-section {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 72px;
  font-weight: 800;
  color: #a05c3b;
  line-height: 1;
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 26px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #5d584e;
  margin-bottom: 28px;
}

.error-home-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background-color: #1f4e4a;
  padding: 12px 32px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.error-home-link:hover {
  background-color: #a05c3b;
  color: #fff;
}

/* 辅助类 */
.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;
}

/* ==========================================================
   Responsive —— 响应式
   ========================================================== */

/* 平板及以下 */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step::after {
    display: none;
  }

  .page-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .layout-shell {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .scenario-card-list .scenario-card {
    grid-template-columns: 260px 1fr;
    gap: 20px;
  }
}

/* 手机端 */
@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
    padding: 0 16px;
    flex-wrap: wrap;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    order: 3;
    width: 100%;
    flex-basis: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background-color: #f4efe6;
    border-top: 1px solid #e8e2d8;
    padding: 8px 0;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    padding: 12px 16px;
    border-radius: 0;
    border-bottom: 1px solid #ece5d8;
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .breadcrumb {
    padding: 16px 16px 0;
  }

  .page-header {
    padding: 20px 16px 4px;
  }

  .page-title {
    font-size: 28px;
  }

  .page-heading {
    padding: 8px 16px 20px;
  }

  .page-container {
    padding: 0 16px;
  }

  .hero-inner {
    padding: 32px 16px 40px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .capabilities-section,
  .scenarios-section,
  .process-section,
  .faq-preview-section {
    padding: 48px 16px 0;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step::after {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 16px 20px;
  }

  .footer-bottom {
    padding: 14px 16px;
  }

  /* 内页布局：移动端主内容在前，侧栏在后 */
  .page-layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 24px;
  }

  .layout-shell {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 24px;
  }

  .sidebar-left .page-layout {
    grid-template-columns: 1fr;
  }

  /* 服务功能页移动端顺序调整 */
  .page-service-features .page-layout {
    display: flex;
    flex-direction: column;
  }

  .page-service-features .content-area {
    order: 1;
  }

  .page-service-features .service-index {
    order: 2;
  }

  /* 属性表 */
  .attribute-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-attribute-section {
    padding: 20px;
  }

  /* 场景卡 */
  .scenario-card-list {
    padding: 0 16px 32px;
  }

  .scenario-card-list .scenario-card {
    grid-template-columns: 1fr;
  }

  .scenario-card-media,
  .scenario-figure,
  .scenario-figure img {
    min-height: 180px;
  }

  .scenario-card-body {
    padding: 20px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .scenario-anchor-nav {
    padding: 0 16px 20px;
  }

  .anchor-list {
    gap: 8px;
  }

  /* 版本页 */
  .version-compare-section,
  .version-relation-section {
    padding: 20px;
  }

  .page-header-block {
    padding: 8px 16px 16px;
  }

  /* 合作指南 */
  .cooperation-steps,
  .material-prep,
  .feedback-block {
    padding: 20px;
  }

  .step-item {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .material-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-meta {
    flex-direction: column;
    gap: 6px;
  }

  /* FAQ 页 */
  .faq-group-block {
    padding: 20px;
  }

  .container {
    padding: 0 16px;
  }

  .page-faq-support .page-heading {
    padding: 8px 16px 20px;
  }

  .faq-item summary {
    padding: 14px 40px 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 14px 16px;
    font-size: 14px;
  }

  /* 404 */
  .error-main {
    padding: 60px 16px;
  }

  .error-code {
    font-size: 56px;
  }

  /* 相关链接 */
  .related-links {
    padding: 24px 16px 0;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .hero-actions {
    max-width: 100%;
  }

  .action-card {
    grid-template-columns: 40px 1fr;
    padding: 12px 14px;
  }

  .action-num {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .capability-card {
    padding: 18px;
  }

  .scenario-card {
    padding: 18px;
  }

  .process-step {
    padding: 18px;
  }

  .faq-preview-item {
    padding: 14px 16px;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .table-wrapper,
  .table-wrap {
    margin: 0 -8px;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
}
