/* AlignIT · kierunek „Grafit z przełamaniami” · strona główna i podstrony */

/* ---------- Fonty (self-hosted, OFL) ---------- */
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeny ---------- */
:root {
  /* strefy ciemne */
  --bg: #0E0F11;
  --bg-deep: #0A0B0C;
  --surf: #191B1F;
  --line: rgba(237, 234, 228, .10);
  --line-2: rgba(237, 234, 228, .18);
  --tx: #EDEAE4;
  --tx-2: #A9A79F;
  --tx-3: #8A8882;
  --tx-dim: #6E6D68;
  /* strefy jasne */
  --ivory: #EEEBE5;
  --paper: #F8F6F2;
  --ink: #111214;
  --ink-2: #4A4944;
  --ink-3: #686660;
  --rule: rgba(17, 18, 20, .12);
  /* akcent */
  --acc-pale: #86A9FF;
  --acc-ink: #3B63E0;
  --acc: var(--acc-pale);
  --on-acc: #111214;
  --err: #B42318;

  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --max: 1360px;
  --pad: clamp(20px, 4vw, 56px);
  --gap: 32px;
  --hh: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); interpolate-size: allow-keywords; }
body {
  background: var(--bg); color: var(--tx);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-size: 11.5px; font-weight: 400; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-2); }
.light { background: var(--ivory); color: var(--ink); }
/* na jasnym tle akcent ciemnieje, żeby nie ginął */
.light, .hdr.on-light { --acc: var(--acc-ink); --on-acc: #fff; }
.light .mono { color: var(--ink-3); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-2); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); flex: none; }
.light .eyebrow { color: var(--ink-3); }
.idx { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-3); }
.idx::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-acc { background: var(--acc); color: var(--on-acc); }
.btn-acc:hover { background: var(--tx); }
.hdr.on-light .btn-acc:hover { background: var(--ink); color: var(--tx); }
.btn-ink { background: var(--ink); color: var(--tx); }
.btn-ink:hover { background: #000; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }
.link { display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; }
.link span {
  padding-bottom: 2px; border-bottom: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat border-box;
  transition: background-size .5s var(--ease);
}
.link:hover span { background-size: 100% 1px; }

/* ---------- Nagłówek ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 15, 17, .76); color: var(--tx);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background .35s, color .35s, border-color .35s;
}
.hdr.on-light { background: rgba(238, 235, 229, .84); color: var(--ink); border-color: var(--rule); }
.hdr::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--acc); transform: scaleX(var(--sp, 0)); transform-origin: left; pointer-events: none;
}
.hdr-row { display: flex; align-items: center; gap: 36px; height: var(--hh); }
.brand { display: inline-flex; align-items: center; flex: none; padding-block: 8px; }
/* ramka ma zapas pod ogonkiem g i tyle samo nad literami, więc wersaliki stoją na środku jak tekst menu */
.brand-word { width: 69.1px; height: 25.4px; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px;
  font-size: 14px; color: var(--tx-2); transition: color .2s, background .2s;
}
.nav-link:hover, .has-dd.is-open .nav-btn { color: var(--tx); background: rgba(237, 234, 228, .07); }
.hdr.on-light .nav-link { color: var(--ink-2); }
.hdr.on-light .nav-link:hover, .hdr.on-light .has-dd.is-open .nav-btn { color: var(--ink); background: rgba(17, 18, 20, .06); }
.chev { width: 10px; height: 10px; opacity: .75; transition: transform .25s var(--ease); }
.has-dd { position: relative; }
.has-dd.is-open .chev { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 12px); left: -4px; z-index: 5;
  width: max-content; min-width: 260px; padding: 8px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dd::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dd.is-open .dd { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease), visibility 0s; }
.dd-list a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; white-space: nowrap; transition: background .15s; }
.dd-list a:hover, .dd-list a:focus-visible { background: var(--ivory); }
.nav-link[aria-current] { color: var(--tx); }
.nav-link[aria-current]::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.hdr.on-light .nav-link[aria-current] { color: var(--ink); }
/* bieżąca strona schowana w rozwijanym menu: kropka przy jego przycisku */
.has-dd:has([aria-current]) .nav-btn { color: var(--tx); }
.has-dd:has([aria-current]) .nav-btn::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.hdr.on-light .has-dd:has([aria-current]) .nav-btn { color: var(--ink); }
.dd-list a[aria-current] { background: var(--ivory); }
.mnav-group a[aria-current] { color: var(--acc); }
.hdr-cta { flex: none; }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Menu mobilne */
.mnav {
  position: fixed; inset: var(--hh) 0 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); color: var(--tx);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .5s var(--ease-io), visibility 0s .5s;
}
.mnav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .5s var(--ease-io), visibility 0s; }
.mnav-inner { display: grid; gap: 36px; padding-block: 32px 40px; }
.mnav-group .mono { margin-bottom: 10px; }
.mnav-group a { display: block; padding: 7px 0; font-size: 18px; color: var(--tx); }
.mnav-main { border-top: 1px solid var(--line); padding-top: 24px; }
.mnav-main a { display: block; padding: 6px 0; font-size: 30px; font-weight: 300; letter-spacing: -.03em; }
.mnav-main a[aria-current] { color: var(--acc); }
.mnav-cta { justify-self: start; }
html.js .mnav a { opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .25s; }
html.js .mnav.is-open a {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease) calc(.12s + var(--i) * 26ms), transform .7s var(--ease) calc(.12s + var(--i) * 26ms), background .25s;
}

/* ---------- Pojawianie się ---------- */
html.js .rv { opacity: 0; transform: translateY(24px); }
html.js .rv.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js [data-split]:not(.is-split) { opacity: 0; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .16em; margin: -.14em -.02em -.16em; }
.sw > span { display: inline-block; }
html.js .is-split .sw > span { transform: translateY(112%); }
html.js .is-split.is-in .sw > span {
  transform: none;
  transition: transform 1.15s var(--ease) calc(var(--d, 0s) + var(--wi) * 42ms);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(34% 44% at 80% 46%, color-mix(in srgb, var(--acc) 13%, transparent), transparent 70%),
    radial-gradient(52% 64% at 70% 36%, rgba(240, 232, 214, .08), transparent 72%),
    radial-gradient(30% 40% at 10% 0%, rgba(240, 232, 214, .05), transparent 70%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap);
  min-height: min(calc(100svh - var(--hh)), 840px);
  padding-block: clamp(72px, 9vw, 128px) clamp(64px, 7vw, 104px);
}
.hero-copy { grid-column: 1 / span 7; align-self: end; position: relative; z-index: 2; }
.h1 { font-size: clamp(40px, 6vw, 92px); font-weight: 300; line-height: 1.01; letter-spacing: -.045em; text-wrap: balance; }
.h1 .dim { color: var(--tx-dim); }
.lede { margin-top: 32px; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--tx-2); text-wrap: pretty; }
.hero-act { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

.field {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 88%, transparent 100%);
}
.field svg { width: 100%; height: 100%; }
.hero:hover .field { cursor: default; }
.field path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.field .ln { stroke: url(#g-line); }
.field .ln-hi { stroke: url(#g-hi); stroke-width: 1.6; }
.field .s-acc { stop-color: var(--acc); }
.field .dot { fill: var(--acc); filter: drop-shadow(0 0 8px var(--acc)); }
html.js .field .ln { stroke-dasharray: var(--s, 1); stroke-dashoffset: var(--s, 1); }
html.js .field.is-drawn .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease); transition-delay: calc(var(--i) * 28ms); }
html.js .field .dot { opacity: 0; transition: opacity .8s; }
html.js .field.is-live .dot { opacity: 1; }
/* Motywy sekcji: bramki (usługi), kursor (wiedza), grupy (warsztaty) */
.field .gate { fill: var(--bg); stroke: var(--acc); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .35s, opacity .8s; }
.field .gate.on { fill: var(--acc); }
.field .caret { stroke: var(--acc); stroke-width: 1.6; }
[data-v="team"] .ln-hi { stroke-width: 1.3; }
html.js .field .gate, html.js .field .caret { opacity: 0; }
html.js .field.is-live .gate { opacity: 1; }
html.js .field.is-live .caret { animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 0% { opacity: 1; } 50% { opacity: 0; } }

/* ---------- Sekcje ---------- */
.sec { padding-block: clamp(88px, 10vw, 148px); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head .eyebrow { grid-column: 1 / span 3; align-self: start; padding-top: 16px; }
.h2 { grid-column: 4 / span 8; font-size: clamp(34px, 4.2vw, 62px); font-weight: 340; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.light .h2 { font-weight: 400; }

/* ---------- Usługi ---------- */
.svc { padding-block: clamp(28px, 3vw, 40px) clamp(72px, 7vw, 104px); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; padding: 26px 26px 30px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 18px;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--acc-pale) 26%, transparent), transparent 62%);
  opacity: 0; transition: opacity .5s;
}
.card:hover::before { opacity: 1; }
html.js .card.rv.is-in { transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), background .45s var(--ease), color .45s var(--ease), border-color .45s; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-arr {
  width: 32px; height: 32px; padding: 9px; border-radius: 50%; border: 1px solid var(--rule); color: var(--ink);
  transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease);
}
.card-body { padding-top: clamp(64px, 8vw, 116px); }
.card-name { font-family: var(--mono); font-size: 11.5px; font-weight: 400; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); transition: color .45s; }
.card-q { margin-top: 12px; font-size: clamp(21px, 1.75vw, 25px); font-weight: 450; line-height: 1.2; letter-spacing: -.028em; text-wrap: balance; }
.card-text { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); transition: color .45s; }
.card:hover { --acc: var(--acc-pale); --on-acc: #111214; background: var(--ink); color: var(--tx); border-color: var(--ink); }
.card:hover .card-name, .card:hover .card-text, .card:hover .idx { color: var(--tx-2); }
.card:hover .card-arr { background: var(--acc); border-color: var(--acc); color: var(--on-acc); transform: rotate(45deg); }
html.js .card.rv.is-in:hover { transform: translateY(-4px); transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease), border-color .45s; }

