/* ==========================================================================
   VPNEH · deepdoc.css
   选型手册页专属样式:页面头 · 章节编号 · 导读块 · 勾选清单 · 场景卡
   仅在本页引入,不覆盖 base.css / components.css 的既有组件
   ========================================================================== */

/* ---------- 1. 页面头 ---------- */
.hb-head{
  position:relative;
  overflow-x:clip;
  max-width:100%;
  padding-block:var(--space-7) var(--space-6);
  background:linear-gradient(180deg,var(--bg-top) 0%,var(--bg) 58%,var(--bg-bottom) 100%);
  border-bottom:1px solid var(--border);
}

.hb-head::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,var(--dust-b) 1px,transparent 1.2px);
  background-size:64px 64px;
  background-position:14px 22px;
  pointer-events:none;
}

.hb-head .shell{
  position:relative;
  z-index:1;
}

.hb-title{
  margin:10px 0 0;
  font-size:clamp(28px,3.8vw,46px);
  line-height:1.16;
}

.hb-lede{
  max-width:64ch;
  margin:var(--space-4) 0 0;
  font-size:16.5px;
  line-height:1.75;
  color:var(--text-muted);
}

.hb-facts{
  display:flex;
  flex-wrap:wrap;
  gap:8px 10px;
  margin:var(--space-5) 0 0;
  padding:0;
  list-style:none;
}

.hb-facts li{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  padding:5px 12px;
  border:1px solid var(--border);
  border-radius:var(--r-pill);
  background:var(--bg-panel);
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.01em;
  color:var(--text-muted);
  white-space:nowrap;
}

.hb-facts b{
  color:var(--accent);
  font-weight:700;
}

.hb-cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:var(--space-5);
}

.hb-cta .btn{flex-shrink:0;}

.hb-meta{
  margin:var(--space-4) 0 0;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.02em;
  color:var(--text-muted);
}

.hb-topo{
  max-width:620px;
  margin-top:var(--space-5);
  opacity:.85;
}

/* ---------- 2. 正文列与章节 ---------- */
.hb-article{
  counter-reset:hb-sec;
  margin-inline:auto;
}

.hb-article > section{
  padding-block:var(--space-6);
  border-top:1px solid var(--border);
}

.hb-article > section:first-of-type{
  border-top:0;
  padding-top:var(--space-5);
}

.hb-article > section > h2{
  display:block;
  margin:0 0 var(--space-4);
  font-size:clamp(22px,2.4vw,29px);
  line-height:1.3;
  letter-spacing:-.015em;
}

.hb-article > section > h2::before{
  counter-increment:hb-sec;
  content:counter(hb-sec,decimal-leading-zero);
  display:inline-block;
  margin-right:.6em;
  padding:1px 7px;
  border:1px solid var(--border);
  border-radius:var(--r-xs);
  background:var(--bg-panel);
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  color:var(--accent);
  vertical-align:middle;
}

.hb-article h3{
  margin-top:var(--space-6);
  margin-bottom:var(--space-2);
  font-size:17px;
  font-weight:700;
  letter-spacing:0;
}

.hb-article > section > h3:first-of-type{
  margin-top:var(--space-4);
}

/* ---------- 3. 开篇导读块 ---------- */
.hb-intro{
  margin:var(--space-5) 0 var(--space-4);
  padding:var(--space-5);
  border:1px solid var(--border);
  border-left:3px solid var(--accent);
  border-radius:var(--r-sm);
  background:var(--bg-panel-soft);
}

.hb-intro-title{
  margin:0 0 var(--space-3);
  font-size:18px;
  font-weight:700;
  letter-spacing:-.01em;
}

.hb-intro p{
  font-size:14.5px;
  line-height:1.8;
  color:var(--text-muted);
}

.hb-intro p:last-child{margin-bottom:0;}

/* ---------- 4. 勾选清单 ---------- */
.hb-check{
  margin:var(--space-4) 0;
  padding:0;
  list-style:none;
}

.hb-check li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0;
  padding:8px 0;
  border-bottom:1px dashed var(--border);
  font-size:14.5px;
  line-height:1.75;
  color:var(--text);
}

.hb-check li:last-child{border-bottom:0;}

.hb-check li::before{
  content:"✓";
  flex:none;
  width:18px;
  height:18px;
  margin-top:3px;
  border-radius:50%;
  background:var(--ok-a12);
  color:var(--success);
  font-size:11px;
  font-weight:700;
  line-height:18px;
  text-align:center;
}

/* ---------- 5. 场景卡 ---------- */
.hb-scene-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:var(--space-5) 0;
}

.hb-scene{
  min-width:0;
  padding:16px 18px;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--bg-panel);
}

.hb-scene h4{
  margin:0 0 6px;
  font-size:14.5px;
  font-weight:700;
  color:var(--text);
}

.hb-scene p{
  margin:0;
  font-size:13.5px;
  line-height:1.75;
  color:var(--text-muted);
}

/* ---------- 6. 页尾注记 ---------- */
.hb-tail{
  margin:var(--space-5) 0 0;
  padding-top:var(--space-4);
  border-top:1px dashed var(--border);
  font-size:13px;
  line-height:1.75;
  color:var(--text-muted);
}

@media (max-width:760px){
  .hb-scene-grid{grid-template-columns:minmax(0,1fr);}
}

@media (max-width:640px){
  .hb-head{padding-block:var(--space-6) var(--space-5);}
  .hb-lede{font-size:15px;}
  .hb-article > section{padding-block:var(--space-5);}
  .hb-intro{padding:var(--space-4);}
  .hb-topo{display:none;}
  .hb-cta .btn{width:100%;}
}