/* ═══════════════════════════════════════════════════════════════════════════
   Profilio Landingi — Base Stylesheet
   Tokens, reset, shared buttons, shared header, shared footer, shared modal.
   Mirrors Tailwind classes from the JSX source (pixel-perfect).
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* Brand colors (odwzorowane 1:1 z JSX) */
    --pfl-green:          #00A859;
    --pfl-green-hover:    #008A4B;
    --pfl-green-dark:     #00964F;
    --pfl-green-50:       #EAF8F0;
    --pfl-green-100:      #A7DFC0;

    --pfl-blue:           #2563EB;
    --pfl-blue-50:        #EFF6FF;
    --pfl-blue-100:       #bfdbfe;

    --pfl-orange:         #D97706;
    --pfl-orange-50:      #FFF3E8;
    --pfl-orange-100:     #F3C38E;

    --pfl-navy-900:       #071734;
    --pfl-navy-800:       #10213E;

    --pfl-text:           #5E6B82;
    --pfl-text-light:     #828F9F;
    --pfl-icon:           #A0ABB8;

    --pfl-bg:             #F7F8F7;
    --pfl-bg-alt:         #F4F6F7;
    --pfl-bg-dark:        #111827;
    --pfl-bg-darker:      #0A0F1C;
    --pfl-slate-900:      #0f172a;
    --pfl-slate-800:      #1e293b;
    --pfl-slate-700:      #334155;
    --pfl-slate-500:      #64748b;
    --pfl-slate-300:      #cbd5e1;

    --pfl-white:          #ffffff;
    --pfl-border:         #E2E8F0;
    --pfl-red-500:        #ef4444;
    --pfl-red-600:        #dc2626;

    --pfl-footer-text:    #B7C2D6;

    /* Typography */
    --pfl-font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Layout */
    --pfl-container:      1440px;
    --pfl-container-narrow: 800px;

    /* Shadows (odwzorowane z Tailwind shadow-sm/lg i custom z JSX) */
    --pfl-shadow-sm:      0 1px 2px rgba(0,0,0,.05);
    --pfl-shadow:         0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --pfl-shadow-md:      0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --pfl-shadow-lg:      0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --pfl-shadow-xl:      0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    --pfl-shadow-2xl:     0 25px 50px -12px rgba(0,0,0,.25);

    --pfl-shadow-preview: 0 24px 48px rgba(7,23,52,0.12);
    --pfl-shadow-header:  0 1px 2px rgba(0,0,0,.05);
    --pfl-shadow-float:   0 12px 24px rgba(7,23,52,0.15);
    --pfl-shadow-green:   0 4px 16px rgba(0,168,89,0.2);
    --pfl-shadow-green-top: 0 -8px 16px rgba(0,168,89,0.2);

    /* Radii */
    --pfl-r-4:            4px;
    --pfl-r-8:            8px;
    --pfl-r-12:           12px;
    --pfl-r-16:           16px;
    --pfl-r-24:           24px;
    --pfl-r-full:         9999px;

    /* Transitions */
    --pfl-t:              .2s ease;
    --pfl-t-slow:         .3s ease;
    --pfl-t-1000:         1s cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.pfl-landing-body {
    font-family: var(--pfl-font);
    background-color: var(--pfl-bg);
    color: var(--pfl-text);
    line-height: 1.5;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Shortcode containment ──────────────────────────────────────────────────
   Kiedy shortcode jest osadzony wewnątrz aktywnego motywu WP, jego reguły
   (np. font-size dla h1/h2, line-height, letter-spacing, globalne `a`) potrafią
   nadpisać nasz design. Wnętrze .pfl-kalk i .pfl-landing-container musi być
   izolowane — wymuszamy własne wartości tam, gdzie motywy najczęściej szaleją.
   ═══════════════════════════════════════════════════════════════════════════ */
.pfl-kalk,
.pfl-kalk * {
    box-sizing: border-box;
}

.pfl-kalk {
    font-family: var(--pfl-font);
    color: var(--pfl-text);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pfl-kalk h1,
.pfl-kalk h2,
.pfl-kalk h3,
.pfl-kalk h4,
.pfl-kalk h5,
.pfl-kalk h6,
.pfl-kalk p,
.pfl-kalk ul,
.pfl-kalk ol,
.pfl-kalk li,
.pfl-kalk table,
.pfl-kalk th,
.pfl-kalk td,
.pfl-kalk label,
.pfl-kalk input,
.pfl-kalk select,
.pfl-kalk textarea,
.pfl-kalk button,
.pfl-kalk a {
    font-family: inherit;
    letter-spacing: normal;
}

.pfl-kalk h1,
.pfl-kalk h2,
.pfl-kalk h3,
.pfl-kalk h4,
.pfl-kalk h5,
.pfl-kalk h6 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    color: var(--pfl-navy-800) !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    font-family: var(--pfl-font) !important;
    text-align: inherit !important;
    text-shadow: none !important;
    background: transparent !important;
    border: 0 !important;
}

.pfl-kalk p {
    margin: 0;
}

.pfl-kalk ul,
.pfl-kalk ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pfl-kalk a {
    color: inherit;
    text-decoration: none;
}

.pfl-kalk img {
    max-width: 100%;
    height: auto;
    display: block;
}

.pfl-kalk button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
    color: inherit;
}

