:root {
    --pw-auth-navy: #0a1c48;
    --pw-auth-navy-deep: #071638;
    --pw-auth-blue: #4169e8;
    --pw-auth-blue-dark: #3157d5;
    --pw-auth-orange: #f58b36;
    --pw-auth-ink: #18243a;
    --pw-auth-muted: #68758b;
    --pw-auth-border: #dce3ee;
    --pw-auth-soft: #f4f7fb;
    --pw-auth-danger: #c9414a;
    --pw-auth-success: #147d5a;
}

* {
    box-sizing: border-box;
}

html,
body.pilotwire-auth-body {
    min-height: 100%;
}

body.pilotwire-auth-body {
    background: #eef2f7;
    color: var(--pw-auth-ink);
    font-family: var(--ct-body-font-family, "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
}

.pilotwire-auth-shell {
    background: #fff;
    display: grid;
    grid-template-columns: minmax(440px, 34%) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
}

.pilotwire-auth-panel {
    background: #fff;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(28px, 4vw, 54px) clamp(30px, 4vw, 64px) 28px;
    position: relative;
    z-index: 2;
}

.pilotwire-auth-brand {
    align-items: center;
    align-self: flex-start;
    display: inline-flex;
    margin-bottom: clamp(52px, 9vh, 96px);
    text-decoration: none;
}

.pilotwire-auth-brand img {
    display: block;
    height: auto;
    max-width: 100%;
    width: 218px;
}

.pilotwire-auth-content {
    margin: auto;
    max-width: 410px;
    width: 100%;
}

.pilotwire-auth-view {
    animation: pilotwire-auth-enter .24s ease-out both;
}

.pilotwire-auth-eyebrow {
    color: var(--pw-auth-blue);
    font-size: .71rem;
    font-weight: 800;
    letter-spacing: .13em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pilotwire-auth-heading {
    color: var(--pw-auth-ink);
    font-size: clamp(1.9rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
    margin: 0 0 10px;
}

.pilotwire-auth-intro {
    color: var(--pw-auth-muted);
    font-size: .98rem;
    line-height: 1.55;
    margin: 0 0 30px;
}

.pilotwire-auth-form {
    margin: 0;
}

.pilotwire-auth-status:empty {
    display: none;
}

.pilotwire-auth-status {
    border-radius: 11px;
    font-size: .88rem;
    line-height: 1.4;
    margin-bottom: 18px;
}

.pilotwire-auth-status > .alert {
    border: 1px solid transparent;
    border-radius: 11px;
    margin: 0;
    padding: 11px 13px;
}

.pilotwire-auth-status > .alert-danger {
    background: #fff2f3;
    border-color: #f4cdd0;
    color: #9f2e36;
}

.pilotwire-auth-status > .alert-success {
    background: #eefaf5;
    border-color: #c7eadc;
    color: #116c4e;
}

.pilotwire-auth-status > .alert-info {
    background: #eef4ff;
    border-color: #cbdafd;
    color: #294f9a;
}

.pilotwire-auth-field {
    margin-bottom: 19px;
}

.pilotwire-auth-label-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.pilotwire-auth-field .form-label {
    color: #29364b;
    font-size: .86rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.pilotwire-auth-label-row .form-label {
    margin-bottom: 0;
}

.pilotwire-auth-field .form-control {
    background: #fff;
    border: 1px solid var(--pw-auth-border);
    border-radius: 11px;
    box-shadow: 0 1px 2px rgba(13, 30, 66, .03);
    color: var(--pw-auth-ink);
    font-size: .96rem;
    height: 50px;
    padding: 0 15px;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.pilotwire-auth-field .form-control::placeholder {
    color: #9aa5b5;
}

.pilotwire-auth-field .form-control:hover {
    border-color: #c5cede;
}

.pilotwire-auth-field .form-control:focus {
    background: #fff;
    border-color: var(--pw-auth-blue);
    box-shadow: 0 0 0 4px rgba(65, 105, 232, .12);
    outline: 0;
}

.pilotwire-auth-field .form-control.hasError,
.pilotwire-auth-field .form-control.is-invalid {
    border-color: var(--pw-auth-danger) !important;
    box-shadow: 0 0 0 4px rgba(201, 65, 74, .1);
}

.pilotwire-password-field {
    position: relative;
}

.pilotwire-password-field .form-control {
    padding-right: 50px;
}

.pilotwire-password-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #778398;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 6px;
    top: 6px;
    transition: background-color .16s ease, color .16s ease;
    width: 38px;
}

.pilotwire-password-toggle:hover {
    background: var(--pw-auth-soft);
    color: var(--pw-auth-blue);
}

.pilotwire-password-toggle:focus-visible,
.pilotwire-auth-link:focus-visible,
.pilotwire-auth-submit:focus-visible,
.pilotwire-auth-brand:focus-visible {
    box-shadow: 0 0 0 4px rgba(65, 105, 232, .15);
    outline: 2px solid var(--pw-auth-blue);
    outline-offset: 2px;
}

.pilotwire-auth-options {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: -1px 0 24px;
}

.pilotwire-auth-remember {
    align-items: center;
    color: #4f5d72;
    cursor: pointer;
    display: inline-flex;
    font-size: .86rem;
    gap: 9px;
    line-height: 1.3;
    margin: 0;
}

.pilotwire-auth-remember .form-check-input {
    border: 1px solid #b9c3d3;
    border-radius: 5px;
    box-shadow: none;
    flex: 0 0 auto;
    height: 18px;
    margin: 0;
    width: 18px;
}

.pilotwire-auth-remember .form-check-input:checked {
    background-color: var(--pw-auth-blue);
    border-color: var(--pw-auth-blue);
}

.pilotwire-auth-remember .form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(65, 105, 232, .13);
}

.pilotwire-auth-link {
    background: none;
    border: 0;
    color: var(--pw-auth-blue);
    font-size: .86rem;
    font-weight: 700;
    padding: 2px 0;
    text-decoration: none;
}

.pilotwire-auth-link:hover {
    color: var(--pw-auth-blue-dark);
    text-decoration: underline;
}

.pilotwire-auth-submit {
    align-items: center;
    background: linear-gradient(135deg, #496fe9 0%, #315bd9 100%);
    border: 0;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(49, 91, 217, .2);
    color: #fff;
    display: inline-flex;
    font-size: .96rem;
    font-weight: 800;
    height: 51px;
    justify-content: center;
    letter-spacing: .005em;
    padding: 0 20px;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
    width: 100%;
}

.pilotwire-auth-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #3d64de 0%, #264fcb 100%);
    box-shadow: 0 11px 24px rgba(49, 91, 217, .27);
    color: #fff;
    transform: translateY(-1px);
}

.pilotwire-auth-submit:active:not(:disabled) {
    box-shadow: 0 5px 12px rgba(49, 91, 217, .18);
    transform: translateY(0);
}

.pilotwire-auth-submit:disabled {
    box-shadow: none;
    cursor: wait;
    opacity: .68;
}

.pilotwire-auth-assurance {
    align-items: center;
    color: #7a8698;
    display: flex;
    font-size: .78rem;
    gap: 8px;
    justify-content: center;
    line-height: 1.4;
    margin-top: 18px;
    text-align: center;
}

.pilotwire-auth-assurance i {
    color: var(--pw-auth-success);
}

.pilotwire-auth-back {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    margin-top: 21px;
    width: 100%;
}

.pilotwire-auth-panel-footer {
    align-items: center;
    color: #8b96a6;
    display: flex;
    font-size: .74rem;
    gap: 12px;
    justify-content: space-between;
    margin-top: clamp(48px, 8vh, 90px);
}

.pilotwire-auth-help {
    color: #647188;
}

.pilotwire-auth-story {
    align-items: flex-end;
    background-image: linear-gradient(180deg, rgba(5, 17, 47, .16) 0%, rgba(5, 17, 47, .5) 60%, rgba(5, 17, 47, .86) 100%), url("../images/bg-auth-pilotwire.webp");
    background-position: center;
    background-size: cover;
    color: #fff;
    display: flex;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
    padding: clamp(46px, 6vw, 88px);
    position: relative;
}

.pilotwire-auth-story::before {
    background: radial-gradient(circle at 78% 18%, rgba(245, 139, 54, .2), transparent 34%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.pilotwire-auth-story-content {
    max-width: 680px;
}

.pilotwire-auth-story-kicker {
    align-items: center;
    display: flex;
    font-size: .73rem;
    font-weight: 800;
    gap: 9px;
    letter-spacing: .13em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.pilotwire-auth-story-kicker::before {
    background: var(--pw-auth-orange);
    border-radius: 999px;
    content: "";
    height: 8px;
    width: 8px;
}

.pilotwire-auth-story h2 {
    color: #fff;
    font-size: clamp(2.3rem, 4.2vw, 4rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.04;
    margin: 0 0 21px;
    max-width: 670px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .2);
}

.pilotwire-auth-story-lead {
    color: rgba(255, 255, 255, .83);
    font-size: clamp(.98rem, 1.4vw, 1.12rem);
    line-height: 1.6;
    margin: 0 0 31px;
    max-width: 590px;
}

.pilotwire-auth-story-points {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pilotwire-auth-story-point {
    backdrop-filter: blur(12px);
    background: rgba(9, 26, 66, .68);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    min-height: 106px;
    padding: 16px;
}

.pilotwire-auth-story-point i {
    color: #ffad6b;
    font-size: .98rem;
    margin-bottom: 13px;
}

.pilotwire-auth-story-point strong,
.pilotwire-auth-story-point span {
    display: block;
}

.pilotwire-auth-story-point strong {
    color: #fff;
    font-size: .88rem;
    margin-bottom: 4px;
}

.pilotwire-auth-story-point span {
    color: rgba(255, 255, 255, .67);
    font-size: .76rem;
    line-height: 1.35;
}

.pilotwire-auth-mobile-context {
    display: none;
}

.pilotwire-auth-noscript {
    background: #fff4e8;
    border: 1px solid #f3d4b2;
    border-radius: 10px;
    color: #7a4b18;
    font-size: .84rem;
    margin-bottom: 18px;
    padding: 11px 13px;
}

@keyframes pilotwire-auth-enter {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .pilotwire-auth-shell {
        grid-template-columns: minmax(420px, 43%) minmax(0, 1fr);
    }

    .pilotwire-auth-story {
        padding: 48px;
    }

    .pilotwire-auth-story-points {
        grid-template-columns: 1fr;
        max-width: 390px;
    }

    .pilotwire-auth-story-point {
        align-items: center;
        display: grid;
        gap: 0 12px;
        grid-template-columns: 28px 1fr;
        min-height: 0;
        padding: 13px 15px;
    }

    .pilotwire-auth-story-point i {
        grid-row: 1 / span 2;
        margin: 0;
    }
}

@media (max-width: 800px) {
    .pilotwire-auth-shell {
        background: linear-gradient(180deg, #f2f6fc 0, #fff 220px);
        display: block;
        min-height: 100vh;
        min-height: 100svh;
    }

    .pilotwire-auth-panel {
        background: transparent;
        min-height: 100vh;
        min-height: 100svh;
        padding: 28px 24px 22px;
    }

    .pilotwire-auth-brand {
        margin-bottom: 49px;
    }

    .pilotwire-auth-brand img {
        width: 190px;
    }

    .pilotwire-auth-content {
        background: #fff;
        border: 1px solid #e2e8f1;
        border-radius: 20px;
        box-shadow: 0 16px 44px rgba(12, 30, 68, .09);
        margin: 0 auto;
        max-width: 460px;
        padding: 29px 25px;
    }

    .pilotwire-auth-mobile-context {
        align-items: center;
        color: #6d798d;
        display: flex;
        font-size: .78rem;
        gap: 8px;
        justify-content: center;
        margin: 0 auto 22px;
        max-width: 440px;
        text-align: center;
    }

    .pilotwire-auth-mobile-context i {
        color: var(--pw-auth-orange);
    }

    .pilotwire-auth-story {
        display: none;
    }

    .pilotwire-auth-panel-footer {
        margin: auto auto 0;
        max-width: 460px;
        padding-top: 38px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pilotwire-auth-panel {
        padding: 23px 16px 18px;
    }

    .pilotwire-auth-brand {
        margin-bottom: 34px;
    }

    .pilotwire-auth-brand img {
        width: 174px;
    }

    .pilotwire-auth-content {
        border-radius: 17px;
        padding: 25px 19px;
    }

    .pilotwire-auth-heading {
        font-size: 1.82rem;
    }

    .pilotwire-auth-intro {
        font-size: .9rem;
        margin-bottom: 25px;
    }

    .pilotwire-auth-options {
        align-items: flex-start;
        gap: 12px;
    }

    .pilotwire-auth-remember,
    .pilotwire-auth-link {
        font-size: .81rem;
    }

    .pilotwire-auth-panel-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* Public, email-verified business signup shares the sign-in visual language. */
.pilotwire-signup-body .pilotwire-auth-panel {
    padding-top: 30px;
}

.pilotwire-signup-body .pilotwire-auth-brand {
    margin-bottom: clamp(28px, 5vh, 48px);
}

.pilotwire-signup-content {
    margin: 0 auto auto;
    max-width: 460px;
}

.pilotwire-signup-body .pilotwire-auth-intro {
    margin-bottom: 22px;
}

.pilotwire-signup-body .pilotwire-auth-field {
    margin-bottom: 14px;
}

.pilotwire-signup-body .form-control {
    display: block;
    font: inherit;
    width: 100%;
}

.pilotwire-signup-roles {
    border: 0;
    display: grid;
    gap: 8px;
    margin: 0 0 23px;
    min-width: 0;
    padding: 0;
}

.pilotwire-signup-roles legend {
    color: #29364b;
    float: none;
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: 9px;
    width: auto;
}

.pilotwire-signup-role {
    align-items: center;
    background: #fff;
    border: 1px solid var(--pw-auth-border);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    padding: 11px 13px;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.pilotwire-signup-role:hover,
.pilotwire-signup-role:has(input:checked) {
    background: #f4f7ff;
    border-color: #7f9af0;
}

.pilotwire-signup-role:has(input:focus-visible) {
    box-shadow: 0 0 0 4px rgba(65, 105, 232, .13);
}

.pilotwire-signup-role input {
    accent-color: var(--pw-auth-blue);
    flex: 0 0 auto;
    height: 17px;
    margin: 0;
    width: 17px;
}

.pilotwire-signup-role strong,
.pilotwire-signup-role small {
    display: block;
}

.pilotwire-signup-role strong {
    color: var(--pw-auth-ink);
    font-size: .9rem;
    line-height: 1.25;
}

.pilotwire-signup-role small {
    color: var(--pw-auth-muted);
    font-size: .76rem;
    line-height: 1.35;
    margin-top: 2px;
}

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

.pilotwire-signup-fine {
    color: var(--pw-auth-muted);
    font-size: .77rem;
    line-height: 1.5;
    margin: 13px 0 0;
}

.pilotwire-signup-signin {
    color: var(--pw-auth-muted);
    font-size: .85rem;
    margin: 24px 0 0;
    text-align: center;
}

.pilotwire-signup-signin a {
    color: var(--pw-auth-blue);
    font-weight: 750;
    text-decoration: none;
}

.pilotwire-signup-signin a:hover {
    text-decoration: underline;
}

.pilotwire-signup-action {
    text-decoration: none;
}

.pilotwire-signup-honeypot {
    left: -10000px;
    position: absolute;
}

@media (max-width: 480px) {
    .pilotwire-signup-name-row {
        gap: 0;
        grid-template-columns: 1fr;
    }

    .pilotwire-signup-body .pilotwire-auth-brand {
        margin-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pilotwire-auth-view {
        animation: none;
    }

    .pilotwire-auth-submit,
    .pilotwire-auth-field .form-control {
        transition: none;
    }
}
