/* ========================================
   法律页面专用样式（隐私政策 / 服务条款）
   ======================================== */

/* ---------- Legal Hero ---------- */
.legal-hero {
  padding: 140px 0 48px;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  text-align: center;
}

.legal-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-update {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ---------- Legal Content ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

/* ---------- Legal Section ---------- */
.legal-section {
  margin-bottom: 48px;
}

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

.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

.legal-section h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul {
  margin: 12px 0;
  padding-left: 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

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

/* ---------- Contact Block ---------- */
.contact-block {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 16px;
}

.contact-block p {
  margin-bottom: 6px !important;
  font-size: 14px !important;
}

.contact-block p:last-child {
  margin-bottom: 0 !important;
}

.contact-block a {
  color: var(--primary);
  font-weight: 500;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .legal-hero {
    padding: 120px 0 36px;
  }

  .legal-hero h1 {
    font-size: 28px;
  }

  .legal-content {
    padding: 32px 0 60px;
  }

  .legal-section h2 {
    font-size: 19px;
  }

  .legal-section h3 {
    font-size: 16px;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 14px;
  }
}
