:root {
  --bg: #0b0f14;
  --surface: #121820;
  --border: #1e2836;
  --text: #e7ecf2;
  --muted: #8b98a8;
  --accent: #3b82f6;
  --ok: #22c55e;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
.container { max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }
.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(11,15,20,.9);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; gap: 1rem; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 600; letter-spacing: -.02em; }
.logo { width: 28px; height: 28px; color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 1rem; font-size: .92rem; }
nav a:hover { color: var(--text); }
nav a.muted { opacity: .7; }
.hero { padding: 2.5rem 0 1rem; }
.badge {
  display: inline-block; font-size: .75rem; font-weight: 600;
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: 1rem;
}
.badge-ok { background: rgba(34,197,94,.15); color: var(--ok); border: 1px solid rgba(34,197,94,.3); }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 .75rem; letter-spacing: -.03em; }
.lead { color: var(--muted); max-width: 60ch; margin: 0 0 .5rem; }
.meta { font-size: .85rem; color: var(--muted); }
.grid.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem 0 1.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.card h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .5rem; }
.metric { font-size: 1.75rem; font-weight: 700; margin: 0; letter-spacing: -.02em; }
.hint, .fine { font-size: .82rem; color: var(--muted); margin: .35rem 0 0; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 500; font-size: .78rem; text-transform: uppercase; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .4rem; }
.dot.ok { background: var(--ok); box-shadow: 0 0 8px rgba(34,197,94,.5); }
.notice p { margin: .5rem 0; }
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding: 2rem 1.25rem 3rem; color: var(--muted); font-size: .82rem;
}
.diagram, .code {
  background: #0a0e13; border: 1px solid var(--border); border-radius: 8px;
  padding: 1rem; overflow-x: auto; font-size: .82rem; color: #a8b4c4;
}
