:root {
  --bg: #08111b;
  --panel: rgba(13, 23, 38, 0.94);
  --panel-2: #112033;
  --line: #223753;
  --text: #edf4ff;
  --muted: #9bb0cb;
  --accent: #62d5ff;
  --accent-2: #ffb84d;
  --good: #79e3a0;
  --warn: #ffd36f;
  --bad: #ff9f9f;
  --code: #09131f;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top right, rgba(98, 213, 255, 0.12), transparent 22%),
    radial-gradient(circle at left 20%, rgba(255, 184, 77, 0.1), transparent 18%),
    linear-gradient(180deg, #06101a 0%, #0d1825 100%);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

code {
  background: var(--code);
  border: 1px solid #1d2c44;
  border-radius: 6px;
  padding: 2px 6px;
  color: #def1ff;
}

.docs-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 28px 22px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 12, 21, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  margin-bottom: 18px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(98, 213, 255, 0.09);
  color: var(--accent);
  font-size: 12px;
  font-family: Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-title {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.nav-group {
  margin-top: 22px;
}

.nav-label {
  margin-bottom: 8px;
  color: var(--accent-2);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-group a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-group a:hover,
.nav-group a.active {
  background: rgba(98, 213, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  transform: translateX(2px);
}

.content {
  padding: 40px 48px 72px;
}

.hero,
.card,
.callout,
.code-block,
table {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  padding: 30px;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(121, 227, 160, 0.1);
  border: 1px solid rgba(121, 227, 160, 0.25);
  color: var(--good);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
}

h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 30px;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

p,
li {
  font-size: 17px;
  color: #dbe7f8;
}

.muted {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.lead {
  max-width: 860px;
  margin-top: 14px;
  font-size: 20px;
  color: #e9f3ff;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card {
  padding: 22px;
}

.card p:last-child,
.callout p:last-child {
  margin-bottom: 0;
}

.callout {
  margin: 20px 0;
  padding: 18px 20px;
}

.callout.good {
  border-left: 4px solid var(--good);
}

.callout.warn {
  border-left: 4px solid var(--warn);
}

.callout.bad {
  border-left: 4px solid var(--bad);
}

.steps,
.faq-list,
.resource-list {
  padding-left: 22px;
}

.code-block {
  overflow: hidden;
  margin: 18px 0 24px;
}

.code-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.copy-btn {
  border: 1px solid #35506f;
  border-radius: 999px;
  padding: 6px 10px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
}

.copy-btn:hover {
  background: rgba(98, 213, 255, 0.08);
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  background: var(--code);
  color: #e3f1ff;
  font-size: 14px;
  line-height: 1.55;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  margin: 18px 0 24px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: rgba(98, 213, 255, 0.06);
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

@media (max-width: 980px) {
  .docs-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .content {
    padding: 28px 20px 56px;
  }
}
