/* ============================================================
   VPNBQ — deepdoc.css
   深度指南页(使用手册 handbook.html)专属样式
   ============================================================ */

.hb-hero{
  position:relative;
  overflow-x:clip;
  max-width:100%;
  padding-top:64px;
  padding-bottom:48px;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg,var(--bg-top),var(--bg));
}
.hb-hero::before{
  content:"";
  position:absolute;
  inset:-10% -20% auto -20%;
  height:150%;
  background:linear-gradient(112deg,transparent 38%,var(--tint-05) 47%,transparent 58%);
  pointer-events:none;
}
.hb-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle at 1px 1px,rgba(22,24,26,.055) .6px,transparent 1.1px);
  background-size:5px 5px;
  opacity:.55;
  pointer-events:none;
}
.hb-hero > .wrap{position:relative;z-index:1}
.hb-hero h1{margin:14px 0 18px}
.hb-hero .lede{max-width:720px}
.hb-hero .fact-row{margin-top:22px}
.hb-hero .chip-row{margin-top:14px}

.hb-guide{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:28px;
  max-width:860px;
}
.hb-guide-item{
  min-width:0;
  padding:18px 20px 20px;
  border-radius:var(--r-lg);
  background:var(--bg-panel);
  box-shadow:var(--shadow-panel);
}
.hb-guide-k{
  display:inline-block;
  font:500 11px/1 var(--font-mono);
  letter-spacing:.07em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:10px;
}
.hb-guide-item p{font-size:13.5px;line-height:1.75;color:var(--text-2)}
.hb-guide-item a{color:var(--accent);border-bottom:1px solid var(--tint-16)}
.hb-guide-item a:hover{border-bottom-color:var(--accent)}

.hb-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 22px;
  margin-top:22px;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--text-3);
}

.hb-chapter{padding-top:8px}
.hb-chapter + .hb-chapter{margin-top:8px}
.hb-chapter h2{
  padding-top:22px;
  border-top:1px solid var(--border);
  margin-top:22px;
}
.hb-chapter:first-of-type h2{border-top:0;margin-top:0;padding-top:0}

.prose .hb-chapter h3{font-size:17px;font-weight:600;color:var(--text);margin:26px 0 8px}
.prose .hb-chapter h2 + p{margin-top:16px}
.prose .hb-chapter .table-scroll{margin:18px 0 22px}
.prose .hb-chapter .callout{margin:20px 0}
.prose .hb-chapter pre{margin:18px 0}
.prose .hb-chapter .fact-band{margin:26px 0 6px}
.prose .hb-chapter .promo-block{margin-top:30px}
.prose .hb-chapter ul{margin:14px 0 14px 20px}
.prose .hb-chapter ul li{margin:8px 0}

@media (max-width:768px){
  .hb-hero{padding-top:44px;padding-bottom:36px}
  .hb-guide{grid-template-columns:1fr;gap:12px}
}
@media (max-width:640px){
  .hb-hero h1{margin:12px 0 14px}
  .hb-meta{gap:6px 14px}
}
</style>