/* ═══════════ LEGAL PAGE STYLES ═══════════ */
/* Shared by terms.html and privacy.html      */

.legal-main {
  padding: 6rem 1.5rem 4rem;
  max-width: 48rem;
  margin: 0 auto;
  width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--zc-text-secondary);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--zc-text);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
}

.legal-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--zc-text);
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--zc-text-secondary);
  margin-bottom: 3rem;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-section p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--zc-text-secondary);
  margin-bottom: 1rem;
}

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

.legal-section h2 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--zc-text);
  margin-bottom: 1rem;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-section li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--zc-text-secondary);
}

.legal-section a {
  color: var(--zc-accent);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-section code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8125rem;
  background-color: var(--zc-chip-bg, rgba(255, 255, 255, 0.06));
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  color: var(--zc-text);
}

