@font-face {
  font-family: "Ubuntu Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ubuntu-mono-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Ubuntu Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ubuntu-mono-700-latin.woff2") format("woff2");
}

:root {
  --bg: #000;
  --panel: #020617;
  --line: #1e293b;
  --cyan: #67e8f9;
  --cyan-hot: #22d3ee;
  --violet: #c4b5fd;
  --amber: #fbbf24;
  --muted: #94a3b8;
  --text: #e2e8f0;
  --mono: "Ubuntu Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  font-family: var(--mono);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
code {
  color: #67e8f9;
  background: #0f172a;
  border: 1px solid #164e63;
  padding: 0.05em 0.4em;
  border-radius: 4px;
  font-size: 0.92em;
  word-break: break-all;
}

.wrap {
  width: 90vw;
  height: 90vh;
  height: 90dvh;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wrap > .panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  overflow: auto;
}
.logo { width: 220px; max-width: 70vw; height: auto; display: block; }
.logo-sm { width: 120px; height: auto; display: block; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: #083344;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font: 700 13px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.btn-cyan {
  background: #22d3ee;
  color: #020617;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
}
.btn-cyan:hover { background: #67e8f9; color: #020617; }
.btn-violet {
  background: #1e1b4b;
  color: #ddd6fe;
  border-color: #7c3aed;
}
.btn-violet:hover { background: #4c1d95; color: #fff; }
.btn-ghost {
  background: #0f172a;
  color: #cbd5e1;
  border-color: #334155;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 32px;
}
.panel-cyan { border-color: rgba(34, 211, 238, 0.35); }
.muted { color: var(--muted); }
h1 { font-size: 28px; line-height: 1.2; margin: 12px 0; }
h2 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin: 28px 0 10px; }
p { margin: 0 0 12px; }
ul { margin: 0 0 14px; padding-left: 18px; color: #cbd5e1; }
li { margin: 6px 0; }

.glow { position: relative; overflow: hidden; }
.glow::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 240px; height: 240px;
  background: rgba(34, 211, 238, 0.08);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  margin: 0;
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.top-brand { display: flex; align-items: center; gap: 14px; }
.top-brand span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.docs {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  flex: 1;
  min-height: 0;
}
.nav {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 12px;
  align-self: stretch;
  overflow-y: auto;
}
.nav a {
  display: block;
  color: #94a3b8;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
}
.nav a:hover, .nav a.on { background: #0f172a; color: var(--cyan); }
.nav .sec {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  padding: 12px 10px 4px;
}
.article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 36px 48px;
  overflow-y: auto;
  min-height: 0;
}
.article h1 { font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0; }
.soon-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--amber);
  text-transform: uppercase;
}
.table-wrap { overflow-x: auto; margin: 12px 0 20px; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #64748b; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; background: #0f172a; }
td:first-child code { white-space: nowrap; }
.note {
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: #1c1408;
  color: #fde68a;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin: 14px 0;
}

@media (max-width: 900px) {
  body {
    display: block;
    overflow: auto;
  }
  .wrap {
    width: 94vw;
    height: auto;
    min-height: 90dvh;
    margin: 12px auto 24px;
  }
  .docs { grid-template-columns: 1fr; }
  .nav { position: static; max-height: none; }
  .article { padding: 22px 18px 36px; overflow: visible; }
  h1 { font-size: 22px; }
}
