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

.download-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 30px;
  gap: 24px;
}

.download-back {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  min-height: 44px;
}

.download-back:hover {
  color: var(--forest);
}

.download-main {
  flex: 1;
  max-width: 860px;
  padding-block: 32px 65px;
}

.download-heading {
  text-align: center;
}

.download-heading .eyebrow {
  justify-content: center;
}

.download-heading h1 {
  font-size: clamp(64px, 7vw, 94px);
  line-height: 0.91;
  margin-block: 22px;
}

.download-heading h1 > span {
  color: var(--forest);
}

.download-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.store-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.store-card {
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-card[href]:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px #19271e12;
}

.store-card[aria-disabled="true"] {
  cursor: default;
}

.apple-card {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--paper);
}

.store-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.store-platform {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--forest);
}

.apple-card .store-platform {
  color: var(--accent);
}

.store-icon {
  width: 35px;
  height: 39px;
  flex: none;
}

.apple-icon {
  fill: currentColor;
  width: 43px;
  height: 43px;
  margin: -2px -4px;
}

.store-card h2 {
  font-size: 42px;
}

.store-card > p {
  color: var(--muted);
  margin-top: 15px;
  font-size: 12px;
  line-height: 1.8;
}

.apple-card > p {
  color: #b4c0ad;
}

.store-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 28px;
  font-size: 12px;
  font-weight: 600;
}

.apple-card .store-card-action {
  border-color: #3d4a37;
  color: var(--accent);
}

.store-card-action > span:last-child {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.store-status {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.8;
}

.apple-card .store-status {
  color: #b4c0ad;
}

.store-availability {
  max-width: 570px;
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 22px auto 0;
}

.download-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 33px;
}

.download-preview > span {
  font-size: 11px;
  color: var(--muted);
}

.download-footer {
  padding-block: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}

.download-footer a:hover {
  color: var(--forest);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .download-header {
    padding-block: 21px;
  }

  .download-back {
    font-size: 11px;
    gap: 8px;
  }

  .download-main {
    padding-block: 27px 44px;
  }

  .download-heading h1 {
    font-size: clamp(61px, 14vw, 80px);
    margin-block: 20px;
  }

  .download-heading > p:last-child {
    font-size: 12px;
  }

  .store-options {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .store-card {
    padding: 24px;
    position: relative;
  }

  .store-card-top {
    margin-bottom: 18px;
    min-height: 22px;
  }

  .store-icon {
    position: absolute;
    top: 31px;
    right: 29px;
  }

  .store-card h2 {
    font-size: 39px;
  }

  .store-card > p {
    font-size: 12px;
    margin-top: 12px;
  }

  .store-card-action {
    margin-top: 19px;
    padding-top: 17px;
  }

  .store-status {
    margin-top: 9px;
  }

  .download-footer {
    font-size: 9px;
  }
}
