/* ============================================================
   base — 基础变量、重置与全站字体
   ============================================================ */
:root {
  --color-primary: #1a73e8;
  --color-primary-dark: #1557b0;
  --color-success: #34a853;
  --color-warning: #fbbc04;
  --color-danger: #ea4335;
  --color-bg: #f8f9fa;
  --color-text: #202124;
  --color-text-light: #5f6368;
  --color-border: #e0e0e0;
  --color-white: #ffffff;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-height-home: 76px;
  --header-height-inner: 60px;
  --transition-base: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary-dark);
}

a[title]:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style-position: inside;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 12px;
}

/* ============================================================
   layout — 全站骨架：页头、页脚、容器、面包屑
   ============================================================ */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height-home);
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.brand-slogan {
  font-size: 13px;
  color: var(--color-text-light);
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav .nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base), color var(--transition-base);
}

.site-nav .nav-list li a:hover {
  background-color: var(--color-bg);
  color: var(--color-primary);
  text-decoration: none;
}

.site-nav .nav-list li a.is-current {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon {
  display: block;
  width: 20px;
  height: 20px;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition-base), top var(--transition-base);
}

.nav-toggle-icon::before {
  top: 6px;
}

.nav-toggle-icon::after {
  top: 14px;
}

.site-main {
  flex: 1;
  width: 100%;
}

.site-footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.footer-heading {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-light);
}

.footer-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 16px 24px;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* 面包屑 */
.breadcrumb {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 14px;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb-sep {
  margin: 0 6px;
  color: var(--color-border);
}

.breadcrumb-current {
  color: var(--color-text);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.breadcrumb-list li + li::before {
  content: '/';
  margin: 0 6px;
  color: var(--color-border);
}

/* ============================================================
   components — 通用组件：卡片、列表、按钮、FAQ、步骤、色块
   ============================================================ */

/* 区块标题 */
.section-heading {
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-intro {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* 通用卡片 */
.info-card,
.example-card,
.scenario-card,
.guide-card,
.service-summary-card,
.service-type-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.info-card-title,
.example-title,
.item-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

/* 步骤列表 */
.steps-list {
  list-style: none;
  counter-reset: step-counter;
}

.steps-list li {
  counter-increment: step-counter;
  position: relative;
  padding: 16px 16px 16px 48px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 12px;
  top: 16px;
  width: 28px;
  height: 28px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* 通用列表 */
.guide-list {
  list-style: none;
}

.guide-list li {
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

.guide-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.guide-list li:last-child {
  border-bottom: none;
}

.guide-list strong {
  font-weight: 600;
}

/* 图片与说明 */
figure {
  margin: 16px 0;
}

figcaption {
  font-size: 13px;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 8px;
}

.content-figure,
.example-figure,
.faq-figure {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
}

.content-figure img,
.example-figure img,
.faq-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* FAQ 手风琴 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-primary);
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--color-text-light);
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-more {
  margin-top: 16px;
  font-size: 15px;
}

/* 色块链接 */
.tool-nav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: background-color var(--transition-base);
}

.tool-nav-card:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  text-decoration: none;
}

.tool-nav-icon {
  font-size: 28px;
  line-height: 1;
}

.tool-nav-name {
  font-size: 18px;
  font-weight: 700;
}

.tool-nav-desc {
  font-size: 14px;
  opacity: 0.9;
}

/* 链接卡片 */
.guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guide-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.guide-card-text {
  font-size: 15px;
  color: var(--color-text-light);
  flex: 1;
}

.guide-card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 15px;
}

/* 服务摘要卡片 */
.service-summary-card {
  height: 100%;
}

.service-summary-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

/* 场景卡片 */
.scenario-card {
  height: 100%;
}

.scenario-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.card-link-wrap {
  margin-top: 12px;
}

/* 服务类型条目 */
.service-type-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-type-item {
  border-left: 4px solid var(--color-primary);
}

/* 范围块 */
.scope-block {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.scope-list {
  list-style: none;
  padding-left: 0;
}

.scope-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 15px;
}

.scope-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.scope-can li::before {
  background-color: var(--color-success);
}

.scope-cannot li::before {
  background-color: var(--color-danger);
}

.section-note {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 16px;
}

.section-note a {
  margin-right: 12px;
  white-space: nowrap;
}

/* 步骤列表（工具页） */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--color-primary);
}

