/**
 * Conversion landing pages (page-landing.php).
 * Paid traffic: one clear promise, one clear action, form visible without scrolling.
 */

.lp-h2 {
	font-size: clamp(1.25rem, 2.4vw, 1.6rem);
	margin: 0 0 0.75rem;
	color: var(--foreground);
}

.lp-lead {
	margin: 0 0 1.25rem;
	max-width: 62ch;
	color: var(--muted-foreground);
	line-height: 1.65;
}

.lp-section { padding-block: 2.5rem; }
.lp-band { background: var(--muted, #F4F5F3); }

/* ---------- Hero ---------- */

.lp-hero {
	background: var(--blueprint, #111820);
	color: #fff;
	padding-block: 2.5rem 3rem;
}

/* Photo hero. The image is laid over the brand navy at low opacity rather than
   being darkened by a heavy gradient - the same treatment .page-hero-bg uses
   elsewhere on the site, so the hero reads as brand colour with texture instead
   of a near-black block. */
.lp-hero.has-bg {
	position: relative;
	overflow: hidden;
}

.lp-hero.has-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--lp-hero-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.22;
	pointer-events: none;
}

/* Keep the copy and the form above the image layer. */
.lp-hero.has-bg > .container {
	position: relative;
	z-index: 1;
}

.lp-hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2rem;
	align-items: start;
}

.lp-eyebrow {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent-lime, #C7DC00);
	margin: 0 0 0.6rem;
}

.lp-headline {
	margin: 0 0 0.75rem;
	font-size: clamp(1.6rem, 4vw, 2.5rem);
	line-height: 1.25;
	color: #fff;
	text-wrap: balance;
}

/* Second headline line: forced onto its own row so the timing promise always
   reads as a separate statement, regardless of viewport width. Same colour as
   the first line - the split is for readability, not emphasis. */
.lp-headline-2 {
	display: block;
}

.lp-subhead {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.65;
	color: #d6dade;
	max-width: 52ch;
}

.lp-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.lp-fact {
	flex: 1 1 190px;
	padding: 0.85rem 1rem;
	border: 1px solid #2a333c;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
}

.lp-fact-label {
	display: block;
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #aab2ba;
}

.lp-fact-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--accent-lime, #C7DC00);
	line-height: 1.2;
	margin-top: 0.15rem;
}

.lp-fact-note {
	display: block;
	font-size: 0.72rem;
	color: #aab2ba;
	margin-top: 0.25rem;
	line-height: 1.4;
}

.lp-badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.lp-badges li {
	font-size: 0.75rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	border: 1px solid #3a444e;
	color: #d6dade;
}

/* ---------- Form ---------- */

.lp-form {
	background: var(--background);
	border-radius: 14px;
	padding: 1.5rem;
	box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.45);
	display: grid;
	gap: 0.75rem;
}

.lp-form-title { margin: 0; font-size: 1.15rem; color: var(--foreground); }
.lp-form-note { margin: 0 0 0.25rem; font-size: 0.82rem; color: var(--muted-foreground); line-height: 1.5; }

.lp-form label { display: block; }
.lp-form label > span { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.25rem; }

.lp-form input[type="text"],
.lp-form input[type="tel"],
.lp-form input[type="email"],
.lp-form textarea {
	width: 100%;
	padding: 0.6rem 0.7rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	font: inherit;
	font-size: 0.9rem;
	background: var(--background);
	color: var(--foreground);
}

