/* Legal documents: the same document layout as the feature and technology pages. */
[data-legal-body] p { color: var(--ink-2); }
[data-legal-body] > * + * { margin-block-start: var(--sp-4); }
[data-legal-body] ul { list-style: disc; padding-inline-start: var(--sp-5); display: grid; gap: var(--sp-2); }
/* Legal documents read as documents: each section heading at document size, with clear space
   above it (a new section) and a little below (it belongs to the text under it). Not the site's
   large section-title size, which crowded the text on these pages after the spacing cut. */
[data-legal-body] > h2,
.section [data-legal-body] > h2 { font-size: var(--fs-h3, 1.25rem); font-weight: 600; letter-spacing: normal; line-height: var(--lh-snug); margin-block: var(--sp-7) var(--sp-3); scroll-margin-top: var(--scroll-offset); }
[data-legal-body] > h2 + * { margin-block-start: 0; }
[data-legal-body] > h1 + p { margin-block-start: var(--sp-3); }
/* The title and date span the page, like every other page's header; the contents column starts beside the first section. */
[data-legal-body].doc-grid > h1, [data-legal-body].doc-grid > h1 + p { grid-column: 1 / -1; }
[data-legal-body].doc-grid > .doc-toc { grid-row: 3 / span 999; margin-block-start: var(--sp-4); }
