/* ============ Noraline theme — Editorial Clarity ============ */

/* ---- Fonty (variable, self-hosted) ---- */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+2000-206F, U+2013, U+2019, U+201C-201E; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-024F, U+0104-0119, U+0141-0144, U+015A-015B, U+0179-017C; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces-latin-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+2000-206F, U+2013, U+2019, U+201C-201E; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces-latin-ext-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0100-024F, U+0104-0119, U+0141-0144, U+015A-015B, U+0179-017C; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+2000-206F, U+2013, U+2019, U+201C-201E; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-024F, U+0104-0119, U+0141-0144, U+015A-015B, U+0179-017C; }

/* ---- Tokeny ---- */
:root {
  --color-primary: #2c0e6f; --color-primary-dark: #1f0a50;
  --color-secondary: #b4a7d6; --color-secondary-light: #e9e2f7;
  --color-bg: #faf8ff; --color-footer-bg: #1f0a50;
  --nl-ink: #1c1233; --nl-amber: #f5a623; --nl-muted: #5b5375;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}
html body { font-family: var(--font-sans); color: var(--nl-ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 560; letter-spacing: -0.02em; }

/* Alpine x-cloak */
[x-cloak] { display: none !important; }

/* ---- Utility: ziarno, reveal ---- */
.nl-grain { position: relative; }
.nl-grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Scroll-driven reveal — CSS only, fallback: element po prostu widoczny */
@supports (animation-timeline: view()) {
  .nl-reveal { animation: nl-reveal-in linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes nl-reveal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .nl-reveal { animation: none !important; }
  .nl-ticker-track { animation: none !important; }
}

/* ---- Przyciski ---- */
.nl-btn { display: inline-block; background: var(--color-primary); color: #fff; padding: 16px 32px;
  border-radius: 100px; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s; }
.nl-btn:hover { background: var(--color-primary-dark); color: #fff; }
.nl-btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--color-primary); font-weight: 600;
  font-size: 16px; text-decoration: none; border-bottom: 2px solid var(--nl-amber); padding-bottom: 2px; }

/* ---- Kicker / nagłówki sekcji ---- */
.nl-kicker { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--color-primary); display: flex; align-items: center; gap: 12px; }
.nl-kicker::before { content: ""; width: 36px; height: 2px; background: var(--nl-amber); }
.nl-sec-head { display: grid; grid-template-columns: 2fr 8fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.nl-sec-no { font-family: var(--font-display); font-size: 19px; color: var(--color-primary); font-weight: 600; }
.nl-sec-no::after { content: ""; display: block; width: 56px; height: 2px; background: var(--nl-amber); margin-top: 10px; }
.nl-h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; max-width: 740px; }
/* Ograniczenie 740px pilnuje długości wiersza, ale przy margin:0 pudełko stało
   przy lewej krawędzi. W kontenerze wyśrodkowanym (szerszym niż 740px) tekst
   centrował się więc względem tego pudełka, nie sekcji — nagłówek wychodził
   o ponad 100 px w lewo od siatki pod nim. Centrujemy samo pudełko tam, gdzie
   rodzic jawnie deklaruje wyśrodkowanie. */
.text-center > .nl-h2,
.text-center > * > .nl-h2 { margin-left: auto; margin-right: auto; }
.nl-lead { font-size: 17px; color: var(--nl-muted); max-width: 620px; margin-top: 16px; }

/* ---- Hero ---- */
.nl-hero { padding: 88px 0 64px; }
.nl-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.nl-h1 { font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 76px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 560; }
.nl-h1 em { font-style: italic; font-weight: 420; color: var(--color-primary); }
.nl-hero p { font-size: 19px; color: #4b4462; max-width: 480px; margin: 28px 0 36px; }
.nl-panel { background: #fff; border: 2px solid var(--nl-ink); border-radius: 18px; overflow: hidden;
  box-shadow: 10px 10px 0 var(--color-secondary); transform: rotate(1.5deg); }
.nl-panel img { width: 100%; display: block; }
.nl-panel--amber { box-shadow: -10px 10px 0 var(--nl-amber); transform: rotate(-1.5deg); }
.nl-sticker { position: absolute; top: -18px; left: -22px; background: var(--nl-amber); color: var(--nl-ink);
  font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 100px; transform: rotate(-6deg);
  box-shadow: 0 4px 14px rgba(0,0,0,.12); z-index: 2; }

/* ---- Ticker ---- */
.nl-ticker { border-block: 1px solid #e6dff2; padding: 15px 0; overflow: hidden; white-space: nowrap;
  font-size: 13.5px; letter-spacing: .18em; text-transform: uppercase; color: #7a6f96; font-weight: 600; }
.nl-ticker-track { display: inline-block; animation: nl-tick 40s linear infinite; }
.nl-ticker span { margin: 0 28px; } .nl-ticker b { color: var(--nl-amber); }
@keyframes nl-tick { to { transform: translateX(-50%); } }

/* ---- Strip komiksowy ---- */
.nl-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--nl-ink);
  border-radius: 20px; overflow: hidden; background: #fff; }
.nl-strip .cell { border-right: 2px solid var(--nl-ink); }
.nl-strip .cell:last-child { border-right: none; }
.nl-strip img { width: 100%; display: block; border-bottom: 2px solid var(--nl-ink); }
.nl-strip .cap { padding: 22px 22px 26px; }
.nl-strip .cap h3 { font-size: 19px; line-height: 1.25; margin-bottom: 8px; }
.nl-strip .cap p { font-size: 14px; color: var(--nl-muted); }
.nl-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-primary); background: var(--color-secondary-light); border-radius: 100px; padding: 4px 10px; margin-bottom: 12px; }

