/* Sekcje strony glownej (style inline z index.html) + prymitywy podstron.
   Generowane z projektu podstron (canvas), patrz README sekcja Podstrony. */







/* Launcher ma szerszy ekran niż Optimizer i Studio: kreator ma stepper u góry,
   trzy kolumny podsumowania i podgląd reklamy. Przy 288 px akordeonu treść
   łamała się na sylaby, a scena była przycięta z prawej. Stąd szerszy panel,
   większy odstęp ramki i wyższa scena. Skalowanie samej makiety robi launcher-loop.js. */
#launcher .opt-float { width: 372px; top: 78px; }
/* kursor-launcher: wizardSync rysuje wlasny wskaznik — w tej sekcji zostaje tylko okragly z launcher-loop.js */
#launcher .wz-cursor, #launcher .cursor, #launcher [class*="cursor"]:not(.chat-kursor) { display: none !important; }
#launcher .optstage .frame { margin-right: 250px; }
#launcher .opt-live { height: 700px; }
#launcher .acc-b p, #launcher .acc-b li { text-wrap: pretty; }
@media (max-width: 1100px) { #launcher .opt-float { width: 320px; } #launcher .optstage .frame { margin-right: 200px; } }
@media (max-width: 980px) { #launcher .opt-float { width: auto; } #launcher .optstage .frame { margin-right: 0; } #launcher .opt-live { height: 480px; } }


/* Znaki marek: jeden zestaw z simple-icons, monochromatycznie — kolorowe logotypy
   rozbijały monochromatyczny layout, o który prosi brief. */
.hnode .pl svg { fill: currentColor; }
.hnode .pl, .lm-item .pl, .mega-int .pl { color: rgba(255,255,255,.82); background: rgba(255,255,255,.06) !important; }
.hnode .pl svg path { fill: currentColor; stroke: none; }


/* Doszła siódma pozycja („Ads Optimizer") — w siatce 2-kolumnowej zostawiała sierotę.
   Ostatni element przy nieparzystej liczbie zajmuje pełną szerokość. */
.mega-grid > *:last-child:nth-child(odd) { grid-column: 1 / -1; }


/* Panel mega na szerokość belki nawigacji — wcześniej miał sztywne 660 px i wystawał poza pasek. */
/* Panel trzyma się dokładnie szerokości belki (ta sama zmienna --maxw i ten sam padding). */
.mega { left: 50% !important; right: auto; transform: translateX(-50%) translateY(10px) !important;
  width: min(var(--maxw), calc(100vw - 24px)) !important; }
.mega.open { transform: translateX(-50%) !important; }
/* Funkcje: cztery pozycje w rzędzie, potem kolejny wiersz. */
#megaFeatures .mega-grid { grid-template-columns: repeat(4, 1fr); gap: 2px; }
#megaFeatures .mega-item { padding: 12px 11px; }
#megaFeatures .mega-item .mi-d { font-size: 11.5px; line-height: 1.45; }
.mega-grid > *:last-child:nth-child(odd) { grid-column: auto; }   /* nieaktualne przy 4 kolumnach */
/* Integracje: cztery grupy obok siebie, znaki bez tła. */
#megaIntegr .mega-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
#megaIntegr .mega-int .pl { width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255,255,255,.05) !important; border: 1px solid var(--lineSoft) !important;
  display: flex; align-items: center; justify-content: center; }
#megaIntegr .mega-int { padding: 7px 8px; border-radius: 10px; }
#megaIntegr .mc-h { margin-bottom: 4px; }
/* „soon" jako etykieta w ramce, nie goły tekst */
.mtag.soon, .mi-t .mtag {
  font-size: 9.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--inkSoft); background: rgba(255,255,255,.06); border: 1px solid var(--lineSoft);
  border-radius: 999px; padding: 2px 7px; line-height: 1.5; margin-left: 7px; white-space: nowrap; }
@media (max-width: 1000px){
  #megaFeatures .mega-grid { grid-template-columns: repeat(2, 1fr); }
  #megaIntegr .mega-cats { grid-template-columns: repeat(2, 1fr); }
}


/* Płynne przewijanie do sekcji + odstęp na przyklejoną belkę. */
html { scroll-behavior: smooth; }
section[id], span.kotwica { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }


/* Warstwa zgody. Poziom pierwszy: tekst + „Akceptuję wszystkie" i „Dostosuj" jako link.
   Poziom drugi: kategorie z przełącznikami, każda wyraźnie oddzielona linią. */
.ck-box { position:fixed; left:16px; right:16px; bottom:16px; z-index:200; display:flex; justify-content:center;
  opacity:0; transform:translateY(14px); transition:opacity .26s ease, transform .3s cubic-bezier(.16,1,.3,1); pointer-events:none; }
