/* Accounting landing - screenshot frames and video */

.acct-photo {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.acct-photo--light {
  border-color: #e2e8f0;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.acct-photo__img,
.acct-photo__video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.acct-photo__video {
  background: #0f172a;
  vertical-align: middle;
}

.acct-photo__caption {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.acct-photo--light .acct-photo__caption {
  color: #64748b;
  background: #f8fafc;
  border-top-color: #e2e8f0;
}

/* Tall mobile screenshot - constrain height so it does not dominate the grid */
.acct-photo--mobile {
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

.acct-photo--mobile .acct-photo__img {
  max-height: 32rem;
  object-fit: contain;
  object-position: top center;
  background: #f8fafc;
}

@keyframes acct-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.acct-photo--hero {
  animation: acct-fade-up 0.7s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .acct-photo--hero {
    animation: none;
  }
}
