/* Mobile apps service page. Scoped to .mobile-apps-page; colors come from the shared shell tokens. */
.mobile-apps-page main { position:relative;z-index:1;overflow-wrap:break-word; }
.mobile-apps-page main h1,.mobile-apps-page main h2,.mobile-apps-page main h3 { font-weight:400; }

/* The page headline reads from the left edge, with its eyebrow, intro and actions in the same column; section headings below stay centred. */
.mob-hero { padding-block:var(--page-space) clamp(3rem,5vw,4.5rem);display:flex;flex-direction:column;align-items:flex-start; }
.mob-hero h1 { max-width:min(100%,16ch);font-size:clamp(2.75rem,1.4rem + 6vw,7rem);line-height:1.02;letter-spacing:-.055em;margin:1.25rem 0 0; }
.mob-hero .intro { margin:1.5rem 0 0;color:var(--muted); }
.mob-actions { display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.75rem;margin-top:2.25rem; }
.mob-actions > a:not(.action),.mob-cta-actions > a:not(.action) { display:inline-flex;align-items:center;min-height:44px; }

.mob-heading { margin-bottom:clamp(1.5rem,3vw,2.25rem); }
.mob-heading h2,.mob-cta h2 { font-size:var(--type-section);margin:.75rem 0 0;max-width:20ch; }
.mob-heading > p:not(.eyebrow) { margin:1rem 0 0;color:var(--muted);max-width:52ch;font-size:1.125rem; }
.mob-deliver,.mob-case,.mob-work { padding-block:clamp(3rem,5vw,4.5rem);border-top:1px solid var(--line); }

.mob-deliver-list { list-style:none;margin:0;padding:0;display:grid;border-top:1px solid var(--line); }
.mob-deliver-list li { display:grid;grid-template-columns:auto 1fr;gap:.35rem 1.25rem;padding:1.5rem 0;border-bottom:1px solid var(--line); }
.mob-num { grid-row:span 2;color:var(--blue);font-size:var(--type-label);letter-spacing:var(--track-label);padding-top:.5rem; }
.mob-deliver-list h3 { margin:0;font-size:var(--type-card); }
.mob-deliver-list p { margin:0;color:var(--muted);max-width:46ch; }

/* Case study: tags, a segmented step picker and one schematic phone. The radios drive the screens through :has(), so no script is needed.
   The html scroll-padding (6rem) clears the 77px header; the section is pulled up by its own top padding so a link to
   #case-study lands the eyebrow about 1rem below the header instead of after a band of empty padding. */
.mob-case { --case-pad:clamp(3rem,5vw,4.5rem);display:grid;justify-items:center;padding-block:var(--case-pad);scroll-margin-top:calc(-1 * var(--case-pad) - .25rem); }
.mob-case > .mob-heading { justify-self:stretch; }
/* One shrinkable column below desktop, so enlarged text wraps inside the page instead of widening the implicit track. */
.mob-case { grid-template-columns:minmax(0,1fr); }

.mob-chooser { width:min(100%,28rem);min-width:0;margin:0 0 clamp(1.75rem,4vw,2.5rem);padding:0;border:0; }
.mob-legend { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
/* Four steps share one row; when enlarged text makes each step wider than a quarter of the picker, they fall into two rows. */
.mob-options { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,4rem),1fr));gap:2px;padding:3px;border:1px solid var(--line);border-radius:2rem;background:var(--bg); }
.mob-option { position:relative;display:block;min-width:0; }
.mob-option input { position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer; }
.mob-option span { display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 .125rem;border-radius:2rem;font-size:clamp(.875rem,.8rem + .4vw,.9375rem);line-height:1.2;text-align:center;text-wrap:balance;color:var(--muted); }
.mob-option input:hover + span { color:var(--ink); }
.mob-option input:checked + span { background:var(--ink);color:var(--bg); }
.mob-option input:focus-visible + span { outline:2px solid var(--blue);outline-offset:2px; }

