/* ============================================================
   最新吃瓜 · 整站样式表
   工艺品牌风：米白暖底 / 深棕文字 / 焦糖点缀
   ============================================================ */

/* ============================================================
   Base —— 全局变量、字体、基础元素
   ============================================================ */
:root {
  --bg: #F7F3EE;
  --ink: #2B211B;
  --brown: #3E2F26;
  --amber: #B45B2E;
  --line: #E0D5C8;
  --muted: #6F625A;
  --accent: #6E7F5B;
  --white: #FDFBF8;
  --card-bg: #FBF8F3;
  --shadow: 0 1px 3px rgba(43, 33, 27, 0.06), 0 4px 14px rgba(43, 33, 27, 0.05);
  --radius: 6px;
  --container: 1200px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, 'Segoe UI', 'PingFang SC', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brown);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.3;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 12px;
}

/* 按钮基础 */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border: 1px solid var(--amber);
}

.btn-primary:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber);
}

.btn-secondary:hover {
  background: var(--amber);
  color: var(--white);
}

/* ============================================================
   Layout —— 页头、页脚、主容器、面包屑
   ============================================================ */

/* 页头 */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 50;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* 主导航 */
.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--brown);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
  color: var(--amber);
}

.main-nav a.is-current {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.header-cta {
  flex-shrink: 0;
  padding: 8px 18px;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
  transition: background 0.2s ease, color 0.2s ease;
}

.header-cta:hover {
  background: var(--amber);
  color: var(--white);
}

/* 面包屑 */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--amber);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 面包屑 ol 形式（services / faq / cooperation 顶部） */
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb ol li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--line);
}

/* 页脚 */
.site-footer {
  background: var(--brown);
  color: #D5C9BC;
  margin-top: 64px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 32px;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #B8AA9B;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 14px;
  color: #B8AA9B;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 13px;
  color: #A89A8B;
  text-align: center;
}

/* ============================================================
   Components —— 通用组件
   ============================================================ */

/* 首页 section 标题区 */
.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 640px;
}

/* 卡片淡入动画（不影响初始可见性） */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 侧栏（内页通用） */
.sidebar {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  align-self: start;
}

.sidebar-block {
  margin-bottom: 28px;
}

.sidebar-block:last-child {
  margin-bottom: 0;
}

.sidebar-block h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--brown);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.sidebar-block li {
  margin-bottom: 8px;
}

.sidebar-block li a {
  font-size: 14px;
  color: var(--muted);
  display: block;
  padding: 4px 0;
}

.sidebar-block li a:hover {
  color: var(--amber);
}

.sidebar-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.sidebar-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.sidebar-figure figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
  background: var(--card-bg);
}

/* 服务卡片（首页 + 服务系统页） */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: #CBBBA8;
}

.service-number {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 14px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.service-card a {
  font-size: 14px;
  font-weight: 600;
}

/* 步骤条目（首页服务入门 + 内页启动流程） */
.step-item {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step-number,
.step-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 10px;
}

.step-item h3 {
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

/* 折叠面板 */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  position: relative;
  padding-right: 40px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--amber);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer,
.faq-item > p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--muted);
}

/* 页面标题区（内页统一） */
.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 24px 0;
}

.page-title {
  font-size: 32px;
  color: var(--brown);
}

.page-title-area {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px 0;
}

.page-title-area > p {
  color: var(--muted);
  font-size: 15px;
  max-width: 760px;
}

/* 内页主容器 */
.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 内页两栏布局（主内容 + 右侧栏） */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-top: 28px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

/* 布局壳（changelog 页） */
.layout-shell {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-top: 28px;
  align-items: start;
}

/* ============================================================
   首页模块
   ============================================================ */

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 首屏 hero */
.hero-section {
  padding: 56px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 34px;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card-bg);
}

