/* ============================================================
   Lekko — DNA marki (atomy współdzielone przez podstrony).
   UWAGA: to NIE jest layout. Każda podstrona ma własny <style>
   z bespoke hero/sekcjami. Tu żyją tylko: tokeny, nav, stopka,
   przyciski, FAQ, chipy, breadcrumb. Strona główna (/) ma swój
   inline CSS i nie używa tego pliku.
   ============================================================ */
:root {
  --bg: #ffffff; --bg-soft: #f6f7f9; --bg-card: #ffffff;
  --line: #e6e8ec; --line-strong: #d1d5db;
  --ink: #0b0d10; --ink-2: #1d2026; --ink-dim: #4a5057; --muted: #757a82;
  --accent: #c6f24e; --accent-ink: #0a0a0a; --accent-deep: #a8d130;
  --invert-bg: #0b0d10; --invert-text: #ffffff;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif: "Libre Baskerville", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117; --bg-soft: #161b22; --bg-card: #161b22;
    --line: #2a313c; --line-strong: #3a414c;
    --ink: #f0f3f6; --ink-2: #e1e4e8; --ink-dim: #b1b6bd; --muted: #8b929b;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font: 16px/1.55 var(--sans); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column;
}
a { color: inherit; }
img { max-width: 100%; }

/* ===== nav ===== */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px) saturate(180%); -webkit-backdrop-filter: blur(10px) saturate(180%); background: color-mix(in srgb, var(--bg) 85%, transparent); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-left { display: inline-flex; align-items: center; gap: 24px; }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-brand-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-ink); border: 1.5px solid var(--ink); font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 20px; }
.nav-brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav-brand-name em { font-family: var(--serif); font-style: italic; font-weight: 700; }
.nav-links { display: inline-flex; align-items: center; gap: 2px; }
.nav-link { padding: 6px 12px; font-size: 14px; font-weight: 500; color: var(--ink-dim); text-decoration: none; border-radius: 6px; transition: color .15s, background .15s; }
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--accent); color: var(--accent-ink); border: 1.5px solid var(--ink); border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .15s; cursor: pointer; }
.btn-primary:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--accent); }
.btn-dark:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--accent); }
@media (max-width: 680px) { .nav-links { display: none; } .nav-inner { padding: 12px 16px; } }

