body {
    background-color: var(--surface-light) !important;
}

/* == HERO == */
section#hero {
    padding-top: 4rem;
    background-image: linear-gradient(180deg, var(--surface-light) 45%, var(--primary));
    background-image: -webkit-linear-gradient(270deg, var(--surface-light) 45%, var(--primary));
    background-color: var(--surface-light);
}
#hero > .content {
    padding: 6rem 0;
    text-align: center;
}
#hero-title {
    margin: 0;
    font-weight: 900;
    font-size: 4rem;
    line-height: 80px;
    letter-spacing: -0.01em;
    color: var(--primary);
}
#hero-subtitle {
    margin: 0;
    font-size: 1.565rem;
    color: var(--secondary);
}
#hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 1rem;
}
#hero-cta-devdocs:not(:hover):not(:focus) {
    box-shadow: none;
}
#hero-producthunt > img {
    display: block;
    width: 200px;
    height: 45px;
}

#hero-appScreen-overview {
    position: relative;
    margin-top: 15vh;
    max-height: 80vh;
    width: auto;
    max-width: 100%;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}
#hero-appScreen-overview > img {
    position: relative;
    z-index: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
}
#hero-videoPlayBtn {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    height: 180px;
    width: 180px;
    text-align: center;
    transform: translate(-50%, -50%);
    background-color: #aa0000;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 0 104px 104px #fff;
    transition: .5s cubic-bezier(0.215, 0.610, 0.355, 1);
}
#hero-appScreen-overview[data-showingvideo="true"] > img,
#hero-appScreen-overview[data-showingvideo="true"] > #hero-videoPlayBtn {
    display: none;
}
#hero-videoPlayBtn > svg {
    display: inline-block;
    vertical-align: middle;
    height: 128px;
    width: 128px;
}
#hero-appScreen-overview > iframe {
    display: block;
    border: none;
}



/* == WHAT IS FS == */
#bentoGrid {
    display: grid;
    grid-template-areas: "a b"
                         "a c";
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
}
#bentoGrid > div {
    padding: 2.25rem 3rem;
    border-radius: 3rem;
    background-color: var(--surface-light-mute-f);
}
#bentoGrid > div > h3 {
    margin: 0;
    font-size: 2.75rem;
    font-weight: 800;
}
#bentoGrid .subtitle {
    margin: -0.25rem 0 0;
    font-size: 1.75rem;
    font-weight: 600;
}
#bentoGrid .description {
    font-size: 1.125rem;
    line-height: 1.375;
    margin: 1.25rem 0 0;
}
#bentoGrid a {
    display: inline-block;
    margin-top: 1rem;
    border-radius: 2rem;
}
#bentoGrid .iconTray > img {
    margin: .125rem;
    height: 2rem;
    width: 2rem;
    object-fit: contain;
}
#wif-pnp {
    grid-area: a;
    background-image: linear-gradient(135deg, #ecffd2 14%, #00c181);
    background-image: -webkit-linear-gradient(315deg, #ecffd2 14%, #00c181);
    color: #003d2a;
}
#wif-pnp > a {
    margin-top: 10%;
}
#pnpGrid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    place-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}
#pnpGrid > .description {
    margin: 0;
    font-size: 1.375rem;
}
#pnpGrid > img {
    width: 100%;
    border-radius: var(--border-radius);
}
#wif-devapps {
    grid-area: b;
    background-image: linear-gradient(135deg, #c6fffd 14%, #2666c5);
    background-image: -webkit-linear-gradient(315deg, #c6fffd 14%, #2666c5);
    color: #003331;
}
#wif-devintegrations {
    grid-area: c;
    background-image: linear-gradient(135deg, #f9fed1 14%, #c64f00);
    background-image: -webkit-linear-gradient(315deg, #f9fed1 14%, #c64f00);
    color: #471d00;
}


/* == KEY FEATURES == */
#features-grid {
    display: grid;
    grid-template-rows: repeat(3, 30rem);
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 4rem;
    margin-top: 1rem;
}
.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 3rem;
}
.feature-title > * {
    display: inline-block;
    vertical-align: middle;
}
.feature-title > img {
    height: 2.5rem;
    width: auto;
}
.feature-title > h4 {
    margin: 0;
    font-weight: 700;
    font-size: 2rem;
}
.feature-body {
    flex: 1;
    display: flex;
    align-items: center;
}
.feature-body > img,
.feature-body > video {
    display: block;
    margin: 0 auto;
    object-fit: contain;
    max-width: 100%;
    max-height: 22.5rem;
    border-radius: var(--border-radius);
}
.feature-card {
    box-shadow: 0 0 0 8px #e6e6e6,
                0 0 0 15px #f2f2f2,
                0 0 0 21px #f9f9f9,
                inset var(--shadow-1);
}


