@charset "UTF-8";
/* ===========================================================
   BASE VARIABLES (nadpisywane w motywach)
=========================================================== */
/* ===========================================================
   MIXINS
=========================================================== */
/* ===========================================================
   ANIMATIONS
=========================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===========================================================
   BASE BLOCK: .statistics
=========================================================== */
.statistics {
  font-family: system-ui, sans-serif;
  padding: 20px;
  border-radius: 20px;
  margin: 20px 0;
  --stat-bg: #fff;
  --stat-bg-secondary: #f7f7f7;
  --stat-border: #ddd;
  --stat-text: #111;
  --stat-green: #0a7a0a;
  --stat-green-rgb: 10, 122, 10;
  background: var(--stat-bg);
  color: var(--stat-text);
  border: 1px solid var(--stat-border);
  /* --- WIDOKI --- */
}
.statistics [data-view-desktop] {
  display: block;
}
.statistics [data-view-mobile] {
  display: none;
}
.statistics {
  /* --- Główne klasy użyte w szablonie --- */
}
.statistics__grid {
  display: grid;
}
.statistics__hidden {
  display: none !important;
}
.statistics__link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
.statistics__link:hover {
  color: var(--stat-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.statistics__header {
  text-align: center;
  margin-bottom: 25px;
}
.statistics__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.statistics__subtitle {
  font-size: 1rem;
  opacity: 0.75;
}
.statistics__rate-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin: 4px 0 28px;
}
.statistics__rate-card {
  text-align: center;
  flex: 1 1 200px;
  max-width: 260px;
}
.statistics__rate-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.6;
}
.statistics__rate-card-value {
  margin: 6px 0;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--stat-green);
}
.statistics__rate-card-unit {
  font-size: 0.55em;
  font-weight: 600;
  opacity: 0.85;
}
.statistics__rate-card-meta {
  font-size: 0.78rem;
  opacity: 0.5;
}
.statistics__data-container {
  margin-bottom: 25px;
}
.statistics {
  /* =======================================================
     TABLE STYLES (WIDOK DESKTOPOWY)
  ======================================================= */
}
.statistics__table-wrapper {
  overflow-x: auto;
  margin-bottom: 25px;
  border-radius: 16px;
  padding: 8px;
  background: var(--stat-bg-secondary);
  border: 1px solid var(--stat-border);
  -webkit-overflow-scrolling: touch;
}
.statistics__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  min-width: 600px; /* Minimalna szerokość dla scrollowania */
}
.statistics__table-heading {
  padding: 12px 16px;
  border: 1px solid var(--stat-border);
  box-sizing: border-box;
  white-space: normal;
  min-width: 90px;
  font-weight: 600;
  background: var(--stat-bg-secondary);
  text-align: center;
  vertical-align: middle;
}
.statistics__table-heading--sticky {
  position: sticky;
  left: 0;
  z-index: 10;
  background: var(--stat-bg);
  min-width: 160px;
  max-width: 220px;
  white-space: normal;
  word-break: break-word;
  font-weight: 600;
}
.statistics__table-heading--highlight {
  font-weight: 800;
  color: var(--stat-green);
  border: 2px solid white;
}
.statistics__row td:nth-child(2) {
  color: var(--stat-green);
  border: 1px dotted white;
}
.statistics__row:nth-child(even) {
  background: var(--stat-bg-secondary);
}
.statistics__row:hover {
  background: rgba(var(--stat-green-rgb), 0.05);
}
.statistics__row:hover .statistics__cell--sticky {
  background: rgba(var(--stat-green-rgb), 0.05);
}
.statistics__cell {
  padding: 12px 16px;
  border: 1px solid var(--stat-border);
  box-sizing: border-box;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: background-color 0.2s ease;
}
.statistics__cell--left {
  text-align: left;
}
.statistics__cell--center {
  text-align: center;
}
.statistics__cell--number {
  text-align: center;
  min-width: 70px;
  font-family: "Monaco", "Menlo", "Consolas", monospace;
}
.statistics__cell {
  /* Delta classes */
}
.statistics__cell--delta-positive {
  color: var(--stat-green);
  font-weight: 600;
}
.statistics__cell--delta-negative {
  color: #dc3545;
  font-weight: 600;
}
.statistics__cell--delta-neutral {
  opacity: 0.7;
}
.statistics__cell {
  /* Sticky cells */
}
.statistics__cell--sticky {
  position: sticky;
  left: 0;
  z-index: 9;
  background: var(--stat-bg);
  white-space: normal;
  word-break: break-word;
  min-width: 160px;
  max-width: 220px;
}
.statistics {
  /* =======================================================
     CARD STYLES (WIDOK MOBILNY)
  ======================================================= */
}
.statistics__view-cards {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.statistics__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 0;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.statistics__card {
  background: var(--stat-bg);
  border: 1px solid var(--stat-border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-width: 0;
  overflow: visible;
  animation: fadeIn 0.4s ease-out forwards;
}
.statistics__card:nth-child(1) {
  animation-delay: 0.05s;
}
.statistics__card:nth-child(2) {
  animation-delay: 0.1s;
}
.statistics__card:nth-child(3) {
  animation-delay: 0.15s;
}
.statistics__card:nth-child(4) {
  animation-delay: 0.2s;
}
.statistics__card:nth-child(5) {
  animation-delay: 0.25s;
}
.statistics__card:nth-child(6) {
  animation-delay: 0.3s;
}
.statistics__card:nth-child(7) {
  animation-delay: 0.35s;
}
.statistics__card:nth-child(8) {
  animation-delay: 0.4s;
}
.statistics__card:nth-child(9) {
  animation-delay: 0.45s;
}
.statistics__card:nth-child(10) {
  animation-delay: 0.5s;
}
.statistics__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--stat-green);
}
.statistics__card--summary {
  background: rgba(var(--stat-green-rgb), 0.08);
  border: 2px solid var(--stat-green);
  box-shadow: 0 4px 12px rgba(var(--stat-green-rgb), 0.15);
}
.statistics__card--summary .statistics__card-title {
  color: var(--stat-green);
  font-weight: 700;
}
.statistics__card--summary:hover {
  box-shadow: 0 8px 32px rgba(var(--stat-green-rgb), 0.2);
}
.statistics__card-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stat-border);
}
.statistics__card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--stat-text);
}
.statistics__card-title a {
  color: inherit;
  text-decoration: none;
}
.statistics__card-title a:hover {
  color: var(--stat-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.statistics__card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.statistics__card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.statistics__card-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.statistics--dark .statistics__card-row:not(:last-child), .statistics--dark-clean .statistics__card-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.statistics__card-label {
  font-size: 0.95rem;
  color: var(--stat-text);
  opacity: 0.8;
  flex: 1;
  padding-right: 12px;
  font-weight: 500;
}
.statistics__card-value {
  font-weight: 600;
  font-size: 1.15rem;
  text-align: right;
  min-width: 70px;
  white-space: nowrap;
}
.statistics__card-value.statistics__cell--delta-positive {
  color: var(--stat-green);
}
.statistics__card-value.statistics__cell--delta-negative {
  color: #dc3545;
}
.statistics__card-value.statistics__cell--delta-neutral {
  opacity: 0.7;
}
.statistics {
  /* =======================================================
     VERSIONS
  ======================================================= */
}
.statistics__versions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 16px;
  font-size: 0.9rem;
  background: var(--stat-bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--stat-border);
}
.statistics__version-item {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--stat-bg);
  border: 1px solid var(--stat-border);
  transition: all 0.2s ease;
}
.statistics__version-item:hover {
  background: rgba(var(--stat-green-rgb), 0.1);
  border-color: var(--stat-green);
  transform: translateY(-2px);
}
.statistics__version-item span {
  font-weight: 600;
  color: var(--stat-green);
}
.statistics .icon--white {
  filter: invert(1) hue-rotate(180deg);
  margin-right: 5px;
}
.statistics {
  /* =======================================================
     THEMES (MODYFIKATORY BLOKU)
  =========================================================== */
}
.statistics--light {
  --stat-bg: #ffffff;
  --stat-bg-secondary: #f8f9fa;
  --stat-border: #e9ecef;
  --stat-text: #212529;
  --stat-green: #0a7a0a;
  --stat-green-rgb: 10, 122, 10;
}
.statistics--dark {
  --stat-bg: #1a1a1f;
  --stat-bg-secondary: #2b2b33;
  --stat-border: #3b3b42;
  --stat-text: #e6e6e6;
  --stat-green: #32d96c;
  --stat-green-rgb: 50, 217, 108;
}
.statistics--dark .statistics__card {
  background: #2b2b33;
  border-color: #3b3b42;
}
.statistics--dark .statistics__card--summary {
  background: rgba(50, 217, 108, 0.15);
  border-color: var(--stat-green);
}
.statistics--dark .statistics__versions {
  background: #2b2b33;
  border-color: #3b3b42;
}
.statistics--dark .statistics__version-item {
  background: #1a1a1f;
  border-color: #3b3b42;
}
.statistics--dark .statistics__version-item:hover {
  background: rgba(50, 217, 108, 0.2);
}
.statistics--dark-clean {
  --stat-bg: transparent;
  --stat-bg-secondary: transparent;
  --stat-border: rgba(255, 255, 255, 0.15);
  --stat-text: white;
  --stat-green: #2fe279;
  --stat-green-rgb: 47, 226, 121;
  backdrop-filter: blur(10px);
}
.statistics--dark-clean .statistics__table-wrapper {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.statistics--dark-clean .statistics__card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}
.statistics--dark-clean .statistics__card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(47, 226, 121, 0.4);
}
.statistics--dark-clean .statistics__card--summary {
  background: rgba(47, 226, 121, 0.18);
  border-color: rgba(47, 226, 121, 0.4);
  backdrop-filter: blur(8px);
}
.statistics--dark-clean .statistics__card--summary:hover {
  background: rgba(47, 226, 121, 0.22);
}
.statistics--dark-clean .statistics__card-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.statistics--dark-clean .statistics__versions {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}
.statistics--dark-clean .statistics__version-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.statistics--dark-clean .statistics__version-item:hover {
  background: rgba(47, 226, 121, 0.25);
  border-color: rgba(47, 226, 121, 0.4);
}
.statistics {
  /* =======================================================
     RESPONSIVE BREAKPOINTS (ZAGNIEŻDŻONE W BLOKU)
  ======================================================= */
}
@media (max-width: 1024px) {
  .statistics {
    padding: 16px;
  }
  .statistics__table-heading--sticky {
    min-width: 140px;
  }
  .statistics__cell--number {
    min-width: 65px;
  }
}
.statistics {
  /* Przełączanie na cards */
}
@media (max-width: 904px) {
  .statistics [data-view-desktop] {
    display: none;
  }
  .statistics [data-view-mobile] {
    display: block;
  }
  .statistics__cards {
    gap: 14px;
  }
  .statistics__card {
    padding: 18px;
  }
  .statistics__card-title {
    font-size: 1.15rem;
  }
}
@media (max-width: 650px) {
  .statistics {
    padding: 14px;
  }
  .statistics__cards {
    gap: 12px;
  }
  .statistics__card {
    padding: 16px;
  }
  .statistics__card-title {
    font-size: 1.1rem;
  }
  .statistics__card-label {
    font-size: 0.9rem;
  }
  .statistics__card-value {
    font-size: 1.05rem;
  }
  .statistics__versions {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px;
  }
}
@media (max-width: 480px) {
  .statistics {
    padding: 12px;
    border-radius: 16px;
  }
  .statistics__cards {
    gap: 10px;
  }
  .statistics__card {
    padding: 14px;
    border-radius: 10px;
  }
  .statistics__card-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  .statistics__card-title {
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .statistics__card-content {
    gap: 10px;
  }
  .statistics__card-row {
    padding: 6px 0;
  }
  .statistics__card-label {
    font-size: 0.85rem;
    padding-right: 8px;
  }
  .statistics__card-value {
    font-size: 1rem;
    min-width: 60px;
  }
  .statistics__versions {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }
}
@media (max-width: 275px) {
  .statistics {
    padding: 5px;
  }
  .statistics__card {
    padding: 12px;
  }
  .statistics__card-title {
    font-size: 1rem;
  }
  .statistics__card-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0;
  }
  .statistics__card-label, .statistics__card-value {
    width: 100%;
    text-align: left;
  }
  .statistics__card-value {
    padding-left: 8px;
    font-size: 1.1rem;
    min-width: auto;
  }
  .statistics__card--summary .statistics__card-title {
    font-size: 1.1rem;
  }
}

