:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d2229;
  --muted: #5b6573;
  --line: #e4e1da;
  --accent: #c2410c;
  --accent-soft: #fff1e8;
  --code-bg: #f3f1ec;
  --term-bg: #16191e;
  --term-text: #e6e3dc;
  --radius: 10px;
  --maxw: 760px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121418;
    --surface: #1a1d23;
    --text: #e9e6df;
    --muted: #9aa3ae;
    --line: #2b3038;
    --accent: #fb923c;
    --accent-soft: #2a1d14;
    --code-bg: #20242b;
    --term-bg: #0c0e11;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Source Serif 4", Georgia, "Times New Roman", serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
header.site, footer.site { font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .inner, footer.site .inner, main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}
header.site .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--accent); }
nav.top { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
nav.top a { color: var(--muted); text-decoration: none; }
nav.top a:hover, nav.top a[aria-current] { color: var(--text); }
main { padding-top: 36px; padding-bottom: 48px; }
.crumbs { font: 14px "IBM Plex Sans", system-ui, sans-serif; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
h1, h2, h3 {
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(28px, 6vw, 40px); margin: 0 0 12px; }
h2 { font-size: 24px; margin: 40px 0 10px; }
h3 { font-size: 19px; margin: 28px 0 8px; }
.lede { font-size: 19px; color: var(--muted); margin-top: 0; }
code, pre, kbd {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.86em;
}
code { background: var(--code-bg); padding: 1px 5px; border-radius: 4px; }
pre {
  background: var(--term-bg);
  color: var(--term-text);
  padding: 14px 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  line-height: 1.5;
}
pre code { background: none; padding: 0; color: inherit; font-size: 14px; }
.prompt { color: #fb923c; user-select: none; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: "IBM Plex Sans", system-ui, sans-serif; font-weight: 600; }
.callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0; }
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
}
.card:hover { border-color: var(--accent); }
.card strong { display: block; font-family: "IBM Plex Sans", system-ui, sans-serif; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 15px; }
ol.steps li, ul.check li { margin-bottom: 8px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font: 600 15px "IBM Plex Sans", system-ui, sans-serif;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  margin: 4px 8px 4px 0;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .inner { padding-top: 24px; padding-bottom: 32px; }
footer.site a { color: var(--muted); }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
footer.site h4 { margin: 0 0 6px; color: var(--text); font-size: 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 3px 0; }
