/**
 * Lead Audit Engine — front-end stylesheet.
 *
 * ORGANISATION — please keep to it.
 * One component, one place. Every rule for a component, including its
 * responsive rules, lives in that component's section. Do not append new blocks
 * to the end of the file: that is how a stylesheet accumulates three separate
 * media queries for the same thing and an older block silently wins the
 * cascade. Before adding a rule, search for the selector; if it exists, edit it.
 *
 * BREAKPOINTS
 *   780px — navigation collapses to the Menu button
 *   640px — everything else: grids, spacing, page order
 * There are exactly two. Adding a third needs a reason.
 *
 * COLOUR
 * Everything derives from the custom properties LAE_Brand emits in wp_head, so
 * changing the brand colour in settings restyles the whole site.
 */

/* ── Tokens ─────────────────────────────────────────────── */

:root {
	--lae-ink: #14181d;
	--lae-ink-soft: #4a5560;
	--lae-line: #e2e6ea;
	--lae-bg-alt: #f6f8f9;
	--lae-shell: 1080px;
	--lae-radius: 10px;
}

/* ── Base ───────────────────────────────────────────────── */

body.lae-page {
	margin: 0;
	color: var(--lae-ink);
	background: #fff;
	font: 17px/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.lae-page * { box-sizing: border-box; }

.lae-page h1,
.lae-page h2,
.lae-page h3 {
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin: 0 0 12px;
}

.lae-page h1 { font-size: 40px; font-weight: 800; }
.lae-page h2 { font-size: 27px; font-weight: 700; }
.lae-page h3 { font-size: 19px; font-weight: 700; }
.lae-page p  { margin: 0 0 16px; }

.lae-page a { color: var(--lae-brand-dark, #0b5c55); }

@media (max-width: 640px) {
	body.lae-page { font-size: 16px; }
	.lae-page h1 { font-size: 31px; }
	.lae-page h2 { font-size: 23px; }
}

.lae-shell {
	width: 100%;
	max-width: var(--lae-shell);
	margin: 0 auto;
	padding: 0 20px;
}

.lae-narrow { max-width: 720px; }

.lae-main { display: block; }

.lae-skip {
	position: absolute;
	left: -9999px;
}

.lae-skip:focus {
	left: 12px;
	top: 12px;
	z-index: 100;
	background: #fff;
	padding: 10px 14px;
	border-radius: 6px;
}

/* ── Buttons ────────────────────────────────────────────── */

.lae-btn {
	display: inline-block;
	padding: 13px 22px;
	border-radius: var(--lae-radius);
	background: var(--lae-brand, #0F766E);
	color: var(--lae-on-brand, #fff);
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	border: 2px solid var(--lae-brand, #0F766E);
}

.lae-btn:hover { background: var(--lae-brand-dark, #0b5c55); border-color: var(--lae-brand-dark, #0b5c55); }

.lae-btn-ghost {
	background: transparent;
	color: var(--lae-brand-dark, #0b5c55);
	border-color: var(--lae-line);
}

.lae-btn-ghost:hover { background: var(--lae-brand-tint, #eef7f6); border-color: var(--lae-brand-light, #8fc9c3); }

.lae-btn-sm { padding: 9px 15px; font-size: 14.5px; }

/* ── Header ─────────────────────────────────────────────── */

/* The header's rules live in the "Header" section further down, added when it
 * was rebuilt in v1.1.4. The original block sat here and was never removed —
 * so both existed, eleven hundred lines apart, and any property the newer block
 * did not restate was still being decided by the older one.
 *
 * That is the same fault that put two plus signs on every FAQ row and white
 * text on a white button: appending a replacement instead of replacing. One
 * definition per thing. */

/* ── Hero ───────────────────────────────────────────────── */


.lae-hero h1 { max-width: 16ch; }

.lae-hero-sub {
	font-size: 19px;
	color: var(--lae-ink-soft);
	max-width: 58ch;
	margin-bottom: 26px;
}


@media (max-width: 640px) {
	.lae-hero { padding: 40px 0 34px; }
	.lae-hero h1 { max-width: none; }
	.lae-hero-sub { font-size: 17px; }
	.lae-hero-actions .lae-btn { flex: 1 1 100%; text-align: center; }
}

/* ── Sections ───────────────────────────────────────────── */

.lae-section { padding: 54px 0; }
.lae-section-alt { background: var(--lae-bg-alt); }

@media (max-width: 640px) {
	.lae-section { padding: 36px 0; }
}

/* ── Points list ────────────────────────────────────────── */

.lae-points {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
}

.lae-points li {
	background: #fff;
	border: 1px solid var(--lae-line);
	border-radius: var(--lae-radius);
	padding: 18px;
}

.lae-points strong { display: block; margin-bottom: 5px; }
.lae-points span { color: var(--lae-ink-soft); font-size: 15.5px; }

/* ── Packages ───────────────────────────────────────────── */

.lae-packages {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 18px;
	margin-top: 22px;
}

.lae-package {
	border: 1px solid var(--lae-line);
	border-radius: var(--lae-radius);
	padding: 22px;
	background: #fff;
}

.lae-package.is-featured { border-color: var(--lae-brand, #0F766E); border-width: 2px; }

.lae-package-price {
	font-size: 33px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 6px 0 4px;
}

.lae-package-price span { font-size: 15px; font-weight: 600; color: var(--lae-ink-soft); }
.lae-package-for { color: var(--lae-ink-soft); font-size: 15.5px; }

.lae-package ul { margin: 14px 0 0; padding-left: 18px; }
.lae-package li { margin-bottom: 7px; font-size: 15.5px; }

.lae-admin-note {
	border: 1px dashed var(--lae-line);
	border-radius: var(--lae-radius);
	padding: 14px 16px;
	color: var(--lae-ink-soft);
}

/* ── Process ────────────────────────────────────────────── */

.lae-process {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
	list-style: none;
	counter-reset: lae-step;
	margin: 22px 0 0;
	padding: 0;
}

.lae-process li {
	background: #fff;
	border: 1px solid var(--lae-line);
	border-radius: var(--lae-radius);
	padding: 20px;
}

.lae-process-week {
	display: block;
	font-size: 12.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--lae-brand-dark, #0b5c55);
	margin-bottom: 6px;
}

.lae-process strong { display: block; margin-bottom: 6px; }
.lae-process span { color: var(--lae-ink-soft); font-size: 15.5px; }

/* ── FAQ ────────────────────────────────────────────────── */

.lae-faq { margin-top: 18px; }


/* The marker is drawn by the .lae-faq-mark span further down, not here.
 *
 * This block used to draw one with summary::after as well, so every question
 * carried two plus signs at two different points on the flex row. The span
 * version animates the vertical stroke away on open instead of swapping one
 * character for another, and it is aria-hidden, so a screen reader is not told
 * "plus" before every question. */

.lae-faq p { color: var(--lae-ink-soft); margin: 0 0 16px; }

/* ── CTA band ───────────────────────────────────────────── */

.lae-cta {
	background: var(--lae-brand, #0F766E);
	color: var(--lae-on-brand, #fff);
	padding: 48px 0;
}

.lae-cta h2 { color: inherit; }
.lae-cta p { color: inherit; opacity: 0.94; max-width: 62ch; }
.lae-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }

/* Inverted on the brand band: white fill, dark text.
 *
 * Declared important because a.lae-btn's colour is. Once one rule in a pair is
 * important, its variant has to be too — otherwise this kept its white
 * background and inherited white text, which is exactly what happened. */
.lae-cta a.lae-btn,
.lae-cta a.lae-btn:visited {
	background: #fff !important;
	color: var(--lae-brand-dark, #0b5c55) !important;
	border-color: #fff !important;
}

.lae-cta a.lae-btn:hover,
.lae-cta a.lae-btn:focus {
	background: rgba(255, 255, 255, 0.9) !important;
	color: var(--lae-brand-dark, #0b5c55) !important;
}

.lae-cta a.lae-btn-ghost,
.lae-cta a.lae-btn-ghost:visited,
.lae-cta a.lae-btn-ghost:hover {
	background: transparent !important;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.5) !important;
}

.lae-cta .lae-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

@media (max-width: 640px) {
	.lae-cta { padding: 34px 0; }
	.lae-cta-actions .lae-btn { flex: 1 1 100%; text-align: center; }
}

/* ── Footer ─────────────────────────────────────────────── */

.lae-footer {
	background: #12171c;
	color: #c3ccd4;
	padding: 46px 0 96px;
	font-size: 15px;
}

.lae-footer-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 26px;
}

.lae-footer h2 {
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #8c98a4;
	margin-bottom: 10px;
}

.lae-footer ul { list-style: none; margin: 0; padding: 0; }
.lae-footer li { margin-bottom: 8px; }
.lae-footer a { color: #e3e9ee; text-decoration: none; }
.lae-footer a:hover { text-decoration: underline; }

.lae-footer-legal {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #262e36;
	font-size: 13.5px;
	color: #8c98a4;
}

.lae-footer-legal p { margin: 0 0 6px; }
.lae-footer-address { white-space: normal; }

/* Footer padding above accounts for the sticky bar so the last line is never
   hidden behind it on a phone. */

/* ── Sticky mobile bar ──────────────────────────────────── */

.lae-sticky { display: none; }

@media (max-width: 780px) {
	.lae-sticky {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		border-top: 1px solid var(--lae-line);
		background: #fff;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		gap: 8px;
	}

	.lae-sticky a {
		flex: 1;
		text-align: center;
		padding: 12px 8px;
		border-radius: 8px;
		font-weight: 700;
		font-size: 15.5px;
		text-decoration: none;
	}

	.lae-sticky-call { background: var(--lae-brand, #0F766E); color: var(--lae-on-brand, #fff); }
	.lae-sticky-wa { background: var(--lae-brand-tint, #eef7f6); color: var(--lae-brand-dark, #0b5c55); }
}

/* ── Sub-page hero ──────────────────────────────────────── */

.lae-hero-sub-page { padding: 48px 0 40px; }
.lae-hero-sub-page h1 { max-width: 20ch; }

@media (max-width: 640px) {
	.lae-hero-sub-page { padding: 32px 0 28px; }
}

/* ── Lead paragraph ─────────────────────────────────────── */

.lae-lead { font-size: 18px; color: var(--lae-ink-soft); max-width: 68ch; }

@media (max-width: 640px) {
	.lae-lead { font-size: 16.5px; }
}

/* ── Sourced statistics ─────────────────────────────────── */

.lae-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
	list-style: none;
	margin: 26px 0;
	padding: 0;
}

.lae-stats li {
	border-left: 3px solid var(--lae-brand, #0F766E);
	padding: 4px 0 4px 14px;
}

.lae-stats strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.lae-stats span { display: block; color: var(--lae-ink-soft); font-size: 15px; }
.lae-stats cite { display: block; font-size: 12.5px; color: #6b7480; font-style: normal; margin-top: 4px; }

/* ── Comparison table ───────────────────────────────────── */

.lae-compare {
	margin-top: 22px;
	border: 1px solid var(--lae-line);
	border-radius: var(--lae-radius);
	overflow: hidden;
	background: #fff;
}

.lae-compare-row {
	display: grid;
	grid-template-columns: 1fr 1.3fr 1.3fr;
	gap: 0;
	border-bottom: 1px solid var(--lae-line);
}

.lae-compare-row:last-child { border-bottom: 0; }

.lae-compare-row > div { padding: 14px 16px; font-size: 15.5px; }

.lae-compare-point { font-weight: 700; }
.lae-compare-bad { color: var(--lae-ink-soft); border-left: 1px solid var(--lae-line); }

.lae-compare-good {
	border-left: 1px solid var(--lae-line);
	background: var(--lae-brand-tint, #eef7f6);
	font-weight: 600;
}

.lae-compare-money {
	margin-top: 18px;
	font-size: 17px;
	font-weight: 600;
	max-width: 70ch;
}

@media (max-width: 640px) {
	.lae-compare-row { grid-template-columns: 1fr; }
	.lae-compare-row > div { padding: 10px 14px; }
	.lae-compare-point { background: var(--lae-bg-alt); padding-bottom: 8px; }
	.lae-compare-bad,
	.lae-compare-good { border-left: 0; }
	.lae-compare-bad::before { content: "Renting: "; font-weight: 700; }
	.lae-compare-good::before { content: "Owning: "; font-weight: 700; }
}

/* ── Tick list ──────────────────────────────────────────── */

.lae-ticks { list-style: none; margin: 20px 0 0; padding: 0; }

.lae-ticks li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 11px;
	font-size: 16.5px;
}

.lae-ticks li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 8px;
	width: 11px;
	height: 6px;
	border-left: 2.5px solid var(--lae-brand, #0F766E);
	border-bottom: 2.5px solid var(--lae-brand, #0F766E);
	transform: rotate(-45deg);
}

.lae-ticks-neutral li::before {
	border-color: #b7c0c9;
	transform: none;
	top: 11px;
	width: 10px;
	height: 0;
	border-left: 0;
	border-bottom: 2.5px solid #b7c0c9;
}

/* ── Sub-trade cards ────────────────────────────────────── */

.lae-subtrades {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
	margin-top: 22px;
}

.lae-subtrade {
	background: #fff;
	border: 1px solid var(--lae-line);
	border-radius: var(--lae-radius);
	padding: 20px;
}

.lae-subtrade p { color: var(--lae-ink-soft); font-size: 15.5px; margin: 0; }

/* ── Contact cards ──────────────────────────────────────── */

.lae-contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
}

.lae-contact-card {
	display: block;
	border: 1px solid var(--lae-line);
	border-radius: var(--lae-radius);
	padding: 22px;
	text-decoration: none;
	color: var(--lae-ink);
	background: #fff;
}

.lae-contact-card:hover { border-color: var(--lae-brand, #0F766E); }

.lae-contact-card h2 {
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--lae-ink-soft);
	margin-bottom: 6px;
}

.lae-contact-value { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.lae-contact-card p:last-child { color: var(--lae-ink-soft); font-size: 15px; margin: 0; }

.lae-contact-card-primary {
	background: var(--lae-brand-tint, #eef7f6);
	border-color: var(--lae-brand-light, #8fc9c3);
}

/* ── Legal prose ────────────────────────────────────────── */

.lae-prose h2 { font-size: 21px; margin-top: 32px; }
.lae-prose ul { padding-left: 20px; }
.lae-prose li { margin-bottom: 8px; }

.lae-prose-block {
	background: var(--lae-bg-alt);
	border-radius: var(--lae-radius);
	padding: 16px 18px;
	line-height: 1.7;
}

.lae-prose-updated { color: #6b7480; font-size: 14px; margin-top: 30px; }

/* ── Proof strip ────────────────────────────────────────── */

.lae-proof { background: var(--lae-brand-tint, #eef7f6); }

.lae-muted-small { font-size: 14px; color: var(--lae-ink-soft); margin-top: 16px; }
.lae-muted-small a { margin-left: 6px; }

/* ── Research cards ─────────────────────────────────────── */

.lae-research-card { text-decoration: none; color: inherit; display: block; }
.lae-research-card:hover { border-color: var(--lae-brand, #0F766E); }
.lae-research-card h3 { margin-bottom: 8px; }

/* ── Focus ──────────────────────────────────────────────── */

/* See the note in lae-report.css. :focus-visible only, so the ring appears for
   keyboard navigation and not on every mouse click. */

.lae-btn:focus-visible,
.lae-nav a:focus-visible,
.lae-nav-toggle:focus-visible,
.lae-brand:focus-visible,
.lae-header-tel:focus-visible,
.lae-footer a:focus-visible,
.lae-faq summary:focus-visible,
.lae-contact-card:focus-visible,
.lae-sticky a:focus-visible {
	outline: 3px solid var(--lae-brand-dark, #0b5c55);
	outline-offset: 2px;
	border-radius: 4px;
}

.lae-cta .lae-btn:focus-visible,
.lae-footer a:focus-visible {
	outline-color: #fff;
}

/* ── Public tools ───────────────────────────────────────── */

.lae-check-form {
	display: flex;
	gap: 10px;
	margin: 20px 0 0;
	flex-wrap: wrap;
}

.lae-check-form input {
	flex: 1 1 260px;
	padding: 14px 15px;
	border: 2px solid var(--lae-line);
	border-radius: var(--lae-radius);
	font: inherit;
	font-size: 17px;
}

.lae-check-form input:focus-visible {
	outline: none;
	border-color: var(--lae-brand, #0F766E);
}

.lae-check-form .lae-btn { flex: 0 0 auto; cursor: pointer; }

.lae-check-error {
	margin-top: 12px;
	padding: 11px 13px;
	border-radius: 8px;
	background: #fdecea;
	color: #8d2018;
}


.lae-check-score-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.lae-check-score-head span { font-weight: 700; word-break: break-all; }
.lae-check-score-head strong { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.lae-check-score-head small { font-size: 15px; font-weight: 600; color: var(--lae-ink-soft); }

.lae-check-score .lae-bar { height: 8px; background: #fff; border-radius: 5px; overflow: hidden; margin: 12px 0 10px; }
.lae-check-score .lae-bar i { display: block; height: 100%; background: var(--lae-brand, #0F766E); transition: width .3s; }

.lae-check-summary { margin: 0; font-weight: 600; }

.lae-finding {
	border: 1px solid var(--lae-line);
	border-left: 4px solid var(--lae-line);
	border-radius: 10px;
	padding: 16px 18px;
	margin-bottom: 12px;
}

/* Severity colours.
 *
 * #b3730d and #7d8790 rather than the lighter pair they replaced: WCAG AA asks
 * 3:1 of non-text UI components, and the originals managed 2.8 and 2.5. The
 * same three values drive the icon, the card border and the dial arc, so a
 * finding cannot end up with an icon and a border disagreeing about how serious
 * it is. */
.lae-sev-high { border-left-color: #c0392b; }
.lae-sev-medium { border-left-color: #b3730d; }
.lae-sev-low { border-left-color: #7d8790; }


.lae-finding-cost { margin: 0 0 10px; color: var(--lae-ink-soft); }
.lae-finding-fix { margin: 0; font-weight: 600; }

.lae-check-next {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--lae-line);
}

.lae-check-note { margin-top: 12px; font-size: 15px; color: var(--lae-ink-soft); }

.lae-schema-form label { display: block; font-weight: 600; font-size: 14.5px; margin: 16px 0 5px; }

.lae-schema-form input,
.lae-schema-form select {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--lae-line);
	border-radius: 8px;
	font: inherit;
	font-size: 16px;
}

.lae-schema-out {
	background: #12171c;
	color: #d7e0e8;
	border-radius: 10px;
	padding: 16px 18px;
	overflow-x: auto;
	font-size: 13.5px;
	line-height: 1.55;
	white-space: pre;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ── Header ─────────────────────────────────────────────── */

/* Not sticky, deliberately: a fixed header costs 60px of a small screen on
   every scroll, and the bottom bar already carries the phone number where a
   thumb rests. */


.lae-brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }

.lae-nav { margin-left: auto; }

.lae-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lae-nav a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--lae-ink);
	font-weight: 600;
	font-size: 15.5px;
	white-space: nowrap;
}

.lae-nav a:hover { background: var(--lae-brand-tint, #eef7f6); }

.lae-nav a[aria-current="page"] {
	color: var(--lae-brand-dark, #0b5c55);
	background: var(--lae-brand-tint, #eef7f6);
}

/* Only in the open mobile menu. */
.lae-nav-tel-item { display: none; }

.lae-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	margin-left: 0;
}

.lae-header-tel {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	text-decoration: none;
	color: var(--lae-ink);
	font-weight: 700;
	white-space: nowrap;
	padding: 8px 4px;
}

.lae-header-tel-icon { display: inline-flex; color: var(--lae-brand, #0F766E); }
.lae-header-tel:hover .lae-header-tel-number { text-decoration: underline; }

.lae-nav-checkbox { display: none; }

.lae-nav-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding: 9px 12px;
	border: 1px solid var(--lae-line);
	border-radius: 9px;
	background: #fff;
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	user-select: none;
}

.lae-nav-toggle-bars,
.lae-nav-toggle-bars::before,
.lae-nav-toggle-bars::after {
	display: block;
	width: 17px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	position: relative;
}

.lae-nav-toggle-bars::before,
.lae-nav-toggle-bars::after { content: ""; position: absolute; left: 0; }

.lae-nav-toggle-bars::before { top: -5px; }
.lae-nav-toggle-bars::after { top: 5px; }

@media (max-width: 1024px) {
	.lae-header-inner { flex-wrap: wrap; gap: 10px; }

	.lae-nav-toggle { display: inline-flex; }

	/* Closed by default; the checkbox opens it with no JavaScript, so the
	   first tap works even while the script is still downloading. */
	.lae-nav {
		display: none;
		order: 10;
		flex: 1 0 100%;
		margin-left: 0;
		border-top: 1px solid var(--lae-line);
		padding-top: 8px;
	}

	.lae-nav-checkbox:checked ~ .lae-nav { display: block; }

	.lae-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.lae-nav a { padding: 13px 8px; border-radius: 0; }
	.lae-nav li + li a { border-top: 1px solid var(--lae-line); }

	.lae-nav-tel-item { display: block; }
	.lae-nav-tel-item a { color: var(--lae-brand-dark, #0b5c55); }

	.lae-header-actions { order: 5; margin-left: 0; }
}

@media (max-width: 560px) {
	/* The number stays visible; the word "Menu" is what goes. */
	.lae-nav-toggle-text { display: none; }
	.lae-nav-toggle { padding: 10px 12px; }
	.lae-header-tel-number { font-size: 15px; }
	.lae-header-actions .lae-btn { padding: 9px 13px; font-size: 14.5px; }
}

@media (max-width: 380px) {
	/* Below this the button and the number cannot both sit on one line
	   without one of them wrapping mid-word. The button goes, because the
	   sticky bar carries the same action. */
	.lae-header-actions .lae-btn { display: none; }
}

/* ── Theme-override hardening ───────────────────────────── */

/* The plugin renders its own document, but wp_head() still emits whatever the
   active theme enqueues. Global styles are dequeued on plugin pages, and these
   rules are the belt to that braces: a themed `a { color: … }` at equal
   specificity would otherwise decide the text colour of a button, which is how
   "Check my website" ended up rendering in dark type on a dark teal fill.

   Element selectors rather than !important, so a later rule can still win on
   merit. */

/* !important on one property, deliberately.
 *
 * Text on a coloured fill either has contrast or it does not; there is no
 * version of this page where a theme should get to decide otherwise. Every
 * other rule here is left to win on merit, and this one is not, because the
 * failure mode is dark type on a dark teal button that nobody can read.
 */
a.lae-btn,
a.lae-btn:visited,
button.lae-btn {
	color: var(--lae-on-brand, #fff) !important;
	background: var(--lae-brand, #0F766E);
	border-color: var(--lae-brand, #0F766E);
	text-decoration: none;
	line-height: 1.2;
}

a.lae-btn:hover,
a.lae-btn:focus {
	color: var(--lae-on-brand, #fff) !important;
	background: var(--lae-brand-dark, #0b5c55);
	border-color: var(--lae-brand-dark, #0b5c55);
}

a.lae-btn-ghost,
a.lae-btn-ghost:visited,
a.lae-btn-ghost:hover {
	background: transparent;
	color: var(--lae-brand-dark, #0b5c55) !important;
	border-color: var(--lae-line);
}

/* The CTA ghost button is defined once, with the CTA band itself. A second
 * definition lived here after the theme-override work and quietly won on
 * colour while losing on background. */

/* Typography, for the same reason. A theme scale of 20px on nav links is what
   pushed the header onto three rows. */

.lae-header .lae-nav a,
.lae-header .lae-header-tel,
.lae-header .lae-nav-toggle {
	font-size: 15.5px;
	line-height: 1.3;
}

.lae-header {
	border-bottom: 1px solid var(--lae-line);
	background: #fff;
	position: relative;
	z-index: 2;
}

/* No fixed height anywhere in the header: if anything does wrap, it has to
   push the page down rather than sit on top of the hero. */
.lae-header-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 0;
	padding-top: 14px;
	padding-bottom: 14px;
}

@media (min-width: 1025px) {
	.lae-header-inner { flex-wrap: nowrap; }
}

/* ── Graphics ───────────────────────────────────────────── */

.lae-icon { flex: 0 0 auto; vertical-align: -0.15em; }

/* Hero */

.lae-hero {
	padding: 68px 0 56px;
	background: linear-gradient(180deg, var(--lae-brand-tint, #eef7f6), #fff);
	position: relative;
	overflow: hidden;
}

.lae-backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	color: var(--lae-brand, #0F766E);
	opacity: 0.055;
	pointer-events: none;
}

.lae-hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
	gap: 48px;
	align-items: center;
}

.lae-hero-copy { min-width: 0; }

.lae-hero-art { min-width: 0; }

.lae-hero-graphic {
	width: 100%;
	height: auto;
	display: block;
	/* A drop shadow rather than a border: the sheet should read as a document
	   sitting on the page, which is what it is. */
	filter: drop-shadow(0 18px 40px rgba(20, 24, 29, 0.13));
	/* Text inside an SVG does not inherit the page font by default in every
	   engine, and "font-family: inherit" on the nodes needs something to
	   inherit from. */
	font-family: inherit;
}

.lae-hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0;
	align-items: center;
}

.lae-hero-actions .lae-btn { display: inline-flex; align-items: center; gap: 8px; }

.lae-hero-reassure {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	font-size: 15px;
	color: var(--lae-ink-soft);
}

.lae-hero-reassure .lae-icon { color: var(--lae-brand, #0F766E); }

@media (max-width: 880px) {
	.lae-hero-grid { grid-template-columns: 1fr; gap: 32px; }

	/* The graphic goes second on a phone: the promise and the button should
	   not be pushed below the fold by a picture of the thing they unlock. */
	.lae-hero-art { order: 2; max-width: 420px; }
}

/* Score dial */

.lae-dial { display: block; }

/* Process */

.lae-process-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: var(--lae-brand-tint, #eef7f6);
	color: var(--lae-brand-dark, #0b5c55);
	margin-bottom: 12px;
}

/* Findings and lists pick up the same icon language */

.lae-finding h3 {
	margin: 0 0 6px;
	font-size: 18px;
	display: flex;
	align-items: flex-start;
	gap: 9px;
}
.lae-finding h3 .lae-icon { margin-top: 3px; }

.lae-sev-high h3 .lae-icon { color: #c0392b; }
.lae-sev-medium h3 .lae-icon { color: #b3730d; }
.lae-sev-low h3 .lae-icon { color: #7d8790; }

@media (prefers-reduced-motion: no-preference) {
	.lae-dial circle { transition: stroke-dasharray .5s ease; }
}

.lae-check-score {
	background: var(--lae-brand-tint, #eef7f6);
	border-radius: 12px;
	padding: 20px 22px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: wrap;
}

.lae-check-score-body { flex: 1 1 240px; min-width: 0; }
.lae-check-domain { font-weight: 700; word-break: break-all; display: block; margin-bottom: 6px; }

/* ── Photography ────────────────────────────────────────── */

.lae-image { max-width: 100%; height: auto; display: block; }

.lae-owner-figure { margin: 0 0 22px; }

.lae-owner-photo {
	width: 180px;
	height: 180px;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid #fff;
	box-shadow: 0 2px 18px rgba(20, 24, 29, 0.12);
}

.lae-owner-figure-sm .lae-owner-photo { width: 120px; height: 120px; }

.lae-figure { margin: 0; }

.lae-figure-img {
	width: 100%;
	border-radius: 14px;
	/* A flat aspect ratio reserved up front, so the page does not jump when
	   the image arrives — the same fault this site marks other people down
	   for. */
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* A hero with a photograph behind it keeps the drawing grid off: two textures
   competing is worse than either. */
.lae-hero.has-image .lae-backdrop { display: none; }

@media (max-width: 600px) {
	.lae-owner-photo { width: 120px; height: 120px; }
	.lae-owner-figure-sm .lae-owner-photo { width: 96px; height: 96px; }
}

/* ── Section rhythm ─────────────────────────────────────── */

/* Eyebrow labels.
 *
 * Both competitors use a small coloured line above every heading, and it is
 * the cheapest scanning aid there is: it tells you what the next block is
 * before you have read a word of the heading. */

.lae-eyebrow {
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--lae-brand-dark, #0b5c55);
	margin: 0 0 8px;
}

/* Trust chips under the hero call to action. */

/* The list reset is stated explicitly on the element as well as the class.
 * With the theme's global styles dequeued, the browser default `ul` styling is
 * what remains, and a horizontal row of chips falling back to a vertical
 * bulleted list is the one place on this page where the unstyled version looks
 * like a mistake rather than like plain text. */
ul.lae-trust {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.lae-trust li {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 15px;
	color: var(--lae-ink-soft);
}

.lae-trust .lae-icon { color: var(--lae-brand, #0F766E); }

/* A dark band.
 *
 * An all-white page reads as flat however good the type is; both competitors
 * break theirs with one dark section. This is the plugin's version — flat
 * colour rather than the radial-gradient blobs they use, because a gradient
 * blob is the exact 2026 cliché the research said gets scrolled past. */

.lae-section-dark {
	background: #12171c;
	color: #e7edf2;
	position: relative;
	overflow: hidden;
}

.lae-section-dark h2,
.lae-section-dark h3 { color: #fff; }
.lae-section-dark p { color: #b9c4cd; }
.lae-section-dark .lae-eyebrow { color: var(--lae-brand-light, #5eead4); }
.lae-section-dark .lae-backdrop { color: #fff; opacity: 0.045; }

.lae-section-dark strong { color: #fff; }

/* Cards.
 *
 * The accent bar on hover is lifted straight from the competitor — it is a
 * good idea and costs three lines. The lift is kept small: a 4px nudge reads
 * as responsive, a 12px one reads as a template. */

.lae-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 26px;
}

.lae-card-item {
	position: relative;
	background: #fff;
	border: 1px solid var(--lae-line);
	border-radius: 14px;
	padding: 24px 22px;
	overflow: hidden;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}

.lae-card-item::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: var(--lae-brand, #0F766E);
	opacity: 0;
	transition: opacity .2s;
}

.lae-card-item:hover {
	border-color: transparent;
	box-shadow: 0 8px 28px rgba(20, 24, 29, 0.09);
	transform: translateY(-4px);
}

.lae-card-item:hover::before { opacity: 1; }

.lae-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--lae-brand-tint, #eef7f6);
	color: var(--lae-brand-dark, #0b5c55);
	margin-bottom: 14px;
}

.lae-card-item h3 { margin: 0 0 8px; font-size: 17.5px; }
.lae-card-item p { margin: 0; color: var(--lae-ink-soft); font-size: 15.5px; }

@media (prefers-reduced-motion: reduce) {
	.lae-card-item { transition: none; }
	.lae-card-item:hover { transform: none; }
}

/* FAQ.
 *
 * <details> rather than a JavaScript accordion: it opens without a script,
 * it is keyboard-operable for free, and the browser handles the ARIA. Both
 * competitors ship a JS accordion to do the same job. */

.lae-faq details {
	border-bottom: 1px solid var(--lae-line);
	padding: 4px 0;
	border: 1px solid var(--lae-line);
	border-radius: 12px;
	margin-bottom: 10px;
	background: #fff;
	overflow: hidden;
}

.lae-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 17px 20px;
	font-weight: 700;
	font-size: 16.5px;
	cursor: pointer;
	list-style: none;
}

.lae-faq summary::-webkit-details-marker { display: none; }
.lae-faq summary:hover { background: var(--lae-brand-tint, #eef7f6); }

.lae-faq summary:focus-visible {
	outline: 3px solid var(--lae-brand-dark, #0b5c55);
	outline-offset: -3px;
}

.lae-faq-mark {
	position: relative;
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
}

.lae-faq-mark::before,
.lae-faq-mark::after {
	content: "";
	position: absolute;
	background: var(--lae-brand-dark, #0b5c55);
	border-radius: 2px;
	transition: transform .2s;
}

.lae-faq-mark::before { inset: 6px 0 6px 0; height: 2px; }
.lae-faq-mark::after { inset: 0 6px 0 6px; width: 2px; }

.lae-faq details[open] .lae-faq-mark::after { transform: scaleY(0); }

.lae-faq details p {
	margin: 0;
	padding: 0 20px 20px;
	color: var(--lae-ink-soft);
	max-width: 74ch;
}

@media (prefers-reduced-motion: reduce) {
	.lae-faq-mark::before,
	.lae-faq-mark::after { transition: none; }
}

/* Cards on the dark band. */

.lae-section-dark .lae-card-item {
	background: rgba(255, 255, 255, 0.045);
	border-color: rgba(255, 255, 255, 0.11);
}

.lae-section-dark .lae-card-item:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: transparent;
	box-shadow: none;
}

.lae-section-dark .lae-card-icon {
	background: rgba(94, 234, 212, 0.13);
	color: var(--lae-brand-light, #5eead4);
}

.lae-section-dark .lae-card-item h3 { color: #fff; }
.lae-section-dark .lae-card-item p { color: #aab6c0; }
.lae-section-dark .lae-shell { position: relative; }

/* ── Evidence ───────────────────────────────────────────── */

.lae-evidence-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
	margin-top: 26px;
}

.lae-evidence-item {
	background: #fff;
	border: 1px solid var(--lae-line);
	border-radius: 14px;
	padding: 22px;
	display: flex;
	flex-direction: column;
}

.lae-evidence-figure {
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--lae-brand-dark, #0b5c55);
	margin: 0 0 10px;
}

.lae-evidence-claim { margin: 0 0 10px; font-weight: 600; font-size: 16px; }

.lae-evidence-detail {
	margin: 0 0 16px;
	font-size: 14.5px;
	color: var(--lae-ink-soft);
}

/* Pushed to the bottom so the source line aligns across cards of different
   heights. It is the part a sceptical reader looks for, so it should be in the
   same place every time. */
.lae-evidence-source {
	margin: auto 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--lae-line);
	font-size: 13.5px;
}

.lae-evidence-source a { color: var(--lae-ink-soft); text-decoration: none; }
.lae-evidence-source a:hover { color: var(--lae-brand-dark, #0b5c55); text-decoration: underline; }
.lae-evidence-year { opacity: 0.7; }

/* ── Service areas ──────────────────────────────────────── */

ul.lae-areas {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.lae-areas li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 15px;
	border: 1px solid var(--lae-line);
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	background: #fff;
}

.lae-areas .lae-icon { color: var(--lae-brand, #0F766E); }
