:root {
  color-scheme: light;
  --ink: #1c3934;
  --muted: #526961;
  --green: #1e7065;
  --border: #dbe6df;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f2f7f4;
  color: var(--ink);
  font:
    17px/1.7 system-ui,
    sans-serif;
}
a {
  color: var(--green);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
  border-radius: 2px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -6rem;
  padding: 0.6rem 1rem;
  background: white;
}
.skip:focus {
  top: 1rem;
}
header,
main,
footer {
  width: min(100% - 40px, 780px);
  margin-inline: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px;
}
.brand {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.05em;
  text-decoration: none;
}
header > a:last-child {
  font-size: 15px;
}
main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 52px);
}
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}
h3 {
  font-size: 21px;
  margin: 30px 0 12px;
}
h1 {
  font-size: clamp(34px, 6vw, 48px);
  margin: 0 0 20px;
  letter-spacing: -0.025em;
}
h2 {
  font-size: 25px;
  margin: 38px 0 14px;
}
p,
ul,
ol {
  margin: 0 0 20px;
}
ul,
ol {
  padding-left: 23px;
}
/* The book: chapter-to-chapter links and the contents list. */
.chapters {
  display: flex;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.chapters a:last-child {
  text-align: right;
}
article hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
li {
  margin-bottom: 9px;
}
.lead {
  font-size: 20px;
  line-height: 1.6;
}
.note {
  padding: 20px;
  background: #e3f0ea;
  border-radius: 12px;
}
.note p:last-child {
  margin-bottom: 0;
}
.button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 650;
}
.date,
footer {
  color: var(--muted);
  font-size: 14px;
}
footer {
  padding-block: 26px 40px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 12px;
}
main a {
  overflow-wrap: anywhere;
}
@media print {
  body {
    background: white;
    font-size: 11pt;
  }
  header,
  main,
  footer {
    width: 100%;
  }
  main {
    border: 0;
    padding: 0;
  }
  .skip,
  .button {
    display: none;
  }
}
