/* ═══════════════════════════════════════
   LEGAL PAGES (Privacy & Terms)
   ═══════════════════════════════════════ */

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(20, 20, 31, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--auth-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.legal-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--auth-text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.legal-logo span {
  color: var(--auth-accent-hi);
}

.legal-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.legal-nav-link {
  padding: 8px 16px;
  color: var(--auth-text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
}

.legal-nav-link:hover {
  color: var(--auth-text);
  background: rgba(255, 255, 255, 0.04);
}

.legal-nav-cta {
  background: var(--auth-accent);
  color: #fff !important;
}

.legal-nav-cta:hover {
  background: var(--auth-accent-hi);
}

.legal-main {
  flex: 1;
  padding: 40px 20px 60px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.legal-card {
  max-width: 760px;
  width: 100%;
  background: var(--auth-bg-card);
  border: 1px solid var(--auth-border);
  border-radius: 16px;
  padding: 48px 52px;
}

.legal-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--auth-text);
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.legal-updated {
  font-size: 13px;
  color: var(--auth-text-faint);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--auth-border);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--auth-accent-hi);
  margin-bottom: 10px;
}

.legal-section p,
.legal-section li {
  font-size: 14px;
  color: var(--auth-text-dim);
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.legal-section ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--auth-accent);
  font-weight: 700;
}

.legal-section strong {
  color: var(--auth-text);
  font-weight: 700;
}

.legal-section a {
  color: var(--auth-accent-hi);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 61, 199, 0.3);
  transition: border-color 0.2s;
}

.legal-section a:hover {
  border-bottom-color: var(--auth-accent-hi);
}

/* Responsive */
@media (max-width: 640px) {
  .legal-header {
    padding: 14px 20px;
  }

  .legal-main {
    padding: 24px 12px 40px;
  }

  .legal-card {
    padding: 28px 22px;
  }

  .legal-title {
    font-size: 26px;
  }

  .legal-section h2 {
    font-size: 16px;
  }
}