@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #05060a;
  --bg-soft: #0a1020;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #edf2ff;
  --muted: rgba(237, 242, 255, 0.75);
  --muted-soft: rgba(237, 242, 255, 0.62);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);

  --accent: #2b75e0;
  --accent-rgb: 43, 117, 224;
  --accent-soft: rgba(47, 100, 223, 0.18);
  --accent-glow: rgba(82, 123, 255, 0.95);
  --accent-border: rgba(82, 123, 255, 0.28);
  --accent-ring: rgba(103, 145, 255, 0.58);

  --danger: rgba(245, 8, 8, 0.84);
  --danger-soft: rgba(245, 8, 8, 0.14);

  --shadow:
    0 0 25px rgba(47, 100, 223, 0.25), 0 0 60px rgba(47, 100, 223, 0.15);

  --panel-gradient: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );

  --primary-gradient: linear-gradient(180deg, #3b72e8 0%, #2850b7 100%);

  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 12px;

  --max: 1180px;

  --font-sans:
    "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --transition-fast: 0.18s ease;
  --transition-base: 0.24s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(
      1100px 700px at 50% 0%,
      rgba(56, 98, 220, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #040508 0%, #060910 45%, #05060a 100%);
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

main::before {
  content: "";
  position: absolute;
  left: -18%;
  top: 60%;
  width: 140%;
  height: 220px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--accent-rgb), 0) 0%,
    rgba(var(--accent-rgb), 0.12) 22%,
    rgba(var(--accent-rgb), 0.42) 36%,
    rgba(var(--accent-rgb), 0.72) 50%,
    rgba(var(--accent-rgb), 0.42) 64%,
    rgba(var(--accent-rgb), 0.12) 78%,
    rgba(var(--accent-rgb), 0) 100%
  );
  filter: blur(34px);
  transform: rotate(-14deg);
  transform-origin: center;
  mix-blend-mode: screen;
  opacity: 0.9;
}

main > * {
  position: relative;
  z-index: 1;
}

/* INTERACTION */

a,
button,
input,
textarea,
summary,
.lang-btn,
.site-nav a,
.btn {
  transition:
    color var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    opacity var(--transition-fast),
    transform var(--transition-fast),
    filter var(--transition-fast),
    box-shadow var(--transition-fast);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-ring);
  outline-offset: 3px;
}

/* HEADERY SEKCJI */

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 760px;
}

.section-head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.section-head--compact {
  margin-bottom: 24px;
}

.section-kicker {
  margin: 0;
  color: #66a3ff;
  opacity: 0.95;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
}

.section-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: var(--fw-bold);
  text-wrap: balance;
}

.section-desc {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  font-weight: var(--fw-regular);
}

.main__gallery .section-desc {
  text-align: justify;
}

.section-head::after {
  content: "";
  width: 72px;
  height: 3px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(47, 100, 223, 0),
    rgba(82, 123, 255, 0.95),
    rgba(47, 100, 223, 0)
  );
  box-shadow: 0 0 16px rgba(82, 123, 255, 0.45);
}

.section-head--center::after {
  margin-inline: auto;
}

