/* Publiczna strona produktu (layouts/public). Bazuje na Tablerze; tutaj tylko wygląd sekcji marketingowych
   i makiet ekranów. Bez stylów inline w HTML (CSP) — wszystko przez klasy. */

:root {
    --site-ink: #0f172a;
    --site-text: #334155;
    --site-muted: #64748b;
    --site-border: #e5eaf2;
    --site-tint: #f6f8fc;
    --site-primary: var(--brand-blue);
    --site-primary-2: var(--brand-violet);
    --site-primary-soft: #eaf1ff;
    --site-radius: 1rem;
    --site-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
    --site-shadow-lg: 0 24px 60px rgba(15, 23, 42, .14), 0 4px 12px rgba(15, 23, 42, .06);
}

body.site { background: #fff; color: var(--site-text); font-size: .95rem; overflow-x: clip; }
/* Szerokie odstępy siatki (g-5) są większe niż margines kontenera — na wąskich ekranach ograniczamy je do g-4. */
@media (max-width: 991.98px) { .site .row.g-5 { --tblr-gutter-x: 1.5rem; --tblr-gutter-y: 2rem; } }
.site h1, .site h2, .site h3 { color: var(--site-ink); letter-spacing: -.01em; }
.site a { text-decoration: none; }
.site .btn-lg { padding: .75rem 1.25rem; font-weight: 600; border-radius: .7rem; }
/* Kolor przycisków głównych pochodzi z --tblr-primary (brand.css) — taki sam jak w aplikacji. */


/* Pasek nawigacji */
.site-navbar { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--site-border); min-height: 4.25rem; }
.site-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: var(--site-ink) !important; }
.site-navbar .nav-link { font-weight: 500; color: var(--site-text); padding-inline: .85rem !important; border-radius: .5rem; }
.site-navbar .nav-link:hover, .site-navbar .nav-item.active .nav-link { color: var(--site-primary); background: var(--site-primary-soft); }
@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse { padding-block: .5rem; }
    .site-navbar .navbar-nav { margin-top: .5rem; }
}
html:not(.js) .site-navbar .navbar-collapse.collapse { display: block; }
html:not(.js) .site-navbar .navbar-toggler { display: none; }

/* Elementy wspólne */
.site-eyebrow { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: var(--site-primary-soft);
    color: var(--site-primary); font-weight: 600; font-size: .8rem; margin-bottom: 1rem; }
.site-h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.site-h3 { font-size: 1.15rem; font-weight: 700; margin-block: 1rem .5rem; }
.site-lead { font-size: 1.08rem; color: var(--site-muted); line-height: 1.65; }
.site-link { font-weight: 600; color: var(--site-primary); display: inline-flex; align-items: center; }
.site-link:hover { gap: .15rem; }
.site-btn-soft { background: #fff; border: 1px solid var(--site-border); color: var(--site-ink); box-shadow: var(--site-shadow); }
.site-btn-soft:hover { border-color: var(--site-primary); color: var(--site-primary); }

.site-section { padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); }
.site-section--tint { background: var(--site-tint); }
.site-section--dark { background: linear-gradient(135deg, #0b1220 0%, var(--brand-navy) 100%); color: #cbd5e1; padding-block: 3.5rem; }
.site-section__head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }

.site-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .8rem;
    background: var(--site-primary-soft); color: var(--site-primary); font-size: 1.4rem; flex-shrink: 0; }
