




@font-face {
    font-family: 'ML Nunito';
    src: url('../fonts/nunito.woff') format('woff');
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}

.ml {
    
    --ml-bg: #070707;
    --ml-panel: #101010;
    --ml-panel-2: #161616;
    --ml-elev: #1d1d1c;
    --ml-line: rgba(251, 247, 244, 0.08);
    --ml-line-2: rgba(251, 247, 244, 0.16);
    --ml-ink: #fbf7f4;
    --ml-ink-2: #c9c6c2;
    --ml-ink-3: #8e8b87;
    --ml-lime: #e1fe52;
    --ml-lime-2: #e6fd70;
    --ml-lime-ink: #0a0a0a;
    --ml-red: #f87171;
    
    --ml-wb: #8b3ecd;
    --ml-ozon: #1f6fe5;
    --ml-ym: #ffc21a;

    --ml-font: 'ML Nunito', 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --ml-radius: 18px;          
    --ml-radius-l: 28px;        
    --ml-container: 1200px;
    --ml-gutter: 24px;          
    --ml-header-height: 68px;

    font-family: var(--ml-font);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--ml-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

.ml,
.ml *,
.ml *::before,
.ml *::after {
    box-sizing: border-box;
}

body.ml {
    margin: 0;
    background: var(--ml-bg);
}


html:has(body.ml) {
    scroll-padding-top: 84px;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.ml) {
        scroll-behavior: auto;
    }
}


.ml-skip {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ml-lime);
    color: var(--ml-lime-ink);
    font-weight: 800;
    text-decoration: none;
}

.ml-skip:focus {
    top: 12px;
}



.ml-container {
    width: min(var(--ml-container), 100% - 2 * var(--ml-gutter));
    margin-left: auto;
    margin-right: auto;
}

.ml-section {
    padding: 80px 0;
}

.ml-section--tight {
    padding: 56px 0;
}


.ml-section__head {
    max-width: 880px;
    margin: 0 0 48px;
}

.ml-section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ml-panel {
    border: 1px solid var(--ml-line);
    border-radius: var(--ml-radius);
    background: var(--ml-panel);
}




.ml-eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ml-lime);
}


.ml-h2 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.ml-h2 em,
.ml-h3 em {
    font-style: normal;
    color: var(--ml-lime);
}

.ml-h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.22;
}

.ml-lead {
    margin: 20px 0 0;
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.5;
    color: var(--ml-ink-2);
    text-wrap: pretty;
}

.ml-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ml-ink-2);
}

.ml-note {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ml-ink-3);
}

.ml-link {
    color: var(--ml-ink);
    text-decoration: underline;
    text-decoration-color: var(--ml-line-2);
    text-underline-offset: 4px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.ml-link:hover {
    color: var(--ml-lime);
    text-decoration-color: currentColor;
}



.ml-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    margin: 0;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    color: var(--ml-ink);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}


.ml-btn--primary {
    background: var(--ml-lime);
    color: var(--ml-lime-ink);
}

.ml-btn--primary:hover {
    background: #f0ff9a;
}

.ml-btn--ghost {
    border-color: var(--ml-line-2);
}

.ml-btn--ghost:hover {
    border-color: var(--ml-ink);
    background: rgba(251, 247, 244, 0.06);
}

.ml-btn--s {
    min-height: 42px;
    padding: 0 20px;
    font-size: 15px;
}

.ml-btn--wide {
    width: 100%;
}

.ml-btn[disabled] {
    opacity: 0.55;
    cursor: default;
}

.ml-btn:focus-visible,
.ml-link:focus-visible,
.ml-header__link:focus-visible,
.ml-footer__link:focus-visible {
    outline: 2px solid var(--ml-lime);
    outline-offset: 3px;
}


.ml-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 4px 14px;
    border: 1px solid var(--ml-line-2);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ml-ink-2);
}


