/* SnipX-site · 内页（隐私政策 / 支持）排版
 * 与主页共享 styles.css，仅补法律页 / 文章页的字体节奏与行距。
 */

.legal-page {
  padding-top: calc(var(--topbar-h-on-scroll) + 32px);
  padding-bottom: 96px;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-head {
  margin-bottom: 56px;
  text-align: left;
}

.legal-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin: 0 0 12px;
  font-weight: 600;
}

.legal-title {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 12px;
}

.legal-meta {
  font-size: 14px;
  color: var(--faint);
  margin: 0;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.legal-section h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text);
}

.legal-section p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 12px;
}

.legal-section strong {
  color: var(--text);
  font-weight: 600;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.legal-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  opacity: 0.85;
}

ol.legal-list {
  counter-reset: legal-counter;
}

ol.legal-list li {
  counter-increment: legal-counter;
  padding-left: 30px;
}

ol.legal-list li::before {
  content: counter(legal-counter);
  background: transparent;
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 13px;
  top: 8px;
  left: 0;
  width: auto;
  height: auto;
}

.legal-section code {
  font-family:
    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  color: var(--text);
}

.legal-section a {
  color: var(--accent-blue);
  border-bottom: 1px solid rgba(106, 167, 255, 0.35);
  transition: border-color 160ms ease, color 160ms ease;
}

.legal-section a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

@media (max-width: 720px) {
  .legal {
    padding: 0 18px;
  }

  .legal-section {
    margin-bottom: 32px;
  }

  .legal-section p,
  .legal-list li {
    font-size: 15px;
  }
}
