/* ==========================================================================
   VPNDQ — tutorial.css  (zh-CN/setup.html)
   快速上手页专属样式：页头氛围、步骤编号、平台小节卡、结尾阅读卡。
   颜色 / 字体 / 圆角一律引用 base.css 的 :root 设计令牌。
   ========================================================================== */

/* ---------- page head --------------------------------------------------- */
.tut-head{
  position:relative;overflow-x:clip;max-width:100%;
  background:linear-gradient(180deg,var(--bg-hero-top) 0%,var(--bg-hero-bot) 100%);
  padding-top:46px;padding-bottom:40px;
}
.tut-head__glow{
  position:absolute;left:50%;top:-200px;width:min(780px,130%);height:460px;
  transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(ellipse at center,var(--gold-16) 0%,transparent 70%);
}
.tut-head__in{position:relative;z-index:2}
.tut-head .h1{margin-top:12px}
.tut-head .lead{margin-top:14px;max-width:760px}
.tut-facts{margin-top:22px}

/* ---------- intro callout ---------------------------------------------- */
.tut-note{margin-top:30px}

/* ---------- steps ------------------------------------------------------- */
.tut{padding-bottom:12px}
.tut-step{padding-top:34px}
.tut-step + .tut-step{margin-top:34px;border-top:1px solid var(--line-soft)}
.tut-step__head{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.tut-step__head .h2{min-width:0}
.tut-step__num{
  flex:none;width:46px;height:46px;border-radius:var(--r-md);
  display:grid;place-items:center;
  font-family:var(--font-mono);font-size:15px;font-weight:700;letter-spacing:.04em;
  color:var(--white);
  background:linear-gradient(150deg,var(--accent) 0%,var(--accent-dark) 100%);
  box-shadow:var(--shadow-btn),inset 0 1px 0 var(--chrome-hi);
}
.tut-body p{font-size:15.5px;line-height:1.85;color:var(--ink)}
.tut-body p + p{margin-top:14px}
.tut-body strong{color:var(--accent-dark);font-weight:700}
.tut-body code{
  padding:1px 6px;border-radius:6px;
  background:var(--panel-2);border:1px solid var(--line-soft);
  font-size:13px;color:var(--accent);
}
.tut-body a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.tut-body ul{margin-top:14px;display:flex;flex-direction:column;gap:10px}
.tut-body li{position:relative;padding-left:20px;font-size:15px;line-height:1.8;color:var(--ink)}
.tut-body li::before{
  content:"";position:absolute;left:4px;top:.66em;
  width:6px;height:6px;border-radius:50%;background:var(--gold);
}
.tut-cta{margin-top:20px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.tut-cta__link{
  display:inline-flex;align-items:center;gap:6px;
  font-size:14px;font-weight:700;color:var(--accent);
}
.tut-cta__link svg{width:14px;height:14px;flex:none}

/* ---------- platform blocks -------------------------------------------- */
.tut-sub{
  margin-top:20px;padding:20px 22px;min-width:0;
  background:var(--panel);border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--shadow-card);
}
.tut-sub__head{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.tut-sub__head .h3{min-width:0}
.tut-sub__ico{
  flex:none;width:34px;height:34px;border-radius:11px;
  display:grid;place-items:center;background:var(--panel-2);color:var(--accent);
}
.tut-sub__ico svg{width:18px;height:18px}
.tut-sub p{font-size:14.5px;line-height:1.85;color:var(--ink)}
.tut-sub p + p{margin-top:12px}

/* ---------- closing reading cards -------------------------------------- */
.tut-next{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.tut-next__card{
  display:flex;flex-direction:column;gap:8px;min-width:0;
  padding:20px;background:var(--panel);border:1px solid var(--line);
  border-radius:var(--r-lg);box-shadow:var(--shadow-card);
  transition:transform .18s,box-shadow .18s;
}
.tut-next__card:hover{transform:translateY(-3px);box-shadow:0 26px 50px -24px var(--accent-18)}
.tut-next__card p{font-size:13.5px;line-height:1.7;color:var(--muted)}
.tut-next__card .post-card__more{margin-top:auto}

/* ---------- responsive -------------------------------------------------- */
@media (max-width:900px){
  .tut-next{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .tut-head{padding-top:32px;padding-bottom:30px}
  .tut-step{padding-top:28px}
  .tut-step + .tut-step{margin-top:28px}
  .tut-step__head{gap:11px;margin-bottom:14px}
  .tut-step__num{width:40px;height:40px;font-size:13.5px;border-radius:var(--r-sm)}
  .tut-sub{padding:18px 16px}
  .tut-cta{gap:12px}
}