/* Landing (strona główna). Ładowany tylko na "/", po site.css. Wszystkie klasy z prefiksem lp-,
   żeby nie kolidować z resztą serwisu (site.css zmienia .container na wąskich ekranach). */

:root {
  --lp-bg: #f3faf6;
  --lp-surface: #ffffff;
  --lp-surface-soft: #f7fbf9;
  --lp-ink: #0f172a;
  --lp-text: #334155;
  --lp-muted: #556274;
  --lp-line: #e2ebe6;
  --lp-green: #10b981;          /* akcenty, ikony, kropki */
  --lp-green-strong: #047857;   /* tło przycisków i tekst akcentu (kontrast >= 4.5:1) */
  --lp-green-hover: #065f46;
  --lp-green-tint: #e3f6ee;
  --lp-navy: #0f1b2d;
  --lp-radius: 20px;
  --lp-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -18px rgba(15, 23, 42, 0.22);
  --lp-shadow-lg: 0 40px 80px -40px rgba(15, 23, 42, 0.35);
}

body {
  background: var(--lp-bg);
}

.lp-wrap {
  width: min(1200px, 100% - 32px);
  margin: 0 auto;
}

/* Kotwice z menu nie chowają nagłówka sekcji pod przyklejonym headerem. */
.lp-section[id],
.lp-showcase[id] {
  scroll-margin-top: 88px;
}

.lp-icon {
  width: 22px;
  height: 22px;
}

/* Typography */
.lp-hero h1,
.lp-section h2 {
  margin: 0;
  color: var(--lp-ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.lp-section h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
}

.lp-accent {
  color: var(--lp-green-strong);
}

.lp-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-green-strong);
}

.lp-eyebrow-light {
  color: #6ee7b7;
}

.lp-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.lp-head > p:last-child,
.lp-head-aside p {
  margin: 1rem 0 0;
  color: var(--lp-muted);
  font-size: 1.05rem;
}

.lp-head-split {
  max-width: none;
  display: grid;
  gap: 1.25rem;
}

.lp-head-split h2 {
  max-width: 34rem;
}

@media (min-width: 900px) {
  .lp-head-split {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 3rem;
  }

  .lp-head-aside p {
    margin-top: 0;
  }
}

/* Buttons and links */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.lp-btn:active {
  transform: translateY(1px);
}

.lp-btn-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.lp-btn-primary {
  background: var(--lp-green-strong);
  color: #ffffff;
  box-shadow: 0 10px 24px -12px rgba(4, 120, 87, 0.7);
}

.lp-btn-primary:hover {
  background: var(--lp-green-hover);
}

.lp-btn-outline {
  background: var(--lp-surface);
  color: var(--lp-ink);
  border-color: var(--lp-line);
}

.lp-btn-outline:hover {
  border-color: var(--lp-green);
}

.lp-btn-icon-accent {
  color: var(--lp-green-strong);
  width: 22px;
  height: 22px;
}

.lp-btn-ghost-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.lp-btn-ghost-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.lp-btn-on-dark {
  background: #10b981;
  color: #04241a;
  box-shadow: none;
}

.lp-btn-on-dark:hover {
  background: #34d399;
}

.lp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--lp-ink);
}

.lp-link:hover {
  color: var(--lp-green-strong);
}

.lp-link-icon {
  width: 16px;
  height: 16px;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 2rem;
}

.lp-check {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--lp-green-strong);
}

/* Hero */
.lp-hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(16, 185, 129, 0.12), transparent 60%),
    radial-gradient(40rem 24rem at 0% 80%, rgba(16, 185, 129, 0.08), transparent 60%);
  overflow: hidden;
}

.lp-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid #b7e6d1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--lp-green-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.lp-hero h1 {
  font-size: clamp(2.25rem, 1.3rem + 4vw, 4rem);
}

.lp-lead {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: var(--lp-text);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.65;
}

.lp-demo-note {
  margin: 16px 0 0;
  display: grid;
  gap: 6px;
}

.lp-demo-note span {
  color: var(--muted, #64748b);
  font-size: 14px;
  line-height: 1.5;
}

.lp-demo-section {
  padding: 32px 0 56px;
}

.lp-demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(24px, 3.5vw, 52px);
  border-radius: 28px;
  color: #f8fafc;
  background: radial-gradient(ellipse at 100% 0%, rgba(16, 185, 129, .2), transparent 65%), #0f172a;
  border: 1px solid #26364b;
}

