:root {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --border: #1f1f1f;
  --border-bright: #2a2a2a;
  --fg: #e8e6e1;
  --fg-mute: #8b8680;
  --fg-faint: #555049;
  --acid: #c8ff00;
  --maxw: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
}

a { color: var(--acid); text-decoration: none; border-bottom: 1px solid transparent; }
a:hover { border-bottom-color: var(--acid); }

.topbar { position: relative; z-index: 10; border-bottom: 1px solid var(--border); background: rgba(10,10,10,0.85); }
.topbar-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 14px clamp(20px, 3vw, 40px);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.04em;
}
.topbar .brand-mark { display: flex; align-items: center; gap: 8px; color: var(--fg); }
.topbar a { color: var(--fg-mute); border-bottom: 0; }
.topbar a:hover { color: var(--acid); }

main { position: relative; z-index: 5; max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 9vh, 96px) clamp(20px, 3vw, 40px) 80px; }

.crumb {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 24px;
}
.crumb .acid { color: var(--acid); }

h1 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 12px;
}
h1 em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: var(--fg-mute); }

.lastmod {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--fg-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

h2 {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  color: var(--fg);
}
h2::before {
  content: '§ ';
  color: var(--acid);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px;
}

p { color: var(--fg); margin-bottom: 14px; max-width: 64ch; }
p + h2 { margin-top: 44px; }
strong { color: var(--fg); font-weight: 500; }
em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: var(--fg-mute); }
ul { margin: 8px 0 16px 22px; }
li { color: var(--fg); margin-bottom: 6px; }
li::marker { color: var(--fg-faint); }

footer.foot {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 24px 0;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer.foot a { color: var(--fg-mute); border-bottom: 0; }
footer.foot a:hover { color: var(--acid); }

::selection { background: var(--acid); color: var(--bg); }
