/* ============================================================
   今日吃瓜 · 整站样式表
   版本：1.0
   说明：农业产地风，绿色主色，黄色点缀，米白底
   ============================================================ */

/* ============================================================
   Base —— 基础样式
   ============================================================ */
:root {
  --green: #2F4B2E;
  --green-dark: #243D23;
  --green-light: #3E5E3C;
  --yellow: #E3B23C;
  --yellow-light: #F0C75E;
  --cream: #F7F4EB;
  --cream-dark: #EFEAD9;
  --ink: #3A3A3A;
  --gray-green: #8FA08A;
  --white: #FFFFFF;
  --line: #DCD6C5;
  --shadow-sm: 0 1px 3px rgba(47, 75, 46, 0.08);
  --shadow-md: 0 4px 12px rgba(47, 75, 46, 0.1);
  --radius: 6px;
  --radius-lg: 8px;
  --container: 1120px;
  --font-body: "Noto Serif SC", "SimSun", serif;
  --font-head: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-dark);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--green);
  line-height: 1.4;
}

h1 {
  font-size: 2rem; /* 32px */
}

h2 {
  font-size: 1.625rem; /* 26px */
}

h3 {
  font-size: 1.125rem; /* 18px */
}

p {
  margin-bottom: 1rem;
}

/* ============================================================
   Layout —— 全站布局骨架
   ============================================================ */

/* 站点主体 */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

/* 页头 */
.site-header {
  background-color: var(--green);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 品牌 */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand-batch {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green);
  background-color: var(--yellow);
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.4;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 12px;
  border-radius: var(--radius);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.nav-list li a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-list li a.is-current {
  color: var(--white);
  border-bottom-color: var(--yellow);
}

.nav-cta {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  background-color: var(--yellow);
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: var(--yellow-light);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.nav-cta.is-current {
  background-color: var(--white);
  color: var(--green);
}

/* 汉堡按钮（移动端显示） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 页脚 */
.site-footer {
  background-color: var(--green);
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
}

.footer-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 12px;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: var(--white);
}

.footer-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ============================================================
   Components —— 通用组件
   ============================================================ */

/* 面包屑 */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 0.8125rem;
  color: var(--gray-green);
}

.breadcrumb a {
  color: var(--gray-green);
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--gray-green);
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--green);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 8px;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}

.page-description {
  font-size: 1rem;
  color: var(--gray-green);
  max-width: 720px;
}

/* 区块标题 */
.section-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}

.section-intro,
.section-lead,
.section-desc {
  font-size: 0.9375rem;
  color: var(--gray-green);
  max-width: 720px;
  margin-bottom: 24px;
}

.section-note {
  font-size: 0.875rem;
  color: var(--gray-green);
}

.section-head {
  margin-bottom: 24px;
}

/* 文本链接 */
.text-link {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--green);
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}

/* 按钮 */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-ghost {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-secondary:hover {
  background-color: var(--green);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background-color: var(--green);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* 卡片链接 */
.card-link {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link:hover {
  color: var(--green-dark);
}

/* 图片容器 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figure figcaption {
  font-size: 0.8125rem;
  color: var(--gray-green);
  padding-top: 8px;
  line-height: 1.6;
}

/* FAQ 折叠 */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--green);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary {
  background-color: var(--cream);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p,
.faq-answer p {
  padding: 0 20px 16px;
  font-size: 0.9375rem;
  color: var(--ink);
}

/* ============================================================
   Pages —— 首页
   ============================================================ */

/* 首屏 hero */
.hero-section {
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-lead {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 0.9375rem;
  color: var(--gray-green);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  min-width: 0;
}

.hero-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  aspect-ratio: 4 / 3;
}

.hero-figure img {
  object-fit: cover;
}

.hero-caption {
  font-size: 0.8125rem;
  color: var(--gray-green);
  padding: 8px 4px 0;
}

.hero-ticker {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-ticker li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.hero-ticker li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ticker-date {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--yellow);
  flex-shrink: 0;
  white-space: nowrap;
}

/* 今日瓜田动态 */
.ticker-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 0;
}

.ticker-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ticker-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ticker-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-green);
}

.ticker-card-date {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--yellow);
  margin-bottom: 8px;
}

.ticker-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
  line-height: 1.5;
}

.ticker-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green);
  background-color: var(--cream);
  border: 1px solid var(--line);
  padding: 2px 10px;
  border-radius: 999px;
}

/* 服务矩阵 */
.service-matrix {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 0;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-green);
}

