/* Product captures keep their original aspect ratio and colors in both themes. */
.product-visual { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface, #fff); box-shadow: 0 25px 65px -30px #07162766; overflow: hidden; }
.product-visual-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; }
.product-visual .product-label { font-size: .57rem; letter-spacing: .1em; }
.screenshot-link { position: relative; display: block; min-width: 0; overflow: hidden; background: #1b1b30; border-radius: 10px; cursor: zoom-in; }
.screenshot-link img { width: 100%; height: auto; transition: filter .2s; }
.screenshot-link:hover img { filter: brightness(1.08); }
.screenshot-zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; border: 1px solid #6986a6; border-radius: 6px; padding: 7px 11px; background: #0a1728eb; color: #fff; font-size: .68rem; font-weight: 600; }
.hero-screenshot { border-radius: 0; }
.product-visual figcaption { margin: 0; padding: 22px 24px 18px; }
.product-visual figcaption strong { display: block; color: var(--ink); font-size: 1.3rem; letter-spacing: -.03em; }
.product-visual figcaption > span { display: block; margin-top: 4px; font-size: .75rem; }
.product-visual-tags { display: flex; flex-wrap: wrap; gap: 14px 22px; border-top: 1px solid var(--line); padding: 15px 24px; color: var(--muted); font-size: .67rem; }
.product-visual-tags span { display: flex; align-items: center; gap: 7px; }
.product-visual-tags .icon { width: 16px; height: 16px; color: var(--blue); }
.product-gallery { background: var(--wash); border-block: 1px solid var(--line); }
.flow-feature { display: grid; grid-template-columns: .7fr 1.65fr; gap: 38px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.media-number { display: block; color: var(--blue); font-size: .62rem; font-weight: 700; letter-spacing: .1em; line-height: 1.7; }
.flow-feature h3 { margin-block: 18px; font-size: 2rem; white-space: pre-line; }
.flow-feature p { font-size: .9rem; line-height: 1.9; }
.media-detail-note { display: block; margin-top: 24px; font-size: .73rem; color: var(--muted); }
.warehouse-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.warehouse-gallery-grid .screenshot-link { aspect-ratio: 2048 / 1101; display: grid; align-items: center; }
.warehouse-gallery-grid figcaption { margin-top: 24px; }
.warehouse-gallery-grid h3 { font-size: 1.4rem; margin-block: 10px; }
.warehouse-gallery-grid p { font-size: .88rem; max-width: 490px; line-height: 1.8; }
.video-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.video-copy p { margin-top: 24px; font-size: .96rem; line-height: 1.85; }
.video-links { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 24px; }
.footer-social-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: #e0ebf3; font-size: .8rem; }
.footer-social-link .icon { width: 20px; height: 20px; }
.footer-social-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.video-player { aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #07111c; }
.video-poster { position: relative; display: grid; width: 100%; height: 100%; place-items: center; }
.video-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #040c18c9, #040c1826 60%); }
.video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; color: #17416a; box-shadow: 0 0 0 10px #ffffff24; transition: transform .2s; }
.video-play-icon svg { width: 32px; height: 32px; margin-left: 3px; }
.video-poster:hover .video-play-icon { transform: scale(1.08); }
.video-play-label { position: absolute; bottom: 24px; z-index: 1; color: white; font-size: .8rem; font-weight: 600; }
.video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-privacy-note { font-size: .7rem; margin-top: 12px; }
.editorial-photo { position: relative; border-radius: 16px; overflow: hidden; background: #142638; isolation: isolate; }
.editorial-photo > img { width: 100%; height: auto; }
.scanner-photo::after { content: ''; position: absolute; z-index: 0; inset: 35% 0 0; background: linear-gradient(transparent, #07111ce6); pointer-events: none; }
.photo-caption { position: absolute; bottom: 53px; left: 30px; right: 25px; z-index: 1; display: flex; align-items: center; gap: 16px; color: #fff; }
.photo-caption strong { display: block; font-size: 1.3rem; line-height: 1.4; letter-spacing: -.02em; }
.photo-caption div > span { display: block; margin-top: 5px; font-size: .78rem; color: #d7e6f3; }
.photo-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #ffffff66; border-radius: 10px; flex-shrink: 0; }
.warehouse-story { margin-top: 80px; }
.warehouse-story .editorial-photo { min-height: 380px; }
.warehouse-story img { height: 440px; object-fit: cover; }
.warehouse-story .editorial-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #061321e6, #06132180 55%, #06132110); }
.warehouse-story-copy { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 50px; }
.warehouse-story-copy .eyebrow { color: #adcff2; }
.warehouse-story-copy h2 { color: white; font-size: clamp(1.8rem, 3vw, 2.75rem); max-width: 740px; line-height: 1.3; }
.screenshot-dialog { width: min(1500px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #415b77; border-radius: 12px; background: #101d2d; color: #fff; }
.screenshot-dialog::backdrop { background: #030a13e8; }
.screenshot-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; }
.screenshot-dialog-bar h2 { font-size: 1rem; letter-spacing: 0; }
.screenshot-dialog-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #60768d; border-radius: 50%; color: white; background: transparent; font-size: 1.5rem; }
.screenshot-dialog-image { display: block; width: 100%; max-height: calc(100dvh - 180px); object-fit: contain; background: #1b1b30; }
.screenshot-dialog-original { display: inline-block; margin: 14px 20px; color: #b4d8ff; font-size: .8rem; text-decoration: underline; text-underline-offset: 4px; }
html.media-open { overflow: hidden; }
/* Original Android captures, with a swipeable gallery on smaller screens. */
.mobile-gallery { background: var(--wash); border-block: 1px solid var(--line); }
.mobile-screen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; padding: 6px 3px 24px; scrollbar-width: thin; scrollbar-color: var(--blue) var(--line); }
.mobile-screen-card { margin: 0; min-width: 0; }
.mobile-screen-label { display: flex; align-items: center; gap: 12px; max-width: 320px; margin: 0 auto 20px; color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .08em; }
.mobile-screen-label > span:first-child { color: var(--blue); }
.mobile-screen-label .icon { margin-left: auto; width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.mobile-screen-frame { display: grid; place-items: center; max-width: 320px; margin-inline: auto; aspect-ratio: 3 / 5; padding: 8px; border: 1px solid #40556a; border-radius: 20px; background: #0a121c; box-shadow: 0 18px 35px -24px #0009; }
.mobile-screen-frame img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 12px; background: #111; }
.mobile-screen-card figcaption { max-width: 340px; margin: 26px auto 0; }
.mobile-screen-card h3 { font-size: 1.16rem; line-height: 1.45; margin-bottom: 12px; }
.mobile-screen-card figcaption p { font-size: .85rem; line-height: 1.85; }
.mobile-gallery-hint { display: none; }
.mobile-gallery-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.mobile-gallery-footer p { max-width: 580px; font-size: .77rem; line-height: 1.75; }
.mobile-gallery-footer .text-link { flex-shrink: 0; }
.mobile-preview { min-width: 0; }
.mobile-preview-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 0 6px 30px; }
.mobile-preview-screens .mobile-screen-frame { width: 100%; }
.mobile-preview-screens .mobile-screen-frame:last-child { transform: translateY(28px); }
.mobile-preview-link { margin-top: 24px; }
.screenshot-dialog-portrait { width: min(540px, calc(100% - 32px)); }
.screenshot-dialog-portrait .screenshot-dialog-image { background: #111; }
@media (max-width: 1100px) {
  .mobile-screen-grid { gap: 26px; }
  .mobile-preview-screens { gap: 14px; }
  .mobile-gallery-footer { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (max-width: 760px) {
  .mobile-gallery .section-heading { margin-bottom: 24px; }
  .mobile-gallery-hint { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; color: var(--muted); font-size: .68rem; }
  .mobile-gallery-hint > span { font-size: 1.2rem; }
  .mobile-screen-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 320px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 3px; overscroll-behavior-inline: contain; }
  .mobile-screen-card { scroll-snap-align: start; }
  .mobile-screen-label { font-size: .6rem; gap: 8px; }
  .mobile-screen-card figcaption { margin-top: 20px; }
  .mobile-screen-card h3 { font-size: 1.1rem; }
  .mobile-screen-card figcaption p { font-size: .8rem; }
  .mobile-gallery-footer { margin-top: 12px; }
  .mobile-preview-screens { grid-template-columns: 1fr; padding-bottom: 0; }
  .mobile-preview-screens .mobile-screen-frame:last-child { display: none; }
  .mobile-preview-link { display: flex; justify-content: center; }
  .screenshot-dialog-portrait { width: calc(100% - 16px); }
}
@media (max-width: 1100px) {
  .flow-feature { grid-template-columns: 1fr; gap: 25px; }
  .flow-feature-copy { max-width: 680px; }
  .flow-feature h3 { white-space: normal; }
  .video-grid { gap: 35px; }
  .product-visual figcaption strong { font-size: 1.15rem; }
}
@media (max-width: 760px) {
  .warehouse-gallery-grid, .video-grid { grid-template-columns: 1fr; gap: 32px; }
  .flow-feature { padding-bottom: 32px; }
  .warehouse-gallery-grid { margin-top: 32px; }
  .warehouse-gallery-grid h3 { font-size: 1.22rem; }
  .screenshot-zoom { right: 8px; bottom: 8px; font-size: .6rem; padding: 5px 8px; }
  .product-visual-heading { padding: 16px 18px; }
  .product-visual figcaption { padding: 18px; }
  .product-visual-tags { padding: 13px 18px; gap: 10px 18px; font-size: .62rem; }
  .video-play-icon { width: 56px; height: 56px; }
  .video-play-label { bottom: 17px; font-size: .72rem; }
  .photo-caption { left: 20px; right: 16px; bottom: 45px; gap: 12px; }
  .photo-caption strong { font-size: 1.05rem; }
  .photo-caption div > span { font-size: .68rem; }
  .photo-icon { width: 36px; height: 36px; }
  .warehouse-story { margin-top: 50px; }
  .warehouse-story img { height: 380px; }
  .warehouse-story-copy { padding: 25px; }
  .warehouse-story-copy .eyebrow { font-size: .57rem; }
  .warehouse-story-copy h2 { font-size: 1.8rem; }
  .screenshot-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .screenshot-dialog-bar { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .screenshot-link img, .video-play-icon { transition: none; }
}
