/* Official Elyvia artwork: preserve the full supplied compositions. */
.appstore-screenshot > a { display: block; border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; }
.appstore-screenshot img { display: block; width: 100%; height: auto; object-fit: contain; filter: none; }
.page-home #elyvia .product-visuals { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 0; }
.page-home #elyvia .elyvia-frame { position: relative; top: auto; left: auto; width: 100%; aspect-ratio: 1; }
.page-home #elyvia .product-screen { position: relative; right: auto; bottom: auto; width: 100%; max-width: 320px; margin: 0; z-index: auto; }
.page-home #elyvia .product-screen > a,
.page-elyvia .product-hero-screen > a { border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: 0 24px 64px rgba(0,0,0,.22); }
.page-home #elyvia .product-screen figcaption { font-size: 11px; line-height: 1.7; }
.page-elyvia .product-hero-screen { width: min(100%, 320px); }
.screenshot-showcase { border-bottom: 1px solid var(--border-light); }
.screenshot-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; margin-bottom: 32px; }
.screenshot-heading .headline { margin-top: 20px; }
.screenshot-heading .body-copy { max-width: 40ch; margin-bottom: 8px; }
.screenshot-instructions { color: var(--text-muted); font-size: 12px; line-height: 1.8; margin-bottom: 24px; }
.screenshot-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(248px, 24vw, 304px); gap: 28px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scrollbar-width: thin; scrollbar-color: var(--color-amber) transparent; padding: 4px 2px 24px; margin: 0; list-style: none; }
.screenshot-track:focus-visible { outline: 2px solid var(--color-amber); outline-offset: 7px; }
.screenshot-slide { min-width: 0; scroll-snap-align: start; }
.screenshot-slide figure { margin: 0; }
.screenshot-slide a { display: block; }
.screenshot-slide a:focus-visible { outline: 2px solid var(--color-amber); outline-offset: 3px; }
.screenshot-slide img { aspect-ratio: 707 / 1536; }
.screenshot-slide figcaption { display: flex; align-items: baseline; gap: 14px; padding-top: 20px; color: var(--text-secondary); font-size: 12px; line-height: 1.7; }
.screenshot-slide figcaption > :first-child { color: var(--color-amber); font-family: var(--font-label); font-size: 10px; letter-spacing: .08em; }
.screenshot-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 24px; }
.screenshot-progress, .screenshot-source { color: var(--text-muted); font-size: 12px; line-height: 1.7; }
.screenshot-progress { min-width: 118px; }
.screenshot-source { margin-left: auto; }
.screenshot-controls { display: flex; gap: 10px; }
.screenshot-controls[hidden] { display: none; }
.screenshot-controls button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--border-medium); border-radius: 50%; color: var(--text-primary); font-size: 22px; transition: border-color .2s, color .2s; }
.screenshot-controls button:hover { color: var(--color-amber); border-color: var(--color-amber); }
.screenshot-controls button:disabled { opacity: .35; cursor: default; }
@media (max-width: 767px) {
  .page-home #elyvia .product-visuals { grid-template-columns: 1fr; gap: 28px; }
  .page-home #elyvia .product-screen { width: min(78vw, 320px); margin-inline: auto; }
  .page-elyvia .product-hero-screen { width: min(78vw, 320px); }
  .screenshot-heading { grid-template-columns: 1fr; gap: 24px; }
  .screenshot-heading .headline { font-size: clamp(2rem, 7.5vw, 3rem); }
  .screenshot-track { grid-auto-columns: min(78vw, 320px); gap: 22px; }
  .screenshot-source { margin-left: 0; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .screenshot-controls button { transition: none; }
  .screenshot-track { scroll-behavior: auto; }
}

/* Keep the product surfaces readable with the existing production base CSS. */
.page-home [hidden], .page-elyvia [hidden] { display: none !important; }
.page-home .rv, .page-elyvia .rv { opacity: 1; transform: none; }
html.js .page-home .rv:not(.in), html.js .page-elyvia .rv:not(.in) { opacity: 0; transform: translateY(20px); }
.page-home [id], .page-elyvia [id] { scroll-margin-top: 100px; }
.page-home main:focus, .page-elyvia main:focus { outline: none; }
.page-home .sr-only, .page-elyvia .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
  html.js .page-home .rv:not(.in), html.js .page-elyvia .rv:not(.in) { opacity: 1; transform: none; }
}
