/* GIFUN LoadExpert · 装柜帮手 — 公开营销站共享样式
 * 视觉语言：与登录 App 保持完全一致（蓝紫渐变 #0a84ff→#5e5ce6、苹果扁平、
 * 中性灰背景、柔和阴影、毛玻璃头），保证用户从营销站进入 App 体验连贯。
 * 风格定位：B2B 精密克制，不花哨，留白充足，字重分级清晰。 */

/* ---------- 主题变量（与 src/App.css 对齐） ---------- */
:root {
  --app-bg: #f5f5f7;
  --surface-bg: #ffffff;
  --surface-secondary: #fbfbfd;
  --surface-tertiary: #f0f0f0;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-grad-start: #0a84ff;
  --accent-grad-end: #5e5ce6;
  --success: #34c759;
  --warning: #ff9500;
  --danger: #ff3b30;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.10);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --max-content-width: 1180px;
  --header-height: 64px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro SC",
    "PingFang SC", "Helvetica Neue", "Segoe UI", "Microsoft YaHei", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--app-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}
h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; color: var(--text-secondary); }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; color: var(--text-secondary); }
li { margin-bottom: .4em; }
code, kbd {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  background: var(--surface-tertiary);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .92em;
}

/* ---------- 容器 / 节区 ---------- */
.container { max-width: var(--max-content-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title { text-align: center; margin-bottom: 14px; }
.section-subtitle { text-align: center; color: var(--text-secondary); font-size: 17px; max-width: 720px; margin: 0 auto 56px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* 内联 grid 工具类（用于内联 style 替代） */
.calc-grid, .lead-grid, .faq-grid { display: grid; gap: 32px; align-items: flex-start; }
.calc-grid, .lead-grid { grid-template-columns: 1.1fr 1fr; }
.faq-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  .calc-grid, .lead-grid, .faq-grid { grid-template-columns: 1fr; }
}

/* ---------- 顶栏 / 导航（毛玻璃苹果风） ---------- */
.app-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  height: var(--header-height);
}
.app-header-inner {
  height: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; }
.nav-brand-mark { display: inline-block; width: 34px; height: 34px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand-text .top {
  font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary);
}
.nav-brand-text .bot {
  font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--text-tertiary);
  text-transform: uppercase;
}
.nav-list {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  display: inline-block; padding: 8px 14px;
  color: var(--text-primary); font-weight: 500; font-size: 14px;
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}
.nav-list a:hover { background: rgba(0, 113, 227, 0.06); color: var(--accent); }
.nav-list a.active { color: var(--accent); }
.nav-cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; line-height: 1;
  padding: 0 18px 0 16px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.2px;
  color: #fff !important;
  background: linear-gradient(180deg, var(--accent-grad-start) 0%, var(--accent-grad-end) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(10, 132, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .2s, box-shadow .2s, filter .2s;
  text-decoration: none;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(94, 92, 230, .42), inset 0 1px 0 rgba(255, 255, 255, .28);
  filter: brightness(1.04);
  color: #fff !important;
}
.nav-cta:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(10, 132, 255, .28); }
.nav-cta:focus-visible { outline: 3px solid rgba(10, 132, 255, .35); outline-offset: 2px; }
.nav-cta .nav-cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  transition: transform .2s, background .2s;
}
.nav-cta:hover .nav-cta-arrow { transform: translateX(2px); background: rgba(255, 255, 255, .32); }

/* 次级按钮（申请专业版）：带图标的描边 CTA，比纯空心描边更有"可点"分量 */
.nav-secondary {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; line-height: 1;
  padding: 0 16px 0 14px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--accent) !important;
  background: #fff;
  border: 1px solid rgba(10, 132, 255, .55);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(10, 132, 255, .08);
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s, color .2s;
  text-decoration: none;
}
.nav-secondary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, var(--accent-grad-start) 0%, var(--accent-grad-end) 100%);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(94, 92, 230, .35);
}
.nav-secondary:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(10, 132, 255, .08); }
.nav-secondary:focus-visible { outline: 3px solid rgba(10, 132, 255, .35); outline-offset: 2px; }
.nav-secondary .nav-secondary-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  color: currentColor;
  flex: 0 0 18px;
}
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; padding: 6px; cursor: pointer; }