/* NAV */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 10, 0.82) 0%,
    rgba(5, 6, 10, 0.42) 58%,
    rgba(5, 6, 10, 0.06) 100%
  );
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand__logo {
  width: 34px;
  height: auto;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-separator {
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  line-height: 1;
}

.lang-btn {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1;
  font-weight: var(--fw-semibold);
}

.lang-btn:hover,
.lang-btn.is-active {
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1;
  font-weight: var(--fw-semibold);
}

.site-nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(107, 144, 255, 0.28);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-toggle__line {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-toggle__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.nav-open .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

body.nav-open .nav-toggle {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(107, 144, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav__social--icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.nav__social--icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.nav-mobile-social {
  display: none;
}

/* HERO */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__backdrop {
  position: absolute;
  left: 50%;
  bottom: -60px;
  width: min(1600px, 100%);
  height: 54%;
  transform: translateX(-50%);
  opacity: 0.34;
  background-image: url("../assets/images/backgound.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background:
    radial-gradient(
      120% 100% at 50% 100%,
      rgba(5, 6, 10, 0) 0%,
      rgba(5, 6, 10, 0.18) 42%,
      rgba(5, 6, 10, 0.46) 72%,
      rgba(5, 6, 10, 0.88) 100%
    ),
    radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.7px);
  background-size:
    100% 100%,
    4px 4px;
  background-position:
    center bottom,
    center;
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 901px) {
  .steps-timeline {
    scroll-margin-top: 120px;
  }

  .hero + .steps-timeline {
    padding-top: 88px;
  }

  .hero__backdrop {
    left: 50%;
    bottom: -140px;
    width: min(1280px, 92vw);
    height: min(1280px, 92vw);
    transform: translateX(-50%);
    opacity: 0.42;
    background-position: center calc(100% + 520px);
    background-size: contain;
    filter: saturate(0.94) blur(0.3px) brightness(0.9);
    -webkit-mask-image: radial-gradient(
      94% 124% at 50% 100%,
      rgba(0, 0, 0, 0.99) 0%,
      rgba(0, 0, 0, 0.96) 38%,
      rgba(0, 0, 0, 0.82) 58%,
      rgba(0, 0, 0, 0.48) 74%,
      rgba(0, 0, 0, 0.16) 88%,
      transparent 100%
    );
    mask-image: radial-gradient(
      94% 124% at 50% 100%,
      rgba(0, 0, 0, 0.99) 0%,
      rgba(0, 0, 0, 0.96) 38%,
      rgba(0, 0, 0, 0.82) 58%,
      rgba(0, 0, 0, 0.48) 74%,
      rgba(0, 0, 0, 0.16) 88%,
      transparent 100%
    );
  }

  .hero__backdrop::after {
    opacity: 0.0001;
  }

  .hero__inner {
    align-items: flex-start;
    padding-top: 132px;
    padding-bottom: 170px;
  }

  .hero__content {
    max-width: 520px;
    transform: translateY(-20px);
  }

  .hero__wordmark {
    width: clamp(220px, 18vw, 320px);
    margin-bottom: 14px;
  }

  .hero__text {
    max-width: 430px;
    font-size: clamp(11px, 0.72vw, 13px);
    line-height: 1.55;
  }

  .hero__actions {
    margin-top: 18px;
  }

  .btn--primary {
    min-height: 38px;
    padding: 0 16px;
    font-size: 16px;
  }

  .hero__glow--left,
  .hero__glow--right {
    top: 55%;
    opacity: 0.45;
  }

  .hero__glow--center {
    width: 360px;
    height: 120px;
    top: 8%;
    opacity: 0.55;
  }
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.18) 0.7px,
    transparent 0.7px
  );
  background-size: 4px 4px;
  mix-blend-mode: screen;
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(56px);
}

.hero__glow--left {
  width: 760px;
  height: 260px;
  left: -120px;
  top: 46%;
  transform: rotate(-14deg);
  background: radial-gradient(
    ellipse at center,
    rgba(43, 117, 224, 0.95) 0%,
    rgba(43, 117, 224, 0.55) 35%,
    rgba(43, 117, 224, 0.18) 65%,
    transparent 82%
  );
}

.hero__glow--right {
  width: 760px;
  height: 260px;
  right: -120px;
  top: 46%;
  transform: rotate(14deg);
  background: radial-gradient(
    ellipse at center,
    rgba(43, 117, 224, 0.95) 0%,
    rgba(43, 117, 224, 0.55) 35%,
    rgba(43, 117, 224, 0.18) 65%,
    transparent 82%
  );
}

.hero__glow--center {
  width: 520px;
  height: 180px;
  left: 50%;
  top: 26%;
  transform: translateX(-50%);
  filter: blur(78px);
  background: radial-gradient(
    ellipse at center,
    rgba(43, 117, 224, 0.28) 0%,
    rgba(43, 117, 224, 0.1) 60%,
    transparent 82%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 96px;
  padding-bottom: 32px;
  text-align: center;
}

.hero__content {
  width: 100%;
  max-width: 760px;
}

.hero__wordmark {
  width: clamp(260px, 34vw, 420px);
  margin: 0 auto 30px;
}

.hero__text {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.75;
  font-weight: var(--fw-medium);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero + .section {
  padding-top: 24px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--primary {
  color: #ffffff;
  border-color: rgba(107, 144, 255, 0.4);
  background: var(--primary-gradient);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 28px rgba(28, 65, 160, 0.34);
}

/* COMMON CARDS */

.feature-card,
.newsletter-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-gradient);
  box-shadow: var(--shadow);
}

video:fullscreen,
video:-webkit-full-screen {
  object-fit: contain;
  background: #000;
}

/* GALLERY */

.main__gallery {
  padding: 96px 0;
}

.gallery-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-gradient);
  box-shadow: var(--shadow);
  padding: 14px;
}

.gallery-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-gradient);
  box-shadow: var(--shadow);
  padding: 14px;
}

