/* App screens: a row of real app screenshots you can swipe or step through.
   Used on index.html (#app), app.html (#screens) and dispatch.html (#see, #driver-app).
   The arrows and tabs only show when js/shots.js runs and there is more to see. */
/* The Dispatch board pictures (.shot on Home, .framed on Dispatch) carry width and height,
   so the page doesn't jump while they load. Keep their shape when they shrink. */
.shot img,.framed img{height:auto}

.shots{position:relative;margin-top:48px}
.shots-intro{text-align:center;font-size:17px;color:var(--muted);margin:0 auto 22px;max-width:620px}
.shots-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px) / 3);gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 0 6px}
.shots-track::-webkit-scrollbar{display:none}
.shots-track:focus-visible{outline:3px solid var(--orange);outline-offset:4px;border-radius:24px}

/* Phone cards (HAULR app and the Dispatch driver app) */
.shot-card{scroll-snap-align:start;margin:0;background:var(--navy);border-radius:24px;overflow:hidden;display:flex;flex-direction:column}
.shot-card figcaption{padding:26px 26px 20px;color:var(--dim);font-size:16px;line-height:1.45}
.shot-card figcaption b{display:block;color:var(--white);font-size:22px;line-height:1.2;font-weight:700;margin-bottom:6px;letter-spacing:-0.01em}
.shot-card .tag{display:inline-block;background:var(--orange);color:var(--ink);font-size:13px;font-weight:700;border-radius:999px;padding:2px 12px;margin-bottom:10px}
.shot-card img{margin-top:auto;width:100%;height:auto}
/* A plain screen gets a simple phone edge, like the store pictures */
.shot-card--phone img{width:calc(100% - 56px);margin:auto 28px 0;border:8px solid #04080F;border-bottom:0;border-radius:34px 34px 0 0}

/* Office screens: one wide screen at a time, picked with the tabs */
.shots--wide .shots-track{grid-auto-columns:100%;gap:24px;padding-bottom:40px}
.shots--wide .shots-more{margin-top:0}
.shot-wide{scroll-snap-align:start;margin:0}
.shot-wide figcaption{text-align:center;font-size:18px;margin:0 auto 18px;max-width:640px}
.shot-wide figcaption b{color:var(--navy)}
.shot-wide img{width:100%;height:auto;border-radius:16px;box-shadow:0 20px 28px -14px rgba(7,15,30,.45)} /* kept inside the slide's width so the edges stay clean */
.shots-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:26px}
.shots-tabs[hidden]{display:none}
.shots-tabs button{font:inherit;font-size:16px;font-weight:600;min-height:46px;padding:0 20px;border-radius:999px;border:2px solid var(--line);background:var(--white);color:var(--navy);cursor:pointer}
.shots-tabs button:hover{border-color:var(--orange)}
.shots-tabs button[aria-pressed="true"]{background:var(--orange);border-color:var(--orange);color:var(--ink)}

/* Arrows */
.shots-nav{display:flex;justify-content:center;gap:14px;margin-top:24px}
.shots-nav[hidden]{display:none}
.shots-btn{width:54px;height:54px;border-radius:50%;border:2px solid var(--navy);background:var(--white);color:var(--navy);font:inherit;font-size:24px;font-weight:700;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.shots-btn:hover:not(:disabled){background:var(--orange);border-color:var(--orange);color:var(--ink)}
.shots-btn:disabled{opacity:.3;cursor:default}
.shots-btn:focus-visible,.shots-tabs button:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.shots-more{text-align:center;margin-top:22px}
.shots-note{text-align:center;font-size:14px;color:var(--muted);margin-top:14px}

@media (max-width:900px){
  .shots-track{grid-auto-columns:calc((100% - 20px) / 2)}
  .shots--wide .shots-track{grid-auto-columns:100%}
}
@media (max-width:600px){
  .shots{margin-top:36px}
  /* run the swipe row to the screen edge, so the next screen peeks in */
  .shots-track{grid-auto-columns:80%;gap:14px;margin:0 -20px;padding:2px 20px 6px;scroll-padding:0 20px}
  .shots--wide .shots-track{grid-auto-columns:100%;gap:20px;padding-bottom:32px}
  .shot-card figcaption{padding:22px 22px 16px}
  .shot-card figcaption b{font-size:20px}
  .shots-tabs button{font-size:15px;padding:0 16px}
}
