/* ==========================================================================
   NexusPM — wspólny arkusz stylów (design system)
   Statyczny, bez procesu budowania. Ładowany przez każdą podstronę.
   Tokeny wizualne zgodne z landing-page.jsx (dark #1a0f00 / orange #F97316).
   ========================================================================== */

/* ── Tokeny ─────────────────────────────────────────────────────────────── */
:root {
  --bg:        #1a0f00;
  --bg-soft:   rgba(255, 255, 255, 0.02);
  --bg-soft-2: rgba(255, 255, 255, 0.03);
  --bg-soft-3: rgba(255, 255, 255, 0.05);

  --o:         #F97316;   /* akcent podstawowy */
  --o-light:   #FB923C;   /* akcent jaśniejszy (gradient) */
  --o-a04:     rgba(249, 115, 22, 0.04);
  --o-a05:     rgba(249, 115, 22, 0.05);
  --o-a08:     rgba(249, 115, 22, 0.08);
  --o-a10:     rgba(249, 115, 22, 0.10);
  --o-a12:     rgba(249, 115, 22, 0.12);
  --o-a15:     rgba(249, 115, 22, 0.15);
  --o-a18:     rgba(249, 115, 22, 0.18);
  --o-a25:     rgba(249, 115, 22, 0.25);
  --o-a35:     rgba(249, 115, 22, 0.35);
  --o-a50:     rgba(249, 115, 22, 0.50);

  --t-100: #f5ede4;
  --t-90:  #f0e8e0;
  --t-80:  #d0c0a8;
  --t-70:  #c0a888;
  --t-60:  #a08870;
  --t-50:  #8a7060;
  --t-40:  #806050;
  --t-35:  #6a5040;
  --t-30:  #5a4030;
  --t-20:  #4a3020;
  --t-10:  #3a2010;

  --err:   #e07070;

  --sans:  'Poppins', system-ui, -apple-system, sans-serif;

  --wrap:  1100px;
  --read:  780px;      /* szerokość kolumny tekstowej na długich podstronach */
  --nav-h: 68px;

  --clip:  polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--t-100);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--o); border-radius: 2px; }

/* ── Dostępność: skip link + focus ──────────────────────────────────────── */
.nx-skip {
  position: absolute; left: -9999px; top: 8px; z-index: 9999;
  background: var(--o); color: var(--bg);
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  text-decoration: none; border-radius: 2px;
}
.nx-skip:focus { left: 16px; }

*:focus-visible { outline: 3px solid var(--o); outline-offset: 3px; border-radius: 2px; }

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

/* ── Kontenery ──────────────────────────────────────────────────────────── */
.nx-wrap  { max-width: var(--wrap); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.nx-read  { max-width: var(--read); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.nx-section { padding-top: 100px; padding-bottom: 100px; }
.nx-section--alt {
  background: var(--o-a04);
  border-top: 1px solid var(--o-a08);
  border-bottom: 1px solid var(--o-a08);
}

/* ── Etykiety / nagłówki sekcji ─────────────────────────────────────────── */
.nx-lbl {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--o); margin-bottom: 10px;
}
.nx-h2 {
  font-size: clamp(28px, 4.2vw, 48px); font-weight: 300;
  line-height: 1.2; margin-bottom: 18px; color: var(--t-100);
}
.nx-h2 strong, .nx-h2 b { font-weight: 700; }
.nx-lead {
  font-size: 15px; font-weight: 300; line-height: 1.8;
  color: var(--t-60); max-width: 620px;
}
.nx-sub { color: var(--t-60); font-weight: 300; line-height: 1.75; }

/* proza na długich podstronach */
.nx-prose h2 { font-size: clamp(18px, 2.5vw, 26px); font-weight: 600; color: var(--t-90); margin: 44px 0 14px; line-height: 1.25; }
.nx-prose h3 { font-size: clamp(16px, 2vw, 20px); font-weight: 600; color: var(--t-90); margin: 32px 0 12px; }
.nx-prose p  { font-size: 15px; font-weight: 300; line-height: 1.85; color: var(--t-60); margin-bottom: 20px; }
.nx-prose p:first-child { margin-top: 0; }
.nx-prose strong { color: var(--t-90); font-weight: 600; }
.nx-prose a { color: var(--o); text-decoration: underline; text-underline-offset: 3px; }
.nx-prose > *:first-child { margin-top: 0; }

/* lead z pomarańczową krawędzią */
.nx-prose .lead {
  font-size: 18px; font-weight: 300; line-height: 1.75; color: var(--t-80);
  border-left: 3px solid var(--o); padding-left: 20px; margin-bottom: 32px;
}

/* ── Przyciski ──────────────────────────────────────────────────────────── */
.nx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 32px; min-height: 44px;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.nx-btn--primary {
  background: linear-gradient(135deg, var(--o), var(--o-light));
  color: var(--bg); clip-path: var(--clip);
}
.nx-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--o-a35); }
.nx-btn--ghost {
  background: transparent; color: var(--o); border: 1px solid var(--o);
  font-weight: 400; padding: 13px 32px;
}
.nx-btn--ghost:hover { background: var(--o-a08); transform: translateY(-2px); }
.nx-btn--sm { padding: 9px 20px; font-size: 12px; }

