.app-page-flow {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.story-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--card-height);
  padding: 20px;
  min-width: 0;
}

.story-media-inner {
  width: 100%;
  height: 100%;
  min-width: 0;
}

.story-copy,
.hero-copy-card,
.info-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--card-height);
  padding: 24px;
  min-width: 0;
  overflow: hidden;
}

.story-copy-inner {
  width: min(100%, 520px);
  min-width: 0;
  text-align: center;
}

.story-copy-inner .button-row,
.app-button-row,
.app-link-actions,
.store-button-row,
.webapp-actions {
  justify-content: center;
}

.app-copy-inner .eyebrow,
.app-copy-inner .section-tag,
.app-showcase .section-tag {
  margin-left: auto;
  margin-right: auto;
}

.app-copy-inner p + p {
  margin-top: 12px;
}

.hero-copy-card h1 {
  max-width: none;
  margin-inline: auto;
  white-space: nowrap;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.02;
}

.app-button-primary {
  background: linear-gradient(135deg, #2c7a54, #1d553a);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.store-button-row {
  margin-top: 14px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  transition: transform 180ms ease, filter 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.store-badge img {
  display: block;
  width: auto;
  max-width: 100%;
}

.store-badge-google img {
  height: 52px;
}

.store-badge-apple img {
  height: 46px;
}

.app-icon-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top, rgba(197, 216, 230, 0.34), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 244, 247, 0.88));
  box-shadow: inset 0 0 0 1px rgba(18, 38, 56, 0.06);
}

.app-icon-shot {
  width: min(100%, 240px);
  height: auto;
}

.app-photo-tile img {
  object-fit: contain;
  padding: 10px;
}

.app-showcase {
  padding: 28px;
  text-align: center;
  min-width: 0;
}

.section-copy {
  max-width: 70ch;
  margin: 0 auto;
}

.screenshot-strip-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  min-width: 0;
}

.screenshot-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 18px;
  width: min(100%, 980px);
  padding: 0 4px 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  min-width: 0;
}

.screenshot-strip::-webkit-scrollbar {
  height: 10px;
}

.screenshot-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(24, 62, 98, 0.22);
}

.screenshot-card {
  scroll-snap-align: center;
}

.phone-shot {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  border: 8px solid rgba(255, 255, 255, 0.76);
}

.shot-label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.app-video-card {
  display: grid;
  gap: 18px;
}

.video-embed-wrap {
  width: min(100%, 980px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.video-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .story-row-reverse .story-copy,
  .story-row-reverse .story-media {
    order: initial;
  }

  .story-media,
  .story-copy,
  .hero-copy-card,
  .info-panel {
    min-height: auto;
  }

  .story-media-inner {
    width: min(100%, 100%);
    height: auto;
  }
}

@media (max-width: 720px) {
  .app-copy-inner {
    width: min(100%, 100%);
  }

  .store-badge-google img {
    height: 48px;
  }

  .store-badge-apple img {
    height: 42px;
  }

  .app-icon-stage {
    padding: 18px;
  }

  .app-icon-shot {
    width: min(100%, 200px);
  }
}
