/*
Theme Name: Listawo
Template: twentytwentyfive
Description: Motyw potomny Twenty Twenty-Five dla landing page Listawo.
Version: 5.3.0
Requires at least: 6.7
Text Domain: listawo
*/

/*
 * Kolory z logo: niebieski #0067FF i grafit #121423.
 * Sekcje na przemian białe i jasnoniebieskie, karty z lekkim cieniem,
 * żeby bloki wyraźnie się od siebie odcinały.
 */

:root {
	--lp-ink: var(--wp--preset--color--contrast);
	--lp-text: #2b3044;
	--lp-blue: var(--wp--preset--color--accent-1);
	--lp-tint: var(--wp--preset--color--accent-2);
	--lp-blue-dark: var(--wp--preset--color--accent-3);
	--lp-muted: var(--wp--preset--color--accent-4);
	--lp-gray: var(--wp--preset--color--accent-5);
	--lp-line: var(--wp--preset--color--accent-6);
	--lp-field: #c3cad6;
	--lp-error: #b42318;
	--lp-radius: 8px;
	--lp-radius-lg: 14px;
	--lp-shadow: 0 1px 2px rgb(18 20 35 / 0.05), 0 4px 16px rgb(18 20 35 / 0.06);
	--lp-shadow-lg: 0 2px 4px rgb(18 20 35 / 0.04), 0 16px 40px rgb(0 60 150 / 0.12);
	--lp-section-y: clamp(3.25rem, 2.5rem + 4vw, 6rem);
	--lp-focus: 0 0 0 3px rgb(0 103 255 / 0.3);
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	color: var(--lp-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

:where(a, button, input, textarea, summary):focus-visible {
	outline: none;
	box-shadow: var(--lp-focus);
}

/* ---------- Sekcje ---------- */

.lp-main {
	margin-block: 0;
}

.wp-block-post-content > .lp-section,
.lp-main .lp-section {
	margin-block: 0;
	padding-block: var(--lp-section-y);
	scroll-margin-top: 0.5rem;
}

.lp-section h2 {
	font-size: clamp(1.875rem, 1.45rem + 1.8vw, 2.75rem);
}

.lp-section h2 + p {
	margin-top: 0.75rem;
	font-size: 1.125rem;
	color: var(--lp-text);
}

.lp-main .lp-ai,
.lp-main .lp-pricing,
.lp-main .lp-survey {
	background: var(--lp-tint);
}

/* ---------- Nagłówek ---------- */

.lp-header {
	position: relative;
	z-index: 2;
	padding-block: 0.75rem;
	background: var(--wp--preset--color--base);
	box-shadow: 0 1px 0 var(--lp-line);
}

.lp-logo,
.lp-footer__logo {
	margin: 0;
}

.lp-logo img {
	width: 120px;
	height: auto;
}

@media (min-width: 600px) {
	.lp-logo img {
		width: 140px;
	}
}

.lp-header__right {
	gap: 1.5rem;
}

.lp-header__email {
	display: none;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 500;
}

.lp-header__email a {
	color: var(--lp-text);
	text-decoration: none;
}

.lp-header__email a:hover {
	color: var(--lp-blue);
}

@media (min-width: 700px) {
	.lp-header__email {
		display: block;
	}
}

.lp-header .wp-block-button .wp-block-button__link {
	padding: 0.5rem 1rem;
	font-size: 0.9375rem;
}

/* Przyciski z obrysem (nagłówek, cennik) */
.lp-main .is-style-outline .wp-block-button__link:not(:hover):not(:focus),
.lp-header .is-style-outline .wp-block-button__link:not(:hover):not(:focus) {
	border: 1.5px solid var(--lp-blue);
	background: transparent;
	color: var(--lp-blue);
}

/* ---------- Hero (niebieski, w kolorze logo) ---------- */

.lp-main .lp-hero {
	position: relative;
	overflow: hidden;
	padding-block: 2.75rem 3.5rem;
	background: linear-gradient(160deg, #1a7bff 0%, var(--lp-blue) 45%, #0049c4 100%);
	color: #fff;
}

/* Paski z logo jako duży, delikatny motyw w tle. */
.lp-main .lp-hero::before {
	content: "";
	position: absolute;
	right: -5rem;
	bottom: -4rem;
	width: 30rem;
	height: 23rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 260' fill='%23fff'%3E%3Crect width='340' height='60' rx='30'/%3E%3Crect y='100' width='260' height='60' rx='30'/%3E%3Crect y='200' width='180' height='60' rx='30'/%3E%3C/svg%3E") no-repeat center / contain;
	opacity: 0.08;
	pointer-events: none;
}

.lp-hero > * {
	position: relative;
}

.lp-hero .lp-hero__cols {
	gap: 2.5rem;
}

@media (min-width: 782px) {
	.lp-main .lp-hero {
		padding-block: 5rem 6rem;
	}

	.lp-main .lp-hero::before {
		right: -4rem;
		bottom: -6rem;
		width: 44rem;
		height: 34rem;
	}

	.lp-hero .lp-hero__cols {
		gap: 4rem;
	}

	.lp-hero .lp-hero__cols > .wp-block-column:first-child {
		flex: 1 1 52%;
	}

	.lp-hero .lp-hero__cols > .wp-block-column:last-child {
		flex: 1 1 48%;
	}
}

.lp-hero h1 {
	margin: 0;
	color: #fff;
}

.lp-lead {
	margin-top: 1.125rem;
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	line-height: 1.6;
	color: #dce8ff;
}

.lp-cta {
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.lp-cta .wp-block-button,
.lp-cta .wp-block-button__link {
	width: 100%;
}

@media (min-width: 600px) {
	.lp-cta .wp-block-button,
	.lp-cta .wp-block-button__link {
		width: auto;
	}
}

.lp-cta .wp-block-button__link {
	padding: 1rem 2rem;
}

.lp-main .lp-hero .lp-cta__main .wp-block-button__link {
	background: #fff;
	color: var(--lp-blue);
	box-shadow: 0 8px 20px rgb(0 30 90 / 0.25);
}

.lp-main .lp-hero .lp-cta__main .wp-block-button__link:hover,
.lp-main .lp-hero .lp-cta__main .wp-block-button__link:focus {
	background: var(--lp-tint);
	color: var(--lp-blue-dark);
}

.lp-main .lp-hero .lp-cta__alt .wp-block-button__link:not(:hover):not(:focus),
.lp-main .lp-hero .lp-cta__alt .wp-block-button__link {
	border: 1.5px solid rgb(255 255 255 / 0.7);
	background: transparent;
	color: #fff;
}

.lp-main .lp-hero .lp-cta__alt .wp-block-button__link:hover,
.lp-main .lp-hero .lp-cta__alt .wp-block-button__link:focus {
	border-color: #fff;
	background: rgb(255 255 255 / 0.12);
	color: #fff;
}

.lp-hero .lp-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
	color: #eaf2ff;
}

.lp-facts > li {
	position: relative;
	margin: 0;
	padding-left: 1.625rem;
}

.lp-facts > li::before {
	content: "";
	position: absolute;
	top: 0.2rem;
	left: 0;
	width: 1.125rem;
	height: 1.125rem;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 10.5 3 3 6-7'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* Demo: karta oferty, którą AI wypełnia po kolei przy wejściu na stronę. */

.lp-demo {
	/* Tempo animacji: odstęp między polami, czas wypełniania pola, moment "Gotowe". */
	--lp-step: 1.3s;
	--lp-dur: 0.8s;
	--lp-done: 6.5s;
	max-width: 31rem;
	margin-inline: auto;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	color: var(--lp-text);
	box-shadow: 0 30px 60px rgb(0 25 80 / 0.35), 0 0 0 1px rgb(255 255 255 / 0.25);
	font-size: 0.875rem;
	line-height: 1.45;
	text-align: left;
}

.lp-demo__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.875rem 1.125rem;
	border-bottom: 1px solid var(--lp-line);
}

.lp-demo__bar b {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1rem;
	color: var(--lp-ink);
}

.lp-demo__status {
	position: relative;
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}

.lp-demo__working {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	color: var(--lp-blue);
	animation: lp-hide 0s linear var(--lp-done) forwards;
}

.lp-demo__working::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--lp-blue);
	animation: lp-pulse 0.9s ease-in-out infinite;
}

.lp-demo__done {
	position: absolute;
	top: 0;
	right: 0;
	color: #15803d;
	opacity: 0;
	animation: lp-show 0.3s ease var(--lp-done) forwards;
}

.lp-demo__done::before {
	content: "\2713  ";
}

.lp-demo__body {
	display: grid;
	grid-template-columns: 4rem 1fr;
	gap: 1rem;
	padding: 1.125rem;
}

@media (min-width: 420px) {
	.lp-demo__body {
		grid-template-columns: 5rem 1fr;
	}
}

.lp-demo__photo {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border-radius: 12px;
	background: var(--lp-tint);
}

.lp-demo__photo svg {
	width: 65%;
	height: auto;
}

.lp-demo__fields {
	display: grid;
	gap: 0.75rem;
	min-width: 0;
}

.lp-demo__field small {
	display: block;
	margin-bottom: 0.125rem;
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--lp-muted);
}

