/* ═══════════════════════════════════════════════
   法律文档页面通用样式
   ═══════════════════════════════════════════════ */

.legal-content {
  padding: 40px 0 80px;
  position: relative;
  z-index: 1;
}

.legal-meta {
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.legal-meta p {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.legal-meta p:last-child {
  margin-bottom: 0;
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
}

.legal-body h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-body p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 16px;
}

.legal-body ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
}

.legal-body ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 6px;
}

.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.legal-body a:hover {
  opacity: 0.8;
}

.legal-body strong {
  color: var(--text);
  font-weight: 700;
}

.highlight-box {
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.highlight-box p {
  margin-bottom: 12px;
}

.highlight-box ul {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-body h2 {
    font-size: 20px;
  }
  .legal-body h3 {
    font-size: 16px;
  }
  .legal-body p,
  .legal-body ul li {
    font-size: 14px;
  }
}
