/* ============================================================
   闲沐 IMS 官网 · 单页样式
   设计 token 与产品一致（web/src/style.css @theme）：
   主色 #4f6bed · 底 #f6f7f9 · 卡片白 · 圆角 14/10 · 柔和阴影
   ============================================================ */

:root {
  --primary: #4f6bed;
  --primary-hover: #4360e0;
  --primary-soft: #eef1fd;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #1a1d21;
  --ink-2: #5c6470;
  --ink-3: #9aa3af;
  --line: #e6e9f0;
  --ok: #059669;
  --amber: #b45309;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 2px 4px rgba(16, 24, 40, 0.04), 0 12px 32px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 4px 8px rgba(16, 24, 40, 0.05), 0 24px 56px rgba(37, 55, 130, 0.13);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace;
  background: var(--primary-soft);
  color: var(--primary-hover);
  padding: 0.1em 0.45em;
  border-radius: 6px;
  font-size: 0.92em;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 84px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79, 107, 237, 0.35), 0 6px 16px rgba(79, 107, 237, 0.22);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #cdd4e0; background: #fbfcfe; transform: translateY(-1px); }
.btn-lg { font-size: 16px; padding: 15px 26px; border-radius: 12px; }
.btn-sm { font-size: 14px; padding: 9px 15px; }
.btn-block { width: 100%; }
.btn:disabled {
  background: #c3c9d4;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(246, 247, 249, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(16, 24, 40, 0.05); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; letter-spacing: 0.2px; }
.brand img { border-radius: 7px; }
.brand em { font-style: normal; color: var(--primary); }
/* 顶栏双款 logo：桌面横版全款，窄屏切 48px 带底图标+文字紧凑款（横版副标题在 <680px 不可读）；
   ≤560px 空间不足只留图标（两 CTA + 汉堡菜单会截断文字）。图标为预渲染原生尺寸，1:1 显示不缩放 */
.brand .logo-compact { display: none; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 680px) {
  .brand .logo-full { display: none; }
  .brand .logo-compact { display: inline-flex; }
}
@media (max-width: 560px) {
  .brand .logo-compact-text { display: none; }
}
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links > a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color 0.15s; }
.nav-links > a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta-m { display: none; }
.menu-btn {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- 首屏 ---------- */
.hero { padding: 128px 0 72px; text-align: center; overflow: hidden; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-hover);
  background: var(--primary-soft);
  border: 1px solid #dde3fa;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-badge svg { width: 15px; height: 15px; }
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.5px;
  max-width: 860px;
  margin: 0 auto;
}
.hero h1 .hl {
  color: var(--primary);
}
.hero-sub {
  max-width: 680px;
  margin: 20px auto 0;
  font-size: clamp(15px, 2vw, 17.5px);
  color: var(--ink-2);
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }

.hero-shot { margin: 56px auto 0; max-width: 1040px; position: relative; }
.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fafbfd;
}
.hero-shot::before {
  content: "";
  position: absolute;
  inset: -8% -12%;
  background:
    radial-gradient(42% 55% at 24% 30%, rgba(79, 107, 237, 0.14), transparent 70%),
    radial-gradient(38% 50% at 78% 68%, rgba(79, 107, 237, 0.10), transparent 70%);
  z-index: -1;
}
.win-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: #fafbfd;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.d1 { background: #f6bfc0; } .d2 { background: #f3d9a4; } .d3 { background: #b8e2c4; }
.win-url {
  margin: 0 auto;
  font-size: 12.5px;
  color: var(--ink-3);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2.5px 40px;
}
.win-frame img { width: 100%; }

.hero-forms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-3);
}
.hero-forms i { width: 4px; height: 4px; border-radius: 50%; background: #d4d9e2; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head h2 { font-size: clamp(25px, 3.6vw, 34px); font-weight: 800; letter-spacing: -0.4px; }
.sec-head p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }

/* ---------- 功能：宽卡 ---------- */
.feat-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pain-q { font-size: 13.5px; color: var(--ink-3); }
.fcard-chip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fcard-chip h3 { font-size: 19px; font-weight: 700; }
.fcard-desc { font-size: 14.5px; color: var(--ink-2); }
.fcard img {
  margin-top: auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--bg);
  cursor: zoom-in;
}