/* ---------- Jak pracujemy ---------- */
.track { position: relative; }
.track-line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.tl-prog {
  position: absolute; left: 0; top: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 25%, transparent), var(--acc));
  transform: scaleX(var(--p, 1)); transform-origin: left;
}
.tl-prog::after {
  content: ''; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--acc); box-shadow: 0 0 14px 2px var(--acc);
  opacity: min(var(--p, 1) * 40 - .2, (1 - var(--p, 1)) * 30); transform: scaleX(calc(1 / max(var(--p, 1), .01)));
}
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0 var(--gap); }
.st { position: relative; padding-top: 44px; }
.st-node { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--tx); transition: border-color .4s, transform .5s var(--ease); }
.st-node::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--tx); transition: transform .5s var(--ease); }
.st-gate .st-node { border-radius: 2px; transform: rotate(45deg); background: var(--acc); border-color: var(--acc); }
.st-gate .st-node::after { display: none; }
.st-gate .st-dur { color: var(--acc); }
.st h3 { margin-top: 12px; font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -.03em; }
.st-text { margin-top: 14px; max-width: 38ch; font-size: 15px; color: var(--tx-2); }
html.js .st { transition: opacity .6s var(--ease), transform .7s var(--ease); }
html.js .st:not(.is-on) { opacity: .22; transform: translateY(10px); }
html.js .st:not(.is-on) .st-node { border-color: var(--line-2); }
html.js .st:not(.is-on) .st-node::after { transform: scale(0); }
html.js .st-gate .st-node { transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), background .4s, border-color .4s; }
html.js .st-gate:not(.is-on) .st-node { transform: rotate(45deg) scale(.45); background: var(--bg); border-color: var(--line-2); }
.how-foot { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.how-foot p { max-width: 60ch; font-size: 15px; color: var(--tx-2); }

/* ---------- Dlaczego my ---------- */
.why { padding-bottom: clamp(72px, 8vw, 120px); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.why-item { position: relative; padding-top: 22px; }
.why-item::before, .why-item::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
.why-item::after { height: 2px; top: -.5px; background: var(--acc); transform: scaleX(0); transition: transform .6s var(--ease); }
.why-item:hover::after { transform: scaleX(1); }
html.js .why-item::before { transform: scaleX(0); }
html.js .why-item.is-in::before { transform: scaleX(1); transition: transform 1.3s var(--ease-io) var(--d, 0s); }
.why-top { margin-bottom: 64px; }
.why-item h3 { font-size: clamp(19px, 1.55vw, 22px); font-weight: 450; line-height: 1.25; letter-spacing: -.022em; text-wrap: balance; }
.why-item p { margin-top: 14px; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.team-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: center;
  margin-top: clamp(72px, 8vw, 112px); padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--rule);
}
.faces { grid-column: 1 / span 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.faces img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px;
  filter: saturate(.8) contrast(1.02); background: var(--paper);
  translate: 0 calc(var(--o, 0px) * (1 - var(--k, 1)));
  transition: filter .4s;
}
.faces img:hover { filter: saturate(1) contrast(1.02); }
html.js .faces img { clip-path: inset(100% 0 0 0 round 12px); }
html.js .team-row.is-in .faces img { clip-path: inset(0 0 0 0 round 12px); transition: clip-path 1.2s var(--ease-io) calc(.15s + var(--i) * 110ms), filter .4s; }
.team-note { grid-column: 7 / span 6; font-size: clamp(22px, 2.3vw, 32px); font-weight: 350; line-height: 1.3; letter-spacing: -.03em; text-wrap: pretty; }
.team-note a { border-bottom: 2px solid var(--acc); transition: color .2s; }
.team-note a:hover { color: var(--ink-2); }

/* ---------- Doświadczenie ---------- */
.res { padding-top: 0; }
.res .sec-head { padding-top: clamp(72px, 8vw, 112px); border-top: 1px solid var(--rule); }
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.case { display: flex; flex-direction: column; padding: 32px 30px 28px; background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; }
.fig { font-size: clamp(76px, 8.4vw, 136px); font-weight: 250; line-height: .9; letter-spacing: -.06em; font-feature-settings: 'tnum'; white-space: nowrap; }
.fig .x { color: var(--ink-3); margin-left: .02em; }
.bars { display: grid; gap: 6px; margin-top: 28px; }
.bars i { display: block; height: 4px; width: var(--w); border-radius: 99px; background: rgba(17, 18, 20, .16); transform-origin: left; }
.bars .b-acc { background: var(--acc); }
html.js .bars i { transform: scaleX(0); }
html.js .case.is-in .bars i { transform: scaleX(1); transition: transform 1.2s var(--ease-io) .35s; }
html.js .case.is-in .bars .b-acc { transition-delay: .7s; }
.fig-l { margin-top: 22px; max-width: 26ch; font-size: 18px; font-weight: 450; line-height: 1.35; letter-spacing: -.015em; }
.case-text { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.ctx { margin-top: auto; padding-top: 28px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--acc); color: var(--on-acc); padding-block: clamp(96px, 11vw, 168px); }
.cta-lines {
  position: absolute; top: 50%; right: var(--pad); width: min(36vw, 520px); transform: translateY(-50%);
  display: grid; gap: 13px; pointer-events: none;
}
.cta-lines i { display: block; height: 1.5px; width: var(--w); background: var(--on-acc); opacity: .2; border-radius: 2px; }
html.js .cta-lines i { transform: translateX(calc(var(--x) * (1 - var(--k, 1)))); }
.cta-row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); align-items: end; }
.cta h2 { grid-column: 1 / span 7; font-size: clamp(42px, 6vw, 96px); font-weight: 350; line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.cta-act { grid-column: 1 / span 6; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta-act .mono { color: var(--on-acc); opacity: .8; }

/* ---------- Stopka ---------- */
.foot { background: var(--bg-deep); color: var(--tx); padding: 80px 0 36px; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); padding-bottom: 64px; }
.foot-brand { grid-column: 1 / span 4; }
.foot-brand address { display: grid; gap: 4px; margin-top: 28px; font-size: 14.5px; line-height: 1.6; color: var(--tx-2); }
.foot-brand address a { color: var(--tx); justify-self: start; border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.foot-brand address a:hover { border-color: var(--tx); }
.foot-cols { grid-column: 5 / span 8; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-col .mono { margin-bottom: 18px; color: var(--tx-3); }
.foot-col li + li { margin-top: 9px; }
.foot-col a { font-size: 14.5px; color: var(--tx-2); transition: color .2s; }
.foot-col a:hover { color: var(--tx); }
.foot-bot { display: flex; justify-content: space-between; gap: 16px 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-bot .mono { color: var(--tx-3); }
.f-cookies { transition: color .2s; }
.f-cookies:hover { color: var(--tx); }

/* =================== PODSTRONY =================== */

/* ---------- Hero podstrony ---------- */
.hero-pg .hero-inner { min-height: 0; padding-block: clamp(80px, 10vw, 152px) clamp(64px, 7vw, 112px); }
.hero-pg .hero-copy { grid-column: 1 / span 8; }
.hero-pg .eyebrow { margin-bottom: 28px; }
.h1-pg { font-size: clamp(36px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -.04em; }
.lede-wide { max-width: 700px; }

/* ---------- Nagłówek sekcji: tytuł z lewej, wstęp z prawej ---------- */
.pg-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.pg-head .h2, .pg-title { grid-column: 1 / span 7; }
.pg-title .eyebrow { margin-bottom: 24px; }
.pg-intro { grid-column: 9 / span 4; font-size: 17px; line-height: 1.6; color: var(--tx-2); text-wrap: pretty; }
.pg-intro p + p { margin-top: 12px; }
.light .pg-intro { color: var(--ink-2); }
.txt-link { color: var(--tx); border-bottom: 1px solid var(--acc); transition: border-color .2s, color .2s; }
.txt-link:hover { border-bottom-width: 2px; }
.light .txt-link { color: var(--ink); }

/* ---------- Jak pracujemy: punkty wejścia ---------- */
.paths { border-bottom: 1px solid var(--rule); }
.path {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px var(--gap);
  padding-block: 34px 40px; border-top: 1px solid var(--rule);
}
.path::after { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.path:hover::after { transform: scaleX(1); }
.path .idx { grid-column: 1; padding-top: 12px; align-self: start; }
.path-gate .idx::before { border-radius: 1px; transform: rotate(45deg) scale(.9); }
.path-t { grid-column: 2 / span 5; font-size: clamp(26px, 2.6vw, 38px); font-weight: 350; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.path-t a { display: inline; background: linear-gradient(var(--acc), var(--acc)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.path-t a:hover { background-size: 100% 2px; }
.path-t svg { display: inline-block; width: .5em; height: .5em; margin-left: .18em; vertical-align: .12em; color: var(--acc); transition: transform .4s var(--ease); }
.path-t a:hover svg { transform: translate(2px, -2px); }
.path-b { grid-column: 7 / span 6; max-width: 58ch; padding-top: 6px; font-size: 16px; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Jak pracujemy: bramka decyzyjna ---------- */
.gate-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px var(--gap); align-items: center; }
.gate-copy { grid-column: 1 / span 5; }
.gate-copy p { margin-top: 28px; max-width: 46ch; font-size: 18px; color: var(--tx-2); text-wrap: pretty; }
.gate-fig { grid-column: 7 / span 6; }
.gate-fig svg { width: 100%; height: auto; overflow: visible; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
.gate-fig path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.g-in { stroke: var(--tx); stroke-opacity: .34; stroke-width: 1; }
.g-go { stroke: var(--acc); stroke-width: 1.5; }
.g-stop, .g-tick { stroke: var(--tx-dim); stroke-width: 1.2; }
.g-node { fill: var(--acc); transform-box: fill-box; transform-origin: center; transform: rotate(45deg); filter: drop-shadow(0 0 10px var(--acc)); }
html.js .gate-fig path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .gate-fig.is-in path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease-io) var(--d, 0s); }
html.js .gate-fig .g-tick { stroke-dashoffset: 0; opacity: 0; }
html.js .gate-fig.is-in .g-tick { opacity: 1; transition: opacity .5s 2.5s; }
html.js .gate-fig .g-node { transform: rotate(45deg) scale(0); }
html.js .gate-fig.is-in .g-node { transform: rotate(45deg) scale(1); transition: transform .7s cubic-bezier(.3, 1.6, .5, 1) 1.05s; }

/* ---------- Jak pracujemy: tabela KPI ---------- */
.kpi { width: 100%; border-collapse: collapse; }
.kpi thead th { padding: 0 20px 16px 16px; border-bottom: 1px solid var(--ink); text-align: left; font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.kpi tbody th, .kpi td { padding: 22px 20px 24px 16px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.kpi tbody th { width: 24%; font-size: 20px; font-weight: 450; line-height: 1.25; letter-spacing: -.02em; }
.kpi td { width: 38%; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.kpi tbody tr { transition: background .25s; }
.kpi tbody tr:hover { background: var(--paper); }
html.js .kpi-wrap tbody tr { opacity: 0; transform: translateY(12px); }
html.js .kpi-wrap.is-in tbody tr { opacity: 1; transform: none; transition: opacity .7s var(--ease) calc(var(--i) * 70ms), transform .9s var(--ease) calc(var(--i) * 70ms), background .25s; }
html.js .kpi-wrap.rv { opacity: 1; transform: none; }
.note { margin-top: 32px; max-width: 72ch; padding-left: 18px; border-left: 2px solid var(--acc); font-size: 15.5px; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Jak pracujemy: warunki dobrego startu ---------- */
.conds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.cond { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 22px; padding-block: 30px 36px; border-top: 1px solid var(--line-2); }
.cond-box { width: 22px; height: 22px; margin-top: 3px; display: grid; place-items: center; border-radius: 6px; background: var(--acc); border: 1px solid var(--acc); }
.cond-box svg { width: 12px; height: 12px; }
.cond-box path { fill: none; stroke: var(--on-acc); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .cond .cond-box { background: transparent; border-color: var(--line-2); transition: background .35s, border-color .35s; }
html.js .cond .cond-box path { stroke-dashoffset: 1; }
html.js .cond.is-in .cond-box { background: var(--acc); border-color: var(--acc); transition-delay: calc(var(--d, 0s) + .45s); }
html.js .cond.is-in .cond-box path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s var(--ease) calc(var(--d, 0s) + .7s); }
.cond h3 { font-size: clamp(19px, 1.55vw, 22px); font-weight: 450; line-height: 1.25; letter-spacing: -.022em; }
.cond p { margin-top: 10px; max-width: 52ch; font-size: 15px; color: var(--tx-2); text-wrap: pretty; }
.sec-foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.sec-foot p { max-width: 70ch; font-size: 16px; color: var(--tx-2); text-wrap: pretty; }

/* ---------- Autor strony ---------- */
.author {
  display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 7fr); gap: 16px 28px; align-items: start;
  padding: 28px; background: var(--paper); border: 1px solid var(--rule); border-radius: 18px;
}
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; filter: saturate(.85); }
.author .mono { margin-bottom: 8px; }
.author-n { font-size: 21px; font-weight: 450; line-height: 1.25; letter-spacing: -.02em; }
.author-n a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.author-n a:hover { background-size: 100% 1px; }
.author-r { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--acc); }
.author-lead { font-size: 16px; color: var(--ink-2); text-wrap: pretty; }
.author-rev { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.author-rev a { color: var(--ink); border-bottom: 1px solid var(--rule); transition: border-color .2s; }
.author-rev a:hover { border-color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-sec { padding-bottom: clamp(72px, 8vw, 112px); }
.faq-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); margin-top: clamp(72px, 8vw, 112px); }
.faq-row .h2 { grid-column: 1 / span 4; }
.faq-list { grid-column: 6 / span 7; border-bottom: 1px solid var(--rule); }
.faq-i { border-top: 1px solid var(--rule); }
.faq-i summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0;
  list-style: none; cursor: pointer; font-size: clamp(18px, 1.5vw, 21px); font-weight: 450; line-height: 1.3; letter-spacing: -.02em;
}
.faq-i summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule); transition: transform .45s var(--ease), background .3s, border-color .3s, color .3s; }
.faq-x::before, .faq-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.faq-x::after { transform: rotate(90deg); }
.faq-i summary:hover .faq-x { border-color: var(--ink); }
.faq-i[open] .faq-x { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--tx); }
.faq-i::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-i[open]::details-content { block-size: auto; }
.faq-a { max-width: 64ch; padding: 0 58px 28px 0; font-size: 16px; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Zobacz też ---------- */
.more { padding-block: clamp(72px, 8vw, 120px); border-top: 1px solid var(--rule); }
.more-h { font-size: clamp(26px, 2.6vw, 38px); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; margin-bottom: 36px; }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.more-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: start; }
.more-split .more-h { grid-column: 1 / span 5; margin-bottom: 0; }
.more-split .more-grid { grid-column: 7 / span 6; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-sm { min-height: 210px; padding: 22px 22px 24px; }
.card-sm .card-top { align-items: flex-start; gap: 16px; }
.card-t { font-size: 19px; font-weight: 450; line-height: 1.25; letter-spacing: -.02em; }
.card-sm .card-text { margin-top: auto; padding-top: 36px; }
.card-sm .card-arr { flex: none; }

/* ---------- CTA podstron ---------- */
.cta-sub { grid-column: 1 / span 6; margin-top: -12px; max-width: 42ch; font-size: 18px; line-height: 1.5; opacity: .85; text-wrap: pretty; }
.cta .link { color: var(--on-acc); }

/* ---------- Kontakt: formularz ---------- */
.form-sec { padding-block: clamp(72px, 8vw, 120px); }
.form-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px var(--gap); align-items: start; }
.form-main { grid-column: 1 / span 7; }
.form-aside { grid-column: 9 / span 4; position: sticky; top: calc(var(--hh) + 32px); }
.form-desc { margin-top: 18px; max-width: 46ch; font-size: 18px; color: var(--ink-2); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; margin-top: 48px; }
.form[hidden] { display: none; }
.hp { display: none; }
.fld { position: relative; display: flex; flex-direction: column; gap: 8px; }
.fld-wide { grid-column: 1 / -1; }
.fld label { display: flex; align-items: baseline; gap: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.req { color: var(--acc); }
.opt { opacity: .75; }
.fld input, .fld textarea {
  display: block; width: 100%; padding: 8px 0 12px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 26%, transparent); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; font-size: 19px; line-height: 1.4; letter-spacing: -.01em;
  transition: border-color .25s;
}
.fld textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.fld input:focus-visible, .fld textarea:focus-visible { outline: none; }
.fld ::placeholder { color: var(--ink-3); opacity: .55; }
.fld-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); pointer-events: none; }
.fld:focus-within .fld-line { transform: scaleX(1); }
.fld input:user-invalid { border-bottom-color: var(--err); }
.fld:has(:user-invalid) .fld-line { background: var(--err); }
.cons { grid-column: 1 / -1; display: grid; gap: 16px; }
.chk { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: start; }
.chk input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 2px 0 0; display: grid; place-items: center;
  border: 1.5px solid color-mix(in srgb, var(--ink) 34%, transparent); border-radius: 5px; background: transparent; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.chk input::after { content: ''; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .3s var(--ease); }
.chk input:checked { background: var(--acc); border-color: var(--acc); }
.chk input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.chk input:user-invalid { border-color: var(--err); }
.chk label { font-size: 14px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.chk a { color: var(--ink); border-bottom: 1px solid var(--rule); transition: border-color .2s; }
.chk a:hover { border-color: var(--ink); }
.ts { grid-column: 1 / -1; }
.ts:empty { display: none; }
.form-err { grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--err) 30%, transparent); background: color-mix(in srgb, var(--err) 7%, var(--paper)); color: var(--err); font-size: 15px; }
.form-err[hidden] { display: none; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot .btn[disabled] { cursor: progress; opacity: .7; }
.form-foot .mono { color: var(--ink-3); }
.form-ok { --acc: var(--acc-pale); margin-top: 48px; padding: clamp(32px, 4vw, 48px); border-radius: 18px; background: var(--ink); color: var(--tx); }
.form-ok[hidden] { display: none; }
.form-ok svg { width: 56px; height: 56px; }
.form-ok circle, .form-ok path { fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.form-ok.is-in circle { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease-io); }
.form-ok.is-in path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease) .7s; }
.form-ok h3 { margin-top: 28px; font-size: clamp(30px, 3vw, 44px); font-weight: 350; line-height: 1.05; letter-spacing: -.04em; outline: none; }
.form-ok p { margin-top: 12px; font-size: 17px; color: var(--tx-2); }

/* ---------- Kontakt: kto się odezwie ---------- */
.who { padding: 28px; background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; }
.who-h { font-family: var(--mono); font-size: 11.5px; font-weight: 400; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.who-p { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.who-p img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; filter: saturate(.85); }
.who-n { font-size: 20px; font-weight: 450; line-height: 1.25; letter-spacing: -.02em; }
.who-r { margin-top: 2px; font-size: 14px; color: var(--acc); }
.who-bio { margin-top: 20px; font-size: 15px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Kontakt: pytania ---------- */
.qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.q { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 20px; padding-block: 28px 34px; }
.q::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
html.js .q::before { transform: scaleX(0); }
html.js .q.is-in::before { transform: scaleX(1); transition: transform 1.3s var(--ease-io) var(--d, 0s); }
.q-n { font-size: 44px; font-weight: 250; line-height: 1; letter-spacing: -.05em; color: color-mix(in srgb, var(--ink) 26%, transparent); font-feature-settings: 'tnum'; }
.q p { padding-top: 4px; font-size: 18px; line-height: 1.45; letter-spacing: -.012em; text-wrap: pretty; }

/* ---------- Kontakt: dane kontaktowe na pasie akcentu ---------- */
.cta-head { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); }
.cta-head .cta-lines { right: 0; }
.cf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); margin-top: clamp(56px, 7vw, 104px); padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--on-acc) 22%, transparent); }
.cf .mono { color: var(--on-acc); opacity: .7; }
.cf-v { display: inline-block; margin-top: 10px; font-size: clamp(22px, 2.3vw, 34px); font-weight: 400; line-height: 1.15; letter-spacing: -.03em; }
.nw { white-space: nowrap; }
a.cf-v { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 3px; }
a.cf-v:hover { background-size: 100% 1.5px; }