/* 顶部按钮组：把"申请专业版 + 登录"贴成一体，gap 收紧 */
.nav-actions { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; }
@media (max-width: 900px) {
  .nav-list, .nav-actions, .nav-cta, .nav-secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open .nav-list { display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: absolute; top: var(--header-height); left: 0; right: 0; background: #fff; padding: 12px 24px 18px; border-bottom: 1px solid var(--border-color); }
  .nav-open .nav-list a { padding: 10px 12px; }
  .nav-open .nav-actions { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; align-self: flex-start; }
  .nav-open .nav-cta, .nav-open .nav-secondary { display: inline-flex; align-self: flex-start; }
  .nav-open .nav-secondary { margin-top: 0; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; font-size: 15px; font-weight: 600;
  border: 0; border-radius: 999px; cursor: pointer;
  text-decoration: none; transition: all .2s ease;
  font-family: inherit;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent-grad-start) 0%, var(--accent-grad-end) 100%);
  box-shadow: 0 4px 14px rgba(10, 132, 255, .25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(94, 92, 230, .35); color: #fff; }
.btn-secondary {
  color: var(--accent); background: rgba(0, 113, 227, 0.08);
}
.btn-secondary:hover { background: rgba(0, 113, 227, 0.14); color: var(--accent); }
.btn-ghost {
  color: var(--text-primary); background: transparent;
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-secondary); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(10, 132, 255, .12) 0%, rgba(94, 92, 230, .12) 100%);
  color: var(--accent);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14px; line-height: 1.6; }
.card-compact { padding: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 600px;
  display: flex; align-items: center;
  color: #fff;
  padding: 80px 0 100px;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('../img/hero-container-1600.webp') center/cover no-repeat;
  /* 老浏览器无 image-set 时回退到 jpg */
  background-image: image-set(
    url('../img/hero-container-1600.webp') type('image/webp') 1x,
    url('../img/hero-container-1600.jpg')  type('image/jpeg') 1x
  ), url('../img/hero-container-1600.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 900px) {
  .hero-bg {
    background: url('../img/hero-container-900.webp') center/cover no-repeat;
    background-image: image-set(
      url('../img/hero-container-900.webp') type('image/webp') 1x,
      url('../img/hero-container-900.jpg')  type('image/jpeg') 1x
    ), url('../img/hero-container-900.jpg');
  }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(10, 20, 40, .78) 100%);
}
.hero-inner { max-width: var(--max-content-width); margin: 0 auto; padding: 0 24px; }
.hero-eyebrow {
  display: inline-block; padding: 6px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px; margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; max-width: 820px; font-weight: 800; }
