/* ========================================================
   Zmienne
   ======================================================== */
:root {
  --primary-color:       #0070f3;
  --accent-green:        #00dfd8;
  --bg-light:            #f4f7fa;
  --surface:             #fcfdfe;
  /* v1.8 — odcienie na bazie Medical Soft Grey (--bg-light) i kart (--surface) */
  --bg-tint-hero:        #ebf2f9;
  --bg-tint-sidebar:     #eaf0f9;
  --bg-chrome:           #eef2f7;
  --bg-accent-soft:      #f0f7ff;
  --bg-compliance-start: #f0f5fa;
  --bg-compliance-end:   #eef4fb;
  --bg-badge-info:       #dbeafe;
  --header-scrolled:     rgba(235, 242, 249, 0.85);
  --announcement-bar-bg: linear-gradient(90deg, #e8f2fe 0%, #f0fdfc 50%, #e8f2fe 100%);
  --text-main:           #1a202c;
  --text-subtle:         #475569;
  --text-muted-ui:       #64748b;
  --card-border:         #e1e8f0;
  --text-on-dark:        #f8fafc;
  --bg-main:             #071829;
  --bg-panel:            var(--surface);
  --border-soft:         rgba(15, 23, 42, 0.08);
  --border-strong:       rgba(15, 23, 42, 0.12);
  --text-soft:           #475569;
  --text-muted:          #64748b;
  --text-dim:            #64748b;
  --accent-cyan:         #0070f3;
  --accent-green-strong: #34d399;
  --radius-card:         16px;
  --radius-large:        22px;
}

/* ========================================================
   Reset
   ======================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-light);
}
body.page-postepy {
  background-color: var(--bg-light);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========================================================
   Tło — gradient + dot pattern
   ======================================================== */
.site-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-light);
  background-image: none;
}
.site-root::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.site-main { flex: 1; position: relative; z-index: 1; }

/* ========================================================
   Layout bazowy
   ======================================================== */
.section { padding: 72px 20px; }
.section__inner { max-width: 1120px; margin: 0 auto; }
.section__header { margin-bottom: 48px; }
.section__title  { font-size: 30px; font-weight: 700; color: var(--text-main); margin-bottom: 12px; line-height: 1.2; }
.section__subtitle { font-size: 16px; color: var(--text-muted-ui); max-width: 580px; line-height: 1.65; }
.u-mt-center { margin-top: 32px; text-align: center; }
.u-mt-sm     { margin-top: 24px; }

/* ========================================================
   ANNOUNCEMENT BAR
   Cienki pasek nad całą stroną — informacja o wczesnym dostępie (SaaS)
   ======================================================== */
.announcement-bar {
  background: var(--announcement-bar-bg);
  border-bottom: 1px solid var(--card-border);
  padding: 10px 20px;
  position: relative;
  z-index: 101;
}
.announcement-bar__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}
.announcement-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
.announcement-bar__text { color: var(--text-subtle); }
.announcement-bar__link {
  color: var(--accent-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(103, 232, 249, 0.35);
  text-underline-offset: 3px;
  transition: color 0.18s, text-decoration-color 0.18s;
}
.announcement-bar__link:hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.5);
}
.announcement-bar__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}
.announcement-bar__close:hover { color: var(--text-main); background: rgba(15, 23, 42, 0.06); }

/* ========================================================
   HEADER — navbar (Opcja B)
   Logo (40px icon + nazwa 17px) | nav linki | CTA button
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-scrolled);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 80px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Brand — logo icon + nazwa, bez descriptora */
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-header__logo-img {
  height: 80px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  image-rendering: -webkit-optimize-contrast;
}
.site-header__brand-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* Hamburger — tylko mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(125, 211, 252, 0.08); }
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar              { background: var(--accent-cyan); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav linki — środek/prawa część */
.site-nav {
  display: flex;
  gap: 2px;
  font-size: 14px;
  color: var(--text-dim);
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.site-nav__link {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.site-nav__link:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.14);
  color: var(--text-main);
}
.site-nav__link.is-active {
  color: var(--text-main);
  background: rgba(56, 189, 248, 0.10);
  border-color: rgba(125, 211, 252, 0.22);
}

/* Przycisk wezwania do działania w nawigacji — widoczny tylko na desktop; wyraźny akcent na tle nagłówka */
.site-header__cta {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 9px 20px;
  font-size: 14px;
}

.site-header__cta.btn--primary {
  font-weight: 700;
  background: linear-gradient(135deg, #0057d9 0%, var(--accent-cyan) 48%, var(--accent-green) 100%);
  color: #011018;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 3px 14px rgba(0, 112, 243, 0.38),
    0 1px 4px rgba(15, 23, 42, 0.12);
}
.site-header__cta.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.52),
    0 6px 24px rgba(0, 112, 243, 0.42),
    0 2px 8px rgba(15, 23, 42, 0.1);
}

