/* Russian home only: original native captures, framed with CSS rather than redrawn. */
.app-frame { position: relative; display: block; overflow: hidden; background: #101114; isolation: isolate; }
.app-frame img { position: absolute; display: block; max-width: none; height: auto; }
.app-frame--phone { aspect-ratio: 1044 / 2235; border-radius: 11% / 5.14%; }
.app-frame--phone img { width: 126.437%; left: -13.2184%; top: -23.311%; }
.app-frame--mac { aspect-ratio: 2170 / 1155; border-radius: 1.4% / 2.63%; }
.app-frame--mac img { width: 117.9724%; left: -8.9862%; top: -30.7359%; }
/* Source pixels stay intact: CSS selects the useful part of each native capture. */
.app-frame--secret { aspect-ratio: 658 / 1409; }
.app-frame--secret img { width: 164.1337%; left: -32.0669%; top: -9.9361%; }
.app-frame--miniapp { aspect-ratio: 390 / 770; border-radius: 20px; background: #f6f5f0; }
.app-frame--miniapp img { width: 100%; left: 0; top: 0; }
.app-frame--detail { border-radius: 20px; background: #000; }
.app-frame--accounts { aspect-ratio: 1240 / 590; }
.app-frame--accounts img { width: 106.4516%; left: -3.2258%; top: -84.7458%; }
.app-frame--nearby { aspect-ratio: 1320 / 900; }
.app-frame--nearby img { width: 100%; left: 0; top: -20%; }
.app-shot { display: block; position: relative; color: inherit; text-decoration: none; cursor: zoom-in; border-radius: 28px; }
.app-shot:focus-visible { outline: 3px solid #2a7bd9; outline-offset: 7px; }
.app-shot .app-frame { box-shadow: 0 20px 42px -18px #17264066, 0 2px 6px #17264018; }
.app-shot__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #26394f; box-shadow: 0 2px 10px #0003; }
.app-shot__zoom svg { width: 17px; height: 17px; }
.app-shot:hover .app-shot__zoom { background: #e9f4ff; }
.app-hero { margin: 0; min-width: 0; padding: 24px 18px 18px; border: 1px solid #dbe3ee; border-radius: 28px; background: linear-gradient(145deg, #edf5ff, #f1edf8 65%, #f9f7f5); }
.app-hero__screens { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.app-hero__screens > :last-child { margin-top: 56px; }
.app-hero__label { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: #3e506a; font-size: 13px; font-weight: 600; }
.app-hero__label span { color: #657994; font-size: 11px; font-variant-numeric: tabular-nums; }
.app-hero > figcaption { margin-top: 20px; font-size: 12px; line-height: 1.5; text-align: center; color: #53637b; }
.home-refresh .home-story--screen { grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); gap: 16px 80px; align-items: start; }
.home-refresh .home-story--screen .eyebrow { grid-row: 1; align-self: end; margin: 48px 0 0; }
.home-refresh .home-story--screen h2 { grid-row: 2; margin: 0; }
.home-refresh .home-story--screen .lede { grid-row: 3; margin: 0; }
.home-refresh .home-story--screen .story-detail { grid-column: 1; grid-row: 4; margin: 8px 0 0; }
.app-showcase { grid-column: 2; grid-row: 1 / 6; width: 100%; margin: 0; padding: 30px 24px 20px; border: 1px solid #dbe3ee; border-radius: 24px; background: linear-gradient(150deg, #eff5fc, #f5f1fa); }
.app-showcase > .app-shot { width: min(100%, 258px); margin-inline: auto; }
.app-showcase.app-showcase--detail > .app-shot { width: 100%; }
.app-showcase figcaption, .app-chat-gallery figcaption, .app-desktop figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; color: #506078; font-size: 12px; line-height: 1.5; }
.app-showcase figcaption span:last-child { color: #1d65a4; white-space: nowrap; }
.app-chat-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.app-chat-gallery figure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); align-items: center; gap: 24px; margin: 0; padding: 32px; border-radius: 24px; border: 1px solid #dbe3ee; background: #eff4fa; }
.app-chat-gallery figure:last-child { background: #f2eff8; }
.app-chat-gallery figcaption { display: block; grid-column: 1; grid-row: 1; margin: 0; }
.app-chat-gallery figcaption strong { display: block; font-size: clamp(19px, 2vw, 26px); line-height: 1.2; letter-spacing: -.025em; color: #131b24; margin-bottom: 16px; }
.app-chat-gallery .app-shot { grid-column: 2; grid-row: 1; }
.app-desktop { margin: 32px 0 40px; padding: 28px 28px 18px; border: 1px solid #dbe3ee; border-radius: 24px; background: linear-gradient(125deg, #e9f3ff, #eeeafa); }
.app-desktop .app-shot { border-radius: 14px; }
.app-desktop figcaption { margin-top: 16px; }
.screen-viewer { width: min(94vw, 1100px); max-width: none; max-height: 92dvh; margin: auto; padding: 0; border: 1px solid #dae1eb; border-radius: 20px; background: #f5f7fa; color: #142030; box-shadow: 0 30px 100px #0005; }
.screen-viewer::backdrop { background: #0b1424c4; }
.screen-viewer__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: #f5f7fa; border-bottom: 1px solid #dde4ed; }
.screen-viewer__bar h2 { margin: 0; font-size: 16px; line-height: 1.4; }
.screen-viewer__close { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 1px solid #ccd5e1; border-radius: 50%; background: #fff; color: #1d3049; cursor: pointer; }
.screen-viewer__close svg { width: 20px; height: 20px; }
.screen-viewer__content { padding: 24px; }
.screen-viewer__content:focus-visible { outline: 2px solid #2a7bd9; outline-offset: -4px; }
.screen-viewer .app-frame--phone { width: min(100%, 430px); margin: auto; }
.screen-viewer .app-frame--mac { width: 100%; }
.screen-viewer .app-frame--detail { width: min(100%, 760px); margin: auto; }
.screen-viewer .app-frame--miniapp { width: min(100%, 390px); margin: auto; }
@media (max-width: 1100px) {
  .app-chat-gallery figure { grid-template-columns: 1fr; justify-items: center; padding: 24px; }
  .app-chat-gallery .app-shot { grid-column: 1; grid-row: 2; width: min(100%, 250px); }
  .app-chat-gallery figcaption { text-align: center; }
}
@media (max-width: 899px) {
  .app-hero { width: min(100%, 540px); margin-inline: auto; }
  .home-refresh .home-story--screen { grid-template-columns: minmax(0, 1fr) minmax(240px, .85fr); column-gap: 32px; }
  .home-refresh .home-story--screen .eyebrow { margin-top: 24px; }
  .app-showcase { padding: 24px 18px 18px; }
}
@media (max-width: 600px) {
  .app-hero { padding: 18px 12px 14px; border-radius: 20px; }
  .app-hero__screens { gap: 12px; }
  .app-hero__screens > :last-child { margin-top: 36px; }
  .app-hero__label { font-size: 11px; gap: 6px; }
  .app-shot__zoom { width: 30px; height: 30px; right: 8px; bottom: 8px; }
  .home-refresh .home-story--screen { grid-template-columns: 1fr; gap: 20px; }
  .home-refresh .home-story--screen .eyebrow { margin-top: 0; }
  .home-refresh .home-story--screen .story-detail { grid-row: 4; margin: 0; }
  .app-showcase { grid-column: 1; grid-row: 5; padding: 26px 20px 18px; }
  .app-showcase > .app-shot { width: min(100%, 250px); }
  .app-showcase--detail { padding: 20px 12px 18px; }
  .app-showcase--detail figcaption { align-items: start; gap: 8px; }
  .app-showcase--detail figcaption span:last-child { white-space: normal; text-align: right; }
  .app-chat-gallery { grid-template-columns: 1fr; gap: 20px; }
  .app-chat-gallery figure { padding: 24px 20px; gap: 20px; }
  .app-chat-gallery figcaption strong { margin-bottom: 8px; }
  .app-desktop { padding: 16px 12px; margin-bottom: 28px; border-radius: 18px; }
  .app-desktop figcaption { align-items: start; }
  .screen-viewer__content { padding: 18px 12px; }
  .screen-viewer__bar { padding: 10px 12px; }
}
