:root {
  color-scheme: light;
  --brand: #4b6cb7;
  --brand-dark: #294b95;
  --ink: #13213b;
  --muted: #667085;
  --line: #dce4f2;
  --surface: rgba(255, 255, 255, 0.94);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(75, 108, 183, 0.22), transparent 35%),
    linear-gradient(145deg, #f8faff 0%, #e9effa 100%);
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.card {
  width: min(100%, 720px);
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(34, 59, 111, 0.15);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.logo {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 14px 30px rgba(31, 70, 145, 0.2);
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
}

h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.35rem, 4vw, 2rem); }

.view { text-align: center; }
.lead { color: var(--muted); font-size: 1.1rem; line-height: 1.9; }

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

.button, .store {
  min-height: 62px;
  border-radius: 16px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible { outline: 3px solid rgba(75, 108, 183, 0.35); outline-offset: 3px; }

.primary {
  display: inline-grid;
  place-items: center;
  min-width: 210px;
  padding: 14px 24px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(75, 108, 183, 0.24);
}

.store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 15px;
  color: #fff;
  background: #101318;
}

.store span:last-child { display: grid; text-align: start; }
.store small { font-size: 0.72rem; opacity: 0.78; }
.store strong { font-size: 1rem; }
.store-mark, .play-mark { font-size: 1.75rem; }

.coming-soon {
  color: var(--brand-dark);
  background: #edf2fb;
  border: 1px solid var(--line);
}

.muted { opacity: 0.55; }
.text-button { margin-top: 20px; border: 0; color: var(--brand-dark); background: transparent; cursor: pointer; }
.route-note { margin-top: 24px; padding: 12px; border-radius: 12px; color: var(--muted); background: #f4f7fc; overflow-wrap: anywhere; }

.loader {
  width: 44px;
  height: 44px;
  margin: 0 auto 22px;
  border: 4px solid #dbe4f5;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

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

@media (max-width: 560px) {
  .card { border-radius: 24px; }
  .brand { flex-direction: column; text-align: center; }
  .store-actions { grid-template-columns: 1fr; }
  .logo { width: 96px; height: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
