/* Legal page prose. Tokens, header, and footer live in site.css. */
body { line-height: 1.65; }
.doc a { color: var(--accent); text-underline-offset: 3px; }

.doc { padding-block: clamp(32px, 6vw, 72px) clamp(48px, 8vw, 96px); }
.doc article { max-width: 720px; }
.doc h1 { font-size: clamp(34px, 5.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 12px; text-wrap: balance; }
.doc .meta { color: var(--text-2); font-size: 15px; margin: 0 0 32px; }
.doc .summary { background: var(--accent-subtle); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 20px 24px; margin: 0 0 40px; }
.doc .summary p { margin: 0; }
.doc .summary p + p { margin-top: 10px; }
.doc h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; margin: 44px 0 12px; padding-top: 28px; border-top: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 16px); }
.doc h2:first-of-type { border-top: 0; padding-top: 0; }
.doc h3 { font-size: 18px; letter-spacing: -0.01em; font-weight: 600; margin: 28px 0 8px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--text-2); }
.doc strong { font-weight: 600; }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--subtle); padding: 1px 6px; border-radius: 6px; }

.toc { margin: 0 0 40px; padding: 0; list-style: none; columns: 2 240px; column-gap: 32px; font-size: 15px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--text); text-decoration: underline; }

.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--border); border-radius: 12px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--border-subtle); }
.doc th { background: var(--subtle); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }

@media print { header.top nav, footer .links, .toc { display: none; } body { background: #fff; color: #000; } }
