@font-face {
    font-family: 'Musgo';
    src: url('../fonts/Musgo-ExtraBold.woff2') format('woff2'),
         url('../fonts/Musgo-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Light.woff2') format('woff2'),
         url('../fonts/OpenSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-LightItalic.woff2') format('woff2'),
         url('../fonts/OpenSans-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2'),
         url('../fonts/OpenSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Italic.woff2') format('woff2'),
         url('../fonts/OpenSans-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-SemiBold.woff2') format('woff2'),
         url('../fonts/OpenSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-SemiBoldItalic.woff2') format('woff2'),
         url('../fonts/OpenSans-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold.woff2') format('woff2'),
         url('../fonts/OpenSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-BoldItalic.woff2') format('woff2'),
         url('../fonts/OpenSans-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-ExtraBold.woff2') format('woff2'),
         url('../fonts/OpenSans-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-ExtraBoldItalic.woff2') format('woff2'),
         url('../fonts/OpenSans-ExtraBoldItalic.woff') format('woff');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

:root {
    --gutter: 2rem;
}

html {
    font: normal normal normal 112.5%/1.625 "Open Sans", "Helvetica Neue", Arial, sans-serif;
    background: #043;
    color: #fff;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
}

main {
    padding: 2rem 0;
}

a {
    color: #76f276;
    font-weight: 600;

    &:hover {
        color: #a8ffa8;
    }

    &.cta {
        background: #76f276;
        padding: 0.375rem 1.25rem 0.5rem;
        border-radius: 0.25rem;
        font-weight: bold;
        display: inline-block;
        color: #043;
        letter-spacing: -0.125px;
        text-decoration: none;

        &:hover {
            background: #a8ffa8;
        }
    }
}

p {
    margin: 1rem 0 0;

    &:first-child {
        margin-top: 0;
    }
}

ul {
    padding: 0 0 0 1.5rem;

    &.columned {
        columns: 2;
    }

    li {
        margin-top: 0.5rem;

        &:first-child {
            margin-top: 0;
        }
    }
}

hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2.75rem 0 2rem;

    &.double {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        height: 0.25rem;
    }
}

h1 {
    font-family: Musgo;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.125;
}

h2 {
    margin: 2rem 0 0;
    padding-top: 0.5rem;
    font-size: 1.75rem;
    line-height: 1.25;
    padding-bottom: 0.5rem;
    text-wrap: pretty;
}

    h2 + * {
        margin-top: 0;
    }

    h2 + h3 {
        margin-top: 0;
    }

h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin: 1.25rem 0 0;
}

    h3 + * {
        margin-top: 0;
    }

input,
button {
    font-family: inherit;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    border: none;
}

    input {
        width: 100%;
        max-width: 20rem;
        box-sizing: border-box;
    }

    button {
        background: #76f276;
        padding: 0.375rem 1.25rem 0.5rem;
        border-radius: 0.25rem;
        font-weight: bold;
        display: inline-block;
        color: #043;
        letter-spacing: -0.125px;
        text-decoration: none;
        margin-top: 1rem;
        font-size: 1rem;
        cursor: pointer;

        &:hover {
            background: #a8ffa8;
        }
    }

    form small {
        display: inline-block;
        margin-top: 0.3125rem;
        color: #91c391;
        font-style: italic;
    }

label {
    font-size: 0.875rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5rem;
    margin-top: 1rem;

    &:first-child {
        margin-top: 0;
    }
}

figure {
    margin: 1.5rem auto;
    padding: 0;
    max-width: calc(100% - var(--gutter) - var(--gutter));
    width: 100%;

    img {
        display: block;
        width: 100%;
    }
}

header {
    background: #fff;
    padding: 1.5rem 0 0.75rem;

    & .stage {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: flex-end;
    }

    nav {
        font-size: 1.125rem;
        display: flex;
        flex-flow: row nowrap;
        gap: 2rem;
        margin-bottom: 1rem;
    }

    a {
        color: #065;
        text-decoration: none;
        font-weight: bold;

        &:hover {
            color: #087;
        }
    }

    .logo {
        width: 14rem;
    }
}

aside {
    background: #021;
    text-align: center;
    padding: 0.5rem 0 0.625rem;
    font-weight: bold;
}

footer {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.3;
    background: #021;
    margin: 1.5rem 0 0;
    padding: 0.75em 0 1.5rem;
}

    footer p.small {
        font-size: 0.75rem;
        margin-top: 0;
    }

.stage {
    max-width: 44rem;
    margin: 0 auto;
    padding: 0 var(--gutter);
    box-sizing: border-box;
}



@media screen and (max-width: 40rem) {
    html {
        font-size: 100%;
    }

    :root {
        --gutter: 1.5rem;
    }

    ul.columned {
        columns: 1;
    }

    header .logo {
        max-width: 12rem;
    }

    header nav {
        margin-bottom: 0.5rem;
    }

    header .stage {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}