/* LuBi-Software — prototyp v3 strony głównej.
   Kierunek: „przemysłowy edytorial”. Ciepły papier, siatka techniczna, mono etykiety, sygnalizacja andon
   (zielony / bursztyn / czerwony) jako język wizualny. Jasny i ciemny motyw z tokenów. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --k-paper: #f5f4ee;
  --k-paper-2: #ecebe3;
  --k-card: #fffffb;
  --k-ink: #0b1f19;
  --k-ink-2: #33463f;
  --k-mute: #66756f;
  --k-line: rgba(11, 31, 25, .12);
  --k-line-2: rgba(11, 31, 25, .2);
  --k-brand: #10b981;
  --k-brand-d: #047857;
  --k-brand-ink: #022c22;
  --k-amber: #f59e0b;
  --k-red: #ef4444;
  --k-screen: #0a1612;
  --k-screen-2: #11221c;
  --k-screen-line: rgba(255, 255, 255, .08);
  --k-grid: rgba(11, 31, 25, .06);
  --k-shadow: 0 1px 0 rgba(11,31,25,.04), 0 18px 40px -22px rgba(11,31,25,.35);
  --k-r: 18px;
  --k-mono: ui-monospace, "Cascadia Mono", "JetBrains Mono", Consolas, "SF Mono", monospace;
  --k-ease: cubic-bezier(.2, .7, .2, 1);
}
body.v3 *, body.v3 *::before, body.v3 *::after { box-sizing: border-box; }
html:has(body.v3) { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.v3 {
  margin: 0; background: var(--k-paper); color: var(--k-ink);
  font: 400 17px/1.6 "Inter", "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.v3 :where(img) { max-width: 100%; height: auto; display: block; }
:where(body.v3 a) { color: inherit; }
:where(body.v3 :is(h1, h2, h3, p, ol, ul, dl, dd, blockquote, figure)) { margin: 0; }
:where(body.v3 :is(ul, ol)) { padding: 0; list-style: none; }
:where(body.v3 button) { font: inherit; color: inherit; }
:where(body.v3) :focus-visible { outline: 3px solid var(--k-brand); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--k-ink); color: var(--k-paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 650; text-decoration: none; border-radius: 999px; padding: .8em 1.35em; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--k-ease), background .2s, box-shadow .25s, border-color .2s; white-space: nowrap; }
.btn span[aria-hidden] { transition: transform .25s var(--k-ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-sm { font-size: .9rem; padding: .6em 1.1em; }
.btn-lg { font-size: 1.02rem; padding: .95em 1.55em; }
.btn-full { width: 100%; }
.btn-brand { background: var(--k-brand); color: var(--k-brand-ink); box-shadow: 0 10px 30px -12px rgba(16,185,129,.7); }
.btn-brand:hover { background: #34d399; box-shadow: 0 14px 34px -12px rgba(16,185,129,.85); }
.btn-ink { background: var(--k-ink); color: var(--k-paper); }
.btn-ink:hover { background: var(--k-brand-d); color: #fff; }
.btn-line { border-color: var(--k-line-2); background: color-mix(in srgb, var(--k-card) 60%, transparent); }
.btn-line:hover { border-color: var(--k-ink); }

/* ---------- etykiety ---------- */
.kick, .tag-mono { font: 600 .74rem/1.2 var(--k-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--k-brand-d); display: inline-flex; align-items: center; gap: .6em; }
.kick::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 750; margin: 14px 0 0; text-wrap: balance; }
.lead { color: var(--k-ink-2); font-size: 1.1rem; margin-top: 16px; max-width: 58ch; text-wrap: pretty; }
.fine { color: var(--k-mute); font-size: .82rem; margin-top: 14px; }
.more { font-weight: 650; color: var(--k-brand-d); text-decoration: none; font-size: .92rem; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--k-brand); display: inline-block; flex: none; }
.dot-live { box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

/* ---------- nagłówek ---------- */
.hdr { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.hdr.is-stuck { background: color-mix(in srgb, var(--k-paper) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--k-line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; font-size: .94rem; font-weight: 550; color: var(--k-ink-2); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--k-paper-2); color: var(--k-ink); }
.nav-lang { display: none; }
.hdr-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr-tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 .9rem var(--k-mono); padding: 8px 10px; border-radius: 999px; }
.hdr-tel svg { width: 18px; height: 18px; fill: none; stroke: var(--k-brand-d); stroke-width: 2; stroke-linejoin: round; }
.hdr-tel:hover { background: var(--k-paper-2); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--k-line-2); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--k-ink); border-radius: 2px; transition: transform .3s var(--k-ease), top .3s var(--k-ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 36px 0 56px; isolation: isolate; }
.hero-grid-bg { position: absolute; inset: -72px 0 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--k-grid) 1px, transparent 1px), linear-gradient(90deg, var(--k-grid) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); }
.hero-grid-bg::after { content: ""; position: absolute; width: 520px; height: 520px; right: 6%; top: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,.22), transparent 65%); filter: blur(10px); animation: float 14s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(-60px, 40px) scale(1.1); } }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-h { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.6rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 20px 0 22px; }
.hero-h .ln { display: block; }
.hero-h .hl { color: var(--k-brand-d); }
.hero-h .u { background: linear-gradient(rgba(16,185,129,.32), rgba(16,185,129,.32)) no-repeat 0 92% / 100% .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: underline 1s .9s var(--k-ease) both; }
@keyframes underline { from { background-size: 0 .16em; } }
.hero-sub { font-size: 1.15rem; color: var(--k-ink-2); max-width: 54ch; min-height: 5.5em; transition: opacity .25s; }
.hero-sub.is-swap { opacity: 0; }
.aud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 26px; }
.aud-l { font: 600 .74rem var(--k-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--k-mute); margin-right: 4px; }
.chip { border: 1px solid var(--k-line-2); background: var(--k-card); border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 550; cursor: pointer; transition: all .2s var(--k-ease); }
.chip:hover { border-color: var(--k-ink); }
.chip.is-on { background: var(--k-ink); color: var(--k-paper); border-color: var(--k-ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-who { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--k-line-2); max-width: 520px; }
.hero-who img { border-radius: 50%; width: 44px; height: 44px; }
.hero-who p { font-size: .9rem; color: var(--k-ink-2); line-height: 1.45; }

/* wejście hero */
.hero-copy > *, .board { animation: rise .9s var(--k-ease) both; }
.hero-copy > :nth-child(2) .ln:nth-child(1) { animation: rise .9s .05s var(--k-ease) both; }
.hero-h .ln { animation: rise .9s var(--k-ease) both; }
.hero-h .ln:nth-child(2) { animation-delay: .1s; } .hero-h .ln:nth-child(3) { animation-delay: .2s; }
.hero-sub { animation-delay: .3s; } .aud { animation-delay: .38s; } .hero-cta { animation-delay: .46s; } .hero-who { animation-delay: .54s; }
.board { animation: boardin 1.1s .25s var(--k-ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes boardin { from { opacity: 0; transform: perspective(1200px) rotateX(10deg) translateY(30px); } }

/* ---------- tablica andon ---------- */
.board { position: relative; background: var(--k-screen); color: #e6f2ec; border-radius: 22px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(2,44,34,.6), 0 0 0 1px rgba(255,255,255,.06) inset; font-size: .85rem; }
.board::before { content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; background: linear-gradient(140deg, rgba(16,185,129,.7), transparent 40%, transparent 70%, rgba(16,185,129,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.board-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 14px; border-bottom: 1px solid var(--k-screen-line); }
.board-t { display: inline-flex; align-items: center; gap: 10px; font: 600 .75rem var(--k-mono); letter-spacing: .12em; text-transform: uppercase; color: #a7f3d0; }
.board-clock { font: 600 .9rem var(--k-mono); color: #cfe3da; font-variant-numeric: tabular-nums; }
.board-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.board-kpi div { background: var(--k-screen-2); border-radius: 12px; padding: 10px 12px; border: 1px solid var(--k-screen-line); }
.board-kpi span { display: block; font-size: .7rem; color: #8fb0a3; }
.board-kpi b { font: 700 1.55rem/1.1 var(--k-mono); font-variant-numeric: tabular-nums; display: inline-block; transition: color .3s; }
.board-kpi b.bump { animation: bump .5s var(--k-ease); }
@keyframes bump { 40% { transform: scale(1.15); color: #6ee7b7; } }
.board-kpi b.warn { color: #fbbf24; }
.board-cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cell { background: var(--k-screen-2); border: 1px solid var(--k-screen-line); border-radius: 12px; padding: 10px; position: relative; overflow: hidden; transition: border-color .4s, background .4s; }
.cell-h { display: flex; justify-content: space-between; align-items: center; font: 700 .78rem var(--k-mono); }
.cell-h i { width: 9px; height: 9px; border-radius: 50%; background: var(--k-brand); box-shadow: 0 0 10px var(--k-brand); transition: background .4s, box-shadow .4s; }
.cell small { display: block; color: #8fb0a3; font-size: .68rem; margin: 2px 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell .bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.cell .bar b { display: block; height: 100%; width: var(--p, 40%); background: var(--k-brand); border-radius: 4px; transition: width 1.2s var(--k-ease), background .4s; }
.cell[data-st="wait"] .cell-h i { background: var(--k-amber); box-shadow: 0 0 10px var(--k-amber); }
.cell[data-st="wait"] .bar b { background: var(--k-amber); }
.cell[data-st="stop"] { border-color: rgba(239,68,68,.5); background: #1d1414; }
.cell[data-st="stop"] .cell-h i { background: var(--k-red); box-shadow: 0 0 12px var(--k-red); animation: blink 1s steps(2) infinite; }
.cell[data-st="stop"] .bar b { background: var(--k-red); }
@keyframes blink { 50% { opacity: .25; } }
.board-feed { margin-top: 12px; height: 84px; overflow: hidden; display: flex; flex-direction: column; gap: 4px; mask-image: linear-gradient(#000 60%, transparent); -webkit-mask-image: linear-gradient(#000 60%, transparent); }
.board-feed li { font: 500 .74rem/1.5 var(--k-mono); color: #b7cfc5; display: flex; gap: 10px; animation: feed .5s var(--k-ease) both; }
.board-feed li time { color: #6f8f83; }
.board-feed li.w { color: #fcd34d; } .board-feed li.r { color: #fca5a5; } .board-feed li.g { color: #6ee7b7; }
@keyframes feed { from { opacity: 0; transform: translateY(-8px); } }
.board-note { position: absolute; right: 16px; bottom: 12px; font: 500 .66rem var(--k-mono); color: #6f8f83; letter-spacing: .06em; }

/* ---------- liczby ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--k-line-2); }
.proof > div { padding: 22px 22px 0 0; }
.proof > div + div { padding-left: 22px; border-left: 1px solid var(--k-line); }
.proof dt { font-size: 1rem; font-weight: 600; color: var(--k-ink-2); }
.proof dt b { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); letter-spacing: -.04em; color: var(--k-ink); font-weight: 800; font-variant-numeric: tabular-nums; margin-right: 2px; }
.proof dd { font-size: .88rem; color: var(--k-mute); margin-top: 4px; line-height: 1.45; }

/* ---------- sekcje ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.sec-head { margin-bottom: 44px; max-width: 760px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
.sec-ink { background: var(--k-screen); color: #e8f1ec; --k-ink-2: #b9c9c1; --k-mute: #8aa197; --k-line: rgba(255,255,255,.1); }
.sec-ink .kick { color: #6ee7b7; }
.sec-paper2 { background: var(--k-paper-2); }

/* kalkulator */
.calc-sec { padding-top: 40px; }
.calc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; background: var(--k-card); border: 1px solid var(--k-line); border-radius: 28px; padding: clamp(28px, 4vw, 56px); box-shadow: var(--k-shadow); width: min(1200px, 100% - 40px); }
.calc-box { display: grid; gap: 22px; }
.rng label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.rng output { font: 700 1.05rem var(--k-mono); color: var(--k-brand-d); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--k-brand) var(--fill, 30%), var(--k-paper-2) var(--fill, 30%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--k-card); border: 3px solid var(--k-brand); box-shadow: 0 3px 10px rgba(0,0,0,.2); transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--k-card); border: 3px solid var(--k-brand); }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: var(--k-screen); color: #e6f2ec; border-radius: 16px; padding: 18px; }
.calc-out span { display: block; font: 500 .7rem var(--k-mono); letter-spacing: .08em; text-transform: uppercase; color: #8fb0a3; }
.calc-out b { font: 700 clamp(1.15rem, .9rem + 1vw, 1.6rem)/1.2 var(--k-mono); font-variant-numeric: tabular-nums; color: #6ee7b7; }
.calc-out div + div { border-left: 1px solid var(--k-screen-line); padding-left: 12px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--k-card); border: 1px solid var(--k-line); border-radius: var(--k-r); padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: transform .35s var(--k-ease), box-shadow .35s, border-color .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--k-shadow); border-color: var(--k-line-2); }
.tile h3 { font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.2; }
.tile p { color: var(--k-ink-2); font-size: .95rem; }
.tile .more { margin-top: auto; padding-top: 8px; }
.t-big { grid-column: span 2; grid-row: span 2; }
.t-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; }
.t-wide .tile-txt { flex: 1 1 50%; display: flex; flex-direction: column; gap: 10px; }
.t-dark { background: var(--k-screen); color: #e8f1ec; border-color: transparent; }
.t-dark p { color: #b9c9c1; } .t-dark .more { color: #6ee7b7; }
.tile.is-pick { border-color: var(--k-brand); box-shadow: 0 0 0 3px rgba(16,185,129,.18), var(--k-shadow); }
.tile.is-pick::after { content: "dla Ciebie"; position: absolute; top: 14px; right: 14px; font: 600 .66rem var(--k-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--k-brand); color: var(--k-brand-ink); padding: 4px 9px; border-radius: 999px; }
.shot { margin-top: auto; border-radius: 12px; overflow: hidden; border: 1px solid var(--k-line); background: var(--k-paper-2); }
.shot img { transition: transform .8s var(--k-ease); }
.tile:hover .shot img { transform: scale(1.035); }
.shot figcaption { font: 500 .7rem var(--k-mono); color: var(--k-mute); padding: 8px 12px; }
.t-big .shot { margin-top: 18px; }
.t-wide .shot { flex: 1 1 50%; margin: 0; }
.flow { display: flex; align-items: center; gap: 6px; margin: 8px 0 4px; font: 600 .74rem var(--k-mono); }
.flow span { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--k-line-2); background: var(--k-paper); }
.flow .flow-mid { background: var(--k-ink); color: var(--k-paper); border-color: var(--k-ink); }
.flow i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--k-brand) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 24px 0; } }
.ticks { display: grid; gap: 6px; margin: 6px 0 2px; font-size: .84rem; }
.ticks li { display: flex; gap: 8px; align-items: center; color: var(--k-ink-2); }
.ticks li::before { content: "✓"; width: 20px; height: 20px; flex: none; border-radius: 6px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--k-paper-2); color: transparent; transition: background .3s, color .3s; }
.ticks li.on::before { background: var(--k-brand); color: var(--k-brand-ink); }
.spark { flex: 1 1 45%; height: 130px; display: flex; align-items: end; gap: 8px; padding: 10px; border-radius: 12px; background: var(--k-paper); border: 1px solid var(--k-line); }
.spark i { flex: 1; height: var(--h); background: linear-gradient(var(--k-brand), color-mix(in srgb, var(--k-brand) 40%, transparent)); border-radius: 6px 6px 2px 2px; transform-origin: bottom; }
.tile.in .spark i { animation: grow .9s var(--k-ease) both; }
.spark i:nth-child(n) { animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes grow { from { transform: scaleY(0); } }
.plc { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font: 600 .82rem var(--k-mono); padding: 10px 12px; border-radius: 10px; background: var(--k-paper); border: 1px solid var(--k-line); width: fit-content; }
.plc b { font-variant-numeric: tabular-nums; font-size: 1rem; }
.chat { margin-top: auto; display: grid; gap: 6px; font-size: .82rem; }
.chat span { padding: 8px 12px; border-radius: 14px; max-width: 92%; }
.chat .q { justify-self: end; background: var(--k-ink); color: var(--k-paper); border-bottom-right-radius: 4px; }
.chat .a { background: var(--k-paper-2); border-bottom-left-radius: 4px; min-height: 2.6em; }
.chat .a.typing::after { content: "▍"; animation: blink .8s steps(2) infinite; color: var(--k-brand-d); }
.integr { margin-top: 28px; display: flex; align-items: center; gap: 24px; border: 1px solid var(--k-line); border-radius: 999px; padding: 10px 10px 10px 24px; background: var(--k-card); overflow: hidden; }
.integr-l { font: 600 .72rem var(--k-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--k-mute); white-space: nowrap; }
.marq { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq-in { display: flex; gap: 10px; width: max-content; animation: marq 40s linear infinite; }
.marq:hover .marq-in { animation-play-state: paused; }
.marq-in span { white-space: nowrap; font-size: .88rem; font-weight: 550; padding: 7px 14px; border-radius: 999px; background: var(--k-paper); border: 1px solid var(--k-line); }
@keyframes marq { to { transform: translateX(-50%); } }

/* karuzela realizacji */
.car-nav { display: flex; gap: 8px; }
.car-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #e8f1ec; font-size: 1.1rem; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.car-btn:hover { background: var(--k-brand); color: var(--k-brand-ink); border-color: var(--k-brand); }
.car-btn:disabled { opacity: .3; pointer-events: none; }
.car { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 82vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, calc((100vw - 1200px) / 2)) 24px; scroll-padding-inline: max(20px, calc((100vw - 1200px) / 2)); scrollbar-width: none; }
.car::-webkit-scrollbar { display: none; }
.case { scroll-snap-align: start; background: var(--k-screen-2); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--k-ease); }
.case:hover { border-color: rgba(110,231,183,.45); transform: translateY(-4px); }
.case img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; transition: transform .8s var(--k-ease); }
.case:hover img { transform: scale(1.04); }
.case-b { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; position: relative; background: var(--k-screen-2); }
.case-m { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; color: #6ee7b7; line-height: 1.05; }
.case h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.case p { color: #b9c9c1; font-size: .95rem; }
.case-tags { margin-top: auto !important; padding-top: 8px; font: 500 .74rem var(--k-mono) !important; color: #7c988d !important; letter-spacing: .04em; }
.case.is-pick { border-color: var(--k-brand); }

/* proces */
.proc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.proc-side { position: sticky; top: 110px; }
.proc-num { margin-top: 40px; font-family: var(--k-mono); line-height: 1; display: flex; align-items: baseline; }
.proc-num b { font-size: clamp(4.5rem, 3rem + 5vw, 8rem); font-weight: 800; letter-spacing: -.06em; color: var(--k-brand-d); font-variant-numeric: tabular-nums; }
.proc-num span { font-size: 1.4rem; color: var(--k-mute); margin-left: 6px; }
.proc-num b.flip { animation: flip .45s var(--k-ease); }
@keyframes flip { from { opacity: 0; transform: translateY(20px); } }
.proc-bar { margin-top: 20px; height: 4px; border-radius: 4px; background: var(--k-paper-2); overflow: hidden; max-width: 320px; }
.proc-bar i { display: block; height: 100%; width: 25%; background: var(--k-brand); border-radius: 4px; transition: width .6s var(--k-ease); }
.steps { display: grid; gap: 18px; }
.step { background: var(--k-card); border: 1px solid var(--k-line); border-radius: 22px; padding: 30px; min-height: 260px; display: flex; flex-direction: column; gap: 10px; opacity: .45; transform: scale(.98); transition: opacity .5s, transform .5s var(--k-ease), border-color .4s, box-shadow .4s; }
.step.is-on { opacity: 1; transform: none; border-color: var(--k-line-2); box-shadow: var(--k-shadow); }
.step-n { font: 700 .8rem var(--k-mono); color: var(--k-brand-d); letter-spacing: .1em; }
.step h3 { font-size: 1.5rem; letter-spacing: -.025em; }
.step p { color: var(--k-ink-2); }
.step-out { margin-top: auto !important; padding-top: 14px; border-top: 1px dashed var(--k-line-2); display: flex; gap: 12px; align-items: baseline; font-weight: 600; color: var(--k-ink) !important; }
.step-out span { font: 600 .68rem var(--k-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--k-brand-ink); background: var(--k-brand); padding: 3px 8px; border-radius: 6px; }

/* zespół */
.team { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.team blockquote { margin-top: 22px; }
.team blockquote p { font-size: clamp(1.45rem, 1rem + 1.6vw, 2.2rem); line-height: 1.25; letter-spacing: -.025em; font-weight: 650; text-wrap: balance; }
.team-p { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.team-p img { border-radius: 50%; width: 72px; height: 72px; box-shadow: 0 0 0 4px var(--k-paper-2), 0 0 0 6px var(--k-brand); }
.team-p strong { display: block; font-size: 1.05rem; }
.team-p span { display: block; color: var(--k-mute); font-size: .9rem; }
.team-links a { color: var(--k-brand-d); font-weight: 600; text-decoration: none; }
.team-p2 { margin-top: 18px; }
.team-p2 img { width: 48px; height: 48px; box-shadow: none; }
.team-xp { background: var(--k-card); border: 1px solid var(--k-line); border-radius: 22px; padding: 30px; }
.team-xp-l { font: 600 .72rem var(--k-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--k-mute); }
.logos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.logos li { font-weight: 750; letter-spacing: -.02em; font-size: 1.05rem; padding: 14px; border-radius: 12px; background: var(--k-paper); border: 1px solid var(--k-line); text-align: center; color: var(--k-ink-2); transition: color .2s, border-color .2s; }
.logos li:hover { color: var(--k-ink); border-color: var(--k-line-2); }
.team-xp-n { font-size: .92rem; color: var(--k-ink-2); }

/* kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ways { display: grid; gap: 10px; margin: 28px 0 36px; }
.way { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--k-line); background: var(--k-card); text-decoration: none; transition: border-color .2s, transform .25s var(--k-ease); }
a.way:hover { border-color: var(--k-brand); transform: translateX(4px); }
.way-i { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--k-paper-2); font-size: 1.1rem; font-weight: 700; color: var(--k-brand-d); }
.way b { display: block; font-size: .98rem; }
.way span span, .way > span:last-child { font-size: .9rem; color: var(--k-ink-2); }
.faq-h { font-size: 1.1rem; margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--k-line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; font-weight: 400; color: var(--k-brand-d); transition: transform .3s var(--k-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--k-ink-2); font-size: .95rem; }
.faq details a { color: var(--k-brand-d); }
.form { background: var(--k-card); border: 1px solid var(--k-line); border-radius: 26px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--k-shadow); display: grid; gap: 16px; position: sticky; top: 96px; }
.form-h { font-size: 1.25rem; font-weight: 750; letter-spacing: -.02em; }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--k-line-2); font-size: .86rem; font-weight: 550; transition: all .2s; }
.topics input:checked + span { background: var(--k-ink); color: var(--k-paper); border-color: var(--k-ink); }
.topics input:focus-visible + span { outline: 3px solid var(--k-brand); outline-offset: 2px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fr { display: grid; gap: 6px; }
.fr label { font-weight: 600; font-size: .9rem; }
.fr small { font-weight: 400; color: var(--k-mute); }
.fr input, .fr textarea { font: inherit; font-size: 1rem; color: var(--k-ink); background: var(--k-paper); border: 1px solid var(--k-line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.fr input:focus, .fr textarea:focus { outline: none; border-color: var(--k-brand); box-shadow: 0 0 0 4px rgba(16,185,129,.18); background: var(--k-card); }
.fr textarea { resize: vertical; min-height: 110px; }
.chk { display: flex; gap: 10px; font-size: .84rem; color: var(--k-ink-2); align-items: flex-start; cursor: pointer; }
.chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--k-brand-d); flex: none; }
.chk a { color: var(--k-brand-d); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success, .form-error { display: none; padding: 12px 14px; border-radius: 12px; font-size: .92rem; }
.form-success { background: rgba(16,185,129,.12); color: var(--k-brand-d); }
.form-error { background: rgba(239,68,68,.1); color: #b91c1c; }
.form-success.show, .form-error.show { display: block; }

/* stopka */
.ftr { border-top: 1px solid var(--k-line); padding: 56px 0 28px; font-size: .9rem; }
.ftr-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.ftr-b p { margin-top: 14px; color: var(--k-mute); line-height: 1.6; }
.ftr nav { display: flex; flex-direction: column; gap: 8px; }
.ftr nav a, .ftr-b a { color: var(--k-ink-2); text-decoration: none; }
.ftr nav a:hover { color: var(--k-brand-d); }
.ftr-h { font: 600 .72rem var(--k-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--k-mute); margin-bottom: 4px; }
.ftr-bot { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--k-line); color: var(--k-mute); font-size: .82rem; }

/* pasek akcji (telefon) */
.mbar { display: none; }

/* ---------- pojawianie się przy przewijaniu ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--k-ease), transform .8s var(--k-ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .case { opacity: 0; transform: translateX(40px); transition: opacity .7s var(--k-ease), transform .7s var(--k-ease), border-color .3s; transition-delay: var(--d, 0s); }
.js .case.in { opacity: 1; transform: none; }
.js .case.in:hover { transform: translateY(-4px); }
/* liczby i krok procesu przewijane osią widoku tam, gdzie przeglądarka to umie */
@supports (animation-timeline: view()) {
  .proof > div { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}

/* ---------- responsywność ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .board { max-width: 640px; }
  .hero-sub { min-height: 0; }
  .calc, .proc, .team, .contact { grid-template-columns: 1fr; gap: 36px; }
  .proc-side { position: static; }
  .proc-num, .proc-bar { display: none; }
  .step { opacity: 1; transform: none; min-height: 0; }
  .form { position: static; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 12px 20px 24px; background: var(--k-paper); border-bottom: 1px solid var(--k-line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--k-ease); }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--k-line); }
  .nav-lang { display: block; padding: 14px 4px; color: var(--k-mute); }
  .nav-lang a { display: inline; border: 0; padding: 0; font-size: 1rem; }
  .burger { display: block; }
  .hdr-tel span { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-big { grid-column: span 2; grid-row: auto; }
  .t-wide { grid-column: span 2; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof > div:nth-child(n+3) { border-top: 1px solid var(--k-line); margin-top: 18px; }
}
@media (max-width: 640px) {
  body.v3 { font-size: 16px; }
  .wrap, .calc { width: calc(100% - 32px); }
  .hdr-in { height: 64px; gap: 12px; }
  .nav { inset: 64px 0 auto; }
  .hdr-act .btn { display: none; }
  .hero { padding-top: 20px; }
  .hero-h { font-size: clamp(2.2rem, 9.5vw, 3rem); }
  .hero-cta .btn { width: 100%; }
  .board { padding: 14px; border-radius: 18px; }
  .board-cells { grid-template-columns: repeat(2, 1fr); }
  .board-kpi b { font-size: 1.2rem; }
  .board-feed { height: 64px; }
  .proof { margin-top: 44px; }
  .proof > div, .proof > div + div { padding: 16px 12px 0 0; }
  .proof > div:nth-child(even) { padding-left: 14px; }
  .calc-out { grid-template-columns: 1fr; }
  .calc-out div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--k-screen-line); padding-top: 10px; }
  .bento { grid-template-columns: 1fr; }
  .t-big, .t-wide { grid-column: auto; }
  .t-wide { flex-direction: column; align-items: stretch; }
  .integr { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 16px; gap: 12px; }
  .sec-head-row { align-items: start; }
  .car-nav { display: none; }
  .f2 { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; }
  .ftr-bot { flex-direction: column; gap: 6px; padding-bottom: 70px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; padding: 8px; border-radius: 18px; background: color-mix(in srgb, var(--k-paper) 85%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 40px -10px rgba(0,0,0,.4), 0 0 0 1px var(--k-line); transform: translateY(140%); transition: transform .4s var(--k-ease); }
  .mbar.is-on { transform: none; }
  .mbar a { text-align: center; text-decoration: none; font-weight: 700; padding: 13px; border-radius: 12px; }
  .mbar-a { border: 1px solid var(--k-line-2); }
  .mbar-b { background: var(--k-brand); color: var(--k-brand-ink); }
}

/* ---------- ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .case { transform: none; }
  .marq-in { animation: none; flex-wrap: wrap; width: auto; }
}
@media print {
  .hdr, .mbar, .board, .car-nav { display: none; }
  .js .rv, .js .case { opacity: 1; transform: none; }
}
.calc > *, .contact > *, .team > *, .proc > * { min-width: 0; }
@media (max-width: 640px) { .calc { padding: 24px 20px; } .board-feed li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.calc-box, .form { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) { .btn { white-space: normal; text-align: center; } }

/* ---------- kotwice zgodne ze starą stroną ---------- */
.anchor { position: absolute; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* ---------- cennik ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price { background: var(--k-card); border: 1px solid var(--k-line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 6px; position: relative; transition: transform .35s var(--k-ease), box-shadow .35s, border-color .3s; }
.price:hover { transform: translateY(-4px); box-shadow: var(--k-shadow); border-color: var(--k-line-2); }
.price-k { font: 600 .7rem var(--k-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--k-brand-d); }
.price h3 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; margin-top: 4px; }
.price-v { margin-top: 14px !important; font-size: .95rem; color: var(--k-ink-2); font-weight: 600; }
.price-v b { font-size: 2.1rem; letter-spacing: -.04em; font-weight: 800; color: var(--k-ink); font-variant-numeric: tabular-nums; }
.price-t { font: 500 .78rem var(--k-mono); color: var(--k-mute); }
.price ul { margin-top: 14px !important; padding-top: 14px !important; border-top: 1px dashed var(--k-line-2); display: grid; gap: 8px; }
.price li { font-size: .9rem; color: var(--k-ink-2); padding-left: 22px; position: relative; line-height: 1.4; }
.price li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--k-brand); border-bottom: 2px solid var(--k-brand); transform: rotate(-45deg); }
.price-hot { background: var(--k-screen); color: #e8f1ec; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(2,44,34,.6); }
.price-hot .price-k { color: #6ee7b7; }
.price-hot .price-v, .price-hot li { color: #b9c9c1; }
.price-hot .price-v b { color: #fff; }
.price-hot .price-t { color: #8aa197; }
.price-hot ul { border-color: rgba(255,255,255,.15); }
.price-hot::before { content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; background: linear-gradient(140deg, var(--k-brand), transparent 45%, transparent 70%, rgba(16,185,129,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-cta { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-radius: 18px; border: 1px dashed var(--k-line-2); }
.price-cta p { color: var(--k-ink-2); }
@media (max-width: 1080px) { .prices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .prices { grid-template-columns: 1fr; } .price-cta { flex-direction: column; align-items: stretch; } }

/* ---------- baner cookies (strona główna nie ładuje styles.css) ---------- */
body.v3 .cookie-banner { position: fixed; z-index: 200; left: 0; right: 0; bottom: 0; padding: 16px; pointer-events: none; }
body.v3 .cookie-banner[hidden], body.v3 .cookie-settings[hidden] { display: none !important; }
body.v3 .cookie-banner-inner { pointer-events: auto; max-width: min(100%, 720px); margin-inline: auto; background: var(--k-card); border: 1px solid var(--k-line); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); padding: 20px 22px; }
body.v3 .cookie-banner-title { font-size: 1.1rem; margin-bottom: 6px; letter-spacing: -.02em; }
body.v3 .cookie-banner-text p { font-size: .9rem; color: var(--k-ink-2); line-height: 1.55; margin-bottom: 14px; }
body.v3 .cookie-banner-text a { color: var(--k-brand-d); font-weight: 600; }
body.v3 .cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.v3 .cookie-btn { font-size: .88rem; padding: .6em 1.1em; }
body.v3 .btn-primary, body.v3 .btn-accent { background: var(--k-brand); color: var(--k-brand-ink); }
body.v3 .btn-outline { border-color: var(--k-line-2); background: transparent; }
body.v3 .btn-ghost { background: transparent; color: var(--k-ink-2); }
body.v3 .cookie-settings { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--k-line); display: flex; flex-direction: column; gap: 12px; }
body.v3 .cookie-setting-label { display: flex; gap: 10px; cursor: pointer; font-size: .9rem; }
body.v3 .cookie-setting-label input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--k-brand-d); flex: none; }
body.v3 .cookie-setting-label strong { display: block; }
body.v3 .cookie-setting-desc { color: var(--k-mute); font-size: .84rem; }

html[lang="en"] .hero-h { font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4.1rem); }
