/* Moved out of blog/index.html so the CSP needs no 'unsafe-inline'. */
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --bg: #0B0F1A; --surface: #131926; --elevated: #1A2236; --border: #1E293B;
    --text: #F1F5F9; --text2: #94A3B8; --text3: #64748B;
    --primary: #6366F1; --cyan: #06B6D4; --amber: #D97706; --teal: #0D9488;
    --red: #DC2626; --emerald: #059669;
  }
  html { scroll-behavior: smooth; font-size: 16px; }
  body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
  a { color: var(--cyan); text-decoration: none; }
  a:hover { text-decoration: underline; }
  ::selection { background: var(--primary); color: #fff; }

  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; background: rgba(11,15,26,.85); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(255,255,255,.04); }
  nav .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
  nav .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
  nav .logo-icon { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #6366F1, #06B6D4); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #fff; font-weight: 800; }
  nav .links { display: flex; align-items: center; gap: 24px; font-size: .9rem; }
  nav .links a { color: var(--text2); }
  nav .links a:hover { color: var(--text); text-decoration: none; }
  nav .cta-sm { background: var(--primary); color: #fff !important; padding: 6px 16px; border-radius: 8px; font-weight: 600; }

  .wrap { max-width: 900px; margin: 0 auto; padding: 120px 24px 60px; }
  h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; background: linear-gradient(135deg, #818CF8, #6366F1, #06B6D4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  .subtitle { color: var(--text2); font-size: 1.05rem; margin-bottom: 40px; }

  .post-grid { display: grid; gap: 24px; }
  .post-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 28px; transition: border-color .2s, transform .2s;
  }
  .post-card:hover { border-color: var(--primary); transform: translateY(-2px); }
  .post-card a { text-decoration: none; }
  .post-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; margin-bottom: 12px; }
  .post-card h2 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
  .post-card p { color: var(--text2); font-size: .95rem; margin-bottom: 12px; }
  .post-meta { color: var(--text3); font-size: .8rem; }

  footer { border-top: 1px solid var(--border); padding: 32px 24px; text-align: center; color: var(--text3); font-size: .85rem; }
  footer a { color: var(--text3); margin: 0 12px; }
  footer a:hover { color: var(--text); }
  @media (max-width: 640px) { .wrap { padding: 100px 16px 40px; } h1 { font-size: 1.6rem; } nav .links { display: none; } }