/* ---------- Dłuższe nagłówki w pasie CTA ---------- */
.cta h2.cta-long { grid-column: 1 / span 9; font-size: clamp(38px, 4.8vw, 76px); line-height: 1.02; }
.cta-note { margin-top: clamp(56px, 6vw, 88px); padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--on-acc) 22%, transparent); font-size: 16px; text-wrap: pretty; }
.cta-note a { border-bottom: 1px solid currentColor; }
.cta-note a:hover { border-bottom-width: 2px; }

/* ---------- Operacje: kiedy to ma sens ---------- */
.qs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qs-3 .q { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 26px; }
.qs-3 .q p { max-width: 38ch; }
.qs + .note { margin-top: 48px; }

/* ---------- Operacje: ryzyka (rozjechana linia wraca do pionu) ---------- */
.risks { border-bottom: 1px solid var(--line-2); }
.risk { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px var(--gap); padding-block: 30px 40px; }
.risk::before, .risk::after { content: ''; position: absolute; top: 0; height: 1px; background: var(--line-2); }
.risk::before { left: 0; width: 34%; }
.risk::after { left: 34%; right: 0; transform-origin: left; }
html.js .risk::after { transform: translateY(var(--o, 8px)) rotate(var(--r, .6deg)); background: var(--acc); opacity: .55; }
html.js .risk.is-in::after { transform: none; background: var(--line-2); opacity: 1; transition: transform 1.3s var(--ease-io) .45s, background .8s 1.2s, opacity .8s 1.2s; }
.risk-l { grid-column: 1 / span 3; padding-top: 7px; color: var(--acc); }
.risk-t { grid-column: 4 / span 8; font-size: clamp(20px, 1.9vw, 27px); font-weight: 350; line-height: 1.4; letter-spacing: -.022em; text-wrap: pretty; }

