/*
 * Pocket Watchdog product page.
 * Extends the shared VirtualWatch landing-page system with information
 * layouts for audiences, platforms and operational feature catalogues.
 */

html[data-wd-build="watchdog"] body.wd-pocket .pw-audience-card {
  color: inherit;
  text-decoration: none;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--idx-accent);
  font-family: var(--idx-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-platform-grid,
html[data-wd-build="watchdog"] body.wd-pocket .pw-split-grid,
html[data-wd-build="watchdog"] body.wd-pocket .pw-safety-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-platform-card,
html[data-wd-build="watchdog"] body.wd-pocket .pw-detail-panel {
  padding: 1.35rem;
  border: 1px solid var(--v4-border-light);
  border-top: 4px solid var(--idx-accent);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.045), transparent 48%),
    var(--v4-card);
  box-shadow: var(--v4-card-lift);
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-platform-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-platform-card--android {
  background:
    linear-gradient(145deg, rgb(var(--idx-accent-rgb) / 0.09), transparent 44%),
    var(--v4-card);
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-platform-card h3,
html[data-wd-build="watchdog"] body.wd-pocket .pw-detail-panel h3,
html[data-wd-build="watchdog"] body.wd-pocket .pw-android-block h3 {
  margin: 0 0 0.7rem;
  color: var(--idx-ink);
  font-family: var(--idx-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-platform-card__head {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--v4-border-light);
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-check-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-check-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0 0.8rem 1.5rem;
  border-bottom: 1px solid var(--v4-border-light);
  position: relative;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-check-list li::before {
  content: "\2713";
  position: absolute;
  top: 0.85rem;
  left: 0;
  color: var(--idx-accent);
  font-weight: 700;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-check-list li.is-unavailable::before {
  content: "\2014";
  color: var(--idx-muted);
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-check-list strong {
  color: var(--idx-ink);
  font-family: var(--idx-display);
  font-size: 0.96rem;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-check-list span,
html[data-wd-build="watchdog"] body.wd-pocket .pw-detail-panel p,
html[data-wd-build="watchdog"] body.wd-pocket .pw-operational-note {
  color: var(--idx-muted);
  line-height: 1.55;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-store-badge {
  display: inline-flex;
  width: 168px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 1rem;
  line-height: 0;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-store-badge img {
  display: block;
  width: 168px;
  height: 56px;
  object-fit: fill;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-detail-panel--accent {
  background:
    linear-gradient(145deg, rgb(var(--idx-accent-rgb) / 0.09), transparent 52%),
    var(--v4-card);
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-feature-list {
  margin-top: 1rem;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-feature-list li {
  align-items: start;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-android-block {
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgb(var(--idx-accent-rgb) / 0.42);
  background:
    linear-gradient(145deg, rgb(var(--idx-accent-rgb) / 0.07), transparent 42%),
    rgb(9 9 12 / 0.84);
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-android-block__intro {
  max-width: 52rem;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-android-block__intro p {
  color: var(--idx-muted);
  line-height: 1.6;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-action-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 1.35rem 0;
  background: var(--v4-border-light);
  border: 1px solid var(--v4-border-light);
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-action-strip span {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  background: var(--v4-card);
  color: var(--idx-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-action-strip strong {
  color: var(--idx-ink);
  font-family: var(--idx-display);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

html[data-wd-build="watchdog"] body.wd-pocket .vw-security-grid.pw-check-grid {
  grid-template-columns: 1fr;
}

html[data-wd-build="watchdog"] body.wd-pocket .pw-monitoring-photo {
  min-height: 18rem;
  max-height: 31rem;
  margin-top: 1.2rem;
}

@media (min-width: 700px) {
  html[data-wd-build="watchdog"] body.wd-pocket .pw-split-grid,
  html[data-wd-build="watchdog"] body.wd-pocket .pw-safety-lead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-wd-build="watchdog"] body.wd-pocket .pw-action-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-wd-build="watchdog"] body.wd-pocket .vw-security-grid.pw-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  html[data-wd-build="watchdog"] body.wd-pocket .pw-platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-wd-build="watchdog"] body.wd-pocket .pw-action-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
