.download-page {
  margin: 0;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background-color: #000;
  color: #fff;
}

.download-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("../assets/story-couple-dancing.webp") center / auto 100% no-repeat;
}

.download-brand {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 24px 48px;
  pointer-events: none;
}
.download-brand a { display: block; width: fit-content; pointer-events: auto; }
.download-brand img { display: block; width: 88.568px; height: 41px; }

.download-content {
  box-sizing: border-box;
  width: 100%;
  max-width: 800px;
  min-height: 600px;
  margin-inline: auto;
  padding: 64px 24px 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.download-preview {
  flex-shrink: 0;
  border-radius: 16px;
  box-shadow: 0 4px 36px rgb(255 255 255 / .85);
}
.download-preview img {
  width: 244px;
  height: 526px;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

.download-panel {
  width: 476px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.download-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: -24px;
  position: relative;
  z-index: 1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 40px rgb(0 0 0 / .1);
}

.download-card {
  box-sizing: border-box;
  width: 100%;
  padding: 56px 32px 32px;
  border-radius: 32px;
  background: rgb(0 0 0 / .2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.download-card h1 {
  margin: 0 0 16px;
  color: #fff;
  font: 700 40px/normal Mermaid, Georgia, serif;
  text-shadow: 0 0 16px rgb(0 0 0 / .5);
}

.download-card p {
  margin: 0;
  color: #fff;
  font: 400 20px/1.5 Inter, sans-serif;
  text-shadow: 0 0 16px rgb(0 0 0 / .5);
}

.download-stores {
  margin-top: 32px;
  display: grid;
  gap: 8px;
}

.download-stores a {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 64px;
  border-radius: 160px;
  border: 2px solid #01bf96;
  background: #1f1f1f;
  color: #fff;
  font: 400 20px/1.5 -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  text-decoration: none;
}
.download-stores img { display: block; }
#ios-store img { width: 40px; height: 40px; }
#android-store { background: #fff; height: 62px; }
#android-store img { width: 152px; height: 30px; }

.download-page .sync-footer {
  position: relative;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgb(0 0 0 / .2);
}

@media (width < 1280px) {
  .download-page::before { background-position: calc(50% - 67px) center; }
  .download-content { flex-direction: column; gap: 0; padding: 40px 24px; }
  .download-preview { margin-bottom: -216px; }
  #android-store { height: 60px; }
  .download-page .sync-footer__credit { visibility: visible; color: #000; }
}

@media (width < 800px) {
  .download-content { padding-inline: 0; }
  .download-brand { padding-inline: 44px; }
  .download-panel { width: min(100%, 327px); }
  .download-card { padding-inline: 16px; }
  .download-card p { font-size: 16px; }
  .download-stores a, #android-store { height: 56px; font-size: 16px; }
  #ios-store img { width: 30px; height: 30px; }
  #android-store img { width: 121px; height: 24px; }
}
