:root {
    --vorik-navy-950: #061426;
    --vorik-navy-900: #071a33;
    --vorik-navy-800: #0c2749;
    --vorik-blue: #2864f0;
    --vorik-yellow: #ffc629;
    --vorik-white: #fff;
    --vorik-surface: #f3f7fc;
    --vorik-ink: #10233f;
    --vorik-muted: #6d7d92;
    --vorik-line: #d9e3ee;
    --vorik-danger: #c93b4d;
    --vorik-success: #12845a;
}

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

html,
body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
}

body {
    color: var(--vorik-ink);
    background: var(--vorik-surface);
    font-family:
        Inter,
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent;
}

.vorik-register-page {
    display: grid;
    grid-template-columns: minmax(390px, 0.72fr) minmax(700px, 1.28fr);
    min-height: 100vh;
}

.vorik-register-showcase {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    overflow: hidden;
    padding: 32px clamp(32px, 4vw, 58px);
    color: #fff;
    background:
        radial-gradient(
            circle at 90% 18%,
            rgba(49, 95, 210, 0.3),
            transparent 32rem
        ),
        linear-gradient(145deg, #061426, #0a2444);
}

.vorik-register-showcase-glow {
    position: absolute;
    top: 24%;
    right: -240px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    box-shadow:
        0 0 0 72px rgba(255, 255, 255, 0.02),
        0 0 0 144px rgba(255, 255, 255, 0.014);
}

.vorik-register-brand {
    position: relative;
    z-index: 5;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.vorik-register-brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    color: #071a33;
    background: linear-gradient(145deg, #ffda66, var(--vorik-yellow));
    box-shadow: 0 15px 34px rgba(255, 198, 41, 0.2);
    font-size: 23px;
    font-weight: 950;
}

.vorik-register-brand > span:last-child {
    display: flex;
    flex-direction: column;
}

.vorik-register-brand strong {
    font-size: 22px;
    letter-spacing: 0.09em;
}

.vorik-register-brand small {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.15em;
    opacity: 0.66;
    text-transform: uppercase;
}

.vorik-register-showcase-content {
    position: relative;
    z-index: 4;
    max-width: 570px;
    margin-top: clamp(60px, 8vh, 105px);
}

.vorik-register-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--vorik-yellow);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vorik-register-kicker i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--vorik-yellow);
    box-shadow: 0 0 0 7px rgba(255, 198, 41, 0.12);
}

.vorik-register-showcase h1 {
    margin: 28px 0 18px;
    font-size: clamp(43px, 4.2vw, 67px);
    font-weight: 850;
    letter-spacing: -0.052em;
    line-height: 1.02;
}

.vorik-register-showcase-intro {
    max-width: 520px;
    margin: 0;
    color: #bccce0;
    font-size: 17px;
    line-height: 1.65;
}

.vorik-register-benefits {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.vorik-register-benefits article {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.vorik-register-benefit-icon {
    display: grid;
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    place-items: center;
    border: 1px solid rgba(255, 198, 41, 0.62);
    border-radius: 12px;
    color: var(--vorik-yellow);
    background: rgba(255, 198, 41, 0.05);
    font-weight: 800;
}

.vorik-register-benefits strong {
    display: block;
    margin-top: 1px;
    font-size: 13px;
}

.vorik-register-benefits p {
    margin: 5px 0 0;
    color: #98adc7;
    font-size: 11px;
    line-height: 1.45;
}

.vorik-register-vehicle-scene {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    overflow: hidden;
    pointer-events: none;
}

.vorik-register-city {
    position: absolute;
    right: 0;
    bottom: 70px;
    left: 0;
    height: 210px;
    opacity: 0.28;
    background:
        linear-gradient(
            90deg,
            transparent 0 5%,
            #173b61 5% 13%,
            transparent 13% 17%,
            #173b61 17% 28%,
            transparent 28% 32%,
            #173b61 32% 43%,
            transparent 43% 48%,
            #173b61 48% 65%,
            transparent 65% 69%,
            #173b61 69% 77%,
            transparent 77% 82%,
            #173b61 82% 95%,
            transparent 95%
        );
    clip-path: polygon(
        0 45%, 7% 45%, 7% 25%, 14% 25%, 14% 58%,
        22% 58%, 22% 34%, 29% 34%, 29% 65%, 37% 65%,
        37% 21%, 46% 21%, 46% 51%, 55% 51%, 55% 8%,
        65% 8%, 65% 61%, 76% 61%, 76% 32%, 84% 32%,
        84% 55%, 92% 55%, 92% 20%, 100% 20%, 100% 100%,
        0 100%
    );
}

.vorik-register-road {
    position: absolute;
    right: -10%;
    bottom: -45px;
    left: -10%;
    height: 170px;
    background:
        linear-gradient(
            180deg,
            rgba(14, 34, 57, 0.1),
            rgba(2, 9, 19, 0.92)
        );
    transform: perspective(250px) rotateX(45deg);
}

.vorik-register-car {
    position: absolute;
    right: 7%;
    bottom: 40px;
    width: 280px;
    height: 118px;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.44));
}

