/* Product identities are taken from the platform or its published brand artwork. */
.platform-logo.product-mark,
.home-platforms .platform-logo.product-mark,
.ss-hero .pt-copy .platform-brand-mark.product-mark,
.directory-product-logo.product-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100%, 248px);
  max-width: 100%;
  min-width: 0;
  height: 72px;
  min-height: 0;
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
}
.ss-hero .pt-copy .platform-brand-mark.product-mark {
  width: min(100%, 320px);
  height: 82px;
  margin-bottom: 18px;
}
.directory-product-logo.product-mark {
  width: min(100%, 200px);
  height: 54px;
  margin: 0 0 12px;
  padding: 7px 10px;
}
.product-mark[data-product="darklens"],
.product-mark[data-product="aisvs"] { background-color: #0c1b30 !important; }
.product-mark[data-product="cyberwatch"] { padding: 0 !important; background: transparent !important; }
.product-mark img,
.platform-logo.product-mark img,
.ss-hero .platform-brand-mark.product-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-mark[data-product="cyberwatch"] img { height: auto; border-radius: 6px; }
.ss-hero .platform-preview-row { grid-column: 1 / -1; width: 100%; min-width: 0; }
.ss-hero .platform-preview-row .platform-product-visual {
  width: min(100%, 1120px);
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto 16px;
  padding: clamp(8px, 1.4vw, 18px);
}
.platform-screen .platform-screen-link:has(> img) { aspect-ratio: auto; height: auto; }
.platform-screen .platform-screen-link > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transform: none;
}
.platform-screen-link:has(> iframe) { box-sizing: content-box; }
.platform-lightbox .preview-viewport { width: 100%; overflow: hidden; background: #f2f6fa; }
.platform-lightbox .preview-viewport[hidden] { display: none; }
.platform-lightbox .preview-viewport iframe { display: block; width: 1100px; height: 640px; transform-origin: top left; }
@media (max-width: 600px) {
  .ss-hero .pt-copy .platform-brand-mark.product-mark { width: min(100%, 270px); height: 68px; }
  .ss-hero .platform-preview-row .platform-product-visual { padding: 6px; }
}

/* Give the artwork a compact, consistently aligned surface on the dark hero. */
.ss-hero .pt-copy .platform-brand-mark.product-mark {
  width: fit-content;
  height: auto;
  max-width: min(100%, 314px);
  padding: 12px 17px;
  margin-block: 8px 18px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(169, 191, 221, .28);
}
.ss-hero .pt-copy .platform-brand-mark.product-mark img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 270px);
  max-height: 54px;
}
.product-mark[data-product="aisvs"] { background-color: #0d1931 !important; }
.ss-hero .pt-copy .platform-brand-mark[data-product="cyberwatch"] img {
  width: min(100%, 308px);
  max-width: 100%;
  max-height: none;
  border-radius: inherit;
}
.platform-logo.product-mark { margin-inline: 0; }
.ss-hero .platform-preview-row .platform-product-visual {
  margin-top: 8px;
  background: #0c1c32;
  border-color: #344b69;
}
.platform-lightbox .platform-image-viewport { width: 100%; overflow: auto; }
.platform-lightbox .platform-image-viewport img { display: block; width: 100%; height: auto; }
.platform-lightbox [hidden] { display: none !important; }
.platform-lightbox .preview-viewport { overflow: auto; }
@media (max-width: 600px) {
  .ss-hero .pt-copy .platform-brand-mark.product-mark {
    max-width: min(100%, 265px);
    padding: 10px 13px;
  }
  .ss-hero .pt-copy .platform-brand-mark.product-mark img { max-height: 45px; }
  .platform-lightbox .platform-image-viewport img { min-width: 780px; max-width: none; }
  .platform-screen-link .platform-expand-hint { right: 6px; bottom: 6px; padding: 4px 8px; font-size: .75rem; }
}
