:root {
  color-scheme: dark;
  font:
    16px/1.65 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: #0c1417;
  color: #e5f3ed;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #58e6b4;
}
a:hover {
  text-decoration: none;
}
header,
footer {
  padding: 1rem max(1.5rem, calc((100vw - 72rem) / 2));
  border-bottom: 1px solid #29433e;
}
footer {
  border-top: 1px solid #29433e;
  border-bottom: 0;
  margin-top: 4rem;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
header nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
main {
  max-width: 72rem;
  margin: auto;
  padding: 2.5rem 1.5rem;
}
article {
  max-width: 50rem;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  margin-top: 3rem;
  font-size: 1.65rem;
}
h3 {
  margin-top: 2rem;
}
p,
li {
  max-width: 75ch;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
code {
  font-size: 0.9em;
  background: #182b29;
  padding: 0.1rem 0.28rem;
  border-radius: 0.25rem;
}
pre {
  background: #14231f;
  border: 1px solid #31584b;
  border-radius: 0.5rem;
  padding: 1rem;
  overflow: auto;
}
pre code {
  padding: 0;
  background: transparent;
}
aside {
  border-left: 3px solid #58e6b4;
  padding: 0.25rem 1rem;
  background: #14231f;
}
table {
  border-collapse: collapse;
  display: block;
  overflow: auto;
  width: 100%;
}
th,
td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #31584b;
  padding: 0.6rem;
}
th {
  color: #a7cbbc;
}
small {
  color: #a7cbbc;
}
.toc {
  display: flex;
  gap: 0.4rem 1.2rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}
