/* get.css: owned by P4 (download, iphone, login, signup). Page-only CSS. Uses the tokens and components in /site.css. */

/* ---------- Shared bits ---------- */
.gi{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.badge{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:2px 12px;border-radius:var(--r-pill);background:var(--accent-soft);color:var(--accent-ink);font-size:14px;font-weight:600;line-height:1.2;letter-spacing:0;white-space:nowrap}
.code-url{font-weight:700;color:var(--text);letter-spacing:-.01em;white-space:nowrap}
.get-hero .head{max-width:820px}
.get-hero h1{max-width:14ch;margin-inline:auto}
.get-hero .callout{margin-top:20px}

/* Device banner (iPhone page) */
.banner{display:flex;align-items:center;gap:14px;max-width:560px;margin:28px auto 0;padding:14px 18px;border-radius:var(--r-md);background:var(--bg-alt);color:var(--text);font-size:15px;font-weight:500;line-height:1.4;text-align:left}
.banner .gi{color:var(--accent-ink)}
.banner a{color:var(--accent-ink);font-weight:600}
.banner a:hover{text-decoration:underline}
.banner--browser,.banner--safari{display:none}
html[data-device="ios"].ios-other .banner--browser{display:flex}
html[data-device="ios"]:not(.ios-other) .banner--safari{display:flex}

/* ---------- Download ---------- */
.dl-photo{max-width:920px;margin:var(--s-10) auto 0}
.dl-photo .photo-card__img{--ar:3/2;--op:50% 35%}
@media (max-width:734px){.dl-photo .photo-card__img{--ar:4/3}}
.dcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:var(--s-9)}
@media (max-width:1068px){.dcards{grid-template-columns:minmax(0,1fr)}}
.dcard{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:36px 32px 32px;border-radius:var(--r-lg);background:var(--card-bg);scroll-margin-top:calc(var(--nav-h) + 24px)}
.dcard__top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.dcard__ico{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--accent-soft);color:var(--accent-ink)}
.dcard__ico .gi{width:28px;height:28px}
.dcard h3{font-size:26px;line-height:1.15}
.dcard p{color:var(--text-2)}
.dcard__foot{margin-top:auto;padding-top:12px;display:grid;gap:12px;width:100%}
.apk-spec{font-size:14px;color:var(--text-2);line-height:1.5;word-break:break-all}
.apk-spec code{font:500 14px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}
.dcard .you{display:none}
html[data-device="ios"] .dcard--ios .you,html[data-device="android"] .dcard--android .you,html[data-device="desktop"] .dcard--web .you{display:inline-flex}
html[data-device="ios"] .dcard--ios,html[data-device="android"] .dcard--android,html[data-device="desktop"] .dcard--web{box-shadow:inset 0 0 0 2px var(--accent)}
@media (min-width:1069px){.dcard{min-height:400px}}
@media (max-width:734px){.dcard{padding:28px 24px 24px}}
.same{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:var(--s-8)}
.same span{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px;border-radius:var(--r-pill);background:var(--bg-alt);font-weight:600}
.same .gi{width:20px;height:20px;color:var(--accent-ink)}
.faq-wrap{max-width:820px;margin-inline:auto}
.faq-wrap .head{margin-bottom:var(--s-8)}
.faq-wrap .more{margin-top:16px}

