:root {
  color-scheme: light;
  --paper: #f3f4ef;
  --panel: #fbfcf8;
  --ink: #111615;
  --muted: #5f6864;
  --quiet: #838b86;
  --line: #d8ddd6;
  --green: #1f7c64;
  --green-dark: #0e4e3f;
  --mint: #84e4c8;
  --amber: #d7a84b;
  --red: #ae4d3f;
  --screen: #080b0a;
  --shadow: 0 30px 90px rgba(31, 35, 32, 0.2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #fbfcf8 0 520px, var(--paper) 520px 100%);
  color: var(--ink);
}

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

button {
  font: inherit;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 10px;
}

.brand,
nav,
.actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-size: 18px;
  font-weight: 820;
}

.brand img {
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(18, 23, 21, 0.16);
}

nav {
  gap: 4px;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

nav a:hover {
  background: rgba(31, 124, 100, 0.08);
  color: var(--ink);
}

.nav-download {
  color: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: 54px;
  min-height: min(640px, calc(100vh - 88px));
  padding: 48px 0 44px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: #3f4844;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
}

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

.download-button,
.steps-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  font-weight: 780;
}

.download-button {
  padding: 0 20px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 124, 100, 0.24);
}

.download-button:hover {
  background: var(--green-dark);
}

.steps-link {
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
}

.steps-link:hover {
  background: rgba(31, 124, 100, 0.08);
}

.file-note {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 14px;
}

.product-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 22, 21, 0.14);
  border-radius: 14px;
  background: var(--screen);
  box-shadow: var(--shadow);
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.proof-strip div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 22px;
  background: var(--panel);
}

.proof-strip strong {
  font-size: 17px;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.split-section,
.install-guide,
.usage-guide,
.release-card {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  padding: 34px;
}

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

.section-copy h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px 0 0;
  color: #4c5551;
  font-size: 17px;
  line-height: 1.58;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.feature-list article > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e4f4ee;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.feature-list h3 {
  margin: 0;
  font-size: 18px;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.install-guide,
.usage-guide {
  display: grid;
  gap: 22px;
  padding: 34px;
}

.usage-guide {
  background: #fffaf0;
}

.guide-steps {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  counter-reset: guide-step;
  list-style: none;
}

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

.guide-steps li {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.guide-steps li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  content: counter(guide-step);
  counter-increment: guide-step;
  font-size: 14px;
  font-weight: 850;
}

.guide-steps strong {
  font-size: 18px;
}

.guide-steps span {
  color: #4d5652;
  line-height: 1.5;
}

.guide-steps b {
  color: var(--ink);
  font-weight: 780;
}

.command-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  margin-top: 8px;
}

.command-box code,
.checksum code {
  display: block;
  overflow-wrap: anywhere;
  padding: 13px;
  border: 1px solid #cbd3ce;
  border-radius: 8px;
  background: #eef2ed;
  color: #252b28;
  font-size: 13px;
  line-height: 1.45;
}

.copy-command {
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--screen);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.copy-command:hover {
  background: var(--green-dark);
}

.release-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 430px);
  gap: 28px;
  align-items: center;
  padding: 28px 34px;
}

.release-card h2 {
  margin-bottom: 0;
  font-size: 26px;
}

.release-card p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.checksum {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.checksum span {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

footer {
  justify-content: space-between;
  padding: 20px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

footer a {
  color: var(--green-dark);
  font-weight: 780;
}

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

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

  .product-shot {
    order: -1;
  }

  .proof-strip,
  .guide-steps.compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav a {
    min-height: 34px;
    padding: 0 8px;
  }

  h1 {
    font-size: 43px;
  }

  .split-section,
  .install-guide,
  .usage-guide,
  .release-card {
    padding: 22px 18px;
  }

  .guide-steps li {
    padding: 16px 16px 16px 56px;
  }

  .guide-steps li::before {
    left: 16px;
  }

  .command-box {
    grid-template-columns: 1fr;
  }
}
