/* landing-phone.v2.css (v1 of 2026-11-21 + the hero link, see the end; 2026-11-21, patches/landing_phone_preview). The phone
   landing, with its script landing-phone.v1.js. Mostly phones (<=767px): the hero
   sized to the visible window with its two buttons on one row, #features as a
   carousel, #pricing as one card with a plan switch, the Refer / Partner boxes in
   miniature, 44px header targets. All widths: the cookie notice in the landing's
   glass at the bottom, and "fastest" in bold in the hero's first sentence.
   The trial band is not touched. Tokens are the landing's own HSL triples.
   Served max-age=604800: never edit in place, ship a new name. */

/* ── THE COOKIE NOTICE (round 3): the landing's own glass, at the bottom, centred.
   Same words, same two buttons of ONE class (equal size, style and colour).
   Desktop: one pill, one line. Phones: a card, the words over the two buttons. ── */
html .agc{left:50%;right:auto;top:auto;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);
  width:max-content;max-width:calc(100vw - 32px);flex-wrap:nowrap;gap:18px;padding:7px 7px 7px 22px;border-radius:9999px;
  border:1px solid hsl(var(--fg) / .13);
  background:hsl(var(--bg) / .74);
  -webkit-backdrop-filter:blur(26px) saturate(1.5);backdrop-filter:blur(26px) saturate(1.5);
  box-shadow:inset 0 1px 0 hsl(0 0% 100% / .07),0 22px 48px -22px rgb(0 0 0 / .55),0 4px 14px -6px rgb(0 0 0 / .28);
  font-family:Geist,"Noto Sans",system-ui,sans-serif;font-size:13px;line-height:1.4;letter-spacing:-.005em;color:hsl(var(--fg-muted))}
html:not([data-theme="dark"]) .agc{background:hsl(0 0% 100% / .82);box-shadow:inset 0 1px 0 hsl(0 0% 100% / .9),0 22px 48px -24px rgb(22 21 19 / .34),0 4px 14px -6px rgb(22 21 19 / .14)}
html .agc .agc-t{text-wrap:balance}
html .agc .agc-t a{color:hsl(var(--fg));font-weight:500;text-decoration-color:hsl(var(--fg) / .35)}
html .agc .agc-s{color:hsl(var(--fg))}
html .agc .agc-b{gap:6px}
html .agc .agc-btn{height:34px;min-width:84px;padding:0 18px;border-radius:9999px;font-family:inherit;font-size:13px;font-weight:500;letter-spacing:-.01em;
  color:hsl(var(--fg));border:1px solid hsl(var(--fg) / .16);background:hsl(var(--fg) / .07);box-shadow:none;
  transition:background .15s ease,border-color .15s ease}
html .agc .agc-btn:hover{background:hsl(var(--fg) / .13);border-color:hsl(var(--fg) / .28);box-shadow:none}
@media (max-width:699px){
  html .agc{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));transform:none;animation-name:pv-agc-in;
    width:auto;max-width:none;flex-direction:column;align-items:stretch;gap:10px;padding:13px 12px 10px;border-radius:22px;
    font-size:12.5px;line-height:1.4;text-align:center}
  html .agc .agc-t{flex:none}
  html .agc .agc-b{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  html .agc .agc-btn{height:38px;min-width:0;width:100%;font-size:13.5px}
}
@keyframes pv-agc-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ── THE HERO on phones: exactly one VISIBLE window (100svh: what is left when the
   browser's own bars are showing; the page used 100vh, which is taller than the
   window on phones, so the words sat low and the second button fell under the
   browser bar). The words and buttons are centred in that window; while the cookie
   notice is up they are centred in what is left above it (--pv-ck-h, the script). ── */
