/* Юридичні сторінки: /he|ru|en/(terms|privacy-policy|accessibility-statement)/ */
.legal {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 880px;
    margin: 72px auto 64px;
    padding: 0 4px;
    color: #fff;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.7;
}
.legal h1 { font-size: 34px; line-height: 1.25; font-weight: 700; margin: 0 0 8px; }
.legal h2 { font-size: 21px; line-height: 1.4; font-weight: 700; margin: 32px 0 10px; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-inline-start: 28px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal ul.plain { list-style: none; padding-inline-start: 0; }
.legal ul.dash { list-style-type: "-  "; }
.legal li { margin-bottom: 6px; }
.legal a { color: #9fd4ff; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: #fff; }
.legal .updated { opacity: .85; }

.legal-langs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 28px; font-size: 16px; }
.legal-langs a { color: #c9c9d6; }
.legal-langs [aria-current] { font-weight: 700; color: #fff; }

.legal-note {
    margin: 0 0 28px !important;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    font-size: 16px;
}

.takanon a[aria-current] { font-weight: 700; }

@media (max-width: 640px) {
    .legal { margin: 40px auto 48px; font-size: 17px; }
    .legal h1 { font-size: 27px; }
    .legal h2 { font-size: 19px; }
}
