:root {
  color-scheme: light;
  --ink: #17283d;
  --muted: #435773;
  --rule: #d3deeb;
  --paper: #f7faff;
  --accent: #145ac1;
  font: 16px/1.65 system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-padding-top: 1.5rem;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .21em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.top { background: white; border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.brand { color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.35rem; }
.brand span { color: var(--accent); }
.layout { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 3rem; padding-block: 3.75rem; }
nav { position: sticky; top: 2rem; display: grid; gap: .75rem; font-size: .95rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
article { max-width: 53rem; }
h1, h2 { line-height: 1.14; letter-spacing: -.025em; }
h1 { margin: 0; font-size: clamp(2.15rem, 5vw, 3.6rem); }
h2 { font-size: 1.65rem; margin: 0 0 1rem; }
.lead { color: var(--muted); font-size: 1.17rem; max-width: 43rem; }
section { border-top: 1px solid var(--rule); padding-top: 1.8rem; margin-top: 2.2rem; }
.bots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: .75rem; }
.bots > div, .links > div { background: #eaf2fe; padding: 1rem; border-radius: .55rem; }
.links > div + div { margin-top: .75rem; }
dt { font-weight: 700; }
dd { margin: .25rem 0 0; }
code { font: .9em/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
p code, td code, th code { background: #e6eefb; padding: .05em .26em; border-radius: .2em; }
pre { background: #17283d; color: #f3f7ff; padding: 1rem 1.25rem; border-radius: .55rem; overflow-x: auto; }
pre code { font-size: .9rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .65rem .6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead { background: #eaf2fe; }
@media (max-width: 47rem) {
  .layout { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 1.65rem; }
  nav { position: static; display: flex; flex-wrap: wrap; column-gap: 1rem; }
}
