@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');

* {
    font-family: 'Onest', Arial, sans-serif;
    box-sizing: border-box;
    color: #333333;
    caret-color: transparent;
}

body {
    margin: 0px 0px 0px 0px;
    background: #f6f7f8;
}

footer.container {
    background-color: white;
}

.user-agreement-container {
    background-color: #f6f7f8;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-left: clamp(1.25rem, 3vw, 2rem);
    padding-right: clamp(1.25rem, 3vw, 2rem);
}

.user-agreement-column {
    width: 100%;
    max-width: 63.6rem;
    margin-top: 7.2rem;
    padding: 0;
}

.user-agreement-container .user-agreement-and-columns {
    width: 100%;
    margin-top: 1rem;
}

.user-agreement-block {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 15px;
    padding: 2.5rem;

    margin-bottom: 5rem;
}

.user-agreement-block {
    font-size: 16px;
    line-height: 1.7;
}

/* Заголовок страницы */
.user-agreement-title {
    width: 75%;
    margin: 0 auto 1.45rem;
    color: #333333;
    text-align: center;
    font-size: 1.85rem;
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.035em;
}

/* Разделы */
.user-agreement-block h2 {
    font-size: 1.3rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Основной текст */
.user-agreement-block p {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 1.2rem;
}

/* Списки */
.user-agreement-block ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.user-agreement-block li {
    margin-bottom: 0.6rem;
    padding-left: 0.3rem;
}

/* Ссылки */
.user-agreement-block a {
    color: #2b6cb0;
    text-decoration: none;
    border-bottom: 1px solid rgba(43, 108, 176, 0.3);
}

.user-agreement-block a:hover {
    border-bottom-color: #2b6cb0;
}

/* Разделители (если захочешь) */
.user-agreement-block hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2.5rem 0;
}

.user-agreement-block .legal-item {
    padding-left: 1.5rem;
    text-indent: -1.5rem;
}

.user-agreement-block {
    max-width: 55rem;
    margin: 0 auto 5rem;
}

.user-agreement-block h2 + p {
    margin-top: 0.5rem;
}

.user-agreement-block ul li::marker {
    color: #9ca3af;
}

.user-agreement-block p.redaction {
    margin-top: 3rem;
    text-align: right;
}

/* ===== RESPONSIVE PASS ===== */
@media (max-width: 700px) {
    .user-agreement-column {
        margin-top: 6.3rem;
    }

    .user-agreement-title {
        width: 100%;
        font-size: 1.6rem;
        margin-bottom: 1.45rem;
    }

    .user-agreement-block {
        padding: 1.5rem 1.25rem;
        margin-bottom: 3rem;
    }

    .user-agreement-block p {
        text-align: left;
    }

    .user-agreement-block ul {
        margin-left: 0.5rem;
        padding-left: 1rem;
    }

    .user-agreement-block .legal-item {
        padding-left: 0;
        text-indent: 0;
    }
}


body.dark-theme .user-agreement-title {
    color: #f3f4f6;
}
