/* App screenshots and walkthrough — used on the home and features pages only. */

.device-stack{position:relative;margin:0 auto;max-width:300px}
.device-stack figcaption,.tour-shots figcaption,.video-frame figcaption,.shot-cap{
  color:var(--muted);font-size:.85rem;margin:12px 0 0;font-family:"Inter Tight",system-ui,sans-serif;text-align:center
}

.device-desktop{border-radius:16px;background:#071427;border:1px solid var(--line);box-shadow:0 24px 80px rgba(0,0,0,.45);overflow:hidden}
.device-chrome{display:flex;gap:6px;align-items:center;height:28px;padding:0 12px;background:#0a1a30;border-bottom:1px solid var(--line)}
.device-chrome span{width:8px;height:8px;border-radius:50%;background:#22395c}
.device-chrome span:nth-child(1){background:#3d4f6b}
.device-desktop img{width:100%;height:auto;display:block;vertical-align:middle}

.device-phone{background:#071427;border:2px solid #1a2e4a;border-radius:32px;padding:12px 8px 16px;box-shadow:0 28px 70px rgba(0,0,0,.55),0 0 0 1px rgba(242,179,61,.22);position:relative;max-width:280px;margin:0 auto}
.device-phone:before{content:"";position:absolute;top:7px;left:50%;transform:translateX(-50%);width:70px;height:9px;border-radius:8px;background:#0B1D36;z-index:2}
.device-phone img{width:100%;height:auto;display:block;border-radius:22px;background:#0B1D36}

@media(min-width:900px){
  .device-stack{max-width:none;min-height:480px;padding:12px 0 8px}
  .device-stack .device-desktop{width:100%}
  .device-stack .device-phone{position:absolute;right:-4%;bottom:-20px;width:46%;max-width:250px;margin:0;z-index:2}
}

.video-frame{margin:24px 0 0;background:#071427;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.4)}
.video-frame video{width:100%;height:auto;display:block;background:#0B1D36;aspect-ratio:16/9;vertical-align:middle}
.video-frame figcaption{padding:0 8px 4px;text-align:left}

.tour-panel{display:grid;gap:24px;align-items:center}
@media(min-width:800px){.tour-panel{grid-template-columns:.85fr 1.15fr}}
.tour-copy h3{margin-top:.35em}
.tour-shots{display:grid;gap:16px;align-items:end;margin:0}
.tour-shots .device-phone{max-width:180px}
@media(min-width:700px){.tour-shots{grid-template-columns:.38fr 1fr}.tour-shots .device-phone{margin:0}}
@media(max-width:699px){.tour-shots .device-desktop{display:none}}

.screen-card .device-phone{max-width:180px;margin:14px auto 0}
.screen-card figcaption{margin-top:8px}

@media(prefers-reduced-motion:reduce){
  .device-stack,.device-phone,.device-desktop,.video-frame{box-shadow:0 8px 24px rgba(0,0,0,.3)}
}

/* Hero must not clip the hanging phone; base site sets overflow:hidden on .hero */
.hero{overflow:visible}
#app-tour{scroll-margin-top:80px}

@media(max-width:899px){
  .device-stack .device-desktop{display:none}
  .device-stack{max-width:240px;margin:8px auto 0}
}

@media(min-width:900px){
  .device-stack{padding-bottom:28px}
  .device-stack figcaption{position:relative;z-index:3;text-align:left;max-width:54%;margin-top:10px}
}

@media(min-width:900px) and (max-width:1199px){
  .device-stack .device-phone{right:0;width:40%;max-width:210px;bottom:-16px}
}

.tour-shots figcaption{grid-column:1/-1;text-align:center}
