/* Legal document pages (/terms /privacy /pdn /cookies).
 *
 * An EXTERNAL stylesheet, not a <style> block: the @public CSP sets
 * `style-src-elem 'self'` (ALI-184, CSS-keylogger defence), which blocks inline
 * <style> elements. These rules used to live inline in legal/_base.html — under
 * a comment that said not to do exactly that — so every legal page rendered as
 * unstyled Times New Roman in production while looking correct everywhere else
 * (the Django test client applies no CSP, and Caddy is the only thing that
 * serves the header). Same shape the /u /g /o share pages already use.
 *
 * Tokens arrive as custom properties on <html>'s style attribute via
 * _design_tokens_attr.html, which `style-src-attr` allows.
 */
body {
  background: var(--color-cream);
  color: var(--color-blue-ink);
  font-family: var(--font-body);
  margin: 0;
  padding: var(--space-10) var(--space-6);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: var(--layout-page);
  margin: 0 auto;
}
h1 {
  font-size: var(--text-3xl);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-2);
}
.muted {
  color: var(--text-secondary);
}
.draft {
  background: var(--color-amber-soft);
  color: var(--color-amber-ink-soft);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-md);
  margin: var(--space-5) 0 var(--space-8);
}
h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
}
p,
li {
  line-height: var(--leading-normal);
}
a {
  color: var(--color-blue);
}
.back {
  display: inline-block;
  margin-top: var(--space-10);
  color: var(--color-blue-deep);
  text-decoration: none;
  border: 1px solid var(--color-cream-3);
  padding: var(--space-2) var(--space-4-5);
  border-radius: var(--radius-pill);
}
