@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #f6f7fb;
    --card: #ffffff;
    --text: #121827;
    --muted: #667085;
    --line: #e2e6ee;
    --soft: #f8f9fc;
    --accent: #087f78;
    --accent-soft: #eff7f6;
    --dark: #121827;
    --radius: 24px;
    --font: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.hidden {
    display: none !important;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--text);
    background:
        radial-gradient(circle at 12% 0%, rgba(8, 127, 120, 0.10), transparent 30%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.register-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(226, 230, 238, 0.9);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1440px, calc(100% - 48px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    color: var(--text);
    font-size: 26px;
    font-weight: 850;
    letter-spacing: -0.055em;
    text-decoration: none;
}

.register-header nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: #344054;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-link:hover {
    background: var(--soft);
    color: var(--text);
}

.business-link {
    color: var(--accent);
    background: var(--accent-soft);
}

.login-link {
    margin-left: 4px;
    padding-inline: 18px;
    border: 1px solid var(--dark);
    color: #fff;
    background: var(--dark);
}

.login-link:hover {
    color: #fff;
    background: #242c3d;
    border-color: #242c3d;
}

.register-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 44px auto 64px;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
    gap: 28px;
    align-items: start;
}

.hero-panel,
.form-card {
    border: 1px solid rgba(226, 230, 238, 0.96);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(16, 24, 40, 0.025);
}

.hero-panel {
    position: sticky;
    top: 100px;
    padding: 34px;
}

.eyebrow {
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #475467;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-soft);
}

.hero-panel h1 {
    margin: 0;
    max-width: 9.5em;
    font-size: clamp(40px, 4.1vw, 54px);
    font-weight: 780;
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero-copy {
    margin: 20px 0 0;
    max-width: 36em;
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.steps-card {
    margin-top: 28px;
    display: grid;
    gap: 10px;
}

.steps-card div {
    min-height: 58px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--soft);
}

.steps-card strong {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: var(--dark);
    font-size: 14px;
}

.steps-card span {
    color: #344054;
    font-size: 14px;
    font-weight: 650;
}

.form-card {
    padding: 34px;
}

.form-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #3730a3;
    background: var(--accent-soft);
    font-size: 12px;
    font-weight: 700;
}

.form-heading h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 760;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.form-heading p {
    margin: 8px 0 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.trial-offer {
    margin: -4px 0 24px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #cfe3df;
    border-radius: 17px;
    background: #f4faf8;
}

.trial-offer__badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    color: #075f59;
    background: #dcefeb;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.trial-offer strong {
    display: block;
    color: #153735;
    font-size: 14px;
    font-weight: 700;
}

.trial-offer p {
    margin: 4px 0 0;
    color: #59706e;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 560px) {
    .trial-offer {
        flex-direction: column;
    }
}

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

label {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    color: #344054;
    font-size: 14px;
    font-weight: 650;
}

label small {
    margin-top: -2px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 400;
}

.full-width {
    grid-column: 1 / -1;
}

input,
select {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #d5dae5;
    border-radius: 14px;
    outline: none;
    color: var(--text);
    background: #fff;
    font-size: 15px;
    font-weight: 450;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

input::placeholder {
    color: #98a2b3;
    font-weight: 400;
    opacity: 1;
}

input:focus,
select:focus {
    border-color: rgba(79, 70, 229, 0.68);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 74px;
}

.password-field button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    padding: 7px 9px;
    border: 0;
    border-radius: 9px;
    color: #475467;
    background: #f2f4f7;
    font-size: 12px;
    font-weight: 650;
}

.primary-btn,
#registerBtn {
    width: 100%;
    margin-top: 22px;
    padding: 15px 18px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 12px 22px rgba(8, 127, 120, 0.18);
    font-weight: 700;
}

#registerBtn:hover:not(:disabled) {
    background: #066f69;
}

#registerBtn:disabled {
    cursor: wait;
    opacity: 0.68;
}

.verification-step {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.verification-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #087f78;
    background: #e7f6f3;
    font-size: 31px;
}

.verification-step h2 {
    margin: 8px 0 10px;
    font-size: clamp(28px, 5vw, 38px);
    letter-spacing: -.035em;
}

.verification-step > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.verification-email {
    margin: 6px 0 22px;
    color: var(--text);
    overflow-wrap: anywhere;
}

.verification-code-label {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.verification-code-input {
    min-height: 64px;
    text-align: center;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: .32em;
    padding-left: calc(14px + .32em);
}

#verifyEmailBtn {
    margin-top: 16px;
}

.verification-hint {
    margin-top: 12px !important;
    font-size: 13px;
}

.verification-actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px 18px;
    flex-wrap: wrap;
}

.verification-actions button {
    padding: 4px 0;
    border: 0;
    color: #087f78;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.verification-actions button:hover:not(:disabled) {
    text-decoration: underline;
}

.verification-actions button:disabled {
    color: #98a2b3;
    cursor: wait;
}

.login-note {
    margin: 18px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.login-note a {
    color: #4338ca;
    font-weight: 650;
    text-decoration: none;
}

.login-note a:hover {
    text-decoration: underline;
}

.message {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
}

.message.success {
    color: #027a48;
    background: #ecfdf3;
}

.message.error {
    color: #d92d20;
    background: #fef3f2;
}

@media (max-width: 920px) {
    .register-shell {
        grid-template-columns: 1fr;
        width: min(700px, calc(100% - 32px));
        margin-top: 28px;
    }

    .hero-panel {
        position: static;
    }

    .hero-panel h1 {
        max-width: 12em;
    }
}

@media (max-width: 680px) {
    .header-inner {
        width: calc(100% - 28px);
        padding: 13px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .register-header nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .nav-link {
        flex: 0 0 auto;
    }

    .login-link {
        margin-left: auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .hero-panel,
    .form-card {
        padding: 24px;
        border-radius: 20px;
    }

    .hero-panel h1 {
        font-size: clamp(36px, 11vw, 46px);
    }
}

@media (max-width: 430px) {
    .register-shell {
        width: calc(100% - 20px);
    }

    .hero-panel,
    .form-card {
        padding: 20px;
    }

    .nav-link {
        padding: 9px 11px;
        font-size: 13px;
    }
}
