/* qy-app-install-page-1 (2026-11-22) - the mobile app's install page: /mobile-app (visitors, layouts.guest-tool) and /app/user/mobile-app
   (members, layouts.app). Everything is scoped to .qai. Palette: plain dark, lime #d1fe17, pink #ff3d8b -> violet #b14dff. Mobile first in
   spirit: under 768px the big Google Play badge, no QR code (a phone cannot scan itself). The phones are CSS frames - no device photos.
   Inside the apps (html.qy-app) the install parts are hidden and the "already in the app" card shows. A new look = a new file name
   (app-install-2.css): this folder is cached by browsers. */
.qai{position:relative;isolation:isolate;container:qai/inline-size;max-width:1180px;margin:0 auto;padding:28px 24px 44px;font-family:Poppins,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#f4f5f7;-webkit-font-smoothing:antialiased;text-align:left}
.qai *,.qai *::before,.qai *::after{box-sizing:border-box}
.qai-guest{padding-top:116px}
.qai-member{padding-top:34px}
.qai a{text-decoration:none}

/* ---- the background: one lime bloom behind the phones, a pink-violet breath at the left, a faint lime grid ---- */
.qai-bg{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%)}   /* fades out at its foot: no edge where the page ends early (the in-app card) */
.qai-bloom{position:absolute;border-radius:50%}
.qai-b1{width:700px;height:700px;right:0;top:40px;background:radial-gradient(closest-side,rgba(209,254,23,.17),rgba(209,254,23,.05) 52%,rgba(209,254,23,0) 100%)}
.qai-b2{width:560px;height:560px;left:0;top:0;background:radial-gradient(closest-side,rgba(255,61,139,.13),rgba(177,77,255,.06) 55%,rgba(177,77,255,0) 100%)}
.qai-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(209,254,23,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(209,254,23,.035) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(55% 45% at 72% 38%,#000 15%,transparent 78%);mask-image:radial-gradient(55% 45% at 72% 38%,#000 15%,transparent 78%)}

/* ---- the hero: the words and the ways to get the app at the left, the two phones at the right ---- */
.qai-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:36px;align-items:center;min-height:600px}
.qai-kick{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 13px;border-radius:999px;border:1px solid rgba(209,254,23,.38);background:rgba(209,254,23,.07);color:#d1fe17;font-size:12.5px;font-weight:700;letter-spacing:.02em}
.qai-kick i{display:block;width:7px;height:7px;border-radius:50%;background:#d1fe17;box-shadow:0 0 10px rgba(209,254,23,.9)}
.qai-h1{margin:18px 0 14px;font-family:inherit;font-size:60px;line-height:1.02;font-weight:800;letter-spacing:-.035em;color:#fff}
.qai-h1 em{display:block;font-style:normal;color:#d1fe17}
.qai-lead{margin:0 0 26px;max-width:520px;font-size:17px;line-height:1.55;color:#c9ccd3}

/* the QR code and Google Play's badge, side by side */
.qai-get{display:flex;align-items:center;gap:22px;max-width:560px;padding:18px 22px 18px 18px;border-radius:22px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));box-shadow:0 24px 60px -36px rgba(0,0,0,.95)}
.qai-qr{flex:0 0 auto;width:168px;height:168px;padding:10px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px rgba(209,254,23,.55),0 0 36px -10px rgba(209,254,23,.55)}
.qai-qr img{display:block;width:148px;height:148px}
.qai-get-r{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.qai-get-t{font-size:17px;font-weight:700;line-height:1.3;color:#fff}
.qai-get-s{font-size:13.5px;line-height:1.45;color:#b9bdc6}
/* Google's badge as Google ships it: unmodified, its own clear space (the transparent padding in the file), its own aspect */
.qai-play{display:inline-block;margin:4px 0 0 -11px;line-height:0;border-radius:12px}
.qai-play img{display:block;height:74px;width:auto;max-width:none}
.qai-play:focus-visible{outline:2px solid #d1fe17;outline-offset:2px}
.qai-get-u{font-size:12.5px;color:#8f939c}

/* the iPhone app: "Coming soon" (the page's id="iphone" is where /get-app sends an iPhone) */
.qai-ios{display:inline-flex;align-items:center;gap:12px;margin-top:16px;padding:11px 16px 11px 13px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);scroll-margin-top:120px}
.qai-ios:target{border-color:rgba(255,61,139,.75);box-shadow:0 0 0 3px rgba(255,61,139,.18)}
.qai-ios-ic svg{display:block;width:26px;height:26px;color:#e9ebef}
.qai-ios-t{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:15px;color:#fff}
.qai-ios-t strong{font-weight:700}
.qai-soon{display:inline-flex;align-items:center;height:24px;padding:0 11px;border-radius:999px;background:linear-gradient(95deg,#ff3d8b,#b14dff);color:#fff;font-size:11.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;box-shadow:0 6px 18px -8px rgba(177,77,255,.9)}
.qai-appstore{display:inline-block;line-height:0}
.qai-appstore img{display:block;height:44px;width:auto}

/* inside the apps: "You're already in the app" instead of the install parts */
.qai-inapp{display:none;align-items:flex-start;gap:14px;max-width:540px;padding:18px 20px;border-radius:18px;border:1px solid rgba(209,254,23,.45);background:rgba(209,254,23,.06)}
html.qy-app .qai .qai-inapp,html.qy-app-ios .qai .qai-inapp,.qai .qai-inapp.qai-inapp-on{display:flex!important}
html.qy-app .qai .qai-web,html.qy-app-ios .qai .qai-web{display:none!important}
/* r2: in either app the page stays neutral - no store, no phones (the iPhone one has its ribbon), no fine print; in the iPhone app the server
   leaves them out altogether (Apple's rule 2.3.10), and these rules are the second guard */
html.qy-app .qai .qai-phones,html.qy-app .qai .qai-fine,html.qy-app-ios .qai .qai-phones,html.qy-app-ios .qai .qai-fine,html.qy-app-ios .qai .qai-tag,html.qy-app-ios .qai .qai-feats{display:none!important}
html.qy-app .qai .qai-hero,html.qy-app-ios .qai .qai-hero,.qai .qai-hero.qai-hero-solo{grid-template-columns:minmax(0,1fr);min-height:0}
.qai-inapp-ic svg{display:block;width:30px;height:30px;color:#d1fe17}
.qai-inapp-t{display:block;font-size:18px;font-weight:700;color:#fff}
.qai-inapp-s{display:block;margin:4px 0 14px;font-size:14px;line-height:1.45;color:#c9ccd3}
.qai-btn{display:inline-flex;align-items:center;height:44px;padding:0 20px;border-radius:12px;background:#d1fe17;color:#0a0b0d!important;-webkit-text-fill-color:#0a0b0d;font-weight:700;font-size:14.5px;box-shadow:0 0 26px -8px rgba(209,254,23,.8)}
.qai-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* ---- the phones: drawn here. Graphite body, a thin light rim, Android's punch-hole camera and side keys, the iPhone's island ---- */
.qai-phones{position:relative;height:620px;width:100%;max-width:560px;margin:0 auto}
.qai-ph{position:absolute;padding:9px;background:linear-gradient(160deg,#30333b 0%,#16181c 34%,#0c0d10 70%,#26282e 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 0 0 1.5px #050607,0 44px 80px -30px rgba(0,0,0,.95)}
.qai-scr{position:relative;width:100%;height:100%;overflow:hidden;background:#0f1113}
.qai-scr img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.qai-ph-a{left:2%;top:18px;width:276px;height:598px;border-radius:42px;z-index:2;transform:rotate(-4deg);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 0 0 1.5px #050607,0 44px 80px -30px rgba(0,0,0,.95),0 0 70px -24px rgba(209,254,23,.45)}
.qai-ph-a .qai-scr{border-radius:34px}
.qai-ph-a::before,.qai-ph-a::after{content:"";position:absolute;right:-3px;width:3px;border-radius:0 2px 2px 0;background:#2b2e35}
.qai-ph-a::before{top:128px;height:62px}
.qai-ph-a::after{top:206px;height:36px}
.qai-cam{position:absolute;top:21px;left:50%;width:11px;height:11px;margin-left:-5.5px;border-radius:50%;background:#050607;box-shadow:0 0 0 2px #1d1f24}
.qai-ph-i{right:1%;top:64px;width:262px;height:568px;border-radius:54px;z-index:1;transform:rotate(5deg)}
.qai-ph-i .qai-scr{border-radius:46px}
.qai-ph-i .qai-scr img{filter:saturate(.8) brightness(.72)}
.qai-island{position:absolute;top:20px;left:50%;width:82px;height:24px;margin-left:-41px;border-radius:14px;background:#000}
.qai-rib{position:absolute;top:58px;right:-54px;width:220px;padding:8px 0;transform:rotate(40deg);text-align:center;background:linear-gradient(95deg,#ff3d8b,#b14dff);color:#fff;font-size:12px;font-weight:800;line-height:1;letter-spacing:.1em;text-transform:uppercase;box-shadow:0 8px 24px -8px rgba(177,77,255,.85)}
.qai-tag{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 13px 0 10px;border-radius:999px;background:rgba(10,11,13,.86);border:1px solid rgba(255,255,255,.14);font-size:12.5px;font-weight:700;color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.qai-tag svg{display:block;width:17px;height:17px}
.qai-tag-a{left:4%;bottom:-6px}
.qai-tag-a svg{color:#d1fe17}
.qai-tag-i{right:6%;bottom:-18px}
.qai-tag-i svg{color:#e9ebef}

/* ---- three short lines about the app ---- */
.qai-feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:64px 0 0}
.qai-feat{padding:20px 20px 22px;border-radius:18px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.03)}
.qai-feat svg{display:block;width:26px;height:26px;margin-bottom:12px;color:#d1fe17}
.qai-feat strong{display:block;margin-bottom:6px;font-size:16px;font-weight:700;color:#fff}
.qai-feat span{display:block;font-size:13.5px;line-height:1.5;color:#b9bdc6}
.qai-fine{margin:34px 0 0;max-width:900px;font-size:11.5px;line-height:1.6;color:#7f838c}
.qai-fine a{color:#a3a7b0;text-decoration:underline}

/* ---- narrower: by the page's OWN width (the dashboard's sidebar takes its share), then phones by the screen ---- */
@container qai (max-width:1130px){
  .qai-h1{font-size:52px}
  .qai-phones{height:580px}
  .qai-ph-a{width:256px;height:555px}
  .qai-ph-i{width:242px;height:525px}
}
@container qai (max-width:1000px){
  .qai-hero{grid-template-columns:minmax(0,1fr);gap:30px;min-height:0}
  .qai-phones{height:620px}
  .qai-ph-a{width:276px;height:598px}
  .qai-ph-i{width:262px;height:568px}
}
@media (max-width:991.98px){
  .qai-hero{grid-template-columns:minmax(0,1fr);gap:30px;min-height:0}
}
@media (max-width:767.98px){
  .qai{padding:18px 16px 118px}
  .qai-guest{padding-top:96px}
  .qai-member{padding-top:22px}
  .qai-h1{margin-top:14px;font-size:40px}
  .qai-lead{margin-bottom:20px;font-size:15.5px}
  .qai-get{display:block;max-width:none;padding:0;border:0;background:none;box-shadow:none}
  .qai-qr,.qai-get-t,.qai-get-s,.qai-get-u{display:none}
  .qai-get-r{align-items:center}
  .qai-play{margin:0 auto}
  .qai-play img{height:86px}
  .qai-ios{display:flex;width:100%;justify-content:center}
  .qai-inapp{max-width:none}
  .qai-phones{height:440px;max-width:380px}
  .qai-ph{padding:7px}
  .qai-ph-a{left:3%;top:8px;width:196px;height:425px;border-radius:32px}
  .qai-ph-a .qai-scr{border-radius:26px}
  .qai-ph-a::before{top:92px;height:44px}
  .qai-ph-a::after{top:148px;height:26px}
  .qai-cam{top:15px;width:8px;height:8px;margin-left:-4px}
  .qai-ph-i{right:3%;top:44px;width:184px;height:399px;border-radius:40px}
  .qai-ph-i .qai-scr{border-radius:34px}
  .qai-island{top:14px;width:58px;height:17px;margin-left:-29px}
  .qai-rib{top:38px;right:-58px;width:186px;padding:6px 0;font-size:10px}
  .qai-tag{height:28px;font-size:11.5px}
  .qai-tag-a{bottom:-4px}
  .qai-tag-i{bottom:-14px}
  .qai-feats{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:40px}
}
@media (max-width:389.98px){
  .qai-h1{font-size:35px}
  .qai-phones{height:400px}
  .qai-ph-a{width:176px;height:381px}
  .qai-ph-i{width:166px;height:360px}
  .qai-play img{height:80px}
}
@media (prefers-reduced-motion:reduce){.qai *{transition:none!important}}
