.download-hero {
  position: relative;
  padding-top: clamp(54px, 8vw, 108px);
  padding-bottom: 0;
  overflow: hidden;
  border-bottom: var(--line-strong) solid var(--color-text);
  background: var(--color-bg);
}

.download-hero::before,
.download-hero::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  content: "";
}

.download-hero::before {
  top: 0;
  right: 0;
  width: min(34vw, 420px);
  height: 100%;
  border-left: var(--line-thin) solid var(--color-texture);
  background-color: var(--color-overlay);
  background-image:
    linear-gradient(var(--color-texture) var(--line-thin), var(--color-transparent) var(--line-thin)),
    linear-gradient(90deg, var(--color-texture) var(--line-thin), var(--color-transparent) var(--line-thin));
  background-size: 24px 24px;
}

.download-hero::after {
  top: 20px;
  right: 20px;
  width: 92px;
  height: 92px;
  border-top: var(--line-strong) solid var(--color-accent);
  border-right: var(--line-strong) solid var(--color-accent);
}

.download-hero .wrap {
  position: relative;
  z-index: 1;
}

.download-hero h1 {
  max-width: 1050px;
  margin-bottom: 34px;
  font-size: clamp(48px, 8vw, 106px);
}

.download-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  padding-bottom: 42px;
}

.download-hero__grid > * {
  min-width: 0;
}

.download-hero__lead {
  max-width: 820px;
  color: var(--color-text-muted);
  font-size: clamp(15px, 1.8vw, 19px);
}

.download-hero__checklist {
  border-top: var(--line-strong) solid var(--color-accent);
  border-bottom: var(--line-strong) solid var(--color-accent);
  background: var(--color-panel);
}

.download-hero__checklist p {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 9px 12px;
  border-bottom: var(--line-thin) dashed var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.download-hero__checklist p:last-child {
  border-bottom: 0;
}

.download-hero__checklist span {
  flex: 0 0 auto;
  margin-right: 12px;
  color: var(--color-accent);
  font-weight: 800;
}

.download-hero__status {
  display: flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 7px 12px;
  color: var(--color-bg);
  background: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
}

.download-tabs {
  align-items: start;
}

.download-tabs .tab-list {
  position: sticky;
  top: 12px;
}

.panel-index {
  margin-bottom: 8px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tab-panel > h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.tab-panel > h3 + p {
  max-width: 900px;
  margin-bottom: 30px;
  color: var(--color-text-muted);
}

.client-card__heading h4 {
  margin-bottom: 5px;
  padding-right: 92px;
  font-size: 21px;
}

.client-card--archive {
  border-style: dashed;
}

.client-card__body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.download-grid--single {
  grid-template-columns: minmax(0, 760px);
}

.requirements-block {
  margin-top: 34px;
  padding-top: 20px;
  border-top: var(--line-strong) solid var(--color-text);
}

.requirements-block h4 {
  color: var(--color-accent);
  font-size: 18px;
}

.section--kernel {
  border-top: var(--line-strong) solid var(--color-text);
  border-bottom: var(--line-strong) solid var(--color-text);
  background: var(--color-panel);
}

.kernel-table .data-table {
  min-width: 820px;
}

.table-download {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 3px 9px;
  color: var(--color-bg);
  background: var(--color-accent);
  font-weight: 800;
  white-space: nowrap;
}

.table-download:hover {
  background: var(--color-accent-pressed);
}

.kernel-notes {
  margin-top: 20px;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.selection-grid > * {
  min-width: 0;
}

.selection-grid .panel > h3 {
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: var(--line-strong) solid var(--color-text);
  color: var(--color-accent);
}

.selection-grid .steps h4 {
  margin-bottom: 6px;
  color: var(--color-text);
}

.selection-grid .steps p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.download-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 44px;
  border-color: var(--color-accent);
}

.download-next > * {
  min-width: 0;
}

.download-next h3 {
  color: var(--color-accent);
}

.download-next p:not(.section-kicker) {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.download-next .button-row {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .download-hero__grid,
  .selection-grid,
  .download-next {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-hero::before {
    width: 28vw;
  }

  .download-next .button-row {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .download-tabs .tab-list {
    position: static;
  }

  .download-hero::before {
    width: 38vw;
  }

  .download-hero__status {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .client-card__heading h4 {
    padding-right: 72px;
  }
}

@media (max-width: 640px) {
  .download-hero {
    padding-top: 46px;
  }

  .download-hero::before {
    width: 42vw;
    opacity: 0.45;
  }

  .download-hero::after {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
  }

  .download-hero h1 {
    margin-bottom: 24px;
  }

  .download-hero__grid {
    gap: 24px;
    padding-bottom: 30px;
  }

  .download-hero__status {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .tab-panel {
    padding: 18px 14px 22px;
  }

  .client-card__heading h4 {
    padding-right: 0;
    font-size: 19px;
  }

  .client-badges {
    position: static;
    max-width: 100%;
    justify-content: flex-start;
    border-bottom: var(--line-thin) dashed var(--color-border);
  }

  .client-badge {
    margin: -2px 0 0 -2px;
  }

  .selection-grid .panel {
    padding: 18px 14px;
  }

  .download-next {
    padding: 20px 14px;
  }

  .download-next .button-row {
    display: grid;
    width: 100%;
  }
}