:root {
  --bg: #fbfaf7;
  --surface: #f2efe8;
  --text: #1d1c1a;
  --muted: #5d5a54;
  --line: #dedad1;
  --accent: #0f5c4d;
  --accent-text: #ffffff;
  --code-bg: #1f2421;
  --code-text: #e9efe9;
  --measure: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151614;
    --surface: #1e201d;
    --text: #ecebe6;
    --muted: #a9a69e;
    --line: #34362f;
    --accent: #5fc2a8;
    --accent-text: #0e1513;
    --code-bg: #0c0e0d;
    --code-text: #dfe8e2;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1rem; }

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 3.5rem; gap: 1rem;
}
.brand {
  font-weight: 700; letter-spacing: 0.02em; color: var(--text); text-decoration: none;
}
.brand span { color: var(--accent); }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
header.site nav a:hover { color: var(--text); }

.hero { padding: 3.5rem 0 2.5rem; }
.eyebrow {
  margin: 0 0 0.75rem; color: var(--muted); font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
h1 {
  margin: 0 0 1rem; font-size: clamp(2rem, 6vw, 2.9rem); line-height: 1.15; letter-spacing: -0.01em;
}
.lead { margin: 0 0 1.75rem; font-size: 1.15rem; color: var(--text); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
.button {
  display: inline-flex; align-items: center; padding: 0.7rem 1.1rem; border-radius: 6px;
  background: var(--accent); color: var(--accent-text); font-weight: 600; text-decoration: none;
}
.button:hover { filter: brightness(1.08); }
.actions code.cmd {
  display: inline-flex; align-items: center; padding: 0.7rem 0.9rem; border-radius: 6px;
  background: var(--code-bg); color: var(--code-text); font-size: 0.9rem;
  overflow-x: auto; max-width: 100%;
}

section { padding: 2rem 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 1rem; font-size: 1.35rem; line-height: 1.3; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin: 0 0 0.55rem; }
li::marker { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.note {
  background: var(--surface); border-left: 3px solid var(--accent);
  padding: 0.9rem 1rem; border-radius: 0 6px 6px 0; margin: 0 0 1rem;
}
.note p:last-child { margin-bottom: 0; }

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
pre {
  background: var(--code-bg); color: var(--code-text); padding: 1rem; border-radius: 6px;
  overflow-x: auto; font-size: 0.88rem; line-height: 1.55; margin: 0 0 1rem;
}
p code, li code { background: var(--surface); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.9em; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.25rem; margin: 0 0 1rem; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }

footer.site { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: 0.9rem; }
footer.site p { margin: 0 0 0.5rem; }
footer.site a { color: var(--muted); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 2.25rem 0 1.75rem; }
  dl.facts { grid-template-columns: 1fr; gap: 0.1rem; }
  dl.facts dd { margin-bottom: 0.6rem; }
}
