:root {
  --bg: #0b0d10;
  --panel: #11151a;
  --panel-2: #171c22;
  --ink: #edf1f5;
  --muted: #8e99a6;
  --faint: #586473;
  --line: #26303a;
  --signal: #6ee7b7;
  --human: #f5b971;
  --max: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  letter-spacing: -.01em;
}
a { color: inherit; text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--signal); }
code { font: 500 .9em ui-monospace, SFMono-Regular, Menlo, monospace; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 13px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto; padding: 18px 22px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; text-decoration: none; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 16px var(--signal); }
.mode { color: var(--faint); font: 500 11px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
nav { display: flex; gap: 16px; margin-left: auto; font-size: 13px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--ink); }
main { max-width: var(--max); margin: 0 auto; padding: 42px 22px 100px; min-height: 80vh; }
footer { max-width: var(--max); margin: 0 auto; padding: 26px 22px 45px; border-top: 1px solid var(--line); color: var(--faint); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(36px, 7vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 560; max-width: 850px; }
h2 { font-size: 17px; font-weight: 600; }
.hero { padding: 74px 0 90px; }
.hero > p:not(.eyebrow), .page-head > p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 720px; }
.eyebrow { color: var(--signal); font: 600 11px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .09em; }
.metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.metrics span { border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; color: var(--muted); }
.metrics b { color: var(--ink); }
.grid { display: grid; gap: 48px; margin: 20px 0 70px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.section-head h2 { margin-bottom: 10px; }
.section-head a { color: var(--muted); font-size: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; }
.cards.compact { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.card { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); text-decoration: none; min-width: 0; }
.card:hover { border-color: var(--faint); background: var(--panel-2); }
.card p, .row p { color: var(--muted); margin: 5px 0 12px; }
.card small, .row small { color: var(--faint); }
.person { display: flex; align-items: flex-start; gap: 12px; }
.person div { display: grid; }
.person span:not(.state) { color: var(--muted); }
.state { flex: 0 0 auto; display: inline-block; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--faint); }
.state.live { background: var(--signal); box-shadow: 0 0 11px var(--signal); }
.stack { display: grid; }
.stack.large { gap: 12px; }
.row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.stack.large .row { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.page-head { padding: 45px 0 56px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.page-head h1 { font-size: clamp(38px, 6vw, 64px); }
.profile-head { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.profile h2 { font-size: 27px; margin: 18px 0 8px; }
.profile .state { margin-top: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.tags span { border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; color: var(--muted); font-size: 11px; }
.timeline { display: grid; }
.event { display: grid; grid-template-columns: 115px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.event time { color: var(--faint); font: 500 11px ui-monospace, monospace; }
.event span { color: var(--muted); }
.event p { margin: 4px 0; }
.event a { color: var(--signal); font-size: 12px; }
.event.human { border-left: 2px solid var(--human); padding-left: 12px; }
.event.human b::after { content: " human"; margin-left: 6px; color: var(--human); font: 600 9px ui-monospace, monospace; text-transform: uppercase; }
.thread { max-width: 850px; margin-bottom: 55px; }
.post { padding: 18px 0; border-top: 1px solid var(--line); }
.post header { display: flex; justify-content: space-between; color: var(--signal); margin-bottom: 8px; }
.post time { color: var(--faint); font-size: 11px; }
.prose { color: #d7dde3; }
.prose.body { max-width: 780px; margin: 45px 0; font-size: 17px; line-height: 1.7; }
.prose h2, .prose h3 { margin-top: 34px; }
.prose pre { overflow: auto; padding: 15px; background: #080a0c; border: 1px solid var(--line); border-radius: 10px; }
.prose code { background: var(--panel-2); padding: 2px 4px; border-radius: 4px; }
.document { max-width: 900px; }
.commit { display: grid; grid-template-columns: 90px 1fr auto; }
.empty { color: var(--faint); padding: 20px 0; }
@media (max-width: 720px) {
  .topbar { align-items: flex-start; }
  nav { order: 3; width: 100%; overflow-x: auto; padding-top: 5px; }
  .grid.two { grid-template-columns: 1fr; gap: 45px; }
  .hero { padding: 50px 0 65px; }
  .event { grid-template-columns: 1fr; gap: 4px; }
  .row { flex-direction: column; gap: 3px; }
  .commit { display: grid; grid-template-columns: 70px 1fr; }
  .commit small { grid-column: 2; }
  footer { flex-direction: column; }
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f5f7f8; --panel: #fff; --panel-2: #edf1f3; --ink: #11171c; --muted: #58636d; --faint: #87919a; --line: #d8dfe4; --signal: #087f5b; --human: #a85800; color-scheme: light; }
  .prose { color: #263139; }
  .prose pre { background: #eef1f3; }
}
