:root {
  color-scheme: light;
  --brand: #0564a8;
  --brand-dark: #034879;
  --accent: #4f9cff;
  --ink: #102231;
  --muted: #566a79;
  --surface: rgba(255, 255, 255, 0.96);
  --shadow: 0 28px 80px rgba(4, 54, 87, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #eaf5fb;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(79, 156, 255, 0.22), transparent 26rem),
    radial-gradient(circle at 86% 82%, rgba(5, 100, 168, 0.2), transparent 30rem),
    linear-gradient(145deg, #f7fcff, #deeff8);
}

.page {
  display: grid;
  min-height: 100vh;
  padding: 32px;
  place-items: center;
}

.card {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(310px, 1.18fr);
  align-items: center;
  width: min(920px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.app-logo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  padding: 52px 34px;
  object-fit: contain;
  background: linear-gradient(155deg, var(--brand-dark), var(--brand));
}

.content {
  padding: 64px 58px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.description {
  max-width: 36rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.status {
  min-height: 1.5em;
  margin: 26px 0 14px;
  color: var(--brand-dark);
  font-size: 0.93rem;
  font-weight: 650;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button {
  display: flex;
  min-width: 176px;
  align-items: center;
  gap: 11px;
  padding: 10px 15px;
  border: 1px solid #164d78;
  border-radius: 12px;
  color: #fff;
  background: #0d2c4a;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(4, 54, 87, 0.25);
}

.store-button__icon {
  color: #6bb2ff;
  font-size: 1.45rem;
}

.store-button__icon--apple {
  color: #fff;
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.1;
}

.store-button small {
  margin-bottom: 3px;
  font-size: 0.67rem;
}

.store-button strong {
  font-size: 1rem;
}

.open-app-button {
  width: 100%;
  margin-top: 12px;
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.open-app-button:hover,
.open-app-button:focus-visible {
  background: var(--brand-dark);
}

.noscript-message {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .page {
    padding: 18px;
  }

  .card {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .app-logo {
    height: 230px;
    min-height: 0;
    padding: 24px 34px;
  }

  .content {
    padding: 34px 26px 30px;
    text-align: center;
  }

  .description {
    margin-top: 18px;
  }

  .store-actions {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .page {
    padding: 0;
    place-items: stretch;
  }

  .card {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .app-logo {
    height: min(37vh, 260px);
  }

  .store-button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-button {
    transition: none;
  }
}
