/* =========================================================
   SHIFTIFY PACKERS
   ENTRY PAGE
   ========================================================= */

:root {
    --packers-blue: #0050A0;
    --packers-blue-dark: #003F7F;
    --packers-blue-soft: #EEF5FC;

    --packers-orange: #FF5A00;
    --packers-orange-dark: #E94F00;
    --packers-orange-soft: #FFF3EC;

    --packers-text: #172033;
    --packers-muted: #687386;
    --packers-light-text: #8993A1;

    --packers-bg: #F5F8FB;
    --packers-white: #FFFFFF;

    --packers-border: #E3E9F0;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;

    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: var(--packers-bg);

    color: var(--packers-text);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;
}


/* =========================================================
   PAGE
   ========================================================= */

.packers-entry {
    width: 100%;
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.packers-entry__card {
    position: relative;

    width: 100%;
    max-width: 960px;

    margin: 0 auto;

    background: var(--packers-white);

    border: 1px solid var(--packers-border);

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 18px 50px rgba(0, 50, 100, .08);
}


/* =========================================================
   HERO
   Reduced top/bottom spacing
   ========================================================= */

.packers-entry__hero {
    position: relative;

    width: 100%;

    margin: 0;

    padding: 18px 60px 32px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #FFFFFF 0%,
            #F8FAFD 100%
        );
}


/* =========================================================
   BRAND
   Logo + Powered by
   ========================================================= */

.packers-brand {
    position: relative;

    width: 100%;

    min-height: auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    margin: 0 auto 10px;

    padding: 0;

    text-align: center;

    border: 0;

    background: transparent;
}


/* =========================================================
   LOGO LINK
   ========================================================= */

.packers-brand__logo {
    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto;

    padding: 0;

    line-height: 0;

    text-align: center;

    text-decoration: none;
}


/* =========================================================
   LOGO IMAGE
   ========================================================= */

.packers-brand__logo-image {
    display: block;

    width: auto;

    height: 88px;

    max-width: 420px;

    margin: 0 auto;

    object-fit: contain;

    object-position: center center;
}


/* =========================================================
   POWERED BY
   ========================================================= */

.packers-brand__powered {
    margin: 1px 0 0;

    padding: 0;

    color: var(--packers-light-text);

    font-size: 10px;

    font-weight: 500;

    line-height: 1.3;

    text-align: center;

    letter-spacing: .015em;
}

.packers-brand__powered strong {
    color: var(--packers-blue);

    font-weight: 700;
}


/* =========================================================
   PACKERS NETWORK
   ========================================================= */

.packers-entry__eyebrow {
    width: 100%;

    margin: 0 auto 8px;

    padding: 0;

    text-align: center;

    color: var(--packers-orange);

    font-size: 10px;

    font-weight: 800;

    line-height: 1.3;

    letter-spacing: .12em;
}


/* =========================================================
   MAIN HEADING
   ========================================================= */

.packers-entry__hero h1 {
    width: 100%;

    max-width: 650px;

    margin: 0 auto;

    padding: 0;

    text-align: center;

    color: var(--packers-text);

    font-size: 40px;

    font-weight: 700;

    line-height: 1.06;

    letter-spacing: -.035em;
}

