/* Contark landing page.
   Light, high end, mildly futuristic: white ground, deep navy ink, one
   electric blue used sparingly. Kolory marki z logo (partials/mark.svg):
   granat #0B1120 i niebieski #3B6EF5. Self contained on purpose, it never
   touches app.css, so the panel keeps its own tokens.
   Colours live here as --lp-* variables; the template carries none. */

/* 🔴 Bez overflow-x na html/body: przewijanym kontenerem robilo sie wtedy body
   i sticky nav odjezdzal razem z trescia. Poziomy nadmiar tnie .lp (clip). */
html, body { background: #ffffff; margin: 0; }

.lp {
  --lp-bg: #ffffff;
  --lp-grey: #eef0f4;
  --lp-surface: #f7f8fa;
  --lp-surface-2: #e6e9ef;
  --lp-ink: #0b1120;        /* 18,8:1 na bieli */
  --lp-ink-2: #4a5160;      /* 8,0:1 */
  --lp-ink-3: #5a6070;      /* 6,3:1, na --lp-grey 5,5:1 */
  --lp-line: #e4e7ec;
  --lp-line-2: #cdd2da;
  --lp-accent: #2f5bd8;     /* 5,8:1, wolno uzyc jako tekst */
  --lp-accent-2: #3b6ef5;   /* 4,4:1, tylko grafika, poswiaty, linie */
  --lp-accent-soft: rgba(59, 110, 245, 0.10);
  --lp-glow: rgba(59, 110, 245, 0.18);
  --lp-ok: #186b42;
  --lp-err: #b42318;        /* 6,5:1 */

  /* Ruch: jedna krzywa wejscia i jedna szuflady, reszta to czasy. */
  --lp-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --lp-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  position: relative;
  min-height: 100vh;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv11", "ss01";
  letter-spacing: -0.012em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.lp * { box-sizing: border-box; }
/* :where zeruje specyficznosc, inaczej `.lp a` wygrywa z kolorem .lp-btn-primary. */
.lp :where(a) { color: inherit; text-decoration: none; }
.lp ::selection { background: var(--lp-ink); color: var(--lp-bg); }

.lp-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--lp-ink); color: #ffffff;
  font-size: 14px; font-weight: 550;
}
.lp-skip:focus { top: 12px; }

/* ── ground: mesh, grid, grain ──────────────────────────────────────────── */
.lp-atmos { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.lp-mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 90vh;
  background:
    radial-gradient(40% 46% at 20% 6%, rgba(59,110,245,0.14) 0%, transparent 70%),
    radial-gradient(46% 52% at 80% 0%, rgba(59,110,245,0.10) 0%, transparent 72%),
    radial-gradient(34% 42% at 52% 34%, rgba(11,17,32,0.05) 0%, transparent 72%);
  filter: blur(20px);
}
.lp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,17,32,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,17,32,0.045) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 78%);
}
.lp-grain {
  position: absolute; inset: 0; opacity: 0.3; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.26'/%3E%3C/svg%3E");
}
.lp-shell { position: relative; z-index: 1; }
.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── sticky nav ─────────────────────────────────────────────────────────── */
/* Pasek jest przezroczysty nad bohaterem i dostaje szklo dopiero po zjezdzie,
   zeby nie przykrywac poswiaty, ale trzymac czytelnosc nad trescia. */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.lp-nav[data-scrolled="true"] {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--lp-line);
  box-shadow: 0 8px 24px -20px rgba(11, 17, 32, 0.35);
}
.lp-nav-in {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  max-width: 1240px; margin: 0 auto; padding: 14px max(16px, 3vw);
}
.lp-navgroup {
  display: flex; align-items: center; gap: 2px; padding: 4px;
  border-radius: 999px; border: 1px solid rgba(11,17,32,0.07);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.lp-navlink {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border-radius: 999px; font-size: 14.5px; color: var(--lp-ink-2);
  transition: color 150ms ease, background-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .lp-navlink:hover { color: var(--lp-ink); background: var(--lp-surface-2); }
}
.lp-navactions { display: flex; align-items: center; gap: 8px; }

.lp-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 620; letter-spacing: -0.03em; font-size: 20px; }
.lp-logo svg { width: 28px; height: 28px; flex: none; }