.chip {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.4px;
}
.chip-pro { background: var(--primary); color: #fff; box-shadow: 0 2px 6px rgba(79, 107, 237, 0.3); }
.chip-free-inline { background: var(--primary-soft); color: var(--primary-hover); }

/* ---------- 功能：小卡 ---------- */
.feat-small {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.scard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.scard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sicon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
}
.sicon svg { width: 21px; height: 21px; }
.sicon .chip-pro { position: absolute; top: -7px; right: -10px; }
.scard h3 { font-size: 16px; font-weight: 700; }
.scard p { margin-top: 8px; font-size: 13.8px; color: var(--ink-2); }

/* ---------- 图片放大 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 19, 30, 0.74);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1280px, 96vw);
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

/* ---------- 价格 ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.plan h3 { font-size: 18px; font-weight: 800; }
.plan-for { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 20px; }
.price .cur { font-size: 20px; font-weight: 700; color: var(--ink-2); }
.price { font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.price .per { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; align-self: flex-end; padding-bottom: 5px; }
.price .was { font-size: 17px; font-weight: 600; color: var(--ink-3); text-decoration: line-through; letter-spacing: 0; }
.plan .btn { margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 11px; }
.plan li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-2);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234f6bed" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/10px no-repeat;
}
.plan li em { display: block; font-style: normal; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.plan-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 14px; }

.plan-pro {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
  padding-top: 40px;
}
.pro-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(79, 107, 237, 0.35);
}

/* ---------- 下载 ---------- */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.dl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-head .sicon { margin-bottom: 0; flex: none; }
.dl-head h3 { font-size: 18px; font-weight: 800; }
.dl-meta { font-size: 12.5px; color: var(--ink-3); }
.dl-card > p { font-size: 14.5px; color: var(--ink-2); }
.dl-card .btn { margin-top: auto; }
.dl-list { list-style: none; display: grid; gap: 9px; }
.dl-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink-2);
}
.dl-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.dl-fine { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 在线演示 ---------- */
#demo { padding-bottom: 72px; }
.demo-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--primary-soft), #f3f5fe 55%, var(--bg));
  border: 1px solid #dde3fa;
  border-radius: 18px;
  padding: 44px 46px;
}
.demo-txt h2 { font-size: 26px; font-weight: 800; }
.demo-txt p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.demo-cred { margin-top: 14px !important; }
.demo-cred code { font-size: 14px; padding: 3px 10px; }
.demo-warn { font-size: 13px !important; color: var(--amber) !important; }
.demo-url {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.6px;
}

/* ---------- 交流 ---------- */
.comm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.comm-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 24px 26px;
}
.comm-card-disabled {
  background: #fafbfd;
  border-style: dashed;
  border-color: #d4d8e2;
  box-shadow: none;
}
.comm-qrcode {
  flex: none;
  width: 96px; height: 96px;
  border: 1.5px dashed #cdd4e0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ink-3);
  background: var(--bg);
}
.comm-qrcode svg { width: 38px; height: 38px; }
.comm-qrcode span { font-size: 11px; }
.comm-qrcode-disabled {
  background: #eef0f5;
  border-color: #d4d8e2;
}
.comm-info h3 {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.comm-info > p {
  margin: 4px 0 10px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}
.comm-info strong { color: var(--ink); font-size: 15px; letter-spacing: 0.3px; }
.comm-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.comm-tags { font-size: 12.5px; color: var(--ink-3); display: block; margin-top: 8px; }

.comm-tag-pending {
  font-size: 10.5px;
  font-weight: 700;
  background: #fff5e0;
  color: #b07506;
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
  .comm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; }
}
@media (max-width: 680px) {
  .comm-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; flex: none; }
.footer-brand img { border-radius: 6px; }
.footer-slogan { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer-links a { font-size: 13.5px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-copy {
  font-size: 12.5px;
  color: var(--ink-3);
  flex: none;
  text-align: right;
  margin: 0;
  white-space: nowrap;
}

/* 闲沐出品 · 弹出 */
.footer-pop { position: relative; display: inline-flex; align-items: center; }
.footer-pop-trigger {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13.5px;
  white-space: nowrap;
}
.footer-pop-trigger:hover,
.footer-pop.open .footer-pop-trigger { color: var(--ink); }
.footer-pop-caret {
  font-size: 10px;
  transition: transform .15s ease;
}
.footer-pop.open .footer-pop-caret { transform: rotate(180deg); }
.footer-pop-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 22, 36, 0.14);
  padding: 6px 0;
  z-index: 50;
}
.footer-pop-panel a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
}
.footer-pop-panel a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}