.ck-box.on { opacity:1; transform:none; pointer-events:auto; }
.ck-in { width:min(720px,100%); max-height:min(78vh,760px); overflow:auto;
  background:linear-gradient(180deg,rgba(20,20,24,.98),rgba(12,12,14,.97));
  border:1px solid var(--line); border-radius:18px; padding:18px 20px; backdrop-filter:blur(24px);
  box-shadow:0 40px 90px -40px rgba(0,0,0,.95); }
.ck-box.rozwiniety .ck-in { width:min(560px,100%); }
.ck-krotki { display:flex; flex-direction:column; gap:14px; }
.ck-txt b { font-size:14.5px; font-weight:600; color:var(--ink); display:block; margin-bottom:5px; }
.ck-txt p { margin:0; font-size:13px; line-height:1.62; color:var(--muted); }
.ck-txt a { color:var(--inkSoft); text-decoration:underline; text-underline-offset:2px; }
.ck-akcje { display:flex; align-items:center; justify-content:flex-end; gap:18px; flex-wrap:wrap; }
.ck-akcje-dol { justify-content:space-between; margin-top:16px; padding-top:14px; border-top:1px solid var(--lineSoft); }
.ck-b { font-size:12.5px; font-weight:600; padding:10px 18px; border-radius:10px; cursor:pointer; border:1px solid transparent; }
.ck-b.primary { background:var(--ink); color:#0a0a0c; }
.ck-b.primary:hover { filter:brightness(.94); }
/* „Dostosuj" i „Tylko niezbędne" to linki, nie przyciski */
.ck-link { background:none; border:0; padding:0; cursor:pointer; font-size:12.5px; font-weight:500;
  color:var(--muted); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--lineStrong); }
.ck-link:hover { color:var(--inkSoft); text-decoration-color:currentColor; }
/* panel kategorii */
.ck-panel { margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.ck-panel-h { font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color:var(--mutedSoft); margin-bottom:12px; }
.ck-kat { display:flex; align-items:flex-start; gap:16px; padding:14px 0; border-bottom:1px solid var(--lineSoft); cursor:pointer; }
.ck-kat:last-of-type { border-bottom:0; }
.ck-kat.lock { cursor:default; }
.ck-kat-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.ck-kat-h { display:flex; align-items:center; gap:8px; }
.ck-kat-h b { font-size:13.5px; font-weight:600; color:var(--ink); }
.ck-zawsze { font-size:9.5px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--mutedSoft);
  background:rgba(255,255,255,.05); border:1px solid var(--lineSoft); border-radius:999px; padding:2px 7px; }
.ck-kat-o { font-size:12.5px; line-height:1.55; color:var(--muted); }
.ck-kat-d { font-size:11.5px; color:var(--mutedSoft); }
/* przełącznik zamiast systemowego checkboxa */
.ck-sw { position:relative; flex:none; width:38px; height:22px; margin-top:2px; }
.ck-sw input { position:absolute; inset:0; opacity:0; margin:0; cursor:pointer; }
.ck-sw-tor { display:block; width:38px; height:22px; border-radius:999px; background:rgba(255,255,255,.07);
  border:1px solid var(--lineStrong); transition:background .18s ease, border-color .18s ease; }
.ck-sw-kropka { position:absolute; top:4px; left:4px; width:14px; height:14px; border-radius:999px;
  background:var(--mutedSoft); transition:transform .18s cubic-bezier(.4,0,.2,1), background .18s ease; }
.ck-sw input:checked ~ .ck-sw-tor { background:var(--mint-bg); border-color:var(--mint-line); }
.ck-sw input:checked ~ .ck-sw-tor .ck-sw-kropka { transform:translateX(16px); background:var(--mint-solid); }
.ck-sw input:disabled ~ .ck-sw-tor { opacity:.55; }
.ck-sw input:focus-visible ~ .ck-sw-tor { box-shadow:0 0 0 3px rgba(255,255,255,.14); }
@media (max-width:640px){
  .ck-akcje { justify-content:space-between; }
  .ck-b { flex:1; text-align:center; }
}


/* Kafelki marek na białym tle — logotypy czytają się na nim tak, jak w materiałach marek.
   Same znaki nieco mniejsze, żeby miały oddech w kwadracie. */
.lm-item .pl, .logomq .lg, .mcpd-box .bic {
  background:#fff !important; border:1px solid rgba(255,255,255,.14) !important; color:#0a0a0c;
  display:flex; align-items:center; justify-content:center; }