@media (max-width:767px){
  .pv-hero{min-height:calc(100vh - 65px)!important;min-height:calc(100svh - 65px)!important}
  .pv-hero > .mx-auto{padding-top:28px!important;padding-bottom:28px!important}
  html.pv-ck .pv-hero > .mx-auto{padding-bottom:calc(var(--pv-ck-h,100px) + 30px)!important}
  /* the two buttons side by side, in every language, down to 320px */
  .pv-hero .jpa-hero-cta{flex-wrap:nowrap!important;gap:8px!important}
  .pv-hero .jpa-hero-cta > a{flex:0 1 auto;min-width:0;padding-left:20px!important;padding-right:20px!important;font-size:14.5px!important}
}
/* short windows (an iPhone SE with the browser's bars): the notice as one slim row, the hero closer set */
@media (min-width:350px) and (max-width:699px) and (max-height:620px){
  html .agc{flex-direction:row;align-items:center;text-align:left;gap:10px;padding:7px 7px 7px 13px;border-radius:17px;font-size:11.5px;line-height:1.3}
  html .agc .agc-t{flex:1 1 auto}
  html .agc .agc-b{display:grid;grid-template-columns:1fr 1fr;gap:5px;flex:none}
  html .agc .agc-btn{height:32px;padding:0 10px;font-size:12px;width:auto}
}
@media (max-width:349px){
  html .agc{padding:10px 10px 9px;gap:8px;font-size:12px;line-height:1.35}
  html .agc .agc-btn{height:34px;font-size:13px}
}
@media (max-width:699px) and (max-height:620px){
  .pv-hero > .mx-auto{padding-top:14px!important}
  html.pv-ck .pv-hero > .mx-auto{padding-bottom:calc(var(--pv-ck-h,70px) + 18px)!important}
  html.pv-ck .pv-hero .jpa-hero-lede{margin-top:16px!important}
  html.pv-ck .pv-hero .jpa-hero-cta{margin-top:20px!important}
}
@media (max-width:374px){
  .pv-hero .jpa-hero-cta{gap:6px!important}
  .pv-hero .jpa-hero-cta > a{padding-left:14px!important;padding-right:14px!important;font-size:13.5px!important;height:44px!important}
}
@media (max-width:339px){
  .pv-hero .jpa-hero-cta > a{padding-left:11px!important;padding-right:11px!important;font-size:13px!important}
}

/* the hero's first sentence: "fastest" in bold (the bundle's hero.lede carries the <b>) */
.jpa-hero-lede b{font-weight:700}

/* ── HEADER: 44px targets on phones ── */
@media (max-width:767px){
  header .jp-mnav-btn{width:44px!important;height:44px!important}
  header .ml-auto > .relative > button{height:44px!important;min-width:44px;justify-content:center}
  header .ml-auto > a.jpa-hdr-join{height:44px!important;padding-left:18px!important;padding-right:18px!important}
  header .ml-auto{gap:2px!important}
}

/* the dashboard's rail has no scheme button any more: the hotspot over it is off */
#interface .ss-hot-thm{display:none!important}

/* ── THE THREE PHONES (phone-shots.pv.js): the Size button of the front one is live ── */
@media (max-width:767px){
  #interface .jps-card .ss-screen{position:relative}
  #interface .jps-card .ss-screen img{width:100%;height:auto;aspect-ratio:1/2;object-fit:cover;object-position:top}
  .pv-ph-hot{position:absolute;z-index:3;appearance:none;border:0;padding:0;margin:0;background:none;cursor:pointer;border-radius:30%;
    -webkit-tap-highlight-color:transparent;touch-action:manipulation}
  #interface .jps-card:not(.is-front) .pv-ph-hot{pointer-events:none}
  .pv-ph-hot:active{background:rgba(127,127,127,.18)}
  .pv-ph-hot:focus-visible{outline:2px solid hsl(var(--fg));outline-offset:2px}
  /* 270px phone, picture 1:2 = 508px + frame: the stage a little shorter than the old 606px */
  #interface .jps-stage{height:560px}
}

