:root {
  --bp-surface: #0f1417;
  --bp-surface-container: #1b2023;
  --bp-surface-high: #252b2e;
  --bp-on-surface: #dee3e7;
  --bp-muted: #a3b8d0;
  --bp-soft: #7d8a9c;
  --bp-primary: #adc7ff;
  --bp-tertiary: #4edea3;
  --bp-outline: #414754;
  --bp-space-grotesk: "Space Grotesk", system-ui, sans-serif;
  --bp-manrope: "Manrope", system-ui, sans-serif;
  --bp-inter: "Inter", system-ui, sans-serif;
  --bp-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bp-surface);
  color: var(--bp-on-surface);
}

.article-nav {
  max-width: 740px;
  margin: 0 auto;
  padding: 1.25rem 24px 0;
  font-family: var(--bp-inter);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--bp-soft);
}
.article-nav a { color: var(--bp-primary); text-decoration: none; }
.article-nav a:hover { color: var(--bp-tertiary); }
.article-nav span { margin: 0 0.45rem; opacity: 0.6; }

.blog-post {
  position: relative;
  z-index: 1;
  background: var(--bp-surface);
  padding: 2.5rem 0 6rem;
}
.blog-post .bp-inner { max-width: 740px; margin: 0 auto; padding: 0 24px; }
.blog-post .bp-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--bp-inter); font-size: 0.75rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bp-tertiary); margin-bottom: 1.25rem;
}
.blog-post .bp-eyebrow__line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(78,222,163,0.35), transparent); }
.blog-post .bp-title {
  font-family: var(--bp-space-grotesk); font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.08;
  color: var(--bp-on-surface); margin: 0 0 1.25rem;
}
.blog-post .bp-byline {
  font-family: var(--bp-inter); font-size: 0.8125rem; color: var(--bp-soft);
  margin-bottom: 1.75rem; letter-spacing: 0.02em;
}
.blog-post .bp-lead {
  font-family: var(--bp-manrope); font-size: 1.1rem; line-height: 1.65;
  color: var(--bp-muted); max-width: 62ch; margin-bottom: 0;
}
.blog-post .bp-moved {
  font-family: var(--bp-inter); font-size: 0.85rem; line-height: 1.55;
  color: var(--bp-soft); margin: 1.25rem 0 0; max-width: 62ch;
}
.blog-post h3 {
  font-family: var(--bp-space-grotesk); font-weight: 500; letter-spacing: -0.01em;
  font-size: 1.375rem; color: var(--bp-on-surface); margin: 3rem 0 1rem; line-height: 1.25;
}
.blog-post p {
  font-family: var(--bp-manrope); font-size: 1rem; line-height: 1.75;
  color: var(--bp-on-surface); margin: 0 0 1.15rem;
}
.blog-post ul, .blog-post ol {
  font-family: var(--bp-manrope); font-size: 1rem; line-height: 1.75;
  color: var(--bp-on-surface); margin: 0 0 1.15rem; padding-left: 1.25rem;
}
.blog-post li { margin: 0 0 0.4rem; }
.blog-post code {
  font-family: var(--bp-mono); font-size: 0.875em; background: var(--bp-surface-high);
  padding: 0.1em 0.4em; border-radius: 6px; color: var(--bp-on-surface);
}
.blog-post a { color: var(--bp-primary); text-decoration: none; }
.blog-post a:hover { color: var(--bp-tertiary); }
.blog-post figure { margin: 2rem 0 2.5rem; }
.blog-post figure img {
  width: 100%; height: auto; display: block; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}
.blog-post figure.bp-hero img { border-radius: 20px; }
.blog-post figcaption {
  font-family: var(--bp-inter); font-size: 0.75rem; color: var(--bp-soft);
  letter-spacing: 0.02em; margin-top: 0.65rem; line-height: 1.5;
}
.blog-post .bp-callout {
  background: var(--bp-surface-container); border-radius: 18px;
  padding: 1.5rem 1.75rem; margin: 2.5rem 0; border-left: 3px solid var(--bp-tertiary);
}
.blog-post .bp-callout p:last-child { margin-bottom: 0; }
.blog-post .bp-callout p { color: var(--bp-muted); }
.blog-post .bp-footer-note {
  font-family: var(--bp-inter); font-size: 0.75rem; color: var(--bp-soft);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3.5rem;
  padding-top: 1.75rem; border-top: 1px solid var(--bp-outline);
}
@media (max-width: 640px) {
  .blog-post { padding: 1.75rem 0 4rem; }
}
