:root {
  color-scheme: dark;
  --ink: #f5f7fb;
  --muted: #bac3cf;
  --quiet: #8290a1;
  --panel: rgba(13, 18, 24, 0.86);
  --panel-solid: #111820;
  --line: rgba(211, 222, 236, 0.16);
  --blue: #1f8fff;
  --green: #43d18d;
  --amber: #f4bd4f;
  --red: #e86f6f;
  --steel: #9bb0c5;
  --bg: #080c10;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 54px);
  background: rgba(6, 10, 14, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  color: #ffffff;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0.22) 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0.22) 52%, transparent 52%),
    linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 26px rgba(31, 143, 255, 0.32);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.site-nav .nav-demo {
  margin-left: 8px;
  color: #061017;
  background: var(--green);
  font-weight: 700;
}

.site-nav .nav-demo:hover,
.site-nav .nav-demo:focus-visible {
  color: #061017;
  background: #78e5b1;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 124px clamp(20px, 6vw, 76px) 72px;
  isolation: isolate;
}

.hero-visual,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-visual {
  z-index: -3;
  background: #091018;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.04);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 7, 10, 0.94) 0%, rgba(4, 8, 12, 0.82) 42%, rgba(4, 8, 12, 0.32) 100%),
    linear-gradient(0deg, rgba(8, 12, 16, 0.95) 0%, rgba(8, 12, 16, 0.08) 38%, rgba(8, 12, 16, 0.36) 100%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  font-weight: 820;
  color: #ffffff;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: #d9e1ec;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 760;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: #061017;
  background: var(--green);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #78e5b1;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.13);
}

.hero-status {
  position: absolute;
  left: clamp(20px, 6vw, 76px);
  right: clamp(20px, 6vw, 76px);
  bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #dce7f3;
}

.hero-status span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  font-size: 13px;
}

.section {
  padding: 88px clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 34px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: -30px auto 0;
  padding-top: 0;
  position: relative;
  z-index: 4;
}

.proof-item {
  min-height: 130px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(12, 18, 24, 0.96);
}

.proof-item:first-child {
  border-radius: 8px 0 0 8px;
}

.proof-item:last-child {
  border-radius: 0 8px 8px 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 20px;
}

.proof-item span {
  color: var(--muted);
  line-height: 1.55;
}

.live-demo-section {
  background: #0b1117;
}

.live-demo-section code {
  padding: 2px 6px;
  border-radius: 5px;
  color: #dff8ea;
  background: rgba(67, 209, 141, 0.12);
}

.live-demo-shell {
  max-width: calc(var(--max) + 128px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111820;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.live-demo-toolbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: #ffffff;
  background: #0b1117;
}

.live-demo-toolbar span {
  font-size: 13px;
  font-weight: 760;
}

.live-demo-toolbar a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  color: #dce7f3;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.live-demo-shell iframe {
  width: 100%;
  height: min(72vh, 760px);
  min-height: 560px;
  display: block;
  border: 0;
  background: #1e1e1e;
}

.screenshot-section {
  background: #080c10;
}

.screenshot-showcase {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
}

.screenshot-feature,
.screenshot-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.screenshot-feature img,
.screenshot-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-feature figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
}

.screenshot-feature figcaption strong {
  color: #ffffff;
  font-size: 19px;
}

.screenshot-feature figcaption span {
  color: var(--muted);
  line-height: 1.55;
}

.screenshot-grid {
  display: grid;
  gap: 14px;
}

.screenshot-grid figure {
  position: relative;
}

.screenshot-grid figcaption {
  padding: 12px 14px;
  color: #ffffff;
  font-weight: 720;
  background: #111820;
}

.feature-section {
  background: #0b1117;
}

.feature-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.strength-list article,
.workflow-step,
.tutorial-step,
.contact-form,
.docs-panel,
.docs-tabs {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.feature-card {
  min-height: 228px;
  padding: 22px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  border-radius: 6px;
  color: #061017;
  background: var(--amber);
  font-weight: 820;
  font-size: 13px;
}

.feature-card:nth-child(2) .card-icon,
.feature-card:nth-child(5) .card-icon {
  background: var(--blue);
  color: #ffffff;
}

.feature-card:nth-child(3) .card-icon,
.feature-card:nth-child(6) .card-icon {
  background: var(--green);
}

.feature-card h3,
.strength-list h3,
.workflow-step span,
.tutorial-step h3,
.doc-content h3 {
  margin: 18px 0 10px;
  color: #ffffff;
  font-size: 20px;
}

.feature-card p,
.strength-list p,
.workflow-step p,
.tutorial-step p,
.doc-content p,
.doc-content li {
  color: var(--muted);
  line-height: 1.6;
}

.workflow-section {
  background: #080c10;
}

.workflow {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow-step {
  padding: 22px;
  min-height: 180px;
}

.workflow-step span {
  color: var(--green);
  font-weight: 800;
}

.workflow-step p {
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 38px;
  max-width: calc(var(--max) + 128px);
  margin: 0 auto;
  background:
    linear-gradient(180deg, #0d1319, #080c10 72%);
}

.split-section .section-heading {
  margin: 0;
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.strength-list article {
  padding: 22px;
}

.docs-section {
  background: #eef3f7;
  color: #0b1117;
}

.docs-section .eyebrow {
  color: #1260a8;
}

.docs-section .section-heading h2,
.docs-section .doc-content h3 {
  color: #0b1117;
}

.docs-section .section-heading p:not(.eyebrow),
.docs-section .doc-content p,
.docs-section .doc-content li {
  color: #40505f;
}

.docs-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
}

.docs-tabs,
.docs-panel {
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(22, 40, 58, 0.12);
}

.docs-tabs {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 8px;
}

.doc-tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #435466;
  cursor: pointer;
  text-align: left;
  padding: 0 12px;
}

.doc-tab.active,
.doc-tab:hover,
.doc-tab:focus-visible {
  border-color: #bfd5e8;
  background: #e9f4ff;
  color: #0b1117;
  outline: none;
}

.docs-panel {
  min-height: 360px;
  padding: 30px;
}

.doc-content {
  display: none;
}

.doc-content.active {
  display: block;
}

.doc-content pre {
  overflow-x: auto;
  margin: 22px 0 0;
  padding: 18px;
  border-radius: 8px;
  color: #e8f0f8;
  background: #0d1520;
}

.doc-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
}

.tutorial-section {
  background: #0b1117;
}

.tutorial-list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tutorial-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
}

.tutorial-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #172534;
  color: var(--green);
  font-weight: 820;
}

