/* ============================================================
   CAB Centrum Analizy Badań — arkusz stylów
   Kolorystyka wspólna z lumafi.pl:
   #FFFFFF · #2E5BFF · #9B9DA8 · #0B0D12
   ============================================================ */

/* Czcionki hostowane lokalnie (licencja SIL Open Font License 1.1), pobrane z Google Fonts 23.09.2026 */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Kolory bazowe (jak lumafi.pl) */
  --white: #FFFFFF;
  --canvas: #F8FAFF;
  --soft: #F2F5FB;
  --line: #ECEDF1;
  --line-2: #E4E6EC;
  --grey: #9B9DA8;
  --muted: #6E727E;
  --slate: #565A66;
  --ink: #0B0D12;
  --ink-2: #12151C;
  --blue: #2E5BFF;
  --blue-dark: #1B41D8;
  --blue-light: #4C74FF;

  /* Na ciemnym tle */
  --on-dark-soft: rgba(255, 255, 255, 0.66);
  --on-dark-mute: rgba(255, 255, 255, 0.45);
  --line-dark: rgba(255, 255, 255, 0.1);

  /* System */
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1180px;
  --pad-x: clamp(20px, 4vw, 48px);
  --sec-y: clamp(72px, 8vw, 120px);
  --round: clamp(0px, 3vw, 44px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / baza ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: var(--blue); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.hl { color: var(--blue); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  padding: 17px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease,
              border-color 0.3s ease, color 0.3s ease;
}
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 20px 46px -22px rgba(11, 13, 18, 0.7);
}
.btn--dark .btn__arrow { color: var(--grey); }
.btn--dark:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 26px 56px -20px rgba(46, 91, 255, 0.9);
}
.btn--dark:hover .btn__arrow { color: #fff; }

.btn--accent {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 40px -20px rgba(46, 91, 255, 0.85);
}
.btn--accent:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -18px rgba(46, 91, 255, 0.95);
}

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(155, 157, 168, 0.38);
  box-shadow: 0 10px 30px -22px rgba(11, 13, 18, 0.5);
}
.btn--ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-3px);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 14px;
  font-family: var(--font-head);
}

