/* Mirsah screenshot gallery */
.hero-real-proof-wrap {
  margin-top: 32px;
}
.hero-real-proof {
  display: block;
  width: min(100%, 1040px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141414;
  transition: border-color .14s ease, transform .14s ease;
}
.hero-real-proof:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}
.hero-real-proof img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
}
.hero-brand-line {
  width: min(100%, 1040px);
  margin: 10px auto 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.gallery-section { position: relative; }
.gallery-page-main { min-height: calc(100vh - 68px); }
.gallery-page-section { padding-top: 84px; }
.gallery-page-head { max-width: 760px; margin-bottom: 36px; }
.gallery-page-head h1 { margin-top: 12px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.gallery-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141414;
  color: var(--text);
  text-align: start;
  cursor: zoom-in;
  transition: border-color .14s ease, transform .14s ease, background .14s ease;
}
.gallery-card:hover {
  border-color: var(--line-strong);
  background: #161616;
  transform: translateY(-1px);
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
}
.gallery-card-caption {
  display: block;
  padding: 11px 13px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.gallery-empty {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--faint);
  background: #121212;
  text-align: center;
  font-size: 13px;
}
.gallery-lightbox {
  width: min(1180px, calc(100% - 32px));
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #111;
  color: var(--text);
  box-shadow: var(--shadow);
}
.gallery-lightbox::backdrop { background: rgba(0,0,0,.82); }
.gallery-lightbox-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: 92vh;
}
.gallery-lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--line);
}
.gallery-lightbox-caption {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gallery-lightbox-close { flex: 0 0 auto; min-height: 36px; padding: 7px 12px; font-size: 12px; }
.gallery-lightbox-image {
  width: 100%;
  max-height: calc(92vh - 59px);
  object-fit: contain;
  background: #0c0c0c;
}
html[dir="rtl"] .gallery-card,
html[dir="rtl"] .gallery-lightbox-caption { text-align: right; }

/* Product information pages reuse the same restrained screenshot treatment. */
.product-page-main { min-height: calc(100vh - 68px); }
.product-page-hero { padding: 76px 0 60px; border-bottom: 1px dashed #303030; }
.product-page-hero .section-head { max-width: 820px; margin-bottom: 0; }
.product-page-hero .section-head > p { max-width: 760px; }
.product-workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 56px;
}
.product-workflow-grid.reverse .product-workflow-copy { order: 2; }
.product-workflow-copy { max-width: 580px; }
.product-workflow-copy > p { color: var(--muted); }
.product-proof {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  transition: border-color .14s ease, transform .14s ease;
}
.product-proof:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.product-proof img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.product-proof-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product-proof-pair .product-proof img { aspect-ratio: 16 / 9; }
.product-workflow-marker {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  color: #4c4c4c;
  font-family: var(--font-mono);
  font-size: clamp(52px, 8vw, 96px);
}
.product-inline-link { margin-top: 16px; font-size: 13px; }
.product-inline-link a,.onboarding-links a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(0,229,176,.42); text-underline-offset: 3px; }
.product-plan-grid .feature-card { min-height: 220px; }
.onboarding-list { max-width: var(--reading); display: grid; gap: 12px; margin: 0 auto; padding: 0; list-style: none; }
.onboarding-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 22px; }
.onboarding-step-number { padding-top: 4px; color: var(--brand); font-family: var(--font-mono); font-size: 12px; }
.onboarding-step h2 { margin: 0 0 8px; font-size: clamp(21px, 2.2vw, 28px); }
.onboarding-step p { margin: 0; color: var(--muted); }
.availability-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.availability-list li { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; }
.availability-list strong,.availability-list span { display: block; }
.availability-list strong { font-size: 12px; }
.availability-list span { margin-top: 3px; color: var(--faint); font-size: 11px; }
.onboarding-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; font-size: 13px; }

@media (max-width: 900px) {
  .product-workflow-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-workflow-grid.reverse .product-workflow-copy { order: initial; }
  .product-workflow-copy { max-width: 720px; }
}
@media (max-width: 760px) {
  .hero-real-proof-wrap { margin-top: 26px; }
  .gallery-page-section { padding-top: 62px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card img { aspect-ratio: 16 / 9; }
  .gallery-lightbox { width: calc(100% - 20px); }
  .product-page-hero { padding: 58px 0 48px; }
  .product-proof-pair,.availability-list { grid-template-columns: 1fr; }
  .onboarding-step { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-real-proof,
  .gallery-card,
  .product-proof { transition: none; }
  .hero-real-proof:hover,
  .gallery-card:hover,
  .product-proof:hover { transform: none; }
}