.tutorial-step h3 {
  margin-top: 0;
}

.tutorial-step p {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 40px;
  max-width: calc(var(--max) + 128px);
  margin: 0 auto;
  background: #10151b;
}

.contact-copy {
  align-self: center;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.contact-form {
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  color: #dce5ef;
  font-weight: 650;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  padding: 11px 12px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(67, 209, 141, 0.15);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  min-height: 22px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--quiet);
  background: #070a0e;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(9, 14, 20, 0.98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav-demo {
    margin-left: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .proof-band,
  .feature-grid,
  .workflow,
  .split-section,
  .live-demo-shell,
  .screenshot-showcase,
  .docs-layout,
  .tutorial-list,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .proof-item:first-child,
  .proof-item:last-child {
    border-radius: 8px;
  }

  .proof-item {
    border-radius: 8px;
  }

  .split-section,
  .contact-section {
    max-width: none;
  }

  .strength-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 14px;
  }

  .brand {
    font-size: 15px;
  }

  .hero {
    min-height: 86vh;
    padding: 104px 18px 76px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .section {
    padding: 64px 18px;
  }

  .proof-band {
    margin-top: 0;
    padding-top: 64px;
  }

  .hero-status {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .docs-panel {
    padding: 22px;
  }

  .live-demo-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }

  .live-demo-shell iframe {
    height: 68vh;
    min-height: 480px;
  }

  .tutorial-step {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