/* Link wezwania do działania w menu mobilnym — ukryty na desktop */
.site-nav__link--cta-mobile { display: none; }

/* ========================================================
   PAS WCZESNEGO DOSTĘPU — pełna szerokość, wezwanie do działania
   Sekcja „darmowy okres próbny” (SaaS) — przerywa scroll, wymusza uwagę
   ======================================================== */
.pilot-strip {
  padding: 56px 20px;
  position: relative;
  z-index: 1;
  background: var(--bg-light);
}
.pilot-strip__box {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 48px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: visible;
}
.pilot-strip__content { position: relative; flex: 1; }
.pilot-strip__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 12px;
}
.pilot-strip__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}
.pilot-strip__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.pilot-strip__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pilot-strip__point {
  font-size: 14px;
  color: var(--text-subtle);
  line-height: 1.55;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.pilot-strip__text {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 48ch;
  line-height: 1.65;
}
.pilot-strip__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  align-items: flex-start;
}

/* Kotwica „darmowy okres próbny” / wczesny dostęp (np. z przycisku na stronie głównej) */
#darmowy-trial {
  scroll-margin-top: 100px;
}

/* ========================================================
   Przyciski
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  color: #02111f;
  box-shadow: 0 0 24px rgba(103, 232, 249, 0.22);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #9be7ff, #99f6cf);
  box-shadow: 0 0 36px rgba(103, 232, 249, 0.35);
  transform: translateY(-1px);
}
.btn--ghost {
  background: var(--surface);
  color: var(--text-main);
  border-color: var(--card-border);
}
.btn--ghost:hover {
  background: var(--bg-light);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}
.btn--sm   { padding: 8px 18px; font-size: 13px; }
.btn--full { width: 100%; justify-content: center; }

/* ========================================================
   SEKCJA GŁÓWNA (hero)
   ======================================================== */