.service-number {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 8px;
}

.service-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}

.service-goal {
  font-size: 0.875rem;
  color: var(--ink);
  margin-bottom: 12px;
  flex: 1;
}

.service-output {
  font-size: 0.8125rem;
  color: var(--gray-green);
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.service-card .card-link {
  margin-top: auto;
}

/* 证据链 */
.method-chain {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 0;
}

.chain-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 20px;
}

.chain-node {
  flex: 1;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  position: relative;
  min-width: 0;
}

.chain-node:hover {
  border-color: var(--gray-green);
}

.node-step {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 8px;
}

.node-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.node-brief {
  font-size: 0.8125rem;
  color: var(--gray-green);
  margin-bottom: 0;
  line-height: 1.6;
}

.chain-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  flex-shrink: 0;
  color: var(--yellow);
  font-size: 1.25rem;
}

.chain-arrow::before {
  content: "→";
}

.chain-link-wrap {
  text-align: center;
}

/* 成果包预览 */
.output-preview {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 0;
}

.output-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.output-text {
  min-width: 0;
}

.output-fields {
  margin: 20px 0;
}

.output-fields li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9375rem;
}

.output-fields li:last-child {
  border-bottom: none;
}

.output-fields strong {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  flex-shrink: 0;
  min-width: 80px;
}

.output-media {
  min-width: 0;
}

.output-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.output-figure img {
  object-fit: cover;
}

.output-figure figcaption {
  padding: 8px 4px 0;
}

/* 合作流程路径 */
.coop-path {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 0;
}

.path-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.path-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.path-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-green);
}

.path-step {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 8px;
}

.path-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}

.path-desc {
  font-size: 0.875rem;
  color: var(--gray-green);
  margin-bottom: 16px;
  flex: 1;
}

/* 规则摘要 */
.rule-brief {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rule-allow,
.rule-deny {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.rule-allow {
  border-left: 4px solid var(--green);
}

.rule-deny {
  border-left: 4px solid var(--yellow);
}

.rule-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}

.rule-allow ul li,
.rule-deny ul li {
  font-size: 0.875rem;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.rule-allow ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

.rule-deny ul li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 600;
}

.rule-more {
  grid-column: 1 / -1;
  text-align: center;
}

/* FAQ 提点 */
.faq-teaser {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 0;
}

.faq-more {
  text-align: center;
  margin-top: 8px;
}

/* 合作引导横幅 */
.coop-banner {
  max-width: var(--container);
  margin: 48px auto;
  padding: 0 24px;
}

.banner-inner {
  background-color: var(--green);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.banner-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.banner-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 24px;
}

.banner-inner .btn-primary {
  background-color: var(--yellow);
  color: var(--green);
  margin-right: 8px;
}

.banner-inner .btn-primary:hover {
  background-color: var(--yellow-light);
}

/* ============================================================
   Pages —— 内页通用
   ============================================================ */

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 48px;
  width: 100%;
}

/* ============================================================
   Pages —— 服务项目页
   ============================================================ */

/* 服务总览表 */
.service-overview {
  padding: 32px 0 0;
}

.overview-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.service-table th,
.service-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--line);
}

.service-table th {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green);
  background-color: var(--cream);
  white-space: nowrap;
}

.service-table td {
  color: var(--ink);
}

.service-table tr:last-child td {
  border-bottom: none;
}

.service-table tbody tr:hover {
  background-color: var(--cream);
}

/* 分项服务 */
.service-details {
  padding: 48px 0 0;
}

.service-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.service-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
}

.service-index {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--yellow);
  background-color: var(--green);
  padding: 2px 10px;
  border-radius: 999px;
}

.service-item .service-name {
  margin-bottom: 0;
}

.service-item-body {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sub-heading {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.service-goal p,
.service-output p {
  font-size: 0.875rem;
  color: var(--ink);
  margin-bottom: 0;
}

.service-work ul li {
  font-size: 0.875rem;
  color: var(--ink);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.service-work ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--yellow);
  font-weight: 700;
}

/* 选配建议 */
.service-recommend {
  padding: 48px 0 0;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.recommend-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.recommend-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-green);
}

.recommend-role {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}

.recommend-task {
  font-size: 0.875rem;
  color: var(--gray-green);
  margin-bottom: 16px;
}

.recommend-combo {
  font-size: 0.875rem;
  color: var(--ink);
}

.recommend-combo a {
  font-weight: 500;
  border-bottom: 1px dashed var(--yellow);
}