.mob-stage { display:grid;justify-items:center;gap:1.5rem;width:100%;min-width:0; }
.mob-phone { width:min(100%,17.75rem);padding:.55rem;border-radius:2.75rem;background:#151a2e;box-shadow:0 0 0 1px var(--line),inset 0 0 0 1px #2a3150,0 18px 40px -20px #08122a8c; }
.mob-screen { position:relative;display:grid;aspect-ratio:266/530;border-radius:2.2rem;overflow:hidden;background:var(--bg);color:var(--ink);font-size:.9375rem;line-height:1.35; }
.mob-island { position:absolute;z-index:3;left:50%;top:.6rem;width:5rem;height:1.45rem;margin-left:-2.5rem;border-radius:1rem;background:#0b0e1a; }
.mob-home { position:absolute;z-index:3;left:50%;bottom:.45rem;width:6rem;height:4px;margin-left:-3rem;border-radius:4px;background:var(--ink);opacity:.5; }
.mob-scene { grid-area:1/1;position:relative;min-width:0;visibility:hidden;opacity:0; }
.mob-case:has(#mob-discovery:checked) #mob-scene-discovery,
.mob-case:has(#mob-booking:checked) #mob-scene-booking,
.mob-case:has(#mob-payment:checked) #mob-scene-payment,
.mob-case:has(#mob-navigation:checked) #mob-scene-navigation { visibility:visible;opacity:1; }

/* Schematic map: blocks, roads, the driver and one space, all from the theme tokens. */
.mob-map { position:absolute;inset:0;display:block;width:100%;height:100%; }
.mob-map-land { fill:var(--surface,var(--panel)); }
.mob-map-block { fill:var(--surface-strong,var(--tint)); }
.mob-map-road { fill:none;stroke:var(--bg);stroke-width:14; }
.mob-map-road-thin { stroke-width:12; }
.mob-map-route { fill:none;stroke:var(--blue);stroke-width:6;stroke-linecap:round;stroke-linejoin:round; }
.mob-map-halo { fill:var(--blue);opacity:.16; }
.mob-map-you { fill:var(--blue);stroke:var(--bg);stroke-width:3; }
.mob-map-pin { fill:var(--ink); }
.mob-map-p { fill:var(--bg);font:19px/1 Ataero,Arial,sans-serif; }
.mob-preview .mob-map-p { font-size:17px; }

.mob-sheet { position:absolute;z-index:2;left:0;right:0;bottom:0;padding:1.15rem 1rem 1.6rem;border-radius:1.4rem 1.4rem 0 0;background:var(--bg);box-shadow:0 -8px 24px -14px color-mix(in srgb,var(--ink) 40%,transparent); }
.mob-space { display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin:0; }
.mob-space small { display:flex;align-items:center;gap:.4rem;font-size:.8125rem;color:var(--muted); }
/* With enlarged text the name drops below its badge rather than squeezing beside it. */
.mob-space > span:last-child { flex:1 1 auto;min-width:0;overflow-wrap:break-word; }
.mob-sheet .mob-space > span:last-child { font-size:1.0625rem; }
.mob-badge { flex:none;display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:.75rem;background:var(--ink);color:var(--bg);font-size:1.0625rem; }
.mob-avail { width:.45rem;height:.45rem;border-radius:50%;background:var(--blue); }
.mob-space .mob-reserved { color:var(--ink); }
.mob-button { margin:1.1rem 0 0;padding:.8rem .5rem;border-radius:.9rem;text-align:center;background:var(--ink);color:var(--bg); }

.mob-scene-page { display:flex;flex-direction:column;padding:3.6rem 1rem 1.6rem; }
.mob-scene-page .mob-screen-title { margin:0 0 1rem;font-size:1.5rem;letter-spacing:-.01em; }
.mob-scene-page .mob-button { margin-top:auto; }
.mob-preview { display:block;width:100%;height:auto;margin-bottom:.75rem;border-radius:1.1rem; }
.mob-details { margin:0;padding:.15rem 1rem;border-radius:1.1rem;background:var(--surface,var(--panel)); }
.mob-details div { padding:.75rem 0; }
.mob-details div + div { border-top:1px solid var(--line); }
.mob-details dt { font-size:.8125rem;color:var(--muted); }
.mob-details dd { margin:0;font-size:1rem; }
.mob-card { display:flex;flex-direction:column;justify-content:space-between;min-height:9rem;padding:1rem 1.1rem;border-radius:1.1rem;color:var(--bg);background:linear-gradient(135deg,var(--ink),color-mix(in srgb,var(--blue) 65%,var(--ink)));box-shadow:0 14px 26px -16px color-mix(in srgb,var(--ink) 70%,transparent); }
.mob-card-chip { width:2.1rem;height:1.55rem;border-radius:.35rem;background:color-mix(in srgb,var(--bg) 35%,transparent); }
.mob-card-num { font-size:1rem;letter-spacing:.12em; }
.mob-card-meta { display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;font-size:.875rem; }
.mob-booking { margin-top:1.35rem;padding-inline:.25rem; }
.mob-booking small { display:block;font-size:.8125rem;color:var(--muted); }

/* One short note beside the phone follows the chosen step. */
.mob-notes { display:grid;width:min(100%,34rem);text-align:center; }
.mob-note { grid-area:1/1;visibility:hidden; }
.mob-note h3 { margin:0 0 .4rem;font-size:var(--type-card,1.5rem);line-height:1.2; }
.mob-note p { margin:0;color:var(--muted);font-size:1.0625rem;text-wrap:balance; }
.mob-case:has(#mob-discovery:checked) #mob-note-discovery,
.mob-case:has(#mob-booking:checked) #mob-note-booking,
.mob-case:has(#mob-payment:checked) #mob-note-payment,
.mob-case:has(#mob-navigation:checked) #mob-note-navigation { visibility:visible; }
.mob-panel-mark { margin:1.75rem 0 0;font-size:.875rem;color:var(--muted);text-align:center; }
.mob-case-link { margin:1.75rem 0 0; }

.mob-work .eyebrow { margin:0 0 1rem; }
.mob-work-row { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem 1rem;align-items:center;padding:1.25rem 0;border-block:1px solid var(--line);text-decoration:none; }
.mob-work-row strong { font-weight:400;font-size:1.75rem; }
.mob-work-row span:not([aria-hidden]) { grid-column:1;color:var(--muted); }
.mob-work-row span[aria-hidden] { grid-column:2;grid-row:1 / span 2;font-size:1.25rem; }
.mob-work-row:is(:hover,:focus-visible) strong { text-decoration:underline;text-underline-offset:.2em; }
.mob-all-work { display:inline-flex;align-items:center;min-height:44px;margin-top:1rem; }

.mob-cta { padding-block:clamp(3rem,5vw,4.5rem);border-top:1px solid var(--line); }
.mob-cta > p:not(.eyebrow) { color:var(--muted);max-width:52ch;margin:1.25rem 0 2rem;font-size:1.125rem; }
.mob-cta-actions { display:flex;flex-wrap:wrap;align-items:center;gap:1rem 2rem; }

/* Without :has(), every screen and note stays visible in sequence. */
@supports not selector(:has(*)) {
  .mob-screen { display:flex;flex-direction:column;aspect-ratio:auto; }
  .mob-scene,.mob-note { grid-area:auto;visibility:visible;opacity:1; }
  .mob-scene-map { min-height:28rem; }
  .mob-scene + .mob-scene { border-top:6px solid #151a2e; }
  .mob-notes { gap:1rem; }
}

/* Only the incoming screen and note animate; the outgoing ones hide at once so two never show together.
   The screen settles from 40% rather than from nothing, so a change never passes through an empty phone. */
@media (prefers-reduced-motion:no-preference) {
  .mob-case:has(#mob-discovery:checked) #mob-scene-discovery,
  .mob-case:has(#mob-booking:checked) #mob-scene-booking,
  .mob-case:has(#mob-payment:checked) #mob-scene-payment,
  .mob-case:has(#mob-navigation:checked) #mob-scene-navigation { animation:mob-scene-in .2s ease-out; }
  .mob-case:has(#mob-discovery:checked) #mob-note-discovery,
  .mob-case:has(#mob-booking:checked) #mob-note-booking,
  .mob-case:has(#mob-payment:checked) #mob-note-payment,
  .mob-case:has(#mob-navigation:checked) #mob-note-navigation { animation:mob-note-in .2s ease-out; }
  .mob-option span { transition:background-color .16s ease,color .16s ease; }
}
@keyframes mob-scene-in { from { opacity:.4; } }
@keyframes mob-note-in { from { opacity:0;transform:translateY(4px); } }

/* Beside the phone, the note starts level with the screen title rather than the phone's middle.
   The phone track is fixed so no spare auto width opens between phone and note. */
@media (min-width:40rem) {
  .mob-option span { font-size:1rem; }
  .mob-stage { grid-template-columns:minmax(0,17.75rem) minmax(0,20rem);justify-content:center;align-items:start;gap:2.5rem; }
  .mob-notes { justify-self:start;margin-top:4.125rem;text-align:left; }
}
/* Desktop: heading, picker, note, caption and link share the left column, centred within it; the whole phone sits beside
   them at its own size, so the example fits one laptop screen. The pair centres on the page, and the empty 1fr rows centre the shorter column against the taller one.
   .mob-stage is a plain wrapper, so dissolving it only lets the phone and note join this grid. */
@media (min-width:64rem) {
  .mob-case { grid-template-columns:minmax(0,44rem) 17.75rem;grid-template-rows:1fr repeat(5,auto) 1fr;justify-content:center;column-gap:clamp(3rem,6vw,5rem); }
  .mob-case > .mob-heading { grid-area:2/1;margin-bottom:1.75rem; }
  .mob-chooser { grid-area:3/1;margin:0; }
  .mob-stage { display:contents; }
  .mob-phone { grid-column:2;grid-row:1/-1;align-self:center; }
  .mob-notes { grid-area:4/1;justify-self:center;margin-top:1.5rem;text-align:center; }
  .mob-panel-mark { grid-area:5/1;margin-top:1.25rem; }
  .mob-case-link { grid-area:6/1;margin-top:1.25rem; }
}

@media (min-width:56rem) {
  .mob-deliver-list { grid-template-columns:repeat(2,minmax(0,1fr));column-gap:3rem; }
}

/* Coastal surfaces: figures and cards sit on the shared --surface tokens so they stand apart from the page backdrop; inner cards drop back to --bg. */
.mobile-apps-page { --panel:var(--surface,color-mix(in srgb,var(--blue) 7%,var(--bg)));--tint:var(--surface-strong,color-mix(in srgb,var(--blue) 14%,var(--bg)));--panel-line:color-mix(in srgb,var(--ink) 26%,transparent); }
.mobile-apps-page main section:not(.mob-hero) .eyebrow { color:var(--blue); }
.mob-status { margin:1.5rem 0 0;font-size:.9375rem;color:var(--muted); }
.mob-work-row strong { display:block; }
/* Closing section centred like the other detail pages. */
.mob-cta { text-align:center; }
.mob-cta h2,.mob-cta > p:not(.eyebrow) { margin-inline:auto; }
.mob-cta > p:not(.eyebrow) { text-wrap:balance; }
.mob-cta-actions { justify-content:center; }
/* Section headings, descriptions and the case-study intro centre in a bounded column; the phone example, delivery list and related row stay start-aligned. */
.mob-heading { text-align:center; }
:is(.mob-deliver,.mob-work) > .mob-heading h2,.mob-cta h2 { max-width:64rem; }
.mob-heading h2,.mob-heading > p:not(.eyebrow) { margin-inline:auto;text-wrap:balance; }
.mob-heading .eyebrow,.mob-cta > .eyebrow { margin-inline:auto; }
.mob-heading > p.mob-case-status { margin-top:.5rem;font-size:.9375rem; }

/* Saudi buying questions: three columns of short lists, ruled like the delivery list. */
.mob-local,.mob-faq { padding-block:clamp(3rem,5vw,4.5rem);border-top:1px solid var(--line); }
.mob-local-grid { display:grid;gap:2rem 3rem;border-top:1px solid var(--line);padding-top:1.5rem; }
.mob-local-col h3 { margin:0 0 .75rem;font-size:var(--type-card); }
.mob-local-col ul { margin:0;padding-inline-start:1.1rem;display:grid;gap:.6rem;color:var(--muted); }
.mob-local-col strong { font-weight:500;color:var(--ink); }
.mob-local-col p { margin:1rem 0 0;color:var(--muted); }
@media (min-width:56rem) { .mob-local-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
/* FAQ: native details, same ruled rhythm as the home FAQ. */
.mob-faq-list { max-width:52rem;margin-inline:auto;border-bottom:1px solid var(--line); }
.mob-faq-item { border-top:1px solid var(--line); }
.mob-faq-item summary { display:flex;align-items:baseline;justify-content:space-between;gap:1.5rem;min-height:44px;padding:1.25rem 0;cursor:pointer;list-style:none;color:var(--ink); }
.mob-faq-item summary::-webkit-details-marker { display:none; }
.mob-faq-item summary::after { content:"+" / "";flex:none;color:var(--blue);font-size:1.5rem;line-height:1;transition:transform .25s; }
.mob-faq-item[open] summary::after { transform:rotate(45deg); }
.mob-faq-item summary h3 { margin:0;font-size:1.125rem;font-weight:400; }
.mob-faq-item summary:hover h3 { color:var(--blue); }
.mob-faq-item summary:focus-visible { outline:2px solid var(--blue);outline-offset:4px; }
.mob-faq-item p { margin:0 0 1.5rem;color:var(--muted);max-width:65ch; }
.mob-guides .mob-work-row + .mob-work-row { border-top:0; }
@media (prefers-reduced-motion:reduce) { .mob-faq-item summary::after { transition:none; } }
