/* Matched original captures; the arrow joins the same booking across apps. */
.hero-apps { width: 100%; max-width: 640px; margin-inline: auto; }
.hero-apps .app-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7%; align-items: start; max-width: none; padding: 0; }
.hero-apps .app-preview { display: flex; flex-direction: column; width: auto; padding: 0; margin: 0; background: none; border: 0; border-radius: 0; }
.hero-apps .app-preview.app-business { margin-top: 22%; }
.hero-apps .app-phone { width: 100%; max-width: none; }
.hero-apps .app-capture { object-fit: contain; }
.app-detail .detail-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.detail-image-viewport { overflow: auto; max-height: calc(100dvh - 140px); overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; }
.detail-image-viewport > img { display: block; width: 100%; height: auto; max-width: none; }
.show-original .detail-image-viewport > img { width: auto; }
.detail-image-viewport:focus-visible { outline: 2px solid #228453; outline-offset: -3px; }
@media (max-width: 560px) {
  .hero-apps { width: calc(100% + 12px); max-width: none !important; margin-inline: -6px; }
  .hero-apps .app-pair { gap: 4%; }
  .app-detail .detail-head { flex-wrap: wrap; gap: 6px; padding: 10px 12px; }
  .app-detail .detail-head h2 { font-size: 12px; }
  .app-detail .detail-actions { width: 100%; justify-content: space-between; }
  .app-detail .detail-head button { font-size: 11px; }
}
.hero-apps .app-preview figcaption { order: -1; display: flex; flex-direction: column; text-align: left; margin: 0 0 12px; padding-left: 8px; }
.hero-apps .app-preview figcaption b { order: 0; margin: 0; font-size: 13px; font-weight: 400; }
.hero-apps .app-preview figcaption span { margin-top: 2px; font-size: 11px; font-weight: 300; color: #526058; }
.reservation-focus { position: absolute; border: 1.5px solid var(--brand-square); border-radius: 9px; pointer-events: none; z-index: 2; }
.book-focus { left: 7.5%; top: 43.5%; width: 85%; height: 22%; }
.business-focus { left: 20.5%; top: 53%; width: 72%; height: 9%; }
.booking-connection { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; color: var(--brand-square); }
.hero-apps .app-zoom-hint { margin-top: 16px; text-align: center; font-size: 11px; font-weight: 300; }
.feed-story-highlight { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.feed-story-highlight > span { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 2px solid var(--brand-square); border-radius: 50%; font-size: 12px; color: #276640; }
.feed-story-highlight p { font-size: 13px; font-weight: 300; line-height: 1.65; color: #526058; }
.feed-story-highlight strong { font-weight: 500; color: #253b2f; }
/* Real screenshots: directory, news feed and the approved story. */
.book-feed { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.feed-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; max-width: 960px; width: 100%; margin: auto; }
.feed-copy > .step, .feed-copy > h2, .feed-intro, .feed-story-highlight { grid-column: 1; }
.feed-types { grid-column: 2; grid-row: 1 / 4; margin-top: 0; align-content: start; }
.feed-social { grid-column: 2; grid-row: 4; margin-top: 12px; }
.feed-story-note { grid-column: 2; grid-row: 5; margin-top: 8px; }
.feed-originals { position: relative; width: 100%; max-width: 940px; margin: auto; min-width: 0; }
.feed-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; align-items: start; }
.feed-screens figure { margin: 0; min-width: 0; }
.feed-screens figcaption { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin-bottom: 10px; font-size: 12px; font-weight: 400; text-align: center; }
.feed-screens figcaption span { color: #62806d; font-size: 11px; }
.feed-screens a { display: block; border: 4px solid #171b18; border-radius: 26px; overflow: hidden; box-shadow: 0 14px 30px -22px #17332555; cursor: zoom-in; background: #171b18; }
.feed-screens img { display: block; width: 100%; height: auto; }
/* Match Book's AnimatedNewsRing; coordinates follow the original 735 x 1600 capture. */
.feed-screens a[href$="/book-story-discovery.jpg"] { position: relative; }
.feed-screens a[href$="/book-story-discovery.jpg"]::after {
  content: ''; position: absolute; pointer-events: none;
  left: 5.714286%; top: 53.25%; width: 15.510204%; aspect-ratio: 1;
  border-radius: 50%; background: linear-gradient(135deg, #22c55e 0%, #0f2e1f 50%, #22c55e 100%);
  -webkit-mask: radial-gradient(circle, transparent 64.5%, #000 65.5%);
  mask: radial-gradient(circle, transparent 64.5%, #000 65.5%);
  animation: book-story-ring-turn 3.2s linear infinite;
}
@keyframes book-story-ring-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .feed-screens a[href$="/book-story-discovery.jpg"]::after { animation: none; }
}
.feed-screen-arrow { position: absolute; width: 7%; top: 49%; z-index: 1; color: var(--brand-square); pointer-events: none; }
.feed-arrow-first { left: 29.9%; }
.feed-arrow-second { left: 64.6%; }
.feed-originals > p { margin-top: 20px; text-align: center; font-size: 12px; font-weight: 300; line-height: 1.65; color: #59665e; }
.feed-gallery-controls { display: none; }
.feed-screens:focus-visible { outline: 2px solid #258354; outline-offset: 5px; }
@media (max-width: 800px) {
  .feed-copy { display: block; max-width: 540px; }
  .feed-types { margin-top: 24px; }
  .feed-screens { gap: 18px; }
  .feed-screens figcaption { font-size: 11px; }
}
@media (max-width: 900px) {
  .hero-apps { max-width: 540px; }
  .hero-apps .app-preview + .app-preview { margin-top: 22%; }
}
@media (max-width: 560px) {
  .hero-apps { max-width: 350px; }
  .hero-apps .app-preview figcaption { padding-left: 3px; margin-bottom: 8px; }
  .hero-apps .app-preview figcaption b { font-size: 10px; white-space: nowrap; }
  .hero-apps .app-preview figcaption span { font-size: 10px; }
  .hero-apps .app-zoom-hint { font-size: 10px; margin-top: 10px; }
  .reservation-focus { border-width: 1px; border-radius: 6px; }
  .book-feed { gap: 24px; }
  .feed-types { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
  .feed-types li { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
  .feed-types h3 { font-size: 12px; }
  .feed-types p { font-size: 12px; line-height: 1.55; }
  .feed-social { text-align: center; margin-top: 20px; }
  .feed-story-note { margin-top: 16px; }
  .feed-screens { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 0 0 8px; }
  .feed-screens::-webkit-scrollbar { display: none; }
  .feed-screens figure { flex: 0 0 82%; max-width: 280px; scroll-snap-align: start; }
  .feed-screens::after { content: ''; flex: 0 0 18%; }
  .feed-screens figcaption { font-size: 12px; min-height: 32px; margin-bottom: 8px; }
  .feed-screens a { border-width: 3px; border-radius: 22px; box-shadow: none; }
  .feed-screen-arrow { display: none; }
  .feed-gallery-controls:not([hidden]) { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 10px; }
  .feed-gallery-controls button { width: 44px; height: 44px; padding: 0; border: 1px solid #dce5df; border-radius: 50%; background: transparent; color: #17271f; cursor: pointer; font-size: 20px; }
  .feed-gallery-controls button:disabled { opacity: .3; cursor: default; }
  .feed-gallery-status { font-size: 12px; color: #526058; font-variant-numeric: tabular-nums; }
  .feed-originals > p { margin-top: 10px; }
}

/* Original side-by-side hero composition, with a modestly wider phone area. */
@media (min-width: 1000px) {
  .open.open-dark { max-width: 1360px; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 32px; }
  .open .hero-apps { max-width: 680px; }
  .hero-apps .app-pair { gap: 5%; }
}
