:root {
    --cb-reset-primary: #1769e0;
    --cb-reset-primary-dark: #0c4fb8;
    --cb-reset-accent: #22a7c7;
    --cb-reset-navy: #0a2547;
    --cb-reset-navy-soft: #173d70;
    --cb-reset-text: #14253c;
    --cb-reset-muted: #66778b;
    --cb-reset-border: #d8e3ef;
    --cb-reset-surface: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body.cb-reset-v2-page {
    min-height: 100vh;
    margin: 0;
    color: var(--cb-reset-text);
    background:
        radial-gradient(
            circle at 10% 12%,
            rgba(34, 167, 199, .13),
            transparent 28rem
        ),
        radial-gradient(
            circle at 90% 88%,
            rgba(23, 105, 224, .11),
            transparent 30rem
        ),
        linear-gradient(135deg, #f8fbff 0%, #edf4fb 100%);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

.cb-reset-v2-shell {
    width: min(1120px, calc(100% - 40px));
    min-height: 680px;
    margin: 34px auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
    overflow: hidden;
    border: 1px solid rgba(216, 227, 239, .9);
    border-radius: 30px;
    background: var(--cb-reset-surface);
    box-shadow:
        0 34px 90px rgba(17, 46, 80, .14),
        0 8px 26px rgba(17, 46, 80, .07);
}

.cb-reset-v2-visual {
    position: relative;
    display: flex;
    min-height: 680px;
    flex-direction: column;
    overflow: hidden;
    padding: 42px 48px;
    color: #fff;
    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(47, 188, 219, .42),
            transparent 20rem
        ),
        linear-gradient(
            145deg,
            var(--cb-reset-navy) 0%,
            var(--cb-reset-navy-soft) 52%,
            #145fae 100%
        );
}

.cb-reset-v2-visual::before,
.cb-reset-v2-visual::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.cb-reset-v2-visual::before {
    width: 390px;
    height: 390px;
    top: 130px;
    right: -205px;
}

.cb-reset-v2-visual::after {
    width: 250px;
    height: 250px;
    top: 205px;
    right: -90px;
}

.cb-reset-v2-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: fit-content;
    max-width: 230px;
    height: 52px;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 13px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 26px rgba(2, 22, 45, .18);
}

.cb-reset-v2-brand img {
    display: block;
    width: auto;
    max-width: 205px;
    height: 36px;
    object-fit: contain;
    object-position: left center;
}

.cb-reset-v2-visual-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: auto 0;
    padding: 54px 0;
}

.cb-reset-v2-eyebrow,
.cb-reset-v2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cb-reset-v2-eyebrow {
    margin-bottom: 19px;
    color: #c4ecff;
}

.cb-reset-v2-visual h1 {
    max-width: 500px;
    margin: 0;
    font-size: clamp(2.45rem, 4vw, 3.8rem);
    font-weight: 820;
    line-height: 1.05;
    letter-spacing: -.047em;
}

.cb-reset-v2-visual-content > p {
    max-width: 480px;
    margin: 24px 0 34px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.03rem;
    line-height: 1.72;
}

.cb-reset-v2-features {
    display: grid;
    gap: 15px;
}

.cb-reset-v2-features > div {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.cb-reset-v2-features > div > span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    color: #d4f4ff;
    background: rgba(255, 255, 255, .10);
}

.cb-reset-v2-features strong,
.cb-reset-v2-features small {
    display: block;
}

.cb-reset-v2-features strong {
    margin-bottom: 3px;
    font-size: .95rem;
}

.cb-reset-v2-features small {
    color: rgba(255, 255, 255, .66);
    line-height: 1.45;
}

.cb-reset-v2-watermark {
    position: absolute;
    z-index: 1;
    right: 28px;
    bottom: 6px;
    color: rgba(255, 255, 255, .065);
    font-size: 10.5rem;
    transform: rotate(-7deg);
}

.cb-reset-v2-form-side {
    display: grid;
    min-height: 680px;
    place-items: center;
    padding: 50px 52px;
    background:
        linear-gradient(
            180deg,
            rgba(248, 252, 255, .55),
            #fff
        );
}

.cb-reset-v2-card {
    width: 100%;
    max-width: 445px;
}

.cb-reset-v2-mobile-brand {
    display: none;
}

.cb-reset-v2-heading {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.cb-reset-v2-heading-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            var(--cb-reset-primary),
            var(--cb-reset-accent)
        );
    box-shadow: 0 15px 30px rgba(23, 105, 224, .24);
    font-size: 1.35rem;
}

.cb-reset-v2-kicker {
    margin-bottom: 6px;
    color: var(--cb-reset-primary);
    font-size: .69rem;
}

.cb-reset-v2-heading h2 {
    margin: 0;
    color: #0b2038;
    font-size: clamp(2rem, 3vw, 2.55rem);
    font-weight: 820;
    line-height: 1.08;
    letter-spacing: -.037em;
}

.cb-reset-v2-heading p {
    margin: 10px 0 0;
    color: var(--cb-reset-muted);
    line-height: 1.6;
}

.cb-reset-v2-alert {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: .89rem;
}

.cb-reset-v2-alert i {
    margin-top: 3px;
}

.cb-reset-v2-alert strong,
.cb-reset-v2-alert span {
    display: block;
}

.cb-reset-v2-alert strong {
    margin-bottom: 2px;
}

.cb-reset-v2-alert span {
    line-height: 1.5;
}