.step-heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-text {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* 示例网格 */
.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.example-card {
  background-color: var(--color-white);
}

.example-text {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* 提示列表 */
.tips-list {
  list-style: none;
}

.tips-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
}

.tips-list li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 10px;
  width: 18px;
  height: 18px;
  background-color: var(--color-warning);
  color: var(--color-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* 相关链接 */
.related-links {
  margin-top: 32px;
  padding: 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.related-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.related-list {
  list-style: none;
}

.related-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
}

.related-list li:last-child {
  border-bottom: none;
}

/* ============================================================
   pages — 首页
   ============================================================ */
.home-main {
  width: 100%;
}

/* 首屏 hero */
.hero-section {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 56px 24px 48px;
  align-items: center;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--color-text);
}

.hero-description {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-cta,
.hero-cta-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.hero-cta {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.hero-cta:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  text-decoration: none;
}

.hero-cta-secondary {
  background-color: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.hero-cta-secondary:hover {
  background-color: var(--color-border);
  color: var(--color-text);
  text-decoration: none;
}

.hero-media {
  width: 100%;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.content-media-primary {
  margin-top: 24px;
}

.content-media-primary img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* 功能导航带 */
.tool-nav-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.tool-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* 使用指南概览 */
.guide-overview-section {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.guide-overview-section > .section-heading {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px 0;
}

.guide-overview-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px 24px 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* 服务说明摘要 */
.service-summary-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.service-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-summary-more {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
}

/* ============================================================
   pages — 内页（开发文档布局）
   ============================================================ */

/* 内页页头收紧 */
.site-inner .site-header .header-inner {
  height: var(--header-height-inner);
}

.site-inner .site-header {
  border-bottom: 1px solid var(--color-border);
}

/* 布局外壳：侧栏 + 主内容 */
.layout-shell {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
  width: 100%;
}

.layout-shell.sidebar-left {
  grid-template-columns: 220px 1fr;
}

/* 左侧目录 */
.doc-sidebar-left,
.aside-left,
.page-aside.aside-left,
.doc-aside-left,
.sidebar-left-inner {
  position: sticky;
  top: calc(var(--header-height-inner) + 16px);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.sidebar-nav,
.aside-nav,
.toc-nav {
  font-size: 14px;
}

.sidebar-title,
.aside-title,
.toc-heading,
.mini-toc-heading {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.sidebar-list,
.aside-list,
.toc-list,
.mini-toc-list {
  list-style: none;
}

.sidebar-list li,
.aside-list li,
.toc-list li,
.mini-toc-list li {
  margin-bottom: 4px;
}

.sidebar-list a,
.aside-list a,
.toc-list a,
.mini-toc-list a {
  display: block;
  padding: 6px 8px;
  font-size: 14px;
  color: var(--color-text-light);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base), color var(--transition-base);
}

.sidebar-list a:hover,
.aside-list a:hover,
.toc-list a:hover,
.mini-toc-list a:hover {
  background-color: var(--color-bg);
  color: var(--color-primary);
  text-decoration: none;
}

.sidebar-list-mini a {
  font-size: 13px;
}

/* 主内容区 */
.inner-main {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  min-width: 0;
  width: 100%;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 0;
  max-width: 640px;
}

/* 内容区块 */
.doc-section,
.content-section,
.faq-section {
  margin-bottom: 40px;
}

.doc-section .section-title,
.content-section .section-title,
.faq-section .section-title {
  font-size: 22px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.section-lead,
.section-desc {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* 服务页：场景网格 */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* FAQ 页 */
.faq-section {
  margin-bottom: 32px;
}

.faq-figure {
  margin-top: 32px;
}

.faq-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* 工具页：输入说明卡片 */
.info-card {
  margin-bottom: 12px;
}

/* 示例块 */
.example-block {
  background-color: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.example-title {
  color: var(--color-primary);
}

/* 内页内容媒体 */
.content-media-inline {
  margin: 16px 0;
}

.content-media-inline img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* 右侧小目录 */
.doc-sidebar-right,
.page-aside.aside-right,
.aside-right,
.sidebar-right {
  position: sticky;
  top: calc(var(--header-height-inner) + 16px);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 14px;
}

/* 注意：内页布局为 .sidebar-left 时，左侧目录在前 */
.layout-shell.sidebar-left .inner-main {
  grid-column: 2;
}

.layout-shell.sidebar-left .doc-sidebar-left,
.layout-shell.sidebar-left .aside-left,
.layout-shell.sidebar-left .page-aside.aside-left,
.layout-shell.sidebar-left .doc-aside-left,
.layout-shell.sidebar-left .sidebar-left-inner {
  grid-column: 1;
  grid-row: 1;
}

/* 右侧小目录默认位于主内容之后 */
.layout-shell.sidebar-left .doc-sidebar-right,
.layout-shell.sidebar-left .page-aside.aside-right,
.layout-shell.sidebar-left .aside-right,
.layout-shell.sidebar-left .sidebar-right {
  grid-column: 3;
}

/* ============================================================
   pages — 404 页
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1;
}

.error-section {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.error-suggest {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.error-home-link {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.error-home-link:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  text-decoration: none;
}

/* ============================================================
   responsive — 响应式断点
   ============================================================ */
@media (max-width: 1024px) {
  .layout-shell,
  .layout-shell.sidebar-left {
    grid-template-columns: 180px 1fr;
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 24px;
  }

  .hero-media img {
    height: 260px;
  }

  .example-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* 页头 */
  .header-inner {
    height: var(--header-height-inner);
    padding: 0 16px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 8px;
    gap: 2px;
    margin-top: 8px;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list li a {
    padding: 12px 16px;
    font-size: 16px;
  }

  /* 内页布局改为单列，侧栏隐藏，主内容在前 */
  .layout-shell,
  .layout-shell.sidebar-left {
    display: block;
    padding: 0 16px;
  }

  .doc-sidebar-left,
  .aside-left,
  .page-aside.aside-left,
  .doc-aside-left,
  .sidebar-left-inner,
  .doc-sidebar-right,
  .page-aside.aside-right,
  .aside-right,
  .sidebar-right {
    display: none;
  }

  .inner-main {
    margin-top: 16px;
    padding: 24px 20px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  .page-title {
    font-size: 26px;
  }

  /* 首页 */
  .hero-section {
    padding: 32px 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .tool-nav-section,
  .guide-overview-section > .section-heading,
  .guide-overview-grid,
  .service-summary-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tool-nav-grid,
  .guide-overview-grid,
  .service-summary-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .guide-overview-grid {
    padding-bottom: 32px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .footer-bottom {
    padding: 12px 16px;
  }

  .example-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    height: 200px;
  }

  .content-media-primary img,
  .content-media-inline img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .brand-slogan {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-cta,
  .hero-cta-secondary {
    text-align: center;
  }

  .inner-main {
    padding: 20px 16px;
  }

  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .faq-question {
    font-size: 15px;
    padding: 14px 36px 14px 16px;
  }

  .faq-answer {
    padding: 0 16px 14px;
    font-size: 14px;
  }

  .example-figure img,
  .faq-figure img {
    height: 160px;
  }
}
