:root {
  --ink: #12294f;
  --muted: #4b5a75;
  --line: #d5dbe4;
  --accent: #0e7c86;
  --soft: #f3f6f4;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.wrap {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}
header {
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 800 20px var(--display);
  text-decoration: none;
}
.brand svg {
  width: 32px;
  height: 32px;
}
header nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
main {
  padding-block: 48px 80px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 {
  font-size: clamp(32px, 5vw, 46px);
  margin: 0 0 8px;
}
h2 {
  font-size: 26px;
  margin: 44px 0 12px;
}
h3 {
  font-size: 20px;
  margin: 28px 0 8px;
}
p,
li {
  max-width: 70ch;
}
p {
  margin: 0 0 14px;
}
ul {
  padding-left: 22px;
  margin: 0 0 14px;
}
li {
  margin-bottom: 6px;
}
.meta {
  color: var(--muted);
  margin-bottom: 32px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 16px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--soft);
  font-weight: 600;
}
.note {
  background: var(--soft);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
}
.toc {
  background: var(--soft);
  border-radius: 10px;
  padding: 16px 20px 16px 40px;
  margin: 0 0 32px;
}
.toc li {
  margin-bottom: 4px;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 32px;
  font-size: 15px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
footer a {
  color: var(--muted);
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer-credit img {
  width: 18px;
  height: 18px;
}
@media (max-width: 640px) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }
  thead {
    display: none;
  }
  tr {
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
  }
  td {
    border: 0;
    padding: 4px 0;
  }
  td::before {
    content: attr(data-k) ': ';
    font-weight: 600;
  }
}
