/* Noraline components — komponenty wspólne (quiz, karty, przyciski); odziedziczone z claude-modern.
   Claude Theme — Modern 2025 Layer
   ----------------------------------------------------------------------------
   Dodawany OBOK claude-base.css i tailwind-compiled.css.
   Zawiera: design tokens (motion/spacing/shadow), modern utility classes,
   component classes (.card-modern, .btn-pill, .glass, .hero-mesh),
   typography (.heading-display), oraz quiz wizard styles.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------------------- */
:root {
  /* Spacing — sekcje 64/120 zamiast 60/80 */
  --section-py-mobile:  4rem;     /* 64px */
  --section-py-tablet:  5rem;     /* 80px */
  --section-py-desktop: 7.5rem;   /* 120px */

  /* Radius — większe niż Bootstrap-ery */
  --radius-modern:    1.25rem;    /* 20px */
  --radius-modern-lg: 1.5rem;     /* 24px */
  --radius-pill:      999px;

  /* Shadows — layered z fioletowym tintem (HSL primary) */
  --shadow-card:       0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-lift:       0 10px 30px -10px rgba(44, 14, 111, 0.15), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-lift-hover: 0 25px 50px -12px rgba(44, 14, 111, 0.28), 0 10px 20px -5px rgba(0,0,0,0.08);
  --shadow-glow-accent: 0 12px 24px -8px rgba(255, 107, 53, 0.4);
  --shadow-glow-primary: 0 12px 24px -8px rgba(44, 14, 111, 0.4);

  /* Motion — duration scale + easing */
  --duration-fast:  150ms;
  --duration:       250ms;
  --duration-slow:  450ms;
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);   /* expo.out / spring */
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Akcent color — coral, dla CTA highlight i badge'y */
  --color-accent:        #ff6b35;
  --color-accent-dark:   #e85a25;
  --color-accent-light:  #ffb89e;
}

/* ----------------------------------------------------------------------------
   2. SECTION SPACING — modern breath
   ---------------------------------------------------------------------------- */
.section-modern {
  padding-top:    var(--section-py-mobile);
  padding-bottom: var(--section-py-mobile);
}
@media (min-width: 768px) {
  .section-modern { padding-top: var(--section-py-tablet); padding-bottom: var(--section-py-tablet); }
}
@media (min-width: 1024px) {
  .section-modern { padding-top: var(--section-py-desktop); padding-bottom: var(--section-py-desktop); }
}

/* ----------------------------------------------------------------------------
   3. TYPOGRAPHY — display headings
   ---------------------------------------------------------------------------- */
.heading-display {
  font-size:      clamp(2.25rem, 5vw, 4.5rem);
  line-height:    1.05;
  letter-spacing: -0.025em;
  font-weight:    800;
}
.heading-display-xl {
  font-size:      clamp(2.75rem, 7vw, 6rem);
  line-height:    0.95;
  letter-spacing: -0.03em;
  font-weight:    900;
}
.heading-eyebrow {
  display:         inline-block;
  font-size:       0.75rem;
  font-weight:     700;
  text-transform:  uppercase;
  letter-spacing:  0.12em;
  color:           color-mix(in srgb, var(--color-primary) 60%, transparent);
  margin-bottom:   0.875rem;
}

/* ----------------------------------------------------------------------------
   4. CARD — modern hover lift
   ---------------------------------------------------------------------------- */
.card-modern {
  background:    white;
  border-radius: var(--radius-modern);
  box-shadow:    var(--shadow-card);
  border:        1px solid rgba(0,0,0,0.04);
  transition:    transform var(--duration) var(--ease-out),
                 box-shadow var(--duration) var(--ease-out),
                 border-color var(--duration) var(--ease-out);
}
.card-modern-hover:hover,
a.card-modern:hover,
.card-modern.is-hoverable:hover {
  transform:    translateY(-4px);
  box-shadow:   var(--shadow-lift-hover);
  border-color: color-mix(in srgb, var(--color-primary) 15%, transparent);
}

/* ----------------------------------------------------------------------------
   5. BUTTONS — pill shape, gradient, micro-animations
   ---------------------------------------------------------------------------- */
.btn-pill {
  display:         inline-flex;
  align-items:     center;
  gap:             0.5rem;
  padding:         0.875rem 1.75rem;
  border-radius:   var(--radius-pill);
  font-weight:     600;
  font-size:       0.9375rem;
  letter-spacing:  -0.01em;
  text-decoration: none;
  border:          none;
  cursor:          pointer;
  background:      var(--color-primary);
  color:           white;
  transition:      transform var(--duration) var(--ease-out),
                   box-shadow var(--duration) var(--ease-out),
                   background var(--duration) var(--ease-out);
  white-space:     nowrap;
}
.btn-pill:hover {
  transform:  translateY(-2px);
  box-shadow: var(--shadow-glow-primary);
  background: var(--color-primary-dark);
  color:      white;
}
.btn-pill:active { transform: translateY(0); }
.btn-pill .arrow,
.btn-pill svg { transition: transform var(--duration) var(--ease-out); }
.btn-pill:hover .arrow,
.btn-pill:hover svg { transform: translateX(4px); }

.btn-pill-accent { background: var(--color-accent); }
.btn-pill-accent:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-glow-accent); }

