/* lp4 — the current Kwop hero + the new sections (polifly.io's structure, lp3) in Kwop's own colours (9 Nov 2026, Kamil).
   Kwop's look: the light « day » panel (#fafafa, white cards, black ink), the dark blocks (.blk), the white pill CTA with its
   black arrow (.cta), mono eyebrows in brackets (.eb), titles with a grey shine (.gt). */

/* ---------- steps: polifly.io's cards (same shape, size and frame — the 4 px grey ring), in Kwop's colours (9 Nov, Kamil:
   « les rectangles ne sont plus gardés, fais la même shape, même taille, même design… avec les couleurs que t'as mises ») ---------- */
#how .h2{font-size:clamp(34px,3.4vw,48px);line-height:1.1;letter-spacing:-.02em}
#how .sub{font-size:20px;line-height:28px;max-width:760px}
.n4-steps{max-width:768px;margin:44px auto 0;display:flex;flex-direction:column;gap:16px}
.n4-st{background:#fff;border:1px solid rgb(229 231 235/.5);border-radius:24px;overflow:hidden;
  box-shadow:0 .6px .6px -.8px rgb(0 0 0/.05),0 2.3px 2.3px -1.7px rgb(0 0 0/.05),0 10px 10px -2.5px rgb(0 0 0/.05),0 0 0 4px rgb(194 194 194/.25)}
