/* ==========================================================================
   VPNMK · tutorial.css
   快速上手页:阅读栏、步骤卡、平台小节、指引卡、装饰光斑
   颜色 / 圆角 / 阴影一律引用 :root 令牌,不在此重复定义共享组件样式。
   ========================================================================== */

/* ---------- 页头装饰光斑(视差层,纯装饰) ---------- */

.tut-aura{
  position:absolute;
  right:-40px;
  top:-70px;
  z-index:-1;
  width:420px;
  height:340px;
  pointer-events:none;
  background:radial-gradient(58% 58% at 52% 48%,var(--warm-22) 0%,var(--warm-06) 46%,var(--clear) 74%);
}

/* ---------- 阅读栏 ---------- */

.tut-doc{
  width:100%;
  max-width:920px;
  margin-inline:auto;
  min-width:0;
}

.tut-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:22px;
}

/* ---------- 步骤卡 ---------- */

.tut-step{
  position:relative;
  min-width:0;
  margin-top:20px;
  padding:28px;
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  background:var(--bg-panel);
  box-shadow:var(--shadow-card);
}

.tut-step-head{
  margin-bottom:6px;
}

.tut-num{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 10px;
  border-radius:var(--r-pill);
  border:1px solid var(--accent-32);
  background:var(--accent-04);
  color:var(--accent-dark);
  font-family:var(--font-mono);
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  white-space:nowrap;
}

.tut-step h2{
  margin-top:12px;
  font-size:clamp(21px,2.2vw,28px);
}

.tut-step .prose{
  margin-top:14px;
}

.tut-step .callout{
  margin-top:20px;
}

/* ---------- 平台小节 ---------- */

.tut-plat-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:22px;
}

.tut-plat{
  min-width:0;
  padding:20px;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--bg-panel3);
}

.tut-plat-k{
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.1em;
  color:var(--text-soft);
}

.tut-plat h3{
  margin-top:6px;
  font-size:17px;
  letter-spacing:-.01em;
}

.tut-plat-body{
  margin-top:8px;
  font-size:13.5px;
  line-height:1.78;
  color:var(--text-muted);
}

/* ---------- 外部指引卡 ---------- */

.tut-links{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:20px;
}

.tut-link{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  padding:20px;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--bg-panel);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.tut-link:hover{
  border-color:var(--accent-24);
  box-shadow:var(--shadow-card);
  transform:translateY(-2px);
}

.tut-link h3{
  font-size:16px;
  letter-spacing:-.01em;
}

.tut-link p{
  font-size:13px;
  line-height:1.72;
  color:var(--text-muted);
}

.tut-link .link-arrow{
  margin-top:auto;
  padding-top:4px;
}

/* ---------- 步骤尾部的线路示意(纯装饰) ---------- */

.tut-topo{
  display:block;
  width:100%;
  max-width:360px;
  height:auto;
  margin-top:22px;
}

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

@media (max-width:1080px){
  .tut-doc{max-width:100%}
}

@media (max-width:760px){
  .tut-aura{display:none}
  .tut-step{padding:20px}
  .tut-plat-grid{grid-template-columns:minmax(0,1fr)}
  .tut-links{grid-template-columns:minmax(0,1fr)}
  .tut-step .prose{font-size:14.5px}
}

@media (prefers-reduced-motion:reduce){
  .tut-link:hover{transform:none}
}