.legal-hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 60%, #1e3a5f 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.legal-hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.legal-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: rgba(59,130,246,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(59,130,246,0.25);
}
.legal-hero-icon i {
  font-size: 2rem;
  color: #60a5fa;
}
.legal-hero h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.legal-hero .hero-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.8;
}
.legal-hero .hero-date {
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legal-wrapper {
  padding: 60px 0 80px;
  background: #f8fafc;
}
.legal-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 56px;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.04);
  border: 1px solid #f1f5f9;
}
.legal-content {
  line-height: 2;
  color: #374151;
  font-size: 1rem;
}
.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #334155;
  margin: 28px 0 12px;
}
.legal-content p {
  margin-bottom: 16px;
  color: #475569;
}
.legal-content ul,
.legal-content ol {
  margin: 12px 0 20px;
  padding-right: 28px;
}
.legal-content li {
  margin-bottom: 10px;
  color: #475569;
  line-height: 1.9;
}
.legal-content a {
  color: var(--primary-color, #3b82f6);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover {
  color: #2563eb;
}
.legal-content strong {
  color: #1e293b;
  font-weight: 600;
}
.legal-content blockquote {
  border-right: 4px solid var(--primary-color, #3b82f6);
  padding: 16px 24px;
  margin: 20px 0;
  background: #f8fafc;
  border-radius: 0 12px 12px 0;
  color: #475569;
  font-style: italic;
}
.legal-empty {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}
.legal-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  color: #d1d5db;
}
.legal-empty p {
  font-size: 1.1rem;
}
.legal-toc {
  background: #f8fafc;
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 40px;
  border: 1px solid #e2e8f0;
}
.legal-toc h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
}
.legal-toc li {
  padding: 6px 0;
  break-inside: avoid;
}
.legal-toc a {
  color: #475569;
  text-decoration: none;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.legal-toc a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color, #3b82f6);
  flex-shrink: 0;
}
.legal-toc a:hover {
  color: var(--primary-color, #3b82f6);
}
@media (max-width: 768px) {
  .legal-hero { padding: 100px 0 40px; }
  .legal-card { padding: 28px 20px; border-radius: 16px; }
  .legal-content h2 { font-size: 1.2rem; }
  .legal-toc ol { columns: 1; }
  .legal-hero-icon { width: 64px; height: 64px; border-radius: 18px; }
  .legal-hero-icon i { font-size: 1.5rem; }
}
