body {
    background: #f4f7fb !important;
    color: #172033;
    font-family: Inter, Segoe UI, system-ui, sans-serif;
}

.register-shell {
    width: min(1180px, calc(100vw - 32px));
    min-height: calc(100vh - 84px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.82fr);
    gap: 28px;
    align-items: center;
    padding: 34px 0 48px;
}

.register-intro,
.register-card {
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(23, 32, 51, 0.1);
}

.register-intro {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(16, 32, 51, 0.94), rgba(16, 32, 51, 0.7)),
        url('/images/background.jpg') center / cover no-repeat;
}

.register-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 850;
}

.register-brand:hover {
    color: #fff;
}

.register-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
}

.section-kicker {
    margin: 28px 0 10px;
    color: #8fb2df;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.register-intro h1 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0;
}

.register-intro p:not(.section-kicker) {
    max-width: 580px;
    margin: 18px 0 0;
    color: #dbe5f1;
    line-height: 1.75;
}

.onboarding-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 32px;
}

.onboarding-steps div {
    min-height: 92px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.onboarding-steps .active {
    background: rgba(36, 99, 235, 0.36);
    border-color: rgba(147, 197, 253, 0.62);
}

.onboarding-steps span {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #102033;
    background: #fff;
    font-weight: 850;
}

.onboarding-steps strong {
    font-size: 0.96rem;
}

.onboarding-steps small {
    color: #c5d4e7;
}

.register-card {
    padding: 26px;
    background: #fff;
    border: 1px solid #dfe6ef;
}

.register-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.register-header .section-kicker {
    margin: 0 0 7px;
    color: #667085;
}

.register-header h2 {
    margin: 0;
    color: #172033;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: 0;
}

.login-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    color: #245fd6;
    background: #f8fafc;
    font-weight: 800;
    text-decoration: none;
}

.login-link:hover {
    color: #1d4ed8;
    background: #fff;
}

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

.invite-notice {
    padding: 10px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1e3a8a;
    background: #eff6ff;
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-grid label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 750;
}

.form-grid span {
    display: block;
}

.form-grid input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #cfd8e4;
    border-radius: 8px;
    color: #172033;
    background: #fff;
    font-size: 15px;
    box-shadow: none;
}

.form-grid input:focus {
    outline: none;
    border-color: #245fd6;
    box-shadow: 0 0 0 4px rgba(36, 95, 214, 0.12);
}

.plan-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.plan-preview div {
    min-height: 66px;
    display: grid;
    align-content: center;
    gap: 3px;
    padding: 10px;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    background: #f8fafc;
}

.plan-preview .featured {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.plan-preview strong {
    color: #172033;
    font-size: 0.92rem;
}

.plan-preview span {
    color: #667085;
    font-size: 0.78rem;
}

.btn-primary {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #245fd6;
    font-size: 15px;
    font-weight: 850;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-primary:disabled {
    cursor: wait;
    opacity: 0.72;
}

.form-footnote {
    margin: 0;
    color: #667085;
    font-size: 0.82rem;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 980px) {
    .register-shell {
        grid-template-columns: 1fr;
    }

    .register-intro {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    .register-shell {
        width: min(100% - 20px, 620px);
        padding: 20px 0 36px;
    }

    .register-intro,
    .register-card {
        padding: 22px;
    }

    .register-intro h1 {
        font-size: 2.45rem;
    }

    .onboarding-steps,
    .form-grid,
    .plan-preview {
        grid-template-columns: 1fr;
    }

    .register-header {
        flex-direction: column;
    }
}
