:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1d1b32;
  background: #f8f7ff;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 12%, rgba(132, 106, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 88%, rgba(238, 167, 255, 0.16), transparent 30rem), #f8f7ff;
}

main {
  width: min(100% - 32px, 560px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand {
  display: inline-flex;
  margin-bottom: 32px;
}

.brand img {
  display: block;
  width: 132px;
  height: auto;
}

.card {
  width: 100%;
  padding: 38px 34px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(84, 68, 150, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(55, 43, 108, 0.12);
}

.app-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  background: linear-gradient(145deg, #8870ff, #5c3dde);
  box-shadow: 0 12px 28px rgba(97, 69, 220, 0.28);
}

.eyebrow {
  margin: 0 0 8px;
  color: #7059d5;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.lead {
  margin: 16px auto 26px;
  color: #615e73;
  font-size: 17px;
  line-height: 1.55;
}

.actions {
  display: grid;
  gap: 12px;
}

.store-button {
  min-height: 54px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #232036;
  border-radius: 14px;
  color: #fff;
  background: #232036;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.store-button.secondary {
  color: #232036;
  background: #fff;
  border-color: rgba(35, 32, 54, 0.2);
}

.store-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(35, 32, 54, 0.15);
}

.store-button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(112, 89, 213, 0.35);
  outline-offset: 3px;
}

.help {
  margin: 20px 0 0;
  color: #777486;
  font-size: 14px;
  line-height: 1.5;
}

footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  gap: 10px;
  color: #777486;
  font-size: 14px;
}

footer a {
  color: inherit;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  main {
    width: min(100% - 24px, 560px);
    padding-top: 24px;
  }

  .brand {
    margin-bottom: 22px;
  }

  .card {
    padding: 30px 20px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-button {
    transition: none;
  }
}
