/* Vetkuro · Business Impact 2026
   Kierunek: Grafit. Ciemna strona jak ekran inżyniera na ścianie boksów: powierzchnie oddziela ton,
   nie linia; niebieski marki tylko w akcjach i w danych; kolory sektorów (S1, S2, S3) tylko w danych,
   tak jak w aplikacji, rozjaśnione o krok, żeby trzymały kontrast na ciemnym tle. */

@font-face {
  font-family: 'Avenir VK';
  src: url('../fonts/avenir-roman.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir VK';
  src: url('../fonts/avenir-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
/* Iosevka: krój liczb w aplikacji (czasy, delty, prędkości). Tylko w fragmentach interfejsu. */
@font-face {
  font-family: 'Iosevka VK';
  src: url('../fonts/iosevka-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Iosevka VK';
  src: url('../fonts/iosevka-semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Iosevka VK';
  src: url('../fonts/iosevka-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0a0b0f;
  --bg-2: #07080b;
  --s1: #191b22;
  --s2: #22252d;
  --s3: #2c3039;
  --tx: #f4f5f7;
  --tx2: #a9afba;
  --tx3: #858b98;
  --blue: #2e61d4;
  --blue-2: #3b6ee6;
  --blue-hi: #7c9ef2;
  /* Kolory danych z aplikacji: zysk i strata jak na ciemnych kaflach apki mobilnej (czerwień w odcieniu
     ciemnego trybu, żeby tekst trzymał kontrast), zielony kafla na żywo, biel śladu okrążenia. */
  --pos: #34c759;
  --neg: #ff453a;
  --gain-fill: rgba(52, 199, 89, 0.22);
  --loss-fill: rgba(255, 59, 48, 0.28);
  --live: #c1dd11;
  --ink: #fefefe;
  --ink-ref: rgba(254, 254, 254, 0.45);
  --mono: 'Iosevka VK', ui-monospace, Menlo, monospace; /* taste-skill-ignore: Iosevka to krój liczb w aplikacji, tylko w fragmentach interfejsu */
  --amber: #f2b544;
  --logo-mark: #2e61d4;

  --m: clamp(20px, 4.4vw, 72px);
  --gap: 24px;
  --sec: clamp(64px, 9vh, 104px);
  --r-xl: 28px;
  --r-l: 20px;
  --r-m: 14px;

  /* Dziewięć stopni pisma: ekran, nagłówek, liczba-plakat, liczba, wypowiedź, lead, tekst, mały, drobny. */
  --fs-display: clamp(44px, 6.1vw, 92px);
  --fs-h2: clamp(36px, 4.4vw, 68px);
  --fs-fig: clamp(120px, 15vw, 232px);
  --fs-num: clamp(34px, 3.1vw, 44px);
  --fs-xl: 28px;
  --fs-l: 20px;
  --fs-m: 18px;
  --fs-s: 15px;
  --fs-xs: 13px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: 'Avenir VK', 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: var(--fs-m);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
blockquote,
ul,
ol {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 800;
}
ul,
ol {
  list-style: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
b,
strong {
  font-weight: 800;
}
input,
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--blue);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--blue-hi);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px; /* taste-skill-ignore: tekst tylko dla czytników ekranu, nie linia */
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nums {
  font-variant-numeric: tabular-nums;
}
[data-ui] .nums,
[data-ui].nums {
  font-family: var(--mono); /* taste-skill-ignore: Iosevka to krój liczb w aplikacji, tylko w fragmentach interfejsu */
}
/* Etykiety danych jak w apce: Avenir Heavy wersalikami, liczby obok w Iosevce. */
.lbl,
.lap-read > div > span,
.lap-secs span,
.card-secs span,
.card-note span {
  display: block;
  font-family: 'Avenir VK', 'Avenir Next', Avenir, sans-serif;
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tx3);
}
.pos {
  color: var(--pos);
}
.neg {
  color: var(--neg);
}
.link {
  font-weight: 800;
  color: var(--blue-hi);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.link:hover {
  color: var(--tx);
}

/* Przyciski: płaskie, jeden kolor, pełne zaokrąglenie */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: var(--fs-s);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-2);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2); /* taste-skill-ignore: przycisk drugiego rzędu, nie pudełko */
  color: var(--tx);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-sm {
  height: 42px;
  padding: 0 20px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

/* Pasek: przezroczysty nad hero, pełny po pierwszym przewinięciu */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 36px;
  height: 84px;
  padding: 0 var(--m);
  transition:
    background-color 0.35s var(--ease),
    height 0.35s var(--ease);
}
.bar.is-solid {
  height: 68px;
  background: rgba(10, 11, 15, 0.88);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); /* taste-skill-ignore: jedyny przyklejony pasek */
  backdrop-filter: saturate(1.3) blur(14px); /* taste-skill-ignore: jedyny przyklejony pasek */
}
.bar-logo svg {
  width: 118px;
  height: auto;
  aspect-ratio: 151 / 26;
  color: var(--tx);
}
.bar nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: var(--fs-s);
  color: var(--tx2);
}
.bar nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.bar nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-expo);
}
.bar nav a:hover,
.bar nav a[aria-current] {
  color: var(--tx);
}
.bar nav a[aria-current]::after {
  transform: none;
}

