/* Public legal content; no effect on trading or payment controls. */
.footer.legal-footer { display:grid; grid-template-columns:1fr 1fr 1.15fr; align-items:start; gap:32px; padding-top:36px; padding-bottom:36px; }
.legal-footer > div, .legal-footer > nav { min-width:0; }
.footer.legal-footer > .legal-footer-brand, .footer.legal-footer > .legal-footer-operator { display:block; }
.legal-footer p { font-size:13px; line-height:1.7; margin:14px 0; }
.legal-footer-operator { font-size:13px; line-height:1.6; }
.legal-footer-operator strong { display:block; font-weight:600; }
.legal-footer-operator > a, .legal-footer-links > a, .legal-footer-links > button { display:block; width:fit-content; max-width:100%; font:inherit; font-size:13px; line-height:1.6; text-align:left; margin:0 0 10px; overflow-wrap:anywhere; color:inherit; }
.legal-footer a:not(.logo):hover,.legal-footer button:hover { text-decoration:underline; text-underline-offset:3px; }
.legal-page { margin:0; color:#183a2e; background:#e4eee7; font:16px/1.75 system-ui,-apple-system,"Segoe UI",sans-serif; }
.legal-document { box-sizing:border-box; max-width:900px; margin:40px auto; padding:40px; background:#f7faf7; border:1px solid #c2d6c8; border-radius:22px; }
.legal-page h1 { font-size:clamp(25px,4vw,38px); line-height:1.2; letter-spacing:-.025em; }
.legal-page p { overflow-wrap:anywhere; margin:22px 0; }
.legal-page a { color:#14664d; text-underline-offset:3px; }
.legal-version { font-size:13px; color:#53695d; }
.legal-home { font-weight:700; text-decoration:none; }
.legal-nav { display:flex; flex-wrap:wrap; gap:12px 20px; border-top:1px solid #c2d6c8; margin-top:32px; padding-top:24px; font-size:14px; }
@media(max-width:800px) { .footer.legal-footer {grid-template-columns:1fr 1fr;gap:24px} .legal-footer-brand {grid-column:1/-1} }
@media(max-width:520px) { .footer.legal-footer {grid-template-columns:1fr;gap:24px} .legal-footer-brand {grid-column:auto} .legal-document {margin:12px; padding:22px; border-radius:16px} }
