:root {
  --bg: #11151b;
  --panel: #f5f7fa;
  --ink: #17202a;
  --muted: #667282;
  --line: #d7dde5;
  --green: #36a36f;
  --blue: #2f79c7;
  --red: #cf4a4a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--panel);
  font-family: "Segoe UI", Arial, sans-serif;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: rgba(17, 21, 27, 0.92);
  backdrop-filter: blur(12px);
}

.brand,
nav a {
  color: inherit;
  text-decoration: none;
}

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

.brand-mark {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 56px 44px 72px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17, 21, 27, 0.96), rgba(17, 21, 27, 0.72)),
    url("engine-preview.png") center / cover;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: #8bd0b0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  color: #d9e1eb;
  font-size: 21px;
  line-height: 1.55;
}

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

.primary,
.secondary,
.version a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  color: #07130d;
  background: #7ee0aa;
}

.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.compact {
  white-space: nowrap;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
  margin: 38px 0 0;
}

.facts div {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 14px;
}

.facts dt {
  color: #9aa7b7;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.facts dd {
  margin: 4px 0 0;
  font-size: 18px;
}

.hero-image {
  width: min(100%, 820px);
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.band {
  padding: 86px 44px;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 880px;
  margin-bottom: 34px;
}

.section-head p,
.download-row p,
.version p,
.steps {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.download-row,
.version {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: start;
  background: #e9eef4;
}

.steps {
  padding-left: 22px;
}

code {
  font-family: Consolas, "Courier New", monospace;
}

.code {
  overflow-x: auto;
  margin: 0;
  padding: 24px;
  color: #eaf1f8;
  background: #151a21;
  border-left: 5px solid var(--green);
  font-size: 16px;
  line-height: 1.55;
}

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

.version h3 span {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 8px;
  color: #083017;
  background: #b8eccd;
  border-radius: 4px;
  font-size: 12px;
  vertical-align: middle;
}

.version a {
  color: var(--white);
  background: var(--blue);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 44px;
  color: #cbd3df;
  background: var(--bg);
}

@media (max-width: 900px) {
  .topbar {
    padding: 0 22px;
  }

  nav {
    gap: 12px;
  }

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

  .hero {
    min-height: auto;
    padding: 44px 22px 54px;
  }

  .hero-image {
    justify-self: start;
  }

  .band {
    padding: 56px 22px;
  }

  .download-row,
  .version,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

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