/* Legal pages (privacy-policy.html, terms-of-service.html) — same design tokens as
   style.css (colors, type families) but static and readable: no cinematic scroll
   staging, no atmos/fog/reveal. A legal document should read like one. */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad) 6rem;
}

.legal h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-family: var(--caps);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  opacity: 0.9;
}

.legal p, .legal li {
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  opacity: 0.92;
}

.legal p { margin-bottom: 1rem; }

.legal ul {
  margin: 0 0 1.25rem 1.4rem;
}
.legal li { margin-bottom: 0.4rem; }

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 1;
}
.legal a:hover { opacity: 0.8; }

.legal strong { font-weight: 600; color: var(--text); opacity: 1; }

.legal > p:last-of-type {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

/* Pages that carry the fixed nav (trust, blog, articles) need to start below it.
   The original legal pages have no nav at all, which is why `.legal` alone was enough
   there and why the title sat under the logo on the newer ones. The nav is brand-mark
   (2.2rem) + gap + brand-name, inside `--pad` top and bottom, so reserve that much
   plus breathing room. `.movement-label` is hidden below 900px, so the offset has to
   hold on its own rather than relying on that line to push the h1 down. */
.legal-body {
  padding-top: calc(var(--pad) + 4.5rem);
}

@media (max-width: 900px) {
  .legal-body { padding-top: calc(var(--pad) + 3.75rem); }
}

/* The toggle is styled in style.css for the home page; on a static page it sits in the
   same fixed nav and needs the same colour treatment. */
.legal .nav-toggle { color: inherit; }
