:root {
  --hs-primary: #0ea5e9;
  --hs-accent: #38bdf8;
  --hs-bg-dark: #061529;
  --hs-card-dark: rgba(13, 36, 61, 0.78);
  --hs-border-dark: rgba(31, 58, 86, 0.7);
  --hs-text: #e5f1ff;
  --hs-muted: #9db7d1;
  --hs-shadow: 0 22px 60px rgba(3, 11, 24, 0.45);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hs-text);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.24), transparent 24%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.18), transparent 22%),
    linear-gradient(180deg, #04101f 0%, #061529 48%, #091b33 100%);
  font: 16px/1.65 "Inter", sans-serif;
}

.global-install-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 10px 16px;
  background: rgba(4, 16, 31, 0.95);
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(10px);
}

.global-install-bar__inner {
  width: min(1360px, calc(100vw - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.global-install-bar__label {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.16);
  color: var(--hs-accent);
  font: 500 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.global-install-bar code {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(8, 17, 32, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #d9f0ff;
  overflow-x: auto;
  white-space: nowrap;
}

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

a:hover {
  text-decoration: underline;
}

.glass {
  background: var(--hs-card-dark);
  backdrop-filter: blur(10px);
  border: 1px solid var(--hs-border-dark);
  box-shadow: var(--hs-shadow);
}

.page-chrome {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  width: min(1360px, calc(100vw - 32px));
  margin: 24px auto;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 18px;
  padding: 24px 18px;
  border-radius: 26px;
}

.sidebar-section + .sidebar-section {
  margin-top: 24px;
}

.sidebar-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--hs-muted);
  font: 500 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  margin-bottom: 10px;
  width: 100%;
}

.brand img {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.brand span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.brand strong {
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand small,
.site-nav,
.lead,
code,
pre {
  font-family: "IBM Plex Mono", monospace;
}

.brand small {
  color: var(--hs-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--hs-text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sidebar-nav a:hover {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(56, 189, 248, 0.28);
  text-decoration: none;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 20px;
  color: var(--hs-accent);
}

.sidebar-meta {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--hs-muted);
  font-size: 0.97rem;
}

.meta-row strong {
  color: var(--hs-text);
  font-weight: 600;
  text-align: right;
}

.shell {
  min-width: 0;
}

.site-header,
.site-footer,
.content {
  border-radius: 24px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
}

.site-footer {
  margin-top: 18px;
  color: var(--hs-muted);
  font-size: 14px;
}

.site-title {
  margin: 8px 0 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.header-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: var(--hs-text);
}

.header-link:hover {
  text-decoration: none;
  background: rgba(14, 165, 233, 0.18);
}

.content {
  margin-top: 18px;
  padding: 32px;
  font-size: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(13, 36, 61, 0.42));
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 24px;
}

.hero--compact {
  padding: 24px;
}

.hero__brand {
  display: grid;
  place-items: center;
  min-height: 180px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.14);
  color: var(--hs-accent);
  font: 500 12px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h2 {
  margin-top: 34px;
  font-size: 1.7rem;
}

.lead {
  max-width: 60ch;
  color: var(--hs-muted);
  font-size: 1.06rem;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
}

.button--primary {
  background: linear-gradient(135deg, var(--hs-primary), var(--hs-accent));
  color: #fff;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.18);
  color: var(--hs-text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: rgba(13, 36, 61, 0.84);
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(3, 11, 24, 0.28);
  text-decoration: none;
  color: var(--hs-text);
}

.card span {
  color: var(--hs-muted);
  line-height: 1.45;
}

.doc-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.doc-list a {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(13, 36, 61, 0.62);
  border: 1px solid rgba(56, 189, 248, 0.12);
  box-shadow: 0 6px 14px rgba(3, 11, 24, 0.18);
  color: var(--hs-text);
  font-weight: 500;
}

ul,
ol {
  padding-left: 22px;
}

code {
  padding: 2px 6px;
  background: rgba(14, 165, 233, 0.12);
  border-radius: 6px;
  color: #bfeaff;
  font-size: 0.92em;
}

pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 16px;
  background: #081120;
  color: #e6edf7;
  border: 1px solid rgba(56, 189, 248, 0.14);
}

pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(3, 11, 24, 0.22);
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  text-align: left;
}

th {
  background: rgba(14, 165, 233, 0.12);
}

td {
  background: rgba(13, 36, 61, 0.54);
}

@media (max-width: 820px) {
  .page-chrome {
    grid-template-columns: 1fr;
    width: min(100vw - 18px, 100%);
    margin: 12px auto;
  }

  .global-install-bar {
    padding: 8px 10px;
  }

  .global-install-bar__inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sidebar {
    position: static;
  }

  .brand strong {
    font-size: 1.2rem;
  }

  .sidebar-nav a {
    font-size: 0.98rem;
  }

  .meta-row {
    font-size: 0.9rem;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .content,
  .site-header,
  .site-footer,
  .sidebar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content {
    font-size: 0.98rem;
  }

  .lead {
    font-size: 0.98rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}