.ml-icon {
    flex: none;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ml-icon--s {
    width: 18px;
    height: 18px;
}


.ml-icon--back {
    width: 18px;
    height: 18px;
    transform: rotate(180deg);
}


.ml-mp {
    flex: none;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 7px;
}



.ml-header {
    position: sticky;
    top: 0;
    z-index: 990;
    border-bottom: 1px solid var(--ml-line);
    background: var(--ml-bg);
}

.ml-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: var(--ml-header-height);
}

.ml-header__logo {
    flex: none;
    display: block;
    line-height: 0;
}

.ml-header__logo img {
    display: block;
    width: 148px;
    height: auto;
}

.ml-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto 0 0;
}

.ml-header__link {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    color: var(--ml-ink-2);
    transition: color 0.15s ease;
}

.ml-header__link:hover {
    color: var(--ml-ink);
}

.ml-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}


.ml-header__link--mobile {
    display: none;
}

.ml-header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ml-line-2);
    border-radius: 12px;
    background: none;
    color: var(--ml-ink);
    cursor: pointer;
}

.ml-header__burger .ml-icon--close,
.ml-header.is-open .ml-header__burger .ml-icon--menu {
    display: none;
}

.ml-header.is-open .ml-header__burger .ml-icon--close {
    display: block;
}



.ml-footer {
    border-top: 1px solid var(--ml-line);
    background: var(--ml-bg);
}

.ml-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 64px 0 48px;
}

.ml-footer__logo {
    display: block;
    width: 148px;
    height: auto;
    margin: 0 0 18px;
}

.ml-footer__about {
    max-width: 320px;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ml-ink-3);
}

.ml-footer__title {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ml-ink-3);
}

.ml-footer__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ml-footer__item {
    margin: 0;
    padding: 0;
}

.ml-footer__link {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    color: var(--ml-ink-2);
    transition: color 0.15s ease;
}

.ml-footer__link:hover {
    color: var(--ml-lime);
}

.ml-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 32px;
    padding: 24px 0 40px;
    border-top: 1px solid var(--ml-line);
}

.ml-footer__legal {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ml-ink-3);
}

.ml-footer__docs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.ml-footer__docs .ml-footer__link {
    font-size: 13px;
    color: var(--ml-ink-3);
}



.ml-modal {
    width: min(520px, 100% - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 36px;
    overflow: auto;
    border: 1px solid var(--ml-line-2);
    border-radius: 24px;
    background: var(--ml-panel);
    color: var(--ml-ink);
}

.ml-modal::backdrop {
    background: rgba(0, 0, 0, 0.78);
}

.ml-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: none;
    color: var(--ml-ink-3);
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.ml-modal__close:hover {
    background: rgba(251, 247, 244, 0.08);
    color: var(--ml-ink);
}

.ml-modal__title {
    margin: 0 40px 10px 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.18;
}

.ml-modal__text {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--ml-ink-2);
}

.ml-form {
    display: grid;
    gap: 16px;
    margin: 0;
}

.ml-field {
    display: grid;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.ml-field__label {
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ml-ink-2);
}


legend.ml-field__label {
    margin-bottom: 8px;
}

.ml-input {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--ml-line-2);
    border-radius: 14px;
    background: var(--ml-panel-2);
    font-family: inherit;
    font-size: 16px;            
    font-weight: 600;
    line-height: 1.35;
    color: var(--ml-ink);
    transition: border-color 0.15s ease;
}

.ml-input::placeholder {
    color: var(--ml-ink-3);
    opacity: 1;
}

.ml-input:focus {
    border-color: var(--ml-lime);
    outline: none;
}

.ml-input--area {
    min-height: 92px;
    resize: vertical;
}


.ml-seg {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.ml-seg__option {
    position: relative;
    display: block;
    margin: 0;
}

.ml-seg__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.ml-seg__text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 6px;
    border: 1px solid var(--ml-line-2);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ml-ink-2);
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ml-seg__input:checked + .ml-seg__text {
    border-color: var(--ml-ink);
    background: var(--ml-ink);
    color: var(--ml-lime-ink);
}

