:root {
    --bg: #05070b; --bg-raised: #080b12; --bg-card: #10141d; --bg-card-end: #0b0e15;
    --text: #eef1f6; --text-bright: #c7cedb; --text-mid: #9aa4b6; --text-secondary: #8892a4; --text-dim: #767f93;
    --accent: #5eead4; --accent-hover: #3dd8c0; --accent-muted: rgba(94,234,212,0.12); --accent-subtle: rgba(94,234,212,0.06);
    --coral: #fb7185;
    --border: rgba(255,255,255,0.06); --border-light: rgba(255,255,255,0.1);
    --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body { background: var(--bg); color: var(--text); font-family: 'Instrument Sans', -apple-system, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(6,8,12,0.7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo-group { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; font-weight: 700; color: #eef1f6; letter-spacing: -0.03em; }
.logo-text span { color: #5eead4; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link { color: #8892a4; text-decoration: none; font-size: 0.88rem; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: all 0.2s; }
.nav-link:hover { color: #eef1f6; background: rgba(255,255,255,0.04); }
.nav-link.active { color: #eef1f6; }
.nav-cta { margin-left: 8px; padding: 9px 20px; background: #5eead4; color: #05070b; font-size: 0.88rem; font-weight: 600; border-radius: 8px; text-decoration: none; transition: all 0.2s; }
.nav-cta:hover { background: #3dd8c0; transform: translateY(-1px); }
@media (max-width: 768px) { .nav-link:not(.mobile-show) { display: none; } .nav-links { gap: 4px; } }

/* Blog index */
.blog-head { padding: 140px 0 20px; text-align: center; }
.blog-head .eyebrow { font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.blog-head h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 12px; }
.blog-head p { font-size: 1.08rem; color: var(--text-secondary); max-width: 620px; margin: 0 auto; }
.post-list { max-width: 800px; margin: 20px auto 0; padding: 0 28px 100px; }
.post-item { display: block; text-decoration: none; padding: 30px 0; border-top: 1px solid var(--border); transition: all 0.2s; }
.post-item:hover .post-item-title { color: var(--accent); }
.post-item-date { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.post-item-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; transition: color 0.2s; }
.post-item-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }

/* Article */
.article { max-width: 720px; margin: 0 auto; padding: 130px 28px 40px; }
.article-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-dim); text-decoration: none; margin-bottom: 28px; }
.article-back:hover { color: var(--accent); }
.article-meta { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.article h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 28px; }
.article h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; margin: 44px 0 16px; }
.article h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin: 32px 0 12px; color: var(--text-bright); }
.article p { font-size: 1.08rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; }
.article p strong { color: var(--text-bright); font-weight: 600; }
.article a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-muted); }
.article a:hover { border-color: var(--accent); }
.article hr { border: none; border-top: 1px solid var(--border); margin: 44px 0; }
.author-box { font-size: 0.95rem; color: var(--text-dim); font-style: italic; line-height: 1.6; }
.author-box a { font-style: normal; }

.post-cta { max-width: 720px; margin: 48px auto 0; padding: 0 28px; }
.post-cta-inner { background: linear-gradient(180deg, var(--bg-card), var(--bg-card-end)); border: 1px solid var(--accent-muted); border-radius: 16px; padding: 36px 32px; text-align: center; }
.post-cta-inner h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.post-cta-inner p { font-size: 1rem; color: var(--text-secondary); margin-bottom: 22px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; background: var(--accent); color: var(--bg); font-weight: 600; font-size: 0.95rem; border-radius: 10px; text-decoration: none; transition: all 0.2s; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

footer { padding: 32px 0; border-top: 1px solid var(--border); margin-top: 100px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-text { font-size: 0.82rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.82rem; }
.footer-links a:hover { color: var(--text); }
