/* ============================================================
   AxisEV — Legal & Privacy Styles
   css/legal.css
   ============================================================ */

body {
  background-color: var(--color-bg, #0d1117);
  color: var(--color-white-70, #c9d1d9);
  line-height: 1.6;
}

.legal-container {
  max-width: 900px;
  margin: 120px auto 80px;
  padding: 0 24px;
}

.legal-header {
  margin-bottom: 48px;
  text-align: center;
}

.legal-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--color-white, #ffffff);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-header p {
  font-size: 16px;
  color: var(--color-white-40, #8b949e);
}

.legal-section {
  background: hsla(220, 25%, 12%, 0.8);
  border: 1px solid var(--color-border, rgba(255,255,255,0.08));
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-white, #ffffff);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border, rgba(255,255,255,0.08));
}

.legal-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white, #ffffff);
  margin: 32px 0 12px;
}

.legal-section p, .legal-section ul {
  margin-bottom: 16px;
  color: var(--color-white-70, #c9d1d9);
  font-size: 15px;
}

.legal-section ul {
  padding-left: 24px;
}

.legal-section li {
  margin-bottom: 8px;
}

.disclaimer-alert {
  background: rgba(232, 32, 32, 0.1);
  border-left: 4px solid #e82020;
  padding: 24px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 32px;
}

.disclaimer-alert h3 {
  color: #e82020;
  margin-top: 0;
  margin-bottom: 8px;
  border: none;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white-40, #8b949e);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.btn-back:hover {
  color: var(--color-primary, #22d3c8);
}

.legal-footer {
  background: var(--color-bg, #0d1117);
  padding: 40px 24px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  border-top: 1px solid var(--color-border, rgba(255,255,255,0.08));
}
