html {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 18px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    line-height: 1.5;
}

* {
    box-sizing: inherit;

}


body {
    padding: 0;
    margin: 0;
}

a {
    color: #002855;
    text-decoration: none;

}
a:hover, a:focus {
    text-decoration: underline;
}

header .content, section .content, footer .content, #cta-overlay .content {
    width: 100%;
    max-width: 50em;
    padding: 1em;
    margin: 0 auto;
}

header {
    background: #002855;   
    color: white; 
}

header .content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

header h1 {
    display: flex;
    overflow: hidden;
    flex-grow: 1;
    font-size: 100%;
    padding: .25em;
    margin: 0;
    margin-right: 2em;
}

header h1 a {
    text-indent: -100%;
    width: 100%;
    color: transparent;
    background: url(logo-white.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    padding: .25em 0;
}

header #login {
    display: block;
    background: white;
    color: #002855;
    padding: .5em 1em;
    border-radius: .5em;
    cursor: pointer;
}

header #login i {
    margin-right: .5em;
}

header.back #login {
    color: black;
}


/*
Stage
*/

#stage {
    background: #f1f3f5;
    padding-top: 2em;
    padding-bottom: 4em;
}

#stage .content > h2 {
    font-size: 225%;
    font-weight: 300;
}

#stage #features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13em, 1fr));
    grid-auto-flow: row;
    grid-gap: 2em;
    padding-top: 2em;
}

#stage #features .icon {
    text-align: center;
    font-size: 225%;
}

#stage #features h2 {
    font-size: 150%;
    font-weight: normal;
    text-align: center;
}

/**
Details
**/

#details h2 {
    font-weight: 300;
    font-size: 225%;
}

#details h3 {
    font-size: 150%;
    font-weight: 300;
    margin-top: 1.333em;
}

#details p {
    margin-bottom: 1em;
}


/**
Contact
**/

#contact {
    background: #002855;
    color: white;
    padding-top: 4em;
    padding-bottom: 4em;
}

#contact a {
    color: white;
}

#contact h2 {
    font-size: 150%;
    font-weight: 300;
}

#contact .subheading {
    font-size: 150%;
    font-weight: bold;
}

#contact a.cta {
    display: inline-block;
    background: #4c8c2b;
    padding: 1em;
    margin: 1em 0;
}


/**
Footer
**/
footer {
    background: #1a1a1a;
}

footer a {
    color: white;
    display: inline-block;
    margin-right: 2em;
}

#show-cta {
    background: #b8d8ec;
    position: fixed;
    right: 0;
    bottom: 2em;    
    width: 8em;
    padding: 1em;
    box-shadow: 0 0 8px 1px rgba(0,0,0,0.1);
    border-top-left-radius: .5em;
    border-bottom-left-radius: .5em;
}

#show-cta i {
    display: block;
    text-align: center;
    font-size: 150%;
}

#show-cta .label {
    font-size: 66.66%;
}

#cta-overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    z-index: -99;
    transition: all 250ms;
}

#cta-overlay.visible {
    z-index: 100;
    opacity: 1;
}

#cta-overlay .content {
    max-width: 25em;
    background: white;
    margin-top: 1em;
}

#login-stage, #contact-stage {
    min-height: 100vh;
    background: #dee2e6;
    padding: 2em;
}

#login-stage .content, #contact-stage .content {
    padding: 2em;
    max-width: 25em;
    background: white;
    box-shadow: 0 0 8px 1px rgba(0,0,0,0.1);
}

#login-stage .help, #contact-stage .help {
    margin-bottom: 2em;
    color: #495057;
}

#login-stage #server-logo {
    display: flex;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em auto;
    max-width: 10em;
    height: 10em;
    background: url(logo-placeholder.svg) no-repeat center;
    background-size: contain;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
}


#login-stage #logo-spinner {
    display: block;
    font-size: 225%;
    transition: all 250ms;
    opacity: 0;
}

#login-stage #logo-spinner.visible {
    opacity: 1;
}

#contact-stage .message {
    background: #b8d8ec;
    padding: 1em;
}

#contact-stage .message.success {
    background: #ADDC91;
    padding: 1em;
}


input, button {
    font: inherit;
    border: none;
    background: #f1f3f5;
    display: block;
    padding: .5em 1em;
    margin-bottom: 1em;
    width: 100%;
}

input:focus {
    background: #b8d8ec;
}

input[disabled], button[disabled] {
    background: grey;
    color: white;
}

button {
    background: #002855;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #002F6C;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.button-group button {
    width: auto;
    flex-grow: 0;
}


@media (max-width: 50em) {
    #stage {
        padding-top: 1em;
        padding-bottom: 2em;
    }

    #stage .content > h2 {
        font-size: 150%;
        text-align: center;
    }

    #stage #features {
        display: block;
    }

    #login .label {
        display: none;
    }
}


/*
002855 Pantone 295 C
B8D8EC Pantone 290 C
*/