/* Static legal and PWA installation pages. No external fonts, trackers or libraries. */
:root{color-scheme:dark;--bg:#101723;--navy:#091426;--panel:#111d31;--border:#324258;--txt:#f0f5fc;--muted:#a2b4cd;--gold:#f4bd48;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--txt)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg)}a{color:var(--gold);text-underline-offset:3px}a:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.legal-header{max-width:1240px;margin:auto;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--border)}.legal-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}.legal-brand img{width:40px;height:40px;object-fit:contain}.legal-brand b{font-size:13px;letter-spacing:.07em}.legal-brand em{color:var(--gold);font-style:normal}.legal-brand small{display:block;color:#8ca0bb;font-size:10px;letter-spacing:.1em;margin-top:3px}.legal-header nav{display:flex;gap:16px;font-size:12px}.legal-header nav a{color:#d5e0f1}.legal-container{max-width:1240px;margin:auto;padding:36px 24px 70px}.legal-hero{margin:12px 0 24px}.eyebrow{color:var(--gold);font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:800}.legal-hero h1,.install-hero h1{font-size:clamp(30px,5vw,43px);line-height:1.13;margin:9px 0 14px;letter-spacing:-.04em}.legal-hero p{color:var(--muted);font-size:13px}.legal-summary{border:1px solid #ad8134;background:#47351d;color:#fff0ca;padding:18px 20px;border-radius:10px;line-height:1.65;margin:22px 0 29px}.legal-summary strong{display:block;letter-spacing:.09em;font-size:11px;color:#ffd882}.legal-layout{display:grid;grid-template-columns:246px minmax(0,1fr);gap:28px;align-items:start}.legal-toc{display:flex;flex-direction:column;gap:11px;position:sticky;top:22px;border:1px solid var(--border);border-radius:12px;background:#0e192a;padding:20px;max-height:calc(100vh - 44px);overflow-y:auto}.legal-toc strong{color:#fff;font-size:13px;margin-bottom:5px}.legal-toc a{color:#adc0d9;text-decoration:none;font-size:11px;line-height:1.45}.legal-toc a:hover{color:var(--gold)}.legal-article{background:var(--panel);border:1px solid var(--border);border-radius:13px;padding:28px 35px;min-width:0}.legal-article h2{font-size:19px;line-height:1.4;margin:32px 0 12px;scroll-margin-top:14px;color:#fff}.legal-article h2:first-of-type{margin-top:25px}.legal-article p{color:#d3deed;font-size:13px;line-height:1.82;margin:0 0 13px;overflow-wrap:anywhere}.legal-preamble{color:#ffe2a6;background:#352c21;border:1px solid #66522e;padding:15px;border-radius:9px;font-size:12px;line-height:1.7}.legal-footer{max-width:1240px;margin:auto;border-top:1px solid var(--border);padding:19px 24px 35px;display:flex;gap:20px;flex-wrap:wrap;align-items:center;color:#899eb9;font-size:11px}.legal-footer a{color:#bfd0e6}.install-hero{margin:12px auto 34px;max-width:680px;text-align:center}.install-icon{width:90px;height:90px;object-fit:contain;border-radius:20px;margin:22px auto 10px;box-shadow:0 15px 35px #0004}.install-hero p{color:var(--muted);line-height:1.75;font-size:14px}.install-buttons{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:25px 0 10px}.action-primary,.action-secondary{display:inline-flex;justify-content:center;align-items:center;min-height:45px;padding:12px 19px;border-radius:9px;font:inherit;font-weight:750;font-size:13px;text-decoration:none}.action-primary{border:1px solid var(--gold);background:var(--gold);color:#172236;cursor:pointer}.action-secondary{border:1px solid #52637b;background:#1b2c44;color:#fff}.install-status{min-height:36px;font-size:12px!important}.install-steps{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:30px}.install-card,.offline-notice{padding:24px;border:1px solid var(--border);background:var(--panel);border-radius:12px}.device-title{display:flex;align-items:center;gap:12px}.device-title h2,.offline-notice h2{font-size:20px;margin:0 0 10px}.step-num{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#473b24;color:var(--gold);font-weight:800}.install-card p,.offline-notice p{font-size:13px;line-height:1.78;color:#d3deed}.install-card .hint{color:#a9bfdc;font-size:12px}.offline-notice{margin-top:20px}.offline-notice a{font-weight:700;font-size:13px}@media(max-width:760px){.legal-header{align-items:flex-start}.legal-header nav{flex-wrap:wrap;justify-content:end;gap:10px}.legal-container{padding:24px 15px 45px}.legal-layout{display:block}.legal-toc{position:static;max-height:220px;margin-bottom:20px}.legal-article{padding:22px 17px}.install-steps{grid-template-columns:1fr}.legal-brand b{font-size:11px}.legal-brand img{width:32px;height:32px}.install-hero h1{font-size:32px}}