/* Polished dark UI */
:root{
  --bg:#0b0f14;
  --card:#111827;
  --muted:#9aa7b2;
  --text:#e5eef5;
  --accent:#6ee7ff;
  --accent-2:#7c3aed;
  --border:#1f2937;
  --danger:#ef4444;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:linear-gradient(180deg,#0a0e13,#0c1220);color:var(--text);font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Helvetica Neue",Arial}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:980px;margin:0 auto;padding:16px}
.site-header{position:sticky;top:0;backdrop-filter:blur(6px);background:rgba(10,14,19,.6);border-bottom:1px solid var(--border);z-index:10}
.header-inner{display:flex;gap:16px;align-items:center;justify-content:space-between}
.logo{font-weight:700;letter-spacing:.2px;font-size:20px;color:#fff}
nav{display:flex;gap:12px;align-items:center}
nav a{padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:#0d1623}
nav a.primary{background:linear-gradient(135deg,var(--accent-2),var(--accent));border-color:transparent;color:#001224;font-weight:700}
nav .hi{color:var(--muted);margin-right:8px}
.search input{background:#0c1726;border:1px solid var(--border);color:var(--text);padding:8px 12px;border-radius:8px;min-width:240px}

h1,h2,h3{letter-spacing:.2px}
.card{background:linear-gradient(180deg,#0f1623,#0e1420);border:1px solid var(--border);border-radius:14px;padding:16px;box-shadow:0 1px 0 rgba(255,255,255,.04) inset}
.q-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:12px}
.q-title{font-size:18px;font-weight:700;color:#e8f2ff}
.q-meta{display:flex;gap:12px;color:var(--muted);font-size:14px;margin-top:4px}
.q-excerpt{margin:8px 0 0 0;color:#d2dde7}
.tags{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}
.tag{display:inline-block;background:#0c192a;border:1px solid var(--border);padding:4px 8px;border-radius:999px;font-size:13px;color:#bfeaff}
.answer.card{margin:10px 0}
.form input,.form textarea{width:100%;padding:10px;border-radius:10px;border:1px solid var(--border);background:#0b1727;color:var(--text);outline:none}
.form input:focus,.form textarea:focus{border-color:#2a3b5c;box-shadow:0 0 0 3px rgba(110,231,255,.15)}
button{cursor:pointer;padding:10px 14px;border-radius:10px;border:1px solid var(--border);background:#0e1726;color:var(--text)}
button.primary{background:linear-gradient(135deg,var(--accent-2),var(--accent));border-color:transparent;color:#001224;font-weight:700}
.alert{background:#23121a;border:1px solid #3a1a26;color:#ffb4c0;padding:12px;border-radius:12px;margin:10px 0}
.empty{color:var(--muted)}
.site-footer{border-top:1px solid var(--border);margin-top:40px;background:#0a0f16}
@media(min-width:800px){ .q-list{grid-template-columns:1fr 1fr;} }