.hero-figure img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* 服务模块目录 */
.service-directory {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 近期内容 */
.recent-updates {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.update-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.update-item {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.update-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(110, 127, 91, 0.1);
  border-radius: 3px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.update-item h3 {
  margin-bottom: 8px;
}

.update-item p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.update-item a {
  font-size: 14px;
  font-weight: 600;
}

/* 场景档案预览 */
.scenario-preview {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.scenario-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.scenario-sidebar {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.scenario-sidebar h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.scenario-sidebar p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.scenario-sidebar li {
  margin-bottom: 6px;
}

.scenario-sidebar li a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid transparent;
}

.scenario-sidebar li a:hover {
  color: var(--amber);
  border-left-color: var(--amber);
}

.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scenario-entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  align-items: center;
}

.scenario-thumb {
  border-radius: var(--radius);
  overflow: hidden;
}

.scenario-thumb img {
  width: 100%;
  height: 96px;
  object-fit: cover;
}

.scenario-body h3 {
  margin-bottom: 6px;
}

.scenario-body p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.scenario-body a {
  font-size: 14px;
  font-weight: 600;
}

/* 服务入门引导 */
.getting-started-guide {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.guide-entry {
  text-align: left;
}

/* 合作流程速览 */
.cooperation-steps {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.cooperation-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline-step {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.timeline-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.timeline-step a {
  font-size: 14px;
  font-weight: 600;
}

/* 问题帮助预览 */
.faq-preview {
  padding: 48px 0;
}

.faq-entry {
  margin-top: 20px;
}

/* ============================================================
   内页：服务入门（getting-started）
   ============================================================ */

.page-getting-started .inner-main {
  padding-bottom: 24px;
}

.page-getting-started .intro {
  max-width: 820px;
  margin: 24px 0 32px;
}

.page-getting-started .intro p {
  margin-bottom: 14px;
  color: var(--muted);
}

/* 合作准备清单 */
.prep-list {
  margin: 40px 0;
}

.prep-list h2 {
  margin-bottom: 8px;
}

.prep-list > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.prep-list ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prep-list li {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.prep-list li h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.prep-list li p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

/* 启动流程四步 */
.steps {
  margin: 40px 0;
}

.steps > h2 {
  margin-bottom: 8px;
}

.steps > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.steps .step-item {
  margin-bottom: 16px;
  padding: 24px 28px;
}

.steps .step-item h3 {
  margin-bottom: 6px;
}

.steps .step-item > p {
  margin-bottom: 8px;
}

.step-tip {
  font-size: 13px;
  color: var(--muted);
  background: rgba(180, 91, 46, 0.06);
  border-left: 3px solid var(--amber);
  padding: 8px 14px;
  margin-top: 10px;
}

.step-tip strong {
  color: var(--brown);
  margin-right: 6px;
}

/* 交付方式 */
.deliverable {
  margin: 40px 0;
}

.deliverable h2 {
  margin-bottom: 8px;
}

.deliverable > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.deliverable-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.deliverable-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.deliverable-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.deliverable-card h3 {
  margin-bottom: 8px;
}

.deliverable-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

/* 相关入口 */
.next-links {
  margin: 40px 0;
}

.next-links h2 {
  margin-bottom: 8px;
}

.next-links > p {
  color: var(--muted);
  margin-bottom: 20px;
}

.next-links ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.next-links li {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  flex: 1;
  min-width: 220px;
}

.next-links li a {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* ============================================================
   内页：服务系统（services）
   ============================================================ */

.page-services .service-overview {
  margin-bottom: 40px;
}

.page-services .service-overview h2 {
  margin-bottom: 8px;
}

.page-services .service-overview > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.page-services .service-card {
  margin-bottom: 20px;
}

.page-services .service-card h3 {
  margin-bottom: 8px;
}

.page-services .service-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.deliverable-label {
  font-size: 13px;
  color: var(--brown);
  background: rgba(110, 127, 91, 0.08);
  border-radius: 3px;
  padding: 6px 12px;
  display: inline-block;
  margin-top: 8px;
}

.deliverable-label strong {
  font-weight: 600;
}

/* 适用场景对照表 */
.service-scenario-table {
  margin: 40px 0;
}

.service-scenario-table h2 {
  margin-bottom: 8px;
}

.service-scenario-table > p {
  color: var(--muted);
  margin-bottom: 20px;
}

.service-scenario-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-scenario-table th,
.service-scenario-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.service-scenario-table th {
  background: var(--brown);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

.service-scenario-table td {
  color: var(--ink);
}

.service-scenario-table tbody tr:last-child td {
  border-bottom: none;
}

/* 交付物说明 */
.deliverable-section {
  margin: 40px 0;
}

.deliverable-section h2 {
  margin-bottom: 8px;
}

.deliverable-section > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.deliverable-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.deliverable-cards .deliverable-card {
  margin-bottom: 0;
}

/* ============================================================
   内页：场景档案（scenarios）
   ============================================================ */

.page-scenarios .sidebar-left {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 28px;
  align-items: start;
}

.page-scenarios .scenario-sidebar {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 24px;
}

.page-scenarios .scenario-sidebar h2 {
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--brown);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.page-scenarios .scenario-sidebar li {
  margin-bottom: 6px;
}

.page-scenarios .scenario-sidebar li a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid transparent;
}

.page-scenarios .scenario-sidebar li a:hover {
  color: var(--amber);
  border-left-color: var(--amber);
}

/* 场景条目 */
.scenario-item {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.scenario-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.scenario-header h2 {
  font-size: 20px;
}

.scenario-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.scenario-actions button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.scenario-actions button:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(180, 91, 46, 0.05);
}

.scenario-actions button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.scenario-summary p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.scenario-detail summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
}

.scenario-detail summary::-webkit-details-marker {
  display: none;
}

.scenario-detail summary::before {
  content: "＋ ";
  color: var(--amber);
}

.scenario-detail[open] summary::before {
  content: "－ ";
}

.detail-body {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.detail-body p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.scenario-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}

.scenario-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.scenario-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  background: var(--card-bg);
}

/* 场景说明 */
.scenario-note {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
}

.scenario-note h2 {
  margin-bottom: 12px;
}

.scenario-note p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

/* ============================================================
   内页：版本记录（changelog）
   ============================================================ */

.page-changelog .version-timeline {
  position: relative;
}

.page-changelog .version-timeline h2 {
  margin-bottom: 24px;
}

.version-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.version-meta {
  font-size: 13px;
  color: var(--muted);
}

.version-meta .version-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--brown);
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 12px;
}

.version-badge-current {
  color: var(--white);
  background: var(--amber);
  border-color: var(--amber);
}

.version-body h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.version-body p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.version-body a {
  font-size: 14px;
  font-weight: 600;
}

/* 当前版本 */
.current-version {
  margin-top: 40px;
}

.current-version h2 {
  margin-bottom: 16px;
}

.current-version-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.current-version-head {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 10px;
}

.current-version-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* 侧栏列表 */
.sidebar-list li a {
  font-size: 14px;
  color: var(--muted);
  display: block;
  padding: 4px 0;
}

.sidebar-list li a:hover {
  color: var(--amber);
}

/* ============================================================
   内页：问题帮助（faq）
   ============================================================ */

.page-faq .faq-section {
  margin-bottom: 40px;
}

.page-faq .faq-section h2 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--brown);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.page-faq .sidebar h2 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--brown);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.page-faq .sidebar-links li {
  margin-bottom: 6px;
}

.page-faq .sidebar-links li a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid transparent;
}

.page-faq .sidebar-links li a:hover {
  color: var(--amber);
  border-left-color: var(--amber);
}

/* ============================================================
   内页：合作流程（cooperation）
   ============================================================ */

.page-cooperation .page-intro {
  max-width: 760px;
  margin-bottom: 20px;
}

.cooperation-intro {
  margin: 32px 0;
}

.cooperation-intro h2 {
  margin-bottom: 12px;
}

.cooperation-intro p {
  color: var(--muted);
  max-width: 820px;
  margin-bottom: 12px;
}

/* 合作阶段 */
.cooperation-stages {
  margin: 40px 0;
}

.cooperation-stages h2 {
  margin-bottom: 20px;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stage-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.stage-number {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 3px;
  padding: 2px 10px;
  margin-bottom: 14px;
}

.stage-card h3 {
  margin-bottom: 8px;
}

.stage-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

/* 双方职责 */
.responsibility-section {
  margin: 40px 0;
}

.responsibility-section h2 {
  margin-bottom: 20px;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.responsibility-col {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.responsibility-col h3 {
  font-size: 17px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.responsibility-col li {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}

.responsibility-col li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--amber);
  font-weight: 700;
}

/* 里程碑 */
.milestone-section {
  margin: 40px 0;
}

.milestone-section h2 {
  margin-bottom: 20px;
}

.milestone-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.milestone-item {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.milestone-phase {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(110, 127, 91, 0.1);
  border-radius: 3px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.milestone-item h3 {
  margin-bottom: 8px;
}

.milestone-item p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

/* 后续支持 */
.support-section {
  margin: 40px 0;
}

.support-section h2 {
  margin-bottom: 12px;
}

.support-section p {
  color: var(--muted);
  max-width: 820px;
  margin-bottom: 12px;
}

.content-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}

.content-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.content-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  background: var(--card-bg);
}

.support-section .next-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ============================================================
   404 页面
   ============================================================ */

.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  justify-content: center;
}

.error-panel {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 56px;
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  margin-bottom: 12px;
}

.error-desc {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Responsive —— 响应式断点
   ============================================================ */

/* 桌面窄屏适配 */
@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }

  .footer-col:nth-child(5),
  .footer-col:nth-child(6) {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cooperation-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .milestone-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 平板 */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-figure img {
    height: 280px;
  }

  .scenario-layout {
    grid-template-columns: 1fr;
  }

  .page-scenarios .sidebar-left {
    grid-template-columns: 1fr;
  }

  .page-scenarios .scenario-sidebar {
    position: static;
  }

  .page-layout,
  .layout-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

  .prep-list ol {
    grid-template-columns: 1fr;
  }

  .deliverable-cards {
    grid-template-columns: 1fr;
  }

  .responsibility-grid {
    grid-template-columns: 1fr;
  }
}

/* 手机端主断点 */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand {
    flex: 1;
  }

  .header-cta {
    padding: 6px 14px;
    font-size: 13px;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 0;
  }

  .main-nav a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .home-main,
  .inner-main {
    padding: 0 16px;
  }

  .breadcrumb {
    padding: 16px 16px 0;
  }

  .page-header {
    padding: 20px 16px 0;
  }

  .page-title-area {
    padding: 10px 16px 0;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 21px;
  }

  .hero-section {
    padding: 32px 0 32px;
  }

  .hero-text h1 {
    font-size: 27px;
  }

  .hero-figure img {
    height: 220px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .update-grid {
    grid-template-columns: 1fr;
  }

  .scenario-entry {
    grid-template-columns: 1fr;
  }

  .scenario-thumb img {
    height: 140px;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .cooperation-timeline {
    grid-template-columns: 1fr;
  }

  .stages-grid {
    grid-template-columns: 1fr;
  }

  .milestone-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:nth-child(5),
  .footer-col:nth-child(6) {
    display: block;
  }

  .footer-bottom p {
    padding: 14px 16px;
    font-size: 12px;
  }

  .version-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .scenario-header {
    flex-direction: column;
  }

  .scenario-actions {
    align-self: flex-end;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 48px;
  }

  .next-links ul {
    flex-direction: column;
  }

  .next-links li {
    min-width: 0;
  }

  .service-scenario-table {
    overflow-x: auto;
  }

  .service-scenario-table table {
    min-width: 520px;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .brand-tagline {
    font-size: 11px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .main-nav a {
    font-size: 13px;
    padding: 6px 10px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    text-align: center;
  }

  .hero-figure img {
    height: 180px;
  }
}
