/* Unfold home page.
   Sections in order: hero (screen window + flip-weight headline) → portal → stepped stage (features, then the screens
   gallery opening through a slit) → App Store rating → zoom through a letter → pricing → closing pills into the final screen. */

/* ---------- app screens: PNG files from screens/, framed by a rounded mask ---------- */
.shot{--w:240px;position:relative;width:var(--w);aspect-ratio:402/874;overflow:hidden;border-radius:calc(var(--w) * .135);background:#111;flex:none;box-shadow:0 0 0 1px rgba(255,255,255,.06)}
.shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ---------- 01 HERO + capsule portal ---------- */
.w-hero{height:210vh;position:relative}
.hero{position:absolute;inset:0;background:var(--ink);color:var(--bone);display:flex;flex-direction:column;gap:clamp(18px,3vh,32px);padding-block:calc(env(safe-area-inset-top,0px) + 82px) clamp(20px,3.4vh,34px);will-change:clip-path}
.win{flex:1 1 auto;min-height:140px;border-radius:999px;background:var(--ink2);overflow:hidden;position:relative;display:flex;align-items:flex-start;padding-top:clamp(16px,3.2vh,34px)}
.reel{display:flex;gap:clamp(12px,1.4vw,22px);padding-left:clamp(12px,1.4vw,22px);flex:none;animation:reel 46s linear infinite}
.reel .shot{--w:clamp(150px,15.5vw,236px)}
@keyframes reel{to{transform:translateX(-50%)}}
.win .tag{position:absolute;left:50%;bottom:14px;translate:-50% 0;z-index:2;padding:7px 12px;border-radius:99px;background:color-mix(in srgb,var(--ink) 72%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:var(--mute-d)}
.hero-h{margin:0 auto;font-size:clamp(46px,9.1vw,168px);line-height:.96;letter-spacing:-.035em;font-weight:720}
.hero-h .ln + .ln{text-align:right}
.hero-h .li{display:inline-flex;align-items:center;gap:.2em;white-space:nowrap}
.hero-h .thin{color:var(--thin-d)}
.cap{display:inline-flex;align-items:center;justify-content:center;height:.72em;border-radius:99px;flex:none;overflow:hidden;position:relative;transform-origin:50% 50%}
.cap-odo{background:var(--bone);color:var(--ink);padding:0 .3em}
.odo{display:inline-flex;font-size:.46em;font-weight:620;letter-spacing:-.045em;font-variant-numeric:tabular-nums;line-height:1}
.odo .d{display:inline-block;height:1em;overflow:hidden}
.odo .d span{display:flex;flex-direction:column;transition:transform 1.3s cubic-bezier(.2,.9,.2,1)}
.hero-h .ch{display:inline-block}
.odo .d span i{font-style:normal;height:1em}
.hero-foot{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:clamp(16px,3vw,48px);border-top:1px solid var(--line-d);padding-top:clamp(16px,2.4vh,24px)}
.hero-foot p{margin:0;max-width:58ch;text-wrap:balance;font-size:clamp(15px,1.15vw,18px);line-height:1.45;color:var(--mute-d);letter-spacing:-.01em}
.hero-foot p b{color:var(--bone);font-weight:560}
.hero-foot .mono{color:var(--mute-d);display:flex;align-items:center;gap:10px}
.hero-foot .sc i{width:20px;height:30px;border-radius:99px;border:1.5px solid var(--mute-d);position:relative}
.hero-foot .sc i::after{content:"";position:absolute;left:50%;top:5px;width:4px;height:7px;margin-left:-2px;border-radius:2px;background:var(--bone);animation:wheel 1.8s ease-in-out infinite}
@keyframes wheel{60%{transform:translateY(8px);opacity:0}}
.portal{position:absolute;inset:0;z-index:2;background:var(--ink2);color:var(--ink);display:flex;align-items:flex-end;padding-bottom:9vh;clip-path:inset(50% 50% 50% 50% round 99px)}
.p-reel{position:absolute;display:flex;align-items:flex-start;padding-top:clamp(16px,3.2vh,34px);overflow:hidden;transform-origin:50% 50%}
.p-wash{position:absolute;inset:0;background:var(--bone);opacity:0}
.h-wash{position:absolute;inset:0;z-index:1;background:var(--bone);opacity:0;pointer-events:none}
.portal > .col{position:relative}
.portal h2{margin:14px 0 0;font-size:clamp(44px,7.4vw,132px);line-height:.98;letter-spacing:-.035em;font-weight:720;max-width:12ch}
.portal h2 .thin{color:var(--thin-l)}
/* people with their phones rise into the intro once it has washed to paper; staggered capsules, top right */
.p-ppl{position:absolute;z-index:1;top:clamp(110px,17vh,170px);right:max(16px,calc((100% - 1280px) / 2));display:flex;align-items:flex-start;gap:clamp(12px,1.4vw,20px)}
/* capped by height too, so on a short screen the third capsule never reaches the heading */
.pp{width:min(clamp(140px,16vw,250px),26vh);aspect-ratio:3/5;border-radius:999px;overflow:hidden;background:var(--bone2)}
.pp:nth-of-type(2){margin-top:clamp(40px,6vh,60px)}.pp:nth-of-type(3){margin-top:clamp(80px,12vh,120px)}
.pp{position:relative}
.pp img{display:block;width:100%;height:100%;object-fit:cover}
.portal .mono{color:var(--mute-l)}
@media (max-width:700px){.hero-h{font-size:9.4vw}.hero-foot{grid-template-columns:1fr auto}.hero-foot .sc{display:none}.hero-foot p{grid-column:1/-1}.hero-foot .cta{justify-self:start}.win{border-radius:min(44vw,180px)}}

/* ---------- 02 FEATURES (each screen grows in like a bar chart) ---------- */
html.stage-lock{overflow:hidden}
/* tucked 2px under the intro: their shared edge lands on a fraction of a pixel, and the intro's dark base showed through it as a line */
.w-feat{height:100vh;height:100svh;position:relative;z-index:1;margin-top:-2px}
.feat{background:var(--bone);display:grid;align-items:center}
/* the pinned stage runs 2 px past the screen: when the page stops on a fractional scroll position, the last pixel row
   still belongs to the stage, never to the light page behind it */
.w-feat > .stage{height:calc(100vh + 2px);height:calc(100svh + 2px)}
.feat-grid{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:clamp(24px,5vw,80px);align-items:center;height:100%;padding-block:90px 50px}
.idx{display:flex;flex-direction:column;gap:14px}
.idx .mono{color:var(--mute-l)}
.odo-big{display:none;font-size:clamp(120px,19vw,320px);line-height:.8;font-weight:150;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.odo-big .d{height:.8em;overflow:hidden;display:block}
.odo-big .col3{display:flex;flex-direction:column}
.odo-big .col3 i{font-style:normal;height:.8em;display:block}
/* step dots: the current step stretches from a dot into an ink capsule */
.segs{--dot:8px;--on:44px;display:flex;gap:8px;align-items:center}
.segs i{flex:none;width:var(--dot);height:var(--dot);border-radius:99px;background:var(--bone2);position:relative;overflow:hidden;transition:width .8s cubic-bezier(.65,0,.35,1)}
.segs i b{position:absolute;inset:0;background:var(--ink);opacity:0;transition:opacity .45s ease}
.segs i.on{width:var(--on)}.segs i.on b{opacity:1}
.fbox{position:relative;width:min(300px,62vw,calc((100svh - 180px) * .46));aspect-ratio:402/874;container-type:inline-size}
.fmask{position:absolute;left:0;right:0;top:50%;height:100%;transform:translateY(-50%);border-radius:13.5cqw;overflow:hidden;background:#111;box-shadow:calc(var(--sx,0) * 1px) calc(50px + var(--sy,0) * 1px) 90px -40px rgba(12,12,13,.55)}
.glare{position:absolute;inset:0;z-index:4;border-radius:13.5cqw;pointer-events:none;opacity:0;mix-blend-mode:screen;background:radial-gradient(circle at var(--gx,50%) var(--gy,30%),rgba(255,255,255,.26),rgba(255,255,255,.06) 32%,transparent 60%)}
.fmask .shot{position:absolute;left:0;top:50%;translate:0 -50%;width:100cqw;border-radius:0;box-shadow:none}
.fmask .shot+.shot{opacity:0}
.strips{position:absolute;inset:0;z-index:2}
.strip{position:absolute;top:0;bottom:0;overflow:hidden}

.ftext{position:relative;min-height:300px}
.fb{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:18px}
.fb > *{flex:none}
.fb .li{display:block}
.fb .mono{color:var(--mute-l)}
.fb h3{margin:0;font-size:clamp(34px,3.8vw,62px);line-height:1;letter-spacing:-.035em;font-weight:720;text-wrap:balance}
.fb h3 .thin{color:var(--thin-l)}
.fb p{margin:0;font-size:18px;line-height:1.5;color:var(--mute-l);max-width:34ch}
/* tablets and desktops: the phone on the left, the text beside it with the progress under it, centred as one group */
@media (min-width:701px){
  .feat-grid{grid-template-columns:auto minmax(0,440px);grid-template-rows:auto auto;align-content:center;justify-content:center;gap:28px clamp(32px,6vw,64px)}
  .fbox{grid-row:1 / 3;grid-column:1;width:min(300px,40vw,calc((100svh - 200px) * .46))}
  .idx{grid-column:2;grid-row:2;align-self:start;margin-top:clamp(28px,4vh,44px)}
  .idx > .mono{display:none}
  .odo-big{font-size:clamp(100px,15vw,150px)}
  .ftext{grid-column:2;grid-row:1;align-self:end;min-height:var(--fth,260px)}
  .fb{justify-content:flex-start}
}
/* phones: number and progress on one line, then the text, and the phone takes whatever height is left */
@media (max-width:700px){
  .feat-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:clamp(14px,2.4vh,26px);padding-block:calc(env(safe-area-inset-top,0px) + 76px) clamp(18px,3vh,32px)}
  .idx{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:16px}
  .idx > .mono{display:none}
  .odo-big{font-size:clamp(64px,13vw,120px)}
  .segs{margin-bottom:.5em}
  .ftext{grid-row:2;min-height:var(--fth,180px);width:100%}
  .fb{justify-content:flex-start;gap:12px}
  .fb h3{font-size:clamp(32px,8.6vw,56px)}
  .fb p{font-size:clamp(15px,2.2vw,18px);max-width:46ch}
  .fbox{grid-row:3;justify-self:center;align-self:stretch;height:100%;width:auto;max-width:100%;min-height:0}
}

/* ---------- 03 SCREENS (slit open + pill accordion) ---------- */
/* sections that meet tuck 2px under each other (and the gallery reaches 2px past its stage), so an edge that lands on a
   fraction of a pixel never shows the layer beneath as a thin line while scrolling */
.gal{position:absolute;inset:-2px;z-index:3;background:var(--ink);color:var(--bone);clip-path:inset(50% 0 50% 0 round 99px);display:flex;flex-direction:column;justify-content:center;gap:28px;padding-block:80px 40px}
.gal-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.gal-head h2{margin:0;font-size:clamp(40px,5.4vw,92px);line-height:.98;letter-spacing:-.035em;font-weight:720}
.gal-head h2 .thin{color:var(--mute-d)}
.gal-head .mono{color:var(--mute-d)}
.pills{display:flex;gap:clamp(8px,1vw,14px);height:min(64vh,620px)}
.pill{flex:1 1 0;min-width:52px;border-radius:44px;background:var(--ink2);position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px var(--line-d)}
.pill .vl{position:absolute;left:50%;bottom:22px;transform:translateX(-50%) rotate(180deg);writing-mode:vertical-rl;font:600 12px var(--f);letter-spacing:.07em;text-transform:uppercase;color:var(--mute-d);white-space:nowrap}
.pill .num{position:absolute;left:50%;top:20px;transform:translateX(-50%);font:500 14px var(--f);font-variant-numeric:tabular-nums;color:var(--mute-d)}
.pill .body{position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);will-change:opacity;display:flex;align-items:center;justify-content:center;gap:clamp(20px,3vw,48px);padding:24px clamp(20px,3vw,44px);opacity:0}
.pill .body .shot{--w:min(250px,calc(min(64vh,620px) * .46 - 26px));box-shadow:0 30px 60px -30px rgba(0,0,0,.8)}
.pill .cap-t{max-width:34ch}
.pill .cap-t span{text-wrap:pretty}
.pill .cap-t b{display:block;font-size:clamp(22px,2.2vw,34px);letter-spacing:-.025em;font-weight:700;line-height:1.05}
.pill .cap-t span{display:block;margin-top:10px;color:var(--mute-d);font-size:16px;line-height:1.45}
@media (max-width:800px){.pill .cap-t{display:none}.pills{height:min(58vh,520px)}.pill{min-width:34px}.pill .vl{display:none}}

/* ---------- 04 letter zoom ---------- */
.w-zoom{height:210vh;position:relative;z-index:3;margin-top:-2px}
.zoom{background:var(--ink);color:var(--bone);display:grid;place-items:center}
.zword{font-size:clamp(160px,34vw,620px);font-weight:720;letter-spacing:-.035em;line-height:.8;margin:0;will-change:transform;white-space:nowrap}
.zword span{display:inline-block}
.zfill{position:absolute;inset:0;background:var(--bone);opacity:0}

/* ---------- 05 PRICING ---------- */
.price{position:relative;z-index:3;background:var(--bone);padding-block:clamp(96px,14vh,140px) 90px;margin-top:-66vh}
.price h2{margin:0;font-size:clamp(46px,7.6vw,136px);line-height:.96;letter-spacing:-.035em;font-weight:720;max-width:14ch}
.price h2 .thin{color:var(--thin-l)}
.ptop{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;flex-wrap:wrap}
.sw{position:relative;display:flex;padding:5px;border-radius:99px;background:var(--bone2)}
.sw button{position:relative;z-index:1;border:0;background:none;padding:12px 20px;font:600 15px var(--f);cursor:pointer;border-radius:99px;transition:color .3s;color:var(--mute-l)}
.sw button[aria-pressed="true"]{color:var(--bone)}
.sw .k{position:absolute;top:5px;bottom:5px;left:5px;border-radius:99px;background:var(--ink);transition:transform .6s cubic-bezier(.3,1.4,.5,1),width .6s cubic-bezier(.3,1.4,.5,1)}
.plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:clamp(32px,6vh,56px)}
.plan{border-radius:48px;padding:clamp(26px,3vw,44px);display:flex;flex-direction:column;gap:18px;min-height:clamp(280px,40vh,360px);box-shadow:inset 0 0 0 1.5px var(--bone2)}
.plan[data-hl="true"]{background:var(--ink);color:var(--bone);box-shadow:none}
.plan .mono{color:var(--mute-l)}.plan[data-hl="true"] .mono{color:var(--mute-d)}
.amt{display:flex;align-items:baseline;gap:10px;margin-top:auto}
.amt .v{font-size:clamp(56px,7vw,112px);font-weight:200;letter-spacing:-.015em;line-height:.9;font-variant-numeric:tabular-nums;display:inline-block;overflow:hidden;height:.92em}
.amt .v{position:relative;white-space:nowrap}.amt .v span{display:block}.amt .v span.out{position:absolute;left:0;top:0}.amt .v span.in{display:inline-block}
.amt small{font-size:16px;color:var(--mute-l)}.plan[data-hl="true"] .amt small{color:var(--mute-d)}
.plan ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;font-size:16px}
.plan li{display:flex;gap:10px;align-items:center}
.plan li::before{content:"";width:16px;height:16px;flex:none;background:currentColor;opacity:.9;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4 6.5 11.6 12.8 4.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4 6.5 11.6 12.8 4.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
@media (max-width:760px){.plans{grid-template-columns:minmax(0,1fr)}.plan{min-height:0}}

/* ---------- 06 END (ink pills slide in from both sides and close up) ---------- */
/* the page ends on a fractional pixel and the bottom overscroll bounces, so what lies past the body is ink, not bone */
html{background:var(--ink)}
.w-end{height:250vh;position:relative;z-index:4;margin-top:-70vh;pointer-events:none}
.w-end.live{pointer-events:auto}
.bands{position:absolute;inset:0;display:flex;flex-direction:column}
.bands i{flex:1;margin-block:-1px;background:var(--ink);border-radius:999px}
.drop{position:absolute;inset:0;z-index:1;color:var(--bone);display:flex;flex-direction:column;justify-content:space-between;padding-top:calc(env(safe-area-inset-top,0px) + clamp(96px,16vh,150px));overflow:hidden}
.drop .dtop{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(32px,5vw,90px);align-items:end}
.drop h2{margin:0;font-size:clamp(46px,6.6vw,118px);line-height:.95;letter-spacing:-.035em;font-weight:720}
.drop h2 .thin{color:var(--mute-d)}
.dside{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(24px,3.4vh,36px);padding-bottom:.4vw}
.facts{list-style:none;margin:0;padding:0;align-self:stretch;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));border-top:1px solid var(--ink3)}
.facts li{padding:16px 14px 0 0;font-size:15px;line-height:1.35;color:var(--mute-d)}
.facts b{display:block;color:var(--bone);font-weight:620;font-size:17px;letter-spacing:-.01em;margin-bottom:4px}
.bigcta{border:0;border-radius:99px;background:var(--bone);color:var(--ink);font:620 clamp(18px,1.8vw,24px) var(--f);letter-spacing:-.02em;padding:22px 34px;cursor:pointer;display:inline-flex;align-items:center;gap:14px;text-decoration:none}
.bigcta svg{width:20px;height:20px}
/* the brand name runs off the bottom edge, set in the darkest step above the background */
.drop .wm{display:flex;justify-content:center;pointer-events:none;line-height:.8;overflow:hidden}
.drop .wm span{font-size:min(29vw,60vh);font-weight:760;letter-spacing:-.05em;color:var(--ink2);white-space:nowrap;transform:translateY(.05em)}
@media (max-width:800px){.drop{padding-top:calc(env(safe-area-inset-top,0px) + 96px)}.drop .dtop{grid-template-columns:1fr;gap:30px}.drop h2{font-size:12vw}.drop .dfoot{flex-direction:column;gap:10px}}
.drop .dfoot{position:relative;z-index:1;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--mute-d);margin-top:auto;padding-top:clamp(36px,6vh,70px);margin-bottom:clamp(18px,3vh,30px)}


