:root {
  color-scheme: dark;
  --bg: #080a0c;
  --bg-soft: #101316;
  --bg-warm: #15120d;
  --panel: rgba(18, 22, 25, 0.92);
  --panel-strong: #151a1d;
  --ink: #f3f7f4;
  --muted: #b9c3bd;
  --soft: #87938d;
  --line: rgba(190, 203, 194, 0.2);
  --line-strong: rgba(190, 203, 194, 0.34);
  --green: #20d17d;
  --green-soft: rgba(32, 209, 125, 0.16);
  --cyan: #40c9d8;
  --amber: #f0b84f;
  --rose: #ef6f75;
  --code: #b8f7cf;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(32, 209, 125, 0.08), rgba(8, 10, 12, 0) 360px),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

img {
  max-width: 100%;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #d9e3dd;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.brand:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.hero.docs-hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  padding-top: 62px;
  padding-bottom: 46px;
}

.hero.text-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  align-items: end;
  min-height: auto;
  padding-top: clamp(70px, 10vw, 128px);
  padding-bottom: clamp(58px, 8vw, 96px);
}

.hero-copy {
  max-width: 1040px;
}

.hero-summary {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 22, 25, 0.78);
  box-shadow: var(--shadow);
}

.hero-summary strong {
  color: var(--green);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-summary p {
  margin: 0;
  color: #dce7df;
  font-size: 18px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin: 12px 0 18px;
  max-width: 880px;
  font-size: clamp(50px, 8vw, 104px);
  line-height: 0.94;
}

.docs-hero h1 {
  font-size: clamp(40px, 6vw, 76px);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.03;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.lead {
  max-width: 820px;
  margin: 0;
  color: #dce7df;
  font-size: clamp(18px, 2.1vw, 24px);
}

.sublead {
  max-width: 860px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #151a1d;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--green);
  background: #18211d;
}

.button.primary {
  border-color: rgba(32, 209, 125, 0.8);
  background: #0f7c50;
}

.button.primary:hover {
  background: #11935d;
}

.hero-panel,
.panel,
.card,
.code-panel,
.image-slot {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  overflow: hidden;
}

.hero-panel img {
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.terminal-strip {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: var(--code);
  font-size: 13px;
}

.prompt-line {
  display: flex;
  gap: 10px;
}

.prompt-line span:first-child {
  color: var(--green);
}

.section {
  padding: 78px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section.compact {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section.alt {
  background: var(--bg-soft);
}

.section.warm {
  background: var(--bg-warm);
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.sidebar {
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  align-items: start;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.card,
.panel,
.code-panel {
  padding: 22px;
}

.card strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 18px;
}

.card p,
.panel p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: #d7e1db;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: ">";
}

.toc {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
}

.toc a {
  display: block;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #dce7df;
  text-decoration: none;
}

.toc a:hover {
  border-color: var(--green);
  color: var(--green);
}

.doc-content {
  display: grid;
  gap: 46px;
}

.doc-section {
  scroll-margin-top: 94px;
}

.doc-section p {
  max-width: 940px;
  color: var(--muted);
}

.doc-section h2 {
  max-width: 960px;
}

.doc-section h3 {
  margin-top: 24px;
}

.image-slot {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 24px;
  color: #c3cec7;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(32, 209, 125, 0.12), rgba(64, 201, 216, 0.08)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 10px,
      rgba(255, 255, 255, 0.01) 10px,
      rgba(255, 255, 255, 0.01) 20px
    ),
    #101316;
}

.image-slot.tall {
  min-height: 520px;
}

.image-slot.wide {
  min-height: 360px;
}

.image-slot span {
  display: block;
  max-width: 520px;
}

.image-slot strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.screen-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr;
  gap: 16px;
  align-items: start;
}

.screen-grid img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050607;
  box-shadow: var(--shadow);
}

pre {
  overflow: auto;
  margin: 0;
  color: var(--code);
  font-size: 14px;
  line-height: 1.55;
}

.code-panel {
  background: #070908;
}

.command-panel {
  width: min(100%, 620px);
  margin-top: 26px;
  box-shadow: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chips.tight {
  margin-top: 0;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #e0e8e2;
  background: rgba(18, 22, 25, 0.75);
  font-size: 14px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.kpi {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(18, 22, 25, 0.82);
}

.kpi strong {
  display: block;
  color: var(--green);
  font-size: 24px;
}

.kpi span {
  color: var(--muted);
  font-size: 13px;
}

.statement {
  max-width: 1120px;
}

.statement span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statement p {
  max-width: 960px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability-card {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.capability-card span {
  color: var(--green);
  font-family:
    "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, Consolas, monospace;
  font-size: 13px;
}

.capability-card h3 {
  margin-top: 24px;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
}

.flow-list {
  display: grid;
  gap: 12px;
}

.flow-list div,
.check-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 22, 25, 0.78);
}

.flow-list div {
  padding: 18px;
}

.flow-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.flow-list span {
  color: var(--muted);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.check-grid span {
  position: relative;
  padding: 16px 16px 16px 34px;
  color: #dce7df;
}

.check-grid span::before {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--green);
  content: ">";
}

.accent-green {
  color: var(--green);
}

.accent-cyan {
  color: var(--cyan);
}

.accent-amber {
  color: var(--amber);
}

.accent-rose {
  color: var(--rose);
}

.disclaimer {
  color: var(--soft);
  font-size: 13px;
}

.footer {
  padding: 36px clamp(18px, 5vw, 72px);
  color: var(--soft);
  background: #050607;
}

.footer a {
  color: #dce7df;
}

@media (max-width: 980px) {
  .hero,
  .hero.docs-hero,
  .hero.text-hero,
  .grid.sidebar,
  .screen-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.two,
  .kpi-row,
  .capability-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(42px, 15vw, 70px);
  }
}