.pfl-kalk input,
.pfl-kalk select,
.pfl-kalk textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: #fff;
}

body.pfl-landing-body img {
    max-width: 100%;
    height: auto;
    display: block;
}

body.pfl-landing-body button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

body.pfl-landing-body input,
body.pfl-landing-body select,
body.pfl-landing-body textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

body.pfl-landing-body a {
    color: inherit;
    text-decoration: none;
}

body.pfl-landing-body ul {
    list-style: none;
}

.pfl-main {
    display: block;
}

/* Shared animation (replaces Tailwind animate-[slideIn_…]) */
@keyframes pfl-slide-in {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pfl-slide-in { animation: pfl-slide-in 0.2s ease-out; }

/* ── Icon reset ──────────────────────────────────────────────────────────── */
.pfl-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS (shared variants)
   ═══════════════════════════════════════════════════════════════════════════ */
.pfl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    border-radius: var(--pfl-r-full);
    transition: background-color var(--pfl-t), color var(--pfl-t), border-color var(--pfl-t), box-shadow var(--pfl-t), transform var(--pfl-t);
    white-space: nowrap;
    text-align: center;
}
.pfl-btn--lg { height: 48px; padding: 0 32px; font-size: 14px; }
.pfl-btn--md { height: 40px; padding: 0 16px; font-size: 13px; }

.pfl-btn--primary { background: var(--pfl-green); color: #fff; }
.pfl-btn--primary:hover { background: var(--pfl-green-hover); }

.pfl-btn--outline-light {
    border: 1px solid var(--pfl-text);
    color: #fff;
    background: transparent;
}
.pfl-btn--outline-light:hover { background: rgba(255,255,255,0.05); }

.pfl-btn--dark {
    background: var(--pfl-navy-800);
    color: #fff;
    box-shadow: var(--pfl-shadow-lg);
}
.pfl-btn--dark:hover {
    background: var(--pfl-navy-900);
    box-shadow: var(--pfl-shadow-xl);
    transform: translateY(-2px);
}

.pfl-btn--icon { gap: 8px; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.pfl-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--pfl-white);
    border-bottom: 1px solid var(--pfl-border);
    box-shadow: var(--pfl-shadow-header);
}

.pfl-header__inner {
    max-width: var(--pfl-container);
    margin: 0 auto;
    padding: 0 16px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pfl-header__left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pfl-header__logo { height: 28px; }
.pfl-header__logo-link { display: inline-block; }

.pfl-header__app-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--pfl-r-full);
    border: 1px solid var(--pfl-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pfl-green);
    cursor: pointer;
    transition: background-color var(--pfl-t);
}
.pfl-header__app-icon:hover { background: var(--pfl-green-50); }

