/**
 * Case study (CPT portfolio_item) — sekcje bespoke (Tomasz Meble + następne studia).
 *
 * Verbatim port inline <style> ze statycznego preview
 * (implementations/do-wdrozenia/cs-v1-preview-snapshot-2026-06-29.html, linie 11–153 + 157–216).
 * Ładowane warunkowo: inc/enqueue.php → wpis ze slugiem w tophat_cs_registry()
 * (single.css wtedy DEQUEUE — środowisko CSS = preview 1:1, zero kolizji .th-cs-stat/.th-cs-cta).
 *
 * Tokeny: assets/css/style.css :root. BEM th-cs-*. Desktop-first (max-width:768px = mobile).
 * Lighthouse meter overrides współgrają z case-study/lighthouse.css.
 *
 * @package TopHat
 */

.th-hero { background: var(--yellow); }
.th-hero__title em { font-weight: var(--font-weight-medium); } .th-hero__title { font-size: clamp(2rem, calc(5vw - 9px), 3.5rem); } .th-hero__content { gap: clamp(1rem, calc(3.2vw - 9.6px), 2rem); } /* case study: akcent metryki — medium + purple (purple z theme) */
.th-hero__visual { justify-content: center; }

/* ===== lockup: LOGO KLIENTA x LOGO TOPHAT (rowne pole optyczne) ===== */
.th-cs-lockup { display: flex; align-items: center; gap: var(--space-md); }
.th-cs-lockup .th-clients__logo, .th-cs-lockup .th-clients__logo:hover { filter: none; mix-blend-mode: normal; transform: none; transition: none; } /* reuse strip logo: kolor + bez hover-scale */
.th-cs-lockup__x { color: var(--black); font-size: var(--type-h4); line-height: 1; }

/* telefon + kontener wynikow PRZYKLEJONY (flush, jedna kompozycja) */
/* phone + results = bezposrednie dzieci .th-hero__visual (theme: display:flex) */

