:root {
  --bss-color: #3e813f;
  --page-background-color: #181818;
  --max-width: 1248px;
}

/* Reset ----------------------------------------- */
html {
  -webkit-text-size-adjust: none;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
input,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  line-height: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th {
  text-align: left;
}

input,
select,
textarea,
button {
  margin: 0;
  font-family: inherit;
  font-size: 1em;
  line-height: 1;
  background: transparent none;
  box-sizing: border-box;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-font-smoothing: inherit;
}

input,
textarea,
button {
  border: none;
}

input[type='submit'],
input[type='button'] {
  box-sizing: content-box;
  font-family: inherit;
}

label {
  cursor: pointer;
}

object,
embed {
  display: block;
}

a {
  color: inherit;
}

/* Styles ---------------------- */

body {
  padding-top: 50px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Helvetica Neue, Arial;
  color: #ffffff;
  background-color: var(--page-background-color);
  -webkit-font-smoothing: antialiased;
}

.page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000000;
  background-color: #ffffff;
}

.page-content {
  width: 100%;
  max-width: var(--max-width);
  padding: 48px 24px;
}

.page-content-narrow {
  max-width: 800px;
}

.page-content-columns {
  display: flex;
  gap: 64px;
}

.page-content-columns > * {
  flex-basis: 50%;
}

.page-heading {
  font-family: Lato;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
}

.page-heading + * {
  margin-top: 48px;
}

.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 8px 0;
  background-color: var(--page-background-color);
}

.navigation-content {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  max-width: var(--max-width);
  padding: 0 24px;
}

.navigation-logo {
  display: flex;
  align-items: center;
  margin-left: -8px;
  padding: 4px 8px;
  overflow: hidden;
  /* border: 1px solid rgba(255, 255, 255, 0); */
  border-radius: 8px;
  font-size: 0;
  font-family: Lato, sans-serif;
  font-weight: 600;
  text-decoration: none;
  text-indent: -1000px;
  background-color: rgba(255, 255, 255, 0);
  transition: border-color 500ms, background-color 500ms;
}

.navigation-logo:hover {
  /* border: 1px solid rgba(255, 255, 255, 0.25); */
  background-color: rgba(255, 255, 255, 0.25);
}

.navigation-logo::before {
  content: '';
  display: block;
  width: 106px;
  height: 24px;
  background: transparent url(/assets/logo-inverted.svg) no-repeat 50% 50%;
  background-size: cover;
}

.navigation-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navigation-link {
  display: block;
  border-radius: 100%;
  padding: 4px;
  transition: background-color 500ms;
  background-color: rgba(255, 255, 255, 0);
}

.navigation-link:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.navigation-link-active {
  background-color: rgba(255, 255, 255, 0.5);
}

.navigation-image {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.article {
  font-size: 18px;
  color: #000000;
  background-color: #ffffff;
}

.article h2 {
  font-family: Lato, sans-serif;
  font-size: 36px;
  font-weight: 700;
}

.article h2 + * {
  margin-top: 28px;
}

.article h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

.article h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.article h3 + * {
  margin-top: 18px;
}

.article p {
  line-height: 1.4;
}

.article h4 + * {
  margin-top: 8px;
}

.article p + p {
  margin-top: 18px;
}

.article a {
  color: var(--bss-color);
}

.article ul {
  list-style: disc outside none;
  margin-left: 1em;
  line-height: 1.4;
}

.article ul + * {
  margin-top: 24px;
}

.article li {
  padding-left: 4px;
}

.article li + li {
  margin-top: 12px;
}

.article * + ul {
  margin-top: 24px;
}

.article * + h4 {
  margin-top: 24px;
}

.article * + h3 {
  margin-top: 36px;
}

.article * + h2 {
  margin-top: 64px;
}

.article em {
  font-style: italic;
}

.article strong {
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: center;
  padding: 30px 0;
  font-family: Lato, sans-serif;
}

.footer-container {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  max-width: var(--max-width);
  padding: 0 24px;
}

.footer-left {
  max-width: 480px;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-title-copy {
  font-size: 20px;
  font-weight: 700;
}

.footer-strapline {
  margin: 16px 0;
  font-size: 16px;
  line-height: 1.4;
}

.footer-strapline > strong {
  font-weight: 700;
}

.footer-twitter {
  display: flex;
  gap: 8px;
  text-decoration: none;
}

.footer-twitter::before {
  content: '';
  display: block;
  width: 24px;
  height: 20px;
  background: transparent url(/assets/twitter-logo.svg) no-repeat 50% 50%;
  backgrouns-size: contain;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: right;
}

.footer-copyright {
  font-size: 16px;
}

.footer-link {
  text-decoration: none;
}

.footer-links-item + .footer-links-item {
  margin-top: 8px;
}

.footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 650px) {
  .navigation-logo {
    gap: 0;
    font-size: 0;
  }

  .page-heading {
    font-size: 42px;
    text-align: left;
  }

  .page-heading + * {
    margin-top: 42px;
  }

  .page-content-columns {
    flex-direction: column;
  }

  .article h2 {
    font-size: 32px;
  }

  .article h4 {
    font-size: 18px;
  }

  .footer-container {
    flex-direction: column;
    gap: 24px;
  }

  .footer-right {
    flex-direction: column-reverse;
    text-align: left;
  }
}
