/* The privacy policy and the terms.
 *
 * These pages carry the full site header and footer, like every other public
 * page, so everything here is scoped to .legal-doc. The bare h2, p and ul rules
 * this grew out of lived in page.css, where they were safe because that page had
 * no site chrome around them; loose in a page with a header and a footer they
 * put bullets and margins through both.
 *
 * page.css still styles the 404 page, which keeps its own small header. */

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 6vw, 40px) 90px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.legal-doc .eyebrow {
  font: 9px var(--mono);
  letter-spacing: .1em;
  color: var(--red);
  margin: 0 0 18px;
  display: block;
}

.legal-doc h1 {
  font: 500 clamp(42px, 6.4vw, 72px)/.94 var(--display);
  letter-spacing: -.06em;
  margin: 0 0 14px;
}

.legal-doc h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.08em;
  color: var(--red);
}

.legal-doc .updated {
  font: 9px var(--mono);
  letter-spacing: .07em;
  color: var(--muted);
  margin: 0 0 44px;
}

.legal-doc h2 {
  font: 500 22px var(--display);
  letter-spacing: -.04em;
  margin: 48px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* The number is part of the heading, not a list marker, so it is set in the
   mono face to separate it from the words without a second line of type. */
.legal-doc h2 i {
  font: 500 13px var(--mono);
  font-style: normal;
  letter-spacing: .04em;
  color: var(--red);
  margin-right: 10px;
  vertical-align: 2px;
}

.legal-doc h3 { font: 600 13px var(--body); margin: 26px 0 8px; }
.legal-doc p { margin: 0 0 16px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 20px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc strong { font-weight: 700; }
.legal-doc a { border-bottom: 1px solid var(--line); }
.legal-doc a:hover { color: var(--red); border-color: var(--red); }

.legal-doc .lead { font-size: 17px; line-height: 1.7; }

.legal-doc .callout {
  border-left: 2px solid var(--red);
  padding: 4px 0 4px 18px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

/* Who to write to, at the end of both documents. */
.legal-doc .legal-contact {
  margin: 0;
  font-style: normal;
  line-height: 1.9;
}

.legal-doc .legal-contact b { font: 500 16px var(--display); letter-spacing: -.02em; }
.legal-doc .legal-contact span { display: block; color: var(--muted); font-size: 14px; }

/* --- Dark theme --------------------------------------------------------------
   theme.css sets --paper and the page colours; these are the ones only the
   long-form pages use. */

.dark .legal-doc {
  --ink: #f4f3f1;
  --line: #303031;
  --muted: #a5a5a2;
  color: #f4f3f1;
}
