:root {
  --ink: #0b1f3a;
  --ink-2: #1c3561;
  --plate: #ffd21f;
  --gb: #1f4bb4;
  --paper: #f5f7fb;
  --line: #e3e8f0;
  --muted: #5b6b82;
  --good: #12805c;
  --bad: #c9302c;
  --warn: #b7791f;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 36rem; margin: 0 auto; padding: 3rem 1rem; }
.prose { max-width: 48rem; margin: 2.5rem auto 0; padding: 0 1rem; color: var(--muted); }
.prose h2 { color: var(--ink); font-size: 1.25rem; margin: 2rem 0 .5rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; }
.muted { color: var(--muted); }
.link { color: var(--gb); font-weight: 600; }
.link.u, .prose a { text-decoration: underline; color: var(--gb); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plate-font { font-family: var(--mono); font-weight: 700; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 4rem; }
.small { font-size: .875rem; } .xs { font-size: .75rem; }
.center { text-align: center; }

/* Header and footer */
.site-header { background: var(--ink); color: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; padding-top: .75rem; padding-bottom: .75rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.logo .mark { display: block; width: auto; height: 2rem; }
.site-header nav { display: flex; gap: 1.25rem; font-size: .875rem; color: rgba(255,255,255,.8); overflow-x: auto; }
.site-header nav a { white-space: nowrap; }
.site-header nav a:hover, .head-right a:hover { color: #fff; }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 1rem; font-size: .875rem; color: rgba(255,255,255,.8); }
.head-right .pill { background: rgba(255,255,255,.1); color: #fff; padding: .4rem .75rem; border-radius: 6px; font-weight: 500; }
.head-right .nav-reviews { display: grid; justify-items: center; gap: 2px; font-size: .78rem; line-height: 1.15; white-space: nowrap; text-decoration: none; }
.nav-stars { font: 1.5rem/1 Arial, sans-serif; color: #ffd21f; }
.nav-stars:not([style="--fill:0%"]) { background: linear-gradient(to right, #ffd21f var(--fill), #aaa var(--fill)); background-clip: text; color: transparent; }
/* Phones: logo and "My orders" share the first line, the four links fill the second. */
@media (max-width: 640px) {
  .site-header .wrap { gap: .5rem .75rem; }
  .site-header .logo { gap: .5rem; font-size: 1.1rem; }
  .site-header .logo .mark { height: 1.75rem; }
  .head-right { gap: .75rem; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: .5rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: .6rem; font-size: .8125rem; scrollbar-width: none; }
  .site-header nav::-webkit-scrollbar { display: none; }
}
/* Small phones (since 2026-11-23): "Help" (/contact) leaves the header (the footer's "Contact us" and the chat remain), so logo and "My orders" fit on
   one line and the order form comes up the screen. A long site name is cut rather than pushed onto a line of its own. */
@media (max-width: 430px) {
  .site-header .wrap { padding-top: .55rem; padding-bottom: .5rem; flex-wrap: wrap; }
  .site-header .logo { min-width: 0; flex: 0 1 auto; }
  .site-header .logo .word { overflow: hidden; text-overflow: ellipsis; }
  .head-right { flex: none; }
  .head-right a:not(.pill):not(.nav-reviews) { display: none; }
  .head-right .pill { padding: .35rem .7rem; }
  .site-header nav { gap: .35rem; font-size: .76rem; padding-top: .45rem; }
}
@media (max-width: 359px) {
  .site-header nav { font-size: .7rem; }
}
/* Six links since 2026-12-01 ("VIN check", the owner's ask). Phones show "MOT" and "Mileage" so all six stay on the line
   (a phone held sideways keeps the links and "My orders" on one line that way); wide screens, where the quick
   registration box shares the line, show "Mileage" and bring the links closer. */
@media (max-width: 767px) { .site-header nav .nav-x { display: none; } }
@media (min-width: 641px) and (max-width: 767px) { .site-header nav { gap: 1rem; } }
@media (min-width: 1280px) {
  .site-header nav { gap: 1rem; }
  .site-header nav .nav-x-wide { display: none; }
}
.site-footer { margin-top: 4rem; background: var(--ink); color: rgba(255,255,255,.8); }
.site-footer .foot-grid { display: grid; gap: 2rem; padding: 3rem 1rem 2.25rem; }
@media (min-width: 560px) { .site-footer .foot-grid { grid-template-columns: 1fr 1fr; } .site-footer .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 960px) { .site-footer .foot-grid { grid-template-columns: 1.35fr 1fr 1.15fr .85fr; } .site-footer .foot-brand { grid-column: auto; } }
.site-footer .foot-brand > p:first-of-type { margin-top: .85rem; font-size: .85rem; line-height: 1.55; }
.site-footer .foot-title { margin: 0 0 .75rem; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.site-footer .foot-brand .foot-title { margin-top: 1.25rem; }
.site-footer .foot-brand .plate-form { max-width: 20rem; }
.site-footer .foot-links { display: grid; gap: .5rem; font-size: .875rem; align-content: start; }
.site-footer .foot-links a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem; text-align: center; font-size: .75rem; color: rgba(255,255,255,.5); }

/* Plate form */
.plate-form .row { display: flex; gap: .5rem; width: 100%; }
.plate-form.lg .row { flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .plate-form.lg .row { flex-direction: row; } }
.plate-box { display: flex; flex: 1; overflow: hidden; border: 2px solid var(--ink); border-radius: 8px; background: var(--plate); min-width: 0; }
.plate-box .gb { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; background: var(--gb); color: #fff; font-weight: 700; width: 2rem; font-size: 10px; padding-bottom: .25rem; }
.plate-box .gb i { color: var(--plate); font-style: normal; }
.plate-box input { width: 100%; min-width: 0; border: 0; background: transparent; text-align: center; font-family: var(--mono); font-weight: 700; text-transform: uppercase; color: var(--ink); font-size: 1.125rem; letter-spacing: .05em; padding: .4rem; outline: none; }
.plate-box input::placeholder { color: rgba(11,31,58,.4); }
.plate-form.lg .plate-box .gb { width: 3rem; font-size: .875rem; padding-bottom: .4rem; }
.plate-form.lg .plate-box input { font-size: 1.875rem; letter-spacing: .1em; padding: .75rem; }
@media (min-width: 640px) { .plate-form.lg .plate-box input { font-size: 2.25rem; } }
.plate-form .error { margin-top: .5rem; font-size: .875rem; font-weight: 500; color: var(--bad); }

/* Buttons and inputs */
.btn { display: inline-block; border-radius: 8px; font-weight: 700; text-align: center; padding: .65rem 1.25rem; }
.btn:hover { filter: brightness(1.1); }
.btn-good { background: var(--good); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-outline { background: #fff; color: var(--good); border: 2px solid var(--good); }
.btn-outline small { display: block; font-size: .75rem; font-weight: 500; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-block { display: block; width: 100%; }
.input { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: .65rem .75rem; color: var(--ink); }
.input:focus { outline: 2px solid var(--gb); outline-offset: 1px; }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; white-space: nowrap; }
.form { display: grid; gap: .75rem; }
.form.tight { gap: .5rem; }
.form .pair { display: grid; gap: .5rem; }
@media (min-width: 640px) { .form .pair { grid-template-columns: 1fr 1fr; } }
.input.plate { background: var(--plate); border: 2px solid var(--ink); text-align: center; font-family: var(--mono); font-weight: 700; text-transform: uppercase; }
.mono { font-family: var(--mono); }
.h1 { font-size: 1.875rem; font-weight: 700; line-height: 1.2; }
.page { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.notice { border-radius: 8px; padding: 1rem; font-weight: 500; }
.notice.good { background: rgba(18,128,92,.1); color: var(--good); }
.notice.bad { background: rgba(201,48,44,.1); color: var(--bad); }
.notice.warn { background: rgba(183,121,31,.1); color: var(--warn); font-size: .875rem; }

/* Home: one job, typing a number plate */
.hero { background: var(--ink); color: #fff; padding: 3.5rem 0 4.5rem; text-align: center; }
.hero .inner { max-width: 40rem; margin: 0 auto; padding: 0 1rem; }
.hero h1 { font-size: 2.25rem; line-height: 1.15; font-weight: 800; }
@media (min-width: 640px) { .hero { padding: 6rem 0 7rem; } .hero h1 { font-size: 3rem; } }
.hero .sub { margin-top: .75rem; font-size: 1.125rem; color: rgba(255,255,255,.75); }
.hero .form { margin-top: 2rem; }
.hero .foot { margin-top: 1rem; font-size: .875rem; color: rgba(255,255,255,.6); }
.home-more { margin-top: 2.5rem; display: grid; gap: .75rem; justify-items: center; text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .875rem; font-weight: 500; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-top: 1.5rem; }
.faq details { padding: 1.25rem; border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: .75rem; font-size: .875rem; color: var(--muted); }
.tiles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 2rem; }
@media (min-width: 640px) { .tiles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tiles-grid { grid-template-columns: repeat(4, 1fr); } }
.tile-link { display: flex; justify-content: space-between; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .75rem 1rem; }
.tile-link:hover { border-color: var(--gb); }
.tag-plate { background: var(--plate); border-radius: 4px; padding: .1rem .5rem; font-family: var(--mono); font-weight: 700; }

/* Tool pages */
.tool-hero { background: var(--ink); color: #fff; padding: 3rem 0; }
.tool-hero .inner { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
.tool-hero h1 { font-size: 2.25rem; font-weight: 800; }
.tool-hero p { margin-top: .75rem; font-size: 1.125rem; color: rgba(255,255,255,.75); }
.tool-hero .form { margin-top: 2rem; }
/* The form of a page that sells the report: registration, email and one button, then the prices */
.order-form { display: grid; gap: .75rem; max-width: 36rem; }
.order-form .input { border: 2px solid var(--ink); padding: .95rem .9rem; font-size: 1.05rem; }
.order-form .btn { width: 100%; }
.hero .order-form { margin: 0 auto; }
.order-form p { margin: 0; font-size: .9rem; }
.order-form .xs { font-size: .75rem; color: rgba(255,255,255,.6); }
.order-form .error { background: #fff; border-radius: 6px; padding: .5rem .75rem; }
.order-form a.u, .packs-head a.u { text-decoration: underline; }
/* The order form's "Registration | VIN" switch and its VIN box (2 Dec 2026, the forms of VIN_FORMS): two big buttons
   to tap, the chosen one white; the VIN box is as tall as the plate and its 17 characters fit a 320px phone. */
.by-switch { display: inline-grid; grid-template-columns: 1fr 1fr; justify-self: start; padding: .2rem; border-radius: .65rem; background: #e3eaf3; }
.by-switch button { min-height: 2.6rem; border: 0; border-radius: .5rem; padding: .4rem 1.1rem; background: transparent; color: #3b4f68; font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; }
.by-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,31,58,.2); }
.by-switch button:focus-visible { outline: 3px solid #295b9a; outline-offset: 1px; }
.vin-box { display: flex; overflow: hidden; border: 2px solid var(--ink); border-radius: 8px; background: #fff; min-width: 0; }
.vin-box .vin-tag { display: flex; align-items: center; justify-content: center; flex: none; width: 3rem; background: var(--gb); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.vin-box input { width: 100%; min-width: 0; border: 0; background: transparent; text-align: center; font-family: var(--mono); font-weight: 700; text-transform: uppercase; color: var(--ink); font-size: clamp(.95rem, 4.3vw, 1.35rem); letter-spacing: .03em; padding: .8rem .35rem; }
.vin-box input::placeholder { color: rgba(11,31,58,.45); letter-spacing: 0; }
.order-form .vin-hint { font-size: .8rem; color: var(--muted); }
.tool-hero .order-form .vin-hint { margin-top: 0; color: rgba(255,255,255,.75); } /* on the dark hero of a search page (/find-reg-from-vin) */
.by-switch[hidden], .plate-box[hidden], .vin-box[hidden], .vin-hint[hidden] { display: none; }
.vin-form { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
@media (min-width: 640px) { .vin-form { flex-direction: row; } }
.vin-form input { flex: 1; border: 0; border-radius: 8px; padding: 1rem; font-family: var(--mono); font-size: 1.125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); background: #fff; }

/* Cards and fields */
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; box-shadow: 0 1px 2px rgba(11,31,58,.05); scroll-margin-top: 1rem; }
@media (min-width: 640px) { .card { padding: 1.5rem; } }
.card h2 { font-size: 1.125rem; font-weight: 700; }
.card h2.big { font-size: 1.5rem; }
/* Section heading as a tab on a rule, rows as a striped table. */
.card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.card-head h2 { background: var(--ink); color: #fff; font-size: 1rem; font-weight: 600; padding: .4rem 1rem; border-radius: 6px 6px 0 0; }
.card-head .badge { margin-bottom: .35rem; }
.price { margin-top: 1rem; font-size: 1.875rem; font-weight: 800; }
.field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); padding: .55rem .75rem; font-size: .9rem; }
.field:nth-child(odd) { background: #eef1f6; }
.field dt { font-weight: 600; }
.field dd { overflow-wrap: anywhere; }
.fields.right .field dd { text-align: right; }
.late { color: var(--bad); font-weight: 600; }
.locked { filter: blur(5px); user-select: none; }
.badge { border-radius: 999px; padding: .25rem .65rem; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.badge.good { background: rgba(18,128,92,.1); color: var(--good); }
.badge.bad { background: rgba(201,48,44,.1); color: var(--bad); }
.badge.warn { background: rgba(183,121,31,.1); color: var(--warn); }
.badge.lock { background: rgba(11,31,58,.05); color: var(--ink); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats.three { grid-template-columns: repeat(3, 1fr); }
.stat { background: var(--paper); border-radius: 8px; padding: .75rem; text-align: center; }
.stat b { display: block; font-size: 1.25rem; font-weight: 800; }
.stat b.good { color: var(--good); } .stat b.bad { color: var(--bad); }
.stat span { font-size: .75rem; color: var(--muted); }

/* Vehicle report */
.report { padding: 2rem 1rem; }
.summary { background: var(--ink); color: #fff; border-radius: 12px; padding: 1.5rem; }
@media (min-width: 640px) { .summary { padding: 2rem; } }
.summary .top { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.summary .reg { background: var(--plate); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: .35rem 1rem; font-family: var(--mono); font-weight: 700; font-size: 1.5rem; }
@media (min-width: 640px) { .summary .reg { font-size: 1.875rem; } }
.summary h1 { font-size: 1.5rem; font-weight: 800; }
@media (min-width: 640px) { .summary h1 { font-size: 1.875rem; } }
.summary .meta { color: rgba(255,255,255,.7); }
.summary .premium-tag { background: var(--plate); color: var(--ink); border-radius: 999px; padding: .25rem .75rem; font-size: .75rem; font-weight: 700; }
.summary .tools { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; font-size: .8rem; color: rgba(255,255,255,.7); }
.summary .tool { background: rgba(255,255,255,.12); color: #fff; border-radius: 6px; padding: .35rem .75rem; font-weight: 600; }
.summary .tool:hover { background: rgba(255,255,255,.2); }
.status { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .status { grid-template-columns: repeat(4, 1fr); } }
.status div { background: rgba(255,255,255,.1); border-radius: 8px; padding: .75rem; }
.status .l { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.6); }
.status .v { margin-top: .25rem; font-weight: 700; }
.status .v.alert { color: #fca5a5; }
.status .s { font-size: .75rem; color: rgba(255,255,255,.6); }
.cta { margin-top: 1.5rem; background: #fff; border: 2px solid var(--plate); border-radius: 12px; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .cta { flex-direction: row; align-items: center; } .cta .text { flex: 1; } .cta .action { width: 460px; } }
.cta-dark { background: var(--ink); color: #fff; border-radius: 12px; padding: 1.5rem; }
.cta-dark .title { font-size: 1.125rem; font-weight: 700; }
.cta-dark .lead { color: rgba(255,255,255,.7); font-size: .875rem; margin-bottom: 1rem; }
.cta-dark details { margin-top: 1rem; font-size: .875rem; }
.cta-dark summary { cursor: pointer; color: rgba(255,255,255,.8); }
.cta-dark .redeem { margin-top: .75rem; max-width: 24rem; }
.cta-note { font-size: .75rem; opacity: .8; }
.cta-note a { font-weight: 600; text-decoration: underline; }
.layout { margin-top: 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.layout .main, .layout aside { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
@media (min-width: 1024px) { .layout .sticky { position: sticky; top: 1rem; } }
.layout .sticky { display: grid; gap: 1.5rem; }
.ticklist { display: grid; gap: .45rem; font-size: .9rem; margin: 1rem 0; }
.ticklist li::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: .5rem; }
.note { background: #eef1f6; border-radius: 6px; padding: .9rem 1rem; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.btn-more { background: var(--plate); color: var(--ink); padding: .6rem 1.5rem; }
.more { text-align: right; margin-top: 1rem; }
.bigstatus { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .bigstatus { grid-template-columns: 1fr 1fr; } }
.bigstatus > div { display: flex; align-items: center; gap: .9rem; padding: 1.25rem 1.5rem; border-radius: 8px; color: #fff; }
.bigstatus .good { background: var(--good); }
.bigstatus .bad { background: var(--bad); }
.bigstatus .neutral { background: #5b6b82; }
.bigstatus .ico { font-size: 2.25rem; font-weight: 800; line-height: 1; }
.bigstatus b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
.bigstatus small { font-size: .9rem; }
.bigstatus a { text-decoration: underline; }
.rate { display: block; background: var(--line); border-radius: 4px; overflow: hidden; }
.rate span { display: block; min-width: 3.5rem; padding: .1rem .6rem; color: #fff; font-weight: 700; white-space: nowrap; background: var(--good); }
.rate span.warn { background: var(--warn); }
.rate span.bad { background: var(--bad); }
.mot-test { margin-top: 1.25rem; }
.mot-test .bar { display: flex; justify-content: space-between; gap: 1rem; background: #6b7a90; color: #fff; font-weight: 700; font-size: .9rem; padding: .5rem .75rem; border-radius: 4px 4px 0 0; }
.mot-test .field:nth-child(odd) { background: none; }
.mot-test .field:nth-child(even) { background: #eef1f6; }
.split { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.chart-box { background: #eef1f6; border-radius: 6px; padding: .5rem; }
.regs { margin-top: 1.25rem; font-size: .9rem; }
.regs li { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; padding: .55rem .75rem; border-bottom: 1px solid var(--line); }
.regs li:nth-child(odd) { background: #eef1f6; }
.regs li span:last-child { text-align: right; }
.defects { display: grid; gap: .25rem; padding: .75rem; font-size: .875rem; }
.defects li { display: flex; gap: .5rem; }
.dtype { flex-shrink: 0; margin-top: .15rem; border-radius: 4px; padding: 0 .4rem; font-size: 10px; font-weight: 700; text-transform: uppercase; line-height: 1rem; height: 1rem; background: rgba(11,31,58,.1); }
.dtype.fail { background: var(--bad); color: #fff; }
.dtype.adv { background: rgba(183,121,31,.15); color: var(--warn); }
.chart { width: 100%; height: auto; }
.anomalies { margin-top: .75rem; background: rgba(201,48,44,.1); color: var(--bad); border-radius: 8px; padding: .75rem; font-size: .875rem; }
.checks { display: grid; gap: .5rem; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; align-items: center; justify-content: space-between; border-radius: 8px; padding: .5rem .75rem; font-size: .875rem; font-weight: 500; }
.checks li.ok { background: rgba(18,128,92,.1); color: var(--good); }
.checks li.no { background: rgba(201,48,44,.1); color: var(--bad); }
.contents { display: grid; gap: .4rem; font-size: .875rem; }
.contents li { display: flex; justify-content: space-between; }
.bars { display: flex; height: 6rem; align-items: flex-end; gap: 2px; margin-top: .75rem; }
.bars i { flex: 1; background: rgba(31,75,180,.7); border-radius: 2px 2px 0 0; min-height: 2%; }
.order-box { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.banner { background: var(--plate); padding: .5rem; text-align: center; font-size: .875rem; font-weight: 600; }
.list { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.list li { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }

/* Printed report ("Download PDF"): an A4 document, not the web page on paper.
   The paid checks come first, rows are tighter and nothing is cut between pages. */
.print-only { display: none; }
@page { size: A4; margin: 12mm 12mm 15mm; }
@page {
  /* Empty boxes keep the browser from printing its own date, page title and address there. */
  @top-left { content: ""; }
  @top-center { content: ""; }
  @top-right { content: ""; }
  @bottom-left { content: ""; }
  @bottom-right { content: "Page " counter(page) " of " counter(pages); font: 500 7.5pt Inter, Arial, sans-serif; color: #5b6b82; }
}
@media print {
  /* Colours and backgrounds print even when the browser's "Background graphics" box is unticked. */
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { display: block; min-height: 0; background: #fff; font-size: 9.5pt; line-height: 1.4; }
  .no-print, .site-header, .site-footer, .layout aside, .more, #stats,
  .card:has(.badge.lock), .field:has(.locked), .field:has(a[href^="#"]) { display: none !important; }
  .print-only { display: block; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: none; padding: 0; }
  .report { padding: 0; }
  .small { font-size: 8.5pt; }

  .print-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8mm; padding-bottom: 3.5mm; margin-bottom: 4.5mm; border-bottom: .7mm solid var(--ink); }
  .print-head .brand { display: flex; align-items: center; gap: 3mm; }
  .print-head .mark { display: block; width: auto; height: 9.5mm; }
  .print-head .brand b { display: block; font-size: 15pt; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
  .print-head small, .print-head .doc span { display: block; font-size: 8pt; color: var(--muted); }
  .print-head .doc { text-align: right; }
  .print-head .doc b { font-size: 10.5pt; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
  .print-sample { margin-bottom: 4mm; border: .4mm solid var(--bad); border-radius: 1.2mm; padding: 1.8mm 3mm; color: var(--bad); font-size: 8.5pt; font-weight: 700; text-align: center; }
  .watermark { position: fixed; top: 42%; left: 0; right: 0; z-index: 10; text-align: center; font-size: 110pt; font-weight: 800; letter-spacing: .1em; color: rgba(201,48,44,.07); transform: rotate(-32deg); }
  .print-foot { margin-top: 6mm; padding-top: 3mm; border-top: .3mm solid var(--line); font-size: 7.6pt; color: var(--muted); break-inside: avoid; }
  .print-foot b { display: block; margin-bottom: 1mm; font-size: 8.5pt; color: var(--ink); }

  .summary { border-radius: 2.5mm; padding: 5mm 6mm; break-inside: avoid; }
  .summary .top { flex-wrap: nowrap; gap: 4mm; }
  .summary .reg { border: 0; font-size: 17pt; padding: .8mm 4mm; white-space: nowrap; }
  .summary h1 { font-size: 16pt; line-height: 1.15; }
  .summary .meta { font-size: 9pt; }
  .summary .tools { gap: 1.2mm; font-size: 8pt; white-space: nowrap; }
  .summary .premium-tag { font-size: 7.5pt; padding: .7mm 3mm; }
  .status { grid-template-columns: repeat(4, 1fr); gap: 3mm; margin-top: 4.5mm; }
  .status div { padding: 2.4mm 3mm; border-radius: 1.5mm; }
  .status .l { font-size: 6.8pt; }
  .status .v { margin-top: .6mm; font-size: 10.5pt; }
  .status .s { font-size: 7.5pt; }

  .layout { display: block; margin-top: 5.5mm; }
  .layout .main { display: flex; flex-direction: column; gap: 5.5mm; }
  .card { border: 0; border-radius: 0; padding: 0; box-shadow: none; break-inside: avoid; }
  #general, #mot, #mileage, #specs { break-inside: auto; }
  #checks { order: 1; } #finance { order: 2; } #stolen { order: 3; } #writeoff { order: 4; } #owners { order: 5; }
  #plates { order: 6; } #identity { order: 7; } #valuation { order: 8; } #general { order: 9; } #tax { order: 10; }
  #mileage { order: 11; } #mot { order: 12; } #specs { order: 13; }
  .card-head { margin-bottom: 2.5mm; border-bottom-width: .5mm; break-after: avoid; }
  .card-head h2 { font-size: 9.5pt; padding: 1.3mm 3.5mm; border-radius: 1.2mm 1.2mm 0 0; }
  .card-head .badge { margin-bottom: 1mm; }
  .badge { font-size: 7.5pt; padding: .7mm 2.6mm; }
  .note { margin-bottom: 2.5mm; border-radius: 1mm; padding: 2mm 3mm; font-size: 8.5pt; }
  .field { gap: 4mm; padding: 1.45mm 2.5mm; font-size: 9pt; break-inside: avoid; }
  .field:nth-child(odd) { background: #f1f4f8; }
  #general .fields, #specs .fields, #tax .fields, #identity .fields, #mot > .fields { column-count: 2; column-gap: 6mm; }
  .rate span { min-width: 12mm; padding: 0 2mm; font-size: 8.5pt; }

  .checks { grid-template-columns: repeat(3, 1fr); gap: 2mm; }
  .checks li { border-radius: 1.2mm; padding: 1.9mm 3mm; font-size: 8.8pt; font-weight: 600; }
  .bigstatus { grid-template-columns: 1fr 1fr; gap: 3mm; margin-bottom: 2.5mm; }
  .bigstatus > div { gap: 3mm; padding: 2.6mm 4mm; border-radius: 1.5mm; }
  .bigstatus .ico { font-size: 15pt; }
  .bigstatus b { font-size: 11.5pt; }
  .bigstatus small { font-size: 8.5pt; }
  .stats.three { gap: 3mm; }
  .stat { border-radius: 1.5mm; padding: 2.6mm; background: #f1f4f8; }
  .stat b { font-size: 13pt; }
  .stat span { font-size: 7.5pt; }

  /* One MOT test (or write-off record) per box, its facts side by side. */
  .mot-test { margin-top: 2.6mm; border: .25mm solid #cfd6e1; border-radius: 1.2mm; overflow: hidden; break-inside: avoid; }
  .mot-test .bar { border-radius: 0; padding: 1.1mm 2.5mm; background: #44546b; font-size: 8.5pt; }
  .mot-test .fields { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  #writeoff .mot-test .fields { grid-template-columns: 1.6fr 1fr 1.4fr; }
  .mot-test .field, .mot-test .field:nth-child(even) { display: block; border: 0; border-left: .25mm solid var(--line); padding: 1.4mm 2.5mm; background: none; }
  .mot-test .field:first-child { border-left: 0; }
  .mot-test .field dt { font-size: 6.8pt; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
  .mot-test .field dd, .mot-test .fields.right .field dd { text-align: left; font-size: 9pt; font-weight: 600; }
  .defects { gap: .7mm; border-top: .25mm solid var(--line); padding: 1.5mm 2.5mm 1.8mm; font-size: 8.3pt; }
  .dtype { height: auto; margin-top: .3mm; font-size: 6pt; line-height: 1.5; }

  .split { grid-template-columns: 1.1fr 1fr; gap: 6mm; align-items: start; }
  .chart-box { border-radius: 1.2mm; padding: 1.5mm; background: #f1f4f8; }
  .regs { column-count: 2; column-gap: 6mm; margin-top: 3mm; font-size: 8.5pt; break-inside: avoid; }
  .regs li { gap: 3mm; padding: 1.3mm 2.5mm; break-inside: avoid; }
  #plates .regs { column-count: 1; }
  .anomalies { margin-top: 2.5mm; border-radius: 1.2mm; padding: 2mm 3mm; font-size: 8.5pt; }
}

/* Price page (/report?registration=…) */
.packs-page { background: linear-gradient(135deg, var(--ink-2), var(--ink)); color: #fff; padding: 2.5rem 0 4rem; }
.packs-page .back { background: rgba(0,0,0,.35); color: #fff; padding: .45rem 1.1rem; font-size: .9rem; font-weight: 600; }
.packs-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.5rem 0 2rem; }
.packs-head .reg { background: var(--plate); color: var(--ink); border-radius: 6px; padding: .3rem .9rem; font-family: var(--mono); font-weight: 700; font-size: 1.4rem; }
.packs-head h1 { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.packs-head p { color: rgba(255,255,255,.7); }
.packs { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 900px) { .packs { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } .packs.one { grid-template-columns: minmax(0, 24rem); } }
.pack { background: #fff; color: var(--ink); border: 3px solid #08162b; border-radius: 10px; overflow: hidden; box-shadow: 6px 6px 0 rgba(0,0,0,.2); }
.pack.popular { border-color: var(--plate); }
.pack .ribbon { background: var(--plate); text-align: center; font-weight: 700; padding: .75rem; }
.pack .body { padding: 1.75rem; }
.pack h2 { font-size: 1.5rem; font-weight: 700; }
.pack h2 b { margin-right: .35rem; }
.pack .amount { margin-top: 1.5rem; color: var(--muted); }
.pack .amount b { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.pack .pay { font-size: .8rem; color: var(--muted); }
.pack .pay s { color: var(--bad); }
.pack .discount { display: inline-block; margin-top: 1.1rem; background: var(--line); border-radius: 4px; padding: .25rem .65rem; font-weight: 700; font-size: .9rem; }
.pack .discount b { color: var(--bad); }
.pack .discount.on { background: #6ee7a8; }
.pack .label { margin-top: 2rem; border-bottom: 1px solid #6b7a90; line-height: 1; }
.pack .label span { display: inline-block; background: #6b7a90; color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .5rem; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .75rem; margin: .85rem 0 2rem; font-size: .8rem; color: var(--muted); }
.feat li.yes::before { content: "✓ "; font-weight: 700; }
.feat li.no { color: var(--bad); text-decoration: line-through; }
.feat li.no::before { content: "✕ "; }
.btn-dark { background: #2b2f36; color: #fff; padding: .85rem 1.25rem; }
.assure { max-width: 36rem; margin: 3rem auto 0; background: rgba(255,255,255,.08); border-radius: 8px; padding: 1.25rem 1.5rem; display: grid; gap: .5rem; font-size: .9rem; color: rgba(255,255,255,.8); }
.assure b { color: var(--plate); }
.assure a.u { text-decoration: underline; }
.assure summary { cursor: pointer; }
.assure .redeem { margin-top: .75rem; max-width: 24rem; }
.ticklist li.no { color: var(--muted); text-decoration: line-through; }
.ticklist li.no::before { content: "✕"; color: var(--bad); }
main:has(.packs-page) + .site-footer { margin-top: 0; }

/* The email asked for when a plan is chosen: a popup on the price page (or a page of its own) */
.popup { width: calc(100% - 2rem); max-width: 27rem; border: 0; border-radius: 14px; padding: 2rem 1.75rem 1.5rem; color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.popup::backdrop { background: rgba(11,31,58,.7); }
.popup .close { position: absolute; top: .6rem; right: .8rem; background: none; font-size: 1.75rem; line-height: 1; color: var(--muted); }
.email-form { display: grid; gap: .75rem; }
.email-form h2 { font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.email-form .chosen { justify-self: start; background: var(--plate); border-radius: 6px; padding: .2rem .7rem; font-weight: 700; font-size: .9rem; }
.email-form .chosen:empty { display: none; }
.email-form .why { color: var(--muted); }
.email-form .input { border-width: 2px; border-color: var(--ink); padding: .85rem .9rem; font-size: 1.05rem; }
.email-form .btn { padding: .9rem 1.25rem; font-size: 1.05rem; }
.email-form .xs { color: var(--muted); }
.email-form a.u { text-decoration: underline; }
/* The email step of the ChatGPT adverts' visitors: the car found above the question, no price (email_step.php). */
.found { display: grid; gap: .35rem; padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.found p { margin: 0; }
.found-tag { color: var(--good); font-weight: 800; }
.found-plate { font-size: 1.25rem; }
.found-name { font-size: 1.5rem; font-weight: 800; line-height: 1.2; margin: .2rem 0 0; }
.found-ticks { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--muted); font-size: .85rem; }
.found-ticks li::before { content: "✓"; margin-right: .3rem; color: var(--good); font-weight: 800; }
.packs-offer { margin: -.5rem 0 1.5rem; background: var(--plate); color: var(--ink); border-radius: 8px; padding: .75rem 1rem; }
.send-to { margin: -1rem 0 1.5rem; font-size: .9rem; color: rgba(255,255,255,.75); }
.send-to b { color: #fff; }
.send-to a.u { text-decoration: underline; }

/* Payment page (/pay/…): order summary beside Stripe's card form */
.pay-page { padding: 2rem 0 1rem; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .pay-grid { grid-template-columns: 22rem minmax(0, 32rem); justify-content: center; } }
.pay-form { padding: 1.25rem .75rem .75rem; }
.pay-title { padding: 0 .75rem; font-size: 1.25rem; font-weight: 800; }
/* The two ways to pay, side by side. "Card" is the one open below; PayPal leaves for paypal.com. */
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding: .9rem .75rem 1rem; }
.method { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 3.5rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 1.1rem; font-weight: 700; }
.method svg { width: 1.6rem; height: 1.6rem; }
.method.by-card.on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,31,58,.1); }
.method.by-paypal { border-color: #ffc439; background: #ffc439; }
.method.by-paypal:hover { filter: brightness(.96); }
.method .pp { font-size: 1.45rem; font-style: italic; font-weight: 800; letter-spacing: -.02em; }
.method .pp b { color: #003087; }
.method .pp i { color: #009cde; }
/* Our own card form: each field is a frame drawn by Stripe inside one of these boxes. */
.card-form { display: grid; gap: .4rem; padding: 0 .75rem; }
.card-form label { margin-top: .6rem; font-size: .875rem; font-weight: 600; }
.card-field { border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: .9rem .9rem; }
.card-field.StripeElement--focus { border-color: var(--ink); }
.card-field.StripeElement--invalid { border-color: var(--bad); }
.card-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.card-pair > div { display: grid; gap: .4rem; }
.card-form .notice { margin-top: .6rem; font-size: .9rem; }
.card-form .btn { margin-top: 1rem; }
.card-form .btn[disabled] { opacity: .65; cursor: default; filter: none; }
.pay-safe { display: flex; align-items: flex-start; gap: .65rem; margin: 0 0 1rem; padding: .75rem; border: 1px solid #dedcf8; border-radius: .65rem; background: #f5f4ff; font-size: .8rem; line-height: 1.4; color: #383453; }
.pay-safe svg { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .05rem; color: #635bdf; }
.pay-safe .stripe-badge { display: block; flex: none; width: 6rem; height: auto; margin: .1rem 0 0 auto; }
.pay-safe strong, .pay-safe span { display: block; }
.pay-safe strong { margin-bottom: .15rem; color: #252046; font-size: .875rem; }
.pay-summary .total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .9rem 0; color: var(--muted); }
.pay-summary .total b { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.pay-summary .total s { font-size: 1.1rem; font-weight: 500; color: var(--muted); }
.pay-offer { margin-top: .75rem; background: var(--plate); border-radius: 8px; padding: .5rem .75rem; font-size: .9rem; }
.promise { display: grid; gap: .45rem; margin-top: 1rem; font-size: .9rem; font-weight: 500; }
.promise li { display: flex; gap: .5rem; overflow-wrap: anywhere; }
.promise li::before { content: "✓"; flex-shrink: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--good); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.25rem; text-align: center; }
.pay-summary .ticklist { margin-bottom: 0; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); }
.pay-sample { margin-top: .75rem; font-size: .875rem; font-weight: 600; }
/* On a phone the list of checks stays short (two columns, small type) so the payment still comes into view.
   The forms that sell skip the price page, so this is where the buyer sees what the price pays for. */
@media (max-width: 899px) {
    .pay-summary .ticklist { grid-template-columns: 1fr 1fr; gap: .35rem .9rem; margin-top: .9rem; padding-top: .8rem; font-size: .82rem; }
    .pay-sample { margin-top: .6rem; }
    .pay-page { padding-top: 1rem; }
}
/* Apple Pay / Google Pay above the other ways to pay, with "or" between */
.pay-wallet { padding: 0 .75rem 1rem; }
.pay-wallet .notice { margin-top: .6rem; font-size: .9rem; }
.pay-or { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* A recognised buyer's shortcut: open their report, or spend a pack check */
.buyer-note { margin-top: 1.5rem; background: #fff; color: var(--ink); border: 2px solid var(--good); border-radius: 12px; padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.packs-page .buyer-note { margin: 0 0 1.5rem; }

/* The paid report's offer at the top of a free car page */
.offer { margin-top: 1rem; background: var(--plate, #ffd21f); color: var(--ink); border-radius: 12px; padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.offer > div { flex: 1 1 16rem; }
.offer-title { font-size: 1.125rem; font-weight: 800; line-height: 1.25; }
.offer-sub { margin-top: .25rem; font-size: .875rem; }
.offer .btn { flex: 0 0 auto; font-size: 1.05rem; padding: .85rem 1.5rem; white-space: nowrap; }
@media (max-width: 640px) { .offer .btn { flex: 1 1 100%; text-align: center; } }

/* Back office (/admin) */
.admin { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.admin .mono { overflow-wrap: anywhere; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin button.link { background: none; padding: 0; }
.menu { display: flex; gap: 1.5rem; overflow-x: auto; border-bottom: 2px solid var(--line); scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.menu a { margin-bottom: -2px; border-bottom: 2px solid transparent; padding: .6rem .1rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.menu a.on { border-color: var(--ink); color: var(--ink); }
.menu .count { margin-left: .25rem; border-radius: 999px; padding: .05rem .5rem; background: var(--line); font-size: .75rem; color: var(--muted); }
.menu .count.on { background: var(--good); color: #fff; }
.menu .count.bad { background: var(--bad); color: #fff; }
@media (max-width: 640px) { .menu { gap: .8rem; } .menu a { font-size: .8rem; } }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.tabs a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font-size: .875rem; font-weight: 600; }
.tabs a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .kpis { grid-template-columns: repeat(5, 1fr); } }
.kpis div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; }
.kpis b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.kpis span { font-size: .8rem; color: var(--muted); }
.kpis .gain { background: var(--good); border-color: var(--good); color: #fff; }
.kpis .loss { background: var(--bad); border-color: var(--bad); color: #fff; }
.kpis .gain span, .kpis .loss span { color: rgba(255,255,255,.85); }
@media (max-width: 767px) { .kpis .gain, .kpis .loss { grid-column: 1 / -1; } }
.scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .875rem; white-space: nowrap; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: .5rem .75rem; border-bottom: 2px solid var(--ink); }
.table td { padding: .55rem .75rem; border-bottom: 1px solid var(--line); }
.table tr:nth-child(even) td { background: #f6f8fb; }
.table td.long { white-space: normal; min-width: 13rem; max-width: 24rem; overflow-wrap: anywhere; }
.admin a.notice { display: block; margin: 0; }
.cost-form { display: grid; gap: .5rem; }
.live-head { display: flex; align-items: center; gap: .6rem; font-size: 1.125rem; font-weight: 700; }
.live-head .dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(18,128,92,.5); animation: live 1.6s infinite; }
.live-head .dot.off { background: #b8c2d0; animation: none; }
.who { display: inline-block; width: .55rem; height: .55rem; margin-right: .5rem; border-radius: 50%; background: #b8c2d0; }
.who.on { background: var(--good); }
.live-filter { display: flex; gap: .4rem; margin-left: auto; font-size: .8rem; font-weight: 600; }
.live-filter a { padding: .2rem .65rem; border-radius: 999px; color: var(--muted); text-decoration: none; }
.live-filter a.on { background: var(--ink); color: #fff; }
/* Visitors list: six columns of two lines each (main fact, then a muted detail cut with "..." when long). */
.visitors-table th, .visitors-table td { padding-left: .5rem; padding-right: .5rem; }
.visitors-table td { vertical-align: top; }
.vl-main { display: block; }
.vl-name { font-weight: 600; max-width: 14rem; overflow: hidden; text-overflow: ellipsis; }
.vl-sub { display: block; max-width: 11rem; overflow: hidden; text-overflow: ellipsis; font-size: .75rem; color: var(--muted); }
.vl-sub.on { color: var(--good); font-weight: 600; }
.vl-who { display: flex; align-items: flex-start; gap: .5rem; }
.vl-who .who { flex: none; margin: .4rem 0 0; }
.vl-who .badge { display: inline-block; margin-top: .2rem; }
.vl-who .vl-sub { max-width: 15rem; }
@keyframes live { 70% { box-shadow: 0 0 0 .6rem rgba(18,128,92,0); } 100% { box-shadow: 0 0 0 0 rgba(18,128,92,0); } }
@media (min-width: 768px) { .cost-form { grid-template-columns: 11rem 1fr 9rem auto; } }

/* The car buying checklist's page (/car-buying-checklist) and the page that hands it over.
   The page shows the real PDF (the sample car's, assets/checklist/): fanned out beside the form, then page by page. */
.ckl-hero { padding: 2.5rem 0 3rem; overflow: hidden; }
.ckl-hero-in { max-width: 72rem; margin: 0 auto; padding: 0 1rem; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) {
  .ckl-hero { padding: 3.5rem 0 4rem; }
  .ckl-hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 3rem; }
}
.ckl-hero .eyebrow { margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--plate); }
.ckl-hero h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -.01em; }
@media (min-width: 640px) { .ckl-hero h1 { font-size: 2.6rem; } }
.ckl-hero .ckl-sub { font-size: 1.05rem; }
/* On a phone the form comes before the three points, so its button shows without scrolling (and clear of the chat button). */
.ckl-pitch { display: flex; flex-direction: column; }
.ckl-ticks { display: grid; gap: .5rem; margin-top: 1.25rem; }
@media (max-width: 639px) { .ckl-pitch .ckl-order { order: 2; margin-top: 1.25rem; } .ckl-pitch .ckl-ticks { order: 3; margin-top: 1.4rem; } }
@media (max-width: 400px) { .ckl-hero { padding-top: 1.5rem; } .ckl-hero h1 { font-size: 1.8rem; } .ckl-hero .ckl-sub { font-size: 1rem; } .ckl-hero .ckl-order { margin-top: 1rem; padding: .9rem; } }
.ckl-ticks li { position: relative; padding-left: 1.8rem; font-size: .95rem; color: rgba(255,255,255,.92); }
.ckl-ticks li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--plate) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.2' fill='none' stroke='%230b1f3a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.ckl-hero .ckl-order { margin-top: 1.5rem; padding: 1.1rem; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.06); max-width: 36rem; }
@media (min-width: 640px) { .ckl-hero .ckl-order { padding: 1.35rem; } }
.ckl-stack { position: relative; display: block; width: min(100%, 21rem); aspect-ratio: 1 / 1.12; margin: 0 auto; }
@media (min-width: 960px) { .ckl-stack { width: min(100%, 27rem); } }
.ckl-stack img { position: absolute; width: 68%; height: auto; border-radius: 6px; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.4); transition: transform .2s; }
.ckl-stack .p1 { left: 16%; top: 3%; z-index: 3; transform: rotate(-2deg); }
.ckl-stack .p2 { left: 31%; top: 7%; z-index: 2; transform: rotate(6deg); }
.ckl-stack .p3 { left: 1%; top: 8%; z-index: 1; transform: rotate(-9deg); }
.ckl-stack:hover .p1 { transform: rotate(-2deg) translateY(-6px); }
.ckl-stack:hover .p2 { transform: rotate(8deg) translateX(8px); }
.ckl-stack:hover .p3 { transform: rotate(-11deg) translateX(-8px); }
.ckl-stack-tag { position: absolute; z-index: 4; left: 50%; bottom: 1%; transform: translateX(-50%); padding: .4rem .9rem; border-radius: 999px; background: var(--plate); color: var(--ink); font-size: .8rem; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.ckl-trust { background: #fff; border-bottom: 1px solid var(--line); }
.ckl-trust ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
@media (min-width: 860px) { .ckl-trust ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ckl-trust li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .65rem; font-size: .82rem; line-height: 1.35; color: var(--muted); }
.ckl-trust svg { grid-row: span 2; width: 1.6rem; height: 1.6rem; margin-top: .1rem; color: var(--good); }
.ckl-trust b { font-size: .92rem; color: var(--ink); }
.ckl-sec { margin-top: 3.5rem; }
.ckl-trust + .ckl-sec { margin-top: 2.25rem; }
.ckl-h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; text-align: center; }
.ckl-lead { max-width: 42rem; margin: .6rem auto 0; text-align: center; color: var(--muted); }
/* The example's pages: side by side on a wide screen, swiped through on a phone. */
.ckl-pages { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 1rem; margin: 1.75rem -1rem 0; padding: .25rem 1rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ckl-pages::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .ckl-pages { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0 0; padding: 0; overflow: visible; } }
.ckl-pages figure { margin: 0; scroll-snap-align: center; }
.ckl-pages a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(11,31,58,.1); transition: transform .15s, box-shadow .15s; }
.ckl-pages a:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(11,31,58,.16); }
.ckl-pages img { display: block; width: 100%; height: auto; }
.ckl-pages figcaption { margin-top: .9rem; font-size: .9rem; color: var(--muted); }
.ckl-pages figcaption b { display: block; margin: .3rem 0 .15rem; font-size: 1.02rem; color: var(--ink); }
.ckl-pages .n { display: inline-block; padding: .05rem .5rem; border-radius: 999px; background: var(--plate); color: var(--ink); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ckl-vs { display: grid; gap: 1rem; max-width: 56rem; margin: 1.75rem auto 0; }
@media (min-width: 700px) { .ckl-vs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ckl-vs > div { padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ckl-vs > .on { border: 2px solid var(--good); box-shadow: 0 8px 24px rgba(18,128,92,.12); }
.ckl-vs h3 { margin-bottom: .5rem; font-size: 1.05rem; font-weight: 800; }
.ckl-vs li { position: relative; margin-top: .5rem; padding-left: 1.6rem; font-size: .93rem; color: var(--muted); }
.ckl-vs li::before { content: "✕"; position: absolute; left: .1rem; top: 0; font-weight: 700; color: #9aa6b8; }
.ckl-vs .on li { color: var(--ink); }
.ckl-vs .on li::before { content: "✓"; color: var(--good); }
.ckl-steps { display: grid; gap: 1rem; max-width: 64rem; margin: 1.75rem auto 0; counter-reset: ckl; }
@media (min-width: 760px) { .ckl-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ckl-steps li { position: relative; padding: 1.2rem 1.25rem 1.2rem 3.7rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; counter-increment: ckl; }
.ckl-steps li::before { content: counter(ckl); position: absolute; left: 1.15rem; top: 1.15rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--plate); font-weight: 800; }
.ckl-steps b { display: block; }
.ckl-steps span { font-size: .9rem; color: var(--muted); }
.ckl-not { max-width: 64rem; margin: 1.25rem auto 0; padding: 1rem 1.25rem; border: 1px solid #f0dd8a; border-radius: 12px; background: #fff8dc; font-size: .93rem; }
.ckl-cta { width: calc(100% - 2rem); max-width: 56rem; margin: 3.5rem auto; padding: 2.5rem 1.25rem; border-radius: 16px; background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: #fff; text-align: center; }
.ckl-cta h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.ckl-cta p { max-width: 34rem; margin: .5rem auto 0; color: rgba(255,255,255,.78); }
.ckl-cta .btn { margin-top: 1.25rem; }
#get { scroll-margin-top: 0; }
.steps { list-style: decimal; padding-left: 1.25rem; display: grid; gap: .5rem; margin-top: 1rem; }
.checklist-done { padding-top: 2.5rem; }

/* Blog: the index (/blog), one guide (/blog/<slug>), and the guide lists on the home and search pages */
.crumbs { max-width: 48rem; margin: 1.25rem auto 0; padding: 0 1rem; font-size: .8125rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: underline; }
.post { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
.post-head { margin-top: 1rem; }
.post-head .kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--good); }
.post-head h1 { font-size: 2rem; line-height: 1.2; font-weight: 800; margin-top: .25rem; }
@media (min-width: 640px) { .post-head h1 { font-size: 2.5rem; } }
.post-head .meta { margin-top: .5rem; font-size: .875rem; color: var(--muted); }
.post-body { color: #33445c; font-size: 1.0625rem; line-height: 1.7; }
.post-body > p, .post-body > ul, .post-body > ol { margin-top: 1rem; }
.post-body .lead { font-size: 1.15rem; color: var(--ink); }
.post-body > h2 { color: var(--ink); font-size: 1.5rem; line-height: 1.3; margin-top: 2.5rem; scroll-margin-top: 1rem; }
.post-body > ul { list-style: disc; padding-left: 1.25rem; }
.post-body > ol { list-style: decimal; padding-left: 1.25rem; }
.post-body > ul li, .post-body > ol li { margin-top: .35rem; }
.post-body > p a, .post-body > ul a, .post-body > ol a, .post-body .note a, .post-body td a { color: var(--gb); text-decoration: underline; }
.post-body strong { color: var(--ink); }
.post-body .note { background: #fff8db; border-left: 4px solid var(--plate); padding: .75rem 1rem; border-radius: 6px; color: var(--ink); margin-top: 1rem; }
.post-body .faq { margin-top: 1rem; }
.toc { margin-top: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; font-size: .95rem; }
.toc p { font-weight: 700; color: var(--ink); }
.toc ol { list-style: decimal; padding-left: 1.25rem; margin-top: .5rem; }
.toc li { margin-top: .25rem; }
.toc a { color: var(--gb); }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
.post-body table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.post-body th, .post-body td { text-align: left; vertical-align: top; padding: .6rem .75rem; border: 1px solid var(--line); }
.post-body thead th { background: var(--paper); color: var(--ink); }
.post-body tbody th { color: var(--ink); font-weight: 600; }
.cta-box { margin-top: 2.5rem; background: var(--ink); color: #fff; border-radius: 16px; padding: 1.5rem; scroll-margin-top: 1rem; }
.cta-box .cta-title { font-size: 1.35rem; line-height: 1.25; font-weight: 800; color: #fff; }
.cta-box > p { margin-top: .5rem; color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.5; }
.cta-box form { margin-top: 1rem; }
.cta-box .order-form { max-width: none; }
.cta-box .cta-alt { margin-top: 1rem; font-size: .9rem; }
.cta-box .cta-alt a, .cta-box .order-form a.u { color: var(--plate); text-decoration: underline; }
/* A short call to action under a guide's first answer (article.php, 'early'). */
.early-cta { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; padding: .9rem 1rem; border: 1px solid var(--line); border-left: 5px solid var(--plate); border-radius: 10px; background: #fff; }
.early-cta p { margin: 0; flex: 1; font-size: .98rem; line-height: 1.5; }
.early-cta .btn { flex: none; white-space: nowrap; }
@media (max-width: 600px) { .early-cta { flex-direction: column; align-items: stretch; } .early-cta .btn { text-align: center; } }
.sources { list-style: disc; padding-left: 1.25rem; margin-top: 1rem; font-size: .95rem; }
.sources a { color: var(--gb); text-decoration: underline; word-break: break-word; }
.guide-list { display: grid; gap: .75rem; margin-top: 1rem; }
.guide-list a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; color: var(--ink); text-decoration: none; }
.guide-list a:hover { border-color: var(--ink); }
.guide-list strong { display: block; font-size: 1.05rem; line-height: 1.35; }
.guide-list span { display: block; margin-top: .25rem; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.guide-list small { display: block; margin-top: .4rem; font-size: .8rem; color: var(--muted); }
.guides { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
.guide-group { margin-top: 2.5rem; }
.guide-group h2 { font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.home-guides { max-width: 48rem; margin: 3rem auto 0; padding: 0 1rem; }
.home-guides h2 { font-size: 1.5rem; font-weight: 800; text-align: center; }
.home-guides > p { margin-top: 1rem; text-align: center; }
/* Blog pictures: a guide's main picture, its diagrams with their captions, and the small pictures on /blog */
.post-hero, .post-fig { margin: 1.5rem 0 0; }
.post-hero img, .post-fig img { display: block; width: 100%; height: auto; border-radius: 12px; }
.post-fig img { border: 1px solid var(--line); background: #fff; }
.post-fig figcaption { margin-top: .5rem; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.guide-list .thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--ink); }
.guides .guide-list a { display: grid; grid-template-columns: 7.5rem 1fr; column-gap: .9rem; align-items: start; padding: .75rem; }
.guides .guide-list .thumb { grid-row: span 3; }
.guides .guide-list strong, .guides .guide-list span, .guides .guide-list small { grid-column: 2; }
@media (min-width: 40rem) {
  .guides .guide-list { grid-template-columns: 1fr 1fr; }
  .guides .guide-list a { display: block; padding: 0 0 1rem; overflow: hidden; }
  .guides .guide-list .thumb { border-radius: 0; margin-bottom: .75rem; }
  .guides .guide-list strong, .guides .guide-list span, .guides .guide-list small { padding: 0 1rem; }
}

/* "Did you mean …@hotmail.com?" under an email field (see layout.php): readable on the dark hero forms too. */
.email-fix, .tool-hero p.email-fix, .hero p.email-fix { margin: 0; padding: .55rem .75rem; border-radius: 8px; background: #fff3c4; color: #0b1f3a; font-size: .9rem; text-align: left; }
.email-fix button { border: 0; background: none; padding: 0; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Redesign of 2026-10-29: the Union flag, the car beside the forms, the report's checks as cards, guides with pictures. */
.flag { display: inline-block; width: 1.5rem; height: .75rem; border-radius: 2px; vertical-align: middle; }
.logo .flag { width: 1.6rem; height: .8rem; margin-left: .1rem; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.plate-box .gb .flag { width: 1.3rem; height: .65rem; margin-bottom: .2rem; border-radius: 1px; }
.plate-form.lg .plate-box .gb .flag { width: 1.9rem; height: .95rem; margin-bottom: .3rem; }
.hero, .tool-hero.with-art { background: radial-gradient(circle at 80% 45%, rgba(31,75,180,.85) 0, rgba(31,75,180,0) 45%), var(--ink); }
.hero-art { margin: 2rem auto 0; max-width: 21rem; }
.hero-car { display: block; width: 100%; height: auto; }
.hero-car .reg { font-family: var(--mono); }
.hero-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: .9rem; }
.hero-ticks li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem .3rem .4rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.07); font-size: .85rem; font-weight: 600; color: #fff; }
.hero-ticks li::before, .trust .tick::before { content: ""; flex: none; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; margin-top: 1.25rem; font-size: .875rem; color: rgba(255,255,255,.82); }
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust .flag { width: 1.4rem; height: .7rem; }
.tool-hero .hero-art { display: none; }
@media (min-width: 60rem) {
  .hero .inner.split, .tool-hero .inner.split { max-width: 72rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; text-align: left; }
  .hero .split .order-form { margin: 0; }
  .hero .split .trust { justify-content: flex-start; }
  .hero-art, .tool-hero .hero-art { display: block; margin: 0; max-width: none; }
}
.home-more { max-width: 72rem; }
.home-more h2 { font-size: 1.5rem; font-weight: 800; }
.check-cards { display: grid; gap: .75rem; width: 100%; margin-top: .5rem; text-align: left; }
.check-cards li { display: grid; grid-template-columns: 2.75rem 1fr; column-gap: .9rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.check-cards .ico { grid-row: span 2; width: 2.75rem; height: 2.75rem; padding: .55rem; border-radius: 10px; background: rgba(31,75,180,.08); color: var(--gb); }
.check-cards strong { font-size: 1rem; line-height: 1.3; }
.check-cards span { font-size: .9rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 40rem) { .check-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) {
  .check-cards { grid-template-columns: repeat(3, 1fr); }
  .home-guides.guides { max-width: 72rem; }
  .home-guides.guides .guide-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Header: the quick registration box, on wide screens only (the home page and the footer have their own). */
.head-reg { display: none; }
@media (min-width: 1280px) {
  .head-reg { display: flex; align-items: center; gap: .35rem; }
  .head-reg .plate-box { flex: none; width: 8.75rem; border-width: 1.5px; border-radius: 6px; }
  .head-reg .plate-box .gb { width: 1.45rem; padding-bottom: .15rem; font-size: 8px; }
  .head-reg .plate-box input { padding: .3rem .4rem; font-size: .92rem; }
  .head-reg .btn { padding: .38rem .75rem; font-size: .8rem; }
}

/* ---- Home page (redesign of 31 Oct 2026). Its classes start with h-, so no other page is touched. */
.h-hero { padding: 2.25rem 0 3rem; color: #fff; background: radial-gradient(900px 420px at 85% -10%, rgba(31, 75, 180, .55), transparent 65%), radial-gradient(700px 360px at -10% 110%, rgba(18, 128, 92, .22), transparent 60%), var(--ink); }
.h-hero-grid { display: grid; gap: 2rem; }
@media (min-width: 980px) {
  .h-hero { padding: 3.75rem 0 4.25rem; }
  .h-hero-grid { grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center; }
}
.h-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .75rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #d4e2ff; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.h-eyebrow i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--plate); }
.h-hero h1 { margin-top: .9rem; font-size: 2.3rem; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
@media (min-width: 640px) { .h-hero h1 { font-size: 3.05rem; } }
.h-sub { max-width: 36rem; margin-top: .85rem; color: rgba(255, 255, 255, .78); font-size: 1.08rem; }
.h-form-card { max-width: 37rem; margin-top: 1.4rem; padding: 1.1rem; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 22px 50px rgba(0, 0, 0, .28); }
.h-vin-link { margin-top: 1.25rem; }
.h-cta .h-home-order { margin-inline: auto; text-align: left; }
.h-cta .h-home-order .order-form { max-width: none; }
.h-form-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin-bottom: .6rem; font-size: .82rem; font-weight: 700; }
.h-form-title span { color: var(--good); font-weight: 600; }
.h-form-card .order-form { max-width: none; gap: .6rem; }
.h-form-card .order-form .input { border: 1.5px solid #c5d0e1; border-radius: 10px; }
.h-form-card .order-form .input:focus { border-color: var(--gb); outline: 3px solid rgba(31, 75, 180, .15); }
.h-form-card .order-form .error { padding: 0; background: none; }
.h-form-card .plate-form.lg .plate-box input { font-size: 1.9rem; padding: .6rem; }
@media (min-width: 640px) {
  .h-form-card .order-form { grid-template-columns: 1fr auto; }
  .h-form-card .order-form .plate-box, .h-form-card .order-form .error { grid-column: 1 / -1; }
  .h-form-card .order-form .btn { width: auto; padding-left: 1.5rem; padding-right: 1.5rem; }  .h-form-card .plate-form.lg .plate-box input { font-size: 2.15rem; }
}
.h-ticks { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .8rem; color: var(--muted); font-size: .8rem; }
.h-ticks li::before { content: "✓"; margin-right: .3rem; color: var(--good); font-weight: 800; }
.h-small { margin-top: .75rem; padding-top: .7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; line-height: 1.45; }
.h-small a { text-decoration: underline; }
/* Phones (since 2026-11-23): plate, email and the button all on the first screen. */
@media (max-width: 639px) {
  .h-hero { padding: 1.05rem 0 2rem; }
  .h-eyebrow { display: none; }
  .h-hero h1 { margin-top: 0; font-size: 1.85rem; }
  .h-sub { margin-top: .5rem; font-size: .95rem; line-height: 1.45; }
  .h-form-card { margin-top: .9rem; padding: .85rem; border-radius: 14px; }
  .h-form-title { margin-bottom: .45rem; }
  .h-form-card .plate-form.lg .plate-box input { font-size: 1.6rem; padding: .45rem; }
}
/* The search pages (check_page.php, tool_hero()) on phones, as the home page above: the form's button on the first
   screen. :has() keeps the blog's and the checklist's heroes (no .hero-text) as they are. */
@media (max-width: 639px) {
  .tool-hero:has(.hero-text) { padding: 1.1rem 0 2rem; }
  .tool-hero .hero-text h1 { font-size: 1.85rem; line-height: 1.12; }
  .tool-hero .hero-text > p { margin-top: .5rem; font-size: .95rem; line-height: 1.45; }
  .tool-hero .hero-text .form { margin-top: 1rem; }
  .tool-hero .hero-text .order-form { gap: .6rem; }
  .tool-hero .hero-text .order-form .input { padding: .8rem .85rem; font-size: 1rem; }
  .tool-hero .hero-text .plate-form.lg .plate-box input { font-size: 1.6rem; padding: .5rem; }
  .tool-hero .hero-text .btn-lg { padding: .9rem 1.25rem; }
}
.h-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.1rem; color: rgba(255, 255, 255, .8); font-size: .84rem; }
.h-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.h-trust li::before, .h-chips li::before { content: ""; flex: none; width: 1rem; height: 1rem; border-radius: 50%; background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* The sample report beside the form (example data, the same car as /sample). */
.h-sample { padding: 1rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }
.h-sample-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; font-size: .8rem; font-weight: 700; }
.h-live { display: inline-flex; align-items: center; gap: .45rem; }
.h-live::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #3ddc97; }
.h-tag { padding: .15rem .55rem; border-radius: 999px; background: rgba(255, 210, 31, .15); color: var(--plate); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.h-sample-art { position: relative; margin-top: .8rem; padding: 1rem 1rem .6rem; border-radius: 14px; background: radial-gradient(closest-side, rgba(31, 75, 180, .6), transparent), #0f2748; }
.h-sample-art .hero-car { display: block; width: 100%; max-width: 19rem; margin: 0 auto; }
.h-chips { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .6rem; }
.h-chips li { display: flex; align-items: center; gap: .4rem; padding: .4rem .55rem; border-radius: 9px; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: .74rem; font-weight: 700; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
@media (min-width: 560px) {
  .h-sample-art { padding: 2.9rem 1rem; }
  .h-chips { position: absolute; inset: .75rem; display: block; margin: 0; pointer-events: none; }
  .h-chips li { position: absolute; }
  .h-chips li:nth-child(1) { top: 0; left: 0; }
  .h-chips li:nth-child(2) { top: 0; right: 0; }
  .h-chips li:nth-child(3) { bottom: 0; left: 0; }
  .h-chips li:nth-child(4) { right: 0; bottom: 0; }
}
/* With the photo (assets/home, made by dev/make_sample_car.py): it fills the frame; the labels sit on its corners. */
.h-sample-art.photo { padding: 0; overflow: hidden; background: #0f2748; }
.h-sample-art.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.h-sample-art.photo .h-chips { margin: 0; padding: .6rem; }
@media (min-width: 560px) {
  .h-sample-art.photo { padding: 0; }
  .h-sample-art.photo .h-chips { inset: .7rem; padding: 0; }
}
.h-credit { margin-top: .45rem; color: rgba(255, 255, 255, .42); font-size: .66rem; text-align: center; }
.h-credit a { text-decoration: underline; }
.h-sample-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .8rem 0 0; }
.h-sample-stats div { padding: .6rem .4rem; border-radius: 10px; background: rgba(255, 255, 255, .07); text-align: center; }
.h-sample-stats dt { color: rgba(255, 255, 255, .62); font-size: .7rem; }
.h-sample-stats dd { margin: .15rem 0 0; font-size: .95rem; font-weight: 800; }
.h-sample-link { display: block; margin-top: .8rem; color: var(--plate); font-size: .86rem; font-weight: 700; text-align: center; }
.h-sample-link:hover { text-decoration: underline; }

/* Sections */
.h-sec { padding: 3.25rem 0; }
@media (min-width: 768px) { .h-sec { padding: 4rem 0; } }
.h-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.h-kicker { color: var(--good); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.h-kicker.bad { color: var(--bad); }
.h-sec h2 { margin-top: .35rem; font-size: 1.7rem; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
@media (min-width: 640px) { .h-sec h2 { font-size: 2rem; } }
.h-lead { max-width: 40rem; margin-top: .6rem; color: var(--muted); }
.h-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.h-sec-head > a { color: var(--gb); font-weight: 700; }
.h-sec-head > a:hover { text-decoration: underline; }
.h-sec-head.center { justify-content: center; text-align: center; }
.h-note { margin-top: 1.25rem; color: var(--muted); font-size: .9rem; }
.h-note.center { text-align: center; }
.h-note a { color: var(--gb); font-weight: 600; text-decoration: underline; }

/* What a seller may not tell you */
.h-warn { display: grid; gap: 1.5rem; }
@media (min-width: 980px) { .h-warn { grid-template-columns: .85fr 1.6fr; gap: 2.5rem; align-items: center; } }
.h-warn-cards { display: grid; gap: .9rem; }
@media (min-width: 600px) { .h-warn-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.h-warn-card { display: block; padding: 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, transform .15s; }
.h-warn-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.h-warn-card .ico { width: 2.3rem; height: 2.3rem; padding: .45rem; border-radius: 10px; background: #fdecec; color: var(--bad); }
.h-warn-card b { display: block; margin-top: .65rem; font-size: 1rem; }
.h-warn-card span { display: block; margin-top: .3rem; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.h-warn-card.stat { border-color: var(--ink); background: var(--ink); color: #fff; }
.h-warn-card.stat .big { margin: 0; color: var(--plate); font-size: 2.3rem; line-height: 1.05; }
.h-warn-card.stat span { color: rgba(255, 255, 255, .75); }

/* What the report checks */
.h-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.h-check { display: flex; flex-direction: column; gap: .55rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.h-check-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.h-check .ico { width: 2.4rem; height: 2.4rem; padding: .5rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.h-level { padding: .2rem .5rem; border-radius: 6px; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.h-level.premium { background: #fff3c4; color: #7a5b00; }
.h-level.basic { background: #e3f3ec; color: var(--good); }
.h-check h3 { font-size: 1.05rem; font-weight: 800; }
.h-check p { flex: 1; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.h-check a { color: var(--gb); font-size: .85rem; font-weight: 700; }
.h-check a:hover { text-decoration: underline; }

/* Prices */
.h-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1.1rem; max-width: 62rem; margin: 0 auto; }
.h-plan { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.h-plan.best { border: 2px solid var(--good); box-shadow: 0 14px 34px rgba(18, 128, 92, .13); }
.h-flag { position: absolute; top: -.75rem; left: 1.5rem; padding: .2rem .65rem; border-radius: 999px; background: var(--good); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .03em; }
.h-plan h3 { font-size: 1.1rem; font-weight: 800; }
.h-amount { font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.h-amount small { color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: 0; }
.h-plan ul { display: grid; flex: 1; gap: .4rem; font-size: .9rem; }
.h-plan li::before { content: "✓"; margin-right: .45rem; color: var(--good); font-weight: 800; }
.h-plan li.no { color: var(--muted); }
.h-plan li.no::before { content: "–"; color: var(--muted); }
.h-plan .btn { width: 100%; }

/* Guides */
.h-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.1rem; }
.h-guide { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, transform .15s; }
.h-guide:hover { border-color: var(--ink); transform: translateY(-2px); }
.h-guide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink); }
.h-guide div { display: flex; flex: 1; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem 1.2rem; }
.h-guide em { color: var(--gb); font-size: .68rem; font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.h-guide b { font-size: 1.02rem; line-height: 1.35; }
.h-guide span { flex: 1; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.h-guide small { color: var(--muted); font-size: .76rem; }

/* Questions */
.h-faq { max-width: 50rem; }
.h-faq .faq { margin-top: 0; }

/* The last call, joined to the footer. */
.h-cta { padding: 3.5rem 0; color: #fff; text-align: center; background: radial-gradient(700px 300px at 50% -20%, rgba(31, 75, 180, .55), transparent 70%), var(--ink-2); }
.h-cta h2 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.015em; }
.h-cta p { margin-top: .5rem; color: rgba(255, 255, 255, .78); }
.h-cta .plate-form { max-width: 34rem; margin: 1.5rem auto 0; }
.h-cta .h-cta-note { margin-top: 1rem; color: rgba(255, 255, 255, .6); font-size: .8rem; }
main:has(> .h-cta:last-child) + .site-footer { margin-top: 0; }

/* Check pages: the page's question answered first, then the date its facts were last reviewed */
.check-answer { margin: 0 0 .5rem; border-left: 4px solid var(--good); padding: .15rem 0 .15rem 1rem; color: var(--ink); font-size: 1.05rem; line-height: 1.6; }
.prose .meta { margin: 0 0 1.25rem; font-size: .875rem; color: var(--muted); }

/* The 18-second video of a check on a phone (video_block() in partials.php) */
.video-block { display: grid; gap: 1.25rem 2rem; align-items: center; max-width: 48rem; margin: 2.5rem auto 0; padding: 0 1rem; }
@media (min-width: 640px) { .video-block { grid-template-columns: 16.875rem minmax(0, 1fr); } }
.video-frame { justify-self: center; width: 100%; max-width: 16.875rem; border-radius: 22px; overflow: hidden; background: #0b1f3a; box-shadow: 0 12px 30px rgba(11,31,58,.18); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }
.video-text h2 { color: var(--ink); font-size: 1.25rem; margin: 0 0 .5rem; }
.video-text p { color: var(--muted); margin-bottom: .75rem; }
.video-text details { margin-bottom: .75rem; color: var(--muted); font-size: .9rem; }
.video-text summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.h-sec > .video-block { margin-top: 0; }

/* The "before you go" box (exit_offer_box() in partials.php) */
.exit-offer { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(11,31,58,.55); }
.exit-offer[hidden] { display: none; }
html.exit-open { overflow: hidden; }
.exit-card { position: relative; width: 100%; max-width: 26rem; max-height: calc(100vh - 2rem); overflow: auto; border-radius: 16px; background: #fff; padding: 1.5rem 1.25rem 1rem; color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.exit-card h2 { margin: .35rem 0 .5rem; font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.exit-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.exit-card p b { color: var(--ink); }
.exit-tag { display: inline-block; margin: 0 !important; border-radius: 999px; background: var(--plate); padding: .2rem .7rem; color: var(--ink) !important; font-size: .8rem !important; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.exit-x { position: absolute; top: .5rem; right: .6rem; width: 2.25rem; height: 2.25rem; border: 0; background: none; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.exit-form { display: grid; gap: .6rem; }
.exit-form .xs { margin: 0; font-size: .75rem; }
.exit-no { display: block; width: 100%; margin-top: .6rem; border: 0; background: none; padding: .5rem; color: var(--muted); font-size: .9rem; text-decoration: underline; cursor: pointer; }
/* On the sample report, opened from a payment page: the way back to that payment */
.back-to-pay { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; background: var(--ink); padding: .65rem 1rem; color: #fff; font-weight: 600; font-size: .95rem; text-align: center; }
.back-to-pay[hidden] { display: none; }

/* ---- Chat (assets/chat.js): a button in the corner, a window above it; the whole screen on a phone. */
.chat-root { position: fixed; right: 18px; bottom: 18px; z-index: 900; font-family: var(--sans); }
.exit-open .chat-root { display: none; }
.chat-fab { position: relative; display: flex; align-items: center; gap: .5rem; height: 54px; padding: 0 1.15rem 0 1rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem; box-shadow: 0 0 0 2px #fff, 0 8px 24px rgba(11, 31, 58, .28); transition: transform .15s; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab:focus-visible { outline: 3px solid var(--plate); outline-offset: 3px; }
.chat-fab svg { width: 24px; height: 24px; fill: var(--plate); }
.chat-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: var(--bad); color: #fff; font-size: .7rem; line-height: 16px; text-align: center; }
.chat-root.is-open .chat-fab { display: none; }
.chat-panel { display: flex; flex-direction: column; width: 370px; height: min(580px, calc(100vh - 36px)); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(11, 31, 58, .25); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: .7rem; padding: .85rem .9rem .85rem 1rem; background: var(--ink); color: #fff; }
.chat-avatar { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--plate); }
.chat-avatar svg { width: 20px; height: 20px; fill: var(--ink); }
.chat-head-text { flex: 1; min-width: 0; line-height: 1.25; }
.chat-head-text b { display: block; font-size: .98rem; }
.chat-head-text small { display: block; color: #a6b5cf; font-size: .76rem; }
.chat-close { flex: none; width: 36px; height: 36px; border-radius: 50%; background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; }
.chat-close:hover { background: rgba(255, 255, 255, .12); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem .9rem; background: var(--paper); display: flex; flex-direction: column; gap: .55rem; overscroll-behavior: contain; }
.chat-msg { max-width: 85%; }
.chat-msg p { margin: 0; padding: .6rem .8rem; border-radius: 14px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.bot p, .chat-msg.team p { border: 1px solid var(--line); border-bottom-left-radius: 4px; background: #fff; }
.chat-msg.team p { border-color: #bcd0f5; background: #eef3fd; }
.chat-msg.me { align-self: flex-end; }
.chat-msg.me p { border-bottom-right-radius: 4px; background: var(--ink); color: #fff; }
.chat-msg.me a { color: var(--plate); }
.chat-msg a { color: var(--gb); font-weight: 600; text-decoration: underline; }
.chat-msg.pending { opacity: .6; }
.chat-msg.error p { border-color: #f1c9c7; background: #fbebea; color: var(--bad); }
.chat-who { display: block; margin: 0 0 .25rem .3rem; line-height: 1.2; color: var(--muted); font-size: .72rem; font-weight: 600; }
.chat-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .15rem; }
.chat-chips button { padding: .42rem .75rem; border: 1px solid var(--gb); border-radius: 999px; background: #fff; color: var(--gb); font-size: .84rem; font-weight: 600; }
.chat-chips button:hover { background: var(--gb); color: #fff; }
.chat-typing p { display: flex; gap: 4px; padding: .8rem .9rem; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chat-dot 1s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-email { padding: .7rem .9rem; border-top: 1px solid var(--line); background: #fffbea; }
.chat-email[hidden] { display: none; }
.chat-email label { display: block; margin-bottom: .35rem; font-size: .8rem; font-weight: 600; }
.chat-email div { display: flex; gap: .4rem; }
.chat-email input { flex: 1; min-width: 0; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .9rem; }
.chat-email button { padding: .5rem .85rem; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; }
.chat-email-error { margin-top: .3rem; color: var(--bad); font-size: .78rem; }
.chat-form { display: flex; align-items: flex-end; gap: .5rem; padding: .65rem .7rem; border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea { flex: 1; min-width: 0; max-height: 120px; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; line-height: 1.35; resize: none; }
.chat-form textarea:focus, .chat-email input:focus { outline: 3px solid #dbe5fb; border-color: var(--gb); }
.chat-send { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); }
.chat-send svg { width: 20px; height: 20px; fill: var(--plate); }
@media (max-width: 600px) {
  .chat-root { right: 12px; bottom: 12px; }
  .chat-fab { height: 50px; padding: 0 .95rem; }
  .chat-root { transition: opacity .2s, transform .2s, visibility .2s; }
  html.chat-fab-off .chat-root:not(.is-open) { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; }
  .chat-root.is-open { inset: 0; }
  .chat-panel { width: 100%; height: 100%; height: 100dvh; border: 0; border-radius: 0; }
  html.chat-open, html.chat-open body { overflow: hidden; }
}
@media print { .chat-root { display: none; } }
/* Tables in the search pages' and the home page's text, as in the guides (since 2026-11-16). */
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6rem .75rem; border: 1px solid var(--line); }
.prose thead th { background: var(--paper); color: var(--ink); }
.prose tbody th { color: var(--ink); font-weight: 600; }
.prose .table-wrap { margin: 0 0 1rem; }
/* The home page's longer text under the guides. */
.h-text .prose { margin-top: 0; }
.h-text .prose h2 { font-size: 1.35rem; }
/* The home page's short answer under the offer (16 Nov 2026). */
.h-answer { padding: 1.75rem 0 0; }
.h-answer .check-answer { max-width: 48rem; margin: 0 auto; }

/* A guide's reading box (views/article.php): rises from the bottom halfway through the guide, above the chat button. */
.read-box { position: fixed; left: 50%; bottom: 12px; z-index: 950; width: min(26rem, calc(100% - 24px)); padding: 1rem 1rem .85rem; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 14px 40px rgba(11,31,58,.35); transform: translate(-50%, calc(100% + 24px)); transition: transform .35s ease; }
.read-box.on { transform: translate(-50%, 0); }
/* While the box is up, the chat button (under it in the same corner) steps aside; it comes back when the box is closed. */
html.read-open .chat-root:not(.is-open) { visibility: hidden; opacity: 0; pointer-events: none; }
.read-x { position: absolute; top: .25rem; right: .4rem; padding: .2rem .45rem; border: 0; background: none; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.read-title { margin: 0 1.9rem .65rem 0; font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.read-form { display: flex; gap: .5rem; }
.read-form .plate-box .gb { width: 2.4rem; font-size: .75rem; padding-bottom: .3rem; }
.read-form .plate-box input { font-size: 1.35rem; letter-spacing: .08em; padding: .55rem .4rem; }
.read-form .btn { flex: none; padding-left: 1rem; padding-right: 1rem; }
.read-line { margin: .5rem 0 0; color: var(--muted); font-size: .8rem; }
@media (min-width: 900px) { .read-box { left: auto; right: 24px; bottom: 24px; transform: translateY(calc(100% + 32px)); } .read-box.on { transform: none; } }
@media print { .read-box { display: none !important; } }

/* Registration-and-email sales page (/check). */
.quick-check { padding: clamp(2rem, 6vw, 5rem) 0; background: linear-gradient(155deg, #edf3ff, var(--paper) 70%); }
.quick-check-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; max-width: 66rem; align-items: start; }
.quick-check-main { padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; box-shadow: 0 12px 32px rgba(11, 31, 58, .06); }
.quick-check h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -.045em; }
.quick-check-intro { max-width: 34rem; margin: .9rem 0 1.4rem; color: var(--muted); }
.quick-check-form .plate-form { width: 100%; max-width: none; }
.quick-check-form .xs { color: var(--muted); }
.quick-check-payment { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.quick-check-example { overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; }
.quick-check-example img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.quick-check-example > div { padding: 1.25rem; }
.quick-check-example h2 { font-size: 1.2rem; }
.quick-check-example .ticklist { margin: .65rem 0 1rem; }
.quick-check-credit { margin-top: .8rem; color: var(--muted); font-size: .72rem; }
@media (min-width: 850px) {
    .quick-check-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 2rem; }
}

/* Customer reviews on the Vehicle Check Online homepage. */
.home-reviews { padding: 1.6rem 0; background: #e9f8f1; color: var(--ink); }
.home-reviews-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; }
.home-reviews h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.025em; }
.home-reviews a { border: 1px solid #bcded0; border-radius: 2rem; padding: .55rem .9rem; background: #fff; color: #08664c; font-size: .9rem; font-weight: 700; }
.home-reviews a:hover { text-decoration: underline; }

/* First-party customer reviews. */
.customer-review-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 1fr); gap: 1rem; overflow-x: auto; margin-top: 1rem; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.customer-review-card { min-width: 0; padding: 1.15rem; border: 1px solid #bcded0; border-radius: 1rem; background: #fff; scroll-snap-align: start; overflow-wrap: anywhere; }
.customer-review-card small { display: block; margin-top: .75rem; color: #435571; }
.customer-review-stars { color: #08664c; letter-spacing: .15em; margin-bottom: .35rem; }
@media (min-width: 800px) { .customer-review-cards { grid-auto-columns: calc((100% - 2rem) / 3); } }