/* link tekstowy „czytaj →" */
.nx-textlink {
  font-size: 12px; font-weight: 600; color: var(--o);
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; transition: opacity 0.2s;
}
.nx-textlink:hover { opacity: 0.7; }

/* ── Logo (brama) ───────────────────────────────────────────────────────── */
.nx-gate { flex-shrink: 0; }
.nx-gate rect { fill: var(--o); }
.nx-logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.nx-logo-txt {
  font-size: 17px; letter-spacing: 0.12em; font-weight: 300;
  color: var(--t-100); text-transform: uppercase;
}
.nx-logo-txt b { font-weight: 700; color: var(--o); }

/* ── Header / nawigacja ─────────────────────────────────────────────────── */
.nx-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent; transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nx-header.scrolled {
  background: rgba(26, 15, 0, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--o-a12);
}

.nx-nav { display: flex; gap: 24px; align-items: center; }

.nx-nav-item { position: relative; }
.nx-nav-link {
  font-size: 13px; font-weight: 400; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--t-60); cursor: pointer;
  background: none; border: none; min-height: 44px; padding: 0 4px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.2s; font-family: var(--sans);
}
.nx-nav-link:hover, .nx-nav-link[aria-current="page"] { color: var(--o); }
.nx-nav-link .caret { font-size: 8px; transition: transform 0.2s; opacity: 0.7; }
.nx-nav-item:hover .nx-nav-link .caret,
.nx-nav-item:focus-within .nx-nav-link .caret { transform: rotate(180deg); }

/* dropdown */
.nx-dd {
  position: absolute; top: 100%; left: -14px; min-width: 280px;
  background: rgba(26, 15, 0, 0.98); backdrop-filter: blur(14px);
  border: 1px solid var(--o-a18); padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
.nx-nav-item:hover .nx-dd,
.nx-nav-item:focus-within .nx-dd {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nx-dd a {
  text-decoration: none; padding: 11px 14px; border-radius: 2px;
  font-size: 13px; font-weight: 300; color: var(--t-70); line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}
.nx-dd a:hover, .nx-dd a:focus-visible { background: var(--o-a08); color: var(--t-100); }

.nx-nav-tools { display: flex; align-items: center; gap: 20px; }

/* hamburger */
.nx-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
  min-height: 44px; min-width: 44px; align-items: center; justify-content: center;
}
.nx-burger span { display: block; width: 22px; height: 2px; background: var(--o); border-radius: 1px; transition: transform 0.3s, opacity 0.3s; }
.nx-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nx-burger.open span:nth-child(2) { opacity: 0; }
.nx-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu mobilne */
.nx-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(26, 15, 0, 0.99); backdrop-filter: blur(16px);
  border-top: 1px solid var(--o-a15);
  padding: 24px 40px 60px; overflow-y: auto; z-index: 99;
  flex-direction: column; gap: 4px;
}
.nx-mobile.open { display: flex; }
.nx-mobile a, .nx-mobile .nx-macc-btn {
  font-size: 15px; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--t-60); text-decoration: none; background: none; border: none;
  text-align: left; padding: 14px 0; min-height: 44px; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05); font-family: var(--sans);
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.nx-mobile a:hover, .nx-mobile .nx-macc-btn:hover { color: var(--o); }
.nx-macc-btn .caret { font-size: 9px; transition: transform 0.2s; }
.nx-macc-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nx-macc-panel { display: none; flex-direction: column; padding: 4px 0 8px 14px; }
.nx-macc-panel.open { display: flex; }
.nx-macc-panel a {
  font-size: 13px; text-transform: none; letter-spacing: 0.02em;
  color: var(--t-50); padding: 10px 0; border-bottom: none; min-height: 40px;
}
.nx-mobile-cta { margin-top: 18px; }

