/* Юридический блок: уведомление о cookie, реквизиты, согласие в формах, страницы документов */

/* ---------- Уведомление о cookie ---------- */
.ck { position: fixed; z-index: 99990; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); padding: 18px 20px 16px; border-radius: 16px;
	background: #12163A; color: #E8ECFF; box-shadow: 0 24px 60px -16px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); font: 400 14px/1.5 'Golos Text', 'Exo 2', system-ui, sans-serif; }
.ck[hidden] { display: none; }
.ck__t { margin: 0 0 6px; font: 700 16px/1.2 'Unbounded', 'Russo One', system-ui, sans-serif; }
.ck__s { margin: 0; color: #C3C9EE; }
.ck__s a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.ck__b { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ck__btn { flex: 1 1 auto; min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; font: 600 14px 'Golos Text', 'Exo 2', system-ui, sans-serif; cursor: pointer; }
.ck__btn:hover { border-color: #fff; }
.ck__btn--ok { background: #FFE25A; border-color: #FFE25A; color: #15183A; }
.ck__btn--ok:hover { background: #FFD92E; }
body.mission .ck { background: #08131c; box-shadow: 0 24px 60px -16px #000, 0 0 0 1px #1f7587, 0 0 30px -8px rgba(63,224,255,.4); }
body.mission .ck__btn--ok { background: linear-gradient(180deg, #ff8f3d, #ff6a00); border-color: #ffb36b; color: #1a0b00; }
@media (max-width: 760px) { .ck { left: 10px; right: 10px; bottom: 74px; width: auto; } }

/* ---------- Реквизиты и документы в подвале ---------- */
.legal-foot { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); display: grid; gap: 14px; font-size: 13px; color: #A9ACC8; }
.legal-foot p { margin: 0; }
.legal-foot a { color: #D5D7EC; }
.legal-foot__owner { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 4px !important; }
.legal-foot__docs { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal-foot__docs a, .legal-foot__docs .linklike { color: #D5D7EC; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; font-size: 13px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.legal-foot__docs a:hover, .legal-foot__docs .linklike:hover { color: #fff; text-decoration-color: #fff; }
.legal-foot__note { color: #8A8FB8; font-size: 12px; }

/* ---------- Согласие в форме ---------- */
.tp-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; font-size: 13px; line-height: 1.45; cursor: pointer; color: inherit; }
.tp-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #FF7A1A; cursor: pointer; }
.tp-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tp-consent.is-err { color: #D9443A; animation: tpShake .35s; }
.sky .tp-consent, .quick .tp-consent, .ctrl .tp-consent { color: #C3CDF0; }
.sky .tp-consent.is-err, .quick .tp-consent.is-err, .ctrl .tp-consent.is-err { color: #ff8a7a; }
@keyframes tpShake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .tp-consent.is-err { animation: none; } }

/* ---------- Страницы документов ---------- */
.lg-hero { padding: clamp(96px, 9vw, 128px) 0 28px; background: #12163A; color: #fff; }
.lg-hero .crumbs, .lg-hero .crumbs a { color: #A9ACC8; }
.lg-hero__h { margin: 14px 0 0; font: 800 clamp(24px, 3.4vw, 40px)/1.15 'Unbounded', 'Russo One', system-ui, sans-serif; text-wrap: balance; max-width: 22em; }
.lg-hero__op { margin: 12px 0 0; color: #A9ACC8; font-size: 14px; }
.lg-flow { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding-top: 36px; padding-bottom: 60px; align-items: start; }
.lg-side { position: sticky; top: 96px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid #E1E4F0; }
.lg-side__t { margin: 0 0 10px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #6A6F94; }
.lg-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lg-side a, .lg-side .linklike { display: block; padding: 8px 10px; border-radius: 8px; color: #15183A; text-decoration: none; font-size: 14px; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; width: 100%; }
.lg-side a:hover, .lg-side .linklike:hover { background: #EEF0FA; }
.lg-side a.is-cur { background: #E4E8FF; font-weight: 600; }
.lg-body { max-width: 820px; }
.lg-body .legal-date { color: #6A6F94; font-size: 14px; margin-top: 0; }
.lg-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0; }
.lg-body th, .lg-body td { padding: 10px 12px; border: 1px solid #DCE0F0; text-align: left; vertical-align: top; }
.lg-body th { background: #F0F2FA; }
.lg-body code { padding: 1px 5px; border-radius: 4px; background: #EEF0FA; font-size: .9em; }
@media (max-width: 900px) { .lg-flow { grid-template-columns: 1fr; gap: 20px; } .lg-side { position: static; } .lg-body table { display: block; overflow-x: auto; } }
body.mission .lg-hero { background: #07121a; box-shadow: inset 0 -1px 0 #1b6573; }
body.mission .lg-hero__h { font-family: 'Russo One', system-ui, sans-serif; font-weight: 400; text-transform: uppercase; color: #3fe0ff; text-shadow: 0 0 16px rgba(63,224,255,.45); }
