/* The Yusr iPhone app: Apple's own badge under the home hero, the Android note, and the
   "in your pocket" section with three real screenshots (demo data). Apple asks for one badge
   per page, so the section offers a text link and a QR code instead of a second badge. */
.ap-hero,.ap-dl{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px}
.ap-hero{justify-content:center;margin-top:18px}
.ap-badge{display:inline-flex;border-radius:10px;line-height:0;transition:transform .35s var(--ease)}
.ap-badge img{display:block;width:auto;height:46px}
.ap-badge:hover{transform:translateY(-1px)}
.ap-badge:focus-visible,.ap-link:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.ap-soon{display:inline-flex;align-items:center;gap:7px;font:500 13.5px/1.3 var(--f-sans);color:var(--ink-3)}
.ap-soon svg{width:15px;height:15px;flex:none;fill:currentColor}

.ap{padding-block:clamp(32px,5vw,72px)}
.ap-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(28px,5vw,72px);align-items:center;padding:clamp(28px,5vw,64px);border-radius:var(--r-plate);background:var(--sand);overflow:hidden}
.ap-t h2{margin:14px 0;font-weight:500;font-size:clamp(30px,3.6vw,46px);line-height:1.06;letter-spacing:-.03em;text-wrap:balance}
/* the product pages' check list (site.css scopes it to .blk) */
.ap ul.pts{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:12px}
.ap ul.pts li{display:grid;grid-template-columns:18px 1fr;gap:12px;font-size:15.5px}
.ap ul.pts li svg{width:17px;height:17px;margin-top:3px;fill:none;stroke:var(--moss);stroke-width:1.8;color:var(--moss)}
.ap ul.pts b{font-weight:500}
.ap ul.pts span{color:var(--ink-2)}
.ap-t>p{max-width:46ch;margin:0;color:var(--ink-2)}
.ap-get{display:flex;align-items:center;flex-wrap:wrap;gap:18px 26px;margin-top:28px}
.ap-qr{display:flex;align-items:center;gap:14px;max-width:15rem;font:500 11.5px/1.45 var(--f-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
[dir="rtl"] .ap-qr{font:500 13px/1.5 var(--f-sans);letter-spacing:0;text-transform:none}
.ap-qr svg{width:96px;height:96px;flex:none;padding:8px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--line-2)}
.ap-dl{flex-direction:column;align-items:flex-start;gap:10px}
.ap-dl.ap-row{flex-direction:row;align-items:center;gap:12px 18px}
.ap-link{display:inline-flex;align-items:center;gap:8px;font:500 16px/1.3 var(--f-sans);color:var(--ink);text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:5px;transition:text-decoration-color .3s var(--ease)}
.ap-link:hover{text-decoration-color:currentColor}
.ap-link svg{width:19px;height:19px;flex:none;fill:currentColor}

/* Three phones: the inbox in front, Home and sign-in behind it. Mirrored in Arabic by the
   logical insets; the screenshots themselves are never flipped. */
.ap-ph{position:relative;width:min(100%,560px);aspect-ratio:1/1.02;justify-self:center}
.ap-ph img{position:absolute;display:block;height:auto;border-radius:18.2%/8.35%;background:#0B1512;box-shadow:0 0 0 5px #0B1512,0 36px 60px -34px rgba(13,59,59,.6)}
.ap-ph .p-in{top:0;inset-inline-start:27%;width:46%;z-index:3}
.ap-ph .p-ho{top:9%;inset-inline-start:0;width:38%;z-index:2}
.ap-ph .p-si{top:9%;inset-inline-end:0;width:38%;z-index:1}

@media (max-width:900px){
  .ap-in{grid-template-columns:1fr}
  .ap-qr{display:none}
  .ap-ph{width:min(72%,280px);aspect-ratio:auto}
  .ap-ph .p-in{position:static;width:100%}
  .ap-ph .p-ho,.ap-ph .p-si{display:none}
}

/* The hero store badges are two quiet Apple-style pills at every width. The badge image stays for its alt text. */
.ap-hero .ap-badge{position:relative;align-items:center;gap:7px;height:40px;padding:0 17px;border:1px solid var(--line-2);border-radius:999px;background:var(--card);color:var(--ink);font:500 14px/1 var(--f-sans);letter-spacing:-.01em;white-space:nowrap}
.ap-hero .ap-badge img{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ap-hero .ap-badge::before{content:"";width:15px;height:15px;background:currentColor;-webkit-mask:var(--ap-icon) center/contain no-repeat;mask:var(--ap-icon) center/contain no-repeat}
.ap-hero .ap-badge:first-child{--ap-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701'/%3E%3C/svg%3E")}
.ap-hero .ap-badge:nth-child(2){--ap-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.018 13.298l-3.919 2.218-3.515-3.493 3.543-3.521 3.891 2.202a1.49 1.49 0 0 1 0 2.594zM1.337.924a1.486 1.486 0 0 0-.112.568v21.017c0 .217.045.419.124.6l11.155-11.087L1.337.924zm12.207 10.065l3.258-3.238L3.45.195a1.466 1.466 0 0 0-.946-.179l11.04 10.973zm0 2.067l-11 10.933c.298.036.612-.016.906-.183l13.324-7.54-3.23-3.21z'/%3E%3C/svg%3E")}
.ap-hero .ap-badge:first-child::after{content:"App Store"}
.ap-hero .ap-badge:nth-child(2)::after{content:"Google Play"}
.ap-hero .ap-badge:nth-child(2)::before{width:13px;height:13px}
@media (max-width:767px){
  .ap-hero{gap:10px}
  .ap-hero .ap-badge{gap:6px;height:36px;padding:0 14px;font-size:13px}
}
