/* ==========================================================================
   吾爱吃瓜 · 企业服务官网 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */
:root {
  --ink: #17324d;
  --terracotta: #c4552d;
  --base-bg: #f5f7f8;
  --surface: #ffffff;
  --text: #2f3b45;
  --muted: #66727d;
  --line: #d9e0e4;
  --tint: #eef2f5;
  --radius: 4px;
  --radius-sm: 2px;
  --shell: 1180px;
  --shadow-soft: 0 1px 2px rgba(23, 50, 77, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base-bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--terracotta);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

figure {
  margin: 0;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
  padding: 4px 0;
}

.brand:hover {
  color: var(--terracotta);
}

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--terracotta);
  background: var(--tint);
}

.nav-list li:last-child .nav-link {
  margin-left: 6px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.nav-list li:last-child .nav-link:hover {
  background: var(--terracotta);
  color: #fff;
}

.nav-link.is-current {
  color: var(--terracotta);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--terracotta);
}

.nav-list li:last-child .nav-link.is-current {
  color: #fff;
  background: var(--terracotta);
  box-shadow: none;
}

/* 汉堡按钮：桌面隐藏 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

/* 页面主布局 */
.page-layout {
  display: grid;
  gap: 40px;
  align-items: start;
  padding: 32px 0 56px;
}

.page-layout.sidebar-left,
.sidebar-left .page-layout {
  grid-template-columns: 280px minmax(0, 1fr);
}

.page-layout:not(.sidebar-left):not(.layout-shell) {
  grid-template-columns: minmax(0, 1fr) 280px;
}

/* 主内容 */
.site-main {
  min-width: 0;
}

.inner-main {
  min-width: 0;
}

/* 侧栏 */
.layout-aside,
.side-nav,
.page-sidebar,
.sidebar {
  min-width: 0;
  font-size: 14px;
}

/* 页脚 */
.site-footer {
  background: var(--ink);
  color: #d7e0e7;
  margin-top: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 32px;
}

.footer-title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: #c3d0da;
  font-size: 14px;
}

.footer-list a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.footer-note {
  margin: 0;
  color: #a9b8c4;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   components · 通用模块
   -------------------------------------------------------------------------- */

/* 面包屑 */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb-inner {
  padding-top: 16px;
  padding-bottom: 0;
}

.breadcrumb-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.breadcrumb-bar .shell {
  padding-top: 12px;
  padding-bottom: 12px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb-list a {
  color: var(--muted);
}

.breadcrumb-list a:hover {
  color: var(--terracotta);
}

.breadcrumb-item span,
.breadcrumb-current {
  color: var(--ink);
  font-weight: 700;
}

.breadcrumb-sep {
  color: var(--muted);
}

.inner-main .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

/* 页面标题区（全站统一） */
.page-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 0 rgba(196, 85, 45, 0.35);
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}

.page-head,
.page-title-band,
.page-title-bar,
.page-title-block {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.page-head-inner,
.page-title-band .shell,
.page-title-bar .shell,
.page-title-block .shell {
  padding-top: 14px;
  padding-bottom: 14px;
}

.page-head-tag,
.page-head-lead,
.page-tag,
.page-lead {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.page-head-tag,
.page-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--ink);
  font-weight: 700;
}

.page-lead {
  color: var(--text);
  line-height: 1.75;
}

/* 内页正文分区 */
.content-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.content-section:last-of-type {
  border-bottom: 0;
}

.content-section > h2,
.section-title {
  margin-bottom: 10px;
}

.content-section > p,
.section-lead {
  color: var(--text);
  margin-bottom: 18px;
}

.section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-desc,
.section-note {
  color: var(--muted);
  font-size: 15px;
}

.section-note {
  margin: 16px 0 0;
}

.section-more {
  margin-top: 16px;
  font-size: 14px;
}

.section-more a {
  margin-right: 16px;
  font-weight: 700;
}

/* 图片容器 */
.hero-figure,
.section-figure,
.media-block,
.media-figure,
.content-figure {
  margin: 0 0 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-figure img,
.section-figure img,
.media-block img,
.media-figure img,
.content-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--tint);
}

.hero-figure figcaption,
.section-figure figcaption,
.media-block figcaption,
.media-figure figcaption,
.content-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--terracotta);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

