/* ACKit docs — framework-free, no CDN, responsive */
* { box-sizing: border-box; }
:root { --bg: #0b141f; --fg: #e6edf3; --muted: #8b949e; --accent: #58a6ff; --border: #30363d; --code-bg: #161b22; }
html[data-theme="dark"] { color-scheme: dark; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif; background: var(--bg); color: var(--fg); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.shell { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.skip-link { position: absolute; left: -9999px; }
.site-header { border-bottom: 1px solid var(--border); background: rgba(13,17,23,0.8); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.1rem; color: var(--fg); }
.docs-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.docs-nav a { padding: 0.25rem 0.5rem; border-radius: 6px; font-size: 0.85rem; border: 1px solid transparent; }
.docs-nav a.active { background: var(--code-bg); border-color: var(--border); color: var(--fg); }
.button { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.5rem 0.75rem; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 600; }
.button-small { padding: 0.35rem 0.6rem; font-size: 0.85rem; }
.docs-main { padding: 2rem 1rem; }
.docs-article { background: #0d1117; border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
.docs-article h1 { margin-top: 0; }
.docs-article h2 { margin-top: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.docs-article pre { background: var(--code-bg); padding: 1rem; overflow-x: auto; border-radius: 6px; border: 1px solid var(--border); }
.docs-article code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.9em; }
.site-footer { border-top: 1px solid var(--border); padding: 1rem 0; margin-top: 2rem; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 700px) { .docs-nav { gap: 0.25rem; } .docs-nav a { font-size: 0.8rem; padding: 0.2rem 0.4rem; } }
