body {
  font-family: system-ui, sans-serif;
  background: #fafafa;
  margin: 0;
  padding: 0;
  color: #222;
}

main {
  max-width: 600px;
  margin: auto;
  padding: 2rem;
  text-align: center;
}

h1 {
  color: #138808;
  margin-bottom: 0.25rem;
}

h1 .subtitle {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  color: #444;
  margin-top: 0.25rem;
}

.screenshot {
  max-width: 80%;
  margin: 1rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.buttons {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge img {
  height: 50px;
  display: block;
}

footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #555;
}

/* Shared layout stays the same */
.buttons {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ✅ Normalize badge sizing across devices */
:root {
  --badge-height: 56px;  /* desktop/tablet */
}

@media (max-width: 480px) {
  :root { --badge-height: 48px; } /* mobile */
}

.store-badge {
  flex: 0 0 auto;            /* don’t let flexbox shrink them differently */
  line-height: 0;            /* remove inline-gap */
}

.store-badge img {
  display: block;
  height: var(--badge-height);
  width: auto;               /* maintain aspect ratio */
}

/* Optional: make badges keyboard/touch friendly without outlines sticking */
.store-badge:focus-visible img {
  outline: 2px solid #138808;
  outline-offset: 3px;
  border-radius: 6px;
}