.hero h1 .accent {
  background: linear-gradient(90deg, #8ab4ff 0%, #c5b9ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px; max-width: 720px; margin-bottom: 32px; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-primary { box-shadow: 0 4px 18px rgba(10, 132, 255, .5); }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(8px); }
.hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 32px; margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-stats .stat { display: flex; flex-direction: column; }
.hero-stats .stat .num { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.hero-stats .stat .lbl { font-size: 12px; color: rgba(255, 255, 255, 0.7); letter-spacing: .05em; }

/* ---------- 数据表格（专业感） ---------- */
.data-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 14px;
}
.data-table th, .data-table td {
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}
.data-table th {
  background: var(--surface-secondary);
  font-weight: 600; color: var(--text-primary);
  font-size: 13px; letter-spacing: .02em;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table td.label { color: var(--text-secondary); font-weight: 500; }
.data-table .hl { color: var(--accent); font-weight: 600; }

/* ---------- 引用块 / 提示卡 ---------- */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(10, 132, 255, .04) 0%, rgba(94, 92, 230, .04) 100%);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}
.callout .icon { font-size: 20px; color: var(--accent); flex: none; line-height: 1; }
.callout p { color: var(--text-primary); font-size: 14px; margin: 0; }
.callout .title { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.callout-warn { background: linear-gradient(135deg, rgba(255, 149, 0, .04) 0%, rgba(255, 59, 48, .04) 100%); border-left-color: var(--warning); }
.callout-warn .icon { color: var(--warning); }
.callout-success { background: linear-gradient(135deg, rgba(52, 199, 89, .04) 0%, rgba(10, 132, 255, .04) 100%); border-left-color: var(--success); }
.callout-success .icon { color: var(--success); }

/* ---------- 步骤条 ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.steps li {
  position: relative; padding: 20px 24px 20px 72px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-grad-start) 0%, var(--accent-grad-end) 100%);
  color: #fff; font-weight: 700; font-size: 15px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(10, 132, 255, .25);
}
.steps li .step-title { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; font-size: 15px; }
.steps li p { margin: 0; font-size: 14px; }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 10px 14px; font-size: 14px;
  font-family: inherit;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}
.form textarea { resize: vertical; min-height: 80px; }
.form .help { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }
.form-feedback { font-size: 13px; margin-top: 8px; padding: 8px 12px; border-radius: 8px; }
.form-feedback.success { background: rgba(52, 199, 89, .1); color: #1e7d34; }
.form-feedback.error { background: rgba(255, 59, 48, .1); color: #b3251c; }
/* 计算结果附注标签（门通过 / 载重 / 提示） */
.calc-tag { display: inline-block; font-size: 12px; line-height: 1.4; padding: 3px 9px; border-radius: 999px; background: rgba(0, 113, 227, .08); color: var(--accent); }
.calc-tag.ok { background: rgba(52, 199, 89, .12); color: #1e7d34; }
.calc-tag.warn { background: rgba(255, 149, 0, .12); color: #b25e00; }
.calc-tag.hint { background: rgba(142, 142, 147, .12); color: var(--text-secondary); }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13px; color: var(--text-tertiary); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-tertiary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 6px; opacity: .6; }

/* ---------- 页脚 ---------- */
.app-footer {
  background: #0d0d0f;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
  margin-top: 80px;
}
.app-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .app-footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .app-footer .container { grid-template-columns: 1fr; } }
.app-footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px; font-weight: 700; }
.app-footer ul { list-style: none; padding: 0; margin: 0; }
.app-footer li { margin-bottom: 8px; }
.app-footer a { color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.app-footer a:hover { color: #fff; }
.app-footer .brand-line { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-top: 12px; line-height: 1.6; }
.app-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12px; color: rgba(255, 255, 255, 0.5);
}

/* ---------- 滚动条（IP 脱敏记录滚动） ---------- */
.ticker {
  display: flex; overflow: hidden; gap: 32px;
  background: var(--surface-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display: flex; gap: 36px; flex: none; animation: ticker-scroll 60s linear infinite; white-space: nowrap; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-size: 13px; color: var(--text-secondary); display: inline-flex; gap: 8px; align-items: baseline; }
.ticker-item .ip { font-family: ui-monospace, monospace; color: var(--text-primary); font-weight: 600; }
.ticker-item .boxes { color: var(--accent); font-weight: 600; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 计算器卡片 ---------- */
.calc-card { background: var(--surface-bg); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; }
.calc-result { background: linear-gradient(135deg, rgba(10, 132, 255, .04) 0%, rgba(94, 92, 230, .04) 100%); border: 1px solid rgba(0, 113, 227, .15); border-radius: var(--radius-md); padding: 20px; margin-top: 18px; }
.calc-result .main { display: flex; align-items: baseline; gap: 8px; }
.calc-result .main .num { font-size: 36px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.calc-result .main .unit { font-size: 15px; color: var(--text-secondary); }
.calc-result .meta { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 12px; font-size: 13px; color: var(--text-secondary); }
.calc-result .meta strong { color: var(--text-primary); }

/* ---------- 文章正文样式 ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 32px; color: var(--text-primary); }
.prose p, .prose ul, .prose ol { color: var(--text-primary); font-size: 15px; line-height: 1.75; }
.prose ul li, .prose ol li { margin-bottom: 8px; }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--border-strong);
  padding: 4px 18px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-style: italic;
}
.prose .lead { font-size: 17px; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.toc { background: var(--surface-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 18px 24px; margin: 24px 0 40px; font-size: 14px; }
.toc h5 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-tertiary); font-weight: 700; }
.toc ol { margin: 0; padding-left: 22px; color: var(--text-secondary); }
.toc ol li { margin-bottom: 4px; }
.toc a { color: var(--text-secondary); }
.toc a:hover { color: var(--accent); }

/* ---------- 内容左侧导航（doc-layout） ----------
 * 用于 guide 等长内容页：左侧粘性章节目录 + 右侧正文双栏。
 * 滚动时当前章节在左侧高亮(scrollspy)。 */
.doc-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 56px;
  align-items: flex-start;
}
.doc-nav {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
  max-height: calc(100vh - var(--header-height) - 56px);
  overflow-y: auto;
  padding-right: 4px;
}
.doc-nav-title {
  margin: 0 0 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-tertiary);
}
.doc-nav ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border-strong); }
.doc-nav ol li { margin: 0; }
.doc-nav ol li a {
  display: block;
  padding: 7px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 13.5px; font-weight: 500; line-height: 1.4;
  transition: color .18s, border-color .18s, background .18s;
}
.doc-nav ol li a:hover { color: var(--text-primary); }
.doc-nav ol li a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(0, 113, 227, 0.06);
}
.doc-nav ol li a .doc-nav-num { color: var(--text-tertiary); margin-right: 6px; font-variant-numeric: tabular-nums; }
.doc-nav ol li a.active .doc-nav-num { color: var(--accent); }
.doc-layout section[id], .doc-layout h2[id], .doc-layout h3[id] { scroll-margin-top: calc(var(--header-height) + 24px); }
@media (max-width: 1000px) {
  .doc-layout { grid-template-columns: 1fr; gap: 8px; }
  .doc-nav { position: static; max-height: none; margin-bottom: 8px; }
  .doc-nav ol { border-left: 0; display: flex; flex-wrap: wrap; gap: 4px; }
  .doc-nav ol li a { border-left: 0; border-radius: 999px; padding: 6px 12px; background: var(--surface-secondary); border: 1px solid var(--border-color); margin-left: 0; }
  .doc-nav ol li a.active { background: rgba(0,113,227,.10); border-color: var(--accent); }
}