.btn-pill-ghost {
  background: transparent;
  color:      var(--color-primary);
  border:     2px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.btn-pill-ghost:hover {
  background:   color-mix(in srgb, var(--color-primary) 8%, transparent);
  border-color: var(--color-primary);
  color:        var(--color-primary);
  box-shadow:   none;
}

.btn-pill-lg {
  padding:   1.125rem 2.25rem;
  font-size: 1.0625rem;
}

/* ----------------------------------------------------------------------------
   6. GLASS — glassmorphism
   ---------------------------------------------------------------------------- */
.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.glass-violet {
  background: color-mix(in srgb, var(--color-primary) 50%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.glass-dark {
  background: rgba(15, 15, 25, 0.55);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ----------------------------------------------------------------------------
   7. HERO MESH — gradient mesh background (replaces flat violet)
   ---------------------------------------------------------------------------- */
.hero-mesh {
  position: relative;
  background:
    radial-gradient(at 0% 0%,    color-mix(in srgb, var(--color-primary) 55%, transparent)      0%, transparent 50%),
    radial-gradient(at 100% 30%, color-mix(in srgb, var(--color-secondary) 45%, transparent)    0%, transparent 50%),
    radial-gradient(at 50% 100%, color-mix(in srgb, var(--color-primary-dark) 60%, transparent) 0%, transparent 55%),
    radial-gradient(at 80% 80%,  color-mix(in srgb, var(--color-accent) 18%, transparent)       0%, transparent 45%),
    var(--color-primary);
  color: white;
  overflow: hidden;
}
.hero-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
}
.hero-mesh > * { position: relative; z-index: 1; }

/* ----------------------------------------------------------------------------
   8. BADGES — modern pill with glow
   ---------------------------------------------------------------------------- */
.badge-modern {
  display:         inline-flex;
  align-items:     center;
  gap:             0.375rem;
  padding:         0.375rem 0.875rem;
  border-radius:   var(--radius-pill);
  font-size:       0.75rem;
  font-weight:     700;
  letter-spacing:  0.04em;
  text-transform:  uppercase;
  line-height:     1;
}
.badge-accent {
  background:  linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color:       white;
  box-shadow:  0 4px 12px rgba(255, 107, 53, 0.35);
}
.badge-primary {
  background:  color-mix(in srgb, var(--color-primary) 12%, transparent);
  color:       var(--color-primary);
}
.badge-soft-white {
  background:  rgba(255,255,255,0.12);
  color:       white;
  border:      1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}

/* ----------------------------------------------------------------------------
   9. FADE-UP — scroll-trigger animation (works with scroll-animate.js
      .is-visible toggle, plus delays)
   ---------------------------------------------------------------------------- */
.fade-up {
  opacity:    0;
  transform:  translateY(28px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}
.fade-up.is-visible {
  opacity:   1;
  transform: translateY(0);
}
.fade-up-delay-1.is-visible { transition-delay: 0.08s; }
.fade-up-delay-2.is-visible { transition-delay: 0.16s; }
.fade-up-delay-3.is-visible { transition-delay: 0.24s; }
.fade-up-delay-4.is-visible { transition-delay: 0.32s; }
.fade-up-delay-5.is-visible { transition-delay: 0.40s; }

/* slide-in left/right alternatywy */
.slide-in-l { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.slide-in-l.is-visible { opacity: 1; transform: translateX(0); }
.slide-in-r { opacity: 0; transform: translateX(32px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.slide-in-r.is-visible { opacity: 1; transform: translateX(0); }

/* ----------------------------------------------------------------------------
   10. QUIZ WIZARD — step-by-step UX, replaces sluggish one-page form
   ---------------------------------------------------------------------------- */

/* Quiz container z modern card style */
.quiz-wizard {
  position:      relative;
  background:    white;
  border-radius: var(--radius-modern-lg);
  box-shadow:    var(--shadow-lift);
  overflow:      hidden;
}

/* Sticky progress bar — top of viewport when filling quiz */
.quiz-progress-sticky {
  position:        sticky;
  top:             5rem;             /* under fixed navbar */
  z-index:         30;
  background:      rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom:   1px solid rgba(0,0,0,0.05);
  padding:         0.75rem 1.5rem;
}
.quiz-progress-track {
  height:        6px;
  background:    color-mix(in srgb, var(--color-primary) 12%, transparent);
  border-radius: var(--radius-pill);
  overflow:      hidden;
}
.quiz-progress-fill {
  height:     100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-pill);
  transition: width 0.5s var(--ease-out);
  box-shadow: 0 0 12px color-mix(in srgb, var(--color-accent) 50%, transparent);
}

/* Quiz pytanie — modern card */
.quiz-question {
  padding: 1.5rem;
  border-radius: var(--radius-modern);
  background: white;
  border: 1px solid rgba(0,0,0,0.04);
  transition: border-color var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}
.quiz-question.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.08);
}

.quiz-q-number {
  display:        inline-flex;
  align-items:    center;
  justify-content: center;
  width:          2rem;
  height:         2rem;
  border-radius:  999px;
  background:     linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color:          white;
  font-weight:    700;
  font-size:      0.8125rem;
  flex-shrink:    0;
  box-shadow:     0 4px 8px color-mix(in srgb, var(--color-primary) 30%, transparent);
}

/* Likert buttons — bigger, modern */
.likert-option {
  position:       relative;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  justify-content: center;
  text-align:     center;
  flex:           1;
  min-width:      72px;
  max-width:      130px;
  padding:        1rem 0.75rem;
  border:         2px solid color-mix(in srgb, var(--color-primary) 12%, transparent);
  border-radius:  var(--radius-modern);
  cursor:         pointer;
  background:     white;
  transition:     transform var(--duration) var(--ease-out),
                  border-color var(--duration) var(--ease-out),
                  background var(--duration) var(--ease-out),
                  box-shadow var(--duration) var(--ease-out),
                  color var(--duration) var(--ease-out);
}
.likert-option:hover {
  transform:    translateY(-2px) scale(1.04);
  border-color: var(--color-primary);
  background:   color-mix(in srgb, var(--color-primary) 5%, transparent);
}
.likert-option:has(input:checked) {
  background:   linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-color: var(--color-primary-dark);
  color:        white;
  box-shadow:   var(--shadow-glow-primary);
  transform:    translateY(-2px) scale(1.05);
}
.likert-option .likert-value { font-size: 1.25rem; font-weight: 800; line-height: 1; }
.likert-option .likert-label { font-size: 0.8125rem; opacity: 0.9; margin-top: 0.375rem; line-height: 1.25; }
/* 0.6875rem to 11 px — etykieta czytana przy KAŻDYM pytaniu (na teście Belbina 108 razy).
   13 px i mocniejszy kontrast; przy wąskich ekranach schodzimy do 12 px, żeby się mieściła. */
@media (max-width: 480px) { .likert-option .likert-label { font-size: 0.75rem; } }

/* Choice option (single/multiple) — modern */
.choice-option {
  position:        relative;
  display:         flex;
  align-items:     center;
  gap:             0.875rem;
  padding:         1rem 1.125rem;
  border:          2px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
  border-radius:   var(--radius-modern);
  background:      white;
  cursor:          pointer;
  transition:      transform var(--duration) var(--ease-out),
                   border-color var(--duration) var(--ease-out),
                   background var(--duration) var(--ease-out),
                   box-shadow var(--duration) var(--ease-out);
  margin-bottom:   0.5rem;
}
.choice-option:hover {
  transform:    translateX(4px);
  border-color: var(--color-primary);
  background:   color-mix(in srgb, var(--color-primary) 5%, transparent);
}
.choice-option:has(input:checked) {
  border-color: var(--color-primary);
  background:   color-mix(in srgb, var(--color-primary) 8%, transparent);
  box-shadow:   0 4px 12px color-mix(in srgb, var(--color-primary) 18%, transparent);
}
.choice-radio,
.choice-checkbox {
  width:         1.25rem;
  height:        1.25rem;
  border:        2px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
  flex-shrink:   0;
  transition:    background var(--duration) var(--ease-out),
                 border-color var(--duration) var(--ease-out);
}
.choice-radio { border-radius: 999px; }
.choice-checkbox { border-radius: 0.375rem; }
.choice-option:has(input:checked) .choice-radio,
.choice-option:has(input:checked) .choice-checkbox {
  background:   var(--color-primary);
  border-color: var(--color-primary);
}
.choice-option:has(input:checked) .choice-radio::after {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  background: white;
  border-radius: 999px;
  margin: 0.25rem auto;
}
.choice-option:has(input:checked) .choice-checkbox::after {
  content: "✓";
  display: block;
  color: white;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  margin-top: -1px;
}

/* Quiz screen transitions — slide between intro/questions/result */
.quiz-screen-enter {
  animation: quizScreenIn 0.5s var(--ease-out) both;
}
@keyframes quizScreenIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Quiz page (between paginated steps) */
.quiz-page-enter {
  animation: quizPageIn 0.4s var(--ease-out) both;
}
@keyframes quizPageIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Quiz intro — meta cards (czas, liczba pytań, anonimowy) */
.quiz-meta-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap:                   0.75rem;
  margin-top:            2rem;
  margin-bottom:         2rem;
}
.quiz-meta-card {
  text-align:    center;
  padding:       1rem 0.75rem;
  border-radius: var(--radius-modern);
  background:    color-mix(in srgb, var(--color-primary) 5%, transparent);
  border:        1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
}
.quiz-meta-card .icon {
  font-size: 1.5rem;
  color:     var(--color-primary);
  margin-bottom: 0.5rem;
}
.quiz-meta-card .value {
  font-size:   1.125rem;
  font-weight: 800;
  color:       var(--color-primary);
  line-height: 1.1;
}
.quiz-meta-card .label {
  font-size:    0.75rem;
  color:        #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top:   0.25rem;
}

/* Quiz result — celebrate state */
.quiz-result-hero {
  text-align: center;
  padding:    2.5rem 1.5rem;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--color-primary) 8%, white),
    color-mix(in srgb, var(--color-accent) 6%, white));
  border-radius: var(--radius-modern);
  position: relative;
  overflow: hidden;
}
.quiz-result-hero::before,
.quiz-result-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.5;
}
.quiz-result-hero::before {
  width: 200px; height: 200px;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 25%, transparent), transparent 70%);
  top: -50px; left: -50px;
}
.quiz-result-hero::after {
  width: 220px; height: 220px;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent) 25%, transparent), transparent 70%);
  bottom: -60px; right: -60px;
}
.quiz-result-hero > * { position: relative; z-index: 1; }

/* ============================================================================
   11. GLOBAL OVERRIDES — modernize existing templates without editing twigs
   ----------------------------------------------------------------------------
   Targetuje istniejące klasy Tailwind w już-używanych szablonach, żeby
   modernizacja działała natywnie bez modyfikacji twigów.
   Wszystko ograniczone do <main>/<section>/<footer>/<header> — żeby nie
   ruszać admin panelu (renderuje się w innym kontekście).
   ============================================================================ */