/* Hero: zdjęcie analizatora wyłania się z ciemności po prawej, tekst stoi na samym tle */
.hero {
  position: relative;
  min-height: max(760px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--m) 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: -20%;
  aspect-ratio: 3 / 2;
  /* Maska wtapia zdjęcie w tło z trzech stron: tekst stoi na samym tle, nie na fotografii. */
  --fade-l: linear-gradient(90deg, transparent 0%, #000 28%); /* taste-skill-ignore: maska zdjęcia */
  --fade-b: linear-gradient(0deg, transparent 0%, transparent 16%, #000 50%); /* taste-skill-ignore: maska zdjęcia */
  --fade-t: linear-gradient(180deg, transparent 0%, #000 24%); /* taste-skill-ignore: maska zdjęcia */
  -webkit-mask-image: var(--fade-l), var(--fade-b), var(--fade-t);
  -webkit-mask-composite: source-in;
  mask-image: var(--fade-l), var(--fade-b), var(--fade-t);
  mask-composite: intersect;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  max-width: 640px;
}
.hero h1 {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.032em;
}
.hero h1 .ln {
  display: inline-block;
}
.hero-lead {
  margin-top: 32px;
  max-width: 30em;
  font-size: var(--fs-l);
  line-height: 1.55;
  color: var(--tx2);
}
.hero-lead b {
  font-weight: 500;
  color: var(--tx);
}
.entry {
  margin: 36px 0 56px;
  font-size: var(--fs-s);
  color: var(--tx2);
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gap);
}
.facts > div {
  padding-top: 22px;
}
.facts dt {
  font-weight: 800;
  font-size: var(--fs-num);
  line-height: 1;
  letter-spacing: -0.02em;
}
.facts dd {
  margin-top: 12px;
  max-width: 17em;
  font-size: var(--fs-s);
  line-height: 1.45;
  color: var(--tx2);
}
.asof {
  padding: 24px 0 28px;
  font-size: var(--fs-xs);
  color: var(--tx3);
  text-align: right;
}

/* Sekcje */
.sec {
  padding: var(--sec) var(--m);
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.03em;
}
.head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
  margin-bottom: 56px;
}
.head .h2 {
  grid-column: 1 / 7;
}
.head-txt {
  grid-column: 7 / 13;
  color: var(--tx2);
}
.head-txt b,
.head-txt .strong {
  font-weight: 500;
  color: var(--tx);
}
.head-txt .strong {
  font-size: var(--fs-l);
  line-height: 1.55;
}
.head-txt p + p {
  margin-top: 16px;
}
.head-stack {
  display: block;
  max-width: 820px;
}
.head-stack .head-txt {
  margin-top: 28px;
  max-width: 34em;
  font-size: var(--fs-l);
  line-height: 1.55;
}
.lead {
  font-size: var(--fs-l);
  line-height: 1.55;
  color: var(--tx2);
}
.cap {
  margin-top: 16px;
  font-size: var(--fs-xs);
  color: var(--tx3);
}
.tile {
  padding: 36px;
  border-radius: var(--r-xl);
  background: var(--s1);
}

/* Film */
.film {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
}
.film-copy {
  grid-column: 1 / 5;
  padding: 0 16px 4px 0;
}
.film-copy .head-txt {
  margin-top: 28px;
}
.player {
  grid-column: 5 / 13;
}
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--s1);
  isolation: isolate;
}
.player .poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 64%;
  transition: transform 1.4s var(--ease-expo);
}
.player::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 11, 0.4);
}
.player:has(iframe)::after {
  content: none;
}
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}
.play-btn {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--blue);
  transition:
    transform 0.5s var(--ease-expo),
    background-color 0.25s;
}
.play-btn svg {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  fill: #fff;
}
.play p {
  font-size: var(--fs-s);
  color: var(--tx2);
}
.play p b {
  display: block;
  margin-bottom: 2px;
  font-size: var(--fs-l);
  color: var(--tx);
}
.player:hover .play-btn {
  transform: scale(1.06);
  background: var(--blue-2);
}
.player:hover .poster {
  transform: scale(1.025);
}

/* Problem: konsola okrążenia (fragment interfejsu) */
.lap {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 0 48px;
  padding: 32px 36px 36px;
  border-radius: var(--r-xl);
  background: var(--s1);
}
.lap-top {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--fs-s);
  color: var(--tx2);
}
.lap-top b {
  font-weight: 500;
  color: var(--tx);
}
.lap-map {
  padding: 28px 8px 4px;
}
#lap-svg {
  width: 100%;
  height: auto;
  touch-action: pan-y;
  cursor: grab;
}
#lap-svg:active {
  cursor: grabbing;
}
/* Obrys jak w apce: szeroka jezdnia, na niej ślad twojego okrążenia, granice sektorów w niebieskim
   marki na białej obwódce, start i meta w szachownicę, auto jako biała kropka w niebieskim pierścieniu. */