.lp-demo__field > span {
	display: block;
	border-radius: 4px;
	font-weight: 500;
	color: var(--lp-ink);
	animation: lp-fill var(--lp-dur) ease both;
	animation-delay: calc(var(--d) * var(--lp-step) + 0.3s);
}

.lp-demo__field > .lp-demo__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	animation-name: lp-fade;
}

.lp-demo__chips i {
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	background: var(--lp-tint);
	color: var(--lp-blue-dark);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 600;
}

.lp-demo__foot {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.875rem 1.125rem;
	border-top: 1px solid var(--lp-line);
	background: var(--lp-gray);
}

.lp-demo__ai {
	padding: 0.125rem 0.4rem;
	border-radius: 4px;
	background: var(--lp-ink);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
}

.lp-demo__hint {
	flex: 1;
	font-size: 0.75rem;
	color: var(--lp-muted);
}

.lp-demo__btn {
	padding: 0.5rem 0.875rem;
	border-radius: 8px;
	background: var(--lp-blue);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	animation: lp-ready 0.4s ease var(--lp-done) both;
}

.lp-demo__btn:hover {
	background: var(--lp-blue-dark);
	color: #fff;
}

@media (max-width: 400px) {
	.lp-demo__hint {
		display: none;
	}

	.lp-demo__btn {
		margin-left: auto;
	}
}