/* ---------- 03b VIDEO: a plain 16:9 player, the way a buyer's own video would sit ---------- */
/* no negative margin, and below the pinned stage before it: an overlap of even one pixel showed as a light line under it */
.vid{position:relative;z-index:0;background:var(--bone);padding-block:clamp(110px,16vh,180px)}
.vid-top{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:clamp(36px,6vh,64px)}
.vid-top .mono{color:var(--mute-l);display:block;margin-bottom:18px}
.vid-top h2{margin:0;font-size:clamp(40px,5.4vw,92px);line-height:.98;letter-spacing:-.035em;font-weight:720}
.vid-top h2 .thin{color:var(--thin-l);display:block}
.vid-top p{margin:0;font-size:18px;line-height:1.5;color:var(--mute-l);max-width:34ch}
.vframe{position:relative;aspect-ratio:16/9;border-radius:28px;overflow:hidden;background:var(--ink);box-shadow:0 50px 90px -60px rgba(12,12,13,.5)}
.vframe video{display:block;width:100%;height:100%;object-fit:cover}
.vbtn{position:absolute;left:22px;bottom:22px;height:48px;padding:0 20px 0 6px;border:0;border-radius:99px;background:rgba(12,12,13,.72);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:var(--bone);display:flex;align-items:center;gap:10px;font:600 15px var(--f);letter-spacing:-.01em;cursor:pointer}
.vbtn i{width:36px;height:36px;border-radius:99px;background:var(--bone);color:var(--ink);display:grid;place-items:center}
.vbtn svg{width:14px;height:14px}