.site-icon--lg { width: 3.5rem; height: 3.5rem; font-size: 1.8rem; border-radius: 1rem; }
.site-icon--soft-red { background: #fff1f2; color: #e11d48; }
.site-icon--soft-green { background: #ecfdf5; color: #059669; }

.site-card { display: block; background: #fff; border: 1px solid var(--site-border); border-radius: var(--site-radius); padding: 1.75rem; box-shadow: var(--site-shadow); color: var(--site-text); }
.site-card h3 { font-size: 1.1rem; font-weight: 700; margin-block: 1rem .5rem; }
.site-card p { color: var(--site-muted); line-height: 1.6; }
.site-card--compact { padding: 1.25rem; display: flex; gap: .9rem; align-items: center; }
.site-card--compact.text-center, .site-card--compact .mx-auto { flex-direction: column; }
.site-card--link { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.site-card--link:hover { transform: translateY(-4px); box-shadow: var(--site-shadow-lg); border-color: #c7d7fe; color: var(--site-text); }
.site-card__more { display: inline-flex; align-items: center; font-weight: 600; color: var(--site-primary); font-size: .875rem; }
.site-card--industry .site-points { margin-top: 1rem; }

.site-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-checks li { display: flex; align-items: flex-start; gap: .45rem; color: var(--site-text); }
.site-checks i { color: #10b981; font-size: 1.15rem; margin-top: .05rem; }
.site-checks--stack { flex-direction: column; gap: .7rem; margin-bottom: 1.5rem; }

.site-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
@media (min-width: 768px) { .site-card > .site-points:not(.site-points--small) { grid-template-columns: 1fr 1fr; column-gap: 1.75rem; } }
.site-points li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.5; }
.site-points i { flex-shrink: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--site-primary-soft); color: var(--site-primary);
    display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; margin-top: .05rem; }
.site-points--small { gap: .55rem; font-size: .9rem; }

.site-chip { display: inline-flex; align-items: center; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--site-border);
    color: var(--site-text); font-weight: 500; font-size: .875rem; transition: border-color .15s, color .15s; }
.site-chip:hover { border-color: var(--site-primary); color: var(--site-primary); }

/* Hero */
.site-hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
    } /* tło: .brand-surface (brand.css) — jak panel logowania */
.site-hero__title { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 1.25rem;
    color: #fff; }
.site-hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgba(255, 255, 255, .85); line-height: 1.6; margin-bottom: 2rem; max-width: 36rem; }
.site-hero .site-checks li { color: rgba(255, 255, 255, .9); }
.site-hero .site-checks i { color: #86efac; }
.site-btn-on-brand { color: var(--brand-blue-dark) !important; font-weight: 700; }
.site-btn-glass { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.site-btn-glass:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: rgba(255, 255, 255, .45); }

.site-strip { padding-block: 1.5rem; border-block: 1px solid var(--site-border); background: #fff; }
.site-strip__label { font-weight: 600; color: var(--site-muted); margin-inline-end: .5rem; }

.site-page-hero { padding-block: clamp(3rem, 2rem + 4vw, 5rem) 3rem; } /* tło: .brand-surface (brand.css) — jak panel logowania */
.site .site-page-hero__title, .site .site-hero__title { color: #fff; }
.site-page-hero .text-secondary, .site-hero .text-secondary { color: rgba(255, 255, 255, .75) !important; }
.site-page-hero .site-eyebrow, .site-hero .site-eyebrow { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.site-page-hero a:not(.btn) { color: #fff; text-decoration: underline; }
.site-page-hero--compact { padding-bottom: 2rem; }
/* Treść zaraz pod ciemnym nagłówkiem (dokumenty, cennik) — odstęp, żeby tekst nie przyklejał się do gradientu. */
.site-page-hero + .site-section.pt-0 { padding-top: 2.5rem !important; }
.site-page-hero__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1rem; }
.site-page-hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .85); line-height: 1.6; margin-bottom: 0; }

.site-jump { position: sticky; top: 4.25rem; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-block: 1px solid var(--site-border); }
.site-jump__list { display: flex; gap: .5rem; overflow-x: auto; padding-block: .75rem; scrollbar-width: thin; }
.site-jump__list .site-chip { white-space: nowrap; }
.site-feature { scroll-margin-top: 8rem; }

/* Fakty, kroki, oś czasu */
.site-fact b { display: block; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; color: #fff; line-height: 1.1;
    background: linear-gradient(135deg, #93c5fd, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-fact span { display: block; margin-top: .35rem; font-size: .9rem; }
.site-fact--light b { background: none; color: var(--site-ink); -webkit-text-fill-color: currentColor; font-size: 2rem; }
.site-fact--light span { color: var(--site-muted); }

.site-step { position: relative; background: #fff; border: 1px solid var(--site-border); border-radius: var(--site-radius); padding: 2rem 1.75rem 1.75rem; box-shadow: var(--site-shadow); }
.site-step h3 { font-size: 1.1rem; font-weight: 700; margin-block: 1rem .5rem; }
.site-step p { color: var(--site-muted); margin: 0; }
.site-step__no { position: absolute; top: 1.25rem; left: 1.5rem; font-size: 2.5rem; font-weight: 800; line-height: 1; color: #e2e8f0; }

.site-flow { position: relative; max-width: 46rem; margin: 0 auto; padding: 0; }
.site-flow::before { content: ""; position: absolute; right: 1.4rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(#c7d2fe, #a5b4fc); }
.site-flow__item { position: relative; display: flex; gap: 1.25rem; padding-bottom: 1.5rem; }
.site-flow__item:last-child { padding-bottom: 0; }
.site-flow__dot { position: relative; z-index: 1; flex-shrink: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--site-primary); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 0 0 6px var(--site-tint); }
.site-flow__card { flex: 1; background: #fff; border: 1px solid var(--site-border); border-radius: var(--site-radius); padding: 1.1rem 1.35rem; box-shadow: var(--site-shadow); }
.site-flow__card h3 { font-size: 1.05rem; font-weight: 700; margin: .1rem 0 .35rem; }
.site-flow__card p { color: var(--site-muted); }
.site-flow__no { color: var(--site-primary); font-weight: 700; font-size: .75rem; }

/* Pytania */
.site-faq { display: grid; gap: .75rem; }
.site-faq__item { background: #fff; border: 1px solid var(--site-border); border-radius: .85rem; box-shadow: var(--site-shadow); }
.site-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.1rem 1.35rem; font-weight: 600; color: var(--site-ink); }
.site-faq__item summary::-webkit-details-marker { display: none; }
.site-faq__item summary i { transition: transform .2s ease; color: var(--site-muted); }
.site-faq__item[open] summary i { transform: rotate(180deg); color: var(--site-primary); }
.site-faq__item p { padding: 0 1.35rem 1.2rem; margin: 0; color: var(--site-muted); line-height: 1.65; }

/* Zachęta */
.site-cta { padding-block: 0 clamp(3.5rem, 2rem + 4vw, 5.5rem); }
.site-section + .site-cta, .site-section--tint + .site-cta { padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
.site-cta__box { border-radius: 1.5rem; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); color: #e0e7ff;
    box-shadow: var(--site-shadow-lg); } /* tło: .brand-surface (brand.css) */
.site-cta__title { color: #fff !important; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 800; margin-bottom: .75rem; }
.site-cta__lead { font-size: 1.05rem; color: #c7d2fe; }
.site-cta .btn-light { color: #1d4ed8; }

/* Dokumenty i błędy */
.site-legal h2 { font-size: 1.2rem; font-weight: 700; margin-top: 1.75rem; }
.site-legal h2:first-child { margin-top: 0; }
.site-legal p { color: var(--site-text); line-height: 1.7; }
.site-error { min-height: 55vh; display: flex; align-items: center; }
.site-error__code { font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 900; line-height: 1; margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--site-primary), var(--site-primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-error__debug { background: #0f172a; color: #e2e8f0; padding: 1rem; border-radius: .75rem; font-size: .8rem; white-space: pre-wrap; }

/* Stopka */
.site-footer { background: #0b1220; color: #94a3b8; padding-block: 4rem 2rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-brand--footer { color: #fff !important; font-size: 1.15rem; }
.site-footer__muted { color: #94a3b8; max-width: 22rem; line-height: 1.6; }
.site .site-footer__title { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 1rem; }
.site-footer__links li + li { margin-top: .55rem; }
.site-footer__bottom { border-top: 1px solid rgba(148, 163, 184, .15); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; }
.site-footer .form-select { background-color: #111a2e; border-color: #1e293b; color: #cbd5e1; }

/* ===== Makiety ekranów (ilustracje, dane przykładowe) ===== */
.mock-stage { position: relative; padding: 1rem 0 2.5rem; }
.mock { background: #fff; border: 1px solid var(--site-border); border-radius: 1rem; box-shadow: var(--site-shadow-lg); overflow: hidden; font-size: .8rem; color: var(--site-text); }
.mock--app { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: right center; }
@media (max-width: 991.98px) { .mock--app { transform: none; } }
.mock__chrome { display: flex; align-items: center; gap: .35rem; padding: .6rem .8rem; background: #f8fafc; border-bottom: 1px solid var(--site-border); }
.mock__chrome > span { width: .6rem; height: .6rem; border-radius: 50%; background: #e2e8f0; }
.mock__chrome > span:nth-child(1) { background: #fca5a5; }
.mock__chrome > span:nth-child(2) { background: #fcd34d; }
.mock__chrome > span:nth-child(3) { background: #86efac; }
.mock__url { margin-inline-start: .75rem; flex: 1; background: #fff; border: 1px solid var(--site-border); border-radius: .4rem; padding: .15rem .6rem; color: var(--site-muted); font-size: .7rem; max-width: 16rem; }
.mock__bar { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-bottom: 1px solid var(--site-border); }
.mock__bar strong { color: var(--site-ink); font-size: .9rem; }
.mock__logo { width: 1.6rem; height: 1.6rem; border-radius: .45rem; background: var(--site-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mock__search { margin-inline-start: auto; display: inline-flex; align-items: center; gap: .35rem; color: var(--site-muted); background: #f1f5f9; border-radius: .45rem; padding: .3rem .6rem; font-size: .72rem; }
@media (max-width: 575.98px) { .mock__search { display: none; } }
.mock__btn { width: 1.6rem; height: 1.6rem; border-radius: .45rem; background: var(--site-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 575.98px) { .mock__btn { margin-inline-start: auto; } }
.mock__body { padding: 1rem; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .9rem; }
.mock__kpi { border: 1px solid var(--site-border); border-radius: .6rem; padding: .55rem .7rem; }
.mock__kpi small { display: block; color: var(--site-muted); font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__kpi b { font-size: 1.05rem; color: var(--site-ink); }
.mock__kpi--accent { background: linear-gradient(135deg, #eff6ff, #f5f3ff); border-color: #dbeafe; }
.mock__list { border: 1px solid var(--site-border); border-radius: .6rem; overflow: hidden; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .75rem; }
.mock__row + .mock__row { border-top: 1px solid var(--site-border); }
.mock__row-main { min-width: 0; }
.mock__row-main b { display: block; color: var(--site-ink); font-size: .78rem; }
.mock__row-main span { display: block; color: var(--site-muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__pill { flex-shrink: 0; border-radius: 999px; padding: .2rem .55rem; font-size: .68rem; font-weight: 600; white-space: nowrap; }
.mock__pill--orange { background: #fff7ed; color: #c2410c; }
.mock__pill--blue { background: #eff6ff; color: #1d4ed8; }
.mock__pill--purple { background: #f5f3ff; color: #6d28d9; }
.mock__pill--green { background: #ecfdf5; color: #047857; }
.mock__pill--indigo { background: #eef2ff; color: #4338ca; }
/* Makieta jak prawdziwa lista zleceń: pasek statusów, ikony urządzeń w kolorze statusu, mini etapy i termin. */
.mock__pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; margin-bottom: .8rem; }
.mock__tile { position: relative; padding: .45rem .5rem .55rem; border: 1px solid var(--site-border); border-radius: .55rem; overflow: hidden; min-width: 0; }
.mock__tile small { display: flex; align-items: center; gap: .25rem; color: var(--site-muted); font-size: .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__tile small i { flex: none; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
.mock__tile b { display: block; font-size: 1rem; color: var(--site-ink); line-height: 1.2; }
.mock__tile::after { content: ""; position: absolute; right: 0; bottom: 0; height: 2px; width: 45%; background: currentColor; }
.mock__tile--all { background: linear-gradient(135deg, var(--brand-blue), #4338ca); border-color: transparent; color: #fff; }
.mock__tile--all small, .mock__tile--all b { color: #fff; }
.mock__tile--all::after { display: none; }
.mock__tile--blue { color: #2563eb; } .mock__tile--purple { color: #7c3aed; } .mock__tile--indigo { color: #4f46e5; } .mock__tile--green { color: #059669; }
@media (max-width: 575.98px) { .mock__pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mock__tile:nth-child(n+4) { display: none; } }
.mock__row { justify-content: flex-start; }
.mock__avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: .5rem; font-size: 1rem; }
.mock__avatar--orange { background: #fff7ed; color: #c2410c; } .mock__avatar--indigo { background: #eef2ff; color: #4338ca; }
.mock__avatar--purple { background: #f5f3ff; color: #6d28d9; } .mock__avatar--green { background: #ecfdf5; color: #047857; }
.mock__row-main { flex: 1; }
.mock__row-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.mock__stages { display: inline-flex; gap: 2px; }
.mock__stages i { width: .55rem; height: 3px; border-radius: 2px; background: #e2e8f0; }
.mock__stages .is-done { background: #10b981; }
.mock__stages .is-current { background: var(--brand-blue); }
.mock__due { font-size: .62rem; color: var(--site-muted); white-space: nowrap; }
.mock__due--warn { color: #c2410c; font-weight: 700; }
.mock__due--ok { color: #047857; font-weight: 700; }

.mock-float { position: absolute; background: #fff; border: 1px solid var(--site-border); border-radius: .9rem; box-shadow: var(--site-shadow-lg); font-size: .78rem; }
.mock-float--sms { right: -1.25rem; bottom: 0; max-width: 17rem; display: flex; gap: .65rem; padding: .75rem .85rem; animation: site-float 6s ease-in-out infinite; }
.mock-float--sms small { font-weight: 700; color: var(--site-primary); }
.mock-float--sms p { margin: .1rem 0 0; color: var(--site-text); line-height: 1.4; }
.mock-float__icon { width: 2rem; height: 2rem; border-radius: .6rem; background: var(--site-primary-soft); color: var(--site-primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.mock-float--ok { left: -.75rem; top: 0; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; font-weight: 600; color: #047857; animation: site-float 7s ease-in-out infinite reverse; }
.mock-float--ok i { font-size: 1.1rem; }
@media (max-width: 575.98px) { .mock-float--sms { right: .5rem; left: .5rem; max-width: none; } .mock-float--ok { left: .5rem; } }
@keyframes site-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .mock-float { animation: none; } .site-card--link:hover { transform: none; } }

.site-showcase__visual { position: relative; padding: clamp(1rem, 3vw, 2.5rem); border-radius: 1.5rem;
    background: radial-gradient(400px 260px at 80% 10%, #e0e7ff, transparent 70%), radial-gradient(400px 260px at 10% 90%, #dbeafe, transparent 70%), var(--site-tint); }
.site-showcase__visual .mock { max-width: 26rem; margin-inline: auto; }

.mock__title { display: flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--site-ink); font-size: .95rem; margin-bottom: .8rem; }
.mock__title i { color: var(--site-primary); }
.mock__steps { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: .25rem; }
.mock__steps li { text-align: center; position: relative; }
.mock__steps li span { width: 1.5rem; height: 1.5rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700;
    background: #f1f5f9; color: var(--site-muted); }
.mock__steps li small { display: block; font-size: .6rem; color: var(--site-muted); margin-top: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__steps .is-done span { background: #10b981; color: #fff; }
.mock__steps .is-current span { background: var(--site-primary); color: #fff; box-shadow: 0 0 0 4px var(--site-primary-soft); }
.mock__steps .is-current small { color: var(--site-primary); font-weight: 700; }
.mock__device { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: .6rem; background: var(--site-primary-soft); margin-bottom: .7rem; }
.mock__device i { font-size: 1.4rem; color: var(--site-primary); }
.mock__device b { display: block; color: var(--site-ink); }
.mock__device small { color: var(--site-muted); font-family: var(--tblr-font-monospace); font-size: .68rem; }
.mock__check { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; border-bottom: 1px dashed var(--site-border); }
.mock__seg { display: inline-flex; border: 1px solid var(--site-border); border-radius: .45rem; overflow: hidden; }
.mock__seg b { padding: .15rem .5rem; font-size: .68rem; color: var(--site-muted); font-weight: 600; }
.mock__seg b + b { border-right: 1px solid var(--site-border); }
.mock__seg .is-ok { background: #10b981; color: #fff; }
.mock__seg .is-nok { background: #ef4444; color: #fff; }
.mock__lock { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; padding: .55rem .7rem; border-radius: .6rem; border: 1px solid var(--site-border); font-family: var(--tblr-font-monospace); }
.mock__lock small { margin-inline-start: auto; color: #059669; font-size: 1rem; }

.mock--phone { max-width: 17rem !important; border-radius: 2rem; border: 8px solid #0f172a; padding-top: .5rem; }
.mock__notch { width: 5rem; height: .9rem; background: #0f172a; border-radius: 0 0 .6rem .6rem; margin: -.5rem auto .25rem; }
.mock__shop { display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; color: var(--site-ink); }
.mock__muted { color: var(--site-muted); font-size: .7rem; }
.mock__timeline { list-style: none; padding: 0; margin: .9rem 0; }
.mock__timeline li { position: relative; padding: 0 1.4rem .7rem 0; color: var(--site-muted); font-size: .75rem; }
.mock__timeline li::before { content: ""; position: absolute; right: 0; top: .15rem; width: .75rem; height: .75rem; border-radius: 50%; background: #e2e8f0; }
.mock__timeline li:not(:last-child)::after { content: ""; position: absolute; right: .33rem; top: .95rem; bottom: 0; width: 2px; background: #e2e8f0; }
.mock__timeline .is-done { color: var(--site-text); }
.mock__timeline .is-done::before { background: #10b981; }
.mock__timeline .is-current { color: var(--site-primary); font-weight: 700; }
.mock__timeline .is-current::before { background: var(--site-primary); box-shadow: 0 0 0 3px var(--site-primary-soft); }
.mock__quote { display: flex; justify-content: space-between; gap: .5rem; padding: .65rem .7rem; border-radius: .6rem; background: #f8fafc; border: 1px solid var(--site-border); margin-bottom: .7rem; }
.mock__quote b { color: var(--site-ink); white-space: nowrap; }
.mock__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.mock__action { text-align: center; padding: .45rem; border-radius: .5rem; border: 1px solid var(--site-border); font-weight: 600; font-size: .72rem; color: var(--site-muted); }
.mock__action--yes { background: #10b981; border-color: #10b981; color: #fff; }

.mock__line { display: flex; justify-content: space-between; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid var(--site-border); }
.mock__line b { color: var(--site-ink); white-space: nowrap; }
.mock__line--muted span, .mock__line--muted b { color: #059669; }
.mock__total { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem 0; }
.mock__total span { font-weight: 600; color: var(--site-ink); }
.mock__total b { font-size: 1.35rem; color: var(--site-ink); }
.mock__pay { display: flex; gap: .4rem; margin-bottom: .8rem; }
.mock__chip { display: inline-flex; align-items: center; justify-content: center; min-width: 2.2rem; padding: .3rem .5rem; border-radius: .45rem; border: 1px solid var(--site-border); font-weight: 700; font-size: .7rem; }
.mock__cta { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem; border-radius: .6rem; background: var(--site-primary); color: #fff; font-weight: 700; }

/* Formularze w stopce i komunikaty na publicznych stronach */
.site .alert { border-radius: .75rem; }

/* Margines kontenera ≥ połowa odstępu siatki — wiersze z g-4/g-5 nie wystają poza ekran (bez poziomego przewijania). */
.site .container-xl { padding-inline: 1rem; }
@media (min-width: 992px) { .site .container-xl { padding-inline: 1.5rem; } }
/* Kafelki urządzeń (3 w rzędzie) na telefonie: mniejszy margines wewnętrzny, etykieta może się złamać. */
@media (max-width: 575.98px) { .site-card--compact.text-center { padding: .9rem .4rem; } .site-card--compact .fw-semibold { font-size: .8rem; overflow-wrap: anywhere; } }

/* ===== Portal klienta (layouts/portal) ===== */
body.portal { background: var(--site-tint); display: flex; flex-direction: column; min-height: 100vh; }
.portal .site-navbar { background: #fff; }
.portal-logo { max-height: 36px; width: auto; }
.portal-initial { width: 2.1rem; height: 2.1rem; border-radius: .6rem; background: var(--site-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.portal-brand-name { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-main { flex: 1; padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.portal-footer { padding-block: 1.5rem; text-align: center; color: var(--site-muted); font-size: .85rem; border-top: 1px solid var(--site-border); background: #fff; }
.portal-lookup { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
#f-code { font-family: var(--tblr-font-monospace); text-transform: uppercase; letter-spacing: .08em; }
.portal-branch__list li { display: flex; gap: .6rem; align-items: flex-start; padding-block: .3rem; }
.portal-branch__list i { color: var(--site-primary); font-size: 1.1rem; margin-top: .1rem; flex-shrink: 0; }
.portal-order__number { font-family: var(--tblr-font-monospace); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin: .1rem 0 0; }
.portal-order__status .status-badge { font-size: .95rem; padding: .35rem .85rem; }
.portal-fact { display: flex; gap: .75rem; align-items: center; padding: .85rem 1rem; border-radius: .8rem; background: var(--site-tint); border: 1px solid var(--site-border); height: 100%; }
.portal-fact i { font-size: 1.4rem; color: var(--site-primary); }
.portal-fact small { display: block; color: var(--site-muted); font-size: .75rem; }
.portal-fact b { color: var(--site-ink); overflow-wrap: anywhere; }
.portal-fact--pay { background: #fff7ed; border-color: #fed7aa; }
.portal-fact--pay i { color: #c2410c; }
.portal-quote--pending { border: 2px solid var(--site-primary); box-shadow: 0 0 0 6px var(--site-primary-soft), var(--site-shadow); }
.portal-items { border: 1px solid var(--site-border); border-radius: .8rem; overflow: hidden; }
.portal-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; }
.portal-item + .portal-item { border-top: 1px solid var(--site-border); }
.portal-item__name { min-width: 0; color: var(--site-ink); font-weight: 500; }
.portal-item__amount { white-space: nowrap; color: var(--site-ink); }
.portal-item--total { background: var(--site-tint); font-weight: 700; color: var(--site-ink); }
.portal-item--total b { font-size: 1.25rem; }
.portal-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.portal-timeline__item { position: relative; padding: 0 1.6rem 1.1rem 0; }
.portal-timeline__item::before { content: ""; position: absolute; right: 0; top: .35rem; width: .8rem; height: .8rem; border-radius: 50%; background: #cbd5e1; }
.portal-timeline__item:not(:last-child)::after { content: ""; position: absolute; right: .35rem; top: 1.25rem; bottom: 0; width: 2px; background: var(--site-border); }
.portal-timeline__item.is-latest::before { background: var(--site-primary); box-shadow: 0 0 0 4px var(--site-primary-soft); }
.portal-timeline__meta { font-size: .75rem; color: var(--site-muted); margin-bottom: .25rem; }
@media (min-width: 992px) { .portal-aside { position: sticky; top: 1.5rem; } }
.pre-line { white-space: pre-line; }
/* Status zlecenia (kolor z data-color ustawia app.js — CSP blokuje style inline). */
.status-badge { --status-color: #64748b; display: inline-flex; align-items: center; gap: .4em; padding: 2px .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
    color: var(--status-color); background: color-mix(in srgb, var(--status-color) 14%, transparent); border: 1px solid color-mix(in srgb, var(--status-color) 35%, transparent); white-space: nowrap; }
.status-badge::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--status-color); }
.portal-item--head { padding-block: .5rem; background: var(--site-tint); color: var(--site-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }

/* Przełącznik języka: z JS wysyła się sam (przycisk „Zmień" tylko bez JS); w pasku portalu nie łamie się pod logo. */
.js [data-autosubmit-hide] { display: none; }
.portal .site-navbar .container-xl { flex-wrap: nowrap; gap: .75rem; }
.portal .site-navbar .site-brand { min-width: 0; }
@media (max-width: 575.98px) { .portal .site-navbar .ti-world { display: none; } .portal-brand-name { max-width: 9rem; } }
.portal-item .badge { white-space: normal; text-align: start; }

/* Formularz kontaktowy: pole-pułapka dla botów niewidoczne dla ludzi; większy margines karty formularza. */
.hp-field { position: absolute !important; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.site-contact { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); scroll-margin-top: 6rem; }
.site-about p { font-size: 1.05rem; line-height: 1.75; color: var(--site-text); }
.site-about p:last-child { margin-bottom: 0; }

/* Widżet śledzenia w ramce na stronie serwisu: przezroczyste tło (wtapia się w stronę), bez nagłówka i stopki portalu. */
.embed-html, .embed-body { background: transparent !important; height: auto; min-height: 0; }
.embed-main { padding: 4px; }
.embed-card { margin: 0; }
.embed-history li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .3rem 0; }
.embed-powered { margin: .5rem 0 0; text-align: center; font-size: .75rem; color: var(--tblr-secondary); }

/* ===== Strona śledzenia naprawy (portal klienta i widżet): karta statusu, pasek postępu, oś czasu. =====
   Kolor serwisu przychodzi przez --site-primary / --brand-gradient (plik /brand/theme.css firmy). */
:root { --site-primary-soft: color-mix(in srgb, var(--site-primary) 12%, #fff); }
body.portal { background: radial-gradient(1200px 420px at 50% -120px, color-mix(in srgb, var(--site-primary) 10%, transparent), transparent 70%), #f5f7fb; }
.track { animation: track-in .35s ease-out both; }
@keyframes track-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.track-hero { position: relative; overflow: hidden; color: #fff; border-radius: 1.5rem; padding: clamp(1.25rem, .9rem + 2vw, 2.25rem);
    background: var(--brand-gradient); box-shadow: 0 18px 40px color-mix(in srgb, var(--site-primary) 28%, transparent); }
.track-hero::after { content: ""; position: absolute; inset: 0; background-image: var(--brand-dots); background-size: 22px 22px; pointer-events: none; }
.track-hero > * { position: relative; z-index: 1; }
.track-hero--cancelled { background: linear-gradient(135deg, #334155, #64748b); box-shadow: 0 18px 40px rgba(51, 65, 85, .25); }
.track-hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.track-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; min-width: 0; }
.track-hero__number { font-family: var(--tblr-font-monospace); font-weight: 700; font-size: .85rem; padding: .25rem .65rem; border-radius: 999px;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); }
.track-hero__device { opacity: .85; font-size: .9rem; overflow-wrap: anywhere; }
.track-hero__icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 1rem;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); font-size: 1.6rem; backdrop-filter: blur(6px); }
.site .track-hero__status { color: #fff; font-size: clamp(1.6rem, 1.15rem + 2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 1rem 0 .35rem; }
.track-hero__text { margin: 0; max-width: 38rem; opacity: .92; font-size: 1rem; line-height: 1.55; }
.track-hero__pay { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .55rem .9rem; border-radius: .9rem;
    background: #fff; color: var(--site-ink); box-shadow: 0 6px 16px rgba(15, 23, 42, .15); }
.track-hero__pay i { color: #c2410c; font-size: 1.25rem; }
.track-hero__pay b { font-size: 1.15rem; }

.track-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.track-steps__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; min-width: 0; }
.track-steps__item + .track-steps__item::before { content: ""; position: absolute; top: 1.05rem; inset-inline-end: 50%; width: 100%; height: 3px;
    background: rgba(255, 255, 255, .25); border-radius: 3px; z-index: 0; }
.track-steps__item.is-done + .track-steps__item::before, .track-steps__item.is-current::before { background: #fff; }
.track-steps__dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
    font-size: 1.05rem; background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .8); }
.track-steps__item.is-done .track-steps__dot { background: #fff; border-color: #fff; color: var(--site-primary); }
.track-steps__item.is-current .track-steps__dot { background: #fff; border-color: #fff; color: var(--site-primary); box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: track-pulse 2s infinite; }
@keyframes track-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.track-steps__label { font-size: .72rem; line-height: 1.2; opacity: .75; overflow-wrap: anywhere; }
.track-steps__item.is-done .track-steps__label { opacity: .9; }
.track-steps__item.is-current .track-steps__label { opacity: 1; font-weight: 700; }
@media (max-width: 419.98px) { .track-steps__item:not(.is-current) .track-steps__label { font-size: .65rem; } }

.track-card { background: #fff; border: 1px solid var(--site-border); border-radius: 1.25rem; padding: clamp(1.1rem, .9rem + 1vw, 1.6rem); box-shadow: var(--site-shadow); color: var(--site-text); }
.site .track-card__title { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; font-weight: 700; margin: 0 0 1rem; }
.track-card__title i { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: .65rem;
    background: var(--site-primary-soft); color: var(--site-primary); font-size: 1.1rem; }
.track-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem 1.25rem; }
.track-fact { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.track-fact__icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: .85rem;
    background: var(--site-primary-soft); color: var(--site-primary); font-size: 1.3rem; }
.track-fact small { display: block; color: var(--site-muted); font-size: .75rem; }
.track-fact b { display: block; color: var(--site-ink); overflow-wrap: anywhere; }
.track-fact--pay .track-fact__icon { background: #fff7ed; color: #c2410c; }

.track-timeline { list-style: none; margin: 0; padding: 0; }
.track-timeline__item { position: relative; display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; padding-bottom: 1.1rem; }
.track-timeline__item:last-child { padding-bottom: 0; }
.track-timeline__item:not(:last-child)::before { content: ""; position: absolute; top: 2.4rem; bottom: .15rem; inset-inline-start: 1.07rem; width: 2px; background: var(--site-border); }
.track-timeline__dot { --status-color: #64748b; display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
    color: var(--status-color); background: color-mix(in srgb, var(--status-color) 14%, #fff); font-size: 1.05rem; }
.track-timeline__dot--note { --status-color: var(--site-muted); }
.track-timeline__item.is-latest .track-timeline__dot { background: var(--status-color); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--status-color) 20%, transparent); }
.track-timeline__body { min-width: 0; padding-top: .3rem; }
.track-timeline__body b { color: var(--site-ink); }
.track-timeline__meta { display: block; color: var(--site-muted); font-size: .78rem; margin-top: .1rem; }

.portal-branch__name { font-size: 1.05rem; font-weight: 700; color: var(--site-ink); margin-bottom: .5rem; }
.portal-branch__list { margin-bottom: 0; }
.portal-branch__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.portal-branch__actions .btn { flex: 1 1 auto; }
.track-quote.portal-quote--pending { border: 2px solid var(--site-primary); box-shadow: 0 0 0 6px var(--site-primary-soft), var(--site-shadow); }
@media (prefers-reduced-motion: reduce) { .track, .track-steps__item.is-current .track-steps__dot { animation: none; } }

/* ===== Strona główna (startupowy układ): hero ze zrzutem w ramce przeglądarki, nowości, przegląd funkcji ===== */
.site-hero--startup { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 3vw, 4.5rem); }
.site-hero--startup::before { content: ""; position: absolute; inset: auto 10% -10% 10%; height: 60%; z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, rgba(165, 180, 252, .45), transparent); filter: blur(40px); }
.site-hero__intro { max-width: 54rem; margin-inline: auto; text-align: center; }
.site-hero--startup .site-hero__title { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.1rem); }
.site-hero--startup .site-hero__lead { margin-inline: auto; max-width: 40rem; }
.site-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.5rem; }
.site-hero__checks { justify-content: center; }
.site-hero__note { text-align: center; margin: 3.25rem 0 0; font-size: .8rem; color: rgba(255, 255, 255, .6); }

.site-announce { display: inline-flex; align-items: center; gap: .6rem; max-width: 100%; padding: .3rem .3rem .3rem .9rem; margin-bottom: 1.5rem; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff !important; font-size: .875rem; font-weight: 500;
    text-decoration: none !important; transition: background .15s; text-align: start; }
.site-announce:hover { background: rgba(255, 255, 255, .2); }
.site-announce__tag { flex-shrink: 0; padding: .15rem .6rem; border-radius: 999px; background: #fff; color: var(--brand-blue-dark); font-size: .72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .04em; }
.site-announce .ti { flex-shrink: 0; }

.site-hero__stage { position: relative; max-width: 68rem; margin: 3.5rem auto 0; }
.site-browser { position: relative; background: #fff; border-radius: .9rem; overflow: hidden; border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 40px 80px -20px rgba(2, 6, 23, .45), 0 10px 30px rgba(2, 6, 23, .18); }
.site-browser__bar { display: flex; align-items: center; gap: .4rem; height: 2.25rem; padding-inline: .9rem; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.site-browser__bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #f87171; flex-shrink: 0; }
.site-browser__bar i:nth-child(2) { background: #fbbf24; }
.site-browser__bar i:nth-child(3) { background: #34d399; }
.site-browser__bar span { flex: 1; max-width: 22rem; margin-inline: auto; padding: .15rem .75rem; border-radius: .4rem; background: #fff; border: 1px solid #e2e8f0;
    color: #64748b; font-size: .72rem; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; }
.site-browser > img, .site-phone > img, .site-fake__widget img { display: block; width: 100%; height: auto; }

.site-phone { position: relative; width: 100%; max-width: 19rem; border: .55rem solid #0f172a; border-radius: 2.4rem; overflow: hidden; background: #0f172a;
    box-shadow: 0 30px 60px -15px rgba(2, 6, 23, .5); }
.site-phone::before { content: ""; position: absolute; top: .45rem; right: 50%; width: 32%; height: 1.15rem; transform: translateX(50%); border-radius: 999px; background: #0f172a; z-index: 1; }
.site-phone--float { position: absolute; inset-inline-end: -1.5rem; bottom: -2.5rem; width: 23%; max-width: 15.5rem; border-width: .45rem; }
@media (max-width: 991.98px) { .site-phone--float { inset-inline-end: -.5rem; width: 28%; border-width: .3rem; border-radius: 1.4rem; } }

.site-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: .65rem; padding: .7rem .7rem .7rem 1rem; border-radius: .9rem; background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 40px -12px rgba(2, 6, 23, .45); color: var(--site-ink); font-size: .85rem; line-height: 1.3; text-align: start; animation: site-bob 6s ease-in-out infinite; }
.site-float b { display: block; font-weight: 700; }
.site-float small { display: block; color: var(--site-muted); }
.site-float__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: .7rem; background: var(--site-primary-soft);
    color: var(--site-primary); font-size: 1.2rem; flex-shrink: 0; }
.site-float__icon--green { background: #ecfdf5; color: #059669; }
.site-float--sms { inset-inline-start: -2rem; top: 58%; }
.site-float--quote { inset-inline-start: 8%; bottom: -1.75rem; animation-delay: -3s; }
@media (max-width: 1199.98px) { .site-float--sms { inset-inline-start: -.75rem; } }
@media (max-width: 767.98px) { .site-float { display: none; } }
@keyframes site-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Nowości: siatka kafli (pierwszy i ostatni szersze). */
.site-bento { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .site-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) {
    .site-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .site-bento__item--sms, .site-bento__item--langs { grid-column: span 2; }
}
.site-bento__item { position: relative; padding: 1.6rem; border-radius: var(--site-radius); background: #fff; border: 1px solid var(--site-border); box-shadow: var(--site-shadow); }
.site-bento__item h3 { font-size: 1.12rem; font-weight: 700; margin: 1rem 0 .45rem; }
.site-bento__item p { color: var(--site-muted); line-height: 1.6; margin: 0; }
.site-bento__item--sms { color: #e0e7ff; border-color: transparent; background: var(--brand-gradient); }
.site-bento__item--sms h3 { color: #fff; font-size: 1.35rem; }
.site-bento__item--sms p { color: rgba(255, 255, 255, .82); max-width: 34rem; }
.site-bento__item--sms .site-icon { background: rgba(255, 255, 255, .16); color: #fff; }
.site-bento__item--sms .site-badge-new { background: #fff; color: var(--brand-blue-dark); }
.site-badge-new { position: absolute; top: 1.1rem; inset-inline-end: 1.1rem; padding: .15rem .55rem; border-radius: 999px; background: #ecfdf5; color: #047857;
    font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.site-icon--blue { background: #eaf1ff; color: #2563eb; }
.site-icon--violet { background: #f3e8ff; color: #7c3aed; }
.site-icon--cyan { background: #ecfeff; color: #0891b2; }
.site-icon--green { background: #ecfdf5; color: #059669; }
.site-icon--orange { background: #fff7ed; color: #ea580c; }
.site-icon--amber { background: #fffbeb; color: #d97706; }
.site-icon--pink { background: #fdf2f8; color: #db2777; }

/* Przegląd funkcji ze zrzutami. */
.site-tour__visual { position: relative; }
.site-tour__visual--sms { display: flex; justify-content: center; padding-top: 2.5rem; }
.site-tour__visual--sms .site-phone { max-width: 17.5rem; }
.site-push { position: absolute; top: 0; inset-inline-start: 0; z-index: 2; display: flex; gap: .7rem; align-items: center; width: min(21rem, 92%); padding: .75rem .9rem;
    border-radius: 1.1rem; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .35);
    border: 1px solid rgba(15, 23, 42, .06); font-size: .85rem; line-height: 1.3; animation: site-bob 6s ease-in-out infinite; }
.site-push b { display: block; color: var(--site-ink); }
.site-push small { display: block; color: var(--site-muted); }
.site-push__icon img { display: block; width: 2.25rem; height: 2.25rem; border-radius: .6rem; }
@media (min-width: 992px) { .site-push { top: 1rem; } }

.site-tour__visual--widget { padding-bottom: 2rem; }
.site-browser--site { max-width: 44rem; margin-inline: auto; }
.site-fake { display: flex; align-items: center; gap: .9rem; padding: .8rem 1.1rem; border-bottom: 1px solid #eef2f7; font-size: .85rem; color: var(--site-ink); }
.site-fake b { margin-inline-end: auto; font-weight: 800; }
.site-fake span { width: 3rem; height: .45rem; border-radius: 999px; background: #e2e8f0; }
.site-fake__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.25rem; align-items: start; padding: 1.25rem; background: #f8fafc; }
.site-fake__text { display: grid; gap: .55rem; padding-top: .5rem; }
.site-fake__text b { width: 80%; height: 1rem; border-radius: .35rem; background: #cbd5e1; }
.site-fake__text i { height: .5rem; border-radius: 999px; background: #e2e8f0; }
.site-fake__text i:nth-child(3) { width: 85%; }
.site-fake__text i:nth-child(4) { width: 60%; }
.site-fake__widget { border-radius: .8rem; overflow: hidden; box-shadow: 0 10px 30px -10px rgba(15, 23, 42, .3); background: #fff; }
@media (max-width: 575.98px) { .site-fake__text { display: none; } .site-fake__body { grid-template-columns: minmax(0, 1fr); } .site-fake span { display: none; } }

/* Języki (ciemny pas). */
.site-section--dark .site-h2 { color: #fff; }
.site-section--dark .site-lead { color: #cbd5e1; }
.site-section--dark .site-eyebrow { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.site-langs-band { padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
.site-langs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.site-langs-grid a { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: .8rem; background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12); color: #e2e8f0; font-weight: 600; transition: background .15s, border-color .15s; }
.site-langs-grid a:hover, .site-langs-grid a[aria-current] { background: rgba(255, 255, 255, .12); border-color: rgba(165, 180, 252, .6); color: #fff; }
.site-langs-grid__code { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 1.6rem; border-radius: .4rem; flex-shrink: 0;
    background: rgba(165, 180, 252, .18); color: #c7d2fe; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.site-langs-band__note { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0 0; color: #94a3b8; font-size: .875rem; }

/* Języki w stopce: zwykłe linki (indeksowalne wersje ?lang=xx). */
.site-langs { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; font-size: .875rem; }
.site-langs a[aria-current] { color: #fff; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { .site-float, .site-push { animation: none; } }

/* ===== Nagłówek strony publicznej: pływający „szklany” pasek nad ciemnym nagłówkiem strony =====
   Pasek jest przyklejony (sticky), a ujemny margines wsuwa pod niego pierwszą sekcję — stąd dodatkowy
   odstęp u góry nagłówków stron (--site-header-space). Portal klienta ma własny pasek (.site-navbar). */
.site { --site-header-h: 4.25rem; --site-header-space: 4.75rem; }
/* Tabler daje body wysokość okna — wtedy pasek „przykleja się” tylko na pierwszym ekranie. */
body.site { height: auto; min-height: 100%; }
html:has(body.site) { scroll-padding-top: 6rem; }
.site-header { position: sticky; top: 0; z-index: 1030; height: var(--site-header-h); padding-top: .75rem; margin-bottom: calc(-1 * var(--site-header-h)); pointer-events: none; }
.site-header .site-nav { pointer-events: auto; }
.site-nav { min-height: 3.5rem; padding: .4rem 1rem .4rem .45rem; border-radius: 1.1rem; background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
    border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 10px 30px -12px rgba(2, 6, 23, .35), 0 0 0 1px rgba(15, 23, 42, .04);
    transition: background .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled .site-nav { background: rgba(255, 255, 255, .94); box-shadow: 0 12px 34px -14px rgba(2, 6, 23, .4), 0 0 0 1px rgba(15, 23, 42, .07); }
.site-nav .site-brand { padding: 0; margin-inline-end: 1rem; font-size: 1.1rem; letter-spacing: -.02em; }
.site-nav .site-brand img { border-radius: .55rem; }
.site-nav__toggler { border: 0; padding: .4rem .55rem; border-radius: .7rem; font-size: 1.4rem; color: var(--site-ink); box-shadow: none !important; }
.site-nav__toggler:hover { background: rgba(15, 23, 42, .06); }
.site-nav__links .nav-link { font-size: .9rem; font-weight: 500; color: #475569; padding: .45rem .8rem !important; border-radius: .65rem; transition: color .15s, background .15s; }
.site-nav__links .nav-link:hover { color: var(--site-ink); background: rgba(15, 23, 42, .05); }
.site-nav__links .nav-item.active .nav-link { color: var(--site-primary); background: var(--site-primary-soft); }
.site-nav__actions { display: flex; align-items: center; gap: .35rem; }
.site-nav__link { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border-radius: .65rem; font-size: .9rem; font-weight: 500; color: #475569;
    white-space: nowrap; transition: color .15s, background .15s; }
.site-nav__link:hover { color: var(--site-ink); background: rgba(15, 23, 42, .05); }
.site-nav__link--strong { color: var(--site-ink); font-weight: 600; }
.site-nav__cta { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: .8rem; font-weight: 600; font-size: .9rem; white-space: nowrap;
    box-shadow: 0 6px 16px -6px rgba(var(--tblr-primary-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.site-nav__cta .ti { transition: transform .15s; }
.site-nav__cta:hover .ti { transform: translateX(-2px); }
[dir="rtl"] .site-nav__cta:hover .ti { transform: translateX(2px); }
@media (min-width: 1200px) and (max-width: 1399.98px) { .site-nav__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* Menu rozwinięte na węższych ekranach: karta pod paskiem, przyciski na całą szerokość. */
@media (max-width: 1199.98px) {
    .site-nav .navbar-collapse { margin-top: .5rem; padding: .5rem 0 .4rem; border-top: 1px solid var(--site-border); }
    .site-nav__links .nav-link { padding: .6rem .75rem !important; font-size: .95rem; }
    .site-nav__actions { flex-direction: column; align-items: stretch; gap: .4rem; margin-top: .5rem; padding-top: .75rem; border-top: 1px solid var(--site-border); }
    .site-nav__link { justify-content: center; padding: .6rem; }
    .site-nav__cta { justify-content: center; padding: .7rem 1rem; }
    .site-nav:has(.navbar-collapse.show) { background: rgba(255, 255, 255, .97); }
}
html:not(.js) .site-nav .navbar-collapse.collapse { display: block; }
html:not(.js) .site-nav .navbar-toggler { display: none; }

/* Pierwsza sekcja wsuwa się pod pasek: nagłówki stron dostają jego wysokość u góry. */
.site-hero--startup { padding-top: calc(clamp(3rem, 2rem + 4vw, 5.5rem) + var(--site-header-space)); }
.site-page-hero { padding-top: calc(clamp(3rem, 2rem + 4vw, 5rem) + var(--site-header-space)); }
#main > :first-child:not(.brand-surface) { margin-top: var(--site-header-space); }
.site .site-jump { top: var(--site-header-h); }

/* ===== Strony branżowe i strony funkcji (public/site/landing) ===== */
.site-landing-hero { text-align: start; padding-bottom: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
.site-landing-hero .site-page-hero__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); line-height: 1.12; }
.site-landing-hero__checks li { color: rgba(255, 255, 255, .9); }
.site-landing-hero__checks i { color: #86efac; }
.site-crumbs { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1.1rem; font-size: .82rem; color: rgba(255, 255, 255, .65); }
.site-crumbs li + li::before { content: "/"; margin-inline-end: .35rem; color: rgba(255, 255, 255, .4); }
.site-page-hero .site-crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-page-hero .site-crumbs a:hover { color: #fff; text-decoration: underline; }
.site-crumbs [aria-current] { color: #fff; font-weight: 600; }

.site-landing__visual { position: relative; }
.site-landing__visual.has-second { padding-bottom: 2rem; }
.site-landing__visual--phone { display: flex; justify-content: center; }
.site-landing__visual--phone .site-phone { max-width: 17rem; }
.site-landing__visual--card { padding-inline-end: 22%; }
.site-shot-card { border-radius: 1rem; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -15px rgba(2, 6, 23, .5); }
.site-shot-card img { display: block; width: 100%; height: auto; }
.site-landing__second { position: absolute; z-index: 2; bottom: 0; inset-inline-end: -.5rem; }
.site-landing__second--phone { width: 30%; max-width: 14rem; border-width: .4rem; border-radius: 1.8rem; }
.site-landing__second--card { width: 44%; max-width: 19rem; }
@media (max-width: 575.98px) { .site-landing__second--phone { width: 36%; border-width: .3rem; border-radius: 1.3rem; } }

.site-related { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.site-related__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 1rem; }
.site-related__title:not(:first-child) { margin-top: 2.25rem; }
.site-related__grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.site-related__item { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: .9rem; border: 1px solid var(--site-border); background: #fff;
    color: var(--site-ink); font-weight: 600; box-shadow: var(--site-shadow); transition: border-color .15s, transform .15s; }
.site-related__item:hover { border-color: #c7d7fe; transform: translateY(-2px); color: var(--site-ink); }
.site-related__item .site-icon { width: 2.4rem; height: 2.4rem; font-size: 1.2rem; }
.site-related__go { margin-inline-start: auto; color: var(--site-muted); }
[dir="rtl"] .site-related__go { transform: scaleX(-1); }

/* Karty branż i funkcji na podstronach „Dla kogo” / „Funkcje”: link do strony docelowej. */
.site-card .site-link--more { margin-top: 1rem; }
.site-feature .site-link.mt-3 { display: inline-flex; }

/* Adres e-mail w wąskiej kolumnie stopki: mniejszy, żeby nie łamał się w połowie. */
.site-footer__links .text-break { font-size: .8rem; }

/* ===== Porównanie: zeszyt / arkusz / system (strona główna) ===== */
.site-compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--site-border); border-radius: 1.1rem;
    overflow: hidden; box-shadow: var(--site-shadow); font-size: .9rem; }
.site-compare th, .site-compare td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--site-border); text-align: start; vertical-align: middle; }
.site-compare tbody tr:last-child > * { border-bottom: 0; }
.site-compare thead th { font-weight: 700; font-size: .85rem; color: var(--site-ink); background: #f8fafc; }
.site-compare thead td { background: #f8fafc; }
.site-compare thead th.is-us { background: var(--site-primary); color: #fff; }
.site-compare thead th.is-us img { width: 1.35rem; height: 1.35rem; border-radius: .4rem; margin-inline-end: .5rem; vertical-align: -.3rem; }
.site-compare tbody th { width: 19%; font-weight: 700; color: var(--site-ink); }
.site-compare td { color: var(--site-muted); }
.site-compare td > span:last-child { line-height: 1.4; }
.site-compare td { position: relative; }
.site-compare td.is-us { background: rgba(var(--tblr-primary-rgb), .05); color: var(--site-ink); font-weight: 600; }
.site-compare__mark { display: inline-flex; align-items: center; justify-content: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; font-size: .85rem;
    margin-inline-end: .55rem; vertical-align: middle; flex-shrink: 0; }
.site-compare .is-yes .site-compare__mark { background: #dcfce7; color: #15803d; }
.site-compare .is-part .site-compare__mark { background: #fef3c7; color: #b45309; }
.site-compare .is-no .site-compare__mark { background: #fee2e2; color: #b91c1c; }
@media (min-width: 768px) {
    .site-compare td { display: table-cell; }
    .site-compare td > * { vertical-align: middle; }
}
/* Telefon: każdy wiersz jako karta, nazwa kolumny nad komórką. */
@media (max-width: 767.98px) {
    .site-compare, .site-compare tbody, .site-compare tr, .site-compare th, .site-compare td { display: block; width: auto; }
    .site-compare { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
    .site-compare thead { display: none; }
    .site-compare tr { margin-bottom: .9rem; background: #fff; border: 1px solid var(--site-border); border-radius: 1rem; overflow: hidden; box-shadow: var(--site-shadow); }
    .site-compare tbody th { width: auto; font-size: 1rem; padding: .85rem 1rem .5rem; border-bottom: 0; }
    .site-compare td { display: flex; align-items: flex-start; flex-wrap: wrap; padding: .55rem 1rem; border-bottom: 1px solid var(--site-border); }
    .site-compare td::before { content: attr(data-label); flex-basis: 100%; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
        color: var(--site-muted); margin-bottom: .25rem; }
    .site-compare td > span:last-child { flex: 1; }
    .site-compare tbody tr:last-child > * { border-bottom: 1px solid var(--site-border); }
    .site-compare tr > td:last-child { border-bottom: 0 !important; }
}