@keyframes lp-fill {
	from {
		background: var(--lp-line);
		color: transparent;
	}

	to {
		background: transparent;
		color: var(--lp-ink);
	}
}

@keyframes lp-fade {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes lp-hide {
	to {
		visibility: hidden;
		opacity: 0;
	}
}

@keyframes lp-show {
	to {
		opacity: 1;
	}
}

@keyframes lp-pulse {
	50% {
		opacity: 0.3;
	}
}

@keyframes lp-ready {
	from {
		opacity: 0.5;
	}

	to {
		opacity: 1;
		box-shadow: 0 0 0 4px rgb(0 103 255 / 0.18);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lp-demo *,
	.lp-demo *::before {
		animation: none !important;
	}

	.lp-demo__working {
		display: none;
	}

	.lp-demo__done {
		position: static;
		opacity: 1;
	}
}

/* ---------- Co obsługuje Listawo ---------- */

.lp-scope .lp-scope__cols {
	gap: 1.25rem;
	margin-top: 1.75rem;
}

.lp-scope__cols > .wp-block-column {
	padding: 1.5rem;
	border-radius: var(--lp-radius-lg);
}

.lp-scope__cols > .lp-scope__yes {
	background: var(--lp-tint);
}

.lp-scope__cols > .lp-scope__no {
	border: 1px dashed #c3cad6;
	background: var(--wp--preset--color--base);
}

.lp-scope__cols h3 {
	margin: 0;
	font-size: 1.1875rem;
}

.lp-scope__cols .lp-support {
	margin-top: 0.75rem;
}

.lp-scope__cols .lp-support > li:first-child {
	border-top: 0;
}

.lp-scope__cols > .wp-block-column > .lp-scope__note {
	margin-top: 1rem;
	font-size: 0.875rem;
	color: var(--lp-text);
}

.lp-support {
	margin-top: 1rem;
	padding: 0;
	list-style: none;
}

.lp-support > li {
	position: relative;
	margin: 0;
	padding: 0.6875rem 0 0.6875rem 2.125rem;
	border-top: 1px solid var(--lp-line);
	font-weight: 500;
	color: var(--lp-ink);
}

.lp-support > li::before {
	content: "";
	position: absolute;
	top: 0.8125rem;
	left: 0;
	width: 1.375rem;
	height: 1.375rem;
	border-radius: 50%;
	background: var(--lp-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 10.5 3 3 6-7'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.lp-support > li.is-no {
	color: var(--lp-muted);
	font-weight: 400;
}

.lp-support > li.is-no::before {
	background: var(--lp-gray) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23525A6E' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 10h8'/%3E%3C/svg%3E") center / 100% no-repeat;
	box-shadow: inset 0 0 0 1px var(--lp-line);
}


/* ---------- AI ---------- */

.lp-ai-list {
	display: grid;
	gap: 1rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.lp-ai-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}
}

.lp-ai-list > li {
	position: relative;
	margin: 0;
	padding: 1.375rem 1.375rem 1.375rem 4.5rem;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius-lg);
	background: var(--wp--preset--color--base);
	box-shadow: var(--lp-shadow);
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--lp-text);
}