.n4-st-top{position:relative;height:64px;display:flex;align-items:center;justify-content:center;background:linear-gradient(#ececec,#f6f6f6 55%,#fff);overflow:hidden}
.n4-st-top::before{content:"";position:absolute;inset:0;background:radial-gradient(rgb(12 12 12/.14) 1px,transparent 1.2px) 0 0/8px 8px;-webkit-mask:linear-gradient(#000,transparent 85%);mask:linear-gradient(#000,transparent 85%)}
.n4-ill{position:relative;display:flex;align-items:center;gap:6px;transform:translateY(-4px)}
.n4-q span{padding:3px 10px;border-radius:99px;background:#fff;box-shadow:inset 0 0 0 1px rgb(12 12 12/.12),0 1px 2px rgb(0 0 0/.05);font:500 11px/16px var(--mono);color:rgb(12 12 12/.7)}
.n4-q span.on{background:#0a0a0a;color:#fff;box-shadow:0 2px 8px rgb(0 0 0/.25)}
.n4-b{gap:8px}
.n4-k{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;background:linear-gradient(135deg,#2a2a2a,#0a0a0a);color:#fff}.n4-k svg{width:11px;height:11px}
.n4-bar{width:150px;height:6px;border-radius:9px;background:#fff;box-shadow:inset 0 0 0 1px rgb(12 12 12/.14);overflow:hidden}
.n4-bar i{display:block;height:100%;width:62%;border-radius:9px;background:#0a0a0a;animation:n4-bld 2.6s cubic-bezier(.32,.72,0,1) infinite}
@keyframes n4-bld{0%{width:12%}70%,100%{width:92%}}
.n4-bt{font:500 11px/1 var(--mono);color:rgb(12 12 12/.7)}
.n4-nt{gap:8px;padding:5px 12px 5px 6px;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgb(0 0 0/.08),inset 0 0 0 1px rgb(12 12 12/.1)}
.n4-ni{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;background:#fa4616;overflow:hidden}.n4-ni img{width:16px;height:auto;filter:brightness(0) invert(1)}
.n4-ntt{font-size:11.5px;color:rgb(12 12 12/.62)}.n4-ntt b{font-weight:600;margin-right:4px;color:#0a0a0a}
.n4-st-b{padding:12px 16px 16px;text-align:center}
/* the pill between its two ‖ marks, like polifly's: a 2 px ring, a 3 px grey halo, the pill inside */
.n4-pr{display:flex;align-items:center;justify-content:center;gap:8px}
.n4-pr i{position:relative;display:block;width:48px;height:12px}
.n4-pr i::before{content:"";position:absolute;top:50%;height:1px;width:26px;background:linear-gradient(90deg,transparent,#e5e7eb)}
.n4-pr i::after{content:"";position:absolute;top:0;width:3px;height:12px;border-left:2px solid #eceef1;border-right:2px solid #eceef1}
.n4-pr i:first-child::before{left:0}.n4-pr i:first-child::after{right:6px}
.n4-pr i:last-child::before{right:0;transform:scaleX(-1)}.n4-pr i:last-child::after{left:6px}
.n4-pill{display:block;padding:2px;border-radius:12px;background:linear-gradient(rgb(10 10 10/.5),rgb(10 10 10/.3));box-shadow:0 0 0 3px rgb(194 194 194/.25),0 2px 6px rgb(0 0 0/.08)}
.n4-pill span{display:block;padding:6px 16px;border-radius:10px;background:linear-gradient(#2b2b2b,#0a0a0a);box-shadow:inset 0 2px 4px rgb(0 0 0/.05);color:#fff;font-size:12px;line-height:16px;font-weight:600}
.n4-st h3{margin:10px 0 2px;font-size:20px;line-height:28px;font-weight:700;letter-spacing:-.01em}
.n4-st p{margin:0;color:var(--t2);font-size:15px;line-height:24px;font-weight:500}
/* on the light page the white pill got lost: black, and bigger under the steps and the videos (9 Nov, Kamil: « en noir,
   plus gros et imposant… celui du calculateur juste en noir ») */
.cta.n4-blk{color:#fff}
.cta.n4-blk::before{background:radial-gradient(closest-side,rgb(10 10 10/.3),rgb(10 10 10/0));opacity:.55}
.cta.n4-blk::after{background:linear-gradient(112deg,transparent 38%,rgb(255 255 255/.06) 44%,rgb(255 255 255/.2) 50%,rgb(255 255 255/.06) 56%,transparent 62%) no-repeat,linear-gradient(180deg,#2c2c2c 0%,#0a0a0a 100%);background-size:260% 100%,100% 100%;background-position:180% 0,0 0;
  box-shadow:inset 0 1px 0 rgb(255 255 255/.16),inset 0 -1px 0 rgb(0 0 0/.4),0 0 0 1px rgb(10 10 10/.92),0 18px 40px -16px rgb(10 10 10/.55),0 2px 6px rgb(0 0 0/.25)}
.cta.n4-blk:hover::after{box-shadow:inset 0 1px 0 rgb(255 255 255/.2),inset 0 -1px 0 rgb(0 0 0/.4),0 0 0 1px #0a0a0a,0 22px 46px -14px rgb(10 10 10/.62),0 2px 6px rgb(0 0 0/.3)}
.cta.n4-blk .cta-ar{background:#fff;color:#0a0a0a;box-shadow:inset 0 -1px 0 rgb(0 0 0/.08)}
.cta.n4-xl{--h:70px;padding-left:32px;gap:18px;font-size:19.5px}.cta.n4-xl .cta-ar{width:54px;height:54px} /* « un peu plus petit » (9 Nov) */
@media (max-width:767px){.cta.n4-xl{--h:62px;padding-left:26px;gap:14px;font-size:17.5px}.cta.n4-xl .cta-ar{width:48px;height:48px}}
.n4-cta{margin-top:34px;display:flex;flex-direction:column;align-items:center;gap:18px}
.n4-avs{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.n4-avs-i{display:flex}.n4-avs-i img{width:28px;height:28px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--bg)}
.n4-avs-i img+img{margin-left:-8px}
.n4-avs-t{font:500 11.5px/1.45 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--t3)}

/* ---------- the four panels: lp3's layout (title on the left, two columns, close together) in Kwop's colours ----------
   Black cards on the light page, each with a soft touch of one of Kwop's accents (the paywall's blue, green, violet, pink). */
.n4-fx{padding:24px 0 96px}
.n4-fx-in{display:flex;flex-direction:column;gap:20px}
.n4-p{--fg:255 255 255;--tc:127 163 245;position:relative;padding:44px 44px 36px;border-radius:32px;color:#fff;text-align:left;
  background:radial-gradient(85% 120% at 0% 0%,rgb(var(--tc)/.17),transparent 58%),radial-gradient(50% 70% at 100% 100%,rgb(var(--tc)/.07),transparent 70%),#0b0b0d;
  box-shadow:inset 0 0 0 1px rgb(var(--tc)/.34),inset 0 0 0 7px rgb(var(--tc)/.06),0 30px 60px -34px rgb(0 0 0/.45)}
.n4-p-g{--tc:63 207 92}.n4-p-v{--tc:179 141 240}.n4-p-p{--tc:229 138 210}
.n4-p h2{margin:0;font-size:clamp(28px,3.1vw,38px);line-height:1.12;font-weight:600;letter-spacing:-.035em;text-wrap:balance}
.n4-p-sub{margin:12px 0 0;max-width:880px;color:rgb(255 255 255/.64);font-size:17px;line-height:1.55}
.n4-p-sub i{color:#fff;font-style:italic}
.n4-p-cols{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:34px}
.n4-col{display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-width:460px}
.n4-col h3{margin:0;font-size:20px;line-height:1.3;font-weight:600;letter-spacing:-.02em;color:#fff}
.n4-col p{margin:0;color:rgb(255 255 255/.6);font-size:15px;line-height:1.6}
.n4-col .cta{margin-top:8px}

/* ---------- the videos ---------- */
.n4-go{margin:2px 0 0;font-size:19px;font-weight:600;letter-spacing:-.01em}
#win .sec-h{margin-bottom:30px}
.n4-vc{position:relative;height:540px;overflow:hidden;touch-action:pan-y;-webkit-mask:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);mask:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%)}
.n4-vc-c{position:absolute;left:50%;top:30px;width:360px;height:480px;margin-left:-180px;transition:transform .6s cubic-bezier(.32,.72,0,1),opacity .6s,filter .6s;cursor:pointer;will-change:transform}
.n4-vc-f{width:100%;height:100%;padding:3px;border-radius:26px;background:linear-gradient(rgb(12 12 12/.16),rgb(12 12 12/.05));box-shadow:0 30px 60px -30px rgb(0 0 0/.45)}
.n4-vc-f video{width:100%;height:100%;border-radius:23px;object-fit:cover;object-position:50% 8%;background:#000;display:block}

/* ---------- the calculator ---------- */
.n4-cc{max-width:576px;margin:0 auto;display:flex;flex-direction:column;gap:6px;padding:6px;border-radius:26px;background:#efefef;box-shadow:inset 0 0 0 1px var(--line)}
.n4-cb{padding:22px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px var(--line)}
.n4-cr{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:14px}
.n4-cr label{font-size:16px;font-weight:600;letter-spacing:-.01em}
.n4-cv{padding:4px 11px;border-radius:10px;background:#0a0a0a;color:#fff;font:600 17px/1.3 var(--mono)}
.n4-rg{-webkit-appearance:none;appearance:none;display:block;width:100%;height:8px;margin:8px 0;border-radius:99px;background:linear-gradient(90deg,#0a0a0a var(--p,20%),#e3e3e3 var(--p,20%));outline:none;cursor:pointer}
.n4-rg::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgb(12 12 12/.12),0 2px 8px rgb(0 0 0/.25)}
.n4-rg::-moz-range-thumb{width:28px;height:28px;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgb(12 12 12/.12),0 2px 8px rgb(0 0 0/.25)}
.n4-tk{display:flex;align-items:center;gap:6px;margin-top:6px;font:500 11.5px/1 var(--mono);color:var(--t2)}
.n4-tk b{font-weight:500}.n4-tk i{flex:1;height:1px;background:var(--line)}
.n4-res{text-align:center}
.n4-rr{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:18px;font-size:24px;letter-spacing:-.02em}
.n4-rr b{font-weight:600}
.n4-rr span{padding:3px 11px;border-radius:12px;background:rgb(48 209 88/.13);box-shadow:inset 0 0 0 1px rgb(48 209 88/.35);color:#0f8a34;font-weight:700;font-variant-numeric:tabular-nums}
.n4-full{width:100%}
/* « Build my SaaS now » doesn't fit a phone's card: the short label there */
.n4-full .n4-sh{display:none}
@media (max-width:440px){.n4-full .n4-lg{display:none}.n4-full .n4-sh{display:inline}}
.n4-note{margin:16px auto 0;max-width:576px;text-align:center;color:var(--t3);font-size:12.5px;line-height:1.5}

/* ---------- the questions' last card ---------- */
.n4-end{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:26px;padding:22px 24px;border-radius:22px;background:#0a0a0a;color:#fff;box-shadow:0 30px 60px -30px rgb(0 0 0/.5)}
.n4-end h3{margin:0;font-size:18px;font-weight:600;letter-spacing:-.02em}
.n4-end p{margin:4px 0 0;color:rgb(255 255 255/.6);font-size:15px}

/* ---------- « just built » (real builds of the last 24 h: a country and a topic, never a name) ---------- */
.n4-toast{position:fixed;left:24px;bottom:24px;z-index:80;width:max-content;min-width:300px;max-width:min(340px,calc(100vw - 32px));display:flex;align-items:flex-start;gap:12px;padding:16px 20px 13px;border-radius:18px;background:rgb(18 18 19/.95);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#fff;box-shadow:inset 0 0 0 1px rgb(255 255 255/.1),0 20px 40px -12px rgb(0 0 0/.55);transition:opacity .45s cubic-bezier(.32,.72,0,1),transform .45s cubic-bezier(.32,.72,0,1)}
.n4-toast[hidden],.n4-toast.away{display:flex;opacity:0;transform:translateY(16px);pointer-events:none}
.n4-toast-i{flex:none;width:40px;height:40px;margin-top:12px;border-radius:50%;display:grid;place-items:center;background:#000;box-shadow:inset 0 0 0 1px rgb(255 255 255/.14)}
.n4-toast-i span{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;background:#fff;color:#0a0a0a}.n4-toast-i svg{width:11px;height:11px}
.n4-toast-t{min-width:0}
.n4-toast-who{display:inline-block;max-width:100%;padding:1px 8px;border-radius:6px;background:rgb(255 255 255/.1);color:rgb(255 255 255/.85);font-size:14.5px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.n4-toast-w{margin:5px 0 0;font-size:15px;line-height:19px;color:rgb(255 255 255/.85)}
.n4-toast-w b{color:#fff;font-weight:600}
.n4-toast-m{display:flex;align-items:center;flex-wrap:wrap;gap:2px 8px;margin:6px 0 0;font-size:12.5px;line-height:16px;color:rgb(255 255 255/.5)}
.n4-toast-m>span{white-space:nowrap}
.n4-toast-v{display:inline-flex;align-items:center;gap:4px;color:#30d158}.n4-toast-v svg{width:13px;height:13px}

/* ---------- phone ---------- */
@media (max-width:767px){
  #how .sub{font-size:17px;line-height:25px}.n4-steps{margin-top:28px}
  .n4-st h3{font-size:18px;line-height:26px}.n4-st p{font-size:14px;line-height:22px}
  .n4-fx{padding:8px 0 64px}.n4-fx-in{gap:14px}
  .n4-p{padding:26px 20px 24px;border-radius:24px}
  .n4-p h2{font-size:25px;line-height:1.15}.n4-p-sub{font-size:15.5px}
  .n4-p-cols{grid-template-columns:1fr;gap:26px;margin-top:24px}
  .n4-col h3{font-size:19px}
  .n4-vc{height:430px;-webkit-mask:none;mask:none}
  .n4-vc-c{width:276px;height:368px;margin-left:-138px;top:24px}
  .n4-cb{padding:18px}.n4-cr label{font-size:15px}.n4-rr{font-size:20px}
  .n4-end{flex-direction:column;align-items:stretch;text-align:left}
  .n4-end .cta{align-self:flex-start}
  .n4-toast{left:16px;right:16px;bottom:16px;min-width:0;max-width:none;width:auto;padding:12px 16px 10px}
  .n4-toast-who{font-size:14px;line-height:20px}.n4-toast-w{font-size:14.5px}.n4-toast-i{margin-top:10px}
}
@media (prefers-reduced-motion:reduce){.n4-bar i{animation:none}.n4-vc-c{transition:none}}
