:root {
    --primary: #523487;
    --primary-dark: #462b78;
    --primary-soft: rgba(82, 52, 135, .1);
    --primary-ring: rgba(82, 52, 135, .22);
    --surface: #ffffff;
    --background: #f6f7fb;
    --border: #dce2ea;
    --border-strong: #cbd5e1;
    --text: #172033;
    --muted: #64748b;
    --danger: #b42318;
    --danger-soft: #fef3f2;
    --success: #067647;
    --success-soft: #ecfdf3;
    --shadow: 0 18px 50px rgba(15, 23, 42, .09), 0 2px 7px rgba(15, 23, 42, .06);
}

* { box-sizing: border-box; }

/* Impede regras de layout como display:grid/flex de sobrescreverem o atributo hidden. */
[hidden] { display: none !important; }

html { min-width: 320px; }

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--primary) 0%, #2a2a2a 100%);
    background-size: cover;
    background-position: center;
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

.site-header {
    position: relative;
    z-index: 10;
    width: 100%;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
}

.site-header-content {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 118px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 18px 24px 0;
}

.header-back-to-login {
    position: absolute;
    left: 24px;
    top: 50%;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    background: rgba(35, 35, 35, .62);
    color: #fff;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    transform: translateY(-40%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-back-to-login:hover,
.header-back-to-login:focus-visible {
    background: rgba(255, 255, 255, .08);
    outline: 0;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: min(380px, 62vw);
    height: auto;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .22));
}

.site-header-status {
    position: absolute;
    right: 24px;
    top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .76);
    font-size: .78rem;
    font-weight: 600;
}

.site-header-status span {
    color: var(--success);
    font-size: .65rem;
}

.page-shell {
    width: min(100% - 32px, 1040px);
    margin: 0 auto;
    padding: 24px 0 30px;
}

.choice-card {
    display: flex;
    flex-direction: column;
    max-width: 780px;
    margin: 34px auto 0;
    padding: clamp(30px, 6vw, 56px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 32px;
    background: rgba(35, 35, 35, .85);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .5);
    color: #fff;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.choice-heading { margin-bottom: 30px; text-align: center; }
.choice-heading .eyebrow { display: block; margin-bottom: 8px; color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.choice-heading h1 { margin: 0; font-size: clamp(1.55rem, 4vw, 2rem); letter-spacing: -.03em; }
.choice-heading p { margin: 10px 0 0; color: rgba(255, 255, 255, .72); line-height: 1.55; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.choice-card > .choice-heading { order: 1; }
.choice-card > .choice-grid { order: 2; }
.choice-card > .promo-code-section { order: 3; margin: 24px 0 0; }

.promo-code-section { margin: -6px 0 24px; }
.promo-code-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    background: transparent;
    color: rgba(255, 255, 255, .86);
    cursor: pointer;
    font-weight: 700;
    text-align: left;
}
.promo-code-toggle:hover,
.promo-code-toggle:focus-visible {
    color: #fff;
    outline: 0;
    border-bottom-color: var(--primary);
}
.promo-code-chevron {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, .74);
    font-size: 1.05rem;
    transition: transform .18s, background .18s;
}
.promo-code-toggle:hover .promo-code-chevron,
.promo-code-toggle:focus-visible .promo-code-chevron {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
.promo-code-toggle.is-open .promo-code-chevron { transform: rotate(180deg); }
.promo-code-panel {
    margin-top: 14px;
    padding: 0 0 4px;
}

.registration-choice {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    min-height: 118px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    outline: 0;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

.registration-choice:hover,
.registration-choice:focus-visible {
    border-color: var(--primary);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
    transform: translateY(-2px);
}

.choice-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
}

.choice-copy strong, .choice-copy small { display: block; }
.choice-copy strong { margin-bottom: 5px; font-size: .95rem; }
.choice-copy small { color: rgba(255, 255, 255, .7); font-size: .76rem; line-height: 1.4; }
.choice-arrow { color: #fff; font-size: 1.25rem; }

.page-header {
    margin-bottom: 28px;
    text-align: center;
    color: #fff;
}

.change-registration-type { margin-bottom: 14px; font-size: .78rem; }
.page-header .text-button { color: rgba(255, 255, 255, .82); }
.page-header h1 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.25rem); letter-spacing: -.035em; }
.page-header p { margin: 5px 0 0; color: rgba(255, 255, 255, .72); font-size: .98rem; }

.stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0 0 24px;
    padding: 18px 18px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    background: rgba(35, 35, 35, .62);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.stepper-line {
    position: absolute;
    top: 38px;
    right: 78px;
    left: 78px;
    height: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, .18);
}