.lp-ai-list > li::before {
	content: "";
	position: absolute;
	top: 1.375rem;
	left: 1.375rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 10px;
	background: var(--lp-tint) center / 1.25rem no-repeat;
}

.lp-ai-list > li:nth-child(1)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230067FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h7l2 2h9v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Z'/%3E%3Cpath d='M3 7V5a1 1 0 0 1 1-1h5l2 2'/%3E%3C/svg%3E");
}

.lp-ai-list > li:nth-child(2)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230067FF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
}

.lp-ai-list > li:nth-child(3)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230067FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E");
}

.lp-ai-list > li:nth-child(4)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230067FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
}

.lp-ai-list strong {
	display: block;
	margin-bottom: 0.25rem;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.1875rem;
	font-weight: 700;
	color: var(--lp-ink);
}

/* ---------- Jak przejść (kroki połączone linią) ---------- */

.lp-steps {
	display: grid;
	gap: 1.75rem;
	margin: 2.25rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: lp-step;
}

.lp-steps > li {
	position: relative;
	margin: 0;
	padding-left: 4rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	counter-increment: lp-step;
}

.lp-steps > li::before {
	content: counter(lp-step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--lp-blue);
	color: #fff;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.125rem;
	font-weight: 700;
	box-shadow: 0 0 0 6px var(--lp-tint);
}

/* Linia łącząca kroki: pionowa na telefonie. */
.lp-steps > li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 3.25rem;
	bottom: -1.5rem;
	left: 1.3125rem;
	width: 2px;
	background: var(--lp-line);
}

.lp-steps strong {
	display: block;
	margin-bottom: 0.25rem;
	padding-top: 0.5rem;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.1875rem;
	font-weight: 700;
	color: var(--lp-ink);
}

@media (min-width: 782px) {
	.lp-how > .lp-steps {
		max-width: var(--wp--style--global--wide-size);
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	.lp-steps > li {
		padding: 4rem 0.5rem 0;
		text-align: center;
	}

	.lp-steps > li::before {
		left: 50%;
		transform: translateX(-50%);
	}

	/* Pozioma linia od kółka do kółka. */
	.lp-steps > li:not(:last-child)::after {
		top: 1.375rem;
		bottom: auto;
		left: calc(50% + 2rem);
		width: calc(100% + 2rem - 4rem);
		height: 2px;
	}

	.lp-steps strong {
		padding-top: 0;
	}
}

/* ---------- Cennik ---------- */

.lp-plans {
	display: grid;
	gap: 1.5rem;
	margin-top: 2.25rem;
}

.lp-plans > * {
	margin-block: 0;
}

@media (min-width: 700px) {
	.lp-plans {
		grid-template-columns: repeat(2, 1fr);
		align-items: stretch;
		gap: 1.25rem;
	}
}

@media (min-width: 1100px) {
	.lp-plans {
		grid-template-columns: repeat(4, 1fr);
	}
}

.lp-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.75rem 1.5rem 1.5rem;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius-lg);
	background: var(--wp--preset--color--base);
	box-shadow: var(--lp-shadow);
}

