/* Homepage PL/EN. Readable controls and a shared rhythm without changing the export. */
body.u14-refresh .u14-home {
  --home-muted: #595956;
  font-size: 16px;
  line-height: 1.7;
}
body.u14-refresh .u14-home .u14-hero {
  min-height: 610px;
  padding-block: 72px;
}
body.u14-refresh .u14-home .u14-hero-content { width: 100%; max-width: 940px; }
body.u14-refresh .u14-home .u14-hero :is(h1, #home-editor-title) {
  max-width: 940px;
  margin: 0 0 26px;
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: 1.08;
}
body.u14-refresh .u14-home .u14-hero-description {
  max-width: 54ch;
  font-size: 18px;
  line-height: 1.7;
  color: #fff;
}
body.u14-refresh .u14-home .u14-button {
  min-height: 54px;
  padding: 15px 28px;
  max-width: 100%;
  justify-content: center;
  font-size: 16px;
  line-height: 1.5;
  transform: none;
}
body.u14-refresh .u14-home :is(.u14-hero, .u14-cta) a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
body.u14-refresh .u14-home .u14-section h2 { margin-top: 0; }
body.u14-refresh .u14-home .u14-section-head { gap: 24px 48px; }
body.u14-refresh .u14-home .u14-section-head > div { min-width: 0; }
body.u14-refresh .u14-home .u14-section-head > p {
  flex: 0 1 360px;
  max-width: 38ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--home-muted);
}
body.u14-refresh .u14-home .u14-text-link {
  flex-shrink: 0;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.5;
  white-space: normal;
}
body.u14-refresh .u14-home .u14-service p {
  max-width: 38ch;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.7;
}
body.u14-refresh .u14-home .u14-service h3 { font-size: 24px; line-height: 1.25; }
body.u14-refresh .u14-home .u14-blank-categories { margin: 0 0 28px; }
body.u14-refresh .u14-home .u14-blank-categories a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 18px;
}
body.u14-refresh .u14-home .u14-product-info h3 { font-size: 18px; line-height: 1.4; }
body.u14-refresh .u14-home .u14-case > div:last-child { flex-wrap: wrap; gap: 6px 16px; }
body.u14-refresh .u14-home .u14-case > div > span {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.5;
}
body.u14-refresh .u14-home .u14-eyebrow { font-size: 12px; color: var(--home-muted); }
body.u14-refresh .u14-home .u14-cases .u14-eyebrow { margin-bottom: 16px; }
body.u14-refresh .u14-home .u14-journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.u14-refresh .u14-home .u14-story { min-width: 0; }
body.u14-refresh .u14-home .u14-story h3 { font-size: 24px; line-height: 1.3; }
body.u14-refresh .u14-home .u14-story-link { font-size: 15px; color: var(--home-muted); }
body.u14-refresh .u14-home .u14-faq { gap: 48px 80px; }
body.u14-refresh .u14-home .u14-faq .u14-eyebrow { margin-bottom: 16px; }
body.u14-refresh .u14-home .u14-faq .u14-text-link { margin-top: 24px; }
body.u14-refresh .u14-home .u14-question summary { font-size: 17px; line-height: 1.5; }
body.u14-refresh .u14-home .u14-question > div { font-size: 16px; line-height: 1.75; color: var(--home-muted); }
body.u14-refresh .u14-home .u14-question summary > span { flex: 0 0 24px; text-align: center; }
/* UJ14 kontra reszta: ciemna karta UJ14 obok przygaszonej. Wspólna siatka trzyma wiersze obu kart na tej samej wysokości. */
body.u14-refresh .u14-home .u14-compare { padding-top: 32px; padding-bottom: 72px; }
body.u14-refresh .u14-home .u14-compare-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(9, auto);
  column-gap: 24px;
}
body.u14-refresh .u14-home :is(.u14-compare-card, .u14-compare-card > div, .u14-compare-card ul) {
  display: grid;
  grid-template-rows: subgrid;
}
body.u14-refresh .u14-home .u14-compare-card { grid-row: span 9; padding: 6px; border-radius: 26px; }
body.u14-refresh .u14-home .u14-compare-card > div { grid-row: span 9; padding: 36px; border-radius: 20px; }
body.u14-refresh .u14-home .u14-compare-card header { padding-bottom: 28px; border-bottom: 1px solid; }
body.u14-refresh .u14-home .u14-compare-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
body.u14-refresh .u14-home .u14-compare-name h2 { margin: 0; color: inherit; font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: -.03em; }
body.u14-refresh .u14-home .u14-compare-name span {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--u14-red);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
body.u14-refresh .u14-home .u14-compare-card header > p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; }
body.u14-refresh .u14-home .u14-compare-card ul {
  grid-row: span 7;
  margin: 0 0 28px;
  padding: 20px 0;
  border-bottom: 1px solid;
  list-style: none;
}
body.u14-refresh .u14-home .u14-compare-card li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 9px 0;
}
body.u14-refresh .u14-home .u14-compare-card li svg { width: 28px; height: 28px; padding: 6px; border-radius: 8px; }
body.u14-refresh .u14-home .u14-compare-card li p { margin: 0; font-size: 16px; line-height: 28px; }
body.u14-refresh .u14-home .u14-compare-card > div > a {
  width: 100%;
  transition: transform 400ms cubic-bezier(.32, .72, 0, 1), background-color 300ms cubic-bezier(.32, .72, 0, 1), color 300ms cubic-bezier(.32, .72, 0, 1);
}
body.u14-refresh .u14-home .u14-compare-card > div > a:active { transform: scale(.98); }
body.u14-refresh .u14-home .u14-compare-card > div > a:focus-visible { outline: 2px solid var(--u14-red); outline-offset: 3px; }
body.u14-refresh .u14-home .u14-compare-ours {
  background: rgb(203 21 23 / .1);
  box-shadow: 0 0 0 1px rgb(203 21 23 / .16), 0 32px 64px -32px rgb(23 23 23 / .4);
}
body.u14-refresh .u14-home .u14-compare-ours > div { background: #141414; color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .12); }
body.u14-refresh .u14-home .u14-compare-ours :is(header, ul) { border-color: rgb(255 255 255 / .14); }
body.u14-refresh .u14-home .u14-compare-ours header > p { color: #c9c9c5; }
body.u14-refresh .u14-home .u14-compare-ours li svg { background: var(--u14-red); color: #fff; }
body.u14-refresh .u14-home .u14-compare-ours li p { color: #fff; font-weight: 500; }
body.u14-refresh .u14-home .u14-compare-ours > div > a:focus-visible { outline-color: #fff; }
body.u14-refresh .u14-home .u14-compare-theirs { background: rgb(23 23 23 / .025); box-shadow: 0 0 0 1px rgb(23 23 23 / .06); }
body.u14-refresh .u14-home .u14-compare-theirs > div { background: var(--u14-paper); color: var(--home-muted); box-shadow: inset 0 1px 0 #fff; }
body.u14-refresh .u14-home .u14-compare-theirs :is(header, ul) { border-color: var(--u14-line); }
body.u14-refresh .u14-home .u14-compare-theirs li svg { background: rgb(23 23 23 / .07); color: var(--home-muted); }
body.u14-refresh .u14-home .u14-compare-theirs > div > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 28px;
  border: 1px solid rgb(23 23 23 / .18);
  border-radius: 40px;
  color: var(--u14-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
body.u14-refresh .u14-home .u14-compare-theirs > div > a:hover { background: #fff; color: var(--u14-red); }
/* Karty wjeżdżają przy przewijaniu. Bez wsparcia w przeglądarce po prostu stoją. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body.u14-refresh .u14-home .u14-compare-card {
      animation: u14-compare-in cubic-bezier(.32, .72, 0, 1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}
@keyframes u14-compare-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
/* Tekst SEO ma układ FAQ: tytuł po lewej, treść po prawej. */
body.u14-refresh .u14-home .u14-about-text {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
  gap: 48px 80px;
  padding-top: 25px;
  padding-bottom: 95px;
}
body.u14-refresh .u14-home .u14-about-text > h2 { margin-top: 0; }
body.u14-refresh .u14-home .u14-about-text p { margin: 0; color: var(--home-muted); font-size: 16px; line-height: 1.75; }
body.u14-refresh .u14-home .u14-about-text h3 { margin: 32px 0 8px; font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
/* Motyw zdejmuje podkreślenie wszystkim linkom przez !important, a w tekście link musi być widoczny. */
body.u14-refresh .u14-home :is(.u14-about-text, .u14-question) a { text-decoration: underline !important; text-underline-offset: 3px; }
body.u14-refresh .u14-home :is(.u14-about-text, .u14-question) a:hover { color: var(--u14-red); }
body.u14-refresh .u14-home :is(.u14-product, .u14-story, .u14-brand):focus-visible {
  outline: 2px solid var(--u14-red);
  outline-offset: 5px;
}

@media (max-width: 1100px) {
  body.u14-refresh .u14-home :is(.u14-faq, .u14-about-text) { gap: 36px; }
  body.u14-refresh .u14-home .u14-service h3 { font-size: 22px; }
  body.u14-refresh .u14-home .u14-compare-card > div { padding: 28px; }
}
@media (max-width: 1000px) {
  body.u14-refresh .u14-home .u14-about-text { display: block; padding-top: 0; }
  body.u14-refresh .u14-home .u14-about-text > div { margin-top: 30px; }
  body.u14-refresh .u14-home .u14-compare { padding-top: 0; }
  body.u14-refresh .u14-home .u14-compare-cards { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 16px; }
  body.u14-refresh .u14-home :is(.u14-compare-card, .u14-compare-card > div, .u14-compare-card ul) { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 749px) {
  body.u14-refresh .u14-home .u14-compare-card { border-radius: 22px; }
  body.u14-refresh .u14-home .u14-compare-card > div { padding: 24px 20px; border-radius: 16px; }
  body.u14-refresh .u14-home .u14-compare-card header { padding-bottom: 20px; }
  body.u14-refresh .u14-home .u14-compare-name h2 { font-size: 22px; }
  body.u14-refresh .u14-home .u14-compare-card ul { margin-bottom: 20px; padding: 12px 0; }
  body.u14-refresh .u14-home .u14-compare-card li { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
  body.u14-refresh .u14-home .u14-compare-card li svg { width: 24px; height: 24px; padding: 5px; border-radius: 7px; }
  body.u14-refresh .u14-home .u14-compare-card li p { font-size: 15px; line-height: 24px; }
  body.u14-refresh .u14-home :is(.u14-compare, .u14-about-text) { padding-bottom: 56px; }
  body.u14-refresh .u14-home .u14-hero { min-height: 570px; padding: 48px 24px; }
  body.u14-refresh .u14-home .u14-hero :is(h1, #home-editor-title) { font-size: clamp(30px, 9.5vw, 48px); }
  body.u14-refresh .u14-home .u14-hero-description { font-size: 16px; line-height: 1.65; }
  body.u14-refresh .u14-home .u14-hero::before {
    background: linear-gradient(90deg, rgb(0 0 0 / .78), rgb(0 0 0 / .5));
  }
  body.u14-refresh .u14-home .u14-section { padding-block: 56px; }
  body.u14-refresh .u14-home .u14-section-head { margin-bottom: 28px; }
  body.u14-refresh .u14-home .u14-section-head > .u14-text-link { margin-top: 16px; }
  body.u14-refresh .u14-home .u14-section-head > p { margin-top: 20px; font-size: 16px; }
  body.u14-refresh .u14-home .u14-services { grid-template-columns: 1fr; gap: 36px; }
  body.u14-refresh .u14-home .u14-service-image { aspect-ratio: 1.5; }
  body.u14-refresh .u14-home .u14-service h3 { margin: 16px 0 8px; }
  body.u14-refresh .u14-home .u14-product-grid { gap: 28px 16px; }
  body.u14-refresh .u14-home .u14-product-info { margin-top: 12px; }
  body.u14-refresh .u14-home .u14-product-info h3 { font-size: 16px; }
  body.u14-refresh .u14-home .u14-blank-categories { gap: 8px; }
  body.u14-refresh .u14-home .u14-blank-categories a { padding-inline: 15px; }
  body.u14-refresh .u14-home .u14-brand-intro { gap: 8px; margin-bottom: 20px; }
  body.u14-refresh .u14-home .u14-brand-grid { row-gap: 0; }
  body.u14-refresh .u14-home .u14-story h3 { font-size: 23px; }
  body.u14-refresh .u14-home .u14-journal-grid { grid-template-columns: 1fr; gap: 36px; }
  body.u14-refresh .u14-home .u14-faq { gap: 28px; }
  body.u14-refresh .u14-home .u14-faq .u14-text-link { margin-top: 16px; }
  body.u14-refresh .u14-home .u14-cta { padding: 48px 24px; }
}
@media (max-width: 360px) {
  body.u14-refresh .u14-home .u14-hero { padding-inline: 20px; }
  body.u14-refresh .u14-home .u14-cta { padding-inline: 20px; }
}
/* Only interaction feedback moves; logos remain static and reduced motion stays quiet. */
@media (prefers-reduced-motion: reduce) {
  body.u14-refresh .u14-home :is(a, img, button) { transition: none; }
  body.u14-refresh .u14-home :is(.u14-service, .u14-case, .u14-story):hover img { transform: none; }
}

/* Pełna treść oferty jest widoczna bez rozwijania, także na telefonie. */
body.u14-refresh .u14-home .u14-about-text { display: block; padding-top: 32px; padding-bottom: 56px; }
body.u14-refresh .u14-home .u14-about-text > div { margin-top: 0; }
body.u14-refresh .u14-home .u14-about-intro { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px 64px; align-items: start; }
body.u14-refresh .u14-home .u14-about-intro h2 { margin: 0; max-width: 22ch; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; letter-spacing: -.025em; }
body.u14-refresh .u14-home .u14-about-text p { font-size: 15px; line-height: 1.8; }
body.u14-refresh .u14-home .u14-about-text .u14-about-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--home-line, #dededb); }
body.u14-refresh .u14-home .u14-about-text h3 { font-size: 18px; margin: 0 0 10px; line-height: 1.4; }
body.u14-refresh .u14-home .u14-about-topic { min-width: 0; }
@media (max-width: 767px) {
  body.u14-refresh .u14-home .u14-about-intro { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body.u14-refresh .u14-home .u14-about-text .u14-about-topics { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 28px; padding-top: 28px; }
  body.u14-refresh .u14-home .u14-about-text { padding-bottom: 40px; }
}

/* FAQ: spokojniejszy nagłówek i krótsze wiersze, treść nadal dostępna w HTML. */
body.u14-refresh .u14-home .u14-faq { grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: 32px 64px; }
body.u14-refresh .u14-home .u14-faq h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; max-width: 15ch; }
body.u14-refresh .u14-home .u14-question { padding: 0; }
body.u14-refresh .u14-home .u14-question summary { padding: 18px 0; font-size: 16px; gap: 20px; }
body.u14-refresh .u14-home .u14-question > div { padding: 0 36px 20px 0; font-size: 15px; line-height: 1.7; }
@media (max-width: 760px) { body.u14-refresh .u14-home .u14-faq { grid-template-columns: 1fr; gap: 24px; } }

.u14-home-slider {
  position: relative;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.u14-home-slider legend, .u14-slide-controls input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.u14-home-slider:not(:has(#home-slide-2:checked)) #home-panel-2,
.u14-home-slider:has(#home-slide-2:checked) #home-panel-1 { display: none; }
.u14-slide-controls {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: #242422;
  color: white;
}
.u14-slide-controls label {
  display: grid;
  place-items: center;
  padding: 0 11px;
  min-height: 28px;
  border-radius: inherit;
  font-size: 12px;
  cursor: pointer;
}
.u14-slide-controls input:checked + label { background: white; color: #191917; }
.u14-slide-controls input:focus-visible + label { outline: 2px solid white; outline-offset: 2px; }
.u14-home #home-editor-title { color: white; font-weight: 500; letter-spacing: -.055em; }

@media (max-width: 480px) {
  .u14-slide-controls label { padding-inline: 10px; }
}

@media (min-width: 1440px) {
  body.u14-refresh .u14-home .u14-section {
    max-width: clamp(1360px, calc(1000px + 25vw), 1840px);
  }
  body.u14-refresh .u14-home .u14-section-head > p {
    flex-basis: clamp(360px, 23vw, 450px);
    max-width: 44ch;
  }
}

#home-panel-2 .u14-hero-image { object-position: 67% center; }

/* Keep the dark copy area clear of the print in the creator campaign. */
body.u14-refresh #home-panel-2 {
  isolation: isolate;
  background: #211e19;
  min-height: clamp(440px, 38vw, 690px);
  padding-inline: clamp(28px, 6vw, 144px);
}
body.u14-refresh #home-panel-2 .u14-hero-image {
  object-fit: cover;
  object-position: 58% 50%;
}
body.u14-refresh #home-panel-2::before {
  background: linear-gradient(90deg, rgba(16,14,12,.93), rgba(16,14,12,.76) 28%, transparent 63%);
}
body.u14-refresh #home-panel-2 .u14-hero-content { max-width: min(48%, 840px); }
body.u14-refresh #home-panel-2 #home-editor-title {
  font-size: clamp(44px, 5vw, 88px);
  line-height: 1.01;
  text-wrap: balance;
}
body.u14-refresh #home-panel-2 .u14-hero-description { max-width: 34ch; }
@media (max-width: 749px) {
  body.u14-refresh #home-panel-2 {
    min-height: 535px;
    align-content: end;
    align-items: flex-end;
    padding: 220px 24px 68px;
  }
  body.u14-refresh #home-panel-2 .u14-hero-image {
    height: 64%;
    object-position: 77% 48%;
  }
  body.u14-refresh #home-panel-2::before {
    background: linear-gradient(0deg, #211e19 36%, rgba(33,30,25,.92) 43%, transparent 68%);
  }
  body.u14-refresh #home-panel-2 .u14-hero-content { max-width: 100%; }
  body.u14-refresh #home-panel-2 #home-editor-title { font-size: clamp(38px, 9vw, 58px); margin-bottom: 12px; }
}
