/* Camera-to-color feature additions and aspect-ratio safeguards. */
.hero-shot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1299;
  object-fit: contain;
  object-position: center;
}

.feature-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scan-feature {
  background: linear-gradient(135deg, #173653 0%, #126dc0 100%);
  color: #fff;
}

.scan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, .65fr);
  align-items: center;
  gap: clamp(36px, 7vw, 86px);
}

.scan-copy .eyebrow {
  color: #07528e;
}

.scan-steps {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding-left: 1.4rem;
}

.scan-steps li {
  padding-left: .35rem;
}

.text-link {
  color: #fff;
  font-weight: 800;
  text-underline-offset: 4px;
}

.scan-shot {
  margin: 0;
  text-align: center;
}

.scan-shot img {
  width: min(100%, 330px);
  height: auto;
  aspect-ratio: 600 / 1299;
  object-fit: contain;
  margin: 0 auto;
  border: 6px solid rgba(255,255,255,.9);
  border-radius: 24px;
  filter: drop-shadow(0 24px 30px rgba(4,28,49,.38));
}

.scan-shot figcaption {
  max-width: 320px;
  margin: 16px auto 0;
  color: #d7edff;
  font-size: .9rem;
}

.four-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.how-alt {
  margin-top: 24px;
  color: #547086;
  font-weight: 700;
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .feature-cards,
  .four-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .scan-grid,
  .feature-cards,
  .four-steps,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .scan-copy {
    text-align: left;
  }

  .hero-shot img {
    max-height: 620px;
  }
}
