/* ==========================================================================
   Clash Verge官网 · 使用指南页专属样式(zh-CN/start.html)
   仅补充本页结构:步骤区节奏、步骤头、操作路径行、检查点、步骤衔接、延伸阅读。
   颜色 / 字体 / 圆角全部引用 base.css 令牌,不重复定义通用组件。
   ========================================================================== */

/* ------------------------------------------------- 步骤区与锚点定位 */
.tut-step {
  padding-top: 70px;
  padding-bottom: 70px;
}

/* 步骤之间用一条贯穿整幅的细线断句 */
.tut-flow > .tut-step + .tut-step { border-top: 1px solid var(--border); }

/* 锚点跳转时避开吸顶页头与步骤条 */
.tut-step,
#checkpoints { scroll-margin-top: calc(var(--header-h) + 78px); }

/* ------------------------------------------------------------- Hero */
.tut-hero { max-width: 62em; }
.tut-hero .lead { max-width: 44em; }
.tut-hero .chip-row { margin-top: 26px; }
.tut-hero .callout { margin-top: 28px; max-width: 54em; }

/* ----------------------------------------------------------- 步骤头 */
.tut-step-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.tut-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 66px;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-pill);
  background: var(--accent-veil);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--accent-ink);
}

.tut-step-text { min-width: 0; }

.tut-step-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--ink);
}

.tut-goal {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* --------------------------------------------------------- 正文列宽 */
.tut-body { max-width: 46em; }

/* ------------------------------------------------------- 操作路径行 */
.tut-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-chip);
  background: var(--paper-hi);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.tut-path-label {
  letter-spacing: .1em;
  color: var(--ink-3);
}

.tut-arrow { color: var(--accent-ink); }

/* ----------------------------------------------------------- 检查点 */
.tut-check {
  max-width: 46em;
  margin: 30px 0 0;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--paper-hi);
}

.tut-check-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--ink-3);
}

.tut-check ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tut-check li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.tut-check li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .5em;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--success-ink);
  border-bottom: 2px solid var(--success-ink);
  transform: rotate(45deg);
}

/* ------------------------------------------------------- 步骤衔接行 */
.tut-next {
  max-width: 46em;
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.tut-next a {
  color: var(--accent-ink);
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 1px;
}

.tut-next a:hover { border-bottom-color: var(--accent-ink); }

/* --------------------------------------------------- 收尾与下载引导 */
.tut-step .dl-cta { margin-top: 40px; }

/* --------------------------------------------------------- 延伸阅读 */
.tut-more {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--warm-line);
}

.tut-more-title {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .16em;
  color: var(--text-muted);
}

.tut-link-card {
  transition: border-color .18s ease, transform .18s ease;
}

.tut-link-card:hover {
  border-color: var(--warm-line-2);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------- 响应式 */
@media (max-width: 640px) {
  .tut-step { padding-top: 52px; padding-bottom: 52px; }
  .tut-step-head { flex-direction: column; gap: 12px; }
  .tut-check { padding: 16px 16px; }
  .tut-path { font-size: 12px; }
  .tut-step .dl-cta { margin-top: 30px; }
}