/* Hub to nasz znak, nie cudzy — zostaje na ciemnym gradiencie jak reszta marki. */
.mcpd-hub .hic {
  background:linear-gradient(160deg,#1b1b20,#0d0d10) !important; border:1px solid rgba(255,255,255,.10) !important;
  display:flex; align-items:center; justify-content:center; }
.mcpd-hub .hic svg, .mcpd-hub .hic img { filter:none; }
.lm-item .pl { width:30px; height:30px; border-radius:9px; }
.lm-item .pl svg, .lm-item .pl img { width:16px !important; height:16px !important; }
.logomq .lg { border-radius:12px; }
.logomq .lg svg, .logomq .lg img { width:24px !important; height:24px !important; opacity:1; }
.mcpd-box .bic { width:30px; height:30px; border-radius:9px; }
.mcpd-box .bic svg, .mcpd-box .bic img { width:17px !important; height:17px !important; }
/* logo AdCopilota w hubie: mniejsze, z zapasem wokół */
.mcpd-hub .hic { width:42px; height:42px; border-radius:12px; }
.mcpd-hub .hic svg { width:20px !important; height:20px !important; }
/* glify rysowane kreską (np. „+" przy Your stack) na białym muszą być ciemne */
.lm-item .pl svg[stroke], .logomq .lg svg[stroke], .mcpd-box .bic svg[stroke] { stroke:#0a0a0c !important; }
.lm-item .pl svg[fill="currentColor"], .mcpd-box .bic svg[fill="currentColor"] { fill:#0a0a0c !important; }


@media (max-width: 720px) {
  /* Pas boczny przewijany w poziomie zamiast rozpychania strony.
     Bez tego .pf-segs (588 px) rozciagal dokument do 608 px i cala strona jechala w bok. */
  .pf-subbar { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .pf-subbar::-webkit-scrollbar { display: none; }
  .pf-segs, .pf-scope, .pf-bulk { flex: none; }

  /* Plansza integracji: kolumna z platformami ida nad tresc, a nie obok niej —
     przy 430 px 250-pikselowy rail zabieral polowe szerokosci. */
  .intg-board { grid-template-columns: 1fr; }
  .intg-rail { flex-direction: row; overflow-x: auto; border-right: 0;
    border-bottom: 1px solid var(--line); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .intg-rail::-webkit-scrollbar { display: none; }
  .intg-tab { flex: none; width: auto; }
  .intg-tab .tt span { display: none; }


  /* Kontener skalowanych makiet — wysokosc ustawia skrypt po przeliczeniu. */
  .skala-box { overflow: hidden; width: auto; display: block; }
  .skala-box > * { transform-origin: top left; }


  /* Kolumna `1fr` to w praktyce minmax(auto,1fr) — sciezka rosnie do min-content dziecka
     i rozpychala .wrap o 23 px. minmax(0,…) zdejmuje ten prog, a ilustracja obok
     dostaje mniejszy padding i przycinanie, bo to grafika, nie tresc do czytania. */
  .deep { grid-template-columns: minmax(0, 1fr); }
  .dviz, .dviz .fi { min-width: 0; }
  .dviz.frame { padding: 16px; overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dviz.frame::-webkit-scrollbar { display: none; }


  /* Wiersz akceptacji: tytul, plakietka i dwa przyciski w jednej linii mieszcza sie na desktopie,
     ale przy 430 px na tytul zostawalo tyle miejsca, ze lamal sie po jednym slowie.
     Plakietka schodzi wiec pod tytul, a przyciski sa wezsze. */
  .appr-row { gap: 10px; padding: 12px; }
  .appr-mid .r1 { flex-wrap: wrap; gap: 6px; }
  .appr-mid .r1 b { font-size: 13px; }
  .appr-acts { gap: 6px; }
  .appr-btn { padding-left: 9px; padding-right: 9px; }


  /* Makiety w .skala-in maja uklad desktopowy — media query nie wie, ze siedza
     w opakowaniu o stalej szerokosci 1074 px. */
  /* uklad pionowy zostaje — dokladamy tylko polaczenia, ktore byly wygaszone */
  .mcpd-wires { display: block !important; }
  .skala-in .intg-board { grid-template-columns: 250px minmax(0,1fr); }
  .skala-in .intg-rail { flex-direction: column; overflow: visible;
    border-right: 1px solid var(--line); border-bottom: 0; }
  .skala-in .intg-tab .tt span { display: block; }
  .skala-in .pf-subbar { flex-wrap: wrap; overflow: visible; }

  /* przy 0,36 skali kreski 1,2 px i przerywana 2/6 znikaja — pogrubiamy je w makiecie */
  .skala-in .mcpd-wires path { stroke-width: 2.6; stroke: rgba(255,255,255,.30); stroke-dasharray: 5 9; }
  .skala-in .hero-wires path, .skala-in .wires path { stroke-width: 2.4; }




  /* Setup health: mniejszy i nachodzacy na dolna krawedz makiety */
  .hero-shot { position: relative; }
  .float-card.float-br { position: relative; width: 88%; margin: -34px auto 0; right: auto; z-index: 40; }
  .float-card.float-br > .fi { padding: 0; }
  .float-card.float-br .fi > div { padding-top: 9px !important; padding-bottom: 9px !important; }
  .float-card.float-br span { font-size: 11.5px !important; }
  .float-card.float-br .fi > div > div { gap: 8px !important; }


  /* Hero: pierscienie i polaczenia wracaja, tylko mniejsze i przygaszone — maja isc
     tlem pod tekstem. Wezly zostaja widoczne, bo bez nich nie ma czego laczyc,
     ale sa zmniejszone i wyciszone. */
  /* Siec z desktopu w calosci — zmniejszona i polozona jako tlo pod tekstem.
     Selektor musi byc `.hero .hero-rings`, bo taki jest w website-v2-home.css i bije
     pojedyncza klase; wczesniej moje reguly w ogole nie wchodzily. */
  .hero .hero-rings { display: block !important; opacity: .55; z-index: 0;
    /* bez transformu: warstwa ma juz szerokosc ekranu, a scale() sciagalo ikony do srodka
       i uklad przestawal przypominac desktopowy */
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,.45) 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,.45) 86%, transparent 100%); }
  .hero .hero-rings .hnode { font-size: 10px; padding: 10px; gap: 6px; border-radius: 12px; }
  .hero .hero-rings .hnode .pl { width: 20px; height: 20px; border-radius: 6px; }
  .hero .hero-rings .hnode .pl svg { width: 14px !important; height: 14px !important; }
  /* obrazki nie sa kwadratowe (znak woo to szeroki napis) — wymuszony kwadrat je zgniatal */
  .hero .hero-rings .hnode .pl img { width: auto !important; height: auto !important;
    max-width: 15px; max-height: 14px; object-fit: contain; }
  .hero .hero-rings .hnode .nd { width: 6px; height: 6px; }
  /* jedna jasnosc dla wszystkich tras: skrypt podswietla aktywna inline'owym stroke,
     przez co czesc linii byla wyrazniejsza od reszty */
  .hero .hero-wires path:not(.ghost) { stroke: rgba(255,255,255,.20) !important;
    stroke-width: 1.2; stroke-dasharray: 2 6; }
  .hero .hero-rings .hn-data { display: none; }
  /* teksty zawsze nad siecia */
  .hero .hero-c { position: relative; z-index: 2; }
  .hero .hero-c h1, .hero .hero-c .lead, .hero .hero-c .kicker,
  .hero .hero-c .actions, .hero .hero-c .hv-trust, .hero .hero-mark { position: relative; z-index: 2; }


  /* Pas marek ma siegac krawedzi karty — inaczej z prawej zostaje pusty pas */
  .logomq { width: calc(100% + 48px); margin: 0 -24px; padding: 0; }


  /* Galaz MCP odwrocona do srodka — inaczej Claude i ChatGPT wychodzily poza ekran */
  .hero .hero-rings .hnode[data-name="AdCopilot MCP"] { left: 84% !important; top: 84% !important; }
  .hero .hero-rings .hnode[data-name="Claude"] { left: 69% !important; top: 71% !important; }
  .hero .hero-rings .hnode[data-name="ChatGPT"] { left: 61% !important; top: 85% !important; }
  .hero .hero-rings .hnode[data-name="Your stack"] { left: 77% !important; top: 95% !important; }

  /* Ostatnia linia obrony: gdyby cokolwiek jeszcze wystawalo, strona i tak nie jedzie w bok. */
  body { overflow-x: hidden; }
}
@media (max-width: 1040px) {
  /* Belka */
  .nav { padding: 10px 0; }
  .nav-in { gap: 10px; height: 56px; padding: 0 8px 0 14px; margin-left: 12px; margin-right: 12px; width: auto; }
  .nav-cta { margin-left: auto; gap: 8px; }
  .nav-burger { width: 40px; height: 40px; }
  .langdd-btn { height: 40px; }
  .brand { font-size: 16px; }
  .brand .mark { width: 22px; }

  /* Menu: panel zjezdzajacy z gory zamiast czarnej plachty bez animacji */
  #mobileMenu { display: block; position: fixed; left: 12px; right: 12px; top: 74px; bottom: auto;
    z-index: 99; max-height: calc(100dvh - 92px); overflow-y: auto;
    background: #101014; border: 1px solid rgba(255,255,255,.10); border-radius: 20px; padding: 8px 8px 10px;
    box-shadow: 0 30px 70px -24px rgba(0,0,0,.92), 0 0 0 1px rgba(0,0,0,.4);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.99);
    transform-origin: top center; pointer-events: none;
    transition: opacity .18s ease, transform .26s cubic-bezier(.22,1,.36,1), visibility 0s linear .26s; }
  #mobileMenu.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition: opacity .16s ease, transform .3s cubic-bezier(.22,1,.36,1), visibility 0s; }
  #mobileMenu .mm-cap { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--mutedSoft); padding: 12px 14px 6px; }
  #mobileMenu a { display: flex; align-items: center; justify-content: space-between;
    font-size: 15.5px; font-weight: 550; color: var(--inkSoft); padding: 11px 14px; border: 0;
    border-radius: 12px; transition: background .16s, color .16s; }
  /* chevron tylko przy pozycjach nawigacji — przyciski CTA maja wlasny uklad */
  #mobileMenu > a::after { content: ""; width: 7px; height: 7px; flex: none; opacity: .35;
    border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: rotate(45deg); }
  #mobileMenu a:active { background: rgba(255,255,255,.06); color: var(--ink); }
  #mobileMenu .mm-cta { margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; padding: 0 6px; }
  #mobileMenu .mm-cta .btn { width: 100%; justify-content: center; height: 46px;
    opacity: 1 !important; transform: none !important; }
  #mobileMenu .mm-cta .btn.btn-primary { color: #0a0a0c; }
  #mobileMenu .mm-cta .btn.btn-ghost { color: var(--ink); border: 1px solid var(--lineStrong); }
  /* pozycje pojawiaja sie kaskada — bez tego panel „wskakuje" jednym kawalkiem */
  #mobileMenu > * { opacity: 0; transform: translateY(-5px); transition: opacity .22s ease, transform .22s ease; }
  #mobileMenu.open > * { opacity: 1; transform: none; }
  #mobileMenu.open > *:nth-child(1) { transition-delay: .03s; }
  #mobileMenu.open > *:nth-child(2) { transition-delay: .05s; }
  #mobileMenu.open > *:nth-child(3) { transition-delay: .07s; }
  #mobileMenu.open > *:nth-child(4) { transition-delay: .09s; }
  #mobileMenu.open > *:nth-child(5) { transition-delay: .11s; }
  #mobileMenu.open > *:nth-child(6) { transition-delay: .13s; }
  #mobileMenu.open > *:nth-child(7) { transition-delay: .15s; }
  #mobileMenu.open > *:nth-child(8) { transition-delay: .17s; }
  #mobileMenu.open > *:nth-child(9) { transition-delay: .19s; }
  body.menu-otwarte { overflow: hidden; }

}