.ml-seg__input:focus-visible + .ml-seg__text {
    outline: 2px solid var(--ml-lime);
    outline-offset: 2px;
}


.ml-form__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ml-form__error {
    margin: 0;
    padding: 12px 16px;
    border: 1px solid rgba(248, 113, 113, 0.5);
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--ml-red);
}

.ml-form__error[hidden],
.ml-form__done[hidden],
.ml-form[hidden] {
    display: none;
}

.ml-form__consent {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ml-ink-3);
}


.ml-form__done {
    display: grid;
    justify-items: start;
    gap: 14px;
}

.ml-form__done-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ml-lime);
    color: var(--ml-lime-ink);
}



.ml-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ml-news-card {
    margin: 0;
    padding: 0;
}

.ml-news-card__link {
    display: grid;
    align-content: start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.ml-news-card__link:focus-visible {
    outline: 2px solid var(--ml-lime);
    outline-offset: 6px;
    border-radius: 14px;
}

.ml-news-card__image {
    display: block;
    aspect-ratio: 2 / 1;
    margin-bottom: 4px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--ml-panel);
    box-shadow: 0 0 0 1px var(--ml-line);
}

.ml-news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    object-position: 100% 30%;
}

.ml-news-card__title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.28;
    transition: color 0.15s ease;
}

.ml-news-card__link:hover .ml-news-card__title {
    color: var(--ml-lime);
}


.ml-news-card__summary {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.45;
    color: var(--ml-ink-2);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}


.ml-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--ml-ink-3);
}

.ml-news-meta__tag {
    padding: 2px 10px;
    border: 1px solid var(--ml-line-2);
    border-radius: 999px;
    font-size: 13px;
    white-space: nowrap;
}



@media (max-width: 1100px) {
    .ml-header__inner {
        gap: 16px;
    }

    .ml-header__link {
        padding: 8px 9px;
    }
}


@media (max-width: 959px) {
    .ml {
        --ml-header-height: 60px;
    }

    .ml-section {
        padding: 64px 0;
    }

    .ml-section--tight {
        padding: 48px 0;
    }

    .ml-header__logo img {
        width: 132px;
    }

    .ml-header__burger {
        display: flex;
    }

    .ml-header__login {
        display: none;
    }

    .ml-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100dvh - var(--ml-header-height));
        margin: 0;
        padding: 8px var(--ml-gutter) 20px;
        overflow: auto;
        border-bottom: 1px solid var(--ml-line-2);
        background: var(--ml-bg);
    }

    .ml-header.is-open .ml-header__nav {
        display: flex;
    }

    .ml-header__link,
    .ml-header__link--mobile {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--ml-line);
        border-radius: 0;
        font-size: 18px;
        color: var(--ml-ink);
    }

    .ml-header__link--mobile {
        border-bottom: 0;
    }

    .ml-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ml-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 48px 0 36px;
    }

    .ml-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 639px) {
    .ml {
        --ml-gutter: 16px;
        font-size: 16px;
    }

    .ml-section {
        padding: 48px 0;
    }

    .ml-section--tight {
        padding: 36px 0;
    }

    .ml-section__head {
        margin-bottom: 32px;
    }

    .ml-eyebrow {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .ml-h3 {
        font-size: 20px;
    }

    .ml-header__inner {
        gap: 10px;
    }

    .ml-header__actions .ml-btn {
        min-height: 40px;
        padding: 0 16px;
        font-size: 14px;
    }

    .ml-news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .ml-footer__inner {
        gap: 32px 20px;
    }

    .ml-footer__bottom {
        flex-direction: column;
        padding-bottom: 32px;
    }

    .ml-modal {
        padding: 28px 20px 24px;
        border-radius: 20px;
    }

    .ml-modal__title {
        font-size: 22px;
    }

    .ml-seg {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