#lap-svg .trk-base {
  fill: none;
  stroke: var(--s3);
  stroke-width: 30;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#lap-svg .trk {
  fill: none;
  stroke: var(--ink);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#lap-svg .cut-c {
  stroke: var(--ink);
  stroke-width: 9;
}
#lap-svg .cut {
  stroke: var(--blue);
  stroke-width: 6;
}
#lap-svg .ck-w {
  fill: var(--ink);
}
#lap-svg .ck-b {
  fill: #0a0b11;
}
#lap-svg .tag rect {
  fill: var(--s2);
}
#lap-svg .tag text {
  fill: var(--tx);
  font-family: var(--mono); /* taste-skill-ignore: Iosevka to krój liczb w aplikacji, tylko w fragmentach interfejsu */
  font-weight: 600;
  font-size: 22px;
}
#lap-svg .focus {
  fill: none;
  stroke: rgba(254, 254, 254, 0.55);
  stroke-width: 2.5;
  stroke-dasharray: 6 6;
}
#lap-svg .focus-label {
  fill: var(--tx2);
  font-size: 26px;
  font-weight: 500;
}
#lap-svg .car {
  fill: var(--ink);
  stroke: var(--blue);
  stroke-width: 5;
}
#lap-svg .halo {
  fill: var(--blue);
  opacity: 0.18;
}
.lap-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
}
/* Tablica okrążeń jak nagłówek analizatora w apce: znak linii, nazwa, czas z wyciszonymi tysięcznymi, różnica. */
.lap-board {
  padding: 6px 18px;
  border-radius: var(--r-m);
  background: var(--s2);
}
.lap-board > div {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto 72px;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.lap-board i {
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}
.lap-board .ref i {
  background: var(--ink-ref);
}
.lap-board span {
  font-weight: 800;
  font-size: var(--fs-xs);
  color: var(--tx2);
  font-family: 'Avenir VK', 'Avenir Next', Avenir, sans-serif;
}
.lap-board b {
  font-weight: 600;
  font-size: var(--fs-xl);
  line-height: 1.1;
}
.lap-board b small {
  font-size: inherit;
  color: var(--tx3);
}
.lap-board em {
  font-style: normal;
  font-weight: 600;
  font-size: var(--fs-m);
  text-align: right;
  color: var(--tx3);
}
.lap-board em.neg {
  color: var(--neg);
}
/* Odczyt pod kursorem: pigułki apki, etykieta z jednostką, wartość w Iosevce. */
.lap-read {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 0.8fr);
  gap: 6px;
}
.lap-read > div > span {
  white-space: nowrap;
}
.lap-read > div {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--s2);
}
.lap-read small {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.lap-read b {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  font-size: var(--fs-m);
}
/* Wykres jak podgląd analizy w apce: prędkość (twoja biała, odniesienie półprzezroczyste) nad deltą
   wypełnioną do zera, przerywane granice sektorów, kursor i kropki na liniach. */
.lap-chart {
  position: relative;
  height: 180px;
  touch-action: pan-y;
  cursor: ew-resize;
}
.lap-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lap-chart .grid {
  stroke: rgba(254, 254, 254, 0.08);
  stroke-width: 1;
}
.bound {
  stroke: rgba(254, 254, 254, 0.18);
  stroke-width: 1;
  stroke-dasharray: 2 3;
}
.v-ref {
  fill: none;
  stroke: var(--ink-ref);
  stroke-width: 2;
  stroke-linejoin: round;
}
.v-you {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linejoin: round;
}
.zero {
  stroke: rgba(254, 254, 254, 0.22);
  stroke-width: 1;
}
.d-gain {
  fill: var(--gain-fill);
}
.d-loss {
  fill: var(--loss-fill);
}
.d-line {
  fill: none;
  stroke: rgba(254, 254, 254, 0.7);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
#lap-cursor {
  stroke: rgba(254, 254, 254, 0.55);
  stroke-width: 1.2;
  stroke-dasharray: 2 3;
}
.lap-axes span {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--mono); /* taste-skill-ignore: Iosevka to krój liczb w aplikacji, tylko w fragmentach interfejsu */
  font-weight: 600;
  font-size: var(--fs-xs);
  line-height: 1;
  color: var(--tx3);
}
.lap-axes .sx {
  top: 0;
  margin-left: 6px;
  transform: none;
}
.lap-chart .dot {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.lap-chart .ref {
  width: 6px;
  height: 6px;
  background: var(--ink-ref);
}
.lap-chart .you,
.lap-chart .dd {
  width: 10px;
  height: 10px;
  border: 2px solid var(--dc, var(--ink));
  background: var(--s1);
}
.lap-chart .dd {
  width: 7px;
  height: 7px;
  border-width: 1.5px;
}
.lap-chart.is-gain {
  --dc: var(--pos);
}
.lap-chart.is-loss {
  --dc: var(--neg);
}
/* Suwak jak zakres w analizatorze web: niebieski uchwyt-belka na ciemnej szynie. */
.lap-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 30px;
  margin: -8px 0;
  background: transparent;
  cursor: pointer;
}
.lap-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: var(--s3);
}
.lap-range::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--s3);
}
.lap-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 26px;
  margin-top: -11px;
  border: 0;
  border-radius: 3px;
  background: var(--blue-2);
}
.lap-range::-moz-range-thumb {
  width: 10px;
  height: 26px;
  border: 0;
  border-radius: 3px;
  background: var(--blue-2);
}
/* Kafle sektorów jak w apce: etykieta i delta w jednym wierszu, czas sektora pod spodem. */
.lap-secs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.lap-secs > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--s2);
  transition: background-color 0.3s var(--ease);
}
.lap-secs b {
  grid-column: 1 / -1;
  font-weight: 500;
  font-size: var(--fs-l);
}
.lap-secs em {
  grid-column: 2;
  grid-row: 1;
  font-style: normal;
  font-weight: 700;
  font-size: var(--fs-s);
}
/* Aktywny sektor jak zaznaczony wiersz w analizatorze web: niebieska belka po lewej. */
.lap-secs > div.on {
  box-shadow: inset 4px 0 0 var(--blue-2); /* taste-skill-ignore: fragment interfejsu (data-ui), znacznik zaznaczenia jak w aplikacji */
}
.lap-note {
  font-size: var(--fs-s);
  line-height: 1.5;
  color: var(--tx2);
}