.vorik-register-car .roof {
    position: absolute;
    top: 8px;
    left: 67px;
    width: 135px;
    height: 62px;
    border-radius: 52px 70px 8px 8px;
    background: linear-gradient(150deg, #1e4974, #081b31);
    transform: skewX(-10deg);
}

.vorik-register-car .body {
    position: absolute;
    right: 0;
    bottom: 17px;
    left: 0;
    height: 67px;
    border-radius: 50px 65px 19px 20px;
    background:
        linear-gradient(180deg, #1a4c7c, #07192d 75%);
    box-shadow:
        inset 0 2px 0 rgba(161, 204, 246, 0.3),
        inset 0 -8px 18px rgba(0, 0, 0, 0.3);
}

.vorik-register-car .light {
    position: absolute;
    right: 11px;
    bottom: 50px;
    z-index: 2;
    width: 30px;
    height: 10px;
    border-radius: 999px;
    background: #cfeaff;
    box-shadow: 0 0 24px rgba(190, 231, 255, 0.75);
}

.vorik-register-car .wheel {
    position: absolute;
    bottom: 0;
    z-index: 3;
    width: 53px;
    height: 53px;
    border: 11px solid #030912;
    border-radius: 50%;
    background: #596c81;
}

.vorik-register-car .wheel-left {
    left: 41px;
}

.vorik-register-car .wheel-right {
    right: 35px;
}

.vorik-register-panel {
    min-width: 0;
    padding: 28px clamp(30px, 5vw, 84px) 36px;
    background:
        radial-gradient(
            circle at 84% 8%,
            rgba(37, 99, 235, 0.1),
            transparent 24rem
        ),
        #f5f8fc;
}

.vorik-register-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vorik-register-home {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--vorik-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.vorik-register-home span {
    font-size: 24px;
}

.vorik-register-language {
    display: inline-flex;
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--vorik-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
}

.vorik-register-language a {
    min-width: 39px;
    padding: 8px;
    border-radius: 8px;
    color: var(--vorik-muted);
    font-size: 11px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
}

.vorik-register-language a.is-active {
    color: #fff;
    background: var(--vorik-navy-900);
    box-shadow: 0 6px 14px rgba(7, 26, 51, 0.16);
}

.vorik-register-card {
    width: min(100%, 990px);
    margin: 25px auto 0;
    padding: clamp(30px, 4vw, 50px);
    border: 1px solid rgba(218, 227, 237, 0.9);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 76px rgba(6, 20, 38, 0.12);
}

.vorik-register-heading {
    text-align: center;
}

.vorik-register-heading-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    place-items: center;
    border-radius: 14px;
    color: #d79d00;
    background: #fff8db;
    font-size: 22px;
}

.vorik-register-heading h2 {
    margin: 0;
    color: var(--vorik-navy-950);
    font-size: clamp(29px, 3vw, 38px);
    letter-spacing: -0.04em;
}

.vorik-register-heading p {
    margin: 9px 0 0;
    color: var(--vorik-muted);
    font-size: 13px;
}

.vorik-register-heading a {
    color: var(--vorik-blue);
    font-weight: 800;
    text-decoration: none;
}

.vorik-register-progress {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0 31px;
}

.vorik-register-progress > div {
    display: grid;
    min-width: 70px;
    justify-items: center;
    gap: 7px;
}

.vorik-register-progress span {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid var(--vorik-line);
    border-radius: 50%;
    color: var(--vorik-muted);
    background: #fff;
    font-size: 11px;
    font-weight: 800;
}

.vorik-register-progress small {
    color: var(--vorik-muted);
    font-size: 9px;
    font-weight: 700;
}

.vorik-register-progress i {
    height: 1px;
    margin-top: 15px;
    background: var(--vorik-line);
}

.vorik-register-progress .is-active span {
    border-color: var(--vorik-yellow);
    color: var(--vorik-navy-950);
    background: var(--vorik-yellow);
    box-shadow: 0 7px 18px rgba(255, 198, 41, 0.26);
}

.vorik-register-progress .is-active small {
    color: var(--vorik-ink);
}

.vorik-register-form {
    display: grid;
    gap: 25px;
}

.vorik-register-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.vorik-register-form legend {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--vorik-navy-950);
    font-size: 15px;
    font-weight: 850;
}

.vorik-register-form legend span {
    color: var(--vorik-navy-800);
}

.vorik-register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 24px;
}