/* ---------- Operacje: pierwsze wdrożenia ---------- */
.cs-sec { padding-bottom: clamp(72px, 7vw, 104px); }
.cs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); }
.cs + .cs { margin-top: clamp(72px, 8vw, 120px); }
.cs-head { grid-column: 1 / -1; position: relative; padding-top: 30px; margin-bottom: clamp(36px, 4vw, 56px); }
.cs-head::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
html.js .cs-head::before { transform: scaleX(0); }
html.js .cs-head.is-in::before { transform: scaleX(1); transition: transform 1.3s var(--ease-io); }
.cs-h { margin-top: 16px; max-width: 24ch; font-size: clamp(30px, 3.4vw, 52px); font-weight: 350; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.cs-hl { color: var(--acc); }
.cs-res { grid-column: 1 / span 5; grid-row: 2; align-self: start; border-bottom: 1px solid var(--rule); }
.cs-res li { padding: 13px 0 14px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.cs-res b { font-size: 1.45em; font-weight: 400; line-height: 1; letter-spacing: -.03em; color: var(--ink); background: linear-gradient(var(--acc), var(--acc)) 0 100% / 100% 2px no-repeat; }
html.js .cs-res b { background-size: 0 2px; }
html.js .cs-res.is-in b { background-size: 100% 2px; transition: background-size .9s var(--ease-io) .6s; }
.cs-body { grid-column: 7 / span 6; grid-row: 2 / span 2; }
.cs-blk + .cs-blk { margin-top: 32px; }
.cs-blk .mono { margin-bottom: 10px; }
.cs-blk p:not(.mono) { max-width: 62ch; font-size: 16.5px; color: var(--ink-2); text-wrap: pretty; }
.cs-link { margin-top: 30px; }
.cs-q { --acc: var(--acc-pale); grid-column: 1 / span 5; grid-row: 3; align-self: start; margin-top: 40px; padding: 26px 28px 26px; border-radius: 18px; background: var(--ink); color: var(--tx); }
.cs-q::before { content: '“'; display: block; height: 30px; font-size: 64px; font-weight: 300; line-height: 1; color: var(--acc); }
.cs-q p { font-size: clamp(18px, 1.45vw, 20px); font-weight: 350; line-height: 1.5; letter-spacing: -.012em; text-wrap: pretty; }
.cs-q footer { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--tx-2); }
.cs-q footer::before { content: ''; width: 20px; height: 1px; background: var(--acc); }
.cs-more { margin-top: clamp(56px, 6vw, 88px); }
.link-lg { font-size: clamp(19px, 1.7vw, 24px); font-weight: 400; letter-spacing: -.02em; }

/* wdrożenia i FAQ są obie jasne: oddziela je linia */
.ruled { padding-top: 0; }
.ruled > .wrap { position: relative; padding-top: clamp(72px, 8vw, 112px); }
.ruled > .wrap::before { content: ''; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--rule); }

