:root {
  color-scheme: dark;
  --bg: #070913;
  --bg-soft: #0b1020;
  --surface: rgba(13, 18, 31, 0.78);
  --surface-solid: #101827;
  --surface-2: #151f33;
  --surface-3: #1c2840;
  --border: rgba(165, 180, 252, 0.18);
  --border-strong: rgba(165, 180, 252, 0.32);
  --text: #f3f6ff;
  --muted: #99a6bd;
  --muted-2: #718096;
  --primary: #8b7cff;
  --primary-2: #5b8cff;
  --primary-strong: #c3bcff;
  --green: #22d3a6;
  --yellow: #fbbf24;
  --red: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.24);
  --radius: 24px;
  --radius-sm: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -8%, rgba(139, 124, 255, 0.34), transparent 33rem),
    radial-gradient(circle at 6% 12%, rgba(34, 211, 166, 0.12), transparent 28rem),
    radial-gradient(circle at 94% 18%, rgba(91, 140, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, #070913 0%, #0a0f1d 44%, #070913 100%);
  color: var(--text);
}
body.docs-body {
  background:
    radial-gradient(circle at 18% -4%, rgba(139, 124, 255, 0.22), transparent 30rem),
    linear-gradient(180deg, #070913 0%, #0a0f1d 100%);
}
a {
  color: inherit;
  text-decoration: none;
}
code {
  font-family: "SFMono-Regular", Consolas, ui-monospace, monospace;
}
.container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 19, 0.74);
  backdrop-filter: blur(18px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.04em;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 16px 42px rgba(139, 124, 255, 0.24);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 124, 255, 0.58);
  background: rgba(139, 124, 255, 0.14);
}
.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 44px rgba(139, 124, 255, 0.3);
}
.btn.ghost {
  background: transparent;
}
.btn.star-btn {
  gap: 8px;
  border-color: rgba(251, 191, 36, 0.32);
  background: rgba(251, 191, 36, 0.08);
  color: #fff4c7;
}
.btn.star-btn:hover {
  border-color: rgba(251, 191, 36, 0.62);
  background: rgba(251, 191, 36, 0.14);
  box-shadow: 0 16px 38px rgba(251, 191, 36, 0.14);
}
.btn.star-btn .star-icon {
  color: var(--yellow);
  font-size: 15px;
  line-height: 1;
}
.btn.star-btn .star-count {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-left: 1px solid rgba(251, 191, 36, 0.22);
  color: var(--text);
  font-size: 13px;
}
.btn.large {
  min-height: 50px;
  padding: 0 22px;
  font-size: 15px;
}

.hero {
  position: relative;
  overflow: hidden;
}
.hero-centered {
  padding: 84px 0 58px;
}
.hero-stack {
  display: grid;
  justify-items: center;
  text-align: center;
}
.announcement,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(139, 124, 255, 0.28);
  border-radius: 999px;
  background: rgba(139, 124, 255, 0.1);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
}
.announcement {
  margin-bottom: 24px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}
.announcement-dot,
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(34, 211, 166, 0.72);
}
h1,
h2,
h3 {
  margin: 4px;
}
h1 {
  max-width: 1040px;
  font-size: clamp(52px, 8.5vw, 104px);
  line-height: 0.9;
}
h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 0.96;
}
h3 {
  font-size: 21px;
}
.hero-lead {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.centered-actions {
  justify-content: center;
}
.install-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  max-width: calc(100vw - 40px);
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.74);
  color: #dbe7ff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  overflow-x: auto;
}
.install-strip code {
  white-space: nowrap;
  font-size: 13px;
}
.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
}
.terminal-dot.red {
  background: #ff5f57;
}
.terminal-dot.yellow {
  background: #ffbd2e;
}
.terminal-dot.green {
  background: #28c840;
}

.hero-product-wrap {
  position: relative;
  margin-top: 54px;
}
.product-glow {
  position: absolute;
  inset: 4% 8% -8%;
  z-index: 0;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.24), transparent 66%);
  filter: blur(24px);
}
.product-shot {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(165, 180, 252, 0.22);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(7, 10, 18, 0.98));
  box-shadow: var(--shadow);
}
.shot-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
}
.traffic {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  display: inline-flex;
}
.traffic:nth-child(2) {
  background: #ffbd2e;
}
.traffic:nth-child(3) {
  background: #28c840;
}
.product-shot img {
  display: block;
  width: 100%;
}
.floating-card {
  position: absolute;
  z-index: 2;
  width: min(280px, 42vw);
  padding: 16px;
  border: 1px solid rgba(165, 180, 252, 0.2);
  border-radius: 18px;
  background: rgba(12, 17, 30, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}
.card-left {
  left: -18px;
  bottom: 34px;
}
.card-right {
  right: -18px;
  top: 80px;
}
.mini-label {
  display: block;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.floating-card strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}
.floating-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: 88px 0;
}
.section-tight {
  padding-top: 58px;
}
.section.alt {
  background: rgba(255, 255, 255, 0.025);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}