.recommend-combo a:hover {
  border-bottom-color: var(--green);
}

/* 场景图 */
.service-scene {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 5;
}

.service-scene img {
  object-fit: cover;
}

.service-scene figcaption {
  padding: 8px 4px 0;
}

/* 相关入口 */
.related-links {
  padding: 48px 0 0;
}

.related-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links ul li a {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 16px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.related-links ul li a:hover {
  background-color: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ============================================================
   Pages —— 工作方法页
   ============================================================ */

/* 链条总览 */
.method-chain .chain-list {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}

.chain-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 12px;
  position: relative;
}

.chain-item::after {
  content: "→";
  position: absolute;
  right: -18px;
  color: var(--yellow);
  font-size: 1rem;
  z-index: 1;
}

.chain-item:last-child::after {
  display: none;
}

.chain-no {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  background-color: var(--green);
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.chain-name {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

/* 节点详情 */
.method-details {
  padding: 48px 0 0;
}

.method-node {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.node-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.node-no {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--yellow);
  background-color: var(--green);
  padding: 2px 10px;
  border-radius: 999px;
}

.node-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green);
}

.node-desc {
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 16px;
}

.node-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 16px;
}

.field-row {
  padding: 8px;
}

.field-row dt {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-green);
  margin-bottom: 4px;
}

.field-row dd {
  font-size: 0.875rem;
  color: var(--ink);
}

/* 方法配图 */
.method-media {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 5;
}

.method-media img {
  object-fit: cover;
}

.method-media figcaption {
  padding: 8px 4px 0;
}

/* 方法三原则 */
.method-principles {
  padding: 48px 0 0;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.principle-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  border-top: 3px solid var(--green);
  transition: box-shadow 0.2s ease;
}

.principle-card:hover {
  box-shadow: var(--shadow-md);
}

.principle-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.principle-desc {
  font-size: 0.875rem;
  color: var(--gray-green);
  margin-bottom: 0;
}