/* --- 11.1 Body typography baseline + biały bg (pure white, bez tintów) --- */
body {
  background: #ffffff !important;
  font-feature-settings: "kern", "liga", "calt", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Smooth scroll dla anchor links — wyłączane jeśli prefers-reduced-motion */
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --- 11.2 HEROES — gradient mesh zamiast solid violet --- */
/* Targetuje sekcje z gradient violetowym (najczęstszy hero pattern). */
section.bg-gradient-to-r.from-\[var\(--color-primary\)\],
section.bg-gradient-to-br.from-\[var\(--color-primary\)\],
section.bg-gradient-to-l.from-\[var\(--color-primary\)\],
section.bg-\[var\(--color-primary\)\] {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(at 0% 0%,    color-mix(in srgb, var(--color-primary) 55%, transparent) 0%, transparent 50%),
    radial-gradient(at 100% 30%, color-mix(in srgb, var(--color-secondary) 45%, transparent) 0%, transparent 50%),
    radial-gradient(at 50% 100%, color-mix(in srgb, var(--color-primary-dark) 60%, transparent) 0%, transparent 55%),
    radial-gradient(at 80% 80%,  color-mix(in srgb, var(--color-accent) 18%, transparent) 0%, transparent 45%),
    var(--color-primary) !important;
}
/* Subtelny dot pattern overlay */
section.bg-gradient-to-r.from-\[var\(--color-primary\)\]::before,
section.bg-gradient-to-br.from-\[var\(--color-primary\)\]::before,
section.bg-gradient-to-l.from-\[var\(--color-primary\)\]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

/* Light gradient (bg-bg → secondary-light) — ulepszone kolory */
section.bg-gradient-to-br.from-\[var\(--color-bg\)\] {
  background:
    radial-gradient(at 100% 0%, color-mix(in srgb, var(--color-secondary) 25%, transparent) 0%, transparent 50%),
    radial-gradient(at 0% 100%, color-mix(in srgb, var(--color-primary) 8%, transparent) 0%, transparent 50%),
    var(--color-bg) !important;
}

/* --- 11.3 TYPOGRAPHY — większe heroes, tighter tracking --- */
/* H1 z hero (text-3xl sm:text-4xl lg:text-5xl) — display upgrade */
section h1.text-3xl,
section h1[class*="text-3xl"],
header h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

/* H2 sekcji */
section h2.text-3xl,
section h2.text-2xl,
section h2[class*="text-2xl"],
section h2[class*="text-3xl"],
section h2[class*="text-4xl"] {
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

/* Eyebrow text — uppercase + tracking */
section p.text-sm.font-semibold.uppercase.tracking-wider,
section .text-sm.uppercase.tracking-wider {
  letter-spacing: 0.14em !important;
  font-weight: 700;
  font-size: 0.9375rem;       /* 15px (vs 12.5px) */
  line-height: 1.4;
  margin-bottom: 0.875rem;
}

/* Lead paragraph w hero */
section p.text-lg.text-white\/70 {
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
  max-width: 38em;
}

/* --- 11.4 SECTION SPACING — modern breath --- */
section.py-12.lg\:py-20,
section.py-14.lg\:py-20 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
section.py-16.lg\:py-24,
section.py-20.lg\:py-24,
section.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  section.py-12.lg\:py-20,
  section.py-14.lg\:py-20 {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
  }
  section.py-16.lg\:py-24,
  section.py-20.lg\:py-24 {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
  }
}

/* --- 11.5 CARDS — modern bez postarzającego border'a, layered shadow + większe radius --- */
/* Targetuje karty content w sekcjach (poza navbar / dropdown / modal). */
main .bg-white.rounded-2xl,
section .bg-white.rounded-2xl,
main .bg-white.rounded-xl,
section .bg-white.rounded-xl,
main .bg-white.rounded-3xl,
section .bg-white.rounded-3xl {
  border: none !important;                 /* DEL: thin border który postarza */
  border-radius: 1.75rem !important;       /* większe rounded = more modern */
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(20, 14, 50, 0.04),
    0 4px 12px -2px color-mix(in srgb, var(--color-primary) 6%, transparent),
    0 16px 40px -12px color-mix(in srgb, var(--color-primary) 8%, transparent);
  transition: transform 380ms var(--ease-out),
              box-shadow 380ms var(--ease-out);
}
main .bg-white.rounded-3xl,
section .bg-white.rounded-3xl {
  border-radius: 2rem !important;
}

/* Hover — większy lift (-8px), mocniejszy shadow z primary glow */
main a.bg-white.rounded-2xl:hover,
section a.bg-white.rounded-2xl:hover,
main a.bg-white.rounded-xl:hover,
section a.bg-white.rounded-xl:hover,
main .bg-white.rounded-2xl.shadow-lg:hover,
section .bg-white.rounded-2xl.shadow-lg:hover,
main .bg-white.rounded-2xl.shadow-md:hover,
section .bg-white.rounded-2xl.shadow-md:hover,
section .grid > .bg-white.rounded-2xl:hover,
section .grid > .bg-white.rounded-xl:hover,
section .grid > a.bg-white:hover {
  transform: translateY(-8px);
  box-shadow:
    0 1px 2px rgba(20, 14, 50, 0.04),
    0 8px 24px -4px color-mix(in srgb, var(--color-primary) 12%, transparent),
    0 32px 64px -16px color-mix(in srgb, var(--color-primary) 28%, transparent) !important;
}

/* === KART INNER PADDING — większe oddychanie === */
/* Override Tailwind p-6 (24px) → 2rem (32px) na mobile, 2.5rem (40px) na desktop */
main .bg-white.rounded-2xl > .p-6,
section .bg-white.rounded-2xl > .p-6,
main .bg-white.rounded-xl > .p-6,
section .bg-white.rounded-xl > .p-6,
main .bg-white.rounded-2xl > .p-5,
section .bg-white.rounded-2xl > .p-5 {
  padding: 1.75rem !important;
}
@media (min-width: 1024px) {
  main .bg-white.rounded-2xl > .p-6,
  section .bg-white.rounded-2xl > .p-6,
  main .bg-white.rounded-2xl > .p-5,
  section .bg-white.rounded-2xl > .p-5 {
    padding: 2.25rem !important;
  }
  /* Karty z lg:p-8 (32px) → 2.75rem (44px) */
  main .bg-white.rounded-2xl > .lg\:p-8,
  section .bg-white.rounded-2xl > .lg\:p-8,
  main .bg-white.rounded-2xl > .p-6.lg\:p-8,
  section .bg-white.rounded-2xl > .p-6.lg\:p-8 {
    padding: 2.75rem !important;
  }
}

/* === IMAGE w karcie — subtle zoom on hover (parallax-feel) === */
main .bg-white.rounded-2xl img,
section .bg-white.rounded-2xl img,
main .bg-white.rounded-xl img,
section .bg-white.rounded-xl img {
  transition: transform 700ms var(--ease-out);
}
section .bg-white.rounded-2xl:hover img,
section .bg-white.rounded-xl:hover img,
section .grid > .bg-white:hover img,
section a.bg-white:hover img {
  transform: scale(1.04);
}

/* === IMAGE container — lekko więcej rounded żeby pasował do parent --- */
main .bg-white.rounded-2xl .aspect-square,
section .bg-white.rounded-2xl .aspect-square,
main .bg-white.rounded-2xl .aspect-video,
section .bg-white.rounded-2xl .aspect-video {
  overflow: hidden;
}

/* === HEADING & TEXT inside cards — większe, modern hierarchy === */
/* Heading karty: zwykle font-bold text-base lub text-lg → upgrade */
section .bg-white.rounded-2xl h3,
section .bg-white.rounded-xl h3,
main .bg-white.rounded-2xl h3,
main .bg-white.rounded-xl h3 {
  font-size: 1.1875rem;        /* 19px (vs 16-18px) */
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: #1a1a2e;
}
@media (min-width: 1024px) {
  section .bg-white.rounded-2xl h3,
  main .bg-white.rounded-2xl h3 {
    font-size: 1.3125rem;      /* 21px na desktop */
  }
}
/* Description w karcie — bigger + nicer leading */
section .bg-white.rounded-2xl p.text-sm,
section .bg-white.rounded-xl p.text-sm,
main .bg-white.rounded-2xl p.text-sm,
main .bg-white.rounded-xl p.text-sm {
  font-size: 0.9375rem;        /* 15px (vs 14px) */
  line-height: 1.65;
  color: #525252;
}

/* Spacing między heading a paragraph w karcie */
section .bg-white.rounded-2xl h3 + p,
section .bg-white.rounded-xl h3 + p,
main .bg-white.rounded-2xl h3 + p,
main .bg-white.rounded-xl h3 + p {
  margin-top: 0.625rem;
}

/* === ICONS w karcie — większe, layered shadow primary === */
section .bg-white.rounded-2xl > * > .w-12.h-12.rounded-full,
section .bg-white.rounded-2xl > * > .w-14.h-14.rounded-full,
section .bg-white.rounded-2xl > * > .w-16.h-16.rounded-full,
main .bg-white.rounded-2xl > * > .w-12.h-12.rounded-full,
main .bg-white.rounded-2xl > * > .w-14.h-14.rounded-full,
main .bg-white.rounded-2xl > * > .w-16.h-16.rounded-full {
  box-shadow:
    0 8px 16px -4px color-mix(in srgb, var(--color-primary) 30%, transparent),
    0 1px 2px rgba(0,0,0,0.05);
  transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out);
}
section .bg-white.rounded-2xl:hover > * > .w-12.h-12.rounded-full,
section .bg-white.rounded-2xl:hover > * > .w-14.h-14.rounded-full,
section .bg-white.rounded-2xl:hover > * > .w-16.h-16.rounded-full,
main .bg-white.rounded-2xl:hover > * > .w-14.h-14.rounded-full {
  transform: scale(1.08);
  box-shadow:
    0 12px 24px -6px color-mix(in srgb, var(--color-primary) 40%, transparent),
    0 1px 2px rgba(0,0,0,0.05);
}

