/* Compact explicit platform choices; existing site assets stay unchanged. */
#download .platform-downloads { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
#download .platform-button { min-height: 132px; padding: 12px 6px 10px; gap: 6px; border-radius: 10px; border-bottom-width: 2px; box-shadow: 0 3px 0 #0b1017, 0 5px 12px #0003; }
#download .platform-button strong { min-height: 0; font-size: 14px; line-height: 1.3; }
#download .platform-button small { min-height: 0; font-size: 11px; line-height: 1.4; }
#download .platform-button svg { width: 28px; height: 28px; }
#download .platform-action { margin-top: 2px; padding: 4px 5px; gap: 4px; font-size: 11px; }
#download .platform-system { margin-top: 8px; font-size: 11px; line-height: 1.5; }
#download .platform-system span { margin-top: 3px; }
#download .platform-button:active, .mobile-download-bar a:active { transform: translateY(4px) scale(.94); filter: brightness(.75); box-shadow: inset 0 0 0 2px #ffffff80, 0 1px 0 #0b1017; }
.android-download-feedback { display: none; padding: 10px 12px; border-radius: 8px; background: #f6f8fb; color: #17212d; font-size: 12px; line-height: 1.6; }
.platform-android:focus + .android-download-feedback, .android-download-feedback:focus-within { display: block; }
.android-download-feedback a { color: #a13e00; font-weight: 700; }
.mobile-download-bar .android-download-feedback { position: absolute; bottom: calc(100% + 8px); left: 12px; right: 12px; margin: 0; box-shadow: 0 6px 24px #0005; }
.mobile-download-bar .android-direct-download:focus + .android-download-feedback { display: block; }
.ios-dialog-overlay { display: none; position: fixed; inset: 0; z-index: 250; align-items: center; justify-content: center; padding: 16px; background: #000b; }
.ios-dialog-overlay:target { display: flex; }
.ios-dialog-overlay .ios-dialog-card { position: relative; inset: auto; margin: 0; width: min(440px, 100%); max-width: 440px; box-sizing: border-box; }
.ios-dialog-card .dialog-actions { text-align: right; }
.ios-dialog-card .dialog-close { text-decoration: none; }
.ios-dialog-card .primary-button { display: inline-flex; text-decoration: none; }
@media (max-width: 420px) {
  #download .platform-downloads { gap: 6px; }
  #download .platform-button { min-height: 124px; padding: 10px 4px; }
  #download .platform-button strong { font-size: 13px; }
  #download .platform-button small, #download .platform-action, #download .platform-system { font-size: 10.5px; }
}

/* Keep landing-page demos as image links; play MP4 only after a deliberate tap. */
.video-poster-link { display: block; position: relative; min-width: 0; overflow: hidden; background: #070a0f; text-decoration: none; }
.video-poster-link > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.video-play-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 9px 12px; border: 1px solid #ffffff80; border-radius: 8px; background: #090d14dd; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.video-poster-link:focus-visible { outline: 3px solid #ff8a33; outline-offset: 3px; }
.phone .video-poster-link { aspect-ratio: 6 / 13; }
.phone .video-poster-link > img, .scenario-video-card .video-poster-link > img { object-fit: cover; }
.scenario-video-card .video-poster-link { width: 100%; height: 100%; }
.scenario-grid .video-poster-link { width: 100%; height: 260px; border-bottom: 1px solid var(--line); background: #090d14; }
.demo-card .video-poster-link { width: 100%; max-height: 510px; border: 5px solid #202733; border-radius: 22px; box-shadow: 0 22px 54px #0006; }
.feature-card-media .video-poster-link { width: 100%; height: 100%; max-height: 420px; border-radius: 14px; }
@media (max-width: 900px) {
  .scenario-grid .video-poster-link { height: 100%; min-height: 320px; border-right: 1px solid var(--line); border-bottom: 0; }
}
@media (max-width: 620px) {
  .scenario-video-card .video-poster-link { width: min(100%, 300px); height: auto; justify-self: center; border-radius: 14px 14px 0 0; grid-row: 1; }
  .scenario-video-card .video-poster-link > img { height: auto; }
  .scenario-grid .video-poster-link { height: 360px; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-card .video-poster-link { width: min(100%, 320px); justify-self: center; }
  .feature-card-media .video-poster-link { max-height: none; }
}