/* ── Breadcrumbs ────────────────────────────────────────────────────────── */
.nx-crumbs {
  padding: calc(var(--nav-h) + 26px) 40px 0;
  max-width: var(--wrap); margin: 0 auto;
}
.nx-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nx-crumbs li { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 300; }
.nx-crumbs a { color: var(--t-40); text-decoration: none; transition: color 0.2s; letter-spacing: 0.03em; }
.nx-crumbs a:hover { color: var(--o); }
.nx-crumbs .sep { color: var(--t-10); }
.nx-crumbs [aria-current="page"] { color: var(--t-60); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.nx-hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 120px 40px 80px;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, var(--o-a08) 0%, transparent 65%);
}
.nx-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(249,115,22,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(249,115,22,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.nx-hero-ring {
  position: absolute; right: -250px; top: 50%; transform: translateY(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  border: 1px solid var(--o-a05); pointer-events: none;
}
.nx-hero-inner { max-width: 800px; text-align: center; position: relative; }
.nx-hero h1 {
  font-size: clamp(40px, 7vw, 78px); font-weight: 300; line-height: 1.08;
  letter-spacing: -0.01em; margin-bottom: 24px;
}
.nx-hero h1 b { font-weight: 700; color: var(--o); }
.nx-hero-lead { font-size: 17px; line-height: 1.75; color: var(--t-70); max-width: 600px; margin: 0 auto 20px; font-weight: 300; }
.nx-hero-note { font-size: 13px; line-height: 1.7; color: var(--t-40); max-width: 560px; margin: 0 auto 40px; font-weight: 300; }
.nx-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nx-hero-tagline {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 400; letter-spacing: 0.3em; color: var(--t-10);
  text-transform: uppercase; white-space: nowrap;
}
.nx-badge {
  display: inline-block; border: 1px solid var(--o-a35);
  padding: 5px 16px; margin-bottom: 28px; font-size: 11px; font-weight: 400;
  letter-spacing: 0.1em; color: var(--o); text-transform: uppercase;
}

/* hero mniejszy — dla podstron */
.nx-hero--page {
  min-height: auto; padding: calc(var(--nav-h) + 44px) 40px 56px; text-align: left;
  align-items: flex-start;
}
.nx-hero--page .nx-hero-inner { text-align: left; margin: 0 auto; max-width: var(--read); }
.nx-hero--page h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.15; }
.nx-hero--page .nx-hero-lead { margin: 0 0 28px; }

/* ── Karty problemów (pasek) ────────────────────────────────────────────── */
.nx-grid { display: grid; gap: 16px; }
.nx-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.nx-grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.nx-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

.nx-prob {
  background: var(--bg-soft); border-left: 3px solid var(--o);
  padding: 24px 20px; transition: background 0.2s, transform 0.2s;
}
.nx-prob:hover { background: var(--bg-soft-3); transform: translateX(4px); }
.nx-prob .ic { font-size: 26px; margin-bottom: 12px; display: block; }
.nx-prob h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--t-90); }
.nx-prob p { font-size: 13px; color: var(--t-60); line-height: 1.65; font-weight: 300; }

