.mk-login {
    background: var(--mk-sky);
}

.mk-login__title {
    display: grid;
    gap: 8px;
    padding-block: 48px 24px;
}

.mk-login__title h1 {
    margin: 0;
    font-size: clamp(2.5rem, 6.4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    text-wrap: balance;
}

.mk-login__title p {
    margin: 0;
    font-size: 1.375rem;
    line-height: 1.5;
}

.mk-login__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-block-end: 88px;
}

.mk-login__card {
    display: flex;
    flex: 1 1 min(100%, 350px);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    padding: 32px;
    border-radius: 28px;
}

.mk-login__card--operator {
    color: var(--mk-white);
    background: var(--mk-ink);
}

.mk-login__label {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--mk-white);
    background: var(--mk-ink);
    font-weight: 800;
}

.mk-login__card--operator .mk-login__label {
    background: #1b3a4f;
}

.mk-login__card h2,
.mk-login__card p {
    margin: 0;
}

.mk-login__card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.mk-login__card p {
    font-size: 1.125rem;
    line-height: 1.5;
}

.mk-login__card--operator p {
    color: var(--mk-soft);
}

.mk-login__action,
.mk-login__signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 52px;
    padding: 8px 12px;
    border-radius: 14px;
    color: var(--mk-ink);
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.mk-login__action {
    text-decoration: none;
}

.mk-login__action--lime {
    background: var(--mk-lime);
}

.mk-login__action--white {
    background: var(--mk-white);
}

.mk-login__stores {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-self: stretch;
    gap: 10px;
}

.mk-login__stores a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 6px 16px;
    border-radius: 10px;
    color: var(--mk-white);
    background: var(--mk-ink);
    font-size: .875rem;
    line-height: 1.02;
    text-align: center;
    text-decoration: none;
}

.mk-login__stores strong {
    font-size: 1.125rem;
}

.mk-login__signup {
    min-height: 44px;
    color: var(--mk-white);
    text-underline-offset: 4px;
}

@media (max-width: 52em) {
    .mk-login__title h1 {
        max-width: 13ch;
    }
}

@media (max-width: 22em) {
    .mk-login__card {
        padding-inline: 20px;
    }
}
