:root {
  color-scheme: dark;
  --bg: #0c0d0f;
  --bg-soft: #121417;
  --panel: #171a1f;
  --panel-strong: #1d2228;
  --text: #f2f4f7;
  --muted: #9aa4b2;
  --quiet: #697386;
  --line: #2a3038;
  --accent: #d8ff65;
  --accent-dark: #1f2b0f;
  --good: #6ee7a8;
  --bad: #ff7a7a;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
  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;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 360px),
    var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header,
.hero,
.section,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
  background: rgba(12, 13, 15, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}

.brand img {
  border-radius: 7px;
}

.nav,
.footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.language-option {
  min-width: 32px;
  min-height: 26px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.language-option:hover,
.language-option.is-active {
  background: var(--panel-strong);
  color: var(--text);
}

.nav a,
.footer a,
.header-action {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--text);
}

.header-action {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font-size: 14px;
}

.header-action:hover {
  background: var(--panel);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 48px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(58px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

.title-line {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 680;
}

.subtitle {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.positioning {
  display: inline-flex;
  margin: 2px 0 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #14171b;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: #3d4652;
  background: #1a1e23;
}

.button-primary {
  border-color: rgba(216, 255, 101, 0.38);
  background: var(--accent);
  color: #11150a;
}

.button-primary:hover {
  background: #e1ff83;
}

.product-shot,
.demo-shell,
.desktop-window {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #1a1e24, #111317);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
  font-size: 12px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3c424d;
}

.product-shot {
  position: relative;
  margin: 0;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    #0c0d0f;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}

.product-shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 12px;
}

.product-shot figcaption strong {
  color: var(--text);
  font-weight: 650;
  text-align: right;
}

.run-card,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.section {
  padding: 74px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-lead {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.demo-shell {
  padding: 10px;
}

.demo-shell img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow li {
  position: relative;
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-weight: 650;
}

.flow li:not(:last-child)::after {
  content: "->";
  position: absolute;
  right: -17px;
  top: 50%;
  z-index: 1;
  color: var(--quiet);
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
}

.flow span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
  font-size: 12px;
}

.flow strong {
  display: block;
  font: inherit;
}

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

.feature-grid article {
  min-height: 156px;
  padding: 18px;
}

h3 {
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: 0;
}

.feature-grid p,
.desktop-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.proof-card {
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.proof-card h2 {
  max-width: 520px;
  font-size: clamp(24px, 3vw, 34px);
}

.proof-card p:not(.eyebrow) {
  max-width: 560px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.proof-card code {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d0f12;
  color: var(--accent);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.report-preview {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d0f12;
}

.report-preview strong {
  color: var(--text);
  font-size: 14px;
}

.report-preview span {
  color: var(--muted);
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.run-compare,
.desktop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.run-card {
  padding: 20px;
}

.run-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
  font-size: 13px;
}

.run-card span {
  color: var(--muted);
}

.run-card strong {
  padding: 4px 8px;
  border-radius: 99px;
  font-size: 12px;
}

.run-card p {
  margin-bottom: 8px;
  color: var(--text);
}

.failed strong {
  background: rgba(255, 122, 122, 0.12);
  color: var(--bad);
}

.passed strong {
  background: rgba(110, 231, 168, 0.12);
  color: var(--good);
}

.desktop-grid {
  align-items: stretch;
}

.desktop-copy {
  padding: 24px 0;
}

.desktop-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.desktop-copy li {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.install-note {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.install-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.install-note p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.install-note code {
  display: block;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0d0f12;
  color: #dce3ec;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.window-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.window-body div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0d0f12;
}

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

.window-body strong {
  color: #dce3ec;
  font-family: "SFMono-Regular", "SF Mono", Consolas, monospace;
  font-size: 13px;
  text-align: right;
}

.window-body div:first-child strong {
  color: var(--accent);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .section,
  .footer {
    width: min(100% - 28px, 720px);
  }

  .nav {
    display: none;
  }

  .run-compare,
  .proof-grid,
  .desktop-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

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

  .flow li:not(:last-child)::after {
    content: none;
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

@media (max-width: 560px) {
  .header-action {
    display: none;
  }

  .site-header {
    gap: 12px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-shot figcaption {
    display: none;
  }

  .flow,
  .feature-grid,
  .proof-grid,
  .desktop-copy ul {
    grid-template-columns: 1fr;
  }

  .footer,
  .footer nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