/* ===========================================================
   REAKTYWNE NADPISANIE MOTYWU — niezależne od statycznej klasy
   .statistics--light / .statistics--dark, którą EJS ustala RAZ,
   po stronie serwera (statistics-table.ejs, zmienna `theme`)
   i która NIE aktualizuje się po kliknięciu przełącznika
   jasny/ciemny — bo ten komponent nie wiedział nic o atrybucie
   [data-theme], którym reszta strony reaguje na przełącznik.

   Poniższe reguły są celowo na SAMYM KOŃCU pliku, więc w kaskadzie
   CSS wygrywają nad .statistics--light / .statistics--dark
   niezależnie od tego, którą z tamtych klas wyrenderował serwer —
   i faktycznie podążają za żywym stanem motywu całej strony.
=========================================================== */
[data-theme=light] .statistics {
  --stat-bg: #ffffff;
  --stat-bg-secondary: #f8f9fa;
  --stat-border: #e9ecef;
  --stat-text: #212529;
  --stat-green: #0a7a0a;
  --stat-green-rgb: 10, 122, 10;
}

[data-theme=dark] .statistics {
  --stat-bg: #1a1a1f;
  --stat-bg-secondary: #2b2b33;
  --stat-border: #3b3b42;
  --stat-text: #e6e6e6;
  --stat-green: #32d96c;
  --stat-green-rgb: 50, 217, 108;
}
[data-theme=dark] .statistics .statistics__card {
  background: #2b2b33;
  border-color: #3b3b42;
}
[data-theme=dark] .statistics .statistics__card--summary {
  background: rgba(50, 217, 108, 0.15);
  border-color: var(--stat-green);
}
[data-theme=dark] .statistics .statistics__versions {
  background: #2b2b33;
  border-color: #3b3b42;
}
[data-theme=dark] .statistics .statistics__version-item {
  background: #1a1a1f;
  border-color: #3b3b42;
}
[data-theme=dark] .statistics .statistics__version-item:hover {
  background: rgba(50, 217, 108, 0.2);
}

