:root {
    --guardian-blue: #000f9f;
    --guardian-red: #e1251b;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, sans-serif;
}

section {
    padding: 3em 0;
}

section.blue {
    background-color: #d4e5ff;
}

.wrap {
    max-width: 1400px;
    padding: 0 1.5em;
    margin: 0 auto;
}

.wrap.custom-iframe {
    max-width: 1428px;
    padding: 0 .75em;
}

.flex {
    display: flex;
    align-items: center;
}

.flex.align-top {
    align-items: flex-start;
}

.half {
    flex-basis: 50%;
}

.third {
    flex-basis: 33%;
}

.two-thirds {
    flex-basis: 66%;
}

.w-40 {
    flex-basis: 40%;
}

.w-60 {
    flex-basis: 60%;
}

.col > img:not(.logo) {
    display: block;
    width: 100%;
    height: auto;
    max-width: 500px;
    margin: 0 auto;
}

@keyframes fadeLeft {
	0% {
		transform: translateX(-30px);
        opacity: 0;
	}
	100% {
        transform: translateX(0px);
		opacity: 1;
	}
}

@keyframes fadeRight {
	0% {
		transform: translateX(30px);
        opacity: 0;
	}
	100% {
        transform: translateX(0px);
		opacity: 1;
	}
}

@keyframes fadeUp {
	0% {
		transform: translateY(30px);
        opacity: 0;
	}
	100% {
        transform: translateY(0px);
		opacity: 1;
	}
}

.animate {
    animation-duration: .75s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
    animation-play-state: paused;
    animation-delay: .5s;
    opacity: 0;
}

.animate.delay1 {
    animation-delay: .7s;
}

.animate.delay2 {
    animation-delay: .9s;
}

.animate.delay3 {
    animation-delay: 1.1s;
}

.animate.visible {
    animation-play-state: running;
}

.animate.fadeLeft {
    animation-name: fadeLeft;
}

.animate.fadeRight {
    animation-name: fadeRight;
}

.animate.fadeUp {
    animation-name: fadeUp;
}

nav {
    font-size: 1.15em;
    border-bottom: 5px solid var(--guardian-blue);
    background-color: white;
}

nav .wrap {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
    padding: 1em 1.5em;
}

nav .wrap > a {
    z-index: 3;
}

nav .background {
    display: none;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.logo {
    display: block;
    height: 90px;
    width: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
}

nav a, nav a:visited {
    display: inline-block;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

nav ul a {
    padding: .75em;
}

nav a.button:hover {
    text-decoration: none;
}

header > div {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0.2)), url(/assets/images/flight-deck-console.jpg);
    background-size: 80% auto;
    background-repeat: no-repeat;
    background-position: center right;
}

header > div .wrap {
    min-height: 500px;
    padding-top: 2em;
    padding-bottom: 2em;
}

header .wrap p, section p, section li, footer p {
    font-size: 1.2rem;
    line-height: 1.4em;
}

section li {
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    line-height: 1.2em;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.3em;
}

h3 {
    font-size: 1.8em;
}

button, .button {
    font-size: 1.2rem;
    display: inline-block;
    padding: .7em .9em .6em .9em;
    border: 3px solid var(--guardian-blue);
    background-color: rgba(255,255,255,0);
    color: var(--guardian-blue);
    text-decoration: none;
}

button:not(.mobile)::after, .button::after {
    display: inline-block;
    content: '\2192';
    font-size: 1.7em;
    vertical-align: middle;
    margin-top: -10px;
    margin-left: 6px;
    transition: .2s all ease;
}

button.mobile {
    display: none;
    width: 25px;
    height: 25px;
    position: relative;
    background: none;
    border: none;
    padding: 0;
    margin-right: 10px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 3;
}

button.mobile span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--guardian-blue);
    border-radius: 0px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

button.mobile span:nth-child(1) {
    top: 0px;
}

button.mobile span:nth-child(2),button.mobile span:nth-child(3) {
    top: 10px;
}

button.mobile span:nth-child(4) {
    top: 20px;
}

button.mobile.open span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
}

button.mobile.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

button.mobile.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

button.mobile.open span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}

