/* Privacy. The policy set as a document on a white ground. The section list stays put on the left, and each
   section opens under a hairline with its number in mono, the way a statement does on the data page. */

.p-doc { row-gap: clamp(40px, 5vw, 72px); }
.p-head { --gap: 16px; }

.p-prose { counter-reset: p-sec; }
.p-prose > p:first-child { color: var(--ink); }
.p-prose h2 { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--rule); counter-increment: p-sec; scroll-margin-top: 96px; }
.p-prose h2::before { content: counter(p-sec, decimal-leading-zero); content: counter(p-sec, decimal-leading-zero) / ''; display: block; margin-bottom: 10px; font: 500 12px/1.3 var(--mono); letter-spacing: 0; color: var(--label); }

/* Wide: the title sits over the reading column and the list runs down the left beside both. */
@media (min-width: 900px) {
  .p-doc > .p-head, .p-doc > .p-prose { grid-column: 2; }
  .p-doc > .k-index { grid-column: 1; grid-row: 1 / span 2; }
}

/* Narrow: the list sits between the title and the policy, and each of its rows is tall enough for a thumb. */
@media (max-width: 899px) {
  .p-doc .k-toc a { align-items: center; min-height: 44px; font-size: 13px; }
}
/* A tablet has room for the list in two columns of five. */
@media (min-width: 600px) and (max-width: 899px) {
  .p-doc .k-toc { grid-template-rows: repeat(5, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: clamp(24px, 4vw, 48px); }
}
