/* ==========================================================================
   SHIFTIFY AMP — ENTERPRISE PARTNER PAGE
   Refined / Professional / Responsive
   Brand:
   Navy  #002B66
   Orange #FF5500
   Light #F7F9FC
   ========================================================================== */


/* ==========================================================================
   1. PAGE
   ========================================================================== */

.amp-page {
    width: 100%;
    background: #ffffff;
    color: #1a1f26;
    overflow: hidden;
}

.amp-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 52px 24px 70px;
}

.amp-steps-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.amp-steps-row .amp-step {
    margin-bottom: 0;
}

/* ==========================================================================
   2. COMPACT HERO
   ========================================================================== */

.amp-hero {
    position: relative;
    min-height: 245px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        radial-gradient(circle at 88% 20%,
            rgba(255, 85, 0, .18),
            transparent 27%),
        linear-gradient(110deg,
            #001f4d 0%,
            #002b66 58%,
            #073c7b 100%);

    color: #ffffff;
}

.amp-hero::before {
    content: "";
    position: absolute;

    width: 390px;
    height: 390px;

    right: -180px;
    top: -220px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow:
        0 0 0 45px rgba(255, 255, 255, .025),
        0 0 0 90px rgba(255, 255, 255, .018),
        0 0 0 135px rgba(255, 255, 255, .012);
}

.amp-hero::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    left: 45%;
    bottom: -130px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .07);
}

.amp-hero-pattern {
    position: absolute;
    inset: 0;

    opacity: .08;

    background-image:
        linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);

    background-size: 40px 40px;

    mask-image: linear-gradient(to right,
            black 0%,
            black 45%,
            transparent 85%);
    -webkit-mask-image: linear-gradient(to right,
            black 0%,
            black 45%,
            transparent 85%);
}

.amp-hero-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1240px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 32px 24px;
}


/* ==========================================================================
   3. HERO CONTENT
   ========================================================================== */

.amp-hero-content {
    max-width: 720px;
}

.amp-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 10px;
    padding: 5px 10px;

    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50px;

    background: rgba(255, 255, 255, .055);

    color: #ff9875;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.15px;
}

.amp-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.06;

    font-weight: 800;
    letter-spacing: -1.4px;
}

.amp-hero h1 span {
    display: block;
    color: #ff6330;
}

