/* r27 (Luka, Nov 17): PRODUCT PAGES. One shared look for pages like Apple's own product pages (app.html first; Plus, store,
   gifts can follow). Use with r22nav.css (top nav + footer) and product.js (reveal on scroll + the "coming soon" flags).
   Building blocks (all optional, in any order):
     .pp-hero              big hero: .pp-kick, h1, .pp-sub, .pp-cta, then .pp-heroart
     section.pp-f          one feature = one screen + one short line. .pp-f.flip = picture on the left.
       .pp-ft (words: .pp-kick, h2, p)   .pp-fv (picture)
     section.pp-band       a full-width tinted band (devices, setup, what's new, FAQ)
     .pp-steps / .pp-new / .pp-faq / .pp-devs     lists inside a band
     [data-feature="x"]    gets a "Coming soon" pill when product.js lists x as not shipped */
:root{--bg:#E7E4DF;--bg2:#F2F0EC;--card:#FBFAF8;--ink:#111214;--dim:rgba(17,18,20,.64);--faint:rgba(17,18,20,.38);--edge:rgba(17,18,20,.10);
  --btn:#111214;--btnInk:#fff;--glass:rgba(255,255,255,.55);--plus:#5B3BD9;--acc:#111214;color-scheme:light}
:root[data-theme="dark"]{--bg:#0B0B0D;--bg2:#141417;--card:#1A1A1E;--ink:#F4F4F5;--dim:rgba(244,244,245,.64);--faint:rgba(244,244,245,.38);--edge:rgba(255,255,255,.11);
  --btn:#F4F4F5;--btnInk:#0B0B0D;--glass:rgba(255,255,255,.06);--plus:#B9A6FF;--acc:#F4F4F5;color-scheme:dark}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:90px}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.55 "Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);-webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%;height:auto;display:block}
:root[data-theme="dark"] .only-light,:root:not([data-theme="dark"]) .only-dark{display:none!important}
.pp-w{max-width:1120px;margin:0 auto;padding:0 max(22px,env(safe-area-inset-left,0px))}
.pp-kick{margin:0 0 10px;font-size:15px;font-weight:700;letter-spacing:.01em;color:var(--dim)}
.pp-new-pill,.pp-soon{display:inline-block;margin-left:8px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.02em;vertical-align:2px}
.pp-new-pill{background:var(--acc);color:var(--bg2)}   /* r27b: brand = black (never green); white-on-black in light, black-on-white in dark */
.pp-soon{border:1px dashed var(--faint);color:var(--dim)}
/* buttons */
.pp-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:46px;padding:0 22px;border-radius:999px;background:var(--btn);color:var(--btnInk);font-weight:700;font-size:16px;text-decoration:none;white-space:nowrap}
.pp-btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--edge)}
.pp-link{display:inline-flex;align-items:center;gap:4px;font-weight:600;text-decoration:none;color:var(--ink)}
.pp-link::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg);margin-left:2px}
.pp-badges{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.pp-badges img{height:44px;width:auto}
/* hero */
.pp-hero{text-align:center;padding:clamp(46px,7vw,92px) 0 0;overflow:hidden}
.pp-hero h1{margin:0 auto;max-width:14ch;font-size:clamp(44px,7.4vw,92px);line-height:1.02;letter-spacing:-.045em;font-weight:800;text-wrap:balance}
.pp-sub{margin:18px auto 0;max-width:34ch;font-size:clamp(19px,2vw,24px);line-height:1.4;color:var(--dim);text-wrap:balance}
.pp-cta{margin:28px 0 0;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;align-items:center}
.pp-note{margin:14px 0 0;font-size:14px;color:var(--faint)}
.pp-heroart{position:relative;margin:clamp(40px,6vw,70px) auto 0;height:clamp(420px,52vw,640px);max-width:900px;-webkit-mask-image:linear-gradient(#000 78%,transparent);mask-image:linear-gradient(#000 78%,transparent)}   /* the phones melt into the page instead of a hard cut */
.pp-heroart>figure{position:absolute;bottom:-12%;margin:0;width:clamp(200px,26vw,300px);filter:drop-shadow(0 30px 40px rgba(40,30,20,.20))}
:root[data-theme="dark"] .pp-heroart>figure{filter:drop-shadow(0 30px 50px rgba(0,0,0,.6))}
.pp-heroart>figure.c{left:50%;transform:translateX(-50%);z-index:2;width:clamp(230px,30vw,340px);bottom:-8%}
.pp-heroart>figure.l{left:calc(50% - clamp(310px,38vw,430px))}
.pp-heroart>figure.r{right:calc(50% - clamp(310px,38vw,430px))}
/* feature */
.pp-f{padding:clamp(64px,9vw,128px) 0}
.pp-f+.pp-f{border-top:1px solid var(--edge)}
.pp-f .pp-w{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(32px,6vw,96px);align-items:center}
.pp-f.flip .pp-ft{order:2}
.pp-ft h2{margin:0;font-size:clamp(34px,4.6vw,56px);line-height:1.04;letter-spacing:-.04em;font-weight:800;text-wrap:balance}
.pp-ft p{margin:16px 0 0;max-width:30ch;font-size:clamp(18px,1.7vw,21px);line-height:1.45;color:var(--dim);text-wrap:pretty}
.pp-ft .pp-link{margin-top:18px}
.pp-fv{display:flex;justify-content:center;align-items:flex-end;gap:clamp(14px,2vw,26px);min-width:0}
.pp-fv .ph{width:clamp(210px,24vw,330px);filter:drop-shadow(0 24px 34px rgba(40,30,20,.18))}
:root[data-theme="dark"] .pp-fv .ph{filter:drop-shadow(0 24px 40px rgba(0,0,0,.55))}
.pp-fv .ph.sm{width:clamp(170px,19vw,265px)}
.pp-fv .ph.lo{margin-bottom:-4%}
.pp-fv .wide{width:100%;max-width:560px;filter:drop-shadow(0 24px 34px rgba(40,30,20,.18))}
.pp-fv .watch{width:clamp(108px,11vw,156px);min-width:0}
.pp-fv .watch.big{width:clamp(128px,13.5vw,190px)}
/* full-width bands */
.pp-band{background:var(--bg2);padding:clamp(64px,9vw,120px) 0;border-top:1px solid var(--edge)}
.pp-band h2{margin:0;font-size:clamp(34px,4.6vw,56px);line-height:1.04;letter-spacing:-.04em;font-weight:800;text-align:center;text-wrap:balance}
.pp-band .pp-lead{margin:14px auto 0;max-width:40ch;text-align:center;font-size:clamp(18px,1.7vw,21px);color:var(--dim);text-wrap:balance}
/* devices */
.pp-devs{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;align-items:end}
.pp-devs li{display:grid;justify-items:center;gap:14px;text-align:center}
.pp-devs img{height:calc(var(--h,200) * 1px * var(--k,1));width:auto;max-width:100%;object-fit:contain}
.pp-devs{--k:1}.pp-devs .d-phone img{--h:200}.pp-devs .d-duo img{--h:150}.pp-devs .d-pad img{--h:172}.pp-devs .d-watch img{--h:190}   /* sizes roughly true to life */
.pp-devs b{font-size:17px;letter-spacing:-.01em}
.pp-devs span{display:block;font-size:14px;color:var(--dim);margin-top:-8px;max-width:22ch}
/* steps */
.pp-steps{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;counter-reset:s}
.pp-steps li{background:var(--card);border:1px solid var(--edge);border-radius:28px;padding:28px 26px 26px;display:grid;align-content:start;gap:10px}
.pp-steps li::before{counter-increment:s;content:counter(s);width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--btn);color:var(--btnInk);font-weight:800;font-size:15px}
.pp-steps h3{margin:6px 0 0;font-size:21px;letter-spacing:-.02em;line-height:1.2}
.pp-steps p{margin:0;color:var(--dim);font-size:16px}
.pp-steps .lcd{margin-top:10px;border-radius:14px;background:#2F3032;padding:8px}
.pp-steps .lcd img{border-radius:6px;background:#1C1D1F}
.pp-steps .key{display:inline-block;font-size:12.5px;font-weight:800;padding:2px 9px;border-radius:7px;border:1px solid var(--edge);background:var(--glass)}
.pp-steps .pp-badges img{height:38px}
/* what's new */
.pp-new{list-style:none;margin:44px auto 0;padding:0;max-width:760px;display:grid;gap:12px}
.pp-new li{display:grid;grid-template-columns:52px 1fr;gap:4px 16px;align-items:center;background:var(--card);border:1px solid var(--edge);border-radius:22px;padding:18px 20px}
.pp-new .ic{grid-row:span 2;width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:var(--bg2);border:1px solid var(--edge)}
.pp-new .ic svg{width:26px;height:26px}
.pp-new b{font-size:18px;letter-spacing:-.01em}
.pp-new p{margin:0;color:var(--dim);font-size:15.5px}
/* faq */
.pp-faq{margin:40px auto 0;max-width:760px;border-top:1px solid var(--edge)}
.pp-faq details{border-bottom:1px solid var(--edge)}
.pp-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 2px;font-size:19px;font-weight:700;letter-spacing:-.01em}
.pp-faq summary::-webkit-details-marker{display:none}
.pp-faq summary::after{content:"";flex:none;width:10px;height:10px;border:solid var(--dim);border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-3px);transition:transform .25s}
.pp-faq details[open] summary::after{transform:rotate(225deg) translate(-2px,-2px)}
.pp-faq .a{padding:0 2px 22px;color:var(--dim);font-size:16.5px;max-width:62ch}
.pp-faq .a a{color:var(--ink);font-weight:600}
/* closing */
.pp-end{text-align:center;padding:clamp(70px,9vw,120px) 0 20px}
.pp-end h2{margin:0;font-size:clamp(34px,4.6vw,56px);letter-spacing:-.04em;line-height:1.04;font-weight:800}
.pp-end .pp-cta{margin-top:26px}
/* reveal (product.js adds .pp-in when on screen; no JS / reduced motion = shown at once) */
.pp-js .pp-rv{opacity:0;transform:translateY(28px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.pp-js .pp-rv.pp-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.pp-js .pp-rv{opacity:1;transform:none;transition:none}}
/* phone */
@media (max-width:860px){
  .pp-f .pp-w{grid-template-columns:1fr;text-align:center}
  .pp-f.flip .pp-ft{order:0}
  .pp-ft p{margin-left:auto;margin-right:auto}
  .pp-devs{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:34px}
  .pp-steps{grid-template-columns:1fr;max-width:480px;margin-left:auto;margin-right:auto}
}
@media (max-width:560px){
  body{font-size:16px}
  .pp-heroart{height:clamp(330px,96vw,420px)}
  .pp-heroart>figure{width:44vw}.pp-heroart>figure.c{width:52vw}
  .pp-heroart>figure.l{left:-2vw}.pp-heroart>figure.r{right:-2vw}
  .pp-fv .ph{width:min(62vw,280px)}.pp-fv .ph.sm{width:40vw}
  .pp-fv.two .ph{width:42vw}
  .pp-fv .watch{width:27vw}.pp-fv .watch.big{width:32vw}
  .pp-devs{--k:.72}
  .pp-devs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pp-devs li:last-child{grid-column:span 2}
  .pp-new li{grid-template-columns:44px 1fr;padding:16px}.pp-new .ic{width:44px;height:44px}
}

/* r27b (Luka, Nov 17): small labelled lists under a feature's words (widgets by name with their tile, the watch remote button by button) */
.pp-mini{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:12px;max-width:420px}
.pp-mini li{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center;font-size:15.5px;line-height:1.4;color:var(--dim)}
.pp-mini b{display:block;color:var(--ink);font-size:16px;font-weight:700;letter-spacing:-.005em}
.pp-tiles img{width:64px;height:64px;border-radius:15px;box-shadow:0 0 0 1px var(--edge),0 6px 14px rgba(40,30,20,.10)}
:root[data-theme="dark"] .pp-tiles img{box-shadow:0 0 0 1px var(--edge),0 6px 16px rgba(0,0,0,.45)}
.pp-keys{gap:10px}
.pp-keys .k{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:var(--card);border:1px solid var(--edge)}
.pp-keys .k svg{width:22px;height:22px}
@media (max-width:860px){.pp-mini{margin-left:auto;margin-right:auto;text-align:left}.pp-tiles img{width:56px;height:56px;border-radius:13px}}

/* r31 (Luka, Nov 17): TIGHTER app page. Less empty space, the side space used.
   .pp-cards > .pp-grid = 2-up feature cards (words on top, the screen rising from the bottom edge).
   .pp-card.wide = spans both columns, words left + pictures right (.flip = pictures left). .pp-card.dev = a wide device picture, shown whole. */
.pp-hero{padding-top:clamp(36px,5vw,64px)}
.pp-heroart{max-width:none;height:clamp(330px,38vw,500px);margin-top:clamp(28px,4vw,48px)}   /* r31: full width, so the phones' shadows are never cut into a hard edge on the left */
.pp-band{padding:clamp(52px,6vw,84px) 0}
.pp-devband{padding:clamp(44px,5vw,64px) 0 clamp(40px,5vw,60px)}
.pp-devband .pp-devs{margin-top:34px;--k:.82}
.pp-cards{padding:clamp(20px,3vw,36px) 0 clamp(52px,6vw,84px)}
.pp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.pp-card{position:relative;background:var(--card);border:1px solid var(--edge);border-radius:32px;overflow:hidden;display:flex;flex-direction:column;padding:clamp(28px,3.2vw,44px) clamp(24px,3.2vw,44px) 0;scroll-margin-top:90px}
.pp-ct h2{margin:0;font-size:clamp(28px,3vw,40px);line-height:1.06;letter-spacing:-.035em;font-weight:800;text-wrap:balance}
.pp-ct p{margin:12px 0 0;max-width:34ch;font-size:clamp(16px,1.35vw,18px);line-height:1.45;color:var(--dim);text-wrap:pretty}
.pp-ct .pp-kick{margin-bottom:8px}
.pp-cv{display:flex;justify-content:center;align-items:flex-start;gap:clamp(12px,1.6vw,20px);margin-top:clamp(22px,2.6vw,32px);height:clamp(300px,30vw,390px);overflow:hidden;min-width:0;
  -webkit-mask-image:linear-gradient(#000 86%,transparent);mask-image:linear-gradient(#000 86%,transparent)}
.pp-cv .ph{flex:none;width:clamp(200px,20vw,262px);filter:drop-shadow(0 14px 22px rgba(40,30,20,.16))}
.pp-cv .ph.sm{width:clamp(170px,16.5vw,218px)}
.pp-cv .ph.lo{margin-top:clamp(28px,3vw,44px)}
:root[data-theme="dark"] .pp-cv .ph{filter:drop-shadow(0 14px 26px rgba(0,0,0,.55))}
/* wide cards */
.pp-card.wide{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,4vw,56px);align-items:center;padding-bottom:0}
.pp-card.wide .pp-ct{padding-bottom:clamp(28px,3.2vw,44px);align-self:center}
.pp-card.wide .pp-cv{margin-top:0;align-self:end;height:clamp(330px,32vw,420px)}
.pp-card.wide.flip .pp-ct{order:2}
.pp-card.wide .pp-mini{margin-top:20px}
/* the watch remote: three watches, whole (no cut), centred */
.pp-card#watch .pp-cv{align-self:center;align-items:center;height:auto;padding:clamp(24px,3vw,40px) 0;-webkit-mask-image:none;mask-image:none}
.pp-card#watch .pp-cv .watch{width:clamp(104px,10vw,148px)}.pp-card#watch .pp-cv .watch.big{width:clamp(124px,12vw,176px)}
/* device cards (iPad, Duo): the picture whole, on the card's floor */
.pp-card.dev .pp-cv{height:auto;align-items:flex-end;padding-bottom:clamp(24px,3vw,40px);-webkit-mask-image:none;mask-image:none;flex:1}
.pp-card.dev .pp-cv .wide{width:100%;max-width:520px;filter:drop-shadow(0 16px 26px rgba(40,30,20,.16))}
:root[data-theme="dark"] .pp-card.dev .pp-cv .wide{filter:drop-shadow(0 16px 30px rgba(0,0,0,.55))}
/* what's new: 2-up on wide screens */
@media (min-width:861px){.pp-new{max-width:1000px;grid-template-columns:repeat(2,minmax(0,1fr))}.pp-new li:last-child:nth-child(odd){grid-column:1 / -1;max-width:calc(50% - 6px);justify-self:center;width:100%}}
.pp-steps{margin-top:36px}.pp-new{margin-top:34px}.pp-faq{margin-top:30px}
.pp-end{padding:clamp(48px,6vw,80px) 0 16px}
@media (max-width:760px){
  .pp-grid{grid-template-columns:1fr;gap:14px}
  .pp-card{border-radius:26px;padding:26px 22px 0;text-align:center}
  .pp-ct p{margin-left:auto;margin-right:auto}
  .pp-cv{height:min(84vw,330px);margin-top:20px}
  .pp-cv .ph{width:min(56vw,230px)}.pp-cv .ph.sm{width:min(42vw,180px)}.pp-cv.two .ph{width:min(40vw,176px)}.pp-cv.two .ph.sm{width:min(36vw,160px)}
  .pp-card.wide{display:flex;gap:0}
  .pp-card.wide .pp-ct{padding-bottom:0}
  .pp-card.wide.flip .pp-ct{order:0}
  .pp-card.wide .pp-cv{height:min(84vw,330px);margin-top:20px;align-self:stretch}
  .pp-card#watch .pp-cv{padding:22px 0 26px}.pp-card#watch .pp-cv .watch{width:26vw}.pp-card#watch .pp-cv .watch.big{width:31vw}
  .pp-card .pp-mini{text-align:left;margin-left:auto;margin-right:auto}
  .pp-devband .pp-devs{--k:.66;row-gap:26px;margin-top:26px}
  .pp-heroart{height:clamp(300px,84vw,380px)}
}
/* r31: hero phones a little smaller so their tops are never cut */
@media (min-width:561px){
  .pp-heroart{height:clamp(380px,40vw,560px)}
  .pp-heroart>figure{width:clamp(180px,17vw,232px)}
  .pp-heroart>figure.c{width:clamp(205px,19.5vw,262px)}
  .pp-heroart>figure.l{left:calc(50% - clamp(250px,25vw,330px))}
  .pp-heroart>figure.r{right:calc(50% - clamp(250px,25vw,330px))}
}
.pp-card#watch .pp-cv{gap:clamp(8px,1.2vw,16px)}
.pp-card#watch .pp-cv .watch{width:clamp(92px,8.6vw,124px)}.pp-card#watch .pp-cv .watch.big{width:clamp(112px,10.6vw,152px)}
@media (min-width:561px){
  .pp-heroart{height:clamp(320px,30.5vw,440px)}
  .pp-heroart>figure{bottom:-30%}.pp-heroart>figure.c{bottom:-26%}
}
@media (max-width:560px){
  .pp-heroart{height:330px}
  .pp-heroart>figure{width:38vw;bottom:-30%}.pp-heroart>figure.c{width:46vw;bottom:-20%}
  .pp-heroart>figure.l{left:2vw}.pp-heroart>figure.r{right:2vw}
  .pp-devband .pp-devs{display:flex;flex-wrap:wrap;justify-content:center;column-gap:4%;row-gap:22px;--k:.56}
  .pp-devband .pp-devs li{width:30%}.pp-devband .pp-devs li:last-child{grid-column:auto}
  .pp-devband .pp-devs b{font-size:15px}.pp-devband .pp-devs span{font-size:12.5px}
}
/* r31: phone, a bit more compact still */
@media (max-width:560px){
  .pp-hero{padding-top:28px}.pp-sub{margin-top:12px}.pp-cta{margin-top:20px}
  .pp-cv,.pp-card.wide .pp-cv{height:min(74vw,290px)}
  .pp-band{padding:44px 0}
  .pp-steps{gap:12px;margin-top:26px}.pp-steps li{padding:20px 20px 18px;border-radius:22px;gap:8px}
  .pp-new{gap:10px;margin-top:24px}.pp-new li{padding:13px 14px}
  .pp-card .pp-mini{gap:9px;margin-top:16px}
  .pp-faq summary{padding:16px 2px;font-size:17px}
}

/* ===== r34 (Luka, Nov 17): app page = DENSE overview like Apple's product pages ===== */
/* hero phones: ONE smooth fade over the whole group into the exact page colour. The box clips everything (no shadow edge
   peeking out below or beside it) and the mask never repeats (that repeat was the hard band under the phones). */
.pp-heroart{overflow:hidden;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 52%,rgba(0,0,0,.86) 62%,rgba(0,0,0,.62) 72%,rgba(0,0,0,.36) 81%,rgba(0,0,0,.15) 89%,rgba(0,0,0,.04) 95%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 52%,rgba(0,0,0,.86) 62%,rgba(0,0,0,.62) 72%,rgba(0,0,0,.36) 81%,rgba(0,0,0,.15) 89%,rgba(0,0,0,.04) 95%,transparent 100%)}
.pp-hero{padding-bottom:0}
.pp34f{padding:0 0 clamp(16px,2vw,22px)}
.pp34f:first-of-type{padding-top:clamp(8px,1.4vw,18px)}
.pp34g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.pp34g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.pp34c{position:relative;background:var(--card);border:1px solid var(--edge);border-radius:28px;overflow:hidden;display:flex;flex-direction:column;padding:clamp(22px,2.2vw,30px) clamp(20px,2.2vw,30px) 0;scroll-margin-top:90px;min-width:0}
.pp34c .pp-ct h2{font-size:clamp(22px,2vw,28px);line-height:1.08}
.pp34c .pp-ct p{font-size:15.5px;margin-top:8px;max-width:32ch}
.pp34c .pp-kick{font-size:13.5px;margin-bottom:6px}
.pp34c .pp-cv{height:clamp(220px,20vw,286px);margin-top:18px;gap:10px;flex:1 0 auto;align-items:flex-start;
  -webkit-mask-image:linear-gradient(#000 80%,transparent);mask-image:linear-gradient(#000 80%,transparent)}
.pp34c .pp-cv .ph{width:clamp(150px,13vw,188px)}
.pp34c .pp-cv.two .ph{width:clamp(126px,10.6vw,152px)}
.pp34c .pp-cv.two .ph.sm{width:clamp(112px,9.4vw,136px)}
.pp34c .pp-cv .ph.lo{margin-top:clamp(18px,1.8vw,28px)}
/* Widgets + Watch: words left, pictures right, inside a half-width card */
.pp34w{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px;padding-bottom:0}
.pp34w .pp-ct{padding-bottom:clamp(22px,2.2vw,30px)}
.pp34w .pp-mini{margin-top:16px;gap:9px}
.pp34w .pp-mini li{font-size:14px;gap:11px;line-height:1.35}.pp34w .pp-mini b{font-size:14.5px}
.pp34w .pp-tiles img{width:44px;height:44px;border-radius:11px}
.pp34w .pp-keys .k{width:36px;height:36px;border-radius:11px}.pp34w .pp-keys .k svg{width:19px;height:19px}
.pp34w .pp-cv{margin-top:0;height:auto;align-self:end;align-items:flex-end;justify-content:center}
#widgets .pp-cv{align-self:stretch;align-items:flex-start;padding-top:6px;height:auto;max-height:440px}
#widgets .pp-cv .ph{width:clamp(118px,10vw,146px)}#widgets .pp-cv .ph.sm{width:clamp(104px,8.8vw,128px)}
#watch .pp-cv{align-self:center;align-items:center;-webkit-mask-image:none;mask-image:none;padding:10px 0 24px;gap:6px}
#watch .pp-cv .watch{width:clamp(70px,6vw,88px)}#watch .pp-cv .watch.big{width:clamp(86px,7.4vw,108px)}
/* every device, in one row */
.pp34dev{padding:clamp(44px,5vw,64px) 0}
.pp34devs{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.pp34devs>li{background:var(--card);border:1px solid var(--edge);border-radius:24px;padding:18px 18px 20px;display:flex;flex-direction:column;gap:14px;min-width:0;scroll-margin-top:90px}
.pp34devs .dv-pic{height:170px;display:flex;align-items:flex-end;justify-content:center;gap:10px}
.pp34devs .dv-pic img{max-height:100%;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(40,30,20,.14))}
:root[data-theme="dark"] .pp34devs .dv-pic img{filter:drop-shadow(0 12px 20px rgba(0,0,0,.5))}
.pp34devs .dv-two img{height:160px}
.pp34devs .dv-watch img{height:150px}
.pp34devs .pp-ct h3{margin:0;font-size:19px;line-height:1.15;letter-spacing:-.02em;font-weight:800}
.pp34devs .pp-ct p{margin:6px 0 0;font-size:14.5px;line-height:1.4;color:var(--dim)}
.pp34devs .pp-kick{font-size:13px;margin-bottom:4px}
.pp34dev+.pp-band{border-top:0}
@media (max-width:1060px) and (min-width:761px){
  .pp34g3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pp34g2{grid-template-columns:1fr}
  .pp34devs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  /* phones: the six features = one swipe row (each card shows the next one peeking in), so the page stays short */
  .pp34g3{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 calc(-1 * max(22px,env(safe-area-inset-left,0px)));padding:2px max(22px,env(safe-area-inset-left,0px)) 8px;scrollbar-width:none;scroll-padding:0 22px}
  .pp34g3::-webkit-scrollbar{display:none}
  .pp34g3>.pp34c{flex:0 0 78%;scroll-snap-align:start;text-align:left;border-radius:24px;padding:22px 20px 0}
  .pp34g3>.pp34c .pp-ct p{margin-left:0}
  .pp34c .pp-cv{height:230px}
  .pp34c .pp-cv .ph{width:150px}.pp34c .pp-cv.two .ph{width:122px}.pp34c .pp-cv.two .ph.sm{width:108px}
  .pp34g2{grid-template-columns:1fr;gap:12px}
  .pp34w{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);text-align:left;padding:22px 18px 0;border-radius:24px;column-gap:10px}
  .pp34w .pp-ct p{margin-left:0}
  .pp34w .pp-mini{margin-left:0}
  .pp34w .pp-mini li{font-size:13px}.pp34w .pp-mini b{font-size:13.5px}
  .pp34w .pp-tiles img{width:38px;height:38px;border-radius:10px}
  .pp34w .pp-keys .k{width:32px;height:32px}
  #widgets .pp-cv{flex-direction:column;align-items:center;gap:8px;max-height:330px}
  #widgets .pp-cv .ph{width:118px}#widgets .pp-cv .ph.sm{display:none}
  #watch .pp-cv{flex-direction:column;gap:4px}#watch .pp-cv .watch{width:74px}#watch .pp-cv .watch.big{width:92px}
  #watch .pp-cv .watch:not(.big){display:none}
  .pp34devs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}
  .pp34devs>li{padding:14px 12px 16px;border-radius:20px;gap:10px}
  .pp34devs .dv-pic{height:112px}
  .pp34devs .dv-two img{height:108px}.pp34devs .dv-watch img{height:104px}
  .pp34devs .pp-ct h3{font-size:16px}.pp34devs .pp-ct p{font-size:13px}
  .pp34dev{padding:40px 0}
}
/* r34b: Widgets + Watch cards: words + pictures on top, the list underneath in columns (shorter cards) */
.pp34w{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-areas:"ct cv" "ls ls";align-items:start}
.pp34w>.pp-ct{grid-area:ct;padding-bottom:0}
.pp34w>.pp-cv{grid-area:cv}
.pp34w>.pp-mini{grid-area:ls;max-width:none;margin:18px 0 0;padding:16px 0 24px;border-top:1px solid var(--edge);display:grid;gap:12px 18px}
#widgets>.pp-mini{grid-template-columns:repeat(3,minmax(0,1fr))}
#watch>.pp-mini{grid-template-columns:repeat(3,minmax(0,1fr))}
.pp34w>.pp-mini li{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;font-size:13.5px}
.pp34w>.pp-mini b{font-size:14px}
#widgets .pp-cv{height:250px;max-height:none;align-self:start;padding-top:0;-webkit-mask-image:linear-gradient(#000 76%,transparent);mask-image:linear-gradient(#000 76%,transparent)}
#watch .pp-cv{align-self:center;padding:4px 0 0}
#watch .pp-cv .watch{width:clamp(56px,4.6vw,66px)}#watch .pp-cv .watch.big{width:clamp(70px,5.8vw,84px)}
.pp34c .pp-cv{height:clamp(210px,17.5vw,252px)}
.pp-hero h1{font-size:clamp(44px,6.2vw,80px)}
.pp-band{padding:clamp(44px,4.6vw,66px) 0}
.pp-end{padding:clamp(40px,5vw,64px) 0 12px}
@media (max-width:760px){
  .pp34w{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
  #widgets>.pp-mini,#watch>.pp-mini{grid-template-columns:1fr 1fr;padding-bottom:20px;gap:10px 12px}
  #widgets .pp-cv{height:200px;flex-direction:row}
  #watch .pp-cv{flex-direction:row}
  #watch .pp-cv .watch.big{width:86px}
}
/* r34c: Widgets + Watch: words across the top, then [list | pictures] */
.pp34w{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-areas:"ct ct" "ls cv";column-gap:14px}
.pp34w>.pp-ct .pp-ct,.pp34w>.pp-ct p{max-width:44ch}
.pp34w>.pp-mini{grid-area:ls;border-top:0;padding:0 0 24px;margin-top:18px;grid-template-columns:1fr!important;gap:10px;align-self:start}
.pp34w>.pp-mini li{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;font-size:13.5px;line-height:1.3}
.pp34w>.pp-mini b{display:block;font-size:14px}
.pp34w .pp-tiles img{width:40px;height:40px;border-radius:10px}
.pp34w .pp-keys .k{width:34px;height:34px;border-radius:10px}.pp34w .pp-keys .k svg{width:18px;height:18px}
#widgets>.pp-cv{grid-area:cv;height:236px;margin-top:14px;align-self:end;justify-content:center;gap:8px}
#widgets>.pp-cv .ph{width:clamp(100px,8.6vw,122px)}#widgets>.pp-cv .ph.sm{width:clamp(90px,7.6vw,108px)}
#watch>.pp-cv{grid-area:cv;align-self:center;margin-top:10px;padding:0 0 18px;gap:4px}
#watch>.pp-cv .watch{width:clamp(52px,4.4vw,62px)}#watch>.pp-cv .watch.big{width:clamp(64px,5.4vw,78px)}
/* What's new: 3 across on wide screens (shorter) */
@media (min-width:1061px){.pp-new{max-width:1120px;grid-template-columns:repeat(3,minmax(0,1fr))}.pp-new li:last-child:nth-child(odd){grid-column:auto;max-width:none}}
@media (max-width:760px){
  .pp34w{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)}
  #widgets>.pp-cv{height:200px;flex-direction:column;align-items:center}#widgets>.pp-cv .ph{width:96px}#widgets>.pp-cv .ph.sm{display:none}
  #watch>.pp-cv{flex-direction:column;align-items:center}#watch>.pp-cv .watch:not(.big){display:none}#watch>.pp-cv .watch.big{width:84px}
}
.pp34w{align-content:space-between}
/* r34d: the bands under the features, tighter (page target: under 5,500 px at 1440) */
.pp-band{padding:clamp(40px,4vw,56px) 0}
.pp-band h2{font-size:clamp(30px,3.6vw,46px)}
.pp-band .pp-lead{margin-top:10px;font-size:clamp(16px,1.4vw,19px)}
.pp-steps{margin-top:26px}.pp-new{margin-top:24px}.pp-faq{margin-top:18px}
.pp34c .pp-cv{height:clamp(200px,16.4vw,236px)}
.pp34devs{margin-top:26px}
.pp-faq summary{padding:16px 2px;font-size:18px}
.pp-steps li{padding:24px 24px 22px}
@media (min-width:561px){.pp-heroart{height:clamp(300px,28vw,404px)}}
/* r34: the hero box now clips (so the fade is clean): phones sized so their tops always sit inside it */
@media (min-width:561px){
  .pp-heroart>figure{width:clamp(168px,15.6vw,214px)}
  .pp-heroart>figure.c{width:clamp(190px,17.4vw,238px)}
  .pp-heroart>figure.l{left:calc(50% - clamp(238px,23vw,310px))}
  .pp-heroart>figure.r{right:calc(50% - clamp(238px,23vw,310px))}
}