.lp-plan > * {
	margin: 0;
}

.lp-plan h3 {
	font-size: 1.25rem;
}

.lp-plan--featured {
	border: 2px solid var(--lp-blue);
	box-shadow: var(--lp-shadow-lg);
}

.lp-plan__badge {
	position: absolute;
	top: -0.8125rem;
	left: 1.5rem;
	padding: 0.1875rem 0.75rem;
	border-radius: 999px;
	background: var(--lp-blue);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
}

.lp-plan > .lp-plan__price {
	margin-top: 0.5rem;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 2.5rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
	color: var(--lp-ink);
}

.lp-plan__price span {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.9375rem;
	font-weight: 400;
	color: var(--lp-muted);
}

.lp-plan > .lp-plan__list {
	flex: 1;
	margin-top: 1.25rem;
	padding: 0;
	border-top: 1px solid var(--lp-line);
	list-style: none;
}

.lp-plan__list > li {
	position: relative;
	margin: 0;
	padding: 0.625rem 0 0.625rem 1.625rem;
	border-bottom: 1px solid var(--lp-line);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.lp-plan__list > li:last-child {
	border-bottom: 0;
}

.lp-plan__list > li::before {
	content: "";
	position: absolute;
	top: 0.9375rem;
	left: 0.125rem;
	width: 0.75rem;
	height: 0.4rem;
	border-bottom: 2px solid var(--lp-blue);
	border-left: 2px solid var(--lp-blue);
	transform: rotate(-45deg);
}

.lp-plan > .lp-plan__cta {
	margin-top: 1.25rem;
}

.lp-plan__cta .wp-block-button,
.lp-plan__cta .wp-block-button__link {
	width: 100%;
}

.lp-section > .lp-pricing__note {
	margin-top: 1.5rem;
	font-size: 0.9375rem;
	color: var(--lp-muted);
}

/* ---------- FAQ ---------- */

.lp-faq .wp-block-details {
	margin: 0.75rem 0 0;
	padding: 1.125rem 1.25rem;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius-lg);
	background: var(--wp--preset--color--base);
}

.lp-faq h2 + .wp-block-details {
	margin-top: 1.75rem;
}

.lp-faq summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	font-weight: 600;
	color: var(--lp-ink);
	list-style: none;
	cursor: pointer;
}

.lp-faq summary::-webkit-details-marker {
	display: none;
}

.lp-faq summary::after {
	content: "+";
	flex: none;
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1.1;
	color: var(--lp-blue);
}

.lp-faq details[open] summary::after {
	content: "\2212";
}

.lp-faq .wp-block-details > p {
	margin-top: 0.625rem;
	color: var(--lp-text);
}

/* ---------- Zapis (ciemna sekcja) ---------- */

.lp-main .lp-signup {
	background: var(--lp-ink);
	color: #fff;
}

.lp-signup h2 {
	color: #fff;
}

.lp-section.lp-signup h2 + p {
	color: #d3d7e2;
}

.lp-signup .lp-form-card {
	margin-top: 1.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
}

.lp-signup .lp-field label {
	color: #fff;
}

.lp-signup .lp-consent label,
.lp-signup .lp-legal {
	color: #d3d7e2;
}

.lp-signup .lp-legal a {
	color: #fff;
}

.lp-signup .lp-form input[type="email"] {
	border-color: transparent;
}

.lp-signup .lp-form .wpcf7-not-valid-tip {
	color: #ffb4ab;
}

.lp-signup .lp-form input.wpcf7-not-valid {
	border-color: #ffb4ab;
}

/* ---------- Karta formularza (ankieta) ---------- */

.lp-form-card {
	margin-top: 1.75rem;
	padding: 1.375rem;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius-lg);
	background: var(--wp--preset--color--base);
	box-shadow: var(--lp-shadow-lg);
	color: var(--lp-text);
}