.lp-demo-copy, .lp-demo-visual { min-width: 0; }
.lp-demo-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #6ee7b7;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.lp-demo-eyebrow svg, .lp-demo-readonly svg, .lp-demo-browser svg, .lp-demo-highlights svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.lp-demo-shell h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 2.5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.lp-demo-shell h2 span { color: #6ee7b7; }
.lp-demo-lead {
  margin: 20px 0 24px;
  color: #cbd5e1;
  line-height: 1.7;
}
.lp-demo-roles { display: grid; gap: 14px; }
.lp-demo-role {
  padding: 20px;
  border: 1px solid #3a485c;
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}
.lp-demo-role-heading { display: flex; align-items: center; gap: 12px; }
.lp-demo-role-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(16,185,129,.15);
  color: #6ee7b7;
}
.lp-demo-role-icon svg { width: 23px; height: 23px; }
.lp-demo-role-heading p { margin: 0 0 4px; color: #a9b9cd; font-size: .75rem; }
.lp-demo-role h3 { margin: 0; color: #fff; font-size: 1rem; line-height: 1.4; }
.lp-demo-role > p { margin: 12px 0 16px; color: #cbd5e1; font-size: .875rem; line-height: 1.6; }
.lp-demo-role .lp-btn { width: 100%; text-align: center; font-size: .875rem; padding: 13px 16px; }
.lp-demo-accountant-btn { color: #ecfdf5; background: #23394a; border: 1px solid #557a7d; }
.lp-demo-accountant-btn:hover { color: #fff; background: #31515d; }
.lp-demo-role .lp-btn:focus-visible { outline: 3px solid #6ee7b7; outline-offset: 4px; }
.lp-demo-readonly { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; color: #cbd5e1; font-size: .8rem; line-height: 1.6; }
.lp-demo-readonly svg { color: #6ee7b7; margin-top: 2px; }
.lp-demo-visual { margin: 0; }
.lp-demo-browser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #405368;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #1e293b;
  color: #cbd5e1;
  font-size: .7rem;
}
.lp-demo-browser > span:first-child { display: flex; gap: 5px; }
.lp-demo-browser i { width: 7px; height: 7px; border-radius: 50%; background: #6ee7b7; opacity: .8; }
.lp-demo-screen { overflow: hidden; border-radius: 0 0 16px 16px; border: 1px solid #405368; background: #fff; box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.lp-demo-screen img { display: block; width: 100%; height: auto; }
.lp-demo-visual-caption { display: grid; gap: 6px; margin: 22px 0 0; color: #cbd5e1; font-size: .8rem; line-height: 1.6; }
.lp-demo-visual-caption strong { color: #fff; font-size: 1rem; }
.lp-demo-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.lp-demo-highlights li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #405368; border-radius: 999px; padding: 8px 12px; color: #d1fae5; font-size: .75rem; }
@media (max-width: 899px) {
  .lp-demo-shell { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .lp-demo-shell { padding: 22px 18px; border-radius: 20px; }
  .lp-demo-role { padding: 16px; }
  .lp-demo-role .lp-btn { white-space: normal; }
  .lp-demo-browser { gap: 8px; padding: 12px; }
}

.lp-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--lp-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.lp-checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.lp-hero-shot,
.lp-showcase-shot {
  position: relative;
  margin: 0;
  min-width: 0;
}

.lp-frame {
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-lg);
}

.lp-frame img {
  width: 100%;
  height: auto;
}

.lp-caption {
  margin-top: 0.85rem;
  color: var(--lp-muted);
  font-size: 0.8rem;
  text-align: center;
}

.lp-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow);
  font-size: 0.85rem;
  line-height: 1.3;
  animation: lp-rise 0.6s ease-out both;
}

.lp-chip strong {
  display: block;
  color: var(--lp-ink);
}

.lp-chip small {
  display: block;
  color: var(--lp-muted);
  font-size: 0.78rem;
}

.lp-chip-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--lp-green-strong);
  color: #ffffff;
}

.lp-chip-icon .lp-icon {
  width: 18px;
  height: 18px;
}

.lp-chip-top {
  top: -1.25rem;
  right: 1rem;
}

.lp-chip-dark {
  left: 1rem;
  top: 58%;
  background: var(--lp-navy);
  border-color: var(--lp-navy);
}

.lp-chip-dark strong {
  color: #ffffff;
}

.lp-chip-dark small {
  color: #b6c2d1;
}

.lp-chip-dark .lp-chip-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.lp-chip-side {
  top: -1.25rem;
  right: -0.75rem;
}

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Na telefonach chipy nie zasłaniają zrzutu: lądują pod nim w jednym rzędzie. */
@media (max-width: 600px) {
  .lp-frame {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .lp-chip {
    position: static;
    margin-top: 0.75rem;
  }

  .lp-hero-shot,
  .lp-showcase-shot {
    display: flex;
    flex-direction: column;
  }


  .lp-chip-dark {
    display: none;
  }
}

@media (min-width: 1024px) {
  .lp-hero {
    padding: 4.5rem 0 3rem;
  }
}

@media (min-width: 1180px) {
  .lp-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    gap: 3.5rem;
  }

  .lp-chip-top {
    right: -0.5rem;
  }

  .lp-chip-dark {
    left: -1.5rem;
  }
}

/* Standards band (zamiast logotypów klientów) */
.lp-standards {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--lp-line);
}

.lp-standards-label {
  margin: 0 0 1rem;
  color: var(--lp-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lp-standards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-standards-list li {
  padding: 0.55rem 1rem;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #3d4a5c;
  font-size: 0.92rem;
  font-weight: 700;
}

/* Sections */
.lp-section {
  padding: 4.5rem 0;
}

.lp-section-tight {
  padding-top: 1.5rem;
}

@media (min-width: 1024px) {
  .lp-section {
    padding: 6rem 0;
  }
}

/* Features */
.lp-features {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-feature {
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
  transition: transform 0.2s, border-color 0.2s;
}

.lp-feature-link {
  display: block;
  height: 100%;
  padding: 1.75rem;
  border-radius: inherit;
}

.lp-feature:hover {
  border-color: #b7e6d1;
}

.lp-feature-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.lp-feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--lp-green-tint);
  color: var(--lp-green-strong);
}

.lp-feature-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--lp-line);
  color: var(--lp-ink);
  transition: transform 0.2s;
}

.lp-feature-arrow .lp-icon {
  width: 18px;
  height: 18px;
}

.lp-feature-link:hover .lp-feature-arrow {
  transform: translateX(3px);
}

.lp-feature h3 {
  margin: 1.5rem 0 0.5rem;
  color: var(--lp-ink);
  font-size: 1.2rem;
  font-weight: 800;
}

.lp-feature p {
  margin-top: 0;
  color: var(--lp-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.lp-feature-link p {
  margin-bottom: 0;
}

a.lp-feature-link:hover h3 {
  color: var(--lp-green-strong);
}

.lp-feature.is-featured a.lp-feature-link:hover h3 {
  color: #ffffff;
}

.lp-feature.is-featured {
  background: linear-gradient(160deg, #0c8a63, #047857);
  border-color: transparent;
}

.lp-feature.is-featured h3,
.lp-feature.is-featured p {
  color: #ffffff;
}

.lp-feature.is-featured p {
  color: #e2f6ee;
}

.lp-feature.is-featured .lp-feature-icon {
  background: #ffffff;
}

.lp-feature.is-featured .lp-feature-arrow {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

@media (min-width: 640px) {
  .lp-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lp-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Showcase (szybki start, koszty) */
.lp-showcase {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 1.25rem;
  border: 1px solid var(--lp-line);
  border-radius: 28px;
  background: var(--lp-surface-soft);
}

.lp-showcase + .lp-showcase {
  margin-top: 2rem;
}

.lp-showcase-copy > p {
  margin: 1rem 0 0;
  color: var(--lp-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.lp-points {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--lp-text);
  font-weight: 600;
}

.lp-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.lp-points .lp-check {
  margin-top: 0.15rem;
}

@media (min-width: 640px) {
  .lp-showcase {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .lp-showcase {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3.5rem;
    padding: 3.5rem;
  }

  .lp-showcase-reverse .lp-showcase-copy {
    order: 2;
  }
}

/* Integrations */
.lp-integrations,
.lp-trust {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-integrations li,
.lp-trust li {
  padding: 1.75rem;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
}

.lp-integrations h3,
.lp-trust h3 {
  margin: 0 0 0.5rem;
  color: var(--lp-ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.lp-integrations h3::before {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--lp-green);
}

.lp-integrations p,
.lp-trust p {
  margin: 0;
  color: var(--lp-muted);
  line-height: 1.6;
}

.lp-trust h3 {
  margin-top: 1.25rem;
}

.lp-trust .lp-link {
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .lp-integrations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .lp-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .lp-integrations {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Pricing */
.lp-plans {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
}

.lp-plan.is-featured {
  border: 2px solid var(--lp-green);
  box-shadow: 0 30px 60px -30px rgba(4, 120, 87, 0.45);
}

.lp-plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--lp-green-strong);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.lp-plan h3 {
  margin: 0;
  color: var(--lp-ink);
  font-size: 1.35rem;
  font-weight: 800;
}

.lp-plan-desc {
  margin: 0.35rem 0 0;
  color: var(--lp-muted);
  font-size: 0.95rem;
}

.lp-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0 0;
}

.lp-price-amount {
  color: var(--lp-ink);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lp-price-unit {
  color: var(--lp-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.lp-plan-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  color: var(--lp-text);
}

.lp-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.lp-plan-list .lp-check {
  margin-top: 0.15rem;
}

.lp-plan-cta {
  margin-top: auto;
  width: 100%;
}

.lp-pricing-notes {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px dashed #c9d8d0;
  border-radius: var(--lp-radius);
  color: var(--lp-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.lp-pricing-notes p {
  margin: 0;
}

.lp-pricing-notes strong {
  color: var(--lp-ink);
}

.lp-pricing-notes a {
  color: var(--lp-green-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (min-width: 900px) {
  .lp-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* FAQ */
.lp-faq {
  display: grid;
  gap: 2.5rem;
}

.lp-faq-intro p {
  margin: 1rem 0 1.75rem;
  color: var(--lp-muted);
  font-size: 1.05rem;
}

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

.lp-faq-item {
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: var(--lp-surface);
}

.lp-faq-item summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 56px;
  padding: 1rem 1.25rem;
  color: var(--lp-ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.lp-faq-item summary:focus-visible {
  outline-offset: -3px;
  border-radius: 16px;
}

.lp-faq-sign {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}

.lp-faq-sign::before,
.lp-faq-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--lp-green-strong);
  transition: transform 0.2s;
}

.lp-faq-sign::after {
  transform: rotate(90deg);
}

.lp-faq-item[open] .lp-faq-sign::after {
  transform: rotate(0deg);
}

.lp-faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--lp-text);
  line-height: 1.65;
}

@media (min-width: 1024px) {
  .lp-faq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
    align-items: start;
  }

  .lp-faq-intro {
    position: sticky;
    top: 104px;
  }
}

/* Karty funkcji z opisem planu (sprzedaż i płatności, bezpieczeństwo) */
.lp-cards {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
}

.lp-card h3 {
  margin: 1.25rem 0 0.5rem;
  color: var(--lp-ink);
  font-size: 1.1rem;
  font-weight: 800;
  text-wrap: balance;
}

.lp-card p {
  margin: 0;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* Plan, w którym funkcja działa: zawsze na dole karty, ta sama linia bazowa w rzędzie. */
.lp-card .lp-card-plan {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--lp-green-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (min-width: 640px) {
  .lp-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lp-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Dla biur rachunkowych: jedyny ciemny panel w środku strony (ten sam granat co pas CTA). */
.lp-office {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 1.5rem;
  border-radius: 28px;
  background:
    radial-gradient(36rem 20rem at 0% 0%, rgba(16, 185, 129, 0.2), transparent 60%),
    var(--lp-navy);
  color: #ffffff;
}

.lp-office h2 {
  color: #ffffff;
  text-wrap: balance;
}

.lp-office-copy > p:not(.lp-eyebrow) {
  margin: 1rem 0 0;
  color: #c4cfdc;
  line-height: 1.65;
}

.lp-office-points {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: #e6edf5;
  font-weight: 600;
}

.lp-office-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.lp-office-points .lp-check {
  margin-top: 0.15rem;
  color: #6ee7b7;
}

.lp-office .lp-cta-row {
  margin-top: 2rem;
}

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

.lp-office-grid li {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.lp-office-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(110, 231, 183, 0.14);
  color: #6ee7b7;
}

.lp-office-grid h3 {
  margin: 1rem 0 0.4rem;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  text-wrap: balance;
}

.lp-office-grid p {
  margin: 0;
  color: #b8c4d3;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .lp-office {
    padding: 3rem;
  }

  .lp-office-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .lp-office {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 3.5rem;
    padding: 3.5rem;
  }
}

/* Odręczne dopiski (Caveat) ze strzałkami: tylko akcent, nigdy jedyny nośnik informacji. */
.lp-note {
  margin: 0;
  color: var(--lp-green-strong);
  font-family: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.lp-note-arrow {
  display: block;
  width: 96px;
  height: auto;
  color: var(--lp-green);
}

/* Kreska strzałki rysuje się raz, gdy sekcja wchodzi w widok (klasa is-drawn z JS). */
.lp-draw {
  stroke-dasharray: 160;
  stroke-dashoffset: 0;
}

.js-notes .lp-note:not(.is-drawn) .lp-draw {
  stroke-dashoffset: 160;
}

.js-notes .lp-note.is-drawn .lp-draw {
  transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}

/* Samolocik przy dopiskach (szybki start, 3 kroki). */
.lp-note .lp-note-plane {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--lp-green);
}

/* Hero: obok zrzutu panelu, tylko gdy po prawej jest wolne pole. */
.lp-note-hero {
  display: none;
}

/* Wolne pole po prawej to margines strony: przy 1440 px ma 120 px, węższe ekrany go nie mają. */
@media (min-width: 1440px) {
  .lp-note-hero {
    display: block;
    position: absolute;
    top: 30%;
    right: -7rem;
    transform: rotate(-7deg);
    text-align: center;
  }

  .lp-note-arrow-hero {
    width: 76px;
    margin: 0.35rem 0 0 -1.5rem;
  }
}

/* Szybki start: pod przyciskami, strzałka w stronę edytora faktury. */
.lp-note-quick {
  display: none;
}

@media (min-width: 1024px) {
  .lp-note-quick {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.25rem;
    transform: rotate(-3deg);
    transform-origin: left center;
  }

  .lp-note-plane {
    flex: none;
    width: 30px;
    height: 30px;
    color: var(--lp-green);
  }

  .lp-note-arrow-quick {
    flex: none;
    width: 76px;
    margin: 1.25rem 0 0 0.25rem;
  }
}

/* FAQ: żarówka i link do kontaktu. */
.lp-note-faq {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  text-decoration: none;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.lp-note-faq span {
  text-decoration: underline transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}

.lp-note-faq:hover span,
.lp-note-faq:focus-visible span {
  text-decoration-color: currentColor;
}

.lp-note-bulb {
  flex: none;
  width: 38px;
  height: 38px;
  color: var(--lp-green);
}

/* Miękkie plamy za zrzutami ekranu (jak tło hero, ale przy samym obrazie). */
.lp-hero-shot,
.lp-showcase-shot {
  isolation: isolate;
}

.lp-hero-shot::before,
.lp-showcase-shot::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% -10% -10% -14%;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background:
    radial-gradient(closest-side, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08) 60%, transparent);
  pointer-events: none;
}

.lp-showcase-reverse .lp-showcase-shot::before {
  inset: -10% -14% -12% -10%;
  border-radius: 56% 44% 42% 58% / 46% 56% 44% 54%;
}

@media (prefers-reduced-motion: reduce) {
  .js-notes .lp-note:not(.is-drawn) .lp-draw,
  .js-notes .lp-note.is-drawn .lp-draw {
    stroke-dashoffset: 0;
    transition: none;
  }
}

/* Miniatury w kartach funkcji */
.lp-peek {
  display: inline-flex;
  align-items: center;
  margin: 0 auto 0 0.85rem;
  pointer-events: none;
}

.lp-peek-toggle {
  gap: 0.6rem;
  padding: 0.45rem 0.6rem 0.45rem 0.75rem;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
  color: var(--lp-muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.lp-peek-toggle strong {
  color: var(--lp-ink);
}

.lp-peek-switch {
  position: relative;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: var(--lp-green);
}

.lp-peek-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
}

.lp-peek-bars {
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  padding: 0 0.25rem;
}

.lp-peek-bars i {
  width: 7px;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: var(--lp-green-tint);
}

.lp-peek-bars i:nth-child(even) {
  background: var(--lp-green);
}

.lp-peek-lock {
  justify-content: center;
  width: 40px;
  height: 46px;
  border-radius: 12px 12px 18px 18px;
  background: linear-gradient(160deg, var(--lp-green), var(--lp-green-strong));
  color: #ffffff;
  box-shadow: 0 10px 22px -10px rgba(4, 120, 87, 0.7);
}

.lp-peek-lock .lp-icon {
  width: 20px;
  height: 20px;
}

.lp-peek-people i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -8px;
  border: 2px solid var(--lp-surface);
  border-radius: 50%;
  background: var(--lp-green-tint);
  color: var(--lp-green-strong);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.lp-peek-people i:first-child {
  margin-left: 0;
  background: #dbeafe;
  color: #1e3a8a;
}

.lp-peek-people i:last-child {
  background: var(--lp-surface-soft);
  color: var(--lp-muted);
}

/* 3 kroki startu: prawdziwa sekwencja, więc numerowana lista. Otwarta linia bez ramek. */
.lp-steps-head {
  position: relative;
}

.lp-steps {
  display: grid;
  gap: 1.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.lp-step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.lp-step-num {
  display: grid;
  flex: none;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffffff, var(--lp-green-tint) 70%);
  box-shadow: inset 0 0 0 1px #c9eedd, 0 10px 24px -14px rgba(4, 120, 87, 0.55);
  color: var(--lp-green-strong);
  font-size: 1.35rem;
  font-weight: 800;
}

.lp-step h3 {
  margin: 0.55rem 0 0.35rem;
  color: var(--lp-ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.lp-step p {
  margin: 0;
  color: var(--lp-muted);
  line-height: 1.6;
}

.lp-steps-cta {
  margin-top: 1.75rem;
  align-items: center;
}

.lp-note-steps {
  display: none;
}

@media (min-width: 900px) {
  .lp-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  /* Strzałka między krokami: kolejność widać też bez czytania numerów. */
  .lp-step {
    position: relative;
    padding-right: 2.5rem;
  }

  .lp-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25px;
    right: 0.4rem;
    width: 1.6rem;
    height: 2px;
    border-radius: 2px;
    background: var(--lp-green);
  }

  .lp-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 21px;
    right: 0.35rem;
    width: 0.6rem;
    height: 0.6rem;
    border-top: 2px solid var(--lp-green);
    border-right: 2px solid var(--lp-green);
    transform: rotate(45deg);
  }
}

@media (min-width: 1024px) {
  .lp-note-steps {
    display: flex;
    position: absolute;
    top: -0.5rem;
    right: 0;
    align-items: flex-start;
    gap: 0.5rem;
    transform: rotate(6deg);
  }

}

/* Odcienie kart: każda funkcja ma swój kolor (ikona, delikatne tło, plan). Zieleń zostaje kolorem marki. */
.lp-tone-green { --tone: #047857; --tone-soft: #10b981; --tone-tint: #e3f6ee; --tone-wash: #f1fbf6; }
.lp-tone-blue { --tone: #1d4ed8; --tone-soft: #3b82f6; --tone-tint: #e3ecfd; --tone-wash: #f3f7ff; }
.lp-tone-violet { --tone: #6d28d9; --tone-soft: #8b5cf6; --tone-tint: #ede7fd; --tone-wash: #f7f4ff; }
.lp-tone-teal { --tone: #0f766e; --tone-soft: #14b8a6; --tone-tint: #dcf5f2; --tone-wash: #f0fbfa; }
.lp-tone-amber { --tone: #b45309; --tone-soft: #f59e0b; --tone-tint: #fdf0d9; --tone-wash: #fffaf1; }
.lp-tone-red { --tone: #be123c; --tone-soft: #f43f5e; --tone-tint: #fde4e9; --tone-wash: #fff5f7; }

.lp-feature[class*="lp-tone-"],
.lp-card[class*="lp-tone-"] {
  border-color: color-mix(in srgb, var(--tone-tint) 70%, var(--lp-line));
  background:
    radial-gradient(22rem 14rem at 100% 0%, color-mix(in srgb, var(--tone-tint) 85%, transparent), transparent 70%),
    linear-gradient(160deg, var(--tone-wash) 0%, var(--lp-surface) 70%);
}

.lp-feature[class*="lp-tone-"]:hover {
  border-color: var(--tone-tint);
}

[class*="lp-tone-"] .lp-feature-icon {
  background: linear-gradient(150deg, var(--tone-soft), var(--tone));
  color: #ffffff;
  box-shadow: 0 10px 22px -12px var(--tone);
}

.lp-card[class*="lp-tone-"] .lp-card-plan {
  color: var(--tone);
}

a.lp-feature-link:hover h3 {
  color: var(--tone, var(--lp-green-strong));
}

/* Miniatury w kartach przejmują kolor karty. */
[class*="lp-tone-"] .lp-peek-switch,
[class*="lp-tone-"] .lp-peek-bars i:nth-child(even) {
  background: var(--tone-soft);
}

[class*="lp-tone-"] .lp-peek-bars i {
  background: var(--tone-tint);
}

[class*="lp-tone-"] .lp-peek-lock {
  background: linear-gradient(160deg, var(--tone-soft), var(--tone));
}

/* ===== Karty sekcji z miniaturą interfejsu (templates/home-tiles.php) ===== */
.lp-tone-brand { --tone: #047857; --tone-soft: #10b981; --tone-tint: #d6f3e6; --tone-wash: #ecfbf3; }
.lp-tone-orange { --tone: #c2410c; --tone-soft: #f97316; --tone-tint: #fde6d4; --tone-wash: #fff6ef; }

.lp-tiles {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-tile {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tone-tint) 70%, var(--lp-line));
  border-radius: 22px;
  background:
    radial-gradient(26rem 16rem at 100% 0%, color-mix(in srgb, var(--tone-tint) 80%, transparent), transparent 70%),
    linear-gradient(160deg, var(--tone-wash) 0%, var(--lp-surface) 70%);
  box-shadow: var(--lp-shadow);
}

.lp-tile-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lp-tile-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.lp-tile-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--tone-soft), var(--tone));
  color: #ffffff;
  box-shadow: 0 10px 22px -12px var(--tone);
}

.lp-tile-rule {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: var(--tone-soft);
}

.lp-tile-badge {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--tone-tint);
  color: var(--tone);
  font-size: 0.75rem;
  font-weight: 700;
}

.lp-tile h3 {
  margin: 1.1rem 0 0.5rem;
  color: var(--lp-ink);
  font-size: 1.2rem;
  font-weight: 800;
  text-wrap: balance;
}

.lp-tile p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.lp-tile-points {
  display: grid;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--lp-text);
  font-size: 0.92rem;
  font-weight: 600;
}

.lp-tile-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--tone);
  font-weight: 700;
  text-decoration: none;
}

.lp-tile-link:hover .lp-link-icon,
.lp-tile-link:focus-visible .lp-link-icon {
  transform: translateX(3px);
}

.lp-tile-art {
  display: grid;
  align-items: center;
  min-width: 0;
}

/* Wyróżniona karta (Faktury w KSeF): pełny kolor marki. */
.lp-tile.is-featured {
  border-color: transparent;
  background: radial-gradient(28rem 18rem at 100% 0%, rgba(255, 255, 255, 0.16), transparent 70%), linear-gradient(160deg, #0c8a63, #047857);
}

.lp-tile.is-featured h3,
.lp-tile.is-featured .lp-tile-link {
  color: #ffffff;
}

.lp-tile.is-featured p {
  color: #e2f6ee;
}

.lp-tile.is-featured .lp-tile-icon {
  background: #ffffff;
  color: #047857;
}

.lp-tile.is-featured .lp-tile-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

@media (min-width: 720px) {
  .lp-tiles-3,
  .lp-tiles-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .lp-tiles-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lp-tiles-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lp-tile-inner {
  display: grid;
  gap: 1.2rem;
  height: 100%;
  padding: 1.6rem;
}

/* Jak na makietach: opis obok miniatury, gdy karta ma na to miejsce; węższa — miniatura pod opisem. */
@container (min-width: 420px) {
  .lp-tile-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
  }

  .is-stacked .lp-tile-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.lp-tile-art .mk {
  width: 100%;
  max-width: 280px;
  margin-left: auto;
}

/* Miniatury w wąskiej kolumnie: zawartość mieści się w karcie, nic nie jest ucinane. */
.lp-tile-art {
  min-width: 0;
}

.lp-tile-art .mk-tag {
  flex-shrink: 0;
}

/* Szeroki kontener sekcji z kartami (makiety: ~1440 px). */
.lp-wrap-wide {
  width: min(1440px, 100% - 32px);
}

@media (min-width: 900px) {
  .lp-wrap-wide {
    width: min(1440px, 100% - 64px);
  }
}

.lp-btn-sm {
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  font-size: 0.95rem;
}

/* Nagłówek sekcji z kartami: tytuł z akcentem, element po prawej, odręczny dopisek ze strzałką. */
.lp-thead {
  position: relative;
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.lp-thead-copy {
  max-width: 760px;
}

.lp-thead h2 {
  text-wrap: balance;
}

.lp-thead-lead {
  margin: 1rem 0 0;
  color: var(--lp-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.lp-thead-aside {
  display: grid;
  gap: 1rem;
  align-content: center;
  justify-items: start;
}

.lp-thead-aside > p {
  margin: 0;
  color: var(--lp-muted);
  line-height: 1.65;
}

.lp-thead-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
}

.lp-thead-card strong {
  display: block;
  color: var(--lp-ink);
  font-size: 1.05rem;
}

.lp-thead-card small {
  color: var(--lp-muted);
  font-size: 0.95rem;
}

.lp-thead-card-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lp-green-tint);
  color: var(--lp-green-strong);
}

.lp-thead-card-icon .lp-icon {
  width: 26px;
  height: 26px;
}

.lp-thead-shield {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
  color: var(--lp-green-strong);
}

.lp-thead-shield .lp-icon {
  width: 40px;
  height: 40px;
}

.lp-thead-note {
  display: none;
}

@media (min-width: 1100px) {
  .lp-thead {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr) 180px;
    align-items: end;
  }

  .lp-thead-copy {
    grid-column: 1;
  }

  .lp-thead-aside {
    grid-column: 2;
  }

  .lp-thead-note {
    display: block;
    grid-column: 3;
    align-self: start;
    font-size: 1.6rem;
    text-align: center;
    transform: rotate(-8deg);
  }

  .lp-thead-arrow {
    width: 80px;
    margin: 0.3rem auto 0;
  }

  .lp-thead-arrow-right {
    margin-left: auto;
  }
}

/* Integracje: kreska w kolorze, opis, miniatura, link na dole — wszystko w kolumnie. */
.is-integrations .lp-tile-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.is-integrations .lp-tile-art {
  margin: 1.4rem 0 0.4rem;
}

.is-integrations .lp-tile-art {
  order: 2;
}

.is-integrations .lp-tile-art .mk {
  margin: 0 auto;
  width: 100%;
}

.is-integrations .lp-tile-copy {
  display: contents;
}

.is-integrations .lp-tile-link {
  order: 3;
}

/* Zanim zaufasz: numer, miniatura na górze, ikona na jej krawędzi, przycisk. */
.lp-tile.is-top .lp-tile-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lp-tile-num {
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--tone-tint);
  color: var(--tone);
  font-weight: 800;
}

.lp-tile.is-top .lp-tile-art {
  margin: 0.8rem 0 0;
}

.lp-tile.is-top .lp-tile-art .mk {
  max-width: none;
  margin: 0 0 0 2.5rem;
}

.lp-tile.is-top .lp-tile-icon {
  position: relative;
  z-index: 1;
  margin-top: -1.8rem;
  width: 64px;
  height: 64px;
  border: 4px solid var(--lp-surface);
  box-sizing: content-box;
}

.lp-tile.is-top .lp-tile-button {
  align-self: flex-start;
  margin-top: 1.4rem;
}

/* ===== Klocki miniatur (.mk-*) — uproszczony wygląd panelu ===== */
.mk {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  background: var(--lp-surface);
  box-shadow: 0 18px 34px -24px rgba(15, 23, 42, 0.45);
  color: var(--lp-ink);
  font-size: 0.78rem;
  line-height: 1.35;
}

.mk-paper {
  transform: rotate(-2deg);
}

.mk-center {
  justify-items: start;
}

.mk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mk-head b {
  font-size: 0.82rem;
}

.mk-head-ico {
  width: 16px;
  height: 16px;
  color: var(--tone);
}

.lp-tile .mk .mk-muted {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.74rem;
}

.mk-attach {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.55rem;
  border: 1px dashed var(--tone-tint);
  border-radius: 9px;
  color: var(--tone);
  font-weight: 700;
}

.mk-attach .lp-icon {
  width: 14px;
  height: 14px;
}

.mk-line {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: #e7edf3;
}

.mk-short {
  width: 60%;
}

.mk-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--tone-tint);
  color: var(--tone);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.mk-chip .lp-icon {
  width: 12px;
  height: 12px;
}

.mk-chip-ok {
  background: #dcf6e9;
  color: #047857;
}

.mk-float {
  position: absolute;
  right: -0.6rem;
  bottom: -0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  background: var(--lp-surface);
  box-shadow: 0 16px 30px -18px rgba(15, 23, 42, 0.55);
  transform: rotate(2deg);
}

.mk-float .lp-icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
}

.mk-float-play .lp-icon {
  background: #047857;
}

.mk-float small,
.mk-alert small,
.mk-list small,
.mk-log small {
  display: block;
  color: var(--lp-muted);
  font-size: 0.68rem;
  font-weight: 500;
}

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

.mk-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.45rem;
  border-radius: 10px;
  background: #f6f9fb;
}

.mk-list.mk-plain li {
  padding: 0.25rem 0;
  background: none;
}

.mk-list li > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-list li > span:nth-child(2) small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.mk-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--tone-tint);
  color: var(--tone);
}

.mk-ico .lp-icon {
  width: 14px;
  height: 14px;
}

.mk-tag {
  flex: none;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #dcf6e9;
  color: #047857;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
}

.mk-tag-warn { background: #fdf0d9; color: #b45309; }
.mk-tag-info { background: #e3ecfd; color: #1d4ed8; }
.mk-tag-danger { background: #fde4e9; color: #be123c; }

.mk-av {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcf6e9;
  color: #047857;
  font-size: 0.6rem;
  font-weight: 800;
}

.mk-av-alt {
  background: #e3ecfd;
  color: #1d4ed8;
}

.mk-btn {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--tone-soft), var(--tone));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.mk-btn-warn { background: #f59e0b; }
.mk-btn-dark { background: #0f1b2d; }
.mk-btn-ghost { background: #eef2f6; color: var(--lp-ink); }

.mk-switch {
  position: relative;
  flex: none;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: #cbd5e1;
}

.mk-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
}

.mk-switch.is-on {
  background: var(--tone-soft);
}

.mk-switch.is-on::after {
  left: auto;
  right: 3px;
}

.mk-note {
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background: var(--tone-tint);
  color: var(--tone);
  font-size: 0.72rem;
}

.mk-checks {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

.mk-ok {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.mk-dot {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--tone-soft, #10b981);
}

.mk-dot::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 5px;
  width: 4px;
  height: 7px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lp-tile.is-featured .mk-dot { background: #10b981; }

.mk-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
}

.mk-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: var(--tone-tint);
}

.mk-bars i:nth-child(even) {
  background: var(--tone-soft);
}

.mk-dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.75rem;
  margin: 0;
}

.mk-dl dt { color: var(--lp-muted); }
.mk-dl dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

.mk-badge-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 50px;
  border-radius: 12px 12px 20px 20px;
  background: linear-gradient(150deg, var(--tone-soft), var(--tone));
  color: #ffffff;
}

.mk-timeline {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-timeline li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--lp-muted);
}

.mk-timeline li::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
}

.mk-timeline li.is-done { color: var(--lp-ink); font-weight: 600; }
.mk-timeline li.is-done::before { border-color: var(--tone-soft); background: var(--tone-soft); }

.mk-qr {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  width: 84px;
  margin: 0.1rem auto;
}

.mk-qr i {
  aspect-ratio: 1;
  border-radius: 1px;
  background: #0f1b2d;
}

/* Wzór „kodu” bez znaczenia: część pól jasna, narożniki ciemne. */
.mk-qr i:nth-child(3n + 2),
.mk-qr i:nth-child(5n + 4),
.mk-qr i:nth-child(11),
.mk-qr i:nth-child(25) {
  background: #e7edf3;
}

.mk-qr i:nth-child(1), .mk-qr i:nth-child(2), .mk-qr i:nth-child(7), .mk-qr i:nth-child(43), .mk-qr i:nth-child(49) {
  background: #0f1b2d;
}

.mk-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  background: #ecfbf3;
  font-weight: 600;
}

.mk-alert .lp-icon {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
}

.mk-alert-warn { background: #fff6e6; }
.mk-alert-warn .lp-icon { background: #f59e0b; }

.mk-date {
  flex: none;
  min-width: 42px;
  padding: 0.12rem 0.35rem;
  border-radius: 7px;
  background: var(--tone-tint);
  color: var(--tone);
  font-size: 0.66rem;
  font-weight: 800;
  text-align: center;
}

.mk-code {
  padding: 0;
  overflow: hidden;
  border-color: #1e293b;
  background: #0f1b2d;
  color: #d1fae5;
}

.mk-code-tab {
  padding: 0.45rem 0.8rem 0;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
}

.mk-code pre {
  margin: 0;
  padding: 0.3rem 0.8rem 0.85rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.55;
  white-space: pre;
}

.mk-secret,
.mk-input {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--lp-line);
  border-radius: 9px;
  background: #f8fafc;
  color: var(--lp-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.mk-input {
  font-family: inherit;
  letter-spacing: 0;
}

.mk-input-ico {
  width: 14px;
  height: 14px;
  color: var(--lp-muted);
}

.mk-live {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px #dcf6e9;
}

.mk-live.is-off {
  background: #94a3b8;
  box-shadow: 0 0 0 3px #eef2f6;
}

.mk-log {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0 0 0 0.9rem;
  border-left: 2px solid var(--tone-tint);
  list-style: none;
}

.mk-log li {
  position: relative;
}

.mk-log li::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: -1.28rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tone-soft);
}

.mk-hub {
  position: relative;
  height: 170px;
}

.mk-hub-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lp-surface);
  box-shadow: 0 0 0 10px var(--tone-tint), 0 16px 30px -18px rgba(15, 23, 42, 0.5);
  color: var(--tone);
  transform: translate(-50%, -50%);
}

.mk-hub-node {
  position: absolute;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--tone-tint);
  border-radius: 999px;
  background: var(--lp-surface);
  box-shadow: 0 12px 24px -16px rgba(15, 23, 42, 0.5);
  color: var(--lp-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.mk-hub-node.n1 { top: 4%; left: 8%; }
.mk-hub-node.n2 { top: 10%; right: 2%; }
.mk-hub-node.n3 { bottom: 8%; left: 2%; }
.mk-hub-node.n4 { bottom: 2%; right: 6%; }

@media (prefers-reduced-motion: no-preference) {
  .lp-tile-link .lp-link-icon {
    transition: transform 0.2s;
  }
}

/* Final CTA band */
.lp-section-cta {
  padding-top: 0;
}

.lp-cta-band {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 1.5rem;
  border-radius: 28px;
  background:
    radial-gradient(30rem 16rem at 100% 0%, rgba(16, 185, 129, 0.22), transparent 60%),
    var(--lp-navy);
  color: #ffffff;
}

.lp-cta-band h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
}

.lp-accent-light {
  color: #6ee7b7;
}

.lp-cta-band p:not(.lp-eyebrow) {
  margin: 0.85rem 0 0;
  color: #c4cfdc;
}

.lp-cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (max-width: 479px) {
  .lp-cta-row .lp-btn,
  .lp-cta-band-actions .lp-btn,
  .lp-faq-intro .lp-btn {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .lp-cta-band {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .lp-cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 3rem 3.5rem;
  }
}

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

  .lp-feature-link:hover .lp-feature-arrow {
    transform: none;
  }
}

/* ===== Podstrony funkcji (/funkcje/*, /dla-biur) ===== */

/* Etykieta przycisku z panelu, dokładnie jak w UI. */
.lp-kbd {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  justify-self: start;
  margin-top: 0.35rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid #b7e6d1;
  border-radius: 8px;
  background: var(--lp-surface-soft);
  color: var(--lp-green-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Porównanie „ręcznie → w ksefv.pl”: wiersze przed/po z łącznikiem jak w krokach. */
.lp-vs {
  container-type: inline-size;
  margin-top: 2rem;
}

.lp-vs-legend {
  display: none;
}

.lp-vs-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-vs-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.85rem;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-vs-row:hover {
  border-color: #b7e6d1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 34px -22px rgba(4, 120, 87, 0.35);
}

.lp-vs-what {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.15rem 0.2rem;
  color: var(--lp-ink);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lp-vs-what-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--lp-green-tint);
  color: var(--lp-green-strong);
}

.lp-vs-what-icon .lp-icon {
  width: 18px;
  height: 18px;
}

.lp-vs-manual,
.lp-vs-us {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.lp-vs-manual {
  border: 1px solid #fbe1e4;
  background: linear-gradient(135deg, #fff7f8, #fdeef0);
  color: #6b5a5e;
}

.lp-vs-us {
  border: 1px solid #c9ecdc;
  background: linear-gradient(135deg, #f1fbf6, #e1f5ec);
  color: var(--lp-ink);
  font-weight: 600;
}

/* Znak przed/po: kafelek z gradientem, połyskiem u góry i miękkim cieniem w kolorze znaku. */
.lp-vs-badge {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
}

.lp-vs-badge::after {
  content: "";
  position: absolute;
  inset: 3px 3px 50% 3px;
  border-radius: 11px 11px 6px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.lp-vs-badge svg {
  position: relative;
  width: 24px;
  height: 24px;
}

.lp-vs-badge-no {
  background: linear-gradient(145deg, #fb7185, #e11d48);
  box-shadow: 0 10px 18px -10px rgba(225, 29, 72, 0.75), inset 0 -2px 0 rgba(136, 19, 55, 0.25);
}

.lp-vs-badge-ok {
  background: linear-gradient(145deg, #34d399, #047857);
  box-shadow: 0 10px 18px -10px rgba(4, 120, 87, 0.8), inset 0 -2px 0 rgba(6, 78, 59, 0.3);
}

/* Łącznik: ten sam zielony okrąg co między krokami; na wąsko wskazuje w dół. */
.lp-vs-arrow {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 30px;
  height: 30px;
  margin: -0.55rem 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #047857);
  box-shadow: 0 0 0 4px var(--lp-surface), 0 8px 14px -8px rgba(4, 120, 87, 0.8);
  color: #fff;
  transform: rotate(90deg);
  z-index: 1;
}

.lp-vs-arrow .lp-icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}

/* Szerzej: czynność nad parą przed/po, łącznik w prawo. */
@container (min-width: 620px) {
  .lp-vs-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr);
    align-items: stretch;
    column-gap: 0;
  }

  .lp-vs-what {
    grid-column: 1 / -1;
  }

  .lp-vs-arrow {
    align-self: center;
    margin: 0 -0.55rem;
    transform: none;
  }

  .lp-vs-manual {
    padding-right: 1.6rem;
  }

  .lp-vs-us {
    padding-left: 1.6rem;
  }
}

/* Najszerzej: czynność jako pierwsza kolumna, nad wierszami legenda kolumn. */
@container (min-width: 980px) {
  .lp-vs-legend {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 30px minmax(0, 1.15fr);
    margin-bottom: 0.75rem;
    padding: 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .lp-vs-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .lp-vs-legend-manual {
    grid-column: 2;
    padding-left: 1.1rem;
    color: #be123c;
  }

  .lp-vs-legend-us {
    grid-column: 4;
    padding-left: 1.6rem;
    color: var(--lp-green-strong);
  }

  .lp-vs-legend .lp-vs-badge {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .lp-vs-legend .lp-vs-badge svg {
    width: 16px;
    height: 16px;
  }

  .lp-vs-row {
    grid-template-columns: 230px minmax(0, 1fr) auto minmax(0, 1.15fr);
    align-items: center;
  }

  .lp-vs-what {
    grid-column: auto;
  }

  .lp-vs-manual,
  .lp-vs-us {
    align-self: stretch;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-vs-row {
    transition: none;
  }
}

.lp-compare-note {
  margin: 0.85rem 0 0;
  color: var(--lp-muted);
  font-size: 0.82rem;
}

/* Nagłówek podstrony: krótszy niż na stronie głównej, zrzut obok. */
.lp-page-hero {
  padding: 2.5rem 0 1rem;
}

.lp-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--lp-muted);
  font-size: 0.85rem;
}

.lp-crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #b8c4bd;
}

.lp-crumbs a {
  color: var(--lp-muted);
}

.lp-crumbs a:hover {
  color: var(--lp-green-strong);
}

/* Odnośniki do pozostałych podstron funkcji. */
.lp-more {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.lp-more a {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: var(--lp-surface);
  color: var(--lp-text);
  text-decoration: none;
  box-shadow: var(--lp-shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.lp-more a:hover,
.lp-more a:focus-visible {
  border-color: var(--lp-green);
  transform: translateY(-2px);
}

.lp-more strong {
  color: var(--lp-ink);
  font-size: 1.05rem;
}

@media (min-width: 760px) {
  .lp-more {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-more a {
    transition: none;
  }

  .lp-more a:hover,
  .lp-more a:focus-visible {
    transform: none;
  }
}

/* ===== /dla-biur — wg makiety „Nowoczesna strona ksefv.pl dla biur rachunkowych” ===== */

.ob-section {
  padding: 3rem 0;
}

.ob-card {
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
}

/* Hero: miniatura pulpitu biura (HTML/CSS, przykładowe dane). */
.ob-hero-art {
  position: relative;
  margin: 0;
  min-width: 0;
}

.ob-app {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-lg);
  font-size: 0.78rem;
}

.ob-app-side {
  display: none;
}

.ob-app-main {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.1rem;
}

.ob-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--lp-ink);
  font-size: 0.95rem;
}

.ob-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.ob-kpis span {
  display: grid;
  gap: 0.15rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
}

.ob-kpis small {
  color: var(--lp-muted);
  font-size: 0.68rem;
}

.ob-kpis b {
  color: var(--lp-ink);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.ob-kpis b.is-warn { color: #b45309; }
.ob-kpis b.is-danger { color: #be123c; }

.ob-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.ob-table th,
.ob-table td {
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid var(--lp-line);
  text-align: left;
  white-space: nowrap;
}

.ob-table th {
  color: var(--lp-muted);
  font-size: 0.66rem;
  font-weight: 700;
}

.ob-table td:first-child {
  color: var(--lp-ink);
  font-weight: 700;
}

.ob-table tr:last-child td {
  border-bottom: 0;
}

/* Na telefonie bez kolumny NIP — nic nie wychodzi poza kartę. */
.ob-table th:nth-child(2),
.ob-table td:nth-child(2) {
  display: none;
}

.ob-chip {
  position: static;
  margin: 1rem auto 0;
  width: fit-content;
}

.ob-hero-note {
  display: none;
}

@media (min-width: 640px) {
  .ob-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ob-table th:nth-child(2),
  .ob-table td:nth-child(2) {
    display: table-cell;
  }
}

@media (min-width: 900px) {
  .ob-app {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .ob-app-side {
    display: grid;
    align-content: start;
    gap: 0.3rem;
    padding: 1rem 0.7rem;
    background: var(--lp-navy);
    color: #c4cfdc;
  }

  .ob-app-logo {
    mix-blend-mode: lighten;
    display: block;
    width: 100%;
    max-width: 120px;
    height: auto;
    margin: 0 0 0.8rem 0.4rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
  }

  .ob-app-logo b {
    color: var(--lp-green);
  }

  .ob-app-nav {
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    font-size: 0.72rem;
  }

  .ob-app-nav.is-active {
    background: var(--lp-green-strong);
    color: #fff;
    font-weight: 700;
  }

  .ob-chip {
    position: absolute;
    right: 1.5rem;
    bottom: -1.6rem;
    margin: 0;
  }

  .ob-hero-art .lp-caption {
    margin-top: 1rem;
    text-align: left;
  }

  .ob-hero h1 {
    font-size: clamp(2.25rem, 1.2rem + 3vw, 3.4rem);
  }
}

@media (min-width: 1440px) {
  .ob-hero-note {
    display: block;
    position: absolute;
    top: 8%;
    right: -8.5rem;
    width: 8rem;
    font-size: 1.35rem;
    transform: rotate(-6deg);
  }

  .ob-hero-arrow {
    width: 64px;
    margin: 0.3rem 0 0 1.5rem;
  }
}

/* Kroki: nagłówek z kartą pomocy obok, trzy karty ze strzałkami, ciemny pasek „Gotowe”. */
.ob-row-head {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.ob-help {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
  color: var(--lp-text);
  text-decoration: none;
}

.ob-help strong {
  display: block;
  color: var(--lp-ink);
}

.ob-help small {
  color: var(--lp-muted);
  font-size: 0.82rem;
}

.ob-help-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lp-green-strong);
  color: #fff;
}

.ob-help-arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--lp-green-strong);
}

.ob-help:hover,
.ob-help:focus-visible {
  border-color: var(--lp-green);
}

.ob-steps {
  display: grid;
  gap: 3.25rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.ob-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 0.75rem 0.75rem 1.5rem;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ob-step:hover {
  border-color: #b7e6d1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 22px 40px -22px rgba(4, 120, 87, 0.35);
  transform: translateY(-3px);
}

.ob-step > :not(.ob-step-art):not(.ob-step-link) {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}

/* Miniatura kroku: zabarwione pole z delikatną siatką kropek i ekranem z panelu. */
.ob-step-art {
  display: grid;
  place-items: center;
  height: 190px;
  margin-bottom: 0.4rem;
  padding: 1rem;
  border-radius: 16px;
  background:
    radial-gradient(circle at 1px 1px, rgba(4, 120, 87, 0.14) 1px, transparent 0) 0 0 / 14px 14px,
    radial-gradient(18rem 9rem at 50% 0%, rgba(16, 185, 129, 0.18), transparent 70%),
    var(--lp-surface-soft);
  overflow: hidden;
}

.ob-mini {
  --tone: #047857;
  --tone-soft: #10b981;
  width: 100%;
  max-width: 250px;
  gap: 0.5rem;
  padding: 0.75rem 0.8rem;
  font-size: 0.74rem;
}

.ob-mini > *,
.ob-mini-rows li {
  min-width: 0;
}

.ob-mini .mk-head > b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ob-mini .mk-head > :not(b) {
  flex-shrink: 0;
}

@media (min-width: 1180px) {
  .ob-steps-4 .ob-step-art {
    padding: 0.75rem;
  }
}

.ob-mini .mk-muted {
  color: var(--lp-muted);
}

.ob-mini-input {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  color: var(--lp-text);
}

.ob-mini-input .lp-icon {
  width: 14px;
  height: 14px;
  color: var(--lp-muted);
}

.ob-mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ob-mini-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  color: var(--lp-muted);
  font-weight: 600;
}

.ob-mini-chips span.is-on {
  border-color: var(--lp-green);
  background: var(--lp-green-tint);
  color: var(--lp-green-strong);
}

.ob-mini-chips .lp-icon,
.ob-mini-ok .lp-icon {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.ob-mini-ok {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--lp-green-strong);
  font-weight: 700;
}

.ob-mini-rows {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ob-mini-rows li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  background: var(--lp-surface-soft);
}

.ob-mini-rows li > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ob-mini-rows .mk-tag {
  flex-shrink: 0;
}

.ob-step-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Numer kroku jako zielona plakietka z gradientem — kolejność jest tu informacją. */
.ob-step-num {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 30px;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #047857);
  box-shadow: 0 8px 16px -8px rgba(4, 120, 87, 0.7);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.ob-step-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--lp-green-tint);
  color: var(--lp-green-strong);
}

.ob-step-icon .lp-icon {
  width: 17px;
  height: 17px;
}

.ob-step h3 {
  margin: 0.35rem 0 0;
  color: var(--lp-ink);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ob-step p {
  margin: 0;
  color: var(--lp-text);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Łącznik między krokami: okrąg ze strzałką na przerywanej ścieżce.
   Telefon: w dół, pod kartą; desktop: w prawo, na wysokości miniatury. */
.ob-step-link {
  position: absolute;
  left: 50%;
  bottom: -2.95rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #047857);
  box-shadow: 0 0 0 6px var(--lp-bg), 0 12px 22px -10px rgba(4, 120, 87, 0.8);
  color: #fff;
  transform: translateX(-50%) rotate(90deg);
}

.ob-step-link .lp-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.ob-step-link::before,
.ob-step-link::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  border-top: 2px dashed #9fdcc3;
}

.ob-step-link::before {
  right: calc(100% + 6px);
}

.ob-step-link::after {
  left: calc(100% + 6px);
}

@media (min-width: 900px) {
  .ob-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem;
  }

  .ob-step-link {
    top: calc(0.75rem + 95px);
    right: calc(-2rem - 22px);
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
  }

  .ob-step:hover .ob-step-link {
    transform: translateY(-50%);
  }

  .ob-step-link::before,
  .ob-step-link::after {
    width: 10px;
  }
}

/* Cztery kroki (podstrony funkcji): 2 kolumny na średnich ekranach, 4 na szerokich. */
@media (min-width: 900px) {
  .ob-steps-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .ob-steps-4 .ob-step:nth-child(2) .ob-step-link {
    display: none;
  }
}

@media (min-width: 1180px) {
  .ob-steps-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .ob-steps-4 .ob-step:nth-child(2) .ob-step-link {
    display: grid;
  }

  .ob-steps-4 .ob-step-link {
    right: calc(-1.25rem - 22px);
  }
}

.ob-mini-btn {
  padding: 0.3rem 0.55rem;
  font-size: 0.66rem;
}

.ob-mini-drop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1.5px dashed #9fdcc3;
  border-radius: 10px;
  background: var(--lp-surface-soft);
  color: var(--lp-text);
  font-weight: 600;
}

.ob-mini-drop .lp-icon {
  width: 18px;
  height: 18px;
  color: var(--lp-green-strong);
}

.ob-step .lp-kbd {
  margin-top: 0.15rem;
}

@media (prefers-reduced-motion: reduce) {
  .ob-step {
    transition: none;
  }

  .ob-step:hover {
    transform: none;
  }
}

.ob-done {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  background: var(--lp-navy);
  color: #c4cfdc;
  font-size: 0.93rem;
}

.ob-done > span {
  display: block;
  padding-left: 1.9rem;
  text-indent: -1.9rem;
}

.ob-done > span .lp-icon {
  margin-right: 0.6rem;
  vertical-align: -5px;
}

.ob-done strong {
  color: #fff;
}

.ob-done .lp-icon {
  flex: none;
  color: var(--lp-green);
}

.ob-done a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .ob-row-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Zadania miesiąca: opis po lewej, karta listy zadań i pieczątka po prawej. */
.ob-tasks {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.ob-tasks .lp-cta-row {
  margin-top: 1.5rem;
}

.ob-tasks-art {
  position: relative;
}

.ob-checklist {
  display: grid;
  gap: 0.7rem;
  max-width: 520px;
  padding: 1.4rem 1.5rem;
  color: var(--lp-ink);
  font-size: 0.88rem;
}

.ob-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--lp-line);
  overflow: hidden;
}

.ob-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lp-green);
}

.ob-progress-label {
  justify-self: end;
  margin-top: -0.4rem;
  color: var(--lp-muted);
  font-size: 0.75rem;
}

.ob-checklist ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ob-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0;
  color: var(--lp-muted);
}

.ob-checklist li.is-done {
  color: var(--lp-ink);
}

.ob-checklist li small {
  color: var(--lp-muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.ob-tick {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid #c7d3cc;
  border-radius: 50%;
}

.is-done .ob-tick {
  border-color: var(--lp-green);
  background: var(--lp-green);
  color: #fff;
}

.ob-tick .lp-icon {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.ob-seal,
.ob-tasks-note {
  display: none;
}

@media (min-width: 900px) {
  .ob-tasks {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
  }

  .ob-seal {
    display: grid;
    place-items: center;
    position: absolute;
    top: 1.5rem;
    right: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lp-green-tint);
    color: var(--lp-green-strong);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.08);
  }

  .ob-seal .lp-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2.6;
  }

  .ob-tasks-note {
    display: none;
    position: absolute;
    top: 7.5rem;
    right: -8rem;
    width: 9rem;
    font-size: 1.35rem;
    transform: rotate(-6deg);
  }

  .ob-tasks-arrow {
    width: 60px;
    margin: 0.3rem 0 0 1.5rem;
  }
}

/* Dopisek stoi na marginesie strony, więc tylko gdy margines jest (≥ 1440 px). */
@media (min-width: 1440px) {
  .ob-tasks-note {
    display: block;
  }
}

/* Eksport i bezpieczeństwo: dwie karty obok siebie. */
.ob-duo {
  display: grid;
  gap: 1.25rem;
}

.ob-export,
.ob-secure {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  overflow: hidden;
}

.ob-duo h2 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
}

.ob-duo .lp-tile-link {
  margin-top: 1rem;
}

.ob-formats {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ob-formats li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ob-formats strong {
  display: block;
  color: var(--lp-ink);
  font-size: 0.92rem;
}

.ob-formats small {
  color: var(--lp-muted);
  font-size: 0.8rem;
}

.ob-file {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
}

.ob-file .lp-icon {
  width: 20px;
  height: 20px;
}

.ob-file-violet { background: #7c3aed; }
.ob-file-blue { background: #2563eb; }
.ob-file-green { background: #059669; }
.ob-file-red { background: #e11d48; }

.ob-secure {
  background:
    radial-gradient(16rem 12rem at 100% 0%, rgba(16, 185, 129, 0.16), transparent 70%),
    var(--lp-surface);
}

.ob-lock {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--lp-green-tint);
  color: var(--lp-green-strong);
  box-shadow: 0 0 0 14px rgba(16, 185, 129, 0.08);
}

.ob-lock .lp-icon {
  width: 38px;
  height: 38px;
}

@media (min-width: 640px) {
  .ob-export {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
  }

  .ob-secure {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .ob-duo {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

/* Porównanie i FAQ: nagłówek po lewej, treść po prawej. */
.ob-compare,
.ob-faq {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.ob-compare .lp-vs {
  margin-top: 0;
}

.ob-faq-all {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .ob-compare {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
    gap: 2.5rem;
  }

  .ob-faq {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
    gap: 2.5rem;
  }

  .ob-compare .lp-head {
    position: sticky;
    top: 100px;
  }
}

/* Jasny pas CTA na końcu strony biur. */
.ob-cta {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  border: 1px solid #c9ecdc;
  border-radius: 24px;
  background:
    radial-gradient(28rem 14rem at 0% 100%, rgba(16, 185, 129, 0.14), transparent 70%),
    var(--lp-green-tint);
}

.ob-cta h2 {
  margin: 0;
  color: var(--lp-ink);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ob-cta .lp-cta-row {
  margin-top: 0;
}

.ob-cta .lp-checks {
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .ob-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 2.5rem 3rem;
  }
}

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

/* ===== /kontakt — wg makiety „Nowoczesna strona kontaktu ksefv.pl” ===== */

.ct-hero {
  padding-bottom: 1rem;
}

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

.ct-hero h1 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem);
}

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

.ct-facts li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ct-facts strong {
  display: block;
  color: var(--lp-ink);
  font-size: 0.92rem;
}

.ct-facts small {
  color: var(--lp-muted);
  font-size: 0.82rem;
}

.ct-fact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lp-green-tint);
  color: var(--lp-green-strong);
}

.ct-hero-art {
  display: none;
}

@media (min-width: 760px) {
  .ct-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ct-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  .ct-hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 240px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(16, 185, 129, 0.16), transparent 75%);
  }
}

.ct-bubble {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 300px;
  padding: 1rem 1.2rem;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-lg);
  transform: rotate(-4deg);
}

.ct-bubble strong {
  display: block;
  color: var(--lp-ink);
}

.ct-bubble small {
  color: var(--lp-muted);
  font-size: 0.82rem;
}

.ct-bubble-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981, #047857);
  color: #fff;
}

.ct-note {
  position: absolute;
  top: -0.5rem;
  right: -1rem;
  font-size: 1.3rem;
  transform: rotate(-8deg);
}

.ct-note-arrow {
  width: 64px;
  margin: 0.3rem 0 0 2rem;
  transform: scaleX(-1);
}

/* Odstępy jak na makiecie: sekcje strony kontaktu leżą blisko siebie. */
.lp-section.ct-section {
  padding: 1.25rem 0;
}

.lp-section.ct-section-last {
  padding-bottom: 4rem;
}

.lp-section .ct-card h2,
.lp-section .ct-h2 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.lp-section .ct-h2 {
  margin-bottom: 1.1rem;
}

.lp-section .ct-help h2 {
  font-size: 1.1rem;
}

/* Formularz i szybki kontakt. */
.ct-main {
  padding-top: 1.5rem;
}

.ct-main-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .ct-main-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

.ct-card {
  padding: 1.6rem;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow);
}

.ct-card h2,
.ct-h2 {
  margin: 0 0 0.5rem;
  color: var(--lp-ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ct-h2 {
  margin-bottom: 1.25rem;
}

.ct-muted {
  margin: 0 0 1rem;
  color: var(--lp-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.ct-small {
  margin: 1rem 0 0;
  font-size: 0.85rem;
}

.ct-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .ct-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-full {
    grid-column: 1 / -1;
  }
}

.ct-field {
  display: grid;
  gap: 0.4rem;
  color: var(--lp-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.ct-field small {
  color: var(--lp-muted);
  font-weight: 500;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d5e1db;
  border-radius: 12px;
  background: var(--lp-surface);
  color: var(--lp-ink);
  font: inherit;
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ct-field textarea {
  min-height: 140px;
  resize: vertical;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--lp-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.ct-field [aria-invalid="true"] {
  border-color: #e11d48;
}

.ct-field .ct-error {
  color: #be123c;
  font-weight: 600;
}

.ct-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
}

.ct-secure {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 22rem;
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.8rem;
}

.ct-secure .lp-icon {
  flex: none;
  color: var(--lp-muted);
}

.ct-side {
  display: grid;
  gap: 1.25rem;
}

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

.ct-quick li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--lp-text);
  font-size: 0.9rem;
}

.ct-quick strong {
  display: block;
  color: var(--lp-ink);
}

.ct-quick a {
  color: var(--lp-green-strong);
  font-weight: 600;
}

.ct-quick-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lp-green-tint);
  color: var(--lp-green-strong);
}

.ct-help {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-color: #c9ecdc;
  background: linear-gradient(135deg, #f1fbf6, #e3f6ee);
}

.ct-help h2 {
  font-size: 1.1rem;
}

.ct-help-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lp-surface);
  color: var(--lp-green-strong);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.12);
}

/* Tematy: kafelki otwierają formularz z wybranym tematem. */
.ct-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .ct-topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .ct-topics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.ct-topic {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  height: 100%;
  padding: 1.1rem 1.1rem 2.4rem;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: var(--lp-surface);
  color: var(--lp-ink);
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: var(--lp-shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ct-topic:hover,
.ct-topic:focus-visible {
  border-color: var(--tone-soft);
  transform: translateY(-2px);
}

.ct-topic-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tone-tint);
  color: var(--tone);
}

.ct-topic-arrow {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  width: 18px;
  height: 18px;
  color: var(--tone);
}

/* Informacje formalne. */
.ct-duo {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .ct-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.ct-docs a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  color: var(--lp-ink);
  font-weight: 700;
  text-decoration: none;
}

.ct-docs a:hover,
.ct-docs a:focus-visible {
  border-color: var(--lp-green);
}

.ct-docs a > .lp-icon:first-child {
  color: var(--lp-green-strong);
}

.ct-doc-arrow {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--lp-green-strong);
}

@media (prefers-reduced-motion: reduce) {
  .ct-topic,
  .ct-field input,
  .ct-field select,
  .ct-field textarea {
    transition: none;
  }

  .ct-topic:hover,
  .ct-topic:focus-visible {
    transform: none;
  }
}