.statistics__redirects {
  margin-block: 2rem;
}
.statistics__redirects > p {
  max-width: 85ch;
  line-height: 1.6;
  opacity: 0.85;
}
.statistics__redirects summary {
  cursor: pointer;
  padding-block: 0.75rem;
  overflow-wrap: anywhere;
}
.statistics__redirects summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.statistics__redirects .statistics__redirect-domain {
  border-bottom: 1px solid currentColor;
  padding-block: 0.25rem;
}
.statistics__redirects .statistics__redirect-domain > summary {
  font-weight: 600;
}
.statistics__redirects .statistics__redirect-domain > details {
  margin-inline-start: 1rem;
}

.privacy-policy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem;
  line-height: 1.7;
}
.privacy-policy--with-statistic {
  position: relative;
}
.privacy-policy__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-align: left;
}
@media (min-width: 768px) {
  .privacy-policy__title {
    margin-bottom: 2rem;
  }
}
.privacy-policy__content {
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  font-size: 1rem;
}
.privacy-policy__content p {
  margin: 0 0 1.2rem 0;
}
.privacy-policy__content h2,
.privacy-policy__content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.privacy-policy__content h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}
.privacy-policy__content h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
}
.privacy-policy__content ul,
.privacy-policy__content ol {
  margin: 1rem 0 1.5rem 1.2rem;
  padding-left: 1rem;
}
.privacy-policy__content ul li,
.privacy-policy__content ol li {
  margin-bottom: 0.5rem;
}

