/* ===================================================================
   Beita marketing — real app screenshots in device frames (2026-10-29).
   Replaces the hand-drawn HTML mockups (mockups.css). Frames follow the
   look Gal approved in the mockups review: phone with a status bar tinted
   from the screenshot's top edge, wall TV with a thin bezel and stand,
   browser window with a neutral bar and the app's host name.
   Each .shot is a size container, so the frames scale with their width.
   =================================================================== */

body.v2 .shots {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  direction: rtl;
}
body.v2 .shots img { display: block; width: 100%; height: auto; }
body.v2 .shots > figcaption,
body.v2 .shot-label {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
  text-align: center;
  text-wrap: balance;
}
body.v2 .shot { container-type: inline-size; min-width: 0; margin: 0; }

/* ─── Phone ─── */
body.v2 .dev-phone {
  background: #111214;
  border-radius: 15cqw;
  padding: 3.6cqw;
  box-shadow: 0 0 0 1px #2A2D36 inset, 0 30px 50px -24px rgba(15, 23, 42, .45);
}
body.v2 .dev-phone-screen { border-radius: 11.5cqw; overflow: hidden; background: #000; }
body.v2 .sbar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 12cqw;
  padding: 0 8cqw;
  direction: ltr;
  font: 600 4.4cqw/1 -apple-system, 'SF Pro Text', Arial, sans-serif;
}
body.v2 .sbar-light { color: #0B0B0B; }
body.v2 .sbar-dark { color: #FFFFFF; }
body.v2 .sbar .sig { font-size: 3.2cqw; letter-spacing: -.2cqw; }
body.v2 .sbar .island {
  position: absolute; left: 50%; top: 2.6cqw;
  width: 30cqw; height: 7.6cqw; margin-left: -15cqw;
  background: #000; border-radius: 4cqw;
}

/* ─── Wall TV ─── */
body.v2 .dev-tv {
  background: #111214;
  border-radius: 1.6cqw;
  padding: 1.5cqw;
  box-shadow: 0 0 0 1px #2A2D36 inset, 0 34px 50px -28px rgba(15, 23, 42, .5);
}
body.v2 .dev-tv img { border-radius: .5cqw; aspect-ratio: 16 / 9; object-fit: cover; }
body.v2 .tv-stand {
  width: 22%; height: 2.4cqw; margin: 0 auto;
  background: linear-gradient(#2A2D36, #111214);
  border-radius: 0 0 1.4cqw 1.4cqw;
}

/* ─── Browser window ─── */
body.v2 .dev-win {
  border-radius: 1.8cqw;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .4);
}
body.v2 .win-bar {
  display: flex; align-items: center; gap: 1.1cqw;
  padding: 1.5cqw 2cqw;
  background: #ECE8E0;
  direction: ltr;
}
body.v2 .win-bar i { width: 1.6cqw; height: 1.6cqw; min-width: 6px; min-height: 6px; border-radius: 50%; background: #D5CFC4; }
body.v2 .win-bar .url {
  flex: 1; max-width: 50cqw; margin-left: 2cqw;
  padding: .5cqw 1.6cqw;
  background: #FFFFFF; color: #555; border-radius: 1cqw;
  font: 400 max(8px, 1.8cqw)/1.4 'IBM Plex Sans Hebrew', Arial, sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ─── Compositions ─── */
/* .shots-stage holds the devices; the caption sits below it, outside any overlap. */
body.v2 .shots-stage { position: relative; }

/* One phone */
body.v2 .shots-single { max-width: 280px; }

/* Two phones side by side, the second one a step lower */
body.v2 .shots-duo { max-width: 520px; }
body.v2 .shots-duo > .shots-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 6%;
  align-items: start;
}
body.v2 .shots-duo > .shots-stage > .shot:nth-of-type(2) { margin-top: 14%; }

/* A big device (TV / window) with a phone over its lower corner */
body.v2 .shots-combo > .shots-stage { padding-bottom: 12%; }
body.v2 .shots-combo > .shots-stage > .shot:first-of-type { width: 88%; }
body.v2 .shots-combo > .shots-stage > .shot-phone {
  position: absolute;
  z-index: 1;
  inset-inline-end: 0;
  bottom: 0;
  width: 26%;
}

/* Two windows: the main one in front, the second peeking from behind */
body.v2 .shots-stack > .shots-stage { padding-top: 9%; }
body.v2 .shots-stack > .shots-stage > .shot:nth-of-type(2) {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 84%;
}
body.v2 .shots-stack > .shots-stage > .shot:first-of-type {
  position: relative;
  z-index: 1;
  width: 84%;
  margin-inline-start: auto;
}

/* 2×2 gallery of TV designs */
body.v2 .shots-grid > .shots-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 18px;
}
body.v2 .shots-grid .shot-item { margin: 0; min-width: 0; }
body.v2 .shots-grid .shot-label { margin-top: 8px; }

/* A window with two TVs standing in front of its lower edge */
body.v2 .shots-multi .shots-multi-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5%;
  margin-top: -16%;
  padding-inline: 5%;
}

/* Homepage hero: the SMS bubble that completes "screen, app and message" */
body.v2 .shots-hero { max-width: 600px; }
body.v2 .shots-hero > .shots-stage { padding-bottom: 16%; }
body.v2 .shots-hero .hero-sms {
  position: absolute;
  z-index: 2;
  inset-inline-start: 6%;
  bottom: 0;
  max-width: 250px;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid #E7E1D4;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 14px 30px -18px rgba(15, 23, 42, .35);
}
body.v2 .hero-sms-from { font-size: 12px; font-weight: 600; color: #5B6475; margin-bottom: 2px; }
body.v2 .hero-sms-text { font-size: 14px; line-height: 1.45; color: #0F172A; }

/* Digital-screen hero: the theme picker swaps real screenshots */
body.v2 .tv-themes { display: grid; }
body.v2 .tv-themes img { grid-area: 1 / 1; opacity: 0; }
body.v2 .tv-themes img.is-on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  body.v2 .tv-themes img { transition: opacity .35s ease; }
}

@media (max-width: 1024px) {
  body.v2 .shots { max-width: 520px; }
  body.v2 .shots-single { max-width: 250px; }
}
@media (max-width: 520px) {
  body.v2 .shots-hero > .shots-stage { padding-bottom: 20%; }
  body.v2 .shots-hero .hero-sms { max-width: 58%; padding: 7px 10px; border-radius: 12px 12px 4px 12px; }
  body.v2 .hero-sms-from { font-size: 11px; }
  body.v2 .hero-sms-text { font-size: 12.5px; line-height: 1.4; }
  body.v2 .shots-grid > .shots-stage { gap: 16px 12px; }
}
