:root {
  color-scheme: light;
  --paper: #f4f1e7;
  --ink: #26342e;
  --muted: #627167;
  --line: #ccd2c1;
  --accent: #526b4c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.8 Georgia,
    "Times New Roman",
    serif;
}
header,
footer {
  max-width: 840px;
  margin: auto;
  padding: 22px 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 10px/1.7 monospace;
  letter-spacing: 1px;
}
header {
  border-bottom: 1px solid var(--line);
}
header a,
footer a {
  text-decoration: none;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
main {
  max-width: 790px;
  margin: auto;
  padding: 0 25px;
}
.cover {
  padding: 60px 0 30px;
}
.eyebrow {
  font: 10px monospace;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 0 0 30px;
}
h1 {
  font-size: clamp(43px, 6vw, 65px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 400;
  margin: 0 0 28px;
}
h1 em {
  color: var(--accent);
}
.deck {
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted);
}
figure {
  margin: 40px 0 24px;
  max-width: 460px;
}
figure svg {
  width: 100%;
  height: auto;
}
figcaption {
  font: 9px/1.8 monospace;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-top: 10px;
}
.byline {
  font-size: 23px;
  line-height: 1.5;
  margin-top: 30px;
}
.byline span {
  font: 11px monospace;
  color: var(--muted);
}
article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
article > p:first-child {
  font-size: 13px;
  color: var(--muted);
}
h2 {
  font-weight: 400;
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 45px 0 22px;
}
p {
  margin: 0 0 20px;
}
code {
  font: 12px/1.7 monospace;
  background: #e5e9dc;
  padding: 2px 4px;
}
pre {
  padding: 18px;
  border: 1px solid var(--line);
  background: #e9ecdf;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 24px 0;
  break-inside: avoid;
}
pre code {
  padding: 0;
  background: none;
  font-size: 12px;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
  font:
    12px/1.8 system-ui,
    sans-serif;
  break-inside: avoid;
}
th,
td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
th {
  font-weight: 500;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 45px;
  padding-bottom: 40px;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
@page {
  size: A4;
  margin: 17mm 19mm;
}
@media print {
  body {
    background: white;
    font-size: 11pt;
    line-height: 1.6;
  }
  header {
    padding: 0 0 12px;
    font-size: 8pt;
  }
  header a:last-child {
    display: none;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .cover {
    padding-top: 25mm;
    break-after: page;
  }
  .cover h1 {
    font-size: 38pt;
  }
  .deck {
    font-size: 16pt;
  }
  .cover figure {
    width: 95mm;
    margin-top: 20mm;
  }
  .byline {
    font-size: 17pt;
  }
  article {
    border: 0;
    padding: 0;
  }
  h2 {
    font-size: 22pt;
    margin-top: 25pt;
    break-after: avoid;
  }
  p {
    orphans: 3;
    widows: 3;
    margin-bottom: 12pt;
  }
  pre {
    padding: 10pt;
    margin: 13pt 0;
  }
  pre code,
  code {
    font-size: 8pt;
  }
  table {
    font-size: 8pt;
  }
  th,
  td {
    padding: 6pt;
  }
  footer {
    padding: 12pt 0 0;
    font-size: 7pt;
    margin-top: 25pt;
  }
}
@media (max-width: 500px) {
  body {
    font-size: 16px;
  }
  header {
    font-size: 8px;
    padding: 18px;
  }
  main {
    padding: 0 20px;
  }
  .cover {
    padding-top: 35px;
  }
  h2 {
    font-size: 29px;
  }
  table {
    font-size: 10px;
  }
  th,
  td {
    padding: 6px;
  }
  figure {
    margin: 30px 0;
  }
}
