body {
    background: linear-gradient(180deg, #f5f5f7 0%, rgba(255,255,255,1) 10%);
}

nav a.cta {
    padding: 10px 20px;
}

nav {
    padding: 15px 75px;
    display: flex;
}
nav div {
    border: 0px solid black;
    line-height: 3em; /* v-align, same as logo size */
}
nav .logo {
    flex-basis: 400px;
}
nav .logo a {
    font-weight: 600;
    font-size: 2em;
    color: var(--colour-midnight);
    letter-spacing: -1px;
    text-decoration: none;
    vertical-align: middle;
}
nav .logo img {
    width: 38px;
    margin: -4px 5px 0 0;
    display: inline-block;
    vertical-align: middle;
}
nav .menu {
    width: 100%;
    text-align: center;
}
nav ul.menu-items {
    display: inline-block;
    margin: 0 auto;
    text-align: left;
    margin: 0;
    padding: 0;
    font-size: 1em;
}
nav ul.menu-items li {
    display: inline-block;
    margin: 0 20px;
    padding: 0;
    list-style: none;
}
nav ul.menu-items li a {
    text-decoration: none;
    color: var(--colour-red);
    font-weight: bold;
}

nav .burger {
    display: none;
}
nav ul.menu-items li.toggleable ul {
    display: none;
    margin: -10px 0 0 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 10px 20px -10px #333;
    position: absolute;
    z-index: 10000;
    width: 300px;
}
nav ul.menu-items li.toggleable ul li {
    display: block;
    line-height: 1em;
    margin: 20px 10px;
}
nav ul.menu-items li.toggleable ul li a {
    display: block;
    font-weight: normal;
    font-size: 0.8em;
    font-style: italic;
    color: #333;
}
nav ul.menu-items li.toggleable ul li a span {
    font-weight: bold;
    font-size: 1.3em;
    font-style: normal;
    color: var(--colour-red);
}
nav ul.menu-items li.toggleable:hover ul {
    display: block;
}
nav ul.menu-items li.toggleable a span.chevron {
    display: inline-block;
    margin-left: 5px;
    transform: rotate(90deg);
}

nav .buttons {
    flex-basis: 300px;
    text-align: right;
    color: var(--colour-red);
}
nav .buttons a {
    text-decoration: none;
    font-weight: bold;
}

header {
    text-align: center;
}

header h1 {
    font-size: 4em;
    width: 750px;
    margin: 40px auto 0 auto;
    letter-spacing: -2px;
    color: #333;
}
header p {
    max-width: 700px;
    margin: 20px auto;
}

header a.cta.primary {
    background: var(--colour-red);
    color: var(--colour-white);
}

.section {}
.section .inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 25px;
}
.section .inner h2 {
    font-size: 2em;
    letter-spacing: -1px;
    margin: 0;
    padding: 0;
    color: var(--colour-midnight);
}
.section .inner img.left {
    float: left;
    width: 500px;
    align-self: start;
    margin-right: 30px;
}
.section .inner.narrow {
    max-width: 900px;
}
.section .inner.narrow h2 {
    text-align: center;
}
.section.alt {
    background: #eee;
}
.section.highlight {
    background: var(--colour-midnight);
    color: var(--colour-midnight-font);
    box-shadow: 0 0 10px #aaa;
    text-align: center;
}
.section.highlight .cta {
    background: var(--colour-midnight-highlight);
    color: var(--colour-white);
}

.section.highlight.article-view {
    margin: 20px 0;
}
.section.highlight.article-view img {
    width: 400px;
    box-shadow: 0 0 10px 0 #600;
    float: left;
    margin-right: 25px;
    border-radius: 5px;
}
.section.highlight.article-view .inner {
    padding: 20px;
    text-align: left;
    font-size: 0.9em;
}
.section.highlight .inner h2 {
    color: var(--colour-white);
}

.section p {
    max-width: none;
}

footer {
    font-size: 0.9em;
    color: #999;
}
footer a {
    color: #999;
}
footer .inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 25px;
}

table#premium-upgrade {
    margin: 30px auto 0 auto;
}

table#premium-upgrade td {
    text-align: center;
    padding: 10px 0;
}
table#premium-upgrade th {
    background: none;
}

table#premium-upgrade td:first-child {
    text-align: left;
    padding-right: 30px;
}
table#premium-upgrade td:first-child h4 {
    margin: 5px 0;
    font-size: 12pt;
}
table#premium-upgrade td:first-child p {
    font-size: 10pt;
    font-style: italic;
    margin-top: 5px;
}
table#premium-upgrade td span {
    font-size: 1.25em;
}
table#premium-upgrade th.header {
    font-weight: 700;
    padding: 10px;
    font-size: 14pt;
    border-radius: 10px;
}
table#premium-upgrade th.header.standard {
    background: #eee;
}
table#premium-upgrade th.header.premium {
    background: var(--colour-red);
    color: #fff;
}
table#premium-upgrade tr td {
    border-bottom: 1px solid var(--colour-border);
}
table#premium-upgrade tr:last-child td {
    border: 0;
}
table#premium-upgrade td.summary {
    vertical-align: top;
    font-size: 0.9em;
}
table#premium-upgrade h3 {
    color: #666;
    font-size: 1.5em;
    font-weight: normal;
    margin: 10px 0;
}
table#premium-upgrade h3 span.big {
    font-size: 1.2em;
    display: inline-block;
} 
table#premium-upgrade h3 span.small {
    font-size: 0.5em;
    font-weight: normal;
    display: inline-block;
    width: 70px;
    text-align: left;
    font-style: italic;
}

