/* Lumen Client - strona. Ciemno, jednolite kolory (bez gradientow w interfejsie), czcionka Inter jak w GUI klienta. */

@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-24pt-medium.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-24pt-semibold.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-28pt-bold.ttf") format("truetype"); }

:root {
  --bg: #0b0b0d;
  --surface: #121216;
  --surface-2: #17171c;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f2f5;
  --text-2: #c9c9d0;
  --muted: #8d8d99;
  --white: #ffffff;
  --radius: 18px;
  --wrap: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; margin: 0; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 48px); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.label::before {
  content: ""; width: 7px; height: 7px; background: var(--text-2);
  transform: rotate(45deg);
}

/* ---------------------------------------------------------------- przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: .08s; }
.btn-primary { background: var(--white); color: #0b0b0d; }
.btn-primary:hover { background: #dcdce2; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-small { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------------------------------------------------------------- pasek u gory */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.open { background: rgba(11, 11, 13, 0.92); border-bottom-color: var(--line); backdrop-filter: blur(14px); }
.nav-inner { height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: 0.22em; font-size: 15px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { position: relative; color: var(--text-2); font-size: 15px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
/* Kreska pod linkiem: wysuwa sie przy najechaniu i zostaje przy sekcji, ktora wlasnie ogladasz. */
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--white); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
/* Pasek postepu przewijania na dole menu. */
.progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--white); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: .85;
}
.nav-toggle { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: var(--bg) url("assets/img/hero.jpg") right center / cover no-repeat;
}
.hero-inner { position: relative; padding: 160px 0 110px; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); line-height: 1.02; letter-spacing: -0.035em; }
.lead { max-width: 560px; margin: 26px 0 0; font-size: 19px; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.stats { display: flex; flex-wrap: wrap; gap: 48px; list-style: none; padding: 0; margin: 64px 0 0; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- sekcje */
.section { padding: 120px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; }
.sub { max-width: 620px; margin: 18px 0 0; color: var(--text-2); font-size: 18px; }

/* Funkcje */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px;
  transition: transform .35s var(--ease), border-color .35s, background-color .35s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background-color: #141419; }
.card-wide { grid-column: 1 / -1; }
.card-icon {
  width: 46px; height: 46px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 20px;
  transition: background-color .3s, border-color .3s, transform .45s var(--ease);
}
.card-icon svg { width: 22px; height: 22px; fill: var(--text); transition: fill .3s; }
/* Przy najechaniu ikonka sie "zapala": biale pole, ciemny znak. */
.card:hover .card-icon { background-color: var(--white); border-color: var(--white); transform: rotate(-8deg) scale(1.06); }
.card:hover .card-icon svg { fill: #0b0b0d; }
.card h3 { font-size: 22px; }
.card > p { margin: 6px 0 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.chips li {
  font-size: 13px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.chips li:hover { border-color: var(--line-strong); color: var(--white); }

/* Przed i po: dwa obrazy jeden na drugim, "przed" przyciety do pozycji suwaka. */
.compare {
  --pos: 50%;
  position: relative; margin-top: 48px; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
  background: var(--surface); user-select: none; -webkit-user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--white); pointer-events: none;
}
.compare-knob {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--white); display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}
.compare-knob svg { width: 22px; height: 22px; fill: #0b0b0d; }
.compare-tag {
  position: absolute; top: 18px; padding: 7px 14px; border-radius: 999px;
  background: rgba(11, 11, 13, 0.72); border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 600; pointer-events: none; backdrop-filter: blur(8px);
}
.compare-tag-left { left: 18px; }
.compare-tag-right { right: 18px; }
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.compare:has(.compare-range:focus-visible) .compare-knob { outline: 3px solid rgba(255, 255, 255, 0.5); outline-offset: 3px; }

/* Galeria */
.showcase { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; margin-top: 64px; }
.showcase.reverse .shot { order: 2; }
.shot {
  margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
  background: var(--surface); aspect-ratio: 16 / 9;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.shot.empty img { display: none; }
.showcase-text h3 { font-size: 28px; }
.showcase-text p { margin: 14px 0 0; color: var(--text-2); font-size: 17px; }

/* Cennik */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
/* Wyrozniony plan (srodek): jasniejsza obwodka, jasniejsze tlo, lekko wysuniety do gory. */
.plan-featured {
  border-color: rgba(255, 255, 255, 0.42); background: var(--surface-2);
  transform: translateY(-14px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.plan-featured:hover { transform: translateY(-20px); border-color: rgba(255, 255, 255, 0.6); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.plan-featured h3 { color: var(--white); }
.price-note { margin-left: 10px; color: var(--muted); font-size: 15px; }
.price-sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.plan-featured .price-sub { color: var(--text-2); }
.badge {
  position: absolute; top: -13px; left: 32px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--white); color: #0b0b0d;
}
.badge svg { width: 13px; height: 13px; fill: #0b0b0d; }
.plan h3 { font-size: 20px; color: var(--text-2); }
.price { margin: 12px 0 0; }
.price strong { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.ticks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; color: var(--text-2); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
/* Pelna ikonka "ptaszka" w kolku (maska SVG w kolorze tekstu), rowno z pierwsza linijka tekstu. */
.ticks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: var(--muted);
  -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat;
}
.plan-featured .ticks li { color: var(--text); }
.plan-featured .ticks li::before { background: var(--white); }
.plans { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 110 20 10 10 0 010-20zm-1.3 14.1l6.4-6.4-1.4-1.4-5 5-2.3-2.3-1.4 1.4z'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; }
/* Tydzien na probe: skromny pasek pod planami, zeby nie odciagal od wyroznionego lifetime. */
.trial {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 26px; padding: 16px 18px 16px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s;
}
.trial:hover { border-color: var(--line-strong); }
.trial p { margin: 0; color: var(--text-2); }
.trial strong { color: var(--text); font-weight: 600; }
.trial .trial-note { margin-top: 4px; color: var(--muted); font-size: 14px; }
.pay { margin: 30px 0 0; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pay span {
  color: var(--text-2); font-size: 14px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
}
.steps { list-style: none; counter-reset: step; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: step; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.steps li::before {
  content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line-strong); font-weight: 600; margin-bottom: 8px;
}
.steps strong { font-weight: 600; font-size: 17px; }
.steps span { color: var(--muted); }

/* FAQ */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 24px; color: var(--text-2); max-width: 680px; }

/* Wezwanie na koncu */
.cta { text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta .sub { margin-bottom: 34px; }

/* Stopka */
.footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; align-items: center; gap: 24px; }
.footer-inner p { margin: 0 auto 0 0; }
.footer .brand { color: var(--text); font-size: 13px; }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 20px; flex: none; }
.terms-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.terms-note a, .legal a:not(.btn) { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.terms-note a:hover, .legal a:not(.btn):hover { color: var(--white); }

/* ---------------------------------------------------------------- panel klienta */
.nav-account.is-user { gap: 9px; padding: 0 14px 0 6px; }
.nav-account img { width: 26px; height: 26px; border-radius: 50%; }
.nav-account span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account { margin-top: 36px; }
.account[data-state="out"] .acc-in, .account[data-state="in"] .acc-out { display: none; }
.acc-out .sub { margin-bottom: 26px; }
.acc-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.acc-card {
  max-width: 640px; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-strong);
}
.acc-head { display: flex; align-items: center; gap: 16px; }
.acc-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--surface-2); }
.acc-who { flex: 1; min-width: 0; }
.acc-name { margin: 0; font-size: 20px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-meta { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.acc-license { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.acc-plan { margin: 10px 0 0; color: var(--text-2); }
.acc-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.acc-actions .acc-note { flex-basis: 100%; margin-top: 2px; }
.acc-steps {
  flex-basis: 100%; margin: 6px 0 0; padding: 0; list-style: none; counter-reset: s;
  display: grid; gap: 10px; color: var(--muted); font-size: 14px;
}
.acc-steps li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; }
.acc-steps li::before {
  content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 12px; font-weight: 700;
  color: var(--text); background: var(--surface-2);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { color: #4ade80; background: rgba(46, 160, 67, 0.14); border: 1px solid rgba(46, 160, 67, 0.35); }
.pill-bad { color: #ff8a8d; background: rgba(229, 72, 77, 0.12); border: 1px solid rgba(229, 72, 77, 0.35); }

/* ---------------------------------------------------------------- strona 404 */
.notfound { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.notfound .hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 13, 0.6); }
.nf-inner { position: relative; padding: 120px 0 80px; }
.nf-code {
  margin: 0 0 6px; font-size: clamp(110px, 20vw, 220px); font-weight: 700; line-height: 0.9; letter-spacing: -0.05em;
  color: var(--white); opacity: 0.12;
}
.notfound h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.03em; }
.anim .nf-inner > * { animation: rise 1s var(--ease) both; }
.anim .nf-inner > :nth-child(2) { animation-delay: .08s; }
.anim .nf-inner > :nth-child(3) { animation-delay: .18s; }
.anim .nf-inner > :nth-child(4) { animation-delay: .3s; }
.anim .nf-inner > :nth-child(5) { animation-delay: .42s; }

/* ---------------------------------------------------------------- regulamin i prywatnosc */
.nav-back { margin-left: auto; }
.legal { padding: 140px 0 100px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.08; }
.legal-meta { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.legal-lead { margin: 28px 0 0; font-size: 18px; color: var(--text-2); }
.legal-toc {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; margin-top: 36px; padding: 22px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.legal .legal-toc a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.legal section { margin-top: 48px; padding-top: 8px; scroll-margin-top: 96px; }
.legal h2 { font-size: 22px; }
.legal p, .legal li { color: var(--text-2); }
.legal section > p { margin: 14px 0 0; }
.legal ol, .legal ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.legal li::marker { color: var(--muted); }
.legal strong { color: var(--text); font-weight: 600; }
.legal code { font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--text); font-weight: 600; background: var(--surface); }
.legal tr:last-child td { border-bottom: 0; }
.legal td { color: var(--text-2); }
.legal td:first-child { color: var(--text); }
/* Szkic: pola do uzupelnienia wyrozione na zolto, zeby nic nie umknelo przed publikacja. */
.todo { color: #0b0b0d; background: #f5d76e; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.draft {
  margin-bottom: 28px; padding: 12px 18px; border-radius: 12px;
  background: rgba(245, 215, 110, 0.1); border: 1px solid rgba(245, 215, 110, 0.4); color: #f5d76e; font-weight: 600; font-size: 14px;
}

.steps li { transition: border-color .3s, transform .35s var(--ease); }
.steps li:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--white); }
.faq details p { overflow: hidden; }
.faq details.closing summary::after { transform: translateY(-70%) rotate(45deg); }

/* ---------------------------------------------------------------- animacje
   Klasa .anim na <html> dodawana w <head> tylko, gdy system nie prosi o mniej ruchu. */

/* Wjazd przy przewijaniu: element startuje nizej i przezroczysty. Uzywa "translate" (osobno od "transform"),
   wiec nie gryzie sie z uniesieniem przy najechaniu ani z wysunieciem wyroznionego planu. */
.anim [data-reveal] {
  opacity: 0; translate: 0 26px;
  transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s),
              transform .4s var(--ease), border-color .3s, background-color .35s, box-shadow .4s var(--ease);
}
.anim [data-reveal].in { opacity: 1; translate: none; }

/* Hero przy wejsciu na strone: tlo powoli sie "osadza", tekst wjezdza po kolei. */
@keyframes settle { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: none; } }
.anim .hero-bg { animation: settle 2.2s var(--ease) both; }
.anim .hero-inner > * { animation: rise 1s var(--ease) both; }
.anim .hero-inner > :nth-child(1) { animation-delay: .15s; }
.anim .hero-inner > :nth-child(2) { animation-delay: .25s; }
.anim .hero-inner > :nth-child(3) { animation-delay: .4s; }
.anim .hero-inner > :nth-child(4) { animation-delay: .52s; }
.anim .hero-inner > :nth-child(5) { animation-delay: .64s; }

/* Odznaka "Najlepszy wybor": krotki podskok co kilka sekund, zeby oko na nia trafilo. */
@keyframes nudge { 0%, 86%, 100% { transform: none; } 90% { transform: translateY(-4px); } 94% { transform: translateY(0); } 97% { transform: translateY(-2px); } }
.anim .plan-featured .badge { animation: nudge 5s ease-in-out 1.5s infinite; }

/* ---------------------------------------------------------------- telefon i tablet */
@media (max-width: 900px) {
  .cards, .plans, .steps { grid-template-columns: 1fr; }
  /* Jeden pod drugim: najlepszy plan pierwszy, bez wysuniecia (miejsce na odznake nad nim). */
  .plans { gap: 26px; }
  .plan-featured, .plan-featured:hover { order: -1; transform: none; }
  .plan:hover { transform: none; }
  .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 26px; }
  .showcase.reverse .shot { order: 0; }
  .section { padding: 88px 0; }
}
@media (max-width: 760px) {
  .nav-links, .nav .btn-small { display: none; }
  .nav-toggle {
    display: grid; gap: 6px; margin-left: auto; width: 42px; height: 42px; place-content: center;
    background: none; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 2px; background: var(--text); transition: transform .2s; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; padding: 12px 24px 24px;
    background: rgba(11, 11, 13, 0.97); border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 12px 0; font-size: 18px; }
  .nav-links a::after { display: none; }
  /* Na waskim ekranie jasne faldy tla wchodza pod tekst: jednolite przyciemnienie. */
  .hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 13, 0.55); }
  .hero-inner { padding: 130px 0 72px; }
  .stats { gap: 30px; margin-top: 48px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .legal { padding: 110px 0 72px; }
  .legal-toc { grid-template-columns: 1fr; }
}