.cb-reset-v2-alert.is-danger {
    border-color: #ffcaca;
    color: #ba3030;
    background: #fff2f2;
}

.cb-reset-v2-alert.is-success {
    border-color: #b6e8ca;
    color: #147848;
    background: #edfdf4;
}

.cb-reset-v2-form {
    display: grid;
    gap: 20px;
}

.cb-reset-v2-field label {
    display: block;
    margin-bottom: 9px;
    color: #19304b;
    font-size: .91rem;
    font-weight: 720;
}

.cb-reset-v2-input-wrap {
    position: relative;
}

.cb-reset-v2-input-wrap > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 17px;
    color: #71869d;
    transform: translateY(-50%);
    pointer-events: none;
}

.cb-reset-v2-input-wrap input {
    display: block;
    width: 100%;
    height: 54px;
    padding: 0 17px 0 48px;
    border: 1px solid var(--cb-reset-border);
    border-radius: 13px;
    outline: none;
    color: #172b44;
    background: #fff;
    font: inherit;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.cb-reset-v2-input-wrap input::placeholder {
    color: #9aaabd;
}

.cb-reset-v2-input-wrap input:hover {
    border-color: #afc5d8;
}

.cb-reset-v2-input-wrap input:focus {
    border-color: #52a1de;
    background: #fbfdff;
    box-shadow: 0 0 0 4px rgba(23, 105, 224, .11);
}

.cb-reset-v2-field small {
    display: block;
    margin-top: 8px;
    color: #7d8fa3;
    font-size: .78rem;
    line-height: 1.45;
}

.cb-reset-v2-submit,
.cb-reset-v2-back {
    display: inline-flex;
    width: 100%;
    min-height: 53px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 13px;
    font: inherit;
    font-weight: 760;
    text-decoration: none;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.cb-reset-v2-submit {
    border: 0;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--cb-reset-primary),
            var(--cb-reset-accent)
        );
    box-shadow: 0 14px 28px rgba(23, 105, 224, .22);
    cursor: pointer;
}

.cb-reset-v2-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 17px 33px rgba(23, 105, 224, .28);
}

.cb-reset-v2-back {
    border: 1px solid #cddbe8;
    color: #1d5f91;
    background: #f8fbfe;
}

.cb-reset-v2-back:hover {
    border-color: #8ab9dc;
    background: #eef7fd;
}

.cb-reset-v2-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 27px 0 17px;
    color: #8a9aab;
    font-size: .78rem;
    white-space: nowrap;
}

.cb-reset-v2-divider::before,
.cb-reset-v2-divider::after {
    height: 1px;
    flex: 1;
    content: "";
    background: #e1eaf2;
}

.cb-reset-v2-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 18px 0 0;
    color: #8494a7;
    font-size: .76rem;
    text-align: center;
}

.cb-reset-v2-submit:focus-visible,
.cb-reset-v2-back:focus-visible,
.cb-reset-v2-brand:focus-visible {
    outline: 3px solid rgba(23, 105, 224, .22);
    outline-offset: 3px;
}

@media (max-width: 920px) {
    .cb-reset-v2-shell {
        width: min(640px, calc(100% - 28px));
        min-height: auto;
        margin: 22px auto;
        grid-template-columns: 1fr;
        border-radius: 25px;
    }

    .cb-reset-v2-visual {
        min-height: auto;
        padding: 28px 30px 34px;
    }

    .cb-reset-v2-visual-content {
        margin: 0;
        padding: 34px 0 3px;
    }

    .cb-reset-v2-visual h1 {
        font-size: clamp(2rem, 8vw, 2.85rem);
    }

    .cb-reset-v2-features {
        display: none;
    }

    .cb-reset-v2-form-side {
        min-height: auto;
        padding: 38px 32px 42px;
    }
}

@media (max-width: 560px) {
    body.cb-reset-v2-page {
        background: #f3f8fc;
    }

    .cb-reset-v2-shell {
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .cb-reset-v2-visual {
        display: none;
    }

    .cb-reset-v2-form-side {
        min-height: 100vh;
        align-items: start;
        padding: 26px 20px 38px;
        background:
            linear-gradient(
                180deg,
                #eaf5fb 0,
                #f8fbfd 210px,
                #fff 100%
            );
    }

    .cb-reset-v2-card {
        max-width: none;
    }

    .cb-reset-v2-mobile-brand {
        display: flex;
        min-height: 61px;
        align-items: center;
        justify-content: center;
        margin-bottom: 28px;
    }

    .cb-reset-v2-mobile-brand a {
        display: inline-flex;
        max-width: 210px;
        height: 52px;
        align-items: center;
        padding: 7px 11px;
        border: 1px solid #d5e5ee;
        border-radius: 13px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(21, 64, 92, .10);
    }

    .cb-reset-v2-mobile-brand img {
        display: block;
        width: auto;
        max-width: 186px;
        height: 36px;
        object-fit: contain;
    }

    .cb-reset-v2-heading {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 25px;
    }

    .cb-reset-v2-heading-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 1.12rem;
    }

    .cb-reset-v2-heading h2 {
        font-size: 1.9rem;
    }

    .cb-reset-v2-heading p {
        font-size: .9rem;
    }
}

@media (max-width: 380px) {
    .cb-reset-v2-form-side {
        padding-right: 16px;
        padding-left: 16px;
    }

    .cb-reset-v2-heading {
        grid-template-columns: 1fr;
    }

    .cb-reset-v2-divider span {
        white-space: normal;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
