/* Orbit Content — Blog (shared across /blog/ and every /blog/<slug>/ page)
   Reuses the futuristic V2 design tokens from index.html. Static header/footer
   (no scroll-driven navbar JS, no mobile hamburger overlay) — this is prose
   content, not the marketing funnel, so it doesn't need the homepage's
   interactive chrome. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #F1F5F9;
  background: #0A0F1E;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(37,99,235,0.4); }

:root {
  --primary: #1D4ED8;
  --primary-dark: #1E40AF;
  --bg-dark: #05080F;
  --bg-dark-alt: #0C1428;
  --bg-light: #0A0F1E;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #8593A8;
  --border: rgba(255,255,255,0.10);
  --teal: #5EEAD4;
  --glass: rgba(255,255,255,0.04);
  --glass-2: rgba(255,255,255,0.07);
  --grad-btn: linear-gradient(180deg, #1D4ED8 0%, #1E40AF 100%);
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--text-primary); letter-spacing: -0.01em; }
p { line-height: 1.7; color: var(--text-secondary); }
a { color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 12px; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.18s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 24px -6px rgba(30,64,175,0.55), inset 0 1px 0 rgba(255,255,255,0.14); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -6px rgba(29,78,216,0.6), inset 0 1px 0 rgba(255,255,255,0.14); }
.btn-ghost { background: var(--glass); color: #fff; border: 1px solid rgba(255,255,255,0.16); }
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(255,255,255,0.26); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ── Header (static — no scroll/mobile JS needed for prose pages) ── */
.blog-header {
  border-bottom: 1px solid var(--border);
  background: rgba(5,8,15,0.85);
}
.blog-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  min-height: 72px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px;
}
.blog-logo {
  font-family: var(--font-heading); font-size: 20px; font-weight: 700;
  color: #fff; text-decoration: none; letter-spacing: -0.3px;
  display: inline-flex; align-items: center; gap: 9px;
}
.blog-nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.blog-nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
.blog-nav-links a:hover, .blog-nav-links a.active { color: #fff; }

/* ── Index page ── */
.blog-hero { padding: 64px 0 40px; }
.blog-hero .eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal);
  display: block; margin-bottom: 16px;
}
.blog-hero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin-bottom: 16px; }
.blog-hero p { font-size: 17px; max-width: 640px; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; padding: 8px 0 80px; }
.blog-card {
  display: block; text-decoration: none;
  background: var(--glass); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; transition: all 0.18s ease;
}
.blog-card:hover { background: var(--glass-2); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.blog-card .meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.blog-card h2 { font-size: 21px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 14.5px; color: var(--text-secondary); margin-bottom: 0; }

/* ── Article page ── */
.article-header { padding: 56px 0 32px; border-bottom: 1px solid var(--border); }
.article-header .eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal);
  display: block; margin-bottom: 18px;
}
.article-header a.eyebrow-link { text-decoration: none; }
.article-header h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; max-width: 820px; margin-bottom: 18px; }
.article-meta { font-size: 13px; color: var(--text-muted); font-family: var(--font-mono); }

.article-body { max-width: 720px; margin: 0 auto; padding: 48px 48px 24px; }
.article-body h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { font-size: 16.5px; margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; color: var(--text-secondary); }
.article-body li { margin-bottom: 10px; font-size: 16.5px; line-height: 1.7; }
.article-body strong { color: var(--text-primary); }

.article-cta {
  max-width: 720px; margin: 24px auto 80px; padding: 32px;
  background: var(--glass); border: 1px solid var(--border); border-radius: 16px;
}
.article-cta p { color: var(--text-secondary); font-size: 15px; margin-bottom: 18px; }
.article-cta .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Footer (reused from index.html, trimmed) ── */
.footer { background: #05080F; border-top: 1px solid var(--border); padding: 56px 48px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 300px; }
.footer-logo { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; margin-top: 6px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-copy { font-size: 13px; color: var(--text-muted); }

@media (max-width: 700px) {
  .container, .blog-header-inner { padding-left: 20px; padding-right: 20px; }
  .article-body { padding: 40px 20px 16px; }
  .article-cta { margin-left: 20px; margin-right: 20px; }
  .footer { padding: 40px 20px 24px; }
  .footer-top { flex-direction: column; gap: 28px; }
}
