:root{color-scheme:light;--bg:#fcfaf6;--surface:#fff;--text:#2e2237;--muted:#6d6372;--border:#ddd6e1;--accent:#633688;--accent-soft:#eee5f4;--focus:#a76bd2;--shadow:0 8px 28px #34253b08}
:root[data-theme="dark"]{color-scheme:dark;--bg:#17111f;--surface:#231c2a;--text:#f5eef9;--muted:#c1b5c9;--border:#514457;--accent:#d4a8f1;--accent-soft:#392547;--focus:#e3beff;--shadow:none}
*{box-sizing:border-box}
html{scroll-padding-top:1.5rem}
body{margin:0;background:var(--bg);color:var(--text);font:1rem/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-wrap:anywhere}
a{color:var(--accent);text-underline-offset:.2em}
a:hover{text-decoration-thickness:2px}
button{font:inherit;color:var(--text);cursor:pointer}
a:focus-visible,button:focus-visible{outline:3px solid var(--focus);outline-offset:4px;border-radius:4px}
[hidden]{display:none!important}
.skip-link{position:absolute;left:1rem;top:-8rem;padding:.6rem 1rem;background:var(--surface);z-index:10}
.skip-link:focus{top:1rem}
.legal-header{max-width:1120px;margin:auto;padding:1.25rem 2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--border)}
.brand{font-size:1.45rem;font-weight:750;text-decoration:none;color:var(--text);white-space:nowrap}
.brand span{color:var(--accent);font-size:1.1rem}
.legal-header nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.75rem 1.5rem;font-size:.95rem}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid var(--border);border-radius:50%;background:var(--surface);flex-shrink:0}
.theme-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.legal-main{max-width:960px;margin:0 auto;padding:2.5rem 2rem 4rem;min-height:60vh}
.policy-intro{max-width:720px;margin-bottom:2rem}
.eyebrow{color:var(--accent);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem;margin-bottom:.5rem}
h1,h2,h3,h4,h5,h6{line-height:1.25;color:var(--text);overflow-wrap:anywhere}
h1{font-size:clamp(1.9rem,4vw,2.7rem);letter-spacing:-.035em;margin:.5rem 0 1.25rem}
.policy-intro>p:not(.eyebrow):not(.version){font-size:1.08rem;color:var(--muted)}
.version{font-size:.86rem;color:var(--muted)}
.policy-grid{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0;padding:0}
.policy-grid>li{padding:1.5rem;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}
.policy-grid h2{font-size:1.15rem;margin:0 0 .65rem;letter-spacing:-.015em}
.policy-grid h2 a{text-decoration:none}
.policy-grid h2 a:hover{text-decoration:underline}
.policy-grid p{color:var(--muted);margin:0 0 1.25rem;font-size:.95rem}
.version-link{font-size:.82rem}
.policy-tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.6rem 1rem;padding:0 0 1.25rem;border-bottom:1px solid var(--border);margin-bottom:2rem;font-size:.82rem}
.policy-tools p{margin:0}
.policy-tools>div{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1.1rem}
.policy-tools button{border:1px solid var(--border);background:var(--surface);border-radius:9px;padding:.45rem .8rem;font-size:.82rem}
.policy-body{max-width:76ch;margin:auto;font-size:1.025rem}
.policy-body h1{font-size:clamp(1.8rem,3.5vw,2.5rem);margin:0 0 1.2rem}
.policy-body h2{font-size:1.4rem;margin:2.25rem 0 .9rem;letter-spacing:-.02em}
.policy-body h3{font-size:1.14rem;margin:1.65rem 0 .75rem}
.policy-body h4,.policy-body h5,.policy-body h6{font-size:1.05rem;margin:1.4rem 0 .7rem}
.policy-body p{margin:.85rem 0 1.15rem}
.policy-body p:empty{display:none}
.policy-body li{padding-left:.25rem;margin:.5rem 0}
.policy-body ul,.policy-body ol{padding-left:1.65rem;margin:.85rem 0 1.3rem}
.policy-body li>ul,.policy-body li>ol{margin-top:.5rem;margin-bottom:.5rem}
.policy-body strong,.policy-body b{font-weight:700;color:var(--text)}
.policy-body a{overflow-wrap:anywhere}
.legal-footer{max-width:1120px;margin:auto;padding:1.5rem 2rem 2rem;border-top:1px solid var(--border);color:var(--muted);font-size:.87rem}
.legal-footer p{margin:.25rem 0}
.legal-footer>a{display:inline-block;margin-top:.65rem}
@media(max-width:640px){.legal-header{padding:1rem 1.25rem;align-items:flex-start;flex-wrap:wrap}.legal-header nav{width:100%;justify-content:flex-start;gap:.6rem 1.2rem}.legal-header .theme-toggle{margin-left:auto}.legal-main{padding:1.75rem 1.25rem 3rem}.policy-grid{grid-template-columns:1fr}.policy-grid>li{padding:1.25rem}.policy-body{font-size:1rem}.policy-body h2{font-size:1.3rem}.policy-tools{margin-bottom:1.5rem}.legal-footer{padding:1.5rem 1.25rem 2rem}}
@media print{:root,:root[data-theme="dark"]{color-scheme:light;--bg:#fff;--surface:#fff;--text:#111;--muted:#444;--accent:#111;--border:#ccc}.legal-header,.legal-footer,.policy-tools,.skip-link{display:none}.legal-main{max-width:none;padding:0}.policy-body{max-width:none;font-size:11pt;line-height:1.5}.policy-body h1{font-size:20pt}.policy-body h2{font-size:15pt;break-after:avoid}.policy-body h3{font-size:12pt;break-after:avoid}.policy-body a{color:#111;text-decoration:underline}.policy-body p,.policy-body li{orphans:3;widows:3}@page{margin:.7in}}
