:root { --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
:root[data-theme='light'] {
  --bg: #fafafa; --bg-elevated: #fff; --bg-subtle: #f2f2f3; --border: #e4e4e7; --border-strong: #d4d4d8;
  --text-1: #18181b; --text-2: #52525b; --text-3: #a1a1aa; --accent: #5b5bd6; --accent-strong: #4646c6; --accent-soft: #eeeefc;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #0e0e11; --bg-elevated: #17171b; --bg-subtle: #1e1e23; --border: #26262c; --border-strong: #34343c;
  --text-1: #f4f4f5; --text-2: #a1a1aa; --text-3: #63636b; --accent: #7c7cf0; --accent-strong: #9494f5; --accent-soft: #23233c;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); background: var(--bg); color: var(--text-1); line-height: 1.65; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--border); max-width: 760px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text-1); text-decoration: none; font-weight: 700; }
.brand img { border-radius: 6px; }
.site-header nav { display: flex; gap: 20px; }
.site-header nav a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-header nav a:hover { color: var(--accent); }
main { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 1.4rem; margin: 40px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; margin: 24px 0 8px; }
p { color: var(--text-2); margin: 0 0 16px; }
.intro p { color: var(--text-1); font-size: 1.05rem; }
a { color: var(--accent); }
.byline { color: var(--text-3); font-size: 0.85rem; margin-bottom: 32px; }
.breadcrumb { color: var(--text-3); font-size: 0.8rem; margin-bottom: 16px; }
.breadcrumb a { color: var(--text-3); }
ul, ol { color: var(--text-2); padding-left: 22px; }
li { margin-bottom: 8px; }
pre { background: var(--bg-subtle); border-radius: 10px; padding: 16px; overflow-x: auto; font-size: 0.85rem; }
code { font-family: ui-monospace, monospace; }
.faq { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 24px; }
.faq-item { margin-bottom: 20px; }
.related { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 24px; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 10px; }
.cta { margin-top: 40px; padding: 20px; background: var(--accent-soft); border-radius: 12px; text-align: center; }
.cta a { font-weight: 700; }
.blog-index h1 { margin-bottom: 8px; }
.lede { font-size: 1.05rem; margin-bottom: 40px; }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 20px 0; border-top: 1px solid var(--border); }
.post-list a { text-decoration: none; }
.post-list h2 { margin: 0 0 8px; font-size: 1.2rem; color: var(--text-1); }
.post-list .meta { color: var(--text-3); font-size: 0.8rem; margin: 0; }
.site-footer { border-top: 1px solid var(--border); padding: 24px; text-align: center; color: var(--text-3); font-size: 0.8rem; }
.site-footer a { color: var(--text-3); }
@media (max-width: 640px) { .site-header { flex-direction: column; gap: 12px; align-items: flex-start; } }