/* ── Karty usług (numerowane) ───────────────────────────────────────────── */
.nx-step {
  position: relative; background: var(--bg-soft-2);
  border: 1px solid var(--o-a18); padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.nx-step:hover { border-color: var(--o-a50); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.nx-step .num {
  position: absolute; top: 18px; right: 22px; font-size: 56px; font-weight: 700;
  color: rgba(249,115,22,0.06); line-height: 1;
}
.nx-tag {
  display: inline-block; background: var(--o-a10); border: 1px solid var(--o-a25);
  padding: 2px 10px; margin-bottom: 18px; font-size: 10px; letter-spacing: 0.14em;
  color: var(--o); text-transform: uppercase; font-weight: 500; align-self: flex-start;
}
.nx-step h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: var(--t-90); }
.nx-step p { font-size: 13px; color: var(--t-60); line-height: 1.7; margin-bottom: 18px; font-weight: 300; flex-grow: 1; }
.nx-step .val {
  font-size: 12px; color: var(--o); font-weight: 500;
  border-top: 1px solid var(--o-a12); padding-top: 14px; margin-bottom: 16px;
}
.nx-step .val strong { color: var(--o); font-weight: 600; }

/* ── Statystyki / kafelki ───────────────────────────────────────────────── */
.nx-stat {
  text-align: center; padding: 28px 20px;
  border: 1px solid var(--o-a15); background: var(--o-a04);
}
.nx-stat .n { font-size: clamp(18px, 2.5vw, 28px); font-weight: 700; color: var(--o); line-height: 1.15; margin-bottom: 6px; letter-spacing: 0.03em; }
.nx-stat .l { font-size: 11px; font-weight: 400; color: var(--t-35); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Listy korzyści / check ─────────────────────────────────────────────── */
.nx-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nx-checklist li {
  font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--t-60);
  padding: 8px 0 8px 20px; border-left: 2px solid var(--o-a25);
}
.nx-checklist li strong { color: var(--t-90); font-weight: 600; }

.nx-numbered { list-style: none; display: flex; flex-direction: column; gap: 12px; counter-reset: n; }
.nx-numbered li {
  position: relative; padding: 4px 0 4px 44px;
  font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--t-60);
  counter-increment: n;
}
.nx-numbered li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; background: var(--o-a10); border: 1px solid var(--o-a25);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--o);
}
.nx-numbered li strong { color: var(--t-90); font-weight: 600; }

/* ── Sekcja procesu (pozioma) ───────────────────────────────────────────── */
.nx-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 4px; }
.nx-process .p {
  padding: 24px 18px; border: 1px solid var(--o-a12); background: var(--bg-soft);
  text-align: center;
}
.nx-process .p .pn { font-size: 12px; font-weight: 700; color: var(--o); letter-spacing: 0.1em; margin-bottom: 8px; }
.nx-process .p .pt { font-size: 14px; font-weight: 600; color: var(--t-90); }