/* ---------- Case study: jak liczymy efekt ---------- */
.mth { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); align-items: start; }
.mth-side { grid-column: 1 / span 5; position: sticky; top: calc(var(--hh) + 48px); }
.mth-body { grid-column: 7 / span 6; }
.mth-body p { font-size: 17px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.mth-body p + p { margin-top: 22px; }
.mth-body p:first-child { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.45; letter-spacing: -.02em; color: var(--ink); }
.ruler { margin-top: clamp(40px, 5vw, 72px); max-width: 400px; }
.ruler svg { width: 100%; height: auto; overflow: visible; }
.r-axis, .r-ticks { fill: none; stroke: var(--ink); stroke-opacity: .3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.r-span { fill: none; stroke: var(--acc); stroke-width: 2; vector-effect: non-scaling-stroke; }
.r-base { fill: var(--ivory); stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.r-now { fill: var(--acc); }
html.js .ruler .r-span { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .ruler .r-now { transform: translateX(320px); }
html.js .ruler.is-in .r-span { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io) .5s; }
html.js .ruler.is-in .r-now { transform: none; transition: transform 1.6s var(--ease-io) .5s; }

/* ---------- Case study: kafelki ---------- */
.cst-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cst {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; min-height: 470px; padding: 28px 30px 28px;
  background: var(--surf); border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .4s;
}
.cst::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--acc) 15%, transparent), transparent 62%);
  opacity: 0; transition: opacity .5s;
}
.cst:hover::before { opacity: 1; }
.cst:hover { border-color: color-mix(in srgb, var(--acc) 40%, transparent); }
.cst-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cst-line { color: var(--acc); }
.cst-arr { flex: none; width: 34px; height: 34px; padding: 10px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--tx); transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease); }
.cst:hover .cst-arr { background: var(--acc); border-color: var(--acc); color: var(--on-acc); transform: rotate(45deg); }
.cst .bars { margin-top: clamp(48px, 6vw, 84px); max-width: 360px; }
.cst .bars i { background: var(--line-2); }
.cst .bars .b-acc { background: var(--acc); }
html.js .cst.is-in .bars i { transform: scaleX(1); transition: transform 1.2s var(--ease-io) calc(var(--d, 0s) + .35s); }
html.js .cst.is-in .bars .b-acc { transition-delay: calc(var(--d, 0s) + .7s); }
.cst-h { margin-top: 28px; max-width: 18ch; font-size: clamp(28px, 2.7vw, 40px); font-weight: 340; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.cst-b { margin-top: 16px; max-width: 54ch; font-size: 15.5px; color: var(--tx-2); text-wrap: pretty; }
.cst-link { margin-top: auto; padding-top: 32px; font-size: 15px; font-weight: 500; }
html.js .cst.rv.is-in { transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), border-color .4s; }
html.js .cst.rv.is-in:hover { transform: translateY(-4px); transition: transform .45s var(--ease), border-color .4s; }
.author-sec { padding-block: clamp(56px, 6vw, 96px); }

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .gate-fig path { stroke-dashoffset: 0; transition: none; }
  html.js .gate-fig .g-tick { opacity: 1; }
  html.js .gate-fig .g-node { transform: rotate(45deg); transition: none; }
  html.js .kpi-wrap tbody tr { opacity: 1; transform: none; transition: none; }
  html.js .cond .cond-box { background: var(--acc); border-color: var(--acc); transition: none; }
  html.js .cond .cond-box path { stroke-dashoffset: 0; transition: none; }
  html.js .q::before { transform: none; transition: none; }
  .form-ok circle, .form-ok path { stroke-dashoffset: 0; transition: none; }
  .faq-i::details-content { transition: none; }
  html.js .risk::after { transform: none; background: var(--line-2); opacity: 1; transition: none; }
  html.js .cs-head::before { transform: none; transition: none; }
  html.js .cs-res b { background-size: 100% 2px; transition: none; }
  html.js .ruler .r-span { stroke-dashoffset: 0; transition: none; }
  html.js .ruler .r-now { transform: none; transition: none; }
  html.js .cst.rv.is-in:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .rv, html.js .st, html.js .st-node, html.js .bars i, html.js .why-item::before, html.js .faces img { transition: none !important; }
  html.js .rv { opacity: 1; transform: none; }
  html.js .bars i { transform: none; }
  html.js .why-item::before { transform: none; }
  html.js .faces img { clip-path: none; }
  html.js [data-split] { opacity: 1; }
  html.js .mnav a { opacity: 1; transform: none; transition: none; }
  html.js .field .ln { stroke-dashoffset: 0; }
  html.js .field .dot, html.js .field .gate, html.js .field .caret { opacity: 1; }
  html.js .field.is-live .caret { animation: none; }
  html.js .card.rv.is-in:hover { transform: none; }
  .mnav, .mnav.is-open { transition: none; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1180px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gap); }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hdr-row { gap: 16px; }
  .hdr-cta { margin-left: auto; }
  .hero-inner { min-height: 0; }
  .hero-copy { grid-column: 1 / -1; }
  .field { width: 100%; opacity: .42; }
  .sec-head .eyebrow, .h2 { grid-column: 1 / -1; }
  .sec-head .eyebrow { padding-top: 0; }
  .h2 { margin-top: 16px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .track-line { left: 7px; right: auto; top: 8px; bottom: 0; width: 1px; height: auto; }
  .tl-prog { width: 1px; height: 100%; transform: scaleY(var(--p, 1)); transform-origin: top; background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 25%, transparent), var(--acc)); }
  .tl-prog::after { right: -3px; top: auto; bottom: -3px; transform: scaleY(calc(1 / max(var(--p, 1), .01))); }
  .st { padding-top: 0; padding-left: 36px; }
  .st-node { top: 3px; }
  .res-grid { grid-template-columns: 1fr; }
  .case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 var(--gap); align-items: start; }
  .case > * { grid-column: 2; }
  .case .fig, .case .bars { grid-column: 1; }
  .case .fig { grid-row: 1 / span 2; }
  .case .bars { grid-row: 3 / span 2; align-self: start; margin-top: 24px; }
  .case .fig-l { grid-row: 1; margin-top: 0; }
  .case-text { grid-row: 2; }
  .ctx { grid-row: 3; padding-top: 20px; }
  .faces, .team-note { grid-column: 1 / -1; }
  .faces { max-width: 560px; }
  .cta-lines { display: none; }
  .cta h2, .cta-act { grid-column: 1 / -1; }
  .foot-brand, .foot-cols { grid-column: 1 / -1; }
  /* podstrony: linie w hero gasną pod tekstem */
  .hero-pg .field {
    opacity: .3;
    -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 80%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent 15%, #000 80%, #000 94%, transparent);
  }
  .hero-pg .hero-copy { grid-column: 1 / -1; }
  .pg-head .h2, .pg-title, .pg-intro { grid-column: 1 / -1; }
  .pg-intro { max-width: 60ch; }
  .path-t { grid-column: 2 / -1; }
  .path-b { grid-column: 2 / -1; padding-top: 0; }
  .gate-copy, .gate-fig { grid-column: 1 / -1; }
  .gate-fig { max-width: 680px; }
  .author { grid-template-columns: 64px minmax(0, 1fr); }
  .author-lead { grid-column: 1 / -1; }
  .faq-row .h2, .faq-list { grid-column: 1 / -1; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-split .more-h, .more-split .more-grid { grid-column: 1 / -1; }
  .form-main, .form-aside { grid-column: 1 / -1; }
  .form-aside { position: static; max-width: 560px; }
  .cta-sub { grid-column: 1 / -1; }
  .cf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta h2.cta-long { grid-column: 1 / -1; }
  .qs-3 { grid-template-columns: minmax(0, 1fr); }
  .qs-3 .q { grid-template-columns: 72px minmax(0, 1fr); gap: 0 20px; }
  .qs-3 .q p { max-width: 60ch; }
  .risk-l, .risk-t { grid-column: 1 / -1; }
  .risk-l { padding-top: 0; }
  .cs-res, .cs-body, .cs-q { grid-column: 1 / -1; grid-row: auto; }
  .cs-body { margin-top: 40px; }
  .cs-q { max-width: 640px; }
  .mth-side, .mth-body { grid-column: 1 / -1; }
  .mth-side { position: static; }
  .mth-body { max-width: 68ch; }
}
@media (max-width: 680px) {
  :root { --gap: 20px; --hh: 64px; }
  .hdr-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .h1 { letter-spacing: -.04em; }
  .lede { font-size: 17px; }
  .svc-grid { grid-template-columns: 1fr; }
  .card-body { padding-top: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-top { margin-bottom: 36px; }
  .how-foot { flex-direction: column; align-items: flex-start; }
  .cta-lines { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .foot-bot { flex-direction: column; align-items: flex-start; }
  .case { display: flex; }
  .case .bars { margin-top: 28px; }
  .case .fig-l { margin-top: 22px; }
  /* podstrony */
  .path { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 28px 32px; }
  .path .idx, .path-t, .path-b { grid-column: 1 / -1; padding-top: 0; }
  .kpi thead { display: none; }
  .kpi, .kpi tbody, .kpi tr, .kpi tbody th, .kpi td { display: block; width: auto; }
  .kpi tbody tr { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
  .kpi tbody tr:first-child { border-top: 1px solid var(--ink); }
  .kpi tbody th, .kpi td { padding: 0; border: 0; }
  .kpi td { margin-top: 14px; }
  .kpi td::before { content: attr(data-l); display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .kpi tbody tr:hover { background: none; }
  .conds { grid-template-columns: minmax(0, 1fr); }
  .author { grid-template-columns: 56px minmax(0, 1fr); padding: 22px; gap: 16px 18px; }
  .author img { width: 56px; height: 56px; }
  .faq-a { padding-right: 0; }
  .more-grid, .more-split .more-grid { grid-template-columns: minmax(0, 1fr); }
  .card-sm { min-height: 0; }
  .form { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .qs { grid-template-columns: minmax(0, 1fr); }
  .q { grid-template-columns: 56px minmax(0, 1fr); gap: 0 14px; }
  .q-n { font-size: 36px; }
  .cf { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .qs-3 .q { grid-template-columns: 56px minmax(0, 1fr); gap: 0 14px; }
  .risk { padding-block: 24px 30px; }
  .cs-q { padding: 22px 22px 24px; }
  .cst-grid { grid-template-columns: minmax(0, 1fr); }
  .cst { min-height: 0; padding: 24px 22px; }
}

/* =================== WPISY: BLOG, CASE STUDY, PRZEWODNIKI, AUTORZY =================== */

/* ---------- Okruszki ---------- */
.crumbs { margin-bottom: 30px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.crumbs li + li::before { content: '/'; color: var(--tx-dim); }
.crumbs a { color: var(--tx-2); transition: color .2s; }
.crumbs a:hover { color: var(--tx); }
.crumbs li[aria-current] { display: block; max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs li[aria-current]::before { margin-right: 10px; }
.light .crumbs ol { color: var(--ink-3); }
.light .crumbs li + li::before { color: color-mix(in srgb, var(--ink) 30%, transparent); }
.light .crumbs a { color: var(--ink-2); }
.light .crumbs a:hover { color: var(--ink); }

/* ---------- Artykuł: nagłówek ---------- */
.art-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 26px; }
.art-kick a { color: var(--tx); border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.art-kick a:hover { border-color: var(--tx); }
/* Wpis: każdy element ma kropkę przed sobą; p wysunięte o kropkę + odstęp i przycięte, więc kropka na początku linii znika */
.art-hero .art-kick { margin-left: -18px; clip-path: inset(-4px -4px -4px 18px); }
.art-hero .art-kick > span { display: inline-flex; align-items: center; white-space: nowrap; }
.art-hero .art-kick > span::before { content: ''; flex: none; width: 4px; height: 4px; margin-right: 14px; border-radius: 50%; background: var(--acc); }
.art-hero .hero-inner { padding-bottom: clamp(150px, 17vw, 250px); }
.art-sec { display: flow-root; padding-block: clamp(64px, 7vw, 104px) clamp(72px, 8vw, 112px); }
.art-sec + .author-sec.ruled > .wrap { padding-top: clamp(48px, 5vw, 72px); }
.author-sec + .rel-sec { padding-top: clamp(24px, 3vw, 40px); }
.art-sec:has(> .wrap > .art-fig) { padding-top: 0; }
.art-fig {
  position: relative; z-index: 2; max-width: 980px; margin: calc(-1 * clamp(110px, 13vw, 200px)) auto clamp(56px, 7vw, 96px);
  overflow: hidden; border-radius: 18px; background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, .7);
}
.art-fig img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
html.js .art-fig img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
html.js .art-fig.is-in img { transform: none; }

/* ---------- Artykuł: kolumny ---------- */
.art-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); align-items: start; }
.art-side { grid-column: 1 / span 3; position: sticky; top: calc(var(--hh) + 40px); }
.prose { grid-column: 4 / span 8; max-width: 740px; min-width: 0; }
.toc { border-top: 1px solid var(--rule); }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px; padding: 11px 0 12px; font-size: 14px; line-height: 1.4; color: var(--ink-3); transition: color .2s; text-wrap: pretty; }
.toc a .mono { font-size: 10.5px; padding-top: 2px; transition: color .2s; }
.toc a:hover, .toc a.is-on { color: var(--ink); }
.toc a.is-on .mono { color: var(--acc); }

/* ---------- Treść artykułu ---------- */
.prose { font-size: 18px; line-height: 1.72; color: var(--ink-2); text-wrap: pretty; }
.prose * + :where(p, ul, ol, table, blockquote, h3, h4, hr, figure, div:not(.g-sec-num), img) { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2.2em; padding-top: 30px; border-top: 1px solid var(--rule);
  font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; line-height: 1.15; letter-spacing: -.032em; color: var(--ink); text-wrap: balance;
  scroll-margin-top: calc(var(--hh) + 24px);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2 + * { margin-top: .9em; }
.prose h3 { margin-top: 1.9em; font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.prose h3 + * { margin-top: .55em; }
.prose h4 { margin-top: 1.5em; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.prose h4 + * { margin-top: .4em; }
.prose strong, .prose b { font-weight: 600; color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-thickness .2s; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose li { position: relative; padding-left: 28px; }
.prose li + li { margin-top: .55em; }
.prose ul > li::before { content: ''; position: absolute; left: 6px; top: .74em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .32em; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; letter-spacing: .04em; color: var(--acc); }
.prose blockquote { padding: 2px 0 2px 24px; border-left: 2px solid var(--acc); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; letter-spacing: -.014em; color: var(--ink); }
.prose blockquote p + p { margin-top: .7em; }
.prose blockquote p:last-child:not(:first-child) { font-family: var(--mono); font-size: 11.5px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.prose hr { border: 0; height: 1px; margin-block: 2.4em; background: var(--rule); }
.prose code { padding: .08em .36em; border-radius: 5px; background: var(--paper); border: 1px solid var(--rule); font-family: var(--mono); font-size: .84em; color: var(--ink); }
.prose img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--rule); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.prose th { padding: 0 16px 12px 0; border-bottom: 1px solid var(--ink); text-align: left; vertical-align: bottom; font-family: var(--mono); font-size: 11px; font-weight: 400; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.prose td { padding: 14px 16px 15px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose td:first-child { font-weight: 500; color: var(--ink); }
.prose tbody tr { transition: background .25s; }
.prose tbody tr:hover { background: color-mix(in srgb, var(--paper) 70%, transparent); }

/* ---------- Karty wpisów ---------- */
.rel-sec { padding-top: clamp(72px, 8vw, 112px); }
.bc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1081px) { .bc-grid:has(> .bc:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rel-sec .note { margin: 0 0 clamp(32px, 4vw, 48px); }
.bc {
  position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 18px;
}
html.js .bc.rv.is-in { transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), border-color .4s, box-shadow .5s var(--ease); }
.bc:hover { border-color: color-mix(in srgb, var(--ink) 26%, transparent); box-shadow: 0 34px 60px -44px rgba(0, 0, 0, .45); }
html.js .bc.rv.is-in:hover { transform: translateY(-4px); transition: transform .45s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.bc-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--rule); }
.bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bc:hover .bc-img img { transform: scale(1.045); }
.bc-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 28px; }
.light .bc-label { color: var(--acc); }
.bc-title { font-size: clamp(19px, 1.5vw, 21px); font-weight: 450; line-height: 1.25; letter-spacing: -.022em; color: var(--ink); text-wrap: balance; }
.bc-text { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.bc-arr {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; padding: 10px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--rule); color: var(--ink);
  transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease);
}
.bc:hover .bc-arr { background: var(--acc); border-color: var(--acc); color: #fff; transform: rotate(45deg); }

/* ---------- Blog: kategorie w nagłówku ---------- */
.blog-hero .hero-inner { min-height: 0; }
.rail { position: relative; z-index: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-2); }
.rail-i { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 22px 0 6px; }
.rail-i::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.rail-i:hover::before, .rail-i[aria-current]::before { transform: scaleX(1); }
.rail-n { grid-row: 1 / span 2; padding-top: 5px; color: var(--acc); }
.rail-t { font-size: clamp(18px, 1.55vw, 22px); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; color: var(--tx); }
.rail-c { color: var(--tx-3); }
.blog-list .note { margin: 0 0 clamp(40px, 5vw, 64px); }
.blog-sec .pg-title .idx { margin-bottom: 18px; }
.tory { padding-bottom: clamp(88px, 10vw, 148px); }

/* ---------- Case study: wynik w nagłówku ---------- */
.mbx { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-2); }
.mbx-i { padding-top: 26px; }
.mbx-v { font-size: clamp(44px, 5.2vw, 80px); font-weight: 250; line-height: 1; letter-spacing: -.05em; color: var(--tx); white-space: nowrap; }
.mbx-i:first-child .mbx-v { color: var(--acc); }
.mbx-l { margin-top: 14px; max-width: 30ch; font-size: 15px; line-height: 1.5; color: var(--tx-2); text-wrap: pretty; }

/* ---------- Przewodnik: okładka ---------- */
.gd-h1 { max-width: 15ch; }
.gd-l { display: block; }
.gd-acc { color: var(--acc); }
.gd-quote { margin-top: 32px; max-width: 660px; padding-left: 20px; border-left: 2px solid var(--acc); font-size: 17px; line-height: 1.6; color: var(--tx-2); text-wrap: pretty; }
.gd-badge { display: inline-flex; margin-top: 32px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-2); }
.gd-cfoot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(56px, 7vw, 96px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--tx-3); }
.gd-cfoot span:first-child { color: var(--tx); }

/* ---------- Przewodnik: treść ---------- */
.gd-sec .crumbs { margin-bottom: clamp(48px, 6vw, 80px); }
.gd { max-width: none; }
.g-section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); align-items: start; }
.g-section > * { grid-column: 4 / span 8; min-width: 0; }
.g-section + .g-section { margin-top: clamp(72px, 8vw, 112px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); }
.g-section > .g-sec-num { grid-column: 1 / span 3; grid-row: 1 / span 3; position: sticky; top: calc(var(--hh) + 40px); margin-top: 6px; }
.g-sec-num { font-family: var(--mono); font-size: 11.5px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.gd .g-section > h2 { margin-top: 0; padding-top: 0; border-top: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.08; }
.gd .g-section > h2 + p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; letter-spacing: -.014em; color: var(--ink); }
.g-level-sub { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; line-height: 1.45; color: var(--ink-3); }
.g-callout { padding: 22px 24px 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); font-size: 16.5px; line-height: 1.65; }
.g-callout-title { margin-bottom: 8px; font-family: var(--mono); font-size: 11px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.g-callout.g-blue { background: color-mix(in srgb, var(--acc) 7%, var(--paper)); border-color: color-mix(in srgb, var(--acc) 26%, transparent); }
.g-callout.g-blue .g-callout-title, .g-callout.g-mint .g-callout-title { color: var(--acc); }
.g-callout.g-teal { box-shadow: inset 3px 0 0 var(--ink); }
.g-callout.g-cream { background: transparent; border-style: dashed; border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.g-callout.g-mint { background: transparent; border-color: color-mix(in srgb, var(--acc) 40%, transparent); }
.g-callout.g-dark { --acc: var(--acc-pale); background: var(--ink); border-color: var(--ink); color: var(--tx-2); }
.g-callout.g-dark strong, .g-callout.g-dark b { color: var(--tx); }
.g-callout.g-dark .g-callout-title { color: var(--acc); }
.g-two-col, .g-box-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g-two-col > div { padding: 22px 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); font-size: 16px; line-height: 1.6; }
.g-two-col > .g-warn { box-shadow: inset 0 3px 0 var(--acc); }
.g-box-item { padding-top: 18px; border-top: 1px solid var(--ink); font-size: 16px; line-height: 1.6; }
.g-flow-row, .g-card-row { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 10px; }
.g-flow-card, .g-card { position: relative; padding: 16px 16px 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--rule); }
.g-flow-card + .g-flow-card::before { content: ''; position: absolute; left: -10px; top: 50%; width: 10px; height: 1px; background: var(--acc); }
.g-fc-label, .g-card-label { font-family: var(--mono); font-size: 10.5px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.g-fc-title, .g-card-title { margin-top: 6px; font-size: 17px; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
.g-fc-sub, .g-card-sub { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.g-cta { --acc: var(--acc-pale); padding: clamp(26px, 3vw, 36px); border-radius: 18px; background: var(--ink); color: var(--tx-2); }
.prose .g-cta h3 { margin-top: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 400; color: var(--tx); }
.prose .g-cta a { color: var(--tx); }
.g-arrow { color: var(--acc); }
.g-disclaimer { padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.gd-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(64px, 7vw, 104px); padding-top: 20px; border-top: 1px solid var(--ink); }

/* ---------- Autor ---------- */
.author-in { margin-left: 12px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); vertical-align: 2px; transition: color .2s; }
.author-in:hover { color: var(--acc); }
.au-head { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
.au-photo { flex: none; width: clamp(96px, 11vw, 148px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; filter: saturate(.85); box-shadow: 0 0 0 1px var(--line-2); }
.au-head .eyebrow { margin-bottom: 16px; }
.au-role { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--acc); }
.au-hero .lede { max-width: 640px; }
.au-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.au-items h3 a { background: linear-gradient(var(--acc), var(--acc)) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 1px; }
.au-items h3 a:hover { background-size: 100% 2px; }
.au-list { border-bottom: 1px solid var(--rule); }
.au-list li { padding: 15px 0 16px; border-top: 1px solid var(--rule); font-size: 17px; line-height: 1.5; color: var(--ink); }
.mth-body.au-prose p a { color: var(--ink); border-bottom: 1px solid var(--acc); }

@media (prefers-reduced-motion: reduce) {
  html.js .art-fig img { transform: none; transition: none; }
  html.js .bc.rv.is-in:hover { transform: none; }
}
@media (max-width: 1180px) {
  .au-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .art-side { display: none; }
  .prose { grid-column: 1 / -1; width: 100%; margin-inline: auto; }
  .bc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-section > *, .g-section > .g-sec-num { grid-column: 1 / -1; grid-row: auto; position: static; }
  .g-section > .g-sec-num { margin: 0 0 14px; }
  .gd.prose { margin-inline: 0; }
  .g-section { max-width: 760px; }
}
@media (max-width: 680px) {
  .crumbs li[aria-current] { display: none; }
  .crumbs li:nth-last-child(2)::after { content: none; }
  .prose { font-size: 17px; }
  .prose table { display: block; overflow-x: auto; }
  .prose td, .prose th { min-width: 150px; }
  .bc-grid { grid-template-columns: minmax(0, 1fr); }
  .mbx { grid-template-columns: minmax(0, 1fr); }
  .mbx-i + .mbx-i { margin-top: 8px; }
  .g-two-col, .g-box-list { grid-template-columns: minmax(0, 1fr); }
  .g-flow-row, .g-card-row { grid-auto-flow: row; }
  .g-flow-card + .g-flow-card::before { left: 24px; top: -10px; width: 1px; height: 10px; }
  .au-head { flex-direction: column; align-items: flex-start; }
  .au-items { grid-template-columns: minmax(0, 1fr); }
  .gd-cfoot { flex-direction: column; }
}

/* =================== PODSTRONY USŁUG, WARSZTATÓW I FIRMY =================== */
.hero-lead { margin-bottom: 18px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 350; line-height: 1.2; letter-spacing: -.025em; color: var(--acc); }
.faq-head { grid-column: 1 / span 4; }
.faq-head p { margin-top: 24px; max-width: 40ch; font-size: 16px; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 1080px) {
  .faq-head { grid-column: 1 / -1; }
}
/* bariery: linia, która dochodzi do przegrody */
.sec.blk-sec { padding-top: 0; }
.blk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); }
.blk { position: relative; padding-top: 44px; }
.blk-x { position: absolute; top: 0; left: 0; right: 0; height: 22px; }
.blk-x i { position: absolute; display: block; }
.blk-x i:first-child { left: 0; top: 50%; width: 68%; height: 1px; background: var(--ink); transform-origin: left; }
.blk-x i:last-child { left: 68%; top: 0; width: 2px; height: 100%; background: var(--acc); transform-origin: center; }
html.js .blk-x i:first-child { transform: scaleX(0); }
html.js .blk-x i:last-child { transform: scaleY(0); }
html.js .blk.is-in .blk-x i:first-child { transform: none; transition: transform 1.1s var(--ease-io) var(--d, 0s); }
html.js .blk.is-in .blk-x i:last-child { transform: none; transition: transform .5s var(--ease) calc(var(--d, 0s) + .95s); }
.blk h3 { font-size: clamp(19px, 1.55vw, 22px); font-weight: 450; line-height: 1.25; letter-spacing: -.022em; text-wrap: balance; }
.blk p { margin-top: 14px; max-width: 40ch; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
/* alternatywne ścieżki pod CTA */
.cta-alts { position: relative; margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); border-top: 1px solid color-mix(in srgb, var(--on-acc) 22%, transparent); }
.cta-alts a { display: block; padding-top: 22px; font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.cta-alts span { display: block; opacity: .75; }
.cta-alts b { font-weight: 450; border-bottom: 1px solid transparent; transition: border-color .3s; }
.cta-alts a:hover b { border-bottom-color: currentColor; }
@media (max-width: 1080px) {
  .blk-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .blk p { max-width: 60ch; }
}
@media (max-width: 680px) {
  .cta-alts { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .blk-x i { transform: none !important; transition: none !important; }
}

/* komponenty jasne użyte na ciemnym tle */
.inv { --ink: #EDEAE4; --ink-2: #A9A79F; --ink-3: #8A8882; --rule: rgba(237, 234, 228, .12); --paper: var(--surf); }

/* teza + fakty pod hero */
.statement { max-width: 40ch; font-size: clamp(24px, 2.5vw, 36px); font-weight: 350; line-height: 1.3; letter-spacing: -.03em; text-wrap: pretty; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); }
.statement + .facts { margin-top: clamp(64px, 7vw, 104px); }
.fact { position: relative; padding-top: 26px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 380; line-height: 1.38; letter-spacing: -.018em; text-wrap: pretty; }
.fact::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
.fact::after { content: ''; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
html.js .fact::before { transform: scaleX(0); }
html.js .fact::after { transform: scale(0); }
html.js .fact.is-in::before { transform: scaleX(1); transition: transform 1.3s var(--ease-io) var(--d, 0s); }
html.js .fact.is-in::after { transform: scale(1); transition: transform .5s var(--ease) calc(var(--d, 0s) + .2s); }

.why-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
.why-grid + .note { margin-top: 56px; }

/* tabela porównawcza dwóch kolumn */
.kpi-vs thead th { width: 50%; }
.kpi-vs td { width: 50%; }
.kpi-vs td:first-child { color: var(--ink-3); }
.kpi-vs td:last-child { color: var(--ink); font-weight: 420; }
.kpi-wrap + .note, .kpi-wrap + .vlinks { margin-top: 40px; }
.vlinks { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.vlinks + .note { margin-top: 40px; }

/* czego warsztat nie zrobi */
.lim-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); margin-top: clamp(80px, 9vw, 128px); }
.lim-row .h2 { grid-column: 1 / span 5; }
.lim { grid-column: 7 / span 6; border-bottom: 1px solid var(--rule); }
.lim li { position: relative; padding: 20px 0 22px 34px; border-top: 1px solid var(--rule); font-size: 16.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.lim li::before { content: ''; position: absolute; left: 0; top: 33px; width: 16px; height: 1.5px; background: var(--acc); }

/* wyniki warsztatów */
.rc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rc { display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 38px); background: var(--surf); border: 1px solid var(--line); border-radius: 18px; }
.rc .mono { color: var(--acc); }
.rc-b { margin-top: 18px; font-size: 16.5px; line-height: 1.6; color: var(--tx); text-wrap: pretty; }
.rc-t { margin-top: auto; padding-top: 22px; }
.rc-t p { padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 15px; line-height: 1.55; color: var(--tx-2); text-wrap: pretty; }
.rc-t b { font-weight: 450; color: var(--tx); }
.rc-grid + .note { margin-top: 48px; }
.note a { color: var(--ink, inherit); border-bottom: 1px solid var(--acc); }
.sec:not(.light) .note { color: var(--tx-2); }
.sec:not(.light) .note a { color: var(--tx); }

/* prowadzący */
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gap); }
.crew-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mate img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; filter: grayscale(.35) contrast(1.02); }
html.js .mate.rv img { clip-path: inset(100% 0 0 0 round 14px); }
html.js .mate.rv.is-in img { clip-path: inset(0 0 0 0 round 14px); transition: clip-path 1.2s var(--ease-io) var(--d, 0s); }
.mate-n { margin-top: 22px; font-size: 21px; font-weight: 450; line-height: 1.25; letter-spacing: -.02em; }
.mate-n a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.mate-n a:hover { background-size: 100% 1px; }
.mate-r { margin-top: 6px; font-size: 14px; color: var(--acc); }
.mate-b { margin-top: 14px; font-size: 15px; line-height: 1.6; opacity: .75; text-wrap: pretty; }
.mate-in { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; transition: opacity .2s, color .2s; }
.mate-in:hover { opacity: 1; color: var(--acc); }
.crew-2 .mate { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); gap: 0 28px; align-items: start; }
.crew-2 .mate-n { margin-top: 0; }
.crew + .note { margin-top: 56px; }