/* ---------- 03c REAL LIFE: photos of people with the app, in capsules that open as they arrive ---------- */
.life{position:relative;z-index:3;margin-top:-2px;background:var(--ink);color:var(--bone);padding-block:clamp(110px,16vh,180px) clamp(40px,8vh,90px)}
.life-head{display:flex;flex-direction:column;gap:18px;margin-bottom:clamp(44px,7vh,80px)}
.life-head .mono{color:var(--mute-d)}
.life-head h2{margin:0;font-size:clamp(40px,5.4vw,92px);line-height:.98;letter-spacing:-.035em;font-weight:720}
.life-head h2 .thin{color:var(--mute-d)}
.life-row{max-width:1280px;margin-inline:auto;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:clamp(14px,1.6vw,24px);align-items:start;box-sizing:content-box}
.lf{margin:0}
.lf:nth-of-type(even){margin-top:clamp(40px,8vh,96px)}
.lf-img{position:relative;aspect-ratio:3/5;border-radius:999px;overflow:hidden;background:var(--ink2)}
.lf-img img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;transition:transform 1.2s var(--ease)}
@media (hover:hover){.lf:hover .lf-img img{transform:scale(1.06)}}
.lf figcaption{display:flex;flex-direction:column;gap:6px;padding:20px 6px 0}
.lf b{font-size:20px;letter-spacing:-.025em;font-weight:680}
.lf span{font-size:15px;line-height:1.45;color:var(--mute-d)}

