:root {
  color-scheme: light;
  --ink: #222222;
  --muted: #666666;
  --line: rgba(34, 34, 34, 0.14);
  --paper: #fffdf6;
  --accent: #13765b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 34, 34, 0.28);
}

a:hover {
  border-bottom-color: var(--ink);
}

.shell {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

header,
footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.brand,
nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  color: inherit;
  border-bottom: 0;
  font-size: 22px;
  font-weight: 820;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

main {
  padding: 70px 0 64px;
}

h1 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  margin: 0 0 42px;
  color: #4d4d4d;
  font-size: 20px;
  line-height: 1.5;
}

section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: 0;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0;
  padding-left: 22px;
}

.updated {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 920px);
  }

  header,
  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  main {
    padding: 48px 0 42px;
  }
}