/* ── Blok CTA ───────────────────────────────────────────────────────────── */
.nx-cta {
  padding: 60px 40px; background: var(--o-a04);
  border-top: 1px solid var(--o-a10); border-bottom: 1px solid var(--o-a10);
  text-align: center;
}
.nx-cta .nx-lbl { margin-bottom: 14px; }
.nx-cta h2 { font-size: clamp(22px, 4vw, 34px); font-weight: 300; line-height: 1.25; margin-bottom: 14px; }
.nx-cta p { font-size: 14px; color: var(--t-60); font-weight: 300; line-height: 1.7; max-width: 460px; margin: 0 auto 28px; }
.nx-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Karty bloga / artykułów ────────────────────────────────────────────── */
.nx-card {
  background: var(--bg-soft); border: 1px solid var(--o-a12);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.25s, transform 0.25s; text-decoration: none; color: inherit;
}
.nx-card:hover { border-color: var(--o-a50); transform: translateY(-3px); }
.nx-card .meta { display: flex; justify-content: space-between; align-items: center; }
.nx-card .cat { font-size: 10px; font-weight: 600; color: var(--o); letter-spacing: 0.15em; text-transform: uppercase; }
.nx-card .rt { font-size: 10px; color: var(--t-30); font-weight: 300; }
.nx-card h3 { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--t-90); }
.nx-card p { font-size: 13px; color: var(--t-50); line-height: 1.65; font-weight: 300; flex-grow: 1; }
.nx-card .foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--o-a08); }
.nx-card .date { font-size: 11px; color: var(--t-20); }
.nx-card.soon { opacity: 0.55; }
.nx-card.soon .badge-soon { font-size: 10px; color: var(--t-30); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Formularz ──────────────────────────────────────────────────────────── */
.nx-form { display: flex; flex-direction: column; gap: 14px; }
.nx-field-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--t-70); margin-bottom: 5px; display: block;
}
.nx-input, .nx-select, .nx-textarea {
  background: var(--bg-soft-2); border: 1px solid var(--o-a18);
  padding: 11px 14px; color: var(--t-100); font-family: var(--sans);
  font-size: 13px; font-weight: 300; outline: none; width: 100%;
  transition: border-color 0.2s; min-height: 44px;
}
.nx-textarea { resize: vertical; min-height: 120px; }
.nx-input:focus, .nx-select:focus, .nx-textarea:focus { border-color: var(--o); outline: 3px solid var(--o); outline-offset: 2px; }
.nx-select option { background: var(--bg); color: var(--t-100); }
.nx-form-msg { font-size: 12px; }
.nx-form-msg.err { color: var(--err); }
.nx-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--t-50); font-weight: 300; line-height: 1.5; }
.nx-consent input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--o); }
.nx-consent a { color: var(--o); }
.nx-form-ok {
  padding: 44px 36px; border: 1px solid var(--o-a25); background: var(--o-a05);
  text-align: center;
}
.nx-form-ok .tick { font-size: 32px; margin-bottom: 14px; color: var(--o); }
.nx-form-ok p { font-size: 18px; font-weight: 300; color: var(--t-70); line-height: 1.5; }

