/* Glyph Grids pages. Loads after style.css and swaps the parchment tokens for the
   app's night-purple and mint palette. Scoped to <body class="grids">. */
body.grids {
  /* Mint #83e5c7 fails text contrast on light backgrounds, so light-mode text uses violet. */
  --primary-color: #4f3a8f;
  --primary-light: #83e5c7;
  --accent-color: #83e5c7;
  --ink-color: #0b2a24;
  --primary-gradient: linear-gradient(135deg, #83e5c7, #b9a3f0);
  --hero-gradient: linear-gradient(135deg, #100d1b, #211a33 55%, #3b2a5c);
  --light-bg: #ece7f6;
  --white-bg: #f8f6fc;
  --text-color: #1c1630;
  --text-muted: #5d5473;
  --border-color: rgba(79, 58, 143, 0.18);
  --box-shadow: 0 10px 30px rgba(28, 22, 48, 0.1);
}

:root[data-theme="dark"] body.grids {
  --primary-color: #83e5c7;
  --light-bg: #191427;
  --white-bg: #100d1b;
  --text-color: #f4f0fa;
  --text-muted: #b9b0cf;
  --border-color: rgba(131, 229, 199, 0.18);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.grids {
    --primary-color: #83e5c7;
    --light-bg: #191427;
    --white-bg: #100d1b;
    --text-color: #f4f0fa;
    --text-muted: #b9b0cf;
    --border-color: rgba(131, 229, 199, 0.18);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
  :root:not([data-theme="light"]) .grids .navbar-toggler-icon {
    filter: invert(1);
  }
  :root:not([data-theme="light"]) .grids .accordion-button::after {
    filter: invert(1);
  }
}

.grids .phone-frame {
  border-color: #100d1b;
}

/* Store badges shown before launch: visible but not links. */
.store-soon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.store-soon img {
  height: 54px;
  width: auto;
  opacity: 0.55;
}
/* Google's badge PNG has built-in padding; enlarge it so the artwork matches Apple's. */
.store-soon img.play-badge {
  height: 80px;
  margin: -13px 0;
}
.store-soon span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
