:root {
  --bg: #fbfaf7;
  --ink: #141414;
  --muted: #5b5a56;
  --faint: #8a8883;
  --rule: #e4e1d9;
  --accent: #00a6d6;
  --accent-ink: #007fa5;
  --code-bg: #f3f1ec;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Charter", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131312;
    --ink: #eeece6;
    --muted: #a6a39c;
    --faint: #7a7873;
    --rule: #2a2925;
    --accent: #29b9e6;
    --accent-ink: #62cbec;
    --code-bg: #1c1c1a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 21px; letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; display: block; }
nav.links { display: flex; gap: 22px; font-size: 14.5px; color: var(--muted); }

.hero { padding: 96px 0 56px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}
.hero h1 em { font-style: italic; color: var(--accent-ink); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 600px; margin: 0 0 36px; }

.install { border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.install .tabs { display: flex; gap: 0; border-bottom: 1px solid var(--rule); background: var(--code-bg); }
.install input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.install label { padding: 9px 16px; font-size: 13.5px; color: var(--muted); cursor: pointer; border-right: 1px solid var(--rule); }
.install label:hover { color: var(--ink); }
.install .panel { display: none; position: relative; }
.install pre { margin: 0; padding: 18px 56px 18px 18px; font-family: var(--mono); font-size: 14px; line-height: 1.5; overflow-x: auto; white-space: pre; }
.install .copy { position: absolute; top: 10px; right: 10px; border: 1px solid var(--rule); background: var(--bg); color: var(--muted); font: 12.5px var(--sans); padding: 5px 9px; border-radius: 4px; cursor: pointer; }
.install .copy:hover { color: var(--ink); }
#t-unix:checked ~ .tabs label[for="t-unix"], #t-win:checked ~ .tabs label[for="t-win"], #t-npm:checked ~ .tabs label[for="t-npm"] { color: var(--ink); background: var(--bg); }
#t-unix:checked ~ .p-unix, #t-win:checked ~ .p-win, #t-npm:checked ~ .p-npm { display: block; }
.hero p.note { font-size: 14px; color: var(--faint); margin: 14px 0 0; }

section { padding: 56px 0; border-top: 1px solid var(--rule); }
section h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -0.01em; margin: 0 0 22px; }
.eyebrow { display: block; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
section p { max-width: 620px; margin: 0 0 16px; color: var(--muted); }
section p strong { color: var(--ink); font-weight: 600; }

ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
ol.steps li { position: relative; padding: 0 0 22px 44px; counter-increment: step; max-width: 620px; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border: 1px solid var(--rule); border-radius: 50%; text-align: center; line-height: 24px; font-size: 13px; color: var(--muted); font-family: var(--serif); }
ol.steps li b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
ol.steps li span { color: var(--muted); }

ul.ask { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
ul.ask li { break-inside: avoid; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--ink); padding: 0 0 18px; }
ul.ask li::before { content: "\201C"; color: var(--accent); }
ul.ask li::after { content: "\201D"; color: var(--accent); }

dl.features { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; }
dl.features dt { font-weight: 600; margin-bottom: 6px; }
dl.features dd { margin: 0; color: var(--muted); font-size: 16px; }
dl.features code, section code, ol.steps code { font-family: var(--mono); font-size: 0.86em; background: var(--code-bg); padding: 1px 5px; border-radius: 3px; }

table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; color: var(--ink); }
td { color: var(--muted); }
td:first-child, th:first-child { color: var(--ink); width: 22%; }

ul.plain { padding-left: 18px; margin: 0; color: var(--muted); max-width: 620px; }
ul.plain li { margin-bottom: 8px; }

details { border-top: 1px solid var(--rule); padding: 14px 0; max-width: 680px; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--faint); font-family: var(--serif); font-size: 20px; }
details[open] summary::after { content: "\2013"; }
details p { margin: 10px 0 0; }

footer { border-top: 1px solid var(--rule); padding: 32px 0 56px; font-size: 14px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--muted); }

@media (max-width: 640px) {
  .hero { padding: 64px 0 40px; }
  .install pre { font-size: 13px; padding: 16px 18px 44px; }
  .install .copy { top: auto; bottom: 10px; right: 10px; }
  ul.ask { columns: 1; }
  dl.features { grid-template-columns: 1fr; }
  nav.links { gap: 14px; }
  td:first-child, th:first-child { width: 30%; }
}