.amp-hero-content>p {
    margin: 10px 0 0;

    color: rgba(255, 255, 255, .78);

    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

.amp-hero-line {
    width: 42px;
    height: 3px;

    margin: 12px 0 7px;

    border-radius: 10px;

    background: #ff5500;
}

.amp-hero-content small {
    color: rgba(255, 255, 255, .48);

    font-size: 9px;
    line-height: 1.4;

    letter-spacing: .35px;
}


/* ==========================================================================
   4. HERO BADGE
   ========================================================================== */

.amp-hero-badge {
    min-width: 195px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px;

    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 13px;

    background: rgba(255, 255, 255, .06);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
}

.amp-badge-number {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: linear-gradient(145deg,
            #ff6837,
            #ff4d0d);

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.amp-hero-badge strong {
    display: block;

    color: #ffffff;

    font-size: 13px;
    line-height: 1.2;
}

.amp-hero-badge span {
    display: block;

    margin-top: 3px;

    color: rgba(255, 255, 255, .5);

    font-size: 8px;
    line-height: 1.35;
}


/* ==========================================================================
   5. SECTIONS
   ========================================================================== */

.amp-section {
    margin-bottom: 62px;
}

.amp-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-bottom: 23px;
}

.amp-section-number {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #fff1e9;

    color: #ff5500;

    font-size: 11px;
    font-weight: 800;
}

.amp-label {
    display: block;

    margin-bottom: 4px;

    color: #ff5500;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.amp-section-heading h2 {
    max-width: 800px;

    margin: 0;

    color: #002b66;

    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.15;

    font-weight: 800;
    letter-spacing: -.7px;
}


/* ==========================================================================
   6. INTRO
   ========================================================================== */

.amp-intro-box {
    max-width: 1050px;

    margin-bottom: 27px;
    padding: 20px 23px;

    border-left: 3px solid #ff5500;
    border-radius: 0 10px 10px 0;

    background: #f7f9fc;
}

.amp-intro-box p {
    margin: 0 0 11px;

    color: #56616e;

    font-size: 13px;
    line-height: 1.7;
}

.amp-intro-box p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   7. SUBHEADING
   ========================================================================== */

.amp-subheading {
    margin: 0 0 15px;

    color: #002b66;

    font-size: 18px;
    line-height: 1.3;

    font-weight: 750;
}


/* ==========================================================================
   8. BENEFITS
   ========================================================================== */

.amp-benefits-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.amp-benefit-card {
    position: relative;

    padding: 19px;

    border: 1px solid #e6eaf0;
    border-radius: 12px;

    background: #ffffff;

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.amp-benefit-card:hover {
    transform: translateY(-3px);

    border-color: #ffd1bf;

    box-shadow: 0 12px 30px rgba(0, 43, 102, .07);
}

.amp-benefit-card>span {
    width: 25px;
    height: 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 11px;

    border-radius: 6px;

    background: #fff2eb;

    color: #ff5500;

    font-size: 8px;
    font-weight: 800;
}

.amp-benefit-card h4 {
    margin: 0 0 7px;

    color: #002b66;

    font-size: 14px;
    line-height: 1.35;
}

.amp-benefit-card p {
    margin: 0;

    color: #68727d;

    font-size: 11px;
    line-height: 1.62;
}


/* ==========================================================================
   9. DASHBOARD NOTE
   ========================================================================== */

.amp-dashboard-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin-bottom: 20px;
    padding: 15px 17px;

    border: 1px solid #dce7f3;
    border-radius: 10px;

    background: #f5f9fd;
}

.amp-note-icon {
    width: 29px;
    height: 29px;

    flex: 0 0 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #002b66;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
}

.amp-dashboard-note strong {
    display: block;

    margin-bottom: 3px;

    color: #002b66;

    font-size: 12px;
}

.amp-dashboard-note p {
    margin: 0;

    color: #66717e;

    font-size: 10px;
    line-height: 1.6;
}


/* ==========================================================================
   10. STEP CARD
   ========================================================================== */

.amp-step {
    margin-bottom: 16px;
    padding: 21px;

    border: 1px solid #e5e9ef;
    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 3px 15px rgba(0, 43, 102, .025);
}

.amp-step-header {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 18px;
    padding-bottom: 14px;

    border-bottom: 1px solid #edf0f4;
}

.amp-step-number {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #002b66;

    color: #ffffff;

    font-size: 9px;
    font-weight: 800;
}

.amp-step-header>div>span {
    color: #ff5500;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: .8px;
}

.amp-step-header h3 {
    margin: 2px 0 0;

    color: #002b66;

    font-size: 16px;
    line-height: 1.3;

    font-weight: 750;
}


/* ==========================================================================
   11. FIELDS — 2 COLUMNS
   ========================================================================== */

.amp-fields-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 20px;
    row-gap: 15px;
}

.amp-field {
    min-width: 0;
}

.amp-field-full {
    grid-column: 1 / -1;
}

.amp-field label {
    display: block;

    margin-bottom: 5px;

    color: #303945;

    font-size: 9px;
    line-height: 1.35;

    font-weight: 750;
}

.amp-input {
    width: 100%;
    min-height: 42px;

    display: flex;
    align-items: center;

    padding: 9px 12px;

    border: 1px solid #dfe5ec;
    border-radius: 7px;

    background: #fafbfc;

    color: #7a838e;

    font-size: 9px;
    line-height: 1.45;

    box-sizing: border-box;
}

.amp-input-large {
    min-height: 62px;

    align-items: flex-start;
}

.amp-input-action {
    justify-content: space-between;
    gap: 8px;
}

.amp-input-action span {
    min-width: 0;
}

.amp-input-action button {
    flex: 0 0 auto;

    border: 0;

    padding: 6px 9px;

    border-radius: 5px;

    background: #002b66;

    color: #ffffff;

    font-size: 7px;
    font-weight: 700;

    cursor: pointer;

    transition: background .2s ease;
}

.amp-input-action button:hover {
    background: #ff5500;
}


/* ==========================================================================
   12. FLEET
   ========================================================================== */

.amp-fleet-box {
    margin-top: 18px;
    padding: 15px;

    border-radius: 9px;

    background: #f7f9fc;
}

.amp-fleet-box h4 {
    margin: 0 0 10px;

    color: #002b66;

    font-size: 11px;
}

.amp-fleet-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 9px;
}

.amp-counter {
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 7px;

    padding: 8px 10px;

    border: 1px solid #e2e7ed;
    border-radius: 7px;

    background: #ffffff;
}

.amp-counter span {
    color: #5f6874;

    font-size: 8px;
    line-height: 1.35;
}

.amp-counter strong {
    color: #002b66;

    font-size: 7px;
    white-space: nowrap;
}


/* ==========================================================================
   13. LEGAL
   ========================================================================== */

.amp-legal-section {
    margin-bottom: 50px;
}

.amp-legal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.amp-legal-intro {
    max-width: 900px;

    margin-bottom: 19px;
}

.amp-legal-intro p {
    margin: 0;

    color: #606a76;

    font-size: 12px;
    line-height: 1.65;
}