/* ── Powiązane ──────────────────────────────────────────────────────────── */
.nx-related { padding: 56px 40px 72px; max-width: var(--wrap); margin: 0 auto; }
.nx-related h2 { font-size: 20px; font-weight: 600; margin-bottom: 28px; color: var(--t-90); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.nx-footer {
  border-top: 1px solid rgba(255,255,255,0.05); padding: 56px 40px 28px;
  background: rgba(0,0,0,0.15);
}
.nx-footer-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
.nx-footer-about { max-width: 320px; }
.nx-footer-about .nx-logo { margin-bottom: 16px; }
.nx-footer-about p { font-size: 12px; color: var(--t-50); line-height: 1.7; font-weight: 300; }
.nx-footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--t-40); margin-bottom: 16px; }
.nx-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nx-footer-col a { font-size: 13px; color: var(--t-60); text-decoration: none; font-weight: 300; transition: color 0.2s; }
.nx-footer-col a:hover { color: var(--o); }
.nx-footer-bottom {
  max-width: var(--wrap); margin: 44px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.nx-footer-bottom p { font-size: 11px; color: var(--t-40); letter-spacing: 0.03em; }
.nx-footer-bottom a { color: var(--t-40); text-decoration: none; font-size: 11px; }
.nx-footer-bottom a:hover { color: var(--o); }

/* ── Reveal (bezpieczny — treść widoczna bez JS) ────────────────────────── */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsywność ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nx-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nx-footer-about { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 768px) {
  .nx-burger { display: flex; }
  .nx-desktop-nav { display: none; }
  .nx-wrap, .nx-read { padding-left: 22px; padding-right: 22px; }
  .nx-header { padding: 0 22px; }
  .nx-hero, .nx-cta { padding-left: 22px; padding-right: 22px; }
  .nx-crumbs { padding-left: 22px; padding-right: 22px; }
  .nx-section { padding-top: 72px; padding-bottom: 72px; }
  .nx-related { padding-left: 22px; padding-right: 22px; }
  .nx-footer { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 560px) {
  .nx-footer-grid { grid-template-columns: 1fr; }
}

/* ── FAQ (natywne <details>) ────────────────────────────────────────────── */
.nx-faq { display: flex; flex-direction: column; margin-top: 8px; max-width: var(--read); }
.nx-faq details { border-bottom: 1px solid var(--o-a12); }
.nx-faq details:first-child { border-top: 1px solid var(--o-a12); }
.nx-faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; min-height: 44px;
  font-size: 16px; font-weight: 500; color: var(--t-90);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary::after { content: '+'; color: var(--o); font-size: 24px; font-weight: 300; line-height: 1; flex-shrink: 0; }
.nx-faq details[open] summary::after { content: '\2212'; }
.nx-faq .a { padding: 0 0 22px; font-size: 14px; font-weight: 300; line-height: 1.75; color: var(--t-60); }
.nx-faq .a p { margin-bottom: 12px; }
.nx-faq .a p:last-child { margin-bottom: 0; }

/* ── Sekcja „powiązane" (kontekstowe, kuratorowane) ─────────────────────── */
.nx-relgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
a.nx-relcard {
  display: block; text-decoration: none; background: var(--bg-soft);
  border: 1px solid var(--o-a12); padding: 22px 20px;
  transition: border-color 0.2s, transform 0.2s;
}
a.nx-relcard:hover { border-color: var(--o-a50); transform: translateY(-3px); }
a.nx-relcard .k { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--o); margin-bottom: 8px; }
a.nx-relcard .t { font-size: 15px; font-weight: 600; color: var(--t-90); line-height: 1.35; }
a.nx-relcard .d { font-size: 12px; font-weight: 300; color: var(--t-50); margin-top: 6px; line-height: 1.55; }

/* ── Blok CTA „ramka" wewnątrz treści ───────────────────────────────────── */
.nx-cta-box {
  max-width: var(--read); margin: 8px auto 0;
  border: 1px solid var(--o-a25); background: var(--o-a05);
  padding: 32px 30px;
}
.nx-cta-box h2 { font-size: 20px; font-weight: 600; color: var(--t-100); margin-bottom: 10px; line-height: 1.3; }
.nx-cta-box p { font-size: 14px; font-weight: 300; color: var(--t-60); line-height: 1.7; margin-bottom: 20px; }

/* nagłówek sekcji w kolumnie czytelniczej */
.nx-read .nx-lbl { max-width: none; }

/* ── Strona główna: hero akcent kursywą ─────────────────────────────────── */
.nx-hero h1 em { color: var(--o); font-style: italic; font-weight: 400; }

/* ── Karty person / cech ("Dla kogo") ───────────────────────────────────── */
.nx-featgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.nx-feat { background: var(--bg-soft); border: 1px solid var(--o-a12); padding: 26px 24px; transition: border-color 0.2s, transform 0.2s; }
.nx-feat:hover { border-color: var(--o-a35); transform: translateY(-3px); }
.nx-feat .n { font-size: 12px; font-weight: 700; color: var(--o); letter-spacing: 0.1em; margin-bottom: 14px; }
.nx-feat h3 { font-size: 16px; font-weight: 600; color: var(--t-90); margin-bottom: 8px; line-height: 1.35; }
.nx-feat p { font-size: 13px; font-weight: 300; color: var(--t-60); line-height: 1.65; }

/* ── Karty sytuacji ("Czy to brzmi znajomo?") — klikalne ────────────────── */
a.nx-sit { display: block; text-decoration: none; color: inherit; background: var(--bg-soft); border-left: 3px solid var(--o); padding: 24px 22px; transition: background 0.2s, transform 0.2s; }
a.nx-sit:hover { background: var(--bg-soft-3); transform: translateX(4px); }
a.nx-sit h3 { font-size: 16px; font-weight: 600; color: var(--t-90); margin-bottom: 8px; }
a.nx-sit p { font-size: 13px; font-weight: 300; color: var(--t-60); line-height: 1.6; margin-bottom: 12px; }
a.nx-sit .go { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--o); }

