:root {
  --ink: #1c1d21;
  --muted: #63666e;
  --bg: #fbfaf8;
  --card: #ffffff;
  --line: #e5e2dc;
  --accent: #38607f;
}
:root:not([data-theme="light"]) {
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8e6e1;
    --muted: #9b9ea6;
    --bg: #16171a;
    --card: #1e2024;
    --line: #2e3137;
    --accent: #8fb6d4;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #e8e6e1;
  --muted: #9b9ea6;
  --bg: #16171a;
  --card: #1e2024;
  --line: #2e3137;
  --accent: #8fb6d4;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 40rem; margin: 0 auto; padding: 3.5rem 1.25rem 5rem; }
header { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; margin-bottom: 2.25rem; }
.eyebrow {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .5rem;
}
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 {
  font-size: 1.02rem; margin: 2.25rem 0 .6rem; letter-spacing: -.005em;
  text-wrap: balance;
}
p, li { color: var(--ink); }
.lede { color: var(--muted); font-size: 1.05rem; margin-top: .9rem; }
ul { padding-left: 1.15rem; }
li { margin: .35rem 0; }
a { color: var(--accent); text-underline-offset: .18em; }
a:focus-visible, :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.1rem 1.25rem; margin: 1.5rem 0;
}
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
code {
  font: .87em ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 4px; padding: .1em .35em;
}
footer {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .88rem;
}
footer a { margin-right: 1rem; }
.updated { color: var(--muted); font-size: .85rem; margin-top: .4rem; }
