/* Legal page layout */
.legal-page {
  min-height: 100vh;
  padding: calc(68px + 60px) 24px 80px;
  background: var(--bg);
  position: relative;
}

.legal-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 10% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.legal-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.legal-meta {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.1;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 20px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

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

.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.legal-section ul li {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

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

.legal-section ul li strong {
  color: var(--fg);
  font-weight: 500;
}

/* Legal page footer links */
.footer-legal-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-legal-links a {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--accent-light);
}

.footer-divider {
  width: 1px;
  height: 12px;
  background: var(--border-strong);
}