/* Project Commander blog — self-contained styling, matches the marketing site */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: #2563EB; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Top nav (mirrors the marketing header) */
.blog-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 18px 24px;
}
.blog-nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #0f172a; font-size: 1.15rem; }
.blog-nav .brand img { width: 26px; height: 26px; }
.blog-nav .links a { color: #475569; font-weight: 600; margin-left: 22px; font-size: 0.95rem; }
.blog-nav .links a:hover { color: #2563EB; text-decoration: none; }

/* Article */
.article { max-width: 720px; margin: 0 auto; padding: 24px 24px 64px; }
.article .eyebrow { color: #2563EB; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; margin: 24px 0 10px; }
.article h1 { font-size: 2.3rem; line-height: 1.2; color: #0f172a; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.02em; }
.article .meta { color: #64748b; font-size: 0.92rem; margin-bottom: 32px; }
.article h2 { font-size: 1.5rem; color: #0f172a; margin: 40px 0 12px; font-weight: 700; letter-spacing: -0.01em; }
.article h3 { font-size: 1.15rem; color: #0f172a; margin: 28px 0 8px; font-weight: 700; }
.article p { margin: 0 0 18px; font-size: 1.08rem; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 24px; }
.article li { margin-bottom: 8px; font-size: 1.08rem; }
.article strong { color: #0f172a; }
.article blockquote {
  margin: 24px 0; padding: 14px 22px; border-left: 4px solid #2563EB;
  background: #f1f5f9; color: #334155; font-size: 1.06rem; border-radius: 0 8px 8px 0;
}
.article .lead { font-size: 1.2rem; color: #334155; }

/* Comparison table */
.article .table-wrap { overflow-x: auto; margin: 24px 0; }
.article table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.article thead th { background: #0f172a; color: #fff; font-weight: 700; }
.article thead th:first-child { background: #1e293b; }
.article tbody td:first-child, .article tbody th:first-child { font-weight: 600; color: #0f172a; }
.article tbody tr:nth-child(even) td { background: #f8fafc; }

/* End-of-article CTA */
.cta-box {
  margin: 48px 0 0; padding: 28px 30px; background: #0f172a; border-radius: 14px; color: #fff;
}
.cta-box h3 { color: #fff; margin: 0 0 8px; font-size: 1.3rem; }
.cta-box p { color: rgba(255,255,255,0.78); margin: 0 0 18px; font-size: 1.02rem; }
.cta-box .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-box a.primary { background: #2563EB; color: #fff; font-weight: 700; padding: 12px 26px; border-radius: 8px; }
.cta-box a.secondary { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); font-weight: 700; padding: 12px 26px; border-radius: 8px; }
.cta-box a:hover { text-decoration: none; opacity: 0.92; }

/* Blog index */
.blog-hero { max-width: 720px; margin: 0 auto; padding: 40px 24px 8px; }
.blog-hero h1 { font-size: 2.4rem; color: #0f172a; margin: 0 0 10px; font-weight: 800; letter-spacing: -0.02em; }
.blog-hero p { color: #475569; font-size: 1.15rem; margin: 0; }
.post-list { max-width: 720px; margin: 0 auto; padding: 24px 24px 64px; }
.post-card { display: block; padding: 24px 0; border-bottom: 1px solid #e2e8f0; }
.post-card:hover { text-decoration: none; }
.post-card h2 { font-size: 1.4rem; color: #0f172a; margin: 0 0 8px; font-weight: 700; }
.post-card:hover h2 { color: #2563EB; }
.post-card p { color: #475569; margin: 0; font-size: 1.05rem; }

.blog-foot { border-top: 1px solid #e2e8f0; text-align: center; color: #94a3b8; font-size: 0.9rem; padding: 28px 24px; }
.blog-foot a { color: #64748b; }

/* Byline under the article title */
.article .byline { margin: -20px 0 30px; color: #475569; font-size: 0.98rem; }
.article .byline a { font-weight: 700; }

/* "See it Live" in the nav rendered as a button (it's the last nav link) */
.blog-nav .links a:last-child {
  background: #2563EB; color: #fff; padding: 8px 18px; border-radius: 7px; margin-left: 22px;
}
.blog-nav .links a:last-child:hover { color: #fff; opacity: 0.92; text-decoration: none; }
