/* ==========================================================================
   PlateProof — main stylesheet
   ========================================================================== */

@font-face {
	font-family: "Jakarta";
	src: url("../fonts/jakarta-var-latin.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy-950: #07111f;
	--navy-900: #0a1a2f;
	--navy-800: #10243f;
	--navy-700: #1a3557;
	--ink: #0e1726;
	--text: #2b3a4f;
	--muted: #5d6d84;
	--line: #e2e8f0;
	--line-2: #cfd8e5;
	--tint: #f4f7fb;
	--bg: #ffffff;
	--plate: #ffd23f;
	--plate-deep: #f2bd0d;
	--uk-blue: #1f4fd1;
	--green: #0b8a5f;
	--green-bg: #e6f6ef;
	--red: #c93131;
	--red-bg: #fdeded;
	--danger: #8f1027;
	--danger-bg: #fbe3e8;
	--orange: #b8620a;
	--orange-bg: #fff1e0;
	--slate: #43577a;
	--slate-bg: #edf1f8;

	--font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--plate-font: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;

	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(10, 26, 47, .06), 0 1px 1px rgba(10, 26, 47, .04);
	--shadow: 0 10px 30px -12px rgba(10, 26, 47, .22), 0 2px 6px rgba(10, 26, 47, .05);
	--shadow-lg: 0 30px 60px -20px rgba(7, 17, 31, .45);
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--uk-blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.55rem); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--uk-blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--plate); color: var(--ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plate); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0;
	font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--plate { background: var(--plate); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn--plate:hover { background: var(--plate-deep); color: var(--ink); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--plate); padding-bottom: 2px; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand__word { font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; line-height: 1; }
.brand__accent { color: var(--navy-700); position: relative; }
.brand__accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 2px; background: var(--plate); }
.brand--footer { color: #fff; }
.brand--footer .brand__accent { color: #fff; }
.custom-logo-link img { max-height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem;
}
.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a { background: var(--tint); }
.site-nav .menu .current-menu-item > a { color: var(--navy-700); }
.site-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); opacity: .55; margin-left: 2px;
}
.site-nav .sub-menu {
	position: absolute; top: calc(100% + 6px); left: -8px; min-width: 250px; list-style: none; margin: 0; padding: 8px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease;
}
.site-nav .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 10px 12px; font-weight: 600; }
.site-nav__cta { margin-left: 10px; min-height: 44px; padding: 0 18px; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; place-items: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s ease; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1000px) {
	.nav-toggle { display: grid; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0; z-index: 49; margin: 0; padding: 16px var(--gutter) 32px;
		flex-direction: column; align-items: stretch; gap: 16px; background: #fff; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; align-items: stretch; }
	.site-nav .menu a { padding: 14px 8px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.site-nav .sub-menu a { font-weight: 500; font-size: 1rem; }
	.site-nav .menu-item-has-children > a::after { display: none; }
	.site-nav__cta { margin: 8px 0 0; width: 100%; }
}

/* ---------- UK plate ---------- */
.uk-plate {
	display: inline-flex; align-items: stretch; background: var(--plate); border-radius: 7px; overflow: hidden;
	border: 2px solid #111; box-shadow: var(--shadow-sm); color: #111;
}
.uk-plate__band { display: grid; place-items: center; background: var(--uk-blue); color: #fff; font-weight: 800; font-size: .7rem; letter-spacing: .04em; padding: 0 6px; }
.uk-plate__reg { font-family: var(--plate-font); font-weight: 700; letter-spacing: .06em; padding: 3px 10px; font-size: 1.05rem; white-space: nowrap; }
.uk-plate--sm .uk-plate__reg { font-size: .98rem; }

/* ---------- MOT plate form (markup from PlateProof Core) ---------- */
.pp-form { width: 100%; max-width: 620px; }
.pp-form__row {
	display: flex; align-items: stretch; gap: 8px; padding: 8px; background: #fff; border-radius: 18px;
	box-shadow: var(--shadow); border: 1px solid var(--line);
}
.pp-form__plate { display: flex; flex: 1; min-width: 0; border-radius: 11px; overflow: hidden; border: 2px solid #111; background: var(--plate); }
.pp-form__band { display: grid; place-items: center; gap: 0; padding: 0 10px; background: var(--uk-blue); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .05em; }
.pp-form__band svg { width: 18px; height: 12px; }
.pp-form__input {
	flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 0 14px; height: 60px;
	font-family: var(--plate-font); font-weight: 700; font-size: 1.85rem; letter-spacing: .08em; text-transform: uppercase; color: #111;
}
.pp-form__input::placeholder { color: rgba(17, 17, 17, .38); }
.pp-form__input:focus { outline: none; }
.pp-form__plate:focus-within { box-shadow: 0 0 0 4px rgba(31, 79, 209, .25); }
.pp-form__btn { min-height: 64px; padding: 0 26px; font-size: 1.05rem; border-radius: 12px; }
.pp-form__btn[disabled] { opacity: .7; cursor: progress; }
.pp-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pp-form__note { margin: 10px 4px 0; font-size: .86rem; color: var(--muted); }
.pp-form--md .pp-form__input { height: 52px; font-size: 1.5rem; }
.pp-form--md .pp-form__btn { min-height: 56px; }
@media (max-width: 560px) {
	.pp-form__row { flex-direction: column; }
	.pp-form__btn { width: 100%; min-height: 54px; }
	.pp-form__input { font-size: 1.55rem; height: 56px; }
}
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: currentColor; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px);
	background:
		radial-gradient(900px 420px at 85% -10%, rgba(255, 210, 63, .22), transparent 60%),
		radial-gradient(700px 500px at -10% 110%, rgba(31, 79, 209, .10), transparent 60%),
		linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 650; color: var(--navy-700); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.dot--live { box-shadow: 0 0 0 0 rgba(11, 138, 95, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(11, 138, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(11, 138, 95, 0); } }
.hero__title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.hero__title .hero__sub { display: block; margin-top: .18em; color: var(--navy-700); font-weight: 700; font-size: .72em; letter-spacing: -.025em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 590px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 22px 0 0; font-size: .92rem; font-weight: 600; color: var(--text); }
.hero__trust li { display: flex; align-items: center; gap: 7px; }
.hero__trust .icon { color: var(--green); width: 18px; height: 18px; }

.hero--page { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 5vw, 64px); }
.hero--page__inner { text-align: left; }
.hero--page .hero__title { font-size: clamp(1.9rem, 4vw, 2.9rem); }

/* Report preview card */
.hero__visual { position: relative; }
.hero__visual::before { content: ""; position: absolute; inset: 8% -6% -6% 10%; background: var(--navy-900); border-radius: 28px; transform: rotate(3deg); z-index: -1; opacity: .96; }
.report-card { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.report-card__head { display: flex; align-items: center; justify-content: space-between; }
.report-card__car { margin: 12px 0 16px; font-weight: 650; color: var(--ink); font-size: .95rem; }
.report-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--tint); border-radius: 12px; padding: 10px 12px; display: grid; gap: 1px; }
.stat__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.stat strong { color: var(--ink); font-size: 1.05rem; }
.stat__sub { font-size: .76rem; color: var(--muted); }
.stat--ok { background: var(--green-bg); }
.stat--ok strong { color: var(--green); }
.report-card__chart { display: flex; align-items: flex-end; gap: 8px; height: 86px; margin: 16px 0; padding: 10px 12px 0; border-radius: 12px; background: linear-gradient(180deg, var(--tint), #fff); border: 1px dashed var(--line-2); }
.report-card__chart span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--navy-700), var(--navy-900)); }
.report-card__chart span:last-child { background: linear-gradient(180deg, var(--plate), var(--plate-deep)); }
.report-card__tests { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .86rem; color: var(--text); }
.report-card__tests li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.report-card__tests em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .8rem; }

