/* Flotado — strona produktowa. Płasko i geometrycznie, jak znak. */
:root {
  --ink: #12284C;
  --ink-2: #1B3765;
  --ink-3: #24457A;
  --accent: #2F7BFF;
  --mist: #F1F4F9;
  --white: #FFFFFF;
  --line: #E3E8F0;
  --link: #1F5FD6;
  --muted: #4A5B78;
  --tint: #E4EEFF;
  --r: 8px;
  --r-lg: 12px;
  --container: 1180px;
  --gutter: 16px;
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
/* linki bez podkreśleń: wyróżnia je kolor i grubość */
a { color: var(--link); text-decoration: none; font-weight: 500; transition: color .15s ease; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.3rem + 3.2vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.375rem); }
h3 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border-radius: var(--r); border: 2px solid var(--ink);
  background: var(--ink); color: var(--white);
  font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--tint); border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 8px 18px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Nawigacja */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.nav-logo { display: inline-flex; align-items: center; flex: none; }
.nav-logo img { width: 172px; height: 28px; }
@media (min-width: 720px) { .nav-logo img { width: 209px; height: 34px; } }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  display: inline-block; padding: 10px 14px; border-radius: var(--r);
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.nav-links a:hover { background: var(--mist); color: var(--ink); }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 12px; border: 0; background: transparent; border-radius: var(--r); cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; width: 24px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-mobile { display: none; border-top: 1px solid var(--line); background: var(--white); padding: 8px 0 16px; }
.nav-open .nav-mobile { display: block; }
.nav-mobile a { display: block; padding: 12px var(--gutter); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.125rem; }
.nav-mobile a:hover { background: var(--mist); }
.nav-mobile .btn { margin: 12px var(--gutter) 0; width: calc(100% - 2 * var(--gutter)); }
@media (min-width: 1024px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* Sekcje */
.section { padding: 64px 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink .lead, .section-ink .muted { color: #C9D4E8; }
.section-ink a { color: #BFD6FF; }
.section-ink a:hover { color: var(--white); }
@media (min-width: 720px) { .section { padding: 96px 0; } }
.section-head { max-width: 42em; margin-bottom: 40px; }
.section-head .lead { margin-top: 16px; }
@media (min-width: 720px) { .section-head { margin-bottom: 56px; } }

/* Hero */
.hero { padding: 48px 0 56px; }
@media (min-width: 720px) { .hero { padding: 80px 0 80px; } }
.hero-copy { max-width: 44em; }
.hero-copy h1 { max-width: 15em; }
.hero-copy .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { margin-top: 48px; }
@media (min-width: 720px) { .hero-media { margin-top: 64px; } }
.hero-facts { display: grid; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; } }
.fact { display: flex; gap: 14px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.fact strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.0625rem; margin-bottom: 2px; }
.fact svg { width: 40px; height: 40px; flex: none; }

/* Ramka zrzutu ekranu: płaski blok zamiast cienia */
.frame { position: relative; margin: 0 18px 18px 0; }
.frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: var(--ink); border-radius: var(--r-lg);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.frame-accent::before { background: var(--accent); }
.frame img, .frame .frame-body {
  position: relative; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white);
}
.frame-body { aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--muted); background: var(--mist); }
.frame-caption { margin-top: 30px; font-size: 0.9375rem; color: var(--muted); }

/* Infografiki */
.info { width: 100%; height: auto; }
.info text { font-family: var(--font); }

/* Moduły: zygzak */
.modules { display: grid; gap: 64px; }
@media (min-width: 720px) { .modules { gap: 96px; } }
.module { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .module { grid-template-columns: 1fr 1fr; gap: 64px; }
  .module:nth-child(even) .module-copy { order: 2; }
}
.module-copy h2 { margin-top: 18px; font-size: clamp(1.5rem, 1.15rem + 1.1vw, 1.9375rem); }
.module-copy p { margin-top: 14px; color: var(--muted); max-width: 32em; }
.features { margin-top: 22px; display: grid; gap: 10px; }
.features li { position: relative; padding-left: 30px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 12px;
  background: var(--accent); border-radius: 2px;
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%);
}
.picto { width: 56px; height: 56px; }