/* ---------- iPhone ---------- */
.ip-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:var(--s-10);align-items:center}
.ip-hero h1{max-width:11ch}
.ip-hero .banner{margin-inline:0}
.ip-hero__media{position:relative;isolation:isolate;display:flex;justify-content:center;padding-block:40px}
.ip-hero__media::before{content:"";position:absolute;inset:0 4%;border-radius:40px;background:var(--beige);z-index:-1}
.ip-hero__media .phone{--phone-w:290px}
@media (max-width:833px){
  .ip-hero{grid-template-columns:minmax(0,1fr);gap:var(--s-9)}
  .ip-hero .head{text-align:center;margin-inline:auto}
  .ip-hero h1{margin-inline:auto}
  .ip-hero .ctas{justify-content:center}
  .ip-hero .banner{margin-inline:auto}
  .ip-hero__media .phone{--phone-w:240px}
}
.step-n{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--pill);color:var(--pill-ink);font-weight:700;font-size:17px;transition:background-color var(--d-swap) var(--ease),color var(--d-swap) var(--ease)}
html.js .story__step:not(.is-active) .step-n{background:var(--hair);color:var(--text-2)}
.step-tip{display:flex;gap:10px;align-items:flex-start;max-width:40ch;padding:12px 14px;border-radius:var(--r-sm);background:var(--card-on-alt);font-size:15px;color:var(--text-2)}
.step-tip .gi{width:20px;height:20px;color:var(--accent-ink);margin-top:1px}
.story__static .phone{--phone-w:220px;margin-inline:0}
@media (prefers-reduced-motion:reduce){html.js .story__step:not(.is-active) .step-n{background:var(--pill);color:var(--pill-ink)}}
@media (max-width:734px){.ip-story .story__step p{font-size:16px}}

