:root {
  color: #25352d;
  background: #f7f3e9;
  font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #1d5a41;
}

a:focus-visible {
  outline: 3px solid #b9493b;
  outline-offset: 3px;
}

header {
  padding: 1.2rem max(5vw, calc((100vw - 850px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fffdf7;
  background: #244d3b;
}

header > a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: .8rem;
}

nav a {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: inherit;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: #244d3b;
  background: #fffdf7;
}

main {
  width: min(850px, 90vw);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

h1,
h2 {
  line-height: 1.15;
}

h1 {
  margin: 0 0 .7rem;
  font-size: clamp(2.5rem, 8vw, 4.4rem);
}

h2 {
  margin-top: 2.4rem;
  font-size: 1.35rem;
}

.updated {
  color: #657068;
}

.summary {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 6px solid #ef755f;
  border-radius: 10px;
  background: #fffdf7;
  box-shadow: 0 10px 30px rgba(34, 54, 43, .08);
}

li + li {
  margin-top: .55rem;
}

footer {
  padding: 1.5rem max(5vw, calc((100vw - 850px) / 2));
  color: #536159;
  background: #ebe5d8;
}

@media (max-width: 520px) {
  header {
    align-items: flex-start;
    flex-direction: column;
  }
}