/* ── Karty faz (Blueprint / Watchdog / Sign-Off) — link cały kafelek ────── */
a.nx-phase { text-decoration: none; color: inherit; }
.nx-phase .name { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--o); }

/* ── Pakiety A / B / C / D ───────────────────────────────────────────────── */
.nx-pkg { position: relative; background: var(--bg-soft-2); border: 1px solid var(--o-a18); padding: 30px 26px; transition: border-color 0.3s, transform 0.3s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.nx-pkg:hover { border-color: var(--o-a50); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.nx-pkg .letter { width: 40px; height: 40px; background: var(--o-a10); border: 1px solid var(--o-a35); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: var(--o); margin-bottom: 18px; }
.nx-pkg h3 { font-size: 18px; font-weight: 600; color: var(--t-90); margin-bottom: 8px; line-height: 1.3; }
.nx-pkg .when { font-size: 12px; font-weight: 300; color: var(--t-50); font-style: italic; margin-bottom: 16px; line-height: 1.5; }
.nx-pkg ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; flex-grow: 1; }
.nx-pkg li { font-size: 13px; font-weight: 300; color: var(--t-60); line-height: 1.5; padding-left: 16px; position: relative; }
.nx-pkg li::before { content: '—'; position: absolute; left: 0; color: var(--o); }
.nx-pkg .go { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--o); }

/* ── Cytat ──────────────────────────────────────────────────────────────── */
.nx-quote { max-width: 780px; margin: 0 auto; text-align: center; padding: 8px 20px; }
.nx-quote blockquote { font-size: clamp(19px, 2.8vw, 28px); font-weight: 300; line-height: 1.45; color: var(--t-90); font-style: italic; }
.nx-quote cite { display: block; margin-top: 18px; font-size: 13px; font-style: normal; color: var(--o); letter-spacing: 0.06em; }

/* ── Chipsy (typy projektów) ─────────────────────────────────────────────── */
.nx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.nx-chip { border: 1px solid var(--o-a18); padding: 8px 16px; font-size: 12px; font-weight: 300; color: var(--t-70); letter-spacing: 0.02em; }

/* ── Baner cookies ──────────────────────────────────────────────────────── */
.nx-cookiebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(20, 11, 0, 0.98); backdrop-filter: blur(10px);
  border-top: 1px solid var(--o-a25);
  padding: 18px 24px; display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
  transform: translateY(100%); transition: transform 0.35s ease;
}
.nx-cookiebar.in { transform: translateY(0); }
.nx-cookiebar p { font-size: 12px; font-weight: 300; color: var(--t-60); line-height: 1.6; max-width: 640px; margin: 0; }
.nx-cookiebar a { color: var(--o); text-decoration: underline; }
.nx-cookiebar .btns { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 640px) {
  .nx-cookiebar { padding: 16px; flex-direction: column; text-align: center; }
}

/* ── Notatka pliku w formularzu ──────────────────────────────────────────── */
.nx-file-note { font-size: 11px; color: var(--t-40); margin-top: 4px; min-height: 14px; }
input[type="file"].nx-input { padding: 9px 12px; }
input[type="file"].nx-input::-webkit-file-upload-button {
  background: var(--o-a10); border: 1px solid var(--o-a25); color: var(--o);
  padding: 6px 12px; margin-right: 12px; font-family: var(--sans); font-size: 12px;
  cursor: pointer; border-radius: 2px;
}

