*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #05070D; --s1: #0F1820; --s2: #1C2535; --s3: #243040;
  --muted: #3D5570; --dim: #5A7A99; --body: #C8D8E8; --bright: #F0F6FF;
  --cyan: #00E5FF; --green: #00E5A0; --amber: #FF9500; --purple: #A78BFA;
}
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--body); font-family: 'DM Sans', sans-serif; line-height: 1.6; min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; z-index: 9999; opacity: 0.14; }
body::after { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(0,229,255,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,0.018) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; z-index: -1; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(5,7,13,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,229,255,0.06); padding: 0 40px; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.nav-name { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 600; color: var(--bright); letter-spacing: -0.02em; }
.nav-live { font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 500; color: var(--cyan); letter-spacing: 0.12em; background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2); padding: 2px 7px; border-radius: 3px; margin-left: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; color: var(--dim); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--bright); }
.nav-links a.active { color: var(--cyan); }
.nav-cta { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: var(--bg) !important; background: var(--cyan); padding: 8px 20px; border-radius: 6px; letter-spacing: 0.06em; transition: all 0.2s; text-transform: uppercase; }
.nav-cta:hover { background: #33EAFF; box-shadow: 0 0 20px rgba(0,229,255,0.3); color: var(--bg) !important; }

.article-header { padding: 120px 40px 40px; max-width: 760px; margin: 0 auto; }
.back-link { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--cyan); text-decoration: none; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 32px; transition: opacity 0.2s; }
.back-link:hover { opacity: 0.7; }
.article-tag { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 16px; }
.tag-build { background: rgba(0,229,255,0.06); border: 1px solid rgba(0,229,255,0.15); color: var(--cyan); }
.tag-tech { background: rgba(0,229,160,0.06); border: 1px solid rgba(0,229,160,0.15); color: var(--green); }
.tag-industry { background: rgba(167,139,250,0.06); border: 1px solid rgba(167,139,250,0.15); color: var(--purple); }
.tag-changelog { background: rgba(255,149,0,0.06); border: 1px solid rgba(255,149,0,0.15); color: var(--amber); }
.article-title { font-family: 'Fraunces', serif; font-size: 42px; font-weight: 400; color: var(--bright); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--s2); }
.author { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.2); display: flex; align-items: center; justify-content: center; font-family: 'DM Mono', monospace; font-size: 12px; color: var(--cyan); }
.author-name { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; color: var(--bright); }
.author-role { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); }
.meta-date, .meta-read { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); }

.article-body { max-width: 760px; margin: 0 auto; padding: 40px 40px 80px; }
.article-body p { font-size: 16px; color: var(--body); line-height: 1.8; margin-bottom: 24px; }
.article-body h2 { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 600; color: var(--bright); margin: 48px 0 16px; }
.article-body h3 { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 600; color: var(--bright); margin: 36px 0 12px; }
.article-body strong { color: var(--bright); font-weight: 600; }
.article-body em { color: var(--cyan); font-style: italic; }
.article-body blockquote { border-left: 2px solid var(--cyan); padding: 16px 24px; margin: 32px 0; background: rgba(0,229,255,0.02); border-radius: 0 8px 8px 0; }
.article-body blockquote p { font-family: 'Fraunces', serif; font-size: 18px; color: var(--bright); font-style: italic; line-height: 1.6; margin-bottom: 0; }
.article-body code { font-family: 'DM Mono', monospace; font-size: 14px; background: var(--s1); border: 1px solid var(--s2); padding: 2px 6px; border-radius: 4px; color: var(--cyan); }
.article-body pre { background: var(--s1); border: 1px solid var(--s2); border-radius: 10px; padding: 24px; margin: 24px 0; overflow-x: auto; }
.article-body pre code { background: none; border: none; padding: 0; font-size: 13px; line-height: 1.7; color: var(--body); }
.article-body hr { border: none; height: 1px; background: var(--s2); margin: 48px 0; }

.article-footer { max-width: 760px; margin: 0 auto; padding: 0 40px 60px; border-top: 1px solid var(--s2); padding-top: 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.article-footer a { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--cyan); text-decoration: none; letter-spacing: 0.06em; transition: opacity 0.2s; }
.article-footer a:hover { opacity: 0.7; }

.footer { max-width: 1200px; margin: 0 auto; padding: 40px 40px 60px; border-top: 1px solid var(--s2); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.footer-name { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: var(--bright); }
.footer-copy { font-family: 'DM Mono', monospace; font-size: 9px; color: var(--muted); letter-spacing: 0.06em; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .article-header { padding: 110px 24px 32px; }
  .article-title { font-size: 28px; }
  .article-body { padding: 32px 24px 60px; }
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
}
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
