/* ==========================================================
   职得心动 · 文档类页面（隐私政策 / 用户协议 / 更新日志 / 帮助中心）
   复用官网 style.css 的变量与基础组件，此处只补充排版样式
   ========================================================== */

.legal-topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.legal-topbar .container {
  height: 64px; display: flex; align-items: center; gap: 16px;
}
.legal-topbar img { width: 30px; height: 30px; border-radius: 8px; }
.legal-brand { font-weight: 800; font-size: 16.5px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.legal-back {
  margin-left: auto; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.legal-back:hover { color: var(--brand-dark); }

.doc { padding: 48px 0 88px; }
.doc-narrow { max-width: 860px; }
.doc h1 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; margin: 0 0 12px; }
.doc .doc-meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.doc h2 {
  font-size: 22px; margin: 40px 0 12px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.doc h3 { font-size: 17px; margin: 26px 0 8px; }
.doc p { margin: 10px 0; color: var(--ink-2); line-height: 1.85; }
.doc ul, .doc ol { margin: 10px 0; padding-left: 22px; }
.doc li { margin: 6px 0; color: var(--ink-2); line-height: 1.8; }
.doc strong { color: var(--ink); }
.doc a { text-decoration: underline; text-underline-offset: 2px; }

.doc-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.doc-table th, .doc-table td {
  border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top;
}
.doc-table th { background: var(--bg-soft); font-weight: 700; }

.doc-card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; margin: 18px 0;
}
.doc-card h3 { margin-top: 0; }
.doc-card p:last-child { margin-bottom: 0; }

.doc-nav {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0;
  padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px;
}
.doc-nav a { color: var(--brand-dark); font-weight: 600; }

.timeline-list { list-style: none; padding: 0; margin: 18px 0; }
.timeline-list > li {
  position: relative; padding: 0 0 22px 26px; border-left: 2px solid var(--line);
}
.timeline-list > li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px #ecfaf8;
}
.timeline-list > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-ver { font-size: 16px; font-weight: 800; }
.timeline-date { font-size: 13px; color: var(--muted); margin-left: 8px; font-weight: 600; }
.timeline-list ul { margin-top: 8px; }

.step-check { counter-reset: c; list-style: none; padding: 0; margin: 14px 0; }
.step-check li {
  position: relative; padding: 14px 16px 14px 52px; margin-bottom: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.step-check li::before {
  counter-increment: c; content: counter(c);
  position: absolute; left: 14px; top: 14px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #ecfaf8; color: var(--brand-dark);
  font-size: 13px; font-weight: 800; display: grid; place-items: center;
}

@media (max-width: 860px) {
  .doc { padding: 32px 0 60px; }
  .doc h2 { margin-top: 32px; }
  .doc-table { font-size: 13.5px; }
  .doc-table th, .doc-table td { padding: 8px 10px; }
}