/* Mock iPhone screens (drawn in HTML, not Apple screenshots) */
.ms{position:absolute;inset:0;display:flex;flex-direction:column;background:var(--bg);color:var(--text);font-size:14px;line-height:1.3}
.ms__page{flex:1;display:flex;flex-direction:column;padding:52px 16px 14px;background:linear-gradient(160deg,var(--accent-soft),var(--bg) 55%)}
.ms__page b{font-size:22px;letter-spacing:-.02em;line-height:1.1}
.ms__page>span{margin-top:6px;color:var(--text-2)}
.ms__btns{margin-top:auto;display:grid;gap:8px}
.ms__btn{display:flex;align-items:center;justify-content:center;gap:6px;height:38px;border-radius:19px;background:#0B6F7A;color:#fff;font-weight:700}
.ms__btn--g{background:var(--bg);color:var(--text);box-shadow:inset 0 0 0 1px var(--hair)}
.ms__btn--g i{width:14px;height:14px;border-radius:50%;background:conic-gradient(#EA4335 0 25%,#FBBC05 0 50%,#34A853 0 75%,#4285F4 0)}
.ms__bar{padding:8px 10px 14px;background:var(--bg-alt);border-top:1px solid var(--hair)}
.ms__url{display:flex;align-items:center;justify-content:center;gap:6px;height:34px;border-radius:12px;background:var(--bg);font-weight:600}
.ms__url .gi{width:14px;height:14px;color:var(--text-2)}
.ms__tools{display:flex;justify-content:space-around;align-items:center;padding-top:6px;color:var(--accent-ink)}
.ms__tools .gi{width:22px;height:22px}
.ms__tools span{position:relative;display:grid;place-items:center;width:36px;height:36px;border-radius:50%}
.ms__tools .is-hl{background:var(--accent);color:#00262B}
.is-hl::after{content:"";position:absolute;inset:-6px;border-radius:inherit;box-shadow:0 0 0 3px var(--accent);opacity:0;pointer-events:none}
@media (prefers-reduced-motion:no-preference){.is-active .is-hl::after,.ip-hero .is-hl::after{animation:ring 1.8s var(--ease-out) infinite}}
@keyframes ring{0%{opacity:.9;transform:scale(.85)}100%{opacity:0;transform:scale(1.2)}}
.ms--sheet .ms__page,.ms--sheet .ms__bar{opacity:.4}
.ss{position:absolute;left:0;right:0;bottom:0;padding:10px 10px 18px;border-radius:22px 22px 0 0;background:var(--bg-alt);box-shadow:0 -12px 30px -12px rgba(0,0,0,.3)}
.ss::before{content:"";display:block;width:36px;height:5px;margin:0 auto 10px;border-radius:3px;background:var(--hair)}
.ss__app{display:flex;align-items:center;gap:10px;padding:2px 6px 12px;font-weight:600}
.ss__app img{width:36px;height:36px;border-radius:9px}
.ss__app small{display:block;color:var(--text-2);font-size:14px;font-weight:400}
.ss__list{border-radius:14px;background:var(--bg)}
.ss__row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:0 12px;border-top:1px solid var(--hair)}
.ss__row:first-child{border-top:0}
.ss__row .gi{width:18px;height:18px}
.ss__row.is-hl{background:var(--accent-soft);color:var(--accent-ink);font-weight:700;border-radius:10px}
.hs{position:absolute;inset:0;padding:60px 16px 20px;background:linear-gradient(170deg,#0B6F7A,#2BC4D6 55%,#F4EFE6);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:16px 12px}
.hs__app{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;border-radius:14px}
.hs__app i{display:block;width:100%;aspect-ratio:1;border-radius:24%;background:rgba(255,255,255,.28)}
.hs__app img{width:100%;height:auto;aspect-ratio:1;border-radius:24%;box-shadow:0 6px 14px -6px rgba(0,0,0,.4)}
.hs__app b{font-size:14px;font-weight:600;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.5)}
.hs__app.is-hl::after{inset:-5px -5px 17px;border-radius:30%;box-shadow:0 0 0 3px #fff}
.hs__dock{position:absolute;left:10px;right:10px;bottom:12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:10px;border-radius:24px;background:rgba(255,255,255,.3)}
.hs__dock i{aspect-ratio:1;border-radius:24%;background:rgba(255,255,255,.45)}
.expect{margin-top:var(--s-9)}
.expect .dcard__ico{width:48px;height:48px;border-radius:var(--r-sm)}
.expect a{color:var(--accent-ink);font-weight:600}

/* ---------- Log in and Sign up ---------- */
.page-login,.page-signup{background:var(--bg-alt)}
.auth{position:relative;isolation:isolate;overflow:hidden;min-height:calc(100vh - var(--nav-h) - 76px);min-height:calc(100svh - var(--nav-h) - 76px);display:grid;place-items:center;padding:40px var(--gutter) 64px;background:var(--bg-alt)}
.auth__bg{position:absolute;inset:-40px;z-index:-2;display:grid;grid-template-columns:440px minmax(0,1fr);filter:blur(7px) saturate(1.15);opacity:.9;pointer-events:none;user-select:none}
.auth::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 32% 48% at 50% 50%,var(--bg-alt) 20%,transparent 100%)}
.mk-list{background:var(--bg);padding:104px 24px 24px 72px;box-shadow:inset -1px 0 0 var(--hair);display:flex;flex-direction:column;gap:4px}
.mk-list>b{font-size:30px;letter-spacing:-.02em;margin:0 0 14px}
.mk-row{display:flex;align-items:center;gap:12px;padding:10px 4px}
.mk-row .av{width:50px;height:50px;font-size:17px}
.mk-row span>b{display:block;font-size:16px}
.mk-row span>span{display:block;color:var(--text-2);font-size:14px}
.mk-chat{display:flex;flex-direction:column;justify-content:flex-end;gap:12px;padding:96px 10% 140px;background:var(--beige)}
.mk-chat .msg{font-size:17px;padding:12px 16px;max-width:420px}
@media (max-width:734px){.auth__bg{grid-template-columns:minmax(0,1fr)}.mk-chat{display:none}}
.auth__card{width:100%;max-width:460px;padding:44px 36px 30px;border-radius:var(--r-lg);background:var(--bg);box-shadow:0 0 0 1px var(--hair),0 30px 60px -30px rgba(0,0,0,.35);text-align:center}
@media (max-width:734px){.auth{padding-top:24px}.auth__card{padding:32px 20px 24px}}
.auth__logo{width:64px;height:64px;margin:0 auto 20px;border-radius:16px}
.auth__card h1{font-size:clamp(30px,4.4vw,40px);line-height:1.1;letter-spacing:-.025em}
.auth__card .lead{margin:10px auto 0;font-size:17px}
.auth__card .btn--lg{width:100%;margin-top:28px}
.auth__how{margin-top:14px;font-size:14px;color:var(--text-2)}
.auth__or{display:flex;align-items:center;gap:12px;margin:24px 0 14px;color:var(--text-2);font-size:14px}
.auth__or::before,.auth__or::after{content:"";flex:1;height:1px;background:var(--hair)}
.auth__alt{display:grid;gap:8px;font-size:15px;color:var(--text-2);text-align:left}
.auth__alt>div{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:var(--r-sm);background:var(--bg-alt);min-height:56px}
.auth__alt>div>div{flex:1;min-width:0}
.auth__alt .gi{width:22px;height:22px;color:var(--accent-ink)}
.auth__alt a:not(.btn){color:var(--accent-ink);font-weight:600}
.auth__alt a:not(.btn):hover{text-decoration:underline}
.auth__alt .apk-empty{max-width:none;font-size:15px}
.auth__alt .btn{margin-top:6px}
.auth__switch{margin-top:16px;font-size:15px;color:var(--text-2)}
.auth__terms{margin-top:4px;font-size:14px;color:var(--text-2)}
.auth__terms a{color:var(--accent-ink);font-weight:600;}
.auth__terms a:hover{text-decoration:underline}
.steps-mini{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;counter-reset:s}
.steps-mini li{counter-increment:s;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 8px;border-radius:var(--r-sm);background:var(--bg-alt);font-size:14px;font-weight:500;line-height:1.35;color:var(--text)}
.steps-mini li::before{content:counter(s);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);font-weight:700;font-size:14px}
@media (max-width:380px){.steps-mini{grid-template-columns:minmax(0,1fr)}.steps-mini li{flex-direction:row;text-align:left;padding:10px 12px}}
.btn .gi,.eyebrow .gi{width:18px;height:18px}
@media (max-width:734px){.dl-photo .bubble--tr{top:-14px}.dl-photo .bubble--bl{bottom:-10px}}
.ms__btn{white-space:nowrap;font-weight:600;letter-spacing:-.02em}
@media (max-width:833px){.ip-hero__media .phone{--phone-w:210px}.ip-hero__media{padding-block:28px}}
.ss__row{white-space:nowrap;letter-spacing:-.015em}
@media (max-width:734px){.ss{padding:8px 6px 14px}.ss__row{padding:0 8px;gap:4px}.ss__row .gi{width:16px;height:16px}}
.mk-chat .msg--in{background:var(--accent-soft);color:var(--text)}
.auth__alt a:not(.btn){padding-block:3px}
/* iPhone steps on a phone: the pinned phone was squeezed into under half the
   screen, its Safari bar (the Share button) cut off and every icon in it tiny.
   Here each step shows its own whole phone, big enough to read, above its words. */
@media (max-width:734px){
  .ip-story .story__media{display:none}
  .ip-story .story__static{display:block;margin-bottom:22px}
  .ip-story .story__static .phone{--phone-w:min(290px,78vw);aspect-ratio:9/19.5;height:auto;margin-inline:auto}
  .ip-story .story__step{min-height:0;padding-block:32px}
  html.js .ip-story .story__step:not(.is-active) :is(h3,p){color:var(--text)}
  html.js .ip-story .story__step:not(.is-active) .step-n{background:var(--pill);color:var(--pill-ink)}
  .ip-story .ms{font-size:15px}
  .ip-story .ms__url{height:40px;font-size:15px}
  .ip-story .ms__url .gi{width:16px;height:16px}
  .ip-story .ms__tools span{width:44px;height:44px}
  .ip-story .ms__tools .gi{width:27px;height:27px}
  .ip-story .ss__row{font-size:15px;padding:0 12px;gap:8px}
  .ip-story .ss__row .gi{width:22px;height:22px}
  .ip-story .step-tip{font-size:16px;align-items:center}
  .ip-story .step-tip .gi{width:30px;height:30px;flex:none;margin-top:0}
}