/* 页脚窄屏：链接与版权自然换行 */
@media (max-width: 720px) {
  .footer-inner { row-gap: 10px; }
  .footer-links { flex-basis: 100%; order: 3; justify-content: flex-start; }
  .footer-copy { order: 2; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 11px 6px; font-size: 16px; border-radius: 8px; }
  .nav-links > a:hover { background: var(--bg); }
  .nav-cta-m { display: flex; gap: 10px; margin-top: 12px; }
  .nav-cta-m .btn { flex: 1; }
  .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }

  .feat-wide { grid-template-columns: 1fr; }
  .feat-small { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-pro { order: -1; }
  .dl-grid { grid-template-columns: 1fr; }
  .demo-band { flex-direction: column; text-align: center; padding: 36px 26px; }
  .section { padding: 64px 0; }
  .hero { padding: 108px 0 56px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .feat-small { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-forms { flex-wrap: wrap; gap: 10px 14px; }
  .comm-card { flex-direction: column; text-align: center; gap: 22px; padding: 28px 22px; }
  .comm-actions { justify-content: center; }
  .win-url { padding: 2.5px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ============================================================
   方案 A · 内容可索引型（追加于 2026-09-22）
   原 .plan / .plan-pro / .pro-badge / .price / .was / .per / .plan-note
   等价格区样式保留作 dead code，便于回滚。
   ============================================================ */

/* ---------- 全局辅助 ---------- */
.crumbs {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.crumbs a { color: var(--ink-2); }
.crumbs span { margin: 0 6px; }

.hero-cap {
  padding: 10px 16px;
  background: #fafbfd;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- 方案 A · 二级标题与正文 ---------- */
.a-h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
  text-align: left;
}
.a-prose {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 28px;
}
.a-prose strong {
  color: var(--ink);
  font-weight: 700;
}
.a-prose + .a-prose { margin-top: -16px; }

/* ---------- 关键词胶囊 ---------- */
.a-kwlist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.a-kwlist li {
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- 核心能力图文块 ---------- */
.a-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.a-block:last-child { border-bottom: none; }
.a-block-flip { grid-template-columns: 1.2fr 1fr; }
.a-block-flip .a-txt { order: 2; }
.a-block-flip .a-fig { order: 1; }
.a-block h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.a-block p { color: var(--ink-2); margin-bottom: 12px; }
.a-advanced-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-hover);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 0;
}
.a-fig {
  margin: 0;
}
.a-fig img {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #fafbfd;
  display: block;
}
.a-fig figcaption {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 10px;
  line-height: 1.6;
}
/* 竖版截图（手机端）：保持原比例居中，不强行 16:10 裁切 */
.a-fig.a-fig-tall { text-align: center; }
.a-fig.a-fig-tall img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* ---------- 适用场景 ---------- */
.a-scenarios {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.a-scenarios li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 15px;
  color: var(--ink-2);
}
.a-scenarios strong { color: var(--ink); font-weight: 700; margin-right: 4px; }

/* ---------- 对比表 / 价格表 ---------- */
.a-table-wrap { overflow-x: auto; }
.a-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.a-table th, .a-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.a-table thead th {
  background: #fafbfd;
  font-weight: 700;
  color: var(--ink);
}
.a-table tbody th {
  font-weight: 600;
  color: var(--ink);
  background: #fafbfd;
  width: 140px;
}
.a-table tr:last-child td, .a-table tr:last-child th { border-bottom: none; }
.a-table-pricing th { text-align: center; }
.a-table-pricing td, .a-table-pricing tbody th { text-align: center; vertical-align: middle; }
.a-table-pricing tbody th { text-align: left; }
.a-table-pricing thead th { position: relative; }
.a-recommend {
  display: inline-block;
  margin-left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
}

/* ---------- FAQ accordion ---------- */
.a-faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 10px;
}
.a-faq summary {
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.a-faq summary::-webkit-details-marker { display: none; }
.a-faq summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-weight: 800;
  font-size: 14px;
  flex: none;
}
.a-faq[open] summary::before { content: "−"; }
.a-faq p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; }
.a-faq-list {
  margin: 10px 0 6px;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}
.a-faq-list li + li { margin-top: 4px; }
.a-faq[open] summary { margin-bottom: 4px; }

/* ---------- 文档与教程 4 卡 ---------- */
.a-docs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.a-doc {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
.a-doc:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--ink);
}
.a-doc h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.a-doc p { font-size: 13.5px; color: var(--ink-3); margin: 0; }

/* ---------- 更新日志时间线 ---------- */
.a-cl {
  list-style: none;
  padding: 0;
  border-left: 2px solid var(--line);
  padding-left: 20px;
}
.a-cl li {
  position: relative;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.a-cl li time { font-weight: 700; color: var(--ink); margin-right: 6px; }
.a-cl li::before {
  content: "";
  position: absolute;
  left: -25px; top: 14px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

/* ============================================================
   价格区 · 2026-09-22 重写（30 天试用 + 持续升级一次付费）
   替代原 .plans / .plan-pro 等 3 卡结构
   ============================================================ */
.pricing-30d {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 8px;
}

.pricing-30d-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.pricing-30d-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}
.pricing-30d-lead {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 24px;
}
.pricing-30d-lead strong { color: var(--ink); }

.pricing-30d-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.pricing-col {
  background: #fafbfd;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.pricing-col-pro {
  background: linear-gradient(135deg, #f4f6fe, #ffffff);
  border-color: var(--primary);
}
.pricing-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.pricing-col-pro h4 { color: var(--primary-hover); }

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-list li {
  position: relative;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 4px 0 4px 22px;
  line-height: 1.6;
}
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6bed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.pricing-locked li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='11' width='18' height='11' rx='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>");
}

.pricing-team-link {
  font-size: 14px;
  color: var(--ink-2);
  margin: 8px 0 4px;
}
.pricing-team-link a { color: var(--primary); font-weight: 600; }
.pricing-fine {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.pricing-30d-cta {
  background: linear-gradient(135deg, #4f6bed, #6f8bf5);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(79, 107, 237, 0.25);
}
.pricing-30d-cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pricing-30d-cta-price {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 14px;
}
.pricing-30d-cta-price .cur {
  font-size: 26px;
  font-weight: 700;
  vertical-align: top;
  margin-right: 2px;
  opacity: 0.85;
}
.pricing-30d-cta-price .per {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0;
  margin-left: 4px;
  vertical-align: baseline;
}
.pricing-30d-cta-note {
  font-size: 13px;
  opacity: 0.92;
  margin-bottom: 22px;
  line-height: 1.6;
}
.pricing-30d-cta .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
  margin-bottom: 14px;
}
.pricing-30d-cta .btn-primary:hover {
  background: #f4f6fe;
  color: var(--primary-hover);
}
.pricing-30d-cta-try {
  font-size: 14px;
  color: #fff;
  opacity: 0.92;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
  padding-bottom: 1px;
}
.pricing-30d-cta-try:hover { color: #fff; opacity: 1; }

/* 右侧 CTA 内的「付费之后」承诺区 */
.pricing-30d-cta-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  margin: 24px 0 18px;
}
.pricing-30d-cta-after {
  width: 100%;
  text-align: left;
}
.pricing-30d-cta-after h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  letter-spacing: 0.3px;
}
.pricing-30d-cta-after h4 span {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: 0.3px;
}
.pricing-30d-cta-after ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-30d-cta-after li {
  position: relative;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 0 6px 22px;
  line-height: 1.55;
}
.pricing-30d-cta-after li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.pricing-30d-cta-after li strong {
  color: #fff;
  font-weight: 700;
}

/* ============================================================
   响应式补丁（方案 A + 价格区）
   ============================================================ */
@media (max-width: 960px) {
  .a-block, .a-block-flip { grid-template-columns: 1fr; }
  .a-block-flip .a-txt { order: 1; }
  .a-block-flip .a-fig { order: 2; }
  .a-scenarios { grid-template-columns: 1fr; }
  .a-docs { grid-template-columns: repeat(2, 1fr); }

  .pricing-30d { grid-template-columns: 1fr; }
  .pricing-30d-cta { padding: 28px 24px; }
  .pricing-30d-cta-price { font-size: 56px; }
}

@media (max-width: 560px) {
  .a-docs { grid-template-columns: 1fr; }
  .pricing-30d-cols { grid-template-columns: 1fr; }
  .pricing-30d-info { padding: 24px; }
}

/* ============================================================
   订阅制改版（2026-09-22 · 10-商业方案定稿 v2.3）
   价格区由「30 天试用 + 一次付费」改为「免费版 / 专业版」两卡 + 权益表。
   原 .pricing-30d* 样式保留作 dead code，便于回滚（cp index.v2.html index.html）。
   ============================================================ */

/* ---------- 首屏 · 专业版三大能力 ---------- */
.hero-trio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.hero-trio-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-hover);
  background: var(--primary-soft);
  border: 1px solid #dde3fa;
  border-radius: 999px;
  padding: 6px 13px;
}
.hero-trio ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.hero-trio li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: var(--shadow-sm);
}
.hero-trio li svg { width: 13px; height: 13px; color: var(--primary); flex: none; }