/* ── Strona 404 ─────────────────────────────────────────────────────────── */
.nx-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 80px; }
.nx-404 .code { font-size: clamp(64px,14vw,140px); font-weight: 700; color: var(--o-a15); line-height: 1; margin-bottom: 8px; }
.nx-404 h1 { font-size: clamp(24px,4vw,36px); font-weight: 300; margin-bottom: 14px; }
.nx-404 p { font-size: 14px; color: var(--t-60); font-weight: 300; margin-bottom: 32px; max-width: 460px; margin-left:auto; margin-right:auto; }
.nx-404 .links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Karty bloga (wkrótce) ──────────────────────────────────────────────── */
.nx-blogfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.nx-blogfilter span { border: 1px solid var(--o-a18); padding: 7px 16px; font-size: 12px; font-weight: 400; color: var(--t-60); }

/* ── Layout formularza kontaktowego (2 kolumny → 1 na mobile) ──────────── */
.nx-contact-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 56px; align-items: start; }
@media (max-width: 820px) {
  .nx-contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Bloki werdyktu w artykułach (Dobra odpowiedź / Sygnał ostrzegawczy) ── */
.nx-verdict { display: flex; gap: 12px; padding: 14px 18px; margin: 14px 0 26px; border-left: 3px solid; font-size: 13px; font-weight: 300; line-height: 1.65; }
.nx-verdict .ic { flex-shrink: 0; font-size: 15px; line-height: 1.5; }
.nx-verdict .t { font-weight: 600; display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.nx-verdict--good { background: var(--o-a05); border-color: var(--o); color: var(--t-70); }
.nx-verdict--good .t { color: var(--o); }
.nx-verdict--warn { background: rgba(224,112,112,0.06); border-color: var(--err); color: var(--t-70); }
.nx-verdict--warn .t { color: var(--err); }

/* ── Meta artykułu (kategoria, czas czytania, data, autor) ─────────────── */
.nx-article-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--t-40); font-weight: 300; margin-bottom: 6px; }
.nx-article-meta strong { color: var(--t-60); font-weight: 500; }

/* ── Wersje językowe i rozbudowane artykuły ───────────────────────────── */
.nx-lang-switch {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:38px; height:34px; padding:0 9px;
  border:1px solid var(--o-a35); color:var(--o);
  font-size:11px; font-weight:600; letter-spacing:.08em;
  text-decoration:none; transition:background .2s,border-color .2s;
}
.nx-lang-switch:hover { background:var(--o-a10); border-color:var(--o); }
.nx-cookie-settings { display:block; margin:16px auto 0; padding:10px 14px; background:transparent; color:var(--t-80); border:1px solid var(--o-a35); font:inherit; font-size:12px; cursor:pointer; }
.nx-cookie-settings:focus-visible, a:focus-visible, button:focus-visible { outline:2px solid var(--o); outline-offset:4px; }
.nx-prose ul, .nx-prose ol { padding-left:24px; margin:16px 0 24px; color:var(--t-70); line-height:1.8; font-size:15px; }
.nx-prose li { margin:8px 0; }
.nx-prose, .nx-hero-inner { min-width:0; overflow-wrap:break-word; }
.nx-consent { flex-wrap:wrap; }
@media (max-width:1100px) { .nx-desktop-nav { display:none; } .nx-burger { display:flex; } }
.nx-mobile .nx-lang-switch { width:max-content; margin:10px 0; }
.nx-prose table { width:100%; border-collapse:collapse; margin:22px 0 34px; font-size:13px; line-height:1.55; }
.nx-prose th, .nx-prose td { border:1px solid var(--o-a18); padding:12px 14px; text-align:left; vertical-align:top; }
.nx-prose th { color:var(--o); background:var(--o-a05); font-weight:600; }
.nx-prose blockquote { border-left:3px solid var(--o); margin:24px 0; padding:8px 0 8px 20px; color:var(--t-70); }
.nx-article-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (max-width:720px) {
  .nx-prose { overflow-wrap:anywhere; }
  .nx-prose table { display:block; overflow-x:auto; white-space:normal; }
  .nx-article-grid { grid-template-columns:1fr; }
}