.packers-entry__hero h1 span {
    display: block;

    margin-top: 2px;

    text-align: center;

    color: var(--packers-blue);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.packers-entry__hero p {
    width: 100%;

    max-width: 570px;

    margin: 14px auto 0;

    padding: 0;

    text-align: center;

    color: var(--packers-muted);

    font-size: 14px;

    line-height: 1.55;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.packers-entry__actions {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin: 22px auto 0;
}


/* =========================================================
   BUTTON BASE
   ========================================================= */

.packers-btn {
    min-height: 44px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 20px;

    border-radius: 9px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.packers-btn:hover {
    transform: translateY(-1px);
}

.packers-btn span {
    font-size: 16px;

    line-height: 1;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.packers-btn--primary {
    background: var(--packers-blue);

    color: #FFFFFF;

    border: 1px solid var(--packers-blue);

    box-shadow:
        0 7px 18px rgba(0, 80, 160, .18);
}

.packers-btn--primary:hover {
    background: var(--packers-blue-dark);

    border-color: var(--packers-blue-dark);

    box-shadow:
        0 9px 22px rgba(0, 80, 160, .24);
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.packers-btn--secondary {
    background: var(--packers-orange-soft);

    color: var(--packers-orange);

    border: 1px solid rgba(255, 90, 0, .16);
}

.packers-btn--secondary:hover {
    background: #FFE9DD;

    box-shadow:
        0 6px 16px rgba(255, 90, 0, .10);
}


/* =========================================================
   PLANS
   ========================================================= */

.packers-tiers {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    padding: 0 24px 20px;

    background: var(--packers-white);
}


/* =========================================================
   TIER
   ========================================================= */

.packers-tier {
    min-width: 0;

    padding: 16px 18px;

    border: 1px solid var(--packers-border);

    border-radius: 12px;

    background: var(--packers-white);

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.packers-tier:hover {
    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(0, 50, 100, .06);
}


/* =========================================================
   PREMIUM
   ========================================================= */

.packers-tier--premium {
    border-color: rgba(255, 90, 0, .22);

    background:
        linear-gradient(
            145deg,
            #FFFFFF 0%,
            #FFF7F2 100%
        );
}

.packers-tier--premium:hover {
    border-color: rgba(255, 90, 0, .32);
}


/* =========================================================
   TIER TOP
   ========================================================= */

.packers-tier__top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 9px;
}


/* =========================================================
   TIER LABEL
   ========================================================= */

.packers-tier__label {
    color: var(--packers-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .08em;
}

.packers-tier--premium .packers-tier__label {
    color: var(--packers-orange);
}


/* =========================================================
   PRICE
   ========================================================= */

.packers-tier__price {
    color: var(--packers-blue);

    font-size: 14px;

    font-weight: 800;
}

.packers-tier--premium .packers-tier__price {
    color: var(--packers-orange);
}

.packers-tier__price span {
    margin-left: 2px;

    color: var(--packers-light-text);

    font-size: 10px;

    font-weight: 500;
}


/* =========================================================
   FEATURES
   ========================================================= */

.packers-tier ul {
    margin: 0;

    padding: 0;

    display: flex;

    flex-wrap: wrap;

    gap: 5px 16px;

    list-style: none;
}

.packers-tier li {
    position: relative;

    padding-left: 12px;

    color: var(--packers-muted);

    font-size: 11px;

    line-height: 1.5;
}

.packers-tier li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color: var(--packers-orange);

    font-size: 10px;

    font-weight: 800;
}


/* =========================================================
   FOOTER
   ========================================================= */

.packers-entry__footer {
    min-height: 44px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 24px;

    border-top: 1px solid var(--packers-border);

    background: var(--packers-white);

    color: var(--packers-light-text);

    font-size: 10px;
}


/* =========================================================
   LANGUAGE
   ========================================================= */

.packers-language {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    color: var(--packers-blue);

    font-weight: 700;
}


/* =========================================================
   LANGUAGE BUTTONS
   ========================================================= */

.packers-language__option {
    padding: 3px 4px;

    border: 0;

    background: transparent;

    color: var(--packers-muted);

    font: inherit;

    font-size: 10px;

    font-weight: 700;

    cursor: pointer;

    transition: color .15s ease;
}

.packers-language__option:hover {
    color: var(--packers-blue);
}

.packers-language__option.is-active {
    color: var(--packers-orange);
}


/* =========================================================
   LOADING
   ========================================================= */

.packers-btn.is-loading {
    opacity: .7;

    pointer-events: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 700px) {

    .packers-entry {
        padding: 10px;

        align-items: stretch;
    }

    .packers-entry__card {
        border-radius: 15px;
    }

    .packers-entry__hero {
        padding: 16px 22px 28px;
    }


    /* BRAND */

    .packers-brand {
        margin-bottom: 8px;
    }

    .packers-brand__logo-image {
        height: 78px;

        max-width: 350px;
    }

    .packers-brand__powered {
        margin-top: 1px;

        font-size: 9.5px;
    }


    /* HEADING */

    .packers-entry__hero h1 {
        font-size: 36px;
    }


    /* DESCRIPTION */

    .packers-entry__hero p {
        font-size: 13px;

        margin-top: 12px;
    }


    /* ACTIONS */

    .packers-entry__actions {
        margin-top: 20px;
    }


    /* PLANS */

    .packers-tiers {
        padding: 0 14px 14px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .packers-entry {
        min-height: 100vh;

        padding: 0;

        align-items: stretch;
    }

    .packers-entry__card {
        width: 100%;

        min-height: 100vh;

        border: 0;

        border-radius: 0;

        box-shadow: none;
    }

    .packers-entry__hero {
        padding: 14px 18px 26px;
    }


    /* BRAND */

    .packers-brand {
        margin-bottom: 7px;
    }

    .packers-brand__logo-image {
        height: 70px;

        max-width: 300px;
    }

    .packers-brand__powered {
        margin-top: 0;

        font-size: 9px;
    }


    /* EYEBROW */

    .packers-entry__eyebrow {
        margin-bottom: 8px;

        font-size: 9px;

        letter-spacing: .11em;
    }


    /* HEADING */

    .packers-entry__hero h1 {
        max-width: 100%;

        font-size: 32px;

        line-height: 1.08;
    }


    /* DESCRIPTION */

    .packers-entry__hero p {
        max-width: 100%;

        margin-top: 12px;

        font-size: 13px;

        line-height: 1.55;
    }


    /* ACTIONS */

    .packers-entry__actions {
        flex-direction: column;

        width: 100%;

        max-width: 330px;

        margin: 20px auto 0;

        gap: 8px;
    }

    .packers-btn {
        width: 100%;

        min-height: 44px;
    }


    /* PLANS */

    .packers-tiers {
        grid-template-columns: 1fr;

        gap: 9px;

        padding: 0 16px 16px;
    }


    /* FOOTER */

    .packers-entry__footer {
        min-height: 44px;

        padding: 0 16px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 360px) {

    .packers-entry__hero {
        padding: 12px 16px 22px;
    }


    /* BRAND */

    .packers-brand {
        margin-bottom: 6px;
    }

    .packers-brand__logo-image {
        height: 62px;

        max-width: 275px;
    }

    .packers-brand__powered {
        font-size: 8.5px;
    }


    /* EYEBROW */

    .packers-entry__eyebrow {
        margin-bottom: 7px;

        font-size: 8px;

        letter-spacing: .10em;
    }


    /* HEADING */

    .packers-entry__hero h1 {
        font-size: 29px;
        line-height: 1.08;
    }


    /* DESCRIPTION */

    .packers-entry__hero p {
        font-size: 12px;
        line-height: 1.55;
    }


    /* ACTIONS */

    .packers-entry__actions {
        margin-top: 18px;
    }


    /* PLANS */

    .packers-tiers {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 14px;
    }

    .packers-tier {
        padding: 14px 15px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.packers-btn:focus-visible,
.packers-language__option:focus-visible,
.packers-brand__logo:focus-visible {
    outline: 3px solid rgba(255, 90, 0, .25);

    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .packers-btn,
    .packers-tier,
    .packers-language__option {
        transition: none;
    }
}
