/* ============================================================
   51每日大赛 · 整站样式
   视觉方向：音乐杂志封面版式 / 纸白底 / 墨绿标题 / 暖橙行动点
   ============================================================ */

/* --------------------------------------------
   Base · 基础变量与全局重置
   -------------------------------------------- */
:root {
  --paper: #F7F5F0;
  --ink: #1F3A34;
  --accent: #E85D3D;
  --slate: #4A5560;
  --line: #E9E6DF;
  --white: #FFFFFF;
  --ink-soft: #2C4A43;
  --slate-light: #6B7A84;
  --radius: 6px;
  --radius-sm: 4px;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --header-h-scroll: 60px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background: var(--paper);
  color: var(--slate);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--ink);
  line-height: 1.3;
  font-weight: 700;
}

/* --------------------------------------------
   Layout · 全站骨架
   -------------------------------------------- */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  transition: height 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  height: var(--header-h-scroll);
  box-shadow: 0 2px 12px rgba(31, 58, 52, 0.06);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.8125rem;
  color: var(--slate-light);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
  line-height: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  color: var(--ink);
  background: rgba(31, 58, 52, 0.05);
}

.nav-list li a.is-current {
  color: var(--white);
  background: var(--ink);
}

.nav-list li a.nav-cta {
  color: var(--white);
  background: var(--accent);
  margin-left: 8px;
}

.nav-list li a.nav-cta:hover {
  background: #d14e31;
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-main {
  flex: 1;
  width: 100%;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 72px;
}

/* 面包屑 */
.breadcrumb {
  padding: 18px 0 6px;
  font-size: 0.8125rem;
  color: var(--slate-light);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--slate-light);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: #b8b2a6;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

/* 页头标题区 */
.page-header {
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-description {
  font-size: 1rem;
  color: var(--slate);
  max-width: 760px;
}

/* 页脚 */
.site-footer {
  background: var(--ink);
  color: rgba(247, 245, 240, 0.75);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--gutter) 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(247, 245, 240, 0.65);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 245, 240, 0.12);
  padding: 20px var(--gutter);
  text-align: center;
}

.footer-bottom p {
  max-width: var(--container);
  margin: 0 auto;
  font-size: 0.8125rem;
  color: rgba(247, 245, 240, 0.5);
}

/* 通用区块标题 */
.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.section-heading p {
  color: var(--slate);
  max-width: 640px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-note {
  color: var(--slate);
  max-width: 640px;
  margin-bottom: 28px;
}

/* 通用文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9375rem;
  padding: 6px 0;
}

.text-link::after {
  content: "→";
  font-size: 1.125rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: #d14e31;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------
   Components · 通用组件
   -------------------------------------------- */

/* 首页主按钮 */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  min-height: 44px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: #d14e31;
  border-color: #d14e31;
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

/* 图片容器通用约束 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  font-size: 0.8125rem;
  color: var(--slate-light);
  padding-top: 8px;
  text-align: center;
}

/* 折叠面板 */
details.faq-item {
  border-bottom: 1px solid var(--line);
}

details.faq-item summary {
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 1.375rem;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item p {
  padding: 0 0 18px;
  color: var(--slate);
  max-width: 720px;
}

/* 相关链接 */
.related-links {
  padding: 36px 0 0;
}

.related-links h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links ul li a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.related-links ul li a:hover {
  border-color: var(--ink);
  background: rgba(31, 58, 52, 0.04);
}

/* --------------------------------------------
   Pages · 首页
   -------------------------------------------- */
.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
}

/* Hero 区 */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 64px;
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--line);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--slate);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.step-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}

