* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #050505;
  --panel: rgba(15, 15, 15, 0.84);
  --panel-strong: #0b0b0b;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: #969696;
  --soft: #d5d5d5;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.05), transparent 28%),
    linear-gradient(180deg, #080808 0%, #030303 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.92), transparent 82%);
  z-index: -2;
}

#snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .48;
}

.docs-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.docs-navbar {
  height: 84px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 54px;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
}

.brand-accent {
  color: #bdbdbd;
}

.docs-navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
}

.docs-navlinks a {
  color: #9e9e9e;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.15px;
  transition: .18s ease;
  position: relative;
}

.docs-navlinks a:hover,
.docs-navlinks a.active {
  color: #fff;
}

.docs-navlinks a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,.65);
}

.docs-main {
  flex: 1;
}

.docs-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 720px;
  height: 220px;
  left: 50%;
  top: 90px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.06);
  filter: blur(90px);
  border-radius: 50%;
}

.docs-hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.eyebrow,
.section-kicker {
  color: #8d8d8d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.docs-hero h1 {
  max-width: 820px;
  margin: 14px auto 14px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -2.5px;
}

.hero-subtitle {
  max-width: 690px;
  margin: 0 auto;
  color: #aaa;
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 850;
  transition: .18s ease;
}

.primary-btn {
  background: #fff;
  color: #080808;
  border: 1px solid #fff;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255,255,255,.12);
}

.secondary-btn {
  color: #fff;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line-strong);
}

.secondary-btn:hover {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.04);
}

.docs-wrap {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  padding: 58px 0 100px;
}

.docs-sidecard {
  position: sticky;
  top: 110px;
  align-self: start;
  background: rgba(10,10,10,.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.side-label {
  color: #777;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
  padding: 4px 6px 12px;
}

.side-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #bcbcbc;
  transition: .18s ease;
  border: 1px solid transparent;
}

.side-item + .side-item {
  margin-top: 5px;
}

.side-item:hover {
  background: rgba(255,255,255,.03);
  color: #fff;
}

.side-item.active {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}

.side-item > span {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
  color: #8a8a8a;
}

.side-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.side-item small {
  display: block;
  color: #777;
  font-size: 11px;
}

.side-divider {
  height: 1px;
  background: var(--line);
  margin: 14px 4px;
}

.side-support {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px 4px;
  text-decoration: none;
  color: #8d8d8d;
  font-size: 11px;
}

.side-support span {
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}

.docs-content {
  min-width: 0;
}

.doc-section + .doc-section {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.section-number {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: #8f8f8f;
  font-size: 11px;
  font-weight: 900;
  background: rgba(255,255,255,.02);
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -1.4px;
  line-height: 1.1;
  margin-top: 4px;
}

.doc-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}

.doc-card p {
  color: #d2d2d2;
  font-size: 15px;
  line-height: 1.85;
}

.doc-card p + p {
  margin-top: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.feature-grid article {
  min-height: 170px;
  padding: 20px;
  border-radius: 10px;
  background: #0b0b0b;
  border: 1px solid var(--line);
}

.feature-grid article > span {
  color: #676767;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.feature-grid h3 {
  margin-top: 24px;
  font-size: 17px;
}

.feature-grid p {
  margin-top: 8px;
  color: #8e8e8e;
  font-size: 13px;
  line-height: 1.65;
}

.note-box,
.warning-box {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  border-radius: 10px;
  padding: 18px;
}

.note-box {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.018);
}

.warning-box {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.025);
}

.note-icon,
.warning-mark {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 12px;
  font-weight: 900;
}

.note-box strong,
.warning-box strong {
  display: block;
  font-size: 14px;
}

.note-box p,
.warning-box p {
  color: #999;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 4px;
}

.setup-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.setup-step {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a0a0a;
}

.setup-step > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  color: #808080;
  font-size: 10px;
  font-weight: 900;
}

.setup-step h3 {
  font-size: 15px;
}

