/* WGSM.pl - publiczna strona glowna (index.php dla hostow innych niz wgsm.pl).
 * Wyglad z ksiegi marki nowego panelu (skin-beta/README.md, skin-beta/admin/beta.css): te same kolory, te same pliki krojow,
 * te same role krojow (Inter tekst, Space Grotesk naglowki, JetBrains Mono nadtytuly i numery), grubosci 400/600/700
 * (500 tylko dla nadtytulu mono). Bez zasobow z zewnatrz, bez gradientow, cieni ozdobnych i etykiet-pigulek.
 * JS tylko dla prezentacji funkcji (pokaz.js); bez niego slajdy stoja jeden pod drugim.
 * Uklad: grafitowy pasek, biale sekcje na tle #F3F5F6, karty z obwodka. Klasy z przedrostkiem l-.
 */

/* ---------- kroje (te same pliki i deklaracje co beta.css) ---------- */
@font-face {
	font-family: "Inter";
	src: url("../skin-beta/admin/fonty/inter.woff2?v=1") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2000-206F, U+20A0-20C0, U+2113, U+2122, U+2190-2199, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Space Grotesk";
	src: url("../skin-beta/admin/fonty/space-grotesk.woff2?v=1") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2000-206F, U+20A0-20C0, U+2113, U+2122, U+2190-2199, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "JetBrains Mono";
	src: url("../skin-beta/admin/fonty/jetbrains-mono.woff2?v=1") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2000-206F, U+20A0-20C0, U+2113, U+2122, U+2190-2199, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}

:root {
	/* paleta marki (jak beta.css) */
	--wgsm-blekit: #00CCFF;
	--wgsm-blekit-ciemny: #00708C;
	--wgsm-grafit: #1E2A38;
	--wgsm-morski: #9ACCCD;
	--wgsm-mieta: #BAE4E3;
	--wgsm-szary: #CCCCCC;
	--wgsm-szary-jasny: #E5E5E5;

	/* role (wartosci z beta.css) */
	--l-tlo: #F3F5F6;
	--l-powierzchnia: #FFFFFF;
	--l-tekst: var(--wgsm-grafit);
	--l-tekst-2: #3F4B59;
	--l-tekst-3: #5B6775;
	--l-linia: var(--wgsm-szary-jasny);
	--l-linia-mocna: var(--wgsm-szary);
	--l-link: var(--wgsm-blekit-ciemny);
	--l-link-hover: #005468;
	--l-akcent: var(--wgsm-blekit);
	--l-akcent-mocny: #00B5E2;
	--l-sekcja: #EAF6F6;
	--l-sekcja-linia: #CFE8E8;
	--l-pasek: var(--wgsm-grafit);
	--l-pasek-tekst: #D5DEE7;
	--l-fokus: var(--wgsm-blekit-ciemny);
	--l-fokus-ciemne: var(--wgsm-blekit);

	--l-r: 6px;
	--l-r-duzy: 8px;

	--l-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Verdana, sans-serif;
	--l-font-naglowki: "Space Grotesk", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--l-font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

	/* skala strony (wieksza niz w panelu, ta sama rodzina) */
	--l-fs-nadtytul: 12px;
	--l-fs-maly: 14px;
	--l-fs-tekst: 16px;
	--l-fs-wiodacy: 18px;
	--l-fs-h3: 20px;
	--l-fs-h2: 32px;
	--l-fs-h1: 48px;
	--l-fw-1: 400;
	--l-fw-2: 600;
	--l-fw-3: 700;
	--l-fw-mono-nadtytul: 500;

	--l-szerokosc: 1200px;
	--l-margines: 24px;
	--l-wys-paska: 64px;
}

