/* PubVia page: the dark band under the hero, and the feature rows (text + one clip or screenshot) */

/* ---------- the band: the real figure, as a product shot ---------- */
.pubvia-band .wrap{max-width:1160px}
.pubvia-band .hero-shot .shot{border-color:rgba(255,255,255,.14);box-shadow:0 30px 80px -20px rgba(0,0,0,.55),0 8px 24px -8px rgba(0,0,0,.4)}
/* the caption keeps the site's caption size; --on-dark2 (#A9B1BB) on the band (#23272E) is 6.9:1 */
.pubvia-band .cap-dark{font-size:13.5px}

/* ---------- the feature rows ---------- */
.feats{margin-top:40px;border-top:1px solid var(--ink)}
.feat{display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);gap:56px;align-items:center;padding:56px 0;border-bottom:1px solid var(--rule)}
.feat:nth-child(even){grid-template-columns:minmax(0,.58fr) minmax(0,.42fr)}
.feat:nth-child(even) .feat-media{order:-1}
.feat h3{font-size:clamp(25px,2.5vw,32px);line-height:1.18;max-width:20em}
.feat p{margin:14px 0 0;color:var(--ink2);max-width:30em}
.feat-media{margin:0;min-width:0}
.feat-media .shot video{display:block;width:100%;height:auto}
.feat-solo{grid-template-columns:minmax(0,1fr);padding:36px 0}
.feat-solo h3{font-size:clamp(22px,2.1vw,26px)}
.feat-cap{margin:20px 0 0;font-size:13.5px;color:var(--ink2)}
.get-band{border-top:1px solid var(--rule)}

/* ---------- one scale for the app: no media is shown larger than it is on screen ----------
   The column screenshots are 2x captures, so they are shown at half their pixel width at most
   (440 px). The portrait crops are also capped in height (640 px), which fixes their width:
   640 px x the crop's own ratio (trust 880x1322 -> 426 px, review 880x1530 -> 368 px).
   Every frame gets a definite width, so the browser reserves the same box before the image loads.
   The videos are 1x and fill their column; the comments crop is a wide slice of the app,
   so its row goes full width and the crop lands at ~1.0x — the size the app has on screen. */
.feat-media.feat-shot .shot{width:min(100%,440px);margin-inline:auto}
.feat-media.feat-shot .shot.shot-trust{width:min(100%,426px)}
.feat-media.feat-shot .shot.shot-review{width:min(100%,368px)}
.feat-wide,.feat-wide:nth-child(even){grid-template-columns:minmax(0,1fr);gap:32px}
.feat-wide:nth-child(even) .feat-media{order:0}
.feat-wide .feat-text{max-width:42%}

@media (max-width:980px){
  .feat,.feat:nth-child(even){grid-template-columns:minmax(0,1fr);gap:24px;padding:40px 0}
  .feat:nth-child(even) .feat-media{order:0}
  .feat-solo{padding:28px 0}
  .feat-wide .feat-text{max-width:none}
  /* the clips are 880 px wide: in one column the column is wide enough to blow them up */
  .feat-media .shot video{max-width:880px;margin-inline:auto}
}
