/* Shared presentation for the public legal documents. */
body.page-text {
    background: #121117;
}

.bg-single-page {
    inset: 0;
    width: 100%;
    height: 100vh;
    min-height: 100svh;
    background-color: #121117;
    background-image:
        radial-gradient(ellipse 72% 72% at 50% 50%, rgba(17, 15, 22, 0.84) 5%, rgba(17, 15, 22, 0.18) 100%),
        radial-gradient(ellipse 76% 54% at 50% 50%, rgba(19, 16, 24, 0.08) 0%, rgba(17, 15, 22, 0.96) 100%),
        url("../../../../img/bg-about.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.other-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(132px, 10vw, 160px) 20px clamp(72px, 8vw, 112px);
}

.other-page > .title-center {
    width: min(1180px, 100%);
    margin: 0 auto clamp(30px, 4vw, 48px);
    padding: 0;
    color: #e2e5fc;
    font-family: Philosopher-Regular, serif;
    font-size: clamp(38px, 3.4vw, 52px);
    font-weight: 400;
    line-height: 1.08;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.other-page > .title-center img {
    display: block;
    width: min(190px, 45vw);
    height: auto;
    margin: 22px auto 0;
}

.legal-page {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(32px, 4.5vw, 58px) clamp(24px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid rgba(226, 229, 252, 0.22);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(140, 136, 146, 0.16), rgba(18, 17, 23, 0.58)),
        rgba(18, 17, 23, 0.52);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    color: #e2e5fc;
    font-family: AvenirNextCyr-Regular, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.legal-page .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow-wrap: anywhere;
}

.legal-page h2,
.legal-page h3 {
    margin: 42px 0 18px;
    color: #e2e5fc;
    font-family: Philosopher-Regular, serif;
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 400;
    line-height: 1.3;
}

.legal-page h2:first-child,
.legal-page h3:first-child {
    margin-top: 0;
}

.legal-page h2::after,
.legal-page h3::after {
    content: "";
    display: block;
    width: 72px;
    height: 1px;
    margin-top: 12px;
    background: linear-gradient(90deg, #e7ae35, rgba(231, 174, 53, 0));
}

.legal-page p {
    margin: 0 0 18px;
    color: rgba(226, 229, 252, 0.86);
    line-height: 1.75;
}

.legal-page ul,
.legal-page ol {
    margin: 0 0 24px;
    padding-left: 28px;
}

.legal-page li {
    margin-bottom: 10px;
    color: rgba(226, 229, 252, 0.86);
    line-height: 1.7;
}

.legal-page ul li {
    list-style: disc;
}

.legal-page ol li {
    list-style: decimal;
}

.legal-page li::marker {
    color: #e7ae35;
}

.legal-page a {
    color: #e7ae35;
    text-decoration: underline;
    text-decoration-color: rgba(231, 174, 53, 0.42);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.legal-page a:hover,
.legal-page a:focus-visible {
    color: #ffd47f;
    text-decoration-color: currentColor;
}

.legal-page .highlight,
.legal-page strong,
.legal-page b {
    color: #f4d58e;
    font-family: AvenirNextCyr-Medium, sans-serif;
    font-weight: 400;
}

@media (max-width: 900px) {
    .bg-single-page {
        background-position: 58% top;
    }

    .other-page {
        padding: 112px 15px 64px;
    }

    .other-page > .title-center {
        margin-bottom: 30px;
        font-size: clamp(34px, 7vw, 42px);
    }
}

@media (max-width: 600px) {
    .other-page {
        padding-top: 104px;
        padding-bottom: 48px;
    }

    .other-page > .title-center {
        margin-bottom: 24px;
        font-size: 34px;
    }

    .other-page > .title-center img {
        width: 150px;
        margin-top: 16px;
    }

    .legal-page {
        padding: 26px 18px 30px;
        border-radius: 22px;
        background: rgba(18, 17, 23, 0.76);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        font-size: 15px;
    }

    .legal-page h2,
    .legal-page h3 {
        margin-top: 32px;
        margin-bottom: 15px;
        font-size: 22px;
        line-height: 1.35;
    }

    .legal-page p {
        margin-bottom: 16px;
        line-height: 1.68;
    }

    .legal-page ul,
    .legal-page ol {
        margin-bottom: 20px;
        padding-left: 21px;
    }

    .legal-page li {
        margin-bottom: 8px;
        line-height: 1.65;
    }
}