/* 侧栏列表（服务目录 / 本页目录 / 相邻栏目） */
.aside-title,
.side-title,
.toc-title,
.sidebar-title {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.catalog-list,
.side-list,
.toc-list,
.sidebar-list {
  margin-bottom: 24px;
}

.catalog-list li + li,
.side-list li + li,
.toc-list li + li,
.sidebar-list li + li {
  margin-top: 6px;
}

.catalog-list a,
.side-list a,
.toc-list a,
.sidebar-list a {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid var(--line);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.catalog-list a:hover,
.side-list a:hover,
.toc-list a:hover,
.sidebar-list a:hover {
  border-left-color: var(--terracotta);
  background: var(--tint);
  color: var(--terracotta);
}

.side-block,
.sidebar-block,
.sidebar-nav {
  margin-bottom: 24px;
}

/* 相关链接 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 14px;
}

.related-links-item:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

/* 卡片通用 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.info-card,
.role-card,
.scenario-card,
.checklist-col,
.combo-item {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.service-card:hover,
.info-card:hover,
.role-card:hover,
.scenario-card:hover,
.combo-item:hover {
  border-color: var(--terracotta);
  transform: translateY(-1px);
}

.service-card h3,
.info-card h3,
.role-card h3,
.scenario-card h3,
.combo-item h3 {
  margin-bottom: 10px;
}

.card-label,
.scenario-meta,
.combo-goal,
.combo-team,
.region-meta {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--terracotta);
}

.service-card p:last-child,
.info-card p:last-child,
.role-card p:last-child,
.combo-item p:last-child {
  margin-bottom: 0;
}

/* 表格 */
.data-table,
.info-table {
  margin: 20px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.data-table caption,
.info-table caption,
.table-caption {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.data-table th,
.data-table td,
.info-table th,
.info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.data-table thead th,
.info-table thead th {
  background: var(--tint);
  color: var(--ink);
  font-weight: 700;
}

.data-table tbody tr:nth-child(even),
.info-table tbody tr:nth-child(even) {
  background: #fafcfd;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.info-table tbody tr:last-child th,
.info-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody th,
.info-table tbody th {
  color: var(--ink);
  font-weight: 700;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* FAQ 手风琴 */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary,
.faq-question {
  position: relative;
  padding: 14px 44px 14px 16px;
  cursor: pointer;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after,
.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--terracotta);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover,
.faq-question:hover {
  color: var(--terracotta);
}

.faq-body,
.faq-answer {
  padding: 0 16px 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
}

.faq-body p,
.faq-answer p {
  margin: 12px 0 0;
}

/* 折叠块（交付物示例） */
.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-summary {
  position: relative;
  padding: 14px 44px 14px 16px;
  cursor: pointer;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--terracotta);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.accordion-item[open] .accordion-summary::after {
  content: "−";
}

.accordion-body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--line);
}

/* 列表通用 */
.bullet-list,
.detail-list,
.check-list {
  display: grid;
  gap: 8px;
}

.bullet-list li,
.detail-list li,
.check-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
}

.bullet-list li::before,
.detail-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

.ordered-list {
  counter-reset: ordered;
  display: grid;
  gap: 8px;
}

.ordered-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.7;
}

.ordered-list li::before {
  counter-increment: ordered;
  content: counter(ordered);
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.step-list {
  counter-reset: step;
  display: grid;
  gap: 10px;
}

.step-list > li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.7;
}

.step-list > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

/* 两列内容 */
.two-col,
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.col-block,
.info-col {
  min-width: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.col-block h3,
.info-col h3,
.subsection-title {
  margin-bottom: 12px;
}

/* 标签面板 */
.tab-panel {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.tab-btn {
  min-height: 46px;
  padding: 0 18px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.tab-btn:hover {
  color: var(--terracotta);
}

.tab-btn.is-active {
  border-bottom-color: var(--terracotta);
  color: var(--ink);
}

.tab-panels {
  padding: 20px;
}

.tab-content {
  display: none;
}

.tab-content.is-visible {
  display: block;
}

.tab-content h3 {
  margin-bottom: 8px;
}

.tab-content > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}

/* 时间线（交付方式页） */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline-step {
  position: relative;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline-step .timeline-num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.timeline-step h3 {
  margin-bottom: 8px;
}

.timeline-step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.home-main {
  min-width: 0;
}

/* 杂志目录式首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-text {
  min-width: 0;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.hero-text h1 {
  margin-bottom: 14px;
}

.hero-lead {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-figure {
  margin: 0;
}

/* 首页服务范围索引 */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.scope-col {
  min-width: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-col h3 {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.scope-list {
  display: grid;
  gap: 8px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.65;
}

.scope-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* 首页区域场景速览 */
.region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.region-card {
  min-width: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.region-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-1px);
}

.region-card h3 {
  margin-bottom: 8px;
}

.region-tip {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* 首页交付方式标签面板 */
.tabs {
  margin-top: 4px;
}

/* 首页合作路径时间线 */
.timeline-item {
  position: relative;
  padding: 0 0 18px 44px;
  border-left: 1px solid var(--line);
  margin-left: 14px;
}

.timeline-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline-item .timeline-num {
  position: absolute;
  top: 0;
  left: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

.timeline-item h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.timeline-item p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* 首页合作入口 */
.checklist {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fact-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.fact-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
}

.fact-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--terracotta);
  border-radius: var(--radius-sm);
}

.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.entry-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 服务范围
   -------------------------------------------------------------------------- */
.combo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.combo-item {
  min-width: 0;
}

.combo-goal,
.combo-team {
  color: var(--ink);
}

.combo-item p:not(.combo-goal):not(.combo-team) {
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   pages · 区域场景
   -------------------------------------------------------------------------- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scenario-card {
  min-width: 0;
}

.scenario-prep {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 交付方式
   -------------------------------------------------------------------------- */
.tab-content .detail-list {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   pages · 合作入口
   -------------------------------------------------------------------------- */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.checklist-col {
  min-width: 0;
}

.checklist-col h3 {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.checklist-col ul {
  display: grid;
  gap: 8px;
}

.checklist-col li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.65;
}

.checklist-col li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}

.step-timeline {
  display: grid;
  gap: 0;
  margin-bottom: 24px;
}

.step-timeline .step-item {
  position: relative;
  padding: 0 0 20px 46px;
  border-left: 1px solid var(--line);
  margin-left: 15px;
}

.step-timeline .step-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.step-timeline .step-index {
  position: absolute;
  top: 0;
  left: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
}

.step-timeline .step-item h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.step-timeline .step-item p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.role-card {
  min-width: 0;
}

.role-card p {
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   pages · 常见问题
   -------------------------------------------------------------------------- */
.page-title {
  margin-bottom: 0;
}

.guide-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.guide-item {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.guide-item h3 {
  margin-bottom: 8px;
}

.guide-item p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 服务准则
   -------------------------------------------------------------------------- */
.info-card {
  min-width: 0;
}

.card-title {
  margin-bottom: 10px;
}

.card-text {
  margin: 0;
  font-size: 15px;
}

.step-list .step-item {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-list .step-item .step-index {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.step-list .step-item .step-body {
  min-width: 0;
}

.step-list .step-item .step-title {
  margin-bottom: 6px;
  font-size: 17px;
}

.step-list .step-item .step-text {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  padding: 56px 0;
}

.error-panel {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.error-code {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.error-title {
  margin-bottom: 12px;
}

.error-text {
  max-width: 560px;
  margin: 0 auto 22px;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.error-links {
  margin-top: 32px;
}

.error-links-title {
  margin-bottom: 14px;
  text-align: center;
}

.error-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.error-links-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 14px;
}

.error-links-list a:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .shell {
    padding: 0 20px;
  }

  .page-layout,
  .page-layout.sidebar-left,
  .sidebar-left .page-layout,
  .page-layout:not(.sidebar-left):not(.layout-shell) {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .layout-aside,
  .side-nav,
  .page-sidebar,
  .sidebar {
    order: 2;
  }

  .site-main {
    order: 1;
  }

  .scope-grid,
  .checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .combo-list,
  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1,
  .page-title,
  .hero-text h1 {
    font-size: 28px;
  }

  h2,
  .content-section > h2,
  .section-title {
    font-size: 21px;
  }

  .shell {
    padding: 0 16px;
  }

  /* 移动导航 */
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: block;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 48px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
  }

  .nav-list li:last-child .nav-link {
    margin: 8px 0 0;
    justify-content: center;
  }

  .nav-link.is-current {
    box-shadow: inset 3px 0 0 var(--terracotta);
  }

  .nav-list li:last-child .nav-link.is-current {
    box-shadow: none;
  }

  /* 首屏 */
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .hero-figure {
    order: -1;
  }

  .hero-figure img {
    aspect-ratio: 4 / 3;
  }

  /* 卡片与网格 */
  .scope-grid,
  .region-grid,
  .scenario-grid,
  .card-grid,
  .card-grid-3,
  .role-grid,
  .two-col,
  .two-col-grid,
  .checklist-grid,
  .combo-list,
  .timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .tab-btn {
    flex: 0 0 auto;
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 表格 */
  .data-table,
  .info-table {
    font-size: 13px;
  }

  .data-table th,
  .data-table td,
  .info-table th,
  .info-table td {
    padding: 10px 12px;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .error-code {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .shell {
    padding: 0 14px;
  }

  h1,
  .page-title,
  .hero-text h1 {
    font-size: 24px;
  }

  h2,
  .content-section > h2,
  .section-title {
    font-size: 19px;
  }

  h3 {
    font-size: 17px;
  }

  .hero {
    padding: 16px;
  }

  .hero-actions .btn,
  .entry-actions .btn,
  .error-actions .btn {
    width: 100%;
  }

  .hero-actions,
  .entry-actions,
  .error-actions {
    flex-direction: column;
  }

  .section,
  .content-section {
    padding: 22px 0;
  }

  .tab-panels {
    padding: 16px;
  }

  .timeline-item,
  .step-timeline .step-item {
    padding-left: 40px;
  }

  .related-links {
    gap: 8px;
  }

  .related-links-item {
    width: 100%;
    justify-content: center;
  }
}

/* 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