.amp-agreement-card,
.amp-acceptance-card {
    border: 1px solid #e3e8ef;
    border-radius: 12px;

    background: #ffffff;

    overflow: hidden;
}

.amp-agreement-card {
    margin-bottom: 0;
}

.amp-agreement-header,
.amp-acceptance-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 17px 19px;

    background: #f7f9fc;
}

.amp-agreement-header h3,
.amp-acceptance-header h3 {
    margin: 0;

    color: #002b66;

    font-size: 14px;
    line-height: 1.3;
}

.amp-document-badge {
    padding: 4px 7px;

    border-radius: 5px;

    background: #fff0e9;

    color: #ff5500;

    font-size: 7px;
    font-weight: 800;
}

.amp-agreement-viewer {
    min-height: 130px;

    padding: 18px 20px;

    color: #69727d;

    font-size: 10px;
    line-height: 1.65;
}


/* ==========================================================================
   14. ACCEPTANCE
   ========================================================================== */

.amp-acceptance-card {
    padding-bottom: 17px;
}

.amp-acceptance-header {
    justify-content: flex-start;

    margin-bottom: 17px;
}

.amp-lock-icon {
    width: 33px;
    height: 33px;

    flex: 0 0 33px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #002b66;

    font-size: 13px;
}

.amp-consent {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin: 0 19px 17px;
    padding: 13px;

    border: 1px solid #e7ebef;
    border-radius: 8px;

    background: #fafbfc;
}

.amp-checkbox {
    flex: 0 0 auto;

    color: #ff5500;

    font-size: 14px;
}

.amp-consent p {
    margin: 0;

    color: #626c78;

    font-size: 9px;
    line-height: 1.6;
}


/* ==========================================================================
   15. E-SIGN
   ========================================================================== */

.amp-esign {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 0 19px 15px;
    padding: 16px;

    border-radius: 9px;

    background:
        linear-gradient(110deg,
            #002b66,
            #073d82);

    color: #ffffff;
}

.amp-esign-content {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    min-width: 0;
}

.amp-esign-icon {
    flex: 0 0 auto;
    font-size: 16px;
}

.amp-esign h4 {
    margin: 0 0 4px;

    color: #ffffff;

    font-size: 11px;
    line-height: 1.3;
}

.amp-esign p {
    max-width: 620px;

    margin: 0;

    color: rgba(255, 255, 255, .6);

    font-size: 8px;
    line-height: 1.55;
}

.amp-sign-button {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 38px;

    padding: 8px 12px;

    border: 0;
    border-radius: 7px;

    background: #ff5500;

    color: #ffffff;

    font-size: 8px;
    font-weight: 750;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.amp-sign-button:hover {
    background: #e94b00;
    transform: translateY(-1px);
}

.amp-sign-button span {
    font-size: 12px;
}


/* ==========================================================================
   16. COMPLETION
   ========================================================================== */

.amp-completion {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin: 0 19px;

    padding: 11px 13px;

    border-radius: 7px;

    background: #f0faf4;
}

.amp-completion-icon {
    color: #16964c;

    font-size: 12px;
    font-weight: 800;
}

.amp-completion p {
    margin: 0;

    color: #5d6c64;

    font-size: 8px;
    line-height: 1.6;
}


/* ==========================================================================
   17. FINAL CTA
   ========================================================================== */

.amp-final-cta {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 27px 30px;

    border-radius: 14px;

    overflow: hidden;

    background:
        linear-gradient(110deg,
            #002b66,
            #073b78);

    color: #ffffff;

    box-shadow:
        0 15px 40px rgba(0, 43, 102, .13);
}

.amp-final-cta::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -110px;
    top: -135px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow:
        0 0 0 40px rgba(255, 255, 255, .025),
        0 0 0 80px rgba(255, 255, 255, .015);
}

.amp-final-cta>div {
    position: relative;
    z-index: 2;

    max-width: 730px;
}

.amp-final-cta .amp-label {
    color: #ff9875;
}

.amp-final-cta h2 {
    margin: 5px 0 7px;

    color: #ffffff;

    font-size: clamp(21px, 3vw, 28px);
    line-height: 1.2;

    letter-spacing: -.5px;
}

.amp-final-cta p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, .6);

    font-size: 10px;
    line-height: 1.6;
}

.amp-cta-button {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    flex: 0 0 auto;

    padding: 11px 15px;

    border-radius: 7px;

    background: #ff5500;

    color: #ffffff;

    text-decoration: none;

    font-size: 9px;
    font-weight: 750;

    white-space: nowrap;

    box-shadow:
        0 7px 20px rgba(255, 85, 0, .18);

    transition:
        transform .2s ease,
        background .2s ease;
}

