/* Strona główna TROPI w tym samym wyglądzie co aplikacja (film „Dashboard V14”): jasny motyw domyślnie, ciemny po kliknięciu księżyca,
   pigułki w nagłówku, białe zaokrąglone karty z miękkim cieniem, czarna pigułka jako główny przycisk, koralowa karta z gradientem jako wyróżnienie.
   Ruch: nagłówek i treść wchodzą z rozmycia, sekcje pojawiają się przy przewijaniu, pigułka menu jedzie do widocznej sekcji. Tylko transform, opacity, filtr.
   Strona ma CSP bez unsafe-inline: żadnych stylów w HTML, wszystko tutaj. */
:root {
  --coral: #FF624D; --peach: #FFD8CA;
  --bg: #EDEDF0; --bg-2: #F5F5F7; --card: #FFFFFF; --card-2: #F4F4F6; --chip: #F1F1F4;
  --line: #ECECEF; --line-2: #E1E1E6;
  --ink: #111318; --ink-2: #4A4C55; --ink-3: #8D8F98;
  --pill: #111318; --pill-ink: #FFFFFF; --pill-hover: #2A2D35;
  --soft: #FFEDE6; --soft-ink: #7A2414; --go: #15A04A; --go-soft: #E6F8EE;
  --hot: linear-gradient(135deg, #FF9A72 0%, #FF6A4A 42%, #EC4A2E 100%);
  --hatch: color-mix(in srgb, var(--coral) 34%, transparent);
  --shadow: 0 1px 2px rgba(17, 19, 24, .04), 0 10px 30px -18px rgba(17, 19, 24, .18);
  --shadow-pop: 0 2px 8px rgba(17, 19, 24, .06), 0 40px 80px -30px rgba(17, 19, 24, .35);
  --ease: cubic-bezier(0.23, 1, 0.32, 1); --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --r: 24px; --wrap: 1200px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #050506; --bg-2: #0B0B0D; --card: #141417; --card-2: #1B1B1F; --chip: #1D1D21;
  --line: #1F1F24; --line-2: #2A2A30;
  --ink: #F5F5F7; --ink-2: #C3C3CA; --ink-3: #85858F;
  --pill: #F5F5F7; --pill-ink: #0B0B0D; --pill-hover: #DCDCE0;
  --soft: #2A1A16; --soft-ink: #FFD8CA; --go: #3DCB77; --go-soft: #12301F;
  --hatch: color-mix(in srgb, var(--coral) 40%, transparent);
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 30px -18px rgba(0, 0, 0, .8);
  --shadow-pop: 0 2px 8px rgba(0, 0, 0, .5), 0 40px 80px -30px rgba(0, 0, 0, .95);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg-2); }
body { overflow-x: clip; margin: 0; background: var(--bg-2); color: var(--ink); font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--pill); color: var(--pill-ink); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 10px; }

/* --- typografia ----------------------------------------------------------------------------------------------------- */
h1, h2 { font-family: "Inter", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.04em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; max-width: 22ch; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.015em; margin: 0 0 8px; font-weight: 600; }
p { margin: 0; }
.sub { color: var(--ink-3); font-size: 1.1rem; max-width: 60ch; margin-top: 16px; }
.dot { font-style: normal; color: var(--coral); }
code { font: 500 .9em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--chip); padding: 2px 7px; border-radius: 8px; }
.s { padding-block: clamp(56px, 8vw, 110px); }