/* ---- Pas cytatu ---- */
.nl-band { background: var(--color-primary); color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.nl-band blockquote { font-family: var(--font-display); font-size: clamp(28px, 4vw, 54px); line-height: 1.15;
  font-style: italic; font-weight: 420; max-width: 900px; }
.nl-band blockquote b { color: var(--nl-amber); font-style: normal; font-weight: 600; }
.nl-band .attr { margin-top: 32px; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--color-secondary); }
.nl-band::before { content: ""; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(180,167,214,.35), transparent 70%); }

/* ---- Editorial rows (usługi) ---- */
.nl-rows { border-top: 2px solid var(--nl-ink); }
.nl-row { display: grid; grid-template-columns: 80px 4fr 5fr 60px; gap: 36px; align-items: center;
  padding: 38px 0; border-bottom: 2px solid var(--nl-ink); text-decoration: none; color: var(--nl-ink); }
.nl-row .no { font-family: var(--font-display); font-size: 17px; color: #6d6394; }
.nl-row h3 { font-size: clamp(22px, 2.5vw, 32px); letter-spacing: -.5px; transition: color .2s; }
.nl-row p { font-size: 15.5px; color: var(--nl-muted); }
.nl-row .arr { font-size: 26px; color: var(--color-primary); text-align: right; transition: transform .2s; }
.nl-row:hover h3 { color: var(--color-primary); }
.nl-row:hover .arr { transform: translateX(6px); }

/* ---- Proof / stats ---- */
.nl-proof { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
.nl-proof blockquote { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3;
  font-style: italic; font-weight: 420; margin: 24px 0; }
.nl-stats { display: flex; gap: 48px; margin-top: 32px; flex-wrap: wrap; }
.nl-stats .s b { font-family: var(--font-display); font-size: clamp(30px, 3.5vw, 44px); font-weight: 600;
  color: var(--color-primary); display: block; line-height: 1; }
.nl-stats .s span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #7a6f96; }

/* ---- Process steps (pionowy timeline zigzag) ---- */
.nl-process { position: relative; max-width: 880px; margin: 0 auto; }
.nl-process::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: var(--nl-amber); transform: translateX(-50%); }
.nl-step { position: relative; width: calc(50% - 44px); padding: 0 0 48px; }
.nl-step:nth-child(odd) { margin-left: 0; text-align: right; }
.nl-step:nth-child(even) { margin-left: calc(50% + 44px); }
.nl-step .node { position: absolute; top: 0; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--nl-ink); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--color-primary); z-index: 2; }
.nl-step:nth-child(odd) .node { right: -72px; }
.nl-step:nth-child(even) .node { left: -72px; }
.nl-step h3 { font-size: 22px; margin-bottom: 8px; }
.nl-step p { font-size: 15px; color: var(--nl-muted); }
@media (max-width: 768px) {
  .nl-process::before { left: 27px; }
  .nl-step, .nl-step:nth-child(even) { width: auto; margin-left: 72px; text-align: left; }
  .nl-step:nth-child(odd) { text-align: left; }
  .nl-step:nth-child(odd) .node, .nl-step:nth-child(even) .node { left: -72px; right: auto; }
}

/* ---- Fact strip (kompaktowy pasek faktów pod hero) ---- */
.nl-facts { border-block: 2px solid var(--nl-ink); padding: 22px 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 32px; }
.nl-facts .f b { font-family: var(--font-display); font-weight: 600; font-size: 22px;
  color: var(--color-primary); display: block; line-height: 1.15; }
.nl-facts .f span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #7a6f96; }