@media (min-width: 600px) {
	.lp-form-card {
		padding: 2.25rem;
	}
}

.lp-form-card > * {
	margin-block: 0;
}

/* ---------- Kontakt ---------- */

.lp-section > .lp-contact__email {
	margin-top: 1.25rem;
}

.lp-contact__email a {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
	font-weight: 600;
	color: var(--lp-blue);
	text-decoration: none;
}

.lp-contact__email a:hover {
	text-decoration: underline;
}

.lp-section > .lp-contact__phone {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	color: var(--lp-muted);
}

.lp-contact__phone a {
	color: var(--lp-muted);
}

/* ---------- Formularze Contact Form 7 ---------- */

.lp-form-card .wpcf7 form {
	margin: 0;
}

.lp-form {
	display: grid;
	gap: 1.25rem;
}

.lp-form *,
.lp-form *::before,
.lp-form *::after {
	box-sizing: border-box;
}

.lp-form p {
	margin: 0;
}

.lp-form [hidden] {
	display: none !important;
}

.lp-field {
	display: grid;
	gap: 0.375rem;
}

.lp-field label,
.lp-q legend {
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--lp-ink);
}

.lp-field label span,
.lp-q legend span {
	display: block;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--lp-muted);
}

.lp-form .wpcf7-form-control-wrap {
	display: block;
}

.lp-form input[type="email"],
.lp-form input[type="text"],
.lp-form input[type="tel"],
.lp-form textarea {
	width: 100%;
	min-height: 3.25rem;
	padding: 0.875rem 1rem;
	border: 1px solid var(--lp-field);
	border-radius: var(--lp-radius);
	background: var(--wp--preset--color--base);
	color: var(--lp-ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
}

.lp-form input::placeholder,
.lp-form textarea::placeholder {
	color: #8a91a2;
}

.lp-form input[type="email"]:focus,
.lp-form input[type="text"]:focus,
.lp-form input[type="tel"]:focus,
.lp-form textarea:focus {
	border-color: var(--lp-blue);
	outline: none;
	box-shadow: var(--lp-focus);
}

.lp-form .wpcf7-submit {
	width: 100%;
	min-height: 3.375rem;
	padding: 0.875rem 1.25rem;
	border: 0;
	border-radius: var(--lp-radius);
	background: var(--lp-blue);
	color: #fff;
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 600;
	cursor: pointer;
}

.lp-form .wpcf7-submit:hover,
.lp-form .wpcf7-submit:focus-visible {
	background: var(--lp-blue-dark);
}

.wpcf7 form.submitting .wpcf7-submit {
	opacity: 0.7;
	cursor: progress;
}

.lp-form .wpcf7-spinner {
	display: none;
}

/* Zgoda */

.lp-consent .wpcf7-list-item {
	display: block;
	margin: 0;
}

.lp-consent label {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--lp-muted);
	cursor: pointer;
}

.lp-consent input[type="checkbox"] {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	accent-color: var(--lp-blue);
}

.lp-legal {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--lp-muted);
}

/* Odpowiedzi w ankiecie: duże pola do klikania palcem. */

.lp-q {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.lp-form--survey .lp-q + .lp-q,
.lp-form--survey .lp-q + .lp-field {
	padding-top: 1.25rem;
	border-top: 1px solid var(--lp-line);
}

.lp-q legend {
	margin-bottom: 0.875rem;
	padding: 0;
}

.lp-q .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.lp-q .wpcf7-list-item {
	margin: 0;
}

.lp-q .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.875rem;
	padding: 0.5rem 0.9375rem;
	border: 1px solid var(--lp-field);
	border-radius: var(--lp-radius);
	background: var(--wp--preset--color--base);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--lp-ink);
	cursor: pointer;
}

.lp-q .wpcf7-list-item label:hover {
	border-color: var(--lp-blue);
}

.lp-q .wpcf7-list-item label:has(input:checked) {
	border-color: var(--lp-blue);
	background: var(--lp-tint);
	color: var(--lp-blue-dark);
	box-shadow: inset 0 0 0 1px var(--lp-blue);
}