.step-num {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.step-text {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 服务类别目录 */
.service-directory {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.service-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.service-row:hover {
  background: rgba(255, 255, 255, 0.7);
}

.service-no {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--line);
  letter-spacing: 0.02em;
}

.service-info h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-info p {
  font-size: 0.9375rem;
  color: var(--slate);
}

.service-link {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.service-link:hover {
  color: #d14e31;
}

/* 场景专题 */
.scenario-feature {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(31, 58, 52, 0.08);
  transform: translateY(-2px);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 20px 24px 6px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--slate);
  padding: 0 24px 16px;
}

.feature-link {
  display: inline-block;
  margin: 0 24px 24px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9375rem;
}

.feature-link:hover {
  color: #d14e31;
}

/* 执行链路横条 */
.pipeline-strip {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.pipeline-bar {
  display: flex;
  align-items: center;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 8px;
  gap: 4px;
}

.pipeline-node {
  flex: 1;
  text-align: center;
  padding: 18px 12px;
  color: rgba(247, 245, 240, 0.9);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.pipeline-node:hover {
  background: rgba(247, 245, 240, 0.12);
  color: var(--white);
}

.pipeline-arrow {
  color: var(--accent);
  font-size: 1.125rem;
  padding: 0 2px;
  flex-shrink: 0;
}

/* 合作流程预览 */
.process-preview {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.timeline-item {
  position: relative;
  padding-top: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.875rem;
  color: var(--slate);
}

/* FAQ 提点 */
.faq-teaser {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.faq-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: 8px;
}

.faq-item a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.faq-item a:hover {
  color: #d14e31;
}

/* 启动准备 */
.startup-prep {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.prep-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.prep-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.prep-no {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(232, 93, 61, 0.1);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.prep-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.prep-item p {
  font-size: 0.875rem;
  color: var(--slate);
}

/* --------------------------------------------
   Pages · 赛事方案（service）
   -------------------------------------------- */
.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
}

/* 左栏目录 */
.doc-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.toc-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.toc-inner h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list li a {
  display: block;
  padding: 8px 10px;
  font-size: 0.875rem;
  color: var(--slate);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.toc-list li a:hover {
  background: rgba(31, 58, 52, 0.05);
  color: var(--ink);
}

.toc-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--slate-light);
}

.toc-note a {
  color: var(--accent);
  font-weight: 600;
}

/* 中部正文 */
.doc-content {
  min-width: 0;
}

.service-category {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.service-category:first-of-type {
  padding-top: 0;
}

.category-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.category-no {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.category-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.doc-content p {
  margin-bottom: 16px;
  color: var(--slate);
}

.doc-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 20px 0 10px;
}

.doc-content ul {
  margin: 0 0 16px;
  padding-left: 0;
}

.doc-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  color: var(--slate);
}

.doc-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.content-figure {
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.content-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 右侧交付要点 */
.delivery-notes {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.notes-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.notes-inner h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.notes-inner h2 + ul {
  margin-bottom: 24px;
}

.notes-inner ul li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  margin-bottom: 10px;
  color: var(--slate);
}

.notes-inner ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.notes-inner p {
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 10px;
}

/* --------------------------------------------
   Pages · 场景专题（solutions）
   -------------------------------------------- */
.scenario-index {
  margin-bottom: 48px;
}

.index-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.index-list li a {
  display: block;
  text-align: center;
  padding: 14px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.index-list li a:hover {
  border-color: var(--ink);
  background: rgba(31, 58, 52, 0.04);
}

.scenario-sections {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.scenario-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.scenario-block:first-child {
  border-top: none;
  padding-top: 0;
}

.scenario-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.scenario-text p {
  margin-bottom: 12px;
  color: var(--slate);
}

.scenario-figure {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.scenario-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 下一步 */
.next-steps {
  padding: 48px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.next-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.next-list li a {
  display: block;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.next-list li a:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(31, 58, 52, 0.06);
}

/* --------------------------------------------
   Pages · 项目摘要（cases）
   -------------------------------------------- */
.method-overview {
  margin-bottom: 48px;
}

.overview-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.overview-item:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(31, 58, 52, 0.06);
}

.stage-num {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.stage-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.method-stages {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.stage-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.stage-header {
  margin-bottom: 24px;
}

.stage-header h3 {
  font-size: 1.375rem;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.stage-figure {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.stage-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.stage-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
}

.stage-input h4,
.stage-action h4,
.stage-output h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.stage-input p,
.stage-action p,
.stage-output p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.7;
}

.cooperation-note {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 48px;
  margin-bottom: 48px;
}

.cooperation-inner h2 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cooperation-inner p {
  color: rgba(247, 245, 240, 0.8);
  margin-bottom: 12px;
  max-width: 720px;
}

.cooperation-inner .text-link {
  color: var(--accent);
  margin-top: 8px;
}

.cooperation-inner .text-link:hover {
  color: #ff8a6d;
}

.related-links-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-light);
  margin-bottom: 12px;
}

.related-links-item {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 8px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.related-links-item:hover {
  border-color: var(--ink);
}

/* --------------------------------------------
   Pages · 合作流程（process）
   -------------------------------------------- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.step-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.step-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-input h4,
.step-process h4,
.step-output h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.step-input p,
.step-process p,
.step-output p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.7;
}

.step-media {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.step-media img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

/* 合作前检查 */
.process-check {
  margin-bottom: 48px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.check-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.check-list li h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.check-list li p {
  font-size: 0.875rem;
  color: var(--slate);
}

.check-more {
  font-size: 0.9375rem;
}

.check-more a {
  color: var(--accent);
  font-weight: 600;
}

.check-more a:hover {
  color: #d14e31;
}

/* 流程页延伸阅读 */
.related-links p {
  margin-top: 12px;
  font-size: 0.9375rem;
}

.related-links p a {
  color: var(--accent);
  font-weight: 600;
}

/* --------------------------------------------
   Pages · 常见问题（faq）
   -------------------------------------------- */
.page-heading-text {
  max-width: 640px;
}

.page-heading-figure {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.page-heading-figure img {
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
}

.faq-group {
  margin-bottom: 48px;
}

.faq-category {
  margin-bottom: 40px;
}

.faq-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

/* 延伸阅读 */
.extend-links {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.extend-intro {
  color: var(--slate);
  margin-bottom: 20px;
}

.extend-link-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.extend-link-list li a {
  display: block;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.extend-link-list li a:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(31, 58, 52, 0.06);
}

.extend-link-title {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 4px;
}

.extend-link-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--slate-light);
}

/* --------------------------------------------
   Pages · 合作指南（guide）
   -------------------------------------------- */
.prepare-list {
  margin-bottom: 56px;
}

.prepare-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 16px;
}

.prepare-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.prepare-item p {
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: 8px;
}

.example-tip {
  font-size: 0.875rem;
  color: var(--slate-light);
  background: rgba(31, 58, 52, 0.04);
  border-left: 3px solid var(--accent);
  padding: 10px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.example-tip strong {
  color: var(--ink);
  font-weight: 600;
}

/* 需求描述建议 */
.layout-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.describe-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.describe-content > p {
  color: var(--slate);
  margin-bottom: 24px;
}

.describe-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.describe-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.describe-item p {
  font-size: 0.875rem;
  color: var(--slate);
}

.describe-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.describe-media figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 站点导引 */
.site-walkthrough {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.site-walkthrough > p {
  color: var(--slate);
  margin-bottom: 24px;
}

.walkthrough-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.walkthrough-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.walkthrough-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.walkthrough-card p {
  font-size: 0.875rem;
  color: var(--slate);
  flex: 1;
  margin-bottom: 12px;
}

.walkthrough-card a {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.875rem;
}

.walkthrough-card a:hover {
  color: #d14e31;
}

.walkthrough-note {
  font-size: 0.9375rem;
}

.walkthrough-note a {
  color: var(--accent);
  font-weight: 600;
}

/* --------------------------------------------
   Pages · 404
   -------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--gutter);
}

.error-panel {
  max-width: 560px;
  text-align: center;
}

.error-panel h1 {
  font-size: 5rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 16px;
}

.error-lead {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.error-desc {
  color: var(--slate);
  margin-bottom: 28px;
}

.btn-home {
  display: inline-block;
  padding: 12px 32px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 32px;
  transition: background 0.2s ease;
}

.btn-home:hover {
  background: #d14e31;
  color: var(--white);
}

.error-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.error-links a {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.9375rem;
}

.error-links a:hover {
  color: var(--accent);
}

.link-sep {
  color: var(--line);
}

/* --------------------------------------------
   Responsive · 响应式
   -------------------------------------------- */

/* 滚动出现动画（仅增强，不影响初始可见性） */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-section,
  .service-directory,
  .scenario-feature,
  .pipeline-strip,
  .process-preview,
  .faq-teaser,
  .startup-prep {
    animation: fadeUp 0.5s ease both;
  }

  .service-directory {
    animation-delay: 0.1s;
  }
  .scenario-feature {
    animation-delay: 0.15s;
  }
  .pipeline-strip {
    animation-delay: 0.2s;
  }
}

/* 平板 */
@media (max-width: 1024px) {
  .page-layout.sidebar-left {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .delivery-notes {
    grid-column: 1 / -1;
    position: static;
  }

  .notes-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
  }

  .notes-inner h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .notes-inner h2 + ul {
    margin-bottom: 0;
  }

  .overview-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .overview-item:nth-child(4),
  .overview-item:nth-child(5) {
    grid-column: span 1;
  }

  .overview-item:last-child {
    grid-column: 2 / 3;
  }
}

/* 手机端 */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --header-h-scroll: 54px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-tag {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(31, 58, 52, 0.08);
    padding: 8px 16px 16px;
    gap: 2px;
    display: none;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-list li a.nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  /* 首页 */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 48px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .service-row {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 20px 4px;
  }

  .service-no {
    font-size: 1.125rem;
  }

  .service-link {
    grid-column: 2;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-bar {
    flex-direction: column;
    gap: 2px;
  }

  .pipeline-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .pipeline-node {
    width: 100%;
    padding: 14px 12px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prep-steps {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 1.375rem;
  }

  /* 内页通用 */
  .inner-main {
    padding-bottom: 56px;
  }

  .page-header {
    padding: 20px 0 28px;
    margin-bottom: 32px;
  }

  .page-title {
    font-size: 1.625rem;
  }

  /* 服务页 */
  .page-layout.sidebar-left {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .doc-toc {
    position: static;
    order: 2;
  }

  .doc-content {
    order: 1;
  }

  .delivery-notes {
    order: 3;
    grid-column: auto;
  }

  .notes-inner {
    display: block;
  }

  .notes-inner h2 {
    margin-bottom: 12px;
  }

  .notes-inner h2 + ul {
    margin-bottom: 20px;
  }

  .category-head h2 {
    font-size: 1.25rem;
  }

  /* 场景专题 */
  .index-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .next-list {
    grid-template-columns: 1fr;
  }

  /* 项目摘要 */
  .overview-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-item:last-child {
    grid-column: auto;
  }

  .stage-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stage-block {
    padding: 24px;
  }

  .cooperation-note {
    padding: 32px 24px;
  }

  /* 合作流程 */
  .step-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-step {
    padding: 24px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .page-heading-figure {
    margin-top: 16px;
  }

  .extend-link-list {
    grid-template-columns: 1fr;
  }

  /* 指南 */
  .layout-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .describe-media {
    position: static;
  }

  .walkthrough-grid {
    grid-template-columns: 1fr;
  }

  .prepare-item {
    padding: 20px 24px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px var(--gutter) 24px;
  }

  /* 404 */
  .error-panel h1 {
    font-size: 3.5rem;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-steps {
    grid-template-columns: 1fr;
  }

  .index-list {
    grid-template-columns: 1fr;
  }

  .overview-strip {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }
}
