:root {
  color-scheme: dark;
  --bg: #111313;
  --panel: #191c1b;
  --panel-strong: #202523;
  --text: #f5f0e8;
  --muted: #b8b0a4;
  --soft: #847d72;
  --line: rgba(245, 240, 232, 0.13);
  --green: #8bdc9b;
  --cyan: #72d7d4;
  --amber: #f2be6b;
  --red: #ff8d7d;
  --ink: #0b0d0c;
  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;
  background:
    linear-gradient(135deg, rgba(114, 215, 212, 0.09), transparent 34rem),
    linear-gradient(315deg, rgba(242, 190, 107, 0.09), transparent 36rem),
    var(--bg);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(245, 240, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 232, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.language-switcher,
.hero-actions,
.hero-facts,
.install-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

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

.nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.language-switcher {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.045);
}

.language-switcher button {
  min-width: 38px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--green);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 42px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 44px 22px 34px;
}

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

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

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(64px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.01;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-line {
  max-width: 620px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(25px, 4vw, 46px);
  font-weight: 730;
  line-height: 1.06;
}

.hero-text {
  max-width: 650px;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
}

.button.primary {
  background: var(--green);
  color: var(--ink);
  border-color: transparent;
}

.button.secondary {
  background: rgba(245, 240, 232, 0.055);
  color: var(--text);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-facts {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-facts span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.product-shot {
  overflow: hidden;
  min-width: 0;
  background: #0c0f0d;
  border: 1px solid rgba(139, 220, 155, 0.24);
  border-radius: 8px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(114, 215, 212, 0.08) inset;
}

.window-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  background: #171a18;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.window-bar strong {
  margin-left: 8px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 650;
}

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

.proof-strip,
.section,
.split-section,
.install-section,
.roadmap,
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding-right: 22px;
  padding-left: 22px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 8px;
  padding-bottom: 76px;
}

.proof-strip div {
  padding: 20px;
  background: rgba(245, 240, 232, 0.055);
  border: 1px solid var(--line);
}

.proof-strip strong,
.proof-strip span,
.timeline strong,
.timeline span,
.footer span {
  display: block;
}

.proof-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section,
.split-section,
.install-section,
.roadmap {
  padding-top: 76px;
  padding-bottom: 76px;
}

.section-head {
  max-width: 760px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

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

.card-index {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 36px;
  align-items: center;
}

.terminal-panel {
  padding: 24px;
  background: #0d100f;
  border: 1px solid rgba(242, 190, 107, 0.28);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.terminal-line {
  margin-bottom: 14px;
  color: var(--green);
}

.terminal-line.muted {
  color: var(--soft);
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.terminal-panel code {
  display: block;
  overflow-x: auto;
  padding: 14px;
  background: rgba(245, 240, 232, 0.07);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
}

.risk-row {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
  color: var(--muted);
  line-height: 1.45;
}

.risk {
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 760;
}

.risk.danger {
  background: rgba(255, 141, 125, 0.14);
  color: var(--red);
}

.approve-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 141, 125, 0.46);
  border-radius: 6px;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-weight: 760;
}

.compact {
  padding-top: 26px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list p {
  font-size: 15px;
}

.install-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 36px;
  align-items: start;
}

.install-box {
  padding: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.install-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

pre {
  overflow: auto;
  margin: 0;
  padding: 16px;
  background: #0d100f;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  font-size: 14px;
  line-height: 1.6;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: roadmap;
}

.timeline li {
  position: relative;
  min-height: 210px;
  padding: 22px;
  background: rgba(245, 240, 232, 0.055);
  border: 1px solid var(--line);
  counter-increment: roadmap;
}

.timeline li::before {
  display: block;
  margin-bottom: 44px;
  color: var(--amber);
  content: "0" counter(roadmap);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.timeline span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  color: var(--text);
}

.footer-links {
  gap: 16px;
}

@media (max-width: 940px) {
  .hero,
  .split-section,
  .install-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

  .card {
    min-height: auto;
  }

  .card-index {
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 14px;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    font-size: 58px;
  }

  .proof-strip,
  .feature-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .risk-row {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
