/* ============================================================
   糖心 hhponc.com — 全站样式表
   设计方向：专业编辑部 × 手工案头风
   ============================================================ */

/* ============================================================
   1. BASE — 变量、重置、基础排版
   ============================================================ */

:root {
  --primary: #1F3A5F;
  --background: #F7F4EF;
  --surface: #FFFFFF;
  --accent: #BE5A38;
  --text: #232A32;
  --muted: #62676C;
  --line: #D9D2CA;

  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "Inter", "Noto Sans SC", "PingFang SC", sans-serif;

  --header-h: 64px;
  --content-w: 1200px;
  --reading-w: 760px;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --shadow-card: 0 1px 3px rgba(35, 42, 50, 0.06);
  --shadow-lift: 0 4px 12px rgba(35, 42, 50, 0.08);
}

*, *::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: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(190, 90, 56, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

ul, ol {
  list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  line-height: 1.35;
  font-weight: 600;
}

h1 {
  font-size: 28px;
  line-height: 1.3;
}

h2 {
  font-size: 22px;
  line-height: 1.4;
}

h3 {
  font-size: 18px;
  line-height: 1.5;
}

h4 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================
   2. LAYOUT — 全站骨架
   ============================================================ */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--content-w);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-6);
}

.site-nav .nav-list li {
  list-style: none;
}

.site-nav .nav-list a {
  display: inline-block;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  padding: var(--space-2) 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav .nav-list a:hover {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.site-nav .nav-list a.is-current {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 var(--space-5);
  background-color: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.header-cta:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 主内容区 ---------- */

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.inner-main {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ---------- 面包屑 ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-5) 0 var(--space-4);
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--primary);
  font-weight: 500;
}

/* ---------- 内页标题区 ---------- */

.page-header {
  padding: var(--space-4) 0 var(--space-7);
  max-width: var(--reading-w);
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.page-description {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: var(--space-9);
  background-color: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--space-7) var(--space-5) var(--space-5);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
}

.footer-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--space-2);
}

.footer-col ul a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-col ul a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: var(--space-4) var(--space-5);
  text-align: center;
}

.footer-bottom p {
  max-width: var(--content-w);
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ============================================================
   3. COMPONENTS — 通用模块
   ============================================================ */

/* ---------- 按钮 ---------- */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-6);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* ---------- 文字链接 ---------- */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.text-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.text-link.light {
  color: #fff;
}

.text-link.light:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- 区块标题 ---------- */

.section-head,
.section-heading {
  margin-bottom: var(--space-6);
}

.section-head h2,
.section-heading h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.section-head p,
.section-heading p {
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
}

.section-kicker {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

/* ---------- 图片 ---------- */

figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

figcaption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding-top: var(--space-2);
}

/* ---------- FAQ 手风琴 ---------- */

details.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  padding: 0;
  overflow: hidden;
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
  line-height: 1.5;
  min-height: 48px;
  list-style: none;
  transition: background-color 0.2s ease;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

details.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item p {
  padding: var(--space-4) var(--space-5);
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0;
}

details.faq-item .text-link {
  margin: 0 var(--space-5) var(--space-4);
}

/* ---------- 相关链接条 ---------- */

.related-links {
  max-width: var(--content-w);
  margin: var(--space-7) auto 0;
  padding: var(--space-5);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.related-links-item {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}

.related-links-item:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ============================================================
   4. PAGES — 首页
   ============================================================ */

/* ---------- Hero ---------- */

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-8) 0 var(--space-7);
}

.hero-content h1 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.hero-content > p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  max-width: 520px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin-bottom: var(--space-6);
}

.hero-tags li {
  list-style: none;
  font-size: 13px;
  color: var(--primary);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: var(--space-1) var(--space-4);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.hero-figure figcaption {
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  background-color: rgba(31, 58, 95, 0.92);
  color: #fff;
  font-size: 13px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  line-height: 1.4;
  text-align: center;
}

/* ---------- 服务方向总览 ---------- */

.service-overview {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.service-image img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
}

.service-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--primary);
}

.service-text > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.deliverable-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin-bottom: var(--space-4);
}

.deliverable-tags li {
  list-style: none;
  font-size: 13px;
  background-color: var(--background);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3);
  color: var(--primary);
  line-height: 1.4;
}

/* ---------- 场景摘要 ---------- */

.scenario-summary {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.scenario-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

.scenario-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.scenario-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.scenario-card p:last-child {
  margin-bottom: 0;
}

/* ---------- 流程摘要 ---------- */

.process-preview {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.step-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
  box-shadow: var(--shadow-card);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.step-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--primary);
}

