/* ==========================================================
   LEGAL — privacy policy / terms of service
   ========================================================== */
.legal {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 44px 110px;
}

.legal .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.legal .breadcrumb a { color: var(--text-muted); text-decoration: none; transition: opacity 0.18s ease; }
.legal .breadcrumb a:hover { opacity: 0.6; }

.legal h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 18px;
}

.legal-updated {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: flex-start;
}

.legal-toc { position: sticky; top: 96px; }

.legal-toc h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-toc a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-body);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 100px;
  transition: background 0.18s ease, color 0.18s ease;
}

.legal-toc a:hover { background: var(--pill-lavender); color: var(--purple); }

.legal-body h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.legal-body p {
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text-body);
  font-weight: 500;
  margin-bottom: 16px;
}

.legal-body a { color: var(--purple); }

.legal-body ul {
  list-style: none !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.legal-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-body);
  font-weight: 500;
  margin: 0 !important;
  padding: 0 !important;
}

.legal-body ul li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
  margin-top: 9px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 36px; }
  .legal-toc { position: static; }
}

@media (max-width: 640px) {
  .legal { padding: 48px 20px 80px; }
  .legal-body h2 { font-size: 22px; margin-top: 36px; padding-top: 36px; }
}