/* ── FEATURES: a carousel on phones. One card in the middle, a neighbour on each side. ── */
.pv-wheel{display:none}
@media (max-width:767px){
  #features > div{padding-top:56px!important;padding-bottom:44px!important}
  #features .fx-grid.pv-car{display:block!important;position:relative;margin:28px -24px 0!important;overflow:hidden;
    height:var(--pv-h,400px);touch-action:pan-y;-webkit-user-select:none;user-select:none;padding:0!important}
  #features .fx-grid.pv-car > .fx-card{position:absolute!important;top:0;left:50%;width:var(--pv-w,300px);margin:0 0 0 calc(var(--pv-w,300px) / -2)!important;
    transition:transform .6s cubic-bezier(.22,1,.36,1),opacity .6s cubic-bezier(.22,1,.36,1)!important;
    transform-origin:50% 46%;grid-column:auto!important}
  #features .fx-grid.pv-car.is-eq > .fx-card{height:100%}
  #features .fx-grid.pv-car.is-drag > .fx-card{transition:none!important}
  #features .fx-grid.pv-car > .fx-card:not(.is-mid){cursor:pointer}
  #features .fx-grid.pv-car > .fx-card:not(.is-mid) *{pointer-events:none}
  /* the neighbours stand still: only the middle card plays */
  #features .fx-grid.pv-car > .fx-card:not(.is-mid) *,
  #features .fx-grid.pv-car > .fx-card:not(.is-mid) *::before,
  #features .fx-grid.pv-car > .fx-card:not(.is-mid) *::after{animation-play-state:paused!important}

  /* the indicator: the names on a wheel, the chosen one in the middle */
  .pv-wheel{display:block;position:relative;height:44px;margin:16px -24px 0;overflow:hidden;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%,#000 78%,transparent 100%);
            mask-image:linear-gradient(90deg,transparent 0,#000 22%,#000 78%,transparent 100%)}
  .pv-wheel-pill{position:absolute;top:5px;left:50%;height:34px;width:var(--pv-pw,90px);margin-left:calc(var(--pv-pw,90px) / -2);border-radius:9999px;
    border:1px solid hsl(var(--line-strong));background:hsl(var(--fg) / .07);
    box-shadow:inset 0 1px 0 hsl(0 0% 100% / .10);
    transition:width .5s cubic-bezier(.22,1,.36,1),margin-left .5s cubic-bezier(.22,1,.36,1)}
  .pv-wheel-track{position:absolute;top:0;left:0;height:100%;display:flex;align-items:center;gap:4px;white-space:nowrap;
    transition:transform .55s cubic-bezier(.22,1,.36,1);will-change:transform}
  .pv-wheel.is-jump .pv-wheel-track{transition:none}
  .pv-wl{appearance:none;border:0;background:none;cursor:pointer;height:34px;padding:0 15px;border-radius:9999px;
    font:inherit;font-size:13px;font-weight:500;letter-spacing:-.005em;color:hsl(var(--fg-muted));opacity:.62;
    transition:color .35s ease,opacity .35s ease;-webkit-tap-highlight-color:transparent}
  .pv-wl.is-on{color:hsl(var(--fg));opacity:1;font-weight:600}
  .pv-wl:focus-visible{outline:2px solid hsl(var(--fg));outline-offset:-2px}
}

/* ── PRICING: one card with a plan switch; switch + card fit one screen ── */
.pv-plans{display:none}
@media (max-width:767px){
  #pricing .lb-wrap{padding-top:44px!important;padding-bottom:22px!important}
  html.tlk-on #pricing, #pricing{padding-bottom:0!important}
  #pricing .lb-head h2{font-size:1.6rem}
  #pricing .lb-lede{margin-top:6px!important;font-size:14px!important;line-height:1.5!important}
  .pv-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:16px auto 0;padding:4px;max-width:360px;
    border-radius:9999px;border:1px solid hsl(var(--line-strong));background:hsl(var(--bg) / .55);
    -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
  .pv-plan{appearance:none;border:0;border-radius:9999px;background:none;cursor:pointer;padding:7px 4px 6px;
    font:inherit;color:hsl(var(--fg-muted));display:flex;flex-direction:column;align-items:center;gap:1px;
    transition:background .25s ease,color .25s ease;-webkit-tap-highlight-color:transparent}
  .pv-plan b{font-size:13.5px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
  .pv-plan small{font-size:11.5px;line-height:1.2;font-variant-numeric:tabular-nums;opacity:.85}
  .pv-plan.is-on{background:hsl(var(--fg));color:hsl(var(--bg))}
  .pv-plan:focus-visible{outline:2px solid hsl(var(--fg));outline-offset:2px}
  #pricing .lb-tiers{display:flex!important;gap:40px!important;overflow-x:auto;overflow-y:hidden;position:relative;
    scroll-snap-type:x mandatory;scroll-padding-inline:24px;margin:0 -24px!important;padding:20px 24px 6px!important;
    align-items:stretch!important;scrollbar-width:none;overscroll-behavior-x:contain;max-width:none!important;width:auto!important}
  #pricing .lb-tiers::-webkit-scrollbar{display:none}
  #pricing .lb-tiers > .lb-card-rv{flex:0 0 100%;max-width:none!important;scroll-snap-align:start;scroll-snap-stop:always;
    opacity:1!important;transform:none!important;display:flex!important;margin:0!important}
  /* every plan the same height (the tallest), the button on the bottom edge */
  #pricing .lb-tiers .lb-card{flex:1 1 auto;display:flex;flex-direction:column;width:100%;padding:18px 22px 18px!important}
  #pricing .lb-tiers .lb-card .lb-price{margin-top:8px!important}
  #pricing .lb-tiers .lb-feat{margin-top:13px!important;padding-top:13px!important;gap:7px!important}
  #pricing .lb-tiers .lb-feat li{font-size:13.5px!important}
  #pricing .lb-tiers .lb-act{margin-top:auto!important;padding-top:16px}
  #pricing .lb-more{margin-top:10px!important}
}