.badge, .tag { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; white-space: nowrap; }
.badge--pass { background: var(--green-bg); color: var(--green); }
.badge--fail { background: var(--red-bg); color: var(--red); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }
.badge--minor { background: var(--orange-bg); color: var(--orange); }
.badge--advisory { background: var(--slate-bg); color: var(--slate); }
.tag--muted { background: var(--tint); color: var(--muted); border: 1px solid var(--line); }

@media (max-width: 920px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 460px; margin: 12px auto 0; width: 100%; }
}

/* ---------- Strip ---------- */
.strip { background: var(--navy-900); color: #dfe7f2; }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-block: 20px; font-weight: 600; font-size: .95rem; }
.strip__inner span { display: inline-flex; align-items: center; gap: 9px; }
.strip .icon { color: var(--plate); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--flush { padding-top: 8px; }
.section--tint { background: var(--tint); }
.section--dark { background: radial-gradient(800px 400px at 100% 0, rgba(255, 210, 63, .12), transparent 60%), var(--navy-900); color: #c5d1e2; }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section__head--light h2 { color: #fff; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--navy-700); margin-bottom: 12px; }
.kicker::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; background: var(--plate); vertical-align: middle; margin-right: 10px; }
.section--dark .kicker { color: var(--plate); }
.section__more { margin-top: 32px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.feature:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--navy-900); color: var(--plate); margin-bottom: 18px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--plate); color: var(--ink); font-weight: 800; margin-bottom: 18px; border: 2px solid var(--ink); }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__copy p { color: var(--muted); font-size: 1.05rem; }
.split__copy .btn { margin-top: 10px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.compare__row { display: grid; grid-template-columns: 1.6fr .8fr .8fr; align-items: center; border-top: 1px solid var(--line); }
.compare__row > span { padding: 16px 18px; }
.compare__row > span[role="cell"] { display: grid; place-items: center; border-left: 1px solid var(--line); }
.compare__row--head { border-top: 0; background: var(--tint); font-weight: 750; color: var(--ink); font-size: .9rem; align-items: stretch; }
.compare__row--head > span { display: grid; align-items: center; }
.compare__row--head > span:nth-child(2) { background: var(--navy-900); color: #fff; text-align: center; }
.compare__row--head > span:nth-child(3) { text-align: center; }
.compare__row > span:nth-child(2):not([role="columnheader"]) { background: rgba(255, 210, 63, .1); }
.compare .yes .icon { color: var(--green); }
.compare .no .icon { color: #a8b3c4; }
.compare [role="rowheader"] { font-weight: 600; color: var(--ink); font-size: .97rem; }
@media (max-width: 520px) { .compare__row > span { padding: 13px 10px; font-size: .88rem; } }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dcard { padding: 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.dcard .icon { color: var(--plate); width: 28px; height: 28px; margin-bottom: 18px; }
.dcard h3 { color: #fff; }
.dcard p { margin: 0; font-size: .96rem; }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */
.prose-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: var(--r); background: var(--tint); }
.toc__title { font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .95rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--uk-blue); }
@media (max-width: 900px) { .prose-grid { grid-template-columns: 1fr; } .toc { position: static; } }

.prose { max-width: 740px; }
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; font-size: 1.22rem; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--navy-700); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 4px solid var(--plate); background: var(--tint); border-radius: 0 var(--r) var(--r) 0; }
.prose img { border-radius: var(--r); }
.prose .answer, .prose .tldr {
	font-size: 1.08rem; color: var(--ink); background: linear-gradient(90deg, rgba(255, 210, 63, .16), rgba(255, 210, 63, .03));
	border-left: 4px solid var(--plate); padding: 14px 18px; border-radius: 0 12px 12px 0;
}
.prose--page { padding: 8px 0 72px; }
.prose table, .table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table-wrap, .prose .wp-block-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 1.4em; }
.prose th, .prose td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--tint); color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.prose tr:last-child td { border-bottom: 0; }
.checklist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; }
.checklist span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 600; color: var(--ink); }
.checklist span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--tint); font-size: 1.2rem; font-weight: 600; transition: .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--plate); }
.faq .faq__a { padding: 0 22px 18px; color: var(--text); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- Cards / posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid, .post-grid--2 { grid-template-columns: 1fr; } }
.card { border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__media { display: block; aspect-ratio: 16 / 9; background: var(--tint); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--art { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(255, 210, 63, .25), transparent 55%), var(--navy-900); }
.card__media--art .uk-plate { transform: rotate(-4deg) scale(1.25); }
.card__body { display: grid; gap: 8px; padding: 20px 22px 24px; }
.card__cat { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--navy-700); }
.card__title { font-weight: 750; font-size: 1.14rem; line-height: 1.3; color: var(--ink); letter-spacing: -.012em; }
.card__excerpt { color: var(--muted); font-size: .95rem; }