.step-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

/* ---------- FAQ 预览 ---------- */

.faq-preview {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-5);
}

.faq-columns .faq-item {
  margin-bottom: var(--space-4);
}

/* ---------- 风险提示条 ---------- */

.risk-note {
  background-color: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  margin: var(--space-8) 0;
}

.risk-content {
  max-width: 820px;
}

.risk-content h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.risk-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

/* ---------- 术语索引入口 ---------- */

.glossary-entry {
  padding: var(--space-6) 0 var(--space-8);
}

.term-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.term-card {
  display: block;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.term-card:hover {
  text-decoration: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
}

.term-name {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.term-desc {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- 合作引导区 ---------- */

.cooperation-cta {
  padding: var(--space-7) 0 var(--space-8);
  border-top: 1px solid var(--line);
}

.cooperation-cta > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-5);
  color: var(--primary);
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.cta-card {
  display: block;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-card:hover {
  text-decoration: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
}

.cta-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.cta-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   5. PAGES — 服务方向页
   ============================================================ */

.problem-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-7);
  align-items: start;
  padding: var(--space-6) 0 var(--space-8);
  border-top: 1px solid var(--line);
}

.problem-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.problem-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.problem-note {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.problem-note p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
  font-style: italic;
}

.problem-note p:last-child {
  margin-bottom: 0;
}

/* ---------- 服务矩阵 ---------- */

.service-matrix {
  padding: var(--space-8) 0;
}

.matrix-heading {
  max-width: 640px;
  margin-bottom: var(--space-7);
}

.matrix-heading h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.matrix-heading > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.service-row-a,
.service-row-b,
.service-row-c,
.service-row-d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  margin-bottom: var(--space-6);
}

.service-media figure img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
}

.service-media figcaption {
  font-size: 13px;
  color: var(--muted);
  padding-top: var(--space-2);
}

.service-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background-color: rgba(190, 90, 56, 0.08);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3);
  margin-bottom: var(--space-3);
}

.service-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.service-content > p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.service-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.deliverable-list {
  list-style: none;
  margin-bottom: var(--space-4);
}

.deliverable-list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.deliverable-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.service-content > p:last-child {
  margin-bottom: 0;
}

/* ---------- 边界说明 ---------- */

.boundary-note {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.boundary-inner {
  max-width: 900px;
  padding: var(--space-7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
}

.boundary-inner h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.boundary-inner > p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.boundary-list {
  list-style: none;
  margin-bottom: var(--space-4);
}

.boundary-list li {
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.boundary-list li:last-child {
  border-bottom: none;
}

.boundary-list strong {
  color: var(--primary);
  font-weight: 600;
  margin-right: var(--space-2);
}

.boundary-reason {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.65;
}

/* ---------- 深色 CTA ---------- */

.dark-cta {
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  margin: var(--space-6) 0 var(--space-8);
}

.cta-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.cta-content > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-6);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  background-color: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cta-button:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
}

.cta-secondary {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   6. PAGES — 合作流程页
   ============================================================ */

.timeline-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-6) 0 var(--space-8);
  border-top: 1px solid var(--line);
}

.intro-copy h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.intro-copy p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.intro-media img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
}

/* ---------- 时间线 ---------- */

.timeline-five-steps {
  padding: var(--space-8) 0;
}

.timeline-five-steps > h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-7);
  max-width: 640px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.timeline-step:last-child {
  border-bottom: none;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.step-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
}

.step-party {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.step-party h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.step-party ul {
  list-style: none;
}

.step-party ul li {
  position: relative;
  padding-left: var(--space-4);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.step-party ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.step-deliverable {
  background-color: var(--background);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-3) var(--space-4);
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.step-deliverable strong {
  color: var(--primary);
}

/* ---------- 准备清单 ---------- */

.preparation-list {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.preparation-list > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.prep-items {
  list-style: none;
  counter-reset: prep;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.prep-items li {
  counter-increment: prep;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
}

.prep-items li::before {
  content: counter(prep, decimal-leading-zero);
  display: block;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.prep-items h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.prep-items p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- 流程 FAQ 链接区 ---------- */

.process-faq-link {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  text-align: center;
  margin: var(--space-6) 0;
}

.process-faq-link h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.process-faq-link > p {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto var(--space-5);
}

.link-pair {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.link-pair a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-5);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.link-pair a:hover {
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   7. PAGES — FAQ 页
   ============================================================ */

.faq-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-6) 0 var(--space-8);
  border-top: 1px solid var(--line);
}

.guide-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.guide-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.guide-media img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
}

.faq-group {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
}

.faq-group > h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-5);
}

.faq-group .faq-list {
  max-width: 860px;
}

.group-footer-link {
  margin-top: var(--space-4);
  font-size: 14px;
}

.group-footer-link a {
  font-weight: 600;
}

/* ---------- 更多帮助 ---------- */

.faq-more-help {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.faq-more-help > h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-6);
}

