
:root{
  --bg:#0b1220;
  --bg-soft:#0f172a;
  --card:#111b32;
  --fg:#e5e7eb;
  --muted:#a3b2d0;
  --accent:#3b82f6;
  --accent-2:#8b5cf6;
  --border:rgba(148,163,184,.20);
  --radius:14px;
  --shadow:0 8px 24px rgba(0,0,0,.25);
  --font:-apple-system,system-ui,Segoe UI,Roboto,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji;
}
html,body{height:100%}
html[data-theme="light"]{
  --bg:#f6f8fc;
  --bg-soft:#ffffff;
  --card:#ffffff;
  --fg:#0b1220;
  --muted:#475569;
  --border:rgba(2,6,23,.12);
}
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font:16px/1.45 var(--font);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.container{max-width:1120px;margin:0 auto;padding:18px}
.header,.footer{
  background:var(--bg-soft);
  border-bottom:1px solid var(--border);
}
.footer{border-top:1px solid var(--border); border-bottom:none}
a{color:inherit;text-decoration:none}
a:hover{opacity:.9}
.nav{display:flex;gap:10px;align-items:center}
.brand{font-weight:700}
.btn{
  display:inline-flex;gap:8px;align-items:center;justify-content:center;
  padding:10px 14px;border:1px solid var(--border);
  border-radius:12px;background:transparent;color:var(--fg);
  transition:.15s ease; text-decoration:none;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--accent);color:#fff;border-color:rgba(0,0,0,.2)}
.btn-ghost{background:transparent}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero{padding:36px;border-radius:var(--radius)}
.grid{display:grid;gap:14px}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
h1,h2,h3{margin:0 0 8px;line-height:1.2}
h1{font-size:40px;font-weight:800}
h2{font-size:28px;font-weight:700}
h3{font-size:20px;font-weight:700}
small, .muted{color:var(--muted)}
.pill{padding:6px 10px;border:1px solid var(--border);border-radius:999px}
.theme-toggle{
  position:fixed;right:16px;bottom:16px;border-radius:999px;border:1px solid var(--border);
  background:var(--bg-soft);color:var(--fg);padding:10px 14px;box-shadow:var(--shadow);
}