.section--hero {
  padding: 100px 20px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-tint-hero) 0%, var(--bg-light) 100%);
}
.section--hero::before,
.section--hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.section--hero::before {
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0, 112, 243, 0.12) 0%, transparent 70%);
  top: -80px; left: 50%; transform: translateX(-50%);
}
.section--hero::after {
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(0, 223, 216, 0.10) 0%, transparent 70%);
  top: 60px; right: 10%;
}
.section-hero__inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 2; }
.section-hero__brand {
  display: flex;
  justify-content: center;
  margin: 0 auto 28px;
}
.section-hero__logo-img {
  max-height: 120px;
  width: auto;
  height: auto;
  max-width: min(520px, 92vw);
  object-fit: contain;
  display: block;
  border: none;
  outline: none;
  background: transparent;
  image-rendering: -webkit-optimize-contrast;
}
.section-hero__kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 112, 243, 0.22);
  border-radius: 999px;
  background: rgba(0, 112, 243, 0.06);
}
.section-hero__title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  max-width: 820px;
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
}
.section-hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-hero__lead {
  font-size: 18px;
  color: var(--text-subtle);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.section-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 16px;
}
.section-hero__note {
  font-size: 13px;
  color: var(--text-muted-ui);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.section-hero__meta { font-size: 12px; color: var(--text-muted-ui); margin-bottom: 56px; }

/* Sekcja główna — wachlarz zrzutów ekranu pulpitu */
.section-hero__showcase {
  position: relative;
  margin: 0 auto;
  max-width: 1040px;
  z-index: 1;
  overflow: visible;
}
.section-hero__showcase::before {
  content: '';
  position: absolute;
  bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 60px;
  background: radial-gradient(ellipse, rgba(0, 112, 243, 0.12) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.apps-mockup__browser.apps-mockup--fanned {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: end;
  max-width: min(980px, 100%);
  margin: 0 auto;
  padding: 56px clamp(16px, 5vw, 32px) 0;
  min-height: min(52vw, 400px);
  position: relative;
  z-index: 1;
}
.apps-mockup__browser.apps-mockup--fanned .fanned-image {
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 100%;
  max-width: min(920px, 94vw);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Przełączanie kolejności widoków wachlarza (sekcja główna) — data-step ustawiane w JS */
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack {
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack:hover {
  transform: translateY(-5px) scale(1.01);
}
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack:focus {
  outline: none;
}
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 8px;
  border-radius: 12px;
}

/* data-step="1": obraz 1 z przodu, 2 środek, 3 tył */
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack[data-step="1"] .fanned-image:nth-child(1),
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack[data-step="2"] .fanned-image:nth-child(2),
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack[data-step="3"] .fanned-image:nth-child(3) {
  z-index: 3;
  transform: scale(1) rotate(0deg);
  opacity: 1;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack[data-step="1"] .fanned-image:nth-child(2),
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack[data-step="2"] .fanned-image:nth-child(3),
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack[data-step="3"] .fanned-image:nth-child(1) {
  z-index: 2;
  transform: scale(0.95) rotate(2deg) translateY(-15px);
  opacity: 0.93;
}
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack[data-step="1"] .fanned-image:nth-child(3),
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack[data-step="2"] .fanned-image:nth-child(1),
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack[data-step="3"] .fanned-image:nth-child(2) {
  z-index: 1;
  transform: scale(0.9) rotate(-3deg) translateY(-30px);
  opacity: 0.82;
}

@media (prefers-reduced-motion: reduce) {
  .apps-mockup__browser.apps-mockup--fanned .fanned-image {
    transition: none;
  }
  .apps-mockup__browser.apps-mockup--fanned.is-interactive-stack {
    transition: none;
  }
  .apps-mockup__browser.apps-mockup--fanned.is-interactive-stack:hover {
    transform: none;
  }
  .passport-page {
    transition: none;
  }
  .passport-stack {
    transition: none;
  }
  .passport-stack:hover {
    transform: none;
  }
  .interaction-hint {
    animation: none;
    opacity: 0.75;
  }
}

/* Wskazówki interakcji — pulpit (sekcja główna) i paszport */
@keyframes interaction-hint-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(-4px); }
}
.interaction-hint {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted-ui);
  opacity: 0.7;
  z-index: 10;
  white-space: nowrap;
  transition:
    opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  animation: interaction-hint-pulse 1.1s cubic-bezier(0.4, 0, 0.2, 1) 2s 2 forwards;
}
.hint-icon {
  flex-shrink: 0;
  line-height: 1;
}
.hint-text {
  letter-spacing: 0.02em;
}
.apps-mockup__browser.apps-mockup--fanned.is-interactive-stack:hover .interaction-hint,
.passport-stack:hover .interaction-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* ========================================================
   NAGŁÓWEK PODSTRON
   ======================================================== */
.page-hero {
  padding: 72px 20px 56px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-light) 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(0, 112, 243, 0.08) 0%, transparent 70%);
  top: -60px; left: -100px;
  filter: blur(60px);
  pointer-events: none;
}
.page-hero__inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero__kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 16px;
  padding: 5px 12px;
  border: 1px solid rgba(0, 112, 243, 0.22);
  border-radius: 999px;
  background: rgba(0, 112, 243, 0.06);
}
.page-hero__title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 18px;
  max-width: 760px;
  letter-spacing: -0.02em;
}
.page-hero__lead {
  font-size: 17px;
  color: var(--text-subtle);
  max-width: 600px;
  line-height: 1.65;
}

/* ========================================================
   Hub CTA cards
   ======================================================== */
.hub-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.hub-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.hub-card:hover {
  border-color: rgba(0, 112, 243, 0.2);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}
.hub-card__label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-color); margin-bottom: 10px; }
.hub-card__title { font-size: 18px; color: var(--text-main); margin-bottom: 8px; font-weight: 700; }
.hub-card__text  { font-size: 13px; color: var(--text-dim); flex: 1; margin-bottom: 18px; line-height: 1.6; }
.hub-card__arrow { font-size: 18px; color: var(--primary-color); align-self: flex-start; transition: transform 0.2s; }
.hub-card:hover .hub-card__arrow { transform: translateX(4px); }