.pfl-header__nav {
    display: none;
    align-items: center;
    gap: 32px;
    color: var(--pfl-navy-800);
    font-weight: 500;
    font-size: 15px;
}
@media (min-width: 1024px) { .pfl-header__nav { display: flex; } }

.pfl-header__nav-item {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color var(--pfl-t);
}
.pfl-header__nav-item:hover { color: var(--pfl-green); }
.pfl-header__nav-chev { color: var(--pfl-text); opacity: .5; }

.pfl-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pfl-header__lang {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--pfl-border);
    border-radius: var(--pfl-r-full);
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color var(--pfl-t);
}
.pfl-header__lang:hover { background: #f9fafb; }
.pfl-header__flag-pl {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #dc2626;
    overflow: hidden;
    position: relative;
}
.pfl-header__flag-pl-white {
    position: absolute;
    inset: 0;
    background: #fff;
    width: 100%;
    height: 50%;
}
.pfl-header__lang-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--pfl-navy-800);
}

.pfl-header__notif {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--pfl-r-full);
    border: 1px solid var(--pfl-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--pfl-navy-800);
    transition: background-color var(--pfl-t);
}
.pfl-header__notif:hover { background: #f9fafb; }

.pfl-header__notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--pfl-red-500);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: var(--pfl-r-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfl-header__profile {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--pfl-border);
    border-radius: var(--pfl-r-full);
    padding: 4px 8px 4px 4px;
    cursor: pointer;
    transition: background-color var(--pfl-t);
    color: var(--pfl-text);
}
.pfl-header__profile:hover { background: #f9fafb; }
.pfl-header__profile-img {
    width: 32px;
    height: 32px;
    border-radius: var(--pfl-r-full);
    object-fit: cover;
}

.pfl-header__logout {
    width: 40px;
    height: 40px;
    border-radius: var(--pfl-r-full);
    border: 1px solid var(--pfl-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--pfl-green);
    transition: background-color var(--pfl-t);
}
.pfl-header__logout:hover { background: #f9fafb; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.pfl-footer {
    background: var(--pfl-navy-900);
    color: var(--pfl-footer-text);
    padding: 64px 16px 32px;
    position: relative;
}

.pfl-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pfl-footer__top {
    text-align: center;
    margin-bottom: 64px;
}

.pfl-footer__top-heading {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.pfl-footer__top-text { margin-bottom: 32px; }

.pfl-footer__top-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
@media (min-width: 640px) {
    .pfl-footer__top-ctas { flex-direction: row; }
}

.pfl-footer__divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.10);
    margin-bottom: 64px;
}
.pfl-footer__divider--thin { margin-bottom: 24px; }

.pfl-footer__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}
@media (min-width: 768px) {
    .pfl-footer__cols { grid-template-columns: repeat(4, 1fr); }
}

.pfl-footer__col-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pfl-footer__list { font-size: 14px; }
.pfl-footer__list li { margin-bottom: 16px; }
.pfl-footer__list a { transition: color var(--pfl-t); }
.pfl-footer__list a:hover { color: #fff; }

.pfl-footer__logo {
    height: 32px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.pfl-footer__tagline {
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
}

.pfl-footer__desc { font-size: 14px; line-height: 1.6; }

.pfl-footer__socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.pfl-footer__social {
    width: 48px;
    height: 48px;
    border-radius: var(--pfl-r-full);
    background: #fff;
    color: var(--pfl-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--pfl-t);
}
.pfl-footer__social:hover { background: #e5e7eb; }

.pfl-footer__bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    gap: 8px;
    text-align: center;
}
@media (min-width: 768px) {
    .pfl-footer__bottom { flex-direction: row; text-align: left; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING CHAT BUTTON
   ═══════════════════════════════════════════════════════════════════════════ */
.pfl-float-chat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--pfl-green);
    color: #fff;
    border-radius: var(--pfl-r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--pfl-shadow-float);
    transition: background-color var(--pfl-t);
    z-index: 50;
}
.pfl-float-chat:hover { background: var(--pfl-green-hover); }

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL BASE (shared container + backdrop)
   ═══════════════════════════════════════════════════════════════════════════ */
.pfl-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 100;
}
.pfl-modal[hidden] { display: none; }

.pfl-modal--docs { z-index: 110; }

.pfl-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity var(--pfl-t);
}
.pfl-modal--docs .pfl-modal__backdrop { background: rgba(0, 0, 0, 0.6); }