/* ===== layout atoms ===== */
.stage { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; flex: 1 0 auto; }
@media (max-width: 640px) { .stage { padding: 0 18px; } }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.crumbs { margin: 22px 0 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.crumbs a { color: var(--ink-dim); text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--ink); }
.link-ghost { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 1px; }
.link-ghost:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* eyebrows */
.eyebrow { display: inline-block; font-size: 12px; color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--ink); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; }
.eyebrow-mono { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

/* chips */
.chip { font-family: var(--mono); font-size: 11px; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 9px; }

/* ===== FAQ (atom współdzielony) ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.faq-item { border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--bg-card); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.faq-item[open] { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.faq-item summary { list-style: none; cursor: pointer; padding: 15px 18px; font-weight: 600; font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 22px; font-weight: 400; color: var(--accent-deep); flex-shrink: 0; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.faq-a { padding: 0 18px 16px; font-size: 14.5px; line-height: 1.6; color: var(--ink-dim); }
.faq-a a { color: var(--ink); }
/* hover feedback + lime „slice" wjeżdżający od lewej do prawej */
.faq-item:hover { border-color: var(--ink); }
.faq-item summary::before { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.faq-item:hover summary::before { transform: scaleX(1); }
.faq-item[open] summary::before { transform: scaleX(1); }

/* odstępy sekcji FAQ — per-stronowy .faq-wrap{margin:0 auto} kasował górny
   margines; :has() ma wyższą specyficzność i łapie każdy wariant (też .narrow) */
section:has(.faq-list) { margin-top: 88px; margin-bottom: 44px; }
@media (max-width: 640px) { section:has(.faq-list) { margin-top: 60px; margin-bottom: 32px; } }

/* ===== related (Wejdź głębiej) z mini-miniaturą sygnatury strony ===== */
.related { margin: 56px auto 0; }
.related h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; margin: 0 0 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }
.rel-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.rel-card:hover { border-color: var(--ink); transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.rel-body { display: flex; flex-direction: column; min-width: 0; font-weight: 600; }
.rel-k { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }

/* mini-thumb (echo sygnatury danej strony) */
.rel-thumb { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid var(--ink); position: relative; overflow: hidden; background: var(--invert-bg); }
.rel-thumb::before, .rel-thumb::after { content: ""; position: absolute; }
/* pionowy ekran 9:16 — reels / tiktok / shorts */
.rel-card[data-thumb="reels"] .rel-thumb::before,
.rel-card[data-thumb="tiktok"] .rel-thumb::before,
.rel-card[data-thumb="youtube-shorts"] .rel-thumb::before { left: 50%; top: 50%; transform: translate(-50%,-50%); width: 54%; height: 82%; background: #161b22; border-radius: 4px; }
/* poziomy ekran 16:9 — film produktowy / spot */
.rel-card[data-thumb="film-produktowy"] .rel-thumb::before,
.rel-card[data-thumb="spot-uslugowy"] .rel-thumb::before { left: 50%; top: 50%; transform: translate(-50%,-50%); width: 82%; height: 56%; background: #161b22; border-radius: 4px; }
/* lime ▶ — reels/tiktok/shorts/produktowy */
.rel-card[data-thumb="reels"] .rel-thumb::after,
.rel-card[data-thumb="tiktok"] .rel-thumb::after,
.rel-card[data-thumb="youtube-shorts"] .rel-thumb::after,
.rel-card[data-thumb="film-produktowy"] .rel-thumb::after { left: 50%; top: 50%; transform: translate(-40%,-50%); width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--accent); }
/* spot — pasek napisów zamiast ▶ */
.rel-card[data-thumb="spot-uslugowy"] .rel-thumb::after { left: 26%; right: 26%; bottom: 33%; height: 4px; background: var(--accent); border-radius: 2px; }
/* feed — jasna karta: media + napis */
.rel-card[data-thumb="wideo-na-feed"] .rel-thumb { background: var(--bg-card); }
.rel-card[data-thumb="wideo-na-feed"] .rel-thumb::before { left: 20%; right: 20%; top: 18%; height: 42%; background: var(--invert-bg); border-radius: 4px; }
.rel-card[data-thumb="wideo-na-feed"] .rel-thumb::after { left: 20%; right: 36%; bottom: 24%; height: 4px; background: var(--accent); border-radius: 2px; }
/* 1 dzień — kalendarz „1” */
.rel-card[data-thumb="dzien-zdjeciowy"] .rel-thumb { background: var(--bg-card); }
.rel-card[data-thumb="dzien-zdjeciowy"] .rel-thumb::before { left: 0; right: 0; top: 0; height: 30%; background: var(--ink); }
.rel-card[data-thumb="dzien-zdjeciowy"] .rel-thumb::after { content: "1"; left: 0; right: 0; bottom: 3px; text-align: center; font-family: var(--sans); font-weight: 800; font-size: 22px; line-height: 1; color: var(--ink); }
/* hub — matryca formatów */
.rel-card[data-thumb="wideo-na-social-media"] .rel-thumb::before { left: 18%; right: 18%; top: 18%; height: 30%; background: var(--accent); border-radius: 3px; }
.rel-card[data-thumb="wideo-na-social-media"] .rel-thumb::after { left: 18%; right: 18%; bottom: 20%; height: 26%; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px); border-radius: 2px; }
/* realizacje — siatka 2×2 */
.rel-card[data-thumb="realizacje"] .rel-thumb { background: var(--bg-card); }
.rel-card[data-thumb="realizacje"] .rel-thumb::before { left: 7px; right: 7px; top: 7px; bottom: 7px; background:
  linear-gradient(var(--accent),var(--accent)) 0 0/45% 45% no-repeat,
  linear-gradient(var(--ink),var(--ink)) 100% 0/45% 45% no-repeat,
  linear-gradient(var(--ink),var(--ink)) 0 100%/45% 45% no-repeat,
  linear-gradient(var(--accent),var(--accent)) 100% 100%/45% 45% no-repeat; }

/* ===== CTA band (atom) ===== */
.cta { margin: 64px auto 8px; text-align: center; max-width: 640px; padding: 40px 24px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--bg-soft); box-shadow: 6px 6px 0 var(--ink); }
.cta h2 { font-weight: 800; font-size: clamp(24px, 4vw, 34px); letter-spacing: -0.03em; margin: 0 0 10px; }
.cta p { color: var(--ink-dim); margin: 0 0 22px; }

/* ===== author / E-E-A-T ===== */
.author { max-width: 760px; margin: 56px auto 0; display: flex; gap: 16px; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--bg-card); padding: 18px 20px; }
.author img { width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--ink); flex-shrink: 0; object-fit: cover; }
.author .a-name { font-weight: 700; letter-spacing: -0.01em; }
.author .a-role { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 2px; }
.author p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-dim); }
.author a { color: var(--ink); }
@media (max-width: 480px) { .author { flex-direction: column; align-items: flex-start; } }