.lp-form input:focus-visible,
.lp-form textarea:focus-visible {
	outline: 2px solid var(--accent-lime, #C7DC00);
	outline-offset: 1px;
	border-color: transparent;
}

.lp-file input[type="file"] { font-size: 0.8rem; width: 100%; }
.lp-file em { font-style: normal; font-weight: 400; color: var(--muted-foreground); }
.lp-file-hint { display: block; font-size: 0.72rem; color: var(--muted-foreground); margin-top: 0.25rem; }

.lp-submit {
	font: inherit;
	font-size: 1rem;
	font-weight: 800;
	padding: 0.8rem 1.25rem;
	border: 0;
	border-radius: 8px;
	background: var(--accent-lime, #C7DC00);
	color: var(--blueprint, #111820);
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.lp-submit:hover { opacity: 0.88; }
.lp-submit:focus-visible { outline: 3px solid var(--blueprint, #111820); outline-offset: 2px; }

.lp-form-legal { margin: 0; font-size: 0.72rem; color: var(--muted-foreground); text-align: center; }

/* ---------- Content blocks ---------- */

.lp-pain {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.6rem;
	max-width: 70ch;
}

.lp-pain li {
	position: relative;
	padding-inline-start: 1.4rem;
	line-height: 1.6;
	color: var(--foreground);
}

.lp-pain li::before {
	content: "-";
	position: absolute;
	inset-inline-start: 0;
	color: var(--accent-lime-text, oklch(0.55 0.15 118));
	font-weight: 700;
}

.lp-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.lp-cards li {
	background: var(--background);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.1rem;
}

.lp-cards strong { display: block; font-size: 1rem; margin-bottom: 0.35rem; color: var(--foreground); }
.lp-cards span { display: block; font-size: 0.88rem; line-height: 1.6; color: var(--muted-foreground); }

.lp-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.lp-steps li {
	border-inline-start: 3px solid var(--accent-lime, #C7DC00);
	padding-inline-start: 1rem;
}

.lp-step-num {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: var(--blueprint, #111820);
	color: var(--accent-lime, #C7DC00);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.lp-steps strong { display: block; font-size: 1rem; margin-bottom: 0.25rem; }
.lp-steps span { display: block; font-size: 0.88rem; line-height: 1.6; color: var(--muted-foreground); }

/* Qualification */
.lp-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.lp-fit-yes, .lp-fit-no { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }

.lp-fit-yes li {
	position: relative;
	padding-inline-start: 1.6rem;
	line-height: 1.6;
}

.lp-fit-yes li::before {
	content: "✓";
	position: absolute;
	inset-inline-start: 0;
	color: var(--accent-lime-text, oklch(0.55 0.15 118));
	font-weight: 800;
}

.lp-fit-no li {
	background: var(--background);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0.75rem 0.85rem;
}

.lp-fit-no strong { display: block; font-size: 0.92rem; }
.lp-fit-no span { display: block; font-size: 0.82rem; color: var(--muted-foreground); margin: 0.15rem 0 0.35rem; line-height: 1.5; }
.lp-fit-no a { font-size: 0.8rem; font-weight: 700; color: var(--accent-lime-text, oklch(0.55 0.15 118)); text-decoration: none; }
.lp-fit-no a:hover { text-decoration: underline; }

/* Proof */
.lp-cases {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}

.lp-cases a { text-decoration: none; display: block; }
.lp-cases img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; margin-bottom: 0.5rem; }
.lp-cases strong { font-size: 0.9rem; color: var(--foreground); line-height: 1.4; }

/* FAQ */
.lp-faq { display: grid; gap: 0.5rem; max-width: 75ch; }

.lp-faq details {
	background: var(--background);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0.85rem 1rem;
}

.lp-faq summary {
	cursor: pointer;
	font-weight: 700;
	font-size: 0.95rem;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--accent-lime-text, oklch(0.55 0.15 118)); font-weight: 800; }
.lp-faq details[open] summary::after { content: "-"; }
.lp-faq p { margin: 0.6rem 0 0; font-size: 0.9rem; line-height: 1.65; color: var(--muted-foreground); }

/* Closing form */
.lp-close-inner { max-width: 560px; margin-inline: auto; }
.lp-close .lp-form { border: 1px solid var(--border); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.lp-hero-grid { grid-template-columns: 1fr; }
	.lp-fit { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
	.lp-hero { padding-block: 1.75rem 2rem; }
	.lp-form { padding: 1.15rem; }
	.lp-cases img { height: 130px; }
}
