:root {
  --ink: #0b321d;
  --ink-deep: #021c0e;
  --green: #56e695;
  --green-dark: #24844f;
  --green-soft: #e7f8ed;
  --cream: #f6f4ed;
  --white: #ffffff;
  --muted: #52675a;
  --line: #dbe5dd;
  --shadow: 0 22px 55px rgba(2, 28, 14, 0.13);
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(86, 230, 149, 0.2), transparent 28rem),
    radial-gradient(circle at 5% 100%, rgba(24, 118, 66, 0.72), transparent 38rem),
    linear-gradient(125deg, #001f10 0%, #07351f 52%, #174c31 100%);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.45;
}

a {
  color: inherit;
}

.top-bar,
main,
footer {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.top-bar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.release {
  display: flex;
  align-items: center;
}

.brand {
  gap: 16px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 132px;
  height: auto;
}

.release {
  gap: 12px;
  color: #c4d7cb;
  font-size: 13px;
}

.release strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 12px;
}

.release i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.console {
  display: grid;
  min-height: 450px;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 24, 12, 0.18);
  color: var(--white);
}

.download-panel,
.steps-panel {
  padding: clamp(38px, 5vw, 64px);
}

.download-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(0, 18, 9, 0.5), transparent);
}

.steps-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 520px;
  margin: 0 0 14px;
  font-size: clamp(38px, 4.6vw, 60px);
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.summary {
  margin: 0 0 26px;
  color: #d4e3d9;
  font-size: 17px;
}

.download-button {
  display: inline-flex;
  width: fit-content;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(86, 230, 149, 0.2);
  color: var(--ink-deep);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.download-button:hover,
.download-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(86, 230, 149, 0.28);
}

.build-details {
  margin: 17px 0 0;
  color: #a9bdb0;
  font: 12px/1.4 Consolas, monospace;
}

.build-details b {
  color: var(--green);
  font-family: var(--sans);
}

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

.steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.steps li:first-child {
  border-top: 0;
}

.steps li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: rgba(86, 230, 149, 0.13);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.steps p {
  margin: 0;
  color: #afc1b5;
  font-size: 13px;
}

.utility-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.8fr) minmax(190px, 0.65fr);
  margin-top: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 18, 9, 0.28);
}

.utility {
  min-width: 0;
  padding: 17px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.utility:first-child {
  border-left: 0;
}

.utility > span {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.checksum {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 14px;
}

.checksum > span {
  grid-column: 1 / -1;
}

.checksum code {
  overflow: hidden;
  color: #d6e5db;
  font: 11px/1.5 Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checksum a,
.local-check a {
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.platform-status strong {
  font-size: 12px;
}

footer {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  color: #aac0b2;
  font-size: 12px;
}

footer a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: var(--green);
}

@media (max-width: 900px) {
  .console {
    grid-template-columns: 1fr;
  }

  .steps-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .utility-strip {
    grid-template-columns: 1fr 1fr;
  }

  .checksum {
    grid-column: 1 / -1;
  }

  .utility:nth-child(2) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .utility:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }
}

@media (max-width: 620px) {
  .top-bar,
  main,
  footer {
    width: min(100% - 24px, 1160px);
  }

  .top-bar {
    min-height: 64px;
  }

  .brand {
    font-size: 13px;
  }

  .brand img {
    width: 108px;
  }

  .release > span {
    display: none;
  }

  .console {
    min-height: 0;
  }

  .download-panel,
  .steps-panel {
    padding: 32px 24px;
  }

  h1 {
    font-size: 40px;
  }

  .download-button {
    width: 100%;
  }

  .utility-strip {
    grid-template-columns: 1fr;
  }

  .checksum,
  .utility {
    grid-column: auto;
  }

  .utility,
  .utility:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .utility:first-child {
    border-top: 0;
  }

  .checksum code {
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }
}

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