/* ---------- podstawa ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--l-wys-paska) + 16px); }
body.l-body {
	margin: 0;
	background: var(--l-tlo);
	color: var(--l-tekst);
	font-family: var(--l-font);
	font-size: var(--l-fs-tekst);
	font-weight: var(--l-fw-1);
	line-height: 1.6;
	overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--l-link); text-underline-offset: 2px; }
a:hover { color: var(--l-link-hover); }
a:focus-visible,
summary:focus-visible { outline: 2px solid var(--l-fokus); outline-offset: 2px; }
p { margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--l-font-naglowki); color: var(--l-tekst); margin: 0; overflow-wrap: break-word; }
h1 { font-size: var(--l-fs-h1); line-height: 1.1; font-weight: var(--l-fw-3); letter-spacing: -.01em; }
h2 { font-size: var(--l-fs-h2); line-height: 1.2; font-weight: var(--l-fw-3); }
h3 { font-size: var(--l-fs-h3); line-height: 1.3; font-weight: var(--l-fw-2); }

.l-pomin { position: absolute; left: -9999px; top: 0; }
.l-pomin:focus { left: 16px; top: 8px; z-index: 20; background: var(--l-powierzchnia); color: var(--l-tekst); padding: 8px 12px; border: 1px solid var(--l-linia-mocna); border-radius: var(--l-r); }

.l-wnetrze { max-width: var(--l-szerokosc); margin: 0 auto; padding: 0 var(--l-margines); }

/* nadtytul: JetBrains Mono 500, wersaliki (jak .b-nadtytul w panelu) */
.l-nadtytul {
	display: block;
	margin: 0 0 12px;
	font-family: var(--l-font-mono);
	font-size: var(--l-fs-nadtytul);
	font-weight: var(--l-fw-mono-nadtytul);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--l-tekst-3);
}
.l-nadtytul-akcent { color: var(--wgsm-blekit-ciemny); }
.l-wiodacy { font-size: var(--l-fs-wiodacy); color: var(--l-tekst-2); line-height: 1.55; }

/* ---------- przyciski ---------- */
.l-przycisk {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid var(--wgsm-grafit);
	border-radius: var(--l-r);
	background: var(--l-powierzchnia);
	color: var(--l-tekst);
	font-family: var(--l-font);
	font-size: 15px;
	font-weight: var(--l-fw-2);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}
