:root {
  --blue: #0b7baa;
  --blue-dark: #075f85;
  --navy: #1f2a37;
  --ink: #1f2a37;
  --muted: #5b6776;
  --line: #e3e9ef;
  --bg-top: #e8f3f9;
  --bg-bottom: #f7fafc;
  --radius: 22px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 55%) fixed;
  line-height: 1.5;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
}

.card {
  width: 100%;
  max-width: 460px;
  margin: auto 0;
  padding: 36px 24px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(31, 42, 55, 0.06), 0 12px 40px rgba(31, 42, 55, 0.08);
  text-align: center;
}

.logo {
  display: block;
  width: min(280px, 78%);
  height: auto;
  margin: 0 auto 26px;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(1.35rem, 4.6vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

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

.store {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 10px 20px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  text-align: left;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.store:hover { background: #111a24; }
.store:active { transform: scale(0.985); }

.store-icon {
  width: 26px;
  height: 26px;
  flex: none;
  color: #7cc6e6;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-sub { font-size: 0.8rem; opacity: 0.78; }
.store-label { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.01em; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* The QR only makes sense on a big screen (you scan it with a phone). */
.qr { display: none; }

.foot {
  width: 100%;
  max-width: 540px;
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.foot p { margin: 0; }

@media (min-width: 820px) {
  .card { max-width: 540px; padding: 44px 40px 36px; }
  .stores { grid-template-columns: 1fr 1fr; }
  .qr {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
  }
  .qr img { display: block; }
}

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