/* /get, /pair and /mobile alone: one phone's install steps, the QR a computer
   sees, the platforms. A phone-width column, left aligned. */
.sprite { position:absolute; }
.phone { max-width:520px; padding:40px 18px 10px; font-size:17px; }
.phone a { color:var(--link); }
.phone a:hover { color:var(--link-hover); }
.phone h1 { font-size:clamp(28px,8vw,38px); letter-spacing:-0.03em; line-height:1.15; margin:0; max-width:none; text-align:left; text-wrap:wrap; }
.phone .lede { font-size:inherit; text-align:left; max-width:none; margin:10px 0 0; text-wrap:wrap; }
.phone .lede + .lede { margin-top:2px; }
/* /pair (a pairing code read by the camera): install, then scan again. */
.lede-pair, :root[data-pair] .lede-get { display:none; }
:root[data-pair] .lede-pair { display:block; }

/* One OS's steps. Both show when the script could not tell (or is off). */
.phone section { padding:0; }
.os { margin-top:28px; }
.os-name { display:flex; align-items:center; gap:9px; font-size:15px; font-weight:700; letter-spacing:0; line-height:inherit; color:var(--muted); }
.os-name svg { width:20px; height:20px; fill:currentColor; flex:none; }
ol.steps { list-style:none; padding:0; margin-top:12px; counter-reset:step; }
ol.steps li { counter-increment:step; margin-top:12px; }
.phone .step { display:flex; align-items:center; gap:16px; min-height:72px; padding:14px 18px; border-radius:16px;
               background:var(--accent); color:var(--accent-ink); box-shadow:0 6px 22px rgba(198,133,26,.22); }
.phone .step:hover { background:#d8952a; color:var(--accent-ink); }
.step:active { transform:translateY(1px); }
.step::before { content:counter(step); flex:none; width:36px; height:36px; border-radius:50%; display:grid; place-items:center;
                background:rgba(255,255,255,.22); font-weight:800; font-size:18px; }
.step-txt { display:block; }
.step-do { display:block; font-size:19px; font-weight:800; line-height:1.25; }
.step-why { display:block; font-size:14px; font-weight:600; opacity:.8; }
.phone ol.steps li + li .step { background:var(--card2); color:var(--text); border:1px solid var(--line); box-shadow:none; }
ol.steps li + li .step::before { background:var(--chip); color:var(--accent); }

.swap { margin-top:22px; font-size:15px; }
.swap button { background:none; border:none; padding:0; font:inherit; color:var(--link); cursor:pointer; }
.swap button:hover { color:var(--link-hover); }
/* A computer on /mobile (get-pick.js: data-device="desktop"): the QR card. */
.qr-card, .t-desktop { display:none; }
:root[data-device="desktop"] .qr-card { display:flex; }
:root[data-device="desktop"] .t-desktop { display:inline; }
:root[data-device="desktop"] .t-phone { display:none; }
.qr-card { flex-direction:column; align-items:center; text-align:center; margin-top:28px; padding:26px 22px 22px;
           border:1px solid var(--line); border-radius:20px; background:var(--card); }
.qr { background:#fff; padding:14px; border-radius:14px; line-height:0; }
.qr-svg { width:200px; height:200px; display:block; }
.qr-title { margin-top:16px; font-size:19px; font-weight:800; }
ol.qr-steps { list-style:none; padding:0; margin-top:12px; counter-reset:q; text-align:left; }
ol.qr-steps li { counter-increment:q; display:flex; align-items:center; gap:12px; margin-top:10px; font-size:16px; }
ol.qr-steps li::before { content:counter(q); flex:none; width:30px; height:30px; border-radius:50%; display:grid; place-items:center;
                         background:var(--accent); color:var(--accent-ink); font-weight:800; font-size:15px; }
/* A computer sees only the QR; the iOS/Android links below it bring one OS's steps back. */
:root[data-device="desktop"][data-os="both"] .os { display:none; }

/* Every platform, as in the apps' Add a device sheet. */
.phone .avail { margin-top:36px; padding-top:22px; border-top:1px solid var(--line); text-align:center; }
.avail-h { font-size:15px; font-weight:600; letter-spacing:0; line-height:inherit; color:var(--muted); }
.avail-row { display:flex; justify-content:center; flex-wrap:wrap; gap:6px 2px; margin-top:12px; }
.phone .avail-row a { display:flex; flex-direction:column; align-items:center; gap:6px; min-width:62px; padding:8px 2px;
                      border-radius:12px; color:var(--text); font-size:14px; font-weight:600; }
.phone .avail-row a:hover { background:var(--card2); color:var(--text); }
.avail-row svg { width:30px; height:30px; fill:currentColor; }
.avail-all { margin-top:10px; font-size:14px; color:var(--muted); }

/* The pick (site/js/get-pick.js): one OS, one title. */
.t-iphone, .t-ipad, .t-android { display:none; }
:root[data-device="iphone"] .t-iphone, :root[data-device="ipad"] .t-ipad, :root[data-device="android"] .t-android { display:inline; }
:root[data-device="iphone"] .t-phone, :root[data-device="ipad"] .t-phone, :root[data-device="android"] .t-phone { display:none; }
:root[data-os="ios"] #android, :root[data-os="android"] #ios { display:none; }
:root[data-os="ios"] .swap-ios, :root[data-os="android"] .swap-android { display:none; }
.swap { display:none; }
:root[data-os="ios"] .swap, :root[data-os="android"] .swap { display:block; }
