css
/* =========================================================
   SHIFTIFY SCOUTS — REFER & EARN SIGNUP PAGE
   FULL RESPONSIVE
   ========================================================= */

.scout-signup-page,
.scout-signup-page * {
    box-sizing: border-box;
}

.scout-signup-page {
    min-height: calc(100vh - 70px);

    display: flex;
    align-items: center;

    padding: 34px 20px;

    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(255, 90, 31, .055),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f8fafb 0%,
            #ffffff 55%,
            #f6f9f7 100%
        );

    color: #18283b;

    width: 100%;

    overflow-x: hidden;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.scout-signup-container {
    width: 100%;
    max-width: 1080px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(360px, .92fr);

    gap: 36px;

    align-items: center;
}


/* =========================================================
   LEFT — REFER & EARN
   ========================================================= */

.scout-signup-intro {
    position: relative;

    width: 100%;
    max-width: 530px;

    padding: 5px 0;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.scout-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 5px 12px;

    background: #fff4ee;

    border: 1px solid #ffd9ca;

    border-radius: 50px;

    color: #ff5a1f;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .9px;
    text-transform: uppercase;
}

.scout-eyebrow > span {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    border-radius: 50%;

    background: #ff5a1f;

    box-shadow:
        0 0 0 3px rgba(255, 90, 31, .10);
}


/* =========================================================
   HERO HEADING
   ========================================================= */