.gallery-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
}

.gallery-video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #000;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

/* STORY */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

.story-media {
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: #000;
  box-shadow:
    0 0 0 1px rgba(82, 123, 255, 0.08),
    0 0 30px rgba(47, 100, 223, 0.22);
}

.story-media img,
.story-video {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

#story .story-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

#story .story-video {
  height: 100%;
  object-fit: cover;
  object-position: 0% 80%;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 560px;
}

.story-content p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  text-align: justify;
}

.story-content strong {
  color: #fff;
  font-weight: var(--fw-semibold);
}

.story-content ul {
  margin: 4px 0;
  padding-left: 18px;
}

.story-content li {
  margin-bottom: 4px;
  color: var(--muted);
}

/* TIMELINE */

.steps-timeline {
  position: relative;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.32);
}

.timeline::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 7%;
  width: 53%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--accent-glow);
}

.timeline__current {
  position: absolute;
  top: 50%;
  left: 60%;
  z-index: 3;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--danger);
  transform: translate(-50%, -50%);
  animation: timelinePulse 1.8s infinite ease-out;
}

.timeline__current::after {
  content: "Tu jesteśmy";
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 6px 10px;
  border: 1px solid rgba(245, 8, 8, 0.28);
  border-radius: 999px;
  background: rgba(14, 10, 10, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.96);
  font-size: 10px;
  line-height: 1;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.timeline__current:hover::after,
.timeline__current:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes timelinePulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(245, 8, 8, 0.45),
      0 0 0 6px rgba(245, 8, 8, 0.18);
  }
  70% {
    box-shadow:
      0 0 0 12px rgba(245, 8, 8, 0),
      0 0 0 6px rgba(245, 8, 8, 0.1);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(245, 8, 8, 0),
      0 0 0 6px rgba(245, 8, 8, 0.18);
  }
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-rows: 170px 44px 170px;
  align-items: stretch;
  overflow: visible;
  text-align: center;
}

.timeline-step__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.timeline-step--top .timeline-step__content {
  grid-row: 1;
  justify-content: flex-end;
}

.timeline-step--bottom .timeline-step__content {
  grid-row: 3;
  justify-content: flex-start;
}

.timeline-step__center {
  grid-row: 2;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-step__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.timeline-step__number {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 12px;
  line-height: 1;
  font-weight: var(--fw-medium);
}

.timeline-step h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5em;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 16px;
  line-height: 1.25;
  font-weight: var(--fw-semibold);
}

.timeline-step p {
  min-height: 6.4em;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.6;
}