/* przycisk menu i arkusz, tylko ponizej 1020 px */
.lp-menubtn {
  display: none; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 999px; border: 1px solid var(--lp-line-2); background: rgba(255,255,255,0.85);
  color: var(--lp-ink); cursor: pointer;
  transition: transform 160ms var(--lp-ease), background-color 150ms ease;
}
.lp-menubtn:active { transform: scale(0.95); }
.lp-sheet {
  /* <dialog> z showModal: fokus uwieziony, Esc zamyka, tlo inert. Za darmo. */
  position: fixed; inset: 0 0 auto 0; margin: 0; width: 100%; max-width: none; max-height: none;
  padding: 12px 16px 24px; border: 0; border-bottom: 1px solid var(--lp-line);
  border-radius: 0 0 22px 22px; background: #ffffff; color: var(--lp-ink);
  box-shadow: 0 24px 48px -24px rgba(11, 17, 32, 0.35);
  opacity: 1; transform: none;
  transition: opacity 240ms var(--lp-ease-drawer), transform 240ms var(--lp-ease-drawer),
              overlay 240ms allow-discrete, display 240ms allow-discrete;
}
.lp-sheet:not([open]) {
  opacity: 0; transform: translateY(-12px);
  transition-duration: 160ms; transition-timing-function: ease;
}
@starting-style { .lp-sheet[open] { opacity: 0; transform: translateY(-12px); } }
.lp-sheet::backdrop {
  background: rgba(11, 17, 32, 0.32);
  opacity: 1; transition: opacity 240ms ease, overlay 240ms allow-discrete, display 240ms allow-discrete;
}
.lp-sheet:not([open])::backdrop { opacity: 0; }
@starting-style { .lp-sheet[open]::backdrop { opacity: 0; } }
.lp-sheet-top { display: flex; align-items: center; justify-content: space-between; }
.lp-sheet .lp-menubtn { display: inline-grid; }
.lp-sheet-links { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; }
.lp-sheet-links a {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  font-size: 18px; font-weight: 550; letter-spacing: -0.02em; border-bottom: 1px solid var(--lp-line);
}
.lp-sheet-cta { display: grid; gap: 10px; margin-top: 20px; }