/* == APPS == */
section#apps {
    padding-bottom: 12rem;
}
#fs-space .fs-module {
    background-color: var(--surface-light);
    padding: 6px;
    margin: 0.875rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
}
#fs-space .fs-module-appinfo {
    color: var(--text-black-dim);
}
#fs-space .fs-module-appinfo > p {
    margin: 0;
    line-height: 1.4;
}
#fs-space .fs-module-appinfo span.subtitle {
    font-weight: 700;
}
#fs-space .fs-module-appinfo ul {
    margin: 0;
}
#fs-space .fs-module-appinfo li {
    margin: .25rem 0;
}
@media screen and (min-width: 680px) { /* Desktop Enhancements */
    #hero-videoPlayBtn:hover {
        transform: translate(-50%, -50%) scale(1.05);
        background-color: #fff;
        color: #000;
        box-shadow: 0 0 0px 26px #ad007c, 0 0 0px 52px #8a0091, 0 0 0px 78px #480078, 0 0 0px 104px var(--primary);
    }
    #hero-videoPlayBtn:active {
        transform: translate(-50%, -50%) scale(0.99);
        box-shadow: 0 0 0px 14px #ad007c, 0 0 0px 34px #8a0091, 0 0 0px 64px #480078, 0 0 0px 104px var(--primary);
    }
    #fs-space {
        display: flex;
        flex-direction: row;
        border-radius: var(--border-radius);
        overflow: hidden;
    }
    #fs-sidepane {
        background-color: var(--surface-dark-1);
        width: 15rem;
        padding: 1.5rem 0;
    }
    #fs-space .fs-sidepane-item {
        display: block;
        padding: 0.375rem 1.5rem;
        font-size: 1.25rem;
        text-align: left;
        color: var(--text-white);
        width: 100%;
        border-left: 0 solid var(--yellow);
        border-right: 0 solid var(--yellow);
        cursor: pointer;
        transition: 0.1s border ease, 0.1s background-color ease;
    }
    #fs-space .fs-sidepane-item:hover {
        border-left: 0.5rem solid var(--yellow);
        border-right: 0.5rem solid var(--yellow);
        background-color: rgba(0, 0, 0, 0.5);
    }
    #fs-space .fs-sidepane-item.active {
        color:  var(--yellow);
        font-weight: 600;
    }
    #fs-viewport {
        flex: 1;
        background-color: var(--surface-light-mute-e);
        box-shadow: inset 0px 0px 20px -10px rgba(0, 0, 0, 0.5);
    }
    #fs-space .fs-page {
        display: none;
    }
    #fs-space .fs-page.active {
        display: block;
    }
    #fs-space .fs-module-title {
        display: none;
    }
    #fs-space .fs-module-appscreen {
        min-height: 20rem;
    }
    #fs-space .fs-module-appscreen > video,
    #fs-space .fs-module-appscreen > img {
        width: 100%;
        max-height: 56vh;
        object-fit: contain;
    }
    #fs-space .fs-module-appinfo {
        min-height: 8rem;
        padding: 1rem;
    }
}


/* == POWERUP - PRE FOOTER == */
section#powerup {
    height: 23.75rem;
    background: linear-gradient(90deg, #70A9D2 0%, #E0BC91 40.63%, #FF3366 100%), #222222;
    background: -webkit-linear-gradient(0deg, #70A9D2 0%, #E0BC91 40.63%, #FF3366 100%), #222222;
}
#powerup > .content {
    position: relative;
    z-index: 0;
    height: 100%;
}
#powerup #powerup-cta {
    margin: 0;
    width: 50%;
    height: 100%;
    float: right;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#powerup #powerup-cta > h2 {
    margin: 0 0 .25rem;
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 54px;
}
#powerup #flexicyborg {
    position: relative;
    z-index: -1;
    top: -50%;
    left: 0;
}
#powerup #flexicyborg > img {
    position: absolute;
    top: 0;
    left: -3%;
    height: 47.25rem;
    width: auto;
    object-fit: contain;
}
#powerup .btn-dark-3d:hover,
#powerup .btn-dark-3d:focus {
    border-color: rgba(255,255,255,.4);
    color: var(--text-black-mute);
    background: rgba(255,255,255,.3);
    box-shadow: 0 0 28px rgba(0,0,0,0.3);
}

