html { scroll-behavior: smooth; }
body { margin: 0; background: #f9fafb; color: #374151; font-family: "DM Sans", -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: #3f66e0; text-decoration: none; }
a:hover { color: #040e2c; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.btn-primary:hover { background: #3f66e0 !important; color: #ffffff !important; }
.btn-ghost:hover { border-color: #9ca3af !important; color: #040e2c !important; }
.nav-link:hover { color: #040e2c !important; }
.foot-link:hover { color: #040e2c !important; }
input::placeholder { color: #9ca3af; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.link-wiecej { font-weight: 600; white-space: nowrap; }
.link-wiecej-jasny { color: #8ea8ff; }
.link-wiecej-jasny:hover { color: #ffffff; }
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 72px !important; }
  .bento { grid-template-columns: minmax(0, 1fr) !important; }
  .bento > * { grid-column: auto !important; }
  .trial-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 48px !important; }
  .box-card { flex-direction: column !important; align-items: stretch !important; }
  .flow { flex-direction: column !important; align-items: stretch !important; }
  .flow-link { flex-direction: column !important; }
  .flow-line { width: 2px !important; height: 28px !important; }
  .flow-note { display: none !important; }
}
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none !important; }
  .nav-login { display: none !important; }
  .header-bar { height: 64px !important; }
  .logo { height: 24px !important; }
  .hero { padding-top: 40px !important; padding-bottom: 72px !important; }
  .h1 { font-size: 40px !important; }
  .h2 { font-size: 31px !important; }
  .lead { font-size: 17px !important; }
  .hero-cta { flex-direction: column !important; align-items: stretch !important; }
  .section { padding-top: 72px !important; padding-bottom: 72px !important; }
  .steps { grid-template-columns: minmax(0, 1fr) !important; }
  .form-row { grid-template-columns: minmax(0, 1fr) !important; }
  .card-pad { padding: 24px !important; }
  .float-card { position: static !important; width: auto !important; margin-top: 12px !important; box-shadow: none !important; }
  .code { font-size: 12px !important; padding: 16px !important; }
  .foot-grid { flex-direction: column !important; align-items: flex-start !important; }
}

/* Ruch na stronie produktu. zbuduj.py dokleja ten plik do styl.css.

   Elementy oznacza zbuduj.py atrybutem data-ruch - tu i w ruch.js nie ma
   selektorów po stylach z projektu, bo te zmieniają się razem z projektem.
   Wszystko, co porusza się samo, stoi pod prefers-reduced-motion: no-preference.
   Odsłanianie przy przewijaniu i paralaksę włącza ruch.js, który przy
   ograniczonym ruchu nic nie robi. Bez skryptu strona stoi, ale niczego nie chowa. */

/* --- ozdoby: widać je także bez ruchu --- */

[data-ruch~="scena"] > [data-ruch~="karta"],
[data-ruch~="puls"],
[data-ruch~="przeplyw"] {
  position: relative;
}

[data-ruch~="kropki"] {
  position: absolute;
  top: -36px;
  right: -36px;
  width: 216px;
  height: 216px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='3' cy='3' r='2' fill='%23c7d2fb'/%3E%3C/svg%3E");
}

#wersja-probna {
  position: relative;
  overflow: hidden;
}

#wersja-probna > .wrap {
  position: relative;
}

[data-ruch~="znak-tlo"] {
  position: absolute;
  top: 50%;
  right: -120px;
  width: 600px;
  margin-top: -310px;
  pointer-events: none;
}

[data-ruch~="znak-tlo"] path:first-child { fill: #0a1740; }
[data-ruch~="znak-tlo"] path:last-child { fill: #0f2154; }

[data-ruch~="licznik"] {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1080px) {
  [data-ruch~="znak-tlo"] { display: none; }
}

@media (max-width: 760px) {
  [data-ruch~="kropki"] { display: none; }
}

/* --- odsłanianie przy przewijaniu (klasy dokłada ruch.js) --- */

.odslon {
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--opoznienie, 0s),
    translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--opoznienie, 0s);
}

.odslon:not(.widoczny) {
  opacity: 0;
  translate: 0 32px;
}

[data-ruch~="slupek"] {
  transform-origin: bottom;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--opoznienie, 0s);
}