.page-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); background: linear-gradient(180deg, var(--tint), #fff); margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--muted); margin: 0; }
.post-meta a { color: var(--ink); font-weight: 650; }
.post-cover { margin: 0 0 28px; }
.post-cover img { border-radius: var(--r-lg); width: 100%; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.inline-cta { display: grid; gap: 18px; padding: 30px; border-radius: var(--r-lg); background: var(--navy-900); color: #c5d1e2; margin: 8px 0 56px; }
.inline-cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.inline-cta p { margin: 0; }
.inline-cta .pp-form__note { color: #93a3ba; }
.related { padding-bottom: 72px; }
.related h2 { font-size: 1.5rem; }

.cta-band { background: var(--navy-900); color: #c5d1e2; padding: clamp(44px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 63, .25), transparent 65%); }
.cta-band__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; }
.cta-band .pp-form { margin-left: auto; }
.cta-band .pp-form__note { color: #93a3ba; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band .pp-form { margin: 0; } }

.navigation.pagination { margin: 40px 0 80px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650; }
.nav-links .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.empty { padding: 40px 0 80px; }
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 48px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; }
.search-submit { height: 48px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--navy-900); color: #fff; font-weight: 700; cursor: pointer; }
.notice-inline { padding: 12px 16px; background: var(--orange-bg); color: var(--orange); border-radius: var(--r-sm); }

/* ---------- Contact form (PlateProof Core) ---------- */
.pp-contact { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); margin: 8px 0 24px; }
.pp-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .pp-contact__grid { grid-template-columns: 1fr; } }
.pp-field { display: grid; gap: 6px; }
.pp-field label { font-weight: 700; color: var(--ink); font-size: .94rem; }
.pp-field input, .pp-field textarea, .pp-field select { width: 100%; border: 1.5px solid var(--line-2); border-radius: 11px; padding: 12px 14px; background: #fff; }
.pp-field input:focus, .pp-field textarea:focus, .pp-field select:focus { outline: none; border-color: var(--uk-blue); box-shadow: 0 0 0 4px rgba(31, 79, 209, .15); }
.pp-alert { padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.pp-alert--ok { background: var(--green-bg); color: var(--green); }
.pp-alert--err { background: var(--red-bg); color: var(--red); }
.pp-alert--info { background: var(--slate-bg); color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #93a3ba; padding: 64px 0 28px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer__about p { margin: 18px 0; max-width: 330px; }
.site-footer__title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-weight: 800; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c5d1e2; text-decoration: none; }
.site-footer a:hover { color: var(--plate); }
.contact-list, .social-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.contact-list li { display: flex; align-items: center; gap: 8px; }
.contact-list .icon { width: 18px; height: 18px; color: var(--plate); }
.social-list { display: flex; flex-wrap: wrap; gap: 8px; }
.social-list a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; }
.site-footer__legal { padding-top: 24px; display: grid; gap: 10px; font-size: .84rem; }
.site-footer__legal p { margin: 0; }
.disclaimer { max-width: 900px; }
.copyright__addr { display: inline-block; margin-left: 6px; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   MOT report (rendered by PlateProof Core JS)
   ========================================================================== */
.pp-result { margin-top: 22px; width: 100%; }
.hero .pp-result, .cta-band .pp-result { max-width: none; }
.cta-band .pp-result, .inline-cta .pp-result { color: var(--text); }
.pp-report { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; text-align: left; animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pp-report__top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 22px 24px; background: var(--tint); border-bottom: 1px solid var(--line); }
.pp-report__vehicle { display: grid; gap: 2px; }
.pp-report__vehicle strong { color: var(--ink); font-size: 1.2rem; letter-spacing: -.01em; }
.pp-report__vehicle span { color: var(--muted); font-size: .9rem; }
.pp-report__actions { margin-left: auto; display: flex; gap: 8px; }
.pp-report__actions .btn { min-height: 40px; padding: 0 14px; font-size: .88rem; }
.pp-report__sample { background: var(--orange-bg); color: var(--orange); padding: 10px 24px; font-weight: 650; font-size: .9rem; border-bottom: 1px solid var(--line); }
.pp-report__body { padding: 22px 24px 26px; display: grid; gap: 26px; }
.pp-report h3 { font-size: 1.05rem; margin-bottom: 12px; }
.pp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.pp-kpi { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.pp-kpi__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.pp-kpi__value { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.pp-kpi__sub { font-size: .85rem; color: var(--muted); }
.pp-kpi--ok { background: var(--green-bg); border-color: transparent; }
.pp-kpi--ok .pp-kpi__value { color: var(--green); }
.pp-kpi--bad { background: var(--red-bg); border-color: transparent; }
.pp-kpi--bad .pp-kpi__value { color: var(--red); }
.pp-kpi--warn { background: var(--orange-bg); border-color: transparent; }
.pp-kpi--warn .pp-kpi__value { color: var(--orange); }
.pp-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; }
.pp-specs div { padding: 12px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin-right: -1px; margin-bottom: -1px; }
.pp-specs dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.pp-specs dd { margin: 0; color: var(--ink); font-weight: 650; }
.pp-chart { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.pp-chart svg { width: 100%; height: auto; }
.pp-chart text { font-family: var(--font); font-size: 11px; fill: var(--muted); }
.pp-flag { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .94rem; margin-top: 10px; }
.pp-flag--ok { background: var(--green-bg); color: var(--green); }
.pp-flag--warn { background: var(--orange-bg); color: var(--orange); }
.pp-flag--bad { background: var(--red-bg); color: var(--red); }
.pp-tests { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-test { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pp-test__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; }
.pp-test__date { font-weight: 750; color: var(--ink); }
.pp-test__meta { color: var(--muted); font-size: .88rem; }
.pp-test__count { margin-left: auto; font-size: .85rem; color: var(--muted); }
.pp-defects { list-style: none; margin: 0; padding: 0 16px 14px; display: grid; gap: 8px; }
.pp-defects li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .93rem; padding-top: 8px; border-top: 1px dashed var(--line); }
.pp-defects .badge { margin-top: 2px; }
.pp-explain { font-size: .88rem; color: var(--muted); margin: 0; }
.pp-source { font-size: .82rem; color: var(--muted); margin: 0; }
.pp-error { padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); text-align: left; }
.pp-error strong { color: var(--ink); display: block; margin-bottom: 4px; }
.pp-error p { margin: 0 0 6px; }
.pp-error a { font-weight: 700; }
.pp-error__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px !important; }
@media (max-width: 560px) {
	.pp-report__top, .pp-report__body { padding-inline: 16px; }
	.pp-report__actions { margin-left: 0; width: 100%; }
}

@media print {
	.site-header, .site-footer, .hero__visual, .strip, .cta-band, .pp-form, .pp-report__actions, .toc { display: none !important; }
	.pp-report { box-shadow: none; border: 0; }
}

/* WordPress core alignment helpers */
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--muted); }

/* Sources & review box (GEO) */
.sources { margin: 40px 0 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--tint); font-size: .95rem; }
.sources__title { font-weight: 800; color: var(--ink); margin: 0 0 8px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.sources ul { margin: 0 0 10px; padding-left: 1.1em; }
.sources li { margin-bottom: 4px; }
.sources__meta { margin: 0; color: var(--muted); font-size: .86rem; }

/* Compare two vehicles */
.pp-compare { display: grid; gap: 12px; max-width: 760px; margin: 8px 0 28px; }
.pp-compare__inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.pp-compare__vs { font-weight: 800; color: var(--muted); text-transform: uppercase; font-size: .85rem; }
.pp-compare .pp-form__input { height: 56px; font-size: 1.45rem; }
.pp-compare .pp-form__btn { justify-self: start; }
.pp-compare__table th .uk-plate { margin: 0; }
.pp-compare__table tbody th { font-weight: 650; color: var(--ink); width: 34%; }
.pp-compare__reports { display: grid; gap: 18px; margin-top: 18px; }
@media (max-width: 600px) { .pp-compare__inputs { grid-template-columns: 1fr; } .pp-compare__vs { text-align: center; } .pp-compare .pp-form__btn { width: 100%; } }

/* PDF: print only the chosen report */
.pp-print-head { display: none; }
@media print {
	body.pp-printing * { visibility: hidden; }
	body.pp-printing .pp-report.is-print, body.pp-printing .pp-report.is-print * { visibility: visible; }
	body.pp-printing .pp-report.is-print { position: absolute; left: 0; top: 0; width: 100%; }
	body.pp-printing .pp-print-head { display: block; font-size: 12px; color: #555; margin: 0 0 8px; padding: 0 24px; }
	.pp-report { break-inside: auto; }
	.pp-test { break-inside: avoid; }
	* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- 1.4: decorative text via CSS (never page text) ---------- */
[data-t]::before { content: attr(data-t); }

/* Hero subtitle is now a paragraph, not part of the H1 */
.hero__copy > .hero__sub { margin: -6px 0 14px; color: var(--navy-700); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -.02em; }

/* FAQ questions are H3s inside <summary> */
.faq summary .faq__q { font: inherit; color: inherit; margin: 0; letter-spacing: inherit; }

/* Comparison table */
.compare-wrap { min-width: 0; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); font-size: .93rem; }
.compare-table caption { text-align: left; font-weight: 750; color: var(--ink); padding: 0 0 10px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { border-top: 0; background: var(--tint); color: var(--ink); font-size: .86rem; }
.compare-table thead th.is-us { background: var(--navy-900); color: #fff; }
.compare-table thead a { color: inherit; }
.compare-table td.is-us { background: rgba(255, 210, 63, .12); font-weight: 650; color: var(--ink); }
.compare-table tbody th { font-weight: 650; color: var(--ink); }
.compare-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 520px) { .compare-table th, .compare-table td { padding: 10px 8px; font-size: .84rem; } }

/* Guide hubs */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.hub-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.hub-card h3 a { color: var(--ink); text-decoration: none; }
.hub-card h3 a:hover { text-decoration: underline; }
.hub-card p { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.hub-card ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.hub-card li { margin-bottom: 6px; }
.hub-list { list-style: none; padding: 0; margin: 16px 0 28px; display: grid; gap: 10px; }
.hub-list__item a { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.hub-list__item a:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.hub-list__title { font-weight: 700; color: var(--ink); }
.hub-list__desc { font-size: .9rem; color: var(--muted); }
.hub-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; }
@media (max-width: 900px) { .hub-nav { grid-template-columns: 1fr; } }
.hub-nav__item { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--navy-900); color: #fff; text-decoration: none; }
.hub-nav__item strong { font-size: 1.05rem; }
.hub-nav__item span { font-size: .9rem; opacity: .8; }
.hub-nav__item:hover { background: var(--navy-700); color: #fff; }
.hub-nav__all { font-size: 1.4rem; margin: 0 0 18px; }
.part-of { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.part-of a { color: var(--ink); font-weight: 650; }

/* Reviewer + author */
.reviewed { margin: 8px 0 0; font-size: .9rem; color: var(--text); }
.reviewed__tick { color: var(--green); font-weight: 800; }
.reviewed a { color: var(--ink); font-weight: 650; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin: 32px 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.author-box__img { border-radius: 50%; flex: none; }
.author-box__name { margin: 0; font-weight: 750; color: var(--ink); }
.author-box__name span { font-weight: 500; color: var(--muted); margin-left: 6px; }
.author-box__cred { margin: 2px 0 6px; font-size: .9rem; color: var(--navy-700); }
.author-box__bio { margin: 0 0 6px; font-size: .95rem; }
.author-box p:last-child { margin-bottom: 0; }

/* Report: next steps, mileage summary, guide links */
.pp-chart__summary { margin: 10px 0 0; font-weight: 650; color: var(--ink); }
.pp-defects__link { margin-left: 8px; font-size: .85rem; white-space: nowrap; }
.pp-next { margin-top: 8px; }
.pp-next__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
/* Keep every report block inside the card, however narrow the column. */
.pp-report__body { grid-template-columns: minmax(0, 1fr); }
.pp-report__body > *, .pp-kpi, .pp-specs div { min-width: 0; overflow-wrap: anywhere; }
.pp-kpis { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.pp-specs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.pp-next__card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--tint); display: grid; gap: 8px; align-content: start; }
.pp-next__card h4 { margin: 0; font-size: 1rem; color: var(--ink); }
.pp-next__card p { margin: 0; font-size: .9rem; color: var(--muted); }
.pp-next__card .btn { justify-self: start; min-height: 44px; }
.pp-next__find, .pp-next__row { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-next__find input { flex: 1 1 140px; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 16px; text-transform: uppercase; background: #fff; }
.pp-next__review { margin: 12px 0 0; font-size: .9rem; }

/* Widget embed code */
.widget-code { width: 100%; font: .85rem/1.4 ui-monospace, Consolas, monospace; padding: 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--tint); }
.hero--home .hero__title { font-size: clamp(2rem, 4vw, 3.05rem); }
.report-shot { margin: 36px auto 0; max-width: 440px; text-align: center; }
.report-shot img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.report-shot figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }

/* MOT statistics (DVSA data) */
.stats h2 { margin-top: 0; }
.stats__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 28px; }
@media (max-width: 800px) { .stats__tiles { grid-template-columns: repeat(2, 1fr); } }
.stats__tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 0; }
.stats__tile dt { font-size: clamp(1.6rem, 3.4vw, 2.1rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stats__tile dd { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
.stats__table { width: 100%; background: #fff; }
.stats__table td { white-space: nowrap; font-weight: 700; color: var(--ink); }
.stats__bar { display: inline-block; vertical-align: middle; height: 10px; width: calc(var(--w) * 1.2px); max-width: 120px; border-radius: 5px; background: var(--plate); margin-right: 10px; }
.stats__source { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }

/* MOT centre finder + town pages */
.centre-search { margin: 20px 0 32px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--tint); }
.centre-search label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.centre-search__row { display: flex; flex-wrap: wrap; gap: 10px; }
.centre-search input, .centre-search select { min-height: 48px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 16px; background: #fff; }
.centre-search input { flex: 1 1 180px; min-width: 0; text-transform: uppercase; }
.centre-search select { flex: 1 1 200px; }
.centre-search .btn { min-height: 48px; }
.centres { list-style: none; padding: 0; margin: 16px 0 28px; display: grid; gap: 10px; }
.centre { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.centre p { margin: 0; }
.centre__name { font-weight: 750; color: var(--ink); }
.centre__addr { font-size: .93rem; color: var(--text); }
.centre__meta { font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px !important; }
.centre__meta a { font-weight: 650; }
.centres-map { margin: 20px 0; }
.centres-map iframe { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: 14px; }
.centres-map figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.town-list { list-style: none; padding: 0; columns: 3 180px; column-gap: 24px; margin: 12px 0 20px; }
.town-list li { break-inside: avoid; padding: 4px 0; }
.town-list span { color: var(--muted); font-size: .85rem; }
/* Long H1 must wrap on phones */
.hero--home .hl-mark { white-space: normal; }
.hero__copy { min-width: 0; }
.stats__table th, .stats__table td { text-align: left; }

/* ==========================================================================
   Report animations (tool.js adds .is-anim; sections get .pp-sec / .is-in)
   ========================================================================== */
.pp-report.is-anim .pp-report__top { position: relative; overflow: hidden; }
.pp-report.is-anim .pp-report__top::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%);
	transform: translateX(-110%); animation: pp-sweep 1.3s .35s cubic-bezier(.4, 0, .2, 1) 1;
}
.pp-report.is-anim .uk-plate { animation: pp-plate .8s cubic-bezier(.2, .9, .25, 1.15) both; transform-origin: 50% 0; }
.pp-report.is-anim .pp-report__vehicle { animation: pp-slide-r .6s .18s cubic-bezier(.2, .8, .2, 1) both; }
.pp-report.is-anim .pp-report__actions { animation: pp-fade .5s .35s both; }
.pp-report.is-anim .pp-report__sample {
	background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 255, 255, .35) 14px 28px);
	background-size: 40px 40px; animation: pp-stripes 1.6s linear infinite, pp-fade .5s .2s both;
}

/* KPI cards: rise in one after another, shine on good news, live dot on status */
.pp-kpi { position: relative; overflow: hidden; }
.pp-report.is-anim .pp-kpi {
	opacity: 0; transform: translateY(16px) scale(.96);
	animation: pp-rise .6s cubic-bezier(.2, .8, .2, 1) forwards;
	animation-delay: calc(var(--i, 0) * 90ms + 260ms);
	transition: transform .25s ease, box-shadow .25s ease;
}
.pp-report.is-anim .pp-kpi:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10, 26, 47, .10); }
.pp-report.is-anim .pp-kpi--ok::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%);
	transform: translateX(-120%);
	animation: pp-sweep 1.1s cubic-bezier(.4, 0, .2, 1) 1 both;
	animation-delay: calc(var(--i, 0) * 90ms + 800ms);
}
.pp-kpi--ok .pp-kpi__label::before, .pp-kpi--bad .pp-kpi__label::before, .pp-kpi--warn .pp-kpi__label::before {
	content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px;
	background: currentColor;
}
.pp-kpi--ok .pp-kpi__label::before { color: var(--green); }
.pp-kpi--bad .pp-kpi__label::before { color: var(--red); }
.pp-kpi--warn .pp-kpi__label::before { color: var(--orange); }
.pp-report.is-anim .pp-kpi--ok .pp-kpi__label::before { animation: pp-live 2.2s ease-out infinite; box-shadow: 0 0 0 0 rgba(11, 138, 95, .5); }
.pp-report.is-anim .pp-kpi--bad .pp-kpi__label::before { animation: pp-live-bad 1.6s ease-out infinite; }
.pp-kpi__value { font-variant-numeric: tabular-nums; }

/* Sections reveal as they scroll into view; their items cascade */
.pp-report.is-anim .pp-sec { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.pp-report.is-anim .pp-sec.is-in { opacity: 1; transform: none; }
.pp-report.is-anim .pp-sec h3 { position: relative; display: inline-block; }
.pp-report.is-anim .pp-sec h3::after {
	content: ""; position: absolute; left: 0; bottom: -4px; height: 3px; width: 100%; border-radius: 3px;
	background: linear-gradient(90deg, var(--plate, #ffd23f), transparent);
	transform: scaleX(0); transform-origin: left; transition: transform .8s .2s cubic-bezier(.2, .8, .2, 1);
}
.pp-report.is-anim .pp-sec.is-in h3::after { transform: scaleX(1); }
.pp-report.is-anim .pp-sec .pp-specs > div,
.pp-report.is-anim .pp-sec .pp-defects > li,
.pp-report.is-anim .pp-sec .pp-tests > li,
.pp-report.is-anim .pp-sec .pp-next__card { opacity: 0; transform: translateY(10px); }
.pp-report.is-anim .pp-sec.is-in .pp-specs > div,
.pp-report.is-anim .pp-sec.is-in .pp-defects > li,
.pp-report.is-anim .pp-sec.is-in .pp-tests > li,
.pp-report.is-anim .pp-sec.is-in .pp-next__card {
	animation: pp-rise .5s cubic-bezier(.2, .8, .2, 1) forwards;
	animation-delay: calc(var(--i, 0) * 55ms + 120ms);
}
.pp-report.is-anim .pp-sec.is-in .pp-flag { animation: pp-slide-r .6s .25s cubic-bezier(.2, .8, .2, 1) both; }
.pp-report.is-anim .pp-specs > div { transition: background-color .2s ease; }
.pp-report.is-anim .pp-specs > div:hover { background: var(--tint); }

/* Mileage chart: the line draws itself, points pop */
.pp-dot-pop { transform-box: fill-box; transform-origin: center; animation: pp-pop .45s cubic-bezier(.2, .9, .3, 1.4) both; }

@keyframes pp-plate { from { opacity: 0; transform: perspective(500px) rotateX(-85deg) translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pp-slide-r { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes pp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pp-rise { to { opacity: 1; transform: none; } }
@keyframes pp-sweep { to { transform: translateX(120%); } }
@keyframes pp-stripes { to { background-position: 40px 0; } }
@keyframes pp-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes pp-live { 0% { box-shadow: 0 0 0 0 rgba(11, 138, 95, .55); } 70% { box-shadow: 0 0 0 7px rgba(11, 138, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(11, 138, 95, 0); } }
@keyframes pp-live-bad { 0% { box-shadow: 0 0 0 0 rgba(201, 49, 49, .55); } 70% { box-shadow: 0 0 0 7px rgba(201, 49, 49, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 49, 49, 0); } }

/* Accessibility and print: never animate, never hide */
@media (prefers-reduced-motion: reduce) {
	.pp-report.is-anim *, .pp-report.is-anim *::before, .pp-report.is-anim *::after { animation: none !important; transition: none !important; }
	.pp-report.is-anim .pp-kpi, .pp-report.is-anim .pp-sec, .pp-report.is-anim .pp-sec * { opacity: 1 !important; transform: none !important; }
}
.pp-report.is-print *, .pp-report.is-print *::before, .pp-report.is-print *::after { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
@media print {
	.pp-report *, .pp-report *::before, .pp-report *::after { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