/* ---------- Etykiety ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--blue);
  flex: none;
}
.eyebrow--onDark { color: rgba(255, 255, 255, 0.62); }
.eyebrow--onDark::before { background: var(--blue-light); }

.minilabel {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.minilabel--blue { color: var(--blue); }

.minihead {
  margin: clamp(48px, 5vw, 64px) 0 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}

/* ---------- Nawigacja (pływająca „pigułka” jak na lumafi.pl) ---------- */
.nav {
  position: fixed;
  top: clamp(12px, 1.6vw, 22px);
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 0 clamp(12px, 3vw, 32px);
  pointer-events: none;
}
.nav__pill {
  position: relative;
  pointer-events: auto;
  width: 100%;
  max-width: 1180px;
  height: 66px;
  padding: 0 12px 0 clamp(14px, 1.8vw, 22px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(155, 157, 168, 0.24);
  border-radius: 999px;
  box-shadow: 0 18px 50px -26px rgba(11, 13, 18, 0.28);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease,
              height 0.4s var(--ease), max-width 0.5s var(--ease);
}
.nav.is-scrolled .nav__pill {
  height: 58px;
  max-width: 1040px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(155, 157, 168, 0.34);
  box-shadow: 0 22px 60px -28px rgba(11, 13, 18, 0.38);
}

.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { display: block; width: auto; height: 28px; transition: opacity 0.25s ease; }
.brand__logo--full { height: 48px; }
.brand:hover .brand__logo { opacity: 0.75; }
.brand__sub {
  padding-left: 14px;
  border-left: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__drawer { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--slate);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav__menu a:hover,
.nav__menu a.is-active { color: var(--ink); background: rgba(155, 157, 168, 0.13); }
.nav__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grey); flex: none; }
.nav__menu a:nth-child(1) .nav__dot { background: var(--ink); }
.nav__menu a:nth-child(2) .nav__dot { background: #5478D8; }
.nav__menu a:nth-child(3) .nav__dot { background: var(--blue); }
.nav__menu a:nth-child(4) .nav__dot { background: var(--grey); }

/* rozwijana lista „Zespół” */
.nav__team { position: relative; }
.nav__team-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav__team-btn:hover,
.nav__team-btn[aria-expanded="true"] { color: var(--ink); background: rgba(155, 157, 168, 0.13); }
.nav__team-btn .nav__dot { background: var(--grey); }
.nav__chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.nav__team-btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__team-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  min-width: 230px;
  padding: 6px;
  border: 1px solid rgba(155, 157, 168, 0.24);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 60px -24px rgba(11, 13, 18, 0.35);
}
.nav__team-menu[hidden] { display: none; }
.nav__menu .nav__team-menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 11px;
  font-size: 14.5px;
  color: var(--ink);
}
.nav__menu .nav__team-menu a:hover { background: var(--canvas); color: var(--blue); }
.nav__team-menu a span { color: var(--grey); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(155, 157, 168, 0.4);
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav__toggle span { width: 16px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------- Sekcje ---------- */
.sec {
  position: relative;
  padding-bottom: var(--sec-y);
}
.sec--light { background: var(--white); }
.sec--soft { background: var(--soft); }

.sec--dark {
  z-index: 1;
  overflow: hidden;
  margin-top: calc(-1 * var(--round));
  background: var(--ink);
  color: #fff;
  border-radius: var(--round) var(--round) 0 0;
}
/* sekcja przed ciemną wchodzi pod jej zaokrąglone narożniki */
.sec:has(+ .sec--dark) { padding-bottom: calc(var(--sec-y) + var(--round)); }

.sec--dark .wrap,
.sec--dark .seam { position: relative; z-index: 1; }
.sec__blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 91, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 91, 255, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 60% at 15% 10%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(90% 60% at 15% 10%, #000, transparent 72%);
}
.sec__beam {
  position: absolute;
  top: 0;
  right: -10%;
  width: 55%;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(46, 91, 255, 0.32), transparent 70%);
  filter: blur(20px);
}

/* szew rozdzielający sekcje */
.seam {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: clamp(28px, 3vw, 40px) var(--pad-x) clamp(40px, 5vw, 64px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  overflow: hidden;
}
.seam__idx { font-weight: 500; }
.seam__label { white-space: nowrap; }
.seam__rule { flex: 1; height: 1px; min-width: 12px; }
.seam__scan { width: 8px; height: 8px; flex: none; transform: rotate(45deg); }
.seam--light { color: var(--grey); }
.seam--light .seam__idx { color: var(--blue); }
.seam--light .seam__rule { background: linear-gradient(90deg, rgba(155, 157, 168, 0), rgba(155, 157, 168, 0.42), rgba(155, 157, 168, 0)); }
.seam--light .seam__scan { background: var(--blue); }
.seam--dark { color: var(--on-dark-mute); }
.seam--dark .seam__idx { color: var(--blue-light); }
.seam--dark .seam__rule { background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02)); }
.seam--dark .seam__scan { background: var(--blue-light); }

