:root {
  --black: #131314;
  --lime: #bccf02;
  --blue: #0000ff;
  --gray: #d8d8d8;
  --white: #ffffff;
  --text-muted: #5b5b5f;
  --content: 144rem;
  --section-padding: 16rem 0;
  --title-size: 7.9rem;
  --lead-size: 2rem;
  --banner-size: 5rem;
  --lines-height: 115rem;
  --font-head: 'Raleway', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  font-size: 1.6rem;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

section { overflow-x: clip; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); }
p { margin: 0; }

.container {
  width: var(--content);
  max-width: calc(100% - 8rem);
  margin: 0 auto;
}

.section--dark { background: var(--black); color: var(--white); }
.section--blue { background: var(--blue); color: var(--white); }

.section-title {
  font-weight: 700;
  font-size: var(--title-size);
  line-height: 0.9;
  letter-spacing: -0.05rem;
}
.section-title--center { text-align: center; }
.section-title--white { color: var(--white); }

.btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.04rem;
  padding: 1.5rem 3rem;
  border-radius: 4rem;
  border: 0.2rem solid transparent;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: transparent;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.btn:hover::before { transform: scaleX(1); }
.btn--lg { font-size: 1.4rem; padding: 1.7rem 3.6rem; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue::before { background: #0000d9; }
.btn--lime { background: var(--lime); color: var(--black); }
.btn--lime::before { background: #cfe018; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { color: var(--lime); border-color: var(--lime); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
}
.header__inner {
  display: flex;
  align-items: center;
  padding: 1.4rem 0;
  /* gap:0 — odstępy sterowane per element, bo .header__lang jest tu rodzeństwem
     .header__menu i wspólny gap rozpychałby go od CTA */
  gap: 0;
}
.header__logo img { height: 3.2rem; width: auto; }
.header__nav {
  display: flex;
  gap: 3.4rem;
  font-size: 1.6rem;
  font-weight: 500;
}
.header__nav a:hover { color: var(--blue); }
.header__cta { margin-left: auto; padding: 0.8rem 2.6rem; }
.header__lang {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 2.4rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.header__lang a { color: var(--text-muted); transition: color 0.2s; }
.header__lang a:hover { color: var(--blue); }
.header__lang .is-active { color: var(--blue); }
.header__lang-sep { color: var(--gray); }
.header__menu { display: flex; align-items: center; flex: 1; margin-left: 8rem; }
.header__menu-inner { display: contents; }
.header__menu-lines { display: none; }

html.nav-lock,
html.nav-lock body { overflow: hidden; }
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  width: 4.4rem;
  height: 4.4rem;
  margin-left: auto;
  padding: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
}
.header__burger span {
  display: block;
  height: 0.25rem;
  background: var(--black);
  border-radius: 0.2rem;
  transition: transform .25s ease, opacity .2s ease;
}
.site-header.nav-open .header__burger span:nth-child(1) { transform: translateY(0.75rem) rotate(45deg); }
.site-header.nav-open .header__burger span:nth-child(2) { opacity: 0; }
.site-header.nav-open .header__burger span:nth-child(3) { transform: translateY(-0.75rem) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--section-padding);
}

.stack-cover { position: relative; }

.hero:has(+ .advantage) {
  position: sticky;
  top: 0;
  z-index: 0;
}
.hero__lines {
  position: absolute;
  top: -20rem;
  right: -10rem;
  height: var(--lines-height);
  width: auto;
  max-width: none;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
  transform: rotate(150deg);
}
.hero__lines path {
  fill: none;
  stroke: #bccf00;
  stroke-width: .71px;
  stroke-miterlimit: 10;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3rem;
  min-height: 54rem;
}
.hero__text {
  flex: 1 1 54%;
  max-width: 60%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.hero__title {
  font-weight: 700;
  font-size: var(--title-size);
  line-height: 1;
  letter-spacing: -0.1rem;
  white-space: nowrap;
}
.hero__lead {
  color: #2b2b2e;
  font-size: var(--lead-size);
}
.hero__cta { display: flex; gap: 1.8rem; }
.hero__cta .btn { min-width: 26rem; }
.hero__media {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 75rem;
  right: -25rem;
}
.hero__media img,
.hero__media video { width: 100%; max-width: none; display: block; }

.advantage { position: relative; overflow: hidden; padding: var(--section-padding); z-index: 2; box-shadow: 0 -2.5rem 6rem rgba(0, 0, 0, 0.22); }
.advantage__lines {
  position: absolute;
  top: -10rem;
  right: -10rem;
  height: var(--lines-height);
  width: auto;
  max-width: none;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  transform: rotate(150deg);
}
.advantage__lines path {
  fill: none;
  stroke: #d8d8d8;
  stroke-width: .71px;
  stroke-miterlimit: 10;
}
.advantage__inner { position: relative; z-index: 1; }
.advantage__inner { display: flex; gap: 6rem; }
.advantage__left { width: 60%; }
.advantage .section-title { margin-bottom: 4.4rem; line-height: 1; }
.advantage__media {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-cluster {
  position: relative;
  width: 100%;
  max-width: 52rem;
  margin-left: auto;
  aspect-ratio: 471 / 617;
}
.icon-cluster .ic {
  position: absolute;
  transform: translate(-50%, -50%);
  height: auto;
  max-width: none;
}
.icon-cluster .ic--plane   { left: 11.9%; top: 9.0%;  width: 23.8%; }
.icon-cluster .ic--pie     { left: 64.8%; top: 15.2%; width: 40.1%; z-index: 2; }
.icon-cluster .ic--donut   { left: 25.8%; top: 33.1%; width: 28.9%; }
.icon-cluster .ic--present { left: 20.8%; top: 71.2%; width: 25.1%; }
.icon-cluster .ic--bar     { left: 43.0%; top: 90.2%; width: 36.1%; }
.icon-cluster .ic--line    { left: 82.6%; top: 81.3%; width: 34.8%; }
.icon-cluster .ic--team    { left: 73.9%; top: 41.2%; width: 21.2%; }
.icon-cluster .ic--p       { left: 48.4%; top: 52.4%; width: 49.3%; z-index: 5; }

@keyframes ic-float-ur { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(calc(-50% + 1.6rem), calc(-50% - 1.3rem)); } }
@keyframes ic-float-dl { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(calc(-50% - 1.3rem), calc(-50% + 1.6rem)); } }
@keyframes ic-float-ul { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(calc(-50% - 1.6rem), calc(-50% - 1rem)); } }
@keyframes ic-float-dr { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(calc(-50% + 1.3rem), calc(-50% + 1.6rem)); } }