/* 相关入口 */
.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-list li a {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 16px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.related-list li a:hover {
  background-color: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ============================================================
   Pages —— 成果形式页
   ============================================================ */

.deliverable-section {
  padding: 32px 0 0;
}

.deliverable-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.deliverable-main {
  min-width: 0;
}

.deliverable-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border-left: 4px solid var(--green);
}

.deliverable-index {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 8px;
}

.deliverable-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.deliverable-desc {
  font-size: 0.875rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.deliverable-fields {
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.deliverable-fields dt {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-green);
}

.deliverable-fields dd {
  font-size: 0.875rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.deliverable-fields dd:last-child {
  margin-bottom: 0;
}

.deliverable-aside {
  min-width: 0;
  position: sticky;
  top: 84px;
}

.deliverable-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}

.deliverable-figure img {
  object-fit: cover;
}

.deliverable-figure figcaption {
  padding: 8px 4px 0;
}

/* 验收要点 */
.check-section {
  padding: 48px 0 0;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.check-item {
  display: flex;
  gap: 12px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.check-mark {
  font-size: 1.25rem;
  color: var(--green);
  flex-shrink: 0;
  line-height: 1.4;
}

.check-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 4px;
}

.check-desc {
  font-size: 0.875rem;
  color: var(--gray-green);
  margin-bottom: 0;
}

/* 应用场景 */
.usage-section {
  padding: 48px 0 0;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.usage-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: box-shadow 0.2s ease;
}

.usage-card:hover {
  box-shadow: var(--shadow-md);
}

.usage-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.usage-desc {
  font-size: 0.875rem;
  color: var(--gray-green);
  margin-bottom: 0;
}

.usage-links {
  margin-top: 32px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.usage-links-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.usage-links-desc {
  font-size: 0.875rem;
  color: var(--gray-green);
  margin-bottom: 0;
}

.usage-links-desc a {
  font-weight: 500;
  border-bottom: 1px dashed var(--yellow);
}

.usage-links-desc a:hover {
  border-bottom-color: var(--green);
}

/* ============================================================
   Pages —— 服务规则页
   ============================================================ */

.rule-section {
  padding: 24px 0 0;
}

.confirm-list {
  counter-reset: rule-item;
}

.confirm-item {
  display: flex;
  gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.item-no {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yellow);
  background-color: var(--green);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 4px;
}

.item-text {
  font-size: 0.875rem;
  color: var(--ink);
  margin-bottom: 0;
}

/* 规则摘要 */
.rule-summary {
  padding: 48px 0 0;
}

.summary-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.summary-col {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.summary-allow {
  border-left: 4px solid var(--green);
}

.summary-deny {
  border-left: 4px solid var(--yellow);
}

.summary-col-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}

.summary-list li {
  font-size: 0.875rem;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.summary-allow .summary-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

.summary-deny .summary-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 600;
}

/* 规则配图 */
.rule-figure {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 5;
}

.rule-figure img {
  object-fit: cover;
}

.rule-figure figcaption {
  padding: 8px 4px 0;
}

/* 相关入口 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-green);
}

.related-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 4px;
}

.related-desc {
  font-size: 0.8125rem;
  color: var(--gray-green);
}

/* ============================================================
   Pages —— 常见问题页
   ============================================================ */

.layout-shell {
  padding-top: 24px;
}

.faq-group {
  margin-bottom: 40px;
}

.faq-group-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-question {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--green);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background-color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question {
  background-color: var(--cream);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.9375rem;
  color: var(--ink);
}

.faq-answer p {
  padding: 0;
}

/* 延伸阅读 */
.faq-extend {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 40px;
}

.faq-extend-media {
  min-width: 0;
}

.faq-figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.faq-figure img {
  object-fit: cover;
}

.faq-figure figcaption {
  padding: 8px 4px 0;
}

.faq-extend-content {
  min-width: 0;
}

.faq-extend-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.faq-extend-content > p {
  font-size: 0.875rem;
  color: var(--gray-green);
}

.faq-extend-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-extend-links li a {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
  border-bottom: 1px dashed var(--yellow);
  padding-bottom: 2px;
}

.faq-extend-links li a:hover {
  border-bottom-color: var(--green);
}

/* ============================================================
   Pages —— 合作流程页
   ============================================================ */

.stage-overview {
  padding: 32px 0 0;
}

.stage-chain {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.stage-card {
  flex: 1;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  position: relative;
  min-width: 0;
}

.stage-card:hover {
  border-color: var(--gray-green);
}

.stage-no {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 8px;
}

.stage-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.stage-confirm {
  font-size: 0.8125rem;
  color: var(--gray-green);
  margin-bottom: 0;
  line-height: 1.6;
}

.stage-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  flex-shrink: 0;
  color: var(--yellow);
  font-size: 1.25rem;
}

.stage-arrow::before {
  content: "→";
}

/* 阶段详情 */
.stage-details {
  padding: 48px 0 0;
}

.stage-block {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.stage-block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
}

.stage-index {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--yellow);
  background-color: var(--green);
  padding: 2px 10px;
  border-radius: 999px;
}

.stage-block-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green);
}

.stage-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
}

.role-col {
  min-width: 0;
}

.role-title {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.role-list li {
  font-size: 0.875rem;
  color: var(--ink);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.role-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--yellow);
  font-weight: 700;
}

/* 阶段配图 */
.stage-figure {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 5;
}

.stage-figure img {
  object-fit: cover;
}

.stage-figure figcaption {
  padding: 8px 4px 0;
}

/* 准备清单 */
.prep-checklist {
  padding: 48px 0 0;
}

.check-list {
  counter-reset: prep-item;
}

.check-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--ink);
  counter-increment: prep-item;
}

