:root {
  --bg: #0b0f17;
  --surface: #121826;
  --surface-2: #182033;
  --line: #243049;
  --text: #e7ecf5;
  --muted: #93a0b8;
  --accent: #ff5a36;
  --accent-2: #ffb020;
  --ok: #2fbf71;
  --warn: #f0b429;
  --radius: 14px;
  --wrap: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { line-height: 1.6; font-size: 16px; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent-2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11,15,23,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.nav a { color: var(--muted); }
.nav a.active, .nav a:hover { color: var(--text); }
.btn { display: inline-block; padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff7152; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }

/* hero */
.hero { padding: 84px 0 64px; background: radial-gradient(1200px 500px at 80% -10%, rgba(255,90,54,.18), transparent 60%), radial-gradient(800px 400px at 0% 0%, rgba(255,176,32,.08), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; color: var(--accent-2); border: 1px solid rgba(255,176,32,.35); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
h1 { font-size: 46px; line-height: 1.12; margin: 0 0 18px; letter-spacing: -.5px; }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 14px; letter-spacing: -.3px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.player { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.player svg { display: block; width: 100%; height: auto; }
.player .bar { display: flex; justify-content: space-between; padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* sections */
section { padding: 64px 0; }
.muted { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,90,54,.12); color: var(--accent); margin-bottom: 14px; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 32px; letter-spacing: -.5px; }
.stat span { color: var(--muted); font-size: 14px; }
.logos { display: flex; flex-wrap: wrap; gap: 34px; justify-content: center; color: #5d6a84; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta { text-align: center; }
.cta .actions { justify-content: center; }

/* page header */
.page-head { padding: 56px 0 28px; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); max-width: 680px; margin: 0; }

/* lists, tables */
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.list li b { color: var(--text); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
pre { background: #0a0e16; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; overflow-x: auto; color: #c9d3e6; }
code.inline { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.method { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-right: 8px; }
.m-post { background: rgba(47,191,113,.15); color: var(--ok); }
.m-get { background: rgba(80,140,255,.15); color: #7aa7ff; }

/* status */
.status-banner { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: var(--radius); background: rgba(47,191,113,.1); border: 1px solid rgba(47,191,113,.35); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,191,113,.18); flex: none; }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(240,180,41,.18); }
.svc { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc span.state { color: var(--ok); font-size: 14px; }
.svc span.state.warn { color: var(--warn); }
.uptime { display: flex; gap: 3px; margin-top: 6px; }
.uptime i { flex: 1; height: 22px; border-radius: 3px; background: var(--ok); opacity: .85; }
.uptime i.w { background: var(--warn); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
footer h4 { color: var(--text); font-size: 14px; margin: 0 0 10px; }
footer a { color: var(--muted); display: block; padding: 3px 0; }
footer .copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound b { font-size: 96px; letter-spacing: -2px; color: var(--accent); display: block; line-height: 1; }

@media (max-width: 900px) {
  .hero .wrap, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 34px; }
  .nav { display: none; }
}