/* --- 11.6 BUTTONS — primary/violet → modern pill z hover lift + glow --- */
/* Primary CTA — solid violet button */
main a.bg-\[var\(--color-primary\)\],
section a.bg-\[var\(--color-primary\)\],
footer a.bg-\[var\(--color-primary\)\],
main button.bg-\[var\(--color-primary\)\],
section button.bg-\[var\(--color-primary\)\],
footer button.bg-\[var\(--color-primary\)\] {
  border-radius: 999px !important;
  transition: transform 250ms var(--ease-out),
              box-shadow 250ms var(--ease-out),
              background-color 250ms var(--ease-out) !important;
  letter-spacing: -0.01em;
  font-weight: 600;
}
main a.bg-\[var\(--color-primary\)\]:hover,
section a.bg-\[var\(--color-primary\)\]:hover,
footer a.bg-\[var\(--color-primary\)\]:hover,
main button.bg-\[var\(--color-primary\)\]:hover,
section button.bg-\[var\(--color-primary\)\]:hover,
footer button.bg-\[var\(--color-primary\)\]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-primary);
}
main a.bg-\[var\(--color-primary\)\]:active,
section a.bg-\[var\(--color-primary\)\]:active {
  transform: translateY(0);
}

/* Secondary CTA — white button on violet hero */
section a.bg-white.text-\[var\(--color-primary\)\],
section button.bg-white.text-\[var\(--color-primary\)\] {
  border-radius: 999px !important;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out) !important;
  font-weight: 600;
}
section a.bg-white.text-\[var\(--color-primary\)\]:hover,
section button.bg-white.text-\[var\(--color-primary\)\]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.25);
}

/* Ghost button — border-2 border-white */
section a.border-2.border-white\/30,
section a[class*="border-white"] {
  border-radius: 999px !important;
  transition: transform 250ms var(--ease-out), background-color 250ms var(--ease-out), border-color 250ms var(--ease-out) !important;
}
section a.border-2.border-white\/30:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.6) !important;
}

/* Arrow icon micro-anim — strzałka po hover translateX */
main a.bg-\[var\(--color-primary\)\] svg,
section a.bg-\[var\(--color-primary\)\] svg,
section a.bg-white.text-\[var\(--color-primary\)\] svg {
  transition: transform 250ms var(--ease-out);
}
main a.bg-\[var\(--color-primary\)\]:hover svg,
section a.bg-\[var\(--color-primary\)\]:hover svg,
section a.bg-white.text-\[var\(--color-primary\)\]:hover svg {
  transform: translateX(4px);
}

/* --- 11.7 FORM INPUTS — modern focus z accent --- */
main input[type="text"],
main input[type="email"],
main input[type="tel"],
main input[type="number"],
main input[type="password"],
main input[type="search"],
main input[type="url"],
main textarea,
main select,
section input[type="text"],
section input[type="email"],
section input[type="tel"],
section input[type="number"],
section textarea,
section select,
footer input[type="email"],
footer input[type="text"] {
  border-radius: 0.875rem;
  transition: border-color 200ms var(--ease-out),
              box-shadow 200ms var(--ease-out);
}

main input:focus,
main textarea:focus,
main select:focus,
section input:focus,
section textarea:focus,
section select:focus,
footer input:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 15%, transparent) !important;
}

/* --- 11.8 ICONS w ikon-circle — głębsza shadow --- */
main .w-12.h-12.rounded-full,
main .w-14.h-14.rounded-full,
main .w-16.h-16.rounded-full,
section .w-12.h-12.rounded-full,
section .w-14.h-14.rounded-full,
section .w-16.h-16.rounded-full {
  box-shadow: 0 8px 16px -4px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

/* --- 11.9 PROSE — lepszy line-height + spacing --- */
.prose, .prose-lg {
  line-height: 1.75;
}
.prose p, .prose li, .prose-lg p, .prose-lg li {
  text-wrap: pretty;
}
.prose h2, .prose-lg h2 {
  margin-top: 2em;
  margin-bottom: 0.75em;
  letter-spacing: -0.02em;
}
.prose h3, .prose-lg h3 {
  margin-top: 1.75em;
  margin-bottom: 0.5em;
  letter-spacing: -0.015em;
}
.prose strong, .prose-lg strong {
  color: var(--color-primary);
  font-weight: 700;
}
.prose a, .prose-lg a {
  text-decoration: none;
  background-image: linear-gradient(to right, var(--color-primary), var(--color-primary));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: background-size 200ms var(--ease-out);
}
.prose a:hover, .prose-lg a:hover {
  background-size: 100% 2px;
}

/* --- 11.10 BLOCKQUOTE — accent left border --- */
.prose blockquote, .prose-lg blockquote {
  border-left-width: 4px;
  border-left-color: var(--color-primary);
  padding-left: 1.5rem;
  font-style: italic;
  color: #4b5563;
  background: color-mix(in srgb, var(--color-primary) 4%, transparent);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

/* --- 11.11 TABELE w prose — modern --- */
.prose table, .prose-lg table {
  border-radius: 0.75rem;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent);
}
.prose table th, .prose-lg table th {
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  padding: 0.75rem 1rem;
}
.prose table td, .prose-lg table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.prose table tr:hover td, .prose-lg table tr:hover td {
  background: color-mix(in srgb, var(--color-primary) 4%, transparent);
}

/* --- 11.12 SCROLL ANIMATE — drobne tweaki istniejącego scroll-animate.js --- */
.scroll-animate {
  /* przyspieszamy istniejącą animację z 0.9s na 0.7s */
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
  transition-delay: 0s;
}

/* ============================================================================
   12. UTILITIES — extra
   ============================================================================ */

/* Text balance dla h1/h2 (lepszy line wrap) */
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }

/* Gradient text utility */
.text-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .slide-in-l, .slide-in-r,
  .quiz-screen-enter, .quiz-page-enter,
  .card-modern, .btn-pill, .likert-option, .choice-option {
    animation: none !important;
    transition: none !important;
  }
  .fade-up, .slide-in-l, .slide-in-r {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================= Megamenu „mega-cards" =================
   Układ wzorowany na półce „Dla kogo" z rcponline.pl: kolumny z nagłówkami-naklejkami,
   pozycje dwuwierszowe z kafelkiem ikony, panel CTA po prawej. Paleta noraline:
   atrament + fiolet + bursztyn, obramowanie komiksowe zamiast miękkiego cienia. */
.nlmega {
  position: absolute; left: 50%; transform: translateX(-50%); top: 100%; margin-top: 8px;
  width: min(1060px, 94vw); background: #fff; border: 2px solid var(--nl-ink);
  border-radius: 18px; box-shadow: 8px 8px 0 var(--color-secondary); overflow: hidden; z-index: 50;
}
.nlmega::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--nl-amber) 55%, var(--color-primary) 100%);
}
.nlmega__in { display: grid; gap: 26px; padding: 28px 26px 30px; }
.nlmega__in--2 { grid-template-columns: 1fr 300px; }
.nlmega__in--3 { grid-template-columns: 1fr 1fr 300px; }
.nlmega__in--4 { grid-template-columns: 1fr 1fr 1fr 290px; }
/* Kolumna z dluga lista (ponad 4 pozycje) lamie sie na dwie waskie,
   zeby menu nie roslo w dol bardziej niz sam navbar. */
