:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #14181f;
  --muted: #5b6574;
  --accent: #1f6feb;
  --accent-text: #ffffff;
  --border: #dfe3e9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1218;
    --card: #181c24;
    --text: #f2f4f8;
    --muted: #9aa4b2;
    --accent: #4c8dff;
    --accent-text: #0b0f16;
    --border: #2a303b;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

main {
  width: 100%;
  max-width: 420px;
  padding: 32px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
}

h1 { margin: 0 0 8px; font-size: 1.5rem; }
p { margin: 0 0 24px; color: var(--muted); }

.stores { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.store { display: inline-block; line-height: 0; border-radius: 8px; }

/* Official badges, drawn at the same height (their artwork has no meaningful clear space
   in the web SVGs). Keep the artwork unmodified per Apple/Google brand guidelines. */
.badge-apple,
.badge-google { height: 52px; width: auto; }

.store:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

[hidden] { display: none !important; }