.pfl-modal__inner {
    position: relative;
    background: #fff;
    border-radius: var(--pfl-r-16);
    box-shadow: var(--pfl-shadow-2xl);
    animation: pfl-slide-in 0.2s ease-out;
}

.pfl-modal__close {
    width: 40px;
    height: 40px;
    border-radius: var(--pfl-r-full);
    background: var(--pfl-bg-alt);
    color: var(--pfl-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--pfl-t), color var(--pfl-t);
}
.pfl-modal__close:hover { background: var(--pfl-border); color: var(--pfl-navy-800); }

/* ═══════════════════════════════════════════════════════════════════════════
   FAKTURY 1.17.246 — DANE OPERATORÓW PL/UK I STRIPE W STOPCE
   ═══════════════════════════════════════════════════════════════════════════ */
.pfl-landing-body--faktury .pfl-footer__legal {
    margin: 0 0 48px;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 28px;
    background:
        radial-gradient(circle at 96% 2%, rgba(99, 102, 241, .16), transparent 300px),
        radial-gradient(circle at 3% 100%, rgba(34, 197, 94, .12), transparent 260px),
        rgba(255, 255, 255, .035);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .2);
}
.pfl-landing-body--faktury .pfl-footer__legal-heading {
    max-width: 760px;
    margin-bottom: 28px;
}
.pfl-landing-body--faktury .pfl-footer__legal-heading > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #79eab5;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.pfl-landing-body--faktury .pfl-footer__legal-heading h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(24px, 3.2vw, 34px);
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -.03em;
}
.pfl-landing-body--faktury .pfl-footer__legal-heading p {
    margin: 0;
    color: #b8c5d6;
    font-size: 15px;
    line-height: 1.6;
}
.pfl-landing-body--faktury .pfl-footer__legal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.pfl-landing-body--faktury .pfl-footer__legal-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 350px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 20px;
    background: rgba(255, 255, 255, .055);
    color: #c8d3e0;
}
.pfl-landing-body--faktury .pfl-footer__legal-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.pfl-landing-body--faktury .pfl-footer__legal-card-head > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(121, 234, 181, .24);
    border-radius: 12px;
    background: rgba(121, 234, 181, .09);
    color: #79eab5;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}
.pfl-landing-body--faktury .pfl-footer__legal-card-head > strong {
    color: #b8c5d6;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
}
.pfl-landing-body--faktury .pfl-footer__legal-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 850;
    letter-spacing: -.01em;
}
.pfl-landing-body--faktury .pfl-footer__legal-card--stripe h3 {
    color: #b8a9ff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.05em;
    text-transform: lowercase;
}
.pfl-landing-body--faktury .pfl-footer__legal-card address,
.pfl-landing-body--faktury .pfl-footer__legal-card p,
.pfl-landing-body--faktury .pfl-footer__legal-card li,
.pfl-landing-body--faktury .pfl-footer__legal-card dt,
.pfl-landing-body--faktury .pfl-footer__legal-card dd,
.pfl-landing-body--faktury .pfl-footer__legal-card a {
    font-size: 14px;
    line-height: 1.55;
}
.pfl-landing-body--faktury .pfl-footer__legal-card address {
    margin: 0 0 16px;
    color: #c8d3e0;
    font-style: normal;
}
.pfl-landing-body--faktury .pfl-footer__legal-card dl {
    display: grid;
    gap: 7px;
    margin: 0 0 18px;
}
.pfl-landing-body--faktury .pfl-footer__legal-card dl > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.pfl-landing-body--faktury .pfl-footer__legal-card dt {
    color: #99a9bd;
    font-weight: 650;
}
.pfl-landing-body--faktury .pfl-footer__legal-card dd {
    margin: 0;
    color: #fff;
    font-weight: 800;
    text-align: right;
}
.pfl-landing-body--faktury .pfl-footer__legal-card p {
    margin: 0 0 14px;
    color: #c8d3e0;
}
.pfl-landing-body--faktury .pfl-footer__legal-card ul {
    display: grid;
    gap: 6px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}