.statistics-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.58fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.94), rgba(245, 243, 255, 0.94));
}
.statistics-page-hero__eyebrow {
  margin: 0 0 0.55rem;
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.statistics-page-hero__title {
  color: #212529;
  margin-bottom: 0.8rem;
}
.statistics-page-hero__lead {
  max-width: 62ch;
  margin: 0;
  color: #52647a;
}
.statistics-page-hero__illustration {
  width: min(100%, 360px);
  justify-self: end;
  color: #94a3b8;
}
.statistics-page-hero__window {
  fill: rgba(255, 255, 255, 0.78);
  stroke: rgba(37, 99, 235, 0.18);
  stroke-width: 2;
}
.statistics-page-hero__illustration > circle:not(.statistics-page-hero__point) {
  fill: currentColor;
  opacity: 0.55;
}
.statistics-page-hero__axis {
  fill: none;
  stroke: #cbd5e1;
  stroke-width: 2;
}
.statistics-page-hero__bar {
  fill: url("#statistics-gradient");
  opacity: 0.76;
}
.statistics-page-hero__trend {
  fill: none;
  stroke: #0f766e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}
.statistics-page-hero__point {
  fill: #0f766e;
  stroke: #ffffff;
  stroke-width: 4;
}

@media (max-width: 760px) {
  .statistics-page-hero {
    grid-template-columns: 1fr;
  }
  .statistics-page-hero__illustration {
    width: min(100%, 300px);
    justify-self: center;
  }
}
.theme-light .privacy-policy {
  color: #222;
}
.theme-light .privacy-policy__title {
  color: #222;
}
.theme-light .privacy-policy__content {
  background: #ffffff;
  color: #222;
}

.theme-dark .privacy-policy {
  color: #ffffff;
}
.theme-dark .privacy-policy__title {
  color: #ffffff;
}
.theme-dark .privacy-policy__content {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.theme-dark-clean .privacy-policy {
  color: #ffffff;
}
.theme-dark-clean .privacy-policy__title {
  color: #ffffff;
}
.theme-dark-clean .privacy-policy__content {
  background: none;
  box-shadow: none;
  color: #ffffff;
}

:root {
  /* === SPACING SCALE === */
  --spacing-xs: 0.625rem;
  --spacing-sm: 0.9375rem;
  --spacing-md: 1.25rem;
  --spacing-lg: 1.5625rem;
  --spacing-xl: 1.875rem;
  --spacing-xxl: 2.5rem;
  /* === BORDER RADIUS === */
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1.25rem;
  --border-radius-lg: 1.5625rem;
  --border-radius-pill: 999px;
  --border-radius: var(--border-radius-md);
  /* === TYPOGRAPHY === */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-xxl: 1.5rem;
  /* === SHADOWS === */
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.site-footer {
  width: 100%;
  margin-top: auto;
  color: var(--showcase-muted, #52647a);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.94) 0%, rgba(239, 246, 255, 0.98) 100%);
  border-top: 1px solid rgba(44, 88, 145, 0.12);
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.025);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 2rem;
  width: min(100% - 2.5rem, 1280px);
  margin-inline: auto;
  padding-block: 0.85rem;
  box-sizing: border-box;
}
.site-footer__links {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 1rem;
}
.site-footer__link {
  position: relative;
  color: var(--showcase-muted, #52647a);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}
.site-footer__link:hover {
  color: var(--showcase-blue, #1268e8);
}
.site-footer__link:focus-visible {
  color: var(--showcase-blue, #1268e8);
  outline: 2px solid rgba(18, 104, 232, 0.3);
  outline-offset: 4px;
  border-radius: 0.2rem;
}
.site-footer__legal {
  justify-self: center;
  min-width: 0;
  text-align: center;
}
.site-footer__copyright {
  display: block;
  color: var(--showcase-muted, #52647a);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0.82;
}
.site-footer__credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  justify-self: end;
  min-width: 0;
}
.site-footer--brand-tools .site-footer__inner {
  grid-template-columns: minmax(0, 1fr) auto;
}
.site-footer--brand-tools .site-footer__brand {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 1rem;
  min-width: 0;
}
.site-footer--brand-tools .site-footer__credit {
  justify-content: flex-start;
  justify-self: auto;
}
.site-footer--brand-tools .site-footer__links {
  justify-self: end;
}

@media (max-width: 40rem) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    width: min(100% - 2rem, 1280px);
    padding-block: 0.8rem;
  }
  .site-footer__links, .site-footer__legal, .site-footer__credit {
    justify-self: center;
  }
  .site-footer__links {
    justify-content: center;
    text-align: center;
  }
  .site-footer__credit {
    justify-content: center;
  }
  .site-footer__copyright {
    white-space: normal;
  }
  .site-footer--brand-tools .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .site-footer--brand-tools .site-footer__brand {
    flex-direction: column;
    justify-self: center;
    gap: 0.25rem;
    text-align: center;
  }
  .site-footer--brand-tools .site-footer__links {
    justify-self: center;
  }
}
@media (max-width: 29.9375rem) {
  .site-footer__inner {
    width: calc(100% - 1.5rem);
    gap: 0.45rem;
    padding-block: 0.7rem;
  }
  .site-footer__links {
    gap: 0.75rem;
  }
  .site-footer__link {
    font-size: 0.8rem;
  }
  .site-footer__copyright {
    font-size: 0.75rem;
  }
}
:root {
  /* === SPACING SCALE === */
  --spacing-xs: 0.625rem;
  --spacing-sm: 0.9375rem;
  --spacing-md: 1.25rem;
  --spacing-lg: 1.5625rem;
  --spacing-xl: 1.875rem;
  --spacing-xxl: 2.5rem;
  /* === BORDER RADIUS === */
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1.25rem;
  --border-radius-lg: 1.5625rem;
  --border-radius-pill: 999px;
  --border-radius: var(--border-radius-md);
  /* === TYPOGRAPHY === */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-xxl: 1.5rem;
  /* === SHADOWS === */
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.site-action-bar {
  z-index: 1000;
  color: #172033;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.site-action-bar__left, .site-action-bar__right {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.site-action-bar__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  margin: 0;
  text-decoration: none;
  background: transparent;
  border: 0;
  transition: transform 180ms ease;
}
.site-action-bar__contact:hover, .site-action-bar__contact:focus-visible {
  transform: translateY(-3px) scale(1.05);
}
.site-action-bar__contact:focus-visible {
  outline: 2px solid rgba(0, 96, 240, 0.45);
  outline-offset: 4px;
  border-radius: 8px;
}
.site-action-bar__contact-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
}
.site-action-bar__contact-image picture, .site-action-bar__contact-image img, .site-action-bar__contact-image svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}
.site-action-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}
.site-action-bar__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem;
  color: #29445f;
  font-size: var(--text-sm, 0.875rem);
  text-decoration: none;
  border-radius: var(--border-radius-sm, 6px);
  background: rgba(248, 251, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  transition: background-color 180ms ease, transform 180ms ease;
}
.site-action-bar__action:hover, .site-action-bar__action:focus-visible {
  background: rgb(255, 255, 255);
  transform: translateY(-1px);
}
.site-action-bar__flag, .site-action-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.425rem;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12), 0 3px 8px rgba(15, 23, 42, 0.16);
}
.site-action-bar__flag svg,
.site-action-bar__flag img, .site-action-bar__icon svg,
.site-action-bar__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-action-bar__label {
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}
.site-action-bar--floating {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  pointer-events: none;
}
.site-action-bar__right {
  gap: 0.5rem;
  margin-left: auto;
}
.site-action-bar {
  /* Przycisk jasny/ciemny motyw + para ikon do zamiany przez
     html[data-theme] - wspólne dla wszystkich aplikacji korzystających
     z theme-toggle-button.ejs, żeby nie duplikować tego per-app. */
}
.site-action-bar__theme-toggle, .site-action-bar__flag-link {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--border-radius-sm, 6px);
}
.site-action-bar__theme-icon {
  display: inline-flex;
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}
.site-action-bar__theme-icon--to-dark {
  color: #6366f1;
}
.site-action-bar__theme-icon--to-light {
  display: none;
}

html[data-theme=dark] .site-action-bar__theme-icon--to-dark {
  display: none;
}
html[data-theme=dark] .site-action-bar__theme-icon--to-light {
  display: inline-flex;
  color: #f59e0b;
}

@media (max-width: 29.9375rem) {
  .site-action-bar--floating {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }
  .site-action-bar__contact, .site-action-bar__contact-image {
    width: 60px;
    height: 60px;
  }
}
.zcn-page {
  --paper:#f7f5ef;
  --ink:#263e35;
  --muted:#57665e;
  --line:#d7dcd2;
  --card:#fffef9;
  --accent:#a84326;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}
.zcn-page *, .zcn-page *::before, .zcn-page *::after {
  box-sizing: border-box;
}
.zcn-page [hidden] {
  display: none !important;
}
.zcn-page a {
  color: inherit;
}
.zcn-page button, .zcn-page input, .zcn-page select {
  font: inherit;
}
.zcn-page button:focus-visible, .zcn-page a:focus-visible, .zcn-page input:focus-visible, .zcn-page select:focus-visible, .zcn-page summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.zcn-page button, .zcn-page summary {
  cursor: pointer;
}
.zcn-page .wrap {
  width: min(1240px, 100% - 64px);
  margin-inline: auto;
}
.zcn-page .zcn-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 25px;
  border-bottom: 1px solid var(--line);
}
.zcn-page .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 22px;
  letter-spacing: -0.8px;
}
.zcn-page .brand strong {
  font-weight: 750;
}
.zcn-page .brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 43px;
  border-radius: 50% 50% 6px 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 28px;
}
.zcn-page .zcn-header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
.zcn-page .zcn-header nav a {
  text-decoration: none;
}
.zcn-page .zcn-header nav a:hover {
  text-decoration: underline;
}
.zcn-page .hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 55px;
  align-items: center;
  padding-block: 75px;
}
.zcn-page .eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  margin: 0 0 20px;
}
.zcn-page h1 {
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.1;
  letter-spacing: -2.8px;
  font-weight: 650;
  margin: 0 0 25px;
}
.zcn-page h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
}
.zcn-page .lead {
  font-size: 18px;
  max-width: 490px;
  color: var(--muted);
  margin-bottom: 12px;
}
.zcn-page .lead-seo {
  font-size: 15px;
  max-width: 520px;
  color: var(--muted);
  opacity: 0.85;
  margin: 0 0 26px;
}
.zcn-page .button {
  display: inline-flex;
  gap: 35px;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 650;
}
.zcn-page .button:hover {
  background: var(--accent);
}
.zcn-page .hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.zcn-page .idea-board {
  position: relative;
  height: 400px;
  border-radius: 140px 140px 15px 15px;
  background: #e6eadb;
  overflow: hidden;
  color: #263e35;
}
.zcn-page .board-note, .zcn-page .board-bottom {
  position: absolute;
  font-size: 9px;
  letter-spacing: 2px;
  left: 0;
  right: 0;
  text-align: center;
}
.zcn-page .board-note {
  top: 28px;
}
.zcn-page .board-bottom {
  bottom: 24px;
}
.zcn-page .tile {
  position: absolute;
  width: 205px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(38, 62, 53, 0.0705882353);
  font-size: 14px;
}
.zcn-page .tile span {
  font-family: Georgia, serif;
  font-size: 62px;
  line-height: 1.05;
  padding-bottom: 9px;
}
.zcn-page .tile-one {
  background: #edbca7;
  left: 32px;
  top: 74px;
  transform: rotate(-12deg);
}
.zcn-page .tile-two {
  background: #faf8e8;
  right: 25px;
  top: 140px;
  transform: rotate(10deg);
}
.zcn-page .tile-three {
  background: #ccd587;
  left: 68px;
  top: 211px;
  transform: rotate(-5deg);
}
.zcn-page .catalog {
  border-top: 1px solid var(--line);
  padding-block: 42px 65px;
  scroll-margin-top: 20px;
}
.zcn-page .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}
.zcn-page h2 {
  font-size: clamp(26px, 3vw, 37px);
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 0;
  font-weight: 600;
}
.zcn-page .section-heading .eyebrow {
  margin-bottom: 12px;
}
.zcn-page .text-button {
  background: none;
  border: 0;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
.zcn-page .text-button:disabled {
  opacity: 0.5;
  cursor: default;
}
.zcn-page .filter-fields {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 15px;
}
.zcn-page label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
.zcn-page input, .zcn-page select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: var(--card);
  font-size: 14px;
  min-height: 49px;
}
.zcn-page .categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.zcn-page .categories button {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 7px 13px;
  font-size: 12px;
}
.zcn-page .categories button[aria-pressed=true] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.zcn-page .catalog-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
}
.zcn-page .catalog-note p {
  margin: 0;
  max-width: 720px;
}
.zcn-page #result-count {
  white-space: nowrap;
}
.zcn-page .idea-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.zcn-page .idea-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 25px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
}
.zcn-page .card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.7px;
  color: var(--accent);
}
.zcn-page .card-number {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--muted);
  font-size: 22px;
}
.zcn-page .idea-card h3 {
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin: 20px 0 12px;
  font-weight: 600;
}
.zcn-page .idea-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}
.zcn-page details {
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.zcn-page summary {
  padding-top: 14px;
  font-size: 13px;
  font-weight: 650;
}
.zcn-page summary span {
  float: right;
}
.zcn-page .first-step {
  padding-top: 16px;
}
.zcn-page .first-step a {
  font-size: 13px;
  color: var(--accent);
  font-weight: 650;
}
.zcn-page .empty-state {
  padding: 35px;
  text-align: center;
  border: 1px dashed var(--line);
}
.zcn-page .how {
  padding-block: 45px 65px;
  border-top: 1px solid var(--line);
}
.zcn-page .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 35px;
}
.zcn-page .steps span {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--accent);
}
.zcn-page .steps h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0;
}
.zcn-page .steps p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.zcn-page > .site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-bottom: 85px;
}
.zcn-page .site-footer__link, .zcn-page .site-footer__copyright {
  color: var(--muted);
}
.zcn-page .skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px;
  background: var(--ink);
  color: var(--paper);
}
.zcn-page .skip-link:focus {
  top: 10px;
}

