:root {
  color-scheme: light dark;
  --paper: #f6f8f5;
  --ink: #132b2b;
  --accent: #126e65;
  --line: #c5d4cd;
  --panel: #e8efea;
  --muted: #405651;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #102021;
    --ink: #e9f0ea;
    --accent: #83d8c8;
    --line: #385254;
    --panel: #1d3334;
    --muted: #bdcfca;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}
header,
main,
footer {
  width: min(100% - 2.5rem, 56rem);
  margin-inline: auto;
}
header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.45rem;
}
header {
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 1.1rem;
  font-weight: 740;
  color: var(--ink);
  text-decoration: none;
}
nav {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}
nav a,
footer a {
  font-size: 0.92rem;
}
main {
  padding-block: clamp(3rem, 9vw, 7rem);
  max-width: 56rem;
}
h1,
h2 {
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 680;
  margin: 0 0 1.6rem;
  max-width: 15ch;
}
h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 2.4rem 0 0.65rem;
}
p,
li,
pre {
  max-width: 44rem;
}
p {
  margin: 0.65rem 0 1.15rem;
}
.lead {
  font-size: clamp(1.18rem, 3vw, 1.55rem);
  line-height: 1.38;
  max-width: 39rem;
  color: var(--muted);
}
.cta {
  display: inline-block;
  border-radius: 0.75rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.62rem 1rem;
  text-decoration: none;
  font-weight: 650;
}
li + li {
  margin-top: 0.65rem;
}
pre {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1rem;
  border-radius: 0.7rem;
  overflow-x: auto;
  font-size: 0.85rem;
}
code {
  font-size: 0.93em;
}
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
#digest {
  overflow-wrap: anywhere;
}