.vorik-register-field {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.vorik-register-field label {
    color: var(--vorik-ink);
    font-size: 11px;
    font-weight: 780;
}

.vorik-register-control {
    position: relative;
    display: flex;
    min-height: 54px;
    align-items: center;
}

.vorik-register-control-icon {
    position: absolute;
    left: 15px;
    z-index: 2;
    display: grid;
    width: 19px;
    place-items: center;
    color: #8393a7;
    font-size: 13px;
    pointer-events: none;
}

.vorik-register-control input,
.vorik-register-control select {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 0 45px;
    border: 1px solid var(--vorik-line);
    border-radius: 14px;
    outline: none;
    color: var(--vorik-ink);
    background: #fff;
    font-size: 13px;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.vorik-register-control select {
    cursor: pointer;
}

.vorik-register-control input:focus,
.vorik-register-control select:focus {
    border-color: var(--vorik-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.vorik-register-control input::placeholder {
    color: #a4b1c2;
}

.vorik-register-password-toggle {
    position: absolute;
    right: 8px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    color: #7c8da2;
    background: transparent;
    cursor: pointer;
}

.vorik-register-password-toggle:hover {
    color: var(--vorik-navy-950);
    background: #f2f5f9;
}

.vorik-register-error {
    display: none;
    min-height: 15px;
    color: var(--vorik-danger);
    font-size: 10px;
    font-weight: 700;
}

.vorik-register-field.is-invalid
    .vorik-register-error {
    display: block;
}

.vorik-register-field.is-invalid
    .vorik-register-control input,
.vorik-register-field.is-invalid
    .vorik-register-control select {
    border-color: var(--vorik-danger);
    box-shadow: 0 0 0 4px rgba(197, 47, 63, 0.08);
}

.vorik-register-consents {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.vorik-register-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
}

.vorik-register-checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.vorik-register-checkbox-box {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    border: 1px solid #bdc9d8;
    border-radius: 6px;
    color: transparent;
    background: #fff;
    font-size: 11px;
    font-weight: 900;
}

.vorik-register-checkbox input:checked
    + .vorik-register-checkbox-box {
    border-color: var(--vorik-blue);
    color: #fff;
    background: var(--vorik-blue);
}

.vorik-register-checkbox em {
    color: var(--vorik-muted);
    font-size: 10px;
    font-style: normal;
    line-height: 1.55;
}

.vorik-register-checkbox a {
    color: var(--vorik-blue);
    font-weight: 750;
}

.vorik-register-submit {
    display: flex;
    min-height: 55px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 0;
    border-radius: 14px;
    color: var(--vorik-navy-950);
    background: linear-gradient(135deg, #ffd85e, var(--vorik-yellow));
    box-shadow: 0 14px 30px rgba(255, 198, 41, 0.28);
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.vorik-register-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(255, 198, 41, 0.36);
}

.vorik-register-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin: 22px 0 17px;
}

.vorik-register-divider span {
    height: 1px;
    background: var(--vorik-line);
}

.vorik-register-divider small {
    color: #8493a6;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.vorik-register-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.vorik-register-socials button {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--vorik-line);
    border-radius: 13px;
    color: var(--vorik-ink);
    background: #fff;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.vorik-register-socials .google {
    color: #2864f0;
    font-size: 17px;
}

.vorik-register-socials .apple {
    color: #111827;
}

.vorik-register-alert,
.vorik-register-success {
    margin-bottom: 19px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.vorik-register-alert {
    border: 1px solid #fecdd3;
    color: var(--vorik-danger);
    background: #fff1f2;
}

.vorik-register-success {
    border: 1px solid #a7f3d0;
    color: var(--vorik-success);
    background: #ecfdf5;
}

.vorik-register-alert[hidden],
.vorik-register-success[hidden] {
    display: none;
}

@media (max-width: 1100px) {
    .vorik-register-page {
        grid-template-columns: 360px minmax(620px, 1fr);
    }

    .vorik-register-showcase {
        padding-right: 28px;
        padding-left: 28px;
    }

    .vorik-register-showcase h1 {
        font-size: 45px;
    }

    .vorik-register-car {
        right: -5%;
        transform: scale(0.88);
    }
}

@media (max-width: 900px) {
    .vorik-register-page {
        display: block;
    }

    .vorik-register-showcase {
        display: none;
    }

    .vorik-register-panel {
        min-height: 100vh;
        padding: 20px;
    }
}

@media (max-width: 680px) {
    .vorik-register-card {
        padding: 27px 19px;
        border-radius: 23px;
    }

    .vorik-register-grid,
    .vorik-register-consents,
    .vorik-register-socials {
        grid-template-columns: 1fr;
    }

    .vorik-register-progress {
        gap: 5px;
    }

    .vorik-register-progress > div {
        min-width: 48px;
    }

    .vorik-register-progress small {
        display: none;
    }
}

@media (max-width: 420px) {
    .vorik-register-panel {
        padding-right: 12px;
        padding-left: 12px;
    }

    .vorik-register-topbar {
        padding: 0 5px;
    }

    .vorik-register-heading h2 {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* =========================================================
   VORIK REGISTER — RESPONSIVE TYPOGRAPHY COMFORT
   Provisional scale before final brand typography charter.
   ========================================================= */

.vorik-register-page {
    font-size: 16px;
    line-height: 1.5;
}


/* Brand and left showcase */

.vorik-register-brand strong {
    font-size: 23px;
}

.vorik-register-brand small {
    font-size: 12px;
    line-height: 1.35;
}

.vorik-register-kicker {
    font-size: 13px;
    line-height: 1.4;
}

.vorik-register-showcase-intro {
    font-size: 18px;
    line-height: 1.65;
}

.vorik-register-benefits strong {
    font-size: 15px;
    line-height: 1.35;
}

.vorik-register-benefits p {
    font-size: 14px;
    line-height: 1.55;
}


/* Top navigation */

.vorik-register-home {
    font-size: 15px;
}

.vorik-register-language a {
    min-width: 44px;
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
}


/* Main form heading */

.vorik-register-heading h2 {
    font-size: clamp(32px, 3vw, 40px);
    line-height: 1.15;
}

.vorik-register-heading p {
    font-size: 15px;
    line-height: 1.55;
}


/* Registration progress */

.vorik-register-progress span {
    width: 36px;
    height: 36px;

    font-size: 14px;
}

.vorik-register-progress small {
    font-size: 12px;
    line-height: 1.3;
}

.vorik-register-progress i {
    margin-top: 18px;
}


/* Form sections */

.vorik-register-form {
    gap: 29px;
}

.vorik-register-form legend {
    margin-bottom: 16px;

    font-size: 17px;
    line-height: 1.4;
}

.vorik-register-grid {
    gap: 20px 25px;
}

.vorik-register-field {
    gap: 8px;
}

.vorik-register-field label {
    font-size: 14px;
    line-height: 1.4;
}


/* Inputs and selects */

.vorik-register-control {
    min-height: 58px;
}

.vorik-register-control input,
.vorik-register-control select {
    min-height: 58px;

    padding-right: 47px;
    padding-left: 47px;

    font-size: 16px;
    line-height: 1.25;
}

.vorik-register-control input::placeholder {
    font-size: 15px;
}

.vorik-register-control-icon {
    left: 16px;

    width: 20px;

    font-size: 15px;
}

.vorik-register-password-toggle {
    width: 42px;
    height: 42px;

    font-size: 16px;
}


/* Validation */

.vorik-register-error {
    min-height: 18px;

    font-size: 13px;
    line-height: 1.45;
}


/* Consent checkboxes */

.vorik-register-checkbox {
    gap: 11px;
}

.vorik-register-checkbox-box {
    width: 21px;
    height: 21px;
    flex-basis: 21px;

    font-size: 13px;
}

.vorik-register-checkbox em {
    font-size: 13px;
    line-height: 1.55;
}


/* Main submit action */

.vorik-register-submit {
    min-height: 59px;

    padding-inline: 18px;

    font-size: 16px;
    line-height: 1.25;
}


/* Divider and secondary actions */

.vorik-register-divider small {
    font-size: 12px;
    letter-spacing: .04em;
}

.vorik-register-socials button {
    min-height: 52px;

    padding-inline: 15px;

    font-size: 14px;
}


/* Alerts */

.vorik-register-alert,
.vorik-register-success {
    padding: 14px 16px;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .vorik-register-panel {
        padding: 22px;
    }

    .vorik-register-card {
        margin-top: 22px;
    }

    .vorik-register-heading h2 {
        font-size: clamp(31px, 6vw, 37px);
    }

    .vorik-register-heading p {
        font-size: 16px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .vorik-register-panel {
        padding-top: 16px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .vorik-register-card {
        margin-top: 17px;
        padding: 27px 19px 30px;
    }

    .vorik-register-heading h2 {
        font-size: 30px;
        line-height: 1.18;
    }

    .vorik-register-heading p {
        margin-top: 11px;

        font-size: 15px;
        line-height: 1.55;
    }

    .vorik-register-form {
        gap: 26px;
    }

    .vorik-register-form legend {
        font-size: 17px;
    }

    .vorik-register-field label {
        font-size: 14px;
    }

    /*
     * Keep controls at 16px to improve readability and
     * avoid automatic browser zoom while focusing fields.
     */
    .vorik-register-control input,
    .vorik-register-control select {
        min-height: 58px;

        font-size: 16px;
    }

    .vorik-register-control input::placeholder {
        font-size: 15px;
    }

    .vorik-register-submit {
        min-height: 60px;

        font-size: 16px;
    }

    .vorik-register-checkbox em {
        font-size: 13px;
    }

    .vorik-register-error {
        font-size: 13px;
    }

    .vorik-register-socials button {
        min-height: 54px;

        font-size: 15px;
    }

}


/* Very narrow phones */

@media (max-width: 420px) {

    .vorik-register-panel {
        padding-right: 10px;
        padding-left: 10px;
    }

    .vorik-register-card {
        padding-right: 16px;
        padding-left: 16px;

        border-radius: 21px;
    }

    .vorik-register-heading h2 {
        font-size: 28px;
    }

    .vorik-register-topbar {
        padding-inline: 2px;
    }

    .vorik-register-home {
        font-size: 14px;
    }

    .vorik-register-language a {
        min-width: 41px;

        font-size: 13px;
    }

}