/* ===== iPhone 17 ===== */
.th-cs-phone { position: relative; flex: 0 0 auto; width: clamp(190px, 22vw, 330px); aspect-ratio: 0.486; background: linear-gradient(152deg, color-mix(in srgb, var(--purple), white 20%) 0%, color-mix(in srgb, var(--purple), black 50%) 46%, color-mix(in srgb, var(--purple), black 18%) 100%); border-radius: 16.5% / 8%; box-shadow: var(--shadow-offset-l), inset 0 0 0 1.5px color-mix(in srgb, var(--white), transparent 80%); z-index: 1; }
.th-cs-phone__screen { position: absolute; inset: var(--space-xs); border-radius: 13% / 6.2%; overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.th-cs-phone__status { position: relative; flex: 0 0 auto; height: 8%; min-height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 8%; }
.th-cs-phone__time { font-size: 12px; font-weight: var(--font-weight-bold); color: var(--black); font-variant-numeric: tabular-nums; }
.th-cs-phone__batt { position: relative; width: 22px; height: 11px; border: 1.5px solid var(--black); border-radius: 3px; }
.th-cs-phone__batt::before { content: ""; position: absolute; left: 1.5px; top: 1.5px; bottom: 1.5px; right: 5px; background: var(--black); border-radius: 1.5px; }
.th-cs-phone__batt::after { content: ""; position: absolute; right: -3px; top: 3px; width: 2px; height: 5px; background: var(--black); border-radius: 0 1.5px 1.5px 0; }
.th-cs-phone__island { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 30%; height: 16px; background: #000; border-radius: var(--radius-pill); }
.th-cs-phone__addr { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0 7% 7px; padding: 5px 10px; background: color-mix(in srgb, var(--black), transparent 92%); border-radius: var(--radius-pill); font-size: 9.5px; color: var(--gray-dark); }
.th-cs-phone__addr svg { width: 9px; height: 9px; flex: 0 0 auto; color: var(--gray-mid); }
.th-cs-phone__addr b { font-weight: var(--font-weight-medium); color: var(--black); }
.th-cs-phone__viewport { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; touch-action: pan-y; overscroll-behavior: contain; scrollbar-width: none; }
.th-cs-phone__viewport::-webkit-scrollbar { display: none; }
.th-cs-phone__viewport img { width: 100%; height: auto; display: block; }
.th-cs-phone__btn { position: absolute; background: var(--purple); border-radius: 3px; z-index: 1; }
.th-cs-phone__btn--pwr { right: -2px; top: 27%; width: 3px; height: 10%; }
.th-cs-phone__btn--act { left: -2px; top: 16%; width: 3px; height: 4.5%; }
.th-cs-phone__btn--vu  { left: -2px; top: 25%; width: 3px; height: 7.5%; }
.th-cs-phone__btn--vd  { left: -2px; top: 34.5%; width: 3px; height: 7.5%; }
.th-cs-phone__hint { position: absolute; bottom: 5%; left: 50%; transform: translateX(-50%); z-index: 4; font-size: var(--type-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--white); background: color-mix(in srgb, #000, transparent 28%); padding: 4px 12px; border-radius: var(--radius-pill); pointer-events: none; white-space: nowrap; transition: opacity var(--duration-normal) var(--ease-out-expo); }

/* ===== kontener wynikow — przyklejony do telefonu, hug content ===== */
.th-cs-results { align-self: center; display: flex; flex-direction: column; gap: 0; width: fit-content; margin: 0; padding: var(--space-md); list-style: none; background: var(--white); border: var(--border-card); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; box-shadow: var(--shadow-offset-l); z-index: 0; }
.th-cs-results__title { font-size: var(--type-h4); font-weight: var(--font-weight-bold); color: var(--black); line-height: var(--lh-heading); margin-bottom: var(--space-xs); }

.th-cs-stat { display: flex; flex-direction: column; gap: var(--space-xs); padding: clamp(0.25rem, calc(2vw - 10px), 1rem) 0; align-self: flex-start; }
.th-cs-stat:first-child { padding-top: 0; }
.th-cs-stat + .th-cs-stat { border-top: 1px solid color-mix(in srgb, var(--black), transparent 88%); }
.th-cs-stat__title { font-size: var(--type-small); text-transform: uppercase; letter-spacing: .05em; color: var(--gray-dark); font-weight: var(--font-weight-medium); line-height: var(--lh-snug); }
.th-cs-stat__result { display: flex; align-items: center; gap: var(--space-xs); }
.th-cs-stat__icon { flex: 0 0 auto; display: inline-flex; color: var(--purple); }
.th-cs-stat__icon svg { width: var(--type-h3); height: var(--type-h3); }
.th-cs-stat__num { font-size: clamp(1.125rem, calc(5vw - 33px), 2rem); font-weight: var(--font-weight-medium); color: var(--purple); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: var(--letter-spacing-s); }
.th-cs-stat__value { display: inline-flex; align-items: baseline; gap: 2px; }
.th-cs-stat__unit { font-size: var(--type-small); color: var(--gray-dark); }
.th-cs-stat__sub { font-size: var(--type-small); color: var(--gray-dark); text-align: left; }
.th-cs-stat__sub s { text-decoration: line-through; color: color-mix(in srgb, var(--error) 80%, var(--black)); }
.th-cs-stat__delta { color: color-mix(in srgb, var(--success) 52%, var(--black)); font-weight: var(--font-weight-medium); }

/* desktop: ostatni stat bez dolnego paddingu */
@media (min-width: 901px) {
	.th-cs-stat:last-child { padding-bottom: 0; }
}

/* reveal: results wysuwa sie zza telefonu, potem staty po kolei (desktop) */
@keyframes cs-results-slide { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: no-preference) {
	.th-cs-results { animation: cs-results-slide calc(var(--duration-slow) * 1.5) var(--ease-out-expo) .5s both; }
	.th-cs-stat { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out-expo), transform .5s var(--ease-out-expo); }
	.th-cs-stat.is-in { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
	.th-cs-results { align-self: auto; width: fit-content; max-width: 100%; margin-left: 0; padding: var(--space-md); }
}
@media (max-width: 768px) {
	.th-hero { height: auto; }
	.th-hero__visual { order: -1; }
	.th-cs-phone { flex: 1 1 auto; width: auto; min-width: 150px; max-width: 190px; }
	.th-hero__visual { flex-direction: row; align-items: flex-start; justify-content: center; gap: 0; width: 100%; }
	.th-cs-results { padding: var(--space-sm); align-self: center; }
	.th-cs-results__title { display: none; }
	.th-cs-stat { padding: var(--space-2xs) 0; }
	.th-cs-stat__num { font-size: var(--type-h3); }
	.th-cs-stat__icon svg { width: var(--type-small); height: var(--type-small); }
	.th-cs-stat__title { font-size: var(--type-xs); letter-spacing: .03em; }
	.th-cs-stat__sub { font-size: var(--type-xs); }
}

/* ===== SEKCJA 2 - Wyzwanie (reuse pakiety split: .th-pricing__card-top zolty head + czarny divider, __card-body bialy) ===== */
.th-cs-challenge { padding-block: var(--section-py); }
.th-cs-challenge__title { margin-bottom: var(--space-xl); }
.th-cs-challenge__grid { display: grid; gap: var(--space-md); }
@media (min-width: 600px) and (max-width: 799px) { .th-cs-challenge__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 800px) { .th-cs-challenge__grid { grid-template-columns: repeat(4, 1fr); } }
.th-cs-challenge .th-pricing__card-top { display: flex; align-items: center; gap: var(--space-sm); }
@media (max-width: 768px) { .th-cs-challenge .th-pricing__card-top, .th-cs-challenge .th-pricing__card-body { padding: var(--space-sm); } }
.th-cs-challenge .th-pricing__card-top h3 { font-weight: var(--font-weight-light); }
.th-pricing__card-desc { max-width: none; }
.th-cs-challenge__icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; flex-shrink: 0; color: var(--black); }
.th-cs-challenge__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; transform: scale(1.1); transform-origin: center; }
/* animowane ikony - hover karty ozywia ikone (CSS recreation; lucide-animated.com = Motion.js, nie do wklejenia w CSP-strict) */
@keyframes cs-icon-spin { to { transform: rotate(360deg); } }
@keyframes cs-icon-pop { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.2) rotate(-8deg); } 65% { transform: scale(1.04) rotate(5deg); } }
@keyframes cs-icon-sway { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
@keyframes cs-icon-slide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: no-preference) {
	.th-cs-challenge__grid > :nth-child(1):hover .th-cs-challenge__icon svg polyline { transform-box: view-box; transform-origin: 12px 12px; animation: cs-icon-spin 4s linear infinite; }
	.th-cs-challenge__grid > :nth-child(2):hover .th-cs-challenge__icon { animation: cs-icon-pop .6s var(--ease-out-expo); }
	.th-cs-challenge__grid > :nth-child(3):hover .th-cs-challenge__icon { animation: cs-icon-sway .8s var(--ease-default); }
	.th-cs-challenge__grid > :nth-child(4):hover .th-cs-challenge__icon svg line { animation: cs-icon-slide .5s var(--ease-out-expo); }
	.th-cs-challenge__grid > :nth-child(4):hover .th-cs-challenge__icon svg line:nth-of-type(2) { animation-delay: .07s; }
	.th-cs-challenge__grid > :nth-child(4):hover .th-cs-challenge__icon svg line:nth-of-type(3) { animation-delay: .14s; }
}
/* ===== SEKCJA 3 - Jak podeszlismy (tak samo jak th-dlakogo: header + accordion-split list+preview) ===== */
.th-cs-approach { padding-block: var(--section-py); position: relative; overflow: clip; }
.th-cs-approach .th-accordion-split { margin-top: var(--space-lg); }
/* ===== SEKCJA 4 - Przed/Po (slider z przewijaniem, vanilla cs-slider.js) ===== */
.th-cs-przedpo { padding-block: var(--section-py); }
.th-cs-przedpo__title { margin-bottom: var(--space-xl); }
.th-cs-slider-fig { margin: 0; }
.th-cs-slider-fig figcaption { text-align: center; margin-top: var(--space-sm); font-size: var(--type-small); color: var(--text-on-dark); }
.th-cs-slider { position: relative; --pos: 50%; aspect-ratio: 2 / 1; max-width: none; border: var(--border-card); border-radius: var(--radius-md); box-shadow: var(--shadow-offset-l); overflow: hidden; background: var(--white); user-select: none; }
.th-cs-slider__scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.th-cs-slider__scroll::-webkit-scrollbar { display: none; }
.th-cs-slider__inner { position: relative; }
.th-cs-slider__img { display: block; width: 100%; height: auto; }
.th-cs-slider__img--after { position: absolute; top: 0; left: 0; clip-path: inset(0 0 0 var(--pos)); }
.th-cs-slider__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--black); transform: translateX(-50%); z-index: 3; cursor: ew-resize; touch-action: none; }
.th-cs-slider__handle:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.th-cs-slider__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: var(--touch-target); height: var(--touch-target); border-radius: var(--radius-full); background: var(--white); border: var(--border-card); box-shadow: var(--shadow-offset-m); display: flex; align-items: center; justify-content: center; color: var(--black); cursor: ew-resize; touch-action: none; }
.th-cs-slider__grip svg { width: 22px; height: 22px; }
.th-cs-slider .th-cs-ba__tag { position: absolute; top: var(--space-sm); z-index: 4; font-size: var(--type-h3); }
.th-cs-slider .th-cs-ba__tag--before { left: var(--space-sm); color: var(--gray-dark); }
.th-cs-slider .th-cs-ba__tag--after { right: var(--space-sm); color: var(--purple); }
.th-cs-slider picture { display: contents; }
@media (max-width: 768px) { .th-cs-slider { aspect-ratio: 3 / 4; } .th-cs-slider__scroll { touch-action: pan-y; overscroll-behavior-y: auto; } }
.th-cs-wyniki__title { margin-bottom: var(--space-md); }
.th-hero__inner { column-gap: clamp(var(--space-xl), calc(21.3vw - 170px), var(--space-4xl)); } /* fluid 48@1024 -> 128@1400, hero visual nie puchnie <1400 */
@media (min-width: 769px) and (max-width: 1200px) { .th-hero__inner { display: flex; flex-direction: column; min-height: calc(100dvh - var(--nav-height)); justify-content: safe center; } .th-hero__visual { flex-direction: row; justify-content: center; align-items: center; gap: 0; width: 100%; order: -1; } .th-hero__content { text-align: center; align-items: center; } .th-cs-phone { width: clamp(250px, 24vw, 265px); } .th-cs-results { align-self: center; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; } } /* tablet+mid: hero 1-kol, telefon+karta side-by-side wysrodkowane (spojna kompozycja) */ /* tablet: stack 1-kol, CTA sie nie ucina (band-aid; pelny polish deferred) */