/* ---------- 04 APP STORE RATING: the score counts up, stars fill, reviews drift in two opposite rows ---------- */
.rate{position:relative;z-index:3;margin-top:-2px;background:var(--ink);color:var(--bone);padding-block:clamp(100px,15vh,170px) clamp(80px,12vh,140px);overflow:hidden}
.rate-top{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(28px,6vw,110px);align-items:end}
.score{display:flex;flex-direction:column;gap:18px}
.score .mono{color:var(--mute-d);display:flex;align-items:center;gap:10px}
.score .mono svg{width:16px;height:16px}.score .mono .asi{width:20px;height:20px}
.score-n{font-size:clamp(120px,16vw,270px);font-weight:150;letter-spacing:-.02em;line-height:.78;font-variant-numeric:tabular-nums;margin:0}
.stars{display:flex;gap:6px;--sz:26px}
.star{position:relative;width:var(--sz);height:var(--sz)}
.star span,.star svg{position:absolute;inset:0;width:100%;height:100%}
.star .on{clip-path:inset(0 calc(100% - var(--fill,0%)) 0 0)}
.star .off{opacity:.18}
.rmeta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:var(--mute-d);font-size:16px}
.rmeta b{color:var(--bone);font-weight:600}
.badge{display:inline-flex;align-items:center;gap:8px;padding:9px 14px 9px 10px;border-radius:99px;box-shadow:inset 0 0 0 1px var(--ink3);color:var(--bone);font-size:14px;font-weight:560}
.badge svg{width:18px;height:18px;color:var(--accent)}
.rate-t h2{max-width:13ch;margin:0 0 26px;font-size:clamp(40px,5.4vw,92px);line-height:.98;letter-spacing:-.035em;font-weight:720}
.rate-t h2 .thin{color:var(--mute-d)}
.rate-t a{display:inline-flex;align-items:center;gap:8px;color:var(--mute-d);font-size:16px;text-decoration:none;transition:color .2s}
.rate-t a:hover{color:var(--bone)}
.rate-t a svg{width:14px;height:14px}
.reviews{margin-top:clamp(56px,9vh,96px);display:flex;flex-direction:column;gap:14px;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.rv-row{display:flex;gap:14px;width:max-content;will-change:transform}
.rv{width:min(390px,80vw);flex:none;border-radius:34px;background:var(--ink2);box-shadow:inset 0 0 0 1px var(--line-d);padding:26px 28px;display:flex;flex-direction:column;gap:12px;transition:background .3s}
.rv:hover{background:var(--ink3)}
.rv .stars{--sz:15px;gap:3px}
.rv b{font-size:19px;letter-spacing:-.03em;font-weight:680}
.rv p{margin:0;color:var(--mute-d);font-size:15px;line-height:1.5}
.rv small{margin-top:auto;color:var(--mute-d);font-size:13px}
@media (max-width:800px){.rate-top{grid-template-columns:minmax(0,1fr)}.score-n{font-size:120px}}
.reel-set{display:contents}
/* before the intro runs, keep its pieces hidden so the finished hero never flashes */
.pre .hero-foot,.pre .hero-h{opacity:0}
.pre #win{clip-path:inset(45% 49% 45% 49% round 99px)}
.dfoot a{text-decoration:none;transition:color .2s}.dfoot a:hover{color:var(--bone)}

/* ---------- preloader: a ball bounces on an unseen floor, then stretches into the capsule the screen window opens from ---------- */
.pl{display:none}
html.preloading .pl{display:block;position:fixed;inset:0;z-index:240}
.pl-bg{position:absolute;inset:0;background:var(--ink)}
.pl-cap{position:absolute;left:50%;top:50%;width:18px;height:18px;transform:translate(-50%,-50%);border-radius:9999px}
.pl-cap i{position:absolute;inset:0;border-radius:inherit;background:var(--bone);transform-origin:50% 100%;animation:pl-bounce .8s infinite}
.pl-sh{position:absolute;left:50%;top:calc(50% + 12px);width:22px;height:5px;margin-left:-11px;border-radius:50%;background:var(--bone);opacity:.18;animation:pl-shadow .8s infinite}
@keyframes pl-bounce{
  0%,100%{transform:translateY(-46px);animation-timing-function:cubic-bezier(.5,0,.9,.4)}
  44%{transform:translateY(0) scale(1,1);animation-timing-function:ease-out}
  52%{transform:translateY(0) scale(1.3,.72);animation-timing-function:ease-out}
  60%{transform:translateY(-4px) scale(.94,1.06);animation-timing-function:cubic-bezier(.1,.6,.5,1)}
}
@keyframes pl-shadow{
  0%,100%{transform:scale(.45);opacity:.06;animation-timing-function:cubic-bezier(.5,0,.9,.4)}
  44%,52%{transform:scale(1.1);opacity:.2;animation-timing-function:ease-out}
}

/* ---------- phones: every full-screen stage spends its height on its picture, never on empty space ---------- */
@media (max-width:700px){
  .win{align-items:center;padding-top:0}
  .reel .shot,.p-reel .shot{--w:var(--rw,150px)}
  .p-reel{align-items:center;padding-top:0}
  .portal h2{font-size:13.4vw}
  .gal{justify-content:flex-start;gap:18px;padding-block:calc(env(safe-area-inset-top,0px) + 82px) 20px}
  .gal-head h2{font-size:11vw}
  /* the thin half of every two-part headline starts its own line, so no single word dangles at the end of the bold one */
  .portal h2 .thin,.gal-head h2 .thin,.rate-t h2 .thin,.price h2 .thin{display:block}
  /* gallery: one screen at a time, as large as the screen allows, with its caption; no narrow pill boxes */
  .pills{flex:1 1 auto;height:auto;min-height:0;position:relative;display:block}
  .pill{position:absolute;inset:0;min-width:0;background:none;box-shadow:none;border-radius:0;overflow:visible}
  .pill .num,.pill .vl{display:none}
  .pill .body{left:0;right:0;width:auto!important;transform:none;padding:0;flex-direction:column;justify-content:center;gap:22px}
  .pill .cap-t{display:block;text-align:left;align-self:stretch;max-width:none}
  .pill .cap-t b{font-size:24px}
  .pill .cap-t span{font-size:15px;margin-top:8px}
  .gal-head{flex-direction:column;align-items:flex-start;gap:12px}
  /* reviews: compact cards */
  .reviews{gap:10px;margin-top:44px}
  .rv-row{gap:10px}
  .rv{width:min(300px,74vw);padding:20px 22px;border-radius:26px;gap:8px}
  .rv b{font-size:17px}
  .rv p{font-size:14px;line-height:1.45}
  .rv small{font-size:12px}
  .rv .stars{--sz:12px}
  /* no letter zoom on phones: at this size it read as a blank screen between the reviews and the plans */
  .w-zoom{display:none}
  .price{margin-top:-2px}

  .price{padding-top:calc(env(safe-area-inset-top,0px) + 92px)}
  .price h2,.rate-t h2{font-size:12vw}
  .price h2{font-size:10.6vw}
  .drop{justify-content:flex-start;padding-top:calc(env(safe-area-inset-top,0px) + 76px)}
  .drop .dtop{margin-block:auto;gap:28px}
  .drop h2{font-size:13.6vw;line-height:.92}
  .dside{align-items:stretch;gap:24px}
  .bigcta{justify-content:center;padding:20px 24px}
  .facts{grid-template-columns:minmax(0,1fr);border-top:0}
  .facts li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;border-top:1px solid var(--ink3)}
  .facts li:last-child{border-bottom:1px solid var(--ink3)}
  .facts b{margin:0}
  .drop .dfoot{margin-top:0;padding-top:24px}
}
/* short phones: the feature text drops its paragraph so the screen stays readable */
@media (max-width:700px) and (max-height:760px){.fb p{display:none}}
/* phones: the progress bars sit centred above the feature text */
/* phones: the text first, a short progress bar under it, then the screen */
@media (max-width:700px){
  .feat-grid{grid-template-rows:auto auto minmax(0,1fr);padding-top:calc(env(safe-area-inset-top,0px) + 96px)}
  .ftext{grid-row:1}
  .idx{grid-row:2;justify-content:flex-start}
  .segs{--dot:6px;--on:32px;gap:6px;margin:0}
}
/* phones: the photo and the phone stack under the text; the photos become a row you swipe */
@media (max-width:700px){
  .vid{padding-block:calc(env(safe-area-inset-top,0px) + 96px) 80px}
  .life-head h2{font-size:12vw}
  .life-head h2 .thin{display:block}
  .life{padding-block:96px 64px}
  .life-row{grid-auto-columns:68vw;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px;scroll-padding-inline:16px}
  .life-row::-webkit-scrollbar{display:none}
  .lf{scroll-snap-align:start}
  .lf:nth-of-type(even){margin-top:0}
  .lf figcaption{padding-inline:0}
}
/* phones: the intro photos fill the empty top of the screen; the video's caption stacks above it */
@media (max-width:700px){
  /* the intro on a phone: two tall capsules, stepped like the desktop row, fill everything between the nav and the title */
  .portal{flex-direction:column;align-items:stretch;justify-content:flex-end;gap:32px;padding-top:calc(env(safe-area-inset-top,0px) + 80px)}
  .p-ppl{position:relative;inset:auto;flex:1 1 auto;min-height:0;margin-inline:16px;gap:12px}
  .pp{width:auto;flex:1 1 0;aspect-ratio:auto;height:calc(100% - 56px)}
  .pp:nth-of-type(2){margin-top:56px}
  .pp:nth-of-type(3){display:none}
  .vid-top{flex-direction:column;align-items:flex-start;gap:16px}
  .vid-top h2{font-size:12vw}
  .vid-top p{font-size:16px}
  .vframe{border-radius:20px}
  .vbtn{left:12px;bottom:12px;height:40px;padding:0 14px 0 4px;font-size:13px}
  .vbtn i{width:32px;height:32px}
}
/* every photo gets the same wash of the tint over most of its own colour, so shots from any source read as one set */
.pp img,.lf-img img{filter:saturate(.35) contrast(1.06)}
.pp::after,.lf-img::after{content:"";position:absolute;inset:0;background:var(--tint);mix-blend-mode:color;opacity:.6;pointer-events:none}

