* {
    box-sizing: border-box
}

:root {
    --navy: #07152d;
    --blue: #1765d1;
    --blue2: #0d4da9;
    --ink: #12233d;
    --muted: #687991;
    --line: #dce5f1;
    --bg: #f3f6fb;
    --green: #087d5b;
    --red: #c43b45
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif
}

.topbar {
    height: 76px;
    padding: 0 max(5vw, 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(165deg, #4788e3, #2e4263);
    border-bottom: 1px solid #e7edf5
}

.brand {
    display: flex;
    gap: 11px;
    align-items: center;
    text-decoration: none;
    color: var(--navy)
}

.brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    background: linear-gradient(145deg, #2383f6, #124a9f);
    color: #fff;
    display: grid;
    place-items: center;
    font: 800 22px Manrope
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #75859a
}

.brand b {
    font: 800 17px Manrope;
    color: #f7f8f8;
    letter-spacing: .5px
}

.back-link {
    color: #f7f8f8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600
}

.layout {
    max-width: 1120px;
    margin: 48px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 64px;
    align-items: start
}

.intro {
    padding: 42px 0
}

.eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #3477ca
}

.intro h1 {
    font: 800 clamp(38px, 5vw, 58px)/1.12 Manrope;
    margin: 20px 0;
    color: var(--navy);
    letter-spacing: -2px
}

.intro h1 em {
    font-style: normal;
    color: #2675dc
}

.intro>p {
    font-size: 16px;
    line-height: 1.8;
    color: #61738c;
    max-width: 420px
}

.benefits {
    display: grid;
    gap: 17px;
    margin: 34px 0
}

.benefits div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #314761;
    font-size: 14px;
    font-weight: 600
}

.benefits span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e0f7ee;
    color: var(--green);
    font-weight: 900
}

.help-note {
    margin-top: 54px;
    color: #718198;
    font-size: 13px
}

.help-note a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none
}

.panel {
    background: #fff;
    border: 1px solid #e3eaf3;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 18px 55px rgba(19, 49, 86, .08)
}

.steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px
}

.steps>i {
    height: 1px;
    background: #dce5f1;
    flex: 1
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8a9ab0;
    white-space: nowrap
}

.step span {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid #d6dfeb;
    font-size: 12px;
    font-weight: 800
}

.step small {
    font-size: 11px;
    font-weight: 700
}

.step.active {
    color: var(--blue)
}

.step.active span,
.step.done span {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue)
}

.step.done {
    color: var(--green)
}

.step.done span {
    background: var(--green);
    border-color: var(--green)
}

.form-step {
    display: none
}

.form-step.active {
    display: block
}

.panel-heading {
    margin-bottom: 22px
}

.panel-heading h2 {
    font: 800 27px Manrope;
    margin: 8px 0;
    color: var(--navy)
}

.panel-heading p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0
}

.panel-heading strong {
    color: #344c68
}

label {
    display: block;
    margin: 16px 0 7px;
    font-size: 12px;
    font-weight: 750;
    color: #334a66
}

label b {
    color: #d34a54
}

input {
    width: 100%;
    height: 47px;
    border: 1px solid #d6e0ed;
    border-radius: 10px;
    padding: 0 13px;
    font: 500 13px Inter;
    color: #1a2f4a;
    outline: none;
    background: #fff
}

input:focus {
    border-color: #4b8df0;
    box-shadow: 0 0 0 3px rgba(47, 123, 225, .12)
}

input[readonly] {
    background: #f7f9fc;
    color: #415773
}

.password-field {
    position: relative
}

.password-field input {
    padding-right: 48px
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    border: 0;
    padding: 8px;
    background: transparent;
    color: var(--blue);
    display: grid;
    place-items: center;
    cursor: pointer
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.password-toggle .eye-off,
.password-toggle.is-visible .eye-open {
    display: none
}

.password-toggle.is-visible .eye-off {
    display: block
}

.password-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 2px
}

.input-action {
    display: flex;
    gap: 9px
}

.input-action input {
    flex: 1;
    min-width: 0
}

.field-hint {
    font-size: 11px;
    color: #8492a5;
    margin-top: 7px;
    line-height: 1.5
}

