:root {
  color-scheme: dark;
  --bg: #101215;
  --panel: #191d21;
  --text: #f4f1ea;
  --muted: #aeb7b9;
  --line: #30363c;
  --accent: #54d17f;
  --ink: #0b0d0f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(16, 18, 21, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  font-size: 18px;
  font-weight: 800;
}

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 56px;
  padding: 104px 6vw 48px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 620px;
  animation: rise 640ms ease both;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.9;
  margin: 0;
}

.lead {
  max-width: 540px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
  margin: 28px 0 34px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
}

.primary {
  background: var(--accent);
  color: var(--ink);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

picture {
  display: block;
  animation: reveal 760ms 120ms ease both;
}

picture img {
  width: 100%;
  max-height: 70svh;
  object-fit: contain;
  filter: drop-shadow(0 32px 56px rgba(0, 0, 0, 0.44));
}

section:not(.hero) {
  padding: 88px 6vw;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  gap: 64px;
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin: 0 0 18px;
}

.workflow p,
.download p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 18px;
}

ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

li {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: #e8ece9;
  font-size: 18px;
}

li:last-child {
  border-bottom: 1px solid var(--line);
}

li span {
  color: var(--accent);
  font-weight: 800;
  width: 42px;
}

.formats {
  background: #15181b;
  border-bottom: 1px solid var(--line);
}

pre {
  margin: 22px 0 0;
  padding: 24px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d0f12;
  color: #dce8de;
  line-height: 1.7;
}

.download {
  min-height: 46svh;
}

.command {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.command code {
  display: block;
  width: min(760px, 100%);
  padding: 16px 18px;
  border-radius: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: #d9ffe3;
  overflow-wrap: anywhere;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  nav {
    display: none;
  }

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

  .hero {
    gap: 28px;
    padding-top: 92px;
  }

  .lead {
    font-size: 17px;
  }

  section:not(.hero) {
    padding: 64px 22px;
  }
}
