:root {
  color-scheme: light dark;
  --page: #f8f7f3;
  --ink: #1d2824;
  --muted: #4a625a;
  --rule: #c6d5ce;
  --accent: #155a4d;
  --action-text: white;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #1d2120;
    --ink: #f2f5ef;
    --muted: #c2d2c9;
    --rule: #4b5e54;
    --accent: #8ce2c6;
    --action-text: #18251f;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    1rem/1.6 system-ui,
    sans-serif;
}
header,
main,
footer {
  max-width: 65rem;
  margin: auto;
  padding-inline: 1.25rem;
}
header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
}
header a {
  margin-inline-start: auto;
}
section {
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.intro {
  padding-block: 4rem 2.5rem;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}
h1 {
  font-size: 3.5rem;
  margin: 0.5rem 0 1rem;
}
h2 {
  font-size: 2.2rem;
  margin: 0.5rem 0 1rem;
}
h3 {
  margin-bottom: 0;
}
p,
dd {
  max-width: 66ch;
}
.eyebrow,
dt {
  color: var(--muted);
  font-weight: 650;
}
.eyebrow {
  font-size: 0.875rem;
}
.lead {
  font-size: 1.3rem;
}
a {
  color: var(--accent);
  text-underline-offset: 0.22em;
}
.action {
  display: inline-block;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: var(--action-text);
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 600;
}
.intro .action {
  margin: 0 1rem 0.5rem 0;
}
figure {
  margin: 1.5rem 0;
}
figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}
figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
}
summary {
  cursor: pointer;
  color: var(--accent);
}
dl {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.75rem;
}
dd {
  margin: 0;
}
footer {
  padding-block: 1.5rem;
  color: var(--muted);
}
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
@media (max-width: 35rem) {
  h1 {
    font-size: 2.6rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  dd {
    margin-bottom: 0.6rem;
  }
  .intro {
    padding-block: 2rem;
  }
}
