:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  background: #101c30;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 45%, #2b507b 0, #1a3150 45%, #101c30 85%);
  background-size: 140% 140%;
  background-position: 50% 50%;
  animation: gradient-drift 30s ease-in-out infinite alternate;
}

@keyframes gradient-drift {
  from { background-position: 25% 30%; }
  to { background-position: 75% 70%; }
}
.web-nav { display: flex; justify-content: flex-end; padding: 24px 24px 0; }
.web-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #ffffff40;
  border-radius: 10px;
  background: #ffffff08;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: background 150ms ease;
}
.web-login:hover { background: #ffffff18; }
main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}
.hero { width: 100%; max-width: 560px; text-align: center; }
.app-icon {
  display: block;
  width: min(256px, 68vw);
  height: auto;
  margin: 0 auto 48px;
  border-radius: 23%;
  box-shadow: 0 20px 64px #00000035;
}
.downloads { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.download-note { margin: -16px auto 24px; max-width: 360px; color: #bdcde0; font-size: 16px; line-height: 1.6; text-wrap: balance; }
footer { padding: 0 24px 24px; color: #a5b7cc; text-align: center; font-size: 12px; line-height: 1.6; }
.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  min-height: 60px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #ffffff;
  color: #15263e;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background 150ms ease;
}
.store-icon { width: 28px; height: 28px; flex: 0 0 auto; }
.store-link:hover { background: #e1ecf9; }
.web-login:focus-visible, .store-link:focus-visible { outline: 3px solid #91bfff; outline-offset: 5px; }
.downloads[data-device] { flex-direction: column; align-items: center; gap: 10px; }
.downloads[data-device] .store-link:not(.alternative) { min-width: min(100%, 240px); }
.store-link.alternative { min-height: 48px; padding: 10px 14px; background: transparent; color: #bdcde0; font-size: 16px; font-weight: 400; }
.store-link.alternative .store-icon { width: 22px; height: 22px; }
.store-link.alternative:hover { color: #ffffff; background: #ffffff09; }

@media (max-width: 480px) {
  .downloads { flex-direction: column; align-items: stretch; max-width: 260px; margin-inline: auto; }
  .downloads[data-device] { align-items: stretch; }
  .app-icon { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .web-login, .store-link { transition: none; }
}
