/* ==========================================================================
   PPSR Lookup — main stylesheet
   1. Tokens & base   2. Layout & type   3. Components   4. Header/footer
   5. Home sections   6. Scan overlay    7. Pages        8. Motion prefs
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
	--ink: #0b1222;
	--ink-2: #141d33;
	--ink-3: #1e2944;
	--slate: #56607a;
	--slate-2: #8a93a8;
	--line: #e3e8f0;
	--line-2: #eef2f7;
	--bg: #ffffff;
	--bg-soft: #f5f7fb;
	--mint: #2be8a2;
	--sky: #0a9bea;
	--brand: linear-gradient(135deg, var(--mint) 0%, var(--sky) 100%);
	--green-ink: #067a5b;
	--ok: #12b76a;
	--ok-soft: #e7f8ef;
	--warn: #e8a01a;
	--warn-soft: #fff5e0;
	--alert: #e5484d;
	--alert-soft: #fdeced;

	--font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--r-xl: 32px;
	--shadow-sm: 0 1px 2px rgb(11 18 34 / 6%), 0 2px 8px rgb(11 18 34 / 4%);
	--shadow: 0 2px 4px rgb(11 18 34 / 4%), 0 12px 32px -8px rgb(11 18 34 / 14%);
	--shadow-lg: 0 4px 8px rgb(11 18 34 / 4%), 0 32px 64px -16px rgb(11 18 34 / 28%);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
/* No tap flash or long-press text selection on controls (iOS/Android). Keyboard focus rings stay. */
html { -webkit-tap-highlight-color: transparent; }
button, summary, [role="button"], [role="option"], .btn, .lookup-tab, .state-btn, .state-opt {
	-webkit-touch-callout: none; -webkit-user-select: none; user-select: none;
}
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--sky) 70%, transparent); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--mint) 45%, transparent); }
[hidden] { display: none !important; }

.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: 16px; top: -100px; z-index: 1000; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: var(--r-sm); }
.skip-link:focus { top: 16px; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* 2. Layout & type ------------------------------------------------------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title, .hero-title, .cta-title {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0;
	text-wrap: balance;
}
.section-title { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.section-lede { margin: 18px 0 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--slate); max-width: 62ch; text-wrap: pretty; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 16px; padding: 6px 12px;
	font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--green-ink); background: color-mix(in srgb, var(--mint) 14%, white);
	border: 1px solid color-mix(in srgb, var(--mint) 35%, white);
	border-radius: 999px;
}
.eyebrow--dark { color: #b8fbe0; background: rgb(43 232 162 / 10%); border-color: rgb(43 232 162 / 25%); }
.text-gradient {
	background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
	display: inline-block; padding-bottom: 0.08em;
}
.source { margin-top: 28px; font-size: 0.82rem; color: var(--slate-2); }
.source a { color: var(--slate); }

/* 3. Components ---------------------------------------------------------- */
.btn {
	--btn-bg: var(--ink); --btn-fg: #fff;
	position: relative; isolation: isolate;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px;
	font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
	color: var(--btn-fg); background: var(--btn-bg);
	border: 0; border-radius: 14px;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s;
}
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; border-radius: 12px; }
.btn-lg { min-height: 58px; padding: 16px 28px; font-size: 1.08rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-brand {
	--btn-fg: var(--ink);
	background: var(--brand);
	box-shadow: 0 1px 0 rgb(255 255 255 / 40%) inset, 0 10px 30px -10px rgb(10 155 234 / 60%);
}
.btn-brand::after {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 55%) 50%, transparent 70%);
	background-size: 250% 100%; background-position: 120% 0;
	transition: background-position 0.8s var(--ease);
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgb(255 255 255 / 40%) inset, 0 16px 40px -12px rgb(10 155 234 / 70%); }
.btn-brand:hover::after { background-position: -20% 0; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-1px); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn[disabled], .btn.is-loading { opacity: 0.7; pointer-events: none; }

.pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
	font-size: 0.78rem; font-weight: 600; border-radius: 999px; white-space: nowrap;
}
.pill--ok { color: #067647; background: var(--ok-soft); }
.pill--warn { color: #93590b; background: var(--warn-soft); }
.pill--alert { color: #b42318; background: var(--alert-soft); }

/* Australian-style number plate */
.plate {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 112px; padding: 4px 14px 6px;
	background: linear-gradient(#fff, #f3f5f8);
	border: 2px solid var(--ink); border-radius: 8px;
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px #cfd6e2, var(--shadow-sm);
	color: var(--ink); line-height: 1;
}
.plate-state { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.16em; margin-bottom: 3px; color: var(--slate); }
.plate-text { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.06em; }
.plate--sm { min-width: 92px; padding: 3px 10px 5px; }
.plate--sm .plate-text { font-size: 1.05rem; }

/* Car illustration */
.car { display: block; width: 100%; height: auto; overflow: visible; }
.car-shadow { fill: rgb(11 18 34 / 14%); }
.car-body { fill: var(--car, #c9d2e3); stroke: rgb(11 18 34 / 24%); stroke-width: 1.5; transition: fill 0.6s var(--ease); }
.car-shine { stroke: rgb(255 255 255 / 50%); stroke-width: 2; stroke-linecap: round; }
.car-glass { fill: #1d2a44; }
.car-glint { fill: rgb(255 255 255 / 16%); }
.car-line { stroke: rgb(11 18 34 / 16%); stroke-width: 1.25; }
.car-arch { fill: rgb(11 18 34 / 45%); }
.car-rail { stroke: #2a3550; stroke-width: 3; stroke-linecap: round; }
.car-handle { fill: rgb(11 18 34 / 26%); }
.car-light { fill: #ffe6a3; }
.car-tail { fill: #ff6b6b; }
.car-tyre { fill: #151c2c; }
.car-rim { transform-box: fill-box; transform-origin: center; }
.car-rim circle { fill: #c8cfdb; }
.car-rim path { stroke: #7d879a; stroke-width: 2.2; stroke-linecap: round; }
.car-hub { fill: #5d677a; }

/* Search form */
.lookup {
	position: relative;
	display: grid; gap: 14px;
	padding: 18px;
	background: rgb(255 255 255 / 97%);
	border-radius: var(--r-lg);
	box-shadow: 0 0 0 1px rgb(255 255 255 / 10%), 0 30px 80px -20px rgb(0 0 0 / 55%), 0 0 0 8px rgb(255 255 255 / 6%);
	color: var(--ink);
}
.lookup-tabs {
	position: relative;
	display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
	background: var(--bg-soft); border-radius: 14px;
}
/* Sliding pill behind the active tab. main.js sets .is-vin on the form. */
.lookup-tabs::before {
	content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px);
	background: #fff; border-radius: 11px; box-shadow: var(--shadow-sm);
	transition: transform 0.45s var(--ease);
}
.lookup.is-vin .lookup-tabs::before { transform: translateX(calc(100% + 4px)); }
html:not(.js) .lookup-tabs::before { display: none; }
.lookup-tab { position: relative; z-index: 1; min-width: 0; }
.lookup-tab input { position: absolute; opacity: 0; pointer-events: none; }
.lookup-tab span {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 12px; border-radius: 11px; white-space: nowrap;
	font-weight: 600; font-size: 0.95rem; color: var(--slate);
	cursor: pointer; transition: color 0.3s;
}
.lookup-tab span .icon { transition: transform 0.45s var(--ease-spring); }
.lookup-tab input:checked + span { color: var(--ink); }
.lookup-tab input:checked + span .icon { transform: scale(1.12); }
html:not(.js) .lookup-tab input:checked + span { background: #fff; box-shadow: var(--shadow-sm); }
/* Safari treats a tapped radio as :focus-visible, so only ring the tab for keyboard users (html.kbd, set in main.js). */
html.kbd .lookup-tab input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--sky) 60%, transparent); }

.lookup-plate {
	position: relative;
	display: flex; flex-direction: column; align-items: center;
	padding: 10px 44px 12px;
	background: linear-gradient(#fff, #f6f8fb);
	border: 3px solid var(--ink); border-radius: 14px;
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px #d5dce7, inset 0 -6px 12px -10px rgb(11 18 34 / 25%);
	transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
/* Typing in the plate: a soft lift, no blue ring. The caret shows where you are. */
.lookup-plate:focus-within { box-shadow: 0 0 0 3px #fff, 0 0 0 4px #c3ccd9, 0 14px 28px -16px rgb(11 18 34 / 40%); }
.lookup-plate.is-invalid { animation: shake 0.4s; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--alert); }
.lookup-plate-state { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em; color: var(--slate); transition: color 0.2s; }
.lookup-plate-state.is-set { color: var(--ink); }
.lookup-input {
	width: 100%; padding: 0; border: 0; outline: 0; background: transparent; text-align: center;
	font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.6rem);
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
	transition: font-size 0.35s var(--ease), letter-spacing 0.35s var(--ease), padding 0.35s var(--ease);
}
.lookup-input::placeholder { color: #c3cad6; }
/* Number plate <-> VIN: the plate dips, then the new text slides up into place. */
.lookup-plate.is-swapping { animation: plate-swap 0.5s var(--ease); }
.lookup-plate.is-swapping .lookup-input,
.lookup-plate.is-swapping .lookup-plate-state { animation: plate-text-in 0.45s var(--ease) both; }
.lookup-plate.is-swapping .lookup-plate-state { animation-delay: 0.05s; }
@keyframes plate-swap { 30% { transform: scale(0.975) rotateX(14deg); } }
@keyframes plate-text-in { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.lookup.is-vin .lookup-input { font-family: var(--font-mono); font-size: clamp(1.05rem, 3.4vw, 1.4rem); letter-spacing: 0.08em; padding-block: 10px; }
.lookup-plate-bolt { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9aa5b8); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 15%); }
.lookup-plate-bolt--l { left: 16px; }
.lookup-plate-bolt--r { right: 16px; }

.lookup-states { position: relative; z-index: 5; min-width: 0; }
.lookup-label { display: block; padding: 0; margin-bottom: 8px; font-size: 0.78rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; }

/* Custom state dropdown */
.state-select { position: relative; }
.state-btn {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 6px 14px 6px 6px;
	text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.state-btn:hover { border-color: #b9c3d3; }
.state-btn:focus-visible, .state-select.is-open .state-btn { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px rgb(10 155 234 / 15%); }
.state-badge {
	display: grid; place-items: center; flex: none; min-width: 46px; height: 34px; padding: 0 8px;
	font: 700 0.82rem/1 var(--font-display); letter-spacing: 0.06em;
	color: var(--slate); background: var(--bg-soft); border-radius: 10px;
	transition: background-color 0.25s, color 0.25s;
}
.state-badge .icon { width: 18px; height: 18px; }
.state-select.has-value .state-btn .state-badge { color: #fff; background: var(--ink); }
.state-name { flex: 1; min-width: 0; font-weight: 600; color: var(--slate-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.state-select.has-value .state-name { color: var(--ink); }
.state-chev { color: var(--slate); transition: transform 0.3s var(--ease); }
.state-select.is-open .state-chev { transform: rotate(180deg); }
.state-list {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30;
	max-height: 320px; margin: 0; padding: 6px; overflow-y: auto; list-style: none;
	background: #fff; border: 1px solid var(--line); border-radius: 16px;
	box-shadow: 0 24px 60px -16px rgb(11 18 34 / 35%), 0 2px 6px rgb(11 18 34 / 6%);
	transform-origin: top center; animation: drop 0.22s var(--ease) both; outline: 0;
}
.state-select.is-up .state-list { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.state-opt { display: flex; align-items: center; gap: 12px; padding: 7px 10px 7px 7px; border-radius: 11px; cursor: pointer; font-weight: 500; transition: background-color 0.15s; }
.state-opt .state-badge { min-width: 46px; height: 32px; font-size: 0.78rem; }
.state-opt-name { flex: 1; }
.state-opt.is-active { background: var(--bg-soft); }
.state-opt.is-active .state-badge { background: #e6ebf3; color: var(--ink); }
.state-opt[aria-selected="true"] { font-weight: 700; }
.state-opt[aria-selected="true"] .state-badge { background: var(--brand); color: var(--ink); }
.state-tick { opacity: 0; color: var(--green-ink); transform: scale(0.6); transition: opacity 0.2s, transform 0.25s var(--ease-spring); }
.state-opt[aria-selected="true"] .state-tick { opacity: 1; transform: none; }
.lookup-states.is-invalid .state-btn { border-color: var(--alert); box-shadow: 0 0 0 4px rgb(229 72 77 / 12%); animation: shake 0.4s; }

.lookup-submit { width: 100%; }
.lookup-error { margin: -4px 0 0; padding: 10px 12px; font-size: 0.9rem; color: #b42318; background: var(--alert-soft); border-radius: 10px; }

/* Compact form (closing CTA, My Account): tabs / plate + state / full-width button. */
.lookup--compact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "tabs tabs" "plate state" "btn btn" "err err"; align-items: end; padding: 14px; }
.lookup--compact .lookup-tabs { grid-area: tabs; }
.lookup--compact .lookup-plate { grid-area: plate; padding: 6px 34px 8px; }
.lookup--compact .lookup-states { grid-area: state; }
.lookup--compact .lookup-submit { grid-area: btn; width: 100%; }
.lookup--compact .lookup-error { grid-area: err; }
.lookup--compact .lookup-input { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.lookup--compact .lookup-plate-bolt--l { left: 12px; }
.lookup--compact .lookup-plate-bolt--r { right: 12px; }

@keyframes shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* 4. Header & footer ----------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	padding-top: env(safe-area-inset-top, 0px);
	color: var(--ink);
	background: rgb(255 255 255 / 82%);
	backdrop-filter: saturate(1.6) blur(14px);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(11 18 34 / 40%); }
.site-header.is-dark { position: fixed; inset-inline: 0; color: #fff; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-dark.is-scrolled { color: var(--ink); background: rgb(255 255 255 / 86%); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; color: inherit; text-decoration: none; flex: none; }
.logo-svg { height: 34px; width: auto; display: block; }
.logo:hover .logo-tick { animation: tick 0.6s var(--ease); }
.logo-light { color: #fff; }
.logo-xs .logo-svg { height: 24px; }
@keyframes tick { 0% { stroke-dasharray: 14; stroke-dashoffset: 14; } 100% { stroke-dasharray: 14; stroke-dashoffset: 0; } }

.header-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list a, .nav-link {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 12px; border-radius: 10px;
	font-size: 0.95rem; font-weight: 500; text-decoration: none; opacity: 0.85;
	transition: opacity 0.2s, background-color 0.2s;
}
.nav-list a:hover, .nav-link:hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
.nav-list a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.header-secure { white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--green-ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; color: inherit; }
.nav-toggle-bars { position: relative; display: block; width: 20px; height: 12px; margin: auto; }
.nav-toggle-bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle-bars span:first-child { top: 0; }
.nav-toggle-bars span:last-child { top: 10px; }
.nav-open .nav-toggle-bars span:first-child { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle-bars span:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.header-nav {
		position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 12px;
		padding: 16px var(--gutter) 24px;
		background: #fff; color: var(--ink);
		border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
	}
	.nav-open .header-nav { transform: none; opacity: 1; visibility: visible; }
	.nav-open.site-header.is-dark { color: var(--ink); background: #fff; }
	.nav-list { flex-direction: column; }
	.nav-list a { padding: 12px; font-size: 1.05rem; width: 100%; }
	.nav-actions { flex-direction: column; align-items: stretch; }
	.nav-actions .btn { min-height: 48px; }
}

.site-footer { padding-block: 72px 32px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: #c4cbd9; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { max-width: 36ch; margin: 18px 0 0; }
.footer-h { margin: 6px 0 14px; font: 600 0.8rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 10%); font-size: 0.8rem; color: #7d879c; }
.footer-legal p { margin: 0 0 8px; max-width: 110ch; }
.site-footer.is-focus { padding-block: 28px; background: transparent; color: var(--slate); border-top: 1px solid var(--line); }
.footer-focus { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.86rem; }
.footer-focus p { margin: 0; }
.footer-focus nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer.is-focus a:hover { color: var(--ink); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* 5. Home sections ------------------------------------------------------- */

/* Hero */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(32px, 6vw, 72px));
	background: var(--ink); color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; will-change: transform; }
.aurora-1 { width: 620px; height: 620px; left: -160px; top: -220px; background: radial-gradient(circle, #13c08a, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.aurora-2 { width: 720px; height: 720px; right: -240px; top: -120px; background: radial-gradient(circle, #0a7fd1, transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.aurora-3 { width: 520px; height: 520px; left: 35%; bottom: -320px; background: radial-gradient(circle, #5b3df5, transparent 65%); opacity: 0.35; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.hero-grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-noise { position: absolute; inset: 0; opacity: 0.06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
.hero-title [data-rotate] { transition: opacity 0.35s, transform 0.35s var(--ease), filter 0.35s; }
.hero-title [data-rotate].is-out { opacity: 0; transform: translateY(0.25em); filter: blur(6px); }
.hero-lede { margin: 22px 0 30px; max-width: 54ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #b7c0d3; text-wrap: pretty; }
.hero-search { max-width: 560px; }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--mint); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

.hero-visual { position: relative; perspective: 1400px; }
.report-mock {
	position: relative;
	padding: 22px;
	background: linear-gradient(180deg, rgb(255 255 255 / 98%), rgb(246 248 252 / 98%));
	color: var(--ink);
	border-radius: var(--r-xl);
	box-shadow: 0 0 0 1px rgb(255 255 255 / 30%), 0 50px 100px -30px rgb(0 0 0 / 70%), 0 0 0 10px rgb(255 255 255 / 5%);
	transform: rotateY(-8deg) rotateX(4deg);
	transform-style: preserve-3d;
	transition: transform 0.6s var(--ease);
	overflow: hidden;
}
.report-mock-glow { position: absolute; inset: -40% -20% auto auto; width: 60%; height: 80%; background: radial-gradient(circle, rgb(43 232 162 / 22%), transparent 60%); pointer-events: none; }
.rm-head { display: grid; grid-template-columns: 46% 1fr; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.rm-car { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.rm-id { display: grid; justify-items: start; gap: 4px; }
.rm-id strong { margin-top: 8px; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.01em; }
.rm-id span:last-child { font-size: 0.82rem; color: var(--slate); }
.rm-checks { margin: 14px 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.rm-checks li {
	display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px;
	padding: 10px 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px;
}
.rm-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); color: var(--slate); }
.rm-name { font-weight: 600; font-size: 0.93rem; }
.rm-status { position: relative; font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.rm-status.ok { color: #067647; background: var(--ok-soft); }
.rm-status.warn { color: #93590b; background: var(--warn-soft); }
/* Each row "scans" in sequence, then the status lands. Loops via JS class toggle. */
.rm-checks.is-scanning .rm-status { color: transparent; background: linear-gradient(90deg, var(--line-2) 25%, #fff 50%, var(--line-2) 75%); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
.rm-checks.is-scanning li.is-done .rm-status { animation: pop 0.45s var(--ease-spring) both; }
.rm-checks.is-scanning li.is-done .rm-status.ok { color: #067647; background: var(--ok-soft); }
.rm-checks.is-scanning li.is-done .rm-status.warn { color: #93590b; background: var(--warn-soft); }
.rm-checks li.is-done .rm-ico { color: var(--green-ink); background: var(--ok-soft); transition: background-color 0.3s, color 0.3s; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.rm-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 4px; font-size: 0.82rem; }
.rm-cert { display: inline-flex; align-items: center; gap: 6px; color: var(--slate); }
.rm-verdict { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-weight: 700; color: var(--ink); background: var(--brand); border-radius: 999px; }
.rm-scanline { position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, transparent, rgb(43 232 162 / 16%), transparent); pointer-events: none; animation: scan 4.5s var(--ease) infinite; }
@keyframes scan { 0% { transform: translateY(-120px); } 70%, 100% { transform: translateY(560px); } }

.float-chip {
	position: absolute; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 14px; font-size: 0.86rem; font-weight: 600; color: #fff;
	background: rgb(20 29 51 / 72%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border: 1px solid rgb(255 255 255 / 14%); border-radius: 14px; box-shadow: 0 20px 40px -20px rgb(0 0 0 / 60%);
	animation: float 6s ease-in-out infinite;
}
.float-chip .icon { color: var(--mint); }
.float-chip--a { left: -28px; top: 18%; }
.float-chip--b { right: -16px; bottom: 10%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
	.report-mock { transform: none; }
	.float-chip--a { left: 8px; top: -18px; }
	.float-chip--b { right: 8px; bottom: -18px; }
}
@media (max-width: 560px) {
	.lookup { padding: 14px; }
	.rm-head { grid-template-columns: 1fr; }
	.rm-car { max-width: 220px; }
	.hero-visual { display: none; }
}

/* Proof strip */
.proof { position: relative; z-index: 2; margin-top: clamp(64px, 8vw, 112px); }
.proof-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: rgb(255 255 255 / 9%); border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.proof-list li { display: flex; gap: 14px; align-items: center; padding: 22px 20px; background: rgb(11 18 34 / 62%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.proof-list strong { display: block; font-size: 0.95rem; }
.proof-list small { display: block; font-size: 0.82rem; color: #8f9ab0; }
.proof-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgb(43 232 162 / 12%); color: var(--mint); }
@media (max-width: 900px) { .proof-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proof-list { grid-template-columns: 1fr; } }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { margin: 0; padding: 28px; background: var(--bg-soft); border-radius: var(--r-lg); border: 1px solid var(--line-2); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-num { margin: 0 0 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1; }
.stat-num small { font-size: 0.5em; margin-left: 2px; letter-spacing: 0; color: var(--slate); }
.stat-num span { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat figcaption { color: var(--slate); font-size: 0.96rem; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }

/* Bento */
.included { background: var(--bg-soft); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.tile {
	position: relative; overflow: hidden;
	padding: 26px; background: #fff;
	border: 1px solid var(--line-2); border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { margin: 16px 0 8px; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.02em; }
.tile p { margin: 0; color: var(--slate); font-size: 0.96rem; }
.tile-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--ink); background: var(--brand); box-shadow: 0 8px 18px -8px rgb(10 155 234 / 60%); }
.tile--finance { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.tile--stolen { grid-column: span 2; }
.tile--wov { grid-column: span 2; }
.tile--rego { grid-column: span 2; }
.tile--recall { grid-column: span 2; background: linear-gradient(160deg, #fff 40%, var(--warn-soft)); }
.tile--specs { grid-column: span 3; }
.tile--cert { grid-column: span 3; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: center; background: var(--ink); color: #fff; border-color: var(--ink); }
.tile--cert p { color: #aab3c6; }

.lien { position: relative; padding: 16px; background: var(--bg-soft); border-radius: var(--r); border: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.86rem; }
.lien-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lien-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.lien-row span { color: var(--slate); }
.lien-stamp {
	position: absolute; right: 14px; bottom: -6px;
	padding: 6px 12px; font: 800 0.8rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--alert); border: 2.5px solid var(--alert); border-radius: 8px; background: #fff;
	transform: rotate(-8deg) scale(1.6); opacity: 0;
	transition: transform 0.5s var(--ease-spring) 0.5s, opacity 0.3s 0.5s;
}
.is-visible .lien-stamp { transform: rotate(-8deg) scale(1); opacity: 1; }

.radar { position: absolute; right: -50px; bottom: -50px; width: 200px; height: 200px; }
.radar span { position: absolute; inset: 0; border: 1.5px solid color-mix(in srgb, var(--sky) 40%, transparent); border-radius: 50%; animation: radar 3s var(--ease) infinite; }
.radar span:nth-child(2) { animation-delay: 1s; }
.radar span:nth-child(3) { animation-delay: 2s; }
.radar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgb(10 155 234 / 25%), transparent 30%); animation: spin 4s linear infinite; }
@keyframes radar { 0% { transform: scale(0.2); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.tile--stolen p { max-width: 24ch; position: relative; z-index: 1; }
.radar { opacity: 0.75; }
@media (max-width: 640px) { .radar { width: 150px; height: 150px; right: -40px; bottom: -40px; } }

.damage { position: relative; margin: 18px auto 0; max-width: 240px; }
.damage-hit { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, rgb(229 72 77 / 55%), rgb(229 72 77 / 0) 70%); animation: hit 2s ease-in-out infinite; }
.damage-hit--front { right: 8%; top: 44%; }
.damage-hit--side { left: 44%; top: 40%; animation-delay: -1s; }
@keyframes hit { 50% { transform: scale(1.5); opacity: 0.6; } }

.rego-vis { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 5; }
.ring .ring-fill { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; transition: stroke-dashoffset 1.6s var(--ease) 0.3s; }
.is-visible .ring .ring-fill { stroke-dashoffset: 34; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li { padding: 6px 12px; font-size: 0.84rem; font-weight: 600; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; }

.cert-stack { position: relative; height: 170px; }
.cert-sheet { position: absolute; inset: 10px 10px 0 30px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); transform: rotate(6deg); opacity: 0.4; transition: transform 0.6s var(--ease); }
.cert-sheet:nth-child(2) { transform: rotate(-4deg); opacity: 0.7; }
.cert-sheet--top { transform: none; opacity: 1; padding: 18px; color: var(--ink); display: grid; align-content: start; gap: 9px; }
.cert-sheet--top b { font-family: var(--font-display); font-size: 0.92rem; }
.cert-sheet--top i { display: block; height: 7px; background: var(--line); border-radius: 4px; }
.cert-sheet--top i.short { width: 60%; }
.cert-seal { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--ink); }
.tile--cert:hover .cert-sheet:first-child { transform: rotate(12deg) translateX(12px); }
.tile--cert:hover .cert-sheet:nth-child(2) { transform: rotate(-8deg) translateX(-8px); }

@media (max-width: 980px) {
	.bento { grid-template-columns: 1fr 1fr; }
	.tile--finance, .tile--specs, .tile--cert { grid-column: 1 / -1; }
	.tile--stolen, .tile--wov, .tile--rego, .tile--recall { grid-column: span 1; }
}
@media (max-width: 640px) {
	.bento { grid-template-columns: 1fr; }
	.tile, .tile--stolen, .tile--wov, .tile--rego, .tile--recall { grid-column: 1 / -1; }
	.tile--finance, .tile--cert { grid-template-columns: 1fr; }
}

/* Steps */
.steps-wrap { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps-line { position: absolute; left: 32px; right: 32px; top: 31px; height: 2px; background: var(--line); }
.steps-line span { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.step h3 { margin: 22px 0 8px; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--slate); }
.step-num { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.step-num .icon { width: 26px; height: 26px; }
.step-num b { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 26px; height: 26px; font-size: 0.8rem; border-radius: 50%; background: var(--ink); color: #fff; }
@media (max-width: 800px) {
	.steps { grid-template-columns: 1fr; gap: 36px; padding-left: 0; }
	.steps-line { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
	.steps-line span { transform-origin: top; transform: scaleY(var(--progress, 0)); }
	.step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; }
	.step-num { grid-row: span 2; }
	.step h3 { margin-top: 6px; }
}

/* Sample report */
.sample { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.sample-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sample-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.sample-tab {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; font-weight: 600; font-size: 0.95rem;
	background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
	transition: all 0.25s var(--ease);
}
.sample-tab i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone, var(--ok)); }
.sample-tab.tone-ok { --tone: var(--ok); }
.sample-tab.tone-warn { --tone: var(--warn); }
.sample-tab.tone-alert { --tone: var(--alert); }
.sample-tab:hover { border-color: #b9c3d3; }
.sample-tab[aria-selected="true"] { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: 0 10px 24px -12px rgb(11 18 34 / 60%); }

.sample-stage { position: relative; }
.sample-panel {
	--tone: var(--ok); --tone-soft: var(--ok-soft);
	padding: 24px; background: #fff; border-radius: var(--r-xl);
	border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
	animation: panel-in 0.5s var(--ease) both;
}
.sample-panel.tone-warn { --tone: var(--warn); --tone-soft: var(--warn-soft); }
.sample-panel.tone-alert { --tone: var(--alert); --tone-soft: var(--alert-soft); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.sp-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.sp-kicker { display: block; font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-2); }
.sp-head strong { font-family: var(--font-display); font-size: 1.2rem; }
.sp-verdict { display: flex; gap: 14px; align-items: center; margin: 18px 0; padding: 16px; border-radius: var(--r); background: var(--tone-soft); }
.sp-verdict-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--tone); color: #fff; }
.sp-verdict b { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.sp-verdict span { font-size: 0.92rem; color: var(--slate); }
.sp-rows { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-rows li { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; font-weight: 600; font-size: 0.92rem; animation: panel-in 0.45s var(--ease) both; animation-delay: calc(var(--i) * 60ms + 100ms); }
.sp-rows li .icon { color: var(--slate-2); }
.sp-rows li .pill { margin-left: auto; }
.sp-advice { margin-top: 18px; padding: 18px; background: var(--bg-soft); border-radius: var(--r); }
.sp-advice-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; }
.sp-advice-h .icon { color: var(--green-ink); }
.sp-advice ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--slate); font-size: 0.94rem; }
@media (max-width: 900px) { .sample-inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sp-rows { grid-template-columns: 1fr; } .sp-head { flex-direction: column; align-items: flex-start; } }

/* Myths */
.myths { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.myths::before { content: ""; position: absolute; width: 700px; height: 700px; right: -300px; top: -300px; background: radial-gradient(circle, rgb(10 155 234 / 25%), transparent 60%); pointer-events: none; }
.myth-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.myth { position: relative; height: 260px; padding: 0; border: 0; background: transparent; text-align: left; perspective: 1000px; color: inherit; }
.myth-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.7s var(--ease); }
.myth:hover .myth-inner, .myth:focus-visible .myth-inner, .myth[aria-pressed="true"] .myth-inner { transform: rotateY(180deg); }
.myth-face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-lg); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.myth-front { background: var(--ink-2); border: 1px solid rgb(255 255 255 / 10%); }
.myth-back { transform: rotateY(180deg); background: var(--brand); color: var(--ink); }
.myth-tag { align-self: flex-start; padding: 4px 10px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; background: rgb(229 72 77 / 18%); color: #ff9b9e; }
.myth-tag--fact { background: rgb(11 18 34 / 14%); color: var(--ink); }
.myth-q { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.myth-a { font-size: 0.98rem; line-height: 1.5; font-weight: 500; }
.myth-hint { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; color: #8f9ab0; }
@media (max-width: 980px) { .myth-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .myth-grid { grid-template-columns: 1fr; } .myth { height: 220px; } }

/* Compare */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line-2); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 0.9rem; font-weight: 600; color: var(--slate); vertical-align: bottom; }
.compare-table tbody th { font-weight: 500; }
.compare-table td { width: 26%; text-align: center; }
.compare-table thead th:not(:first-child) { text-align: center; }
.compare-table .is-us { background: color-mix(in srgb, var(--mint) 7%, white); }
.compare-table thead .is-us { color: var(--ink); border-top: 3px solid var(--mint); }
.compare-table .is-us .logo { color: var(--ink); }
.yes, .no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.yes { background: var(--ok-soft); color: #067647; }
.no { background: var(--line-2); color: var(--slate-2); }
.txt { font-size: 0.9rem; font-weight: 600; }

/* Pricing */
.pricing { background: var(--bg-soft); }
.pricing-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pricing-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 12px 16px; font-size: 0.92rem; font-weight: 500; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.pricing-note .icon { color: var(--green-ink); }
.plan { position: relative; isolation: isolate; padding: 30px; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 2px; border-radius: inherit; background: var(--brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.plan-glow { position: absolute; z-index: -1; width: 300px; height: 300px; right: -100px; top: -120px; background: radial-gradient(circle, rgb(43 232 162 / 25%), transparent 65%); }
.plan-badge { display: inline-block; padding: 5px 12px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: var(--ink); color: #fff; border-radius: 999px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 16px 0 4px; font-family: var(--font-display); }
.plan-cur { font-size: 1.8rem; font-weight: 700; }
.plan-amt { font-size: 4.6rem; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.plan-per { margin-left: 8px; font-family: var(--font-body); font-weight: 600; color: var(--slate); }
.plan-then { margin: 0; color: var(--slate); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 16%; right: 16%; top: 11px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.timeline li { position: relative; display: grid; justify-items: center; text-align: center; gap: 2px; padding-top: 32px; }
.timeline li::before { content: ""; position: absolute; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.timeline li.is-now::before { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 0 5px rgb(43 232 162 / 20%); }
.timeline b { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-2); }
.timeline span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.timeline small { font-size: 0.8rem; color: var(--slate); }
.plan-list { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .icon { margin-top: 3px; color: var(--ok); }
@media (max-width: 900px) { .pricing-inner { grid-template-columns: 1fr; } }

/* FAQ */
.faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-copy .btn { margin-top: 24px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.25s, box-shadow 0.25s; }
.faq-item[open] { border-color: #cfd7e4; box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 1.04rem; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--bg-soft); transition: background-color 0.25s, transform 0.35s var(--ease); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i { background: var(--mint); transform: rotate(180deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 22px 20px; color: var(--slate); }
.faq-a p { margin: 0; }
.faq-item[open] .faq-a { animation: panel-in 0.4s var(--ease); }
@media (max-width: 900px) { .faq-inner { grid-template-columns: 1fr; } .faq-copy { position: static; } }

/* CTA */
.cta { padding-bottom: clamp(72px, 10vw, 120px); }
.cta-card { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); background: var(--ink); color: #fff; border-radius: var(--r-xl); }
.cta-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; }
.cta-bg .aurora-1 { left: -200px; top: -300px; }
.cta-bg .aurora-2 { right: -300px; top: auto; bottom: -400px; }
.cta-title { font-size: clamp(2rem, 4vw, 3rem); }
.cta-copy p { margin: 14px 0 0; color: #b7c0d3; font-size: 1.1rem; }
@media (max-width: 1080px) { .cta-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
	.lookup--compact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tabs" "plate" "state" "btn" "err"; }
}
@media (max-width: 480px) {
	.cta-card { padding: 22px 18px; }
	.lookup--compact { padding: 10px; }
	.lookup-tab span { gap: 6px; padding-inline: 6px; font-size: 0.9rem; }
}
@media (max-width: 360px) {
	.lookup--compact .lookup-tab span { padding-inline: 4px; font-size: 0.85rem; }
}

/* Reveal on scroll. Only hidden once JS confirms it can reveal them. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* 6. Scan overlay -------------------------------------------------------- */
.scan { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; padding-top: max(16px, env(safe-area-inset-top, 0px)); padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
.scan-backdrop { position: absolute; inset: 0; background: rgb(11 18 34 / 72%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade 0.3s both; }
.scan-card { position: relative; width: min(460px, 100%); max-height: 100%; overflow: auto; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); animation: rise 0.5s var(--ease) both; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.scan-visual { position: relative; display: grid; place-items: center; height: 180px; overflow: hidden; background: var(--ink); }
.scan-visual::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px); background-size: 28px 28px; }
.scan-ring { position: absolute; width: 140px; height: 140px; border: 1.5px solid rgb(43 232 162 / 50%); border-radius: 50%; animation: radar 2.4s var(--ease) infinite; }
.scan-ring:nth-child(2) { animation-delay: 0.8s; }
.scan-ring:nth-child(3) { animation-delay: 1.6s; }
.scan-ring { transform-origin: center; }
.scan-car { position: relative; z-index: 1; display: grid; width: 230px; transition: transform 0.6s var(--ease); }
.scan-car .car { grid-area: 1 / 1; opacity: 0; transform: translateX(-14px) scale(0.96); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
.scan-car .car.is-on { opacity: 1; transform: none; }
.scan-car .car-shadow { fill: rgb(0 0 0 / 45%); }
.scan-car .car-body { stroke: rgb(255 255 255 / 30%); }
.scan:not(.is-found):not(.is-error) .scan-car .car-rim { animation: spin 0.55s linear infinite; }
.scan:not(.is-found):not(.is-error) .scan-car { animation: idle 0.5s ease-in-out infinite alternate; }
@keyframes idle { to { transform: translateY(-1.5px); } }
.scan-road { position: absolute; z-index: 1; left: 0; right: 0; bottom: 49px; height: 2px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / 28%) 0 22px, transparent 22px 46px); animation: road 0.5s linear infinite; }
@keyframes road { to { background-position: -46px 0; } }
.scan.is-found .scan-road, .scan.is-error .scan-road { animation-play-state: paused; }
.scan-beam { position: absolute; z-index: 2; top: 0; bottom: 0; width: 80px; background: linear-gradient(90deg, transparent, rgb(43 232 162 / 45%), transparent); animation: beam 1.6s ease-in-out infinite alternate; }
@keyframes beam { from { left: 10%; } to { left: calc(90% - 80px); } }
.scan.is-found .scan-beam, .scan.is-found .scan-ring, .scan.is-error .scan-beam { animation-play-state: paused; opacity: 0; transition: opacity 0.4s; }
.scan.is-found .scan-car { transform: scale(1.06); }
.scan-body { padding: 24px; }
.scan-eyebrow { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-2); }
.scan-eyebrow--ok { color: var(--ok); }
.scan-eyebrow--err { color: var(--alert); }
.scan-title { margin: 0 0 18px; font: 700 1.6rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.scan-bar { height: 6px; margin-bottom: 18px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.scan-bar span { display: block; height: 100%; width: 100%; background: var(--brand); border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.4s var(--ease); }
.scan-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.scan-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--slate-2); transition: color 0.3s; }
.scan-steps li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--line); transition: all 0.3s var(--ease); }
.scan-steps li.is-active { color: var(--ink); font-weight: 600; }
.scan-steps li.is-active::before { border-color: var(--sky); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.scan-steps li.is-done { color: var(--slate); }
.scan-steps li.is-done::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.scan-found { animation: panel-in 0.45s var(--ease) both; }
.scan-specs { display: grid; gap: 1px; margin: 0 0 20px; background: var(--line-2); border-radius: 12px; overflow: hidden; }
.scan-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--bg-soft); }
.scan-specs dt { color: var(--slate); }
.scan-specs dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 15%); }
.scan-edit { display: block; margin: 12px auto 0; padding: 6px; border: 0; background: none; font-size: 0.9rem; color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }
.scan-edit:hover { color: var(--ink); }
.scan-error-msg { margin: 0 0 20px; color: var(--slate); }
.scan-failed { display: grid; gap: 10px; }
.scan-failed .scan-error-msg { margin-bottom: 8px; }
body.scan-open { overflow: hidden; }

/* 7. Generic pages ------------------------------------------------------- */
.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 48px); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 0; font: 700 clamp(2.2rem, 5vw, 3.4rem)/1.05 var(--font-display); letter-spacing: -0.03em; }
.entry { max-width: 760px; margin-inline: auto; padding-block: clamp(40px, 6vw, 72px); }
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.2; margin-top: 2em; }
.entry a { color: var(--green-ink); }

/* Legal pages ([ppsrl_legal] shortcode) */
.entry--legal { max-width: 1080px; }
.legal { display: grid; gap: 28px; }
.legal-updated { margin: 0; font-size: 0.9rem; color: var(--slate); }
.legal-toc { display: none; }
.legal-toc-h { margin: 0 0 10px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-2); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.legal-toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 0.92rem; line-height: 1.35; color: var(--slate); text-decoration: none; transition: background 0.15s, color 0.15s; }
.legal-toc a:hover { background: var(--bg-soft); color: var(--ink); }
.legal-body { max-width: 720px; min-width: 0; line-height: 1.7; color: var(--ink-3); }
.legal-body > * + * { margin-top: 1em; }
.legal-body h2 { margin: 2.2em 0 0; font: 700 1.35rem/1.25 var(--font-display); letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-body h2 + * { margin-top: 0.6em; }
.legal-body > h2:first-child { margin-top: 0; }
.legal-body ul, .legal-body ol { padding-left: 1.3em; }
.legal-body li + li { margin-top: 0.4em; }
.legal-body li::marker { color: var(--slate-2); }
.legal-body strong { color: var(--ink); }
@media (min-width: 960px) {
	.legal { grid-template-columns: 220px minmax(0, 1fr); column-gap: 64px; }
	.legal-updated { grid-column: 2; }
	.legal-toc { display: block; grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
	.legal-body { grid-column: 2; }
}
.not-found { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.not-found .car { max-width: 280px; margin: 0 auto 24px; animation: bob 4s ease-in-out infinite; }
.not-found h1 { margin: 0 0 12px; font: 800 clamp(2.4rem, 6vw, 4rem)/1 var(--font-display); letter-spacing: -0.04em; }
.not-found p { color: var(--slate); margin: 0 0 28px; }

/* 8. Motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	.report-mock { transform: none; }
}
