*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:15px/1.75 Onest,Arial,sans-serif;color:#171827;background:#fafbff}.legal-shell{width:min(1100px,calc(100% - 44px));margin:auto}.legal-header{background:#fff;border-bottom:1px solid #e8e9f1}.legal-header .legal-shell{min-height:76px;display:flex;align-items:center;justify-content:space-between}.legal-logo{font:500 22px Unbounded,sans-serif;letter-spacing:-.07em}a{color:inherit;text-decoration:none}.legal-header a:last-child,.back{color:#574bdd;font-weight:500}.legal-page{padding:64px 0 110px}.back{display:inline-block;margin-bottom:34px}.status{display:block;color:#746ba7;font:500 11px JetBrains Mono,monospace;letter-spacing:.035em;margin-bottom:18px}.legal-page h1{font:500 clamp(32px,5vw,54px)/1.18 Unbounded,sans-serif;letter-spacing:-.055em;max-width:1000px;margin:0 0 18px;overflow-wrap:normal}.legal-subtitle{font-size:17px;color:#555a6b}.legal-note{background:#f0edff;border-left:3px solid #6a5cff;padding:18px 20px;border-radius:4px;max-width:900px}.toc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:46px 0 60px;max-width:950px}.toc a{border:1px solid #e0e2ec;border-radius:8px;background:#fff;padding:11px 15px;font-size:13px}.toc a:hover{border-color:#6a5cff}.legal-article{max-width:860px}.legal-article section{border-top:1px solid #dfe2ea;padding:30px 0}.legal-article h2{font:500 clamp(22px,2.6vw,29px)/1.35 'JetBrains Mono',monospace;letter-spacing:-.045em;margin:0 0 20px;overflow-wrap:normal;word-break:normal}.legal-article p{margin:0 0 14px;color:#404353}.legal-footer{background:#0b0c1e;color:#cfd0dd}.legal-footer .legal-shell{display:flex;justify-content:space-between;gap:20px;padding:33px 0}.doc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:45px 0 15px}.doc-link{display:flex;flex-direction:column;justify-content:space-between;gap:42px;padding:27px;border-radius:12px;background:#fff;border:1px solid #e4e6ef;min-height:235px}.doc-link h2{font:500 20px/1.4 'JetBrains Mono',monospace;margin:0}.doc-link p{font-size:13px;color:#65697a;margin:12px 0 0}.doc-link span{align-self:flex-end;color:#5b4df0}.doc-link:hover{border-color:#a49af5}@media(max-width:700px){.legal-shell{width:min(100% - 32px,1100px)}.legal-page{padding:40px 0 70px}.toc,.doc-grid{grid-template-columns:1fr}.legal-page h1{font-size:clamp(27px,7vw,38px)}.legal-footer .legal-shell{flex-direction:column}.doc-link{min-height:170px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Shared visual language with main website */
.legal-logo{display:inline-flex;align-items:center;color:#111224}
.legal-lockup{font:500 23px/1 Unbounded,Arial,sans-serif;letter-spacing:-.075em;display:inline-flex;align-items:center;white-space:nowrap}
.legal-mark{width:.95em;height:.95em;vertical-align:middle;object-fit:contain}
.legal-header .legal-logo{color:#111224}
.legal-footer .legal-shell{display:block;padding:42px 0}
.legal-footer-grid{display:grid;grid-template-columns:1.4fr .8fr 1fr;gap:35px}
.legal-footer .legal-logo{color:#fff}
.legal-footer p{font-size:13px;color:#a6a8c0;max-width:330px}
.legal-footer-links,.legal-footer-meta{display:flex;flex-direction:column;gap:13px;font-size:13px}
.legal-footer-links a:hover{color:#fff;text-decoration:underline}
.legal-footer-meta{color:#a6a8c0;line-height:1.55}
@media(max-width:720px){.legal-footer-grid{grid-template-columns:1fr;gap:24px}.legal-page{padding-bottom:80px}}

/* Shared DeepNeon logotype metrics (QA-04). */
.legal-lockup{font-weight:300;letter-spacing:-.045em}

/* Shared wordmark dimensions: identical to homepage and cabinet. */
.legal-header .legal-lockup{font-family:Unbounded,Arial,sans-serif;font-weight:300;font-size:23px;line-height:1;letter-spacing:-.045em}
.legal-footer .legal-lockup{font-family:Unbounded,Arial,sans-serif;font-weight:300;font-size:21px;line-height:1;letter-spacing:-.045em}
.legal-lockup .legal-mark{width:.93em;height:.93em;margin:0 .025em;flex:none}
@media(max-width:760px){
 .legal-header .legal-lockup{font-size:19px}
 .legal-footer .legal-lockup{font-size:18px}
}

/* Match the homepage/cabinet header's horizontal and vertical logo position. */
.legal-header .legal-shell{width:100%;max-width:1232px;min-height:78px;height:78px;padding-left:28px;padding-right:28px;margin:0 auto;display:flex;align-items:center}
.legal-header .legal-logo{align-self:center;margin:0;padding:0}
@media(max-width:760px){.legal-header .legal-shell{height:68px;min-height:68px;padding-left:20px;padding-right:20px}}

/* Align legal wordmark with homepage and cabinet on both axes. */
.legal-header{box-sizing:border-box;height:78px}
.legal-header .legal-shell{box-sizing:border-box;width:100%;max-width:1232px;height:100%;min-height:0;padding:0 28px;display:flex;align-items:center;margin:0 auto}
.legal-header .legal-logo{align-self:center;margin:0;padding:0}
@media(max-width:760px){.legal-header{height:68px}.legal-header .legal-shell{height:100%;min-height:0;padding:0 20px}}

/* Consistent link and button system: text-only actions, no decorative arrows. */
.legal-header a:last-child,.legal-page .back{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid #d6d2ff;border-radius:6px;background:#fff;color:#3a2dc8;font:600 13px/1.35 Onest,Arial,sans-serif;transition:background .15s,border-color .15s}
.legal-header a:last-child:hover,.legal-page .back:hover{background:#f2f1ff;border-color:#6a5cff}
.legal-header a:last-child:focus-visible,.legal-page .back:focus-visible,.doc-link:focus-visible{outline:2px solid #5b4df0;outline-offset:3px}
.doc-link span{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 16px;border-radius:6px;background:#f2f1ff;color:#3a2dc8;font:600 13px/1.35 Onest,Arial,sans-serif}
.doc-link:hover span{background:#e9e5ff}
@media(max-width:375px){.legal-header a:last-child{font-size:12px;padding:8px 10px}}

.legal-footer .company-requisites{border-top:1px solid #343444;padding:18px 16px 0;margin:22px auto 0;max-width:1100px;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;text-align:center;font-size:11px;line-height:1.6;color:#9b9ba9}

/* Keep legal-page company information close to the document links. */
.legal-page{padding-bottom:48px}
.legal-footer .legal-shell{padding:26px 0 18px}
.legal-footer .company-requisites{margin:10px auto 0;padding:13px 18px;max-width:1232px;justify-content:flex-start;text-align:left;gap:6px 20px}
.legal-footer-email{display:inline-block;align-self:flex-start;user-select:text;-webkit-user-select:text}
@media(max-width:700px){.legal-page{padding-bottom:36px}.legal-footer .company-requisites{padding:13px 20px;text-align:left}}

/* Consistent public-site contact CTA on legal pages; the form remains on the home page. */
.legal-contact{background:#05050a;color:#fff;padding:72px 0;border-top:1px solid #29283c}
.legal-contact .legal-shell{max-width:1232px;margin:0 auto;padding:0 28px}
.legal-contact .eyebrow{font:500 11px/1.5 'JetBrains Mono',monospace;letter-spacing:.06em;color:#b9b6ce;margin-bottom:24px}
.legal-contact h2{font:500 clamp(30px,4vw,56px)/1.16 Unbounded,sans-serif;letter-spacing:-.045em;max-width:900px;margin:0 0 18px;color:#fff}
.legal-contact p{font:400 15px/1.65 Onest,Arial,sans-serif;color:#bfc0cf;max-width:580px;margin:0 0 25px}
.legal-contact a{display:inline-block;background:#6556f6;color:#fff;padding:14px 22px;border-radius:4px;font:600 14px/1.5 Onest,Arial,sans-serif;text-decoration:none}
.legal-contact a:hover{background:#5244db}
.legal-contact a:focus-visible{outline:3px solid #b8aeff;outline-offset:3px}
@media(max-width:700px){.legal-contact{padding:52px 0}.legal-contact .legal-shell{padding:0 20px}.legal-contact h2{font-size:clamp(27px,8vw,39px)}}