/* kontakt bezpośredni pod CTA */
.cta-direct { position: relative; margin-top: clamp(56px, 6vw, 88px); padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--on-acc) 22%, transparent); font-size: 16px; }
.cta-direct span { opacity: .75; margin-right: 10px; }
.cta-direct a { border-bottom: 1px solid color-mix(in srgb, var(--on-acc) 40%, transparent); transition: border-color .2s; }
.cta-direct a:hover { border-bottom-color: currentColor; }
.cta-direct i { font-style: normal; margin: 0 10px; opacity: .5; }

@media (max-width: 1080px) {
  .facts, .why-3, .rc-grid { grid-template-columns: minmax(0, 1fr); }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lim-row .h2, .lim { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .crew, .crew-2 { grid-template-columns: minmax(0, 1fr); }
  .crew .mate { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 20px; align-items: start; }
  .crew .mate-n { margin-top: 0; }
  .cta-direct a { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .fact::before, html.js .fact::after { transform: none !important; transition: none !important; }
  html.js .mate.rv img { clip-path: none !important; transition: none !important; }
}

/* O nas: skład zespołu */
.ppl { border-bottom: 1px solid var(--rule); }
.ppl-row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gap); padding-block: clamp(36px, 4vw, 56px); }
.ppl-row::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
html.js .ppl-row::before { transform: scaleX(0); }
html.js .ppl-row.is-in::before { transform: scaleX(1); transition: transform 1.3s var(--ease-io); }
.ppl-ph { grid-column: 1 / span 3; }
.ppl-ph img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; filter: grayscale(.35) contrast(1.02); transition: filter .5s; }
.ppl-row:hover .ppl-ph img { filter: none; }
html.js .ppl-row.rv .ppl-ph img { clip-path: inset(100% 0 0 0 round 14px); }
html.js .ppl-row.rv.is-in .ppl-ph img { clip-path: inset(0 0 0 0 round 14px); transition: clip-path 1.2s var(--ease-io) .15s, filter .5s; }
.ppl-id { grid-column: 4 / span 4; }
.ppl-n { font-size: clamp(28px, 2.8vw, 42px); font-weight: 350; line-height: 1.05; letter-spacing: -.04em; }
.ppl-n a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.ppl-n a:hover { background-size: 100% 1.5px; }
.ppl-r { margin-top: 14px; font-size: 16px; font-weight: 450; }
.ppl-a { margin-top: 4px; font-size: 15px; color: var(--acc); text-wrap: pretty; }
.ppl-id .mate-in { margin-top: 18px; color: var(--ink-3); opacity: 1; }
.ppl-id .mate-in:hover { color: var(--acc); }
.ppl-bio { grid-column: 8 / span 5; }
.ppl-bio p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { padding: 5px 12px 6px; border: 1px solid var(--rule); border-radius: 999px; font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.inv .cs-q { background: var(--surf); border: 1px solid var(--line); }
@media (max-width: 1080px) {
  .ppl-ph { grid-column: 1 / span 4; }
  .ppl-id { grid-column: 5 / -1; }
  .ppl-bio { grid-column: 5 / -1; }
}
@media (max-width: 680px) {
  .ppl-row { grid-template-columns: 96px minmax(0, 1fr); gap: 20px 18px; }
  .ppl-ph { grid-column: 1; }
  .ppl-id { grid-column: 2; }
  .ppl-bio { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .ppl-row::before { transform: none !important; transition: none !important; }
  html.js .ppl-row.rv .ppl-ph img { clip-path: none !important; }
}

/* Dowód wartości: dwa tory, kryteria z tytułem, wyniki z liczbami */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gap); }
.duo-i { position: relative; padding-top: 28px; }
.duo-i::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
html.js .duo-i::before { transform: scaleX(0); }
html.js .duo-i.is-in::before { transform: scaleX(1); transition: transform 1.3s var(--ease-io) var(--d, 0s); }
.duo-i h2 { max-width: 20ch; font-size: clamp(26px, 2.6vw, 38px); font-weight: 380; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.duo-i p { margin-top: 20px; max-width: 58ch; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.duo-i p a { color: var(--ink); border-bottom: 1px solid var(--acc); }
.risk-t h3 { font: inherit; font-weight: 450; color: var(--tx); }
.risk-t h3 + p { margin-top: 10px; max-width: 60ch; font-size: .72em; line-height: 1.55; letter-spacing: -.01em; color: var(--tx-2); }
.risk-t p a { color: var(--tx); border-bottom: 1px solid var(--acc); }
.risks + .sec-foot { margin-top: 0; border-top: 0; }
.rc-m { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; margin-top: 26px; padding-block: 22px; border-block: 1px solid var(--line-2); }
.rc-m li { font-size: 14px; line-height: 1.45; color: var(--tx-2); text-wrap: pretty; }
.rc-m b { display: block; margin-bottom: 8px; font-size: clamp(32px, 3.2vw, 48px); font-weight: 300; line-height: 1; letter-spacing: -.045em; color: var(--acc); }
.rc-m + .rc-b { margin-top: 22px; }
@media (max-width: 1080px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .rc-m { grid-auto-flow: row; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .duo-i::before { transform: none !important; transition: none !important; }
}

/* blok: tytuł po lewej, treść po prawej */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); margin-top: clamp(64px, 7vw, 104px); padding-top: 28px; border-top: 1px solid var(--rule); }
.split h3 { grid-column: 1 / span 5; max-width: 18ch; font-size: clamp(24px, 2.4vw, 34px); font-weight: 380; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.split > div { grid-column: 7 / span 6; }
.split p { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
/* akapity domykające sekcję */
.txt { max-width: 72ch; margin-top: clamp(40px, 4vw, 56px); }
.txt p { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.txt p + p { margin-top: 16px; }
.txt a { color: var(--ink); border-bottom: 1px solid var(--acc); transition: border-color .2s; }
.txt a:hover { border-bottom-width: 2px; }
/* karta wyniku na jasnym tle */
.light .rc { background: var(--paper); border-color: var(--rule); }
.light .rc-b { color: var(--ink); }
.light .rc-m { border-color: var(--rule); }
.light .rc-m li, .light .rc-t p { color: var(--ink-2); }
@media (max-width: 1080px) {
  .split h3, .split > div { grid-column: 1 / -1; }
}
.legal-hero .art-kick { margin-top: 28px; }
/* 404 */
.nf { min-height: calc(100svh - var(--hh)); display: flex; align-items: center; }
.nf .hero-inner { width: 100%; }
.nf-n { margin-bottom: 8px; font-size: clamp(120px, 20vw, 300px); font-weight: 200; line-height: .85; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px var(--line-2); font-feature-settings: 'tnum'; }

/* oś kroków na jasnym tle */
.lt { --bg: var(--ivory); --tx: var(--ink); --tx-2: var(--ink-2); --line: var(--rule); --line-2: rgba(17, 18, 20, .2); }

/* =================== PRZEWODNIKI =================== */
.hero-pg .lp-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px var(--gap); align-items: start; }
.hero-pg .lp-grid .hero-copy { grid-column: 1 / span 6; align-self: start; padding-top: clamp(8px, 2vw, 32px); }
.lp-grid .h1-pg { font-size: clamp(40px, 5vw, 76px); }
.lf { grid-column: 8 / span 5; position: relative; z-index: 2; padding: clamp(24px, 2.6vw, 36px); border-radius: 20px; background: var(--paper); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.lf-h { font-size: clamp(24px, 2.2vw, 30px); font-weight: 400; line-height: 1.12; letter-spacing: -.03em; }
.lf-sub { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); text-wrap: pretty; }
.lf-hide { display: none !important; }
.form.lf-form { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 28px; }
.fld select {
  width: 100%; padding: 10px 28px 12px 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 0;
  background: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%) no-repeat right 4px top 50% / 5px 5px, linear-gradient(135deg, var(--ink-3) 50%, transparent 50%) no-repeat right 0 top 50% / 5px 5px;
  font: inherit; font-size: 17px; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer;
}
.fld select:focus-visible { outline: none; }
.fld select:invalid { color: color-mix(in srgb, var(--ink-3) 70%, transparent); }
.fld select option { color: var(--ink); }
.lf-note { font-size: 13px; line-height: 1.55; color: var(--ink-3); text-wrap: pretty; }
.lf-note a { color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.lf .chk label { font-size: 13px; }
.lf .form-foot .btn { width: 100%; justify-content: center; }
.lf-ok, .lf-fail { padding-block: 8px 4px; }
.lf-ok svg { width: 48px; height: 48px; }
.lf-ok circle, .lf-ok path { fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lf-ok.is-in circle { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease-io); }
.lf-ok.is-in path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease) .7s; }
.lf-ok h2, .lf-fail h2 { margin-top: 18px; font-size: 26px; font-weight: 400; line-height: 1.15; letter-spacing: -.03em; outline: none; }
.lf-ok p, .lf-fail p { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); text-wrap: pretty; }
.lf-fail h2 { margin-top: 0; color: var(--err); }
.lf-fail .btn { margin-top: 22px; }
.lf-au { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.lf-au .mono + .mono { margin-top: 2px; }
.lf-au-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.lf-au-row img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: saturate(.85); }
.lf-au-n { font-size: 16px; font-weight: 450; line-height: 1.3; }
.lf-au-n a { border-bottom: 1px solid var(--rule); }
.lf-au-r { font-size: 13px; color: var(--acc); }
.lf-au-b { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.lf-au-b a { color: var(--ink); border-bottom: 1px solid var(--rule); white-space: nowrap; }

.gl { border-bottom: 1px solid var(--rule); }
.gl-row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gap); padding-block: clamp(32px, 3.6vw, 52px); }
.gl-row::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
html.js .gl-row::before { transform: scaleX(0); }
html.js .gl-row.is-in::before { transform: scaleX(1); transition: transform 1.3s var(--ease-io) var(--d, 0s); }
.gl-main { grid-column: 1 / span 6; }
.gl-tag { color: var(--acc) !important; }
.gl-tag b { font-weight: 400; color: var(--ink-3); }
.gl-t { margin-top: 14px; max-width: 22ch; font-size: clamp(26px, 2.6vw, 38px); font-weight: 360; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.gl-t a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.gl-t a:hover { background-size: 100% 1.5px; }
.gl-d { margin-top: 16px; max-width: 52ch; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.gl-side { grid-column: 8 / span 5; }
.gl-side ul { border-bottom: 1px solid var(--rule); }
.gl-side li { position: relative; padding: 13px 0 14px 28px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.gl-side li::before { content: ''; position: absolute; left: 0; top: 24px; width: 14px; height: 1.5px; background: var(--acc); }
.gl-side .link { margin-top: 22px; }

@media (max-width: 1180px) {
  .hero-pg .lp-grid .hero-copy { grid-column: 1 / span 6; }
  .lf { grid-column: 7 / span 6; }
}
@media (max-width: 1080px) {
  .hero-pg .lp-grid .hero-copy, .lf { grid-column: 1 / -1; }
  .lf { max-width: 620px; }
  .gl-main, .gl-side { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .gl-row::before { transform: none !important; transition: none !important; }
}

/* przewodniki: pliki i rezygnacja */
.gl-dl { margin-top: 24px; }
.st-ref { margin-top: 16px; color: var(--acc) !important; }
.who-p:first-child { margin-top: 0; }
.hub-act { margin-top: 32px; }
.un-prev { color: var(--tx-2); }
.un .hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.un .btn[disabled] { cursor: progress; opacity: .7; }
.un-err { margin-top: 24px; max-width: 56ch; padding: 14px 18px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--err) 45%, transparent); background: color-mix(in srgb, var(--err) 12%, transparent); color: #FFB4A8; font-size: 15px; }
.un-err a { color: var(--tx); border-bottom: 1px solid currentColor; }
.un-ok svg { width: 64px; height: 64px; margin-bottom: 28px; }
.un-ok circle, .un-ok path { fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.un-ok.is-in circle { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease-io); }
.un-ok.is-in path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease) .7s; }
.un-ok h2 { outline: none; }
.un-ok .lede { margin-top: 24px; }
[data-unsub-form][hidden], .un-ok[hidden], .un-err[hidden] { display: none; }
.mbx-note { grid-column: 1 / -1; margin-top: 28px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-2); }

