/* Platform marks in the navigation; original store badges on the download page. */
header.site-header .header-inner,
header.listing-site-header .header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.download-link { display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; font:inherit; }
.download-icon { flex:none; }
.download-link [data-download-icon] { display:none; }
html:not([data-download-platform]) .download-link [data-download-icon="generic"],
html[data-download-platform="generic"] .download-link [data-download-icon="generic"],
html[data-download-platform="ios"] .download-link [data-download-icon="ios"],
html[data-download-platform="android"] .download-link [data-download-icon="android"] { display:block; }
/* Both actions use the same box, independent of the detected platform or page. */
header :is(.header-actions, .site-header-actions) > :is(.header-download, .header-cta) {
  box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  width:120px; min-width:120px; height:50px; min-height:50px; flex:0 0 120px;
  padding:0 12px; border-width:1.5px; border-style:solid; border-radius:12px;
  font-size:14px; font-weight:700; line-height:1.2; white-space:nowrap; gap:8px;
}
a.header-download { border-color:#2251E0; background:#2251E0; color:#fff; }
a.header-download:hover { background:#193FC0; border-color:#193FC0; color:#fff; }
html[data-download-platform="ios"] header a.download-link[data-download-link],
html[data-download-platform="android"] header a.download-link[data-download-link] { background:#111; border-color:#555; color:#fff; }
html[data-download-platform="ios"] header a.download-link[data-download-link]:hover,
html[data-download-platform="android"] header a.download-link[data-download-link]:hover { background:#292929; border-color:#777; color:#fff; }
/* Include child-component download links in the same menu-row geometry. */
header:is(.site-header, .listing-site-header) :is(.mobile-navigation, .mobile-nav) > a[href] {
  box-sizing:border-box; display:flex; align-items:center; justify-content:flex-start;
  width:100%; min-width:0; min-height:48px; padding:12px 14px; border-radius:10px;
  font-size:16px; font-weight:500; line-height:1.5; text-decoration:none; gap:8px;
  color:#263550;
}
header:is(.site-header, .listing-site-header) :is(.mobile-navigation, .mobile-nav) > a[href]:hover,
header:is(.site-header, .listing-site-header) :is(.mobile-navigation, .mobile-nav) > a[href][aria-current="page"] {
  color:#2251E0; background:#EDF2FF;
}
.download-link:focus-visible, .download-page a:focus-visible { outline:3px solid #F4AD39; outline-offset:3px; }
@media (max-width:1100px) {
  header.site-header .header-inner,
  header.listing-site-header .header-inner { grid-template-columns:1fr auto; }
  header.site-header .header-inner > nav,
  header.listing-site-header .header-inner > nav { display:none; }
  .listing-site-header .site-mobile-menu { display:block; }
}
@media (max-width:560px) {
  header :is(.header-actions, .site-header-actions) > :is(.header-download, .header-cta) {
    width:90px; min-width:90px; height:44px; min-height:44px; flex-basis:90px;
    padding:0 6px; font-size:13px; gap:6px;
  }
  header.site-header .header-inner,
  header.listing-site-header .header-inner { gap:10px; }
  header .header-inner .header-actions, .listing-site-header .site-header-actions { gap:6px; }
}
@media (max-width:1100px) {
  header.site-header .header-actions > .header-cta,
  .listing-site-header .site-header-actions > .header-cta { display:none; }
}

.download-page { margin:0; min-height:100svh; display:flex; flex-direction:column; color:#17213A; background:#fff; font-family:Rubik,"Arial Hebrew",Arial,sans-serif; line-height:1.65; }
.download-page *, .download-page *::before, .download-page *::after { box-sizing:border-box; }
.download-page a { text-decoration:none; }
.download-skip { position:fixed; inset-inline-start:16px; top:-100px; z-index:200; padding:12px 18px; border-radius:10px; background:#2251E0; color:#fff; }
.download-skip:focus { top:12px; }
.download-main { width:min(100% - 40px,740px); margin:auto; padding:70px 0 80px; text-align:center; }
.download-app-icon { display:block; width:96px; height:96px; margin:0 auto 25px; border-radius:24px; }
.download-status { display:inline-block; padding:5px 14px; border-radius:30px; background:#FFF4DE; color:#805518; font-size:14px; font-weight:600; }
.download-main h1 { margin:18px 0; color:#17213A; font-size:clamp(32px,4.6vw,48px); line-height:1.22; letter-spacing:-.035em; font-weight:800; }
.download-intro { max-width:560px; margin:0 auto; color:#59677E; font-size:18px; line-height:1.8; }
.download-stores { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:16px; margin:26px auto 0; }
.download-page .store-option { display:flex; align-items:center; justify-content:center; width:248px; min-height:96px; border-radius:12px; }
.store-badge { display:block; flex:none; max-width:100%; height:auto; }
.store-badge-apple { width:192px; height:64px; transform:scaleX(1.125); }
/* Google's asset includes transparent space; match the visible 216 × 64 badge. */
.store-badge-google { width:248px; height:96px; }
.download-page .store-option:focus-visible { outline:3px solid #F4AD39; outline-offset:3px; }
.download-note { margin:20px auto 0; max-width:540px; color:#657187; font-size:14px; }
.download-next { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:14px; margin-top:32px; }
.download-primary, .download-secondary { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 20px; border-radius:12px; font-size:15px; font-weight:600; }
.download-primary { background:#2251E0; color:#fff; }
.download-secondary { border:1px solid #DDE3ED; color:#2251E0; }
.download-primary:hover { background:#193FC0; }
.download-secondary:hover { background:#F0F4FF; }
.download-footer { padding:26px 20px; border-top:1px solid #E4E7EE; background:#F8FAFC; text-align:center; }
.download-footer nav { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 24px; }
.download-footer a { display:inline-flex; align-items:center; min-height:44px; color:#42516C; font-size:14px; }
.download-footer p { margin:8px 0 0; color:#6F7A8F; font-size:12px; }
@media (max-width:600px) {
  .download-main { width:calc(100% - 32px); padding:42px 0 50px; }
  .download-app-icon { width:80px; height:80px; border-radius:20px; margin-bottom:22px; }
  .download-intro { font-size:16px; }
  .download-stores { gap:8px; margin-top:24px; }
  .download-next { flex-direction:column; align-items:stretch; max-width:360px; margin-inline:auto; }
}
@media (prefers-reduced-motion:reduce) { .download-page * { transition:none !important; scroll-behavior:auto !important; } }
