:root {
  --bg: #fafaf9;
  --bg-elevated: #ffffff;
  --bg-subtle: #f3f2ef;
  --text: #18181b;
  --text-secondary: #52525b;
  --text-tertiary: #a1a1aa;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 900px;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* Top bar (LP-ish) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.logo{ font-weight:700; letter-spacing:-0.03em; }
.nav{ display:flex; gap:16px; align-items:center; }
.nav a{ font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.nav a:hover{ color: var(--text); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 10px;
  border-radius: 999px;
}

.hero { padding: 34px 0 18px; }
.hero h1{
  font-family: var(--serif);
  font-size: clamp(2.0rem, 4.2vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 12px 0 10px;
}
.hero p{ margin: 0; color: var(--text-secondary); max-width: 720px; }

.grid{ display:grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0 40px; }
@media (min-width: 860px){ .grid{ grid-template-columns: 1fr 1fr; } }

.card{
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.card h2{ margin: 6px 0 8px; font-size: 16px; letter-spacing: -0.01em; }
.meta{ font-size: 12px; color: var(--text-tertiary); }

.article{ padding: 38px 0 48px; }
.article .wrap{ background: var(--bg-elevated); border:1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.article h1{ font-family: var(--serif); font-size: clamp(2.0rem, 4.6vw, 3.0rem); margin: 0 0 12px; letter-spacing: -0.025em; }
.article h2{ font-size: 18px; margin: 22px 0 10px; letter-spacing: -0.01em; }
.article p, .article li { color: var(--text-secondary); }
.article .lede{ color: var(--text-secondary); font-size: 15px; }
hr{ border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.footer{ font-size: 12px; color: var(--text-tertiary); margin-top: 14px; }
.kbd{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; color: var(--text-secondary); }