.timeline-step--done .timeline-step__dot {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.timeline-step--planned .timeline-step__dot {
  background: #7a7070;
}

.timeline-step--planned .timeline-step__number,
.timeline-step--planned h3 {
  color: rgba(255, 255, 255, 0.45);
}

.timeline-step--planned p {
  color: rgba(255, 255, 255, 0.36);
}

@media (max-width: 900px) {
  .steps-timeline {
    padding-left: 16px;
    padding-right: 24px;
    --timeline-axis-x: 14px;
  }

  .timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    --timeline-gap: 28px;
    gap: var(--timeline-gap);
    max-width: none;
    margin: 0 0 0 10px;
    padding: 24px 0;
    overflow: visible;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: var(--timeline-axis-x);
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.32);
  }

  .timeline::after {
    display: none;
  }

  .timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: calc(var(--timeline-axis-x) * 2) minmax(0, 1fr);
    column-gap: 18px;
    grid-template-rows: auto;
    align-items: center;
    text-align: left;
    overflow: visible;
  }

  .timeline-step__center {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--timeline-axis-x) * 2);
    transform: none;
  }

  .timeline-step__content {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    margin: 0;
    align-items: flex-start;
    text-align: left;
  }

  .timeline-step--top .timeline-step__content,
  .timeline-step--bottom .timeline-step__content {
    justify-content: flex-start;
  }

  .timeline-step h3 {
    display: block;
    min-height: 0;
    margin: 0 0 8px;
    text-align: left;
    font-size: 15px;
  }

  .timeline-step p {
    min-height: 0;
    margin: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.55;
  }

  .timeline__current {
    display: none;
  }

  .timeline-step:nth-of-type(5)::before {
    content: "";
    position: absolute;
    left: var(--timeline-axis-x);
    top: calc(var(--timeline-gap) * -0.05);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--danger);
    transform: translate(-50%, -50%);
    z-index: 5;
    animation: timelinePulse 1.8s infinite ease-out;
  }

  .timeline-step:nth-of-type(5)::after {
    content: "Tu jesteśmy";
    position: absolute;
    left: calc(var(--timeline-axis-x) + 20px);
    top: calc(var(--timeline-gap) * 0.62);
    transform: translateY(-4px);
    padding: 6px 10px;
    border: 1px solid rgba(245, 8, 8, 0.28);
    border-radius: 999px;
    background: rgba(14, 10, 10, 0.92);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    color: rgba(255, 255, 255, 0.96);
    font-size: 10px;
    line-height: 1;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity var(--transition-fast),
      transform var(--transition-fast);
  }

  .timeline-step:nth-of-type(5):hover::after {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ */

.faq-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro .section-head {
  max-width: 100%;
  margin-bottom: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.faq-item summary {
  position: relative;
  padding: 24px 56px 24px 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0;
  list-style: none;
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "→";
  position: absolute;
  top: 24px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  line-height: 1;
  transform-origin: center;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(90deg);
}

.faq-body {
  max-width: 850px;
  padding: 0 56px 22px 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 14px;
  line-height: 1.65;
}

.faq-body em {
  font-style: italic;
}

/* NEWSLETTER */

.newsletter-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  width: 100%;
}

.newsletter-copy {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.newsletter-copy .section-head {
  align-items: center;
  text-align: center;
  margin-inline: auto;
  max-width: 1000px;
}

.newsletter-card {
  width: 100%;
  margin-inline: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 20% 120%,
      rgba(47, 100, 223, 0.45),
      transparent 40%
    ),
    linear-gradient(135deg, rgba(18, 35, 70, 0.95), rgba(7, 12, 22, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(47, 100, 223, 0.25);
}

.newsletter-card .ml-form-embedContainer,
.newsletter-card .ml-form-embedWrapper {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.newsletter-card .ml-form-embedBody {
  padding: 0 !important;
}

.newsletter-card .row-form .ml-form-embedContent {
  display: none !important;
}

.newsletter-card * {
  font-family: inherit !important;
}

.newsletter-card .ml-form-horizontalRow {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  float: none !important;
}

.newsletter-card .ml-input-horizontal {
  flex: 1 1 340px;
  width: auto !important;
  float: none !important;
}

.newsletter-card .ml-button-horizontal {
  flex: 0 0 auto;
  width: auto !important;
  float: none !important;
}

.newsletter-card input[type="email"],
.newsletter-card input[name="fields[email]"] {
  width: 100% !important;
  height: 54px !important;
  padding: 0 16px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  outline: none !important;
  font-size: 15px !important;
}

.newsletter-card input[type="email"]:focus,
.newsletter-card input[name="fields[email]"]:focus {
  border-color: var(--accent-ring) !important;
  box-shadow: 0 0 0 4px rgba(56, 98, 220, 0.16) !important;
}

.newsletter-card input[type="email"]::placeholder,
.newsletter-card input[name="fields[email]"]::placeholder {
  color: rgba(237, 242, 255, 0.75) !important;
}

.newsletter-card button[type="submit"] {
  min-width: 150px;
  height: 54px !important;
  padding: 0 22px !important;
  border: 1px solid rgba(107, 144, 255, 0.42) !important;
  border-radius: 14px !important;
  background: var(--primary-gradient) !important;
  color: #fff !important;
  font-weight: var(--fw-extrabold) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 28px rgba(28, 65, 160, 0.34);
}

.newsletter-card button[type="submit"]:hover {
  filter: brightness(1.06);
}

.newsletter-card .ml-form-checkboxRow {
  margin-top: 16px !important;
}

.newsletter-card .ml-form-checkboxRow label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  min-height: 0 !important;
  padding-left: 0 !important;
}

.newsletter-card .ml-form-checkboxRow input[type="checkbox"] {
  position: static !important;
  z-index: auto !important;
  width: 16px !important;
  height: 16px !important;
  margin: 3px 0 0 0 !important;
  opacity: 1 !important;
  accent-color: #4a7dff;
}

.newsletter-card .ml-form-checkboxRow,
.newsletter-card .ml-form-checkboxRow *,
.newsletter-card .ml-form-checkboxRow p,
.newsletter-card .ml-form-checkboxRow span,
.newsletter-card .ml-form-checkboxRow div,
.newsletter-card .ml-form-checkboxRow label,
.newsletter-card .ml-form-checkboxRow .label-description,
.newsletter-card .ml-form-checkboxRow .label-description * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.newsletter-card .ml-form-checkboxRow .label-description,
.newsletter-card .ml-form-checkboxRow .label-description p {
  margin: 0 !important;
  font-weight: var(--fw-regular) !important;
}

.newsletter-card .ml-form-checkboxRow a,
.newsletter-card .ml-form-checkboxRow a *,
.newsletter-card .ml-form-checkboxRow .label-description a,
.newsletter-card .ml-form-checkboxRow .label-description a * {
  color: #8fb8ff !important;
  -webkit-text-fill-color: #8fb8ff !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(143, 184, 255, 0.45) !important;
}

.newsletter-card .ml-form-checkboxRow a:hover,
.newsletter-card .ml-form-checkboxRow .label-description a:hover {
  color: #a9c7ff !important;
  border-bottom-color: rgba(169, 199, 255, 0.7) !important;
}

.newsletter-card .ml-form-successContent {
  padding-top: 12px !important;
  text-align: left !important;
}

.newsletter-card .ml-form-successContent h4 {
  margin: 0 0 6px !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: var(--fw-extrabold) !important;
}

.newsletter-card .ml-form-successContent p {
  margin: 0 !important;
  color: var(--muted) !important;
  line-height: 1.55 !important;
}

.newsletter-card .ml-error .label-description,
.newsletter-card .ml-error .label-description p,
.newsletter-card .ml-error p {
  color: #ff7b7b !important;
}

.newsletter-card .ml-error input {
  border-color: rgba(255, 123, 123, 0.82) !important;
}

/* FOOTER */

.site-footer {
  padding: 40px 0 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
  position: relative;
  display: flex;
  align-items: center;
}

.site-footer__logo img {
  width: 54px;
  height: auto;
}

.site-footer__content {
  position: absolute;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted-soft);
  font-size: 14px;
  text-align: center;
  transform: translateX(-50%);
}

.site-footer__content a {
  color: inherit;
}

/* COOKIE */

.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 10, 0.95);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
}

