/* InfoScan /_new: opaque header and first screen aligned to the viewport top. */
html,
body {
    margin-top: 0 !important;
}

html {
    background-color: #151515 !important;
}

body {
    background-color: #151515 !important;
}

.header {
    top: 0 !important;
    background-color: #151515 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.header--light {
    background-color: #fff !important;
}

.header--scrolled-dark {
    background-color: #151515 !important;
}

.promo,
.promo--home,
.promo--internal,
.promo--company,
.research-hero,
.pc90-hero {
    margin-top: 0 !important;
}

/* Keep the hero video above the opaque page background. The original theme
   used z-index: -2, which only worked while html/body were transparent. */
.promo {
    isolation: isolate;
}

.promo__video {
    z-index: 0 !important;
}

.promo__container {
    position: relative;
    z-index: 1;
}

@media (max-width: 670px) {
    .header {
        top: 0 !important;
        background-color: #151515 !important;
    }

    .header--light {
        background-color: #fff !important;
    }

    .promo-home__feature {
        box-sizing: border-box;
        align-items: center !important;
        padding-left: 16px !important;
    }

    .promo-home__feature img {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        margin-left: 0 !important;
    }
}

@supports (padding-top: env(safe-area-inset-top)) {
    body::before {
        content: "";
        position: fixed;
        z-index: 2147483646;
        top: 0;
        right: 0;
        left: 0;
        height: env(safe-area-inset-top);
        background: #151515;
        pointer-events: none;
    }

    .header {
        box-sizing: content-box;
        padding-top: env(safe-area-inset-top) !important;
    }
}