/* ── buttons ────────────────────────────────────────────────────────────── */
.lp-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 10px 0 28px; border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 15.5px; font-weight: 550; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--lp-ease), box-shadow 200ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.lp-btn:active { transform: scale(0.97); }
.lp-btn:focus-visible, .lp-navlink:focus-visible, .lp-foot-link:focus-visible, .lp-totop:focus-visible,
.lp-menubtn:focus-visible, .lp-sheet-links a:focus-visible, .lp-logo:focus-visible, .lp-input:focus-visible {
  outline: 2px solid var(--lp-accent); outline-offset: 3px;
}
.lp-btn-primary {
  color: #ffffff; background: var(--lp-ink);
  box-shadow: 0 14px 30px -16px rgba(47, 91, 216, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* round badge inside the pill, the detail that makes the button feel made */
.lp-ico {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 999px; background: var(--lp-accent-2); color: #ffffff;
  transition: transform 200ms var(--lp-ease);
}
.lp-btn-soft {
  color: var(--lp-ink); background: var(--lp-grey);
  border-color: rgba(11,17,32,0.06); padding: 0 28px;
}
.lp-btn-ghost { color: var(--lp-ink); border-color: var(--lp-line-2); background: transparent; padding: 0 28px; }
@media (hover: hover) and (pointer: fine) {
  .lp-btn-primary:hover { background: #151d33; box-shadow: 0 18px 36px -16px rgba(47, 91, 216, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
  .lp-btn:hover .lp-ico { transform: translateX(3px); }
  .lp-btn-soft:hover { background: var(--lp-surface-2); }
  .lp-btn-ghost:hover { border-color: var(--lp-ink-2); background: var(--lp-surface); }
  .lp-menubtn:hover { background: var(--lp-surface); }
}
.lp-btn[aria-busy="true"] { cursor: progress; opacity: 0.85; }
.lp-btn-sm { min-height: 44px; font-size: 14.5px; padding: 0 20px; gap: 8px; }
.lp-btn-sm .lp-ico { width: 30px; height: 30px; }
.lp-btn-sm.lp-btn-primary { padding: 0 7px 0 20px; }

/* ── type ───────────────────────────────────────────────────────────────── */
.lp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.lp-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lp-ink-3);
}
.lp-kicker .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--lp-accent-2); box-shadow: 0 0 0 4px var(--lp-accent-soft); }
.lp-eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--lp-ink-2); }
.lp-display { font-weight: 620; letter-spacing: -0.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
.lp-h1 { font-size: clamp(40px, 6.6vw, 88px); max-width: 15ch; line-height: 0.98; }
/* Podkreslenie slowa, nie malowanie liter: inset cieniem, bo trzyma sie dolu
   wiersza przy kazdym rozmiarze. */
.lp-h1 .grad { box-shadow: inset 0 -0.14em 0 rgba(59, 110, 245, 0.32); }
.lp-h2 { font-size: clamp(30px, 4.4vw, 48px); }
.lp-h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.024em; }
.lp-lead { margin: 28px 0 0; max-width: 580px; font-size: 18.5px; line-height: 1.55; color: var(--lp-ink-2); text-wrap: pretty; }
.lp-body { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--lp-ink-2); text-wrap: pretty; }
.lp-fine { font-size: 12px; letter-spacing: 0.05em; color: var(--lp-ink-3); }
.lp-accent { color: var(--lp-ink); }

/* ── hero ───────────────────────────────────────────────────────────────── */
.lp-hero { position: relative; overflow: hidden; min-height: calc(92svh - 72px); display: flex; flex-direction: column; }
/* 🔴 Skrot `padding` skasowalby boczny padding z .lp-wrap, ktore ten sam
   element nosi jako druga klase, i tresc siadlaby na krawedzi telefonu. */