.cookie-banner button {
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: #2d63d6;
  color: #fff;
  font-weight: var(--fw-bold);
}

.cookie-banner button:hover {
  filter: brightness(1.08);
}

/* LEGAL */

.legal-page {
  position: relative;
}

.legal-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      900px 500px at 50% 10%,
      rgba(56, 98, 220, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, #040508 0%, #060910 45%, #05060a 100%);
}

.legal-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../assets/images/logo-mini.png") center 160px / 220px auto
    no-repeat;
  opacity: 0.5;
  filter: grayscale(1) brightness(1.2);
}

.legal-main {
  padding-top: 120px;
  padding-bottom: 100px;
}

.legal {
  width: min(100% - 96px, 780px);
  margin-inline: auto;
  padding: 48px 56px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(10, 14, 24, 0.65);
  backdrop-filter: blur(12px);
}

.legal h1 {
  margin: 0 0 28px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: var(--fw-bold);
}

.legal h2,
.legal h3 {
  margin: 32px 0 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: var(--fw-semibold);
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.legal a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.legal__updated {
  margin-top: 32px;
  color: var(--muted-soft);
  font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specs-col {
    min-height: auto;
  }

  .specs-col:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .diff-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero__backdrop {
    bottom: -40px;
  }

  .hero__glow {
    display: none;
  }

  .hero + .steps-timeline {
    padding-top: 28px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero__inner {
    padding-top: 104px;
    padding-bottom: 28px;
  }

  .hero__content {
    transform: translateY(-28px);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  #kickstarter .story-content {
    order: 1;
  }

  #kickstarter .story-media {
    order: 2;
  }

  .story-grid {
    gap: 28px;
  }

  .story-media {
    width: 100%;
    margin-inline: 0;
  }
}

@media (max-width: 768px) {
  .main__gallery {
    padding: 72px 0;
  }

  .hero__backdrop {
    bottom: -28px;
  }

  .hero__content {
    transform: translateY(-100px);
  }

  .timeline {
    --timeline-axis-x: 6px;
    --timeline-gap: 28px;
    grid-template-columns: 1fr;
    gap: var(--timeline-gap);
    max-width: 100%;
    margin-left: 10px;
    padding: 0;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: var(--timeline-axis-x);
    right: auto;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
  }

  .timeline::after {
    top: 0;
    left: var(--timeline-axis-x);
    width: 2px;
    height: 50%;
    transform: translateX(-50%);
  }

  .timeline-step {
    min-height: auto;
  }

  .timeline-step__content,
  .timeline-step--top .timeline-step__content,
  .timeline-step--bottom .timeline-step__content {
    grid-row: auto;
    justify-content: flex-start;
  }

  .timeline-step__center {
    width: calc(var(--timeline-axis-x) * 2);
  }

  .timeline-step h3,
  .timeline-step p {
    min-height: 0;
    text-align: left;
    justify-content: flex-start;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-intro {
    position: static;
    top: auto;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 72px 0;
  }

  .section-head {
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    text-align: center;
    margin-inline: auto;
  }

  .section-head::after {
    margin-inline: auto;
  }

  .section-title {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.02;
  }

  .section-desc {
    font-size: 15px;
    line-height: 1.7;
  }

  .site-header {
    padding: 14px 0;
  }

  .site-header__inner {
    position: relative;
    gap: 12px;
  }

  .header-left {
    min-width: 0;
  }

  .language-switch {
    gap: 4px;
  }

  .lang-btn {
    font-size: 13px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    order: 2;
  }

  .nav-mobile-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.9);
    order: 1;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(5, 6, 10, 0.78);
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    font-size: 15px;
  }

  .site-nav .nav-cta {
    min-height: 0;
    margin-top: 0;
    padding: 12px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-weight: var(--fw-semibold);
  }

  .site-nav .nav__social--icon {
    display: none;
  }

  .hero {
    align-items: center;
  }

  .hero__inner {
    padding-top: 100px;
    padding-bottom: 20px;
  }

  .hero__wordmark {
    width: clamp(220px, 62vw, 320px);
    margin-bottom: 22px;
  }

  .hero__text {
    max-width: 80%;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .diff-grid,
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--diff,
  .specs-col {
    padding: 22px 20px;
  }

  .specs-col::after {
    display: none;
  }

  .specs-col li,
  .feature-card--diff p {
    font-size: 14px;
    line-height: 1.55;
  }

  .faq-item summary {
    padding: 20px 40px 20px 0;
    font-size: 18px;
  }

  .faq-item summary::after {
    top: 20px;
  }

  .faq-body {
    padding: 0 0 20px;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .cookie-banner button {
    width: 100%;
    max-width: 240px;
  }

  .legal-main {
    padding-top: 96px;
    padding-bottom: 72px;
  }

  .legal {
    width: min(100% - 28px, 780px);
    padding: 24px 20px;
    border-radius: 18px;
  }

  .legal h1 {
    margin-bottom: 22px;
    font-size: 32px;
  }

  .legal h2,
  .legal h3 {
    margin-top: 26px;
    font-size: 20px;
  }

  .legal p,
  .legal li {
    font-size: 15px;
    line-height: 1.7;
  }

  .legal-page::after {
    background-position: center 120px;
    background-size: 160px auto;
  }
}

@media (min-width: 1400px) {
  .hero__inner {
    padding-top: 146px;
    padding-bottom: 190px;
  }

  .hero__backdrop {
    bottom: -150px;
    width: min(1420px, 90vw);
    height: min(1420px, 90vw);
    background-position: center calc(100% + 500px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
