/* ============================================================
   VPNCU · tutorial.css
   新手指引页专属样式
   ============================================================ */

/* ---------- 页面 Hero ---------- */
.page-hero {
  padding: 56px 0 36px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.page-hero .wrap {
  position: relative;
}

.page-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--accent-dark);
}

.page-hero .k-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.page-hero h1 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -.025em;
  color: var(--ink);
  max-width: 760px;
}

.page-hero .hero-sub {
  margin-top: 14px;
  max-width: 620px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* Hero 事实带 */
.hero-facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.hero-facts .hf-item {
  font-size: 13.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.hero-facts .hf-item strong {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--accent-dark);
  letter-spacing: -.01em;
}

/* ---------- 步骤区块 ---------- */
.step-section {
  padding-top: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.step-section:last-of-type {
  border-bottom: none;
}

.step-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent-dark);
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 7px 12px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}

.step-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.2;
}

.step-head .step-lead {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 640px;
}

.step-body {
  max-width: 780px;
}

@media (min-width: 769px) {
  .step-body {
    padding-left: 58px;
  }
}

.step-body p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.step-body p:last-child {
  margin-bottom: 0;
}

.step-body strong {
  color: var(--ink);
  font-weight: 600;
}

.step-body .btn {
  margin-top: 6px;
}

/* 订阅链接展示 */
.sub-url-box {
  margin: 18px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.sub-url-box pre {
  margin: 0;
}

.sub-url-box code {
  font-size: 13px;
  white-space: pre;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .page-hero {
    padding: 40px 0 28px;
  }

  .page-hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-facts {
    gap: 8px 16px;
  }

  .step-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .step-head {
    flex-direction: column;
    gap: 12px;
  }

  .step-num {
    margin-top: 0;
  }
}