@media screen and (max-width: 1200px) { /* Tablet, iPad */
    /* == HERO == */
    #hero > .content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    #hero-contentwrapper {
        margin-top: 1.0375rem;
    }
    #hero-title {
        font-size: 4.75rem;
        line-height: 68px;
        margin-bottom: 2rem;
    }
    #hero-subtitle {
        font-size: 1.5rem;
    }
    #hero-appScreen-overview {
        margin-top: 15vh;
        max-height: 80vh;
    }
    #hero-videoPlayBtn {
        height: 120px;
        width: 120px;
        box-shadow: 0 0 84px 84px #fff;
    }
    #hero-videoPlayBtn > svg {
        height: 78px;
        width: 78px;
    }

    /* == COMMON SECTION CONTENT PADDING == */
    section:not(#powerup):not(#hero) > .content {
        padding: 1rem 2rem;
    }

    /* == WHAT IS FS == */
    #bentoGrid > div {
        padding: 1.5rem 2.25rem;
        text-align: center;
    }
    #bentoGrid > div > h3 {
        font-size: 1.875rem;
    }
    #bentoGrid .subtitle {
        font-size: 1.125rem;
    }
    #pnpGrid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 0;
    }
    #pnpGrid > img {
        max-width: 14rem;
    }
    #pnpGrid > .description {
        margin: .5rem 0 1.5rem;
        font-size: 1rem;
    }
    #pnpGrid > .description:last-of-type {
        margin-bottom: .5rem;
    }

    /* == KEY FEATURES == */
    #features-grid {
        grid-template-rows: repeat(3, 24rem);
        grid-gap: 3.5rem;
    }

    .feature-card {
        padding: 1rem;
        border-radius: 2.5rem;
    }
    .feature-title > img {
        height: 2.25rem;
    }
    .feature-title > h4 {
        font-size: 1.65rem;
    }
    .feature-body > img,
    .feature-body > video {
        max-height: 18rem;
    }

    /* == APPS == */
    #fs-sidepane {
        width: 12rem;
        padding: 1.125rem 0;
    }
    #fs-space .fs-sidepane-item {
        font-size: 1.225rem;
    }

    /* == POWERUP - PRE FOOTER == */
    @media (orientation: landscape) {
        section#powerup {
            height: 20.75rem;
        }
        #powerup #powerup-cta > h2 {
            font-size: 3.25rem;
            line-height: 52px;
        }
        #powerup #flexicyborg > img {
            left: .75rem;
            height: 41.45rem;
        }
    }

    @media (orientation: portrait) {
        section#powerup {
            height: 17.75rem;
        }
        #powerup #powerup-cta {
            width: 60%;
        }
        #powerup #powerup-cta > h2 {
            font-size: 2.5rem;
            line-height: 41px;
        }
        #powerup #flexicyborg > img {
            left: -10%;
            height: 35.45rem;
        }
    }
}

/* Tablet & Mobile Landscape */
@media screen and (max-width: 920px) and (orientation: landscape) {
    /* == COMMON SECTION CONTENT PADDING == */
    section#features > .content,
    section#apps > .content {
        padding: .875rem 1rem;
    }

    #hero > .content {
        padding: 0 0 4rem;
    }
    #hero-title {
        font-size: 2.5rem;
        line-height: 2.75rem;
        margin-bottom: 0;
    }
    #hero-subtitle {
        font-size: 1rem;
    }

    #powerup #powerup-cta {
        width: 60%;
    }
    #powerup #powerup-cta > h2 {
        font-size: 3rem;
        line-height: 43px;
    }
    #powerup #flexicyborg > img {
        left: -12%;
    }
}

