/* Phone layout (28 Nov 2026), up to 760 px wide. See m.js. */
@media (max-width:760px),(max-height:500px) and (hover:none){
  /* shorter hero scene, pinned scenes swapped for carousels */
  .mob #intro{height:220vh}
  .mob #aend.mshort .sub{display:none}
  .mob .mhide{display:none!important}
  .mob .ios{padding-bottom:1rem}
  .mob section,.mob .fs{scroll-margin-top:4rem}
  .mob:has(.mj) section{scroll-margin-top:7.5rem}
  .mob:has(.jump.ln) section{scroll-margin-top:7.25rem}

  /* carousels: sideways only, snap one card at a time, never cut a picture */
  .mcw{margin-top:.5rem}
  .mc{display:flex;gap:.75rem;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;
      padding:1.5rem 1rem .25rem;scroll-padding-inline:1rem;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
  .mc::-webkit-scrollbar{display:none}
  .mc:focus-visible{outline:2px solid var(--lime);outline-offset:-2px}
  .mcc{flex:0 0 min(80%,20rem);scroll-snap-align:start;background:var(--card);border-radius:1.5rem;padding:1.5rem 1.25rem 1.375rem;display:flex;flex-direction:column;gap:1.125rem}
  .mcc .phone{width:min(11.5rem,52vw);margin:0 auto;box-shadow:0 1.25rem 2.5rem rgba(0,0,0,.5)}
  .mcc .scr img,.mcc .scr video{display:block;width:100%;height:100%;object-fit:cover}
  .mct h3{font-size:1.1875rem;line-height:1.2;font-weight:600;margin:.25rem 0 .375rem}
  .mct p{font-size:.9375rem;line-height:1.45;color:var(--mute);margin:0}
  .mcl{font-size:.875rem;font-weight:600;color:var(--mute)}
  .mcd{display:flex;justify-content:center;gap:.4rem;margin-top:1rem}
  .mcd i{width:.4rem;height:.4rem;border-radius:50%;background:#48484a;transition:background .2s,width .2s}
  .mcd i.on{background:var(--fg);width:1.1rem;border-radius:1rem}
  .mkw{height:15rem;display:grid;place-items:center;overflow:hidden}
  .mkw .mk{transform:scale(.92);margin:0}

  /* lists that were stacked become carousels of cards */
  .mob .repl,.mob .pr{display:flex!important;grid-template-columns:none!important;gap:.75rem;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;
      margin-inline:-1rem;padding:1.25rem 1rem .25rem;scroll-padding-inline:1rem;scrollbar-width:none}
  .mob .repl::-webkit-scrollbar,.mob .pr::-webkit-scrollbar{display:none}
  .mob .repl>li{flex:0 0 min(78%,19rem);scroll-snap-align:start;background:var(--card);border-radius:1.25rem;padding:1.25rem;border:0;margin:0;display:flex;flex-direction:column;gap:.5rem}
  .mob .pr>div{flex:0 0 min(78%,19rem);scroll-snap-align:start;background:var(--card);border:0!important;border-radius:1.25rem;padding:1.25rem!important;margin:0}

  /* home jump menu, sticky under the site bar */
  .mj{position:sticky;top:calc(3.25rem + env(safe-area-inset-top,0px));z-index:40;display:flex;gap:.375rem;overflow-x:auto;scrollbar-width:none;
      padding:.5rem 1rem;background:rgba(0,0,0,.78);-webkit-backdrop-filter:saturate(1.6) blur(18px);backdrop-filter:saturate(1.6) blur(18px);border-bottom:1px solid #1c1c1e}
  .mj::-webkit-scrollbar{display:none}
  .mj a{flex:none;min-height:2.75rem;display:inline-flex;align-items:center;padding:0 .875rem;border-radius:2rem;background:#1c1c1e;color:var(--fg);font-size:.875rem;font-weight:600;text-decoration:none}

  /* sticky sign-up bar */
  .msb{position:fixed;left:.75rem;right:.75rem;bottom:calc(.75rem + env(safe-area-inset-bottom,0px));z-index:60;display:flex;align-items:center;justify-content:space-between;gap:.75rem;
       padding:.625rem .625rem .625rem 1rem;border-radius:1.25rem;background:rgba(28,28,30,.86);-webkit-backdrop-filter:saturate(1.6) blur(20px);backdrop-filter:saturate(1.6) blur(20px);
       box-shadow:0 .75rem 2rem rgba(0,0,0,.5);font-size:.8125rem;line-height:1.3;color:var(--mute);transform:translateY(160%);transition:transform .35s ease;pointer-events:none}
  .msb.on{transform:none;pointer-events:auto}
  .msb b{color:var(--fg)}
  .msb .btn{flex:none;min-height:2.75rem}
  .has-msb footer{padding-bottom:6rem}
}
@media (max-width:760px) and (prefers-reduced-motion:reduce),(max-height:500px) and (hover:none) and (prefers-reduced-motion:reduce){.msb{transition:none}.mcd i{transition:none}}
/* feature pages: blocks of short items become sideways cards */
@media (max-width:760px),(max-height:500px) and (hover:none){
  .mob .bk,.mob .mol,.mob .fx-g ul,.mob .gsteps,.mob .cgrid{display:flex!important;grid-template-columns:none!important;gap:.75rem;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;
      margin-inline:-1rem!important;padding:1rem 1rem .25rem!important;scroll-padding-inline:1rem;scrollbar-width:none;list-style:none}
  .mob .bk::-webkit-scrollbar,.mob .mol::-webkit-scrollbar,.mob .fx-g ul::-webkit-scrollbar{display:none}
  .mob .bk>div,.mob .mol>li,.mob .fx-g li{flex:0 0 min(72%,17rem)!important;scroll-snap-align:start;background:var(--card);border-radius:1.25rem;padding:1.125rem 1.125rem 1.25rem!important;border:0!important;margin:0!important;display:flex;flex-direction:column;gap:.375rem;min-height:0}
  .mob .bk>div b,.mob .fx-g li b,.mob .mol>li b{font-size:1rem}
  .mob .bk>div span,.mob .fx-g li span,.mob .mol .d{font-size:.9375rem;line-height:1.45}
}
/* tap areas of at least 44 px and room for large text (28 Nov 2026) */
@media (max-width:760px),(max-height:500px) and (hover:none){
  .mob .nav .home,.mob .nav .nl{display:inline-flex;align-items:center;min-height:2.75rem;min-width:2.75rem}
  .mob .lnk a{display:inline-flex;align-items:center;min-height:2.75rem}
  .mob .tops .tp{min-height:2.75rem}
  .mob .foot nav{display:flex;flex-wrap:wrap;column-gap:.25rem}
  .mob .foot nav a{display:inline-flex;align-items:center;min-height:2.75rem;min-width:2.75rem;padding:0 .5rem}
  .mob .try .wrap>*,.mob .wrap>*{min-width:0}
  .mob .try-t,.mob .lead,.mob h1,.mob h2,.mob h3{overflow-wrap:anywhere}
  .mob .pc-in{max-width:100%;box-sizing:border-box}
}
@media (max-width:760px),(max-height:500px) and (hover:none){
  .mob .btn.sm{min-height:2.75rem;display:inline-flex;align-items:center}
  .mob .copy{min-height:2.75rem}
  .mob .lnt,.mob .fx-h a{display:inline-flex;align-items:center;min-height:2.75rem;min-width:2.75rem}
  .mob .ds{grid-template-columns:1.625rem minmax(0,1fr) minmax(0,1.1fr) .875rem 2.75rem}
  .mob .ds>span{overflow-wrap:anywhere}
  .mob .dt{width:2.75rem;height:2.75rem}
  .mob .pc-top{flex-wrap:wrap}
  .mob .pc-in input{min-height:2.75rem}
  .mob .gsteps>li{flex:0 0 min(78%,18rem)!important;scroll-snap-align:start;background:var(--card);border-radius:1.25rem;border:0!important;padding:1.25rem!important;margin:0}
}
@media (max-width:760px),(max-height:500px) and (hover:none){
  .mob .ds .dp,.mob .ds .dv{white-space:normal;min-width:0}
  .mob .gsteps>li{align-content:start}
}
/* a phone on its side: little height, so nothing sticks over the page */
@media (max-height:500px) and (hover:none){
  .mob .mj{position:static}
  .mob .msb{display:none}
  .has-msb footer{padding-bottom:0}
}
@media (max-height:500px) and (hover:none){
  .mob .mcc{flex:0 0 min(78%,30rem);flex-direction:row;align-items:center}
  .mob .mcc .phone{width:min(9rem,30vh);flex:none;margin:0}
  .mob .mkw{height:auto;flex:none;width:12rem}
  .mob .mkw .mk{transform:scale(.7)}
}
/* audit pass 2: both prices in view side by side, section links on one line */
@media (max-width:760px),(max-height:500px) and (hover:none){
  .mob .pr{display:grid!important;grid-template-columns:1fr 1fr!important;overflow:visible;margin-inline:0;padding:1.25rem 0 0}
  .mob .pr>div{min-width:0}
  .mob .pr b{font-size:clamp(1.75rem,8.5vw,2.5rem)}
  .mob .fx-h{flex-wrap:wrap;row-gap:.25rem}
  .mob .fx-h a{white-space:nowrap}
}
/* audit pass 3: store badges, menu button and plate buttons keep a 44 px tap area at 320 wide and with large text */
@media (max-width:760px),(max-height:500px) and (hover:none){
  .mob .sbtn{min-height:2.75rem}
  .mob .nav .mb{flex:none;min-width:2.75rem;min-height:2.75rem}
  .mob .pc-b{flex:none}
}
/* audit pass 3: the open menu covers the whole screen, so the page does not show under it */
@media (max-width:760px){
  .mob .nls{min-height:calc(100dvh - 3.25rem - env(safe-area-inset-top,0px));overflow-y:auto;overscroll-behavior:contain}
}
/* iPhone test 28 Nov 2026 (Olly): no bars over the page, smaller type, cards and phones */
@media (max-width:760px),(max-height:500px) and (hover:none){
  .mob .nav{transition:transform .3s ease}
  .mob .nav.nav-up{transform:translateY(-100%)}
  .mob .jump.ln{display:none}
  .mob section,.mob .fs,.mob:has(.jump.ln) section{scroll-margin-top:1rem}
  .mob h2{font-size:1.75rem;line-height:1.1}
  .mob h3{font-size:1.125rem}
  .mob .lead{font-size:1rem;line-height:1.45}
  .mob .xh b{font-size:1.125rem;line-height:1.25}
  .mob .phone{width:min(10.5rem,44vw)}
  .mcc{flex:0 0 min(70%,16.5rem);padding:1.125rem 1rem 1.125rem;gap:.875rem;border-radius:1.25rem}
  .mcc .phone{width:min(8.75rem,40vw)}
  .mct h3{font-size:1.0625rem}
  .mct p{font-size:.875rem}
  .mkw{height:12rem}
  .mkw .mk{transform:scale(.78)}
  .mob .repl>li,.mob .gsteps>li{flex:0 0 min(66%,16rem)!important;padding:1rem!important}
  .mob .bk>div,.mob .mol>li,.mob .fx-g li{flex:0 0 min(62%,15rem)!important;padding:.9375rem .9375rem 1rem!important}
  .mob .bk>div b,.mob .fx-g li b,.mob .mol>li b{font-size:.9375rem}
  .mob .bk>div span,.mob .fx-g li span,.mob .mol .d{font-size:.875rem}
}
@media (max-width:760px) and (prefers-reduced-motion:reduce){.mob .nav{transition:none}}
@media (max-width:760px){
  .mob .why{padding-top:3.5rem}
  .mob #film,.mob #scan,.mob #inside,.mob #tap,.mob #replaces,.mob .cta,.mob .fs{padding-top:3.5rem;padding-bottom:3.5rem}
  .mob #tapSvg{width:10rem;height:10rem;margin-inline:auto;display:block}
}
@media (max-width:760px){
  .mob .phone{width:min(10.5rem,44vw)!important}
  /* 29 Nov review: the two hero phones keep their own, bigger size (the first stands up, the second is sized to the room above the headline) */
  .mob #intro #aph{width:min(15rem,62vw)!important}
  .mob #intro #aph2{width:var(--w2m,min(10.5rem,44vw))!important}
  .mob .mcc .phone{width:min(8.75rem,40vw)!important}
  .mob #top .phone,.mob header .phone{width:min(13rem,56vw)!important}
  .mob #top dl dt,.mob .st dt{font-size:1.5rem}
}
@media (max-width:760px){.mob .mcw .mkw:has(.mk-watch){height:13.5rem}}

/* 29 Nov 2026 (Olly's iPhone check): whole phones only, lock screen and widgets on a full iPhone */
@media (max-width:760px),(max-height:500px) and (hover:none){
  .mcw .mkw{height:auto;overflow:visible;display:flex;justify-content:center;align-items:center}
  .mcw .mkw>.phone{width:min(8.75rem,40vw)!important}
  .mcw .mkw.mkw-w{height:calc(min(8.75rem,40vw) * 2.164)}
  .mcw .mkw.mkw-w .mk{transform:scale(1.02)}
  .phone.dsk .island{display:none}
  .lsx{position:absolute;left:0;top:0;width:216px;height:467px;transform-origin:0 0;display:flex;flex-direction:column;align-items:center;font-variant-numeric:tabular-nums}
  .lsl{background:radial-gradient(120% 70% at 50% 0%,#1d2a33 0%,#0b0f14 55%,#050507 100%);padding:11px 10px 0}
  .lsl .di{width:104px;padding:5px 10px}
  .lsl .ltime{margin-top:22px;font-size:58px;color:#eef0f4}
  .lsl .la{margin-top:auto;margin-bottom:40px;background:rgba(0,0,0,.72)}
  .lsl::after{content:"";position:absolute;bottom:8px;left:50%;width:80px;height:4px;margin-left:-40px;border-radius:4px;background:rgba(255,255,255,.55)}
  .lsh{background:radial-gradient(120% 70% at 50% 0%,#20242c 0%,#0c0d11 60%,#050507 100%);padding:46px 0 0}
  .lsh .hw{height:auto;background:none;overflow:visible;margin:0;display:grid;grid-template-columns:auto auto;gap:8px}
  .lsh .dock{margin-top:auto;margin-bottom:10px;width:196px;height:62px;border-radius:24px;background:rgba(255,255,255,.1);display:flex;justify-content:space-around;align-items:center;padding:0 10px}
  .lsh .dock i{width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.14)}
}
@media (max-width:760px),(max-height:500px) and (hover:none){
  .mcc{flex:0 0 min(82%,19.5rem)}
  .mcw .mkw.mkw-w .mk{transform:scale(.9);-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 84%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 84%,transparent 100%)}
}
@media (max-width:760px),(max-height:500px) and (hover:none){
  .mcw .mkw.mkw-w .mk{transform:scale(.84);-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 88%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 88%,transparent 100%)}
}

@media (max-width:760px),(max-height:500px) and (hover:none){
  .mcw .mkw.mkw-w .mk{-webkit-mask-image:none;mask-image:none}
  .mcw .mkw.mkw-w{overflow:hidden;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 7%,#000 93%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 7%,#000 93%,transparent 100%)}
}
@media (max-width:760px),(max-height:500px) and (hover:none){html.mob .mcw .mkw.mkw-w{height:calc(min(8.75rem,40vw) * 2.164)}}
@media (max-width:760px),(max-height:500px) and (hover:none){
  /* 30 Nov (Olly): back to the earlier device look, straight on */
  html.mob .mcw .mkw.mkw-w{-webkit-mask-image:none;mask-image:none;overflow:visible}
  html.mob .mcw .mkw.mkw-w .mk{transform:scale(.92);background:none;overflow:visible}
}

/* 3 Dec phone consistency pass: one spacing scale and one type scale on every page */
@media (max-width:760px){
 html body section.coach,html body section.faq,html body section.flm,html body section.inside,html body section.price,html body section.scn,html body section.share,html body section.start,html body section.tap,html body section.try,html body section.sin,html body section.fch{padding-top:3.5rem;padding-bottom:3.5rem}
 html body section.hand,html body section.ios,html body section.tabs{padding-top:3.5rem;padding-bottom:1rem}
 html body section.why{padding-top:3.5rem}
 html body section.fhero,html body section.fh{padding-top:4.25rem}
 html body section.fh.su{padding-bottom:3.5rem}
 html body .tabs section.tp.fs,html body .tabs section.tp.mo{padding-top:2rem;padding-bottom:3.5rem}
 html body .fh-t h1,html body .w2 h1{font-size:2.25rem;line-height:1.02;letter-spacing:-.035em}
 html body section h2:not(.k):not([class*=ey]){font-size:1.75rem;line-height:1.1;letter-spacing:-.025em}
 html body .fst h2{font-size:1.75rem}
 html body p.lead,html body .fs p.ld,html body p.ld,html body p.more,html body p.flink,html body p.go,html body p.pn,html body p.cnt,html body p.fcta,html body li p,html body .hd p:not(.lead){font-size:1rem;line-height:1.5}
 html body p.fh-p,html body p.fnote,html body p.small,html body details p,html body figcaption p{font-size:.9375rem;line-height:1.5}
 html body .mct p{font-size:.875rem;line-height:1.45}
 html body li h3,html body figcaption h3,html body summary h3{font-size:1.125rem;line-height:1.2}
 html body .btn.lg{font-size:1rem}
}
@media (max-width:760px){
 /* film: heading and intro across the width like every other section, steps beside the phone below */
 html body .flm-g{grid-template-columns:minmax(0,1fr) auto;column-gap:1.25rem;row-gap:0;align-items:center}
 html body .flm-t{display:contents}
 html body .flm-t>.eyebrow,html body .flm-t>h2,html body .flm-t>.lead{grid-column:1/-1;text-align:center;margin-inline:auto}
 html body .flm-t>.lead{margin-bottom:1.75rem}
 html body .flm-l{grid-column:1;grid-row:4}
 html body .flm-v{grid-column:2;grid-row:4}
}
/* 3 Dec iPhone audit: nothing taller than about two thirds of the screen */
@media (max-width:760px){
 html body #alab{font-size:min(10.5vw,5.25rem)}
 html body .d3b:not(.d3x){height:min(66svh,52rem,140vw)}
 html.mob body .mcw .mkw:has(.mk-watch){height:auto;min-height:13.5rem;flex:1 1 auto;display:flex;align-items:center;justify-content:center}
}
@media (max-width:760px) and (max-height:740px){
 html body .mcw .mkw>.phone{width:min(7.5rem,36vw)!important}
 html.mob body .mcw .mkw.mkw-w,html body .mcw .mkw.mkw-w{height:calc(min(7.5rem,36vw) * 2.164)}
 html body .fs-v .phone,html body .fh-v .phone,html body .xv .phone,html body .pn-g .phone,html body .sg .phone{width:min(10rem,40vw)}
}
/* 3 Dec (Olly): Apple-sized cards, so a section's heading, text and card fit on one screen */
@media (max-width:760px){
 html body .mcc{flex:0 0 min(64vw,15rem);padding:.875rem .875rem 1rem;gap:.75rem;border-radius:1.125rem}
 html body .mcc .phone,html.mob body .mcc .phone,html body .mcw .mkw>.phone{width:min(6.25rem,28vw)!important;box-shadow:0 .75rem 1.5rem rgba(0,0,0,.45)}
 html body .mcw .mkw.mkw-w,html.mob body .mcw .mkw.mkw-w{height:calc(min(6.25rem,28vw) * 2.164)}
 html.mob body .mcw .mkw:has(.mk-watch),html body .mcw .mkw:has(.mk-watch){height:calc(min(6.25rem,28vw) * 2.164);min-height:0;flex:none}
 html body .mcw .mkw .mk-watch{zoom:.66}
 html body .mct h3{font-size:1rem;margin:0 0 .25rem}
 html body .mct p{font-size:.8125rem;line-height:1.4}
 html body .mc{padding-top:1.25rem}
}
@media (max-width:600px){
 html body .dvk{flex:0 0 min(64vw,15rem);padding:.875rem .875rem 1rem;border-radius:1.125rem}
 html body .dvm{height:10.5rem}
 html body .dvm .mk{zoom:.68}
 html body .dvk figcaption{margin-top:.75rem}
 html body .dvk h3{font-size:1rem}
 html body .dvk p{font-size:.8125rem;line-height:1.4;margin-top:.25rem}
}