.stepper-line span {
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width .35s ease;
}

.step-marker {
    position: relative;
    z-index: 1;
    display: flex;
    width: 84px;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .68);
}

.step-marker span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    background: #342d40;
    font-size: .88rem;
    font-weight: 700;
    transition: .25s ease;
}

.step-marker small { font-size: .73rem; font-weight: 600; }
.step-marker.is-active, .step-marker.is-complete { color: #fff; }
.step-marker.is-active span { border-color: #fff; background: var(--primary); color: white; box-shadow: 0 0 0 5px rgba(255, 255, 255, .18); }
.step-marker.is-complete span { border-color: #fff; background: #fff; color: var(--primary); }
.step-marker.is-complete span::before { content: "✓"; }
.step-marker.is-complete span { font-size: 0; }
.step-marker.is-complete span::before { font-size: 1rem; }

.wizard-card {
    min-height: 540px;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 32px;
    background: rgba(35, 35, 35, .85);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .5);
    color: #fff;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: enter .28s ease both; }

@keyframes enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-heading { margin-bottom: 30px; }
.step-heading .eyebrow { display: block; margin-bottom: 8px; color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.step-heading h2 { margin: 0; font-size: clamp(1.45rem, 4vw, 1.9rem); letter-spacing: -.025em; }
.step-heading p { max-width: 660px; margin: 9px 0 0; color: rgba(255, 255, 255, .72); line-height: 1.6; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field-wide { grid-column: span 1; }
.field-narrow { grid-column: span 1; }
.field label { display: block; margin: 0 0 8px; font-size: .88rem; font-weight: 600; }
.field label span { color: rgba(255, 255, 255, .62); font-size: .78rem; font-weight: 400; }
.field input, .field select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    outline: 0;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    transition: border-color .18s, box-shadow .18s;
}

.field input::placeholder { color: rgba(255, 255, 255, .42); }
.field select option { color: var(--text); }
.field input:focus, .field select:focus { border-color: var(--primary); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(255, 255, 255, .16); }
.field input.is-invalid, .field select.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .1); }
.field-hint { display: block; margin-top: 7px; color: rgba(255, 255, 255, .62); font-size: .76rem; }

.section-divider { position: relative; margin: 8px 0 0; color: rgba(255, 255, 255, .7); font-size: .85rem; font-weight: 700; }
.section-divider::after { content: ""; position: absolute; top: 50%; right: 0; left: 145px; height: 1px; background: rgba(255, 255, 255, .12); }

.input-action { display: flex; }
.input-action input { border-radius: 16px 0 0 16px; }
.input-action button { padding: 0 16px; border: 1px solid var(--primary); border-left: 0; border-radius: 0 16px 16px 0; background: var(--primary); color: #fff; cursor: pointer; font-weight: 600; }

.wizard-actions { display: flex; align-items: center; gap: 12px; margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.action-spacer { flex: 1; }
.button {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s, background .15s, border-color .15s, opacity .15s;
}

.button:active { transform: translateY(1px); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button-primary { border-color: var(--primary); background: var(--primary); color: white; }
.button-primary:hover:not(:disabled) { border-color: var(--primary-dark); background: var(--primary-dark); }
.button-secondary { border-color: rgba(255, 255, 255, .08); background: rgba(40, 50, 65, .8); color: #fff; }
.button-secondary:hover:not(:disabled) { border-color: rgba(255, 255, 255, .14); background: rgba(50, 60, 80, .9); }

.text-button { padding: 0; border: 0; background: transparent; color: var(--primary); cursor: pointer; font-weight: 600; }
.back-to-contact { margin-bottom: 24px; }
.otp-panel { max-width: 620px; margin: 0 auto; text-align: center; }
.otp-panel .step-heading { margin-bottom: 24px; }
.otp-icon { display: grid; width: 52px; height: 52px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.4rem; }
.otp-inputs { display: flex; justify-content: center; gap: 10px; }
.otp-inputs input { width: 48px; height: 54px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; outline: 0; background: rgba(255, 255, 255, .05); color: #fff; text-align: center; font-size: 1.35rem; font-weight: 700; }
.otp-inputs input:focus { border-color: var(--primary); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(255, 255, 255, .16); }
.otp-resend { margin-top: 22px; }
.otp-resend-countdown { display: block; margin-top: 22px; color: rgba(255, 255, 255, .62); font-size: .82rem; }
.otp-resend[hidden], .otp-resend-countdown[hidden] { display: none; }

.alert { margin-bottom: 24px; padding: 12px 14px; border: 1px solid transparent; border-radius: 9px; font-size: .88rem; line-height: 1.5; }
.alert.is-error { border-color: #fecdca; background: var(--danger-soft); color: var(--danger); }
.alert.is-success { border-color: #abefc6; background: var(--success-soft); color: var(--success); }

.loading-state { display: flex; min-height: 160px; align-items: center; justify-content: center; gap: 12px; color: rgba(255, 255, 255, .72); }
.spinner { width: 21px; height: 21px; border: 3px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plan-card { position: relative; display: block; padding: 22px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .05); cursor: pointer; transition: .18s; }
.plan-card:hover { border-color: var(--primary); }
.plan-card.is-selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 255, 255, .16); }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card h3 { margin: 0 0 7px; font-size: 1rem; }
.plan-card p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .84rem; line-height: 1.5; }
.plan-card .plan-check { position: absolute; top: 18px; right: 18px; display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid rgba(255, 255, 255, .32); border-radius: 50%; color: transparent; }
.plan-card.is-selected .plan-check { border-color: var(--primary); background: var(--primary); color: white; }
.rates-summary { margin-top: 22px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .72); font-size: .82rem; line-height: 1.55; }
.rates-summary:empty { display: none; }

.bank-account-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.bank-account-heading { margin-bottom: 20px; }
.bank-account-heading h3 { margin: 0; font-size: 1.15rem; }
.bank-account-heading p { margin: 7px 0 0; color: rgba(255, 255, 255, .68); font-size: .84rem; line-height: 1.5; }

.upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.document-fields { display: grid; gap: 18px; }
.document-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.document-choice { min-width: 0; padding: 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.document-choice legend { padding: 0 6px; font-size: .88rem; font-weight: 700; }
.document-choice label { display: inline-flex; align-items: center; gap: 8px; margin: 8px 18px 0 0; color: rgba(255, 255, 255, .78); cursor: pointer; font-size: .84rem; }
.document-choice input { width: 17px; height: 17px; margin: 0; accent-color: var(--primary); }
.document-type-section, .document-method-section { padding: 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.document-type-section > strong, .document-method-section > strong { display: block; margin-bottom: 12px; font-size: .88rem; }
.document-type-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.document-option-button { min-width: 120px; padding: 11px 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: rgba(255, 255, 255, .05); color: #fff; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 700; transition: .18s; }
.document-option-button:hover, .document-option-button.is-selected { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.document-choice-hint { grid-column: 1 / -1; margin: 0; padding: 16px; border: 1px dashed rgba(255, 255, 255, .14); border-radius: 16px; color: rgba(255, 255, 255, .68); font-size: .82rem; text-align: center; }
.document-section-title { margin-top: 2px; font-size: .88rem; font-weight: 700; }
.upload-card { position: relative; display: flex; min-height: 112px; align-items: center; gap: 14px; padding: 17px; border: 1px dashed rgba(255, 255, 255, .18); border-radius: 16px; background: rgba(255, 255, 255, .05); cursor: pointer; transition: .18s; }
.upload-card[hidden], .document-choice-hint[hidden], .document-method-section[hidden], .document-camera-area[hidden], .document-photo-preview[hidden] { display: none; }
.upload-card:hover { border-color: var(--primary); background: rgba(255, 255, 255, .08); }
.upload-card.has-file { border-style: solid; border-color: var(--primary); }
.upload-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: var(--primary); color: #fff; font-weight: 700; }
.upload-copy strong, .upload-copy small { display: block; }
.upload-copy strong { margin-bottom: 5px; font-size: .86rem; }
.upload-copy small { overflow: hidden; color: rgba(255, 255, 255, .68); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.document-camera-area { padding: 20px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .04); text-align: center; }
.document-camera-area h3 { margin: 0 0 14px; font-size: 1rem; }
.document-camera-area video { width: min(100%, 620px); max-height: 440px; margin-bottom: 14px; border-radius: 12px; background: #0f172a; object-fit: cover; }
#documentCameraPreview[hidden], #captureDocument[hidden] { display: none; }
.document-photo-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.document-photo-preview { padding: 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.document-photo-preview strong { display: block; margin-bottom: 8px; font-size: .82rem; }
.document-photo-preview img { width: 100%; height: 150px; border-radius: 9px; object-fit: cover; }
.document-photo-preview button { margin-top: 9px; border: 0; background: transparent; color: var(--primary); cursor: pointer; font: inherit; font-size: .78rem; font-weight: 700; }
.document-photo-preview button:disabled { cursor: not-allowed; opacity: .4; }

.selfie-card { margin-top: 18px; padding: 20px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .05); }
.selfie-card h3 { margin: 0; font-size: 1rem; }
.selfie-card p { margin: 6px 0 17px; color: rgba(255, 255, 255, .7); font-size: .82rem; }
.camera-area { margin-top: 18px; text-align: center; }
.camera-area video { width: min(100%, 520px); max-height: 360px; border-radius: 12px; background: #0f172a; object-fit: cover; }
.selfie-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.selfie-previews.is-single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.selfie-previews[hidden], .selfie-preview-card[hidden] { display: none; }
.selfie-preview-card { padding: 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.selfie-preview-card strong { display: block; margin-bottom: 8px; font-size: .82rem; }
.selfie-preview-card img { width: 100%; height: 240px; border-radius: 9px; background: #0f172a; object-fit: cover; }
.camera-actions { display: flex; justify-content: center; gap: 10px; margin-top: 13px; }

.completion-step { padding: 45px 0; text-align: center; }
.completion-icon { display: grid; width: 76px; height: 76px; margin: 0 auto 24px; place-items: center; border-radius: 50%; background: var(--success-soft); color: var(--success); font-size: 2.2rem; }
.completion-step h2 { margin: 0; font-size: 1.8rem; }
.completion-step p { max-width: 560px; margin: 12px auto 26px; color: rgba(255, 255, 255, .72); line-height: 1.6; }
.completion-step.is-error .completion-icon { background: var(--danger-soft); color: var(--danger); }

.security-note { margin: 22px 0 0; color: rgba(255, 255, 255, .64); text-align: center; font-size: .76rem; }

@media (max-width: 720px) {
    .site-header-content {
        min-height: 86px;
        justify-content: flex-end;
        padding: 14px 16px 0 72px;
    }
    .header-back-to-login {
        left: 16px;
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
        transform: translateY(-38%);
    }
    .site-logo img { width: min(230px, 58vw); max-height: 72px; }
    .site-header-status { display: none; }
    body.registration-choice-mode {
        display: flex;
        min-height: 100dvh;
        flex-direction: column;
        overflow: hidden;
    }
    body.registration-choice-mode .site-header {
        display: flex;
        flex: 1 1 auto;
        min-height: 280px;
    }
    body.registration-choice-mode .site-header-content {
        flex: 1 1 auto;
        min-height: 0;
        align-items: center;
        justify-content: center;
        padding: 0 72px;
    }
    body.registration-choice-mode .header-back-to-login {
        top: calc(18px + env(safe-area-inset-top));
        transform: none;
    }
    body.registration-choice-mode .site-logo img {
        width: min(320px, 76vw);
        max-height: 112px;
    }
    .page-shell {
        display: flex;
        width: min(100% - 20px, 960px);
        min-height: calc(100dvh - 86px);
        flex-direction: column;
        padding-top: 14px;
        padding-bottom: 0;
    }
    body.registration-choice-mode .page-shell {
        width: 100%;
        min-height: auto;
        flex: 0 0 auto;
        padding: 0;
    }
    .choice-card { margin-top: auto; margin-bottom: 0; padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
    body.registration-choice-mode .choice-card {
        width: 100%;
        max-width: none;
        margin: 0;
    }
    .choice-grid { grid-template-columns: 1fr; }
    .registration-choice { min-height: 98px; }
    .page-header { margin-bottom: 28px; }
    .page-header p { font-size: .82rem; }
    .stepper { margin: 0 0 22px; padding-right: 10px; padding-left: 10px; border-radius: 22px; }
    .stepper-line { right: 34px; left: 34px; }
    .step-marker { width: 48px; }
    .step-marker span { width: 40px; height: 40px; background: #342d40; }
    .step-marker small { display: none; }
    .wizard-card { min-height: 0; padding: 26px 20px; border-radius: 24px; }
    .form-grid, .plan-grid, .upload-grid, .document-choice-grid, .document-photo-previews, .selfie-previews { grid-template-columns: 1fr; }
    .document-option-button { flex: 1 1 130px; }
    .field-full, .field-wide, .field-narrow { grid-column: auto; }
    .otp-inputs { gap: 6px; }
    .otp-inputs input { width: min(13vw, 45px); height: 50px; }
    .wizard-actions { position: sticky; bottom: 0; z-index: 4; margin-right: -20px; margin-left: -20px; padding: 18px 20px calc(2px + env(safe-area-inset-bottom)); background: rgba(35, 35, 35, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
    .button { padding-right: 16px; padding-left: 16px; }
}

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