body {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 56px);
    background: #f8fafb;
    color: #090d16;
    font-family: Manrope, system-ui, sans-serif;
}
.registration {
    width: min(100%, 1080px);
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-areas: "brand signup" "benefits signup";
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid #e0e4e9;
    border-radius: 40px;
    background: linear-gradient(135deg, #0a1330, #141c3d);
    box-shadow: 0 1px 2px #090d160f, 0 18px 40px -28px #090d1666;
}
.intro, .signup { padding: clamp(28px, 3.4vw, 48px); }
.intro {
    display: flex;
    flex-flow: column;
    gap: 28px;
    color: white;
}
.brand-panel { grid-area: brand; padding-bottom: 0; container-type: inline-size; }
.benefits { grid-area: benefits; padding-top: 28px; container-type: inline-size; }
.signup { grid-area: signup; background: white; container-type: inline-size; padding-inline: clamp(24px, 3vw, 40px); }
.brand, .offer, .region, .intro li { display: flex; align-items: center; gap: 14px; }
.brand img { filter: brightness(0) invert(1); }
.brand strong { display: block; font-size: 34px; line-height: 1.1; letter-spacing: -.03em; }
.intro small { font-size: 13px; color: #b9bdcc; }
.brand b { color: #fff; }
.intro h2, .intro h3 { margin: 0; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.intro h2 { font-size: clamp(30px, 3vw, 38px); }
.brand-panel h2:lang(ru) { font-size: clamp(1.125rem, 8.4cqi, 38px); text-wrap: balance; }
.intro ul { padding: 0; margin: 0; list-style: none; }
.features { display: grid; gap: 22px; font-size: 18px; line-height: 1.35; font-weight: 500; }
.features i { font-size: 29px; line-height: 1; }
.offer, .region { gap: 22px; margin-top: 8px; }
.offer { font-size: clamp(1rem, 8cqi, 34px); gap: .65em; }
.offer-gift { flex: none; width: 2.7em; height: auto; }
.offer strong { font-size: inherit; line-height: 1.05; letter-spacing: -.04em; }
.offer-highlight { position: relative; display: inline-block; isolation: isolate; }
.offer-highlight svg { position: absolute; left: -7%; bottom: -.2em; width: 114%; height: .44em; z-index: -1; overflow: visible; }
.region img { object-fit: contain; filter: drop-shadow(0 8px 14px #0005); }
.region h3 { font-size: 24px; }
.region ul { display: grid; gap: 8px; margin-top: 12px; }
.region li { align-items: baseline; gap: 10px; }
.partner { margin-top: auto; font-size: 15px; font-weight: 600; }
.partner small { display: block; margin-bottom: 6px; font-weight: 500; }
.partner img { margin-right: 6px; }

.signup h1 { font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.035em; color: #0a1330; }
.signup .form-select { border-radius: 99px; font-weight: 700; padding-left: 14px; }
.signup .form-label { font-size: 14px; font-weight: 700; }
.signup .form-control { padding: 13px 16px; border: 1px solid #dadee5; border-radius: 14px; background: #f9fafc; }
.signup .form-control:focus { border-color: #0835ff; background: white; box-shadow: 0 0 0 4px #0835ff24; }
.password-control { position: relative; }
.eye { display: none; position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; color: #5c646f; font-size: 21px; }
.has-js .eye { display: block; }
.has-js .password-control input { padding-right: 52px; }
.eye[aria-pressed=true] .bi-eye::before { content: "\f340"; }
.signup .btn-primary { min-height: 56px; border-radius: 999px; background: #0835ff; border: 0; font-weight: 750; box-shadow: 0 12px 30px -12px #0835ff8c; }
.signup .btn-primary:hover { background: #0428db; }
.signup .btn-primary i { margin-left: 6px; }
.signup a { color: #0835ff; font-weight: 700; text-underline-offset: 3px; }
.registration-divider { display: flex; align-items: center; gap: 14px; margin: 16px 0; color: #5c646f; font-size: 13px; font-weight: 600; }
.registration-divider::before, .registration-divider::after { content: ""; flex: 1; height: 1px; background: #e0e4e9; }
.registration-notice { margin: 16px 0 0; text-align: center; color: #5c646f; font-size: 13px; line-height: 1.55; }
.registration-notice a { color: #1f1f1f; font-weight: 600; }
.registration-assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; list-style: none; margin: 28px 0 0; padding: 0; color: #5c646f; font-size: 13px; font-weight: 600; }
.registration-assurances li { display: flex; align-items: center; gap: 6px; }
.registration-assurances i { font-size: 16px; }
@media (max-width: 800px) {
    body { padding: 20px 8px; }
    .registration {
        max-width: 600px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "brand" "signup" "benefits";
        grid-template-rows: auto auto auto;
        border-radius: 32px;
    }
    .intro, .signup { padding: 28px 22px 32px; }
    .signup { padding-inline: clamp(8px, calc(10vw - 24px), 20px); }
    .intro { align-items: center; gap: 22px; }
    .brand-panel { padding-bottom: 28px; }
    .brand { gap: 12px; }
    .brand img { width: 64px; height: 64px; }
    .brand strong, .intro h2 { font-size: 28px; }
    .brand-panel h2:lang(ru) { font-size: clamp(1.125rem, 8.4cqi, 28px); }
    .brand small { font-size: 12px; }
    .intro h2 { text-align: center; }
    .signup h1 { flex: 1; min-width: 0; font-size: 26px; }
    .signup .col-sm-6 { width: 100%; }
    .signup .form-select { padding: 8px 22px 8px 7px; background-position: right 5px center; font-size: 13px; }
    .signup .form-label { font-size: 13.5px; }
    .benefits { background: radial-gradient(circle at 98% 102%, #143594, transparent 125px), linear-gradient(135deg, #0a1330, #141c3d); }
    .offer { order: -1; font-size: clamp(1rem, 8cqi, 26px); margin: 0; }
    .offer-gift { width: 2.15em; }
    .features { font-size: 16px; gap: 16px; }
    .features li { gap: 12px; }
    .features i { font-size: 24px; }
    .region { gap: 16px; margin: 0; }
    .region img { width: 57px; height: 68px; }
    .region h3 { font-size: 20px; }
    .region ul { font-size: 15px; gap: 9px; margin-top: 10px; }
    .partner { margin-top: 6px; text-align: center; }
}

/* Leave space for the language picker beside the longer Russian heading. */
.signup h1:lang(ru) { font-size: clamp(1rem, calc(7cqi - 5.8px), 1.875rem); }
@media (max-width: 800px) {
    .signup h1:lang(ru) { font-size: clamp(1rem, calc(7cqi - 4.3px), 1.625rem); }
}
