:root{
  --max-width: 900px;
  --accent: #7c3aed; /* purple */
  --accent2: #ff6bb5; /* pink */
  --bg: #0f1113; /* very dark grey */
  --surface: #121417; /* slightly lighter surface */
  --muted: #9aa3b2;
}
*{box-sizing:border-box}
body{font-family:Inter,system-ui,Segoe UI,Arial,Helvetica,sans-serif;margin:0;color:#fff;background:var(--bg)}
.container{max-width:var(--max-width);margin:0 auto;padding:1rem}
.site-header{background:transparent;border-bottom:1px solid rgba(255,255,255,0.04)}
.site-header .header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:flex;flex-direction:column}
.logo{font-weight:700;color:var(--accent);text-decoration:none;font-size:1.1rem}
.tag{font-size:.8rem;color:var(--muted)}
.main-nav a{margin-left:1rem;color:#fff;text-decoration:none}
.site-footer{border-top:1px solid rgba(255,255,255,0.04);margin-top:3rem;padding:1rem 0;color:var(--muted);background:transparent}
img{max-width:100%;height:auto;border:1px solid rgba(255,255,255,0.04)}

/* Global link styles: use purple accent and pink hover highlight */
a, a:visited{color:var(--accent);text-decoration:underline}
a:hover, a:focus{color:var(--accent2);text-decoration:none}


/* Footer social styling */
.site-footer .footer-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.site-footer .social{display:flex;gap:.5rem;align-items:center}
.site-footer .social a{margin-left:0;color:var(--muted);text-decoration:none;display:inline-flex;align-items:center;padding:.25rem;border-radius:6px}
.site-footer .social a svg{width:20px;height:20px;display:block;fill:var(--muted);transition:fill .13s ease,transform .13s ease}
.site-footer .social a:hover svg{fill:var(--accent2);transform:translateY(-2px)}
.site-footer .social a:focus{outline:2px solid rgba(124,58,237,0.2);outline-offset:2px}

/* About page */
.about-grid{display:grid;grid-template-columns:160px 1fr;gap:1rem;align-items:start}
.about-avatar img{width:160px;height:160px;object-fit:cover;border-radius:8px;border:1px solid #eee}
.about-bio h1{margin-top:0}

@media (max-width:720px){
  .about-grid{grid-template-columns:1fr;grid-template-rows:auto auto}
  .about-avatar{justify-self:center}
}

/* Breadcrumbs */
.breadcrumb{margin:0 0 0.5rem 0;font-size:.95rem}
.breadcrumb a{color:var(--accent);text-decoration:none}

/* Blog styles */
.post-list{display:grid;grid-template-columns:1fr;gap:1rem;margin:1rem 0}
.post-card{padding:1rem;border-radius:8px;background:var(--surface);border:1px solid rgba(255,255,255,0.04)}
.post-card-title{margin:0 0 .25rem 0;color:#fff}
.post-meta{color:var(--muted);font-size:.9rem;margin:0 0 .5rem 0}
.post-excerpt{margin:0;color:#e6eefc}
.post-content{line-height:1.6;color:#e6eefc}

/* Post featured image */
.post-featured{margin:0 0 1rem 0}
.post-featured img{width:100%;height:auto;border-radius:8px;border:1px solid rgba(255,255,255,0.04)}

/* Post typography */
.post h1{font-size:2rem;margin:0 0 .25rem 0;color:#fff}
.post h2{font-size:1.25rem;color:#fff;margin:1rem 0 0.5rem}
.post p{color:#dfe6f6}
.post a{color:var(--accent);text-decoration:underline}
.post a:hover,.post a:focus{color:var(--accent2);text-decoration:none}

pre{background:#0b0c0d;padding:1rem;border-radius:8px;overflow:auto;color:#e6eefc}
code{background:rgba(255,255,255,0.03);padding:.2rem .4rem;border-radius:4px;color:#ffb6e6}
blockquote{border-left:3px solid rgba(124,58,237,0.4);padding-left:1rem;color:var(--muted);margin:1rem 0}

/* post-card image */
.post-card-image img{width:100%;height:140px;object-fit:cover;border-radius:6px;margin-bottom:.5rem}

.post-footer .tag{display:inline-block;background:rgba(124,58,237,0.12);color:var(--accent);padding:.15rem .5rem;border-radius:999px;margin-right:.35rem;font-size:.85rem}

/* Homepage / hero */
.hero{background:linear-gradient(180deg,transparent 0%, rgba(255,255,255,0.02) 60%);padding:3rem 0}
.hero-inner{display:flex;gap:2rem;align-items:center}
.hero-text{flex:1}
.hero-title{font-size:2rem;margin:0 0 .5rem 0;color:#fff}
.hero-lead{color:var(--muted);font-size:1.05rem;margin:0 0 1rem 0}
.hero-ctas .btn{margin-right:.75rem}
.hero-illustration{width:360px;height:220px;display:flex;align-items:center;justify-content:center}
.mock-window{width:100%;height:300px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));box-shadow:0 6px 18px rgba(124,58,237,0.06);overflow:hidden}
.mock-header{height:28px;background:linear-gradient(90deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));border-bottom:1px solid rgba(255,255,255,0.02)}
.mock-body{height:110px;background:linear-gradient(180deg,rgba(255,255,255,0.01),rgba(255,255,255,0.02))}

.features{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.25rem}
.feature{background:var(--surface);border:1px solid rgba(255,255,255,0.04);padding:1rem;border-radius:8px;color:#fff}

.spotlight h2{margin-top:2rem;color:#fff}

/* Latest grid on homepage */
.latest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1rem}
.latest-column h3{margin:0 0 .5rem 0}
.latest-column .post-card{background:transparent;border:0;padding:0}
.latest-column .post-card .post-card-title{color:var(--accent);margin:0}
.latest-column .post-meta{color:var(--muted)}

@media (max-width:880px){
  .latest-grid{grid-template-columns:1fr}
}

/* Buttons */
.btn{display:inline-block;padding:.5rem 1rem;border-radius:6px;text-decoration:none;border:1px solid transparent}
.btn.primary{background:linear-gradient(90deg,var(--accent),var(--accent2));color:#fff}
.btn.ghost{background:transparent;border-color:rgba(255,255,255,0.04);color:var(--accent)}

@media (max-width:880px){
  .hero-inner{flex-direction:column}
  .hero-illustration{width:100%}
  .features{grid-template-columns:1fr}
}

