/* App screenshots: hero showcase (.shots) and "closer look" gallery. */

.shots {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.shot,
.gallery-grid img {
  display: block;
  height: auto;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(31, 27, 24, 0.1), 0 24px 60px rgba(31, 27, 24, 0.2);
}
.shots-phones .shot {
  flex: 1 1 0;
  min-width: 0;
  max-width: 300px;
  border-radius: 13% / 6%;
}
.shots-phones .shot + .shot {
  margin-top: 72px;
}
.shots-ipad .shot {
  width: 100%;
  max-width: 520px;
  border-radius: 4% / 3%;
}

.gallery-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}
.gallery-phones {
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: 72px;
}
.gallery-ipad {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gallery-grid figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.gallery-grid img {
  width: 100%;
}
.gallery-phones img {
  border-radius: 13% / 6%;
}
.gallery-ipad img {
  border-radius: 4% / 3%;
}
.gallery-grid figcaption {
  font-size: 16px;
  line-height: 1.5;
  color: #5c534b;
  text-align: center;
}
.gallery-grid figcaption strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  color: #1f1b18;
}

@media (max-width: 900px) {
  .gallery-ipad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-phones {
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .shots {
    gap: 16px;
  }
  .shots-phones .shot + .shot {
    margin-top: 40px;
  }
  .gallery-ipad,
  .gallery-phones {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery-phones figure {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}
