:root {
  --bg: #0f151b;
  --bg-2: #151c24;
  --panel: #1d252f;
  --panel-2: #242d38;
  --text: #f5f7fb;
  --muted: #bdc7d8;
  --quiet: #8390a3;
  --line: #344151;
  --green: #45d77d;
  --green-2: #248955;
  --purple: #512661;
  --purple-2: #8d6ba5;
  --cyan: #2fa1b8;
  --red: #d4454c;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

pre {
  margin: 0;
  overflow: auto;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 42px;
  color: var(--white);
  background: rgba(15, 21, 27, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border-radius: 50%;
}

.brand span {
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.46;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 21, 27, 0.96) 0%, rgba(15, 21, 27, 0.84) 42%, rgba(15, 21, 27, 0.48) 100%),
    linear-gradient(180deg, rgba(15, 21, 27, 0.36) 0%, rgba(15, 21, 27, 0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 44px;
  max-width: 1220px;
  min-height: 88vh;
  margin: 0 auto;
  padding: 142px 32px 70px;
  align-items: center;
}

.hero-copy {
  max-width: 820px;
  min-width: 0;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 14px;
  font-size: 82px;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 42px;
  line-height: 1.1;
}

h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 19px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 740px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 760;
}

.hero-body,
.section-copy p,
.center-copy p,
.dashboard-copy p,
.start-copy p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.start-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
}

.button.primary {
  color: #07110c;
  background: var(--green);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #6ee99a;
  outline: none;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--green);
  outline: none;
}

.hero-proof {
  display: grid;
  gap: 14px;
}

.hero-proof div {
  min-width: 0;
  min-height: 118px;
  padding: 20px;
  background: rgba(29, 37, 47, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--green);
  font-size: 15px;
  text-transform: uppercase;
}

.hero-proof span {
  margin-top: 7px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 20px 24px;
  background: #111922;
  border-bottom: 1px solid var(--line);
}

.logo-strip span {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 92px 32px;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 104px;
  min-width: 0;
}

.feature-grid,
.deployment-grid,
.use-case-grid,
.code-grid,
.steps {
  display: grid;
  gap: 16px;
}

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

.feature-card,
.deployment-card,
.use-case-grid article,
.steps article,
.code-card,
.terminal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  min-height: 218px;
  padding: 24px;
}

.feature-card p,
.deployment-card p,
.use-case-grid p,
.steps p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-mark {
  display: block;
  width: 34px;
  height: 6px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--green), var(--purple-2));
  border-radius: 99px;
}

.center-copy {
  max-width: 790px;
  margin: 0 auto 40px;
  text-align: center;
}

.visual-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.visual-section .center-copy,
.visual-section .steps {
  max-width: 1220px;
  padding-left: 32px;
  padding-right: 32px;
}

.diagram-frame {
  margin: 0 auto 28px;
  max-width: 1220px;
  padding: 0 32px;
}

.diagram-frame img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
}

.steps article {
  min-height: 218px;
  padding: 22px;
}

.steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 900;
}

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

.deployment-card {
  min-height: 420px;
  padding: 28px;
  overflow: hidden;
}

.deployment-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  margin-bottom: 26px;
}

.dashboard-section {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 32px;
  max-width: none;
  padding-left: 42px;
  padding-right: 42px;
  background: #111922;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dashboard-copy {
  align-self: center;
  min-width: 0;
}

.screenshot-shell {
  min-width: 0;
}

.screenshot-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
}

.screenshot-tab,
.copy-button {
  min-height: 38px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.screenshot-tab.active,
.screenshot-tab:hover,
.screenshot-tab:focus-visible,
.copy-button:hover,
.copy-button:focus-visible {
  color: var(--white);
  border-color: var(--green);
  outline: none;
}

.screenshot-frame {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 1898 / 981;
  object-fit: cover;
  object-position: top left;
  background: #151c24;
}

.screenshot-frame figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.developer-section {
  max-width: none;
  padding-left: 42px;
  padding-right: 42px;
}

.code-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1220px;
  margin: 0 auto;
}

.code-card,
.terminal-card {
  min-width: 0;
  overflow: hidden;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.code-head h3 {
  margin: 0;
  font-size: 16px;
}

.code-card pre,
.terminal-card pre {
  min-height: 320px;
  padding: 18px;
  color: #d7fbe2;
  font-size: 13px;
  line-height: 1.6;
  background: #0b1015;
}

.use-case-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 44px;
}

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

.use-case-grid article {
  min-height: 190px;
  padding: 24px;
}

.feature-band {
  max-width: none;
  background:
    linear-gradient(180deg, rgba(69, 215, 125, 0.08), rgba(69, 215, 125, 0)),
    #151c24;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

.pill-grid span {
  padding: 11px 14px;
  color: var(--text);
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.start-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: center;
}

.start-copy {
  min-width: 0;
}

.terminal-card pre {
  min-height: 250px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 42px;
  background: #0b1015;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--quiet);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
  outline: none;
}

@media (max-width: 1080px) {
  .hero-inner,
  .split,
  .dashboard-section,
  .use-case-section,
  .start-section {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .section-copy {
    position: static;
  }

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

@media (max-width: 780px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 18px;
    display: none;
    width: min(320px, calc(100vw - 36px));
    padding: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-inner {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    padding: 112px 20px 44px;
    align-content: center;
    overflow: hidden;
  }

  .hero-copy,
  .hero-proof {
    width: 100%;
    max-width: 350px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-lede {
    font-size: 23px;
  }

  .hero-body,
  .section-copy p,
  .center-copy p,
  .dashboard-copy p,
  .start-copy p {
    font-size: 16px;
  }

  .hero-proof,
  .feature-grid,
  .steps,
  .deployment-grid,
  .code-grid,
  .use-case-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section,
  .developer-section,
  .dashboard-section {
    padding: 68px 20px;
  }

  .visual-section {
    padding-left: 0;
    padding-right: 0;
  }

  .visual-section .center-copy,
  .visual-section .steps,
  .diagram-frame {
    padding-left: 20px;
    padding-right: 20px;
  }

  .deployment-card,
  .feature-card,
  .steps article,
  .use-case-grid article {
    min-height: auto;
  }

  .code-card pre,
  .terminal-card pre {
    min-height: 0;
    font-size: 12px;
  }

  .site-footer {
    display: grid;
    padding: 30px 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .hero-actions,
  .start-links {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .screenshot-frame figcaption {
    font-size: 14px;
  }
}
