.download-page {
  background: #ffffff;
}

.dl2-shell {
  width: min(var(--page), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.dl2-hero {
  padding: clamp(66px, 8vw, 104px) 0 clamp(54px, 7vw, 88px);
  background:
    radial-gradient(52% 70% at 50% 0%, #eef6ff, transparent 74%),
    linear-gradient(180deg, #fbfdff, #ffffff);
  text-align: center;
}

.dl2-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5.2vw, 64px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.055em !important;
  line-height: 1.08 !important;
}

.dl2-sub {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.dl2-hint {
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 13px !important;
}

.dl2-hint a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dl2-platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(36px, 5vw, 54px);
  text-align: left;
}

.download-card.dl2-platform {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 45px -42px rgba(7, 30, 80, 0.25);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.download-card.dl2-platform:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 82, 240, 0.22);
  box-shadow: 0 24px 48px -40px rgba(7, 30, 80, 0.32);
}

.dl2-platform > a,
.dl2-platform__pending {
  display: flex;
  flex-direction: column;
  min-height: 214px;
  padding: 23px;
  color: inherit;
  text-decoration: none;
}

.dl2-platform__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #f4f7fb;
}

.dl2-platform__icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.dl2-platform__name {
  display: block;
  margin-top: 28px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.dl2-platform__meta {
  display: block;
  margin-top: 5px;
  color: var(--faint);
  font-size: 12.5px;
}

.dl2-platform__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.dl2-platform__foot .release-badge {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.dl2-platform__action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 500;
}

.dl2-platform__action i {
  font-style: normal;
  transition: transform 0.2s ease;
}

.dl2-platform:hover .dl2-platform__action i {
  transform: translateX(3px);
}

.dl2-platform.is-muted {
  background: #fafbfd;
}

.dl2-platform.is-muted:hover {
  transform: none;
  border-color: var(--hairline);
  box-shadow: 0 20px 45px -42px rgba(7, 30, 80, 0.25);
}

.dl2-platform.is-muted .dl2-platform__icon img {
  opacity: 0.55;
  filter: grayscale(1);
}

.dl2-platform.is-muted .dl2-platform__name {
  color: var(--muted);
}

.dl2-platform.is-muted .dl2-soon {
  color: var(--faint);
  font-size: 12px;
}

.dl2-platform.is-muted .dl2-platform__action {
  color: var(--faint);
}

.dl2-showcase-section {
  padding: clamp(58px, 7vw, 94px) 0;
  background: #f7f9fc;
}

.dl2-showcase {
  width: min(1010px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 2.4vw, 24px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(235, 244, 255, 0.9));
  box-shadow: 0 36px 80px -68px rgba(7, 30, 80, 0.38);
}

.dl2-window {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  background: #ffffff;
}

.dl2-window__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 39px;
  padding: 0 13px;
  border-bottom: 1px solid var(--hairline);
  background: #fbfcfe;
  color: var(--muted);
  font-size: 11px;
}

.dl2-dots {
  display: flex;
  gap: 5px;
}

.dl2-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9dee7;
}

.dl2-local {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #2862d8;
  font-size: 10.5px;
}

.dl2-local i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4d8df6;
}

.dl2-window__body {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 370px;
}

.dl2-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 17px 13px;
  border-right: 1px solid var(--hairline);
  background: #fbfcfe;
}

.dl2-side__brand {
  margin: 0 7px 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.dl2-side__item {
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--faint);
  font-size: 11px;
}

.dl2-side__item.is-active {
  background: #eef5ff;
  color: #2862d8;
  font-weight: 500;
}

.dl2-side__foot {
  margin-top: auto;
  padding: 0 8px;
  color: var(--faint);
  font-size: 10px;
}

.dl2-main {
  min-width: 0;
  padding: 18px 22px 22px;
}

.dl2-main__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--ink);
}

.dl2-main__head strong {
  font-size: 13px;
  font-weight: 600;
}

.dl2-main__head span {
  color: var(--faint);
  font-size: 10px;
}

.dl2-prompt {
  padding: 13px 15px;
  border: 1px solid rgba(14, 82, 240, 0.1);
  border-radius: 10px;
  background: #f7faff;
}

.dl2-prompt > span {
  display: block;
  margin-bottom: 5px;
  color: var(--faint);
  font-size: 10px;
}

.dl2-prompt p {
  margin: 0;
  color: var(--ink);
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.5 !important;
}

.dl2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(190px, 0.9fr);
  gap: 15px;
  margin-top: 18px;
}

.dl2-steps {
  padding-top: 2px;
}

.dl2-label {
  display: block;
  margin-bottom: 9px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.dl2-steps > span:not(.dl2-label) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 11.5px;
}

.dl2-steps em {
  color: #217a56;
  font-size: 10px;
  font-style: normal;
}

.dl2-result {
  align-self: start;
  padding: 15px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: #fbfcfe;
}

.dl2-file {
  display: grid;
  place-items: center;
  width: 29px;
  height: 33px;
  border-radius: 5px;
  background: #fff1e9;
  color: #c75b2d;
  font-size: 7px;
  font-weight: 700;
}

.dl2-result strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
}

.dl2-result small {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.5;
}

.dl2-result__state {
  display: block;
  margin-top: 16px;
  color: #217a56;
  font-size: 10px;
}

.dl2-enterprise {
  padding: clamp(52px, 6vw, 82px) 0;
}

.dl2-enterprise__panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 22px;
  background: linear-gradient(145deg, #f2f7ff, #ffffff 76%);
}

.dl2-enterprise__panel h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 38px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.045em !important;
  line-height: 1.16 !important;
}

.dl2-enterprise__panel p {
  max-width: 570px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.dl2-enterprise__panel .btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 17px;
  font-size: 13.5px;
}

@media (max-width: 1000px) {
  .dl2-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dl2-window__body {
    grid-template-columns: 140px minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .dl2-hero h1 {
    font-size: 40px !important;
  }

  .dl2-sub {
    font-size: 14px !important;
  }

  .dl2-platforms {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl2-platform > a,
  .dl2-platform__pending {
    min-height: 184px;
  }

  .dl2-window__body {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .dl2-side {
    display: none;
  }

  .dl2-main {
    padding: 16px;
  }

  .dl2-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 420px) {
  .dl2-shell {
    width: calc(100% - 36px);
  }

  .dl2-hero h1 {
    font-size: 36px !important;
  }

  .dl2-main {
    padding: 13px;
  }

  .dl2-prompt p {
    font-size: 13px !important;
  }
}

/* secondary Linux architecture, enabled when the release index provides it */
.dl2-platform__arm {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 21px;
  padding: 3px 7px;
  border: 1px solid rgba(14, 82, 240, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  text-decoration: none;
}

.dl2-platform__arm[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
  opacity: 0.65;
}
