:root {
  color-scheme: light;
  --bg: #f4f8fc;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #5b9fd4;
  --brand-strong: #3b82c4;
  --border: #dbe7f3;
  --shadow: 0 12px 32px rgb(31 41 55 / 8%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef6fc 0%, var(--bg) 40%);
}

main {
  width: min(100%, 28rem);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
}

.lead,
.status {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.5;
}

.status {
  margin-bottom: 1rem;
}

.open-app-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.75rem;
  margin-bottom: 1.25rem;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 1rem;
  background: linear-gradient(180deg, #4a9fd9 0%, #2f74b8 100%);
  box-shadow: 0 10px 28px rgb(47 116 184 / 32%);
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    filter 120ms ease;
}

.open-app-link:hover,
.open-app-link:focus-visible {
  filter: brightness(1.05);
  box-shadow: 0 12px 32px rgb(47 116 184 / 38%);
  outline: none;
}

.open-app-link:active {
  transform: translateY(1px);
  box-shadow: 0 6px 18px rgb(47 116 184 / 28%);
}

.store-divider {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
}

.store-list {
  display: grid;
  gap: 0.75rem;
}

.store-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 0.875rem;
  border: 1px solid var(--border);
  background: #f8fbff;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 120ms ease,
    background-color 120ms ease;
}

.store-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.store-link-text {
  line-height: 1.25;
}

.store-link:hover,
.store-link:focus-visible {
  border-color: var(--brand);
  background: #eef6fc;
  outline: none;
}

.store-link.primary {
  background: var(--brand);
  border-color: var(--brand-strong);
  color: #ffffff;
}

.store-link.primary:hover,
.store-link.primary:focus-visible {
  background: var(--brand-strong);
}

.store-list .store-link.primary {
  background: #f8fbff;
  border-color: var(--brand);
  color: var(--brand-strong);
}

.store-list .store-link.primary:hover,
.store-list .store-link.primary:focus-visible {
  background: #eef6fc;
}