/* ---- Before / After (scenariusz) ---- */
.nl-ba { display: grid; grid-template-columns: 1fr 72px 1fr; gap: 20px; align-items: stretch; }
.nl-ba .panel { border-radius: 20px; padding: 34px 30px; }
.nl-ba .panel .tag-line { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.nl-ba .panel b { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4vw, 52px); display: block; line-height: 1; }
.nl-ba .panel span { font-size: 14px; display: block; margin-top: 10px; }
.nl-ba .before { background: #f4f2f8; border: 1px solid #d9d3e8; color: #5b5375; }
.nl-ba .before .tag-line { color: #7a6f96; } .nl-ba .before b { color: #6d6394; }
.nl-ba .after { background: #fff; border: 2px solid var(--nl-ink); box-shadow: 8px 8px 0 var(--nl-amber); color: var(--nl-ink); }
.nl-ba .after .tag-line { color: var(--nl-amber); } .nl-ba .after b { color: var(--color-primary); }
.nl-ba .arrow { display: flex; align-items: center; justify-content: center; font-size: 34px; color: var(--color-primary); }
@media (max-width: 768px) {
  .nl-ba { grid-template-columns: 1fr; }
  .nl-ba .arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ---- Dymki opinii (testimonials) ---- */
.nl-bubble { position: relative; background: #fff; border: 2px solid var(--nl-ink); border-radius: 20px;
  padding: 28px; }
.nl-bubble::after { content: ""; position: absolute; bottom: -14px; left: 40px; width: 24px; height: 24px;
  background: #fff; border-right: 2px solid var(--nl-ink); border-bottom: 2px solid var(--nl-ink);
  transform: rotate(45deg) skew(10deg, 10deg); }
.nl-bubble .stars { color: var(--nl-amber); letter-spacing: 3px; margin-bottom: 12px; }
.nl-bubble p { font-size: 15.5px; line-height: 1.55; }
.nl-bubble-wrap:nth-child(odd) .nl-bubble { transform: rotate(-0.8deg); }
.nl-bubble-wrap:nth-child(even) .nl-bubble { transform: rotate(0.8deg); }
.nl-bubble-who { display: flex; align-items: center; gap: 12px; margin: 26px 0 0 36px; }
.nl-bubble-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--nl-ink); }
.nl-bubble-who b { display: block; font-size: 14.5px; }
.nl-bubble-who span { font-size: 12.5px; color: var(--nl-muted); }

/* ---- Format rail (edukacja) ---- */
.nl-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nl-rail-tile { display: flex; align-items: center; gap: 16px; background: #fff; border: 2px solid var(--nl-ink);
  border-radius: 18px; padding: 20px 22px; text-decoration: none; color: var(--nl-ink); position: relative;
  transition: transform .2s; }
a.nl-rail-tile:hover { transform: translateY(-3px); }
.nl-rail-tile.soon { border-style: dashed; border-color: #b9aed6; background: transparent; color: #7a6f96; }
.nl-rail-tile .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--color-secondary-light);
  color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nl-rail-tile.soon .ic { background: #eee9f6; color: #9a90b8; }
.nl-rail-tile h4 { font-family: var(--font-display); font-weight: 560; font-size: 18px; }
.nl-rail-tile p { font-size: 12.5px; color: var(--nl-muted); }
.nl-rail-tile .arr { margin-left: auto; color: var(--color-primary); font-size: 20px; }
@media (max-width: 900px) { .nl-rail { grid-template-columns: 1fr; } }

/* ---- Prose (przeniesione z claude-base — używane przez blog/kursy) ---- */
.prose { line-height: 1.75; }
.prose p { margin-bottom: 1.25em; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-weight: 600; margin-top: 1.5em; margin-bottom: .5em; }
.prose h1 { font-size: 2.25em; } .prose h2 { font-size: 1.5em; } .prose h3 { font-size: 1.25em; }
.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--color-primary); text-decoration: underline; }
.prose a:hover { color: var(--color-primary-dark); }
.prose img { border-radius: .75rem; margin: 1.5em 0; max-width: 100%; height: auto !important; }
.prose blockquote { border-left: 4px solid var(--color-secondary); padding-left: 1em; font-style: italic; color: #4b5563; }
.prose pre { background: #1a1a2e; color: #e5e7eb; padding: 1rem; border-radius: .75rem; overflow-x: auto; margin: 1.5em 0; }
.prose code { font-size: .875em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--color-secondary-light); padding: .5em .75em; text-align: left; }
.prose th { background: var(--color-bg); font-weight: 600; }

/* Szerokie tabele na telefonie — przewijaj wewnątrz tabeli, nie obcinaj.
   Bez tego tabela szersza od ekranu była po prostu ucinana: strona nie przewija
   się w poziomie, więc ostatnia kolumna stawała się nieosiągalna dla czytelnika.
   Zmierzone 2026-09-14 przy 375 px: tabele 383–488 px, document.scrollWidth 375.
   display:block zamienia tabelę we własny kontener przewijania; desktop zostaje
   nietknięty, bo reguła żyje tylko pod breakpointem. */
@media (max-width: 720px) {
  .prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Lesson H2 — pill nagłówek sekcji w treści lekcji kursu */
.lesson-content h2 {
  display: inline-block;
  font-size: 1.25em;
  background: #2c0d6f;
  color: white;
  padding: 8px 32px;
  border-radius: 32px;
}
/* Pills — TYLKO jawne, przez klasę `.pill`. Nigdy automatycznie na `strong`,
   bo wtedy trafiają na przypadkowe pogrubienia i tracą znaczenie.
   Użycie: <span class="pill">Krok 1</span> albo <strong class="pill">Problem:</strong> */
.lesson-content .pill {
  display: inline-block;
  background: #2c0d6f;
  color: #fff;
  font-weight: 700;
  font-size: .9em;
  line-height: 1.3;
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: .4em;
}
.lesson-content .pill-amber { background: var(--nl-amber, #f5a623); color: var(--nl-ink, #1c1233); }
.lesson-content .pill-mint  { background: #2f9e7d; color: #fff; }
.lesson-content .pill-rose  { background: #c2456b; color: #fff; }
.lesson-content .pill-ghost { background: transparent; color: #2c0d6f; border: 2px solid #2c0d6f; }

/* Pigułki blogowe — styl z ebooków (obramowana kapsuła + ikona SVG + etykieta),
   celowo osobny system od .lesson-content .pill (wypełniona kapsuła kursów).

   Pigułka jest NOTICE-BOXEM, nie samodzielną kapsułą w przepływie tekstu.
   Wcześniej .blog-tag-row miał sam margines, więc etykieta wisiała między akapitami
   i nie było widać, czego dotyczy: jednego zdania, akapitu obok czy całej sekcji.
   Teraz zasięg pokazuje ramka — etykieta dotyczy tego, co jest w środku, i niczego
   poza nią. Fragment, którego pigułka dotyczy, wchodzi DO środka.

   Użycie: <div class="blog-tag-row"><span class="blog-tag blog-tag-problem">[svg]PROBLEM</span>
   <p class="blog-tag-text">Teza jednym zdaniem.</p>
   <p>Akapit, którego ta teza dotyczy.</p></div> */
.blog-content .blog-tag-row {
  --nl-tag: var(--nl-muted, #5b5375);
  margin: 1.75em 0;
  padding: 16px 22px 18px;
  border: 2px solid rgba(28, 18, 51, .12);
  border-left: 6px solid var(--nl-tag);
  border-radius: 14px;
  background: #fff;
}
.blog-content .blog-tag-row:has(.blog-tag-problem)  { --nl-tag: var(--nl-amber, #f5a623); }
.blog-content .blog-tag-row:has(.blog-tag-solution) { --nl-tag: #2f9e7d; }
.blog-content .blog-tag-row:has(.blog-tag-info)     { --nl-tag: var(--color-primary, #2c0d6f); }
.blog-content .blog-tag-row > :last-child { margin-bottom: 0; }
.blog-content .blog-tag-row + .blog-tag-row { margin-top: 1.75em; }
.blog-content .blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 4px 16px 4px 10px;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}
.blog-content .blog-tag svg { width: 14px; height: 14px; stroke: currentColor; flex: none; }
.blog-content .blog-tag-neutral  { color: var(--nl-muted, #5b5375); }
.blog-content .blog-tag-problem  { color: var(--nl-amber, #f5a623); }
.blog-content .blog-tag-solution { color: #2f9e7d; }
.blog-content .blog-tag-info     { color: var(--color-primary, #2c0d6f); }
.blog-content .blog-tag-text { margin: 0.35em 0 0; }

/* Notice-box linkujący do konkretnego, tematycznie dopasowanego bezpłatnego
   ebooka wewnątrz artykułu blogowego. Bazuje na tokenach .nl-panel, bez
   rotacji (inline w przepływie czytania artykułu). */
.blog-content .blog-ebook-notice {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 2px solid var(--nl-ink, #1c1233);
  border-radius: 18px;
  box-shadow: -8px 8px 0 var(--nl-amber, #f5a623);
  padding: 22px 26px;
  margin: 2em 0;
}
.blog-content .blog-ebook-notice img {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--nl-ink, #1c1233);
  flex: none;
}
.blog-content .blog-ebook-notice-body { margin: 0; }
.blog-content .blog-ebook-notice-eyebrow {
  display: block;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nl-amber, #f5a623);
  margin-bottom: 4px;
}
.blog-content .blog-ebook-notice-title {
  font-family: var(--font-display, inherit);
  font-weight: 600;
  font-size: 1.15em;
  margin: 0 0 6px;
  color: var(--nl-ink, #1c1233);
}
.blog-content .blog-ebook-notice-text { margin: 0 0 12px; color: var(--nl-muted, #5b5375); }
.blog-content .blog-ebook-notice-cta {
  display: inline-block;
  font-weight: 700;
  color: var(--color-primary, #2c0d6f);
  text-decoration: none;
  border-bottom: 2px solid var(--nl-amber, #f5a623);
  padding-bottom: 2px;
}
@media (max-width: 640px) {
  .blog-content .blog-ebook-notice { flex-direction: column; }
  .blog-content .blog-ebook-notice img { width: 100%; height: auto; aspect-ratio: 16/9; }
}

/* Blok kontaktowy (audyt operacyjny) — ta sama estetyka co .blog-ebook-notice,
   ale bez miniatury: ikona zamiast okładki. Zastępuje dawne CTA „Napisz: AUDYT”
   w komentarzu, które prowadziło donikąd. */
.blog-content .blog-contact-notice {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 2px solid var(--nl-ink, #1c1233);
  border-radius: 18px;
  box-shadow: -8px 8px 0 var(--nl-amber, #f5a623);
  padding: 22px 26px;
  margin: 2.5em 0 1em;
}
.blog-content .blog-contact-notice-icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 2px solid var(--nl-ink, #1c1233);
  background: var(--nl-amber, #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-content .blog-contact-notice-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--nl-ink, #1c1233);
  fill: none;
  stroke-width: 2;
}
.blog-content .blog-contact-notice-body { margin: 0; }
.blog-content .blog-contact-notice-eyebrow {
  display: block;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nl-amber, #f5a623);
  margin-bottom: 4px;
}
.blog-content .blog-contact-notice-title {
  font-family: var(--font-display, inherit);
  font-weight: 600;
  font-size: 1.15em;
  margin: 0 0 6px;
  color: var(--nl-ink, #1c1233);
}
.blog-content .blog-contact-notice-text { margin: 0 0 12px; color: var(--nl-muted, #5b5375); }
.blog-content .blog-contact-notice-cta {
  display: inline-block;
  font-weight: 700;
  color: var(--color-primary, #2c0d6f);
  text-decoration: none;
  border-bottom: 2px solid var(--nl-amber, #f5a623);
  padding-bottom: 2px;
}
@media (max-width: 640px) {
  .blog-content .blog-contact-notice { flex-direction: column; }
}

/* FAQ blogowy — dopasowany do estetyki .blog-ebook-notice
   (obramowanie ink 2px, amberowy offset, nagłówek z eyebrow). */
.blog-faq {
  background: #fff;
  border: 2px solid var(--nl-ink, #1c1233);
  border-radius: 18px;
  box-shadow: -8px 8px 0 var(--nl-amber, #f5a623);
  padding: 22px 26px;
  margin: 2.5em 0;
}
.blog-faq-eyebrow {
  display: block;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nl-amber, #f5a623);
  margin-bottom: 4px;
}
.blog-faq-title {
  font-family: var(--font-display, inherit);
  font-weight: 600;
  font-size: 1.35em;
  margin: 0 0 16px;
  color: var(--nl-ink, #1c1233);
}
.blog-faq-item {
  border-top: 2px solid #efe9f7;
}
.blog-faq-item:first-of-type { border-top: 0; }
.blog-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  color: var(--nl-ink, #1c1233);
  font-size: 1em;
}
.blog-faq-q:hover { color: var(--color-primary, #2c0d6f); }
.blog-faq-q svg {
  width: 20px; height: 20px; flex: none;
  stroke: var(--color-primary, #2c0d6f);
  fill: none; stroke-width: 2;
  transition: transform .2s ease;
}
.blog-faq-a { padding: 0 0 16px; color: var(--nl-muted, #5b5375); }
.blog-faq-a p { margin: 0 0 .6em; }
.blog-faq-a p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .blog-faq { padding: 18px 18px; }
}

/* Kolorowy znacznik kategorii przy nagłówku sekcji (nl-h2) na /blog.
   Osobny system od .blog-tag (pigułki w treści artykułu). */
.nl-cat-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--nl-ink, #1c1233);
  border-radius: 14px;
  background: #fff;
  box-shadow: -3px 3px 0 var(--nl-ink, #1c1233);
}
.nl-cat-badge svg {
  width: 24px; height: 24px;
  stroke: var(--nl-ink, #1c1233);
  fill: none; stroke-width: 2;
}

.nl-cat-badge[data-cat="rozwoj"]        { background: #cfe9da; }
.nl-cat-badge[data-cat="biznes"]        { background: #d7cff0; }
.nl-cat-badge[data-cat="ai"]            { background: #cfe3f7; }
.nl-cat-badge[data-cat="marketing"]     { background: #fadcc5; }
.nl-cat-badge[data-cat="automatyzacja"] { background: var(--nl-amber, #f5a623); }
.nl-cat-badge[data-cat="programowanie"] { background: #e3d5f7; }
.nl-cat-badge[data-cat="audio"]         { background: #f8cfdd; }
.nl-cat-badge[data-cat="wszystkie"]     { background: #ece7f5; }

@media (max-width: 640px) {
  .nl-cat-badge { width: 40px; height: 40px; border-radius: 12px; }
  .nl-cat-badge svg { width: 20px; height: 20px; }
}

/* Odstęp między pozycjami listy — czytelność, niezależnie od pills */
.lesson-content ul > li,
.lesson-content ol > li { margin-bottom: .85em; }
.lesson-content ul > li:last-child,
.lesson-content ol > li:last-child { margin-bottom: 0; }

/* Lista, w której każda pozycja otwiera się pillem — odpowiednik .row z ebooka */
.lesson-content ul.pill-list { list-style: none; padding-left: 0; }
.lesson-content ul.pill-list > li { margin-bottom: 1.25em; }
.lesson-content ul.pill-list > li > .pill { display: block; width: fit-content; }

/* Blok „karta" na wyróżnione fragmenty — odpowiednik .option z ebooka.
   Użycie: <div class="lesson-card"><strong>Tytuł</strong><p>…</p></div> */
.lesson-content .lesson-card {
  background: #fff;
  border: 2px solid var(--nl-ink, #1c1233);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 1.75em 0;
  box-shadow: 4px 4px 0 rgba(44, 13, 111, .12);
}
.lesson-content .lesson-card > strong:first-child {
  display: inline-block;
  background: #2c0d6f;
  color: #fff;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: .75em;
}
.lesson-content .lesson-card > p:last-child { margin-bottom: 0; }

/* Nav/footer resety (przeniesione z claude-base) */
nav ul, nav ol, header ul, header ol, footer ul, footer ol { list-style: none !important; margin: 0; padding: 0; }
nav li, header li, footer li { list-style: none !important; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ---- Responsywność ---- */
@media (max-width: 1024px) {
  .nl-hero-grid, .nl-proof { grid-template-columns: 1fr; gap: 40px; }
  .nl-sec-head { grid-template-columns: 1fr; gap: 16px; }
  .nl-row { grid-template-columns: 48px 1fr 40px; }
  .nl-row p { grid-column: 2; }
}
@media (max-width: 768px) {
  .nl-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .nl-strip .cell { min-width: 78vw; scroll-snap-align: start; border-right: 2px solid var(--nl-ink); }
  .nl-hero { padding: 56px 0 40px; }
}

/* Oznaczenie treści AI (art. 50 AI Act) — pod kartą bio autora na wpisie.
   Klasy SAMODZIELNE, nie scope'owane pod .blog-content: karta bio renderuje się
   poza kontenerem treści, więc style .blog-*-notice tam nie sięgają.
   Zero klas Tailwinda — nie wymaga przebudowy tailwind-compiled.css. */
.nl-ai-details {
  margin: 16px 0 0;
  border: 2px solid var(--nl-ink, #1c1233);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  line-height: 1.55;
  color: var(--nl-muted, #5b5375);
  overflow: hidden;
}
.nl-ai-details > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 13px;
  color: var(--nl-ink, #1c1233);
}
.nl-ai-details > summary::-webkit-details-marker { display: none; }
.nl-ai-details > summary:focus-visible {
  outline: 2px solid var(--nl-amber, #f5a623);
  outline-offset: -2px;
}
.nl-ai-details .nl-ai-ic {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--nl-amber, #f5a623);
}
.nl-ai-details .nl-ai-chev {
  margin-left: auto;
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--nl-muted, #5b5375);
  transition: transform 0.18s ease;
}
.nl-ai-details[open] .nl-ai-chev { transform: rotate(180deg); }
.nl-ai-details-body {
  padding: 13px 16px 15px 43px;
  border-top: 1px solid var(--nl-ink, #1c1233);
}
.nl-ai-role {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 9px;
}
.nl-ai-role p { margin: 0; }
.nl-ai-role-ic {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: -1px;
  border-radius: 7px;
  border: 1.5px solid var(--nl-ink, #1c1233);
  background: var(--nl-amber, #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nl-ai-role-ic svg {
  width: 14px;
  height: 14px;
  stroke: var(--nl-ink, #1c1233);
  fill: none;
}
.nl-ai-foot {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--nl-ink, #1c1233);
}
.nl-ai-details-body b { color: var(--nl-ink, #1c1233); }
.nl-ai-details-body a {
  color: var(--nl-ink, #1c1233);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 640px) {
  .nl-ai-details-body { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .nl-ai-details .nl-ai-chev { transition: none; }
}

/* Karta autora pod wpisem — ta sama rama co .blog-faq (ink 2px + amberowy offset).
   Klasy SAMODZIELNE: karta renderuje się poza .blog-content. Zero Tailwinda. */
.nl-bio {
  background: #fff;
  border: 2px solid var(--nl-ink, #1c1233);
  border-radius: 18px;
  box-shadow: -8px 8px 0 var(--nl-amber, #f5a623);
  padding: 24px 26px;
  margin: 2.5em 0 0;
}
.nl-bio-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nl-amber, #f5a623);
  margin-bottom: 4px;
}
.nl-bio-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.nl-bio-av {
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--nl-ink, #1c1233);
}
.nl-bio-av--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nl-amber, #f5a623);
  color: var(--nl-ink, #1c1233);
  font-size: 30px;
  font-weight: 700;
}
.nl-bio-name {
  font-family: var(--font-display, inherit);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--nl-ink, #1c1233);
}
.nl-bio-tag {
  margin: 5px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--nl-muted, #5b5375);
  max-width: 54ch;
}
.nl-bio-rows {
  margin: 18px 0 0;
  border-top: 1px solid var(--nl-ink, #1c1233);
}
.nl-bio-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--nl-ink, #1c1233);
}
.nl-bio-row:last-child { border-bottom: 0; }
.nl-bio-ic {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1.5px solid var(--nl-ink, #1c1233);
  background: var(--nl-amber, #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nl-bio-ic svg {
  width: 16px;
  height: 16px;
  stroke: var(--nl-ink, #1c1233);
  fill: none;
}
.nl-bio-row .t {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--nl-muted, #5b5375);
}
.nl-bio-row .t b {
  color: var(--nl-ink, #1c1233);
  font-weight: 600;
}
.nl-bio-foot { margin: 16px 0 0; }
.nl-bio-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nl-ink, #1c1233);
  text-decoration: none;
  border-bottom: 2px solid var(--nl-amber, #f5a623);
  padding-bottom: 2px;
}
@media (max-width: 640px) {
  .nl-bio-head { flex-direction: column; }
}

/* ── Licznik promocji ─────────────────────────────────────────────────────────
   Znika sam po terminie (patrz PromoDeadlineExtension), więc nie ma stanu „po czasie". */
.pcd { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
       border: 2px solid var(--nl-amber, #e0a33a); border-radius: .7rem;
       background: #fff8ec; padding: .5rem .75rem; }
.pcd__lab { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em;
            font-weight: 700; color: #8a6520; }
.pcd__t { display: flex; align-items: baseline; gap: .25rem; font-variant-numeric: tabular-nums; }
.pcd__t b { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; color: var(--nl-ink, #16112b); }
.pcd__t i { font-style: normal; font-size: .68rem; color: #8a6520; margin-right: .35rem; }
.pcd--hero { padding: .8rem 1.1rem; gap: .8rem; }
.pcd--hero .pcd__t b { font-size: 1.6rem; }
.pcd--hero .pcd__lab { font-size: .78rem; }
@media (max-width: 420px) { .pcd { gap: .4rem; padding: .45rem .6rem; } .pcd__t b { font-size: 1rem; } }

/* ── Pasek promocji nad navbarem ──────────────────────────────────────────────
   Jeden na stronę, tylko na kursach. Przyklejony, bo na długiej stronie produktu
   informacja o terminie ma sens także po przewinięciu do cennika. */
.pbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1300;
         background: var(--nl-ink, #16112b); color: #fff; }
/* Header serwisu jest `fixed top-0` — przy widocznym pasku musi zjechać o jego wysokość,
   a treść pod nim razem z nim. Wysokość podaje JS w --pbar-h (pasek bywa dwuliniowy). */
.ma-pbar header.fixed, .ma-pbar header[class*="fixed"] { top: var(--pbar-h, 0px); }
.ma-pbar #wrapper { padding-top: var(--pbar-h, 0px); }
.pbar__in { max-width: 80rem; margin: 0 auto; padding: .55rem 1rem; display: flex; align-items: center;
            justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; }
.pbar__txt { font-size: .92rem; line-height: 1.35; }
.pbar__txt b { color: var(--nl-amber, #e0a33a); font-weight: 700; }
.pbar__t { display: flex; align-items: baseline; gap: .2rem; font-variant-numeric: tabular-nums; }
.pbar__t i { font-style: normal; font-family: var(--font-display); font-size: 1.05rem; line-height: 1; }
.pbar__t em { font-style: normal; font-size: .66rem; opacity: .65; margin-right: .3rem; }
.pbar__x { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
           background: none; border: 0; color: #fff; opacity: .55; font-size: 1.3rem;
           line-height: 1; cursor: pointer; padding: .2rem .45rem; }
.pbar__x:hover { opacity: 1; }
.pbar[hidden] { display: none; }
@media (max-width: 560px) {
  .pbar__in { gap: .5rem; padding: .5rem 2rem .5rem .75rem; }
  .pbar__txt { font-size: .8rem; }
  .pbar__t i { font-size: .95rem; }
}

/* ── Ikony w pasku faktów ─────────────────────────────────────────────────────
   Ikona obok liczby, nie nad nią: pasek jest paskiem, a nie czterema kaflami.
   Reaguje na najechanie na całą kolumnę — trafianie myszą w kwadrat 20 px jest irytujące. */
.nl-facts .f--ico { display: flex; align-items: center; gap: .6rem; }
.nl-facts .f__ic {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem;
  border-radius: .55rem; background: #efeaf9; color: var(--color-primary, #2c0e6f);
  transition: transform .2s cubic-bezier(.34,1.4,.64,1), background-color .2s, color .2s;
}
.nl-facts .f--ico:hover .f__ic {
  transform: translateY(-2px) rotate(-6deg);
  background: var(--nl-amber, #e0a33a); color: #fff;
}
.nl-facts .f__txt { min-width: 0; }
/* Wrapper trafił pod regułę `.nl-facts .f span`, która robi wersaliki z etykiety —
   wartość musi z niej wyjść, bo „100 H+" wygląda jak krzyk. */
.nl-facts .f__txt { text-transform: none; letter-spacing: normal; }
.nl-facts .f__txt b { text-transform: none; }
.nl-facts .f__lab { display: block; }

/* ── Pas z cytatem: wariant z ilustracją ──────────────────────────────────────
   Grafika siedzi po prawej i znika poniżej 900 px, bo na telefonie zabiera cały
   ekran, a cytat jest tu treścią, nie podpisem pod obrazkiem. */
.nl-band--img .nl-band__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) {
  .nl-band--img .nl-band__grid { grid-template-columns: minmax(0, 1fr) 13rem; gap: 3rem; }
}
/* Do czasu, gdy ilustracja zajmowała pół pasa, na wąskim ekranie musiała znikać.
   Kolisty awatar mieści się wszędzie — na mobile ląduje pod cytatem, wyśrodkowany. */
.nl-band__fig { margin: 2rem 0 0; display: flex; justify-content: center; }
@media (min-width: 900px) { .nl-band__fig { margin: 0; justify-content: flex-end; } }
@media (max-width: 899px) { .nl-band__fig /* <picture> istnieje tylko po to, żeby podać WebP — nie ma brać udziału w układzie.
   Bez tego owinięcie <img> psuje pozycjonowanie: to picture staje się elementem
   flexa albo siatki, a reguły pisane pod obrazek przestają go dotyczyć. */
picture { display: contents; }

.nl-avatar { width: 9rem; height: 9rem; } }

/* ── Kolisty awatar w pasach z cytatem i w blokach CTA ────────────────────────
   Ten sam kadr co przy osi procesu (`.nl-step__img`): koło, obwódka w kolorze
   tuszu, kadrowanie na wysokości twarzy. Wcześniej pas z cytatem pokazywał
   ilustrację w pełnej szerokości i z `mix-blend-mode`, przez co gubiła kolory
   i nie miała nic wspólnego z resztą serwisu. */
.nl-avatar {
  display: block;
  width: 13rem; height: 13rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 38%;          /* twarz siada w kadrze, nie nogi */
  background: #f4f1fb;
  border: 2px solid var(--nl-ink, #16112b);
  box-shadow: 0 16px 36px -22px rgba(22, 17, 43, .85);
  flex: 0 0 auto;
}
/* `.nl-panel img { width: 100% }` jest bardziej szczegółowe od samej klasy,
   więc wewnątrz panelu awatar rozjeżdżał się w elipsę. */
.nl-panel .nl-avatar { width: 13rem; }
.nl-panel .nl-avatar--center { width: 10.5rem; }
/* Na ciemnym pasie obwódka w tuszu ginie — bierze ją kolor akcentu. */
.nl-band .nl-avatar { border-color: var(--nl-amber); }
/* Wariant wyśrodkowany: awatar nad nagłówkiem w blokach CTA. */
.nl-avatar--center { margin: 0 auto 1.75rem; width: 10.5rem; height: 10.5rem; }
@media (max-width: 640px) { .nl-avatar--center { width: 8.5rem; height: 8.5rem; margin-bottom: 1.4rem; } }

/* ── Tagi tematyczne na kartach produktów ─────────────────────────────────── */
.pc-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .6rem; }
.pc-tag {
  font-size: .68rem; letter-spacing: .02em; padding: .18rem .5rem; border-radius: 9999px;
  background: #f4f1fb; color: #5b4b86; border: 1px solid #e6dff2; white-space: nowrap;
}

/* ── Grafika w pustej połowie wiersza procesu ─────────────────────────────────
   `.nl-step` ma szerokość połowy osi, więc pusta połowa leży ZA jego krawędzią:
   88 px to podwójny odstęp od linii czasu (44 px z każdej strony).

   Wyśrodkowanie liczy się względem TREŚCI, nie pudełka: `.nl-step` ma 48 px
   dolnego paddingu, więc samo `top: 50%` spycha awatar o 24 px za nisko
   i przy krótkich krokach rozjeżdża się z tekstem. */
@media (min-width: 900px) {
  .nl-step--img { position: relative; }
  .nl-step--img .nl-step__img {
    position: absolute; top: calc(50% - 24px); transform: translateY(-50%);
    width: 9.5rem; height: 9.5rem; border-radius: 50%; object-fit: cover;
    object-position: 50% 42%;               /* twarz siada w kadrze, nie nogi */
    background: #f4f1fb; border: 2px solid var(--nl-ink, #16112b);
    box-shadow: 0 12px 30px -20px rgba(22, 17, 43, .8);
    pointer-events: none;
  }
  .nl-process .nl-step--img:nth-child(odd) .nl-step__img { left: calc(100% + 88px); }
  .nl-process .nl-step--img:nth-child(even) .nl-step__img { right: calc(100% + 88px); }
}
@media (max-width: 899px) { .nl-step__img { display: none; } }
