/* Legal documents — /privacy-policy/ and /terms/.
   Long-form prose, so the measure is tighter than the rest of the site and the
   section rhythm comes from the numbered headings rather than full-bleed rules. */

.legal .section-title { font-size: clamp(30px, 3.6vw, 44px); }

.legal-updated {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-4);
  margin: 0;
}

.legal-body {
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 52px);
}

.legal-sec { scroll-margin-top: 96px; }

.legal-h {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 18px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  text-wrap: pretty;
}

.legal-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-ink);
  flex: none;
}

.legal-p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.legal-p:last-child { margin-bottom: 0; }

.legal-p a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--brand);
}
.legal-p a:hover { color: var(--brand-ink); }

.legal-ul {
  margin: 0 0 14px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-ul li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3);
}
.legal-ul li::marker { color: var(--brand); }

/* kv-list gives the two-column term/definition rows; here the definitions are
   whole sentences, so they drop back to the sans face — mono at paragraph
   length is unreadable. The mono label on the left stays. */
.legal-dl { margin: 0 0 14px; font-family: var(--sans); }
.legal-dl > div { grid-template-columns: 160px 1fr; align-items: start; }
.legal-dl dt { font-family: var(--mono); }
.legal-dl dd {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-3);
}

@media (max-width: 720px) {
  .legal-h { font-size: 19px; }
  .legal-p, .legal-ul li, .legal-dl dd { font-size: 15.5px; }
  .legal-dl > div { grid-template-columns: 1fr; gap: 6px; }
}
