:root {
  color-scheme: light;
  --paper: #f4f4ed;
  --ink: #192e2a;
  --muted: #506457;
  --accent: #205c48;
  --line: #bdc9bd;
  --rule: #d1d9cd;
  --terminal: #12342c;
  --highlight: #d5f4ab;
  --sans: Inter, "Segoe UI", sans-serif;
  --display: "DM Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --gutter: clamp(16px, 5vw, 76px);
  --section-space: clamp(36px, 5vw, 68px);
  font: 100%/1.55 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; }
.site-header, main, .site-footer {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 650;
  text-wrap: balance;
}
h1 { font-size: clamp(3.2rem, 6.8vw, 6.2rem); line-height: 1; letter-spacing: -.065em; }
h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); line-height: 1.07; letter-spacing: -.05em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; letter-spacing: -.025em; }
h1 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
p { margin-block: 0 1em; }
code, pre, samp { font-family: var(--mono); }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a15122; outline-offset: 3px; }
.skip-link { position: absolute; z-index: 2; left: var(--gutter); top: 8px; transform: translateY(-180%); padding: 8px 12px; background: white; }
.skip-link:focus { transform: none; }
.site-header, .site-footer, .site-header nav, .site-brand, .actions, .sectionhead, figcaption {
  display: flex;
  align-items: center;
}
.site-header, .site-footer, .sectionhead, figcaption { justify-content: space-between; }
.site-header { min-height: 84px; gap: 12px; border-bottom: 1px solid var(--line); }
.site-header nav { gap: clamp(12px, 3vw, 44px); }
.site-brand, .site-header nav a { color: var(--ink); text-decoration: none; }
.site-brand { gap: 10px; font-weight: 750; font-size: 25px; line-height: 1; letter-spacing: -.06em; }
.site-brand b { background: #154d43; color: var(--highlight); padding: 4px 7px; font: 700 20px/1 var(--mono); letter-spacing: -2px; }
.site-header nav a { padding-block: 10px; font-size: 14px; font-weight: 600; }
.site-header a:hover, .site-footer a:hover, .site-header a[aria-current="page"] { text-decoration: underline; }
.site-footer { gap: 18px; padding-block: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.hero, .step, #install {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}
.hero { padding-block: clamp(44px, 7vw, 96px); }
.step, .command-reference, #install { border-top: 1px solid var(--line); padding-block: var(--section-space); }
.kicker, .plot-label, figcaption, .caption, .code-label, small {
  font: 600 .75rem/1.5 var(--mono);
}
.kicker, .plot-label, figcaption { text-transform: uppercase; letter-spacing: .09em; }
.kicker { color: var(--accent); margin-bottom: 14px; }
.lead, .step p, #install p:not(.kicker), .reference-note {
  max-width: 55ch; color: var(--muted); font-size: 1.0625rem; line-height: 1.6;
}
.lead { margin-block: 22px; }
.step h2 + p, #install h2 + p { margin-top: 16px; }
.actions { flex-wrap: wrap; gap: 20px; }
.button, .secondary { font-weight: 650; }
.button { display: inline-flex; align-items: center; gap: 16px; border-radius: 4px; background: var(--accent); color: white; padding: 12px 18px; text-decoration: none; }
.button:hover { background: var(--terminal); }
figure {
  margin: 0; padding: 18px 20px 14px; overflow: hidden; border: 1px solid #aebdad; border-radius: 5px;
  background-color: #d9e8d4;
  background-image: linear-gradient(#5679631c 1px,transparent 1px), linear-gradient(90deg,#5679631c 1px,transparent 1px);
  background-size: 22px 22px; color: #32584c;
}
canvas, iframe { display: block; width: 100%; }
canvas { height: auto; }
iframe { border: 0; border-radius: 5px; }
.plot-label, figcaption { font-size: 10px; }
figcaption { border-top: 1px solid var(--line); padding-top: 10px; }
.kicker i, figcaption i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; background: #668d43; border-radius: 50%; }
.terminal, .installcode { min-width: 0; overflow: hidden; color: #e3edda; background: var(--terminal); border-radius: 5px; }
.terminal pre, .installcode pre, .code-label { margin: 0; padding: 16px 20px; font: .875rem/1.6 var(--mono); }
pre { overflow-x: auto; tab-size: 2; }
.input, .code-label { color: var(--highlight); background: #204438; border-bottom: 1px solid #516854; }
.input, .installcode pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.installcode small { display: block; padding: 15px 20px 0; color: #c6dac0; }
.step .caption { margin: 10px 0 0; font: .75rem/1.5 var(--mono); }
.sectionhead { gap: 16px; flex-wrap: wrap; }
.sectionhead .kicker { margin-bottom: 8px; }
.reference-note { max-width: 78ch; margin-block: 20px; }
.command-reference h3 { margin-block: 32px 14px; }
.command-reference dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 24px; margin: 0; }
.command-reference dt, .command-reference dd { margin: 0; padding-block: 15px; border-top: 1px solid var(--rule); }
.command-reference dt code { font-size: .9375rem; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .site-header { min-height: 65px; }
  .hero, .step, #install { grid-template-columns: minmax(0, 1fr); }
  .command-reference dl { grid-template-columns: minmax(0, 1fr); }
  .command-reference dt { padding-bottom: 4px; }
  .command-reference dd { padding: 0 0 16px; border: 0; }
  .site-footer span { font-size: 12px; }
}
