/* Basic Splitify blog styles for prerendered pages */
:root {
  --bg: #ffffff;
  --text: #0f172a; /* slate-900 */
  --muted: #475569; /* slate-600 */
  --muted-2: #334155; /* slate-700 */
  --border: #e2e8f0; /* slate-200 */
  --brand: #10b981; /* emerald-500 */
  --brand-600: #059669; /* emerald-600 */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

.wrap { min-height: 100%; display: flex; flex-direction: column; }
.container { width: 100%; max-width: 800px; margin: 0 auto; padding: 2rem 1rem; }

/* Header */
.site-header {
  background: linear-gradient(90deg, #0f172a, #111827, #0f172a);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; }
.brand span { opacity: .8; font-size: .875rem; }
.cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600;
  padding: .5rem .75rem; border-radius: .5rem;
}
.cta:hover { background: var(--brand-600); }

/* Article */
.post-header { margin-bottom: 1.5rem; }
.post-title { font-size: 2rem; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.post-subtitle { color: var(--muted); margin: .5rem 0 0 0; font-size: 1.125rem; }
.post-meta { margin-top: .75rem; color: #64748b; font-size: .875rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; background: #f1f5f9; color: #334155; border-radius: 999px; font-size: .75rem; padding: .25rem .5rem; margin-right: .35rem; }

.blog-content { color: var(--muted-2); }
.blog-content h2 { margin-top: 2rem; margin-bottom: .75rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.blog-content h3 { margin-top: 1.5rem; margin-bottom: .5rem; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.blog-content p { margin: 1rem 0; }
.blog-content a { color: var(--brand-600); text-decoration: underline; }
.blog-content ul, .blog-content ol { margin: 1rem 0; padding-left: 1.25rem; }
.blog-content li + li { margin-top: .25rem; }
.blog-content blockquote { margin: 1.25rem 0; padding-left: 1rem; border-left: 3px solid var(--border); color: var(--muted); font-style: italic; }
.blog-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: .95em; background: #f1f5f9; padding: .15rem .35rem; border-radius: .25rem; }
.blog-content pre { margin: 1rem 0; background: #0b1220; color: #e2e8f0; padding: 1rem; border-radius: .5rem; overflow: auto; }
.blog-content img { display: block; max-width: 100%; height: auto; border-radius: .5rem; margin: 1.25rem 0; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); color: #64748b; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.footer-links { display: inline-flex; gap: 1rem; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: #334155; }