/* ========================================================
   Mini-kroki
   ======================================================== */
.mini-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.mini-step { padding: 28px 24px; background: var(--surface); position: relative; }
.mini-step__num {
  font-size: 48px; font-weight: 900; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: 0.5;
}
.mini-step__title { font-size: 15px; color: var(--text-main); margin-bottom: 8px; font-weight: 700; }
.mini-step__text  { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ========================================================
   Strażnik MDR — highlight (strona główna)
   ======================================================== */
.section--feature-highlight {
  position: relative;
  z-index: 1;
  background: var(--bg-light);
}
.feature-highlight__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
.section--feature-highlight .section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section--feature-highlight .section-lead {
  font-size: 16px;
  color: var(--text-subtle);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.section--feature-highlight .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}
.section--feature-highlight .feature-card--small {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.section--feature-highlight .feature-card--small:hover {
  border-color: rgba(0, 112, 243, 0.15);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}
.section--feature-highlight .feature-card--small h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 12px;
  line-height: 1.3;
}
.section--feature-highlight .feature-card--small p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

/* Zgodność i legislacja (Lex Szarlatan / szara strefa) */
.section--compliance {
  padding: 72px 20px;
  background: linear-gradient(160deg, var(--bg-compliance-start) 0%, var(--surface) 45%, var(--bg-compliance-end) 100%);
  border-top: 1px solid rgba(225, 232, 241, 0.85);
  border-bottom: 1px solid rgba(225, 232, 241, 0.85);
}
.section--compliance .section__inner { max-width: 1120px; margin: 0 auto; }
.section--compliance .section__header { margin-bottom: 40px; }
.section-compliance__eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
}
.section-compliance__lead {
  max-width: 720px;
  line-height: 1.7;
}
.section-compliance__disclaimer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--card-border);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted-ui);
  max-width: 720px;
}

/* ========================================================
   Split layout
   ======================================================== */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.split-section--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}
.split-section--alt .split-section__visual { order: -1; }
.split-section__visual { display: flex; justify-content: center; min-width: 0; }
.split-section__kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary-color); margin-bottom: 12px; display: block; }
.split-section__title  { font-size: 28px; font-weight: 700; color: var(--text-main); margin-bottom: 16px; line-height: 1.2; }
.split-section__text   { font-size: 15px; color: var(--text-subtle); margin-bottom: 20px; line-height: 1.75; }

/* ========================================================
   App screenshots
   ======================================================== */
.app-shot {
  width: 100%; max-width: 520px;
  border-radius: var(--radius-large);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.app-shot--passport-sheet {
  max-width: 340px;
  width: 100%;
  padding: 16px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.06),
    0 12px 32px rgba(15, 23, 42, 0.12);
  overflow: visible;
}
/* Szerszy kontener przy dwóch stronach (landing) */
.app-shot--passport-sheet:has(.passport-stack) {
  max-width: min(560px, 100%);
  padding: 12px 16px 40px;
}
.app-shot--passport-sheet:not(:has(.passport-stack)) > .app-shot__image {
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  width: 100%;
  height: auto;
  display: block;
}

/* Dwustronicowy paszport (landing) — klik przełącza .is-flipped */
.passport-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 12px;
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: 50% 60%;
}
.passport-stack:hover {
  transform: translateY(-5px) scale(1.01);
}
.passport-stack:focus {
  outline: none;
}
.passport-stack:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 6px;
  border-radius: 12px;
}
.passport-page {
  display: block;
  background: var(--surface);
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 500px;
  height: auto;
  transition:
    transform 0.5s ease-in-out,
    filter 0.5s ease-in-out,
    box-shadow 0.5s ease-in-out;
}
.passport-page--bottom {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%) rotate(3deg) translateX(20px);
  filter: brightness(0.95);
}
.passport-page--top {
  position: relative;
  z-index: 2;
  transform: rotate(-2deg);
}
.passport-stack.is-flipped .passport-page--bottom {
  z-index: 3;
  transform: translate(-50%, -50%) rotate(0deg) scale(1.02);
  filter: brightness(1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}
.passport-stack.is-flipped .passport-page--top {
  z-index: 1;
  transform: rotate(5deg) translateX(30px) scale(0.95);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.app-shot__image  { width: 100%; height: auto; display: block; }
.app-shot--scanner   { max-width: 280px; }
.app-shot--sm        { max-width: 260px; }
.app-shot--dashboard {
  max-width: 320px;
}
.app-shot--centered { margin: 0 auto; }

/* ========================================================
   Kroki produktowe (jak-to-dziala)
   ======================================================== */
.step-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--card-border);
}
.step-block:last-child { border-bottom: none; }
.step-block--alt .step-block__visual { order: -1; }
.step-block__visual { display: flex; justify-content: center; min-width: 0; }
.step-block__visual--dual {
  flex-direction: column;
  gap: 22px;
  align-items: center;
  width: 100%;
}
.step-block__visual--dual > .process-step-frame {
  max-width: min(calc(550px * 9 / 19), 100%);
}