/* lockup jako element nr 1 (nad visual) na tablet+mobile; desktop >=1201 nietkniety */
@media (max-width: 1200px) {
  .th-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(1rem, calc(3vw - 9.6px), 2rem); }
  .th-hero__content { display: contents; }
  .th-cs-lockup { display: flex; order: -2; }
  .th-hero__visual { order: -1; }
}
@media (max-width: 768px) { .th-cs-lockup { display: none; } } /* lockup ukryty na mobile (fold-fit); widoczny od 769 */
@media (max-width: 768px) { .th-hero__title { margin-top: var(--space-sm); } } /* 2x row gap visual->heading na mobile (opcja A) */

/* magic-vibe na tarcze (gap collapse przy 98-100): bez tla + grubszy pierscien */
.th-playground-n-lighthouse .th-playground-n-meter__track { display: none; }
.th-playground-n-lighthouse .th-playground-n-meter__fill { stroke-width: 10; }
.th-playground-n-lighthouse .th-playground-n-meter[data-score="pass"] .th-playground-n-meter__fill { stroke: var(--purple); }

/* tarcze: gradient purple -> yellow (1 -> 4) */
.th-playground-n-lighthouse__grid .th-playground-n-meter:nth-child(1)[data-score="pass"] .th-playground-n-meter__fill { stroke: var(--purple); }
.th-playground-n-lighthouse__grid .th-playground-n-meter:nth-child(2)[data-score="pass"] .th-playground-n-meter__fill { stroke: color-mix(in oklch, var(--purple), var(--yellow) 33%); }
.th-playground-n-lighthouse__grid .th-playground-n-meter:nth-child(3)[data-score="pass"] .th-playground-n-meter__fill { stroke: color-mix(in oklch, var(--purple), var(--yellow) 67%); }
.th-playground-n-lighthouse__grid .th-playground-n-meter:nth-child(4)[data-score="pass"] .th-playground-n-meter__fill { stroke: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .th-playground-n-meter__fill { transition: none; } }