.pfl-landing-body--faktury .pfl-footer__legal-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #c8d3e0;
}
.pfl-landing-body--faktury .pfl-footer__legal-card li > span {
    color: #79eab5;
    font-weight: 900;
}
.pfl-landing-body--faktury .pfl-footer__legal-card > a,
.pfl-landing-body--faktury .pfl-footer__legal-card > a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    color: #79eab5;
    font-weight: 800;
    text-decoration: none;
}
.pfl-landing-body--faktury .pfl-footer__legal-card > a:hover {
    color: #a5f3cf;
}
.pfl-landing-body--faktury .pfl-footer__legal-card > a:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 5px;
    border-radius: 4px;
}
.pfl-landing-body--faktury .pfl-footer__bottom {
    font-size: 14px;
    line-height: 1.5;
}
@media (max-width: 980px) {
    .pfl-landing-body--faktury .pfl-footer__legal-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .pfl-landing-body--faktury .pfl-footer__legal-card {
        min-height: 0;
    }
}
@media (max-width: 560px) {
    .pfl-landing-body--faktury .pfl-footer__legal {
        padding: 18px;
        border-radius: 22px;
    }
    .pfl-landing-body--faktury .pfl-footer__legal-card {
        padding: 18px;
    }
    .pfl-landing-body--faktury .pfl-footer__legal-card dl > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }
    .pfl-landing-body--faktury .pfl-footer__legal-card dd {
        text-align: left;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   1.17.248 — NOWOCZESNA I CZYTELNA STOPKA LANDINGU FAKTUR
   ═══════════════════════════════════════════════════════════════════════════ */
.pfl-footer .pfl-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pfl-footer .pfl-footer__list a,
.pfl-footer .pfl-footer__list a:visited {
    color: #dce6f2 !important;
}

.pfl-footer[data-fbz-footer] {
    --pfl-footer-link: #dce6f2;
    --pfl-footer-muted: #aebed1;
    --pfl-footer-line: rgba(255, 255, 255, .11);
    overflow: clip;
    padding: clamp(56px, 7vw, 84px) clamp(14px, 3vw, 28px) 30px;
    background:
        radial-gradient(circle at 8% 5%, rgba(19, 184, 132, .13), transparent 28rem),
        radial-gradient(circle at 92% 24%, rgba(67, 97, 238, .14), transparent 34rem),
        linear-gradient(145deg, #06142d 0%, #081a39 58%, #071631 100%);
    color: var(--pfl-footer-muted);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pfl-footer[data-fbz-footer] .pfl-footer__top-heading,
.pfl-footer[data-fbz-footer] .pfl-footer__legal-heading h2,
.pfl-footer[data-fbz-footer] .pfl-footer__legal-card h3,
.pfl-footer[data-fbz-footer] .pfl-footer__col-title {
    font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
}

.pfl-footer[data-fbz-footer] .pfl-footer__inner {
    width: min(100%, 1280px);
    max-width: none;
}

.pfl-footer[data-fbz-footer] .pfl-footer__top {
    max-width: 780px;
    margin: 0 auto clamp(48px, 6vw, 68px);
}

.pfl-footer[data-fbz-footer] .pfl-footer__top-text {
    max-width: 660px;
    margin: 0 auto 30px;
    color: #c4d0df;
    font-size: 16px;
    line-height: 1.65;
}

.pfl-footer[data-fbz-footer] .pfl-footer__divider {
    margin-bottom: clamp(32px, 4vw, 48px);
    background: var(--pfl-footer-line);
}

.pfl-footer[data-fbz-footer] .pfl-footer__directory {
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid var(--pfl-footer-line);
    border-radius: 30px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025)),
        rgba(4, 17, 39, .42);
    box-shadow:
        0 28px 70px rgba(1, 8, 24, .24),
        inset 0 1px 0 rgba(255, 255, 255, .045);
}

.pfl-footer[data-fbz-footer] .pfl-footer__cols {
    grid-template-columns: minmax(250px, 1.2fr) repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: clamp(28px, 4vw, 46px);
}

.pfl-footer[data-fbz-footer] .pfl-footer__col {
    min-width: 0;
}

.pfl-footer[data-fbz-footer] .pfl-footer__col--brand {
    padding-right: clamp(24px, 3vw, 44px);
}

.pfl-footer[data-fbz-footer] .pfl-footer__brand-link {
    display: inline-flex;
    border-radius: 15px;
    text-decoration: none;
}

.pfl-footer[data-fbz-footer] .pfl-footer__brand-link:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 5px;
}

