/* ---------------------------------------------------------------------
   Pixel Info app pages — styles layered on top of the shared site design
   system (tokens/base/layout/components). Only what's specific to this
   sub-site lives here.
   ------------------------------------------------------------------- */

/* ---------- status pill ---------- */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem 0.3rem 0.6rem;
  margin-bottom: var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
}

.status-pill__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .status-pill__dot {
    animation: now-pulse 2.4s ease-in-out infinite;
  }
}

/* ---------- hero icon tile ---------- */

.hero__icon-tile {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(16rem, 100%);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-elevated) 70%);
  border: 1px solid var(--border);
}

.hero__icon-tile img {
  width: 45%;
  height: 45%;
}

/* ---------- store badges ---------- */

.store-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.store-badge {
  display: block;
  height: 2.75rem;
  width: auto;
  border-radius: var(--radius-sm);
}

.store-badge--disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.store-badge-link {
  display: inline-flex;
  transition: transform var(--duration-fast) var(--ease-out);
}

.store-badge-link:hover {
  transform: scale(1.03);
}

.store-badge-link:active {
  transform: scale(0.97);
}

/* ---------- fact row ---------- */

.fact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

@media (min-width: 40rem) {
  .fact-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fact-row__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.fact-row__item svg {
  margin-top: 0.15rem;
  color: var(--accent);
}

.fact-row__item dt {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.fact-row__item dd {
  margin: 0.1rem 0 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text);
}

/* ---------- screenshot strip ---------- */

.screenshot-strip {
  display: flex;
  gap: var(--space-3);
  margin: 0;
  padding: var(--space-1) var(--container-gutter) var(--space-2);
  margin-inline: calc(var(--container-gutter) * -1);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.screenshot-strip li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.screenshot-strip img {
  display: block;
  width: 12.5rem;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

/* ---------- legal / privacy prose ---------- */

.prose {
  max-width: var(--container-narrow);
}

.prose h2 {
  font-size: var(--text-lg);
  margin-top: var(--space-5);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  margin-top: var(--space-2);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.prose ul {
  margin-top: var(--space-2);
}

.prose li {
  position: relative;
  padding-left: var(--space-2);
  margin-top: var(--space-1);
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--border-strong);
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--accent);
  font-weight: var(--weight-medium);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
}

.prose a:hover {
  text-decoration-color: var(--accent);
}

.effective-date {
  display: block;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-faint);
}