/* v1.9.1 — jednolita ramka „urządzenia” (jak-to-dziala, kroki 1–6) */
.process-step-frame {
  box-sizing: border-box;
  width: calc(550px * 9 / 19);
  max-width: 100%;
  aspect-ratio: 9 / 19;
  max-height: 550px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 12px;
  background: var(--surface);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.process-step-frame__img {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
}
.process-step-frame--passport {
  padding: 10px;
}
.process-step-frame--passport .passport-stack.passport-stack--in-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 4px 6px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step-frame--passport .passport-stack--in-frame:hover {
  transform: translateY(-2px) scale(1.005);
}
.process-step-frame--passport .passport-page {
  width: auto;
  max-width: min(92%, 220px);
  max-height: 88%;
  height: auto;
  object-fit: contain;
}

/* v1.9.4 — postępy.html: ramki procesu w kompaktowej wysokości */
.page-postepy .process-step-frame {
  max-height: 450px;
  width: min(100%, calc(450px * 9 / 19));
}
.page-postepy .timeline__media {
  margin-top: 16px;
}
.page-postepy .timeline__media .process-step-frame {
  margin-left: 0;
  margin-right: auto;
}

/* Jak-to-działa — kroki 5–6: dwie ramki obok siebie (tablet/desktop); mobilka ≤767px */
.sentinel-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}
.sentinel-grid__cell {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.sentinel-grid__caption {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-dim);
  text-align: center;
  padding: 0 4px;
}
.step-block__visual .sentinel-grid .process-step-frame {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 767px) {
  .sentinel-grid {
    flex-direction: column;
    align-items: stretch;
  }
}

.step-block__step-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary-color); margin-bottom: 10px; display: block; }
.step-block__title { font-size: 28px; font-weight: 700; color: var(--text-main); margin-bottom: 16px; line-height: 1.2; }
.step-block__text  { font-size: 15px; color: var(--text-dim); line-height: 1.75; margin-bottom: 16px; }
.step-block__highlight {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  background: rgba(0, 112, 243, 0.06);
  border: 1px solid rgba(0, 112, 243, 0.14);
  font-size: 13px; color: var(--primary-color);
}
.step-block__highlight::before { content: '✓'; font-size: 11px; opacity: 0.8; }

/* ========================================================
   Timeline
   ======================================================== */
.timeline {
  --tl-rail: 44px;
  --tl-dot: 16px;
  --tl-dot-top: 25px;
  --tl-gap: 22px;
  position: relative;
  padding-left: var(--tl-rail);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.timeline::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: calc(var(--tl-rail) * 0.5 - 1px);
  top: calc(var(--tl-dot-top) + var(--tl-dot) * 0.5);
  bottom: calc(var(--tl-dot-top) + var(--tl-dot) * 0.5);
  width: 2px;
  border-radius: 2px;
  background: var(--card-border);
  opacity: 0.9;
}
.timeline__item {
  position: relative;
  z-index: 1;
  margin-bottom: var(--tl-gap);
  padding: 20px 22px 22px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.05),
    0 14px 30px rgba(15, 23, 42, 0.04);
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__dot {
  box-sizing: border-box;
  position: absolute;
  z-index: 2;
  left: calc(var(--tl-rail) * -0.5 - var(--tl-dot) * 0.5);
  top: var(--tl-dot-top);
  width: var(--tl-dot);
  height: var(--tl-dot);
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--surface);
  box-shadow:
    0 0 0 1px var(--primary-color),
    0 1px 4px rgba(15, 23, 42, 0.12);
}
.timeline__dot--done {
  background: var(--primary-color);
  border-color: var(--surface);
  box-shadow:
    0 0 0 1px var(--surface),
    0 2px 5px rgba(15, 23, 42, 0.12),
    0 0 14px rgba(0, 112, 243, 0.38);
}
.timeline__date  { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-color); margin-bottom: 4px; display: block; }
.timeline__title { font-size: 16px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.timeline__text  { font-size: 14px; color: var(--text-dim); line-height: 1.65; }

/* ========================================================
   Status badge
   ======================================================== */
.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(110, 231, 183, 0.08); border: 1px solid rgba(110, 231, 183, 0.25);
  color: var(--accent-green); font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.status-badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-green); flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 4px rgba(110, 231, 183, 0); }
}