/* --- przyciski: pigułki ----------------------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--pill); color: var(--pill-ink); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 16px 28px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease), background-color 150ms ease; }
.btn:hover { background: var(--pill-hover); }
.btn:active { transform: scale(.97); }
.btn-sm { padding: 12px 20px; font-size: .95rem; }
.btn-outline, .btn-light { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.btn-outline:hover, .btn-light:hover { background: var(--chip); }
.btn-text { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--coral); }
.cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* --- nagłówek: logo, menu i akcje jako pigułki -------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 50; padding-block: 14px; background: color-mix(in srgb, var(--bg-2) 86%, transparent); backdrop-filter: blur(14px); }
.top-in { display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); text-decoration: none; flex: none; }
.logo .mark { width: 34px; height: 34px; border-radius: 50%; }
.logo .dk, .logo .lt { height: 22px; width: auto; }
.logo .lt, [data-theme="dark"] .logo .dk { display: none; }
[data-theme="dark"] .logo .lt { display: block; }
.nav { position: relative; display: flex; align-items: center; gap: 2px; height: 50px; padding: 5px; margin-inline: auto; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); isolation: isolate; }
.nav a { position: relative; z-index: 1; display: flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2);
  transition: color 220ms var(--ease), background-color 150ms ease; }
.nav a:hover { color: var(--ink); background: var(--chip); }
.nav a[aria-current="true"] { color: var(--pill-ink); background: transparent; }
.nav .npill { position: absolute; z-index: 0; top: 5px; left: 0; height: 40px; width: 0; border-radius: 999px; background: var(--pill); opacity: 0; pointer-events: none;
  transition: transform 420ms cubic-bezier(0.32, 0.72, 0, 1), width 420ms cubic-bezier(0.32, 0.72, 0, 1), opacity 200ms ease; }
.nav .npill.on { opacity: 1; }
.top-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.top-cta .link { display: inline-flex; align-items: center; height: 50px; padding: 0 20px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.top-cta .link:hover { background: var(--chip); }
.top-cta .btn-sm { height: 50px; }
.theme { display: flex; gap: 2px; height: 50px; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); }
.theme button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.theme button:hover { color: var(--ink); }
.theme button[aria-pressed="true"] { background: var(--chip); color: var(--ink); }

/* --- hero -------------------------------------------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 5vw, 72px) clamp(40px, 5vw, 64px); }
.hero-copy { position: relative; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); color: var(--ink-2); font-size: .88rem; font-weight: 500; margin: 0 0 26px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--soft); }
.hero h1 .ln { display: block; white-space: nowrap; }
.hero h1 .dim { color: var(--ink-3); }
.lede { font-size: 1.12rem; line-height: 1.6; color: var(--ink-3); max-width: 46ch; margin-top: 22px; }
.btn-video .play { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--chip); }
.btn-video .vt b { font-weight: 600; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; color: var(--ink-2); font-size: .95rem; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { color: var(--go); }

.hero-art { position: relative; margin: 0 -6% 0 0; }
.app-tilt { perspective: 1800px; padding: 36px 0 40px; }
.app-win { position: relative; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-pop); padding: 8px;
  transform: rotateX(6deg) rotateY(-11deg) rotateZ(-2deg); transform-origin: 70% 55%; }
.app-win img { display: block; width: 100%; height: auto; border-radius: 16px; margin-top: 18px; }
.win-bar { position: absolute; left: 0; right: 0; top: 0; height: 26px; display: flex; align-items: center; gap: 6px; padding-left: 16px; z-index: 2; }
.win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #FF5F57; }
.win-bar i:nth-child(2) { background: #FEBC2E; } .win-bar i:nth-child(3) { background: #28C840; }
.stats-card { position: absolute; right: 0; top: 10%; z-index: 3; width: min(250px, 44%); padding: 18px 20px 14px; border-radius: 22px; background: var(--hot); color: #fff;
  box-shadow: 0 30px 50px -24px rgba(236, 74, 46, .75); display: grid; gap: 14px; overflow: hidden; }
.stats-card::after { content: ""; position: absolute; right: -30%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .25); filter: blur(30px); pointer-events: none; }
.stats-card .sc-t { font-size: .85rem; color: rgba(255, 255, 255, .85); }
.stats-card > div { display: grid; grid-template-columns: 34px auto 1fr; grid-template-areas: "i n d" "i l d"; column-gap: 12px; align-items: center; }
.stats-card .si { grid-area: i; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.stats-card .si svg { width: 17px; height: 17px; }
.stats-card b { grid-area: n; font-size: 1.4rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats-card span:not(.si) { grid-area: l; color: rgba(255, 255, 255, .82); font-size: .8rem; }
.stats-card em { grid-area: d; justify-self: end; font-style: normal; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.stats-card small { color: rgba(255, 255, 255, .75); font-size: .72rem; }
.scribble { display: none; position: absolute; z-index: 3; font-family: "Caveat", "Bradley Hand", "Segoe Script", cursive; font-weight: 600; font-size: 1.5rem; line-height: 1.05; color: var(--ink);
  right: 4%; bottom: 2%; display: flex; align-items: flex-end; gap: 10px; transform: rotate(-3deg); }
.scribble svg { margin: 0 0 6px; transform: scaleX(-1) rotate(8deg); order: -1; }

/* --- integracje ------------------------------------------------------------------------------------------------------- */
.integr { text-align: center; padding: 26px 24px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.integr-lead { color: var(--ink-3); font-size: .92rem; margin-bottom: 18px; }
.integr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(22px, 4vw, 52px); }
.integr-list li { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-3); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.integr-list .wm { font-weight: 700; }
.integr-list .hole { fill: var(--card); }
.integr-note { color: var(--ink-3); font-size: .8rem; margin-top: 14px; }

