:root {
  --bg: #0f172a;
  --panel: #1e293b;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --green: #4ade80;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }
.topbar {
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1rem 0;
  margin-bottom: 2rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.brand { color: var(--text); text-decoration: none; font-weight: 600; }
.brand span { color: var(--muted); font-weight: 400; }
nav a { color: var(--muted); text-decoration: none; margin-left: 1.25rem; font-size: 0.9rem; }
nav a:hover { color: var(--accent); }
.hero-api { padding: 2rem 0 3rem; }
.badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero-api h1 { font-size: 2rem; margin-bottom: 0.75rem; }
.hero-api p { color: var(--muted); max-width: 36rem; }
.endpoint-preview {
  margin-top: 1.5rem;
  background: var(--panel);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
}
.endpoint-preview code { font-family: var(--mono); color: var(--accent); font-size: 0.95rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 3rem; }
.panel {
  background: var(--panel);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 10px;
  padding: 1.25rem;
}
.panel h2 { font-size: 1rem; margin-bottom: 0.6rem; }
.panel p, .panel li { color: var(--muted); font-size: 0.9rem; }
.panel a { color: var(--accent); }
pre {
  background: #020617;
  padding: 0.85rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.78rem;
  overflow-x: auto;
  margin-top: 0.75rem;
  color: #cbd5e1;
}
.routes { list-style: none; }
.routes li { padding: 0.4rem 0; display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.method {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: var(--mono);
}
.method.get { background: rgba(74, 222, 128, 0.15); color: var(--green); }
.method.post { background: rgba(56, 189, 248, 0.15); color: var(--accent); }
.docs h1 { margin-bottom: 1.5rem; }
.docs .panel { margin-bottom: 1rem; }
.docs h2 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.docs h3 { font-size: 0.9rem; margin: 1rem 0 0.4rem; color: var(--muted); }
.status-grid { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.status-item {
  background: var(--panel);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.status-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.status-item strong { margin-left: auto; color: var(--green); font-size: 0.85rem; }
.muted { color: var(--muted); font-size: 0.85rem; }
.footer { padding: 2rem 0; color: var(--muted); font-size: 0.85rem; border-top: 1px solid rgba(148, 163, 184, 0.1); }
.footer a { color: var(--muted); }