.lp-hero-fg { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 84px; }
.lp-cta-row { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.lp-arc-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lp-arc-glow {
  position: absolute; right: -8%; bottom: -26%;
  width: 76vw; height: 76vw; max-width: 1050px; max-height: 1050px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(59,110,245,0.22) 0%, rgba(59,110,245,0.07) 42%, transparent 68%);
  filter: blur(54px);
}
.lp-asciiarc {
  position: absolute; right: -7%; bottom: 11%;
  width: max-content; margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(7px, 0.83vw, 12px); line-height: 1; letter-spacing: 0; white-space: pre;
  background: linear-gradient(118deg, #0b1120 0%, #1c2748 44%, #2f5bd8 76%, #3b6ef5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.92;
  /* Maska ma zgasic torus zanim dojdzie do paska faktow pod bohaterem.
     Miekki brzeg: torus ma wychodzic z tla, nie stac w ramce. */
  -webkit-mask-image: radial-gradient(66% 70% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(66% 70% at 50% 50%, #000 62%, transparent 100%);
}
/* Na telefonie bohater jest gesty od tekstu, a torus zmniejszony do 5 px to
   juz tylko szum wchodzacy pod pasek faktow. Zostaje sama poswiata. */
@media (max-width: 900px) { .lp-asciiarc { display: none; } }

/* spec strip under the hero: mono facts, no marketing */
.lp-spec {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line);
  background: linear-gradient(180deg, var(--lp-surface), rgba(247,248,250,0));
}
.lp-spec div { padding: 20px 24px; border-left: 1px solid var(--lp-line); }
.lp-spec div:first-child { border-left: 0; }
.lp-spec b { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.lp-spec span { display: block; margin-top: 4px; font-size: 12px; color: var(--lp-ink-3); }

/* ── section heads ──────────────────────────────────────────────────────── */
.lp-sec { padding-top: 128px; scroll-margin-top: 80px; }
.lp-sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.lp-index { font-family: ui-monospace, monospace; font-size: 12px; letter-spacing: 0.18em; color: var(--lp-accent); }
.lp-hair { flex: 1; min-width: 40px; height: 1px; background: linear-gradient(90deg, var(--lp-line-2) 0%, transparent 92%); }

/* ── manifesto ──────────────────────────────────────────────────────────── */
.lp-manifesto {
  position: relative; margin-top: 96px; overflow: hidden;
  border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line);
  padding: clamp(76px, 13vw, 150px) 0; background: var(--lp-surface);
}
.lp-manifesto-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 70vw; max-width: 900px; height: 60%; pointer-events: none;
  background: radial-gradient(closest-side, var(--lp-glow), transparent 70%); filter: blur(40px);
}
.lp-manifesto .l {
  position: relative; margin: 0; font-weight: 620;
  font-size: clamp(28px, 4.8vw, 54px); line-height: 1.08; letter-spacing: -0.035em; max-width: 22ch;
}
.lp-manifesto .l em { font-style: normal; color: var(--lp-accent); }
.lp-manifesto .sig { position: relative; margin: 32px 0 0; font-size: 13px; color: var(--lp-ink-3); letter-spacing: 0.04em; }

/* ── hairline grids ─────────────────────────────────────────────────────── */
.lp-bento, .lp-steps, .lp-metrics, .lp-pgrid {
  display: grid; gap: 0; background: var(--lp-surface);
  border: 1px solid var(--lp-line); border-radius: 18px; overflow: hidden;
}
.lp-bento { grid-template-columns: repeat(6, 1fr); margin-top: 44px; }
.lp-steps { grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
.lp-metrics { grid-template-columns: repeat(4, 1fr); }
.lp-cell { grid-column: span 2; }
.lp-cell[data-span="4"] { grid-column: span 4; }
.lp-cell[data-span="6"] { grid-column: span 6; }
/* Karty sa statyczne, wiec nie reaguja na hover: podswietlenie obiecywaloby klik. */
.lp-fcell {
  position: relative; padding: 32px; display: flex; flex-direction: column;
  box-shadow: inset 1px 0 0 var(--lp-line), inset 0 1px 0 var(--lp-line);
}
.lp-feat-ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid rgba(59,110,245,0.22); color: var(--lp-accent);
  background: linear-gradient(160deg, rgba(59,110,245,0.14), rgba(59,110,245,0.04));
}
.lp-fcell h3 { margin: 20px 0 0; }
.lp-step-n { font-family: ui-monospace, monospace; font-size: 12.5px; letter-spacing: 0.16em; color: var(--lp-accent); }
.lp-metric {
  font-weight: 620; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; font-size: clamp(36px, 5vw, 54px);
  color: var(--lp-ink);
}

/* ── pricing ────────────────────────────────────────────────────────────── */
.lp-pgrid { grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
.lp-pcell {
  position: relative; padding: 34px 30px; display: flex; flex-direction: column; gap: 24px;
  box-shadow: inset 1px 0 0 var(--lp-line);
}
.lp-pcell[data-pop="true"] { background: linear-gradient(180deg, rgba(59,110,245,0.08), rgba(59,110,245,0.01)); }
.lp-pcell[data-pop="true"]::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--lp-accent), var(--lp-accent-2));
}
.lp-plan-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: ui-monospace, monospace; font-size: 17px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.lp-pop-badge { font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.08em; padding: 4px 9px; border-radius: 999px; color: #ffffff; background: var(--lp-accent); text-transform: uppercase; }
.lp-price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.lp-price b { font-weight: 620; font-size: clamp(38px, 4.4vw, 48px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.lp-price span { font-size: 13.5px; color: var(--lp-ink-2); }
.lp-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.lp-feat { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.45; }
.lp-feat svg { flex: none; margin-top: 2px; color: var(--lp-accent); }
.lp-feat[data-on="false"] { color: var(--lp-ink-3); }
.lp-feat[data-on="false"] svg { color: var(--lp-ink-3); }
.lp-pcell .lp-btn { width: 100%; }

/* ── closing card ───────────────────────────────────────────────────────── */
.lp-card {
  position: relative; overflow: hidden; border: 1px solid var(--lp-line);
  background: linear-gradient(180deg, var(--lp-grey), rgba(238,240,244,0.25));
  border-radius: 24px; padding: clamp(52px, 8vw, 108px) 24px; text-align: center;
}
.lp-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lp-accent), var(--lp-accent-2), transparent);
}
.lp-card-in { position: relative; }
.lp-card .lp-cta-row { justify-content: center; }

