:root {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-soft: #111827;
  --surface: #171d27;
  --surface-strong: #202938;
  --text: #eef5ff;
  --muted: #a8b5c7;
  --line: rgba(238, 245, 255, 0.15);
  --teal: #50d5c8;
  --amber: #f4c95d;
  --rose: #ee7aa7;
  --ink: #080b10;
  --shadow: rgba(0, 0, 0, 0.34);
  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: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

.site-header {
  align-items: center;
  background: rgba(16, 18, 17, 0.78);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.nav-links,
.hero-actions,
.hero-metrics,
.download-grid,
.chooser,
.status-layout,
.command-header {
  display: flex;
}

.brand {
  align-items: center;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--teal);
  color: #08201d;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  gap: clamp(12px, 2.4vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  min-height: 84svh;
  overflow: hidden;
  padding: 128px clamp(22px, 6vw, 96px) 76px;
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  filter: brightness(0.42) saturate(0.9);
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  transform: scale(1.28);
  transform-origin: right center;
  width: 100%;
}

.hero-shade {
  background: rgba(5, 8, 13, 0.74);
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: 8.5rem;
  letter-spacing: 0;
  line-height: 0.85;
  margin-bottom: 24px;
}

h2 {
  font-size: 4rem;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.hero-copy {
  color: #e6eefc;
  font-size: 1.32rem;
  max-width: 700px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

.button.primary,
.button.card-action {
  background: var(--teal);
  color: #061d1a;
}

.button.secondary {
  background: rgba(245, 240, 231, 0.08);
}

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

.hero-metrics {
  border-top: 1px solid rgba(245, 240, 231, 0.24);
  flex-wrap: wrap;
  gap: 22px;
  margin: 42px 0 0;
  padding-top: 22px;
}

.hero-metrics div {
  min-width: 190px;
}

dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
}

.section {
  padding: 82px clamp(22px, 6vw, 96px);
}

.intro {
  background: #111827;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
}

.intro p,
.split p,
.progress-meter p,
.download-card p,
.download-card li,
.footer {
  color: var(--muted);
}

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

.download-grid {
  gap: 18px;
  margin-top: 28px;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px var(--shadow);
  flex: 1;
  min-width: 0;
  padding: 24px;
}

.download-card.featured {
  border-color: rgba(75, 210, 195, 0.54);
}

.platform {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.download-card ul,
.milestones {
  margin: 20px 0 24px;
  padding-left: 20px;
}

.download-card li {
  margin: 8px 0;
}

.card-action {
  width: 100%;
}

.split {
  background: #0f1722;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
}

.chooser {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.88rem;
  gap: 8px;
  min-width: 220px;
}

select,
button {
  font: inherit;
}

select {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  min-height: 46px;
  padding: 0 14px;
}

.command-panel {
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px var(--shadow);
  min-width: 0;
}

.command-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  padding: 14px 16px;
}

.copy-button {
  background: var(--amber);
  border: 0;
  color: #251508;
  cursor: pointer;
  font-weight: 800;
  min-height: 36px;
  padding: 0 14px;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 18px;
}

code {
  color: #e8f4ef;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92rem;
}

.copy-status {
  min-height: 22px;
  padding: 0 18px 18px;
}

.status-section {
  background: #111722;
}

.status-layout {
  align-items: stretch;
  gap: 28px;
  margin-top: 28px;
}

.progress-meter,
.milestones {
  background: rgba(245, 240, 231, 0.06);
  border: 1px solid var(--line);
  flex: 1;
  padding: 24px;
}

.progress-number {
  color: var(--teal);
  font-size: 7rem;
  font-weight: 900;
  line-height: 0.9;
}

.progress-track {
  background: rgba(245, 240, 231, 0.12);
  height: 12px;
  margin: 24px 0 16px;
  overflow: hidden;
}

.progress-track span {
  background: var(--teal);
  display: block;
  height: 100%;
}

.milestones {
  list-style: none;
  margin: 0;
}

.milestones li {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.milestones li:last-child {
  border-bottom: 0;
}

.milestones span {
  color: var(--amber);
  display: inline-block;
  font-weight: 900;
  width: 58px;
}

.footer {
  align-items: center;
  background: #080b10;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(22px, 6vw, 96px);
}

.footer p {
  margin: 0;
  max-width: 860px;
}

.footer a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 82svh;
  }

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

  h1 {
    font-size: 5.5rem;
  }

  h2 {
    font-size: 3rem;
  }

  .download-grid,
  .status-layout {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .hero {
    padding: 104px 18px 58px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .progress-number {
    font-size: 4.5rem;
  }

  .section {
    padding: 58px 18px;
  }

  .button {
    width: 100%;
  }

  label {
    min-width: 100%;
  }

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