.sdk-privacy-btn,
.sdk-terms-btn {
    display: inline;
    font-weight: 600;
}

.iti {
    font-size: 15px;
    font-weight: 500;
}

form .iti .iti__selected-dial-code,
.iti--separate-dial-code .iti__selected-dial-code {
    padding-left: 0;
    margin-left: 0;
}

input[type="checkbox"] {
    height: auto;
    width: unset;
    min-width: unset;
}

.iti__selected-dial-code {
    color: #58468c;
}

.sdk-login-button {
    display: block;
    min-width: 100%;
    margin-top: 20px;
    padding-block: 16px;
    height: 48px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background: #ff61eb;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* Header logo + platform name (responsive) */
.header .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: none; /* override fixed max-width from base styles */
}

.header .logo img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 180px;
}

.header .logo__text {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
    color: #58468c;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .header .logo img {
        height: 36px;
        max-width: 240px;
    }
    .header .logo__text {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .header .logo {
        gap: 8px;
    }
    .header .logo__text {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .header .logo__text {
        display: none;
    }
}

/* Footer logo + platform name (responsive) */
.footer .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer .logo img {
    display: block;
    height: 30px;
    width: auto;
}

.footer .logo__text {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .footer .logo {
        justify-content: flex-start;
    }
    .footer .logo__text {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .footer .logo__text {
        display: none;
    }
}

/* Липкий header: родитель .wrapper имел overflow:hidden — sticky не работал относительно окна */
.wrapper {
    overflow: visible;
}

/*
 * Sticky «прилипает» только пока виден родительский бокс. .bg_grad на главной закрывался после hero,
 * поэтому шапка отлипала раньше конца .wrapper. display:contents убирает бокс обёртки — header и
 * остальной контент в одном потоке .wrapper, липкость на всю высоту обёртки.
 */
.bg_grad {
    display: contents;
}

/* Градиент раньше был на .bg_grad; переносим на первый блок после header (section или main). */
.bg_grad > section:first-of-type,
.bg_grad > main {
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(232, 241, 255, 0)), to(#e8f1ff));
    background: linear-gradient(180deg, rgba(232, 241, 255, 0) 0, #e8f1ff 100%);
}

/* Шапка + лента активности липнут к верху окна одним блоком */
.header-activity-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header {
    position: relative;
    z-index: 1;
    background-color: transparent;
    -webkit-transition: background-color 0.25s ease, box-shadow 0.25s ease, -webkit-backdrop-filter 0.25s ease;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.header.header--scrolled {
    background-color: rgba(248, 251, 255, 0.92);
    -webkit-backdrop-filter: blur(2.75px);
    backdrop-filter: blur(2.75px);
    box-shadow: 0 1px 0 rgba(88, 70, 140, 0.06);
}

