/* ══════════════════════════════════════════════════════
   ZEXCA — the Mobile app page's own layer
   ══════════════════════════════════════════════════════
   It sits on `about.css` (the editorial scale), which sits on `landing.css`,
   which sits on `dashboard.css`. Colours are the product's tokens only; gold
   is spent on the one thing to press, and everything that informs is quiet.

   ── THE PREFIX IS `mob-` ──
   Checked against every stylesheet this page loads: nothing else uses it.

   ── THE STEPS ARE A RAIL, NOT A LIST OF CARDS ──
   Numbered discs joined by one hairline, so four steps read as one path from
   "open the browser" to "signed in". The number is real order here — each
   step needs the one before it.
   ══════════════════════════════════════════════════════ */

body.mob{
  --mob-card:var(--bg-1);
  --mob-edge:var(--line);
}

/* ══ 01 · HERO ════════════════════════════════════════ */
.mob-hero{
  position:relative;overflow:hidden;
  padding-block:calc(var(--ld-nav-h) + var(--ab-s4)) var(--ab-s3);
}
.mob-hero::before{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(80% 110% at 6% 0%,rgba(232,182,71,.11),transparent 60%),
    radial-gradient(60% 90% at 100% 30%,rgba(127,180,212,.07),transparent 62%);
}
.mob-hero::after{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:
    linear-gradient(to right,rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:72px 72px;
  -webkit-mask-image:linear-gradient(to bottom,#000,transparent 85%);
  mask-image:linear-gradient(to bottom,#000,transparent 85%);
}
.mob-hero-in{
  position:relative;z-index:1;
  display:grid;gap:var(--ab-s3);align-items:center;
}
@media(min-width:960px){
  .mob-hero-in{grid-template-columns:minmax(0,1fr) 320px;gap:72px;}
}
html[lang="fa"] .mob .ab-eyebrow,html[lang="ar"] .mob .ab-eyebrow{
  letter-spacing:0;text-transform:none;font-family:var(--f-body);font-size:13px;
}
.mob-h1{font-size:clamp(40px,6.4vw,80px);margin-bottom:0;}
.mob-hero .ab-lead{max-width:52ch;margin-top:var(--ab-s1);}

.mob-cta{margin-top:var(--ab-s2);}
.mob-cta .ic{width:18px;height:18px;}

.mob-facts{
  display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:22px;
  font-size:13.5px;color:var(--fg-3);
}
.mob-facts li{display:inline-flex;align-items:center;gap:7px;}
.mob-facts .ic{width:14px;height:14px;color:var(--up);stroke-width:2.2;}

/* The two notes the script may raise above the buttons. */
.mob-flag{
  display:flex;gap:12px;align-items:flex-start;
  margin-top:var(--ab-s2);padding:14px 16px;border-radius:12px;
  background:var(--warn-pale);border:1px solid var(--warn-line);
  font-size:14px;line-height:1.55;color:var(--fg-2);max-width:56ch;
}
.mob-flag[hidden]{display:none;}
.mob-flag > .ic{width:20px;height:20px;color:var(--warn);margin-top:1px;}
.mob-flag > div{display:flex;flex-direction:column;gap:4px;align-items:flex-start;}
.mob-flag b{color:var(--fg);font-weight:600;}
.mob-flag .btn-ghost{margin-top:8px;}
.mob-flag.ok{background:var(--up-pale);border-color:var(--up-line);}
.mob-flag.ok > .ic{color:var(--up);}

/* ── The QR card: a computer's way across to a phone ── */
.mob-qr{
  display:none;
  flex-direction:column;align-items:center;gap:18px;text-align:center;
  padding:26px 24px 22px;border-radius:20px;
  background:linear-gradient(180deg,var(--bg-2),var(--bg-1));
  border:1px solid var(--mob-edge);
  box-shadow:0 30px 60px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.04);
}
@media(min-width:960px) and (hover:hover){ .mob-qr{display:flex;} }
/* White plate, dark modules: an inverted code is the one a phone camera is
   most likely to refuse. */
.mob-qr-plate{
  width:208px;height:208px;padding:12px;border-radius:14px;background:#fff;
  box-shadow:0 0 0 1px var(--gold-line),0 0 40px var(--gold-glow);
}
.mob-qr-plate svg{display:block;width:100%;height:100%;}
.mob-qr-t{display:flex;flex-direction:column;gap:6px;font-size:13.5px;line-height:1.5;color:var(--fg-3);}
.mob-qr-t b{font-size:15px;color:var(--fg);font-weight:600;}
.mob-qr-url{font-size:11.5px;color:var(--fg-3);opacity:.8;direction:ltr;}

/* ══ 02 · THE STEPS ═══════════════════════════════════ */
.mob-steps-sec{padding-block:var(--ab-s2) var(--ab-s4);}
.mob-grid{display:grid;gap:20px;align-items:start;}
@media(min-width:880px){ .mob-grid{grid-template-columns:1fr 1fr;gap:24px;} }

.mob-card{
  position:relative;
  padding:clamp(22px,3vw,32px);border-radius:20px;
  background:var(--mob-card);border:1px solid var(--mob-edge);
  scroll-margin-top:calc(var(--ld-nav-h) + 16px);
  transition:border-color .3s,box-shadow .3s;
}
/* The reader's own phone, when the script can tell which it is. */
.mob-card.is-yours{
  border-color:var(--gold-line);
  box-shadow:0 0 0 1px var(--gold-line),0 24px 60px rgba(0,0,0,.35);
}
.mob-card:target{border-color:var(--gold-line);}

.mob-card-h{display:flex;align-items:center;gap:14px;margin-bottom:22px;}
.mob-card-h > div{flex:1;min-width:0;}
.mob-card-h h2{
  font-family:var(--f-display);font-weight:700;font-size:clamp(20px,2.2vw,24px);
  color:var(--fg);letter-spacing:-.01em;
}
.mob-card-h p{font-size:13.5px;color:var(--fg-3);margin-top:3px;}
.mob-badge{
  width:52px;height:52px;border-radius:14px;flex-shrink:0;
  display:grid;place-items:center;
}
.mob-badge .ic{width:24px;height:24px;stroke-width:1.7;}
.mob-badge.and{background:var(--up-pale);border:1px solid var(--up-line);color:var(--up);}
.mob-badge.ios{background:var(--info-pale);border:1px solid var(--info-line);color:var(--info);}
.mob-yours{
  font-family:var(--f-mono);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gold);padding:5px 9px;border-radius:999px;
  background:var(--gold-pale);border:1px solid var(--gold-line);white-space:nowrap;
}
.mob-yours[hidden]{display:none;}
html[lang="fa"] .mob-yours,html[lang="ar"] .mob-yours{letter-spacing:0;font-family:var(--f-body);}

.mob-card-btn{width:100%;}
.mob-card-btn .ic{width:18px;height:18px;}
.mob-card-meta{text-align:center;font-size:12.5px;color:var(--fg-3);margin-top:10px;}

/* The rail: a disc per step, one hairline through all of them. */
.mob-steps{list-style:none;margin-top:26px;display:flex;flex-direction:column;}
.mob-card .mob-card-h + .mob-steps{margin-top:4px;}
.mob-steps li{position:relative;display:flex;gap:16px;padding-bottom:22px;}
.mob-steps li:last-child{padding-bottom:0;}
.mob-steps li::before{
  content:'';position:absolute;top:40px;bottom:2px;inset-inline-start:19.5px;
  width:1px;background:linear-gradient(var(--gold-line),var(--line));
}
.mob-steps li:last-child::before{display:none;}
.mob-n{
  width:40px;height:40px;border-radius:50%;flex-shrink:0;
  display:grid;place-items:center;font-size:14px;font-weight:600;color:var(--gold-lt);
  background:var(--bg-0);border:1px solid var(--gold-line);
  position:relative;z-index:1;
}
.mob-steps h3{
  display:flex;align-items:center;gap:9px;
  font-size:16.5px;font-weight:600;color:var(--fg);line-height:1.35;padding-top:9px;
}
.mob-steps h3 .ic{width:18px;height:18px;color:var(--gold);}
.mob-steps p{font-size:14.5px;line-height:1.65;color:var(--fg-2);margin-top:5px;max-width:46ch;}

/* ══ 03 · HELP ════════════════════════════════════════ */
.mob-help-sec{padding-block:0 var(--ab-s4);}
.mob-help{
  display:flex;gap:16px;align-items:flex-start;
  padding:clamp(20px,3vw,28px);border-radius:18px;
  background:var(--info-pale);border:1px solid var(--info-line);
}
.mob-help-ic{
  width:40px;height:40px;border-radius:12px;flex-shrink:0;display:grid;place-items:center;
  background:var(--bg-1);border:1px solid var(--info-line);color:var(--info);
}
.mob-help-ic .ic{width:20px;height:20px;}
.mob-help-b{display:flex;flex-direction:column;gap:8px;align-items:flex-start;}
.mob-help-b h2{font-size:17px;font-weight:600;color:var(--fg);line-height:1.4;}
.mob-help-b p{font-size:14.5px;line-height:1.65;color:var(--fg-2);max-width:68ch;}
.mob-help-b .btn-ghost{margin-top:6px;}

.mob-why{
  display:grid;gap:12px;margin-top:20px;
}
@media(min-width:720px){ .mob-why{grid-template-columns:repeat(3,1fr);gap:16px;} }
.mob-why li{
  display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:2px;align-items:center;
  padding:16px 18px;border-radius:14px;border:1px solid var(--line-2);
}
.mob-why .ic{grid-row:span 2;width:20px;height:20px;color:var(--gold);}
.mob-why b{font-size:14.5px;color:var(--fg);font-weight:600;}
.mob-why span{font-size:13.5px;color:var(--fg-3);}

/* A copied link says so, in place, for a moment. */
[data-copy].is-done{border-color:var(--up-line);color:var(--up);}

/* ══ PHONES ═══════════════════════════════════════════ */
@media(max-width:560px){
  .mob-hero{padding-block:calc(var(--ld-nav-h) + 36px) 28px;}
  .mob-cta{flex-direction:column;align-items:stretch;}
  .mob-cta .ld-btn-lg{width:100%;}
  .mob-steps h3{font-size:15.5px;}
  .mob-steps p{font-size:14px;}
  .mob-steps li{gap:14px;}
}
