.apk-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.apk-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid #b39aba;
  border-radius: 9px;
  background: #f4e9f5;
  color: #482c50;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.apk-action small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
}

.apk-action--primary {
  border-color: #d6ab74;
  background: #efca95;
  color: #332134;
}

.apk-action--archive {
  grid-column: 1 / -1;
  min-height: 58px;
  border-color: #684774;
  background: #62416e;
  color: #fff6ff;
  font-size: 17px;
}

.apk-action:hover {
  filter: brightness(1.09);
}

.apk-action:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

.apk-version,
.archive-history > p {
  font-size: 13px;
  color: var(--muted);
}

.hero-downloads {
  max-width: 430px;
  margin-top: 18px;
}

.release-downloads h2,
.archive-history h2 {
  font-size: 20px;
}

.archive-history {
  margin-top: 32px;
  scroll-margin-top: 12px;
}

@media (max-width: 620px) {
  .hero-downloads {
    order: 4;
    width: 100%;
    max-width: none;
    margin-top: 5px;
  }

  .hero .hero-stage {
    order: 5;
  }
}

@media (max-width: 350px) {
  .apk-action {
    padding-inline: 10px;
    font-size: 13px;
  }

  .apk-action--archive {
    font-size: 16px;
  }
}