.l-przycisk:hover { background: #F1F4F6; color: var(--l-tekst); }
.l-przycisk-grafit { background: var(--wgsm-grafit); border-color: var(--wgsm-grafit); color: #FFFFFF; }
.l-przycisk-grafit:hover { background: var(--l-tekst-2); border-color: var(--l-tekst-2); color: #FFFFFF; }
.l-przycisk-blekit { background: var(--wgsm-blekit); border-color: var(--l-akcent-mocny); color: var(--wgsm-grafit); }
.l-przycisk-blekit:hover { background: #33D6FF; border-color: #009FC7; color: var(--wgsm-grafit); }
.l-przycisk:focus-visible { outline: 2px solid var(--l-fokus); outline-offset: 2px; }
.l-przyciski { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- pasek (jak .b-pasek panelu) ---------- */
.l-naglowek { position: sticky; top: 0; z-index: 10; background: var(--l-pasek); color: var(--l-pasek-tekst); }
.l-naglowek-wnetrze { display: flex; align-items: center; gap: 24px; min-height: var(--l-wys-paska); }
.l-logo { display: inline-flex; flex: none; }
.l-logo img { width: 130px; height: 32px; }
.l-nawigacja { flex: 1 1 auto; min-width: 0; }
.l-nawigacja ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.l-nawigacja a { display: inline-block; padding: 6px 0; color: var(--l-pasek-tekst); font-size: var(--l-fs-maly); font-weight: var(--l-fw-2); text-decoration: none; }
.l-nawigacja a:hover { color: #FFFFFF; text-decoration: underline; }
.l-naglowek a:focus-visible { outline-color: var(--l-fokus-ciemne); }
.l-naglowek .l-przycisk { min-height: 36px; padding: 0 14px; font-size: var(--l-fs-maly); flex: none; }

/* ---------- sekcje: biale na tle strony ---------- */
.l-sekcja { padding: 88px 0; background: var(--l-powierzchnia); }
.l-sekcja-szara { background: var(--l-tlo); }
.l-sekcja-naglowek { max-width: 720px; margin-bottom: 40px; }

/* zrzut w ramce: 1 px #CCCCCC, promien 6 px, bez cienia */
.l-ramka { margin: 0; border: 1px solid var(--wgsm-szary); border-radius: var(--l-r); background: var(--l-tlo); overflow: hidden; }
.l-ramka img { width: 100%; }

/* okno programu: prosty pasek tytulu i zrzut; znaczniki to nakladka HTML w procentach obrazu */
.l-okno { margin: 0; border: 1px solid var(--wgsm-szary); border-radius: var(--l-r-duzy); background: var(--l-powierzchnia); overflow: hidden; }
.l-okno-pasek { display: flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--wgsm-szary-jasny); background: #F7F8F9; }
.l-okno-pasek span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--l-font-mono); font-size: 12px; color: var(--l-tekst-3); letter-spacing: .02em; }
.l-okno-obraz { position: relative; }
.l-okno-obraz img { width: 100%; }

/* ramka w procentach obrazu z zapasem wokol elementu; numer na srodku punktu --nx/--ny (procent ramki), w pustym miejscu zrzutu */
.l-znacznik { position: absolute; box-sizing: border-box; border: 2px solid var(--wgsm-blekit-ciemny); border-radius: 4px; pointer-events: none; }
.l-znacznik span {
	position: absolute;
	left: var(--nx, 0%);
	top: var(--ny, 0%);
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 3px;
	background: var(--wgsm-grafit);
	color: #FFFFFF;
	font-family: var(--l-font-mono);
	font-size: 13px;
	font-weight: var(--l-fw-3);
	line-height: 1;
}

/* hero: tekst nad duzym oknem programu na szerokosc tresci (szersze niz kolumna tekstu) */
.l-start { padding: 72px 0 80px; background: var(--l-powierzchnia); }
.l-start-tekst { text-align: center; }
.l-start-tekst .l-wiodacy { max-width: 760px; margin-left: auto; margin-right: auto; }
.l-start-tekst .l-przyciski { justify-content: center; }
.l-start h1 { max-width: 900px; margin: 0 auto 20px; }
.l-start-okno { max-width: 1368px; margin: 48px auto 0; padding: 0 var(--l-margines); }

/* funkcje: slajdy; bez JS jeden pod drugim, z JS (klasa l-pokaz-js) scena przyklejona, slajd na wysokosc okna */
.l-funkcje { padding-bottom: 88px; }
.l-funkcje .l-sekcja-naglowek { margin-bottom: 24px; }
.l-pokaz { max-width: 1368px; margin: 0 auto; padding: 0 var(--l-margines); }
.l-pokaz-postep { display: none; }
.l-pokaz-slajdy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; }
.l-slajd-naglowek { display: grid; grid-template-columns: auto minmax(0, auto) minmax(0, 1fr); align-items: end; gap: 8px 32px; margin-bottom: 16px; }
.l-slajd-numer { font-family: var(--l-font-mono); font-size: var(--l-fs-maly); font-weight: var(--l-fw-mono-nadtytul); letter-spacing: .12em; color: var(--wgsm-blekit-ciemny); padding-bottom: 4px; }
.l-slajd-tytul .l-nadtytul { margin-bottom: 4px; }
.l-slajd-tytul h3 { font-size: 26px; line-height: 1.2; font-weight: var(--l-fw-3); }
.l-slajd-naglowek p { margin: 0; max-width: 560px; justify-self: end; color: var(--l-tekst-2); font-size: 15px; line-height: 1.5; }
.l-slajd .l-okno { width: 100%; }
.l-legenda { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 24px; margin: 16px 0 0; padding: 0; list-style: none; }
.l-legenda li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--l-tekst); }
.l-legenda-nr { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 3px; background: var(--wgsm-grafit); color: #FFFFFF; font-family: var(--l-font-mono); font-size: 13px; font-weight: var(--l-fw-3); line-height: 1; }

/* slajd z telefonem: zrzut po lewej, opis po prawej */

/* tryb prezentacji (pokaz.js, okno >= 1024 px, bez ograniczenia ruchu) */
.l-pokaz-js { position: relative; height: calc(var(--l-pokaz-n) * 85vh + 100vh); }
.l-pokaz-js .l-pokaz-scena {
	position: sticky;
	top: var(--l-wys-paska);
	height: calc(100vh - var(--l-wys-paska));
	display: flex;
	flex-direction: column;
	padding: 12px 0 20px;
	--l-pokaz-obraz-h: calc(100vh - var(--l-wys-paska) - 262px);
}
.l-pokaz-js .l-pokaz-postep { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0 0 16px; padding: 0; list-style: none; border-bottom: 1px solid var(--l-linia-mocna); }
.l-pokaz-postep a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px 10px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--l-tekst-3); font-size: var(--l-fs-maly); font-weight: var(--l-fw-2); text-decoration: none; }
.l-pokaz-postep a:hover { color: var(--l-tekst); }
.l-pokaz-postep-nr { font-family: var(--l-font-mono); font-size: 12px; font-weight: var(--l-fw-mono-nadtytul); letter-spacing: .08em; }
.l-pokaz-postep a[aria-current="step"] { color: var(--l-tekst); border-bottom-color: var(--wgsm-blekit-ciemny); }
.l-pokaz-postep a[aria-current="step"] .l-pokaz-postep-nr { color: var(--wgsm-blekit-ciemny); }
.l-pokaz-js .l-pokaz-slajdy { position: relative; flex: 1 1 auto; display: block; }
/* slajd "Na telefonie": trzy ekrany telefonu w rzedzie; wysokosc ekranu --l-tel-h (w prezentacji z wysokosci okna) */
.l-telefony { --l-tel-h: 560px; display: flex; justify-content: center; align-items: flex-end; gap: 48px; padding: 14px 14px 0; }
.l-telefon { margin: 0; flex: 0 0 auto; text-align: center; }
.l-telefon-ramka { position: relative; border: 1px solid var(--l-linia-mocna); border-top-width: 16px; border-radius: 22px; background: var(--l-tlo); overflow: visible; }
.l-telefon-ramka img { display: block; height: calc(var(--l-tel-h) * .9); width: auto; border-radius: 0 0 20px 20px; }
.l-telefon-srodek .l-telefon-ramka img { height: var(--l-tel-h); }
.l-telefon-nr { position: absolute; left: -12px; top: -28px; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; background: var(--wgsm-grafit); color: #fff; font-family: var(--l-font-mono); font-size: 13px; font-weight: 700; }
.l-telefon figcaption { margin-top: 10px; font-size: var(--l-fs-maly); font-weight: 600; color: var(--wgsm-grafit); }
.l-slajd-telefon .l-legenda { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.l-pokaz-js .l-telefony { --l-tel-h: calc(var(--l-pokaz-obraz-h) - 56px); }
.l-pokaz-js .l-telefon-nr { opacity: 0; transition: opacity .25s ease; }
.l-pokaz-js .l-slajd-aktywny .l-telefon-nr { opacity: 1; transition-delay: .3s; }
.l-pokaz-js .l-slajd {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(32px);
	transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.l-pokaz-js .l-slajd.l-slajd-poprzedni { transform: translateY(-32px); }
.l-pokaz-js .l-slajd.l-slajd-aktywny { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease, visibility 0s; }
.l-pokaz-js .l-slajd .l-okno { width: min(100%, calc(var(--l-pokaz-obraz-h) * var(--l-proporcja) + 2px)); margin: 0 auto; }
.l-pokaz-js .l-znacznik { opacity: 0; transform: scale(.96); transition: opacity .25s ease, transform .25s ease; }
.l-pokaz-js .l-slajd-aktywny .l-znacznik { opacity: 1; transform: none; transition-delay: .3s; }
.l-pokaz-js .l-slajd-aktywny .l-znacznik:nth-of-type(2) { transition-delay: .38s; }
.l-pokaz-js .l-slajd-aktywny .l-znacznik:nth-of-type(3) { transition-delay: .46s; }
.l-pokaz-js .l-slajd-aktywny .l-znacznik:nth-of-type(4) { transition-delay: .54s; }
.l-pokaz-tor { position: absolute; left: 0; width: 1px; pointer-events: none; }

/* KSeF: biale tlo, blekitna kreska nad blokiem tekstu, zrzut obok */
/* KSeF: tekst, pod nim powiekszony wycinek listy faktur (kolumny numer, stan KSeF, kontrahent) */
.l-ksef { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.l-ksef-tekst { max-width: 760px; padding-top: 24px; border-top: 4px solid var(--wgsm-blekit); }
.l-ksef-tekst .l-wiodacy { margin-top: 14px; }
.l-ksef-obraz { width: 100%; max-width: 900px; }
.l-ksef-obraz picture, .l-ksef-obraz img { display: block; width: 100%; height: auto; }
.l-lista { margin: 20px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--wgsm-szary-jasny); }
.l-lista li { padding: 12px 0; border-top: 1px solid var(--wgsm-szary-jasny); color: var(--l-tekst-2); font-size: 15px; }

/* nowosci: tytul po lewej, lista po prawej */
.l-nowosci { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.l-nowosci-lista { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--l-linia-mocna); }
.l-nowosci-lista li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--l-linia-mocna); }
.l-nowosci-lista p { margin: 0; color: var(--l-tekst); }
.l-etykieta { font-family: var(--l-font-mono); font-size: var(--l-fs-nadtytul); font-weight: var(--l-fw-mono-nadtytul); letter-spacing: .1em; color: var(--wgsm-blekit-ciemny); line-height: 2.1; }
.l-dalej { display: inline-block; margin-top: 20px; font-weight: var(--l-fw-2); }

/* jak zaczac: trzy karty z numerem mono */
.l-kroki { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.l-kroki li { padding: 24px; border: 1px solid var(--wgsm-szary-jasny); border-radius: var(--l-r-duzy); background: var(--l-powierzchnia); }
.l-numer { display: block; margin-bottom: 12px; font-family: var(--l-font-mono); font-size: var(--l-fs-maly); font-weight: var(--l-fw-mono-nadtytul); letter-spacing: .12em; color: var(--wgsm-blekit-ciemny); }
.l-kroki h3 { margin-bottom: 8px; }
.l-kroki p { margin: 0; color: var(--l-tekst-2); }
.l-uwagi { max-width: 820px; margin-top: 32px; color: var(--l-tekst-2); }
.l-uwagi p:last-child { margin-bottom: 0; }

/* FAQ: details w bialych kartach */
.l-faq { display: grid; gap: 12px; max-width: 820px; }
.l-faq details { border: 1px solid var(--wgsm-szary-jasny); border-radius: var(--l-r-duzy); background: var(--l-powierzchnia); }
.l-faq summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	font-family: var(--l-font-naglowki);
	font-size: var(--l-fs-wiodacy);
	font-weight: var(--l-fw-2);
	cursor: pointer;
	list-style: none;
}
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: "+"; flex: none; font-family: var(--l-font-mono); font-weight: var(--l-fw-1); color: var(--l-tekst-3); }
.l-faq details[open] summary::after { content: "\2212"; }
.l-faq details p { margin: 0; padding: 0 20px 18px; color: var(--l-tekst-2); }