/* ---------- 核心能力 · 能力归属胶囊 ---------- */
.a-cap-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-hover);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 0;
}

/* ---------- 核心能力 · 专业版能力条 ---------- */
.a-pro-strip {
  margin-top: 40px;
  background: linear-gradient(135deg, #f4f6fe, #ffffff 65%);
  border: 1px solid #dde3fa;
  border-radius: var(--radius);
  padding: 28px 30px;
}
.a-pro-strip-head h3 { font-size: 19px; font-weight: 800; }
.a-pro-strip-head p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.a-pro-strip-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 22px;
  padding: 0;
}
.a-pro-strip-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.a-pro-strip-list strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }

/* ---------- 三级标题 ---------- */
.a-h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin: 44px 0 16px;
}

/* ---------- 价格 · 免费版 / 专业版两卡 ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.plan-card-pro {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
  padding-top: 42px;
}
.plan-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(79, 107, 237, 0.35);
}
.plan-card-head h3 { font-size: 19px; font-weight: 800; }
.plan-card-for { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 18px 0 10px;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
}
.plan-price .cur { font-size: 21px; font-weight: 700; color: var(--ink-2); }
.plan-price .per { font-size: 13.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.plan-tagline {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.plan-card-pro .plan-tagline { color: var(--ink-2); }

/* 周期切换 */
.plan-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 14px;
}
.plan-switch-btn {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 9px 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.plan-switch-btn em { font-style: normal; font-size: 12px; color: var(--primary); }
.plan-switch-btn.is-on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.plan-switch-btn.is-on em { color: var(--primary-hover); }

/* 推荐码 */
.plan-ref { margin: 12px 0 20px; }
.plan-ref-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.plan-ref input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fafbfd;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
}
.plan-ref input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
  background: var(--surface);
}