.lp-q .wpcf7-list-item label:focus-within {
	box-shadow: var(--lp-focus);
}

.lp-q input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	margin: 0;
	accent-color: var(--lp-blue);
}

.lp-q input[type="checkbox"]:focus-visible {
	box-shadow: none;
}

/* Komunikaty CF7 */

.lp-form .wpcf7-not-valid-tip {
	margin-top: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--lp-error);
}

.lp-form input.wpcf7-not-valid {
	border-color: var(--lp-error);
}

.lp-form-card .wpcf7 form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.875rem 1rem;
	border: 0;
	border-radius: var(--lp-radius);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
}

.lp-form-card .wpcf7 form.sent .wpcf7-response-output {
	background: #dcfce7;
	color: #14532d;
}

.lp-form-card .wpcf7 form.invalid .wpcf7-response-output,
.lp-form-card .wpcf7 form.unaccepted .wpcf7-response-output {
	background: #fef3c7;
	color: #713f12;
}

.lp-form-card .wpcf7 form.failed .wpcf7-response-output,
.lp-form-card .wpcf7 form.aborted .wpcf7-response-output,
.lp-form-card .wpcf7 form.spam .wpcf7-response-output {
	background: #fee4e2;
	color: #7a271a;
}

/* ---------- Ankieta krok po kroku (włącza ją assets/landing.js) ---------- */

.lp-form--survey.is-stepped .lp-q,
.lp-form--survey.is-stepped .lp-q + .lp-field {
	padding-top: 0;
	border-top: 0;
}

.lp-step-final {
	display: grid;
	gap: 1.25rem;
}

.lp-progress {
	display: grid;
	gap: 0.5rem;
}

.lp-progress__text {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--lp-muted);
}

.lp-progress__bar {
	height: 6px;
	overflow: hidden;
	border-radius: 3px;
	background: var(--lp-line);
}

.lp-progress__bar i {
	display: block;
	height: 100%;
	background: var(--lp-blue);
	transition: width 0.25s ease;
}

.lp-stepnav {
	display: flex;
	gap: 0.75rem;
}

.lp-stepnav button {
	min-height: 3.25rem;
	padding: 0.75rem 1.25rem;
	border-radius: var(--lp-radius);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.lp-stepnav__next {
	flex: 1;
	border: 0;
	background: var(--lp-blue);
	color: #fff;
}

.lp-stepnav__next:hover {
	background: var(--lp-blue-dark);
}

.lp-stepnav__back {
	border: 1px solid var(--lp-field);
	background: var(--wp--preset--color--base);
	color: var(--lp-ink);
}

.lp-stepnav:has(.lp-stepnav__next[hidden]) .lp-stepnav__back {
	flex: 1;
}

.lp-step-error {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--lp-error);
}

.lp-form--survey.is-done > * {
	display: none;
}

.lp-form legend:focus,
.lp-form label:focus {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.lp-progress__bar i {
		transition: none;
	}
}

/* ---------- Zwykłe strony (np. polityka prywatności) ---------- */

.lp-main.lp-page {
	padding-block: 2.5rem 4rem;
}

.lp-page h1 {
	font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
}

.lp-page h2 {
	margin-top: 2.5rem;
	font-size: 1.375rem;
}

/* ---------- Stopka ---------- */

.lp-footer {
	padding-block: 2.5rem 6.5rem;
	border-top: 1px solid var(--lp-line);
	background: var(--wp--preset--color--base);
	color: var(--lp-muted);
	font-size: 0.875rem;
}

.lp-footer p {
	margin: 0;
}

.lp-footer__inner > * + * {
	margin-top: 1rem;
}

.lp-footer__logo img {
	width: 110px;
	height: auto;
}

.lp-footer__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

.lp-footer a {
	color: var(--lp-ink);
}

.lp-footer a:hover {
	color: var(--lp-blue);
}

.lp-footer__note {
	font-size: 0.8125rem;
}

@media (min-width: 782px) {
	.lp-footer {
		padding-bottom: 2.5rem;
	}
}

/* ---------- Przycisk przyklejony do dołu (tylko telefon) ---------- */