/* ── motion ─────────────────────────────────────────────────────────────── */
/* Wejscie krotkie i mocno hamujace: tekst ma byc czytelny zanim wzrok dojedzie. */
.lp-rise { opacity: 0; transform: translateY(10px); animation: lp-rise 500ms var(--lp-ease) forwards; animation-delay: var(--d, 0s); }
@keyframes lp-rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--lp-ease), transform 600ms var(--lp-ease); }
.reveal.in { opacity: 1; transform: none; }
/* Mniej ruchu to nie zero ruchu: zostaja przenikania, znika przesuwanie. */
@media (prefers-reduced-motion: reduce) {
  .lp-rise { transform: none; animation-name: lp-fade; animation-duration: 300ms; }
  @keyframes lp-fade { to { opacity: 1; } }
  .reveal { transform: none; transition: opacity 300ms ease; }
  .lp-btn:active, .lp-menubtn:active { transform: none; }
  .lp-sheet, .lp-sheet:not([open]) { transform: none; }
  @starting-style { .lp-sheet[open] { transform: none; } }
}

.lp-scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.lp-scrollbar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lp-accent), var(--lp-accent-2)); }
.lp-cursor {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; border-radius: 50%;
  z-index: 2; pointer-events: none; opacity: 0; transition: opacity 400ms ease; will-change: transform;
  background: radial-gradient(circle, rgba(59,110,245,0.10) 0%, rgba(59,110,245,0.035) 38%, transparent 64%);
}
.lp-totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--lp-line-2); background: rgba(255,255,255,0.85); color: var(--lp-ink-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(10px); pointer-events: none; cursor: pointer;
  transition: opacity 200ms var(--lp-ease), transform 200ms var(--lp-ease), color 150ms ease, border-color 150ms ease;
}
.lp-totop.show { opacity: 1; transform: none; pointer-events: auto; }
.lp-totop:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .lp-totop:hover { color: var(--lp-ink); border-color: var(--lp-ink-2); }
}

/* ── form (/start) ──────────────────────────────────────────────────────── */
.lp-formwrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; padding-top: clamp(32px, 6vw, 72px); padding-bottom: 96px; }
.lp-formcard {
  border: 1px solid var(--lp-line); border-radius: 22px; background: #ffffff;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 30px 60px -40px rgba(11, 17, 32, 0.35);
}
.lp-form { display: grid; gap: 18px; }
.lp-field { display: grid; gap: 7px; }
.lp-label { font-size: 14px; font-weight: 550; }
.lp-label .opt { font-weight: 400; color: var(--lp-ink-3); }
.lp-input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--lp-line-2); background: #ffffff; color: var(--lp-ink);
  font: inherit; font-size: 16px; letter-spacing: -0.01em;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