.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.split-heading p,
.section-copy {
  margin: 2px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.split-heading .eyebrow {
  margin-bottom: 16px;
}

.feature-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.bento-card,
.file-tree-card,
.mock-editor-card,
.terminal-card,
.comparison-card,
.final-card,
.media-card,
.workflow-steps article,
.cli-points article,
.doc-section,
.docs-hero,
.docs-sidebar {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.bento-card {
  min-height: 220px;
  padding: 22px;
}
.bento-large {
  grid-column: span 2;
}
.icon-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(139, 124, 255, 0.16);
  font-size: 24px;
}
.bento-card h3 {
  margin-top: 18px;
}
.bento-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
}
.code-block {
  overflow-x: auto;
  margin: 16px 0 0;
  padding: 16px;
  border: 1px solid rgba(165, 180, 252, 0.16);
  border-radius: 16px;
  background: #060914;
  color: #dbe6ff;
  font:
    13px / 1.65 "SFMono-Regular",
    Consolas,
    ui-monospace,
    monospace;
}
.code-block.mini {
  font-size: 12px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1.14fr);
  gap: 48px;
  align-items: center;
}
.file-tree-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(13, 18, 31, 0.94), rgba(6, 9, 18, 0.94));
}
.file-tree-title {
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 850;
}
.file-tree-card pre {
  margin: 0;
  color: #dbe6ff;
  font:
    14px / 1.8 "SFMono-Regular",
    Consolas,
    ui-monospace,
    monospace;
  white-space: pre-wrap;
}
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.check-list span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #dce6ff;
  font-weight: 700;
}
.mock-editor-card {
  overflow: hidden;
}
.mock-tabs {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-tabs span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
}
.mock-tabs .active {
  color: var(--text);
  background: rgba(139, 124, 255, 0.18);
}
.mock-editor-card .code-block {
  margin: 0;
  border: 0;
  border-radius: 0;
  min-height: 352px;
}
.timeline-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.timeline-list div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}
.timeline-list strong {
  display: block;
}
.timeline-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.cli-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: 18px;
}
.terminal-card {
  overflow: hidden;
  background: #050814;
}
.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.terminal-card pre {
  margin: 0;
  padding: 20px;
  color: #dbe6ff;
  font:
    14px / 1.8 "SFMono-Regular",
    Consolas,
    ui-monospace,
    monospace;
  overflow-x: auto;
}
.cli-points {
  display: grid;
  gap: 14px;
}
.cli-points article {
  padding: 18px;
}
.cli-points strong {
  display: block;
  font-size: 18px;
}
.cli-points span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}
.media-card {
  margin: 0;
  padding: 14px;
}
.media-card img {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.media-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.workflow-steps {
  display: grid;
  gap: 12px;
}
.workflow-steps article {
  padding: 18px;
}
.workflow-steps span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.workflow-steps strong {
  display: block;
  font-size: 18px;
}
.workflow-steps p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.comparison-card {
  overflow: hidden;
}
.comparison-row {
  display: grid;
  grid-template-columns: 0.72fr 1.2fr 1.7fr;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.comparison-row:first-child {
  border-top: 0;
}
.comparison-row span:first-child {
  color: var(--text);
  font-weight: 850;
}
.comparison-row.head {
  background: rgba(139, 124, 255, 0.12);
  color: var(--text);
  font-weight: 850;
}
.final-cta {
  padding-top: 74px;
}
.final-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.18), rgba(34, 211, 166, 0.08));
}
.final-card p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 720px;
}
.final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer {
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.footer-brand img {
  width: 32px;
  height: 32px;
}
.footer p {
  margin: 10px 0 0;
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }
  .feature-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-column,
  .cli-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
  .floating-card {
    display: none;
  }
  .final-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .container {
    width: min(100vw - 28px, 1180px);
  }
  .nav-actions .ghost {
    display: none;
  }
  .hero-centered {
    padding-top: 58px;
  }
  h1 {
    font-size: clamp(44px, 15vw, 70px);
  }
  .split-heading,
  .feature-bento,
  .check-list,
  .comparison-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .bento-large {
    grid-column: span 1;
  }
  .section {
    padding: 64px 0;
  }
  .footer-grid {
    display: grid;
  }
}
