.smart-download-page {
  min-height: 100vh;
  background: #f4efff;
}

.download-home-link {
  min-height: 42px;
}

.smart-download-main {
  position: relative;
  display: grid;
  min-height: calc(100vh - 77px);
  place-items: center;
  overflow: hidden;
  padding: 56px 22px;
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 202, 97, 0.35), transparent 25%),
    radial-gradient(circle at 15% 80%, rgba(205, 235, 220, 0.65), transparent 24%),
    linear-gradient(145deg, #fbf7ff 0%, #eee5ff 60%, #f8f4f1 100%);
}

.smart-download-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.55;
  pointer-events: none;
}

.smart-download-glow-one {
  top: 8%;
  right: 8%;
  width: 180px;
  height: 180px;
  background: rgba(255, 141, 125, 0.23);
}

.smart-download-glow-two {
  bottom: 7%;
  left: 8%;
  width: 220px;
  height: 220px;
  background: rgba(114, 81, 211, 0.15);
}

.smart-download-card {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  padding: 52px;
  border: 1px solid rgba(43, 18, 62, 0.1);
  border-radius: 36px;
  background: rgba(255, 253, 251, 0.93);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.smart-download-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 28px;
  border-radius: 30px;
  box-shadow: 0 22px 48px rgba(70, 33, 116, 0.24);
}

.smart-download-card .eyebrow {
  margin-bottom: 12px;
}

.smart-download-card h1 {
  max-width: 600px;
  margin: 0 auto 16px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.smart-download-lede {
  max-width: 510px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

.smart-store-buttons {
  grid-template-columns: repeat(2, minmax(0, 230px));
  justify-content: center;
  margin-top: 32px;
}

.smart-store-buttons .store-button {
  width: 100%;
  min-width: 0;
  text-align: left;
}

.redirect-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 0;
  color: var(--violet-dark);
  font-weight: 700;
}

.redirect-status[hidden] {
  display: none;
}

.redirect-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(114, 81, 211, 0.22);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: smart-download-spin 700ms linear infinite;
}

.smart-download-note,
.smart-download-noscript {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@keyframes smart-download-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 620px) {
  .smart-download-main {
    min-height: calc(100vh - 69px);
    padding: 28px 14px;
  }

  .smart-download-page .nav {
    min-height: 68px;
  }

  .download-home-link {
    display: none;
  }

  .smart-download-card {
    padding: 38px 22px;
    border-radius: 28px;
  }

  .smart-download-icon {
    width: 92px;
    height: 92px;
    margin-bottom: 24px;
    border-radius: 25px;
  }

  .smart-download-card h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .smart-download-lede {
    font-size: 16px;
  }

  .smart-store-buttons {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .redirect-spinner {
    animation-duration: 1.4s;
  }
}