.plan-list { margin-bottom: 18px; }
.plan-list li { font-size: 14px; }
.plan-list strong { color: var(--ink); }
.plan-foot {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--ink-3);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

/* 价格表列宽（能力名较长，放开固定宽度；完整能力对比已下线，旧 .compare-* / .a-table-pricing 样式作为 dead code 保留便于回滚） */
.a-table-pricing tbody th { width: auto; min-width: 190px; }

/* 路线图附注 */
.a-roadmap {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.a-roadmap strong { color: var(--ink); }

/* 可点击放大的截图 */
img.zoomable { cursor: zoom-in; }

@media (max-width: 960px) {
  .a-pro-strip-list { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card-pro { padding-top: 38px; }
  .plan-price { font-size: 42px; }
}

/* ---------- 子页（定价模型调整说明 / pricing-notice.html） ---------- */
.subpage { padding: 118px 0 72px; }
.subpage-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.5px; }
.subpage-lead {
  margin-top: 16px;
  max-width: 820px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
}
.subpage-lead strong { color: var(--ink); }
.notice-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
}
.notice-block {
  margin-top: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 28px;
}
.notice-block h2 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.notice-block p { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.notice-block p + p { margin-top: 12px; }
.notice-block > ul.plan-list { margin-bottom: 0; }
.notice-quote {
  list-style: none;
  padding: 18px 20px;
  background: #fafbfd;
  border-left: 3px solid var(--ink-3);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--ink-2);
}
.notice-quote li { padding: 6px 0; line-height: 1.75; }
.notice-quote li + li { border-top: 1px dashed var(--line); }
.a-table-notice tbody th { width: 110px; min-width: 110px; }
.a-table-notice th:nth-child(2), .a-table-notice td:nth-child(2) { min-width: 250px; }

@media (max-width: 560px) {
  .notice-block { padding: 20px 18px; }
  .subpage { padding: 100px 0 56px; }
}

