:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #334155;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --border: #334155;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 32px 20px; }
header.hero { text-align: center; padding: 48px 20px 16px; }
h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
h1 .accent { color: var(--accent); }
.tagline { color: var(--muted); font-size: 1.05rem; max-width: 720px; margin: 0 auto 24px; }
.cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block; padding: 10px 18px;
  background: var(--accent); color: white; text-decoration: none;
  border-radius: 6px; font-weight: 500; transition: background 0.15s;
}
.btn:hover { background: var(--accent-hover); }
.btn.secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn.secondary:hover { background: var(--surface); }
section { margin: 48px 0; }
h2 {
  font-size: 1.4rem; font-weight: 600; margin-bottom: 8px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
h2 .small { font-weight: 400; color: var(--muted); font-size: 0.95rem; }
.section-lead { color: var(--muted); margin-bottom: 20px; }
.grid {
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { font-size: 1rem; font-weight: 600; }
.card .desc { color: var(--muted); font-size: 0.9rem; flex: 1; }
.card .stat {
  font-size: 0.78rem; color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.card .actions { display: flex; gap: 8px; margin-top: 8px; }
.card .actions a {
  padding: 6px 10px; font-size: 0.85rem;
  border: 1px solid var(--border); color: var(--text);
  text-decoration: none; border-radius: 4px;
}
.card .actions a:hover { background: var(--surface-2); }
.card .actions a.primary { background: var(--accent); border-color: var(--accent); }
.card .actions a.primary:hover { background: var(--accent-hover); }
pre.table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  overflow-x: auto; color: var(--text);
}
.demo-img { max-width: 100%; height: auto; border-radius: 8px; margin-top: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
footer { text-align: center; color: var(--muted); padding: 32px 20px; font-size: 0.9rem; }
footer a { color: var(--muted); }
.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem; background: var(--surface-2);
  padding: 2px 6px; border-radius: 4px;
}
