/* Club Room privacy policy and delete-your-login pages (task P237-#160, ready to publish, P237-#161).
   Loaded after the live /style.css. Everything is scoped to main.cr-doc and uses the site's own
   tokens (--ink, --mut, --line, --bg, --panel), so the light/dark switch just works.
   The sections reuse the site's .about-row grid (heading left, text right; one column on phones). */

.cr-doc .page { gap: clamp(28px, 4.5vh, 48px); }

/* head */
.cr-doc .doc-head { display: grid; gap: clamp(16px, 2.6vh, 24px); padding-bottom: clamp(28px, 4vh, 44px); }
.cr-doc .doc-kicker { margin: 0; font-weight: 700; color: var(--mut); }
.cr-doc .doc-kicker a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cr-doc .doc-kicker a:hover { border-bottom-color: currentColor; }
.cr-doc .page-title { max-width: 18ch; text-wrap: balance; }
.cr-doc .doc-lede { margin: 0; max-width: 46ch; font: 700 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.4 Lato, sans-serif; letter-spacing: -.01em; color: var(--mut); }
.cr-doc .doc-date { margin: 0; font-size: .95rem; color: var(--mut); }

/* contents */
.cr-doc .doc-toc { border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 28px); }
.cr-doc .doc-toc h2 { margin: 0 0 12px; font: 900 1.05rem/1.2 Lato, sans-serif; }
.cr-doc .doc-toc ol { margin: 0; padding: 0; list-style: none; columns: 2 260px; column-gap: 40px; }
.cr-doc .doc-toc li { break-inside: avoid; }
.cr-doc .doc-toc a { display: inline-block; padding: 7px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.cr-doc .doc-toc a:hover { border-bottom-color: currentColor; }

/* sections */
.cr-doc .doc-sec { scroll-margin-top: 24px; }
.cr-doc .doc-h2 { margin: 0; font: 900 clamp(1.35rem, 1.1rem + .7vw, 1.75rem)/1.15 Lato, sans-serif; letter-spacing: -.015em; text-wrap: balance; }
.cr-doc .doc-body { display: grid; gap: 14px; max-width: 64ch; min-width: 0; }
.cr-doc .doc-body > * { margin: 0; }
.cr-doc .doc-body h3 { margin-top: 12px; font: 900 1.12rem/1.3 Lato, sans-serif; letter-spacing: -.005em; }
.cr-doc .doc-body > h3:first-child { margin-top: 0; }
.cr-doc .doc-body p, .cr-doc .doc-body li { color: var(--tx, var(--ink)); }
.cr-doc .doc-body .doc-intro { color: var(--mut); }
.cr-doc .doc-body strong { color: var(--ink); }
.cr-doc .doc-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }

.cr-doc .doc-body ul { padding: 0; list-style: none; display: grid; gap: 10px; }
.cr-doc .doc-body ul li { position: relative; padding-left: 22px; }
.cr-doc .doc-body ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 8px; height: 8px; border: 1.5px solid currentColor; }

.cr-doc .doc-body ol { padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; }
.cr-doc .doc-body ol li { counter-increment: step; position: relative; padding-left: 44px; min-height: 30px; }
.cr-doc .doc-body ol li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); font: 900 .95rem/1 Lato, sans-serif; color: var(--ink); }

/* a caution note */
.cr-doc .doc-note { border-left: 3px solid var(--ink); background: var(--panel, transparent); padding: 16px 20px; display: grid; gap: 6px; }
.cr-doc .doc-note p { margin: 0; }

/* a placeholder still to be filled in before publishing */

/* the closing panel reuses the site's .cta */
.cr-doc .cta-text a { overflow-wrap: anywhere; }