/* Mobile */
@media screen and (max-width: 680px) {
    section:not(#powerup):not(#hero) > .content {
        padding: .5rem 1rem;
    }

    /* == HERO == */
    section#hero {
        padding-top: 3rem;
        background-image: linear-gradient(180deg, var(--surface-light) 55%, var(--primary));
        background-image: -webkit-linear-gradient(270deg, var(--surface-light) 45%, var(--primary));
    }
    #hero-contentwrapper {
        margin-top: .75rem;
    }
    #hero > .content {
        padding: 3rem 1rem;
    }
    #hero-title {
        font-size: 2.25rem;
        line-height: 36px;
        margin-bottom: 1.5rem;
    }
    #hero-subtitle {
        font-size: 1.125rem;
    }
    #hero-ctas {
        display: block;
        margin-top: 4rem;
    }
    #hero-ctas .cta-btn {
        display: block;
        margin: .5rem 0;
    }
    #hero-producthunt {
        display: block;
        text-align: center;
    }
    #hero-producthunt > img {
        display: inline-block;
        margin-bottom: -6px;
    }
    #hero-appScreen-overview {
        margin-top: 3rem;
        transform: none;
    }
    #hero-videoPlayBtn {
        height: 80px;
        width: 80px;
        box-shadow: 0 0 48px 48px #fff;
    }
    #hero-videoPlayBtn > svg {
        height: 38px;
        width: 38px;
    }

    /* == COMMON SECTION CONTENT PADDING == */
    section#features > .content,
    section#apps > .content {
        padding: .5rem 1rem;
    }

    /* == WHAT IS FS == */
    #bentoGrid {
        display: block;
    }
    #bentoGrid > div {
        margin: 0 0 1rem;
    }
    #bentoGrid > div > h3 {
        font-size: 1.625rem;
    }
    #bentoGrid .subtitle {
        margin: -0.125rem 0 0;
        font-size: 1.125rem;
    }
    #bentoGrid .description {
        font-size: 1rem;
    }
    #pnpGrid > .description {
        margin: .25rem 0 1rem;
        font-size: 1rem;
    }
    #pnpGrid > .description:last-of-type {
        margin-bottom: .5rem;
    }

    /* == KEY FEATURES == */
    #features-grid {
        grid-template-rows: repeat(5, 86vw);
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 3rem;
        padding: 0 .5rem;
    }

    .feature-card {
        padding: 1rem;
        border-radius: 2.25rem;
        flex-grow: 0;
    }
    .feature-title > img {
        height: 2rem;
    }
    .feature-title > h4 {
        font-size: 1.25rem;
    }
    .feature-body {
        height: 19rem;
    }
    .feature-body > img,
    .feature-body > video {
        max-height: 16rem;
    }

    /* == APPS, HORZ SLIDER == */
    section#apps {
        padding-bottom: 6.5rem;
    }
    #fs-viewport {
        width: 100%;
        min-height: 24rem;
        max-height: 95vh;
        padding: 0 1rem 1rem;
        white-space: nowrap;
        overflow: auto hidden;
    }
    #fs-sidepane {
        display: none;
    }
    .fs-page {
        display: inline-block;
        width: 92%;
        height: 100%;
        margin: 0 .5rem;
        vertical-align: top;
    }
    .fs-page:last-of-type {
        margin-right: 1rem;
    }
    #fs-space .fs-module {
        padding: 3px;
        margin: 0.625rem 0;
    }
    #fs-space .fs-module-title  {
        display: block;
        font-weight: 600;
        padding: .75rem;
        color: var(--text-white-mute);
        background-color: var(--surface-dark-1);
        font-size: 1.25rem;
        text-align: center;
    }
    #fs-space .fs-module-appscreen > video,
    #fs-space .fs-module-appscreen > img {
        width: 100%;
        height: auto;
    }
    #fs-space .fs-module-appinfo {
        white-space: normal;
        padding: 1rem;
        font-size: .875rem;
    }

    @media (orientation: portrait) {
        section#powerup {
            height: 14.85rem;
        }
        #powerup #powerup-cta {
            width: 100%;
        }
        #powerup #powerup-cta > h2 {
            font-size: 2.125rem;
            line-height: 28px;
        }
        #powerup #flexicyborg > img {
            left: 0;
            height: 13.65rem;
        }
    }
}
