@charset "utf-8";
/* ============================================================================
   VPNTA · tutorial.css
   使用教程页专属：页头、步骤块、平台块、动作行、收尾卡片
   只引用 base.css 的设计令牌，不定义新颜色。
   ========================================================================== */

/* —— 页头 —— */
.tut-head{
  position:relative;
  padding-top:clamp(30px,4.2vw,52px);
  padding-bottom:clamp(16px,2.4vw,26px);
}
.tut-head .mono-label{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:12px;
}
.tut-head .mono-label::before{
  content:"";
  width:22px;
  height:2px;
  flex:none;
  border-radius:1px;
  background:var(--accent);
}
.tut-head h1{margin-bottom:16px;}
.tut-head .lede{max-width:68ch;}
.tut-head .callout{
  margin-top:24px;
  max-width:78ch;
}

.tut-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:20px;
}

/* —— 步骤容器 —— */
.tut-doc{
  display:block;
  max-width:100%;
}

.tut-step{
  padding-top:clamp(26px,3.2vw,40px);
  padding-bottom:clamp(22px,2.8vw,34px);
  border-bottom:1px solid var(--hairline);
}
.tut-step:last-of-type{
  border-bottom:0;
  padding-bottom:0;
}

.tut-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:0 10px;
  border-radius:var(--r-xs);
  border:1px solid var(--border);
  background:var(--accent-09);
  font-family:var(--font-mono);
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.16em;
  color:var(--accent-dark);
  white-space:nowrap;
}

.tut-step h2{
  margin-top:12px;
  font-size:clamp(1.375rem,1.15rem + .95vw,1.875rem);
  line-height:1.28;
}

.tut-step > p{
  margin-top:14px;
  max-width:74ch;
  font-size:15.5px;
  line-height:1.82;
  color:var(--text-muted);
}
.tut-step > p strong{
  font-weight:600;
  color:var(--text);
}
.tut-step > p code{
  padding:1px 5px;
  border-radius:var(--r-xs);
  border:1px solid var(--border);
  background:var(--bg-panel);
  color:var(--accent-dark);
}

/* —— 要点清单 —— */
.tut-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:16px;
  max-width:74ch;
}
.tut-list li{
  position:relative;
  padding-left:18px;
  font-size:14.5px;
  line-height:1.75;
  color:var(--text-muted);
}
.tut-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:5px;
  height:5px;
  border-radius:1px;
  background:var(--accent);
}

/* —— 动作行 —— */
.tut-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
.tut-actions .btn{
  flex-shrink:0;
  white-space:nowrap;
}

/* —— 平台标记行 —— */
.tut-platforms{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}

/* —— 平台块 —— */
.tut-plat{
  margin-top:16px;
  padding:18px 20px;
  border-radius:var(--r-md);
  border:1px solid var(--border);
  background:var(--bg-panel);
  box-shadow:var(--shadow-soft),inset 0 1px 0 var(--surface);
}
.tut-plat-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.tut-plat-head h3{
  font-size:16px;
  line-height:1.4;
}
.tut-plat-tag{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 8px;
  flex:none;
  border-radius:var(--r-xs);
  border:1px solid var(--border);
  background:var(--bg-panel-2);
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.12em;
  color:var(--text-muted);
  white-space:nowrap;
}
.tut-plat p{
  font-size:14.5px;
  line-height:1.8;
  color:var(--text-muted);
}
.tut-plat p + p{margin-top:10px;}
.tut-plat p strong{
  font-weight:600;
  color:var(--text);
}

/* —— 补充说明 —— */
.tut-note{
  margin-top:16px;
  max-width:74ch;
  padding-left:14px;
  border-left:2px solid var(--border);
  font-size:13.5px;
  line-height:1.75;
  color:var(--text-muted);
}

/* —— 收尾卡片 —— */
.tut-next .panel{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.tut-next .panel h3{font-size:16px;}
.tut-next .panel p{
  font-size:14px;
  line-height:1.75;
  color:var(--text-muted);
}
.tut-next .panel .btn{
  margin-top:auto;
  align-self:flex-start;
}

/* —— 响应式 —— */
@media (max-width:640px){
  .tut-head .callout{max-width:none;}
  .tut-step h2{font-size:1.3125rem;}
  .tut-step > p{font-size:15px;}
  .tut-plat{padding:16px;}
  .tut-actions .btn{flex:1 1 100%;}
  .tut-next .panel .btn{align-self:stretch;}
}