/* Pith's policy and legal pages. 14 Nov 2026.

   The page file for templates/legal/*.html and templates/journal_policy_page.html:
   /terms, /about/privacy, /extension/privacy, /reviewers/terms, /preprint/policy.
   Their words are held; this sheet is the little their frame adds to the reading
   layout's running text ("prose measure"): the note that opens the policy, its list
   of sections, and the one form on the privacy page. Colours, sizes and widths come
   from tokens.css. */

.legal {
  padding-block: var(--space-4) var(--space-8);
}

/* A note set apart by the inset rule, where the old page drew a tinted box. */
.legal__note {
  padding-inline-start: var(--space-4);
  border-inline-start: var(--rule-inset);
}

/* The sections of a long page: a word that names the list, then its links in a row
   that wraps. */
.legal__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
}

.legal__toc strong {
  flex-basis: 100%;
}

.legal__toc a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
}

/* A table keeps the page's measure and scrolls inside its own box when it is wider. */
.legal .table-scroll {
  margin-top: var(--space-4);
}

.legal__form {
  margin-top: var(--space-4);
}