/* =================== EASTER EGGI =================== */
.egg-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surf); color: var(--tx);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  opacity: 0; transform: translate(-50%, 12px); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.egg-toast::before { content: ''; width: 18px; height: 1.5px; background: var(--acc); }
.egg-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

.nf-n { position: relative; display: inline-flex; }
.nf-d { display: inline-block; transform: translateY(var(--y, 0em)); }
.nf.is-game .nf-d { cursor: grab; touch-action: none; transition: -webkit-text-stroke-color .3s; }
.nf.is-game:not(.is-aligned) .nf-d:hover { -webkit-text-stroke-color: var(--tx-2); }
.nf.is-game .nf-d.is-drag { cursor: grabbing; -webkit-text-stroke-color: var(--acc); }
.nf.is-aligned .nf-d { cursor: default; -webkit-text-stroke-color: var(--acc); transition: transform .7s cubic-bezier(.3, 1.5, .5, 1), -webkit-text-stroke-color .6s; }
.nf-n::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: left; }
.nf.is-aligned .nf-n::after { transform: scaleX(1); transition: transform 1.1s var(--ease-io) .35s; }
.nf-hint {
  position: absolute; left: calc(100% + 28px); top: 50%; width: max-content; max-width: 17ch;
  font-size: 11.5px; font-weight: 400; line-height: 1.6; letter-spacing: .08em; color: var(--tx-2); -webkit-text-stroke: 0;
  opacity: 0; transform: translateY(-50%); transition: opacity .8s var(--ease), color .6s; pointer-events: none;
}
.nf-hint.is-on { opacity: 1; }
.nf.is-aligned .nf-hint { color: var(--acc); }
@media (max-width: 680px) {
  .nf-hint { left: calc(100% + 14px); max-width: 13ch; }
}

/* Długie przyciski (np. „Umów rozmowę: 30 minut, …”) zawijają się na wąskich ekranach */
@media (max-width: 680px) {
  .btn { max-width: 100%; }
  .btn:not(.btn-sm) { height: auto; min-height: 48px; padding-block: 12px; white-space: normal; text-align: left; line-height: 1.35; }
  .btn-lg { min-height: 54px; }
}