/* Produkt: cykl nauki w czterech stanach jednej karty */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  column-gap: var(--gap);
}
.step {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
}
.step h3 {
  margin-top: 28px;
  font-size: var(--fs-l);
  line-height: 1.3;
}
.step > p {
  margin-top: 8px;
  color: var(--tx2);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--r-l);
  background: var(--s1);
}
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-xs);
  color: var(--tx3);
}
.card-top b {
  font-weight: 500;
  color: var(--tx);
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--neg);
}
.live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.card-time {
  font-weight: 800;
  font-size: var(--fs-num);
  line-height: 1;
  letter-spacing: -0.02em;
}
.card-time.gain {
  color: var(--live);
}
.card-time small {
  font-size: 0.5em;
}
.card-sub {
  font-size: var(--fs-xs);
  color: var(--tx2);
}
.card-sub b {
  font-weight: 500;
  color: var(--tx);
}
/* Kafel delty na żywo z apki: liczba, pod nią dziesięć pól, zysk rośnie w prawo od środka (1 s = 10 %). */
.card-live {
  display: grid;
  gap: 8px;
}
.card-live > span {
  font-size: var(--fs-s);
  color: var(--tx2);
}
.dbar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
}
.dbar i {
  box-shadow: inset 0 0 0 1px rgba(254, 254, 254, 0.18); /* taste-skill-ignore: fragment interfejsu (data-ui), obwódka jak w aplikacji */
}
.dbar u {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: max(var(--g), 3px);
  background: var(--live);
}
.card-secs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.card-secs > div {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--s2);
}
.card-secs b {
  font-weight: 700;
  font-size: var(--fs-s);
}
.card-secs .hot {
  background: rgba(255, 59, 48, 0.16);
}
.card-secs .wip b {
  color: var(--tx2);
}
.card-secs .todo b {
  color: var(--tx3);
}
.card-spark {
  margin-top: auto;
}
.card-spark svg {
  width: 100%;
  height: 54px;
}
.card-who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  color: var(--tx2);
}
/* Awatary jak znaki okrążeń w apce: zaokrąglony kwadrat, pierścień w kolorze okrążenia i biała linia. */
.card-who i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px var(--c, #2979ff), inset 0 0 0 3px var(--ink); /* taste-skill-ignore: fragment interfejsu (data-ui), obwódka jak w aplikacji */
  font-style: normal;
  font-weight: 800;
  font-size: var(--fs-xs);
  background: var(--s3);
  color: var(--tx);
}
.card-who i + i {
  margin-left: -4px;
  --c: #00b341;
}
.card-note {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--s2);
  font-size: var(--fs-s);
  line-height: 1.45;
}
.card-note span {
  margin-bottom: 4px;
}
.card-cmp {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  font-size: var(--fs-xs);
  color: var(--tx2);
}
.card-cmp i {
  width: var(--w);
  height: 6px;
  border-radius: 3px;
  background: var(--neg);
}
.card-cmp i.after {
  background: rgba(255, 69, 58, 0.45);
}
.card-cmp span {
  font-family: 'Avenir VK', 'Avenir Next', Avenir, sans-serif;
}
.card-cmp b {
  font-size: var(--fs-s);
  color: var(--neg);
}
.card-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 800;
  font-size: var(--fs-s);
  color: var(--pos);
}
.card-ok svg {
  width: 20px;
  height: 20px;
}
.card-ok circle {
  fill: var(--pos);
}
.card-ok path {
  fill: none;
  stroke: var(--bg);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Wyróżniki: cztery twierdzenia w skali plakatu */
.caps {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}
.caps .h2 {
  grid-column: 1 / 5;
}
.caps-list {
  grid-column: 5 / 13;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px var(--gap);
}
.caps-list dt {
  font-weight: 800;
  font-size: var(--fs-num);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.caps-list dd {
  margin-top: 16px;
  max-width: 22em;
  color: var(--tx2);
}

/* Gdzie działa: analizator, telefon i cztery tory */
.where {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.where-head {
  grid-column: 1 / 7;
  align-self: end;
  padding-bottom: 44px;
}
.where-head p {
  margin-top: 20px;
  max-width: 26em;
  color: var(--tx2);
}
.where-head p:first-of-type {
  margin-top: 28px;
  font-size: var(--fs-l);
  line-height: 1.55;
}
.where-head b {
  font-weight: 500;
  color: var(--tx);
}
.t-analyzer {
  grid-column: 7 / 13;
}
.where figcaption {
  margin-top: 12px;
  font-size: var(--fs-s);
  color: var(--tx2);
}
.where figcaption b {
  margin-right: 4px;
  color: var(--tx);
}
.where .tile {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 0;
  background: none;
}
.where .ph {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--s1);
}
.where .ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-expo);
}
.where .tile:hover .ph img {
  transform: scale(1.04);
}
.t-phone {
  grid-column: 1 / 5;
  grid-row: 2 / 4;
}
.t-phone .ph {
  flex: 1;
  min-height: 420px;
}
.t-phone .ph img {
  object-position: 50% 45%;
}
.t-trk .ph {
  aspect-ratio: 16 / 10;
}
.where > :nth-child(4) {
  grid-column: 5 / 9;
  grid-row: 2;
}
.where > :nth-child(5) {
  grid-column: 9 / 13;
  grid-row: 2;
}
.where > :nth-child(6) {
  grid-column: 5 / 9;
  grid-row: 3;
}
.where > :nth-child(7) {
  grid-column: 9 / 13;
  grid-row: 3;
}
/* Analizator jest jasny, bo taki jest produkt; ciemna rama okna i przygaszenie trzymają go w tonie strony. */
.az {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--s2);
  color: #0a0b11;
}
.az-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
}
.az-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--s3);
}
.az-bar span {
  margin-left: 12px;
  font-size: var(--fs-xs);
  color: var(--tx3);
}
/* Wnętrze jak analizator web: szare tło, białe karty z jasnym paskiem nagłówka i chipami okrążeń. */
.az-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 4px;
  margin: 0 10px 10px;
  padding: 4px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111827;
  filter: brightness(0.8) saturate(0.92);
}
.az-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 6px;
  background: #fff;
}
.az-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 15%, #fff);
  box-shadow: inset 0 0 0 1px var(--c); /* taste-skill-ignore: fragment interfejsu (data-ui), obwódka jak w aplikacji */
  font-family: 'Avenir VK', 'Avenir Next', Avenir, sans-serif;
  font-weight: 800;
  font-size: var(--fs-xs);
}
.az-pill i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--c); /* taste-skill-ignore: fragment interfejsu (data-ui), obwódka jak w aplikacji */
  background: #e5e7eb;
  font-style: normal;
  color: #374151;
}
.az-pill svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--c);
  stroke-width: 2.4;
  stroke-linejoin: round;
}
.az-pill b {
  margin-left: 4px;
  font-family: var(--mono); /* taste-skill-ignore: Iosevka to krój liczb w aplikacji, tylko w fragmentach interfejsu */
  font-weight: 700;
  color: #1f2937;
}
.az-map {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 6px;
  background: #2a3038;
}
.az-map svg {
  width: 100%;
  height: auto;
}
.az-map .az-tag rect {
  fill: rgba(17, 24, 39, 0.78);
}
.az-map .az-tag text {
  fill: #fff;
  font-size: 26px;
}
.az-charts {
  display: grid;
  align-content: start;
  gap: 4px;
}
.az-card {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); /* taste-skill-ignore: fragment interfejsu (data-ui), obwódka jak w aplikacji */
}
.az-head {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 4px 0 10px;
  background: #f9fafb;
  box-shadow: inset 0 -1px 0 #e5e7eb; /* taste-skill-ignore: fragment interfejsu (data-ui), obwódka jak w aplikacji */
}
.az-t {
  margin-right: auto;
  font-weight: 500;
  font-size: var(--fs-xs);
  color: #6b7280;
}
.az-t small {
  font-weight: 400;
  font-size: inherit;
  color: #6b7280;
}
.az-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--c) 10%, transparent);
  font-weight: 500;
  font-size: var(--fs-xs);
  color: #404040;
}
.az-chip u {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
}
.az-plot {
  position: relative;
  height: 100px;
  margin: 10px 8px 10px 52px;
}
.az-plot-d {
  height: 56px;
}
.az-plot svg {
  display: block;
  width: 100%;
  height: 100%;
}
.az-plot span {
  position: absolute;
  right: calc(100% + 6px);
  transform: translateY(-50%);
  font-size: var(--fs-xs);
  line-height: 1;
  white-space: nowrap;
  color: #6e7079;
}

