/* devtyped.com v2 — dodatki do style.css */

.logo-img { display: inline-flex; align-items: center; }
.logo-img img { height: 22px; width: auto; }
.btn--light { background: #fff; color: #0b1a3d; font-weight: 600; margin-top: 6px; }
.btn--light:hover { background: #e8eefc; }

/* ---------- Kafle ---------- */
.tile { min-height: 600px; }
.tile__visual { padding-top: 28px; }
.tile__visual--flush { padding-top: 0; }
.tile--cta { background: radial-gradient(120% 90% at 50% 0%, #2456b8 0%, #164194 45%, #0b1a3d 100%); color: #fff; }
.tile--cta p { color: #c9d6f2; }

/* Kanban */
.film-kanban { position: relative; width: min(100%, 460px); height: 230px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: left; }
.kb-col { background: #fff; border-radius: 14px; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); }
.kb-col b { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: var(--muted); text-transform: uppercase; }
.kb-card { font-size: 12px; font-weight: 600; padding: 9px 10px; border-radius: 9px; background: #f2f4f8; color: var(--ink); }
.kb-moving { --col: 0; position: absolute; top: 150px; left: calc(var(--col) * (100% + 10px) / 3 + 10px); width: calc((100% - 20px) / 3 - 20px); display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 700; padding: 10px; border-radius: 10px; background: var(--blue); color: #fff; box-shadow: 0 14px 30px rgba(22, 65, 148, 0.35); transition: left 0.9s var(--ease), background 0.4s; }
.kb-moving i { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); font-style: normal; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.film-kanban.is-done .kb-moving { background: #1c7a3e; box-shadow: 0 14px 30px rgba(28, 122, 62, 0.3); }

/* Flow (procesy) */
.film-flow { display: flex; align-items: flex-start; justify-content: center; width: min(100%, 520px); padding-bottom: 30px; }
.ff-node { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 64px; }
.ff-node i { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 16px; background: var(--card-dark); color: var(--on-dark-muted); border: 1px solid #333336; transition: background 0.5s, color 0.5s, transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.5s; }
.ff-node b { font-size: 11px; font-weight: 600; color: var(--on-dark-muted); white-space: nowrap; transition: color 0.4s; }
.ff-line { flex: 1 1 0; height: 3px; margin-top: 26px; border-radius: 2px; background: #3a3a3c; transition: background 0.5s; }
.ff-node.is-done i { background: #2e7d4f; border-color: #2e7d4f; color: #fff; }
.ff-node.is-active i { background: #c7a6ff; border-color: #c7a6ff; color: #1d0a3d; transform: scale(1.12); box-shadow: 0 0 34px rgba(199, 166, 255, 0.55); }
.ff-node.is-active b, .ff-node.is-done b { color: var(--on-dark); }
.ff-line.is-lit { background: #2e7d4f; }

/* Cash */
.film-cash { width: min(100%, 440px); background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); text-align: left; display: flex; flex-direction: column; gap: 4px; }
.fc-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid #ececf0; }
.fc-head b { color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.fc-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "who amt" "who chip"; align-items: center; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid #f2f2f5; }
.fc-row > span { grid-area: who; display: flex; flex-direction: column; }
.fc-row b { font-size: 13px; }
.fc-row small { font-size: 11px; color: var(--muted); }
.fc-row em { grid-area: amt; justify-self: end; font-style: normal; font-weight: 700; font-size: 13px; color: #1c7a3e; font-variant-numeric: tabular-nums; }
.fc-row em.neg { color: #b4142d; }
.fc-row > i { grid-area: chip; justify-self: end; font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e5f5ea; color: #1c7a3e; opacity: 0; transform: translateX(10px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.fc-row.is-matched > i { opacity: 1; transform: none; }

/* Stock */
.film-stock { position: relative; width: min(100%, 420px); height: 250px; }
.fs-bars { position: absolute; left: 0; right: 0; top: 10px; height: 180px; display: flex; align-items: flex-end; gap: 18px; padding: 0 20px; border-bottom: 2px solid #d2d2d7; }
.fs-bar { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; }
.fs-bar i { display: block; width: 100%; height: var(--v, 70%); border-radius: 10px 10px 0 0; background: linear-gradient(#2a9d57, #1c7a3e); transition: height 0.9s var(--ease), background 0.4s; }
.fs-bar b { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.fs-bar.is-low i { background: linear-gradient(#ef4b5c, #b4142d); }
.fs-min { position: absolute; left: 10px; right: 10px; bottom: 35%; border-top: 2px dashed #9a4a00; }
.fs-min small { position: absolute; left: 0; top: -20px; font-size: 10px; font-weight: 700; color: #9a4a00; letter-spacing: 0.4px; }
.fs-order { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 20px) scale(0.9); opacity: 0; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(22, 65, 148, 0.35); transition: opacity 0.4s, transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
.film-stock.is-ordered .fs-order { opacity: 1; transform: translate(-50%, 0); }

/* Gantt */
.film-gantt { --now: 0; position: relative; width: min(100%, 480px); padding: 0 0 6px 76px; text-align: left; }
.fg-days { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 10px; color: var(--on-dark-muted); padding-bottom: 8px; }
.fg-row { position: relative; display: flex; align-items: center; height: 40px; border-top: 1px solid #222224; }
.fg-row b { position: absolute; left: -76px; width: 70px; font-size: 11px; font-weight: 600; color: #d2d2d7; }
.fg-lane { position: relative; flex: 1 1 auto; height: 100%; }
.fg-bar { position: absolute; top: 8px; height: 24px; border-radius: 7px; background: color-mix(in srgb, var(--c) 22%, transparent); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); overflow: hidden; font-size: 10px; font-weight: 700; color: #fff; line-height: 22px; padding-left: 7px; }
.fg-bar::before { content: ""; position: absolute; inset: 0; width: calc(var(--f, 0) * 100%); background: var(--c); opacity: 0.85; transition: width 0.9s linear; z-index: -1; }
.fg-bar { isolation: isolate; }
.fg-now { position: absolute; top: 18px; bottom: 0; left: calc(76px + var(--now) * (100% - 76px)); width: 2px; background: #ff4d6a; box-shadow: 0 0 12px #ff4d6a; transition: left 0.9s linear; }

/* Approvals */
.film-approve { position: relative; width: min(100%, 400px); height: 250px; }
.fa-doc { position: absolute; left: 20px; right: 20px; top: 0; height: 160px; background: #fff; border-radius: 14px; padding: 16px 18px; text-align: left; display: flex; flex-direction: column; gap: 9px; color: var(--ink); }
.fa-doc b { font-size: 13px; }
.fa-doc i { height: 6px; border-radius: 3px; background: #e8e8ed; }
.fa-doc svg { position: absolute; left: 18px; right: 18px; bottom: 6px; width: calc(100% - 36px); height: 52px; }
.fa-doc path { stroke-dasharray: 420; stroke-dashoffset: 420; }
.film-approve.is-drawn .fa-doc path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease-in-out; }
.fa-chain { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 34px; }
.fa-step { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.fa-step i { position: relative; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, 0.1); color: #dbe4fa; border: 2px solid rgba(255, 255, 255, 0.2); transition: background 0.4s, border-color 0.4s, color 0.4s; }
.fa-step small { font-size: 10px; color: #b8c4de; }
.fa-step.is-ok i { background: #6fe0a8; border-color: #6fe0a8; color: #0b2a18; }
.fa-step.is-ok i::after { content: "✓"; position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; background: #0b1a3d; color: #6fe0a8; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.film-approve .stamp { top: 96px; bottom: auto; right: 34px; }

/* Transfer */
.film-transfer { width: min(100%, 420px); display: flex; flex-direction: column; gap: 12px; text-align: left; }
.ft-file { position: relative; display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); }
.ft-ring { width: 64px; height: 64px; flex: 0 0 64px; }
.ft-prog { stroke-dasharray: 176; stroke-dashoffset: 176; transition: stroke-dashoffset 0.9s var(--ease), stroke 0.4s; }
.film-transfer.is-link .ft-prog { stroke: #1c7a3e; }
.ft-pct { position: absolute; left: 18px; width: 64px; text-align: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ft-meta { display: flex; flex-direction: column; }
.ft-meta b { font-size: 14px; }
.ft-meta small { font-size: 12px; color: var(--muted); }
.ft-link { display: flex; align-items: center; gap: 10px; background: #0d6577; color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.ft-link small { font-size: 11px; opacity: 0.8; font-weight: 500; }
.ft-link em { margin-left: auto; font-style: normal; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); opacity: 0; transition: opacity 0.3s; }
.film-transfer.is-link .ft-link { opacity: 1; transform: none; }
.film-transfer.is-copied .ft-link em { opacity: 1; }

/* Roles */
.film-roles { width: min(100%, 460px); display: flex; flex-direction: column; gap: 22px; }
.fr-users { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fr-user { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card-dark); border: 1px solid #333336; font-size: 12px; font-weight: 600; color: var(--on-dark-muted); transition: background 0.4s, color 0.4s, border-color 0.4s; }
.fr-user i { width: 26px; height: 26px; border-radius: 50%; background: #2c2c2e; font-style: normal; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.fr-user.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.fr-user.is-on i { background: rgba(255, 255, 255, 0.25); }
.fr-depts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fr-dept { position: relative; padding: 26px 6px 14px; border-radius: 16px; background: var(--card-dark); border: 1px solid #2c2c2e; font-size: 12px; font-weight: 600; color: #6e6e73; text-align: center; transition: background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s; }
.fr-dept::before { content: ""; position: absolute; left: 50%; top: 10px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #48484a; transition: background 0.4s, box-shadow 0.4s; }
.fr-dept.is-on { background: rgba(138, 166, 230, 0.14); border-color: var(--blue-soft); color: #fff; box-shadow: 0 0 24px rgba(138, 166, 230, 0.25); }
.fr-dept.is-on::before { background: #6fe0a8; box-shadow: 0 0 10px #6fe0a8; }

/* Wszystkie moduły */
.film-mods { width: min(100%, 440px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.film-mods span { padding: 12px 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; font-weight: 600; color: #c9d6f2; transition: background 0.4s, color 0.4s, transform 0.4s var(--ease); }
.film-mods span.is-lit { background: rgba(255, 255, 255, 0.16); color: #fff; }
.film-mods span.is-on { background: #fff; color: #164194; transform: scale(1.06); }

/* ---------- Usługi (styl Apple) ---------- */
.svc2 { background: var(--gray); padding: 110px 0 120px; }
.svc2__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.cycler { max-width: 900px; margin: 0 0 64px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; color: #86868b; }
.cycler span { transition: color 0.5s; }
.cycler span.is-on { background: linear-gradient(90deg, #7a3cf0, #164194); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc2__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.vcard { position: relative; grid-column: span 2; background: #fff; border-radius: 28px; padding: 32px 32px 84px; min-height: 280px; display: flex; flex-direction: column; gap: 22px; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.vcard:nth-child(4), .vcard:nth-child(5) { grid-column: span 3; }
.vcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08); }
.vcard__icon { width: 44px; height: 44px; color: var(--accent); }
.vcard h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.vcard h3 em { font-style: normal; color: var(--accent); }
.vcard__plus { position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: transform 0.3s var(--ease), background 0.3s; }
.vcard__plus:hover { transform: rotate(90deg); background: var(--accent); }
@media (max-width: 900px) {
  .svc2__grid { grid-template-columns: minmax(0, 1fr); }
  .vcard, .vcard:nth-child(4), .vcard:nth-child(5) { grid-column: auto; }
}

.sdlg { width: min(92vw, 560px); border: 0; border-radius: 28px; padding: 44px 40px 40px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35); color: var(--ink); }
.sdlg::backdrop { background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); }
.sdlg[open] { animation: dlg-in 0.45s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: 1; transform: none; } }
.sdlg__x { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gray); font-size: 24px; cursor: pointer; color: var(--ink); }
.sdlg__k { font-size: 14px; font-weight: 600; }
.sdlg h3 { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 18px; }
.sdlg ul { margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sdlg li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.45; }
.sdlg li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }

/* ---------- Dodatki: ciemna sekcja z „filmem” ---------- */
.extras { --len: 2.2; background: #07060c; color: var(--on-dark); }
.extras .pin__stage { display: flex; align-items: center; }
.extras__bg { position: absolute; inset: -20%; filter: blur(70px) saturate(140%); opacity: 0.75; will-change: transform; }
.extras__bg i { position: absolute; border-radius: 50%; animation: blob 18s ease-in-out infinite alternate; }
.extras__bg .b1 { left: 10%; top: 15%; width: 45%; height: 50%; background: #5b2bb5; }
.extras__bg .b2 { right: 5%; top: 5%; width: 40%; height: 45%; background: #d1185b; animation-duration: 22s; animation-delay: -6s; }
.extras__bg .b3 { left: 35%; bottom: 0; width: 50%; height: 45%; background: #164194; animation-duration: 26s; animation-delay: -3s; }
.extras__bg .b4 { right: 25%; top: 40%; width: 25%; height: 30%; background: #0f8a8a; animation-duration: 15s; }
.extras.is-paused .extras__bg i { animation-play-state: paused; }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(12%, -8%) scale(1.15); } 66% { transform: translate(-10%, 10%) scale(0.9); } 100% { transform: translate(6%, 4%) scale(1.1); } }
.extras__bg { opacity: 0.55; }
.extras__in { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; }
.extras__title { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.04em; }
.extras__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.extras__list li { position: relative; padding-left: 26px; display: flex; flex-direction: column; gap: 2px; }
.extras__list li::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: #fff; }
.extras__list b { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.01em; }
.extras__list span { font-size: 16px; color: rgba(255, 255, 255, 0.72); }
.js .extras__list li { opacity: 0; }
.extras__play { position: absolute; right: 28px; bottom: 28px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.extras__play .i-play { display: none; }
.extras.is-paused .extras__play .i-play { display: block; }
.extras.is-paused .extras__play .i-pause { display: none; }

/* ---------- Proces: dwa tory, mocniejsze wyróżnienie ---------- */
.process2 { --len: 3.4; }
.process__side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--card-dark); border: 1px solid var(--line-dark); }
.seg button { min-height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: #d2d2d7; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.3s, color 0.3s; }
.seg button[aria-selected="true"] { background: var(--on-dark); color: #000; }
.process2 .process__track { padding: 0; }
.process2 .process__track[hidden] { display: none; }
.process2 .step { transition: box-shadow 0.4s, border-color 0.4s, background 0.4s; }
.process2 .step.is-focus { background: linear-gradient(160deg, #1b2a52, #141416 60%); border-color: transparent; box-shadow: 0 0 0 1.5px rgba(138, 166, 230, 0.9), 0 30px 80px rgba(22, 65, 148, 0.45), 0 0 120px rgba(255, 77, 106, 0.18); }
.process2 .step.is-focus .step__num { background: linear-gradient(160deg, #c9d6f2, #8aa6e6 50%, #ff4d6a); -webkit-background-clip: text; background-clip: text; }
.process2 .step.is-focus .step__d { color: #d2d2d7; }
@media (max-width: 820px) { .process__side { align-items: flex-start; } }

@media (prefers-reduced-motion: reduce) {
  .js .extras__list li { opacity: 1; }
}


/* ---------- v3: nagłówki ---------- */
.gnav__links { justify-content: flex-end; gap: 30px; }
.gnav__end:empty { display: none; }
.topbar__in { height: 52px; font-size: 13px; gap: 28px; }
.topbar__links { gap: 26px; }
.topbar .logo-img img { height: 22px; width: auto; }

/* ---------- v3: boczny pasek sekcji (jak Bambu Lab) ---------- */
.rail { position: fixed; left: 40px; top: 50%; z-index: 45; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; transform: translate(-12px, -50%); opacity: 0; pointer-events: none; mix-blend-mode: difference; transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.rail.is-visible { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.rail a { position: relative; display: block; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.45); text-decoration: none; padding: 2px 0; transition: color 0.3s, transform 0.3s var(--ease); }
.rail a:hover { color: #fff; text-decoration: none; }
.rail a.is-active { color: #fff; font-weight: 700; transform: translateX(4px); }
.rail a::after { content: attr(data-label); position: absolute; left: 34px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; font-size: 13px; font-weight: 600; color: #fff; opacity: 0; transition: opacity 0.3s, transform 0.3s var(--ease); pointer-events: none; }
.rail a:hover::after, .rail a.is-active::after { opacity: 1; transform: translate(0, -50%); }
.rail a.is-active::after { opacity: 0.85; }
.rail__br { display: block; width: 22px; height: 6px; border: 2px solid #fff; border-bottom: 0; }
.rail__br--b { border-top: 0; border-bottom: 2px solid #fff; }
@media (max-width: 1180px) { .rail { display: none; } }
@media (min-width: 821px) { .gnav__end { display: none; } }

/* ---------- v3: fonty — nagłówki Poppins, tekst Archivo ---------- */
:root {
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Poppins", "Archivo", system-ui, sans-serif;
}
h1, h2, h3, .lnav__title, .vcard h3, .extras__list b, .hl__title, .mod__name, .plan__name, .step__t, .svc__name { font-family: var(--font-display); }
.display, .hero-h1, .p-hero h1 { letter-spacing: -0.035em; }
.h-section, .h-tile, .cta h2, .demo__copy h2, .extras__title { letter-spacing: -0.03em; }

/* etykieta sekcji w bocznym pasku tylko po najechaniu, żeby nie nachodziła na kafle */
.rail a.is-active::after { opacity: 0; }
.rail a:hover::after { opacity: 1; }

/* ---------- v3: Poppins maksymalnie 600 ---------- */
h1, h2, h3, .display, .hero-h1, .h-section, .h-tile, .cta h2, .demo__copy h2, .chapter h2, .gallery__head h2,
.step__num, .step__t, .hl__title, .mod__name, .mod__icon, .plan__name, .num__v, .marquee__item, .sdlg h3,
.extras__title, .extras__list b, .lnav__title, .svc__icon, .svc__name, .vcard h3, .film-login__main, .film-ksef__box strong { font-weight: 600; }
.words p, .film-login__main b { font-weight: 600; }

/* ---------- v3: hero strony panelu ---------- */
.p-hero h1 { font-size: clamp(44px, 5.4vw, 120px); }
.p-hero .hero-title { top: 15vh; }
.p-hero__name { font-family: var(--font-display); font-weight: 600; }

/* ---------- v3: małe nagłówki nad dużymi też w Poppins ---------- */
.eyebrow, .kicker, .story__kicker, .hl__kicker, .sdlg__k, .plan__flag { font-family: var(--font-display); font-weight: 600; }


/* ---------- v3: kafle modułów — ikony, kolory, efekt najechania ---------- */
.mod-grid { position: relative; }
.mod2-wrap { display: flex; }
.mod2 { position: relative; overflow: hidden; flex: 1 1 auto; color: var(--ink); text-decoration: none;
  background: radial-gradient(120% 85% at 0% 0%, color-mix(in srgb, var(--a) 16%, #fff) 0%, #fff 58%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 20%, transparent);
  transition: box-shadow 0.55s var(--ease); }
.mod2 > * { position: relative; z-index: 2; }
.mod2:hover, .mod2:focus-visible { text-decoration: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 35%, transparent), 0 24px 60px color-mix(in srgb, var(--a) 28%, transparent); }
.mod2 .mod__icon { width: 56px; height: 56px; border-radius: 17px; background: linear-gradient(145deg, var(--a), var(--a2)); color: #fff;
  box-shadow: 0 3px 8px color-mix(in srgb, var(--a) 28%, transparent); transition: transform 0.5s var(--ease); }
.mod2 .mod__icon svg { width: 28px; height: 28px; }
.mod2 .mod__icon { transition: transform 0.5s var(--ease), background 0.45s, color 0.45s; }
.mod2:hover .mod__icon, .mod2:focus-visible .mod__icon { transform: scale(1.06); background: #fff; color: var(--a2); }
.mod2:hover .soon, .mod2:focus-visible .soon { background: #fff; color: var(--a2); }
.mod2 .mod__name, .mod2 .mod__desc, .mod2 .tag--light, .mod2 .soon, .mod2 .mod__more { transition: color 0.45s, background 0.45s, gap 0.45s var(--ease); }
.mod2:hover .mod__name, .mod2:focus-visible .mod__name { color: #fff; }
.mod2:hover .mod__desc, .mod2:focus-visible .mod__desc { color: rgba(255, 255, 255, 0.92); }
.mod2 .tag--light { background: color-mix(in srgb, var(--a) 11%, #fff); color: color-mix(in srgb, var(--a) 72%, #000); }
.mod2:hover .tag--light, .mod2:focus-visible .tag--light { background: rgba(255, 255, 255, 0.2); color: #fff; }
.mod2 .soon { background: var(--a2); }
.mod__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--a2); }
.mod2:hover .mod__more, .mod2:focus-visible .mod__more { color: #fff; gap: 12px; }

/* Pływające tło: jeden prostokąt, który przesuwa się między kaflami */
.mod-hl { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 1; pointer-events: none; border-radius: 26px;
  background-color: color-mix(in srgb, var(--hl-a, #164194) 55%, var(--hl-a2, #0e2c66));
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.18));
  clip-path: inset(0 100% 0 0);
  transition: left 0.6s var(--ease), top 0.6s var(--ease), width 0.6s var(--ease), height 0.6s var(--ease), clip-path 0.6s var(--ease), background-color 0.6s ease; }
.mod-hl.is-open { clip-path: inset(0 0 0 0); }

/* v3: kafle modułów w spoczynku bez gradientu w rogu — białe tło, sama ikona z cieniem */
.mod2 { background: #fff; }

/* v3: płynna zmiana tła ikony (gradientu nie da się animować wprost — gradient na warstwie, która znika) */
.mod2 .mod__icon { position: relative; background: #fff; }
.mod2 .mod__icon::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(145deg, var(--a), var(--a2)); transition: opacity 0.45s ease; }
.mod2 .mod__icon svg { position: relative; z-index: 1; }
.mod2:hover .mod__icon, .mod2:focus-visible .mod__icon { background: #fff; }
.mod2:hover .mod__icon::before, .mod2:focus-visible .mod__icon::before { opacity: 0; }


/* ---------- v3: nad-nagłówki — 20 px, gradient, numer sekcji z bocznego paska ---------- */
.eyebrow, .story__kicker, .p-hero__name { font-size: 20px; letter-spacing: -0.01em; }
.eyebrow { align-self: auto; background: linear-gradient(90deg, #164194, #e4032e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero .eyebrow, .story .eyebrow, .security .eyebrow, .extras .eyebrow, .process .eyebrow, .cta .eyebrow, .demo .eyebrow, .gallery .eyebrow {
  background-image: linear-gradient(90deg, #8aa6e6, #ff4d6a); }
.eb { display: inline-flex; align-items: baseline; gap: 10px; width: fit-content; }
.modules__head .eb, .pricing__head .eb, .security__head .eb, .cta__in .eb { margin: 0 auto; }
.eb-n { font-weight: 600; opacity: 0.55; font-variant-numeric: tabular-nums; }
.eb-n::after { content: ""; display: inline-block; width: 18px; height: 1.5px; margin-left: 10px; vertical-align: middle; background: currentColor; }
.eb-n::after { background: #164194; }
.home-hero .eb-n::after, .story .eb-n::after, .security .eb-n::after, .extras .eb-n::after, .process .eb-n::after, .cta .eb-n::after, .demo .eb-n::after { background: #8aa6e6; }
@media (min-width: 1181px) { .story .pin__stage { padding-left: 100px; } }

/* ---------- v3: numer sekcji w plakietce z gradientem, cyfry „wycięte” (widać tło pod spodem) ---------- */
.eyebrow { --eb-a: #164194; --eb-b: #e4032e; }
.home-hero .eyebrow, .story .eyebrow, .security .eyebrow, .extras .eyebrow, .process .eyebrow, .cta .eyebrow, .demo .eyebrow, .gallery .eyebrow { --eb-a: #8aa6e6; --eb-b: #ff4d6a; }
.eb { align-items: center; gap: 12px; }
.eb-n { opacity: 1; display: inline-flex; }
.eb-n::after { display: none; }
.eb-badge { display: block; width: 40px; height: 30px; overflow: visible; }


/* ---------- v3: galeria „Najważniejsze” — nowe mini-filmy ---------- */
.film-lang { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.film-lang small { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 1px; padding: 3px 9px; border-radius: 999px; background: rgba(125, 211, 252, 0.16); color: #7dd3fc; }
.film-lang span { font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -0.02em; color: #e0f2fe; }
.film-lang.is-swap span, .film-lang.is-swap small { animation: lang-in 0.6s var(--ease); }
@keyframes lang-in { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.film-label { position: absolute; inset: 0; display: flex; justify-content: center; overflow: hidden; }
.fl-printer { position: absolute; top: 22px; width: 220px; height: 26px; border-radius: 8px; background: #2c2c2e; box-shadow: inset 0 -6px 0 #1c1c1e; z-index: 2; }
.fl-label { position: absolute; top: 40px; width: 190px; height: 112px; border-radius: 0 0 8px 8px; background: #fff; color: #111; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 3px; transform: translateY(-100%); transition: transform 1.2s var(--ease); }
.fl-label b { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.fl-label small { font-size: 11px; color: #555; }
.fl-label i { margin-top: auto; height: 34px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px); }
.film-label.is-printing .fl-label { transform: translateY(0); }
.film-label.is-done .fl-label { box-shadow: 0 0 0 3px #fcd34d, 0 0 30px rgba(252, 211, 77, 0.45); }

.film-log { position: absolute; inset: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.film-log span { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; color: #e5e5ea; opacity: 0; transform: translateX(-14px); transition: opacity 0.4s, transform 0.5s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.film-log span.is-on { opacity: 1; transform: none; }
.film-log em { font-style: normal; font-variant-numeric: tabular-nums; color: #fda4af; font-weight: 600; }
.film-log b { font-weight: 600; color: #fff; }

/* ---------- v3: galeria bez końca, przeciąganie, przezroczystość wg odległości ---------- */
[data-gallery2] .gallery__vp { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
[data-gallery2].is-dragging .gallery__vp { cursor: grabbing; }
[data-gallery2] .gallery__track { transition: none; will-change: transform; }
[data-gallery2] .hl { transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
[data-gallery2].is-dragging .hl, [data-gallery2].is-instant .hl { transition: none; }
[data-gallery2] .hl * { pointer-events: none; }


/* ---------- v3: poprawki mini-filmów w galerii ---------- */
/* Jeden login: ikony modułów i sygnet */
.film-login__tile { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.film-login__tile svg { display: block; }
.film-login__main img { width: 64px; height: auto; display: block; }

/* KSeF w obie strony */
[data-film="ksef2"] .fk-box { position: absolute; top: 48px; width: 86px; height: 86px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #2c2c2e; color: #f5f5f7; transition: background 0.5s, box-shadow 0.5s, color 0.5s; z-index: 1; }
[data-film="ksef2"] .fk-box--panel { left: 18px; background: #164194; }
[data-film="ksef2"] .fk-box--panel img { width: 46px; height: auto; }
[data-film="ksef2"] .fk-box--ksef { right: 18px; }
[data-film="ksef2"] .fk-box strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
[data-film="ksef2"] .fk-box small { font-size: 11px; font-weight: 700; opacity: 0; transition: opacity 0.4s; }
[data-film="ksef2"].is-acc .fk-box--ksef { background: #6fe0a8; color: #0b2a18; box-shadow: 0 0 34px rgba(111, 224, 168, 0.5); }
[data-film="ksef2"].is-acc .fk-box--ksef small, [data-film="ksef2"].is-got .fk-box--panel small { opacity: 1; }
[data-film="ksef2"].is-got .fk-box--panel { box-shadow: 0 0 34px rgba(22, 65, 148, 0.7); }
[data-film="ksef2"] .fk-box--panel small { color: #fff; }
.fk-lane { position: absolute; left: 112px; right: 112px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 6px, transparent 6px 11px); }
.fk-lane i { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.4px; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.fk-lane--out { top: 66px; }
.fk-lane--in { top: 118px; }
.fk-lane--in i { top: 8px; }
.fk-doc { position: absolute; width: 50px; height: 38px; border-radius: 6px; background: #fff; padding: 6px 6px 4px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); z-index: 2; transition: left 1.1s var(--ease), opacity 0.4s; }
.fk-doc i { height: 3px; border-radius: 2px; background: #d2d2d7; }
.fk-doc i + i { width: 70%; }
.fk-doc b { margin-top: auto; font-size: 8px; font-weight: 700; color: #111; white-space: nowrap; }
.fk-doc--out { top: 48px; left: 112px; }
.fk-doc--in { top: 100px; left: calc(100% - 162px); opacity: 0; }
[data-film="ksef2"].is-out .fk-doc--out { left: calc(100% - 162px); }
[data-film="ksef2"].is-out-hide .fk-doc--out { opacity: 0; }
[data-film="ksef2"].is-in-show .fk-doc--in { opacity: 1; }
[data-film="ksef2"].is-in .fk-doc--in { left: 112px; }

/* Produkcja: ikony + podpisy kroków */
.film-bom--sm { padding-bottom: 18px; }
.film-bom__node { position: relative; }
.film-bom__node svg { display: block; }
.film-bom__node em { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 600; color: var(--on-dark-muted); white-space: nowrap; transition: color 0.4s; }
.film-bom .is-lit.film-bom__node em { color: #ffd8a8; }

/* Podpis odręczny */
.film-pki--sig .sig { position: absolute; left: 30px; top: 6px; font-family: "Mrs Saint Delafield", cursive; font-size: 92px; line-height: 1.1; color: #6fe0a8; clip-path: inset(0 100% 0 0); transition: none; white-space: nowrap; }
.film-pki--sig.is-drawn .sig { clip-path: inset(0 -10% 0 0); transition: clip-path 1.9s cubic-bezier(0.55, 0.05, 0.3, 1); }
.film-pki--sig .sig-line { position: absolute; left: 22px; right: 22px; top: 118px; height: 1.5px; background: rgba(255, 255, 255, 0.25); }
.film-pki--sig .sig { top: 22px; font-size: 80px; }
.film-login__main img { width: 72px; }

/* v3: linki w górnych paskach nawigacji — 14 px */
.gnav__links, .topbar__in, .topbar__links, .lnav__links { font-size: 14px; }

/* v3: sygnet na kolorze firmowym (primary #164194), zgodnie z logo */
:root { --brand-primary: #164194; --brand-accent: #e4032e; --brand-accent2: #ffd43b; }
.film-login__main { background: var(--brand-primary); box-shadow: 0 0 60px rgba(22, 65, 148, 0.85); }
[data-film="ksef2"] .fk-box--panel { background: var(--brand-primary); }
[data-film="ksef2"].is-got .fk-box--panel { box-shadow: 0 0 34px rgba(22, 65, 148, 0.9); }


/* ---------- v3: paleta firmowa — primary #164194, accent #e4032e, accent2 #ffd43b ---------- */
.ribbon b { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--brand-accent2); color: #1d1d1f; font-size: 12px; font-weight: 700; letter-spacing: 0.2px; }
.progress span, .process__bar span { background: linear-gradient(90deg, #8aa6e6, #ff4d6a 70%, #ffd43b); }
.gdot.is-active span { background: linear-gradient(90deg, #ffffff, #ffd43b); }
.btn--primary { background: var(--brand-primary); }
.btn--primary:hover { background: #0f2f6e; }
.cycler span.is-on { background-image: linear-gradient(90deg, #164194, #e4032e); }

/* v3: tekst z gradientem — miejsce na ogonki liter (j, y, ą, ę), żeby nie były przycięte */
.grad-text, .eyebrow { padding-bottom: 0.18em; margin-bottom: -0.18em; }
.hero-h1 .w.grad-text { padding: 0 0.04em 0.2em; margin: 0 -0.04em -0.2em; }

/* ---------- v3: przyciski wg zatwierdzonej makiety (styl panelu aplikacji, zaokrąglenia v3) ---------- */
.btn { font-weight: 500; font-size: 16px; min-height: 44px; padding: 0 22px; border: 1px solid transparent; transform: none;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s; }
.btn:hover { transform: none; text-decoration: none; }
.btn:focus-visible { outline: none; }
.btn--sm { font-size: 14px; min-height: 34px; padding: 0 16px; }
.btn:disabled { opacity: 0.5; box-shadow: none; cursor: not-allowed; }

/* Główny (primary) */
.btn--primary, .form .btn--primary, .toggle[aria-pressed="true"] {
  color: #fff; background-color: #164194; background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  border: 1px solid #13377e; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 2px rgba(11, 27, 77, 0.18); }
.btn--primary:hover { background-color: #11347a; border-color: #0e2c68; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 2px rgba(11, 27, 77, 0.18), 0 0 0 2px rgba(22, 65, 148, 0.14); }
.btn--primary:active { background-color: #0f2c66; border-color: #0d2557; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(22, 65, 148, 0.26); }
.btn--primary:focus-visible { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 4px rgba(22, 65, 148, 0.28); }

/* Akcent */
.btn--accent { color: #fff; background-color: #e4032e; background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  border-color: #c20327; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 2px rgba(77, 11, 20, 0.18); }
.btn--accent:hover { background-color: #c6162b; border-color: #a81325; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 2px rgba(77, 11, 20, 0.18), 0 0 0 2px rgba(228, 3, 46, 0.14); }
.btn--accent:active { background-color: #a8001f; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(228, 3, 46, 0.26); }

/* Obrys na jasnym tle */
.btn--ghost { color: #0f2c66; background: #fff; border-color: #96aacf; box-shadow: 0 1px 1px rgba(11, 27, 77, 0.06); }
.btn--ghost:hover { background: #f3f6ff; border-color: #164194; box-shadow: 0 1px 1px rgba(11, 27, 77, 0.06), 0 0 0 2px rgba(22, 65, 148, 0.14); }
.btn--ghost:active { background: #e8ecf4; border-color: #164194; box-shadow: inset 0 1px 2px rgba(11, 27, 77, 0.14), 0 0 0 2px rgba(22, 65, 148, 0.26); }

/* Przerywany i jasny (na przyszłość) */
.btn--subtle { color: #0f2c66; background: #f3f6ff; border: 1.5px dashed #8ba0ca; box-shadow: none; }
.btn--subtle:hover { background: #eef1fa; border-color: #164194; box-shadow: 0 0 0 2px rgba(22, 65, 148, 0.14); }
.btn--light { color: #0b1b4d; background: #fff; border-color: #d5dbe8; box-shadow: 0 1px 1px rgba(11, 27, 77, 0.06); }
.btn--light:hover { background: #f3f6ff; box-shadow: 0 1px 1px rgba(11, 27, 77, 0.06), 0 0 0 2px rgba(22, 65, 148, 0.07); }
.btn--light:active { background: #e8ecf4; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12); }

/* Ciemne tło: jasny mikro-cień, jasne obwódki */
:is(.dark, .lnav, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .btn--primary,
.form .btn--primary, .toggle[aria-pressed="true"] { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(255, 255, 255, 0.14); }
:is(.dark, .lnav, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .btn--primary:hover,
.form .btn--primary:hover, .toggle[aria-pressed="true"]:hover {
  background-color: #11347a; border-color: #0e2c68;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(255, 255, 255, 0.14), 0 0 0 2px rgba(138, 166, 230, 0.35); }
:is(.dark, .lnav, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .btn--primary:active,
.form .btn--primary:active { background-color: #0f2c66; border-color: #0d2557; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(138, 166, 230, 0.5); }
:is(.dark, .lnav, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .btn--primary:focus-visible,
.form .btn--primary:focus-visible { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 4px rgba(138, 166, 230, 0.45); }
:is(.dark, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .btn--accent { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(255, 255, 255, 0.14); }
:is(.dark, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .btn--accent:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(255, 255, 255, 0.14), 0 0 0 2px rgba(255, 77, 106, 0.35); }

/* Obrys na ciemnym tle */
.btn--ghost-dark, .dark .btn--ghost { color: #e3eafb; background: rgba(255, 255, 255, 0.04); border-color: rgba(138, 166, 230, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(255, 255, 255, 0.1); }
.btn--ghost-dark:hover, .dark .btn--ghost:hover { color: #fff; background: rgba(138, 166, 230, 0.16); border-color: #8aa6e6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(255, 255, 255, 0.1), 0 0 0 2px rgba(138, 166, 230, 0.25); }
.btn--ghost-dark:active, .dark .btn--ghost:active { background: rgba(138, 166, 230, 0.24); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(138, 166, 230, 0.4); }

/* Wybór zainteresowań w formularzu demo */
.toggle { font-weight: 500; color: #e5e5ea; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 2px rgba(255, 255, 255, 0.08);
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s; }
.toggle:hover { color: #fff; background: rgba(138, 166, 230, 0.12); border-color: rgba(138, 166, 230, 0.6); }
.toggle[aria-pressed="true"] { font-weight: 500; }
.form .btn--primary { border: 1px solid #13377e; }
.plan .btn, .form .btn { font-size: 16px; font-weight: 500; }
.plan .btn { min-height: 44px; padding: 0 22px; }


/* ---------- v3: nazwane gradienty marki ----------
   gradient-pa  = primary → accent
   gradient-pa2 = primary → accent2
   gradient-a2a = accent2 → accent
   Na jasnym tle oryginalne kolory, na ciemnym rozjaśniony primary (#8aa6e6) i accent (#ff4d6a); accent2 bez zmian. */
:root {
  --gradient-pa: linear-gradient(90deg, #164194, #e4032e);
  --gradient-pa2: linear-gradient(90deg, #164194, #ffd43b);
  --gradient-a2a: linear-gradient(90deg, #ffd43b, #e4032e);
  --gradient-pa-dark: linear-gradient(90deg, #8aa6e6, #ff4d6a);
  --gradient-pa2-dark: linear-gradient(90deg, #8aa6e6, #ffd43b);
  --gradient-a2a-dark: linear-gradient(90deg, #ffd43b, #ff4d6a);
}
.eyebrow.gradient-pa { --eb-a: #164194; --eb-b: #e4032e; background-image: var(--gradient-pa); }
.eyebrow.gradient-pa2 { --eb-a: #164194; --eb-b: #ffd43b; background-image: var(--gradient-pa2); }
.eyebrow.gradient-a2a { --eb-a: #ffd43b; --eb-b: #e4032e; background-image: var(--gradient-a2a); }
:is(.dark, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .eyebrow.gradient-pa { --eb-a: #8aa6e6; --eb-b: #ff4d6a; background-image: var(--gradient-pa-dark); }
:is(.dark, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .eyebrow.gradient-pa2 { --eb-a: #8aa6e6; --eb-b: #ffd43b; background-image: var(--gradient-pa2-dark); }
:is(.dark, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .eyebrow.gradient-a2a { --eb-a: #ffd43b; --eb-b: #ff4d6a; background-image: var(--gradient-a2a-dark); }
.grad-text.gradient-pa2 { background-image: var(--gradient-pa2-dark); }
.grad-text.gradient-a2a { background-image: var(--gradient-a2a-dark); }

/* Kroki procesu: każdy numer w swoim kolorze, aktywna karta świeci tym kolorem */
.process2 .step .step__num { background: linear-gradient(160deg, var(--c1, #8aa6e6), var(--c2, #164194)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.process2 .step.is-focus { background: linear-gradient(160deg, color-mix(in srgb, var(--c2, #164194) 26%, #141416), #141416 62%);
  box-shadow: 0 0 0 1.5px var(--c1, #8aa6e6), 0 30px 80px color-mix(in srgb, var(--c2, #164194) 45%, transparent), 0 0 120px color-mix(in srgb, var(--c1, #8aa6e6) 18%, transparent); }
.process2 .step.is-focus .step__num { background: linear-gradient(160deg, var(--c1, #8aa6e6), var(--c2, #164194)); -webkit-background-clip: text; background-clip: text; }

/* Manifest na stronie panelu */
.words .w--y { color: #ffd43b; }
.words .w--a { color: #e4032e; }
/* nad-nagłówki z gradientem: kolor tekstu zawsze z gradientu (nadpisuje stary jednolity kolor w Bezpieczeństwie) */
.eyebrow.eb, .security__head .eyebrow.eb { color: transparent; }


/* v3: manifest — kolor tylko na słowach (interpunkcja biała); czerwony w jaśniejszej wersji pod ciemne tło */
.words .k-y { color: #ffd43b; }
.words .k-a { color: #ff4d6a; }
.words .k-b { color: #8aa6e6; }

/* v3: tarcza w sekcji Bezpieczeństwo — gradient-a2a (accent2 → accent) */
.shield { background: linear-gradient(160deg, #ffd43b 0%, #f7792f 48%, #e4032e 100%); }
.shield svg { filter: drop-shadow(0 1px 2px rgba(120, 20, 0, 0.35)); }
.form .btn--accent { border: 1px solid #c20327; }
.form .btn--accent:hover { border-color: #a81325; }

/* v3: gradient-ppl = primary → jasny primary (l = light) */
:root { --gradient-ppl: linear-gradient(90deg, #164194, #8aa6e6); --gradient-ppl-dark: linear-gradient(90deg, #8aa6e6, #dbe5fb); }
.eyebrow.gradient-ppl { --eb-a: #164194; --eb-b: #8aa6e6; background-image: var(--gradient-ppl); }
:is(.dark, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .eyebrow.gradient-ppl { --eb-a: #8aa6e6; --eb-b: #dbe5fb; background-image: var(--gradient-ppl-dark); }
.grad-text.gradient-ppl { background-image: var(--gradient-ppl-dark); }

/* v3: gradient-aal = accent → jasny accent (l = light) */
:root { --gradient-aal: linear-gradient(90deg, #e4032e, #ff4d6a); --gradient-aal-dark: linear-gradient(90deg, #ff4d6a, #ffb3c0); }
.eyebrow.gradient-aal { --eb-a: #e4032e; --eb-b: #ff4d6a; background-image: var(--gradient-aal); }
:is(.dark, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .eyebrow.gradient-aal { --eb-a: #ff4d6a; --eb-b: #ffb3c0; background-image: var(--gradient-aal-dark); }
.grad-text.gradient-aal { background-image: var(--gradient-aal-dark); }
/* gradient-aal na jasnym tle: ciemniejszy początek, żeby przejście było wyraźne */
:root { --gradient-aal: linear-gradient(90deg, #9a0021, #ff4d6a); }
.eyebrow.gradient-aal { --eb-a: #9a0021; --eb-b: #ff4d6a; }
/* gradient-aal na jasnym tle: początek pomiędzy (ciut jaśniejszy niż #9a0021) */
:root { --gradient-aal: linear-gradient(90deg, #bd0228, #ff4d6a); }
.eyebrow.gradient-aal { --eb-a: #bd0228; --eb-b: #ff4d6a; }
/* gradient-aal (ostatecznie): ciemniejszy accent → accent.
   Na ciemnym tle przesunięty o stopień jaśniej (accent → jasny accent), bo ciemny accent ginie na czerni. */
:root { --gradient-aal: linear-gradient(90deg, #b5022a, #e4032e); --gradient-aal-dark: linear-gradient(90deg, #e4032e, #ff4d6a); }
.eyebrow.gradient-aal { --eb-a: #b5022a; --eb-b: #e4032e; background-image: var(--gradient-aal); }
:is(.dark, .home-hero, .p-hero, .story, .gallery, .security, .extras, .process, .cta, .demo) .eyebrow.gradient-aal { --eb-a: #e4032e; --eb-b: #ff4d6a; background-image: var(--gradient-aal-dark); }
.grad-text.gradient-aal { background-image: var(--gradient-aal-dark); }

/* cennik: wyróżniony plan — obwódka w accent, etykieta w primary */
.plan--best, .js .plan--best.reveal.is-in { box-shadow: 0 0 0 2px #e4032e, 0 30px 60px rgba(228, 3, 46, 0.16); }
.plan__flag { color: #164194; }

/* ---------- v3: Moduły — tło całej sekcji w kolorze najechanego modułu ----------
   Kolor wjeżdża z lewej (jak tło kafla) i zostaje do najechania na inny moduł. */
.modules { position: relative; overflow: hidden; isolation: isolate; }
.modules > .container { position: relative; z-index: 1; }
.mod-sec-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(145deg, var(--a, #164194), var(--a2, #0e2c66));
  clip-path: inset(0 100% 0 0); transition: clip-path 0.8s var(--ease); }
.mod-sec-bg.is-in { clip-path: inset(0 0 0 0); }
.modules__head h2, .modules__head p { transition: color 0.5s ease; }
.modules.is-tinted .modules__head h2 { color: #fff; }
.modules.is-tinted .modules__head p { color: rgba(255, 255, 255, 0.86); }
.modules.is-tinted .eyebrow.eb { background-image: none; color: #fff; --eb-a: #ffffff; --eb-b: rgba(255, 255, 255, 0.78); }
.modules.is-tinted .mod2 { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18); }

/* v3: najechany kafel modułu — przezroczysty, bez cienia i obwódki (widać kolor sekcji) */
.mod-hl { display: none; }
.mod2 { transition: background-color 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.mod2:hover, .mod2:focus-visible, .modules.is-tinted .mod2:hover, .modules.is-tinted .mod2:focus-visible { background: transparent; box-shadow: none; }

/* v3: ostatnio najechany kafel zostaje w stanie „najechanym”, dopóki nie najedziesz na inny */
.mod2.is-active, .modules.is-tinted .mod2.is-active { background: transparent; box-shadow: none; }
.mod2.is-active .mod__name { color: #fff; }
.mod2.is-active .mod__desc { color: rgba(255, 255, 255, 0.92); }
.mod2.is-active .tag--light { background: rgba(255, 255, 255, 0.2); color: #fff; }
.mod2.is-active .mod__more { color: #fff; gap: 12px; }
.mod2.is-active .soon { background: #fff; color: var(--a2); }
.mod2.is-active .mod__icon { transform: scale(1.06); background: #fff; color: var(--a2); }
.mod2.is-active .mod__icon::before { opacity: 0; }

/* v3: boczny pasek sekcji — zamiast mix-blend-mode: difference czysta czerń albo biel, zależnie od tła pod spodem */
.rail { mix-blend-mode: normal; color: #1d1d1f; }
.rail a { color: rgba(29, 29, 31, 0.45); transition: color 0.35s, transform 0.3s var(--ease); }
.rail a:hover, .rail a.is-active, .rail a::after { color: #1d1d1f; }
.rail__br { border-color: currentColor; transition: border-color 0.35s; }
.rail.on-dark { color: #fff; }
.rail.on-dark a { color: rgba(255, 255, 255, 0.5); }
.rail.on-dark a:hover, .rail.on-dark a.is-active, .rail.on-dark a::after { color: #fff; }


/* ---------- v3: ikony Font Awesome ---------- */
.vcard__icon { width: auto; height: auto; font-size: 34px; line-height: 1; }
.mod2 .mod__icon i { position: relative; z-index: 1; font-size: 24px; }
.film-login__tile i { font-size: 18px; }
.film-bom__node i { font-size: 19px; }
.shield i { font-size: 52px; color: #fff; filter: drop-shadow(0 1px 2px rgba(120, 20, 0, 0.35)); }
.round i, .menu-btn i { font-size: 16px; }
.as-cursor i { font-size: 20px; color: #111; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); }
.as-cursor.is-click i { transform: scale(0.86); display: inline-block; transition: transform 0.2s; }

/* Moduły: stan początkowy bez animacji */
.modules.no-anim .mod-sec-bg, .modules.no-anim .mod2, .modules.no-anim .mod2 *, .modules.no-anim .mod2 .mod__icon::before, .modules.no-anim .modules__head * { transition: none !important; }


/* ---------- v3: kafle na stronie głównej — nadtytuł zwykłymi literami, „Dowiedz się więcej” jako przycisk z obrysem ---------- */
.tile .kicker { text-transform: none; letter-spacing: 0; font-size: 17px; }
.more--btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; margin-top: 10px;
  border: 1px solid currentColor; border-radius: 999px; background: transparent; font-size: 15px; font-weight: 500;
  transition: background-color 0.2s, gap 0.3s var(--ease); }
.more--btn i { font-size: 13px; }
.tile:hover .more--btn { background: color-mix(in srgb, currentColor 10%, transparent); gap: 12px; }

/* ---------- v3: proces — poświata aktywnej karty nie jest przycinana od góry i dołu ---------- */
.process__vp { overflow: visible; overflow-x: clip; padding: 80px 0; margin: -80px 0; }

/* ---------- v3: app.devtyped w pasku jako link na górę ---------- */
a.lnav__title, a.lnav__title:hover { color: var(--on-dark); text-decoration: none; }

/* ---------- v3: liczby — każda w swoim kolorze ---------- */
.num__v { background: linear-gradient(160deg, var(--c1, #2a5cc4), var(--c2, #164194)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
.num__line { background: linear-gradient(90deg, var(--c2, #164194), var(--c1, #2a5cc4)); height: 3px; }
.lnav .btn--accent { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(255, 255, 255, 0.14); }
.lnav .btn--accent:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(255, 255, 255, 0.14), 0 0 0 2px rgba(255, 77, 106, 0.35); }

/* v3: logo w nagłówkach — 30 px wysokości (próba) */
.gnav .logo-img img, .topbar .logo-img img { height: 30px; width: auto; }

/* v3: górna nawigacja odrobinę wyższa (52 → 60 px), na obu stronach */
.gnav__in, .topbar__in { height: 60px; }

/* v3: linki w górnej nawigacji — 15 px */
.gnav__links, .topbar__in, .topbar__links { font-size: 15px; }
.ribbon { font-size: 15px; }

/* v3: identyczne odstępy linków w nawigacji na obu stronach */
.gnav__links, .topbar__links { gap: 30px; }

/* v3: podpis w hero strony głównej — jaśniejszy (był #6e6e73 na czerni, kontrast ok. 4:1) */
.home-hero .hero-title .lead { color: #d2d2d7; }

/* Nad-nagłówek w jednolitym czerwonym kolorze marki (np. sekcja Kontakt) */
.eyebrow.eyebrow--red, :is(.dark, .demo, .cta) .eyebrow.eyebrow--red { --eb-a: #e4032e; --eb-b: #e4032e; background-image: linear-gradient(#e4032e, #e4032e); }
/* Nad-nagłówek w jednolitej bieli (na ciemnym tle, np. CTA na stronie Zastosowania) */
.eyebrow.eyebrow--white, :is(.dark, .demo, .cta, .sp-section--dark, .sp-hero--dark) .eyebrow.eyebrow--white { --eb-a: #fff; --eb-b: #fff; background-image: none; color: #fff; }
/* Sekcje CTA z poświatą (.cta): nad-nagłówek zawsze biały, bez gradientu (także plakietka z numerem sekcji) */
.cta .eyebrow, .cta .eyebrow[class*="gradient-"] { --eb-a: #fff; --eb-b: #fff; background-image: none; color: #fff; }
