/* PeP ABS POS – main stylesheet */

:root {
  /* ABS POS blue + PeP orange (#f39325) */
  --abs: #103d85;
  --abs-deep: #0c2f68;
  --abs-soft: #2456a8;
  --abs-glow: rgba(16, 61, 133, 0.28);
  --pep: #f39325;
  --pep-deep: #d97a12;
  --pep-ink: #202d54;
  --ink: #12151c;
  --ink-soft: #2f3640;
  --mist: #eef2f8;
  --paper: #f4f7fa;
  --teal: var(--abs);
  --teal-deep: var(--abs-deep);
  --teal-glow: var(--abs-glow);
  --lime: #ffffff;
  --sand: #8fa4c8;
  --white: #ffffff;
  --line: rgba(16, 61, 133, 0.14);
  --shadow: 0 24px 60px rgba(10, 10, 10, 0.12);
  --radius: 18px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header – pełna szerokość tła */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(245, 247, 251, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 247, 251, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  max-width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.brand-logo-abs {
  height: 40px;
  width: auto;
  display: block;
}

.brand-logo-pep {
  height: 26px;
  width: auto;
  display: block;
}

.brand-plus {
  color: var(--abs);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

/* PeP × ABS POS partnership lockup
   PeP mark LEFT | divider | ABS POS RIGHT
*/
.partner-lockup {
  --x: 28px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding-block: calc(var(--x) * 0.5);
  padding-inline: calc(var(--x) * 0.75);
  gap: 0;
}

.partner-lockup__pep {
  display: block;
  height: calc(var(--x) * 1.35);
  width: calc(var(--x) * 1.35);
  min-width: 0;
  flex-shrink: 0;
  border-radius: 50%;
}

.partner-lockup__divider {
  display: block;
  width: 1px;
  height: calc(var(--x) * 1.15);
  background: currentColor;
  opacity: 0.35;
  margin-left: var(--x); /* 1x after PeP */
  margin-right: calc(var(--x) * 1.5); /* 1.5x before partner */
  flex-shrink: 0;
}

.partner-lockup__partner {
  display: block;
  height: calc(var(--x) * 1.35);
  width: auto;
  flex-shrink: 0;
}

/* Header: keep clearspace toward nav (≈2x) */
.header-inner > .partner-lockup,
.header-inner > a.partner-lockup {
  margin-right: calc(var(--x, 28px) * 1.25);
  padding-inline-start: 0;
  color: var(--ink);
}

.partner-lockup--header {
  --x: 26px;
  padding-block: calc(var(--x) * 0.35);
  padding-inline: 0;
}

.partner-lockup--hero {
  --x: clamp(34px, 3.5vw + 1rem, 48px);
  padding: calc(var(--x) * 0.4) 0;
  color: var(--ink);
}

.partner-lockup--cta,
.partner-lockup--footer {
  --x: 32px;
  color: var(--white);
  padding: calc(var(--x) * 0.5) 0;
}

.partner-lockup--cta .partner-lockup__divider,
.partner-lockup--footer .partner-lockup__divider {
  background: #fff;
  opacity: 0.45;
}

.partner-lockup--cta {
  --x: clamp(36px, 5vw, 48px);
  justify-content: center;
}

.partner-lockup--footer {
  --x: 28px;
  margin-bottom: 0.85rem;
}

@media (max-width: 767px) {
  .partner-lockup--header {
    --x: 22px;
  }

  .partner-lockup--header .partner-lockup__pep {
    min-width: 0;
    height: 34px;
    width: 34px;
  }

  .partner-lockup--header .partner-lockup__partner {
    height: 34px;
  }
}

.nav-desktop {
  display: none;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-desktop a {
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-desktop a:hover {
  opacity: 1;
}

.header-cta {
  display: none;
  gap: 0.5rem;
  margin-left: 0.5rem;
  align-items: center;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  margin-right: 0;
  font-family: var(--font-display, Syne, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-switch__link {
  color: #445063;
  text-decoration: none;
  padding: 0.2rem 0.15rem;
  transition: color 0.2s ease;
}

.lang-switch__link:hover,
.lang-switch__link.is-active {
  color: var(--ink, #0a0a0a);
}

.lang-switch__link.is-active {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lang-switch__sep {
  opacity: 0.35;
  user-select: none;
}

.lang-switch--mobile {
  padding: 0.5rem 0 0.75rem;
  margin: 0 0 0.5rem;
  border-bottom: 1px solid var(--line, #e5e7eb);
  width: 100%;
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-mobile {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  font-weight: 600;
  padding: 0.35rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-align: center;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--abs);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(16, 61, 133, 0.28);
}

.btn-primary:hover {
  background: var(--abs-deep);
  box-shadow: 0 14px 36px rgba(16, 61, 133, 0.35);
}

.btn-pep {
  background: var(--pep);
  color: #1a1208;
  box-shadow: 0 10px 30px rgba(243, 147, 37, 0.35);
}

.btn-pep:hover {
  background: var(--pep-deep);
  color: #fff;
  box-shadow: 0 14px 36px rgba(217, 122, 18, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--abs);
  border-color: var(--abs);
}

.btn-secondary:hover {
  background: var(--abs);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  width: 100%;
  padding: 3rem 0 3.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(16, 61, 133, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(16, 61, 133, 0.08), transparent 50%),
    linear-gradient(165deg, #f7f9fc 0%, #e4ebf6 45%, #d5dff0 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 10s ease-in-out infinite;
}

.hero-orb-a {
  width: 280px;
  height: 280px;
  background: var(--abs-glow);
  top: 8%;
  right: 12%;
}

.hero-orb-b {
  width: 200px;
  height: 200px;
  background: rgba(16, 61, 133, 0.12);
  bottom: 12%;
  left: 8%;
  animation-delay: -4s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 26, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 26, 23, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes float-product {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(-2deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding-inline: 0;
}

.hero-brand {
  margin: 0 0 1.25rem;
  animation: rise 0.8s ease both;
}

.hero-headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 20ch;
  animation: rise 0.8s ease 0.1s both;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 38ch;
  animation: rise 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s ease 0.3s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rise 1s ease 0.35s both;
  width: min(100% - 2rem, 400px);
  margin-inline: auto;
}

.hero-product {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 48px rgba(10, 10, 10, 0.2));
  transform: rotate(-2deg);
  animation: float-product 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-product {
    animation: none;
  }
}

/* Sections */
.section {
  padding: clamp(3rem, 2.5rem + 2vw, 5rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}

/* Benefits */
.benefits {
  background: var(--white);
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.benefit-list li {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.benefit-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.benefit-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.benefit-list p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* Product photos */
.product-shots {
  margin-top: 2.75rem;
  display: grid;
  gap: 1.25rem;
}

.product-shot {
  margin: 0;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.product-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 1.25rem;
}

.product-shot figcaption {
  display: none;
}

.seo-block {
  margin-top: 3rem;
  padding: 2rem 0 0;
}

.seo-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.seo-block p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  max-width: 70ch;
}

/* Devices */
.devices {
  background:
    linear-gradient(180deg, var(--paper), #e4ebf6 40%, var(--paper));
}

.brand-block {
  margin-bottom: 2.75rem;
}

.brand-block-head {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.brand-logo-imin {
  height: 28px;
}

.brand-logo-landi {
  height: 44px;
  width: auto;
  border-radius: 10px;
}

.device-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.device-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.device-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 61, 133, 0.1);
}

.device-card-media {
  aspect-ratio: 1;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.device-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.device-card-media--dark {
  background: #0c0e12;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.device-card h3 {
  margin: 0.9rem 1rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.device-card p {
  margin: 0 1rem 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.devices-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Printers */
.printers {
  background: var(--abs-deep);
  color: var(--mist);
}

.printers .section-head p {
  color: rgba(232, 243, 241, 0.72);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-bottom: 0;
  align-items: center;
}

.logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 52px;
  padding: 0.35rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  aspect-ratio: auto;
}

.logo-pill img {
  width: auto;
  height: 100%;
  max-width: min(180px, 28vw);
  object-fit: contain;
  display: block;
}

.printers .seo-block p {
  color: rgba(232, 243, 241, 0.78);
}

/* Virtual */
.virtual {
  background: var(--white);
}

.virtual-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.virtual-copy p {
  color: var(--ink-soft);
  max-width: 70ch;
}

.virtual-copy .hero-actions {
  margin-top: 1.5rem;
}

.virtual-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.virtual-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 1.5rem;
}

/* Industries */
.industries {
  background:
    linear-gradient(180deg, #eef2f8 0%, #f5f7fb 100%);
}

.industry-board {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.industry-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.85rem 1.1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}

.industry-item:hover {
  background: rgba(16, 61, 133, 0.04);
}

.industry-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--abs);
  line-height: 1.6;
  padding-top: 0.15rem;
}

.industry-body h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.industry-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 42ch;
  line-height: 1.45;
}

.compat-row {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.compat-row > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.compat-row strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.compat-row span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Steps / process flow */
.how {
  background: var(--white);
}

.process {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.process-step {
  display: grid;
  gap: 0.4rem;
  padding: 1.35rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
}

.process-num {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--abs);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.process-step strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.process-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 28ch;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--abs);
  padding: 0.15rem 0;
  list-style: none;
}

.process-arrow svg {
  transform: rotate(90deg);
  width: 28px;
  height: 28px;
  opacity: 0.85;
}

.how-photo {
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  max-width: 320px;
  width: 100%;
}

.how-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 1.25rem;
}

/* FAQ */
.faq {
  background: #e4ebf6;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.25rem 1.25rem;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(16, 61, 133, 0.35);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.1rem 0;
  list-style: none;
  letter-spacing: -0.015em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--abs);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  max-width: 70ch;
}

/* Longform */
.longform {
  background: var(--white);
}

.longform-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.longform-body h3:first-child {
  margin-top: 0;
}

.longform-body p {
  color: var(--ink-soft);
  max-width: 72ch;
  margin: 0 0 1rem;
}

/* CTA final */
.cta-final {
  padding-bottom: clamp(3.5rem, 3rem + 2vw, 5.5rem);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(16, 61, 133, 0.16), transparent 50%),
    var(--paper);
}

.cta-panel {
  text-align: center;
  padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 1.5rem;
  background: linear-gradient(145deg, var(--abs-deep), #061428 60%, #000);
  color: var(--mist);
  border-radius: 28px;
  box-shadow: var(--shadow);
  max-width: 100%;
}

.cta-logos {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.cta-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--white);
}

.cta-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.cta-panel > p {
  margin: 0 auto 1.75rem;
  max-width: 40ch;
  color: rgba(232, 243, 241, 0.75);
}

.cta-panel .btn-primary,
.cta-panel .btn-pep {
  background: var(--white);
  color: var(--abs);
  box-shadow: none;
}

.cta-panel .btn-primary:hover,
.cta-panel .btn-pep:hover {
  background: var(--mist);
  color: var(--abs-deep);
}

.cta-panel .btn-secondary {
  color: var(--mist);
  border-color: rgba(232, 242, 248, 0.35);
}

.cta-panel .btn-secondary:hover {
  background: var(--mist);
  color: var(--abs-deep);
}

.cta-panel .hero-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #05080f;
  color: rgba(232, 242, 248, 0.72);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand-logos {
  margin-bottom: 0.85rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-logo span:last-child {
  color: #8fa4c8;
}

.site-footer h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin: 0 0 0.85rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: #a8c0ef;
}

.footer-bottom {
  border-top: 1px solid rgba(232, 243, 241, 0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

.footer-note {
  opacity: 0.65;
}

.page-fallback {
  padding: 4rem 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    font-size: 0.95rem;
  }

  .header-cta {
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem 3rem;
    align-items: center;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: 3.5rem max(1.25rem, calc((100% - var(--container)) / 2)) 4rem;
  }

  .hero-bg,
  .hero-grid {
    inset: 0;
    width: auto;
    left: 0;
    right: 0;
    margin-left: 0;
  }

  .hero-content {
    width: auto;
    max-width: none;
    margin: 0;
  }

  .hero-visual {
    margin-top: 0;
    margin-inline: 0;
    justify-content: flex-end;
    width: 100%;
    max-width: 380px;
  }

  .hero-product {
    max-width: 380px;
  }

  .benefit-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
  }

  .benefit-wide {
    grid-column: 1 / -1;
  }

  .product-shots {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .compat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .compat-row > div {
    border-top: none;
    padding: 1.25rem 0 0;
    border-left: 1px solid var(--line);
    padding-left: 1.25rem;
  }

  .compat-row > div:first-child {
    border-left: none;
    padding-left: 0;
  }

  .industry-board {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    border-top: none;
  }

  .industry-item {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0.25rem 1.5rem 0;
  }

  .industry-item:nth-child(-n+2) {
    border-top: 1px solid var(--line);
  }

  .virtual-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }

  .process {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 2.75rem;
  }

  .process-step {
    flex: 1;
    min-width: 0;
    padding: 1.5rem 1.35rem;
  }

  .process-arrow {
    flex: 0 0 auto;
    align-self: center;
    padding: 0 0.15rem;
  }

  .process-arrow svg {
    transform: none;
    width: 36px;
    height: 22px;
  }

  .how-photo {
    max-width: 280px;
    margin-inline: auto;
  }

  .device-cards {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .device-cards-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Wąski laptop – trochę ciaśniejszy header */
@media (min-width: 768px) and (max-width: 1023px) {
  .device-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .header-cta .btn-ghost {
    display: none;
  }

  .nav-desktop {
    gap: 0.75rem;
    font-size: 0.88rem;
  }

  .partner-lockup--header {
    --x: 24px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 300px);
    gap: 1.5rem 2rem;
  }

  .hero-visual,
  .hero-product {
    max-width: 300px;
  }
}

/* Laptop / desktop */
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 420px);
    gap: 2.5rem 3.5rem;
    padding: 4rem max(1.25rem, calc((100% - var(--container)) / 2)) 4.5rem;
  }

  .hero-visual,
  .hero-product {
    max-width: 420px;
  }
}

/* Duży monitor */
@media (min-width: 1400px) {
  .hero {
    padding-block: 4.5rem 5rem;
  }
}

/* ——— Breadcrumbs ——— */
.breadcrumbs {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: "/";
  color: var(--sand);
}

.breadcrumbs a {
  color: var(--abs);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* ——— Local SEO cities ——— */
.cities-seo {
  background: var(--mist);
}

.cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.cities-list a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--abs-deep);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cities-list a:hover {
  border-color: var(--pep);
  color: var(--pep-deep);
  transform: translateY(-1px);
}

/* ——— Blog ——— */
.blog-main {
  padding: 3.5rem 0 4.5rem;
  background: var(--paper);
}

.blog-head {
  margin-bottom: 2.5rem;
}

.blog-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 61, 133, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16, 61, 133, 0.1);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.blog-card-link:hover .blog-card-title {
  color: var(--abs);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--mist);
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--abs);
  opacity: 0.45;
  letter-spacing: 0.04em;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.35rem 0.5rem;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.blog-card-meta a {
  color: var(--abs);
  text-decoration: none;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--abs);
}

.blog-card-excerpt {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem 1.25rem;
}

.blog-card-tags a {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--abs);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.blog-card-tags a:hover {
  background: var(--abs);
  color: var(--white);
}

.blog-empty {
  padding: 2rem;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--ink-soft);
}

.blog-pagination {
  margin-top: 2.5rem;
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.blog-pagination .current {
  background: var(--abs);
  border-color: var(--abs);
  color: var(--white);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.single-post {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 2.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.single-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0.65rem 0 1.5rem;
  color: var(--ink);
  max-width: 40ch;
}

.single-thumb {
  margin: 0 0 2rem;
  border-radius: 18px;
  overflow: hidden;
  background: var(--mist);
  width: 100%;
}

.single-thumb img {
  width: 100%;
  max-height: min(520px, 55vh);
  height: auto;
  object-fit: cover;
  display: block;
}

.single-content {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 72ch;
}

.single-content > *:first-child {
  margin-top: 0;
}

.single-content h2,
.single-content h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 2rem 0 0.85rem;
}

.single-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

.single-content h3 {
  font-size: 1.25rem;
}

.single-content p {
  margin: 0 0 1.15rem;
}

.single-content ul,
.single-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.single-content li {
  margin: 0.4rem 0;
}

.single-content a {
  color: var(--abs);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.single-content strong {
  color: var(--ink);
}

.single-seo-box {
  margin: 2.25rem 0 1.5rem;
  padding: 1.35rem 1.5rem;
  background: rgba(16, 61, 133, 0.06);
  border-left: 3px solid var(--abs);
  border-radius: 0 12px 12px 0;
  max-width: 72ch;
}

.single-seo-box p {
  margin: 0;
  line-height: 1.55;
  color: var(--ink-soft);
}

.single-seo-box a {
  color: var(--abs);
  font-weight: 700;
}

.single-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 72ch;
}

.single-foot .blog-card-tags {
  padding: 0;
}

@media (min-width: 700px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ——— Footer keywords stream ——— */
.footer-legal {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}

.footer-legal a {
  color: inherit;
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-legal a:hover {
  opacity: 1;
}

.footer-keywords {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: color-mix(in srgb, #fff 78%, transparent);
}

.footer-keywords a,
.footer-keywords > span:not(.footer-keywords-sep) {
  color: color-mix(in srgb, #fff 78%, transparent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-keywords a:hover,
.footer-keywords a:focus-visible {
  color: #fff;
}

.footer-keywords-sep {
  opacity: 0.35;
  margin: 0 0.15rem;
}



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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
