/* devUncle Labs — legal pages (privacy, terms). Uses hx- design tokens from home.css. */
.hx-legal{position:relative;isolation:isolate;overflow:hidden;padding:0 var(--hx-pad) 90px;background:linear-gradient(180deg,#0a1630 0%,#08142c 100%)}
.hx-legal-glow{position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(700px 360px at 80% 0%,rgba(61,140,255,.18),transparent 70%),radial-gradient(560px 360px at 0% 30%,rgba(140,103,246,.12),transparent 70%)}
.hx-legal-hero{padding:46px 0 40px;border-bottom:1px solid #1c2f52}
.hx-legal-back{display:inline-block;margin-bottom:22px;font-size:14px;color:#9fb3d6;text-decoration:none}
.hx-legal-back:hover{color:#fff}
.hx-legal-title{display:flex;align-items:center;gap:18px;margin:12px 0 12px}
.hx-legal-icon{flex:none;width:60px;height:60px;border-radius:17px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#2457f5,#3dc3f7);box-shadow:0 10px 26px rgba(36,87,245,.45)}
.hx-legal-icon svg{width:30px;height:30px}
.hx-legal-title h1{margin:0;font-size:clamp(34px,3.6vw,52px);line-height:1.15;font-weight:850;letter-spacing:-1.4px;color:#fff;word-break:keep-all}
.hx-legal-hero>p{margin:0 0 26px;max-width:640px;font-size:17px;line-height:1.65;color:#c4d2ea;word-break:keep-all}
.hx-legal-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.hx-legal-updated{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:20px;font-size:13px;color:#b9c9e6;background:rgba(16,34,66,.8);border:1px solid #2c4774}
.hx-legal-updated::before{content:"";width:8px;height:8px;border-radius:50%;background:#3ddc84;box-shadow:0 0 8px #3ddc84}
.hx-legal-tabs{display:inline-flex;padding:4px;border-radius:14px;background:#0b1730;border:1px solid #23395f}
.hx-legal-tabs a{padding:9px 18px;border-radius:10px;font-size:14px;font-weight:700;color:#9fb3d6;text-decoration:none;white-space:nowrap}
.hx-legal-tabs a:hover{color:#fff}
.hx-legal-tabs a.is-active{background:linear-gradient(100deg,#2457f5,#3a8dff);color:#fff;box-shadow:0 4px 14px rgba(36,87,245,.4)}
.hx-legal-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;padding-top:44px;align-items:start}
.hx-legal-toc{position:sticky;top:24px;padding:22px 18px;border-radius:18px;background:rgba(13,29,58,.85);border:1px solid #2c4774}
.hx-toc-title{font-size:12px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#6f9be8;margin:0 6px 12px}
.hx-legal-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.hx-legal-toc a{display:flex;gap:10px;align-items:baseline;padding:8px 10px;border-radius:10px;font-size:13.5px;line-height:1.4;color:#b9c9e6;text-decoration:none;word-break:keep-all;transition:background .15s,color .15s}
.hx-legal-toc a b{flex:none;font-size:11.5px;color:#5b7bb5}
.hx-legal-toc a:hover{background:#13284d;color:#fff}
.hx-legal-toc a.is-current{background:#16305c;color:#fff}
.hx-legal-toc a.is-current b{color:#4fc7ff}
.hx-legal-body{min-width:0}
.hx-lsec{scroll-margin-top:24px;padding:28px 32px;margin-bottom:14px;border-radius:18px;background:linear-gradient(170deg,#10223f,#0c1a33);border:1px solid #243d66}
.hx-lsec h2{display:flex;align-items:center;gap:14px;margin:0 0 14px;font-size:21px;line-height:1.35;font-weight:800;letter-spacing:-.4px;color:#fff;word-break:keep-all}
.hx-lsec h2 .n{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:13px;color:#fff;background:linear-gradient(145deg,#1e3f7a,#16305c);border:1px solid #33528a}
.hx-lsec p{margin:0 0 12px;font-size:15.5px;line-height:1.8;color:#cbd8ee;word-break:keep-all}
.hx-lsec p:last-child{margin-bottom:0}
.hx-lsec ul{list-style:none;margin:4px 0 14px;padding:0;display:grid;gap:8px}
.hx-lsec ul:last-child{margin-bottom:0}
.hx-lsec li{position:relative;padding:10px 14px 10px 38px;border-radius:11px;background:rgba(22,48,92,.45);font-size:15px;line-height:1.65;color:#dbe6fb;word-break:keep-all}
.hx-lsec li::before{content:"";position:absolute;left:15px;top:19px;width:8px;height:8px;border-radius:50%;background:linear-gradient(145deg,#3dc3f7,#2457f5)}
.hx-legal-contact{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:26px;padding:26px 30px;border-radius:18px;background:linear-gradient(100deg,#1b3d7a,#152a57 55%,#22205a);border:1px solid #3a5c97}
.hx-legal-contact strong{display:block;font-size:19px;color:#fff;margin-bottom:4px}
.hx-legal-contact p{margin:0;font-size:14px;color:#c4d2ea}
.hx-legal-contact .hx-btn{flex:none;min-width:0}
@media (max-width:1000px){.hx-legal-grid{grid-template-columns:1fr;gap:24px}.hx-legal-toc{position:static}.hx-legal-toc ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.hx-legal{padding:0 18px 60px}.hx-legal-hero{padding:30px 0 28px}.hx-legal-icon{width:48px;height:48px}.hx-legal-icon svg{width:24px;height:24px}.hx-legal-toc ol{grid-template-columns:1fr}.hx-lsec{padding:22px 18px}.hx-lsec h2{font-size:18px}.hx-legal-contact{flex-direction:column;align-items:flex-start;padding:22px}.hx-legal-contact .hx-btn{width:100%}}
/* Hero: two columns with "at a glance" card */
.hx-legal-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:48px;align-items:center}
.hx-legal-hero>p{max-width:560px}
.hx-legal-meta{justify-content:flex-start}
.hx-glance{position:relative;overflow:hidden;padding:22px 22px 20px;border-radius:22px;background:linear-gradient(160deg,rgba(24,52,99,.85),rgba(13,29,58,.9));border:1px solid #33528a;box-shadow:0 20px 50px rgba(0,0,0,.35);backdrop-filter:blur(6px)}
.hx-glance::before{content:"";position:absolute;inset:0 0 auto;height:3px;border-radius:22px 22px 0 0;background:linear-gradient(90deg,#2457f5,#3dc3f7,#a983ff)}
.hx-glance-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:16px}
.hx-glance-badge{font-size:13px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:#6fd0ff}
.hx-glance-head small{font-size:12.5px;color:#8fa6cc}
.hx-glance-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hx-glance-list li{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:14px;background:rgba(10,24,48,.65);border:1px solid #243d66}
.hx-glance-list .ic{flex:none;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#2457f5,#3dc3f7)}
.hx-glance-list li:nth-child(2) .ic{background:linear-gradient(145deg,#3dc3f7,#5b6cff)}
.hx-glance-list li:nth-child(3) .ic{background:linear-gradient(145deg,#7d8cff,#7a4cf0)}
.hx-glance-list li:nth-child(4) .ic{background:linear-gradient(145deg,#a983ff,#22b06a)}
.hx-glance-list svg{width:20px;height:20px}
.hx-glance-list strong{display:block;font-size:14.5px;color:#fff;margin-bottom:3px;word-break:keep-all}
.hx-glance-list small{display:block;font-size:12.5px;line-height:1.45;color:#a9bcdd;word-break:keep-all;overflow-wrap:anywhere}
@media (max-width:1000px){.hx-legal-hero{grid-template-columns:1fr;gap:28px}}
@media (max-width:600px){.hx-glance-list{grid-template-columns:1fr}}
