/* Customers (/customers), green version. Built on the inner-page kit (assets/page.css, tools/partials/KIT.md) and the
   homepage's vocabulary (assets/home.css: logo strip, proof card, trust section, CTA).
   Every product scene is aria-hidden with a vh caption beside it. Motion: the decided state is the markup;
   assets/customers.js adds .pend (the state before) and .go (transitions on), then plays the change once in view. */

/* ---------- Shared bits ---------- */
.pg .cu-cap{display:block;font-size:12px;line-height:16px;letter-spacing:.05em;text-transform:uppercase;font-weight:500;color:var(--green-2);}

/* ---------- S1 Hero: text only, short enough that the logos start in the first screen ---------- */
.pg .cu-hero{padding-bottom:104px;}
.pg .cu-hero .wrap{position:relative;z-index:1;}
.pg .cu-hero h1{max-width:11em;}
.pg .cu-hmark{position:absolute;z-index:0;right:max(-40px, calc((100vw - 1440px) / 2 - 40px));top:50%;width:min(44vw, 560px);height:auto;fill:#fff;opacity:.045;transform:translateY(-36%);pointer-events:none;}

/* ---------- S2 Logos: the homepage strip (kit), each logo at its homepage height, never stretched ---------- */
.pg .cu-logos .lg img{object-fit:contain;}

/* ---------- S4 Lead case: the proof card at full size, on the deep green ---------- */
.pg .pg-sec.cu-case-s:not(.tint):not(.dark){padding:72px 0 128px;}
.pg .cu-case{position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start;padding:80px 64px 64px;border-radius:var(--r-l);background:radial-gradient(90% 120% at 100% 0%,#1E4A3B 0%,var(--green-deep) 62%,#0A2019 100%);color:#fff;}
.pg .cu-case > *{position:relative;z-index:1;}
.pg .cu-case .eb{color:var(--on-dark-2);}
.pg .cu-case .h2{max-width:11em;}
.pg .cu-case .lede{margin-top:24px;color:var(--on-dark-2);max-width:24em;}
.pg .cu-figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;}
.pg .cu-figs > div{display:flex;flex-direction:column-reverse;justify-content:flex-end;padding:22px 0 30px;border-top:1px solid rgba(255,255,255,.16);}
.pg .cu-figs dd{margin:0;font-size:clamp(48px,5vw,76px);line-height:1;letter-spacing:-0.04em;font-weight:500;color:#fff;font-variant-numeric:proportional-nums;}
.pg .cu-figs dt{margin-top:14px;font-size:16px;line-height:1.4;color:var(--on-dark-2);}
.pg .cu-figs sup{margin-left:1px;font-size:11px;line-height:0;vertical-align:super;}
.pg .cu-fn{padding-top:18px;border-top:1px solid rgba(255,255,255,.16);font-size:14px;line-height:1.5;color:#B9CAC1;}
/* motion: the four figures arrive one by one */
.pg .cu-figs.pend > div{opacity:0;transform:translateY(10px);}
.pg .cu-figs.go > div{transition:opacity .32s var(--ease-out) calc(var(--i,0) * 60ms),transform .32s var(--ease-out) calc(var(--i,0) * 60ms);}


/* ---------- S5 What your team works in: four items, two columns from 760px ---------- */
@media (min-width:1100px){.pg .cu-ul{column-gap:64px;}}
.pg .cu-ul li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:18px;padding:22px 0;border-top:1px solid var(--line);}
.pg .cu-ul li:last-child{border-bottom:1px solid var(--line);}
.pg .cu-ul .ic{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--canvas);color:var(--green);}
.pg .cu-ul .ic .ico{width:18px;height:18px;}
.pg .cu-ul h3{font-size:var(--fs-h3);line-height:1.35;letter-spacing:-0.015em;}
.pg .cu-ul p{margin-top:4px;font-size:15.5px;color:var(--ink-2);}
.pg .cu-on-l .lnk{margin-top:20px;}

/* ---------- S6 Two more stories ---------- */
/* the kit gives a plain section after any section a 16px top; after the tint band this one needs its full gap */
.pg main .pg-sec.tint + .pg-sec.cu-st{padding-top:128px;}
.pg .cu-sg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.pg .cu-sc{display:flex;flex-direction:column;border-radius:var(--r-l);background:#fff;box-shadow:0 0 0 1px rgba(20,32,27,.06),var(--sh-1);overflow:hidden;}
.pg .cu-sv{display:grid;place-items:center;height:400px;padding:40px;background:var(--tile);overflow:hidden;}
.pg .cu-sx{display:flex;flex-direction:column;flex:1 1 auto;padding:32px 32px 28px;}
.pg .cu-sx h3{margin-top:14px;font-size:var(--fs-h3);line-height:1.3;letter-spacing:-0.02em;}
.pg .cu-sx p{margin-top:10px;color:var(--ink-2);max-width:34em;}
.pg .cu-sx .acts{margin-top:auto;padding-top:20px;gap:4px 28px;}
/* (A) the aesthetician's view of Solara's app */
.pg .cu-ph1{width:320px;padding:14px 14px 16px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px rgba(20,32,27,.07),var(--sh-2);}
.pg .cu-ah{display:flex;align-items:baseline;gap:8px;padding:4px 4px 12px;border-bottom:1px solid var(--u-line);}
.pg .cu-ah b{font-size:15px;letter-spacing:.16em;font-weight:600;}
.pg .cu-ah span{font-size:12px;color:var(--u-3);}
.pg .cu-me{display:flex;align-items:center;gap:12px;padding:14px 4px;}
.pg .cu-me img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:50% 22%;flex:0 0 auto;outline:1px solid rgba(0,0,0,.1);outline-offset:-1px;}
.pg .cu-me .t{display:flex;flex-direction:column;gap:4px;min-width:0;}
.pg .cu-me b{font-size:17px;line-height:22px;font-weight:600;letter-spacing:-0.015em;}
.pg .cu-cred{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;height:22px;padding:0 9px 0 4px;border-radius:999px;background:var(--u-ok-w);color:var(--u-ok);font-size:12px;font-weight:500;white-space:nowrap;}
.pg .cu-cred i{width:15px;height:15px;border-radius:50%;background:var(--u-ok);display:grid;place-items:center;}
.pg .cu-cred svg{width:9px;height:9px;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;}
.pg .cu-cmp{display:flex;gap:12px;align-items:center;padding:10px;border-radius:12px;background:var(--u-canvas);box-shadow:inset 0 0 0 1px var(--u-line);}
.pg .cu-cmp img{width:52px;height:64px;border-radius:6px;object-fit:cover;flex:0 0 auto;outline:1px solid rgba(0,0,0,.1);outline-offset:-1px;}
.pg .cu-cmp .t{display:flex;flex-direction:column;min-width:0;}
.pg .cu-cmp b{font-size:15px;line-height:20px;}
.pg .cu-join{display:flex;align-items:center;justify-content:center;height:40px;margin-top:12px;border-radius:10px;background:var(--u-dark);color:#fff;font-weight:500;}
/* motion: the credential check lands */
.pg .cu-ph1 .cu-cred{transform-origin:0 50%;}
.pg .cu-ph1.pend .cu-cred{opacity:0;transform:scale(.92);}
.pg .cu-ph1.go .cu-cred{transition:opacity .24s var(--ease-out),transform .3s var(--ease-out);}
/* (B) the launch plan, as a vertical list of five steps */
.pg .cu-tl5{width:100%;max-width:380px;border-radius:var(--r-m);background:#fff;box-shadow:0 0 0 1px rgba(20,32,27,.06),var(--sh-2);overflow:hidden;}
.pg .cu-tl5 .h{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:14px 18px 12px;border-bottom:1px solid var(--u-line);}
.pg .cu-tl5 .h > div{display:flex;flex-direction:column;}
.pg .cu-tl5 .h b{font-size:15px;line-height:22px;}
.pg .cu-tl5 .steps{padding:6px 18px 10px;}
.pg .cu-tl5 .steps li{position:relative;display:flex;align-items:center;gap:12px;padding:10px 0;}
.pg .cu-tl5 .steps li::before{content:"";position:absolute;left:10px;top:calc(50% + 15px);width:2px;height:calc(100% - 30px);border-radius:2px;background:#9BCFB3;transform-origin:50% 0;}
.pg .cu-tl5 .steps li:last-child::before{display:none;}
.pg .cu-tl5 .steps b{flex:1;font-size:14px;line-height:20px;}
.pg .cu-tl5 .dot{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--u-ok-d);flex:0 0 auto;}
.pg .cu-tl5 .dot .ico{width:12px;height:12px;color:#fff;stroke-width:2.4;}
.pg .cu-tl5 .fin .dot{background:var(--u-dark);box-shadow:0 0 0 4px rgba(31,31,31,.1);}
.pg .cu-tl5 .who{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px 0 7px;border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap;}
.pg .cu-tl5 .who svg{width:11px;height:11px;fill:currentColor;}
.pg .cu-tl5 .who.od{background:var(--u-teal-w);color:var(--green);}
.pg .cu-tl5 .who.mix{background:var(--u-wash);color:var(--u-2);padding:0 9px;}
.pg .cu-tl5 .who.br{background:var(--u-dark);color:#fff;padding-left:3px;}
.pg .cu-tl5 .who.br img{width:16px;height:16px;border-radius:50%;object-fit:cover;outline:1px solid rgba(255,255,255,.2);outline-offset:-1px;}
/* motion: the plan fills step by step, ending with the brand's team */
.pg .cu-tl5.pend .steps li > *{opacity:0;transform:translateY(6px);}
.pg .cu-tl5.pend .steps li::before{transform:scaleY(0);}
.pg .cu-tl5.go .steps li > *{transition:opacity .26s var(--ease-out) calc(var(--i,0) * 80ms),transform .26s var(--ease-out) calc(var(--i,0) * 80ms);}
.pg .cu-tl5.go .steps li::before{transition:transform .2s var(--ease-in-out) calc(var(--i,0) * 80ms + 60ms);}

/* ---------- S7 Trust (dark band), the homepage trust section ---------- */
.pg .cu-tg{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);gap:64px;align-items:start;}
.pg .cu-trust .lede{margin-top:20px;}
.pg .cu-trust .lnk{margin-top:28px;}
.pg .cu-tr{display:grid;grid-template-columns:1fr 1fr;gap:0 32px;}
.pg .cu-tr li{display:grid;grid-template-columns:44px 1fr;gap:4px 16px;align-items:start;padding:20px 0;border-top:1px solid var(--edge-dk);}
.pg .cu-tr .mk{grid-row:span 2;width:44px;height:44px;border-radius:10px;background:#fff;display:grid;place-items:center;padding:6px;}
.pg .cu-tr .mk img{width:auto;height:auto;max-width:100%;max-height:100%;}
.pg .cu-tr .mk.t{background:transparent;box-shadow:inset 0 0 0 1px var(--edge-dk);}
.pg .cu-tr .mk.t .ico{width:20px;height:20px;color:#CFE3D6;}
.pg .cu-tr h3{font-size:17px;line-height:1.35;letter-spacing:-0.015em;}
.pg .cu-tr p{font-size:15px;color:var(--on-dark-2);}

/* ---------- S8 CTA ---------- */
.pg .cu-cta{padding-top:24px;}
.pg .cu-cta .card > *{position:relative;z-index:1;}
.pg .cu-cta .card > .mark{position:absolute;z-index:0;right:-60px;top:-80px;width:360px;height:auto;opacity:.07;pointer-events:none;}

/* ---------- Medium widths ---------- */
@media (max-width:1099px){
  .pg .cu-case{grid-template-columns:1fr;gap:40px;padding:64px 48px 48px;}
  .pg .cu-case .h2{max-width:14em;}
  .pg .cu-sv{height:380px;padding:28px;}
  .pg .cu-sx{padding:26px 24px 24px;}
  .pg .cu-tg{grid-template-columns:1fr;gap:40px;}
}
@media (min-width:760px){
  .pg .cu-ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;}
  .pg .cu-ul li:last-child{border-bottom:0;}
}
@media (max-width:899px){
  .pg .cu-sg{grid-template-columns:1fr;}
}
/* tablet: one story per row, scene left and text right, so the two cards do not stack two 380px scenes */
@media (min-width:760px) and (max-width:899px){
  .pg .cu-sc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .pg .cu-sv{height:auto;min-height:320px;padding:24px;}
  .pg .cu-ph1{width:100%;max-width:320px;}
}

/* ---------- Phones ---------- */
@media (max-width:759px){
  .pg .cu-hero{padding-bottom:48px;}
  .pg .cu-hmark{display:none;}
  /* lead case: H2, lede, the four figures in a 2 by 2 grid, the footnote directly under them */
  .pg .pg-sec.cu-case-s:not(.tint):not(.dark){padding:40px 0 64px;}
  .pg .cu-case{gap:28px;padding:40px 20px 24px;border-radius:var(--r-m);}
  .pg .cu-case .lede{margin-top:16px;}
  .pg .cu-figs{gap:0 16px;}
  .pg .cu-figs > div{padding:16px 0 20px;}
  .pg .cu-figs dd{font-size:36px;}
  .pg .cu-figs dt{margin-top:10px;font-size:14px;line-height:1.35;}
  .pg .cu-fn{padding-top:14px;font-size:13px;}
  /* what your team works in: four short rows */
  .pg .cu-ul li{grid-template-columns:32px minmax(0,1fr);gap:14px;padding:18px 0;}
  .pg .cu-ul .ic{width:32px;height:32px;border-radius:8px;}
  .pg .cu-ul .ic .ico{width:16px;height:16px;}
  .pg .cu-ul h3{font-size:18px;}
  .pg .cu-ul p{font-size:15px;text-wrap:wrap;}
  /* two stories: stacked, each with the one panel that carries its point, cropped to the phone
     (A: the aesthetician's greeting and his credential check; B: the five-step plan), links stay on each card */
  .pg main .pg-sec.tint + .pg-sec.cu-st{padding-top:64px;}
  .pg .cu-sg{gap:10px;}
  .pg .cu-sc{border-radius:var(--r-m);}
  .pg .cu-sv{height:auto;padding:20px 16px;}
  .pg .cu-ph1{width:100%;max-width:320px;padding:12px 12px 4px;border-radius:16px;}
  .pg .cu-ph1 :is(.cu-cmp,.cu-join){display:none;}
  .pg .cu-ah{padding:2px 4px 10px;}
  .pg .cu-me{padding:12px 4px;}
  .pg .cu-tl5 .h{padding:12px 16px 10px;}
  .pg .cu-tl5 .steps{padding:4px 16px 8px;}
  .pg .cu-tl5 .steps li{padding:8px 0;}
  .pg .cu-tl5 .steps li::before{top:calc(50% + 13px);height:calc(100% - 26px);}
  .pg .cu-sx{padding:22px 20px 18px;}
  .pg .cu-sx h3{margin-top:10px;font-size:18px;}
  .pg .cu-sx p{font-size:15.5px;text-wrap:wrap;}
  .pg .cu-sx .acts{flex-direction:column;align-items:flex-start;padding-top:12px;gap:0;}
  /* trust: one column, as the homepage at 390 */
  .pg .cu-tg{gap:28px;}
  .pg .cu-tr{grid-template-columns:1fr;}
  .pg .cu-tr li{padding:16px 0;}
  /* CTA: H2 and two stacked actions */
  .pg .cu-cta .acts{flex-direction:column;align-items:flex-start;gap:8px;}
  .pg .cu-cta .card > .mark{width:220px;right:-96px;top:auto;bottom:-70px;}
}
