/* MIA LEGAL · BLOK A „Przewaga serwisu” — główny (nagłówek + schemat Klient ↔ Serwis ↔ Specjalista + ścieżka sprawy z telefonem + pasek CTA) — prefiks .mlf-
   Samodzielny: nie zależy od innych arkuszy (kolory i czcionka dziedziczone, z bezpiecznymi wartościami domyślnymi).
   Safari-safe: bez backdrop-filter i color-mix; animacje tylko transform/opacity. Duo 640–1100 i telefon ≤639 zaprojektowane od początku.
   prefers-reduced-motion: wszystkie animacje wyłączone. */
.mlf{--mlf-cy:#13B8EE;--mlf-or:#FFA04F;--mlf-mi:#68E2B4;--mlf-ink:var(--b-ink,#F3F7F9);--mlf-ink2:var(--b-ink2,#D0DADF);--mlf-mu:var(--b-muted,#A3B4BE);--mlf-cyd:var(--cyan-deep,#0BA0D4);
  position:relative;padding:28px 0 24px;color:var(--mlf-ink);overflow:hidden;box-sizing:border-box;font-family:inherit;-webkit-text-size-adjust:100%}
.mlf *,.mlf *::before,.mlf *::after{box-sizing:border-box}
/* tło sekcji jest przezroczyste (bez własnych glow/::before), żeby nie było szwu pod strefą hero; blok dziedziczy tło strony */
.mlf-wrap{position:relative;width:min(1200px,calc(100% - 56px));margin:0 auto}
.mlf-i{display:block;width:22px;height:22px;flex:none}
.mlf h2,.mlf h3,.mlf p,.mlf ul,.mlf ol,.mlf figure{margin:0;padding:0}
.mlf ul,.mlf ol{list-style:none}

/* ===== head ===== */
.mlf-head{max-width:820px;margin:0 auto 34px;text-align:center}
.mlf-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:18px;font-size:12px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:var(--mlf-cyd)}
.mlf-kicker i{width:8px;height:8px;border-radius:50%;background:var(--mlf-mi);box-shadow:0 0 0 4px rgba(104,226,180,.28)}
.mlf .mlf-title{font-size:clamp(34px,4vw,54px);line-height:1.02;letter-spacing:-.045em;font-weight:700;color:var(--mlf-ink);margin-bottom:16px;text-wrap:balance}
.mlf .mlf-title em{font-style:normal;background:linear-gradient(100deg,#13B8EE 10%,#3FD0C9 50%,#68E2B4 90%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.mlf .mlf-lead{font-size:18px;line-height:1.55;color:var(--mlf-mu);max-width:720px;margin:0 auto}

/* ===== 1. flow ===== */
.mlf-flow{display:grid;grid-template-columns:minmax(0,1fr) 88px minmax(0,1.14fr) 88px minmax(0,1fr);align-items:stretch}
.mlf-node{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:20px 22px;border-radius:24px;min-width:0;
  background:linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.12);box-shadow:0 22px 50px rgba(0,0,0,.30);transition:transform .25s,border-color .25s}
.mlf-node-ic{display:grid;place-items:center;flex:none;align-self:flex-start;aspect-ratio:1/1;width:52px;height:52px;border-radius:16px;color:var(--mlf-cy);background:rgba(19,184,238,.14);border:1px solid rgba(19,184,238,.34)}
.mlf-node-ic .mlf-i{width:26px;height:26px}
.mlf-node--spec .mlf-node-ic{color:var(--mlf-or);background:rgba(255,160,79,.14);border-color:rgba(255,160,79,.38)}
.mlf .mlf-node-t{font-size:20px;font-weight:700;letter-spacing:-.02em;color:#fff;margin-bottom:6px}
.mlf .mlf-node-p{font-size:15px;line-height:1.5;color:var(--mlf-mu)}
.mlf .mlf-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}
.mlf-chips li{font-size:13px;font-weight:600;line-height:1;padding:7px 11px;border-radius:999px;color:#E6EEF2;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
/* serwis = środek schematu, wyróżniony */
.mlf-node--service{padding:28px 24px 24px;align-items:flex-start;border-color:rgba(19,184,238,.55);
  background:radial-gradient(120% 90% at 50% 0%,rgba(19,184,238,.22),transparent 65%),linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.03));
  box-shadow:0 0 0 1px rgba(19,184,238,.14),0 22px 50px rgba(0,0,0,.34),0 0 44px rgba(19,184,238,.10)}
