:root {
  --border: rgba(0,0,0,.10);
  --muted: rgba(0,0,0,.62);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

.container { max-width: 980px; margin: 0 auto; padding: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { font-weight: 800; text-decoration: none; color: #111; }
.nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nav-link { text-decoration: none; color: #111; opacity: .85; }
.nav-link:hover { opacity: 1; text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 650;
  color: #111;
  background: #fff;
}
.btn-primary { background: #111; color: #fff; border-color: #111; }
.btn-secondary { background: #fff; }

/* Hero */
.hero { padding: 26px 0 10px; }
.hero h1 { margin: 0 0 10px; font-size: 34px; letter-spacing: -0.02em; }
.subhead { margin: 0 0 16px; color: var(--muted); max-width: 75ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Sections + posts */
.section { padding: 18px 0; border-top: 1px solid var(--border); }
.post-list { display: grid; gap: 14px; }
.post-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.post-title { font-size: 18px; font-weight: 750; color: #111; text-decoration: none; }
.post-title:hover { text-decoration: underline; }
.post-excerpt { margin: 6px 0 0; color: var(--muted); }

.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Footer */
.site-footer { margin-top: 28px; border-top: 1px solid var(--border); background: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; padding: 22px 18px; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-title { font-weight: 800; margin-bottom: 8px; }
.footer-link { display: block; margin: 6px 0; color: #111; text-decoration: none; opacity: .85; }
.footer-link:hover { opacity: 1; text-decoration: underline; }