.sec__head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.sec__title {
  font-size: clamp(30px, 4.3vw, 52px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 20ch;
  text-wrap: balance;
}
.sec__title--sm { font-size: clamp(30px, 3.6vw, 46px); max-width: 16ch; }
.sec__lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.2vw, 17.5px);
  line-height: 1.72;
  color: var(--muted);
}
.sec__head:not(.sec__head--split) .sec__lead { margin-top: clamp(20px, 2.4vw, 28px); }
.sec--dark .sec__title { color: #fff; }
.sec--dark .hl { color: var(--blue-light); }
.sec--dark .sec__lead { color: var(--on-dark-soft); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(118px, 11vw, 150px);
  background: linear-gradient(180deg, #F3F4F7 0%, #FAFAFB 55%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg > span { position: absolute; inset: 0; }
.hero__mesh {
  background-image:
    linear-gradient(rgba(155, 157, 168, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 157, 168, 0.2) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(78% 78% at 26% 34%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(78% 78% at 26% 34%, #000, transparent 76%);
}
.hero__dots {
  background-image: radial-gradient(rgba(155, 157, 168, 0.45) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.55;
  mask-image: radial-gradient(42% 44% at 8% 86%, #000, transparent 74%);
  -webkit-mask-image: radial-gradient(42% 44% at 8% 86%, #000, transparent 74%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
  padding-bottom: clamp(56px, 6vw, 88px);
}
.hero__tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__idx { color: var(--ink); font-weight: 500; }
.hero__rule { width: 48px; height: 1px; background: linear-gradient(90deg, var(--grey), rgba(155, 157, 168, 0)); }
.hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(46, 91, 255, 0.14);
}
.hero__title {
  font-size: clamp(40px, 5.3vw, 70px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  max-width: 13ch;
}
.hero__lead {
  margin-top: 26px;
  max-width: 54ch;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  color: var(--muted);
}
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.checks { margin-top: 30px; display: grid; gap: 10px; color: var(--slate); font-size: 14.5px; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(155, 157, 168, 0.55);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%232E5BFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.hero__visual { position: relative; }
.hero-svg { display: block; width: 100%; max-width: 580px; height: auto; margin-left: auto; overflow: visible; }
.hs-dotgrid circle { fill: var(--grey); opacity: 0.45; }
.hs-ticks { fill: none; stroke: rgba(155, 157, 168, 0.45); stroke-width: 10; stroke-dasharray: 1.2 16.78; }
.hs-ring { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.hs-ring--dash { stroke-dasharray: 4 7; stroke: rgba(155, 157, 168, 0.45); }
.hs-ring--blue { stroke: rgba(46, 91, 255, 0.35); stroke-width: 1.5; }
.hs-arc {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 190 878;
  transform-box: view-box;
  transform-origin: 300px 260px;
}
.hs-in path { fill: none; stroke: rgba(155, 157, 168, 0.7); stroke-width: 1.2; stroke-dasharray: 3 6; }
.hs-pts circle { fill: #fff; stroke: var(--grey); stroke-width: 1.5; }
.hs-pts circle.is-blue { fill: var(--blue); stroke: var(--blue); }
.hs-out { fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; }
.hs-end { fill: var(--blue); filter: drop-shadow(0 0 8px rgba(46, 91, 255, 0.6)); }
.hs-core { fill: var(--ink); }
.hs-core__eye { fill: var(--blue-light); }

.float-card {
  position: absolute;
  left: 0;
  bottom: 6%;
  width: 224px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(28, 27, 32, 0.98), rgba(8, 8, 11, 0.98));
  color: #fff;
  box-shadow: 0 30px 60px -28px rgba(11, 13, 18, 0.7);
}
.float-card__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.float-card__kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); }
.float-card__title {
  margin: 12px 0 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.float-card__steps {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.float-card__steps i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.float-card__steps i.is-on { background: var(--blue-light); box-shadow: 0 0 0 4px rgba(76, 116, 255, 0.22); }
.float-card__steps span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* pasek usług */
.ticker {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}
.ticker__track {
  display: flex;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
  animation: ticker 48s linear infinite;
}
.ticker__track > * { margin-right: 28px; }
.ticker__track i { font-style: normal; font-size: 8px; color: var(--ink); align-self: center; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 01 · O nas ---------- */
.chain__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  counter-reset: none;
}
.chain__node {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px 24px 26px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 50px -40px rgba(11, 13, 18, 0.45);
}
/* strzałka między elementami łańcucha */
.chain__node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 24px;
  height: 12px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h21M16 1.5 21.5 6 16 10.5' fill='none' stroke='%232E5BFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chain__kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.chain__name {
  font-family: var(--font-head);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.chain__sub { font-size: 14px; color: var(--muted); line-height: 1.5; }
.chain__node--hub {
  border-color: transparent;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(46, 91, 255, 0.45), transparent 60%),
    var(--ink);
  box-shadow: 0 26px 60px -30px rgba(46, 91, 255, 0.7);
}
.chain__node--hub .chain__kicker { color: var(--blue-light); }
.chain__node--hub .chain__sub { color: var(--on-dark-soft); }
.chain__node--end { border-color: rgba(46, 91, 255, 0.45); box-shadow: 0 0 0 4px rgba(46, 91, 255, 0.07); }
.chain__node--end .chain__kicker { color: var(--blue); }
.chain__caption { margin-top: 20px; font-size: 14.5px; color: var(--muted); }

.about__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 4vw, 56px);
}
.card {
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--canvas);
}
.card p:not(.minilabel) { color: var(--slate); font-size: 15.5px; line-height: 1.7; }

/* ---------- 02 · Jak działamy ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(76, 116, 255, 0.7), rgba(76, 116, 255, 0.3) 70%, rgba(255, 255, 255, 0.12));
}
.timeline__step { position: relative; }
.timeline__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid rgba(76, 116, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-light);
}
.timeline__step--final .timeline__num {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(46, 91, 255, 0.2), 0 0 30px rgba(46, 91, 255, 0.6);
}
.timeline h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.timeline p { font-size: 14.5px; line-height: 1.6; color: var(--on-dark-soft); }

/* ---------- 03 · Obszary (kompaktowe kafelki) ---------- */
.areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -56px rgba(11, 13, 18, 0.5);
}
.area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 26px 22px;
  background-color: var(--white);
  transition: background-color 0.3s ease;
}
.area:hover { background-color: #FAFBFF; }
.area__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.area__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--canvas);
}
.area__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.area__num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.area h3 { font-size: 20px; letter-spacing: -0.03em; }
.area > p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.area__more { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.area__more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color 0.2s ease;
}
.area__more summary::-webkit-details-marker { display: none; }
.area__more summary::after { content: "+"; font-size: 17px; line-height: 1; color: var(--blue); }
.area__more[open] summary::after { content: "−"; }
.area__more summary:hover { color: var(--ink); }
.area__more dl { margin: 14px 0 0; }
.area__more dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 4px;
}
.area__more dd { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: var(--slate); }
.area__more dd:last-child { margin-bottom: 0; }

.area--cta {
  color: #fff;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(46, 91, 255, 0.4), transparent 65%),
    var(--ink);
}
.area--cta:hover { background-color: var(--ink-2); }
.area--cta .area__num { color: var(--blue-light); margin-bottom: 6px; }
.area--cta h3 { color: #fff; }
.area--cta > p { color: var(--on-dark-soft); }
.area--cta .btn { align-self: flex-start; margin-top: auto; }

/* ---------- 04 · Doświadczenie ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 20px 24px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}
.stat__num sup { font-size: 0.4em; color: var(--blue-light); vertical-align: super; }
.stat__label { max-width: 20ch; font-size: 15px; line-height: 1.5; color: var(--on-dark-soft); }

.patents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.patent {
  display: block;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  transition: border-color 0.3s ease, transform 0.3s var(--ease), background 0.3s ease;
}
.patent:hover { color: #fff; border-color: rgba(76, 116, 255, 0.55); background: rgba(46, 91, 255, 0.08); transform: translateY(-3px); }
.patent__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.patent__top .patent__no { margin-bottom: 0; }
.patent__impl {
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.patents__more { margin-top: 16px; font-size: 14.5px; font-weight: 600; }
.patents__more a { color: var(--blue-light); }
.patents__more a:hover { color: #fff; }
.patent__no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.patent__no::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(76, 116, 255, 0.2);
}
.patent h3 { font-size: 17px; line-height: 1.35; color: #fff; }

.programs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  overflow: hidden;
}
.programs li { display: grid; align-content: start; gap: 6px; padding: 20px 18px; background: var(--ink); }
.programs strong { font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1.3; color: #fff; }
.programs span { font-size: 13px; line-height: 1.5; color: var(--on-dark-soft); }

.disclaimer { margin-top: 28px; max-width: 96ch; font-size: 12.5px; line-height: 1.6; color: var(--on-dark-mute); }
.disclaimer sup { color: var(--blue-light); }

/* ---------- 05 · Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact__intro .sec__lead { margin-top: 20px; }
.contact__details { display: grid; gap: 18px; margin-top: 30px; }
.contact__details li { display: grid; gap: 2px; }
.contact__details .minilabel { margin: 0; }
.contact__details a {
  font-family: var(--font-head);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.contact__details address { font-style: normal; font-size: 16px; color: var(--slate); }

.contact__form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 34px 80px -54px rgba(11, 13, 18, 0.5);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .opt { color: var(--grey); letter-spacing: 0.1em; }
.req { color: var(--blue); }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: #A8AAB3; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(46, 91, 255, 0.12);
}
.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 4px 0 22px;
}
.field--check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.field--check label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
  color: var(--muted);
}
.form-status { margin-top: 14px; min-height: 1.2em; font-size: 14px; font-weight: 500; }
.form-status.is-ok { color: var(--blue); }
.form-status.is-error { color: #D64545; }
.form-legal { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Polityka prywatności ---------- */
.legal { padding: clamp(130px, 12vw, 160px) 0 var(--sec-y); background: linear-gradient(180deg, #F3F4F7 0%, var(--white) 420px); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; }
.legal__date { margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.legal__summary {
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid rgba(46, 91, 255, 0.25);
  border-radius: 18px;
  background: var(--canvas);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--slate);
}
.legal h2 { margin-top: 40px; font-size: 21px; letter-spacing: -0.02em; }
.legal p, .legal li { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--slate); }
.legal ul { padding-left: 20px; list-style: disc; }
.legal li { margin-top: 6px; }

/* ---------- Stopka ---------- */
.footer {
  padding: clamp(56px, 6vw, 80px) 0 28px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
}
.footer__slogan {
  margin: 20px 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.footer__desc { max-width: 40ch; font-size: 14.5px; line-height: 1.68; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.footer__col .minilabel { margin-bottom: 6px; }
.footer__col a { color: var(--slate); overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--blue); }
.footer__col a.is-placeholder { opacity: 0.5; }
/* dane spółki w stopce */
.footer__company { gap: 0; }
.company__name { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--ink); }
.footer__company address { margin-top: 4px; font-style: normal; font-size: 14px; line-height: 1.6; color: var(--slate); }
.company__ids {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.company__ids div { display: grid; grid-template-columns: 136px 1fr; align-items: baseline; gap: 8px; }
.company__ids dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}
.company__ids dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.company__court {
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}
.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad-x);
  right: var(--pad-x);
  height: 1px;
  background: var(--line);
}

/* ---------- Animacje ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  .hs-arc { animation: hs-spin 28s linear infinite; }
  .hs-in path { animation: hs-flow 3.2s linear infinite; }
  .hero__pulse { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes hs-spin { to { transform: rotate(360deg); } }
@keyframes hs-flow { to { stroke-dashoffset: -18; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(46, 91, 255, 0.06); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1100px) {
  .programs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .timeline::before { display: none; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .hero-svg { margin: 0; }
  .sec__head--split { grid-template-columns: 1fr; align-items: start; }
  .chain__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain__node:nth-child(2)::after { display: none; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__drawer {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(155, 157, 168, 0.24);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 30px 70px -30px rgba(11, 13, 18, 0.4);
  }
  .nav.is-open .nav__drawer { display: flex; }
  .nav__menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__menu a { padding: 14px 16px; border-radius: 14px; font-size: 16px; }
  .nav__team-btn { width: 100%; padding: 14px 16px; border-radius: 14px; font-size: 16px; }
  .nav__chev { margin-left: auto; }
  .nav__team-menu { position: static; transform: none; min-width: 0; margin: 2px 0 4px 20px; padding: 0; border: 0; border-left: 1px solid var(--line-2); border-radius: 0; box-shadow: none; }
  .nav__menu .nav__team-menu a { padding: 12px 16px; font-size: 15px; }
  .nav__cta { padding-block: 15px; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 20px 16px 20px 0; }
  .stat + .stat { padding-left: 16px; border-left: 1px solid var(--line-dark); border-top: 0; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .patents { grid-template-columns: 1fr; }
  .about__cards { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .brand__sub { display: none; }
  .hero__rule { display: none; }
  .float-card { position: relative; left: auto; bottom: auto; margin-top: -8%; }
  .seam__label { letter-spacing: 0.2em; }

  .chain__list { grid-template-columns: 1fr; gap: 30px; }
  .chain__node:not(:last-child)::after,
  .chain__node:nth-child(2)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -24px;
    left: 32px;
    transform: rotate(90deg);
  }
  .areas { grid-template-columns: 1fr; }
  .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr; row-gap: 22px; }
  .timeline__step { padding-left: 64px; min-height: 44px; }
  .timeline__num { position: absolute; left: 0; top: 0; margin: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact__form .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
}