/* Historia: oś czasu */
.hist {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}
.hist-intro {
  grid-column: 1 / 6;
  position: sticky;
  top: 120px;
}
.hist-intro .lead {
  margin-top: 28px;
  max-width: 26em;
}
.hist-list {
  grid-column: 7 / 13;
  position: relative;
}
.hist-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 27px;
  bottom: 27px;
  width: 2px;
  border-radius: 2px;
  background: var(--s3);
}
.hist-list li {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 20px;
  padding: 15px 24px 15px 40px;
  border-radius: var(--r-l);
}
.hist-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 23px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  outline: 2px solid var(--s3);
  outline-offset: -2px;
}
.hist-list time {
  padding-top: 1px;
  font-weight: 800;
  font-size: var(--fs-l);
  color: var(--tx2);
}
.hist-list h3 {
  font-size: var(--fs-l);
  line-height: 1.3;
}
.hist-list p {
  margin-top: 6px;
  color: var(--tx2);
}
.hist-list .hl {
  background: var(--s1);
}
.hist-list .hl time {
  color: var(--blue-hi);
}
.hist-list .hl::before {
  background: var(--blue);
  outline-color: var(--blue);
}

/* Pierwszy klient */
.client {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 72px;
  align-items: center;
}
.client-photo {
  grid-column: 1 / 7;
}
.client-photo .ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--s1);
}
.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
}
.client-photo figcaption {
  margin-top: 12px;
  font-size: var(--fs-s);
  color: var(--tx2);
}
.client-text {
  grid-column: 8 / 13;
}
.client-text .lead {
  margin-top: 28px;
  color: var(--tx);
}
.client-text p:not(.lead) {
  margin-top: 16px;
  color: var(--tx2);
}
.client-text p b {
  color: var(--tx);
}
.client-figs {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.client-figs {
  column-gap: var(--gap);
}
.client-figs dt {
  font-weight: 800;
  font-size: var(--fs-num);
  line-height: 1;
  letter-spacing: -0.02em;
}
.client-figs dd {
  margin-top: 12px;
  max-width: 16em;
  font-size: var(--fs-s);
  line-height: 1.45;
  color: var(--tx2);
}

/* Wpływ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.impact-head {
  grid-column: 1 / 7;
  align-self: end;
  padding: 0 24px 4px 0;
}
.impact-head .lead {
  margin-top: 24px;
}
.t-fig {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  column-gap: 64px;
  row-gap: 24px;
  align-items: end;
}
.fig {
  font-weight: 800;
  font-size: var(--fs-fig);
  line-height: 0.82;
  letter-spacing: -0.05em;
}
.fig .pc {
  color: var(--blue-hi);
}
.fig-cap {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 30em;
  color: var(--tx2);
}
.fig-cap b {
  font-weight: 500;
  color: var(--tx);
}
.pairs {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(19, minmax(0, 1fr));
  gap: 6px;
}
.pairs i {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--blue);
}
.pairs i.no {
  background: none;
  outline: 1.5px solid rgba(255, 255, 255, 0.24);
  outline-offset: -1.5px;
}
.pairs-key {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-size: var(--fs-xs);
  color: var(--tx3);
}
.t-num {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 220px;
}
.t-num .num {
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.03em;
}
.t-num p:last-child {
  font-size: var(--fs-s);
  color: var(--tx2);
}
.bento .note {
  grid-column: 1 / 9;
  margin-top: 4px;
  font-size: var(--fs-s);
  line-height: 1.5;
  color: var(--tx3);
}
.points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 64px;
}
.points h3 {
  font-size: var(--fs-l);
  line-height: 1.3;
}
.points p {
  margin-top: 10px;
  color: var(--tx2);
}
.quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-top: 56px;
  padding: 48px;
  border-radius: var(--r-xl);
  background: var(--s1);
}
.quote blockquote {
  max-width: 30em;
  font-weight: 500;
  font-size: var(--fs-xl);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.quote figcaption {
  text-align: right;
  font-size: var(--fs-s);
  color: var(--tx2);
}
.quote figcaption b {
  display: block;
  font-size: var(--fs-l);
  color: var(--tx);
}

/* Rozwój */
.streams {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.streams .tile {
  display: flex;
  flex-direction: column;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-s);
  color: var(--tx2);
}
.status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}
.st-ok {
  --c: var(--pos);
}
.st-plan {
  --c: var(--blue-hi);
}
.st-proto {
  --c: var(--amber);
}
.streams h3 {
  margin-top: 28px;
  font-size: var(--fs-l);
  line-height: 1.3;
}
.streams p:last-child {
  margin-top: 10px;
  color: var(--tx2);
}
.stages-h {
  margin-top: 72px;
  font-size: var(--fs-xl);
  line-height: 1.2;
}
.stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 36px;
}
.stages li {
  position: relative;
  padding-top: 28px;
}
.stages li::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 2px;
  background: var(--s3);
}
.stages li:first-child::before {
  background: var(--blue);
}
.when {
  font-size: var(--fs-s);
  color: var(--tx2);
}
.stages h4 {
  margin-top: 8px;
  font-size: var(--fs-l);
  line-height: 1.3;
}
.stages li p:last-child {
  margin-top: 10px;
  color: var(--tx2);
}

