/* CoachPro - strona główna: ruch przy scrollu.
   Wszystko jest ograniczone do .lp (strona główna) i działa jako dodatek do app_features.css.
   Bez JS strona wygląda tak jak wcześniej. */

/* overflow-x:hidden na .lp robi z niego kontener przewijania i psuje position:sticky (telefon w demo).
   clip dalej tnie poziomy wylew, ale nie tworzy kontenera przewijania. */
.lp.lp-premium-2026{overflow-x:clip;overflow-y:visible}

/* ---------- Wejście sekcji: spokojniejsze, bez rozmycia, z kolejnością ---------- */
.lp .fx-reveal{
  filter:none;
  transform:translate3d(0,18px,0);
}
.lp .fx-reveal.is-in{
  transform:translate3d(0,0,0);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.lp .lp-grid8>.lp-feature:nth-child(2).is-in,
.lp .lp-cards3>.lp-card:nth-child(2).is-in,
.lp .lp-gallery>.lp-thumb:nth-child(2).is-in{transition-delay:.07s}
.lp .lp-grid8>.lp-feature:nth-child(3).is-in,
.lp .lp-cards3>.lp-card:nth-child(3).is-in,
.lp .lp-gallery>.lp-thumb:nth-child(3).is-in{transition-delay:.14s}
.lp .lp-grid8>.lp-feature:nth-child(4).is-in{transition-delay:.21s}
.lp .lp-grid8>.lp-feature:nth-child(5).is-in{transition-delay:.07s}
.lp .lp-grid8>.lp-feature:nth-child(6).is-in{transition-delay:.14s}
.lp .lp-grid8>.lp-feature:nth-child(7).is-in{transition-delay:.21s}
.lp .lp-grid8>.lp-feature:nth-child(8).is-in{transition-delay:.28s}

@media (hover:hover) and (pointer:fine){
  .lp .lp-feature.is-in,
  .lp .lp-card.is-in,
  .lp .lp-path-card.is-in,
  .lp .lp-thumb.is-in{
    transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
  }
  .lp .lp-feature.is-in:hover,
  .lp .lp-card.is-in:hover,
  .lp .lp-path-card.is-in:hover,
  .lp .lp-thumb.is-in:hover{
    transform:translate3d(0,-4px,0);
    transition-delay:0s;
    border-color:var(--lp-soft-bd);
    box-shadow:0 18px 44px -20px rgba(0,0,0,.45);
  }
}

/* ---------- Karty powiadomień (hero i demo) ---------- */
.lp .lp-float{
  position:absolute;
  display:none;
  align-items:flex-start;
  gap:10px;
  width:216px;
  padding:11px 13px;
  border-radius:16px;
  background:var(--surface,#141419);
  color:var(--text,#F2F2F3);
  border:1px solid var(--lp-bd);
  box-shadow:0 20px 44px -18px rgba(0,0,0,.5);
  font-size:13px;
  line-height:1.35;
  pointer-events:none;
  z-index:6;
}
.lp .lp-float .lp-float__ico{
  flex:0 0 auto;
  width:30px;height:30px;
  border-radius:10px;
  display:grid;place-items:center;line-height:0;
  background:var(--lp-soft);
  border:1px solid var(--lp-soft-bd);
  color:var(--orange,var(--cp-brand-text, #C2410C));
}
.lp .lp-float .lp-float__ico svg{display:block;width:17px;height:17px}
.lp .lp-float b{display:block;font-weight:700}
.lp .lp-float div>span{display:block;color:var(--muted);font-size:12px;line-height:1.35}

/* Hero: dwa widgety osiadają po załadowaniu strony */
@media (min-width:1180px){
  .lp .lp-hero--platform .lp-hero-media--dual{position:relative}
  .lp .lp-hero .lp-float{display:flex}
  .lp .lp-hero .lp-float{width:236px}
  .lp .lp-hero .lp-float--l{left:-58px;bottom:-7%;animation:lpFloatIn .8s .55s cubic-bezier(.2,.7,.2,1) both}
  .lp .lp-hero .lp-float--r{right:-22px;top:-13%;animation:lpFloatIn .8s .85s cubic-bezier(.2,.7,.2,1) both}
}
@keyframes lpFloatIn{
  from{opacity:0;transform:translate3d(0,16px,0) scale(.97)}
  to{opacity:1;transform:none}
}

/* Hero: delikatny paralaks zrzutów (JS ustawia --lp-py) */
@media (min-width:992px) and (prefers-reduced-motion:no-preference){
  .lp .lp-preview-device--trainer{translate:0 calc(var(--lp-py,0) * -1px)}
  .lp .lp-preview-device--client{translate:0 calc(var(--lp-py,0) * 1.6px)}
}

/* ---------- Demo: telefon przyklejony, kroki zmieniają się przy scrollu ---------- */
.lp .lp-story-dots{display:none}
.lp .lp-story-note{display:none}

@media (min-width:992px){
  .lp .lp-demo[data-scroll-story] .lp-steps{gap:0}
  .lp .lp-demo[data-scroll-story] .lp-step{
    min-height:56vh;
    align-items:center;
    padding:20px 0;
    background:transparent;
    border-color:transparent;
    box-shadow:none;
    opacity:.4;
    cursor:pointer;
    transition:opacity .4s ease;
  }
  .lp .lp-demo[data-scroll-story] .lp-step.is-active{
    opacity:1;
    background:transparent;
    border-color:transparent;
    box-shadow:none;
  }
  .lp .lp-demo[data-scroll-story] .lp-step-b{
    padding-left:18px;
    border-left:2px solid transparent;
    transition:border-color .4s ease;
  }
  .lp .lp-demo[data-scroll-story] .lp-step.is-active .lp-step-b{border-left-color:var(--orange,var(--cp-brand, #E03A06))}
  .lp .lp-demo[data-scroll-story] .lp-step-k{width:40px;height:40px;border-radius:14px;font-size:16px}
  .lp .lp-demo[data-scroll-story] .lp-step-title{font-size:clamp(18px,1.9vw,24px);line-height:1.2}
  .lp .lp-demo[data-scroll-story] .lp-step-text{font-size:15px;line-height:1.55;max-width:46ch}
  .lp .lp-demo[data-scroll-story] .lp-demo-img{transition:opacity .35s ease}

  .lp .lp-story-dots{display:flex;justify-content:center;align-items:center;gap:0;margin-top:22px}
  .lp.lp-premium-2026 .lp-story-dots button[aria-label]{
    -webkit-appearance:none;appearance:none;
    position:relative;flex:none;
    width:22px;height:28px;min-width:0;min-height:0;padding:0;margin:0;
    border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;
    transition:width .3s ease;
  }
  .lp.lp-premium-2026 .lp-story-dots button[aria-label]::before{
    content:"";position:absolute;left:7px;right:7px;top:10px;bottom:10px;
    border-radius:99px;background:var(--lp-bd2);
    transition:background .3s ease;
  }
  .lp.lp-premium-2026 .lp-story-dots button[aria-label].is-active{width:40px}
  .lp.lp-premium-2026 .lp-story-dots button[aria-label].is-active::before{background:var(--orange,var(--cp-brand, #E03A06))}
  .lp .lp-story-note{display:block;text-align:center;margin-top:10px;font-size:12px;color:var(--muted)}
}

/* Powiadomienia obok telefonu: tylko szeroki ekran, żeby nic nie wychodziło poza kolumnę */
@media (min-width:1180px){
  .lp .lp-demo-phone .lp-float{
    display:flex;
    width:232px;
    opacity:0;
    transform:translate3d(0,14px,0);
    transition:opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1);
  }
  .lp .lp-demo-phone .lp-float--l{left:calc(50% - 160px - 150px);top:16%}
  .lp .lp-demo-phone .lp-float--r{left:calc(50% + 160px - 80px);bottom:20%;transition-delay:.12s}
  .lp .lp-demo[data-active="0"] .lp-float[data-for="0"],
  .lp .lp-demo[data-active="1"] .lp-float[data-for="1"],
  .lp .lp-demo[data-active="2"] .lp-float[data-for="2"],
  .lp .lp-demo[data-active="3"] .lp-float[data-for="3"],
  .lp .lp-demo[data-active="4"] .lp-float[data-for="4"]{
    opacity:1;
    transform:none;
  }
}

@media (prefers-reduced-motion:reduce){
  .lp .fx-reveal,
  .lp .fx-reveal.is-in{opacity:1;transform:none;filter:none;transition:none}
  .lp .lp-float{animation:none!important;transition:none!important}
  .lp.lp-premium-2026 .lp-story-dots button[aria-label]{transition:none}
}

/* ---------- Demo przypięte (klasa .lp-demo-pinned z landing_motion_2026.js) ----------
   Ten sam mechanizm co sekcja "dwie drogi": scena stoi, przewijanie zmienia krok. */
.lp section.lp-demo-pinned{
  --lpd-top:72px;
  height:calc(100svh + 5 * 70svh);
  padding:0 !important;
}
.lp .lp-demo-pinned > .lp-container{
  position:sticky;
  top:var(--lpd-top);
  height:calc(100svh - var(--lpd-top));
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:clamp(14px,3vh,32px);
  overflow:hidden;
}
.lp .lp-demo-pinned .lp-section-head{margin:0}
.lp .lp-demo-pinned .lp-demo{flex:1 1 auto;min-height:0;align-items:center}
.lp .lp-demo-pinned .lp-demo-phone{position:relative !important;top:auto !important}
.lp .lp-demo-pinned .lp-demo-frame{
  height:min(600px, calc(100svh - var(--lpd-top) - 300px));
  width:auto;
  max-width:none;
}
.lp .lp-demo-pinned .lp-steps{display:grid;gap:0}
.lp .lp-demo-pinned .lp-step{
  grid-area:1/1;
  min-height:0 !important;
  opacity:0 !important;
  visibility:hidden;
  transform:translateY(16px);
  transition:opacity .45s ease,transform .6s cubic-bezier(.2,.7,.2,1),visibility 0s .45s !important;
}
.lp .lp-demo-pinned .lp-step.is-active{
  opacity:1 !important;
  visibility:visible;
  transform:none;
  transition:opacity .5s ease .1s,transform .7s cubic-bezier(.2,.7,.2,1) .1s,visibility 0s !important;
}
.lp .lp-demo-pinned .lp-story-dots{display:flex;justify-content:center;align-items:center;gap:0;margin-top:18px}
.lp.lp-premium-2026 .lp-demo-pinned .lp-story-dots button[aria-label]{
  -webkit-appearance:none;appearance:none;position:relative;flex:none;
  width:22px;height:28px;min-width:0;min-height:0;padding:0;margin:0;
  border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;transition:width .3s ease;
}
.lp.lp-premium-2026 .lp-demo-pinned .lp-story-dots button[aria-label]::before{
  content:"";position:absolute;left:7px;right:7px;top:10px;bottom:10px;border-radius:99px;background:var(--lp-bd2);transition:background .3s ease;
}
.lp.lp-premium-2026 .lp-demo-pinned .lp-story-dots button[aria-label].is-active{width:40px}
.lp.lp-premium-2026 .lp-demo-pinned .lp-story-dots button[aria-label].is-active::before{background:var(--orange,var(--cp-brand, #E03A06))}
.lp .lp-demo-pinned .lp-story-note{display:none}

@media (max-width:991.98px){
  .lp .lp-demo-pinned > .lp-container{justify-content:flex-start;padding-top:14px;padding-bottom:16px;gap:10px}
  .lp .lp-demo-pinned .lp-section-head .lp-h2{font-size:21px;text-align:center}
  .lp .lp-demo-pinned .lp-section-head .lp-sub{display:none}
  .lp .lp-demo-pinned .lp-demo{display:flex;flex-direction:column;gap:10px}
  .lp .lp-demo-pinned .lp-demo-phone{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;align-items:center}
  .lp .lp-demo-pinned .lp-demo-frame{height:auto;flex:1 1 auto;min-height:0;max-height:440px;margin-top:10px}
  .lp .lp-demo-pinned .lp-story-dots{margin-top:12px}
  .lp .lp-demo-pinned .lp-steps{flex:none;width:100%}
  .lp .lp-demo-pinned .lp-step{padding:12px 14px}
  .lp .lp-demo-pinned .lp-step-title{font-size:17px;line-height:1.25}
  .lp .lp-demo-pinned .lp-step-text{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
}
@media (max-width:991.98px) and (max-height:700px){
  .lp .lp-demo-pinned .lp-section-head{display:none}
  .lp .lp-demo-pinned .lp-step-text{-webkit-line-clamp:2}
}
@media (prefers-reduced-motion:reduce){
  .lp .lp-demo-pinned .lp-step{transform:none}
}
@media (min-width:992px){
  /* Nagłówek i scena jako jedna grupa na środku ekranu; powiadomienia obok telefonu nie są ucinane. */
  .lp .lp-demo-pinned > .lp-container{overflow:visible}
  .lp .lp-demo-pinned .lp-demo{flex:0 0 auto}
}

/* Przypięte demo: tło takie jak na całej stronie (decyzja właściciela).
   overflow-anchor:none - przeglądarka nie "poprawia" przewijania przy zmianie kroku (skoki). */
.lp section.lp-demo-pinned{
  background:transparent;
  overflow-anchor:none;
}

/* Obrót telefonu przy zmianie kroku */
.lp .lp-demo-pinned .lp-demo-phone{perspective:1600px}
.lp .lp-demo-pinned .lp-demo-frame{transform-style:preserve-3d;will-change:transform}
.lp .lp-demo-pinned .lp-demo-frame.is-turn-fwd{animation:lpdTurnFwd var(--lpd-turn-ms,.84s) both}
.lp .lp-demo-pinned .lp-demo-frame.is-turn-back{animation:lpdTurnBack var(--lpd-turn-ms,.84s) both}
@keyframes lpdTurnFwd{
  0%{transform:rotateY(0deg);animation-timing-function:cubic-bezier(.55,0,.85,.35)}
  50%{transform:rotateY(-90deg)}
  50.01%{transform:rotateY(90deg);animation-timing-function:cubic-bezier(.15,.65,.35,1)}
  100%{transform:rotateY(0deg)}
}
@keyframes lpdTurnBack{
  0%{transform:rotateY(0deg);animation-timing-function:cubic-bezier(.55,0,.85,.35)}
  50%{transform:rotateY(90deg)}
  50.01%{transform:rotateY(-90deg);animation-timing-function:cubic-bezier(.15,.65,.35,1)}
  100%{transform:rotateY(0deg)}
}
/* Zrzut podmieniany jest w połowie obrotu - bez przenikania. */
.lp .lp-demo-pinned .lp-demo-img{transition:none !important}

/* Powiadomienia pojawiają się po obrocie */
@media (min-width:1180px){
  .lp .lp-demo-pinned .lp-demo[data-active] .lp-float{transition-delay:.45s}
  .lp .lp-demo-pinned .lp-demo[data-active] .lp-float--r{transition-delay:.6s}
}

/* Telefon i tablet: telefon na środku, powiadomienia nachodzą na ekran jak prawdziwe pushe */
@media (max-width:1179.98px){
  .lp .lp-demo-pinned .lp-demo-phone{align-self:stretch;width:100%;position:relative}
  .lp .lp-demo-pinned .lp-demo-frame{margin-inline:auto}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float{
    display:flex !important; /* app_features.css chowa .lp-float na małych ekranach (!important) */
    left:50%;
    width:min(260px,82%);
    opacity:0;
    transform:translate3d(-50%,12px,0);
    transition:opacity .4s ease,transform .45s cubic-bezier(.2,.7,.2,1);
    transition-delay:0s;
  }
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--l{top:14%;bottom:auto}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--r{bottom:22%;top:auto}
  .lp .lp-demo-pinned .lp-demo[data-active="0"] .lp-float[data-for="0"],
  .lp .lp-demo-pinned .lp-demo[data-active="1"] .lp-float[data-for="1"],
  .lp .lp-demo-pinned .lp-demo[data-active="2"] .lp-float[data-for="2"],
  .lp .lp-demo-pinned .lp-demo[data-active="3"] .lp-float[data-for="3"],
  .lp .lp-demo-pinned .lp-demo[data-active="4"] .lp-float[data-for="4"]{
    opacity:1;
    transform:translate3d(-50%,0,0);
    transition-delay:.45s;
  }
  .lp .lp-demo-pinned .lp-demo[data-active] .lp-float--r[data-for]{transition-delay:.6s}
}
@media (max-width:1179.98px) and (min-width:992px){
  .lp .lp-demo-pinned .lp-demo-phone .lp-float{width:240px}
}
@media (prefers-reduced-motion:reduce){
  .lp .lp-demo-pinned .lp-demo-frame.is-turn-fwd,
  .lp .lp-demo-pinned .lp-demo-frame.is-turn-back{animation:none}
}
@media (max-width:991.98px){
  /* Grupa (nagłówek, telefon, opis) na środku ekranu, bez pustej przerwy nad opisem. */
  .lp .lp-demo-pinned > .lp-container{justify-content:center}
  .lp .lp-demo-pinned .lp-demo{flex:0 0 auto}
  .lp .lp-demo-pinned .lp-demo-phone{flex:0 0 auto}
  .lp .lp-demo-pinned .lp-demo-frame{flex:none;height:min(440px, calc(100svh - var(--lpd-top) - 320px));min-height:240px}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float{width:min(240px,76%);padding:9px 11px;font-size:12px;gap:8px}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float .lp-float__ico{width:26px;height:26px}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float div>span{font-size:11.5px}
}
@media (max-width:991.98px) and (max-height:720px){
  /* Niski ekran: jedno powiadomienie, żeby nie zasłaniać całego telefonu. */
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--r{display:none !important}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--l{top:22%}
}

/* Telefon/tablet: powiadomienia mniejsze i przy krawędziach telefonu (lewe u góry, prawe na dole),
   żeby nie zasłaniały zrzutu. Nadpisuje wcześniejsze wyśrodkowanie. */
@media (max-width:1179.98px){
  .lp .lp-demo-pinned .lp-demo-phone .lp-float{
    width:min(188px,50%);
    padding:7px 9px;
    gap:7px;
    font-size:11.5px;
    line-height:1.3;
    border-radius:13px;
    transform:translate3d(0,10px,0);
  }
  .lp .lp-demo-pinned .lp-demo-phone .lp-float b{font-size:12px;line-height:1.25}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float div>span{
    font-size:11px;line-height:1.3;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  .lp .lp-demo-pinned .lp-demo-phone .lp-float .lp-float__ico{width:22px;height:22px;border-radius:7px}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float .lp-float__ico svg{width:13px;height:13px}
  /* Poniżej nagłówka i karty z awatarem: zasłaniają tylko dolną część zrzutu (listy, wiersze). */
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--l{left:calc(50% - 170px);right:auto;top:60%}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--r{left:auto;right:calc(50% - 170px);bottom:3%}
  .lp .lp-demo-pinned .lp-demo[data-active="0"] .lp-float[data-for="0"],
  .lp .lp-demo-pinned .lp-demo[data-active="1"] .lp-float[data-for="1"],
  .lp .lp-demo-pinned .lp-demo[data-active="2"] .lp-float[data-for="2"],
  .lp .lp-demo-pinned .lp-demo[data-active="3"] .lp-float[data-for="3"],
  .lp .lp-demo-pinned .lp-demo[data-active="4"] .lp-float[data-for="4"]{transform:none}
}
@media (max-width:400px){
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--l{left:0}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--r{right:0}
}
@media (max-width:991.98px) and (max-height:720px){
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--l{top:58%}
}

/* Komputer: powiadomienia obok telefonu, poniżej nagłówka i awatara na zrzucie. */
@media (min-width:1180px){
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--l{top:50%}
  .lp .lp-demo-pinned .lp-demo-phone .lp-float--r{bottom:8%}
}

/* ---------- Funkcje: pas przewijany w bok (data-hscroll, static/scroll_story.js) ---------- */
.lp{--pin-accent:var(--orange2,#f0572d)}
.lp .lp-hs{position:relative}
.lp .lp-hs__stage{display:flex;flex-direction:column;justify-content:center;gap:clamp(18px,3vh,32px);padding:clamp(48px,7vw,80px) 0}
.lp .lp-hs.is-hscroll .lp-hs__stage{padding:0}
.lp .lp-hs__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;width:100%}
.lp .lp-hs__head .lp-sub{margin:0;max-width:600px}
.lp .lp-hs__head .hs-progress{flex:0 0 min(280px,32%);margin-bottom:10px}
.lp .lp-hs__track{display:flex;gap:16px;padding:6px max(16px,calc((100vw - 1180px) / 2)) 10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
.lp .lp-hs__track::-webkit-scrollbar{display:none}
.lp .lp-hs.is-hscroll .lp-hs__track{overflow:visible;scroll-snap-type:none}
.lp .lp-hcard{
  position:relative;box-sizing:border-box;flex:0 0 clamp(270px,28vw,360px);min-height:clamp(300px,44vh,380px);scroll-snap-align:start;
  display:flex;flex-direction:column;padding:28px 26px 26px;border-radius:26px;overflow:hidden;
  background:radial-gradient(120% 70% at 100% 0%,rgba(240,87,45,.14),rgba(240,87,45,0) 55%),linear-gradient(165deg,rgba(255,255,255,.075),rgba(255,255,255,.02) 60%),var(--lp-bg-1,rgba(0,0,0,.18));
  border:1px solid rgba(255,255,255,.10);box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 22px 50px rgba(0,0,0,.24);
}
.lp .lp-hcard__n{font-size:clamp(54px,6vw,76px);font-weight:800;line-height:.9;letter-spacing:-.04em;margin-bottom:auto;background:linear-gradient(180deg,rgba(255,138,87,.95),rgba(240,87,45,.25));-webkit-background-clip:text;background-clip:text;color:transparent}
.lp .lp-hcard__title{margin:28px 0 10px;font-size:1.25rem;font-weight:800;line-height:1.2;letter-spacing:-.01em;color:var(--text-95,#fff)}
.lp .lp-hcard__text{margin:0;font-size:.95rem;line-height:1.6;color:var(--muted,rgba(255,255,255,.7))}
.lp .lp-hcard--cta{justify-content:flex-end;background:linear-gradient(160deg,#ff7a3d,#e2440f);border-color:transparent;box-shadow:0 24px 60px rgba(240,87,45,.35)}
.lp .lp-hcard--cta .lp-hcard__title{font-size:1.6rem;color:#fff}
.lp .lp-hcard--cta .lp-hcard__text{color:rgba(255,255,255,.88)}
.lp .lp-hcard__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.lp .lp-hcard--cta .lp-btn.primary{background:#fff;color:#c2410c;box-shadow:none}
.lp .lp-hcard--cta .lp-btn.ghost{border-color:rgba(255,255,255,.6);color:#fff}
html[data-theme="light"] .lp .lp-hcard:not(.lp-hcard--cta){background:radial-gradient(120% 70% at 100% 0%,rgba(240,87,45,.10),rgba(240,87,45,0) 55%),linear-gradient(165deg,#fff,#fffaf7);border-color:rgba(17,24,39,.08);box-shadow:0 1px 0 #fff inset,0 22px 50px rgba(17,24,39,.08)}
html[data-theme="light"] .lp .lp-hcard:not(.lp-hcard--cta) .lp-hcard__title{color:#111827}
html[data-theme="light"] .lp .lp-hcard:not(.lp-hcard--cta) .lp-hcard__text{color:#4b5563}

/* ---------- Raporty: przypięta scena (data-pin-story) ---------- */
.lp .lp-rep__stage{display:flex;align-items:center;padding:clamp(48px,7vw,80px) 0}
.lp .lp-rep.is-pinned .lp-rep__stage{padding:0}
.lp .lp-rep__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:center;width:100%}
.lp .lp-rep__steps{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:0}
.lp .lp-rep__step{padding:16px 0 16px 18px;border-left:2px solid var(--lp-bd,rgba(255,255,255,.12));transition:opacity .4s ease,border-color .4s ease}
.lp .lp-rep__step h3{margin:0 0 4px;font-size:1.15rem;font-weight:800}
.lp .lp-rep__step p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.6;max-width:48ch}
.lp .lp-rep.is-pinned .lp-rep__step{opacity:.4;cursor:pointer}
.lp .lp-rep.is-pinned .lp-rep__step.is-active{opacity:1;border-left-color:var(--orange2,#f0572d)}
.lp .lp-rep__dots{margin:14px 0 0 -7px}
.lp .lp-rep__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.lp .lp-rep__docs{position:relative;display:grid;gap:14px;perspective:1400px}
.lp .lp-rep__doc{display:block;padding:0;border:0;background:none;border-radius:18px;overflow:hidden;cursor:zoom-in;box-shadow:0 30px 70px rgba(0,0,0,.35)}
.lp .lp-rep__doc img{display:block;width:100%;height:auto}
.lp .lp-rep.is-pinned .lp-rep__docs{display:block;height:min(72vh,640px)}
.lp .lp-rep.is-pinned .lp-rep__doc{
  position:absolute;inset:0;margin:auto;width:auto;height:100%;max-width:100%;aspect-ratio:auto;
  opacity:0;transform:translateY(40px) rotateX(8deg) scale(.94);transform-origin:50% 100%;
  transition:opacity .55s ease,transform .8s cubic-bezier(.2,.7,.2,1);pointer-events:none;
}
.lp .lp-rep.is-pinned .lp-rep__doc img{height:100%;width:auto;margin:0 auto;border-radius:18px}
.lp .lp-rep.is-pinned .lp-rep__doc.is-active{opacity:1;transform:none;pointer-events:auto}
.lp .lp-rep.is-pinned .lp-rep__doc.is-past{opacity:0;transform:translateY(-30px) scale(.96)}

@media (max-width:767.98px){
  .lp .lp-hs__head{display:block}
  .lp .lp-hs__head .hs-progress{margin-top:16px}
  .lp .lp-hs.is-hscroll .lp-hs__head .lp-sub{display:none}
  .lp .lp-hs__track{align-items:flex-start}
  .lp .lp-hcard{flex:0 0 min(80vw,330px);min-height:0}
  .lp .lp-hcard__n{font-size:48px;margin-bottom:0}
  .lp .lp-hcard__title{margin-top:18px}
  .lp .lp-rep__grid{grid-template-columns:1fr}
  .lp .lp-rep.is-pinned .lp-rep__stage{align-items:flex-start;padding-top:12px}
  .lp .lp-rep.is-pinned .lp-rep__grid{display:flex;flex-direction:column;gap:12px}
  .lp .lp-rep.is-pinned .lp-rep__docs{order:-1;height:40svh;width:100%}
  .lp .lp-rep.is-pinned .lp-h2{font-size:22px}
  .lp .lp-rep.is-pinned .lp-rep__steps{margin-top:8px}
  .lp .lp-rep.is-pinned .lp-rep__step{padding:10px 0 10px 14px}
  .lp .lp-rep.is-pinned .lp-rep__step:not(.is-active) p{display:none}
  .lp .lp-rep.is-pinned .lp-rep__actions{display:none}
}
