/* The three legal pages (privacy.html, terms.html, dpa.html), built by docs/legal/build_website.py. One reading column in the site's own type. */
.legal-doc { max-width: 76ch; }
.legal-doc > p:first-child { font-size: 1.05em; }
.legal-doc .legal__part { margin-top: 56px; }
.legal-doc h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; margin: 0 0 12px; }
.legal-doc h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; margin: 28px 0 0; }
.legal-doc p, .legal-doc ul, .legal-doc ol, .legal-doc table { margin-top: 14px; }
.legal-doc ul, .legal-doc ol { padding-left: 1.2em; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc a { text-decoration: underline; text-underline-offset: 3px; }
.legal-doc hr { border: 0; border-top: 1px solid color-mix(in srgb, var(--p-muted) 40%, transparent); margin: 48px 0 0; }
.legal-doc table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 0.9em; max-width: 100%; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 8px 14px 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--p-muted) 35%, transparent); min-width: 9em; }
.legal-doc th { font-weight: 600; }
.legal-draft { margin-top: 20px; max-width: 60ch; padding: 12px 16px; background: #fff4d6; color: #4a3600; border-left: 4px solid #b98900; }
.legal-version { margin-top: 12px; color: var(--p-muted); font-size: 0.9em; }
.placeholder { background: #fff4d6; color: #4a3600; padding: 0 0.3em; font-weight: 500; }
.recommended { text-decoration: underline dotted #b98900; text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* A layered notice (D2527): numbered sections are folded; the summary line is the section's heading with a plus that turns to a minus. */
.legal-doc details.legal-fold { margin-top: 0; border-top: 1px solid color-mix(in srgb, var(--p-muted) 35%, transparent); }
.legal-doc details.legal-fold:first-of-type { margin-top: 40px; }
.legal-doc details.legal-fold:last-of-type { border-bottom: 1px solid color-mix(in srgb, var(--p-muted) 35%, transparent); }
.legal-doc details.legal-fold > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.legal-doc details.legal-fold > summary::-webkit-details-marker { display: none; }
.legal-doc details.legal-fold > summary h2 { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.legal-doc details.legal-fold > summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--p-muted); }
.legal-doc details.legal-fold[open] > summary::after { content: "\2212"; }
.legal-doc details.legal-fold > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.legal-doc details.legal-fold[open] { padding-bottom: 28px; }
.legal-doc details.legal-fold > :nth-child(2) { margin-top: 0; }
@media print { .legal-doc details.legal-fold::details-content { content-visibility: visible; } .legal-doc details.legal-fold > summary::after { content: none; } }