.pfl-footer[data-fbz-footer] .pfl-footer__logo-surface {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 14px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.pfl-footer[data-fbz-footer] .pfl-footer__logo {
    display: block;
    width: 154px;
    height: auto;
    margin: 0;
    filter: none;
}

.pfl-footer[data-fbz-footer] .pfl-footer__tagline {
    margin: 22px 0 10px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -.01em;
}

.pfl-footer[data-fbz-footer] .pfl-footer__desc {
    max-width: 320px;
    margin: 0;
    color: #c5d1e0;
    font-size: 15px;
    line-height: 1.72;
}

.pfl-footer[data-fbz-footer] .pfl-footer__assurance {
    display: grid;
    gap: 9px;
    margin-top: 22px;
}

.pfl-footer[data-fbz-footer] .pfl-footer__assurance > span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #dce7f3;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.pfl-footer[data-fbz-footer] .pfl-footer__assurance svg {
    flex: 0 0 16px;
    color: #74e6b0;
}

.pfl-footer[data-fbz-footer] .pfl-footer__nav-group {
    margin: 0;
    padding-left: clamp(22px, 2.6vw, 38px);
    border-left: 1px solid rgba(255, 255, 255, .085);
}

.pfl-footer[data-fbz-footer] .pfl-footer__nav-group > summary {
    list-style: none;
}

.pfl-footer[data-fbz-footer] .pfl-footer__nav-group > summary::-webkit-details-marker {
    display: none;
}

.pfl-footer[data-fbz-footer] .pfl-footer__col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
    padding: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.pfl-footer[data-fbz-footer] .pfl-footer__col-title > span::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 11px;
    border-radius: 999px;
    background: linear-gradient(90deg, #53dfa5, #4cb6ef);
}

.pfl-footer[data-fbz-footer] .pfl-footer__col-title > svg {
    display: none;
    flex: 0 0 18px;
    color: #8fa4bc;
}

.pfl-footer[data-fbz-footer] .pfl-footer__list {
    display: grid;
    gap: 2px;
    font-size: 15px;
}

.pfl-footer[data-fbz-footer] .pfl-footer__list li {
    margin: 0;
}

.pfl-footer[data-fbz-footer] .pfl-footer__list a,
.pfl-footer[data-fbz-footer] .pfl-footer__list a:visited {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-height: 37px;
    padding: 7px 0;
    color: var(--pfl-footer-link) !important;
    font-size: 15px;
    line-height: 1.48;
    font-weight: 560;
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color .18s ease, transform .18s ease;
}

.pfl-footer[data-fbz-footer] .pfl-footer__list a::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    margin-top: .55em;
    border-radius: 50%;
    background: #66809d;
    transition: background-color .18s ease, box-shadow .18s ease;
}

.pfl-footer[data-fbz-footer] .pfl-footer__list a:hover,
.pfl-footer[data-fbz-footer] .pfl-footer__list a[aria-current="page"] {
    color: #ffffff !important;
    transform: translateX(3px);
}