.help-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.help-entry-card {
  display: block;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-entry-card:hover {
  text-decoration: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
}

.entry-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.entry-text {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
}

/* ============================================================
   8. PAGES — 术语索引页
   ============================================================ */

.glossary-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-6) 0 var(--space-8);
  border-top: 1px solid var(--line);
}

.glossary-intro .intro-copy h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.glossary-intro .intro-copy p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.glossary-intro .intro-media img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
}

/* ---------- Tab 容器 ---------- */

.term-tabs {
  padding: var(--space-6) 0;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-6);
  list-style: none;
}

.tab-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-5);
  background: none;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  font-family: var(--font-sans);
}

.tab-trigger:hover {
  color: var(--primary);
  background-color: rgba(31, 58, 95, 0.04);
}

.tab-trigger.is-active {
  color: var(--primary);
  border-color: var(--line);
  background-color: var(--surface);
  border-bottom: 2px solid var(--surface);
  margin-bottom: -1px;
}

.tab-panel {
  display: none;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: var(--space-6);
}

.tab-panel.is-active {
  display: block;
}

.panel-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-5);
}

/* ---------- 术语条目 ---------- */

.term-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.term-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background-color: var(--background);
}

.term-item dt {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-3);
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: var(--space-1);
}

.term-item dd {
  margin: 0;
}

.term-def {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.term-exp {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.term-example {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: var(--space-3);
}

.term-rel {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.term-rel a {
  color: var(--accent);
}

/* ---------- 相关入口 ---------- */

.glossary-related {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.glossary-related h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.glossary-related > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: var(--space-5);
}

.glossary-related .related-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  border: none;
}

.glossary-related .related-links li {
  list-style: none;
}

.glossary-related .related-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-5);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.glossary-related .related-links a:hover {
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   9. PAGES — 关于糖心
   ============================================================ */

.about-hero-image {
  padding: var(--space-4) 0 var(--space-8);
}

.about-hero-image figure img {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
}

.about-hero-image figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding-top: var(--space-3);
}

/* ---------- 工作原则 ---------- */

.working-principles {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.working-principles .section-heading h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.principle-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.principle-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  align-items: start;
}

.principle-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 600;
}

.principle-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.principle-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---------- 边界清单 ---------- */

.not-do-list {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
}

.not-do-list .section-heading h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.not-do-list .boundary-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  list-style: none;
}

.not-do-list .boundary-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.boundary-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.boundary-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- 尾部 CTA ---------- */

.about-cta {
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  text-align: center;
  margin: var(--space-6) 0 var(--space-4);
}

.about-cta h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.about-cta > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto var(--space-5);
}

.cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.about-cta .cta-button {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.about-cta .cta-button:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   10. PAGES — 404
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 200px);
  padding: var(--space-8) var(--space-5);
}

.error-section {
  max-width: 560px;
  text-align: center;
}

.error-code {
  font-family: var(--font-num);
  font-size: 96px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-section h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.error-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-6);
  background-color: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  margin-bottom: var(--space-6);
  transition: background-color 0.2s ease;
}

.error-home-link:hover {
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
}

