@font-face {
  font-family: Inter;
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url('fonts/newsreader-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #faf8f0;
  color: #202e2b;
  font:
    17px/1.7 Inter,
    sans-serif;
}
main {
  max-width: 820px;
  margin: auto;
  padding: 48px 28px 80px;
}
a {
  color: #214e40;
  text-underline-offset: 4px;
}
a:focus-visible {
  outline: 3px solid #397666;
  outline-offset: 4px;
}
header {
  margin-top: 40px;
}
h1,
h2 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 650px;
}
h2 {
  font-size: 26px;
  line-height: 1.35;
}
h3 {
  font-size: 15px;
  margin: 28px 0 8px;
  color: #4f605a;
}
p {
  margin: 12px 0;
}
.lead {
  font-size: 20px;
}
nav {
  margin: 36px 0;
  padding: 20px 24px;
  background: #e5eee7;
  border-radius: 12px;
}
ol {
  margin: 0;
  padding-left: 22px;
}
li {
  padding: 5px 0;
}
section {
  padding: 34px 0;
  border-top: 1px solid #d7ded6;
  scroll-margin-top: 24px;
}
section h2 a {
  font-size: 17px;
  margin-right: 12px;
  font-variant-numeric: tabular-nums;
}
footer {
  border-top: 1px solid #d7ded6;
  padding-top: 28px;
  color: #4f605a;
  font-size: 15px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
