:root {
  color-scheme: light;
  --ink: #061d40;
  --muted: #526078;
  --green: #108a3c;
  --line: #dce3ec;
  --soft: #eef8f2;
  --page: #f7f9fc;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
}

header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav,
main,
footer {
  margin: 0 auto;
  max-width: 880px;
  padding: 20px 24px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

nav a,
footer a {
  color: var(--green);
  font-weight: 700;
}

main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 32px;
  padding: 36px;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  font-size: 40px;
  margin: 0 0 8px;
}

h2 {
  font-size: 23px;
  margin: 32px 0 8px;
}

.updated,
.lede,
footer {
  color: var(--muted);
}

.contact {
  background: var(--soft);
  border-left: 4px solid var(--green);
  margin: 24px 0;
  padding: 18px 20px;
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    margin-top: 20px;
    padding: 28px 24px;
  }

  h1 {
    font-size: 34px;
  }
}