.nlmega__in--3.nlmega__in--szeroka { grid-template-columns: 1fr 1fr 240px; }
.nlmega__col--szeroka .nlmega__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; row-gap: 2px; }

.nlmega__head { padding: 0 4px 12px; }
.nlmega__hl {
  display: inline-block; background: var(--nl-amber); color: var(--nl-ink);
  border: 2px solid var(--nl-ink); padding: 2px 11px; border-radius: 9px; transform: rotate(-1.5deg);
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px; letter-spacing: -.01em;
}
.nlmega__col:nth-child(even) .nlmega__hl { transform: rotate(1.5deg); background: var(--color-secondary); }

.nlmega__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.nlmega__item {
  display: flex; align-items: center; gap: 11px; padding: 6px 9px; border-radius: 12px;
  text-decoration: none; transition: background .15s ease;
}
.nlmega__item:hover { background: #f6f3ff; }
.nlmega__item b { display: block; font-size: 14px; font-weight: 600; color: var(--nl-ink); line-height: 1.3; }
.nlmega__item small { display: block; font-size: 12px; color: var(--nl-muted); margin-top: 2px; line-height: 1.45; }
.nlmega__chip {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 10%, #7b5cd6 130%);
  box-shadow: 0 4px 10px rgba(44, 13, 111, .28); transition: transform .15s ease;
}
.nlmega__chip i { font-size: 15px; color: #fff; }
.nlmega__item:hover .nlmega__chip { transform: scale(1.07) rotate(-3deg); }

.nlmega__aside {
  border-radius: 14px; padding: 22px; color: #fff; display: flex; flex-direction: column; justify-content: flex-start;
  background:
    radial-gradient(220px 160px at 88% -10%, rgba(245, 166, 35, .34), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px) 0 0 / 15px 15px,
    linear-gradient(135deg, var(--color-primary) 0%, var(--nl-ink) 100%);
}
.nlmega__aside h6 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0; color: #fff; line-height: 1.25; }
.nlmega__aside p { font-size: 12.5px; color: rgba(255, 255, 255, .82); margin: 9px 0 0; line-height: 1.55; }
.nlmega__btn {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 18px;
  background: var(--nl-amber); color: var(--nl-ink); border: 2px solid var(--nl-ink);
  font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 10px; text-decoration: none;
  box-shadow: 3px 3px 0 var(--nl-ink); transition: transform .15s ease;
}
.nlmega__btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--nl-ink); }

@media (max-width: 1100px) {
  .nlmega { width: 94vw; }
  .nlmega__in--3, .nlmega__in--4, .nlmega__in--szeroka { grid-template-columns: 1fr 1fr; }
  .nlmega__col--szeroka .nlmega__list { grid-template-columns: 1fr; }
  .nlmega__aside { grid-column: 1 / -1; }
}

/* --- Wariant B: kafelek z ilustracją zamiast ikony --- */
.nlmega__thumb {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 11px; overflow: hidden;
  border: 2px solid var(--nl-ink); background: #f6f3ff; transition: transform .15s ease;
  box-shadow: 3px 3px 0 rgba(28, 18, 51, .12);
}
.nlmega__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nlmega__item:hover .nlmega__thumb { transform: scale(1.05) rotate(-1.5deg); }

/* Pozycja w navbarze przestaje byc kotwica dla megamenu — panel rozpina sie wzgledem
   naglowka (`header` jest `fixed`), wiec szeroki uklad nie wychodzi poza ekran. */
li:has(> .nlmega > .nlmega__in--3) { position: static; }
/* Szerokosc panelu zalezy od liczby kolumn, a nie odwrotnie. */
.nlmega:has(.nlmega__in--3.nlmega__in--szeroka) { width: min(1380px, 94vw); }
.nlmega:has(.nlmega__in--2.nlmega__in--szeroka) { width: min(1000px, 94vw); }
.nlmega:has(.nlmega__in--1.nlmega__in--szeroka) { width: min(680px, 94vw); }

/* Link zbiorczy w kolumnie megamenu — bez miniatury, wyrownany do tekstu pozycji */
.nlmega__more {
  display: inline-flex; align-items: center; gap: 7px; margin: 2px 0 0 6px; padding: 7px 4px;
  font-size: 13.5px; font-weight: 700; color: var(--nl-ink); text-decoration: none;
  border-bottom: 2px solid transparent; transition: border-color .15s ease, gap .15s ease;
}
.nlmega__more:hover { border-bottom-color: var(--nl-amber); gap: 11px; }
/* Link zbiorczy nie jest pozycja listy — dostaje wlasny wiersz pod cala kolumna,
   inaczej w ukladzie dwukolumnowym lezy w polowie bloku obok ostatniej pozycji. */
.nlmega__col--szeroka .nlmega__list > li:has(> .nlmega__more) { grid-column: 1 / -1; margin-top: 4px; }
.nlmega__more svg { flex: none; }

/* --- Wariant A: Szymon wychylony z panelu CTA --- */
.nlmega__aside--figure { position: relative; overflow: hidden; padding-bottom: 96px; }
.nlmega__figure {
  position: absolute; right: -14px; bottom: -10px; width: 168px;
  pointer-events: none; filter: drop-shadow(0 6px 12px rgba(0,0,0,.28));
}
.nlmega__figure img { width: 100%; display: block; }
/* Sylwetka w kadrze pionowym — przy 168 px wchodziłaby na akapit panelu. */
.nlmega__figure--wysoka { width: 114px; right: -6px; bottom: -8px; }