.icon-cluster .ic {
  animation: ic-float-ur 6.5s ease-in-out infinite;
  will-change: transform;
}
.icon-cluster .ic--plane   { animation-name: ic-float-ul; animation-duration: 7.5s; animation-delay: -1.2s; }
.icon-cluster .ic--pie     { animation-name: ic-float-dr; animation-duration: 8.5s; animation-delay: -3.4s; }
.icon-cluster .ic--donut   { animation-name: ic-float-ur; animation-duration: 6.8s; animation-delay: -0.6s; }
.icon-cluster .ic--present { animation-name: ic-float-dl; animation-duration: 7.9s; animation-delay: -2.1s; }
.icon-cluster .ic--bar     { animation-name: ic-float-ur; animation-duration: 9.2s; animation-delay: -4.8s; }
.icon-cluster .ic--line    { animation-name: ic-float-ul; animation-duration: 8.1s; animation-delay: -1.9s; }
.icon-cluster .ic--team    { animation-name: ic-float-dr; animation-duration: 7.2s; animation-delay: -3.0s; }

@keyframes ic-float-p { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(-50%, calc(-50% - 1rem)); } }
.icon-cluster .ic--p       { animation-name: ic-float-p; animation-duration: 9s; animation-delay: -2.5s; }

@media (prefers-reduced-motion: reduce) {
  .icon-cluster .ic { animation: none; }
}

.reveal,
.reveal-word {
  opacity: 0;
  filter: blur(0.9rem);
  transform: translateY(2rem);
  transition: opacity 1s ease, filter 1s ease, transform 1s ease;
  will-change: opacity, filter, transform;
}
.reveal-word { display: inline-block; }
.reveal.is-visible,
.reveal-word.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-word { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
}