.mlf-node--service .mlf-node-ic{color:#04202C;background:linear-gradient(135deg,#13B8EE,#68E2B4);border-color:transparent;width:60px;height:60px;border-radius:18px;position:relative}
.mlf-node--service .mlf-node-ic::after{content:"";position:absolute;inset:-6px;border-radius:22px;border:2px solid rgba(19,184,238,.5);opacity:0;animation:mlf-ring 2.8s ease-out infinite}
.mlf-node--service .mlf-node-ic .mlf-i{width:30px;height:30px}
.mlf-node--service .mlf-node-t{font-size:22px}
.mlf-node--client .mlf-chips li{color:#D6F3FD;background:rgba(19,184,238,.10);border-color:rgba(19,184,238,.34)}
.mlf-node--spec .mlf-chips li{color:#FFE6CF;background:rgba(255,160,79,.09);border-color:rgba(255,160,79,.34)}
.mlf-node--service .mlf-chips li{color:#fff;background:rgba(104,226,180,.12);border-color:rgba(104,226,180,.42)}
.mlf-node-flag{position:absolute;top:14px;right:14px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:6px 10px;border-radius:999px;color:#06281C;background:#68E2B4}
@keyframes mlf-ring{0%{transform:scale(.86);opacity:.9}70%,100%{transform:scale(1.28);opacity:0}}
/* łącznik z dwukierunkowym „pulsem” */
.mlf-link{display:flex;align-items:center;justify-content:center;padding:0 8px;min-width:0}
.mlf-node:not(.mlf-node--service){margin:14px 0}
.mlf-link-line{position:relative;display:block;width:100%;height:4px;border-radius:4px;overflow:hidden;background:rgba(255,255,255,.12)}
.mlf-pulse{position:absolute;top:0;left:0;height:100%;width:46%;border-radius:4px;display:block;will-change:transform;
  background:linear-gradient(var(--pa,90deg),transparent,var(--pc,#13B8EE) 50%,transparent)}
.mlf-pulse--a{animation:mlf-run-r 2.4s linear infinite}
.mlf-pulse--b{--pc:#FFA04F;width:36%;animation:mlf-run-l 2.4s linear infinite 1.2s}
/* kolory: Klient↔Serwis = niebieski + zielony, Serwis↔Specjalista = zielony + pomarańczowy (pomarańcz tylko po stronie specjalisty) */
.mlf-link--1 .mlf-pulse--b{--pc:#68E2B4}
.mlf-link--2 .mlf-pulse--a{--pc:#68E2B4}
@keyframes mlf-run-r{0%{transform:translateX(-100%)}100%{transform:translateX(220%)}}
@keyframes mlf-run-l{0%{transform:translateX(280%)}100%{transform:translateX(-100%)}}

/* ===== 2. porównanie ===== */

/* ===== most: schemat → ścieżka (jedna historia) ===== */
.mlf-bridge{display:flex;justify-content:center;margin:22px auto 22px}
.mlf-bridge-line{position:relative;display:block;width:3px;height:36px;border-radius:3px;overflow:hidden;background:rgba(255,255,255,.12)}
.mlf-bridge-line i{position:absolute;left:0;top:0;width:100%;height:50%;display:block;background:linear-gradient(180deg,transparent,#68E2B4 50%,transparent);animation:mlf-run-d 2.8s linear infinite;will-change:transform}

/* ===== 3. ścieżka + telefon (bez osobnej karty: ciąg dalszy tej samej historii) ===== */
.mlf-prog{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 316px;gap:56px;align-items:center;margin-top:0;padding:0 8px}
.mlf-prog-copy{min-width:0}
.mlf .mlf-prog-t{font-size:clamp(24px,2.4vw,32px);line-height:1.12;letter-spacing:-.03em;font-weight:700;color:#fff;margin-bottom:10px}
.mlf .mlf-prog-p{font-size:16px;line-height:1.55;color:var(--mlf-mu);margin-bottom:20px;max-width:560px}
.mlf-tl{position:relative;display:flex;flex-direction:column;gap:8px}
.mlf-st{position:relative;display:flex;align-items:center;gap:14px;min-width:0}
.mlf-st:not(:last-child)::before{content:"";position:absolute;left:21px;top:44px;width:2px;height:calc(100% - 28px);background:rgba(255,255,255,.14);z-index:0}
.mlf-st[data-s="done"]:not(:last-child)::before{background:linear-gradient(180deg,#68E2B4,#13B8EE)}
.mlf-st-dot{position:relative;z-index:1;flex:none;aspect-ratio:1/1;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#7F94A0;background:#0F222E;border:1.5px solid rgba(255,255,255,.18);transition:color .4s,background .4s,border-color .4s,box-shadow .4s}
.mlf-st-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;padding:8px 0}
.mlf-st-tx b{font-size:17px;font-weight:700;color:#fff;letter-spacing:-.01em;line-height:1.2}
.mlf-st-tx small{font-size:14px;line-height:1.35;color:var(--mlf-mu)}
.mlf-pill{flex:none;font-size:12px;font-weight:800;letter-spacing:.03em;padding:6px 11px;border-radius:999px;white-space:nowrap;color:#9FB2BC;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14)}
.mlf-st[data-s="done"] .mlf-st-dot{color:#06281C;background:#68E2B4;border-color:#68E2B4}
.mlf-st[data-s="done"] .mlf-pill{color:#68E2B4;background:rgba(104,226,180,.12);border-color:rgba(104,226,180,.42)}
.mlf-st[data-s="active"] .mlf-st-dot{color:#04202C;background:#13B8EE;border-color:#13B8EE;box-shadow:0 0 0 5px rgba(19,184,238,.18)}
.mlf-st[data-s="active"] .mlf-pill{color:#8EE3FE;background:rgba(19,184,238,.14);border-color:rgba(19,184,238,.5)}
.mlf-st--goal .mlf-st-dot{color:#68E2B4;border:1.5px dashed rgba(104,226,180,.7);background:rgba(104,226,180,.08)}
.mlf-st--goal .mlf-pill{color:#8FF0CB;background:rgba(104,226,180,.10);border:1px dashed rgba(104,226,180,.55)}
.mlf-st--goal .mlf-st-tx b{color:#C8F5E3}

/* makieta telefonu */
.mlf-demo{display:flex;flex-direction:column;align-items:center;min-width:0}
.mlf-phone{position:relative;width:100%;max-width:292px;padding:9px;border-radius:40px;background:linear-gradient(160deg,#2B3A44,#0B151C);box-shadow:0 30px 60px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.14),0 0 70px rgba(19,184,238,.14)}
.mlf-ph-notch{position:absolute;z-index:2;top:15px;left:50%;width:74px;height:20px;margin-left:-37px;border-radius:12px;background:#05090D}
.mlf-ph-scr{border-radius:32px;overflow:hidden;padding:44px 14px 16px;display:flex;flex-direction:column;gap:12px;color:#F3F7F9;font-size:12px;line-height:1.3;
  background:radial-gradient(110% 60% at 100% 0%,rgba(19,184,238,.16),transparent 60%),radial-gradient(90% 50% at 0% 100%,rgba(255,160,79,.10),transparent 60%),#0B1A24}
.mlf-ph-top{display:flex;align-items:center;gap:10px}
.mlf-ph-logo{display:grid;place-items:center;flex:none;aspect-ratio:1/1;width:32px;height:32px;border-radius:10px;color:#04202C;background:linear-gradient(135deg,#13B8EE,#68E2B4)}
.mlf-ph-logo .mlf-i{width:18px;height:18px}
.mlf-ph-who{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.mlf-ph-who b{font-size:14px;font-weight:750;letter-spacing:-.01em}
.mlf-ph-who small{font-size:11px;color:#9FB2BC}
.mlf-ph-live{width:9px;height:9px;border-radius:50%;background:#68E2B4;box-shadow:0 0 0 4px rgba(104,226,180,.2)}
.mlf-ph-tabs{display:flex;gap:6px}
.mlf-ph-tabs span{flex:none;font-size:11px;font-weight:700;padding:6px 10px;border-radius:999px;color:#9FB2BC;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}
.mlf-ph-tabs span.is-on{color:#04202C;background:#13B8EE;border-color:#13B8EE}
.mlf-ph-card{display:flex;flex-direction:column;gap:7px;padding:12px;border-radius:18px;background:linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.12)}
.mlf-ph-bar{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:4px}
.mlf-ph-bar i{display:block;height:5px;border-radius:3px;background:rgba(255,255,255,.14)}
.mlf-ph-bar i:nth-child(-n+2){background:#68E2B4}
.mlf-ph-bar i.is-cur{background:linear-gradient(90deg,#13B8EE,rgba(19,184,238,.3))}
.mlf-ph-row{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:11px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);color:#9FB2BC}
.mlf-ph-row b{flex:1;min-width:0;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mlf-ph-row em{flex:none;font-style:normal;font-size:10px;font-weight:800;letter-spacing:.02em}
.mlf-ph-dot{flex:none;aspect-ratio:1/1;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1.5px solid rgba(255,255,255,.22)}
.mlf-ph-dot .mlf-i{width:11px;height:11px;stroke-width:3}
.mlf-ph-row.is-done{color:#fff}.mlf-ph-row.is-done em{color:#68E2B4}
.mlf-ph-row.is-done .mlf-ph-dot{background:#68E2B4;border-color:#68E2B4;color:#06281C}
.mlf-ph-row.is-cur{color:#fff;background:rgba(19,184,238,.14);border-color:rgba(19,184,238,.5)}
.mlf-ph-row.is-cur em{color:#8EE3FE}
.mlf-ph-row.is-cur .mlf-ph-dot{border-color:#13B8EE;background:radial-gradient(circle,#13B8EE 38%,transparent 42%)}
.mlf-ph-msg{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(255,160,79,.10);border:1px solid rgba(255,160,79,.30)}
.mlf-ph-msg-ic{flex:none;aspect-ratio:1/1;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:#2A1300;background:#FFA04F}
.mlf-ph-msg-ic .mlf-i{width:15px;height:15px}
.mlf-ph-msg small{display:block;font-size:10px;color:#C9B7A6;margin-bottom:2px}
.mlf-ph-msg b{font-size:12px;font-weight:700;color:#fff;line-height:1.25}

/* ===== CTA ===== */
.mlf-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:36px;padding:22px 30px;border-radius:24px;
  background:linear-gradient(100deg,rgba(19,184,238,.20),rgba(104,226,180,.12));border:1px solid rgba(19,184,238,.30)}
.mlf .mlf-cta-t{font-size:clamp(18px,1.9vw,22px);line-height:1.3;font-weight:650;color:#fff;letter-spacing:-.01em;max-width:620px}
.mlf-cta-btns{display:flex;flex-wrap:wrap;gap:12px;flex:none}
.mlf-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:16px 26px;border-radius:14px;font:inherit;font-size:16px;font-weight:600;line-height:1;text-decoration:none;cursor:pointer;
  transition:transform .2s,box-shadow .2s,background-color .2s,color .2s;-webkit-tap-highlight-color:transparent}
.mlf-btn .mlf-i{width:18px;height:18px}
.mlf-btn--p{color:#fff;background:#13B8EE;box-shadow:0 10px 24px rgba(19,184,238,.28)}
.mlf-btn--p:hover{background:var(--mlf-cyd);transform:translateY(-1px);color:#fff}
.mlf-btn--g{color:#fff;background:transparent;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.mlf-btn--g:hover{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px #13B8EE;color:#fff}
.mlf-btn:focus-visible{outline:2px solid #8EE3FE;outline-offset:3px}

@media (hover:hover){.mlf .mlf-node:hover,.mlf-js.mlf--in .mlf-node:hover{transform:translateY(-3px);border-color:#13B8EE;transition-delay:0s}}

/* ===== wejście (włącza je mia-legal-flow.js; bez JS wszystko jest od razu widoczne) ===== */
.mlf-js .mlf-rv{opacity:0;transform:translateY(18px);transition:opacity .8s var(--d,0s),transform .8s cubic-bezier(.2,.7,.2,1) var(--d,0s)}
.mlf-js.mlf--in .mlf-rv{opacity:1;transform:none}
.mlf-js:not(.mlf--vis) .mlf-bridge-line i{animation-play-state:paused}
.mlf-js .mlf-st-dot{transition-delay:calc(var(--i,0)*.18s + .5s)}
.mlf-js:not(.mlf--in) .mlf-st[data-s="done"] .mlf-st-dot{color:#7F94A0;background:#0F222E;border-color:rgba(255,255,255,.18)}
.mlf-js:not(.mlf--vis) .mlf-pulse,.mlf-js:not(.mlf--vis) .mlf-node-ic::after{animation-play-state:paused}

/* ===== Duo 640–1100 i węższe ===== */
@media (max-width:1100px){
  .mlf{padding:24px 0 20px}
  .mlf-wrap{width:min(1200px,calc(100% - 56px))}
  .mlf-flow{grid-template-columns:minmax(0,1fr) 40px minmax(0,1.1fr) 40px minmax(0,1fr)}
  .mlf-link{padding:0 4px}
  .mlf-node{padding:20px 14px}
  .mlf-node--service{padding:28px 16px 22px}
  .mlf .mlf-node-t{font-size:18px}
  .mlf-node--service .mlf-node-t{font-size:19px}
  .mlf .mlf-node-p{font-size:14px}
  .mlf-node-flag{top:10px;right:10px}
  .mlf-prog{grid-template-columns:minmax(0,1fr) 280px;gap:32px;padding:0}
  .mlf-phone{max-width:280px}
}
@media (max-width:860px){
  /* schemat pionowo: wiersze z ikoną po lewej */
  .mlf-flow{grid-template-columns:minmax(0,1fr);max-width:540px;margin:0 auto;justify-items:stretch}
  .mlf-node,.mlf-node--service{flex-direction:row;align-items:flex-start;gap:16px;padding:22px 20px}
  .mlf-node:not(.mlf-node--service){margin:0}
  .mlf-node--service{padding:26px 20px}
  .mlf-node-flag{top:12px;right:12px}
  .mlf-link{height:30px;padding:0}
  .mlf-link-line{width:4px;height:100%}
  .mlf-pulse{--pa:180deg;width:100%;height:46%}
  .mlf-pulse--b{height:36%;width:100%}
  .mlf-pulse--a{animation-name:mlf-run-d}
  .mlf-pulse--b{animation-name:mlf-run-u}
  .mlf-prog{grid-template-columns:minmax(0,1fr);gap:28px;max-width:640px;margin-left:auto;margin-right:auto}
  .mlf-cta{flex-direction:column;align-items:flex-start;max-width:640px;margin-left:auto;margin-right:auto}
}
@keyframes mlf-run-d{0%{transform:translateY(-100%)}100%{transform:translateY(220%)}}
@keyframes mlf-run-u{0%{transform:translateY(280%)}100%{transform:translateY(-100%)}}
@media (max-width:639px){
  .mlf{padding:20px 0 16px}
  .mlf-wrap{width:calc(100% - 32px)}
  .mlf-head{margin-bottom:22px}
  .mlf .mlf-title{font-size:clamp(30px,8.4vw,40px)}
  .mlf .mlf-lead{font-size:16px}
  .mlf-node,.mlf-node--service{padding:16px 16px;gap:14px}
  /* telefon: kafelki ikon identyczne (48×48, kwadrat), plakietka SERWIS w prawym górnym rogu bez nachodzenia na tytuł */
  .mlf-node-ic,.mlf-node--service .mlf-node-ic{width:48px;height:48px;border-radius:15px}
  .mlf-node--service .mlf-node-ic::after{inset:-5px;border-radius:19px}
  .mlf-node-ic .mlf-i,.mlf-node--service .mlf-node-ic .mlf-i{width:24px;height:24px}
  .mlf-node-flag{top:10px;right:10px;font-size:10px;padding:4px 8px}
  .mlf-node--service .mlf-node-t{padding-right:64px}
  .mlf-prog{padding:0}
  .mlf-st{gap:12px}
  .mlf-st-dot{width:40px;height:40px}
  .mlf-st:not(:last-child)::before{left:19px;top:40px}
  .mlf-st-tx b{font-size:16px}
  .mlf-st-tx small{font-size:13px}
  .mlf-pill{font-size:11px;padding:5px 9px}
  .mlf-cta{padding:20px 18px;margin-top:28px}
  .mlf-cta-btns{width:100%;flex-direction:column}
  .mlf-btn{width:100%;min-height:52px}
}
@media (max-width:1280px){.mlf-chips li{font-size:12.5px;padding:6px 9px}}
@media (min-width:861px) and (max-width:1100px){.mlf-chips li{font-size:11.5px;padding:5px 7px}.mlf-flow{grid-template-columns:minmax(0,1fr) 28px minmax(0,1.1fr) 28px minmax(0,1fr)}.mlf-node{padding-left:12px;padding-right:12px}.mlf-node--service{padding-left:12px;padding-right:12px}}
@media (min-width:1101px) and (max-width:1200px){.mlf-chips li{font-size:12px;padding:6px 8px}}
@media (min-width:861px) and (max-width:890px){.mlf-chips li{font-size:11px;padding:5px 6px}}
@media (max-width:400px){.mlf-chips li{font-size:12px;padding:6px 8px}}
@media (max-width:365px){.mlf-chips li{font-size:11.5px;padding:5px 7px}}
@media (max-width:400px){
  /* statusy zawsze widoczne: mniejsza plakietka po prawej (do 361px), poniżej 361px pod opisem etapu */
  .mlf-pill{font-size:10.5px;padding:4px 8px}
  .mlf-st{gap:10px}
}
@media (prefers-reduced-motion:reduce){
  .mlf *,.mlf *::before,.mlf *::after{animation:none!important;transition:none!important}
  .mlf-js .mlf-rv{opacity:1;transform:none}
  .mlf-btn--p:hover{transform:none}
  .mlf .mlf-node:hover,.mlf-js.mlf--in .mlf-node:hover{transform:none!important}
}
@media (max-width:360px){
  .mlf-st{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;align-items:start}
  .mlf-st-dot{grid-row:1/3;grid-column:1}
  .mlf-st-tx{grid-column:2;grid-row:1;padding-bottom:4px}
  .mlf-pill{grid-column:2;grid-row:2;justify-self:start;margin:0 0 8px}
}