/* Siatka person / kafle */
.personas { display: grid; gap: 16px; }
@media (min-width: 640px) { .personas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .personas { grid-template-columns: repeat(5, 1fr); } }
.persona {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.persona h3 { font-size: 1.125rem; }
.persona p { font-size: 0.9375rem; color: var(--muted); flex: 1; }
.persona form { margin: 0; }
.persona .btn { width: 100%; font-size: 0.9375rem; padding-left: 10px; padding-right: 10px; }
.persona-mark { width: 48px; height: 48px; }


/* Dwukolumnowe bloki tekstowe */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split p + p { margin-top: 16px; }

/* Oś czasu-droga */
.road { margin-top: 48px; }

/* Formularz */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #C7D0DE; border-radius: var(--r);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-note { font-size: 0.9375rem; color: var(--muted); }
.alert { padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.alert-success { border-color: #9CC9A8; background: #EAF6EE; }
.alert-error { border-color: #E4A2A2; background: #FBEDED; }

/* Stopka */
.site-footer { background: var(--ink); color: #C9D4E8; padding: 56px 0 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { color: #DCE6F7; }
.site-footer a:hover { color: var(--white); }
.footer-logo img { width: 172px; height: 28px; }
.footer-grid p { margin-top: 16px; max-width: 30em; }
.footer-links { display: grid; gap: 10px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Jedna animacja: ciężarówka na drodze zlecenia */
@keyframes drive { from { transform: translateX(0); } to { transform: translateX(var(--drive, 900px)); } }
.is-visible .truck-driving { animation: drive 6s cubic-bezier(.4,0,.2,1) 1 forwards; }
@media (prefers-reduced-motion: reduce) { .is-visible .truck-driving { animation: none; transform: translateX(var(--drive, 900px)); } }

/* „Zamiast pięciu miejsc” */
.swap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .swap { grid-template-columns: 1.3fr 64px 1fr; gap: 32px; } }
.swap-before { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .swap-before { grid-template-columns: repeat(3, 1fr); } }
.swap-before li {
  display: flex; flex-direction: column; gap: 12px; padding: 18px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  font-weight: 500; line-height: 1.3;
}
.swap-before li svg { width: 40px; height: 40px; }
.swap-arrow { display: flex; justify-content: center; }
.swap-arrow svg { width: 56px; height: 56px; transform: rotate(90deg); }
@media (min-width: 900px) { .swap-arrow svg { transform: none; } }
.swap-after {
  align-self: stretch; display: flex; flex-direction: column; justify-content: center;
  padding: 40px 36px; background: var(--ink); border-radius: var(--r-lg); color: var(--white);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}
.swap-after img { width: 221px; height: 36px; }
.swap-after ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.swap-after li { padding: 10px 16px; background: var(--ink-3); border-radius: 6px; font-weight: 500; }

/* Wspólne dla całego systemu */
.underneath { display: grid; gap: 16px; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .underneath { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .underneath { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.underneath li { display: flex; gap: 14px; align-items: flex-start; }
.underneath svg { width: 40px; height: 40px; flex: none; }
.underneath strong { display: block; font-weight: 600; }
.underneath span { font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }

/* Droga zlecenia (sekcja granatowa) */
.road-wrap { margin-top: 8px; }
.road-svg { display: none; width: 100%; height: auto; }
@media (min-width: 900px) { .road-svg { display: block; } }
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(7, 1fr); gap: 16px; margin-top: 16px; } }
.steps li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 16px; background: var(--ink-2); border-radius: var(--r-lg); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 14px; right: 14px; font-size: 0.875rem; font-weight: 600; color: #8FB4FF; }
.steps li svg { width: 40px; height: 40px; margin-bottom: 8px; }
.steps strong { font-weight: 600; line-height: 1.25; }
.steps span { font-size: 0.9375rem; color: #C9D4E8; line-height: 1.4; }

/* Oś czasu jako droga */
.road { display: grid; gap: 24px; margin-top: 56px; position: relative; }
@media (min-width: 720px) { .road { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.road li { position: relative; padding-top: 28px; display: flex; flex-direction: column; gap: 6px; }
.road li::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--line); border-radius: 2px; }
.road li::after { content: ""; position: absolute; left: 0; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.road li:last-child::after { background: var(--ink); }
.road-year { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.road strong { font-weight: 600; }
.road li > span:last-child { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }

/* Drobiazgi responsywne */
@media (max-width: 559px) { .swap-before li:last-child:nth-child(odd) { grid-column: span 2; } }
@media (min-width: 560px) and (max-width: 899px) { .swap-before { grid-template-columns: repeat(5, 1fr); } .swap-before li { padding: 14px 12px; font-size: 0.9375rem; } }

/* Podstrony tekstowe */
.prose { max-width: 42em; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { font-size: 1.375rem; margin-top: 40px; margin-bottom: 10px; }
.prose p + p { margin-top: 14px; }

/* Skutki pod „zamiast pięciu arkuszy” */
.consequences { display: grid; gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .consequences { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.consequences li { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.consequences strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.0625rem; margin-bottom: 4px; }

/* Mini-przepływy (awaria, KSeF) */
.miniflow-wrap { padding: 32px 28px; background: var(--mist); border-radius: var(--r-lg); }
.miniflow-wrap h3 { margin-bottom: 20px; }
.miniflow { display: grid; gap: 16px; counter-reset: mf; }
@media (min-width: 720px) { .miniflow { grid-template-columns: repeat(3, 1fr); gap: 24px; } .miniflow-4 { grid-template-columns: repeat(4, 1fr); } }
.miniflow li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 18px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); counter-increment: mf; }
.miniflow li::before { content: counter(mf); position: absolute; top: 12px; right: 14px; font-weight: 600; font-size: 0.875rem; color: var(--link); }
.miniflow li svg { width: 36px; height: 36px; margin-bottom: 8px; }
.miniflow strong { font-weight: 600; line-height: 1.3; }
.miniflow span { font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }

/* Persony: lista „Spróbuj” */
.try { display: grid; gap: 4px; font-size: 0.9375rem; color: var(--muted); }
.try li:first-child { color: var(--ink); font-weight: 500; }
.try li:not(:first-child) { position: relative; padding-left: 16px; }
.try li:not(:first-child)::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.persona p { flex: 0; }
.persona .try { flex: 1; }

/* Macierz „kto co widzi” */
.matrix-wrap { margin-top: 56px; }
.matrix-wrap h3 { margin-bottom: 8px; }
.matrix-wrap .muted { font-size: 0.9375rem; }
.matrix { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 0.9375rem; }
.matrix th, .matrix td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th[scope=row], .matrix thead th:first-child { text-align: left; }
.matrix thead th { font-weight: 600; color: var(--muted); font-size: 0.875rem; }
.matrix th[scope=row] { font-weight: 600; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); vertical-align: middle; }
.dot-part { background: transparent; border: 3px solid var(--accent); box-sizing: border-box; }
@media (max-width: 719px) { .matrix { display: block; overflow-x: auto; } .matrix th, .matrix td { padding: 10px 8px; white-space: nowrap; } }


/* Twórcy */
.h3 { font-size: 1.5rem; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 52em; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 60ch; }
.faq summary:hover { background: var(--mist); border-radius: var(--r); }

/* Mini-przepływ z telefonem obok */
.miniflow-with-phone { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .miniflow-with-phone { grid-template-columns: 1fr 260px; gap: 40px; } }
.miniflow-stack { grid-template-columns: 1fr !important; }
@media (min-width: 900px) { .miniflow-stack li { flex-direction: row; align-items: flex-start; gap: 16px; padding-right: 48px; } .miniflow-stack li svg { margin: 2px 0 0; } .miniflow-stack li > span { display: block; } .miniflow-stack li strong { display: block; } .miniflow-stack .step-text { display: flex; flex-direction: column; gap: 4px; } }
.phone { position: relative; width: 240px; margin: 0 auto; padding: 14px 12px; background: var(--ink); border-radius: 28px; }
.phone::before { content: ""; position: absolute; top: 6px; left: 50%; width: 64px; height: 5px; margin-left: -32px; border-radius: 3px; background: var(--ink-3); }
.phone img { width: 100%; height: auto; border-radius: 16px; display: block; }
.frame-link { display: block; position: relative; }
.frame-link:hover img { border-color: var(--accent); }
.frame-link:focus-visible { outline-offset: 6px; }

/* Karty infografik (odróżnione od zrzutów ekranu) */
.infocard { padding: 20px; background: var(--mist); border-radius: var(--r-lg); }
.section-mist .infocard { background: var(--white); border: 1px solid var(--line); }
.infocard .info { width: 100%; height: auto; }

/* Modal ze zrzutem ekranu */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1800px); width: auto; }
.lightbox::backdrop { background: rgba(18, 40, 76, 0.88); }
.lightbox img { display: block; max-width: 96vw; max-height: 84vh; width: auto; height: auto; border-radius: var(--r-lg); background: var(--white); }
.lightbox-caption { margin: 12px 0 0; color: #DCE6F7; font-size: 0.9375rem; text-align: center; }
.lightbox-close { position: absolute; top: -8px; right: -8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: var(--mist); }
.lightbox[open] { animation: lb-in .18s ease-out; }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } }
.frame-link::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 8px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 10V4h6M20 14v6h-6M4 4l6 6M20 20l-6-6'/%3E%3C/svg%3E") center/18px no-repeat; opacity: .9; }

/* ===== Menu „Funkcje” ===== */
.nav-links { gap: 2px; }
.nav-has-menu { display: inline-flex; }
.nav-menu-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; border-radius: var(--r);
  background: transparent; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer;
}
.nav-menu-btn:hover, .nav-has-menu.open .nav-menu-btn { background: var(--mist); }
.nav-menu-btn .chev { width: 12px; height: 8px; transition: transform .15s ease; }
.nav-has-menu.open .chev { transform: rotate(180deg); }
.mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(18, 40, 76, .35);
}
.nav-has-menu.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 28px; padding-bottom: 20px; }
.mega-title { margin: 0 0 10px; color: var(--muted); font-size: 0.875rem; font-weight: 500; }
.mega-group ul { display: grid; gap: 4px; }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; margin: 0 -10px; border-radius: var(--r); color: var(--ink); text-decoration: none; }
.mega-link:hover, .mega-link:focus-visible { background: var(--mist); color: var(--ink); }
.mega-link svg { width: 32px; height: 32px; flex: none; }
.mega-link strong { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.mega-link small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.mega-foot { display: flex; gap: 24px; justify-content: space-between; padding-top: 14px; padding-bottom: 16px; border-top: 1px solid var(--line); font-weight: 500; }
.badge { display: inline-block; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 0.6875rem; font-weight: 600; line-height: 1.6; vertical-align: 2px; letter-spacing: .01em; }

/* menu na telefonie */
.nav-mobile-group { border-bottom: 1px solid var(--line); }
.nav-mobile-group summary { padding: 12px var(--gutter); font-weight: 500; font-size: 1.125rem; cursor: pointer; list-style: none; position: relative; }
.nav-mobile-group summary::-webkit-details-marker { display: none; }
.nav-mobile-group summary::after { content: ""; position: absolute; right: calc(var(--gutter) + 4px); top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.nav-mobile-group[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.nav-mobile-title { margin: 8px 0 2px; padding: 0 var(--gutter); color: var(--muted); font-size: 0.875rem; }
.nav-mobile .nav-mobile-sub { padding: 9px var(--gutter) 9px calc(var(--gutter) + 12px); font-size: 1rem; }
.nav-mobile .nav-mobile-all { margin-bottom: 8px; color: var(--link); }
.nav-mobile { max-height: calc(100vh - 72px); overflow-y: auto; }

/* ===== Kafelki obszarów ===== */
.tiles { display: grid; gap: 16px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; height: 100%;
  padding: 22px 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--ink); text-decoration: none; transition: border-color .15s ease;
}
.section-mist .tile { border-color: transparent; }
.tile:hover { border-color: var(--accent); color: var(--ink); }
.tile-icon { grid-row: span 2; width: 48px; height: 48px; }
.tile-title { font-weight: 600; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
.tile-text { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.tiles-more { margin-top: 28px; }

/* ===== Podstrona funkcji ===== */
.feature-hero { padding: 40px 0 64px; }
@media (min-width: 720px) { .feature-hero { padding: 56px 0 88px; } }
.feature-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .feature-hero-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.feature-hero-copy h1 { margin-top: 14px; font-size: clamp(2rem, 1.3rem + 2.3vw, 3rem); }
.feature-hero-copy .lead { margin-top: 18px; }
.crumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 22px; color: var(--muted); font-size: 0.9375rem; }
.crumbs a { color: var(--link); }
.feature-cols-head { margin-bottom: 28px; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
.feature-cols { display: grid; gap: 20px; }
@media (min-width: 900px) { .feature-cols { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.feature-col { padding: 26px 24px; background: var(--white); border-radius: var(--r-lg); }
.feature-col h3 { margin-bottom: 4px; }
.feature-col .features { margin-top: 14px; }
.feature-note { margin-top: 28px; max-width: 52em; padding: 16px 20px; background: var(--white); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; color: var(--muted); }
.feature-note strong { color: var(--ink); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: end; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { font-weight: 600; text-decoration: none; }
.pager small { display: block; color: var(--muted); font-weight: 400; font-size: 0.875rem; }
.pager-next { text-align: right; }
.pager-all { text-align: center; }
@media (max-width: 639px) { .pager { grid-template-columns: 1fr 1fr; } .pager-all { grid-column: 1 / -1; grid-row: 2; } }

/* pasek CTA */
.cta-band-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band-grid { grid-template-columns: 1.4fr 1fr; } }
.cta-band .lead { margin-top: 12px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band-actions { justify-content: flex-end; } }
.btn-ghost-light { background: transparent; border-color: #8FA3C4; color: var(--white); }
.btn-ghost-light:hover { background: var(--ink-2); border-color: var(--white); color: var(--white); }

/* telefony na podstronie kierowcy */
.phone-stage { display: flex; gap: 20px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.phone-stage .phone { margin: 0; display: block; }
.phone-stage .phone:nth-child(2) { margin-top: 48px; }
@media (max-width: 559px) { .phone-stage .phone:nth-child(n+2) { display: none; } }

.footer-grid { gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* Blok „Kierowca ma Flotado w telefonie” */
.driver-band { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .driver-band { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.driver-band-copy h2 { margin-top: 12px; }
.driver-band-copy .lead { margin-top: 16px; }
.driver-band-copy .features { margin: 22px 0 28px; }
.driver-band-visual { display: flex; justify-content: center; }
.badge-lg { display: inline-block; margin: 0; padding: 3px 12px; font-size: 0.8125rem; }

/* Blok „Zapytaj AI o swoją firmę” z przykładową rozmową */
.ai-band { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .ai-band { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ai-band-copy h2 { margin-top: 12px; }
.ai-band-copy .lead { margin-top: 16px; }
.ai-band-copy .features { margin: 22px 0 28px; }
.ai-band-copy .features li { color: #DCE6F7; }
.ai-chat { display: grid; gap: 12px; padding: 20px; background: var(--white); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 24px 48px rgba(4, 14, 33, .35); font-size: 0.9375rem; line-height: 1.5; }
.ai-chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.ai-chat-head svg { width: 26px; height: 26px; flex: none; }
.ai-msg { max-width: 90%; padding: 10px 14px; border-radius: 14px; }
.ai-msg-user { justify-self: end; background: var(--accent); color: var(--white); border-bottom-right-radius: 4px; }
.ai-msg-bot { justify-self: start; background: var(--mist); border-bottom-left-radius: 4px; }
.ai-msg-bot > * + * { margin-top: 8px; }
.ai-figures { display: grid; grid-template-columns: repeat(3, auto); gap: 8px; margin-bottom: 0; }
.ai-figures div { padding: 6px 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.ai-figures dt { font-size: 0.75rem; color: var(--muted); }
.ai-figures dd { margin: 0; font-weight: 600; white-space: nowrap; }
.ai-figures small { margin-left: 2px; font-size: 0.75rem; font-weight: 600; color: #157A4C; }
.ai-proposal { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.ai-proposal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; }
.ai-status { padding: 1px 9px; border-radius: 999px; background: #FFB020; color: #3D2A00; font-size: 0.75rem; white-space: nowrap; }
.ai-proposal s { color: #B4232C; }
@media (max-width: 479px) {
  .ai-chat { padding: 14px; }
  .ai-msg { max-width: 100%; }
  .ai-figures { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .ai-figures div { padding: 6px 8px; }
  .ai-figures dd { font-size: 0.875rem; }
  .ai-figures small { display: block; margin-left: 0; }
}
.section-ink .btn-light, .section-ink .btn-light:hover { color: var(--ink); }
.section-ink .btn-ghost-light, .section-ink .btn-ghost-light:hover { color: var(--white); }
/* linki w panelu menu nie dziedziczą wyglądu linków paska nawigacji */
.nav-links .mega-link { display: flex; padding: 10px; border-radius: var(--r); font-weight: 400; }
.nav-links .mega-foot a { display: inline; padding: 0; font-weight: 500; color: var(--link); }
.nav-links .mega-foot a:hover { background: none; color: var(--accent); }
.tile { align-content: start; }

/* Blok „biuro decyduje” na podstronie funkcji */
.feature-office { margin-top: 24px; padding: 26px 24px; background: var(--ink); color: var(--white); border-radius: var(--r-lg); }
.feature-office h3 { color: var(--white); margin-bottom: 14px; }
.feature-office .features { display: grid; gap: 10px 32px; }
@media (min-width: 900px) { .feature-office .features { grid-template-columns: 1fr 1fr; } }
.feature-office .features li { color: #DCE6F7; }

/* ===== Zakładka „Asystent AI” ===== */
:root { --ok: #0F8A6E; --ok-bg: #E3F5EE; --warn: #9A5B00; --warn-bg: #FFF1D6; --bad: #C62F3E; --bad-bg: #FCE9EB; }
.ai-hero { padding: 56px 0 64px; background: var(--ink); color: var(--white); }
@media (min-width: 720px) { .ai-hero { padding: 88px 0 96px; } }
.ai-hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .ai-hero-grid { grid-template-columns: 1.15fr 1fr; gap: 72px; } }
.ai-hero h1 { margin-top: 18px; color: var(--white); font-size: clamp(2.125rem, 1.3rem + 2.8vw, 3.25rem); max-width: 14em; }
.ai-hero .lead { margin-top: 22px; color: #C9D4E8; }
.ai-hero .hero-actions { margin-top: 32px; }

/* pętla: Ty → asystent → Flotado → Ty zatwierdzasz */
.ai-loop { display: grid; max-width: 440px; width: 100%; justify-self: center; }
.ai-node { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: center; padding: 14px 18px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r-lg); }
.ai-node svg, .ai-node img { grid-row: span 2; width: 40px; height: 40px; object-fit: contain; }
.ai-node strong { font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.ai-node span { font-size: 0.875rem; color: #B7C6E0; line-height: 1.35; }
.ai-node-accent { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 123, 255, .25); }
.ai-node-gate { background: var(--accent); border-color: var(--accent); }
.ai-node-gate span { color: #E4EEFF; }
.ai-link { position: relative; padding: 12px 0 12px 56px; font-size: 0.8125rem; color: #9FB3D6; }
.ai-link::before { content: ""; position: absolute; left: 37px; top: 0; bottom: 6px; border-left: 2px dashed #4F6FA3; }
.ai-link::after { content: ""; position: absolute; left: 33px; bottom: 2px; width: 8px; height: 8px; border-right: 2px solid #4F6FA3; border-bottom: 2px solid #4F6FA3; transform: rotate(45deg); }
.ai-link-gate { color: #FFFFFF; font-weight: 500; }
.ai-link-gate::before, .ai-link-gate::after { border-color: var(--accent); }

/* czyta, zestawia, proponuje */
.ai-abilities { display: grid; gap: 40px; }
@media (min-width: 900px) { .ai-abilities { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.ai-ability > svg { width: 48px; height: 48px; }
.ai-ability h3 { margin-top: 16px; }
.ai-ability > p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
.ai-prompts { display: grid; gap: 10px; margin-top: 20px; }
.ai-prompts li { justify-self: start; padding: 10px 14px; background: var(--tint); color: var(--ink); border-radius: 14px 14px 14px 4px; font-size: 0.9375rem; line-height: 1.45; }
.ai-prompts li::before { content: "„"; }
.ai-prompts li::after { content: "”"; }

/* propozycja zmian do kliknięcia */
.ai-control { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .ai-control { grid-template-columns: 1fr 1.3fr; gap: 56px; } }
.ai-control-copy .lead { margin-top: 16px; }
.ai-control-points { display: grid; gap: 16px; margin-top: 28px; }
.ai-control-points li { padding-left: 18px; border-left: 3px solid var(--accent); color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.ai-control-points strong { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: 2px; }
.ai-try-hint { margin-top: 28px; font-weight: 600; color: var(--link); }
@media (max-width: 1023px) { .ai-try-hint { display: none; } }
.proposal { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(18, 40, 76, .35); }
.proposal-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.proposal-no { font-size: 0.875rem; color: var(--muted); }
.proposal-head h3 { margin-top: 4px; font-size: 1.25rem; }
.proposal-status { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.proposal-desc { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; }
.proposal-table { margin-top: 20px; font-size: 0.9375rem; }
.proposal-row { display: grid; grid-template-columns: 1.7fr .7fr 1fr 1fr; gap: 12px; padding: 12px 12px 12px 14px; border-bottom: 1px solid var(--line); border-left: 4px solid transparent; align-items: start; transition: opacity .2s ease, background-color .2s ease; }
.proposal-row-head { padding-top: 0; color: var(--muted); font-size: 0.8125rem; font-weight: 600; border-left-color: transparent; }
.proposal-row[data-kind="change"] { border-left-color: #E0A100; }
.proposal-row[data-kind="add"] { border-left-color: var(--ok); }
.proposal-row[data-kind="delete"] { border-left-color: var(--bad); }
.kind { display: inline-block; margin: 0 8px 4px 0; padding: 0 8px; border-radius: 999px; font-style: normal; font-size: 0.75rem; font-weight: 600; line-height: 1.7; }
.kind-change { background: var(--warn-bg); color: var(--warn); }
.kind-add { background: var(--ok-bg); color: var(--ok); }
.kind-delete { background: var(--bad-bg); color: var(--bad); }
.proposal .was { color: var(--muted); }
.proposal-row[data-kind="delete"] .was { color: var(--bad); text-decoration: line-through; }
.proposal .will { font-weight: 600; }
.proposal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pbtn { min-height: 44px; padding: 8px 18px; border: 0; border-radius: var(--r); color: var(--white); font: inherit; font-weight: 600; cursor: pointer; transition: filter .15s ease, opacity .2s ease; }
.pbtn:hover { filter: brightness(1.1); }
.pbtn-ok { background: var(--ok); }
.pbtn-back { background: #B86A00; }
.pbtn-no { background: var(--bad); }
.proposal-result { margin-top: 0; font-weight: 500; }
.proposal-result:not(:empty) { margin-top: 18px; padding: 12px 14px; border-radius: var(--r); }
.proposal-reset { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--link); font: inherit; font-weight: 600; cursor: pointer; }
.proposal-reset:hover { color: var(--accent); }
.proposal[data-state] .proposal-actions .pbtn { opacity: .35; pointer-events: none; }
.proposal[data-state="ok"] .proposal-status { background: var(--ok-bg); color: var(--ok); }
.proposal[data-state="ok"] .proposal-result { background: var(--ok-bg); color: #0B5E4B; }
.proposal[data-state="ok"] .proposal-row:not(.proposal-row-head) { background: #F5FBF8; }
.proposal[data-state="back"] .proposal-status { background: var(--warn-bg); color: var(--warn); }
.proposal[data-state="back"] .proposal-result { background: var(--warn-bg); color: #6E4100; }
.proposal[data-state="no"] .proposal-status { background: var(--bad-bg); color: var(--bad); }
.proposal[data-state="no"] .proposal-result { background: var(--bad-bg); color: #8E1F2B; }
.proposal[data-state="no"] .proposal-row:not(.proposal-row-head) { opacity: .45; }
@media (max-width: 639px) {
  .proposal { padding: 18px 16px; }
  .proposal-row-head { display: none; }
  .proposal-row { grid-template-columns: auto 1fr; gap: 2px 10px; }
  .proposal-row > :first-child { grid-column: 1 / -1; margin-bottom: 4px; }
  .proposal-row > :nth-child(2) { grid-column: 1 / -1; color: var(--muted); font-size: 0.8125rem; }
  .proposal-row .was::after { content: "→"; display: inline-block; margin-left: .35em; color: var(--muted); }
}

/* abonament i podłączenie */
.ai-connect { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .ai-connect { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.ai-connect-copy .lead { margin-top: 16px; }
.ai-works-with { margin-top: 20px; padding: 14px 18px; background: var(--mist); border-radius: var(--r); font-size: 0.9375rem; color: var(--muted); }
.ai-steps { display: grid; gap: 28px; counter-reset: aistep; }
.ai-steps li { position: relative; padding-left: 64px; counter-increment: aistep; display: flex; flex-direction: column; gap: 4px; }
.ai-steps li::before { content: counter(aistep); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; font-size: 1.125rem; }
.ai-steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: -26px; width: 2px; background: var(--line); }
.ai-steps strong { font-size: 1.125rem; font-weight: 600; }
.ai-steps span { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }

/* bezpieczeństwo */
.ai-guards { display: grid; gap: 28px 40px; }
@media (min-width: 640px) { .ai-guards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ai-guards { grid-template-columns: repeat(3, 1fr); } }
.ai-guards li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; }
.ai-guards svg { grid-row: span 2; width: 44px; height: 44px; }
.ai-guards strong { font-weight: 600; font-size: 1.0625rem; }
.ai-guards span { color: #C9D4E8; font-size: 0.9375rem; line-height: 1.5; }

/* w praktyce */
.ai-practice { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .ai-practice { grid-template-columns: 1fr 1.2fr; gap: 72px; } }
.ai-practice .lead { margin-top: 16px; }
.ai-practice-list { display: grid; gap: 0; }
.ai-practice-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ai-practice-list li:first-child { padding-top: 0; }
.ai-practice-list svg { width: 40px; height: 40px; }
.ai-practice-list strong { display: block; font-weight: 600; }
.ai-practice-list span { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.ai-practice-list span strong { color: var(--ink); font-size: 1.0625rem; margin-bottom: 2px; }
.nav-links .nav-ai { display: inline-flex; align-items: center; gap: 8px; }
.nav-ai svg { width: 22px; height: 22px; flex: none; }
.nav-links .nav-ai.is-current { background: var(--tint); }

/* ===== Pasek integracji pod kafelkami ===== */
.integrations { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.integrations h3 { font-size: 1.125rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.integrations-list { display: grid; gap: 12px; margin-top: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .integrations-list { grid-template-columns: repeat(4, 1fr); } }
.integrations-list li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--mist); border-radius: var(--r); }
.integrations-list svg { width: 32px; height: 32px; flex: none; }
.integrations-list span { font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }
.integrations-list strong { display: block; color: var(--ink); font-size: 0.9375rem; }

/* ===== Dopasowanie do wielkości floty ===== */
.fit-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 640px; }
.fit-sizes button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px;
  background: var(--white); border: 2px solid var(--line); border-radius: var(--r-lg); color: var(--ink);
  font: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.fit-sizes button:hover { border-color: var(--accent); }
.fit-sizes button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.fit-sizes button[aria-pressed="true"] svg { filter: brightness(0) invert(1); }
.fit-trucks { display: flex; gap: 2px; height: 26px; margin-bottom: 6px; }
.fit-trucks svg { width: 30px; height: 26px; }
.fit-sizes strong { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.fit-sizes button > span:last-child { font-size: 0.875rem; opacity: .8; }
.fit-body { display: grid; gap: 32px; margin-top: 32px; align-items: start; }
@media (min-width: 1024px) { .fit-body { grid-template-columns: 1fr 1.6fr; gap: 48px; } }
.fit-text p { display: none; font-size: 1.0625rem; color: var(--muted); }
.fit-text strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1.25rem; line-height: 1.3; }
.fit[data-size="s"] .fit-text [data-for="s"], .fit[data-size="m"] .fit-text [data-for="m"], .fit[data-size="l"] .fit-text [data-for="l"] { display: block; }
.fit-text .btn { margin-top: 24px; }
.fit-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .fit-modules { grid-template-columns: repeat(3, 1fr); } }
.fit-modules li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 60px;
  background: var(--white); border: 1px solid var(--ink); border-radius: var(--r); font-weight: 500; font-size: 0.9375rem; line-height: 1.3;
  transition: opacity .2s ease, background-color .2s ease, border-color .2s ease;
}
.fit-modules svg { width: 28px; height: 28px; flex: none; }
.fit[data-size="s"] .fit-modules [data-tier="m"], .fit[data-size="s"] .fit-modules [data-tier="l"], .fit[data-size="m"] .fit-modules [data-tier="l"] {
  background: transparent; border: 1px dashed #AEBBD0; color: var(--muted); opacity: .55;
}
.fit-note { margin-top: 28px; max-width: 52em; color: var(--muted); font-size: 0.9375rem; }

/* ===== Migracja danych ===== */
.migrate { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .migrate { grid-template-columns: 1fr 160px 1fr; gap: 24px; } }
.migrate-from, .migrate-to { display: grid; gap: 10px; }
.migrate-from li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px dashed #AEBBD0; border-radius: var(--r); color: var(--muted); font-weight: 500; }
.migrate-from svg { width: 30px; height: 30px; flex: none; opacity: .8; }
.migrate-to li { padding: 12px 16px 12px 18px; background: var(--mist); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
.migrate-to strong { display: block; color: var(--ink); font-size: 1rem; }
.migrate-hub { display: flex; align-items: center; justify-content: center; }
.migrate-core { display: grid; place-items: center; width: 96px; height: 96px; flex: none; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 10px var(--tint); }
.migrate-core img { width: 52px; height: auto; }
.migrate-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); }
@media (max-width: 899px) { .migrate-hub { flex-direction: column; height: 150px; } .migrate-line { width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px); } }
.migrate-steps { display: grid; gap: 12px; margin-top: 48px; counter-reset: mig; }
@media (min-width: 720px) { .migrate-steps { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.migrate-steps li { position: relative; padding: 52px 16px 0 0; counter-increment: mig; display: flex; flex-direction: column; gap: 4px; }
.migrate-steps li::before { content: counter(mig); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 700; z-index: 1; }
@media (min-width: 720px) { .migrate-steps li:not(:last-child)::after { content: ""; position: absolute; left: 36px; right: 0; top: 17px; height: 2px; background: var(--line); } }
@media (max-width: 719px) { .migrate-steps li { padding: 4px 0 0 52px; min-height: 40px; } }
.migrate-steps strong { font-weight: 600; }
.migrate-steps span { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.migrate-proof { display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding: 20px 22px; background: var(--tint); border-radius: var(--r-lg); max-width: 56em; }
.migrate-proof svg { width: 32px; height: 32px; flex: none; }
.migrate-proof strong { color: var(--ink); }

/* ===== Twórcy ===== */
.makers-top { display: grid; gap: 28px; }
@media (min-width: 900px) { .makers-top { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.makers-top h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
.makers-top p + p { margin-top: 16px; color: #C9D4E8; }
.makers-pillars { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 900px) { .makers-pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.makers-pillars li { padding: 28px 24px; background: var(--ink-2); border-radius: var(--r-lg); }
.makers-pillars svg { width: 44px; height: 44px; }
.makers-pillars h3 { margin-top: 16px; font-size: 1.25rem; }
.makers-pillars p { margin-top: 8px; color: #C9D4E8; font-size: 0.9375rem; line-height: 1.55; }
.road-dark li::before { background: var(--ink-3); }
.road-dark li:last-child::after { background: var(--white); }
.road-dark li > span:last-child { color: #C9D4E8; }

/* ===== Kontakt bez formularza ===== */
.contact-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact-grid .lead { margin-top: 16px; }
.contact-card { padding: 32px 28px; background: var(--mist); border-radius: var(--r-lg); }
.contact-label { color: var(--muted); font-weight: 500; }
.contact-card .big-mail { display: inline-block; margin-top: 4px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); overflow-wrap: anywhere; }
.contact-card .big-mail:hover { color: var(--accent); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-card .by { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }

/* ===== /funkcje: grupy w jednym zwartym układzie ===== */
.fgroups-hero { padding-bottom: 0 !important; }
.fgroups-hero .section-head { margin-bottom: 0; }
.fgroups-section { padding-top: 40px; }
.fgroup { display: grid; gap: 16px; padding: 36px 0; border-top: 1px solid var(--line); }
.fgroup:first-of-type { border-top: 0; }
@media (min-width: 1024px) { .fgroup { grid-template-columns: 220px 1fr; gap: 32px; } .fgroup .tiles { grid-template-columns: repeat(3, 1fr); } }
.fgroup h2 { font-size: 1.375rem; padding-top: 4px; }
.ai-strip { display: grid; grid-template-columns: 48px 1fr; gap: 6px 18px; align-items: center; margin-bottom: 20px; padding: 20px 24px; background: var(--ink); border-radius: var(--r-lg); color: var(--white); font-weight: 400; }
.ai-strip:hover { color: var(--white); background: var(--ink-2); }
.ai-strip svg { width: 48px; height: 48px; grid-row: span 2; }
.ai-strip span { color: #C9D4E8; font-size: 0.9375rem; line-height: 1.45; }
.ai-strip strong { display: block; color: var(--white); font-size: 1.125rem; }
.ai-strip-go { color: #BFD6FF !important; font-weight: 600; font-size: 1rem !important; }
@media (min-width: 720px) { .ai-strip { grid-template-columns: 48px 1fr auto; } .ai-strip svg { grid-row: auto; } }
.contact-ways { display: grid; gap: 18px; }
.contact-ways li { display: grid; gap: 2px; }
.contact-ways .big-mail { margin-top: 0; }