.scout-signup-intro h1 {
    margin: 15px 0 11px;

    color: #10243b;

    font-size: clamp(34px, 4vw, 46px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1.2px;
}

.scout-signup-intro h1 strong {
    display: block;

    color: #ff5a1f;

    font-weight: 800;
}


/* =========================================================
   INTRO COPY
   ========================================================= */

.scout-intro-copy {
    max-width: 490px;

    margin: 0;

    color: #6d7c8b;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   EARNING HIGHLIGHT
   ========================================================= */

.scout-earning-highlight {
    width: min(455px, 100%);

    margin-top: 23px;

    padding: 14px 16px;

    display: flex;
    align-items: center;

    gap: 13px;

    background: #ffffff;

    border: 1px solid #e4e9ed;

    border-left: 3px solid #ff5a1f;

    border-radius: 9px;

    box-shadow:
        0 7px 22px rgba(24, 40, 59, .045);
}


/* earning icon */

.scout-earning-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #ff5a1f;

    color: #ffffff;

    font-size: 18px;
    font-weight: 800;

    box-shadow:
        0 6px 16px rgba(255, 90, 31, .16);
}


/* earning content */

.scout-earning-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.scout-earning-content > span {
    color: #789084;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;
}

.scout-earning-content > strong {
    margin-top: 2px;

    color: #10243b;

    font-size: 25px;

    line-height: 1;

    font-weight: 850;
}

.scout-earning-content > small {
    margin-top: 4px;

    color: #87939d;

    font-size: 10px;

    line-height: 1.4;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.scout-how-it-works {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-top: 23px;
}

.scout-how-title {
    margin-bottom: 1px;

    color: #81908a;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   MINI STEP
   ========================================================= */

.scout-mini-step {
    display: flex;
    align-items: center;

    gap: 11px;
}

.scout-mini-step > span {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid #dce4e9;

    border-radius: 50%;

    color: #4b6b57;

    font-size: 11px;

    font-weight: 800;
}

.scout-mini-step > div {
    min-width: 0;
}

.scout-mini-step strong {
    display: block;

    color: #253b50;

    font-size: 10px;

    font-weight: 750;
}

.scout-mini-step small {
    display: block;

    margin-top: 2px;

    color: #8a969f;

    font-size: 10px;

    line-height: 1.35;
}


/* =========================================================
   REFERRAL MESSAGE
   ========================================================= */

.scout-referral-message {
    margin-top: 21px;

    padding-top: 15px;

    border-top: 1px solid #e8edef;
}

.scout-referral-message strong {
    display: block;

    color: #253b50;

    font-size: 12px;

    line-height: 1.45;

    font-weight: 800;
}

.scout-referral-message strong span {
    color: #ff5a1f;
}

.scout-referral-message p {
    max-width: 470px;

    margin: 5px 0 0;

    color: #8a969f;

    font-size: 10px;

    line-height: 1.55;
}


/* =========================================================
   INTRO POINTS
   ========================================================= */

.scout-intro-points {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 14px;
}

.scout-intro-points span {
    display: inline-flex;

    align-items: center;

    min-height: 23px;

    padding: 0 9px;

    background: #ffffff;

    border: 1px solid #e2e8ec;

    border-radius: 5px;

    color: #687a72;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   RIGHT — SIGNUP CARD
   ========================================================= */

.scout-signup-card {
    width: 100%;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #dfe6eb;

    border-radius: 12px;

    box-shadow:
        0 9px 30px rgba(24, 40, 59, .055);
}


/* =========================================================
   FORM HEADER
   ========================================================= */

.scout-form-header {
    margin-bottom: 17px;
}

.scout-form-label {
    color: #64806c;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.scout-form-header h2 {
    margin: 5px 0 4px;

    color: #10243b;

    font-size: 21px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -.3px;
}

.scout-form-header h2 span {
    color: #ff5a1f;
}

.scout-form-header p {
    margin: 0;

    color: #84919c;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.scout-signup-form {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.scout-field {
    min-width: 0;

    display: flex;

    flex-direction: column;
}

.scout-field-full {
    grid-column: 1 / -1;
}


/* =========================================================
   LABEL
   ========================================================= */

.scout-field label {
    margin-bottom: 5px;

    color: #34495c;

    font-size: 11px;

    font-weight: 700;
}

.scout-field label > span {
    color: #ff5a1f;
}


/* =========================================================
   INPUT
   ========================================================= */

.scout-input {
    width: 100%;

    height: 39px;

    padding: 8px 11px;

    background: #f8fafb;

    border: 1px solid #d9e1e7;

    border-radius: 7px;

    outline: none;

    color: #29445b;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    font-weight: 500;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.scout-input::placeholder {
    color: #a0abb4;

    font-weight: 400;
}

.scout-input:hover {
    border-color: #cbd5dc;
}

.scout-input:focus {
    background: #ffffff;

    border-color: #ff5a1f;

    box-shadow:
        0 0 0 3px rgba(255, 90, 31, .09);
}


/* =========================================================
   VALIDATION
   ========================================================= */

.scout-error {
    display: block;

    margin-top: 4px;

    color: #c85a4a;

    font-size: 10px;

    line-height: 1.3;
}


/* =========================================================
   TERMS
   ========================================================= */

.scout-terms {
    grid-column: 1 / -1;

    padding: 10px 0 1px;

    border-top: 1px solid #edf0f2;
}

.scout-checkbox {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    cursor: pointer;
}

.scout-checkbox input {
    width: 14px;
    height: 14px;

    flex: 0 0 14px;

    margin: 1px 0 0;

    accent-color: #ff5a1f;

    cursor: pointer;
}

.scout-checkbox span {
    color: #7b8791;

    font-size: 7.5px;

    line-height: 1.5;
}

.scout-checkbox a {
    color: #315d3a;

    font-weight: 700;

    text-decoration: none;
}

.scout-checkbox a:hover {
    color: #ff5a1f;

    text-decoration: underline;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.scout-submit-button {
    grid-column: 1 / -1;

    width: 100%;

    min-height: 42px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 0;

    border-radius: 7px;

    background: #ff5a1f;

    color: #ffffff;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.scout-submit-button:hover {
    background: #e94f17;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(255, 90, 31, .17);
}

.scout-submit-button:active {
    transform: translateY(0);
}

.scout-submit-button span {
    color: #ffffff;

    font-size: 14px;

    line-height: 1;
}


/* =========================================================
   LOGIN
   ========================================================= */

.scout-login-link {
    grid-column: 1 / -1;

    text-align: center;

    color: #8a969f;

    font-size: 10px;
}

.scout-login-link a {
    color: #315d3a;

    font-weight: 750;

    text-decoration: none;
}

.scout-login-link a:hover {
    color: #ff5a1f;
}


/* =========================================================
   FLASH MESSAGES
   ========================================================= */

.scout-success-message,
.scout-error-message {
    padding: 8px 10px;

    margin-bottom: 11px;

    border-radius: 5px;

    font-size: 10px;

    line-height: 1.4;

    font-weight: 600;
}

.scout-success-message {
    background: #f0fdf4;

    border: 1px solid #bbf7d0;

    color: #166534;
}

.scout-error-message {
    background: #fff1f2;

    border: 1px solid #fecdd3;

    color: #be123c;
}


/* =========================================================
   FORM LOADER
   ========================================================= */

.scout-form-loader {
    display: none;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 10px;

    color: #64748b;

    font-size: 10px;
}

.scout-form-loader.active {
    display: flex;
}

.scout-loader-spinner {
    width: 14px;
    height: 14px;

    border: 2px solid #e2e8f0;

    border-top-color: #ff5a1f;

    border-radius: 50%;

    animation: scoutSpin .7s linear infinite;
}

@keyframes scoutSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 990px) {

    .scout-signup-page {
        align-items: flex-start;

        padding: 28px 16px;
    }

    .scout-signup-container {
        grid-template-columns: 1fr;

        gap: 28px;

        max-width: 720px;
    }

    .scout-signup-intro {
        max-width: 650px;

        margin: 0 auto;

        text-align: center;
    }

    .scout-signup-intro h1 {
        font-size: 34px;
    }

    .scout-intro-copy {
        margin: 0 auto;
    }

    .scout-earning-highlight {
        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }

    .scout-how-it-works {
        width: min(440px, 100%);

        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }

    .scout-referral-message {
        text-align: left;
    }

    .scout-intro-points {
        justify-content: center;
    }

    .scout-signup-card {
        max-width: 600px;

        margin: 0 auto;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .scout-signup-page {
        min-height: auto;

        display: block;

        padding: 18px 11px;
    }

    .scout-signup-container {
        gap: 20px;
    }

    .scout-signup-intro {
        text-align: left;
    }

    .scout-signup-intro h1 {
        margin-top: 13px;

        font-size: 28px;

        letter-spacing: -.8px;
    }

    .scout-intro-copy {
        font-size: 10px;

        line-height: 1.65;
    }

    .scout-earning-highlight {
        width: 100%;

        margin-top: 18px;

        padding: 12px 13px;
    }

    .scout-earning-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        font-size: 16px;
    }

    .scout-earning-content > strong {
        font-size: 22px;
    }

    .scout-how-it-works {
        width: 100%;

        margin-top: 19px;
    }

    .scout-mini-step {
        gap: 9px;
    }

    .scout-mini-step > span {
        width: 28px;
        height: 28px;

        flex-basis: 28px;

        font-size: 10px;
    }

    .scout-mini-step strong {
        font-size: 11px;
    }

    .scout-mini-step small {
        font-size: 7.5px;
    }

    .scout-referral-message {
        margin-top: 18px;

        padding-top: 13px;
    }

    .scout-referral-message strong {
        font-size: 10px;
    }

    .scout-referral-message p {
        font-size: 7.5px;
    }

    .scout-intro-points {
        justify-content: flex-start;

        margin-top: 12px;
    }

    .scout-intro-points span {
        font-size: 6.5px;
    }


    /* FORM */

    .scout-signup-card {
        max-width: none;

        padding: 19px 16px;

        border-radius: 9px;
    }

    .scout-form-header {
        margin-bottom: 15px;
    }

    .scout-form-header h2 {
        font-size: 19px;
    }

    .scout-form-header p {
        font-size: 10px;
    }

    .scout-signup-form {
        grid-template-columns: 1fr;

        gap: 11px;
    }

    .scout-field-full {
        grid-column: auto;
    }

    .scout-field label {
        font-size: 11px;
    }

    /*
     * 16px prevents browser zoom on iOS.
     * Keep this only on mobile.
     */

    .scout-input {
        height: 42px;

        font-size: 16px !important;
    }

    .scout-terms {
        grid-column: auto;

        padding-top: 9px;
    }

    .scout-checkbox span {
        font-size: 7.5px;
    }

    .scout-submit-button {
        grid-column: auto;

        min-height: 45px;

        font-size: 11px;
    }

    .scout-login-link {
        grid-column: auto;

        font-size: 10px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .scout-signup-page {
        padding: 13px 8px;
    }

    .scout-signup-intro h1 {
        font-size: 25px;
    }

    .scout-intro-copy {
        font-size: 11px;
    }

    .scout-signup-card {
        padding: 17px 12px;
    }

    .scout-form-header h2 {
        font-size: 18px;
    }

    .scout-input {
        height: 41px;
    }

    .scout-checkbox span {
        font-size: 11px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 320px) {

    .scout-signup-intro h1 {
        font-size: 23px;
    }

    .scout-earning-content > strong {
        font-size: 20px;
    }

    .scout-signup-card {
        padding: 15px 10px;
    }

    .scout-submit-button {
        min-height: 43px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.scout-signup-page input:focus-visible,
.scout-signup-page button:focus-visible,
.scout-signup-page a:focus-visible {
    outline: 2px solid rgba(255, 90, 31, .35);

    outline-offset: 2px;
}