.common-questions {
    margin-top: 25px;
}
.common-questions .item {
    float: left;
    max-width: 400px;
    height: 125px;
    margin-right: 20px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 2px #ddd;
    margin: 0 20px 20px 0;
    border-radius: 10px;
    padding: 10px;
}
.common-questions .item h3 {
    font-size: 1em;
    margin-top: 0;
}
.common-questions .item p {
    font-size: 0.9em;
}

#site-main.brochure {
    position: inherit;
    left: 0;
}

#site-main.brochure .column-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

#site-main.brochure .column-wrapper h4 {
    display: inline-block;
    border-bottom: 4px solid var(--colour-midnight-highlight);
    padding-bottom: 5px;
    margin-top: 50px;
    font-weight: normal;
}

#site-main.brochure .column-wrapper img {
    width: 100%;
    max-width: 750px;
    display: block;
    margin: 30px 0 30px 50px;
}
#site-main.brochure .column-wrapper img.narrow {
    width:60%;
    min-width: 600px;
}
#site-main.brochure .column-wrapper img.narrowest {
    width:40%;
    min-width: 400px;
}

#site-main.brochure span.tag {
    display: inline-block;
    padding: 5px;
    margin: 0 5px 0 0;
    background: #eee;
    border-radius: 5px;
}

.section .inner .changelog-update-detail img {
    width: 100%;
}

.section .inner .changelog-update-detail img.narrow {
    width: 80%;
    min-width: 800px;
    display: block;
    margin: 0 auto;
    border: 1px solid #ccc;
    box-shadow: 0px 5px 10px -5px #ccc;
}

.section .inner .changelog-update-detail .smalltext {
    text-align: center;
}

.section .inner .changelog-update-detail h2 {
    font-size: 1.7em;
    margin-top: 50px;
}

.roadmap-item {
    clear: both;
    overflow: hidden;
    margin-bottom: 10px;
}
.roadmap-image {
    width: 150px;
    float: left;
}

#slideshow {
  position: relative;
  width: 900px;
  height: 550px;
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--colour-border);
  border-radius: 5px;
  box-shadow: 0 5px 15px -5px var(--colour-shadow);
}

#slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.2s linear;
}

#slideshow img.active {
  opacity: 1;
  z-index: 1;
}

.article h2 {
    margin-top: 50px
}

.article blockquote {
    margin-left: 0;
    padding: 10px;
    background: #eee;
    border-left: 2px solid #aaa;
    font-style: italic;
}
.article table {
    width: 100%;
    max-width: 700px;
}
.article table th,
.article table td {
    border: 1px solid #ccc;
}
.article table th {
    background: #eee;
}
.article img {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 5px 10px -5px #ccc;
    margin: 25px 0;
}

.article blockquote, .article img, .article ul {
    margin-bottom: 40px !important;
}
.article blockquote > ul {
    margin-bottom: 0 !important;
}

.hr-separator {
    height: 2px;
    background: #666;
    border: 0;
    width: 100px;
    margin: 75px auto 50px auto;
}

/* tablet + mobile */
@media only screen and (max-width: 1000px) {
    nav {
        padding: 5px 10px;
        font-size: 0.9em;
    }
    nav .logo {
        flex-basis: 75px;
    }
    nav .logo a {
        font-size: 0; /* hide! */
    }
    nav ul.menu-items li {
        margin: 0 10px;
    }
    nav .buttons {
        flex-basis: 150px;
    }
    header h1 {
        font-size: 2.5em;
        margin: 40px auto;
        max-width: 80%;
    }
    header p {
        margin: 20px 25px;
    }
    #slideshow {
        width: 90%;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
    .section.alt .inner {
        display: inherit;
    }
    .section .inner {
        padding: 25px;
    }
    .section .inner.narrow h2 {
        font-size: 1.5em;
    }
    .section .inner img.left {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
    .section.highlight.article-view img {
        display: none;
    }
    .section.highlight.article-view .inner {
        padding: 20px;
        text-align: left;
        font-size: 0.8em;
    }

    #site-main.brochure .column-wrapper img {
        margin: 50px auto;
    }
    #site-main.brochure .column-wrapper img.narrow {
        width: 100%;
        min-width: auto;
    }
    #site-main.brochure .column-wrapper img.narrowest {
        width: 50%;
        min-width: auto;
    }
}

/* mobile */
@media only screen and (max-width: 700px) {
    nav ul.menu-items {
        display: none;
        position: absolute;
        top: 55px;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        border-top: 1px solid #ccc;
        z-index: 100;
    }
    nav ul.menu-items li {
        display: block;
        font-size: 1.3em;
    }
    nav ul.menu-items li.toggleable a {
        color: #000;
    }
    nav ul.menu-items li.toggleable a span.chevron {
        display: none;
    }
    nav ul.menu-items li.toggleable ul {
        display: block;
        position: inherit;
        border: 0;
        box-shadow: none;
        width: auto;
    }
    nav ul.menu-items li.toggleable ul li {
        margin: 0;
        padding: 10px 0 10px 20px;
        border-left: 3px solid #eee;
        font-size: 1em;
    }
    nav .burger {
        display: block;
        font-size: 3em;
        text-decoration: none;
        toggle: show;
    }
}