/*
 * D2C Game — Homepage desktop hero only
 * Target: supplied 1920 × 1080 desktop design.
 * Mobile is intentionally untouched.
 */

.home-hero__badges {
    display: none;
}

@media (min-width: 1024px) {

    :root {
        --hero-desktop-width: 1716px;
        --hero-purple: #7c35ff;
        --hero-yellow: #ffca2b;
    }

    /* ========================================
       HEADER
       ======================================== */

    .home-page .site-header {
        position: relative;
        z-index: 60;

        height: 96px;

        background: #060b10;

        border: 0;
        border-bottom: 1px solid rgba(255,255,255,.13);

        backdrop-filter: none;

        color: #fff;
    }

    .home-page .header-inner {
        width: min(
            var(--hero-desktop-width),
            calc(100% - 104px)
        );

        max-width: none;

        height: 96px;
        min-height: 96px;

        margin: 0 auto;
        padding: 0;

        display: flex;
        align-items: center;

        gap: 0;
    }

    .home-page .brand {
        flex: 0 0 auto;

        color: #fff;

        text-decoration: none;

        font-size: 31px;
        line-height: .92;

        font-weight: 900;

        letter-spacing: -.045em;

        white-space: nowrap;
    }

    .home-page .brand::after {
        content: "BUSINESS SYSTEMS. REAL RESULTS.";

        display: block;

        margin-top: 10px;

        color: #8e96a2;

        font-size: 8px;
        line-height: 1;

        font-weight: 800;

        letter-spacing: .09em;
    }

    .home-page .menu-toggle {
        display: none;
    }

    .home-page .site-nav {
        position: static;

        display: flex;
        align-items: center;

        flex: 1 1 auto;

        gap: 34px;

        margin-left: 238px;

        padding: 0;

        background: transparent;

        border: 0;
    }

    .home-page .site-nav a {
        position: relative;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-height: 48px;

        padding: 0;

        color: #f7f8fa;

        text-decoration: none;

        font-size: 17px;
        line-height: 1;

        font-weight: 650;

        letter-spacing: -.02em;

        white-space: nowrap;
    }

    /* Home active underline */

    .home-page .site-nav a:first-child::after {
        content: "";

        position: absolute;

        left: 0;
        right: 0;

        bottom: -17px;

        height: 2px;

        border-radius: 999px;

        background: #a34fff;
    }

    /* Yellow training CTA */

    .home-page .site-nav a:last-child {
        min-width: 314px;

        height: 60px;
        min-height: 60px;

        margin-left: auto;

        padding: 0 23px;

        gap: 13px;

        border-radius: 8px;

        background:
            linear-gradient(
                90deg,
                #ffd23f 0%,
                #ffc526 100%
            );

        color: #090d11;

        font-size: 18px;

        font-weight: 900;

        letter-spacing: -.025em;

        box-shadow:
            0 8px 24px rgba(255,194,39,.13);
    }

    .home-page .site-nav a:last-child::before {
        content: "▶";

        display: grid;
        place-items: center;

        width: 34px;
        height: 34px;

        border-radius: 50%;

        background: #080c10;

        color: #ffcd31;

        font-size: 12px;

        line-height: 1;

        padding-left: 2px;
    }

    .home-page .site-nav a:last-child::after {
        content: "→";

        position: static;

        width: auto;
        height: auto;

        margin-left: auto;

        background: none;

        color: #0b0e11;

        font-size: 25px;

        font-weight: 500;

        line-height: 1;
    }


    /* ========================================
       HERO WRAPPER
       ======================================== */

    .home-page main {
        overflow: hidden;
    }

    .home-hero {
        position: relative;

        height: calc(100vh - 96px);

        min-height: 884px;
        max-height: 984px;

        margin: 0;
        padding: 0;

        overflow: hidden;

        background: #040910;

        color: #fff;
    }


    /* ========================================
       HERO PHOTO
       ======================================== */

    .home-hero__visual {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        min-height: 0;

        aspect-ratio: auto;

        overflow: hidden;

        background: #050910;
    }

    .home-hero__visual picture,
    .home-hero__visual picture img,
    .home-hero__visual > img {
        display: block;

        width: 100%;
        height: 100%;
    }

    .home-hero__visual picture img,
    .home-hero__visual > img {
        object-fit: cover;

        object-position: center center;
    }


    /* dark overlay */

    .home-hero__image-shade {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        background:

            linear-gradient(
                180deg,
                rgba(3,7,12,.04) 0%,
                rgba(3,7,12,.02) 63%,
                rgba(3,7,12,.24) 100%
            ),

            linear-gradient(
                90deg,
                rgba(3,8,14,.97) 0%,
                rgba(3,8,14,.95) 25%,
                rgba(3,8,14,.90) 35%,
                rgba(3,8,14,.73) 43%,
                rgba(3,8,14,.43) 52%,
                rgba(3,8,14,.17) 66%,
                rgba(3,8,14,.08) 100%
            );

        pointer-events: none;
    }


    /* ========================================
       HERO CONTENT
       ======================================== */

    .home-page .home-hero__content {
        position: relative;

        z-index: 2;

        display: block;

        width: min(
            var(--hero-desktop-width),
            calc(100% - 104px)
        );

        max-width: none;

        height: 100%;

        margin: 0 auto;

        padding: 40px 0 0px;
    }


    /* eyebrow */

    .home-hero__eyebrow {
        margin: 0 0 22px;

        color: #a05bff;

        font-size: 16px;

        line-height: 1.1;

        font-weight: 800;

        letter-spacing: .19em;

        text-transform: uppercase;
    }


    /* main heading */

    .home-hero h1 {
        width: 720px;
        max-width: 720px;

        margin: 0;

        color: #fff;

        font-size: 80px;

        line-height: .91;

        font-weight: 900;

        letter-spacing: -.055em;
    }

    .home-hero h1 span {
        color: #7c35ff;
    }


    /* introduction */

    .home-hero__copy {
        width: 715px;
        max-width: 715px;

        margin: 28px 0 0;

        color: #f0f1f3;

        font-size: 20px;

        line-height: 1.42;

        font-weight: 430;

        letter-spacing: -.016em;
    }


    /* ========================================
       PRIMARY CTA
       ======================================== */

    .home-hero__primary {
        display: grid;

        grid-template-columns:
            44px auto 28px;

        align-items: center;

        column-gap: 17px;

        width: 548px;
        max-width: 548px;

        height: 76px;
        min-height: 76px;

        margin: 24px 0 0;

        padding:
            0 24px
            0 20px;

        border-radius: 11px;

        background:
            linear-gradient(
                90deg,
                #ffd23c 0%,
                #ffc329 100%
            );

        color: #090d11;

        text-decoration: none;

        font-size: 21px;

        line-height: 1;

        font-weight: 900;

        letter-spacing: -.025em;

        box-shadow:
            0 10px 28px
            rgba(255,193,37,.12);
    }

    .home-hero__play {
        display: grid;

        place-items: center;

        width: 44px;
        height: 44px;

        color: #080c10;
    }

    .home-hero__play svg {
        width: 44px;
        height: 44px;
    }

    .home-hero__arrow {
        width: 28px;
        height: 28px;

        justify-self: end;
    }


    /* secondary CTA */

    .home-hero__secondary {
        display: block;

        align-items: center;

        gap: 7px;

        margin: 21px 0 0;

        color: #a34fff;

        text-decoration: none;

        font-size: 17px;

        line-height: 1.2;

        font-weight: 650;
    }

    .home-hero__secondary span {
        font-size: 22px;

        line-height: 1;

        transform: translateY(-1px);
    }


    /* ========================================
       3 TRUST ITEMS
       ======================================== */

    .home-hero__badges {
        display: flex;

        align-items: center;

        width: max-content;

        margin: 24px 0 0;

        color: #f4f5f7;

        font-size: 16px;

        line-height: 1;

        font-weight: 620;
    }

    .home-hero__badges > span {
        display: flex;

        align-items: center;

        gap: 10px;

        min-height: 24px;

        padding: 0 25px;

        border-left:
            1px solid
            rgba(255,255,255,.25);

        white-space: nowrap;
    }

    .home-hero__badges > span:first-child {
        padding-left: 0;

        border-left: 0;
    }

    .home-hero__badges b {
        display: grid;

        place-items: center;

        width: 23px;
        height: 23px;

        border:
            2px solid
            rgba(255,255,255,.86);

        border-radius: 50%;

        color: #fff;

        font-size: 13px;

        font-weight: 900;
    }


    /* ========================================
       BOTTOM PROOF ITEMS
       ======================================== */

    .home-hero__proof {
        display: grid;

        grid-template-columns:
            repeat(4, 170px);

        column-gap: 70px;

        width: 890px;
        max-width: 890px;

        margin: 42px 0 0;

        padding: 25px 0 0;

        border-top:
            1px solid
            rgba(255,255,255,.16);
    }

    .proof-item {
        display: block;

        min-width: 0;

        color: #fff;
    }

    .proof-item__icon {
        display: block;

        width: 38px;
        height: 38px;

        margin: 0 0 12px;

        color: #f4f6f8;
    }

    .home-page .proof-item strong {
        display: block;

        margin: 0 0 7px;

        color: #fff;

        font-size: 16px;

        line-height: 1.15;

        font-weight: 760;
    }

    .proof-item p {
        max-width: 170px;

        margin: 0;

        color: #e1e4e8;

        font-size: 13px;

        line-height: 1.34;
    }
}


/*
 * Smaller desktop/laptop adjustment.
 */

@media (
    min-width: 1024px
) and (
    max-width: 1500px
) {

    .home-page .header-inner,
    .home-hero__content {
        width: calc(100% - 72px);
    }

    .home-page .site-nav {
        margin-left: 90px;

        gap: 25px;
    }

    .home-page .site-nav a {
        font-size: 15px;
    }

    .home-page .site-nav a:last-child {
        min-width: 250px;

        font-size: 16px;
    }

    .home-hero h1 {
        width: 620px;

        font-size: 68px;
    }

    .home-hero__copy {
        width: 610px;

        font-size: 18px;
    }

    .home-hero__primary {
        width: 500px;
    }

    .home-hero__proof {
        grid-template-columns:
            repeat(4,150px);

        column-gap: 48px;

        width: 744px;
    }
}