textarea.lp-input { min-height: 112px; resize: vertical; line-height: 1.5; }
.lp-input:focus { outline: none; border-color: var(--lp-accent); box-shadow: 0 0 0 4px var(--lp-accent-soft); }
.lp-input[aria-invalid="true"] { border-color: var(--lp-err); }
.lp-err { margin: 0; font-size: 13px; color: var(--lp-err); }
.lp-alert {
  padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5;
  border: 1px solid var(--lp-err); color: var(--lp-err); background: #fff5f4;
}
.lp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.lp-points li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--lp-ink-2); }
.lp-points svg { flex: none; margin-top: 3px; color: var(--lp-accent); }
.lp-done { text-align: center; padding: clamp(12px, 3vw, 24px) 0; }
.lp-done-ico {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(24, 107, 66, 0.10); color: var(--lp-ok);
  animation: lp-pop 420ms var(--lp-ease) both;
}
@keyframes lp-pop { from { opacity: 0; transform: scale(0.9); } }
@media (prefers-reduced-motion: reduce) { .lp-done-ico { animation-name: lp-fade; } }

/* ── footer ─────────────────────────────────────────────────────────────── */
.lp-footer {
  position: relative; overflow: hidden; border-top: 1px solid var(--lp-line);
  margin-top: clamp(100px, 13vw, 170px); padding-top: clamp(60px, 8vw, 100px);
}
.lp-footer-glow {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -55%);
  width: 80vw; max-width: 1000px; height: 320px; pointer-events: none;
  background: radial-gradient(closest-side, var(--lp-glow), transparent 70%); filter: blur(50px);
}
.lp-foot-cta { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; flex-wrap: wrap; }
.lp-foot-form { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-rule { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--lp-line-2), transparent); margin: clamp(44px,6vw,76px) auto; }
.lp-foot-grid { position: relative; display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 40px; }
.lp-foot-tagline { margin: 18px 0 0; max-width: 300px; font-size: 14px; line-height: 1.6; color: var(--lp-ink-2); }
.lp-foot-coltitle { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-ink-3); margin-bottom: 8px; }
.lp-foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.lp-foot-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--lp-ink-2); transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .lp-foot-link:hover { color: var(--lp-ink); } }
.lp-foot-wordmark {
  position: relative; text-align: center; user-select: none; pointer-events: none;
  font-weight: 700; letter-spacing: -0.06em; line-height: 0.78;
  font-size: clamp(72px, 21vw, 300px); margin: clamp(40px, 7vw, 84px) 0 0;
  background: linear-gradient(180deg, rgba(59,110,245,0.20), rgba(59,110,245,0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-foot-bottom {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 0 clamp(40px, 6vw, 64px); border-top: 1px solid var(--lp-line); margin-top: clamp(8px, 3vw, 28px);
}
.lp-foot-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .lp-navgroup { display: none; }
  .lp-menubtn { display: inline-grid; }
}
@media (max-width: 920px) {
  .lp-bento { grid-template-columns: repeat(2, 1fr); }
  .lp-cell, .lp-cell[data-span="4"], .lp-cell[data-span="6"] { grid-column: span 2; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-metrics, .lp-spec { grid-template-columns: repeat(2, 1fr); }
  .lp-spec div:nth-child(3) { border-left: 0; }
  .lp-pgrid { grid-template-columns: 1fr; }
  .lp-formwrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .lp-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .lp-foot-brandcol { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  /* Trzy elementy w pasku nie mieszcza sie w 375 px. Logowanie jest w menu,
     w stopce i w karcie koncowej, w pasku zostaje jedno wezwanie. */
  .lp-navactions .lp-btn-soft { display: none; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-cell, .lp-cell[data-span="4"], .lp-cell[data-span="6"] { grid-column: span 1; }
  .lp-nav-in { padding: 10px 16px; }
  .lp-wrap { padding: 0 16px; }
  .lp-hero-fg { padding-top: 24px; }
  .lp-cta-row .lp-btn { width: 100%; justify-content: space-between; }
  .lp-btn-soft, .lp-btn-ghost { justify-content: center; }
  .lp-cta-row .lp-btn-soft { justify-content: center; }
  .lp-foot-cta { flex-direction: column; align-items: stretch; }
  .lp-foot-form .lp-btn { width: 100%; justify-content: space-between; }
  .lp-foot-form .lp-btn-soft { justify-content: center; }
  .lp-fcell { padding: 26px 22px; }
}
