/* ═══════════════════════════════════════════════════════════════════════════
   LISTING — /next/products, built like a product page (client, 2026-09-10).

   The page is generated by build-product-pages.py from the homepage: its head,
   bar, phone menu, "How can we help?" (with the chat and the thinking field)
   and footer are the homepage's, so they cannot drift. products.js renders the
   list into #productsRoot using the product pages' hero and paragraph
   (product.css); this file styles only what is the list's own — the "Show me"
   line, the problems with their picture tiles, the products, the note at the
   foot. Everything sits on home.css's tokens.
   ═══════════════════════════════════════════════════════════════════════════ */

/* the hero: the product hero without a film to rise into it */
.pl-hero{padding-bottom:clamp(72px,9vw,128px)}
.pl-about{padding-top:clamp(56px,7vw,104px)}

/* ── "Show me": one line, the choice set into it; the whole index opens as a
      sheet (prodtoc.js builds it from the plain link row and sets that row
      hidden itself; no CSS hides it, so the index survives a failed script) ── */
.pl .ptoc{position:relative;display:flex;flex-direction:column;align-items:center;
  padding:clamp(40px,5vw,72px) var(--gutter) 0;margin:0 0 clamp(8px,2vw,24px)}
.pl .ptoc__line{display:flex;flex-direction:column;align-items:center;gap:14px;margin:0;
  font-family:var(--ui);font-size:clamp(15px,1.15vw,17px);line-height:1.3;text-align:center}
.pl .ptoc__lead{font-weight:400;color:var(--ink-3)}
.pl .ptoc__btn{display:inline-flex;align-items:center;gap:10px;max-width:min(92vw,560px);padding:10px 20px;border:0;border-radius:999px;
  background:#F1F2F4;color:var(--ink);font-family:var(--ui);font-weight:500;font-size:clamp(19px,1.9vw,26px);letter-spacing:-.015em;
  cursor:pointer;overflow:hidden;white-space:nowrap;transition:background-color .25s ease,width .36s var(--ease)}