/* --- cztery karty z podglądem ---------------------------------------------------------------------------------------- */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-block: 18px 0; }
.fcard { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fcard header { display: flex; align-items: center; gap: 12px; }
.fcard h3 { margin: 0; font-size: 1.08rem; }
.fcard > p { color: var(--ink-3); font-size: .9rem; line-height: 1.5; }
.fi { width: 42px; height: 42px; border-radius: 50%; background: var(--chip); color: var(--ink); display: grid; place-items: center; flex: none; }
.fi svg { width: 20px; height: 20px; }
.cards4 .fcard:first-child .fi { background: var(--hot); color: #fff; }
.pv { margin-top: auto; border-radius: 18px; background: var(--card-2); overflow: hidden; position: relative; min-height: 210px; }
.pv-map { height: 210px; }
.pv-map svg { display: block; width: 100%; height: 100%; }
.pv-map svg rect { fill: var(--card-2); }
.pv-map svg path[stroke] { stroke: var(--line-2); }
.pv-map svg g { fill: var(--coral); }
.pv-card { position: absolute; left: 30%; right: 5%; top: 16px; background: var(--card); border-radius: 14px; padding: 10px; display: flex; flex-wrap: wrap; gap: 5px; box-shadow: var(--shadow-pop); }
.pv-card b { flex-basis: 100%; display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; }
.pv-card small { flex-basis: 100%; color: var(--ink-3); font-size: .72rem; margin-bottom: 2px; }
.av { width: 22px; height: 22px; border-radius: 50%; background: var(--peach); color: #7A2414; display: inline-grid; place-items: center; font-size: .7rem; }
.chip { background: var(--chip); border-radius: 999px; padding: 2px 9px; font-size: .68rem; color: var(--ink-2); }
.pv-chat { padding: 14px; display: grid; align-content: space-between; gap: 12px; }
.bubble { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.bubble p { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--ink); }
.av2 { width: 28px; height: 28px; border-radius: 50%; background: var(--chip); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.chat-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chat-foot small { flex: 1; color: var(--ink-3); font-size: .72rem; }
.send { width: 36px; height: 36px; border-radius: 50%; background: var(--pill); color: var(--pill-ink); display: grid; place-items: center; }
.pv-call { padding: 14px; display: grid; gap: 14px; align-content: space-between; }
.call-top { display: flex; align-items: center; gap: 12px; }
.call-top img { width: 52px; height: 52px; border-radius: 50%; background: var(--card); object-fit: cover; object-position: center 20%; }
.call-top span { flex: 1; min-width: 0; display: grid; }
.call-top b { font-size: .9rem; font-weight: 600; white-space: nowrap; }
.call-top small { color: var(--ink-3); font-size: .72rem; line-height: 1.3; }
.call-top em { font-style: normal; color: var(--ink-3); font-size: .8rem; align-self: flex-start; font-variant-numeric: tabular-nums; }
.wave { display: flex; align-items: center; gap: 4px; height: 34px; }
.wave i { flex: 1; border-radius: 3px; height: 30%; background: repeating-linear-gradient(-45deg, var(--coral) 0 3px, var(--hatch) 3px 6px); }
.wave i:nth-child(3n) { height: 70%; } .wave i:nth-child(4n+1) { height: 100%; background: var(--ink); } .wave i:nth-child(5n+2) { height: 45%; }
.call-btns { display: flex; justify-content: center; gap: 14px; }
.call-btns span { width: 40px; height: 40px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); }
.call-btns .red { background: var(--coral); }
.pv-kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; align-content: start; }
.pv-kanban h4 { margin: 0 0 8px; font-size: .68rem; display: flex; justify-content: space-between; color: var(--ink-2); white-space: nowrap; }
.pv-kanban h4 em { font-style: normal; color: var(--ink-3); }
.pv-kanban span { display: block; background: var(--card); border-radius: 10px; padding: 7px 8px; font-size: .7rem; margin-bottom: 6px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: var(--shadow); }
.cards-note { grid-column: 1 / -1; color: var(--ink-3); font-size: .8rem; text-align: right; margin: 0; }

/* --- fakty -------------------------------------------------------------------------------------------------------------- */
.facts { padding-top: 18px; }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts dl > div { padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.facts dt { font-weight: 600; margin-bottom: 6px; font-size: 1.02rem; }
.facts dd { margin: 0; color: var(--ink-3); font-size: .94rem; line-height: 1.5; }

/* --- dziury --------------------------------------------------------------------------------------------------------------- */
.leak-list { margin: 44px 0 0; display: grid; gap: 12px; }
.leak-list > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px 40px; padding: 22px 26px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.leak-list dt { font-weight: 600; font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.015em; display: flex; gap: 12px; align-items: flex-start; }
.leak-list dt::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .45em; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--soft); }
.leak-list dd { margin: 0; color: var(--ink-3); max-width: 60ch; }

/* --- ścieżka sprawy: duży panel z kropką, która jedzie przy przewijaniu ------------------------------------------------- */
.path { width: min(1280px, 100% - 24px); margin-inline: auto; border-radius: 32px; background: var(--card); box-shadow: var(--shadow); }
.trail { list-style: none; padding: 0 0 0 56px; margin: 64px auto 0; position: relative; display: grid; gap: clamp(56px, 8vw, 110px); }
.trail::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background-image: radial-gradient(circle, var(--line-2) 1.4px, transparent 1.6px); background-size: 2px 12px; background-repeat: repeat-y; }
.trail-dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px var(--soft); transform: translateY(var(--y, 0px)); z-index: 2; }
.stop { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; }
.stop::before { content: ""; position: absolute; left: -51px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--line-2); transition: border-color 200ms, background-color 200ms; }
.stop.on::before { border-color: var(--coral); background: var(--coral); }
.stop h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; }
.stop p { color: var(--ink-3); max-width: 46ch; }
.shot { margin: 0; border-radius: 22px; overflow: hidden; background: var(--card-2); padding: 8px; box-shadow: var(--shadow-pop); }
.shot img { width: 100%; border-radius: 16px; }
.shot-phone { justify-self: center; width: min(300px, 70%); border-radius: 40px; padding: 8px; background: var(--pill); }
.shot-phone img { border-radius: 32px; }

