.legal-main {
  min-height: 100vh;
  padding: clamp(100px, 14vh, 140px) 0 80px;
}

.legal-container {
  width: min(780px, 92vw);
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.legal-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.1;
}

.legal-date {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.legal-section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.legal-section p,
.legal-section li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.legal-section p + p {
  margin-top: 12px;
}

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

.legal-section ul li {
  padding-left: 20px;
  position: relative;
}

.legal-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.legal-section a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.legal-section a:hover {
  opacity: 0.75;
}

/* Footer overrides for minimal footer on legal pages */
.footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  overflow: visible;
}

.footer::before,
.footer::after {
  display: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: none;
  padding: 0;
}

.footer-bottom-left p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  padding-left: 2rem;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 2rem;
}

.footer-bottom-right a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  padding: 2px 0;
}

.footer-bottom-right a:hover {
  color: var(--text-primary);
}

.footer-bottom-right .footer-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  user-select: none;
}
