:root {
  --red: #E10613;
  --bg: #0e0e0e;
  --text: #ececec;
  --title: #f3f1ec;
  --muted: #9a9a9a;
  --line: #2a2a2a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: Geist, Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.inner { width: min(760px, calc(100% - 56px)); margin: 0 auto; }

.nav {
  position: sticky; top: 18px; z-index: 20;
  display: flex; justify-content: center; padding: 0 16px;
}
.nav-pill {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: #161616; border: 1px solid #2a2a2a;
  border-radius: 999px; padding: 8px 8px 8px 14px;
}
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--title); }
.nav-brand img { width: 28px; height: 28px; border-radius: 31%; object-fit: cover; }
.nav-pill a { text-decoration: none; font-size: 14px; color: #8b8b8b; }
.nav-pill a.on { color: var(--title); font-weight: 600; }

.serif {
  font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  color: var(--title);
  letter-spacing: -.02em;
  line-height: 1.12;
}

.page { padding: 72px 0 80px; }
.page h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin: 0 0 12px;
}
.updated { color: var(--muted); font-size: 13px; margin: 0 0 40px; }
.page h2 {
  font-size: 20px;
  font-weight: 650;
  color: var(--title);
  margin: 36px 0 10px;
  letter-spacing: -.02em;
}
.page p, .page li {
  color: #cfcfcf;
  line-height: 1.65;
  font-size: 15px;
}
.page p { margin: 0 0 14px; }
.page ul { margin: 0 0 16px; padding-left: 20px; }
.page a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 28px 0 0; font-size: 13px; color: var(--muted); }
.legal-links a { color: #bdbdbd; text-decoration: none; }
.legal-links a:hover, .legal-links a.on { color: #fff; }

.hero-404 { text-align: center; padding: 88px 0 40px; }
.hero-404 h1 { font-size: clamp(42px, 8vw, 72px); margin: 0 0 12px; }
.hero-404 p { color: var(--muted); max-width: 420px; margin: 0 auto 28px; line-height: 1.6; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 14px 22px; text-decoration: none; font-weight: 600; font-size: 15px;
  background: var(--red); color: #fff !important;
}
.btn.ghost {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
}
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-404 .kicker { margin-bottom: 12px; }
.legal-links.center { justify-content: center; }

footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px;
  color: #8b8b8b; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
footer a { text-decoration: none; }

@media (max-width: 860px) {
  .inner { width: min(760px, calc(100% - 32px)); }
  .nav-pill { gap: 12px; justify-content: center; }
}
