/* homepage.css */
body {
  background-color: var(--bg);
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);

  display: flex;
  align-items: center;
  justify-content: center;

  /* ✅ better than height: 100vh on mobile */
  min-height: 100vh;
  min-height: 100svh;

  position: relative;

  /* ✅ allow page to scroll if needed */
  overflow-x: hidden;
  overflow-y: auto;

  /* helps iOS safe area */
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);

  -webkit-overflow-scrolling: touch;
}

.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-auto-rows: 100px;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.grid-cell {
  opacity: 0.18;
  background-color: transparent;
  animation: fade 5s ease-in-out infinite alternate;
  background-size: cover;
  background-position: center;
}

@keyframes fade {
  0% {
    opacity: 0.04;
  }
  100% {
    opacity: 0.08;
  }
}

.center-content {
  z-index: 1;
  text-align: center;
  padding: 2rem;
  backdrop-filter: blur(4px);

  max-width: 640px;
  width: 100%;
}

.center-content h1 {
  font-size: clamp(2rem, 8vw, 2.8rem);
  margin-bottom: 0.5rem;
  color: var(--text);
}

.center-content p {
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  width: 100%;
  margin: 0 auto 1.5rem;
}

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

.store-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.store-buttons a img {
  height: 50px;
  width: auto;
  display: block;
}

.legal-links {
  margin-top: 18px;
  font-size: 0.85rem;
  color: rgba(26, 31, 54, 0.65);
  display: flex;
  justify-content: center;
  gap: 10px;
  row-gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
  color: rgba(26, 31, 54, 0.9);
}

/* Android “coming soon” badge that visually fits next to App Store badge */
.store-badge {
  height: 50px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

@media (max-width: 360px) {
  .store-buttons a img { height: 44px; }
  .store-badge { height: 44px; }
}

/* .grid-cell {
  background-color: var(--primary);
  opacity: 0.04;
  animation: fade 5s ease-in-out infinite alternate;
} */