.setup-step p {
  color: #8c8c8c;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 4px;
}


/* ============================================================
   SETUP GUIDE — SINGLE CONTAINER
   ============================================================ */

.setup-big-box {
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 30px;
}

.setup-big-box > p {
  color: #d2d2d2;
  font-size: 14px;
  line-height: 1.85;
}

.setup-big-box h3 {
  margin: 24px 0 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
}

.setup-divider {
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: rgba(255,255,255,.11);
}

.setup-instructions {
  margin: 10px 0 20px 22px;
  padding-left: 4px;
}

.setup-instructions li {
  color: #b9b9b9;
  font-size: 14px;
  line-height: 1.8;
  padding: 3px 0;
}

.setup-instructions strong {
  color: #fff;
}

.setup-important {
  margin-top: 2px;
  padding: 16px 18px;
  background: rgba(255,255,255,.025);
  border-left: 2px solid #fff;
  border-radius: 0 8px 8px 0;
}

.setup-important > strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 14px;
}

.setup-important p {
  margin: 0;
  color: #aaa;
  font-size: 13px;
  line-height: 1.75;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: #0a0a0a;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

summary::-webkit-details-marker {
  display: none;
}

summary b {
  color: #747474;
  font-size: 19px;
  font-weight: 500;
}

details[open] summary {
  background: rgba(255,255,255,.018);
}

.faq-content {
  border-top: 1px solid var(--line);
  padding: 18px 22px;
  color: #aaa;
  font-size: 13.5px;
  line-height: 1.8;
}

.faq-content ol {
  padding-left: 20px;
}

.faq-content strong {
  color: #fff;
}

.support-banner {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.05), transparent 32%),
    #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.support-banner h3 {
  font-size: 24px;
  margin: 4px 0 6px;
}

.support-banner p:last-child {
  color: #888;
  font-size: 13px;
}

.support-banner a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 7px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 900;
}

.docs-footer {
  border-top: 1px solid var(--line);
  min-height: 94px;
  padding: 0 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #777;
  font-size: 12px;
}

.docs-footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.docs-footer strong {
  color: #fff;
  letter-spacing: 1.1px;
}

.docs-footer a {
  color: #aaa;
  text-decoration: none;
}

.docs-footer a:hover {
  color: #fff;
}

@media (max-width: 1050px) {
  .docs-navbar {
    padding: 0 26px;
  }

  .docs-navlinks {
    gap: 18px;
  }

  .docs-navlinks a {
    font-size: 11px;
  }

  .docs-wrap {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
  }

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

@media (max-width: 820px) {
  .docs-navbar {
    height: auto;
    min-height: 76px;
    padding: 14px 18px;
    align-items: flex-start;
    gap: 16px;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .docs-navlinks {
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .docs-navlinks a {
    font-size: 9px;
  }

  .docs-hero {
    min-height: 360px;
  }

  .docs-wrap {
    display: block;
    width: min(100% - 28px, 900px);
    padding-top: 30px;
  }

  .docs-sidecard {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 28px;
  }

  .side-label,
  .side-divider,
  .side-support {
    display: none;
  }

  .side-item {
    margin: 0 !important;
  }

  .side-item small {
    display: none;
  }

  .doc-section + .doc-section {
    margin-top: 52px;
    padding-top: 52px;
  }

  .support-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .docs-footer {
    padding: 24px 18px;
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .docs-navlinks a:nth-child(4),
  .docs-navlinks a:nth-child(5) {
    display: none;
  }

  .docs-hero-inner {
    width: calc(100% - 28px);
  }

  .docs-hero h1 {
    font-size: 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    justify-content: center;
  }

  .docs-sidecard {
    grid-template-columns: 1fr;
  }

  .side-item {
    align-items: center;
  }

  .section-heading {
    gap: 12px;
  }

  .section-number {
    width: 36px;
    height: 36px;
  }

  .doc-card,
  .support-banner,
  .setup-big-box {
    padding: 18px;
  }
}