/* ========================================================
   CTA Block
   ======================================================== */
.cta-block {
  padding: 56px 48px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(8,20,45,0.92), rgba(5,15,35,0.96));
  border: 1px solid var(--border-strong);
  text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute;
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(103, 232, 249, 0.08) 0%, transparent 70%);
  top: -80px; left: 50%; transform: translateX(-50%);
  filter: blur(30px);
}
.cta-block__title  { font-size: 30px; font-weight: 800; color: var(--text-on-dark); margin-bottom: 12px; position: relative; }
.cta-block__text   { font-size: 16px; color: rgba(248, 250, 252, 0.85); margin-bottom: 32px; max-width: 50ch; margin-left: auto; margin-right: auto; line-height: 1.65; position: relative; }
.cta-block__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }
.cta-block .btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.35);
}
.cta-block .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

/* ========================================================
   Karty ogólne
   ======================================================== */
.problem-card, .feature-card, .audience-card, .plan-rozwoju-card, .next-card {
  padding: 22px 24px; border-radius: var(--radius-card);
  background: var(--surface); border: 1px solid var(--card-border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.problem-card:hover, .feature-card:hover, .audience-card:hover, .plan-rozwoju-card:hover {
  border-color: rgba(0, 112, 243, 0.2);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.problem-card__title, .feature-card__title, .audience-card__title, .plan-rozwoju-card__title, .next-card__title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.problem-card__text,  .feature-card__text,  .audience-card__text,  .plan-rozwoju-card__text,  .next-card__text  { font-size: 14px; color: var(--text-dim); line-height: 1.65; }

/* ========================================================
   Updates list
   ======================================================== */
.updates-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.updates-list__item {
  padding: 22px 24px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--card-border);
  border-left: 3px solid var(--primary-color);
  transition: border-color 0.22s, box-shadow 0.22s;
}
.updates-list__item:hover { border-color: rgba(0, 112, 243, 0.25); border-left-color: var(--primary-color); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08); }
.updates-list__title { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.updates-list__meta  { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; letter-spacing: 0.06em; }
.updates-list__text  { font-size: 14px; color: var(--text-dim); line-height: 1.65; }

/* ========================================================
   Siatki
   ======================================================== */
.section-problem__grid, .three-col-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.two-col-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ========================================================
   About highlight box
   ======================================================== */
.section-about__col p { font-size: 14px; color: var(--text-dim); margin-bottom: 10px; line-height: 1.75; }
.section-about__col--highlight { width: 100%; background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-card); padding: 24px; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06); }
.section-about__label { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 14px; display: block; }

/* ========================================================
   Info panel / Kontakt
   ======================================================== */
.info-panel { margin-top: 16px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--card-border); background: var(--surface); font-size: 13px; color: var(--text-subtle); line-height: 1.65; }
.info-panel strong { color: var(--text-muted); }

.contact-card { padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--card-border); box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08); }
.contact-card__name  { font-size: 20px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.contact-card__role  { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.contact-card__list  { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-card__label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: 2px; }
.contact-card__value { font-size: 15px; color: var(--text-main); }
.contact-card__value:hover { text-decoration: underline; color: var(--primary-color); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-field   { display: flex; flex-direction: column; gap: 6px; }
.form-label   { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.form-input, .form-textarea {
  padding: 11px 14px; border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  color: var(--text-main); font-size: 14px; font-family: inherit;
  transition: border-color 0.2s, background 0.2s; outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--primary-color); background: var(--surface); box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.12); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); opacity: 0.5; }
.section-contact__grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }

.contact-form-shell {
  padding: 32px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}
@media (max-width: 640px) {
  .contact-form-shell {
    padding: 24px 18px;
  }
}

/* ========================================================
   Founder / Footer
   ======================================================== */
.section-founder__content p { font-size: 15px; color: var(--text-dim); margin-bottom: 14px; line-height: 1.75; }

.site-footer { border-top: 1px solid var(--border-soft); padding: 0 20px; background: rgba(4, 14, 38, 0.98); position: relative; z-index: 1; }
.site-footer__inner { max-width: 1120px; margin: 0 auto; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding: 48px 0 36px; border-bottom: 1px solid var(--border-soft); margin-bottom: 20px; }
.site-footer__logo {
  height: 112px;
  width: auto;
  max-width: 392px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  margin-bottom: 14px;
  border: none;
  background: transparent;
  image-rendering: -webkit-optimize-contrast;
}
.site-footer__desc { font-size: 13px; color: var(--text-dim); max-width: 260px; line-height: 1.65; }
.site-footer__col-title { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.site-footer__nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer__link { font-size: 14px; color: var(--text-dim); transition: color 0.18s; }
.site-footer__link:hover { color: var(--text-on-dark); }
.site-footer__contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer__contact-item { font-size: 14px; color: var(--text-dim); }
.site-footer__contact-item a:hover { color: var(--text-on-dark); text-decoration: underline; }
.site-footer__disclaimer {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.95);
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 16px;
  padding: 0 20px;
}
.site-footer__legal-wrap { text-align: center; padding-bottom: 12px; }
.site-footer__legal-link {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__legal-link:hover { color: var(--text-on-dark); }
.site-footer__note { font-size: 12px; color: var(--text-dim); margin-top: 8px; }
.site-footer__copy { font-size: 12px; color: var(--text-dim); text-align: center; padding-bottom: 24px; }

.section--medical-soft {
  background: var(--bg-light);
}
.dashboard-mock {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-large);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.dashboard-mock--wide {
  max-width: min(980px, 100%);
}
.dashboard-mock.dashboard-mock--floating {
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.08),
    0 22px 52px rgba(15, 23, 42, 0.14);
}
.dashboard-mock.dashboard-mock--floating .dashboard-mock__image {
  max-width: 100%;
  image-rendering: -webkit-optimize-contrast;
}
.dashboard-sidebar-brand {
  flex: 0 0 clamp(152px, 32%, 244px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 16px 24px 18px;
  background: linear-gradient(180deg, var(--bg-tint-sidebar) 0%, var(--surface) 100%);
  border-right: 1px solid var(--card-border);
  box-sizing: border-box;
}
.dashboard-sidebar-brand__logo {
  display: block;
  max-height: 150px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
}
.dashboard-sidebar-brand__product-name {
  font-size: clamp(13px, 1.85vw, 15px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--text-main);
}
.dashboard-sidebar-brand__tenant {
  font-size: clamp(11px, 1.65vw, 13px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted-ui);
}
.dashboard-mock__main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-self: stretch;
  background: var(--bg-chrome);
}
.dashboard-mock__figure {
  margin: 0;
  flex: 1;
  display: flex;
  min-height: 0;
  width: 100%;
  align-self: stretch;
}
.dashboard-mock__image {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* ========================================================
   RWD
   ======================================================== */
@media (max-width: 900px) {
  .section-hero__title { font-size: 38px; }
  .pilot-strip__box { flex-direction: column; align-items: flex-start; gap: 28px; padding: 32px; }
  .pilot-strip__actions { flex-direction: row; flex-wrap: wrap; }
  .pilot-strip__points { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .section--feature-highlight .feature-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  /* Announcement bar */
  .announcement-bar__inner { justify-content: flex-start; padding-right: 32px; }

  /* Header */
  .nav-toggle { display: flex; }
  .site-header__inner { flex-wrap: wrap; padding: 0 16px; height: auto; min-height: 56px; }
  .site-header__brand { padding: 10px 0; }
  .site-header__brand-name { font-size: 15px; letter-spacing: 0.03em; font-weight: 500; }
  .site-header__logo-img { height: 80px; max-width: 254px; }
  .section-hero__brand { margin-bottom: 20px; }
  .section-hero__logo-img { max-height: 88px; max-width: min(400px, 88vw); }
  .site-header__cta { display: none; }           /* ukryj przycisk wezwania na desktop */
  .site-nav__link--cta-mobile { display: block; } /* pokaż link wezwania w menu mobilnym */

  .site-nav {
    width: 100%;
    flex: none;
    justify-content: flex-start;
    align-items: flex-start;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 0;
    order: 3;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .site-nav.is-open {
    max-height: 500px;
    padding-top: 10px; padding-bottom: 14px;
    border-top: 1px solid var(--card-border);
  }
  .site-nav__link { padding: 12px 8px; border-radius: 10px; font-size: 15px; border: none; white-space: normal; width: 100%; box-sizing: border-box; }
  .site-nav__link--cta-mobile {
    margin-top: 8px;
    background: linear-gradient(135deg, #0057d9 0%, var(--accent-cyan) 45%, var(--accent-green) 100%);
    color: #011018;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.35),
      0 3px 14px rgba(0, 112, 243, 0.32);
  }

  /* Sekcja główna */
  .section--hero { padding: 64px 16px 56px; }
  .section-hero__title { font-size: 30px; letter-spacing: -0.01em; }
  .section-hero__lead { font-size: 16px; }
  .section-hero__meta { margin-bottom: 36px; }
  .section-hero__showcase .apps-mockup--fanned {
    padding-top: 32px;
    min-height: 240px;
  }

  /* Nagłówek podstrony */
  .page-hero { padding: 48px 16px 36px; }
  .page-hero__title { font-size: 28px; }

  /* Pas wczesnego dostępu */
  .pilot-strip { padding: 40px 16px; }
  .pilot-strip__box { padding: 28px 20px; flex-direction: column; gap: 24px; }
  .pilot-strip__title { font-size: 22px; }
  .pilot-strip__actions { flex-direction: column; width: 100%; }
  .pilot-strip__actions .btn { width: 100%; justify-content: center; }

  /* Układ */
  .split-section, .step-block, .section-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split-section--alt .split-section__visual, .step-block--alt .step-block__visual { order: 0; }
  .mini-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; background: none; border: none; }
  .mini-step { border: 1px solid var(--card-border); border-radius: var(--radius-card); }
  .section--feature-highlight .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .process-step-frame {
    width: 100%;
    max-width: min(100%, calc(550px * 9 / 19));
    max-height: min(520px, 72vh);
  }
  .page-postepy .process-step-frame {
    max-height: min(450px, 68vh);
  }
  .app-shot--scanner, .app-shot--passport, .app-shot--dashboard, .app-shot--sm { max-width: 100%; }
  .dashboard-mock {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }
  .dashboard-sidebar-brand {
    flex: none;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
  .dashboard-sidebar-brand__logo {
    max-height: clamp(110px, 30vw, 150px);
  }
  .dashboard-mock__main {
    align-self: auto;
    min-height: 0;
    width: 100%;
  }
  .dashboard-mock__figure {
    height: auto;
    display: block;
    align-self: auto;
  }
  .dashboard-mock__image {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
  .passport-stack:not(.passport-stack--in-frame) {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0 24px;
  }
  .passport-stack:not(.passport-stack--in-frame) .passport-page {
    width: 100%;
    max-width: min(500px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
  .passport-stack:not(.passport-stack--in-frame) .passport-page--bottom {
    position: relative;
    left: auto;
    top: auto;
    order: 2;
    z-index: auto;
    transform: none;
    filter: none;
    margin-top: 14px;
  }
  .passport-stack:not(.passport-stack--in-frame) .passport-page--top {
    position: relative;
    order: 1;
    z-index: auto;
    transform: none;
  }
  .passport-stack:not(.passport-stack--in-frame).is-flipped .passport-page--bottom {
    order: 1;
    z-index: auto;
    margin-top: 0;
    margin-bottom: 14px;
  }
  .passport-stack:not(.passport-stack--in-frame).is-flipped .passport-page--top {
    order: 2;
    z-index: auto;
    margin-bottom: 0;
  }
  .passport-stack.passport-stack--in-frame {
    padding: 6px 4px 26px;
  }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cta-block { padding: 36px 20px; }
  .cta-block__title { font-size: 24px; }
  .hub-cards { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 52px 16px; }
  .section--feature-highlight .section-title { font-size: 24px; }
}