/* ---------- plan buttons and the video length: phone-only parts, kept out of the desktop layout ---------- */
.pl-item{display:contents}
.pcta,.vdur{display:none}

/* ---------- phones, v2: one rhythm for every scrolling section (16 px gutters, 64 px above and below, 16 from a label to its
   title and to its text, 32 to the picture), the score beside its stars, a button under each plan, a portrait video ---------- */
@media (max-width:700px){
  .vid,.life,.rate{padding-block:64px}
  .price{padding-top:calc(env(safe-area-inset-top,0px) + 80px);padding-bottom:64px}
  .vid-top{gap:16px;margin-bottom:32px}
  .vid-top .mono{margin-bottom:16px}
  .life-head{gap:16px;margin-bottom:32px}
  /* rating: the big score on the left, its stars, count and badge stacked beside it, the title under both */
  .rate-top{gap:24px}
  .score{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:20px;row-gap:12px;align-items:center}
  .score .mono{grid-column:1 / -1;margin-bottom:12px}
  .score-n{grid-row:2 / span 2;font-size:120px}
  .score .stars{align-self:end}
  .rmeta{flex-direction:column;align-items:flex-start;gap:12px;align-self:start}
  .rmeta .badge{white-space:nowrap}
  .rate-t h2{font-size:10.4vw;margin-bottom:20px}
  /* reviews: one row you swipe yourself, nothing drifts */
  .reviews{margin-top:32px;mask-image:none;-webkit-mask-image:none}
  .reviews{margin-inline:-16px}
  .reviews .rv-row{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;width:auto;padding-inline:16px;scroll-padding-inline:16px;gap:12px}
  .reviews .rv-row::-webkit-scrollbar{display:none}
  .reviews .rv{scroll-snap-align:start;flex:none}
  /* pricing: every plan has its own button right under it */
  .price h2{font-size:9.4vw}
  .sw{margin-top:4px}
  .plans{gap:32px;margin-top:32px}
  .pl-item{display:flex;flex-direction:column;gap:12px}
  .plan{padding:32px;border-radius:36px}
  .amt{margin-top:22px}
  .pcta{display:inline-flex;width:100%}
  /* video: a portrait frame on the app screen, with its length in the corner */
  .vframe{aspect-ratio:3 / 4}
  .vframe video{object-position:96% 50%}
  .vdur{display:block;position:absolute;right:16px;top:16px;z-index:2;padding:6px 12px;border-radius:99px;background:color-mix(in srgb,var(--ink2) 90%,transparent);color:var(--bone);font:600 15px var(--f);font-variant-numeric:tabular-nums}
  .vdur:empty{display:none}
  .vframe::after{content:"";position:absolute;inset:auto 0 0;height:33%;background:linear-gradient(transparent,color-mix(in srgb,var(--ink) 85%,transparent));pointer-events:none}
  .vbtn{z-index:2;left:16px;bottom:16px;height:48px;padding:0 20px 0 6px;font-size:15px}
  .vbtn i{width:36px;height:36px}
}

