/* Download: the download block left; right, a rehearsal of Android's install pop-ups on a phone (stock Android look,
   not Bisro's colours, so it reads as "what your phone will show"). */

.dw-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px 6vw; align-items: start; padding-top: 140px; padding-bottom: clamp(60px, 9vh, 110px) }
.dw-get .h-xl { max-width: 11ch }
.dw-btn { margin-top: 30px }
.dw-facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px }
.dw-facts li { position: relative; padding-left: 26px; font-size: 16.5px; color: var(--ink) }
.dw-facts li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--teal); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat }
.dw-qr { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border); max-width: 30em }
.dw-qr img { flex: none; border-radius: 12px; border: 1px solid var(--border); background: #fff; padding: 6px }
.dw-qr span { font-size: 15.5px; color: var(--muted) }

/* rehearsal */
.dw-rh { padding: 30px; border-radius: 28px; background: #fff; border: 1px solid var(--border); box-shadow: 0 50px 90px -70px rgba(31,35,40,.5) }
.dw-rh-h { margin: 0; font: 800 clamp(24px, 2vw, 30px)/1.15 var(--font); letter-spacing: -0.02em }
.dw-rh-p { margin: 8px 0 22px; color: var(--muted); font-size: 16px }
.dw-stage { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 26px; align-items: center }
.dw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: d }
.dw-list li { counter-increment: d; position: relative; padding: 10px 10px 10px 42px; border-radius: 12px; transition: background .2s }
.dw-list li::before { content: counter(d); position: absolute; left: 8px; top: 10px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border); font-size: 12.5px; font-weight: 700; color: var(--faint) }
.dw-list b { display: block; font-size: 15px; color: var(--muted); font-weight: 600 } .dw-list span { display: none; font-size: 14.5px; color: var(--link); font-weight: 700; margin-top: 2px }
.dw-list .on { background: var(--sky-light) } .dw-list .on b { color: var(--ink) } .dw-list .on span { display: block }
.dw-list .on::before { background: var(--ink); border-color: var(--ink); color: #fff }
.dw-list .done::before { content: ""; background: var(--teal); border-color: var(--teal); -webkit-mask: none; mask: none }
.dw-list .done::after { content: ""; position: absolute; left: 14px; top: 16px; width: 12px; height: 12px; background: #fff; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat }

.dw-phone { width: 236px; height: 480px; padding: 10px; border-radius: 38px; background: var(--ink); box-shadow: inset 0 0 0 2px #3A4048 }
.dw-scr { position: relative; height: 100%; overflow: hidden; border-radius: 29px; background: linear-gradient(180deg, #E9EEF3, #D9E0E8); font-family: Roboto, system-ui, sans-serif; color: #1B1C1E }
.dw-pop { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; background: rgba(20,22,26,.32) }
.dw-pop.is-set, .dw-pop.dw-end { background: #fff; place-items: stretch }
.dw-dlg { width: 100%; padding: 18px 16px 12px; border-radius: 22px; background: #F4F6F9; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4) }
.dw-end .dw-dlg { align-self: center; background: none; box-shadow: none; text-align: center }
.dw-t { display: flex; align-items: center; gap: 9px; font-size: 17px; margin-bottom: 8px } .dw-logo { border-radius: 7px }
.dw-dlg p { margin: 0; font-size: 13.5px; line-height: 1.45; color: #44474E; overflow-wrap: anywhere }
.dw-acts { display: flex; justify-content: flex-end; gap: 6px; margin-top: 14px }
.dw-acts span, .dw-acts button { padding: 9px 10px; border-radius: 99px; font: 600 13.5px/1 Roboto, system-ui, sans-serif; color: #2C5A8C }
.dw-acts button { all: unset; box-sizing: border-box; cursor: pointer; padding: 9px 12px; border-radius: 99px; font: 700 13.5px/1 Roboto, system-ui, sans-serif; color: #0B57D0 }
[data-adv] { animation: dw-ping 1.6s ease-out infinite } [data-adv]:hover { background: rgba(11,87,208,.08) }
[data-adv]:focus-visible { outline: 3px solid var(--sky-dark); outline-offset: 2px }
@keyframes dw-ping { 0% { box-shadow: 0 0 0 0 rgba(56,189,248,.65) } 70%, 100% { box-shadow: 0 0 0 12px rgba(56,189,248,0) } }
.dw-set { padding: 30px 6px 0 } .dw-bar { font-size: 16px; font-weight: 600; padding-bottom: 16px }
.dw-app { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #E3E6EA; font-size: 14px } .dw-app i { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(#EA4335 0 33%, #FBBC05 0 66%, #34A853 0) }
.dw-row { all: unset; box-sizing: border-box; cursor: pointer; display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; padding: 14px 8px; border-radius: 14px; font-size: 14px }
.dw-sw { flex: none; position: relative; width: 40px; height: 22px; border-radius: 99px; background: #B8C2CE; transition: background .25s }
.dw-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s }
.dw-row[aria-checked="true"] .dw-sw { background: #0B57D0 } .dw-row[aria-checked="true"] .dw-sw::after { transform: translateX(18px) }
.dw-more { margin: 14px 0 16px !important; font-size: 14.5px }
.js-dw .dw-pop { visibility: hidden; opacity: 0; transform: scale(.96); transition: opacity .25s, transform .25s, visibility 0s .25s }
.js-dw .dw-pop.show { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s }

/* without JS: no phone, the pop-ups' steps read as a list */
.dw-rh:not(.js-dw) .dw-phone { display: none } .dw-rh:not(.js-dw) .dw-stage { grid-template-columns: 1fr } .dw-rh:not(.js-dw) .dw-list span { display: block }

.dw-faq { padding-bottom: clamp(70px, 11vh, 130px) } .dw-faq .h-l { margin-bottom: 14px }

@media (max-width: 980px) {
  .dw-top { grid-template-columns: 1fr; padding-top: 110px }
  .dw-rh { padding: 22px 18px }
  .dw-stage { grid-template-columns: 1fr; justify-items: center } .dw-list { width: 100% }
  .dw-list li:not(.on) { display: none }
}
@media (prefers-reduced-motion: reduce) { [data-adv] { animation: none; box-shadow: 0 0 0 3px rgba(56,189,248,.7) } .js-dw .dw-pop, .dw-sw, .dw-sw::after { transition: none } }
.dw-nojs { margin: 12px 0 0; font-size: 15.5px } .dw-nojs a { color: var(--link); font-weight: 700 }