/* Zespół */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.portrait {
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--s1);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  filter: grayscale(1) contrast(1.06);
  transition:
    filter 0.6s var(--ease),
    transform 1.4s var(--ease-expo);
}
.team-grid li:hover .portrait img {
  filter: none;
  transform: scale(1.03);
}
.team-grid h3 {
  margin-top: 22px;
  font-size: var(--fs-l);
  line-height: 1.3;
}
.role {
  font-size: var(--fs-s);
  color: var(--blue-hi);
}
.team-grid li > p:last-child {
  margin-top: 8px;
  color: var(--tx2);
}

/* Zamknięcie */
.cta {
  position: relative;
  padding-top: calc(var(--sec) + 32px);
  padding-bottom: calc(var(--sec) + 16px);
  overflow: hidden;
  isolation: isolate;
}
.cta-track {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -3%;
  width: 56%;
  transform: translateY(-50%);
}
.cta-track path {
  fill: none;
  stroke: var(--s1);
  stroke-width: 34;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-track .cta-car circle {
  fill: var(--ink);
  stroke: var(--blue);
  stroke-width: 6;
}
.cta-track .cta-car .halo {
  fill: var(--blue);
  stroke: none;
  opacity: 0.18;
}
.cta-head {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.032em;
}
.cta-say {
  margin-top: 28px;
  max-width: 28em;
  font-size: var(--fs-l);
  line-height: 1.55;
  color: var(--tx2);
}
.cta .link {
  padding: 0 8px;
  font-size: var(--fs-s);
}

/* Stopka */
.foot {
  padding: 64px var(--m) 40px;
  background: var(--bg-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 48px;
}
.f-say {
  grid-column: 1 / 6;
}
.f-logo {
  width: 132px;
  height: auto;
  aspect-ratio: 151 / 26;
  color: var(--tx);
}
.f-say p {
  margin-top: 24px;
  max-width: 24em;
  font-size: var(--fs-l);
  line-height: 1.5;
}
.f-say .legal {
  margin-top: 16px;
  font-size: var(--fs-s);
  color: var(--tx3);
}
.f-nav {
  grid-column: 7 / 9;
}
.f-nav li + li,
.f-contact li + li {
  margin-top: 8px;
}
.f-nav a,
.f-contact li a {
  font-size: var(--fs-s);
  color: var(--tx2);
  transition: color 0.2s;
}
.f-nav a:hover,
.f-contact li a:hover {
  color: var(--tx);
}
.f-contact {
  grid-column: 9 / 13;
}
.f-contact h2 {
  font-weight: 500;
  font-size: var(--fs-s);
  color: var(--tx3);
}
.f-mail {
  display: inline-block;
  margin-top: 6px;
  font-weight: 800;
  font-size: var(--fs-xl);
  transition: color 0.2s;
}
.f-mail:hover {
  color: var(--blue-hi);
}
.f-contact ul {
  margin-top: 24px;
}
.credits {
  margin-top: 48px;
  max-width: 88em;
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--tx3);
}
.credits .link {
  font-weight: 400;
  color: var(--tx2);
}

/* Tablet */
@media (max-width: 1099px) {
  .bar nav {
    display: none;
  }
  .bar .btn {
    margin-left: auto;
  }
  .hero {
    min-height: 0;
    justify-content: flex-start;
    padding-top: 0;
  }
  .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    margin: 0 calc(var(--m) * -1);
    height: min(60svh, 640px);
    aspect-ratio: auto;
    --fade-v: linear-gradient(0deg, transparent 0%, #000 40%, #000 78%, rgba(0, 0, 0, 0.35) 100%); /* taste-skill-ignore: maska zdjęcia */
    -webkit-mask-image: var(--fade-v);
    mask-image: var(--fade-v);
  }
  .hero-photo {
    object-position: 42% 50%;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-top: -88px;
    padding-bottom: 56px;
  }
  .asof {
    order: 4;
    padding: 6px 0 14px;
  }
  .entry {
    order: 5;
    margin: 0;
    padding-bottom: 32px;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 8px;
  }
  .facts > div {
    padding: 20px 0 12px;
  }
  .asof {
    text-align: left;
  }
  .head {
    display: block;
    margin-bottom: 48px;
  }
  .head-txt {
    margin-top: 24px;
    max-width: 40em;
  }
  .film-copy,
  .player {
    grid-column: 1 / -1;
  }
  .film-copy {
    padding: 0 0 40px;
  }
  .lap {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    row-gap: 56px;
  }
  .step {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }
  .step .card {
    flex: 1;
  }
  .caps .h2 {
    grid-column: 1 / -1;
    margin-bottom: 48px;
  }
  .caps-list {
    grid-column: 1 / -1;
    gap: 56px var(--gap);
  }
  .where-head {
    grid-column: 1 / -1;
    padding-bottom: 8px;
  }
  .t-analyzer {
    grid-column: 1 / -1;
  }
  .t-phone {
    grid-column: 1 / 7;
    grid-row: span 2;
  }
  .t-phone .ph {
    min-height: 0;
  }
  .where > :nth-child(n + 4) {
    grid-column: span 6;
    grid-row: auto;
  }
  .where > :nth-child(4),
  .where > :nth-child(5) {
    grid-column: 7 / 13;
  }
  .hist-intro {
    grid-column: 1 / -1;
    position: static;
    margin-bottom: 48px;
  }
  .hist-list {
    grid-column: 1 / -1;
  }
  .client {
    row-gap: 56px;
  }
  .client-photo,
  .client-text {
    grid-column: 1 / -1;
  }
  .client-photo .ph {
    aspect-ratio: 4 / 3;
  }
  .client-figs dd {
    font-size: var(--fs-xs);
  }

  .impact-head {
    grid-column: 1 / -1;
    padding: 0 0 24px;
  }
  .t-fig {
    order: 1;
  }
  .t-num {
    order: 2;
  }
  .bento .note {
    order: 3;
  }
  .t-fig {
    grid-template-columns: minmax(0, 1fr);
  }
  .fig-cap,
  .pairs,
  .pairs-key {
    grid-column: 1;
    grid-row: auto;
  }
  .pairs {
    margin-top: 16px;
  }
  .t-num {
    grid-column: span 6;
  }
  .bento .note {
    grid-column: 1 / -1;
  }
  .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
  .quote {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .quote figcaption {
    text-align: left;
  }
  .streams {
    grid-template-columns: minmax(0, 1fr);
  }
  .stages {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }
  .cta-track {
    width: 80%;
    right: -20%;
    opacity: 0.8;
  }
  .f-say {
    grid-column: 1 / -1;
  }
  .f-nav {
    grid-column: 1 / 6;
  }
  .f-contact {
    grid-column: 6 / 13;
  }
}

/* Telefon */
@media (max-width: 699px) {
  :root {
    --gap: 16px;
    --sec: 72px;
  }
  .bar {
    height: 68px;
  }
  .bar-logo svg {
    width: 104px;
  }
  .hero-media {
    height: 54svh;
  }
  .hero-copy {
    margin-top: -72px;
    padding-bottom: 56px;
  }
  .hero-lead {
    margin-top: 20px;
    font-size: var(--fs-m);
  }
  .actions {
    margin-top: 28px;
  }
  .actions .btn {
    flex: 1 1 auto;
  }
  .facts dd {
    font-size: var(--fs-xs);
  }
  .lap {
    padding: 20px;
  }
  .lap-map {
    padding: 16px 0 0;
  }
  .lap-read {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lap-range {
    height: 44px;
    margin: -12px 0;
  }
  .lap-range::-webkit-slider-thumb {
    width: 14px;
    height: 32px;
    margin-top: -14px;
  }
  .lap-range::-moz-range-thumb {
    width: 14px;
    height: 32px;
  }
  .lap-board {
    padding: 4px 14px;
  }
  .lap-board > div {
    grid-template-columns: 14px minmax(0, 1fr) auto 58px;
    gap: 10px;
  }
  .lap-board b {
    font-size: var(--fs-l);
  }
  .lap-board em {
    font-size: var(--fs-s);
  }
  .lap-chart {
    height: 160px;
  }
  .lap-secs > div {
    padding: 10px 12px;
  }
  .lap-secs b {
    font-size: var(--fs-m);
  }
  .lap-secs em {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .caps-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .where > *,
  .where > :nth-child(n + 4),
  .t-phone {
    grid-column: 1 / -1;
  }
  .t-phone {
    grid-row: auto;
  }
  .t-phone .ph {
    flex: none;
    aspect-ratio: 4 / 5;
  }
  .hist-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 18px 16px 18px 36px;
  }
  .client-photo .ph {
    aspect-ratio: 4 / 3;
  }
  .client-figs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 80px;
  }
  .tile {
    padding: 24px;
  }
  .t-num {
    min-height: 0;
  }
  .t-num .num {
    font-size: var(--fs-num);
  }
  .pairs {
    gap: 4px;
  }
  .pairs i {
    border-radius: 3px;
  }
  .points {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 64px;
  }
  .quote {
    margin-top: 64px;
    padding: 28px;
  }
  .quote blockquote {
    font-size: var(--fs-l);
  }
  .stages-h {
    margin-top: 72px;
  }
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
  }
  .cta-track {
    top: auto;
    bottom: 32px;
    right: -30%;
    width: 120%;
    transform: none;
  }
  .f-nav,
  .f-contact {
    grid-column: 1 / -1;
  }
  .f-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px var(--gap);
  }
  .f-nav li + li {
    margin-top: 0;
  }
  .f-mail {
    font-size: var(--fs-l);
  }
}