.check-list li::before {
  content: counter(prep-item, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  background-color: var(--green);
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.check-item {
  font-size: 0.9375rem;
}

/* 交付配图 */
.deliver-figure {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 5;
}

.deliver-figure img {
  object-fit: cover;
}

.deliver-figure figcaption {
  padding: 8px 4px 0;
}

/* 引导区块 */
.cooperate-guide {
  padding: 48px 0 0;
}

.guide-desc {
  font-size: 0.9375rem;
  color: var(--gray-green);
  margin-bottom: 24px;
}

.guide-desc a {
  font-weight: 500;
  border-bottom: 1px dashed var(--yellow);
}

.guide-desc a:hover {
  border-bottom-color: var(--green);
}

.guide-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  background-color: var(--green);
  color: var(--white);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-link:hover {
  background-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.cta-link:nth-child(2) {
  background-color: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.cta-link:nth-child(2):hover {
  background-color: var(--green);
  color: var(--white);
}

/* ============================================================
   Pages —— 404
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1;
}

.error-panel {
  text-align: center;
  max-width: 520px;
  width: 100%;
}

.error-code {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 0.9375rem;
  color: var(--gray-green);
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.error-btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  background-color: var(--green);
  color: var(--white);
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: var(--green-dark);
  color: var(--white);
}

.error-btn:nth-child(2) {
  background-color: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.error-btn:nth-child(2):hover {
  background-color: var(--green);
  color: var(--white);
}

.error-help {
  font-size: 0.875rem;
  color: var(--gray-green);
}

.error-help a {
  font-weight: 500;
  border-bottom: 1px dashed var(--yellow);
}

.error-help a:hover {
  border-bottom-color: var(--green);
}

/* ============================================================
   Responsive —— 响应式
   ============================================================ */

/* 平板 */
@media (max-width: 960px) {
  .header-shell {
    height: 60px;
  }

  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ticker-scroll {
    grid-template-columns: repeat(2, 1fr);
  }

  .chain-flow {
    flex-wrap: wrap;
    gap: 8px;
  }

  .chain-node {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .chain-arrow {
    display: none;
  }

  .path-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .output-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-item-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .usage-grid {
    grid-template-columns: 1fr;
  }

  .deliverable-layout {
    grid-template-columns: 1fr;
  }

  .deliverable-aside {
    position: static;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .stage-chain {
    flex-wrap: wrap;
    gap: 8px;
  }

  .stage-card {
    flex: 1 1 calc(50% - 8px);
  }

  .stage-arrow {
    display: none;
  }

  .stage-roles {
    grid-template-columns: 1fr;
  }

  .summary-compare {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .faq-extend {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 手机 */
@media (max-width: 768px) {
  .header-shell {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--green);
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li a {
    padding: 14px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-list li a.is-current {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--yellow);
  }

  .nav-cta {
    margin: 12px 20px 20px;
    text-align: center;
  }

  .site-nav.is-open {
    max-height: 480px;
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  /* 首页 hero */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-media {
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .hero-ticker {
    margin-top: 12px;
  }

  /* 首页各区块 */
  .ticker-section,
  .service-matrix,
  .method-chain,
  .output-preview,
  .coop-path,
  .rule-brief,
  .faq-teaser {
    padding-left: 16px;
    padding-right: 16px;
  }

  .coop-banner {
    margin: 32px auto;
    padding: 0 16px;
  }

  .banner-inner {
    padding: 32px 24px;
  }

  .matrix-grid,
  .ticker-scroll {
    grid-template-columns: 1fr;
  }

  .path-cards {
    grid-template-columns: 1fr;
  }

  .rule-brief {
    grid-template-columns: 1fr;
  }

  .chain-flow {
    flex-direction: column;
  }

  .chain-node {
    flex: 1 1 auto;
  }

  /* 内页 */
  .inner-main {
    padding: 0 16px 40px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  .page-header {
    padding: 24px 16px 8px;
  }

  .page-title {
    font-size: 1.625rem;
  }

  .service-item-body {
    grid-template-columns: 1fr;
  }

  .node-fields {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .chain-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .chain-item {
    justify-content: flex-start;
  }

  .chain-item::after {
    display: none;
  }

  .stage-chain {
    flex-direction: column;
  }

  .stage-card {
    flex: 1 1 auto;
  }

  .stage-roles {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .summary-compare {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .faq-extend {
    grid-template-columns: 1fr;
  }

  .usage-grid {
    grid-template-columns: 1fr;
  }

  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-copy {
    text-align: left;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 3rem;
  }

  .hero-actions,
  .guide-cta {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .guide-cta .cta-link {
    text-align: center;
  }
}

/* 超小屏 */
@media (max-width: 390px) {
  .brand-name {
    font-size: 1.125rem;
  }

  .brand-batch {
    font-size: 0.6875rem;
    padding: 1px 6px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    text-align: center;
  }

  .banner-inner {
    padding: 24px 16px;
  }

  .banner-title {
    font-size: 1.375rem;
  }

  .service-item-body,
  .deliverable-card,
  .stage-block {
    padding: 16px;
  }

  .service-item-head,
  .stage-block-head {
    padding: 14px 16px;
  }

  .stage-roles {
    padding: 16px;
  }

  .confirm-item {
    padding: 16px;
    gap: 12px;
  }

  .check-item {
    padding: 12px 16px;
  }

  .faq-item summary,
  .faq-question {
    padding: 14px 16px;
  }

  .faq-item p,
  .faq-answer {
    padding: 0 16px 14px;
  }

  .rule-allow,
  .rule-deny,
  .summary-col {
    padding: 16px;
  }

  .footer-shell {
    padding: 24px 16px 20px;
  }
}