.lp-sticky {
	position: fixed;
	right: 1rem;
	bottom: calc(1rem + env(safe-area-inset-bottom));
	left: 1rem;
	z-index: 50;
	margin: 0 !important;
	visibility: hidden;
	transform: translateY(150%);
	transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.lp-sticky.is-visible {
	visibility: visible;
	transform: none;
	transition: transform 0.25s ease;
}

.lp-sticky .wp-block-button,
.lp-sticky .wp-block-button__link {
	width: 100%;
}

.lp-sticky .wp-block-button__link {
	padding-block: 0.9375rem;
	box-shadow: 0 8px 24px rgb(18 20 35 / 0.3);
}

@media (min-width: 782px) {
	.wp-block-buttons.lp-sticky {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lp-sticky {
		transition: none;
	}
}

/* W edytorze przycisk jest widoczny w stopce, żeby dało się go edytować. */
.editor-styles-wrapper .lp-sticky {
	position: static;
	display: flex;
	visibility: visible;
	transform: none;
	padding: 1rem;
}

/* Sekcje z szeroką siatką (kroki, cennik): wyśrodkowany nagłówek nad kartami. */
.lp-scope > h2,
.lp-ai > h2,
.lp-ai > h2 + p,
.lp-section.lp-ai > .lp-ai__more,
.lp-how > h2,
.lp-how > h2 + p,
.lp-pricing > h2,
.lp-pricing > h2 + p,
.lp-section.lp-pricing > .lp-pricing__note {
	text-align: center;
}

/* Plan Custom: ciemna karta dla dużych sprzedawców, wyraźna, ale inna niż polecany Standard. */
.lp-plan.lp-plan--custom {
	border-color: var(--lp-ink);
	background: var(--lp-ink);
	color: #d3d7e2;
	box-shadow: var(--lp-shadow-lg);
}

.lp-plan--custom h3,
.lp-plan--custom > .lp-plan__price {
	color: #fff;
}

.lp-plan--custom > .lp-plan__price {
	font-size: 1.875rem;
	line-height: 1.33;
}

.lp-plan--custom > .lp-plan__list {
	border-top-color: rgb(255 255 255 / 0.15);
}

.lp-plan--custom .lp-plan__list > li {
	border-bottom-color: rgb(255 255 255 / 0.15);
	color: #e3e7f0;
}

.lp-plan--custom .lp-plan__list > li::before {
	border-color: #6aa6ff;
}

.lp-main .lp-plan--custom .wp-block-button__link:not(:hover):not(:focus),
.lp-main .lp-plan--custom .wp-block-button__link {
	border: 0;
	background: #fff;
	color: var(--lp-ink);
}

.lp-main .lp-plan--custom .wp-block-button__link:hover,
.lp-main .lp-plan--custom .wp-block-button__link:focus {
	background: var(--lp-tint);
	color: var(--lp-ink);
}

/* AI i narzędzia: 3 kolumny na szerokim ekranie. */
@media (min-width: 1000px) {
	.lp-ai > .lp-ai-list {
		max-width: var(--wp--style--global--wide-size);
		grid-template-columns: repeat(3, 1fr);
	}
}

.lp-ai-list > li:nth-child(5)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230067FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2v14a2 2 0 0 0 2 2h14'/%3E%3Cpath d='M18 22V8a2 2 0 0 0-2-2H2'/%3E%3C/svg%3E");
}

.lp-ai-list > li:nth-child(6)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230067FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E");
}

.lp-section.lp-ai > .lp-ai__more {
	margin-top: 1.5rem;
	font-size: 0.9375rem;
	color: var(--lp-muted);
}

/* Na telefonie animacja jest wolniejsza. */
@media (max-width: 781px) {
	.lp-demo {
		--lp-step: 3s;
		--lp-dur: 1s;
		--lp-done: 13.5s;
	}
}

/* Animacja czeka, aż karta pojawi się na ekranie (klasę ustawia landing.js). */
.lp-demo.is-waiting,
.lp-demo.is-waiting *,
.lp-demo.is-waiting *::before {
	animation-play-state: paused !important;
}