.pl .ptoc__btn:hover{background:#E7E9EC}
.pl .ptoc__btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.pl .ptoc__label{display:inline-block;transition:opacity .34s cubic-bezier(.32,.72,0,1),transform .34s cubic-bezier(.32,.72,0,1),filter .34s ease}
.pl .ptoc__label.is-out{opacity:0;transform:translateY(-.34em);filter:blur(4px)}
.pl .ptoc__label.is-under{opacity:0;transform:translateY(.34em);filter:blur(4px);transition:none}
.pl .ptoc__chev{width:16px;height:16px;flex:0 0 16px;opacity:.45;transition:transform .28s var(--ease)}
.pl .ptoc.is-open .ptoc__chev{transform:rotate(180deg)}
.pl .ptoc__panel{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:clamp(20px,5vw,64px);
  background:rgba(0,26,43,.94);animation:plFade .2s ease both}
.pl .ptoc__panel[hidden]{display:none}
.pl .ptoc__sheet{display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:10px;width:100%;max-width:1180px;
  animation:plIn .28s var(--ease) both}
.pl .ptoc__close{position:absolute;top:clamp(16px,2.4vw,28px);right:clamp(16px,2.4vw,28px);width:44px;height:44px;display:grid;place-items:center;
  border:0;border-radius:999px;cursor:pointer;background:rgba(255,255,255,.14);color:#FFFFFF}
.pl .ptoc__close:hover{background:rgba(255,255,255,.24)}
.pl .ptoc__close svg{width:19px;height:19px}
.pl .ptoc__item{display:inline-flex;align-items:center;padding:11px 20px;border-radius:999px;border:1px solid rgba(255,255,255,.24);
  font-family:var(--ui);font-size:clamp(13.5px,1.15vw,15.5px);font-weight:500;line-height:1.2;white-space:nowrap;
  color:rgba(255,255,255,.86);text-decoration:none;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.pl .ptoc__item:hover,.pl .ptoc__item:focus-visible,.pl .ptoc__item[aria-current="true"]{background:#FFFFFF;color:var(--ink);border-color:#FFFFFF;outline:0}
@keyframes plFade{from{opacity:0}to{opacity:1}}
@keyframes plIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ── the problems: a picture tile with the problem set in it, the products
      beside it; every other one on a full-width tone ─────────────────────── */
.pl .prodbody{max-width:1200px;margin:0 auto;padding:0 var(--gutter)}
.pl .prodgroup{position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:clamp(40px,6vw,88px);
  align-items:start;padding:clamp(48px,6vw,88px) 0;scroll-margin-top:calc(var(--nav-h) + 24px)}
.pl .prodgroup:nth-of-type(even)::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;background:#F5F7F8;z-index:0}
.pl .prodgroup > *{position:relative;z-index:1}
.pl .prodgroup__head{position:relative;display:flex;align-items:flex-end;min-height:clamp(280px,34vh,400px);margin:0;
  padding:clamp(22px,2vw,30px);border-radius:24px;overflow:hidden;background:var(--deep,#07141D)}
.pl .prodgroup__pic{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.02);transition:transform 1.1s var(--ease)}
.pl .prodgroup:hover .prodgroup__pic{transform:scale(1.07)}
.pl .prodgroup__head::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(7,20,29,.24) 0%,rgba(7,20,29,.44) 46%,rgba(7,20,29,.86) 100%)}
.pl .prodgroup__words{position:relative;z-index:1}
.pl .prodgroup__n{margin:0 0 10px;font-family:var(--ui);font-size:12px;font-weight:600;letter-spacing:2px;color:rgba(255,255,255,.72)}
.pl .prodgroup__h{margin:0;max-width:16ch;font-family:var(--display);font-weight:600;font-size:clamp(24px,2.2vw,34px);line-height:1.12;letter-spacing:-.02em;color:#FFFFFF}

/* a product, set like a How it works step */
.pl .prodgroup__cards{display:flex;flex-direction:column}
.pl .prodcard + .prodcard{margin-top:clamp(26px,3vh,38px);padding-top:clamp(26px,3vh,38px);border-top:1px solid var(--line)}
.pl .prodcard__head{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.pl .prodcard__name{margin:0;font-family:var(--display);font-size:clamp(18px,1.4vw,21px);font-weight:600;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.pl .prodcard__fit{font-weight:500;color:var(--ink-3)}
.pl .prodcard__pos{margin:0;max-width:58ch;font-size:15px;line-height:1.6;color:var(--ink-2)}
.pl .prodcard__who{margin:0;font-size:13px;line-height:1.5;color:var(--ink-3)}
.pl .prodcard__again{margin:0 0 8px;font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--ink-3)}
.pl .prodcard__pills{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 0;padding:0;list-style:none}
.pl .prodcard__pills li{padding:5px 10px;border-radius:999px;background:#F1F2F4;font-family:var(--ui);font-size:12px;font-weight:600;color:var(--ink-2)}
.pl .prodgroup:nth-of-type(even) .prodcard__pills li{background:#FFFFFF}
.pl .prodcard__link{display:inline-flex;align-items:center;justify-content:center;height:48px;margin-top:6px;padding:0 28px;border-radius:999px;
  background:var(--ink);color:#FFFFFF;font-family:var(--ui);font-size:14px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  text-decoration:none;transition:background-color .25s ease,transform .3s var(--ease)}
.pl .prodcard__link:hover{background:#000000;transform:translateY(-1px)}
.pl .prodcard__link:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.pl .prodcard--pending h3{margin:0;font-size:15px;color:var(--ink-3)}

/* the note at the foot of the list, quiet */
.pl .prodfoot{max-width:1200px;margin:0 auto;padding:28px var(--gutter) clamp(40px,5vw,64px);border-top:1px solid var(--line);
  font-size:12px;line-height:1.6;color:var(--ink-3)}
.pl .prodbody__note{margin:0;padding:48px 0;color:var(--ink-3)}

@media (max-width:820px){
  .pl-hero{padding-bottom:clamp(56px,14vw,88px)}
  .pl .prodgroup{grid-template-columns:1fr;gap:24px;padding:clamp(34px,8vw,52px) 0}
  .pl .prodgroup__head{min-height:230px;border-radius:20px;padding:20px}
  .pl .ptoc__btn{font-size:20px}
}
@media (prefers-reduced-motion:reduce){
  .pl .ptoc__label,.pl .prodgroup__pic{transition:none;filter:none}
  .pl .ptoc__panel,.pl .ptoc__sheet{animation:none}
}

/* until products.js has drawn the list, it keeps a screen's height, so the
   close and the footer never flash up under the hero and then jump away */
.pl #productsRoot:empty{min-height:100vh}