/* --- funkcje -------------------------------------------------------------------------------------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.feat-grid > section { padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.feat-grid h3 { font-size: 1.02rem; margin-bottom: 14px; }
.feat-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.feat-grid li { color: var(--ink-3); font-size: .92rem; line-height: 1.5; padding-left: 16px; position: relative; }
.feat-grid li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

/* --- przewaga --------------------------------------------------------------------------------------------------------------- */
.table-wrap { margin-top: 44px; overflow-x: auto; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); padding: 8px; }
.cmp { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.cmp th, .cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.4; }
.cmp thead th { background: var(--card-2); font-weight: 500; font-size: .86rem; color: var(--ink-3); border: 0; }
.cmp thead th:first-child { border-radius: 14px 0 0 14px; } .cmp thead th:last-child { border-radius: 0 14px 14px 0; }
.cmp tbody th { font-weight: 600; width: 27%; }
.cmp td { color: var(--ink-3); }
.cmp .us { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--soft) 60%, transparent); }
.cmp thead .us { background: var(--hot); color: #fff; font-size: .95rem; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.note { color: var(--ink-3); font-size: .9rem; margin-top: 16px; max-width: 78ch; }
.not-yet { margin-top: 32px; max-width: 76ch; padding: 22px 26px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.not-yet p { color: var(--ink-3); }

/* --- kontrola ---------------------------------------------------------------------------------------------------------------- */
.control-in { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--card); box-shadow: var(--shadow); }
.control-in img { width: 220px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; max-width: 64ch; }
.ticks li { padding-left: 36px; position: relative; color: var(--ink-3); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--pill)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23FF624D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* --- dla kogo, start, FAQ ------------------------------------------------------------------------------------------------------ */
.who { padding-top: 0; }
.who-list { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.who-list > div { padding: 24px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.who-list dt { font-weight: 600; font-size: 1.12rem; margin-bottom: 6px; letter-spacing: -0.015em; }
.who-list dd { margin: 0; color: var(--ink-3); max-width: 52ch; }
.start { padding-top: 0; }
.steps { list-style: none; counter-reset: st; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { counter-increment: st; padding: 24px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); min-width: 0; }
.steps li::before { content: counter(st); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pill); color: var(--pill-ink); font-weight: 600; margin-bottom: 14px; }
.steps li:first-child::before { background: var(--hot); color: #fff; }
.steps p { color: var(--ink-3); }
.steps pre { margin: 12px 0 0; background: var(--card-2); color: var(--ink); border-radius: 14px; padding: 14px 16px; overflow-x: auto; font-size: .88rem; }
.steps pre code { background: none; padding: 0; color: inherit; }
.faq-list { margin-top: 40px; max-width: 860px; padding: 6px 26px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 600; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--chip); display: grid; place-items: center;
  font-weight: 500; font-size: 1.2rem; line-height: 1; transition: transform 220ms var(--ease), background-color 150ms; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--pill); color: var(--pill-ink); }
.faq details p { color: var(--ink-3); padding: 0 44px 22px 0; max-width: 66ch; }

/* --- zamknięcie: koralowa karta jak „Rewards Program” ---------------------------------------------------------------------------- */
.closing { padding-block: 0 clamp(48px, 6vw, 80px); }
.closing-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 32px;
  background: var(--hot); color: #fff; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(236, 74, 46, .8); }
.closing-in::after { content: ""; position: absolute; right: -10%; top: -50%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .22); filter: blur(50px); pointer-events: none; }
.closing h2 { max-width: 18ch; position: relative; z-index: 1; }
.closing .dot { color: #fff; }
.closing p { color: rgba(255, 255, 255, .86); margin-top: 16px; font-size: 1.1rem; }
.closing .btn { background: #fff; color: #111318; }
.closing .btn:hover { background: #F1F1F4; }
.closing .btn-light { background: rgba(255, 255, 255, .2); color: #fff; box-shadow: none; }
.closing .btn-light:hover { background: rgba(255, 255, 255, .3); }
.closing :focus-visible { outline-color: #fff; }
.closing-in img { width: 240px; justify-self: end; position: relative; z-index: 1; }
.foot { padding-block: 32px 48px; font-size: .92rem; color: var(--ink-3); }
.foot-in { display: grid; gap: 20px; justify-items: start; }
.foot nav { display: flex; gap: 8px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); }
.foot nav a:hover { background: var(--chip); }
.foot p { max-width: 70ch; }

/* --- film -------------------------------------------------------------------------------------------------------------------- */
.vid { border: 0; padding: 0; background: transparent; width: min(1100px, 94vw); max-width: none; overflow: visible; }
.vid::backdrop { background: rgba(17, 19, 24, .7); backdrop-filter: blur(6px); }
.vid-in { position: relative; }
.vid video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 24px; background: #000; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.vid-x { position: absolute; right: 0; top: -54px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #111318; font-size: 28px; line-height: 1; cursor: pointer; }
.vid-note { color: #e6e3df; font-size: .86rem; text-align: center; margin-top: 12px; }
.vid video::cue { font: 600 22px "Inter", system-ui, sans-serif; color: #fff; background: rgba(17, 19, 24, .78); }

/* --- ruch jak w filmie: wejście z rozmycia, sekcje przy przewijaniu ------------------------------------------------------------ */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .top-in > * { animation: blurin 700ms var(--ease) backwards; }
  .top-in > :nth-child(2) { animation-delay: 80ms; } .top-in > :nth-child(3) { animation-delay: 160ms; }
  .hero-copy > * { animation: blurin 800ms var(--ease) backwards; }
  .hero-copy > :nth-child(2) { animation-delay: 90ms; } .hero-copy > :nth-child(3) { animation-delay: 180ms; }
  .hero-copy > :nth-child(4) { animation-delay: 260ms; } .hero-copy > :nth-child(5) { animation-delay: 330ms; }
  .app-win { animation: tilt-in 1000ms var(--ease) 200ms backwards; }
  .stats-card { animation: blurin 800ms var(--ease) 650ms backwards; }
  .scribble { animation: fade 600ms ease 1100ms backwards; }
  .js .rv { opacity: 0; filter: blur(10px); transform: translateY(18px); transition: opacity 700ms var(--ease), filter 700ms var(--ease), transform 700ms var(--ease); }
  .js .rv.in { opacity: 1; filter: none; transform: none; }
  .trail-dot { transition: transform 260ms var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { transition: opacity 200ms ease; opacity: 0; } .js .rv.in { opacity: 1; }
  .nav .npill { transition: opacity 150ms ease; }
}
@keyframes blurin { from { opacity: 0; filter: blur(12px); transform: translateY(10px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes tilt-in { from { opacity: 0; filter: blur(8px); transform: translateY(28px) rotateX(10deg) rotateY(-18deg) rotateZ(-3deg); } }

/* --- mniejsze ekrany ------------------------------------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { padding: 0 13px; }
  .top-cta .link { display: none; }
}
@media (max-width: 1020px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .top-cta .link { display: inline-flex; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { margin: 0; }
  .app-win { transform: none; }
  @media (prefers-reduced-motion: no-preference) { .app-win { animation-name: blurin; } }
  .scribble { display: none; }
  .facts dl { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stop { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 28px); }
  .top { padding-block: 10px; }
  .top-in { gap: 8px; }
  .logo { height: 44px; padding: 0 12px 0 5px; }
  .logo .mark { width: 32px; height: 32px; }
  .logo .dk, .logo .lt { height: 18px; }
  .theme { height: 44px; padding: 2px; }
  .theme button[aria-pressed="true"] { display: none; }
  .top-cta { gap: 6px; }
  .top-cta .link { height: 44px; padding: 0 14px; font-size: .88rem; }
  .top-cta .btn-sm { display: none; }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 2.6rem); }
  .hero h1 .ln { white-space: normal; }
  .cta-row .btn { width: 100%; }
  .checks { flex-direction: column; gap: 8px; }
  .stats-card { position: relative; width: 100%; right: auto; top: auto; margin-top: -10px; }
  .cards4, .feat-grid, .who-list, .steps, .facts dl { grid-template-columns: 1fr; }
  .leak-list > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .path { width: calc(100% - 16px); border-radius: 26px; }
  .trail { padding-left: 40px; }
  .trail::before { left: 7px; } .trail-dot { width: 16px; height: 16px; } .stop::before { left: -37px; width: 8px; height: 8px; top: 10px; }
  .control-in, .closing-in { grid-template-columns: 1fr; }
  .control-in img { width: 150px; }
  .closing-in img { width: 150px; justify-self: start; order: -1; }
  .faq-list { padding: 4px 18px; }
}

/* === mniej tekstu, więcej ruchu: wstęga w hero, pasek integracji, przewagi w kafelkach, liczby, porównanie ====================== */
/* wstęga światła za aplikacją (jak płynące linie w filmie): przesuwa się tylko kreska, ścieżki stoją */
.hero-art .ribbon { position: absolute; inset: -10% -20% -5% -30%; width: 150%; height: 115%; z-index: 0; pointer-events: none; overflow: visible;
  -webkit-mask-image: radial-gradient(70% 70% at 55% 50%, #000 40%, transparent 75%); mask-image: radial-gradient(70% 70% at 55% 50%, #000 40%, transparent 75%); }
.hero-art .ribbon path { stroke: var(--coral); stroke-width: 1.6; stroke-dasharray: 140 900; opacity: .55; filter: drop-shadow(0 0 6px rgba(255, 98, 77, .7)); }
.hero-art .ribbon path:nth-child(2n) { stroke: #FFB59E; stroke-width: 1.1; opacity: .45; }
.hero-art .app-tilt { position: relative; z-index: 1; }
.hero-art .stats-card { z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .ribbon path { animation: flow 6s linear infinite; }
  .hero-art .ribbon path:nth-child(2) { animation-duration: 7.5s; animation-delay: -2s; }
  .hero-art .ribbon path:nth-child(3) { animation-duration: 5.2s; animation-delay: -4s; }
  .hero-art .ribbon path:nth-child(4) { animation-duration: 8s; animation-delay: -1s; }
  .hero-art .ribbon path:nth-child(5) { animation-duration: 6.6s; animation-delay: -3s; }
  .hero-art .ribbon path:nth-child(6) { animation-duration: 9s; animation-delay: -5s; }
  .stats-card { animation: blurin 800ms var(--ease) 650ms backwards, floaty 6s ease-in-out 1.5s infinite; }
}
@keyframes flow { from { stroke-dashoffset: 1040; } to { stroke-dashoffset: 0; } }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* pasek integracji: przesuwa się bez końca, staje po najechaniu */
.integr { width: min(var(--wrap), 100% - 40px); margin-inline: auto; padding: 22px 0; overflow: hidden; }
.integr-lead, .integr-note { padding-inline: 24px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq { list-style: none; margin: 0; padding: 0 28px 0 0; display: flex; gap: 56px; flex: none; }
.mq li { white-space: nowrap; color: var(--ink-3); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
@media (prefers-reduced-motion: no-preference) {
  .mq { animation: marquee 32s linear infinite; }
  .marquee:hover .mq { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .mq[aria-hidden] { display: none; } .mq { flex-wrap: wrap; justify-content: center; gap: 12px 32px; } }
@keyframes marquee { to { transform: translateX(-100%); } }

/* przewagi: siatka kafelków, każdy z małą animacją, która rusza, gdy kafelek wjedzie na ekran */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 18px; margin-top: 40px; }
.bc { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow);
  overflow: hidden; min-width: 0; transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.bc:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.bc h3 { margin: 0; font-size: 1.12rem; }
.bc p { color: var(--ink-3); font-size: .92rem; line-height: 1.45; }
.bc .bv { flex: 1; position: relative; margin-bottom: 14px; min-height: 120px; }
.bc-map { grid-column: span 2; grid-row: span 2; }
.bc-chat, .bc-quote { grid-column: span 2; }
.bc-hot { background: var(--hot); color: #fff; }
.bc-hot p { color: rgba(255, 255, 255, .86); }
.bc-hot::after { content: ""; position: absolute; right: -30%; top: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .22); filter: blur(36px); }

/* mapa z pinezkami i falą zasięgu */
.bc-map .bv { border-radius: 18px; min-height: 300px;
  background: radial-gradient(circle at 50% 50%, var(--card-2) 0 100%),
    repeating-linear-gradient(0deg, transparent 0 46px, var(--line) 46px 47px), repeating-linear-gradient(90deg, transparent 0 46px, var(--line) 46px 47px); background-blend-mode: normal; }
.bc-map .bv { background: repeating-linear-gradient(0deg, transparent 0 46px, var(--line-2) 46px 47px), repeating-linear-gradient(90deg, transparent 0 46px, var(--line-2) 46px 47px), var(--card-2); }
.bc-map .me { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--pill); box-shadow: 0 0 0 5px var(--card); }
.bc-map .ring { position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; margin: -120px; border-radius: 50%; border: 2px solid var(--coral); opacity: 0; }
.pin { position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--coral); transform: rotate(-45deg); box-shadow: 0 6px 12px -4px rgba(236, 74, 46, .6); }
.pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--card); }
.p1 { left: 22%; top: 24%; } .p2 { left: 70%; top: 20%; } .p3 { left: 32%; top: 64%; } .p4 { left: 62%; top: 60%; } .p5 { left: 80%; top: 42%; } .p6 { left: 14%; top: 46%; }
.found { position: absolute; left: 16px; bottom: 16px; padding: 10px 16px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-pop); font-size: .9rem; color: var(--ink-2); }
.found b { color: var(--ink); font-size: 1.1rem; font-variant-numeric: tabular-nums; }

/* rejestry odhaczane po kolei */
.regs { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; align-content: center; }
.regs li { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 12px; background: var(--card-2); font-size: .88rem; }
.regs svg { color: var(--go); }

/* zero złotych */
.zero { display: grid; align-content: center; position: relative; z-index: 1; }
.zero b { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.zero span { color: rgba(255, 255, 255, .85); }
.bc-hot h3, .bc-hot p { position: relative; z-index: 1; }

/* czat: kropki pisania, wiadomość, kliknięcie w „Wyślij” */
.chatv { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.typing { display: inline-flex; gap: 5px; padding: 12px 14px; border-radius: 16px; background: var(--card-2); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.msgb { max-width: 92%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--card-2); font-size: .9rem; line-height: 1.45; }
.sendb { position: relative; align-self: flex-end; padding: 9px 18px; border-radius: 999px; background: var(--pill); color: var(--pill-ink); font-weight: 600; font-size: .88rem; }
.tap { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px; border-radius: 50%; background: var(--coral); opacity: 0; }

/* do uratowania: pozycje wjeżdżają po kolei */
.saves { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; align-content: center; }
.saves li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--card-2); font-size: .86rem; }
.saves i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--soft); flex: none; }

/* cytat z zakreśleniem */
.quote { display: grid; align-content: center; gap: 10px; padding: 18px; border-radius: 18px; background: var(--card-2); font-size: 1.05rem; line-height: 1.45; }
.quote mark { color: inherit; background: linear-gradient(var(--peach), var(--peach)) no-repeat 0 85% / 100% 45%; border-radius: 3px; }
[data-theme="dark"] .quote mark { background-image: linear-gradient(rgba(255, 98, 77, .45), rgba(255, 98, 77, .45)); }
.quote small { color: var(--ink-3); font-size: .8rem; }

/* słupki efektów (jak wykres w aplikacji) */
.bars { display: flex; align-items: flex-end; gap: 8px; padding: 6px 4px 0; }
.bars i { flex: 1; height: var(--h); border-radius: 8px; transform-origin: 50% 100%; background: repeating-linear-gradient(-45deg, var(--coral) 0 3px, var(--hatch) 3px 6px); }
.bars i:nth-child(2n) { background: var(--ink); }
.bars .b1 { --h: 38%; } .bars .b2 { --h: 55%; } .bars .b3 { --h: 46%; } .bars .b4 { --h: 72%; } .bars .b5 { --h: 64%; } .bars .b6 { --h: 88%; }

@media (prefers-reduced-motion: no-preference) {
  .js .bc .pin { opacity: 0; }
  .js .bc.in .pin { animation: drop 650ms cubic-bezier(.34, 1.56, .64, 1) both; }
  .js .bc.in .p2 { animation-delay: 120ms; } .js .bc.in .p3 { animation-delay: 240ms; } .js .bc.in .p4 { animation-delay: 360ms; } .js .bc.in .p5 { animation-delay: 480ms; } .js .bc.in .p6 { animation-delay: 600ms; }
  .js .bc.in .ring { animation: ping 3s var(--ease) infinite; } .js .bc.in .ring.r2 { animation-delay: 1.5s; }
  .js .bc .regs li svg { opacity: 0; transform: scale(.4); }
  .js .bc.in .regs li svg { animation: tick 420ms cubic-bezier(.34, 1.56, .64, 1) both; }
  .js .bc.in .regs li:nth-child(2) svg { animation-delay: 220ms; } .js .bc.in .regs li:nth-child(3) svg { animation-delay: 440ms; } .js .bc.in .regs li:nth-child(4) svg { animation-delay: 660ms; } .js .bc.in .regs li:nth-child(5) svg { animation-delay: 880ms; }
  .js .bc.in .typing { animation: chatseq 7s var(--ease) infinite; }
  .js .bc.in .typing i { animation: bounce 1s ease-in-out infinite; } .js .bc.in .typing i:nth-child(2) { animation-delay: .15s; } .js .bc.in .typing i:nth-child(3) { animation-delay: .3s; }
  .js .bc.in .msgb { animation: msgseq 7s var(--ease) infinite; }
  .js .bc.in .sendb { animation: sendseq 7s var(--ease) infinite; }
  .js .bc.in .tap { animation: tapseq 7s var(--ease) infinite; }
  .js .bc .saves li { opacity: 0; transform: translateX(-16px); }
  .js .bc.in .saves li { animation: slidein 600ms var(--ease) both; }
  .js .bc.in .saves li:nth-child(2) { animation-delay: 200ms; } .js .bc.in .saves li:nth-child(3) { animation-delay: 400ms; }
  .js .bc.in .saves li i { animation: pulse 2s ease-in-out infinite; }
  .js .bc .quote mark { background-size: 0 45%; }
  .js .bc.in .quote mark { animation: hl 5s var(--ease) infinite; }
  .js .bc.in .bars i { animation: grow 900ms var(--ease) both; }
  .js .bc.in .bars i:nth-child(2) { animation-delay: 80ms; } .js .bc.in .bars i:nth-child(3) { animation-delay: 160ms; } .js .bc.in .bars i:nth-child(4) { animation-delay: 240ms; } .js .bc.in .bars i:nth-child(5) { animation-delay: 320ms; } .js .bc.in .bars i:nth-child(6) { animation-delay: 400ms; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-40px) rotate(-45deg); } to { opacity: 1; transform: rotate(-45deg); } }
@keyframes ping { 0% { opacity: .6; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes tick { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes bounce { 50% { transform: translateY(-4px); } }
@keyframes chatseq { 0%, 22% { opacity: 1; transform: none; } 28%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes msgseq { 0%, 24% { opacity: 0; transform: translateY(10px); filter: blur(6px); } 34%, 92% { opacity: 1; transform: none; filter: none; } 100% { opacity: 0; } }
@keyframes sendseq { 0%, 40% { opacity: 0; transform: translateY(6px); } 48%, 92% { opacity: 1; transform: none; } 58% { transform: scale(.94); } 62% { transform: none; } 100% { opacity: 0; } }
@keyframes tapseq { 0%, 54% { opacity: 0; transform: scale(.2); } 58% { opacity: .5; } 70%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes slidein { to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px var(--soft); } }
@keyframes hl { 0% { background-size: 0 45%; } 30%, 85% { background-size: 100% 45%; } 100% { background-size: 0 45%; } }
@keyframes grow { from { transform: scaleY(.04); } }

/* liczby */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-bottom: clamp(24px, 4vw, 48px); }
.stats > div { display: grid; gap: 4px; padding: 24px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.stats b { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats > div:first-child { background: var(--hot); color: #fff; }
.stats > div:first-child span { color: rgba(255, 255, 255, .85); }
.stats span { color: var(--ink-3); }

/* porównanie: dwie kolumny ptaszków zamiast tabeli */
.vs { margin-top: 36px; max-width: 760px; padding: 10px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.vs-head, .vs li { display: grid; grid-template-columns: minmax(0, 1fr) 96px 96px; align-items: center; gap: 8px; }
.vs-head { padding: 12px 16px; border-radius: 16px; background: var(--card-2); font-size: .86rem; color: var(--ink-3); }
.vs-head b { text-align: center; font-weight: 600; }
.vs-head .us { color: #fff; background: var(--hot); border-radius: 999px; padding: 4px 0; }
.vs ul { list-style: none; margin: 0; padding: 0; }
.vs li { padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
.vs li:last-child { border-bottom: 0; }
.vs li b { display: grid; place-items: center; }
.vs .yes svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--go-soft); color: var(--go); }
.vs .no svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--chip); color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .js .vs li { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
  .js .vs.in li { opacity: 1; transform: none; }
  .js .vs.in li:nth-child(2) { transition-delay: 70ms; } .js .vs.in li:nth-child(3) { transition-delay: 140ms; } .js .vs.in li:nth-child(4) { transition-delay: 210ms; } .js .vs.in li:nth-child(5) { transition-delay: 280ms; } .js .vs.in li:nth-child(6) { transition-delay: 350ms; }
}

@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-map { grid-row: span 1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .bc-map, .bc-chat, .bc-quote { grid-column: auto; }
  .bc-map .bv { min-height: 240px; }
  .vs-head, .vs li { grid-template-columns: minmax(0, 1fr) 64px 64px; padding-inline: 10px; }
  .hero-art .ribbon { inset: -5% -10%; width: 120%; height: 110%; }
}
.hero-art .scribble { display: none; }
.hero-art .ribbon { inset: -18% -25% -25% -45%; width: 170%; height: 145%; -webkit-mask-image: radial-gradient(75% 70% at 50% 55%, #000 55%, transparent 85%); mask-image: radial-gradient(75% 70% at 50% 55%, #000 55%, transparent 85%); }
.hero-art .ribbon path { stroke-width: 2.2; stroke-dasharray: 320 720; opacity: .85; }
.hero-art .ribbon path:nth-child(2n) { stroke-width: 1.4; opacity: .7; }
/* wiązka 16 linii: każda z własnym tempem, razem wygląda jak płynąca wstęga światła */
.hero-art .ribbon { inset: -20% -25% -30% -50%; width: 175%; height: 150%; }
.hero-art .ribbon path { stroke: var(--coral); stroke-width: 1.3; stroke-dasharray: 260 780; opacity: .7; filter: none; }
.hero-art .ribbon path:nth-child(3n) { stroke: #FFB59E; opacity: .6; }
.hero-art .ribbon path:nth-child(4n+1) { stroke-width: 2; opacity: .9; }
.hero-art .glow { position: absolute; z-index: 0; left: 10%; top: 30%; width: 70%; height: 55%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 98, 77, .35), transparent);
  filter: blur(30px); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .ribbon path { animation: flow 7s linear infinite; }
  .hero-art .ribbon path:nth-child(2n) { animation-duration: 8.5s; }
  .hero-art .ribbon path:nth-child(3n) { animation-duration: 6s; }
  .hero-art .ribbon path:nth-child(1) { animation-delay: -0.4s; } .hero-art .ribbon path:nth-child(2) { animation-delay: -1.1s; } .hero-art .ribbon path:nth-child(3) { animation-delay: -1.9s; }
  .hero-art .ribbon path:nth-child(4) { animation-delay: -2.6s; } .hero-art .ribbon path:nth-child(5) { animation-delay: -3.2s; } .hero-art .ribbon path:nth-child(6) { animation-delay: -3.9s; }
  .hero-art .ribbon path:nth-child(7) { animation-delay: -4.5s; } .hero-art .ribbon path:nth-child(8) { animation-delay: -5.3s; } .hero-art .ribbon path:nth-child(9) { animation-delay: -0.8s; }
  .hero-art .ribbon path:nth-child(10) { animation-delay: -1.6s; } .hero-art .ribbon path:nth-child(11) { animation-delay: -2.3s; } .hero-art .ribbon path:nth-child(12) { animation-delay: -3s; }
  .hero-art .ribbon path:nth-child(13) { animation-delay: -3.6s; } .hero-art .ribbon path:nth-child(14) { animation-delay: -4.2s; } .hero-art .ribbon path:nth-child(15) { animation-delay: -4.9s; }
  .hero-art .ribbon path:nth-child(16) { animation-delay: -5.6s; }
  .hero-art .glow { animation: breathe 6s ease-in-out infinite; }
}
@keyframes breathe { 50% { opacity: .55; transform: scale(1.08) translateX(4%); } }
[data-theme="dark"] .hero-art .ribbon path { opacity: .9; }
[data-theme="dark"] .hero-art .glow { background: radial-gradient(closest-side, rgba(255, 98, 77, .45), transparent); }

/* --- telefon: nic nie wystaje poza ekran (wstęga jest przycięta do hero), równe marginesy i symetryczny nagłówek ----------- */
html { overflow-x: clip; }
.hero-art { overflow: clip; overflow-clip-margin: 0; }
@media (min-width: 1021px) { .hero-art { overflow: visible; } }
@media (max-width: 720px) {
  .wrap, .integr { width: calc(100% - 32px); }
  .path { width: calc(100% - 16px); }
  .top-in { justify-content: space-between; }
  .top-cta { margin-left: 0; }
  .hero { padding-block: 24px 32px; gap: 20px; }
  .hero-copy .cta-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-copy .cta-row .btn { width: 100%; }
  .checks { align-items: flex-start; }
  .hero-art .ribbon { inset: 0; width: 100%; height: 100%; }
  .app-tilt { padding: 12px 0 16px; }
  .stats-card { margin-top: 0; }
  .bento, .stats { gap: 12px; }
  .bc { padding: 18px; }
  .stats > div { padding: 18px; }
  .vs { padding: 6px; }
  .closing-in { padding: 28px 22px; text-align: left; }
  .closing .cta-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .closing .cta-row .btn { width: 100%; }
  .foot-in { justify-items: stretch; }
  .foot nav { justify-content: flex-start; }
}

/* === mikroanimacje strony głównej ========================================================================================== */
.top { position: sticky; }
.sprog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.app-tilt { transform-style: preserve-3d; transition: transform 600ms var(--ease); }
/* główny przycisk: połysk co kilka sekund, strzałka podjeżdża */
.btn { position: relative; overflow: hidden; }
.btn svg { transition: transform 220ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.hero-copy .btn:not(.btn-outline)::after, .top-cta .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); }
[data-theme="dark"] .hero-copy .btn:not(.btn-outline)::after, [data-theme="dark"] .top-cta .btn::after { background: linear-gradient(100deg, transparent, rgba(0, 0, 0, .12), transparent); }
/* światło za kursorem na kafelkach */
.bc::before, .stats > div::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 250ms ease; z-index: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--coral) 12%, transparent), transparent 70%); }
.stats > div { position: relative; overflow: hidden; }
.bc-hot::before, .stats > div:first-child::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .3), transparent 70%); }
@media (hover: hover) and (pointer: fine) { .bc:hover::before, .stats > div:hover::before { opacity: 1; } .stats > div { transition: transform 300ms var(--ease); } .stats > div:hover { transform: translateY(-4px); } }
/* FAQ: odpowiedź wysuwa się miękko */
.faq details[open] p { animation: faqin 320ms var(--ease); }
@keyframes faqin { from { opacity: 0; transform: translateY(-6px); } }
/* zrzuty w ścieżce: lekki zoom przy najechaniu */
.shot img { transition: transform 600ms var(--ease); }
@media (hover: hover) { .shot:hover img { transform: scale(1.02); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy .btn:not(.btn-outline)::after, .top-cta .btn::after { animation: shine 4.5s var(--ease) 1.5s infinite; }
}
@keyframes shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .app-tilt, .btn svg, .shot img { transition: none; } .faq details[open] p { animation: none; } }

/* === wydajność i stabilność (telefon) ================================================================================= */
/* sekcje wchodzą bez rozmycia: tylko przenikanie i przesunięcie (kompozytor, bez kosztownego filtra) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { filter: none; transform: translateY(14px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
  .js .rv.in { transform: none; }
  .top-in > *, .hero-copy > *, .stats-card { animation-name: fadeup; }
  .app-win { animation-name: fadeup; }
}
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } }
/* wstęga: animuje się tylko, gdy hero jest na ekranie; na telefonie 6 linii i stoi (przerysowanie kreski co klatkę jest drogie) */
.hero-art.off .ribbon path, .hero-art.off .glow, .hero-art.off ~ * .stats-card { animation-play-state: paused; }
@media (max-width: 720px) {
  .hero-art .ribbon path:nth-child(n+7) { display: none; }
  .hero-art .ribbon path, .hero-art .glow { animation: none !important; stroke-dashoffset: 300; }
  .stats-card { animation: none; }
}
/* kafelki: animacje w pętli stoją, gdy kafelek jest poza ekranem */
.bc.off *, .marquee.off .mq { animation-play-state: paused !important; }
html { scroll-padding-top: 88px; }
.sheet, .vid { overscroll-behavior: contain; }