/* ── podstrony ── */
.dz-subhero { padding-bottom: 24px; }
.dz-subhero .hero-c h1 { margin-top: 18px; }
.dz-subhero .hero-c .pill { margin-top: 14px; }
.dz-points { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; margin-top: 18px; font-size: 13.5px; color: var(--inkSoft); }
.dz-points span { display: inline-flex; align-items: center; gap: 8px; }
.dz-points .ck, .dz-card .ck { width: 18px; height: 18px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: var(--mint-bg); color: var(--mint); border: 1px solid var(--mint-line); }
.dz-points .ck svg { width: 11px; height: 11px; }
.dz-hero-shot { position: relative; z-index: 1; margin-top: 64px; }
.dz-hero-shot .hero-shot { overflow: hidden; margin-bottom: 0; }
img.dz-shot { width: 100%; height: auto; display: block; border-radius: 15px; }
.dz-cards { display: grid; gap: 18px; }
.dz-cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dz-cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dz-cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dz-card { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.dz-card .dz-ic { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--inset); display: flex; align-items: center; justify-content: center; color: var(--inkSoft); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dz-card .dz-ic svg { width: 17px; height: 17px; }
.dz-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; }
.dz-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.dz-card .pill { align-self: flex-start; }
.dz-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: s; }
.dz-step { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.dz-step .cn { width: 28px; height: 28px; flex: none; border-radius: 999px; border: 1px solid var(--lineStrong); display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.dz-step b { font-size: 16px; font-weight: 600; }
.dz-step p { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.55; }
.dz-rels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dz-rels .mega-item { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.dz-kvh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 14px; }
.dz-kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--lineSoft); font-size: 13.5px; }
.dz-kv:last-child { border-bottom: 0; }
.dz-kv b { display: block; font-weight: 600; color: var(--ink); }
.dz-kv span { color: var(--muted); font-size: 12.5px; }
.dz-kv > div:last-child { flex: none; color: var(--inkSoft); font-variant-numeric: tabular-nums; }
.dz-chatfit { max-width: none; margin: 0; }
.dz-chatact { display: flex; justify-content: flex-start; padding: 4px 0 2px; }
.lgt { width: 22px; height: 22px; border-radius: 6px; background: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 3px; flex: none; }
.lgt svg, .lgt img { width: 16px; height: 16px; }
.dz-plat { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.dz-plat .frame .fi { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.dz-plat .ph { display: flex; align-items: center; gap: 10px; }
.dz-plat .ph b { font-size: 15px; }
.dz-plat .ph .pill { margin-left: auto; }
.dz-plat p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.dz-plat .rw { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.dz-plat .rw span { font-size: 11px; color: var(--inkSoft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.dz-cl { display: flex; flex-direction: column; }
.dz-cl .e { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; padding: 30px 0; border-top: 1px solid var(--lineSoft); }
.dz-cl .e .d { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.dz-cl .e h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dz-cl .e p { color: var(--muted); margin-top: 8px; max-width: 62ch; line-height: 1.6; }
.dz-cl .e ul { margin: 10px 0 0 18px; color: var(--inkSoft); font-size: 14.5px; line-height: 1.7; }

.dz-more { display: flex; justify-content: center; margin-top: 28px; }
.dz-cardlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.dz-cardlink svg { width: 14px; height: 14px; }
@media (min-width: 861px) { .mcpd { flex-direction: row; } }
@media (min-width: 861px) { .foot-grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; } }
/* FEATURES-V2 */
/* ── features v2 ── */
.dz-subnav-s { padding: 0 0 8px !important; }
.dz-subnav { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; width: max-content; max-width: 100%; margin: 0 auto; padding: 5px; border-radius: 999px; background: var(--inset); border: 1px solid var(--line); }
.dz-subnav a { padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.dz-subnav a:hover { color: var(--ink); }
.dz-subnav a .sub { color: var(--muted); margin-right: 2px; }
.dz-subnav a.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--line); }
.dz-kstrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.dz-kstrip .k { border: 1px solid var(--line); border-radius: 11px; padding: 9px 10px; min-width: 0; display: flex; flex-direction: column; gap: 2px; background: var(--card); }
.dz-kstrip .k span { font-size: 11.5px; color: var(--muted); }
.dz-kstrip .k b { font-size: 16px; white-space: nowrap; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.dz-kstrip .k .delta { font-size: 11.5px; align-self: flex-start; }
.dz-kstrip .k .ks { font-size: 11.5px; color: var(--muted); }
.dz-rail { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 100%; }
.dz-rail .rl { display: flex; flex-direction: column; gap: 2px; padding: 4px 14px 4px 0; border-right: 1px solid var(--line); }
.dz-rail .rh { font-size: 13px; font-weight: 700; padding: 2px 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.dz-rail .rh .rs { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.dz-rail .rl > span { font-size: 13px; color: var(--muted); padding: 7px 10px; border-radius: 8px; }
.dz-rail .rl > span.on { background: var(--inset); color: var(--ink); font-weight: 600; }
.dz-rail .rc { padding-left: 18px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.dz-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow-x: auto; }
.dz-tabs span { font-size: 12.5px; color: var(--muted); padding: 7px 10px; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.dz-tabs span.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.dz-mx { border: 1px solid var(--line); border-radius: 16px; overflow: auto; background: var(--card); }
.dz-mx table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.dz-mx th, .dz-mx td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--lineSoft); vertical-align: top; }
.dz-mx thead th { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; background: var(--inset); }
.dz-mx tbody th { font-weight: 600; white-space: nowrap; }
.dz-mx tbody tr:last-child th, .dz-mx tbody tr:last-child td { border-bottom: 0; }
.dz-mx td { color: var(--inkSoft); line-height: 1.45; }
.dz-mx .mx-on { display: inline-block; width: 7px; height: 7px; border-radius: 9px; background: var(--mint-solid); margin-right: 8px; vertical-align: 1px; }
.dz-mx .mx-off { color: var(--muted); }
.dz-tx { border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.dz-tx > input { position: absolute; opacity: 0; pointer-events: none; }
.dz-tx .tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px; border-bottom: 1px solid var(--line); background: var(--inset); }
.dz-tx .tabs label { cursor: pointer; font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--inkSoft); white-space: nowrap; }
.dz-tx .tabs label b { font-weight: 600; color: var(--muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
.dz-tx .p { display: none; padding: 18px; }
.dz-tx .pn { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; max-width: 70ch; }
.dz-tx .tl { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-tx .t { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; padding: 6px 10px; border-radius: 9px; border: 1px solid var(--lineSoft); color: var(--ink); }
.dz-tx .t i { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 1px 6px; border-radius: 6px; }
.dz-tx .t i.r { color: var(--sky); background: var(--sky-bg); }
.dz-tx .t i.w { color: var(--amber); background: var(--amber-bg); }
.dz-tx > input:nth-of-type(1):checked ~ .panes .p0 { display: block; }
.dz-tx > input:nth-of-type(1):checked ~ .tabs label:nth-of-type(1) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(1):checked ~ .tabs label:nth-of-type(1) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(2):checked ~ .panes .p1 { display: block; }
.dz-tx > input:nth-of-type(2):checked ~ .tabs label:nth-of-type(2) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(2):checked ~ .tabs label:nth-of-type(2) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(3):checked ~ .panes .p2 { display: block; }
.dz-tx > input:nth-of-type(3):checked ~ .tabs label:nth-of-type(3) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(3):checked ~ .tabs label:nth-of-type(3) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(4):checked ~ .panes .p3 { display: block; }
.dz-tx > input:nth-of-type(4):checked ~ .tabs label:nth-of-type(4) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(4):checked ~ .tabs label:nth-of-type(4) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(5):checked ~ .panes .p4 { display: block; }
.dz-tx > input:nth-of-type(5):checked ~ .tabs label:nth-of-type(5) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(5):checked ~ .tabs label:nth-of-type(5) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(6):checked ~ .panes .p5 { display: block; }
.dz-tx > input:nth-of-type(6):checked ~ .tabs label:nth-of-type(6) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(6):checked ~ .tabs label:nth-of-type(6) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(7):checked ~ .panes .p6 { display: block; }
.dz-tx > input:nth-of-type(7):checked ~ .tabs label:nth-of-type(7) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(7):checked ~ .tabs label:nth-of-type(7) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(8):checked ~ .panes .p7 { display: block; }
.dz-tx > input:nth-of-type(8):checked ~ .tabs label:nth-of-type(8) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(8):checked ~ .tabs label:nth-of-type(8) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(9):checked ~ .panes .p8 { display: block; }
.dz-tx > input:nth-of-type(9):checked ~ .tabs label:nth-of-type(9) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(9):checked ~ .tabs label:nth-of-type(9) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(10):checked ~ .panes .p9 { display: block; }
.dz-tx > input:nth-of-type(10):checked ~ .tabs label:nth-of-type(10) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(10):checked ~ .tabs label:nth-of-type(10) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(11):checked ~ .panes .p10 { display: block; }
.dz-tx > input:nth-of-type(11):checked ~ .tabs label:nth-of-type(11) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(11):checked ~ .tabs label:nth-of-type(11) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(12):checked ~ .panes .p11 { display: block; }
.dz-tx > input:nth-of-type(12):checked ~ .tabs label:nth-of-type(12) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(12):checked ~ .tabs label:nth-of-type(12) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(13):checked ~ .panes .p12 { display: block; }
.dz-tx > input:nth-of-type(13):checked ~ .tabs label:nth-of-type(13) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(13):checked ~ .tabs label:nth-of-type(13) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(14):checked ~ .panes .p13 { display: block; }
.dz-tx > input:nth-of-type(14):checked ~ .tabs label:nth-of-type(14) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(14):checked ~ .tabs label:nth-of-type(14) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(15):checked ~ .panes .p14 { display: block; }
.dz-tx > input:nth-of-type(15):checked ~ .tabs label:nth-of-type(15) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(15):checked ~ .tabs label:nth-of-type(15) b { color: inherit; opacity: .7; }
.dz-tx > input:nth-of-type(16):checked ~ .panes .p15 { display: block; }
.dz-tx > input:nth-of-type(16):checked ~ .tabs label:nth-of-type(16) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dz-tx > input:nth-of-type(16):checked ~ .tabs label:nth-of-type(16) b { color: inherit; opacity: .7; }
.dz-heromock { padding: 22px; background: var(--card); text-align: left; }
.dz-heromock .dz-rail .rc { gap: 0; }
.dz-wide-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: start; margin-bottom: 36px; }
.dz-wide-h > div:last-child { padding-top: 34px; }
.dz-wide-h h2 { margin-top: 14px; }
.dz-wide-h p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.dz-wide-h .dlist { margin-top: 14px; }
.dz-wide-v > .fi { padding: 22px; border-radius: 17px; }
.dz-win .wh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.dz-win .wh b { font-size: 15px; }
.dz-win .wh > span { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.dz-cols { display: grid; gap: 16px; align-items: start; }
.dz-cols > div { min-width: 0; }
.dz-cols > div > .dz-kvh:first-child { margin-top: 2px; }
.dz-cardbox { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--card); }
.dz-flow { display: flex; align-items: stretch; gap: 8px; }
.dz-flow .fl { flex: 1 1 0; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.dz-flow .fl b { font-size: 14.5px; }
.dz-flow .fl span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.dz-flow .fa { flex: none; display: flex; align-items: center; color: var(--muted); }
.dz-flow .fa svg { width: 16px; height: 16px; }
.dz-code { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.dz-code .ch { font-size: 12px; color: var(--muted); padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--inset); }
.dz-code pre { margin: 0; padding: 14px; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); overflow-x: auto; white-space: pre; }
.dz-band { border: 1px solid var(--line); border-radius: 16px; background: var(--inset); padding: 18px 22px; font-size: 14.5px; color: var(--inkSoft); line-height: 1.6; display: flex; gap: 12px; align-items: flex-start; }
.dz-band .pill { flex: none; margin-top: 2px; }
a.dz-lcard { text-decoration: none; color: inherit; display: block; }
a.dz-lcard:hover .dz-cardlink { text-decoration: underline; }
.dz-lcard h3 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 760px) {
  .dz-flow { flex-direction: column; }
  .dz-flow .fa svg { transform: rotate(90deg); }
  .dz-flow .fa { justify-content: center; }
  .dz-wide-h > div:last-child { padding-top: 0; }
  .dz-wide-h, .dz-cols { grid-template-columns: minmax(0, 1fr) !important; }
  .dz-wide-v > .fi { padding: 14px; }
  .dz-rail { grid-template-columns: minmax(0, 1fr); }
  .dz-rail .rl { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 8px; }
  .dz-rail .rh { display: none; }
  .dz-rail .rl > span { white-space: nowrap; }
  .dz-rail .rc { padding: 12px 0 0; }
  .dz-subnav { border-radius: 16px; }
}

/* Features mega: four columns with headings, sub-links, brand strip in the foot */
#megaFeatures { width: min(1280px, calc(100vw - 32px)); }
nav #megaFeatures .mega-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 10px; align-items: start; }
.mega-col { display: flex; flex-direction: column; min-width: 0; }
.mega-col .mc-h { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 12px 8px; }
.mega-col .mega-item .mi-ic svg { width: 17px; height: 17px; }
.mega-col .mega-item .mi-t { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 0; }
.mega-col .mega-item .mi-d { font-size: 12.5px; }
#megaFeatures .mtag { display: inline-flex; margin-left: 6px; font-size: 9px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 1px 6px; white-space: nowrap; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); vertical-align: 1px; }
.mega-sub { display: flex; flex-direction: column; gap: 1px; padding: 0 8px 10px 56px; margin-top: -6px; font-size: 12.5px; }
.mega-sub a { padding: 3px 0; display: flex; align-items: center; gap: 2px; }
.mega-sub a.l2 { padding-left: 14px; position: relative; }
.mega-sub a.l2::before { content: ""; position: absolute; left: 3px; top: 3px; width: 7px; height: 9px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); border-bottom-left-radius: 3px; }
.mega-sub .mtag { font-size: 9px !important; padding: 1px 5px !important; }
.mega-sub a { color: var(--muted); text-decoration: none; }
.mega-sub a:hover { color: var(--ink); }
#megaFeatures .mega-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
#megaFeatures .mega-foot .mf-t { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
#megaFeatures .mega-foot .mf-ic svg { width: 15px; height: 15px; color: var(--muted); display: block; }
#megaFeatures .mega-foot .mf-links { display: inline-flex; gap: 14px; flex-wrap: wrap; margin-right: auto; }
#megaFeatures .mega-foot .mf-links a { color: var(--inkSoft); font-weight: 500; }
@media (max-width: 1240px) { nav #megaFeatures .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* /FEATURES-V2 */
@media (max-width: 980px) { .dz-cards.c3, .dz-cards.c4, .dz-rels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dz-cards.c2, .dz-cards.c3, .dz-cards.c4, .dz-rels { grid-template-columns: minmax(0, 1fr); } .dz-cl .e { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
/* mega menu: description on its own line, wider panel for six items */
.mega-item .mi-d { display: block; }
.mega-item > span:last-child { min-width: 0; }
/* diagram MCP: poziomo (klienci | hub | zasoby) z lokciami 45 stopni — mcp-diagram.js rysuje oba uklady */
@media (min-width: 861px) { .mcpd { flex-direction: row; } }
/* stopka ma cztery kolumny linkow zamiast trzech */
@media (min-width: 861px) { .foot-grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; } }

/* Centrum zaufania (/trust#answers): pozycja dostepna po zalozeniu konta — widoczne pytanie,
   wyszarzona tresc i link do rejestracji. Bez nowych kolorow: tylko przygaszenie. */
.dz-kv.zablok b { color: var(--muted); font-weight: 500; }
.dz-kv.zablok span { color: var(--muted); opacity: .8; }
.dz-kv.zablok > div:last-child a { font-size: 12.5px; color: var(--inkSoft); }
#answers .dz-kv > div:first-child { min-width: 0; }
#answers .dz-kv > div:first-child span { display: block; margin-top: 3px; }
.dz-lcard.zablok .fi { opacity: .6; }
.dz-lcard.zablok:hover .fi { opacity: .85; }