/* Ruch: wejście hero przy ładowaniu, wejścia sekcji przy przewijaniu. Bez skryptu i przy ograniczonym
   ruchu wszystko stoi na miejscu od pierwszej klatki. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-photo {
    animation: photo-in 1.8s var(--ease-expo) both;
  }
  .js .hero h1 .ln {
    animation: rise 0.9s var(--ease-expo) both;
  }
  .js .hero h1 .ln + br + .ln {
    animation-delay: 0.08s;
  }
  .js .hero-lead,
  .js .hero .actions,
  .js .entry,
  .js .facts > div,
  .js .asof {
    animation: lift 0.9s var(--ease-expo) both;
  }
  .js .hero-lead {
    animation-delay: 0.16s;
  }
  .js .hero .actions {
    animation-delay: 0.24s;
  }
  .js .entry {
    animation-delay: 0.32s;
  }
  .js .facts > div:nth-child(1) {
    animation-delay: 0.36s;
  }
  .js .facts > div:nth-child(2) {
    animation-delay: 0.42s;
  }
  .js .facts > div:nth-child(3) {
    animation-delay: 0.48s;
  }
  .js .facts > div:nth-child(4) {
    animation-delay: 0.54s;
  }
  .js .asof {
    animation-delay: 0.6s;
  }

  /* Wejścia: na wąskich ekranach tylko przesunięcie, na szerokich także przejście z przezroczystości */
  .js [data-reveal] {
    transform: translateY(28px);
    transition:
      opacity 0.9s var(--ease-expo),
      transform 0.9s var(--ease-expo);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js [data-reveal].is-in {
    transform: none;
  }
  .js .pairs i {
    transform: scale(0.35);
    transition: transform 0.5s var(--ease-expo);
    transition-delay: calc(var(--i, 0) * 12ms);
  }
  .js .pairs.is-in i {
    transform: none;
  }
  .js .player .poster {
    transform: scale(1.08);
  }
  .js .player.is-in .poster {
    transform: none;
  }
  .js .player.is-in:hover .poster {
    transform: scale(1.025);
  }
  .js .play-btn {
    transform: scale(0.6);
  }
  .js .player.is-in .play-btn {
    transform: none;
    transition-delay: 0.25s;
  }
  .js .player.is-in:hover .play-btn {
    transform: scale(1.06);
    transition-delay: 0s;
  }
  .live::before {
    animation: pulse 1.6s ease-in-out infinite;
  }
  #lap-svg .halo,
  .cta-car .halo {
    transform-box: fill-box;
    transform-origin: center;
    animation: halo 2.4s ease-out infinite;
  }
  @supports (animation-timeline: view()) {
    .team-grid li {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    .team-grid li:nth-child(2) {
      animation-range: entry 8% entry 78%;
    }
    .team-grid li:nth-child(3) {
      animation-range: entry 16% entry 86%;
    }
    .hist-list::after {
      content: '';
      position: absolute;
      left: 7px;
      top: 27px;
      bottom: 27px;
      width: 2px;
      border-radius: 2px;
      background: var(--blue);
      transform-origin: top;
      animation: draw-down linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 62%;
    }
  }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) {
  .js [data-reveal]:not(.h2) {
    opacity: 0;
  }
  .js [data-reveal].is-in {
    opacity: 1;
  }
  .js .h2[data-reveal] {
    transform: none;
    overflow: hidden;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
  }
  .js .h2[data-reveal] .mask-in {
    display: block;
    transform: translateY(108%);
    transition: transform 0.9s var(--ease-expo);
  }
  .js .h2[data-reveal].is-in .mask-in {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cta-car {
    display: none;
  }
}

@keyframes photo-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(42%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
@keyframes halo {
  from {
    transform: scale(0.4);
    opacity: 0.32;
  }
  to {
    transform: scale(1.15);
    opacity: 0;
  }
}
@keyframes settle {
  from {
    transform: translateY(56px);
  }
  to {
    transform: none;
  }
}
@keyframes draw-down {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