/* --- Wariant C: jedna duża scena obok listy --- */
.nlmega__in--scene { grid-template-columns: 1.25fr 340px; align-items: start; }
.nlmega__scene {
  border-radius: 14px; border: 2px solid var(--nl-ink); overflow: hidden;
  box-shadow: 5px 5px 0 var(--nl-amber); display: flex; flex-direction: column; background: #fff;
}
.nlmega__scene img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.nlmega__scene__tx { padding: 16px 18px 18px; }
.nlmega__scene__tx h6 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0; color: var(--nl-ink); }
.nlmega__scene__tx p { font-size: 12.5px; color: var(--nl-muted); margin: 7px 0 0; line-height: 1.55; }
@media (max-width: 1100px) { .nlmega__in--scene { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────────────────
   Klasy arbitralne Tailwinda używane przez wspólne bloki narzędzi.

   Bloki narzędzi (audyt SEO, generator polityki, generator stopki, kreator CV)
   mają w markupie klasy z wartościami wpisanymi wprost — `bg-[#2c0e6f]` i spółka.
   `tailwind-compiled.css` w tym theme jest budowany statycznie, więc takich klas
   po prostu w nim nie ma i przeglądarka je ignoruje. Skutkiem był przycisk
   „Zapisz się i otrzymaj raport SEO” bez tła: biały tekst na białej karcie,
   czyli przycisk niewidoczny (zmierzone: background-color rgba(0,0,0,0)).

   Kolory są tu takie same, jakie zakładał markup — --color-primary w noraline
   ma dokładnie wartość #2c0e6f. To nie jest zmiana wyglądu, tylko dostarczenie
   reguł, których brakowało.

   Docelowo te klasy powinny zniknąć z szablonów na rzecz tokenów; do tego czasu
   ten blok jest jedynym miejscem, w którym się je definiuje — zamiast czterech
   osobnych łatek per narzędzie.
   ───────────────────────────────────────────────────────────────────────── */
.bg-\[\#2c0e6f\]        { background-color: var(--color-primary, #2c0e6f); }
.hover\:bg-\[\#3d1a9b\]:hover { background-color: #3d1a9b; }
.bg-\[\#faf8ff\]        { background-color: #faf8ff; }
.text-\[\#2c0e6f\]      { color: var(--color-primary, #2c0e6f); }
.text-\[\#b4a7d6\]      { color: var(--color-secondary, #b4a7d6); }
.text-\[\#1a1a2e\]      { color: var(--nl-ink, #1c1233); }
.focus\:ring-\[\#b4a7d6\]:focus { --tw-ring-color: var(--color-secondary, #b4a7d6); box-shadow: 0 0 0 2px var(--color-secondary, #b4a7d6); }

/* Kreator CV — pasek narzędzi podglądu (te same wartości co w markupie). */
.bg-\[\#4338ca\]        { background-color: #4338ca; }
.hover\:bg-\[\#4338ca\]:hover { background-color: #4338ca; }
.bg-\[\#4f46e5\]        { background-color: #4f46e5; }
.bg-\[\#525659\]        { background-color: #525659; }

/* ─────────────────────────────────────────────────────────────────────────
   Nota o charakterze treści (materiały psychologiczne).
   Ma być widoczna, ale nie krzyczeć — to informacja, nie ostrzeżenie.
   ───────────────────────────────────────────────────────────────────────── */
.nl-nota-tresc{
  border:1px solid var(--nl-line, #e6dff2);
  border-left:3px solid var(--nl-muted, #5b5375);
  border-radius:10px;
  background:#faf8ff;
  padding:16px 20px;
  margin:28px 0;
  max-width:70ch;
}
.nl-nota-tresc__tyt{
  font-size:.72rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase;
  color:var(--nl-muted, #5b5375); margin:0 0 8px;
}
.nl-nota-tresc p{ font-size:.92rem; line-height:1.6; color:var(--nl-ink, #1c1233); margin:0; }
.nl-nota-tresc p + p{ margin-top:8px; }

/* ─────────────────────────────────────────────────────────────────────────
   Zastrzeżenie nad wynikiem testu. Bez czerwieni i ikon ostrzegawczych —
   to informacja, nie wypadek. Krzyczący komponent podważa spokojny ton
   reszty strony i ludzie uczą się go pomijać.
   ───────────────────────────────────────────────────────────────────────── */
.nl-zastrz{
  border:1px solid var(--nl-line, #e6dff2);
  border-left:3px solid var(--nl-amber, #f5a623);
  border-radius:10px;
  background:#faf8ff;
  padding:17px 21px;
  margin:0 0 24px;
  max-width:70ch;
}
.nl-zastrz--lekki{ border-left-color:var(--nl-muted, #5b5375); }
.nl-zastrz__tyt{
  font-family:var(--font-display, Georgia, serif);
  font-size:1rem; font-weight:600; color:var(--nl-ink, #1c1233); margin:0 0 8px;
}
.nl-zastrz p{ font-size:.93rem; line-height:1.6; color:var(--nl-ink, #1c1233); margin:0; }
.nl-zastrz p + p{ margin-top:9px; }
.nl-zastrz__pomoc{
  margin-top:12px; padding-top:11px;
  border-top:1px dashed var(--nl-line, #e6dff2);
  font-size:.87rem !important; color:var(--nl-muted, #5b5375) !important;
}
.nl-zastrz__pomoc b{ color:var(--nl-ink, #1c1233); font-variant-numeric:tabular-nums; }

/* ─────────────────────────────────────────────────────────────────────────
   Nagłówek serwisu na stronach z osadzoną aplikacją Vue.

   Generator stopki (i każde inne narzędzie zbudowane jako osobna aplikacja)
   wnosi WŁASNY build Tailwinda, ładowany PO CSS theme'u. Ten build ma
   `.hidden{display:none}`, ale nie ma wariantów `lg:block` czy `sm:inline-flex`,
   bo tych klas nie ma w jego źródłach. Przy równej swoistości wygrywa reguła
   późniejsza — więc na /generator-stopki znikało główne menu, koszyk i przycisk
   logowania, a hamburger pokazywał się na desktopie.

   Zmierzone: dokładnie 4 elementy nagłówka renderowały się inaczej niż na
   stronie bez aplikacji. Poniższe reguły przywracają je swoistością (0,2,1)
   zamiast kolejnością — bez !important, żeby nie blokować przełączania z JS.
   Zakres ograniczony do `header.fixed`, więc nie dotyka wnętrza aplikacji.
   ───────────────────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  header.fixed .sm\:inline-flex { display: inline-flex; }
  header.fixed .sm\:flex        { display: flex; }
  header.fixed .sm\:block       { display: block; }
  header.fixed .sm\:hidden      { display: none; }
}
@media (min-width: 1024px) {
  header.fixed .lg\:block       { display: block; }
  header.fixed .lg\:flex        { display: flex; }
  header.fixed .lg\:inline-flex { display: inline-flex; }
  header.fixed .lg\:hidden      { display: none; }
}

/* ─────────────────────────────────────────────────────────────────────────
   BLOKI STRONY GŁÓWNEJ 2026-09 — symptom-switcher, service-bento,
   industry-lanes, rules-switch, merch-band.
   Pisane ręcznie (nie przez Tailwind), bo wszystkie korzystają z tej samej
   komiksowej ramki: 2 px konturu + twardy cień, bez cieni rozmytych.
   ───────────────────────────────────────────────────────────────────────── */
.nl-frame-hard { border: 2px solid var(--nl-ink); border-radius: 18px; background: #fff;
  box-shadow: 6px 6px 0 var(--nl-ink); }
.nl-underline-amber { font-weight: 600; color: var(--color-primary); text-decoration: none;
  border-bottom: 2px solid var(--nl-amber); padding-bottom: 2px; }

/* --- Symptom switcher: lista objawów + panel --- */
.nl-symptoms { display: grid; border: 2px solid var(--nl-ink); border-radius: 20px; background: #fff;
  box-shadow: 6px 6px 0 var(--nl-ink); overflow: hidden; }
@media (min-width: 880px) { .nl-symptoms { grid-template-columns: minmax(260px, .85fr) 2fr; } }
.nl-symptoms__list { display: flex; flex-direction: column; background: var(--color-bg);
  border-bottom: 2px solid var(--nl-ink); }
@media (min-width: 880px) { .nl-symptoms__list { border-bottom: 0; border-right: 2px solid var(--nl-ink); } }
.nl-symptoms__head { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--nl-muted); padding: 18px 20px 10px; }
.nl-symptoms__tab { position: relative; text-align: left; font-size: 15px; line-height: 1.35;
  color: var(--nl-muted); background: transparent; border: 0; border-top: 2px solid #e6dff2;
  padding: 15px 20px 15px 34px; cursor: pointer; }
.nl-symptoms__tab::before { content: ""; position: absolute; left: 16px; top: 21px; width: 7px; height: 7px;
  border-radius: 50%; background: #d8cdf0; }
.nl-symptoms__tab:hover { color: var(--nl-ink); background: #fff; }
.nl-symptoms__tab[aria-selected="true"] { background: #fff; color: var(--nl-ink); font-weight: 600; }
.nl-symptoms__tab[aria-selected="true"]::before { background: var(--nl-amber);
  box-shadow: 0 0 0 4px rgba(245,166,35,.28); }
.nl-symptoms__tab[aria-selected="true"]::after { content: ""; position: absolute; right: -2px; top: -2px;
  bottom: -2px; width: 4px; background: var(--nl-amber); }
@media (max-width: 879px) {
  .nl-symptoms__tab[aria-selected="true"]::after { right: 0; left: 0; top: auto; bottom: 0; width: auto; height: 4px; }
}
.nl-symptoms__pane { display: flex; flex-direction: column; min-height: 100%; }
.nl-symptoms__sit { padding: 24px 26px 20px; }
.nl-symptoms__sit p { font-size: clamp(17px, 2vw, 21px); line-height: 1.45; color: var(--nl-ink);
  font-weight: 500; max-width: 56ch; margin-top: 12px; }
.nl-symptoms__cols { display: grid; border-top: 2px solid #e6dff2; }
@media (min-width: 640px) { .nl-symptoms__cols { grid-template-columns: 1.15fr .85fr; } }
.nl-symptoms__cell { padding: 22px 26px; }
@media (min-width: 640px) { .nl-symptoms__cell + .nl-symptoms__cell { border-left: 2px solid #e6dff2; } }
@media (max-width: 639px) { .nl-symptoms__cell + .nl-symptoms__cell { border-top: 2px solid #e6dff2; } }
.nl-symptoms__cell .nl-kicker { margin-bottom: 14px; }
.nl-symptoms__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nl-symptoms__steps li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15px;
  color: var(--nl-muted); }
.nl-symptoms__steps b { font-size: 12px; font-weight: 600; color: var(--color-primary);
  border: 2px solid #e6dff2; border-radius: 50%; text-align: center; height: 26px; line-height: 22px; }
.nl-symptoms__out { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.15; color: var(--nl-ink); margin-bottom: 10px; }
.nl-symptoms__note { font-size: 14.5px; color: var(--nl-muted); }
.nl-symptoms__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center;
  justify-content: space-between; padding: 16px 26px; border-top: 2px solid var(--nl-ink);
  background: var(--color-bg); }
.nl-symptoms__foot span { font-size: 13.5px; color: var(--nl-muted); }

/* --- Service bento: jedna usługa wiodąca + kafelki --- */
.nl-bento { display: grid; gap: 16px; }
@media (min-width: 660px) { .nl-bento { grid-template-columns: repeat(2, 1fr); }
  .nl-bento__tile--feat { grid-column: span 2; } }
@media (min-width: 1020px) { .nl-bento { grid-template-columns: repeat(3, 1fr); }
  .nl-bento__tile--feat { grid-column: span 2; grid-row: span 2; } }
.nl-bento__tile { display: flex; flex-direction: column; gap: 8px; padding: 20px; text-decoration: none;
  border: 2px solid var(--nl-ink); border-radius: 16px; background: #fff; transition: box-shadow .2s ease; }
.nl-bento__tile:hover { box-shadow: 5px 5px 0 var(--nl-amber); }
.nl-bento__tile h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25;
  color: var(--nl-ink); }
.nl-bento__tile p { font-size: 14.5px; line-height: 1.6; color: var(--nl-muted); }
.nl-bento__tile--feat { padding: 24px; gap: 12px; box-shadow: 6px 6px 0 var(--nl-ink); }
.nl-bento__tile--feat:hover { box-shadow: 6px 6px 0 var(--nl-amber); }
.nl-bento__tile--feat h3 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.1; }
.nl-bento__pill { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; background: var(--nl-amber); color: var(--nl-ink); padding: 6px 12px;
  border-radius: 999px; }
.nl-bento__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.nl-bento__points li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px;
  color: var(--nl-muted); }
.nl-bento__points li::before { content: "→"; color: var(--nl-amber); font-weight: 700; }
.nl-bento__art { margin-top: auto; border: 2px solid var(--nl-ink); border-radius: 12px; overflow: hidden;
  background: var(--color-bg); display: block; }
/* Kafel wiodący rośnie od treści, nie od grafiki: ilustracja dostaje stały pas
   i przycięcie, inaczej kwadratowy rysunek windował całą sekcję o kilkaset px. */
.nl-bento__art img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: center 38%; }
@media (min-width: 1020px) { .nl-bento__art img { height: 240px; } }
.nl-bento__ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--color-bg); border: 2px solid var(--nl-ink); color: var(--color-primary); }
.nl-bento__go { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 600;
  color: var(--color-primary); }

/* --- Industry lanes: branże --- */
.nl-lanes { display: grid; gap: 16px; }
@media (min-width: 680px) { .nl-lanes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .nl-lanes { grid-template-columns: repeat(3, 1fr); }
  .nl-lanes--2 { grid-template-columns: repeat(2, 1fr); } }
.nl-lane { display: flex; flex-direction: column; gap: 9px; padding: 20px; text-decoration: none;
  border: 2px solid var(--nl-ink); border-radius: 16px; background: #fff; transition: box-shadow .2s ease; }
a.nl-lane:hover { box-shadow: 5px 5px 0 var(--nl-amber); }
.nl-lane h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25;
  color: var(--nl-ink); }
.nl-lane p { font-size: 14.5px; line-height: 1.6; color: var(--nl-muted); }
.nl-lane__ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--color-bg); border: 2px solid var(--nl-ink); color: var(--color-primary); }

/* --- Rules switch: czym jest / czym nie jest --- */
.nl-rules__switch { display: inline-flex; border: 2px solid var(--nl-ink); border-radius: 999px;
  overflow: hidden; }
.nl-rules__switch button { font-size: 13.5px; font-weight: 600; padding: 11px 20px; background: #fff;
  color: var(--nl-muted); border: 0; cursor: pointer; }
.nl-rules__switch button[aria-pressed="true"] { background: var(--nl-ink); color: #fff; }
.nl-rules__list { list-style: none; margin: 18px 0 0; padding: 0; border: 2px solid var(--nl-ink);
  border-radius: 18px; overflow: hidden; background: #fff; }
.nl-rules__list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 15px 20px;
  border-bottom: 2px solid #e6dff2; font-size: 15.5px; color: var(--nl-muted); }
.nl-rules__list li:last-child { border-bottom: 0; }
.nl-rules__mark { font-weight: 700; }
.nl-rules__list--is .nl-rules__mark { color: #2f9e7d; }
.nl-rules__list--not .nl-rules__mark { color: #c0392b; }

/* --- Merch band: sklep z gadżetami --- */
.nl-merch { display: grid; gap: 16px; align-items: center; padding: 18px 20px; text-decoration: none;
  border: 2px solid var(--nl-ink); border-radius: 18px; background: #fff; transition: box-shadow .2s ease; }
@media (min-width: 760px) { .nl-merch { grid-template-columns: 96px 1fr auto; }
  .nl-merch--noart { grid-template-columns: 1fr auto; } }
.nl-merch:hover { box-shadow: 5px 5px 0 var(--nl-amber); }
.nl-merch__art { border: 2px solid var(--nl-ink); border-radius: 12px; overflow: hidden; max-width: 96px; }
.nl-merch__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2;
  color: var(--nl-ink); margin-top: 6px; }
.nl-merch__body p { font-size: 14.5px; color: var(--nl-muted); margin-top: 4px; }
.nl-merch__go { font-size: 13.5px; font-weight: 600; color: var(--color-primary); white-space: nowrap; }

/* --- Grafiki w diagnozie i w branżach (2026-09) --- */
.nl-symptoms__sit--art { display: grid; gap: 20px; align-items: center; }
@media (min-width: 720px) { .nl-symptoms__sit--art { grid-template-columns: 1fr 260px; } }
.nl-symptoms__art { border: 2px solid var(--nl-ink); border-radius: 14px; overflow: hidden;
  background: var(--color-bg); display: block; }
.nl-symptoms__art img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nl-lane--art { padding: 0; overflow: hidden; }
.nl-lane--art h3, .nl-lane--art p { padding-inline: 20px; }
.nl-lane--art h3 { padding-top: 16px; }
.nl-lane--art p { padding-bottom: 20px; }
.nl-lane__art { display: block; border-bottom: 2px solid var(--nl-ink); background: var(--color-bg); }
.nl-lane__art img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* --- Zestawienie „czym jest / czym nie jest” obok siebie --- */
.nl-cmp { display: grid; gap: 16px; }
@media (min-width: 880px) { .nl-cmp { grid-template-columns: 1fr 1fr; gap: 20px; } }
.nl-cmp__col { border: 2px solid var(--nl-ink); border-radius: 18px; overflow: hidden; background: #fff; }
.nl-cmp__col--is { box-shadow: 6px 6px 0 var(--nl-ink); }
.nl-cmp__col--not { background: #f4f1fb; }
.nl-cmp__head { display: flex; align-items: center; gap: 12px; font-family: var(--font-display);
  font-weight: 600; font-size: 21px; color: var(--nl-ink); padding: 18px 22px;
  border-bottom: 2px solid var(--nl-ink); }
.nl-cmp__mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 16px; font-weight: 700; border: 2px solid var(--nl-ink); }
.nl-cmp__col--is .nl-cmp__mark { background: #d8f0e6; color: #1c6b52; }
.nl-cmp__col--not .nl-cmp__mark { background: #f7ddd9; color: #96342a; }
.nl-cmp__col ul { list-style: none; margin: 0; padding: 0; }
.nl-cmp__col li { padding: 15px 22px; border-bottom: 1px solid #e6dff2; font-size: 15.5px;
  line-height: 1.55; color: var(--nl-muted); }
.nl-cmp__col li:last-child { border-bottom: 0; }
.nl-cmp__col--not li { color: #7a7191; }

/* --- Opinie + autor w jednym bloku --- */
.nl-voices { display: grid; gap: 18px; align-items: start; }
@media (min-width: 1000px) { .nl-voices { grid-template-columns: 1.25fr .75fr; } }
.nl-voices__quotes { display: grid; gap: 14px; }
@media (min-width: 640px) { .nl-voices__quotes { grid-template-columns: repeat(2, 1fr); } }
.nl-quote { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 20px;
  border: 2px solid var(--nl-ink); border-radius: 16px; background: #fff; }
.nl-quote p { font-size: 15px; line-height: 1.6; color: var(--nl-ink); }
.nl-quote__who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.nl-quote__av { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: 0 0 38px;
  border: 2px solid var(--nl-ink); }
.nl-quote__av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nl-quote__who b { display: block; font-size: 13.5px; color: var(--nl-ink); }
.nl-quote__who span span, .nl-quote__who > span > span { font-size: 12px; color: var(--nl-muted); }
/* Przy dziewięciu opiniach kolumna z cytatami jest znacznie dłuższa — karta
   autora jedzie z nią, zamiast zostawać na górze przy pustym pasie. */
@media (min-width: 1000px) { .nl-author { position: sticky; top: 96px; } }
.nl-author { display: flex; flex-direction: column; gap: 14px; padding: 22px;
  border: 2px solid var(--nl-ink); border-radius: 18px; background: #fff;
  box-shadow: 6px 6px 0 var(--nl-amber); }
.nl-author__art { display: block; border: 2px solid var(--nl-ink); border-radius: 14px; overflow: hidden; }
.nl-author__art img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nl-author__quote { font-family: var(--font-display); font-style: italic; font-size: 18px;
  line-height: 1.4; color: var(--nl-ink); }
.nl-author__desc { font-size: 14.5px; color: var(--nl-muted); }
.nl-author__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nl-author__stats div { border: 2px solid #e6dff2; border-radius: 12px; padding: 12px; }
.nl-author__stats b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px;
  line-height: 1.2; color: var(--color-primary); }
.nl-author__stats span { font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--nl-muted); }
.nl-author__note { font-size: 13px; color: var(--nl-muted); }

/* --- Półka materiałów (kursy, e-booki, quizy) --- */
.nl-rack__lead { display: grid; gap: 0; text-decoration: none; overflow: hidden;
  border: 2px solid var(--nl-ink); border-radius: 20px; background: #fff;
  box-shadow: 6px 6px 0 var(--nl-ink); margin-bottom: 20px; transition: box-shadow .2s ease; }
@media (min-width: 860px) { .nl-rack__lead { grid-template-columns: .9fr 1.1fr; } }
.nl-rack__lead:hover { box-shadow: 6px 6px 0 var(--nl-amber); }
.nl-rack__leadart { display: block; background: var(--color-bg); border-bottom: 2px solid var(--nl-ink); }
@media (min-width: 860px) { .nl-rack__leadart { border-bottom: 0; border-right: 2px solid var(--nl-ink); height: 100%; } }
.nl-rack__leadart img { display: block; width: 100%; height: 100%; min-height: 240px;
  aspect-ratio: 16 / 10; object-fit: cover; }
.nl-rack__leadbody { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.nl-rack__leadbody h3 { font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; color: var(--nl-ink); }
.nl-rack__leadbody p { font-size: 15.5px; line-height: 1.6; color: var(--nl-muted); }
.nl-rack__tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; background: var(--nl-amber); color: var(--nl-ink);
  padding: 6px 12px; border-radius: 999px; }
.nl-rack__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nl-rack__chips span { font-size: 12.5px; font-weight: 600; color: var(--color-primary);
  background: #f1ecfb; border: 1px solid #ddd2f5; border-radius: 999px; padding: 6px 12px; }
.nl-rack__btn { align-self: flex-start; margin-top: 4px; padding: 13px 26px; font-size: 15px; }
.nl-rack__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .nl-rack__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .nl-rack__grid { grid-template-columns: repeat(3, 1fr); } }
.nl-rack__item { display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  border: 2px solid var(--nl-ink); border-radius: 16px; background: #fff; transition: box-shadow .2s ease; }
.nl-rack__item:hover { box-shadow: 5px 5px 0 var(--nl-amber); }
.nl-rack__art { position: relative; display: block; border-bottom: 2px solid var(--nl-ink);
  background: var(--color-bg); }
.nl-rack__art img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nl-rack__chip { position: absolute; top: 12px; left: 12px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--nl-ink);
  border: 2px solid var(--nl-ink); border-radius: 999px; padding: 5px 11px; }
.nl-rack__body { display: flex; flex-direction: column; gap: 6px; padding: 18px; flex: 1; }
.nl-rack__body b { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25;
  color: var(--nl-ink); }
.nl-rack__hook { font-size: 13.5px; font-weight: 600; color: var(--color-primary); }
.nl-rack__desc { font-size: 14px; line-height: 1.55; color: var(--nl-muted); }
.nl-rack__go { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 600;
  color: var(--color-primary); }

/* --- Sklep z gadżetami: pełna sekcja na ciemnym tle --- */
.nl-merch2 { display: grid; gap: 26px; align-items: center; padding: clamp(24px, 4vw, 44px);
  border: 2px solid var(--nl-ink); border-radius: 22px; background: var(--color-footer-bg, #1f0a50);
  box-shadow: 8px 8px 0 var(--nl-amber); color: #f6f2ff; }
@media (min-width: 900px) { .nl-merch2 { grid-template-columns: .85fr 1.15fr; gap: 40px; } }
.nl-merch2__intro { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.nl-merch2__intro h2 { font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; color: #fff; }
.nl-merch2__intro p { font-size: 15.5px; line-height: 1.6; color: #c6bce4; }
.nl-merch2__btn { background: var(--nl-amber); color: var(--nl-ink); border-radius: 999px;
  font-weight: 700; }
.nl-merch2__btn:hover { background: #ffb944; color: var(--nl-ink); }
.nl-merch2__note { font-size: 12.5px; color: #a294cf; }
.nl-merch2 .nl-kicker--light, .nl-merch2 .nl-kicker { color: #c6bce4; }
.nl-merch2__grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .nl-merch2__grid { grid-template-columns: 1fr; } }
.nl-merch2__item { display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  border: 2px solid var(--nl-ink); border-radius: 16px; background: #fff; transition: transform .2s ease; }
.nl-merch2__item:hover { transform: translateY(-4px); }
.nl-merch2__art { display: block; border-bottom: 2px solid var(--nl-ink); background: var(--color-bg); }
.nl-merch2__art img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.nl-merch2__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
.nl-merch2__body b { font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--nl-ink); }
.nl-merch2__body span { font-size: 13px; color: var(--nl-muted); }

/* --- Półka wpisów: plakietka kategorii na kadrze, meta osobno od odnośnika --- */
.nl-rack__leadart { position: relative; }
.nl-rack__leadart .nl-rack__chip { position: absolute; top: 14px; left: 14px; }
/* Zajawki mają bardzo różną długość — bez ograniczenia jeden kafel robił się
   dwa razy wyższy od sąsiada i psuł rząd. */
.nl-rack__desc--clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden; }
.nl-rack__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 12px;
  align-items: center; justify-content: space-between; border-top: 1px solid #ece5f7; }
.nl-rack__leadfoot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 4px; }

/* Metryki wpisu — jeden zapis dla kafla i dla wpisu wiodącego: ikona + tekst,
   bez pigułek (te zostają dla plakietki kategorii, żeby się nie myliły). */
.nl-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--nl-muted);
  margin-top: 4px; }
.nl-meta__i { display: inline-flex; align-items: center; gap: 6px; }
.nl-meta__i svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--color-primary); opacity: .75; }
.nl-byline { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--nl-ink); }
.nl-byline__av { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--nl-ink); }
.nl-byline__av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nl-rack__read { font-size: 13px; font-weight: 700; color: var(--color-primary);
  border-bottom: 2px solid var(--nl-amber); padding-bottom: 1px; }
.nl-rack__item:hover .nl-rack__read { color: var(--color-primary-dark); }

/* --- Karta wpisu (lista bloga, karuzele kategorii) --- */
.nl-post { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff;
  border: 2px solid var(--nl-ink); border-radius: 16px; transition: box-shadow .2s ease; }
.nl-post:hover { box-shadow: 5px 5px 0 var(--nl-amber); }
.nl-post__art { position: relative; display: block; border-bottom: 2px solid var(--nl-ink);
  background: var(--color-bg); }
.nl-post__art img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nl-post__flag { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; background: var(--nl-amber); color: var(--nl-ink);
  border: 2px solid var(--nl-ink); border-radius: 999px; padding: 4px 10px; }
.nl-post__flag--draft { background: #efe9fb; }
.nl-post__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.nl-post__cat { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--color-primary); background: #f1ecfb; border-radius: 999px;
  padding: 4px 10px; }
.nl-post__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25;
  color: var(--nl-ink); }
.nl-post__body h3 a { color: inherit; text-decoration: none; }
.nl-post:hover h3 a { color: var(--color-primary); }
.nl-post__lead { font-size: 14px; line-height: 1.55; color: var(--nl-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nl-post__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 12px;
  align-items: center; justify-content: space-between; border-top: 1px solid #ece5f7; }
.nl-post__foot .nl-rack__read { text-decoration: none; }
.nl-post .nl-meta { margin-top: 2px; }
