:root {
  --ink: #14181f;
  --mist: #eef2ef;
  --paper: #12161d;
  --accent: #0f7a6b;
  --ember: #d4552a;
  --font-brand: "Syne", sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--mist);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(15,122,107,0.18), transparent 55%),
    linear-gradient(180deg, #151a22, #0c1016 55%);
  line-height: 1.55;
}
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--ember); }

.shell { width: min(720px, calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  border-bottom: 1px solid rgba(238,242,239,0.1);
  backdrop-filter: blur(8px);
  background: rgba(12,16,22,0.7);
  position: sticky; top: 0; z-index: 5;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 3.5rem; gap: 1rem;
}
.brand {
  font-family: var(--font-brand); font-weight: 800; color: var(--mist);
  text-decoration: none; letter-spacing: -0.02em;
}
.nav a { color: rgba(238,242,239,0.75); text-decoration: none; margin-left: 1rem; font-weight: 500; }
.nav a:hover { color: var(--mist); }

.page { padding: 2.5rem 0 4rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem;
  color: var(--accent); font-weight: 600; margin: 0 0 0.75rem;
}
h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em;
  margin: 0 0 0.75rem; line-height: 1.15;
}
.lede { color: rgba(238,242,239,0.72); max-width: 46ch; margin: 0 0 2rem; }

.pulse-list { list-style: none; padding: 0; margin: 0; }
.pulse-list li { border-top: 1px solid rgba(238,242,239,0.12); }
.pulse-list a {
  display: grid; gap: 0.35rem; padding: 1.15rem 0;
  text-decoration: none; color: inherit;
}
.pulse-list .date { font-size: 0.82rem; color: rgba(238,242,239,0.5); }
.pulse-list .title {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
}
.pulse-list .summary { color: rgba(238,242,239,0.7); }

.prose {
  font-family: var(--font-display); font-size: 1.12rem; line-height: 1.7;
}
.prose p { margin: 0 0 1.1rem; }
.prose h2, .prose h3 {
  font-family: var(--font-brand); margin-top: 1.75rem;
}
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: rgba(238,242,239,0.08);
  padding: 0.1em 0.35em; border-radius: 0.25rem;
}

.site-footer {
  border-top: 1px solid rgba(238,242,239,0.1);
  padding: 1.5rem 0 2rem;
  color: rgba(238,242,239,0.45); font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