/* ---------- Kapsy: laptop mocks (scenarios, hero strip, film) ---------- */
.lap{position:relative}
.lap-scr{position:relative;border-radius:clamp(10px,1.4vw,20px) clamp(10px,1.4vw,20px) 4px 4px;background:#0f0f10;padding:2.4% 2.4% 3.2%;box-shadow:0 40px 90px -40px rgba(12,12,13,.6),inset 0 0 0 1.5px #2b2b2e}
.lap-scr::before{content:"";position:absolute;left:50%;top:1.1%;width:.7%;aspect-ratio:1;border-radius:50%;background:#2a2a2d;transform:translateX(-50%)}
.lap-in{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:4px;background:#f6f2e9}
.lap-in img,.lap-in video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lap-base{position:relative;height:clamp(8px,1.2vw,16px);margin:0 -7%;background:linear-gradient(#dcdcd8,#9e9e9a);border-radius:2px 2px 40% 40% / 2px 2px 100% 100%}
.lap-base::after{content:"";position:absolute;left:50%;top:0;width:16%;height:45%;background:#8d8d89;border-radius:0 0 8px 8px;transform:translateX(-50%)}
/* scenarios: the laptop sits behind the phone, its screen follows the step */
.flap{display:none}
#flap img{opacity:0}
#flap img:first-of-type{opacity:1}
@media (min-width:1100px){
  .flap{display:block;grid-row:1 / 3;grid-column:1;justify-self:start;align-self:center;width:min(680px,40vw);margin-right:200px;transform:translateY(-6%);z-index:0}
  .fbox{grid-row:1 / 3;grid-column:1;justify-self:end;z-index:2;width:min(270px,20vw,calc((100svh - 200px) * .46))}
}
/* hero strip: laptops between the phones, centred on the phones' height */
.reel .lapshot{flex:none;align-self:center;width:calc(var(--w, 200px) * 2.25)}
.reel .lapshot .lap-base{height:calc(var(--w, 200px) * .06)}
/* the film plays on a laptop */
.vlap{max-width:min(1000px,calc((100svh - 160px) * 1.5));margin:0 auto}
.vlap .vframe{aspect-ratio:16/10;border-radius:4px;box-shadow:none}