.error-help {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.error-help a {
  color: var(--primary);
  font-weight: 500;
}

/* ============================================================
   11. RESPONSIVE — 响应式断点
   ============================================================ */

@media (max-width: 1024px) {
  .header-inner {
    gap: var(--space-3);
    padding: 0 var(--space-4);
  }

  .site-nav .nav-list {
    gap: var(--space-4);
  }

  .site-nav .nav-list a {
    font-size: 14px;
  }

  .scenario-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .prep-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .term-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    padding: 0 var(--space-4);
  }

  .site-nav .nav-list {
    gap: var(--space-3);
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: var(--space-6) 0;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-figure {
    order: -1;
  }

  .service-row,
  .service-row-a,
  .service-row-b,
  .service-row-c,
  .service-row-d {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .service-image {
    order: -1;
  }

  .service-row-b .service-content {
    order: 1;
  }

  .service-row-b .service-image {
    order: 0;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .faq-columns {
    grid-template-columns: 1fr;
  }

  .term-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-cards {
    grid-template-columns: 1fr;
  }

  .problem-intro {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .timeline-intro,
  .faq-guide,
  .glossary-intro {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .step-detail-grid {
    grid-template-columns: 1fr;
  }

  .prep-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .not-do-list .boundary-list {
    grid-template-columns: 1fr;
  }

  .help-entry-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-h);
    padding: var(--space-2) var(--space-4);
    gap: var(--space-2);
  }

  .brand {
    order: 0;
  }

  .header-cta {
    order: 1;
    margin-left: auto;
    min-height: 36px;
    padding: 0 var(--space-4);
    font-size: 13px;
  }

  .nav-toggle {
    order: 2;
    display: flex;
  }

  .site-nav {
    order: 3;
    width: 100%;
    flex-basis: 100%;
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--surface);
    border-top: 1px solid var(--line);
    padding: var(--space-2) 0;
    width: 100%;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list li {
    width: 100%;
  }

  .site-nav .nav-list a {
    display: block;
    padding: var(--space-3) var(--space-4);
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: 15px;
  }

  .site-nav .nav-list a:hover {
    border-bottom: none;
    border-left-color: var(--accent);
    background-color: rgba(31, 58, 95, 0.04);
  }

  .site-nav .nav-list a.is-current {
    border-bottom: none;
    border-left-color: var(--accent);
  }

  .home-main,
  .inner-main {
    padding: 0 var(--space-4);
  }

  .breadcrumb {
    padding: var(--space-4) 0 var(--space-3);
  }

  .page-header {
    padding: var(--space-3) 0 var(--space-5);
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content > p {
    font-size: 15px;
  }

  .hero-tags {
    gap: var(--space-1);
  }

  .hero-tags li {
    font-size: 12px;
    padding: var(--space-1) var(--space-3);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .section-head h2,
  .section-heading h2 {
    font-size: 22px;
  }

  .service-row,
  .service-row-a,
  .service-row-b,
  .service-row-c,
  .service-row-d {
    padding: var(--space-4);
  }

  .service-text h3,
  .service-content h3 {
    font-size: 18px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .faq-columns {
    gap: 0;
  }

  .term-cards {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: var(--space-5);
  }

  .risk-note {
    padding: var(--space-5) var(--space-4);
  }

  .risk-content h2 {
    font-size: 18px;
  }

  .risk-content p {
    font-size: 14px;
  }

  .boundary-inner {
    padding: var(--space-5);
  }

  .dark-cta {
    padding: var(--space-5) var(--space-4);
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }

  .timeline-step {
    grid-template-columns: 44px 1fr;
    gap: var(--space-3);
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .step-content h3 {
    font-size: 18px;
  }

  .prep-items {
    grid-template-columns: 1fr;
  }

  .preparation-list {
    padding: var(--space-6) 0;
  }

  .faq-item summary {
    font-size: 14px;
  }

  .tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
  }

  .tab-trigger {
    flex: 0 0 auto;
    padding: 0 var(--space-4);
    font-size: 14px;
  }

  .tab-panel {
    padding: var(--space-4);
  }

  .term-list {
    grid-template-columns: 1fr;
  }

  .term-item {
    padding: var(--space-4);
  }

  .about-hero-image figure img {
    aspect-ratio: 4 / 3;
  }

  .principle-item {
    grid-template-columns: 40px 1fr;
    padding: var(--space-4);
  }

  .principle-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .about-cta {
    padding: var(--space-5) var(--space-4);
  }

  .cta-links {
    flex-direction: column;
  }

  .about-cta .cta-button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: var(--space-6) var(--space-4) var(--space-4);
  }

  .footer-bottom {
    padding: var(--space-3) var(--space-4);
  }

  .error-main {
    padding: var(--space-6) var(--space-4);
  }

  .error-code {
    font-size: 64px;
  }

  .error-help {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 400px) {
  .site-nav .nav-list a {
    font-size: 14px;
    padding: var(--space-3);
  }

  .hero-tags li {
    font-size: 12px;
    padding: 2px var(--space-2);
  }

  .header-cta {
    padding: 0 var(--space-3);
    font-size: 12px;
  }

  .brand-name {
    font-size: 20px;
  }

  .step-detail-grid {
    gap: var(--space-3);
  }

  .step-party {
    padding: var(--space-3);
  }

  .step-deliverable {
    padding: var(--space-3);
    font-size: 13px;
  }
}

/* ============================================================
   动效增强 — 不阻碍初始可见性
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .scenario-card,
  .step-item,
  .service-row,
  .cta-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .scenario-card:hover,
  .service-row:hover,
  .cta-card:hover {
    box-shadow: var(--shadow-lift);
  }
}