.amp-cta-button:hover {
    background: #e94b00;
    transform: translateY(-2px);
}

.amp-cta-button span {
    font-size: 14px;
}


/* ==========================================================================
   18. LARGE TABLET
   ========================================================================== */

@media (max-width: 1100px) {

    .amp-container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .amp-hero-container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .amp-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================================================
   19. TABLET
   ========================================================================== */

@media (max-width: 991px) {

    .amp-hero {
        min-height: 225px;
    }

    .amp-hero-container {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .amp-hero-badge {
        min-width: 175px;
    }

    .amp-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .amp-fleet-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .amp-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .amp-steps-row {
        grid-template-columns: 1fr;
    }

    .amp-steps-row .amp-step {
        margin-bottom: 20px;
    }
}


/* ==========================================================================
   20. MOBILE
   ========================================================================== */

@media (max-width: 767px) {

    .amp-hero {
        min-height: auto;
    }

    .amp-hero-container {
        flex-direction: column;
        align-items: flex-start;

        gap: 20px;

        padding-top: 27px;
        padding-bottom: 27px;
    }

    .amp-hero-content {
        max-width: 100%;
    }

    .amp-legal-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .amp-agreement-card,
    .amp-acceptance-card {
        width: 100%;
        min-width: 0;
    }

    .amp-hero h1 {
        font-size: 31px;
    }

    .amp-hero-content>p {
        font-size: 12px;
    }

    .amp-hero-badge {
        width: auto;
        min-width: 0;
        max-width: 260px;
    }

    .amp-container {
        padding: 38px 18px 45px;
    }

    .amp-section {
        margin-bottom: 48px;
    }

    .amp-section-heading {
        gap: 10px;
        margin-bottom: 19px;
    }

    .amp-section-number {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .amp-section-heading h2 {
        font-size: 22px;
    }

    .amp-intro-box {
        padding: 17px 18px;
    }

    .amp-intro-box p {
        font-size: 11px;
    }

    .amp-benefits-grid {
        grid-template-columns: 1fr;
    }

    .amp-step {
        padding: 17px;
    }

    /*
     * IMPORTANT:
     * Two fields per row on desktop/tablet.
     * One field per row on mobile.
     */
    .amp-fields-grid {
        grid-template-columns: 1fr;
        row-gap: 13px;
    }

    .amp-field-full {
        grid-column: auto;
    }

    .amp-dashboard-note {
        padding: 14px;
    }

    .amp-fleet-grid {
        grid-template-columns: 1fr;
    }

    .amp-esign {
        flex-direction: column;
        align-items: stretch;
    }

    .amp-sign-button {
        width: 100%;
    }

    .amp-final-cta {
        padding: 23px 20px;
    }

    .amp-cta-button {
        width: 100%;
    }
}


/* ==========================================================================
   21. SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {

    .amp-hero-container {
        padding-top: 23px;
        padding-bottom: 23px;
    }

    .amp-eyebrow {
        font-size: 7px;
        letter-spacing: .9px;
    }

    .amp-hero h1 {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .amp-hero-content>p {
        font-size: 11px;
    }

    .amp-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .amp-section-heading h2 {
        font-size: 20px;
    }

    .amp-step-header h3 {
        font-size: 15px;
    }

    .amp-step {
        padding: 15px;
    }

    .amp-input {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 8px;
    }

    .amp-input-large {
        min-height: 58px;
    }

    .amp-agreement-header,
    .amp-acceptance-header {
        padding: 14px;
    }

    .amp-agreement-viewer {
        padding: 15px;
    }

    .amp-consent,
    .amp-esign,
    .amp-completion {
        margin-left: 14px;
        margin-right: 14px;
    }

    .amp-final-cta h2 {
        font-size: 21px;
    }
}


/* ==========================================================================
   22. EXTRA SMALL DEVICES
   ========================================================================== */

@media (max-width: 360px) {

    .amp-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .amp-hero h1 {
        font-size: 25px;
    }

    .amp-section-heading {
        align-items: flex-start;
    }

    .amp-section-number {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
        font-size: 9px;
    }

    .amp-step-number {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
    }

    .amp-step-header h3 {
        font-size: 14px;
    }

    .amp-input-action {
        align-items: stretch;
        flex-direction: column;
    }

    .amp-input-action button {
        width: 100%;
        padding: 7px;
    }
}


/* ==========================================================================
   23. ACCESSIBILITY
   ========================================================================== */

.amp-input-action button:focus-visible,
.amp-sign-button:focus-visible,
.amp-cta-button:focus-visible {
    outline: 3px solid rgba(255, 85, 0, .3);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before {
        scroll-behavior: auto !important;
        transition: none !important;
    }

}