/* ===== "Co dostajesz" — lekka lista (GLOBALNY override; ma NIE wyglądać jak FAQ) =====
   Strony formatów stylowały te listy inline jako obramowane boksy (zbyt podobne
   do akordeonu FAQ). Tu, z !important, ujednolicamy je na czystą, kreskowaną listę
   bez ramek — jedno źródło dla wszystkich podstron. */
.deliverables, .delivers-list, .deliv-list, .delivery-list {
  list-style: none !important; padding: 0 !important; margin: 12px 0 0 !important;
  display: grid !important; grid-template-columns: 1fr 1fr !important;
  gap: 0 40px !important; border-top: 1px solid var(--line) !important;
}
@media (max-width: 600px) {
  .deliverables, .delivers-list, .deliv-list, .delivery-list { grid-template-columns: 1fr !important; }
}
.deliverables > li, .delivers-list > li, .deliv-list > li, .delivery-list > li,
.deliverables > .deliv-item, .delivers-list > .deliv-item, .deliv-list > .deliv-item, .delivery-list > .deliv-item {
  border: 0 !important; background: transparent !important; box-shadow: none !important;
  border-radius: 0 !important; border-bottom: 1px solid var(--line) !important;
  margin: 0 !important; padding: 14px 4px 14px 30px !important; position: relative !important;
  font-size: 15.5px !important; line-height: 1.45 !important; color: var(--ink) !important;
  transform: none !important; transition: none !important;
}
.deliverables > li:hover, .delivers-list > li:hover, .deliv-list > li:hover, .delivery-list > li:hover,
.deliverables > .deliv-item:hover, .delivers-list > .deliv-item:hover, .deliv-list > .deliv-item:hover, .delivery-list > .deliv-item:hover {
  border-color: var(--line) !important; box-shadow: none !important; transform: none !important; background: transparent !important;
}
.deliverables > li::before, .delivers-list > li::before, .deliv-list > li::before, .delivery-list > li::before,
.deliverables > .deliv-item::before, .delivers-list > .deliv-item::before, .deliv-list > .deliv-item::before, .delivery-list > .deliv-item::before {
  content: "" !important; position: absolute !important; left: 0 !important; top: 19px !important;
  width: 11px !important; height: 11px !important; background: var(--accent) !important;
  border: 1.5px solid var(--ink) !important; border-radius: 3px !important;
  box-shadow: none !important; transform: none !important;
}

/* ===== footer ===== */
footer.foot { margin: 64px auto 0; padding: 32px 28px 48px; max-width: 1180px; font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer.foot a { color: var(--ink-dim); text-decoration: none; border-bottom: 1px solid var(--line); }
footer.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