.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.notice {
    background: #f1f6ff;
    border: 1px solid #dce9fc;
    border-radius: 9px;
    padding: 11px 13px;
    color: #526985;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 16px
}

.btn {
    border: 0;
    border-radius: 10px;
    min-height: 46px;
    padding: 0 17px;
    font: 700 12px Inter;
    cursor: pointer;
    transition: .18s
}

.btn:disabled {
    opacity: .55;
    cursor: not-allowed
}

.btn-primary {
    background: linear-gradient(135deg, #2478e5, #1455b7);
    color: #fff;
    box-shadow: 0 7px 18px rgba(23, 96, 196, .18)
}

.btn-primary:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(23, 96, 196, .25)
}

.btn-soft {
    background: #eaf2ff;
    color: #1556ae;
    white-space: nowrap
}

.btn-block {
    width: 100%;
    margin-top: 18px
}

.btn-link {
    background: transparent;
    color: #1765d1;
    min-height: 38px
}

.message {
    display: none;
    margin-top: 13px;
    border-radius: 9px;
    padding: 11px 12px;
    font-size: 12px;
    line-height: 1.5
}

.message.show {
    display: block
}

.message.error {
    background: #fff0f0;
    color: #b32e39;
    border: 1px solid #ffd3d6
}

.message.success {
    background: #eafaf3;
    color: #087d5b;
    border: 1px solid #bcebd7
}

.code-input {
    text-align: center;
    font-size: 25px;
    letter-spacing: 10px;
    font-weight: 800
}

.plans {
    display: grid;
    gap: 11px
}

.plan {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    cursor: pointer
}

.plan.selected {
    border: 2px solid var(--blue);
    background: #f3f8ff;
    padding: 14px
}

.plan h3 {
    margin: 0 0 5px;
    font: 800 16px Manrope;
    color: var(--navy)
}

.plan p {
    margin: 0;
    color: #718198;
    font-size: 11px;
    line-height: 1.5
}

.plan-price {
    font: 800 21px Manrope;
    color: #155bbd;
    text-align: right
}

.plan-price small {
    display: block;
    font: 600 10px Inter;
    color: #8291a5
}

.plan-radio {
    width: 17px;
    height: 17px;
    border: 2px solid #b9c7d8;
    border-radius: 50%;
    grid-column: 2;
    grid-row: 1;
    justify-self: end
}

.plan.selected .plan-radio {
    border: 5px solid var(--blue)
}

.loading {
    font-size: 12px;
    color: #75869c;
    padding: 18px;
    text-align: center
}

.plan-footnote {
    font-size: 10px;
    color: #8a98aa;
    line-height: 1.5;
    text-align: center;
    margin: 12px 0 0
}

.secure-foot {
    border-top: 1px solid #edf1f6;
    padding-top: 18px;
    margin: 24px 0 0;
    text-align: center;
    color: #8190a3;
    font-size: 10px
}

.secure-foot span {
    color: var(--green);
    font-size: 16px;
    vertical-align: -1px;
    margin-right: 4px
}

@media(max-width:850px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px auto
    }

    .intro {
        padding: 10px 0
    }

    .intro h1 {
        font-size: 40px
    }

    .intro>p {
        max-width: 600px
    }

    .benefits {
        grid-template-columns: 1fr 1fr
    }

    .help-note {
        margin-top: 22px
    }
}

@media(max-width:540px) {
    .topbar {
        height: 64px;
        padding: 0 17px
    }

    .layout {
        padding: 0 13px;
        margin: 14px auto 30px
    }

    .panel {
        padding: 21px 17px;
        border-radius: 17px
    }

    .intro h1 {
        font-size: 34px
    }

    .intro>p {
        font-size: 14px
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 22px 0
    }

    .step {
        gap: 5px
    }

    .step small {
        font-size: 9px
    }

    .steps {
        gap: 6px
    }

    .grid-two {
        grid-template-columns: 1fr;
        gap: 0
    }

    .input-action {
        gap: 6px
    }

    .btn-soft {
        padding: 0 12px
    }

    .panel-heading h2 {
        font-size: 24px
    }
}