.download-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.download-page .mast {
  width: 100%;
  min-height: 4.2rem;
  padding-inline: max(1.25rem, calc((100% - 65rem) / 2));
  border-bottom: 1px solid var(--line);
}

.download-main {
  flex: 1;
  padding-block: clamp(2.5rem, 9vh, 6.25rem) 3rem;
  background: url("/about/assets/mountain-wash.webp") center bottom / min(100%, 90rem) auto no-repeat;
  text-align: center;
}

.download-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 65rem;
  margin: clamp(1.5rem, 4vw, 2.75rem) auto 0;
  text-align: start;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fffbf4;
  box-shadow: 0 3px 18px #5142250a;
}

.download-card-heading {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.download-card h2 {
  font-size: 1.55rem;
}

.download-card-heading .icon {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--green);
}

.download-card p {
  color: var(--copy);
  font-size: .91rem;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 48px;
  margin-top: .65rem;
  padding: .62rem .82rem;
  border: 1px solid var(--green);
  border-radius: .65rem;
  background: var(--green);
  color: white;
  font-weight: 650;
}

.download-button:hover {
  background: #163f2a;
}

.download-button-apk {
  border-color: #b0b99e;
  background: #eef1e4;
  color: var(--ink);
}

.download-button-apk:hover {
  background: #e3ead9;
}

.download-return {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  margin-top: 1.2rem;
  color: var(--green);
  font-weight: 650;
}

.download-return:hover {
  text-decoration: underline;
  text-underline-offset: .2rem;
}

@media (max-width: 51.25rem) {
  .download-platforms {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
}

@media (max-width: 35rem) {
  .download-main {
    padding-top: 2rem;
  }
}