/* ── REFER / PARTNER on phones: the two boxes in miniature, side by side ── */
@media (max-width:767px){
  #partners .rpm-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;padding:30px 16px 44px!important}
  #partners .rpm-box{min-height:0!important;padding:16px 14px 14px!important;border-radius:22px!important}
  #partners .rpm-art{height:48px!important}
  #partners .rpm-duo{height:40px!important}
  #partners .rpm-t{width:40px!important;height:40px!important}
  #partners .rpm-t2{margin-left:-9px!important}
  #partners .rpm-fig{font-size:54px!important}
  #partners .rpm-h{margin-top:14px!important;font-size:clamp(17px,5vw,20px)!important;letter-spacing:-.03em!important;line-height:1.08!important;text-wrap:balance}
  #partners .rpm-p{margin-top:8px!important;max-width:none!important;font-size:12.5px!important;line-height:1.32!important;letter-spacing:-.012em!important;font-weight:500!important;text-wrap:pretty}
  #partners .rpm-go{padding-top:14px!important}
  #partners .rpm-ob{height:38px!important;padding:0 8px!important;border-radius:10px!important;font-size:13px!important}
  .rpm.is-wait .rpm-a,.rpm.is-wait .rpm-b{transform:translateY(18px)!important}
}

@media (prefers-reduced-motion:reduce){
  .pv-plan,.pv-wheel-track,.pv-wheel-pill,#features .fx-grid.pv-car > .fx-card{transition:none!important}
}

/* v2 (2026-11-22): "unique features" in the hero's line is a link to #features.
   mobile-sections.v6.css hides every a[href="#features"] up to 768px (written for the header). */
.jpa-hero-lede a[href="#features"]{display:inline!important;color:hsl(var(--fg));font-weight:500;
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:hsl(var(--fg) / .45);
  transition:text-decoration-color .15s ease}
.jpa-hero-lede a[href="#features"]:hover{text-decoration-color:currentColor}
.jpa-hero-lede a[href="#features"]:focus-visible{outline:2px solid hsl(var(--fg));outline-offset:2px;border-radius:3px}
/* the longer headline on the narrowest phones (320px): closer set, so the buttons clear the cookie notice */
@media (max-width:339px){
  .pv-hero .jpa-hero-h1{font-size:24px!important;line-height:1.08!important}
  .pv-hero .jpa-hero-lede{font-size:13.5px!important;line-height:1.5!important;margin-top:14px!important}
  .pv-hero .jpa-hero-cta{margin-top:16px!important}
  .pv-hero > .mx-auto{padding-top:12px!important}
}