/* ============================================================
   文档中心与教程页（docs.html + docs/*.html）· 2026-09-23
   复用：.subpage 系 / .a-table / .a-fig / .a-doc / .crumbs / .btn
   ============================================================ */

/* ---------- 双栏布局：左侧目录 + 右侧正文 ---------- */
.docs-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 30px;
}
.docs-toc {
  position: sticky;
  top: 92px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 14px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.docs-toc-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 0 8px 10px;
}
.docs-toc ol { list-style: none; margin: 0; padding: 0; }
.docs-toc li { margin: 1px 0; }
.docs-toc a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 6px 10px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  line-height: 1.45;
}
.docs-toc a:hover { color: var(--ink); background: var(--bg); }
.docs-toc a.on {
  color: var(--primary-hover);
  background: var(--primary-soft);
  font-weight: 600;
}
.docs-body { min-width: 0; }

/* ---------- 文档正文排版 ---------- */
.doc-h2 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 46px 0 14px;
  scroll-margin-top: 92px;
}
.docs-body .doc-h2:first-child { margin-top: 0; }
.doc-h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 26px 0 10px;
  scroll-margin-top: 92px;
}
.doc-p { font-size: 15px; color: var(--ink-2); line-height: 1.85; margin: 0 0 14px; }
.doc-p strong, .doc-list strong, .doc-steps strong { color: var(--ink); }
.doc-list { margin: 0 0 14px; padding-left: 22px; color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.doc-list li + li { margin-top: 6px; }

/* 有序步骤（自动编号） */
.doc-steps {
  counter-reset: step;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.doc-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 14px 40px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
}
.doc-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 12.5px; top: 31px; bottom: 2px;
  width: 1px;
  background: var(--line);
}

/* ---------- 代码块（暗底） ---------- */
.doc-code {
  position: relative;
  background: #1e2433;
  color: #e8ecf5;
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  margin: 0 0 16px;
  overflow-x: auto;
}
.doc-code code {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre;
  display: block;
}
.doc-copy {
  position: absolute;
  top: 8px; right: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #aab3c5;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.doc-copy:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* ---------- 提示框 ---------- */
.doc-note, .doc-warn {
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.doc-note { background: var(--primary-soft); border-left: 3px solid var(--primary); }
.doc-warn { background: #fdf6e8; border-left: 3px solid #d99a1b; }
.doc-note strong, .doc-warn strong { color: var(--ink); }

/* ---------- 状态标注（对外表述标实现状态） ---------- */
.doc-chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 9px;
  border-radius: 999px;
  vertical-align: 2px;
  margin-left: 6px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.doc-chip-ok { background: #e2f6ec; color: #047857; }
.doc-chip-pro { background: var(--primary); color: #fff; }
.doc-chip-part { background: #fdf0dc; color: #a16207; }
.doc-chip-plan { background: #eef0f5; color: var(--ink-3); border: 1px dashed #c9cfd9; }

/* ---------- 文档中心卡片补充 ---------- */
.a-doc-disabled, .a-doc-disabled:hover {
  border-style: dashed;
  border-color: #d0d5df;
  transform: none;
  background: #fafbfd;
  cursor: default;
}
.a-doc-disabled h3 { color: var(--ink-2); }
.doc-docs-grid { grid-template-columns: repeat(2, 1fr); margin-top: 6px; }
@media (max-width: 680px) { .doc-docs-grid { grid-template-columns: 1fr; } }

/* 快捷入口列表 */
.doc-shortcuts {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 22px;
}
.doc-shortcuts li a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 9px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.doc-shortcuts li a:hover { border-color: var(--primary); color: var(--ink); }
.doc-shortcuts li a::before { content: "→"; color: var(--primary); font-weight: 700; flex: none; }

/* ---------- 上一篇 / 下一篇 ---------- */
.doc-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.doc-pager a {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: border-color 0.15s ease;
}
.doc-pager a:hover { border-color: var(--primary); }
.doc-pager a span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.doc-pager a b { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.doc-pager a.next { text-align: right; }
.doc-pager a.is-end { visibility: hidden; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .docs-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 22px; }
  .docs-toc {
    position: static;
    max-height: none;
  }
  .docs-toc ol {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 10px;
  }
  .doc-shortcuts { grid-template-columns: 1fr; }
  .doc-pager { flex-direction: column; }
}
@media (max-width: 560px) {
  .docs-toc ol { grid-template-columns: 1fr; }
  .doc-code { padding: 13px 14px; }
}