.odslon:not(.widoczny) [data-ruch~="slupek"] {
  transform: scaleY(0);
}

/* Wydruk niczego nie przewija, więc nic by się nie odsłoniło. */
@media print {
  .odslon { opacity: 1 !important; translate: none !important; }
  .odslon [data-ruch~="slupek"] { transform: none !important; }
}

/* --- ruch sam z siebie --- */

@media (prefers-reduced-motion: no-preference) {
  [data-ruch~="wejscie"] > * {
    animation: wejscie 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  [data-ruch~="wejscie"] > :nth-child(2) { animation-delay: 0.07s; }
  [data-ruch~="wejscie"] > :nth-child(3) { animation-delay: 0.14s; }
  [data-ruch~="wejscie"] > :nth-child(4) { animation-delay: 0.21s; }
  [data-ruch~="wejscie"] > :nth-child(5) { animation-delay: 0.28s; }

  [data-ruch~="scena"] {
    animation: wejscie 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  [data-ruch~="karta-plywajaca"] {
    animation: wyskok 0.7s 0.9s cubic-bezier(0.3, 1.3, 0.5, 1) both;
  }

  [data-ruch~="pasek"] {
    transform-origin: left;
    animation: pasek 1.2s 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  [data-ruch~="puls"]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #16a34a;
    animation: puls 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
  }

  /* Pakiet biegnie od agenta do chmury - połączenie jest wychodzące. */
  [data-ruch~="przeplyw"]::after {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5c80f2;
    box-shadow: 0 0 0 4px rgba(92, 128, 242, 0.2);
    animation: pakiet 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }

  [data-ruch~="unosi"] {
    animation: unosi 6s ease-in-out infinite;
  }

  .btn-primary svg {
    transition: transform 0.2s ease;
  }
  .btn-primary:hover svg {
    transform: translateX(3px);
  }
}

/* W jednej kolumnie linia przepływu stoi pionowo. */
@media (prefers-reduced-motion: no-preference) and (max-width: 1080px) {
  [data-ruch~="przeplyw"]::after {
    top: 0;
    left: -3px;
    animation-name: pakiet-pion;
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 1081px) {
  [data-ruch~="kropki"],
  [data-ruch~="karta"],
  [data-ruch~="karta-plywajaca"],
  [data-ruch~="znak-tlo"] {
    will-change: translate;
  }
}

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

@keyframes wejscie { from { opacity: 0; transform: translateY(20px); } }
@keyframes wyskok { from { opacity: 0; transform: translateY(16px) scale(0.94); } }
@keyframes pasek { from { transform: scaleX(0); } }
@keyframes puls {
  0% { transform: scale(1); opacity: 0.55; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}
@keyframes pakiet {
  0% { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}
@keyframes pakiet-pion {
  0% { top: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: calc(100% - 8px); opacity: 0; }
}
@keyframes unosi { 50% { transform: translateY(-8px); } }

/* Obsługiwane urządzenia: lista modeli i podstrona każdego z nich.
   Kolory, promienie, odstępy i skala pisma są te same co na stronie głównej. */

.nav-link[aria-current] { color: #040e2c !important; }

/* --- okruszki --- */
.u-okruszki { padding-top: 28px; }
.u-okruszki ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; color: #6b7280; }
.u-okruszki li { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.u-okruszki li + li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; border-top: 1.5px solid #9ca3af; border-right: 1.5px solid #9ca3af; transform: rotate(45deg); }
.u-okruszki a { color: #4b5563; }
.u-okruszki a:hover { color: #040e2c; }
.u-okruszki [aria-current] { color: #1f2937; font-weight: 600; }

/* --- pismo i przyciski --- */
.u-nadtytul { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #3f66e0; }
.u-pigulka { display: inline-flex; align-self: flex-start; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: #eef2fe; color: #3f66e0; font-size: 14px; font-weight: 600; }
.u-h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; color: #040e2c; }
.u-h2 { font-size: 36px; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; color: #040e2c; }
.u-lead { font-size: 19px; line-height: 1.6; color: #4b5563; max-width: 640px; }
.u-tekst { font-size: 17px; line-height: 1.6; color: #4b5563; max-width: 720px; }
.u-przyciski { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.u-przycisk { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 8px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.u-przycisk svg { width: 20px; height: 20px; }
.u-przycisk.btn-primary { background: #5c80f2; color: #ffffff; }
.u-przycisk.btn-ghost { padding: 0 22px; border: 1px solid #d1d5db; background: #ffffff; color: #1f2937; }
.u-dalej { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.u-dalej svg { width: 18px; height: 18px; }

/* --- sekcje --- */
.u-sekcja { padding-top: 96px; padding-bottom: 96px; }
.u-sekcja-biala { background: #ffffff; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.u-naglowek { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.u-pas { padding-top: 88px; padding-bottom: 88px; background: #040e2c; }
.u-pas .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; }
.u-pas h2 { font-size: 36px; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; color: #ffffff; }
.u-pas p { margin-top: 14px; font-size: 18px; line-height: 1.6; color: #aab3c9; max-width: 640px; }

/* --- lista urządzeń --- */
.u-wstep { padding-top: 48px; padding-bottom: 24px; }
.u-wstep-tresc { display: flex; flex-direction: column; gap: 24px; max-width: 820px; }
.u-producenci { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.u-producenci a { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border: 1px solid #d1d5db; border-radius: 999px; background: #ffffff; color: #1f2937; font-size: 15px; font-weight: 600; }
.u-producenci a:hover { border-color: #5c80f2; color: #040e2c; }
.u-producenci span { color: #6b7280; font-weight: 500; }
.u-katalog { padding-bottom: 96px; }
.u-producent { padding-top: 72px; scroll-margin-top: 16px; }
.u-producent-glowa { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 20px; margin-bottom: 36px; border-bottom: 1px solid #e5e7eb; }
.u-producent-glowa p { font-size: 15px; color: #6b7280; }
.u-grupa + .u-grupa { margin-top: 48px; }
.u-grupa h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 20px; line-height: 1.3; font-weight: 700; color: #040e2c; }
.u-licznik { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; background: #eef2fe; color: #3f66e0; font-size: 13px; font-weight: 600; }
.u-siatka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.u-model { display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 20px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; color: #1f2937; transition: border-color 0.15s, box-shadow 0.15s; }
.u-model:hover { border-color: #5c80f2; box-shadow: 0 16px 40px rgba(4, 14, 44, 0.08); color: #1f2937; }
.u-model-obraz { flex-shrink: 0; width: 56px; height: 56px; border-radius: 10px; background: #eef2fe; color: #3f66e0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.u-model-obraz svg { width: 26px; height: 26px; }
.u-model-obraz img { width: 100%; height: 100%; object-fit: contain; background: #ffffff; }
.u-model-tekst { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.u-model-nazwa { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 600; color: #1f2937; }
.u-model-opis { font-size: 13px; line-height: 1.45; color: #6b7280; }
.u-model-strzalka { flex-shrink: 0; width: 18px; height: 18px; color: #9ca3af; transition: transform 0.15s, color 0.15s; }
.u-model:hover .u-model-strzalka { color: #3f66e0; transform: translateX(3px); }

.u-tabela-okno { overflow-x: auto; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; }
.u-tabela { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.u-tabela th, .u-tabela td { padding: 16px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid #e5e7eb; }
.u-tabela thead th { background: #f9fafb; color: #6b7280; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.u-tabela tbody th { font-weight: 500; color: #1f2937; }
.u-tabela td { width: 26%; color: #4b5563; }
.u-tabela tbody tr:last-child > * { border-bottom: 0; }
.u-tak, .u-nie { display: inline-flex; align-items: flex-start; gap: 8px; }
.u-tak svg, .u-nie svg { width: 20px; height: 20px; flex-shrink: 0; }
.u-tak svg { color: #16a34a; }
.u-nie { color: #6b7280; }
.u-nie svg { color: #9ca3af; }
.u-brak { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; padding: 28px 32px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 16px; }
.u-brak h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: #040e2c; }
.u-brak p { font-size: 16px; line-height: 1.6; color: #4b5563; }

/* --- podstrona urządzenia --- */
.u-hero { padding-top: 40px; padding-bottom: 96px; }
.u-hero-siatka { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.u-hero-tekst { display: flex; flex-direction: column; gap: 24px; }
.u-cechy { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.u-cechy li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.5; color: #374151; }
.u-cechy svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: #5c80f2; }
.u-zdjecie { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.u-zdjecie-ramka { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 24px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; }
.u-zdjecie img { display: block; width: 100%; height: 100%; object-fit: contain; }
.u-zdjecie figcaption { font-size: 13px; color: #9ca3af; text-align: center; }

.u-funkcje { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.u-funkcja { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; }
.u-ikona { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: #eef2fe; color: #3f66e0; }
.u-ikona svg { width: 24px; height: 24px; }
.u-funkcja h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: #040e2c; }
.u-funkcja p { font-size: 16px; line-height: 1.6; color: #4b5563; }
.u-uwagi { display: flex; flex-direction: column; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.u-uwaga { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; font-size: 15px; line-height: 1.6; color: #4b5563; }
.u-uwaga svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; color: #3f66e0; }
.u-uwaga strong { color: #1f2937; font-weight: 600; }
/* Uwaga nad listą modeli producenta - nie jest częścią listy uwag, więc ma własny odstęp. */
.u-uwaga-producenta { max-width: 900px; margin: -12px 0 36px; }

.u-dwie { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.u-kroki { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.u-krok { display: flex; align-items: flex-start; gap: 18px; padding: 24px 28px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; }
.u-krok-numer { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px; background: #040e2c; color: #ffffff; font-size: 15px; font-weight: 700; }
.u-krok h3 { margin-bottom: 6px; font-size: 18px; line-height: 1.35; font-weight: 700; color: #040e2c; }
.u-krok p { font-size: 16px; line-height: 1.6; color: #4b5563; }
.u-karta-boczna { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; }
.u-karta-boczna h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: #040e2c; }
.u-karta-boczna p { font-size: 15px; line-height: 1.6; color: #4b5563; }
.u-wersje { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.u-wersje li { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f9fafb; color: #1f2937; font-family: "DM Mono", ui-monospace, monospace; font-size: 13px; line-height: 1.4; }
.u-dane { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; margin: 0; padding-top: 20px; border-top: 1px solid #e5e7eb; font-size: 15px; line-height: 1.5; }
.u-dane dt { color: #6b7280; }
.u-dane dd { margin: 0; color: #1f2937; font-weight: 500; }
.u-podobne { margin-bottom: 28px; }

@media (max-width: 1080px) {
  .u-siatka, .u-funkcje { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-hero-siatka, .u-dwie { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .u-zdjecie { width: 100%; max-width: 560px; }
  .u-pas .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .u-okruszki { padding-top: 20px; }
  .u-wstep { padding-top: 32px; }
  .u-hero { padding-top: 28px; padding-bottom: 64px; }
  .u-h1 { font-size: 36px; }
  .u-h2 { font-size: 28px; }
  .u-lead { font-size: 17px; }
  .u-sekcja { padding-top: 64px; padding-bottom: 64px; }
  .u-naglowek { margin-bottom: 32px; }
  .u-katalog { padding-bottom: 64px; }
  .u-producent { padding-top: 48px; }
  .u-siatka, .u-funkcje { grid-template-columns: minmax(0, 1fr); }
  .u-funkcja, .u-karta-boczna { padding: 24px; }
  .u-krok { padding: 20px; }
  .u-brak { padding: 24px; }
  .u-przyciski { flex-direction: column; align-items: stretch; }
  .u-pas { padding-top: 64px; padding-bottom: 64px; }
  .u-pas h2 { font-size: 28px; }
  .u-tabela { min-width: 0; font-size: 14px; }
  .u-tabela th, .u-tabela td { padding: 12px 14px; }
  .u-tabela thead th { font-size: 12px; letter-spacing: 0.02em; }
  .u-tabela td { width: 30%; min-width: 104px; }
  /* Tabela przewija się w bok - nazwa funkcji zostaje na miejscu. */
  .u-tabela tr > :first-child { position: sticky; left: 0; z-index: 1; min-width: 136px; background: #ffffff; box-shadow: 1px 0 0 #e5e7eb; }
  .u-tabela thead tr > :first-child { background: #f9fafb; }
}

@media print {
  .u-pas { display: none; }
}

/* Baner zgody na pliki cookie i przycisk ustawień w stopce. Oba dokłada
   analityka.js - tylko gdy strona ma identyfikator Google Analytics.
   Kolory, promienie i krój jak w reszcie strony. Zgoda i odmowa wyglądają tak
   samo i stoją obok siebie - żadna nie jest podsuwana mocniej. Ustawienia
   i zapis wyboru nie są żadną z nich, więc idą całą szerokością pod spodem. */
.zgoda {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 100;
  box-sizing: border-box;
  width: min(460px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(4, 14, 44, 0.16);
}

.zgoda[hidden],
.zgoda-widok[hidden] {
  display: none;
}

.zgoda-widok {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zgoda-tytul {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #040e2c;
}

.zgoda-tekst {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
}

.zgoda-tekst a {
  color: #3f66e0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.zgoda-drobny {
  font-size: 13px;
  color: #6b7280;
}

.zgoda-kategoria {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

label.zgoda-kategoria {
  cursor: pointer;
}

.zgoda-opis {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.zgoda-opis strong {
  font-weight: 600;
  color: #040e2c;
}

.zgoda-pole {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #5c80f2;
  cursor: pointer;
}

.zgoda-pole:disabled {
  cursor: default;
}

.zgoda-przyciski {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.zgoda-przycisk {
  height: 44px;
  padding: 0 12px;
  border: 1px solid #040e2c;
  border-radius: 8px;
  background: #040e2c;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.zgoda-przycisk:hover {
  background: #1b2649;
}

.zgoda-przycisk-szeroki {
  grid-column: 1 / -1;
  border-color: #d1d5db;
  background: #ffffff;
  color: #040e2c;
}

.zgoda-przycisk-szeroki:hover {
  border-color: #9ca3af;
  background: #f3f4f6;
}

.zgoda-przycisk:focus-visible,
.zgoda-pole:focus-visible,
.stopka-zgoda:focus-visible {
  outline: 3px solid #5c80f2;
  outline-offset: 2px;
}

.stopka-zgoda {
  margin-left: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #6b7280;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.stopka-zgoda:hover {
  color: #040e2c;
}

@media (max-width: 760px) {
  .zgoda {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-height: calc(100vh - 32px);
    padding: 20px;
  }
}

/* Poniżej tej szerokości „Akceptuję wszystkie" nie mieści się w połowie banera. */
@media (max-width: 480px) {
  .zgoda-przyciski {
    grid-template-columns: 1fr;
  }
}

@media print {
  .zgoda {
    display: none !important;
  }
}