/* kontakt */
.l-kontakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.l-kontakt .l-wiodacy { margin-top: 14px; }
.l-dane { margin: 0; padding: 24px; border: 1px solid var(--wgsm-szary-jasny); border-radius: var(--l-r-duzy); background: var(--l-powierzchnia); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 16px; }
.l-dane dt { font-size: var(--l-fs-maly); font-weight: var(--l-fw-2); color: var(--l-tekst-2); }
.l-dane dd { margin: 0; }

/* stopka */
.l-stopka { padding: 32px 0; background: var(--l-pasek); color: var(--l-pasek-tekst); font-size: var(--l-fs-maly); }
.l-stopka-wnetrze { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.l-stopka ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.l-stopka a { color: var(--l-pasek-tekst); }
.l-stopka a:hover { color: #FFFFFF; }
.l-stopka a:focus-visible { outline-color: var(--l-fokus-ciemne); }

/* ---------- mniejsze ekrany ---------- */
/* instrukcja KSeF (instrukcja-ksef.php) i jej skrot w sekcji KSeF strony glownej */
.l-instr-naglowek h1 { margin-bottom: 16px; }
.l-instr-naglowek .l-wiodacy { max-width: 760px; }
.l-instr-spis ol { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 48px; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--wgsm-szary-jasny); counter-reset: krok; }
.l-instr-spis li { counter-increment: krok; font-weight: var(--l-fw-2); }
.l-instr-spis li::before { content: "0" counter(krok) " "; font-family: var(--l-font-mono); font-size: 12px; color: var(--wgsm-blekit-ciemny); }
.l-instr-kroki-lista { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; }
.l-instr-krok { scroll-margin-top: calc(var(--l-wys-paska) + 16px); }
.l-instr-tresc { max-width: 820px; margin-bottom: 20px; color: var(--l-tekst-2); }
.l-instr-tresc p { margin: 0 0 12px; }
.l-instr-tresc .l-lista { margin-top: 8px; }
.l-instr-kroki { margin: 0 0 12px; padding-left: 22px; }
.l-instr-kroki li { margin-bottom: 4px; }
.l-instr-okno { margin: 0 auto; }
.l-instr-legenda { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1040px; margin: 16px auto 0; }
.l-instr-problemy { max-width: 900px; margin-top: 80px; padding-top: 24px; border-top: 4px solid var(--wgsm-blekit); }
.l-instr-dl { margin: 20px 0 0; }
.l-instr-dl dt { font-weight: var(--l-fw-2); margin-top: 16px; }
.l-instr-dl dd { margin: 4px 0 0; color: var(--l-tekst-2); }
.l-ksef-skrot { padding-top: 8px; }
.l-ksef-skrot h3 { margin-bottom: 16px; }
.l-ksef-skrot .l-kroki { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.l-ksef-skrot .l-kroki li { padding: 18px; }
.l-ksef-skrot .l-ramka { max-width: 904px; margin-top: 24px; }
@media (max-width: 1080px) {
	.l-ksef-skrot .l-kroki { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.l-legenda { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.l-slajd-naglowek { grid-template-columns: auto minmax(0, 1fr); }
	.l-slajd-naglowek p { grid-column: 1 / -1; justify-self: start; max-width: 720px; }
	.l-pokaz-js .l-pokaz-scena { --l-pokaz-obraz-h: calc(100vh - var(--l-wys-paska) - 330px); }
	.l-znacznik span { width: 20px; height: 20px; font-size: 11px; }
}
@media (max-width: 980px) {
	:root { --l-fs-h1: 40px; --l-fs-h2: 28px; }
	.l-ksef, .l-nowosci, .l-kontakt { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.l-kroki { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.l-sekcja { padding: 64px 0; }
}
@media (max-width: 767px) {
	.l-instr-legenda { grid-template-columns: minmax(0, 1fr); }
	.l-ksef-skrot .l-kroki { grid-template-columns: minmax(0, 1fr); }
	.l-instr-kroki-lista { gap: 48px; }
	.l-telefony { --l-tel-h: 480px; justify-content: flex-start; gap: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 14px 14px 4px; }
	.l-slajd-telefon .l-legenda { grid-template-columns: minmax(0, 1fr); }
	.l-start-okno { margin-top: 32px; }
	.l-funkcje { padding-bottom: 48px; }
	.l-pokaz-slajdy { gap: 48px; }
	.l-slajd-naglowek { display: block; margin-bottom: 12px; }
	.l-slajd-numer { display: block; margin-bottom: 8px; padding: 0; }
	.l-slajd-tytul h3 { font-size: 22px; }
	.l-slajd-naglowek p { margin-top: 8px; }
	.l-okno-przewijanie { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.l-okno-przewijanie .l-okno-obraz { min-width: 720px; }
	.l-znacznik span { width: 20px; height: 20px; font-size: 11px; }
	.l-legenda { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
}
@media (max-width: 720px) {
	:root { --l-fs-h1: 32px; --l-fs-h2: 26px; --l-fs-wiodacy: 17px; --l-margines: 16px; }
	html { scroll-padding-top: 16px; }
	.l-naglowek { position: static; }
	.l-naglowek-wnetrze { flex-wrap: wrap; gap: 8px 16px; padding-top: 12px; padding-bottom: 8px; }
	.l-naglowek .l-przycisk { margin-left: auto; }
	.l-nawigacja { order: 3; flex-basis: 100%; }
	.l-nawigacja ul { gap: 0 16px; }
	.l-start { padding: 40px 0 48px; }
	.l-sekcja { padding: 48px 0; }
	.l-sekcja-naglowek { margin-bottom: 28px; }
	.l-nowosci-lista li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.l-dane { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.l-dane dd + dt { margin-top: 10px; }
	.l-przyciski .l-przycisk { flex: 1 1 100%; }
}
