.app-shot {
  min-width: 0;
  margin: 0;
}

.app-shot a {
  display: block;
  background: #141d2a;
  border: 1px solid color-mix(in srgb, #788397, transparent 30%);
  box-shadow: 0 16px 38px -17px var(--device-shadow);
}

.app-shot-iphone a { border-radius: 12.9% / 5.94%; }
.app-shot-ipad a { border-radius: 2.8% / 4.02%; }

.app-shot a:hover { outline: 1px solid var(--link); outline-offset: 3px; }

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.app-shot figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
}

.store-hero-scene > .app-shot {
  width: min(100%, 320px, max(180px, calc((100svh - 155px) * .46)));
  justify-self: end;
}

.store-media {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 20px;
}

.store-media > .app-shot { width: min(100%, 310px); }
.store-alternate .store-media { grid-column: 1; grid-row: 1; }
.storefront .store-pair:has(.store-media) { min-height: 0; }

.app-restaurant-menu,
.app-restaurant-order {
  display: grid;
  align-items: center;
  gap: clamp(18px, 3.2vw, 44px);
}

.app-restaurant-menu { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.app-restaurant-order { grid-template-columns: minmax(0, 1fr) minmax(175px, 245px); }
.app-restaurant-order .app-shot-iphone { width: min(100%, 245px); }

@media (min-width: 701px) {
  .app-restaurant-menu .app-shot:first-child { width: min(100%, max(300px, calc((100svh - 345px) * 1.43))); }
}

.app-restaurant-demo {
  margin-top: clamp(19px, 3vw, 33px);
  border-block-start: 1px solid var(--line);
  padding-top: 20px;
}

.app-demo-title { font-size: clamp(1.3rem, 2.5vw, 2rem); }

.app-demo-inner {
  display: grid;
  gap: 15px;
  padding-block: 14px 5px;
}

.app-demo-inner > p { max-width: 58ch; color: var(--muted); }
#table-order-demo { scroll-margin-block: 16px; }

.app-screen-gallery {
  padding-block: clamp(42px, 7vw, 92px);
  border-block-start: 1px solid var(--line);
}

.app-screen-gallery h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); }

.app-screen-groups {
  display: grid;
  margin-top: clamp(18px, 3.1vw, 40px);
  border-block-end: 1px solid var(--line);
}

.app-screen-group { border-block-start: 1px solid var(--line); padding-block: clamp(20px, 3vw, 35px) 0; }
.app-screen-group h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -.025em; }

.review-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(20px, 3.2vw, 37px); }
.storefront-action { min-height: 44px; display: inline-flex; align-items: center; color: var(--link); font-weight: 680; }
.storefront-action:hover { text-decoration: underline; text-underline-offset: .2em; }
.app-restaurant-note .app-shot-iphone { width: min(100%, 300px); justify-self: center; }

.app-screen-grid {
  display: grid;
  align-items: start;
  gap: clamp(15px, 2.8vw, 29px);
  padding-block: 18px clamp(23px, 3vw, 38px);
}

.app-screen-grid-iphone { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.app-screen-grid-ipad { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-screen-grid-highlight { max-width: 870px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: auto; }
.app-screen-grid-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .app-screen-grid-iphone { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .store-alternate .store-media { grid-column: auto; grid-row: auto; }

  .app-restaurant-menu,
  .app-restaurant-order { grid-template-columns: minmax(0, 1fr); }

  .app-restaurant-order .app-shot-iphone { justify-self: center; }
  .app-screen-grid-ipad { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .store-hero-scene .app-shot { grid-row: 1; justify-self: center; }
  .store-hero-scene .app-shot, .store-media > .app-shot { width: min(100%, 284px); }
  .app-screen-grid-iphone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-restaurant-note .app-shot-iphone { width: min(100%, 260px); }
  .app-screen-grid-highlight .app-shot:first-child { width: min(100%, 284px); grid-column: 1 / -1; justify-self: center; }
}
