/* ==========================================================================
   VPNMK · deepdoc.css
   深度指南页专属:首屏决策卡 / 章节阅读宽度 / 线路示意 / 装饰光斑
   仅声明本页新类,不重复 base.css 与 components.css 已有组件样式。
   ========================================================================== */

/* ---------- 首屏:左文案 + 右决策卡 ---------- */

.doc-head-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:40px;
  align-items:start;
}

.doc-head-copy{
  min-width:0;
}

.doc-head-actions{
  margin-top:26px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}

.doc-head-card{
  min-width:0;
  padding:24px;
}

.doc-card-kicker{
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.14em;
  color:var(--accent-dark);
}

.doc-card-title{
  margin-top:10px;
  font-family:var(--font-display);
  font-size:clamp(19px,1.7vw,23px);
  font-weight:800;
  line-height:1.32;
  letter-spacing:-.02em;
  color:var(--text);
}

.doc-check-list{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.doc-check-list li{
  min-width:0;
}

.doc-check-list a{
  display:flex;
  align-items:flex-start;
  gap:9px;
  min-height:36px;
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  background:var(--bg-panel);
  font-size:13px;
  line-height:1.55;
  color:var(--text-muted);
  transition:border-color .16s ease,color .16s ease,background-color .16s ease;
}

.doc-check-list a::before{
  content:"✓";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  flex:none;
  border-radius:50%;
  background:var(--accent-10);
  color:var(--accent-dark);
  font-family:var(--font-mono);
  font-size:11px;
  line-height:1;
}

.doc-check-list a:hover{
  border-color:var(--accent-32);
  background:var(--accent-04);
  color:var(--text);
}

.doc-card-note{
  margin-top:14px;
  font-size:12px;
  line-height:1.7;
  color:var(--text-soft);
}

/* ---------- 装饰光斑:纯装饰,不参与阅读 ---------- */

.doc-glow{
  position:absolute;
  top:-30px;
  right:-70px;
  z-index:0;
  width:440px;
  height:340px;
  pointer-events:none;
  background:
    radial-gradient(52% 52% at 62% 38%,var(--warm-22) 0%,var(--warm-06) 46%,var(--clear) 72%),
    radial-gradient(40% 40% at 30% 72%,var(--accent-10) 0%,var(--clear) 70%);
  opacity:.8;
}

/* ---------- 正文:阅读宽度与章节节奏 ---------- */

.doc-article{
  max-width:880px;
  margin-inline:auto;
  padding-bottom:18px;
}

.doc-article > .doc-section:first-of-type h2{
  margin-top:0;
}

.doc-article .doc-section > p{
  font-size:15px;
  line-height:1.88;
}

.doc-article .doc-section h3{
  margin-top:30px;
}

/* ---------- 线路示意图 ---------- */

.doc-figure{
  margin:24px 0;
  padding:16px;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--bg-panel);
}

.doc-figure svg{
  width:100%;
  height:auto;
}

.doc-figure figcaption{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 10px;
  font-size:12px;
  line-height:1.7;
  color:var(--text-muted);
}

.doc-caption{
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.03em;
  color:var(--text-soft);
}

.doc-line-ipl{
  stroke:var(--accent);
}

.doc-line-relay{
  stroke:var(--violet);
}

.doc-line-direct{
  stroke:var(--amber);
}

/* ---------- 响应式 ---------- */

@media (max-width:1080px){
  .doc-head-grid{
    grid-template-columns:minmax(0,1fr);
    gap:28px;
  }
  .doc-head-card{
    max-width:620px;
  }
  .doc-glow{
    right:-120px;
    opacity:.55;
  }
}

@media (max-width:760px){
  .doc-head-actions .btn{
    flex:1 1 auto;
  }
  .doc-glow{
    width:260px;
    height:210px;
    top:-20px;
    right:-90px;
    opacity:.45;
  }
  .doc-article{
    max-width:100%;
  }
  .doc-article .doc-section > p{
    font-size:14.5px;
  }
  .doc-figure{
    padding:12px;
  }
}

@media (max-width:640px){
  .doc-head-card{
    padding:20px;
  }
  .doc-check-list a{
    font-size:12.5px;
  }
  .doc-glow{
    display:none;
  }
}

@media (prefers-reduced-motion:reduce){
  .doc-glow{
    opacity:.5;
  }
}