.auth-shell--merket {
    display: grid;
    grid-template-columns: minmax(300px, 38%) minmax(0, 1fr);
    min-height: 100vh;
    padding: 0;
    place-items: stretch;
    background: var(--mk-canvas);
}
.auth-context {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(30px, 5vw, 72px);
    color: #fff;
    background: var(--mk-ink);
}
.auth-context::before {
    position: absolute;
    top: -18vw;
    right: -20vw;
    width: min(52vw, 720px);
    aspect-ratio: 1;
    border: clamp(50px, 7vw, 100px) solid rgba(255, 100, 0, .16);
    transform: rotate(34deg);
    content: "";
}
.auth-context::after {
    position: absolute;
    right: -80px;
    bottom: 12%;
    width: 240px;
    height: 240px;
    border: 46px solid rgba(255, 255, 255, .035);
    transform: rotate(45deg);
    content: "";
}
.auth-context > * { position: relative; z-index: 1; }
.auth-context__brand {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 1.22rem;
    font-weight: 750;
    letter-spacing: -.02em;
    text-decoration: none;
}
.auth-context__brand img { display: block; width: 58px; height: 58px; object-fit: contain; }
.auth-context__message { max-width: 480px; }
.auth-context__eyebrow { margin: 0 0 14px; color: var(--mk-brand); font-size: .72rem; font-weight: 750; letter-spacing: .1em; }
.auth-context__message h2 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.02; letter-spacing: -.055em; }
.auth-context__message > p:last-child { max-width: 39ch; margin: 22px 0 0; color: #bdb8b2; font-size: 1rem; line-height: 1.65; }
.auth-context__footer { margin: 0; color: #8e8983; font-size: .76rem; }

.auth-shell--merket > .auth-card {
    align-self: center;
    justify-self: center;
    width: min(calc(100% - 48px), 460px);
    margin: 48px 0;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--mk-border);
    box-shadow: 0 18px 50px rgba(25, 24, 23, .08);
}
.auth-shell--merket > .registration-card { width: min(calc(100% - 48px), 790px); }
.auth-card .auth-home-link { margin-bottom: 30px; }
.auth-card .eyebrow { margin-bottom: 9px; }
.auth-card h1 { font-size: clamp(1.85rem, 4vw, 2.65rem); }
.auth-card .intro { margin: 12px 0 30px; max-width: 58ch; }
.auth-card .form-stack { gap: 19px; }
.auth-card .form-stack label > span:first-child { color: var(--mk-text); }
.auth-card :where(input:not([type="checkbox"]):not([type="radio"]), textarea) { min-height: 48px; }
.auth-card textarea { width: 100%; min-height: 94px; }
.auth-card .form-stack > button { min-height: 48px; margin-top: 2px; }
.auth-card .form-link-row { margin: -7px 0 0; }
.auth-card .support-note { padding-top: 21px; border-top: 1px solid var(--mk-border); }
.auth-card .privacy-notice { color: var(--mk-muted); text-align: center; }
.auth-card .privacy-notice a { color: var(--mk-text); font-weight: 650; }
.auth-card .legal-acceptance { border-color: var(--mk-border); background: var(--mk-surface-muted); }
.auth-card .brand-mark {
    width: 52px;
    height: 52px;
    margin: 0 0 24px;
    border-radius: 50%;
    color: #fff;
    background: var(--mk-success);
}
.auth-card--result { text-align: left; }
.auth-card--result .intro { margin-bottom: 28px; }
.auth-card--result .button-link { min-height: 48px; }

@media (max-width: 980px) {
    .auth-shell--merket { grid-template-columns: minmax(230px, 31%) minmax(0, 1fr); }
    .auth-context { padding: 32px; }
    .auth-context__message h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
    .auth-shell--merket > .auth-card { width: min(calc(100% - 36px), 720px); }
}

@media (max-width: 720px) {
    .auth-shell--merket { display: block; }
    .auth-context { min-height: auto; padding: 20px 22px; }
    .auth-context::before, .auth-context::after, .auth-context__message, .auth-context__footer { display: none; }
    .auth-context__brand { gap: 10px; font-size: 1.05rem; }
    .auth-context__brand img { width: 42px; height: 42px; }
    .auth-shell--merket > .auth-card { width: min(calc(100% - 28px), 620px); margin: 20px auto 32px; padding: 26px 22px; }
    .auth-card .auth-home-link { margin-bottom: 24px; }
    .auth-card .form-grid.two-columns { grid-template-columns: 1fr; }
    .auth-card .full-row { grid-column: auto; }
}

@media (max-width: 420px) {
    .auth-shell--merket > .auth-card { width: 100%; margin: 0; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
}
