.catalog {
  width: min(1024px, calc(100% - 32px));
  margin-inline: auto;
}
.catalog > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.app-chapter { padding: clamp(56px, 7vw, 96px) 0; }
.app-chapter + .app-chapter { border-top: 1px solid var(--line); }
.chapter-copy { max-width: 780px; margin: 0 auto; padding-inline: 12px; text-align: center; }
.chapter-copy h3 { font-size: clamp(36px, 4.8vw, 60px); text-wrap: balance; }
.chapter-copy p { margin: 20px auto 24px; max-width: 720px; color: #b3b7b3; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.75; text-wrap: pretty; }
.review-demo {
  width: min(512px, 100%);
  margin: 32px auto 28px;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  border-radius: 38px;
  background: radial-gradient(ellipse at 50% 28%, #222b23, #111411 78%);
}
.review-demo video {
  display: block;
  width: min(100%, 230px);
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: 28px;
  background: #090909;
  box-shadow: 0 12px 46px #0009;
}
.gallery-controls { display: flex; justify-content: flex-end; align-items: center; gap: 9px; padding: 6px 16px 20px; }
.position { color: #aab0aa; font-size: 13px; margin-right: 6px; font-variant-numeric: tabular-nums; }
.gallery-controls button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #ecefec; color: #161c17; font: 25px/1 Arial, sans-serif; }
.gallery-controls button:disabled { opacity: .35; cursor: default; }
.capture-rail { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 12px; }
.capture-rail::-webkit-scrollbar { display: none; }
.capture { flex: 0 0 50%; min-width: 0; margin: 0; padding: 0 14px; text-align: center; scroll-snap-align: start; }
.zoom-screen { display: block; width: min(100%, 244px); margin: auto; padding: 6px; border: 1px solid #6e726e; border-radius: 15% / 7%; background: linear-gradient(125deg,#767976,#292a29 36%,#5a5d5a); box-shadow: 0 8px 22px #0005; cursor: zoom-in; transition: transform .24s ease; }
.zoom-screen img { display: block; width: 100%; height: auto; border-radius: 13% / 6%; }
.capture figcaption { max-width: 390px; margin: 20px auto 0; color: #a9aeaa; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.capture figcaption strong { display: block; margin-bottom: 5px; color: #e9ece9; font-weight: 600; font-size: 17px; }
@media (hover: hover) {
  .zoom-screen:hover { transform: translateY(-4px); }
  .gallery-controls button:enabled:hover { background: var(--accent); }
}
@media (max-width: 700px) {
  .capture { flex-basis: 100%; }
  .review-demo { padding-block: 22px; border-radius: 26px; }
  .review-demo video, .zoom-screen { max-width: 208px; }
  .gallery-controls { padding-right: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes preview-rise { from { opacity: .35; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
  .in-view .chapter-copy { animation: preview-rise .55s ease-out both; }
  .in-view .chapter-stage { animation: preview-rise .72s .04s cubic-bezier(.2,.7,.2,1) both; }
  #screen-dialog[open] { animation: preview-rise .22s ease-out; }
}

.device-gallery {
  --remaining: 0;
  margin: 56px -20px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
}
.device-gallery::-webkit-scrollbar { display: none; }
.device-row {
  display: flex;
  width: max-content;
  min-width: 100%;
  justify-content: center;
  gap: 12px;
  padding: 0 24px calc(16px + 100px * var(--remaining));
}
.hero-device {
  flex: none;
  width: min(36vw, 160px);
  scroll-snap-align: start;
}
.hero-device:nth-child(1) { --x: -200px; --y: 100px; --delay: .72s; }
.hero-device:nth-child(2) { --x: -100px; --y: 50px; --delay: .47s; }
.hero-device:nth-child(3) { --x: 0px; --y: 0px; --delay: .22s; }
.hero-device:nth-child(4) { --x: 100px; --y: 50px; --delay: .47s; }
.hero-device:nth-child(5) { --x: 200px; --y: 75px; --delay: .72s; }
.hero-device:nth-child(6) { --x: 300px; --y: 100px; --delay: .97s; }
.device-frame {
  position: relative;
  aspect-ratio: 433 / 882;
  background: #252525;
  border-radius: 17% / 8.35%;
  box-shadow: inset 0 0 0 2px #434343;
}
.device-frame img {
  position: absolute;
  inset: 2.18% 5%;
  width: 90%;
  height: 95.64%;
  display: block;
  object-fit: contain;
  background: #080808;
  border-radius: 14.3% / 6.6%;
}
.device-frame::after {
  content: '';
  position: absolute;
  top: 3.5%;
  left: 35.5%;
  width: 29%;
  height: 4.2%;
  border-radius: 999px;
  background: radial-gradient(circle at 85% 50%, #414141 0 4%, transparent 5%), #252525;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-device { animation: device-enter .95s cubic-bezier(.22,1,.36,1) var(--delay) backwards; }
  .device-frame { transform: translateY(calc(var(--remaining) * var(--y))); }
  @keyframes device-enter {
    from { opacity: 0; transform: translateX(var(--x)); }
    to { opacity: 1; transform: translateX(0); }
  }
}
@media (max-width: 650px) {
  .device-gallery { margin-inline: -18px; }
}
@media (min-width: 768px) {
  .device-row { width: 100%; gap: 16px; padding-inline: 0; }
  .hero-device { width: min(13vw, 200px); }
}
@media (min-width: 1024px) {
  .device-row { gap: 24px; }
}
@media (min-width: 1280px) {
  .hero-device { width: min(13.75vw, 200px); }
}

.latest-updates {
  width: min(1024px, calc(100% - 40px));
  margin: auto;
  padding: 80px 0;
  font-family: Aeonik, Inter, sans-serif;
}
.latest-heading, .release-controls, .release-meta, .release-foot {
  display: flex;
  align-items: center;
}
.latest-heading, .release-foot { justify-content: space-between; gap: 16px; }
.latest-heading { align-items: end; flex-wrap: wrap; gap: 8px 20px; }
.latest-heading h2 { margin: 0; font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.latest-heading a { font-size: 14px; padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; }
.release-controls { margin: 20px 0 16px; gap: 8px; justify-content: end; }
.release-controls button { color: #eee; background: transparent; border: 1px solid #ffffff26; border-radius: 100%; width: 44px; height: 44px; font: 20px/1 Aeonik, sans-serif; }
.release-controls button:disabled { opacity: .3; cursor: default; }
.release-list { padding: 4px 4px 20px; }
.release-list article { width: 47%; }
.update-card { display: flex; flex-direction: column; padding: 16px; color: #f5f5f5; border: 1px solid #ffffff1a; border-radius: 16px; background: #ffffff08; transition: background-color .15s ease; }
.update-card:hover, .update-card:focus-visible { background: #ffffff0d; }
.release-art { container-type: inline-size; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #090817; }
.fomo-poster {
  position: relative;
  isolation: isolate;
  display: flex;
  height: 100%;
  align-items: center;
  color: white;
  background: radial-gradient(ellipse at 85% 10%, #3447a2 0, transparent 48%), linear-gradient(135deg, #080811 15%, #15142b 68%, #222c63);
  font-family: Aeonik, Inter, sans-serif;
}
.fomo-poster::before { content: ''; position: absolute; z-index: -1; width: 88%; aspect-ratio: 1; border-radius: 28%; right: -52%; bottom: -100%; transform: rotate(40deg); border: 1px solid #748bff57; box-shadow: 0 0 0 6cqw #465afa16, 0 0 0 12cqw #465afa0d; }
.poster-type { padding-left: 4.5%; z-index: 1; }
.poster-label { display: flex; align-items: center; gap: 1.3cqw; color: #c3caff; text-transform: uppercase; letter-spacing: .22em; font-size: 1.75cqw; font-weight: 600; margin-bottom: 3cqw; }
.poster-label::before { content: ''; width: 5cqw; height: 1px; background: currentColor; }
.poster-type strong { display: block; font-size: 8cqw; letter-spacing: -.06em; line-height: .98; }
.poster-type em { font-style: normal; color: #95a5ff; }
.fomo-poster img { position: absolute; right: 7%; top: 4%; height: 92%; width: auto; border-radius: 3.3cqw; border: 1px solid #757486; box-shadow: 0 1cqw 3cqw #000a; }
.release-meta { gap: 8px; font-size: 12px; color: #a7a5ac; margin-top: 20px; }
.release-meta > span { border: 1px solid #ffffff20; color: #f5f5f5; padding: 4px 10px; border-radius: 999px; }
.update-card h3 { font: 700 24px/1.32 Aeonik, Inter, sans-serif; letter-spacing: -.04em; margin: 16px 0 0; }
.update-card p { margin: 14px 0 0; color: #aaa7ae; font-size: 14px; line-height: 1.72; }
.release-foot { margin-top: 24px; font-size: 14px; }
.release-foot time { font-size: 12px; color: #aaa7ae; }
.release-foot b { font-weight: 400; margin-left: 4px; }
.fomo-story .release-art { max-width: 680px; margin: 24px 0 32px; }
.fomo-story .release-meta { margin: 28px 0 12px; }
.fomo-story p { max-width: 640px; margin: 12px 0 24px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .update-card .fomo-poster { transition: transform .3s cubic-bezier(.4,0,.2,1); }
  .update-card:is(:hover,:focus-visible) .fomo-poster { transform: scale(1.02); }
}
@media (max-width: 1023px) { .latest-heading h2 { font-size: 36px; } }
@media (max-width: 639px) {
  .latest-updates { padding-block: 64px; }
  .latest-heading h2 { font-size: 30px; }
  .release-list article { width: 85%; }
}
