:root {
  --paper: #eef1ef;
  --ink: #1b2220;
  --muted: #5b655f;
  --line: #d7dcd8;
  --accent: #2f6e63;
  --accent-soft: #e2ece9;
}
:root[data-theme="dark"] {
  --paper: #12181a; --ink: #e6ebe8; --muted: #96a39c; --line: #2a3532;
  --accent: #6fc0af; --accent-soft: #1c2b28;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12181a; --ink: #e6ebe8; --muted: #96a39c; --line: #2a3532;
    --accent: #6fc0af; --accent-soft: #1c2b28;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Iowan Old Style", serif;
  font-size: 19px; line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 40rem; margin: 0 auto; padding: 3.4rem 1.5rem 6rem; }

.langs {
  display: flex; gap: 1rem; margin-bottom: 2.6rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.langs a { color: var(--muted); text-decoration: none; }
.langs a[aria-current="true"] { color: var(--accent); border-bottom: 1px solid var(--accent); }
.langs a:hover { color: var(--ink); }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.1rem;
}
.kicker::before { content: ""; width: 1.1rem; height: 1px; background: var(--accent); display: inline-block; }

h1 {
  font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 600; line-height: 1.18;
  letter-spacing: -0.01em; margin: 0 0 .9rem; text-wrap: balance;
}
.sub { color: var(--muted); font-size: 1.08rem; margin: 0 0 3.4rem; max-width: 34rem; }

section + section { margin-top: 3rem; }
.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .5rem;
}
h2 { font-size: 1.32rem; font-weight: 600; line-height: 1.3; margin: 0 0 .9rem; text-wrap: balance; }
p { margin: 0 0 1.15rem; max-width: 38rem; }
p:last-child { margin-bottom: 0; }
.lede { font-size: 1.14rem; }

.pull {
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  padding: 1.15rem 1.4rem;
  margin: 1.6rem 0;
}
.pull p { max-width: none; }

footer {
  margin-top: 4.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .82rem; color: var(--muted); line-height: 1.8;
}
footer .path { color: var(--ink); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 480px) {
  main { padding: 2.6rem 1.25rem 4rem; }
  body { font-size: 17.5px; }
}