.pfl-footer[data-fbz-footer] .pfl-footer__list a:hover::before,
.pfl-footer[data-fbz-footer] .pfl-footer__list a[aria-current="page"]::before {
    background: #67e3ad;
    box-shadow: 0 0 0 4px rgba(103, 227, 173, .12);
}

.pfl-footer[data-fbz-footer] .pfl-footer__list a:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 3px;
    border-radius: 4px;
    color: #ffffff !important;
}

.pfl-footer[data-fbz-footer] .pfl-footer__community {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px clamp(28px, 4vw, 46px);
    border-top: 1px solid var(--pfl-footer-line);
    background: rgba(255, 255, 255, .025);
}

.pfl-footer[data-fbz-footer] .pfl-footer__community-copy > span {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
}

.pfl-footer[data-fbz-footer] .pfl-footer__community-copy p {
    margin: 0;
    color: #aebed1;
    font-size: 14px;
    line-height: 1.5;
}

.pfl-footer[data-fbz-footer] .pfl-footer__socials {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin: 0;
}

.pfl-footer[data-fbz-footer] .pfl-footer__social,
.pfl-footer[data-fbz-footer] .pfl-footer__social:visited {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .065);
    color: #e9f1fa !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pfl-footer[data-fbz-footer] .pfl-footer__social:hover {
    border-color: #45d49c;
    background: #087c61;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(4, 93, 71, .28);
    transform: translateY(-2px);
}

.pfl-footer[data-fbz-footer] .pfl-footer__social:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 4px;
}

.pfl-footer[data-fbz-footer] .pfl-footer__legal {
    margin-top: 0;
}