html[data-theme=dark] .zcn-page {
  --paper:#172820;
  --ink:#f4f2e7;
  --muted:#bfcbbb;
  --line:#405247;
  --card:#20372b;
  --accent:#efac8b;
  color-scheme: dark;
}

@media (max-width: 1000px) {
  .zcn-page .hero {
    gap: 25px;
  }
  .zcn-page .idea-board {
    height: 370px;
  }
  .zcn-page .tile {
    width: 170px;
  }
  .zcn-page .tile-one {
    left: 20px;
  }
  .zcn-page .tile-three {
    left: 35px;
    top: 190px;
  }
  .zcn-page .idea-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .zcn-page .wrap {
    width: calc(100% - 36px);
  }
  .zcn-page .zcn-header {
    padding-block: 20px;
  }
  .zcn-page .brand {
    font-size: 19px;
  }
  .zcn-page .zcn-header nav {
    font-size: 12px;
  }
  .zcn-page .zcn-header nav a:last-child {
    display: none;
  }
  .zcn-page .hero {
    grid-template-columns: 1fr;
    padding-block: 40px;
    gap: 30px;
  }
  .zcn-page h1 {
    letter-spacing: -1.8px;
  }
  .zcn-page .lead {
    font-size: 16px;
  }
  .zcn-page .lead-seo {
    font-size: 14px;
  }
  .zcn-page .idea-board {
    height: 320px;
    max-width: 450px;
    width: 100%;
    margin: auto;
  }
  .zcn-page .tile {
    height: 130px;
  }
  .zcn-page .tile-one {
    left: 12%;
    top: 60px;
  }
  .zcn-page .tile-two {
    right: 9%;
    top: 112px;
  }
  .zcn-page .tile-three {
    left: 23%;
    top: 158px;
  }
  .zcn-page .filter-fields, .zcn-page .steps, .zcn-page .idea-grid {
    grid-template-columns: 1fr;
  }
  .zcn-page .idea-card {
    min-height: 0;
  }
  .zcn-page .catalog-note {
    flex-direction: column;
    gap: 8px;
  }
  .zcn-page .section-heading {
    align-items: flex-end;
  }
  .zcn-page .text-button {
    white-space: nowrap;
  }
  .zcn-page .steps {
    gap: 25px;
  }
}