.steps { list-style: none; margin: 0 0 4rem; padding: 0; }
.advantage__left > .btn--lime { margin-left: 8.4rem; }
.step { display: flex; gap: 2.4rem; padding: 1.8rem 0; width: 100%; }
.step__num {
  flex: none;
  width: 6rem; height: 6rem;
  border: 0.15rem solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 2.4rem; font-weight: 500;
}
.step__body h3 { font-family: var(--font-body); font-size: 2rem; font-weight: 700; margin-bottom: 2rem; }
.step__body p { color: #fff; font-size: 1.8rem; max-width: 70%; }

.feature { padding: var(--section-padding); }
.feature--imgleft { padding-bottom: 0; }
.feature__inner { display: flex; align-items: center; gap: 7rem; }
.feature__media { width: 42%; display: flex; justify-content: center; }
.feature__media > img { width: 36rem; max-width: none; }

.phone { position: relative; width: 40rem; max-width: 100%; }
.phone__img { width: 100%; height: auto; display: block; }
.phone__stats {
  position: absolute;
  left: 64%;
  top: 45%;
  width: calc(44% + 2rem);
  height: auto;
  filter: drop-shadow(0 1rem 2.5rem rgba(0,0,0,0.12));
}

.feature--imgright .phone__stats {
  left: -7%;
  top: 44%;
  width: calc(61% + 2rem);
}

@keyframes stats-float-1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-1.4rem); } }
@keyframes stats-float-2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(1.4rem); } }
.phone__stats { animation: stats-float-1 3s ease-in-out infinite; will-change: transform; }
.feature--imgright .phone__stats { animation: stats-float-2 3.6s ease-in-out infinite; animation-delay: -1.5s; }
@media (prefers-reduced-motion: reduce) {
  .phone__stats { animation: none; }
}
.feature__text {
  width: 58%;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.feature--imgright .feature__media { justify-content: flex-end; }
.feature__text > .btn { align-self: flex-start; }
.feature__lead { color: #2b2b2e; font-size: var(--lead-size); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 1.6rem; align-items: flex-start; margin-bottom: 1.8rem; }
.checklist p { font-size: 1.8rem; }
.check {
  flex: none;
  width: 2rem; height: 2rem; margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--lime);
}

.compare { position: relative; overflow: hidden; padding: var(--section-padding); }
.compare > .container { position: relative; z-index: 1; }
.compare__lines {
  position: absolute;
  top: -10rem;
  right: -10rem;
  height: var(--lines-height);
  width: auto;
  max-width: none;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  transform: rotate(150deg);
}
.compare__lines path {
  fill: none;
  stroke: #d8d8d8;
  stroke-width: .71px;
  stroke-miterlimit: 10;
}
.compare .section-title { margin-bottom: 2.4rem; line-height: 1; }
.compare__lead {
  text-align: center;
  color: #fff;
  max-width: 70%;
  margin: 0 auto 6rem;
  font-size: var(--lead-size);
}

.vs { display: flex; flex-direction: column; gap: 1.6rem; margin-bottom: 7rem; }
.vs__heads, .vs__row {
  display: grid;
  grid-template-columns: 1fr 9rem 1fr;
  align-items: center;
}
.vs__heads { margin-bottom: 1.2rem; }
.vs__head {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--lime);
  text-align: center;
}
.vs__head--bad { color: #9a9a9d; }
.vs__vs {
  text-align: center;
  font-weight: 700; font-size: 1.8rem; color: #fff;
}
.vs__pill {
  display: flex; align-items: center; gap: 1.6rem;
  padding: 1.8rem;
  border-radius: 100rem;
  font-size: 2rem; font-weight: 700; line-height: 1.2;
}
.vs__pill--bad { background: #d8d8d8; color: #2b2b2e; }
.vs__pill--good { background: #fff; color: var(--black); }
.mark {
  flex: none;
  width: 5rem; height: 5rem;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 42% auto;
}
.mark--x { background-color: #fff; background-image: url(../assets/img/no-icon.svg); }
.mark--check { background-color: var(--lime); background-image: url(../assets/img/yes-icon.svg); }

.banner-cta {
  display: flex; align-items: center; justify-content: center;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--banner-size);
  border-radius: 2.2rem;
  padding: 4.6rem 2rem;
  margin: 0 0 7rem;
  text-align: center;
  transition: background .15s ease;
}
.banner-cta:hover { background: #1a1aff; }

.stats { display: flex; gap: 3rem; text-align: center; }
.stat { flex: 1; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 5.8rem;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.stat__num span { color: var(--lime); }
.stat__num .num { color: inherit; display: inline-block; transform-origin: center bottom; will-change: transform; font-size: 1.4em; }
.stat__num span:not(.num) { font-size: 0.72em; }
.stat__label { font-weight: 700; font-size: 2rem; margin-bottom: 1.2rem; }
.stat__desc { color: #fff; font-size: 1.8rem; line-height: 1.5; }

.launch { padding: var(--section-padding); }
.launch__inner { display: flex; align-items: flex-start; gap: 8rem; }
.accordion { width: 46%; }
.launch__text {
  width: 54%;
  padding-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.launch__text > .btn { align-self: flex-start; }
.launch__lead { color: #2b2b2e; font-size: var(--lead-size); }

.acc-item {
  border: 0.1rem solid #e3e3e6;
  border-radius: 1.4rem;
  margin-bottom: 1.4rem;
  overflow: hidden;
  transition: background .35s ease, border-color .35s ease;
}
.acc-head {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 2rem;
  color: var(--black);
  padding: 2rem 2.2rem;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.acc-chevron {
  flex: none;
  width: 2.2rem; height: 1.4rem;
  background: url(../assets/img/acc-down.svg) no-repeat center / contain;
}
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
  padding: 0 2.2rem;
}
.acc-panel p {
  font-size: 2rem;
  color: #fff;
  padding-bottom: 2rem;
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity .3s ease, transform .3s ease;
}
.acc-item.is-open {
  background: var(--black);
  border-color: var(--black);
}
.acc-item.is-open .acc-head { color: var(--lime); }
.acc-item.is-open .acc-chevron { background-image: url(../assets/img/acc-up.svg); }
.acc-item.is-open .acc-panel p { opacity: 1; transform: none; transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  .acc-item, .acc-panel, .acc-panel p { transition: none; }
}

.divider { border: none; border-top: 0.1rem solid var(--lime); margin: 0; }

.mechanisms { padding: var(--section-padding); }
.mechanisms--flush { padding-top: 0; }
.mechanisms__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6rem;
  margin-bottom: 4.4rem;
}
.mechanisms__lead {
  color: #2b2b2e;
  max-width: 60rem;
  font-size: var(--lead-size);

  margin-bottom: 0.7rem;
}

.mech-grid { display: flex; gap: 2.6rem; }
.mech-card {
  position: relative;
  flex: 1;
  border-radius: 1.6rem;
  padding: 3rem 2.8rem 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: box-shadow .18s ease, transform .18s ease;
}

.mech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 0.1rem solid #e3e3e6;
  border-radius: 1.6rem;
  z-index: 0;
  transition: width .6s ease, height .6s ease;
}
.mech-card > * { position: relative; z-index: 1; }
.mech-card:hover { box-shadow: 0 1.2rem 3rem rgba(0,0,0,0.08); transform: translateY(-0.3rem); }
.mech-card__main { display: flex; align-items: flex-start; gap: 1.8rem; }
.mech-card__icon { flex: none; }
.mech-card__icon img { width: 6.2rem; height: auto; display: block; }
.mech-card__body { min-width: 0; }
.mech-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 2.2rem; margin-bottom: 1.2rem; }
.mech-card p { font-size: 1.8rem; color: #2b2b2e; line-height: 1.2; }
.mech-card__arrow {
  margin-top: auto;
  margin-left: 8rem;
  width: 2.6rem;
  height: auto;
}

.mech-card__body { transition: opacity .5s ease; }
.mech-card__arrow { transition: opacity .5s ease; }

.mech-card.reveal-mech::before { width: 11rem; height: 11rem; }
.mech-card.reveal-mech .mech-card__body,
.mech-card.reveal-mech .mech-card__arrow { opacity: 0; }

.mech-card.reveal-mech.step-w::before { width: 100%; }

.mech-card.reveal-mech.step-h::before { height: 100%; }

.mech-card.reveal-mech.step-h .mech-card__body { opacity: 1; transition-delay: .5s; }
.mech-card.reveal-mech.step-h .mech-card__arrow { opacity: 1; transition-delay: .65s; }

.mechanisms:has(+ .end2end) {
  position: sticky;
  top: 0;
  z-index: 0;
}
.end2end {
  padding: var(--section-padding);
  position: relative;
  z-index: 2;
  box-shadow: 0 -2.5rem 6rem rgba(0, 0, 0, 0.22);
}
.end2end .section-title { margin-bottom: 4rem; line-height: 1; }
.end2end__lead { color: #dfe0ff; max-width: 100%; margin-bottom: 4.6rem; font-size: var(--lead-size); }

.e2e-list { list-style: none; margin: 0 0 6rem; padding: 0; }
.e2e-row {
  display: grid;
  grid-template-columns: 9rem 1fr 1.05fr;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem 0.4rem;
  border-top: 0.1rem solid rgba(255,255,255,0.28);
  transition: padding .3s ease;
}
.e2e-row:last-child { border-bottom: 0.1rem solid rgba(255,255,255,0.28); }
.e2e-row:hover { padding-top: 3rem; padding-bottom: 3rem; }

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
}
.cursor-dot {
  width: 0.8rem;
  height: 0.8rem;
  background: var(--lime);
}
.cursor-ring {
  width: 7rem;
  height: 7rem;
  background: rgba(188, 207, 2, 0.30);
}

.cursor-dot.is-on-lime { background: #fff; }
.cursor-ring.is-on-lime { background: rgba(255, 255, 255, 0.35); }
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor-on { cursor: none; }
  body.custom-cursor-on a,
  body.custom-cursor-on button,
  body.custom-cursor-on .btn { cursor: none; }
}
.e2e-row__icon { width: 5.6rem; height: auto; }
.e2e-row__title { font-family: var(--font-head); font-weight: 700; font-size: 4.4rem; line-height: 1.2; color: #fff; }
.e2e-row__desc { color: #fff; font-size: 2rem; line-height: 1.45; }

.demo-banner {
  background: var(--lime);
  border-radius: 2.2rem;
  padding: 5.4rem 2rem 6rem;
  text-align: center;
}
.demo-banner h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 7rem;
  color: var(--black);
  margin-bottom: 3rem;
}
.demo-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.demo-form__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border-radius: 4rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  width: 49rem;
  max-width: 100%;
}
.demo-form__pill input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.6rem;
  padding: 1.4rem 1.6rem;
  background: transparent;
  color: var(--black);
}
.demo-form__pill input::placeholder { color: #8a8a8d; }
.demo-form__pill button {
  position: relative;
  overflow: hidden;
  z-index: 0;
  flex: none;
  border: none;
  background: var(--black);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.04rem;
  padding: 1.5rem 3.4rem;
  border-radius: 4rem;
  cursor: pointer;
}

.demo-form__pill button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #3a3a3d;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.demo-form__pill button:hover::before { transform: scaleX(1); }
.demo-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 49rem;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--black);
  text-align: left;
  cursor: pointer;
}
.demo-form__consent input {
  flex: none;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: 0.1rem;
  accent-color: var(--blue);
  cursor: pointer;
}
.demo-form__consent a { color: var(--blue); text-decoration: underline; }
.demo-form .form-feedback.is-ok { background: #fff; color: var(--black); }
.demo-form .form-feedback.is-err { background: #fff; color: #b3261e; }

.demo-banner--blue .demo-form__consent { color: #fff; }
.demo-banner--blue .demo-form__consent a { color: #fff; }

.mechanic {
  padding: 12rem 0 10rem;
  background: linear-gradient(180deg, #eff0f2 0%, #fff 45%);
  text-align: center;
}
.mechanic__lead {
  max-width: 62rem;
  margin: 2.6rem auto 0;
  color: #2b2b2e;
  font-size: var(--lead-size);
}

.mechanic__back {
  position: sticky;
  top: 9.5rem;
  z-index: 20;
  width: max-content;

  margin-top: -7rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #000;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1rem 1.8rem;
  border-radius: 999rem;
  overflow: hidden;
}

.mechanic__back::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #3a3a3d;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.mechanic__back:hover::before { transform: scaleX(1); }
.mechanic__back-arrow { width: 1.6rem; height: 1.6rem; display: block; }

.mechanic__back--static {
  position: relative;
  top: auto;
  z-index: 0;
  margin: 4rem auto 0;
}
.mechanic__device { max-width: 92rem; margin: 6rem auto 0; }
.mechanic__device video,
.mechanic__device img { width: 100%; display: block; }
.mechanic-cta { padding: 0 0 14rem; }
.demo-banner--blue { background: var(--blue); }
.demo-banner--blue h3 { color: #fff; }

.demo { padding: 12rem 0; }
.demo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}
.demo__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 5.6rem;
  line-height: 1;
  margin-bottom: 3rem;
}
.demo__lead {
  font-size: var(--lead-size);
  color: #2b2b2e;
  max-width: 46rem;
  margin-bottom: 3.4rem;
}
.demo__subtitle { font-weight: 700; font-size: 2rem; margin-bottom: 2.2rem; }
.demo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding-inline-start: 0;
}
.demo-list li {
  position: relative;
  padding-left: 3.4rem;
  font-size: 1.8rem;
  line-height: 1.3;
  color: #2b2b2e;
}
.demo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--lime);
}

.form-card {
  border: 0.1rem solid #e3e3e6;
  border-radius: 2.4rem;
  padding: 4rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.05);
}
.form-card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3.2rem;
  margin-bottom: 3rem;
}
.form { display: flex; flex-direction: column; gap: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.form input:not([type="checkbox"]),
.form textarea {
  width: 100%;
  border: 0.1rem solid #e3e3e6;
  border-radius: 1.2rem;
  padding: 1.6rem 1.8rem;
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--black);
  background: #fff;
  transition: border-color .15s ease;
}
.form input::placeholder,
.form textarea::placeholder { color: #8a8a8d; }
.form textarea { resize: vertical; min-height: 16rem; }
.form input:not([type="checkbox"]):focus,
.form textarea:focus { outline: none; border-color: var(--blue); }

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 0.6rem;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #2b2b2e;
  cursor: pointer;
}
.form__consent input {
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.1rem;
  accent-color: var(--blue);
  cursor: pointer;
}
.form__consent a { color: var(--blue); text-decoration: underline; }

.form-card .btn { align-self: flex-start; margin-top: 1rem; border: none; cursor: pointer; }
.form-msg { font-size: 1.5rem; line-height: 1.4; padding: 1.4rem 1.6rem; border-radius: 1.2rem; }
.form-msg--ok { background: rgba(188, 207, 2, 0.18); color: #4a5400; }
.form-msg--err { background: #fdecec; color: #b3261e; }

.form-feedback {
  display: none;
  font-size: 1.5rem;
  line-height: 1.4;
  padding: 1.4rem 1.6rem;
  border-radius: 1.2rem;
}
.form-feedback.is-ok { display: block; background: rgba(188, 207, 2, 0.18); color: #4a5400; }
.form-feedback.is-err { display: block; background: #fdecec; color: #b3261e; }

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: #fff;
  padding: 7rem 0 3.4rem;
}
.footer__lines {
  position: absolute;
  top: -10rem;
  right: -10rem;
  height: var(--lines-height);
  width: auto;
  max-width: none;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  transform: rotate(150deg);
}
.footer__lines path {
  fill: none;
  stroke: #d8d8d8;
  stroke-width: .71px;
  stroke-miterlimit: 10;
}
.site-footer .container { position: relative; z-index: 1; }
.footer__logo { height: 4rem; width: auto; margin-bottom: 4rem; }
.footer__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 4.4rem;
  margin-bottom: 6rem;
}
.footer__cols { display: flex; gap: 13rem; margin-bottom: 7rem; }
.footer__col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.05rem;
  margin-bottom: 2.2rem;
}
.footer__col p { color: #fff; font-size: 1.8rem; line-height: 1.7; }
.footer__col a:hover { color: var(--lime); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.1rem solid rgba(188,207,2,0.5);
  padding-top: 2.2rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #9a9a9d;
}
.footer__legal { display: flex; gap: 4rem; color: #fff; font-size: 1.4rem; }
.footer__legal a:hover { color: var(--lime); }

@media (max-width: 2300px) {
  .hero__lines,
  .advantage__lines { height: 90rem; top: -5rem; }
}

@media (min-width: 2000px) {
  .hero__media { width: 80rem; right: -35rem; }
}

@media (max-width: 1920px) {
  :root { --section-padding: 12rem 0; }
}

@media (max-width: 1580px) {
  .hero__lines,
  .advantage__lines { top: 0; }
}

@media (max-width: 1560px) {
  :root { --title-size: 6.9rem; }
  .hero__text { max-width: 50%; }
  .hero__media { right: -12rem; }
  .step__body p { max-width: 80%; }
}

@media (max-width: 1480px) {
  :root {
    --title-size: 5.9rem;
    --lead-size: 1.8rem;
    --section-padding: 10rem 0;
  }
  .hero__media { width: 70rem; }
  .hero__lines,
  .advantage__lines { right: -30rem; }
  .e2e-row__title { font-size: 4rem; }
  .acc-panel p { font-size: 1.8rem; }
}

@media (max-width: 1280px) {
  :root { --title-size: 5rem; }
  .hero__media { right: -15rem; width: 60rem; }
  .hero__lines,
  .advantage__lines { right: -40rem; }
  .mech-grid { flex-direction: column; }
  .mechanic__back:not(.mechanic__back--static) { display: none; }
}

@media (max-width: 1180px) {
  .hero__media { right: -20rem; }
}

@media (max-width: 1080px) {
  :root {
    --title-size: 5.4rem;
    --banner-size: 3.8rem;
    --section-padding: 10rem 0;
    --lines-height: 80rem;
  }

  .site-header { position: fixed; top: 0; left: 0; right: 0; }
  body { padding-top: 7.2rem; }
  html { scroll-padding-top: 7.2rem; }
  .header__inner { gap: 2rem; }
  .header__burger { display: flex; }
  .header__menu {
    position: fixed;
    margin-left: 0;
    top: 7rem;
    left: 0;
    right: 0;
    height: calc(100vh - 7rem);
    height: calc(100dvh - 7rem);
    z-index: 1;
    display: none;
    overflow: hidden;
    background: #fff;
  }
  .site-header.nav-open .header__menu { display: block; }
  .header__menu-inner {
    display: flex;
    position: relative;
    z-index: 1;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 3rem 0 4rem;
  }
  .header__logo,
  .header__lang,
  .header__burger { position: relative; z-index: 3; }
  /* Logo do lewej, przełącznik i burger do prawej. Wolną przestrzeń zbiera JEDEN
     auto-margines — na .header__lang. Bazowy margin-left:auto burgera musi tu paść,
     bo dwa auto-marginesy podzieliłyby ją po połowie i wypchnęły przełącznik na środek. */
  .header__lang { order: 1; margin-left: auto; margin-right: 0; }
  .header__burger { order: 2; margin-left: 0; }
  .site-header.nav-open { background: #fff; }
  .header__menu-lines {
    display: block;
    position: absolute;
    right: -12rem;
    bottom: -16rem;
    width: 72rem;
    max-width: none;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
  }
  .header__menu-lines path { fill: none; stroke: #e6e6ea; stroke-width: .71px; stroke-miterlimit: 10; }
  .header__nav {
    position: relative;
    z-index: 1;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    font-size: 4rem;
  }
  .header__nav a { padding: 1.8rem 4rem; }
  .header__cta { position: relative; z-index: 1; margin: 2.4rem 4rem 0; align-self: flex-end; }
  .header__lang { font-size: 1.6rem; }

  .hero__inner { flex-direction: column; align-items: flex-start; min-height: 0; gap: 4rem; }
  .hero__text { flex: none; width: 100%; max-width: 100%; gap: 3.4rem; }
  .hero__title { white-space: normal; }
  .hero__media {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    width: 90%;
    margin: 0 0 0 auto;
  }

  .advantage__inner { flex-direction: column; gap: 5rem; }
  .advantage__left { width: 100%; }
  .advantage__left > .btn--lime { margin-left: 0; width: 100%; }
  .advantage__media { width: 100%; }
  .icon-cluster { margin: 0 auto; }

  .feature__inner { flex-direction: column; gap: 4rem; }
  .feature__media,
  .feature__text { width: 100%; }
  .feature__text > .btn--blue { width: 100%; }
  .feature__media,
  .feature--imgright .feature__media { justify-content: center; }
  .feature--imgright .feature__media { order: -1; }

  .launch__inner { flex-direction: column; gap: 4rem; }
  .accordion,
  .launch__text { width: 100%; }
  .launch__text { order: -1; }
  .launch__text > .btn { width: 100%; }

  .mechanisms__lead { margin-bottom: 0.1rem; }

  .compare__lead { max-width: 100%; }
  .e2e-row__title { font-size: 3.4rem; }

  .demo-banner h3 { font-size: 5rem; }
  .demo { padding: 9rem 0; }
  .demo__inner { grid-template-columns: 1fr; gap: 4rem; }
  .demo__lead { max-width: none; }
  .demo__title { font-size: 4.6rem; }
}

@media (max-width: 768px) {
  :root {
    --title-size: 4.2rem;
    --banner-size: 3rem;
    --lead-size: 1.7rem;
    --section-padding: 7rem 0;
  }
  .container { max-width: calc(100% - 4rem); }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; min-width: 0; }
  .hero__media { width: 100%; }
  .step__body p { max-width: 100%; }

  .vs { gap: 0; margin-bottom: 5rem; }
  .vs__heads { display: none; }
  .vs__row { display: flex; flex-direction: column; gap: 1.4rem; }
  .vs__pill { width: 100%; }
  .vs__row + .vs__row { margin-top: 4.5rem; }
  .vs__row::before,
  .vs__row::after {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--lime);
    text-align: center;
  }
  .vs__row::before { content: "Standard na rynku"; color: #9a9a9d; }
  .vs__row::after { content: "Promocje z Promotli"; }
  .vs__vs { padding: 0.2rem 0; }
  .vs__pill { font-size: 1.7rem; padding: 1.4rem 1.6rem; gap: 1.2rem; }
  .mark { width: 4.2rem; height: 4.2rem; }

  .stats { flex-wrap: wrap; gap: 4.5rem 3rem; }
  .stat { flex: 1 1 40%; }
  .stat__num { font-size: 5rem; }

  .banner-cta { padding: 3.2rem 2rem; }

  .mechanisms__head { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .mech-grid { flex-direction: column; }

  .e2e-row {
    grid-template-columns: auto 1fr;
    grid-template-areas: "icon title" "icon desc";
    column-gap: 1.6rem;
    row-gap: 0.6rem;
    padding: 2.4rem 0.2rem;
  }
  .e2e-row:hover { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .e2e-row__icon { grid-area: icon; width: 4.6rem; align-self: start; }
  .e2e-row__title { grid-area: title; font-size: 2.4rem; }
  .e2e-row__desc { grid-area: desc; font-size: 1.6rem; }

  .demo-banner { padding: 4rem 1.8rem 4.4rem; }
  .demo-banner h3 { font-size: 3.4rem; }

  .footer__title { font-size: 3rem; margin-bottom: 4rem; }
  .footer__cols { flex-direction: column; gap: 3.4rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .footer__legal { flex-direction: column; gap: 0.8rem; }

  .demo { padding: 7rem 0; }
  .demo__title { font-size: 3.8rem; }
  .form-card { padding: 2.6rem; }
  .form__row { grid-template-columns: 1fr; }

  .mechanic { padding: 8rem 0 7rem; }
  .mechanic-cta { padding-bottom: 8rem; }
}

@media (max-width: 580px) {
  .phone { max-width: 36rem; }
}

@media (max-width: 520px) {
  .header__nav { font-size: 3rem; }
}

@media (max-width: 480px) {
  :root { --title-size: 3.6rem; }

  .stat { flex: 1 1 100%; }

  .phone__stats { left: 55%; width: 46%; }
  .feature--imgright .phone__stats { left: 0%; width: 60%; }

  .demo-form__pill {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 2.4rem;
  }
  .demo-form__pill input { text-align: center; }
  .demo-form__pill button { width: 100%; }

  .banner-cta { font-size: 2.6rem; padding: 2.6rem 1.4rem; }
  .demo-banner h3 { font-size: 2.8rem; }
  .e2e-row__title { font-size: 2.1rem; }
  .step { gap: 1.6rem; }
  .step__num { width: 5rem; height: 5rem; font-size: 2rem; }
}