.pfl-footer[data-fbz-footer] .pfl-footer__bottom {
    color: #aebed1;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 1120px) {
    .pfl-footer[data-fbz-footer] .pfl-footer__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__col--brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 28px;
        padding: 0 0 30px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__brand-link {
        grid-row: 1 / 4;
        align-self: start;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__tagline {
        margin-top: 0;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__desc {
        max-width: 720px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__assurance {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 22px;
        margin-top: 15px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__nav-group:nth-child(2) {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .pfl-footer[data-fbz-footer] {
        padding: 48px 12px 24px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__directory {
        border-radius: 24px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__cols {
        grid-template-columns: minmax(0, 1fr);
        padding: 22px 20px 4px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__col--brand {
        grid-column: auto;
        display: block;
        padding: 0 0 24px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__brand-link {
        display: inline-flex;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__tagline {
        margin-top: 20px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__assurance {
        display: grid;
        gap: 9px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__nav-group,
    .pfl-footer[data-fbz-footer] .pfl-footer__nav-group:nth-child(2) {
        padding: 0;
        border-top: 1px solid var(--pfl-footer-line);
        border-left: 0;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__col-title {
        min-height: 56px;
        margin: 0;
        cursor: pointer;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__col-title > span::after {
        display: none;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__col-title > svg {
        display: block;
        transition: transform .18s ease;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__nav-group[open] .pfl-footer__col-title > svg {
        transform: rotate(180deg);
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__list {
        padding: 0 0 16px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__list a {
        min-height: 42px;
        padding: 9px 2px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__community {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__socials {
        justify-content: flex-start;
        width: 100%;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__bottom {
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .pfl-footer[data-fbz-footer] .pfl-footer__socials {
        display: grid;
        grid-template-columns: repeat(4, 42px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pfl-footer[data-fbz-footer] .pfl-footer__list a,
    .pfl-footer[data-fbz-footer] .pfl-footer__social,
    .pfl-footer[data-fbz-footer] .pfl-footer__col-title > svg {
        transition: none;
    }

    .pfl-footer[data-fbz-footer] .pfl-footer__list a:hover,
    .pfl-footer[data-fbz-footer] .pfl-footer__list a[aria-current="page"],
    .pfl-footer[data-fbz-footer] .pfl-footer__social:hover {
        transform: none;
    }
}

/* E56: public PL/EN registration guide, scoped to its own partial. */
.pfl-account-guide{color:#14273d;background:#f5f9fd;font-family:Manrope,Arial,sans-serif;line-height:1.6}
.pfl-account-guide *{box-sizing:border-box}
.pfl-account-guide__wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto}
.pfl-account-guide__hero{padding:72px 0 64px;background:linear-gradient(130deg,#f5faff 0%,#eaf9f5 55%,#f4fce8 100%);border-bottom:1px solid #d8e7e7}
.pfl-account-guide__eyebrow{margin:0 0 12px;color:#087f72;font-size:.88rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.pfl-account-guide h1{max-width:760px;margin:0 0 18px;color:#102a44;font-size:clamp(2.1rem,4.2vw,3.8rem);line-height:1.12;letter-spacing:-.035em}
.pfl-account-guide__hero p:not(.pfl-account-guide__eyebrow){max-width:760px;margin:0 0 8px;font-size:1.08rem;color:#40566b}
.pfl-account-guide__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.pfl-account-guide__primary,.pfl-account-guide__secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border-radius:12px;font-weight:800;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.pfl-account-guide__primary{color:#fff!important;background:#07866a;box-shadow:0 8px 24px #067d6a2b}
.pfl-account-guide__secondary{color:#12354b!important;background:#fff;border:1px solid #b9d2d3}
.pfl-account-guide__primary:hover,.pfl-account-guide__secondary:hover{transform:translateY(-2px)}
.pfl-account-guide__primary:focus-visible,.pfl-account-guide__secondary:focus-visible{outline:3px solid #1367d3;outline-offset:3px}
.pfl-account-guide__steps{padding-block:56px 72px;display:grid;gap:28px}
.pfl-account-guide__step{overflow:hidden;background:#fff;border:1px solid #dce8ed;border-radius:22px;box-shadow:0 14px 40px #173d5910;padding:30px}
.pfl-account-guide__step-heading{display:flex;align-items:flex-start;gap:20px;max-width:900px;margin-bottom:22px}
.pfl-account-guide__number{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;background:#07866a;font-size:1.1rem;font-weight:800}
.pfl-account-guide h2{margin:0 0 8px;color:#102a44;font-size:clamp(1.35rem,2.3vw,2rem);line-height:1.25}
.pfl-account-guide__description{color:#40566b;font-size:1rem}
.pfl-account-guide__description .info{margin-top:14px;padding:14px 16px;border-radius:12px;background:#e8f7f1;border-left:4px solid #07866a}
.pfl-account-guide figure{margin:0;border:1px solid #e1e9ef;border-radius:14px;overflow:hidden;background:#f5f8fb}
.pfl-account-guide figure img{display:block;width:100%;height:auto}
.pfl-account-guide__legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:20px 0 0;padding-left:24px;color:#40566b}
.pfl-account-guide__legend li{padding-left:4px}
.pfl-account-guide__legend b{display:inline-grid;place-items:center;width:22px;height:22px;margin-right:5px;border-radius:50%;color:#fff;background:#1673b8;font-size:.8rem}
.pfl-account-guide__end{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:30px;border-radius:20px;background:#e4f7ed}
.pfl-account-guide__end p{margin:0;font-size:1.4rem;font-weight:800}
@media(max-width:640px){.pfl-account-guide__wrap{width:min(100% - 28px,1160px)}.pfl-account-guide__hero{padding:36px 0 42px}.pfl-account-guide__actions{flex-direction:column}.pfl-account-guide__actions a{width:100%}.pfl-account-guide__steps{padding-block:26px 46px;gap:16px}.pfl-account-guide__step{padding:18px;border-radius:16px}.pfl-account-guide__step-heading{gap:12px}.pfl-account-guide__number{width:34px;height:34px}.pfl-account-guide__legend{grid-template-columns:1fr}.pfl-account-guide__end{flex-direction:column;align-items:stretch}.pfl-account-guide__end a{text-align:center}}
