.mf-journey{background:#fff;color:#000033;font-family:'Libre Franklin',sans-serif}.mf-journey--default-top{padding-top:80px}.mf-journey--default-bottom{padding-bottom:80px}.mf-journey__inner{max-width:1120px;margin:auto;padding:0 24px;box-sizing:content-box}.mf-journey__intro{max-width:760px;margin-bottom:48px}.mf-journey__intro h2{font-size:48px;line-height:56px;font-weight:600;margin:0}.mf-journey__intro-text{font-size:18px;line-height:28px;color:#465464;margin-top:24px}.mf-journey__slider{position:relative}.mf-journey__slide{border-radius:24px;padding:36px;background:linear-gradient(65deg,#d8e8fd,#f7f9fc);margin-bottom:24px;min-width:0}.mf-journey__slide--green{background:linear-gradient(65deg,#d2f9df,#f7fcf9)}.mf-journey__slide--lavender{background:linear-gradient(65deg,#d5d5fc,#f7f7ff)}.mf-journey__slide[hidden]{display:none}.mf-journey__copy{max-width:640px;min-height:142px;padding-right:0}.mf-journey__copy h3{font-size:30px;line-height:1.15;font-weight:700;margin:0}.mf-journey__copy p{font-size:18px;line-height:28px;color:#33335c;margin:24px 0 0}.mf-journey__controls{position:absolute;z-index:5;right:36px;top:36px;display:flex;flex-direction:column;align-items:flex-end;gap:24px}.mf-journey__controls[hidden]{display:none}.mf-journey__arrows{display:flex;gap:9px}.mf-journey__arrows button{border:1px solid #0000001f;background:transparent;width:44px;height:44px;border-radius:50%;color:#000033;font-size:20px;cursor:pointer}.mf-journey__arrows button:hover{background:#ffffffa6}.mf-journey__dots{display:flex;gap:4px}.mf-journey__dots button{border:0;background:#00003333;width:32px;height:8px;padding:0;border-radius:8px;cursor:pointer}.mf-journey__dots button[aria-current=true]{background:#000033}.mf-journey__controls button:focus-visible{outline:3px solid #6061f6;outline-offset:3px}.mf-journey__pause:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;border:0}.mf-journey__pause:focus{position:absolute;top:80px;right:0;white-space:nowrap;padding:8px;border:1px solid #6061f6;border-radius:20px;background:#fff}.mf-journey__grid{margin-top:36px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:220px;gap:12px;position:relative}.mf-journey__tile{position:relative;grid-column:span 4;min-width:0;overflow:hidden;border-radius:8px;border:1px solid #d8e8fd;background:#f7f9fc;padding:16px;transition:box-shadow .4s}.mf-journey__tile:nth-child(4){grid-column:span 4}.mf-journey__tile:nth-child(5){grid-column:span 8}.mf-journey__slide--green .mf-journey__tile{background:#d4fce0;border-color:#a8ffc0}.mf-journey__slide--lavender .mf-journey__tile{background:#f1f1fc;border-color:#d8d8fc}.mf-journey__tile.is-current{box-shadow:inset 0 0 0 2px #6061f6}.mf-journey__tile-label{display:grid;justify-items:start;gap:6px;position:relative;z-index:2;font-size:14px;line-height:18px;color:#33335c}.mf-journey__tile-label span{border-radius:100px;background:#fff;padding:3px 9px;font-size:10px}.mf-journey__wire{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:3}.mf-journey__wire path{fill:none;stroke:#6061f6;stroke-width:2;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1s cubic-bezier(.65,0,.35,1)}.mf-journey__wire path.is-lit{stroke-dashoffset:0}
@media(max-width:767px){.mf-journey--default-top{padding-top:48px}.mf-journey--default-bottom{padding-bottom:48px}.mf-journey__inner{padding:0 20px}.mf-journey__intro{margin-bottom:32px}.mf-journey__intro h2{font-size:30px;line-height:36px}.mf-journey__intro-text,.mf-journey__copy p{font-size:16px;line-height:24px}.mf-journey__slide{padding:24px}.mf-journey__copy{min-height:0;padding-bottom:72px}.mf-journey__copy h3{font-size:24px}.mf-journey__copy p{margin-top:16px}.mf-journey__controls{top:unset;right:44px;transform:translateY(0)}.mf-journey__grid{grid-template-columns:1fr;grid-auto-rows:minmax(190px,auto);margin-top:24px}.mf-journey__tile,.mf-journey__tile:nth-child(4),.mf-journey__tile:nth-child(5){grid-column:1}.mf-journey__tile{min-height:190px}.mf-journey__wire{display:none}}
@media(prefers-reduced-motion:reduce){.mf-journey *{transition:none!important;animation:none!important}.mf-journey__wire path{stroke-dashoffset:0}}
@media(max-width:767px){.mf-journey__controls:not([hidden]){position:relative;top:auto;right:auto;transform:none;flex-direction:row;justify-content:space-between;padding:0 24px;margin-bottom:16px}.mf-journey__copy{padding-bottom:0}}

@media(min-width:768px){.mf-journey__grid--count-5 .mf-journey__tile:nth-child(2){grid-column:span 5}.mf-journey__grid--count-5 .mf-journey__tile:nth-child(3){grid-column:span 3}.mf-journey__grid--count-4 .mf-journey__tile:nth-child(2){grid-column:span 8}.mf-journey__grid--count-4 .mf-journey__tile:nth-child(3){grid-column:span 5}.mf-journey__grid--count-4 .mf-journey__tile:nth-child(4){grid-column:span 7}.mf-journey__grid--count-3 .mf-journey__tile:nth-child(1){grid-column:1/8;grid-row:1}.mf-journey__grid--count-3 .mf-journey__tile:nth-child(2){grid-column:1/8;grid-row:2}.mf-journey__grid--count-3 .mf-journey__tile:nth-child(3){grid-column:8/13;grid-row:1/3}}
.mf-journey__wire path{transition:none;stroke-dasharray:1;stroke-dashoffset:1;opacity:0}.mf-journey__wire circle{fill:#fff;stroke:#6061f6;stroke-width:1.5;opacity:0}.mf-journey__wire .mf-journey__wire-dot{fill:#6061f6;stroke:#fff;stroke-width:2}.mf-journey__tile.is-pending{background:transparent;border-color:transparent;box-shadow:none}.mf-journey__tile.is-pending .mf-journey__tile-label{visibility:hidden}@media(max-width:767px){.mf-journey__wire{display:block}}@media(prefers-reduced-motion:reduce){.mf-journey__wire path,.mf-journey__wire circle:not(.mf-journey__wire-dot){opacity:1!important;stroke-dashoffset:0!important}}

@media(min-width:768px){.mf-journey__grid--count-5{grid-auto-rows:248px}.mf-journey__grid--count-5 .mf-journey__tile{box-sizing:border-box}.mf-journey__grid--count-5 .mf-journey__tile:nth-child(1){margin-top:36px;height:222px}.mf-journey__grid--count-5 .mf-journey__tile:nth-child(2){height:292px}.mf-journey__grid--count-5 .mf-journey__tile:nth-child(3){margin-top:36px;height:256px}.mf-journey__grid--count-5 .mf-journey__tile:nth-child(4){margin-top:10px;height:238px}.mf-journey__grid--count-5 .mf-journey__tile:nth-child(5){margin-top:44px;height:204px}}
.mf-journey__slide.is-entering{animation:mf-journey-arrive .8s cubic-bezier(.65,0,.35,1)}@keyframes mf-journey-arrive{from{opacity:.6;transform:translateX(18px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.mf-journey__slide.is-entering{animation:none}}

@media(min-width:768px){.mf-journey__grid--activation .mf-journey__tile:nth-child(1),.mf-journey__grid--recovery .mf-journey__tile:nth-child(1){grid-column:1/6;grid-row:1}.mf-journey__grid--activation .mf-journey__tile:nth-child(2),.mf-journey__grid--recovery .mf-journey__tile:nth-child(2){grid-column:6/13;grid-row:1}.mf-journey__grid--activation .mf-journey__tile:nth-child(3),.mf-journey__grid--recovery .mf-journey__tile:nth-child(3){grid-column:1/6;grid-row:2}.mf-journey__grid--activation .mf-journey__tile:nth-child(4),.mf-journey__grid--recovery .mf-journey__tile:nth-child(4){grid-column:6/13;grid-row:2}.mf-journey__grid--purchase .mf-journey__tile:nth-child(1){grid-column:1/8;grid-row:1}.mf-journey__grid--purchase .mf-journey__tile:nth-child(2){grid-column:8/13;grid-row:1}.mf-journey__grid--purchase .mf-journey__tile:nth-child(3){grid-column:1/6;grid-row:2}.mf-journey__grid--purchase .mf-journey__tile:nth-child(4){grid-column:6/13;grid-row:2}.mf-journey__grid--trust .mf-journey__tile:nth-child(1){grid-column:1/5;grid-row:1}.mf-journey__grid--trust .mf-journey__tile:nth-child(2){grid-column:5/13;grid-row:1}.mf-journey__grid--trust .mf-journey__tile:nth-child(3){grid-column:1/7;grid-row:2}.mf-journey__grid--trust .mf-journey__tile:nth-child(4){grid-column:7/13;grid-row:2}}

/* Static colours and geometry follow the reviewed HTML prototype. */
.mf-journey__slide{margin-bottom:0}
.mf-journey__slide--green .mf-journey__tile:not(.is-pending){background:#d4ffdf;border-color:#bbffcd}
.mf-journey__slide--lavender .mf-journey__tile:not(.is-pending){background:#f2f2fe;border-color:#ddddfd}
.mf-journey__copy h3{letter-spacing:-.4px}
.mf-journey__tile-label{line-height:1.3;font-weight:600}
.mf-journey__tile-label span{font-size:10.286px;font-weight:600}
@media(min-width:1000px){
  .mf-journey__grid,.mf-journey__grid--count-5{margin-top:26px;grid-auto-rows:206px;gap:22px}
  .mf-journey__tile,.mf-journey__grid--count-5 .mf-journey__tile:nth-child(n){height:auto;margin-top:0;padding:14px 16px;border-radius:10px}
  .mf-journey__grid--activation .mf-journey__tile:nth-child(1),.mf-journey__grid--activation .mf-journey__tile:nth-child(3){grid-column:1/5}
  .mf-journey__grid--activation .mf-journey__tile:nth-child(2),.mf-journey__grid--activation .mf-journey__tile:nth-child(4){grid-column:5/13}
  .mf-journey__grid--purchase .mf-journey__tile:nth-child(1){grid-column:1/7}
  .mf-journey__grid--purchase .mf-journey__tile:nth-child(2){grid-column:7/13}
}

/* Controls, tile reveal and connecting paths follow the HTML prototype. */
.mf-journey__arrows button{width:40px;height:40px;display:grid;place-items:center;padding:0;color:#6061f6;background:#fff}
.mf-journey__arrows svg{width:18px;height:18px;display:block}
.mf-journey__controls{gap:18px}
.mf-journey__dots{gap:6px}
.mf-journey__dots button{position:relative;overflow:hidden;width:22px;height:5px;border-radius:3px;transition:width .4s cubic-bezier(.22,1,.36,1)}
.mf-journey__dots button[aria-current=true]{width:34px;background:#00003324}
.mf-journey__dots button span{position:absolute;inset:0;background:#000033;transform-origin:left;transform:scaleX(0)}
.mf-journey__dots button[aria-current=true] span{transform:scaleX(1)}
.mf-journey__tile{transition:opacity .6s,transform .8s cubic-bezier(.22,1,.36,1),box-shadow .6s}
.mf-journey__tile.is-pending{opacity:0;transform:translateY(14px) scale(.97)}
.mf-journey__tile.is-pending .mf-journey__tile-label{visibility:visible}

.mf-journey__wire path{stroke-width:1.8}
.mf-journey__wire circle.is-lit{fill:#6061f6;stroke:#fff}
.mf-journey__wire .mf-journey__wire-dot{filter:drop-shadow(0 0 4px #6061f6b3)}
@media(prefers-reduced-motion:reduce){.mf-journey__tile.is-pending{opacity:1;transform:none}.mf-journey__dots button span{animation:none!important}}

/* Slide the outgoing and incoming panels together, as in the prototype. */
.mf-journey__slider{overflow:hidden}
.mf-journey__slide.is-leaving{position:absolute;inset:0;width:100%;pointer-events:none;animation:mf-journey-leave .8s cubic-bezier(.65,0,.35,1) both}
.mf-journey__slide.is-entering{animation:mf-journey-enter .8s cubic-bezier(.65,0,.35,1) both}
.mf-journey__slide.is-leaving.is-reverse{animation-name:mf-journey-leave-reverse}
.mf-journey__slide.is-entering.is-reverse{animation-name:mf-journey-enter-reverse}
@keyframes mf-journey-enter{from{opacity:.25;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}
@keyframes mf-journey-leave{from{opacity:1;transform:translateX(0)}to{opacity:.25;transform:translateX(-100%)}}
@keyframes mf-journey-enter-reverse{from{opacity:.25;transform:translateX(-100%)}to{opacity:1;transform:translateX(0)}}
@keyframes mf-journey-leave-reverse{from{opacity:1;transform:translateX(0)}to{opacity:.25;transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.mf-journey__slide.is-entering,.mf-journey__slide.is-leaving{animation:none}}

/* Labels remain editable HTML; only the mock-up artwork is an image. */
.mf-journey__grid--figma .mf-journey__tile--figma:nth-child(n){position:relative;left:auto;top:auto;width:auto;padding:14px 16px;overflow:hidden}
.mf-journey__figma-visual{position:absolute;inset:76px 14px 0;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;pointer-events:none}
.mf-journey__figma-visual .mf-journey__figma-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center bottom}
.mf-journey__figma-visual .mf-journey__figma-extra{position:absolute;left:75%;top:42px;width:36px;height:36px;object-fit:contain}
.mf-journey__tile--figma .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.mf-journey__tile--figma.is-current{box-shadow:0 0 0 1.5px #6061f68c,0 18px 40px -18px #6061f699}
@media(max-width:767px){
 .mf-journey__grid--figma .mf-journey__tile--figma{min-height:250px}
}
@media(min-width:768px){
 .mf-journey__grid--figma,.mf-journey__grid--figma.mf-journey__grid--count-5{grid-auto-rows:260px;gap:22px}
 .mf-journey__grid--figma .mf-journey__tile--figma:nth-child(n){height:auto;margin-top:0}
}

/* 2026-11-10: alignment with Figma (Strona Główna v1, cards 5047:22676 / 24395 / 24684 / 24855 / 24539 / 25002). */
.mf-journey__slide{background:linear-gradient(65deg,#d8e8fd,#f7f9fc)}
.mf-journey__slide--green{background:linear-gradient(65deg,#d2f9df,#f7fcf9)}
.mf-journey__slide--lavender{background:linear-gradient(65deg,#cfcffc,#f8f8ff)}
.mf-journey__slide .mf-journey__tile:not(.is-pending){background:#f7f9fc;border-color:#d8e8fd}
.mf-journey__slide--green .mf-journey__tile:not(.is-pending){background:#d4ffdf;border-color:#bbffcd}
.mf-journey__tile.is-current::before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.45) 48%,transparent 70%);transform:translateX(-130%);animation:mf-journey-scan 1.3s cubic-bezier(.65,0,.35,1) both}
@keyframes mf-journey-scan{to{transform:translateX(130%)}}
.mf-journey.is-motion-paused .mf-journey__tile.is-current::before{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.mf-journey__tile.is-current::before{animation:none;display:none}}
.mf-journey__slide--lavender .mf-journey__tile:not(.is-pending){background:#f2f2fe;border-color:#ddddfd}
/* Dots as in Figma: six 32 × 8 bars, 4 px apart; the active one fills (transform only). */
.mf-journey__dots{gap:4px}
.mf-journey__dots button,.mf-journey__dots button[aria-current=true]{width:32px;height:8px;border-radius:8px;background:#00003324;transition:none}
/* Highlight of the current tile: an overlay fading in, instead of animating box-shadow. */
.mf-journey__tile,.mf-journey__tile.is-current,.mf-journey__tile--figma.is-current{box-shadow:none;transition:opacity .6s,transform .8s cubic-bezier(.22,1,.36,1)}
.mf-journey__tile::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1.5px #6061f6b3;opacity:0;transition:opacity .45s cubic-bezier(.22,1,.36,1);pointer-events:none;z-index:4}
.mf-journey__tile.is-current::after{opacity:1}
@media(min-width:1000px){
 .mf-journey__copy{min-height:142px}
 .mf-journey__controls{top:102px;right:36px;gap:28px}
 /* Tiles at the Figma coordinates of the 1048 × 508 illustration area. */
 .mf-journey__grid--figma,.mf-journey__grid--figma.mf-journey__grid--count-5{display:block;position:relative;margin-top:36px;height:auto;aspect-ratio:1048/508}
 .mf-journey__grid--figma .mf-journey__tile--figma:nth-child(n){position:absolute;left:calc(var(--x)*100%);top:calc(var(--y)*100%);width:calc(var(--w)*100%);height:calc(var(--h)*100%);margin:0;padding:18px 20px;border-radius:8px}
 /* Mock-up images at their Figma offsets inside the tile; the label stays on top. */
 .mf-journey__figma-visual{inset:0;display:block;overflow:hidden}
 .mf-journey__figma-visual .mf-journey__figma-image{position:absolute;left:var(--ix);top:var(--iy);width:var(--iw)!important;max-width:none;max-height:none;height:auto}
 .mf-journey__figma-visual .mf-journey__figma-extra{left:var(--ex);top:var(--ey);width:var(--es);height:auto;aspect-ratio:1}
 .mf-journey__tile--figma .mf-journey__tile-label{position:relative;z-index:2;margin-left:var(--lx,0);margin-top:var(--ly,0)}
}
@media(max-width:767px){
 /* One column; the mock-up keeps its Figma size up to the tile width. */
 .mf-journey__grid--figma{grid-auto-rows:auto}
 .mf-journey__grid--figma .mf-journey__tile--figma{min-height:0;display:flex;flex-direction:column}
 .mf-journey__figma-visual{position:relative;inset:auto;margin-top:16px;flex:1}
 .mf-journey__figma-visual{display:flex;justify-content:center;align-items:flex-start}
 .mf-journey__figma-visual .mf-journey__figma-image{max-width:100%;max-height:none;height:auto}
 .mf-journey__figma-visual .mf-journey__figma-extra{left:auto;top:auto;right:14%;bottom:-4px;width:30px;height:30px}
}
