.download-page {
  --download-navy: #071b31;
  --download-blue: #0d4d7d;
  --download-orange: #ff7900;
  --download-orange-light: #ff9d2d;
  --download-ink: #142033;
  --download-muted: #657184;
  --download-line: #dbe4ec;
  color: var(--download-ink);
  background: #f7f9fb;
}

.download-page * {
  letter-spacing: 0;
}

.download-hero {
  position: relative;
  min-height: 590px;
  padding: 76px 0 62px;
  overflow: hidden;
  color: #fff;
  background: var(--download-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.download-hero-art {
  position: absolute;
  top: -100px;
  right: max(-60px, calc((100vw - 1380px) / 2));
  width: min(54vw, 680px);
  height: 760px;
  opacity: 0.3;
  filter: saturate(0.85) contrast(1.1);
  pointer-events: none;
}

.download-hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(7, 27, 49, 0.15);
}

.download-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.download-hero-inner {
  position: relative;
  z-index: 2;
}

.download-kicker {
  margin: 0 0 12px;
  color: #8fd1ff;
  font-size: 14px;
  font-weight: 800;
}

.download-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 68px;
  line-height: 1.08;
}

.download-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #dceeff;
  font-size: 19px;
  line-height: 1.8;
}

.download-action {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--download-orange);
  border-radius: 8px;
  background: var(--download-orange);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 121, 0, 0.22);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.download-button:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  background: var(--download-orange-light);
  box-shadow: 0 18px 42px rgba(255, 121, 0, 0.3);
}

.download-button > span {
  font-size: 23px;
  line-height: 1;
}

.download-button.is-disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.72);
}

.download-button.is-disabled:hover {
  transform: none;
}

.download-status {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.download-release-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  max-width: 850px;
  margin: 36px 0 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.download-release-meta > div {
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.download-release-meta > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.download-release-meta dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.download-release-meta dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
}

.download-checksum {
  max-width: 850px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.download-checksum summary {
  width: max-content;
  cursor: pointer;
  color: #8fd1ff;
  font-weight: 700;
}

.download-checksum div,
.download-checksum p {
  margin: 10px 0 0;
}

.download-checksum code {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #fff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.download-steps {
  padding: 72px 0;
  background: #fff;
}

.download-section-heading {
  max-width: 720px;
}

.download-section-heading > p {
  margin: 0 0 8px;
  color: var(--download-orange);
  font-size: 14px;
  font-weight: 800;
}

.download-section-heading h2,
.download-system h2 {
  margin: 0;
  color: var(--download-ink);
  font-size: 34px;
}

.download-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.download-step-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--download-line);
  border-radius: 8px;
  background: #f8fafc;
}

.download-step-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 121, 0, 0.35);
  border-radius: 50%;
  color: var(--download-orange);
  background: #fff;
  font-weight: 850;
}

.download-step-list h3 {
  margin: 2px 0 8px;
  color: var(--download-ink);
  font-size: 19px;
}

.download-step-list p {
  margin: 0;
  color: var(--download-muted);
  font-size: 14px;
}

.download-system {
  padding: 44px 0;
  background: #edf3f7;
  border-top: 1px solid var(--download-line);
}

.download-system-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.download-system .download-kicker {
  color: var(--download-blue);
}

.download-system-inner > p {
  margin: 0;
  color: var(--download-muted);
}

@media (max-width: 900px) {
  .download-hero {
    min-height: 0;
    padding: 64px 0 52px;
  }

  .download-hero-art {
    right: -190px;
    width: 720px;
    opacity: 0.18;
  }

  .download-release-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-release-meta > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .download-release-meta > div:nth-child(n+3) {
    margin-top: 18px;
  }

  .download-step-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .download-hero {
    padding: 52px 0 44px;
  }

  .download-hero h1 {
    font-size: 40px;
  }

  .download-lead {
    font-size: 17px;
  }

  .download-action {
    align-items: stretch;
    flex-direction: column;
  }

  .download-button {
    width: 100%;
  }

  .download-release-meta {
    grid-template-columns: 1fr;
  }

  .download-release-meta > div {
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .download-release-meta > div:first-child {
    border-top: 0;
  }

  .download-release-meta > div:nth-child(n+3) {
    margin-top: 0;
  }

  .download-section-heading h2,
  .download-system h2 {
    font-size: 28px;
  }

  .download-system-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-button {
    transition: none;
  }
}
