.signup-page .app {
    min-height: calc(100vh - 90px);
}

.signup-shell {
    max-width: 520px;
    margin: 0 auto;
}

.signup-page .signup-progress {
    max-width: none;
    margin: 8px auto 0;
    padding: 28px;
}

.signup-progress h2,
.signup-identity {
    text-align: center;
}

.signup-identity strong,
.signup-identity span {
    display: block;
    overflow-wrap: anywhere;
}

.signup-identity strong {
    color: inherit;
}

.signup-page .signup-sign-in {
    color: #dbe7f5;
    padding: 9px 14px;
    border: 1px solid #ffffff38;
    border-radius: 9px;
    background: #ffffff14;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.signup-page .signup-sign-in:hover {
    color: #fff;
    background: #ffffff26;
}

.signup-page .signup-sign-in:focus-visible {
    outline: 2px solid #9cc7ff;
    outline-offset: 3px;
}

.signup-progress a:not(.button) {
    color: var(--teal);
}

.signup-steps {
    display: grid;
    gap: 0;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.signup-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
}

.signup-step:last-child {
    border-bottom: 0;
}

.signup-step-number {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.signup-step-label {
    font-size: 13px;
    font-weight: 700;
}

.signup-step-label small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.signup-step.is-current {
    border-radius: 8px;
    background: var(--mint);
    box-shadow: inset 3px 0 0 var(--teal);
}

.signup-step.is-current .signup-step-number,
.signup-step.is-complete .signup-step-number {
    border-color: var(--brand);
    color: #fff;
    background: var(--brand);
}

.signup-progress .signup-action {
    display: block;
    text-align: center;
    text-decoration: none;
}

.signup-resend {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.signup-resend h3 {
    margin: 0;
    font-size: 15px;
}

.signup-resend [role="status"]:empty {
    display: none;
}

.signup-progress .signup-help {
    margin: 22px 0 0;
    font-size: 11px;
    overflow-wrap: anywhere;
}

html.dark-mode .signup-progress {
    --muted: #9cafc4;
    --line: #2b4059;
    --mint: #173b67;
}

html.dark-mode .signup-progress p,
html.dark-mode .signup-progress label {
    color: var(--muted);
}

html.dark-mode .signup-page .auth-banner {
    filter: invert(1);
    mix-blend-mode: screen;
}

@media (max-width: 600px) {
    .signup-page .signup-progress {
        padding: 22px 18px;
    }

    .signup-page .header-logo {
        max-width: 65vw;
    }
}
