/* ============================================================================
   THE FLERO SUITE page (pages/products.html, redesigned Nov 18). Every rule is scoped .v3.prod and uses the xs- prefix
   only. Dark like the eleven product pages (night all the way), one cobalt moment (#together), the blue close.
   The product visuals on this page are the product pages' own (build/products.mjs, show marker): their styles come
   from shared/pp-<slug>.css, linked by the page. This file only places them, and resets the padding of the section
   classes their wrappers carry.
   Chart colours: on cobalt white + #9FBBE2 (the suite's chart system). No gradients, no all caps, no dots before
   text, nothing loops. Motion: js/suite-3.js arms [data-xs-build] (.xs-arm) and builds it once in view (.xs-in);
   html.still shows every finished state.
   ========================================================================== */
.v3.prod.xs-page{--xs-lab:#A3A3A3; --xs-val:#F5F5F5; --xs-soft:#9FBBE2;}
.v3.prod .xs-vh{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}
.v3.prod.xs-page main p{max-width:none;}

/* section heads: kicker, headline, one line, stacked left (Tanja) */
.v3.prod .xs-head{display:flex; flex-direction:column; align-items:flex-start;}
.v3.prod .xs-head .kicker{margin:0 0 18px;}
.v3.prod .xs-head h2{margin:0; max-width:22ch; font-size:clamp(34px,4.1vw,58px); line-height:1.06; letter-spacing:-.02em; text-wrap:balance;}
.v3.prod .xs-head .lede3{margin:22px 0 0; max-width:58ch; text-wrap:pretty;}

/* ── 1 HERO: the promise, then the eleven figures in their three layers ── */
.v3.prod .xs-hero{position:relative;}
.v3.prod .xs-hero-copy{display:flex; flex-direction:column; align-items:center; text-align:center;}
.v3.prod .xs-hero-copy .kicker{margin:0 0 20px;}
.v3.prod .xs-hero h1{margin:0 auto; max-width:15ch; font-size:clamp(44px,5.8vw,88px); line-height:1.02; letter-spacing:-.028em; text-wrap:balance; color:var(--text-d);}
.v3.prod .xs-hero-copy .lede3{margin:26px auto 0; max-width:60ch; text-wrap:balance;}
.v3.prod .xs-hero-copy .cta-row{justify-content:center; margin-top:34px;}

.v3.prod .xs-line{display:grid; grid-template-columns:3fr 3fr 5fr; gap:40px clamp(28px,4vw,64px); margin-top:clamp(72px,8vw,120px);}
.v3.prod .xs-lg{display:flex; flex-direction:column; min-width:0;}
.v3.prod .xs-lg-k{display:flex; gap:12px; margin:0 0 6px; font-size:15px; font-weight:500; color:var(--peri);}
.v3.prod .xs-lg-k b{font-weight:500; color:var(--xs-lab);}
.v3.prod .xs-lg-row{display:grid; grid-template-columns:repeat(var(--n),minmax(0,1fr)); gap:6px;}
.v3.prod .xs-li{display:flex; flex-direction:column; align-items:center; gap:4px; padding:4px 0 10px; border-radius:18px; color:var(--xs-val); text-decoration:none; transition:background-color .2s ease;}
.v3.prod .xs-li-fig{display:block; width:100%; aspect-ratio:1 / 1; color:var(--xs-val);}
.v3.prod .xs-li-n{font-size:16px; font-weight:500; line-height:1.25; text-align:center;}
.v3.prod .xs-li:hover{background:var(--night-2);}
.v3.prod .xs-li:focus-visible{outline:2px solid #fff; outline-offset:2px;}

/* ── 2-4 THE LAYERS: a chapter head, then each product with its own visual ── */
.v3.prod .xs-lh{display:flex; flex-direction:column; align-items:flex-start;}
.v3.prod .xs-lh-n{margin:0; font-size:15px; font-weight:500; color:var(--peri);}
.v3.prod .xs-lh-w{margin:6px 0 0 -.04em; font-family:var(--serif); font-weight:600; font-size:clamp(76px,12.5vw,190px); line-height:.92; letter-spacing:-.045em; color:var(--xs-val);}
.v3.prod .xs-lh h2{margin:clamp(22px,2.4vw,34px) 0 0; max-width:24ch; font-size:clamp(26px,2.6vw,38px); line-height:1.15; letter-spacing:-.015em; text-wrap:balance;}
.v3.prod .xs-lh .lede3{margin:16px 0 0; max-width:56ch;}

.v3.prod .xs-p{margin-top:clamp(120px,13vw,200px);}
.v3.prod .xs-lh + .xs-p{margin-top:clamp(96px,10vw,150px);}
.v3.prod .xs-ph{display:flex; flex-direction:column; align-items:flex-start;}
.v3.prod .xs-pk{display:flex; align-items:center; gap:14px; margin:0; font-size:17px; font-weight:500; color:var(--xs-val);}
.v3.prod .xs-pk-fig{position:relative; display:block; flex:0 0 auto; width:60px; height:60px; margin:-6px 0 -6px -8px; color:var(--xs-val);}
.v3.prod .xs-ph h3{margin:20px 0 0; max-width:21ch; font-family:var(--serif); font-weight:600; font-size:clamp(32px,3.7vw,54px); line-height:1.06; letter-spacing:-.022em; text-wrap:balance; color:var(--text-d);}
.v3.prod .xs-pl{margin:20px 0 0; max-width:54ch; font-size:clamp(17px,1.35vw,19px); line-height:1.5; color:var(--muted-d); text-wrap:pretty;}
.v3.prod .xs-ph .btn{margin-top:30px;}
.v3.prod .xs-pv{margin-top:clamp(48px,5.5vw,80px);}

/* the borrowed visuals: their wrapper carries the classes of the section they sit in on their own page (so their
   styles reach them); the section's own padding, background and height stay behind */
.v3.prod .xs-pv > .xs-show{position:relative; margin:0; padding:0; min-height:0; background:none; overflow:visible;}
.v3.prod .xs-pv > .xs-show :is(p, ul){margin:0;}
/* the tilted boards (Automate, Desk) run the page width, as in their own heroes, and fade into the night */
.v3.prod .xs-pv-tilt{margin-top:clamp(8px,2vw,24px);}
.v3.prod .xs-pv-tilt .tilt{height:clamp(480px,64vh,700px);}

/* ── 5 BETTER TOGETHER: the cobalt moment, one refund request as a gantt ── */
.v3.prod .xs-tog{background:var(--cobalt); color:#fff;}
.v3.prod .xs-tog .kicker{color:rgba(255,255,255,.82);}
.v3.prod .xs-tog h2{color:#fff;}
.v3.prod .xs-tog .lede3{color:rgba(255,255,255,.88);}

.v3.prod .xs-g{--lw:190px; position:relative; margin:clamp(56px,6vw,88px) 0 0;}
.v3.prod .xs-g-ax{position:relative; height:22px; margin:0 0 6px var(--lw); font-size:13px; color:var(--xs-soft); font-variant-numeric:tabular-nums;}
.v3.prod .xs-g-ax span{position:absolute; left:calc(var(--a) / 16 * 100%); transform:translateX(-50%);}
.v3.prod .xs-g-ax span:first-child{transform:none;}
.v3.prod .xs-g-ax span:last-child{transform:translateX(-100%);}
.v3.prod .xs-g-body{position:relative;}
.v3.prod .xs-g-gl{position:absolute; inset:0 0 0 var(--lw); pointer-events:none;}
.v3.prod .xs-g-gl i{position:absolute; top:0; bottom:0; left:calc(var(--a) / 16 * 100%); width:1px; background:rgba(255,255,255,.16);}
.v3.prod .xs-g-rows{position:relative; margin:0; padding:0; list-style:none;}
.v3.prod .xs-g-r{display:grid; grid-template-columns:var(--lw) minmax(0,1fr); align-items:center; min-height:56px;}
.v3.prod .xs-g-n{justify-self:start; font-size:15px; font-weight:500; color:#fff; text-decoration:none;}
.v3.prod .xs-g-n:hover{text-decoration:underline; text-underline-offset:4px;}
.v3.prod .xs-g-tr{position:relative; height:56px;}
.v3.prod .xs-g-b{position:absolute; top:50%; height:24px; margin-top:-12px; left:calc(var(--a) / 16 * 100%); width:max(8px, calc((var(--b) - var(--a)) / 16 * 100%));
  border-radius:7px; background:#fff; transform-origin:0 50%;}
.v3.prod .xs-g-wait{background:#2440D3; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6);}   /* white at 14% on cobalt, solid so the time lines stay behind it */
/* the words sit on a cobalt backing, so the time lines stop at them */
.v3.prod .xs-g-l{position:absolute; top:50%; left:calc(var(--b) / 16 * 100% + 8px); margin:0; padding:2px 6px; transform:translateY(-50%); background:var(--cobalt); white-space:nowrap; font-size:15px; line-height:1.3; color:#fff;}
.v3.prod .xs-g-left{left:auto; right:calc(100% - var(--a) / 16 * 100% + 8px);}
.v3.prod .xs-g-in{left:calc(var(--a) / 16 * 100% + 10px); background:none;}
.v3.prod .xs-g-l time{display:none;}
.v3.prod .xs-g-cap{margin:24px 0 0 var(--lw); font-size:13px; color:var(--xs-soft);}
/* builds once in view, in the order things happened: each bar grows from its start, its words follow */
.v3.prod .xs-g.xs-arm .xs-g-b{transition:transform .55s cubic-bezier(.2,.7,.2,1) calc(var(--a) * 85ms + 120ms);}
.v3.prod .xs-g.xs-arm .xs-g-wait{transition-duration:1.2s;}
.v3.prod .xs-g.xs-arm .xs-g-l{transition:opacity .45s ease calc(var(--a) * 85ms + 420ms);}
.motion .v3.prod .xs-g.xs-arm:not(.xs-in) .xs-g-b{transform:scaleX(0);}
.motion .v3.prod .xs-g.xs-arm:not(.xs-in) .xs-g-l{opacity:0;}

/* ── 6 PROOF: Uncommon on three products ── */
.v3.prod .xs-pf{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:clamp(40px,7vw,120px); align-items:start; margin-top:clamp(48px,5vw,72px);}
.v3.prod .xs-q, .v3.prod .xs-q blockquote{margin:0; padding:0; border:0;}
.v3.prod .xs-q p{margin:0; font-family:var(--serif); font-weight:600; font-size:clamp(32px,3.6vw,52px); line-height:1.1; letter-spacing:-.02em; color:#fff; text-wrap:balance;}
.v3.prod .xs-q figcaption{margin-top:22px; font-size:16px; color:var(--muted-d);}
.v3.prod .xs-pf-l{display:flex; flex-direction:column; gap:12px; margin:0; padding:0; list-style:none;}
.v3.prod .xs-pf-l a{display:grid; grid-template-columns:76px minmax(0,1fr); grid-template-rows:auto auto; column-gap:18px; align-items:center; padding:10px 14px 10px 4px; border-radius:18px; color:inherit; text-decoration:none; transition:background-color .2s ease;}
.v3.prod .xs-pf-l a:hover{background:var(--night-2);}
.v3.prod .xs-pf-fig{position:relative; grid-row:1 / 3; display:block; width:76px; height:76px; color:var(--xs-val);}
.v3.prod .xs-pf-l b{align-self:end; font-size:18px; font-weight:600; color:#fff;}
.v3.prod .xs-pf-l span:not(.xs-pf-fig){align-self:start; margin-top:4px; font-size:16px; line-height:1.45; color:var(--muted-d);}

/* the close: one line under the headline, as on the product pages */
.v3.prod.xs-page .close3 h2{max-width:26ch; text-wrap:balance;}

/* ── smaller screens ── */
@media (max-width:1180px){
  /* the gantt reads as a list: the product, its bars on a thin rail, then what happened, with the time */
  .v3.prod .xs-g{--lw:0px;}
  .v3.prod .xs-g-ax{margin-left:0;}
  .v3.prod .xs-g-r{grid-template-columns:minmax(0,1fr); row-gap:10px; min-height:0; padding:16px 0;}
  .v3.prod .xs-g-tr{display:flex; flex-direction:column; gap:6px; height:auto; padding-top:22px;}
  .v3.prod .xs-g-b{top:0; height:10px; margin-top:0; border-radius:5px;}
  .v3.prod .xs-g-l, .v3.prod .xs-g-left, .v3.prod .xs-g-in{position:static; padding:0; transform:none; background:none; white-space:normal; font-size:16px;}
  .v3.prod .xs-g-l time{display:inline; margin-right:10px; color:var(--xs-soft); font-variant-numeric:tabular-nums;}
  .v3.prod .xs-g-cap{margin-left:0;}
}
@media (max-width:900px){
  .v3.prod .xs-line{grid-template-columns:minmax(0,1fr); gap:28px;}
  .v3.prod .xs-lg-row{grid-template-columns:repeat(5,minmax(0,1fr));}
  .v3.prod .xs-pf{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:600px){
  .v3.prod .xs-lg-row{grid-template-columns:repeat(3,minmax(0,1fr));}
  .v3.prod .xs-li-n{font-size:15px;}
  .v3.prod .xs-pk-fig{width:52px; height:52px;}
  .v3.prod .xs-pf-l a{grid-template-columns:60px minmax(0,1fr); column-gap:14px;}
  .v3.prod .xs-pf-fig{width:60px; height:60px;}
  .v3.prod .xs-pv-tilt .tilt{height:380px;}
}
