/* Pages of text: the privacy policy and the terms (layouts/page.pug). Loaded after base.css. */

.doc { max-width: 800px; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(64px, 8vw, 104px); }
.doc-title { margin: 0; font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
.doc-updated { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.doc-lead { margin: 24px 0 0; font-size: 19px; color: var(--muted); }

.doc h2 { margin: 56px 0 0; font-weight: 800; font-size: clamp(22px, 2.6vw, 26px); line-height: 1.25; letter-spacing: -0.015em; scroll-margin-top: 24px; }
.doc h3 { margin: 28px 0 0; font-weight: 700; font-size: 18px; line-height: 1.35; }
.doc p, .doc ul, .doc ol { margin: 12px 0 0; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li + li { margin-top: 6px; }
.doc li::marker { color: var(--accent-text); }
.doc address { margin: 12px 0 0; font-style: normal; }
.doc code { padding: 2px 6px; border-radius: 6px; background: var(--gray); font-size: 0.9em; }

/* "Kort fortalt" at the top */
.doc .summary { margin-top: 32px; padding: clamp(20px, 4vw, 28px) clamp(20px, 4vw, 32px); border-radius: 24px; background: var(--peach); }
.doc .summary h2 { margin-top: 0; font-size: 20px; }

/* Table of contents */
.doc .toc { margin-top: 40px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.doc .toc h2 { margin-top: 0; font-size: 20px; }
.doc .toc ol { columns: 2 16em; column-gap: 32px; }
.doc .toc li { break-inside: avoid; margin: 0 0 6px; }
.doc .toc a { display: inline-block; padding: 2px 0; }