.th-playground-n-lighthouse .th-playground-n-meter__fill { transition-duration: 3.5s; }

/* Sekcja 5 — reveal calego elementu: naglowek (label->h2->subtext) potem tarcze */
.th-playground-n-lighthouse[data-kz-reveal] .th-section-header > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo); }
.th-playground-n-lighthouse[data-kz-reveal] .th-section-header > *:nth-child(2) { transition-delay: .12s; }
.th-playground-n-lighthouse[data-kz-reveal] .th-section-header > *:nth-child(3) { transition-delay: .24s; }
.th-playground-n-lighthouse.kz-in .th-section-header > * { opacity: 1; transform: none; }
.th-playground-n-lighthouse[data-kz-reveal] .th-playground-n-meter { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out-expo), transform .6s var(--ease-out-expo); }
.th-playground-n-lighthouse .th-playground-n-meter.kz-meter-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .th-playground-n-lighthouse[data-kz-reveal] .th-section-header > *,
  .th-playground-n-lighthouse[data-kz-reveal] .th-playground-n-meter { transition: none; opacity: 1; transform: none; }
}

/* ===== S6 Pod maską — tech stack (reuse: .th-section-header, global h2/h3) ===== */
#techstack { padding-block: var(--section-py); }
#faq { padding-block: var(--section-py); }
.th-cs-cta { padding-block: var(--section-py); text-align: center; }
.th-cs-cta .th-container { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.th-cs-cta p { max-width: 52ch; margin-inline: auto; }
@media (max-width: 768px) { .th-cs-stat__result, .th-cs-stat__sub { line-height: 1; } }
.th-cs-cta .th-btn { margin-top: var(--space-xs); }
.th-cs-cta .th-section-header { margin-bottom: 0; }
#opinia-cs { position: relative; padding-block: var(--section-py); }
#opinia-cs .th-section-header { margin-bottom: var(--space-lg); }
#opinia-cs .th-testimonials__progress-fill { width: 100%; }
@media (max-width: 768px) { #opinia-cs .th-testimonials__avatar { display: block; } #opinia-cs h2 { white-space: nowrap; } #opinia-cs h2 em { display: inline; } #opinia-cs .th-testimonials__heading-row { display: block; } #opinia-cs .th-testimonials__bg-icon { top: -2.5rem; right: 0; left: auto; bottom: auto; transform: none; animation: none; } }
@media (min-width: 769px) { #techstack .th-container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: stretch; } }
@media (max-width: 768px) { #techstack .th-container { display: flex; flex-direction: column; gap: var(--space-md); } #techstack .th-techstack__col { display: contents; } #techstack .th-section-header { order: -1; } #techstack .th-techstack { align-self: stretch; } #techstack .th-techstack__cell { padding: var(--space-sm); } #techstack .th-techstack__logo { max-height: 36px; } #techstack [data-tech-text] { min-height: 10.5em; } }
@media (min-width: 769px) { #techstack .th-techstack { align-self: start; } }
.th-techstack__col { display: flex; flex-direction: column; justify-content: center; gap: var(--space-lg); }
#techstack .th-section-header { margin-bottom: 0; }
#techstack [data-tech-text] { min-height: 7em; margin-top: var(--space-sm); }
#techstack h2 em { color: var(--purple); white-space: nowrap; }
.th-techstack { border: var(--border-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-offset-l); background: var(--white); overflow: hidden; }
.th-techstack__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.th-techstack__cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: var(--space-lg); border: 0; border-right: var(--border-card); border-bottom: var(--border-card); background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; font: inherit; color: inherit; transition: background var(--duration-normal, .3s) ease; }
.th-techstack__cell:nth-child(3n) { border-right: none; }
.th-techstack__cell:nth-last-child(-n+3) { border-bottom: none; }
.th-techstack__cell:nth-child(odd):hover { background: color-mix(in srgb, var(--purple), transparent 90%); }
.th-techstack__cell:nth-child(even):hover { background: color-mix(in srgb, var(--yellow), transparent 84%); }
.th-techstack__cell:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.th-techstack__logo { max-height: 56px; max-width: 100%; width: auto; filter: grayscale(1) opacity(0.65); transition: filter var(--duration-normal, .3s) var(--ease-out-expo, ease); }
.th-techstack__cell:hover .th-techstack__logo, .th-techstack__cell:focus-visible .th-techstack__logo, .th-techstack__cell.is-active .th-techstack__logo { filter: none; }
/* loga proporcjonalne POWIERZCHNIOWO (korekta wg aspect-ratio) */
[data-tech="PHP"] .th-techstack__logo { max-height: 40px; }
[data-tech="HTML5"] .th-techstack__logo { max-height: 56px; }
[data-tech="Figma"] .th-techstack__logo { max-height: 64px; }

/* -----------------------------------------
   CASE STUDY — TIMELINE (oś czasu)
   ----------------------------------------- */
.th-cs-timeline { padding-block: var(--section-py); }
.th-cs-timeline__title { margin-bottom: var(--space-sm); }
.th-cs-timeline__track { list-style: none; margin: var(--space-3xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
/* linia tylko od 1. do ostatniej kropki: 12.5% = pół kolumny przy 4 węzłach (centra na 12.5/37.5/62.5/87.5%) */
.th-cs-timeline__track::before { content: ''; position: absolute; top: 0; left: 12.5%; right: 12.5%; border-top: var(--border-card); }
.th-cs-timeline__item { position: relative; padding: var(--space-lg) var(--space-md) 0; text-align: center; }
.th-cs-timeline__node { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: var(--radius-full); background: var(--purple); border: var(--border-card); }
.th-cs-timeline__item--launch .th-cs-timeline__node { top: -12px; width: 24px; height: 24px; background: var(--yellow); }
.th-cs-timeline__date { position: absolute; top: 0; left: 0; right: 0; transform: translateY(calc(-100% - var(--space-sm))); font-weight: var(--font-weight-bold); letter-spacing: 0.02em; }
.th-cs-timeline__step { margin-bottom: var(--space-2xs); }
.th-cs-timeline__desc { color: var(--gray-dark); }
@media (max-width: 768px) {
	.th-cs-timeline__track { grid-template-columns: 1fr; border-left: var(--border-card); margin-left: var(--space-sm); }
	.th-cs-timeline__track::before { display: none; }
	.th-cs-timeline__item { text-align: left; padding: 0 0 var(--space-xl) var(--space-lg); }
	.th-cs-timeline__date { position: static; transform: none; margin-bottom: var(--space-2xs); }
	.th-cs-timeline__node { top: 2px; left: -8px; transform: none; }
	.th-cs-timeline__item--launch .th-cs-timeline__node { top: 0; left: -12px; }
}

/* ===== S9 CTA — inline lead form (imię + email → Meta Lead; 2026-07-09). Reuse .th-contact__* + .th-input. ===== */
.th-cs-lead { width: 100%; max-width: var(--container-prose); margin-inline: auto; }
.th-cs-lead__card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-offset-l); padding: var(--card-padding); text-align: left; }
/* rodo: natywny `padding-bottom: --space-md` (24px) fieldów za duży przed rodo, `0` za mały. `--space-sm` (16px) + `margin-top` rodo (--space-xs 8px) = 24px, w sam raz. Mobile name↔email = te 16px padding-bottom. */
.th-cs-lead__form .th-contact__row .th-contact__field { padding-bottom: var(--space-sm); }
.th-cs-lead__nav { text-align: center; }
/* button = standardowy .th-btn--primary (inline-flex = naturalna szerokość); zdejmij margin-top odziedziczony z `.th-cs-cta .th-btn` */
.th-cs-cta .th-cs-lead__nav .th-btn { margin-top: 0; }
/* button w białej karcie: standardowy hover primary (yellow), nie yellow-section override (white → znika na karcie) */
.th-cs-cta .th-cs-lead__card .th-btn--primary:hover { background: var(--yellow); color: var(--black); }
.th-cs-lead__alt { margin: var(--space-sm) 0 0; font-size: var(--type-small); color: var(--gray-dark); text-align: center; }
.th-cs-lead__alt a { color: var(--purple); text-decoration: underline; }
.th-cs-lead__success { text-align: center; padding: var(--space-sm) 0; color: var(--black); }
.th-cs-lead__submit-error { display: block; color: var(--error); font-size: var(--type-small); text-align: left; }