button:hover::after, .button:hover::after {
    margin-left: 12px;
    margin-right: -6px;
}

a, a:hover, a:visited {
    color: var(--guardian-blue);
}

.centered {
    text-align: center;
}

ul.styled-plus {
    position: relative;
    list-style: none;
    margin-left: 0;
    padding-left: 3em;
}

ul.styled-plus li::before {
    content: "\274F";
    display: inline-block;
    position: absolute;
    left: 10px;
    font-size: 2rem;
    color: var(--guardian-blue);
    margin-top: 2px;
}

header .wrap p {
    font-size: 1.4rem;
}

footer {
    border-top: 5px solid var(--guardian-blue);
    padding-top: 2em;
    padding-bottom: 1.5em;
}

footer .logo {
    margin-bottom: 1.5em;
}

footer nav {
    border-bottom: none;
    text-align: right;
}

footer nav a {
    text-decoration: underline;
}

#guardian-stats {
    margin-top: 80px;
}

#guardian-stats img {
    max-width: 225px;
    margin: 3em auto;
}

#guardian-stats h3 > span {
    display: block;
    font-size: 1.8em;
    color: var(--guardian-blue);
    margin-bottom: 1.5rem;
}

#guardian-about .w-60 {
    padding-left: 2em;
}

#guardian-serve {
    overflow: hidden;
}

#guardian-serve img {
    max-width: 900px;
    margin-bottom: -250px;
    margin-left: -50px;
}

#guardian-cta {
    padding: 4em 0;
}

@media screen and (max-width: 1100px) {
    header > div {
        background-size: cover;
    }
}

@media screen and (max-width: 1000px) {
    h1 {
        font-size: 2.4em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.7em;
    }
    #guardian-serve img {
        margin-bottom: -100px;
        min-width: 400px;
    }
}

@media screen and (max-width: 800px) {

    button.mobile {
        display: block;
    }
    header > div {
        background-image: linear-gradient(170deg, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, .3)), url(/assets/images/flight-deck-console-small.jpg);
        background-size: cover;
        background-position: center bottom;
    }
    header > div .flex {
        align-items: flex-start;
    }
    header nav ul {
        position: absolute;
        top: -70px;
        width: 100%;
        left: 0;
        height: auto;
        background-color: white;
        overflow: hidden;
        z-index: 2;
        transition: .4s all ease-in;
    }
    header nav .background {
        display: block;
    }
    header nav ul.open {
        top: calc(100% + 1px);
    }
    header nav ul li {
        display: block;
        text-align: center;
        border-bottom: 1px solid var(--guardian-blue);
    }
    header nav ul .button {
        font-size: 1.2rem;
        width: 100%;
        box-sizing: border-box;
    }
    .flex {
        flex-wrap: wrap;
    }
    .col {
        margin-bottom: 2em;
        flex-basis: 100%;
    }
    .col > img:not(.logo) {
        max-width: 400px;
    }
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.7em;
    }
    h3 {
        font-size: 1.7em;
    }
    footer, footer nav {
        text-align: center;
    }
    footer .logo {
        margin: 0 auto 1.5em auto;
    }
    #guardian-stats img {
        max-width: 150px;
    }
    #guardian-about .w-60 {
        padding-left: 0;
    }
    #guardian-features .col.half:first-child, #guardian-features .col.half:first-child ul, #guardian-cta .col, footer .col:last-child {
        margin-bottom: 0;
    }
    #guardian-features .col.half:last-child ul {
        margin-top: 0;
    }
    #guardian-cta {
        padding: 2em 0;
    }
    #guardian-serve .col.half:first-child {
        order: 2;
    }
    #guardian-serve .col.half:last-child {
        order: 1;
    }
    #guardian-serve img {
        width: 120%;
        margin-left: -10%;
        margin-bottom: -90%;
        min-width: auto;
    }
}
@media screen and (max-width: 500px) {
    .logo {
        height: 75px;
    }
}
@media screen and (max-width: 350px) {
    .wrap {
        padding: 0 1em;
    }
    nav .wrap {
        padding: 1em;
    }
    .logo {
        height: 60px;
    }
}