/* ==========================================================================
   Design tokens (match the approved designs)
   ========================================================================== */
:root {
  --bg: #F5F7F6;
  --surface: #FFFFFF;
  --line: #E3E7E5;
  --line-strong: #CBD3D0;
  --ink: #111418;
  --body: #4B5563;
  --muted: #5B6470;
  --teal: #24524A;
  --teal-dark: #1A3D37;
  --mint: #E4F1EC;
  --mint-line: #CFE3DB;
  --footer: #13302B;
  --footer-text: #CFE0DA;
  --plate: #F2C230;
  --plate-blue: #1D4FB8;
  --ok: #2E7D5B;
  --bad: #D1382E;
  --bad-text: #9A2A21;
  --bad-bg: #FBE9E7;
  --bad-soft: #FDF4F3;
  --bad-line: #F0C9C4;
  --warn: #B86E00;
  --warn-text: #7F4C00;
  --warn-bg: #FCF0DC;
  --warn-soft: #FEF8EE;
  --warn-line: #EBD3A9;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-nav: 'Poppins', var(--font-body); /* one weight (600), menu and account buttons only */
  --font-mono: var(--font-body); /* numbers use tabular figures instead of a third font */

  --radius: 14px;
  --radius-sm: 10px;
  --max: 1280px;
  --gutter: clamp(20px, 5.6vw, 80px);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (min-width: 1024px) { html { scroll-padding-top: 100px; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
img, svg { max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--teal); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(800px + 2 * var(--gutter)); }
.stack > * + * { margin-top: var(--stack, 16px); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
/* Reading progress bar along the bottom of the header */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--mint); pointer-events: none; }
.scroll-progress__bar { display: block; width: 0; height: 100%; border-radius: 0 2px 2px 0; background: var(--teal); }
/* Free check / report pages: on mobile the bar sits under the section chips instead */
.scroll-progress--chips { bottom: -1px; }
@media (max-width: 1023px) { .site-header--app .scroll-progress { display: none; } }
@media (min-width: 1024px) {
  /* Desktop: logo lines up with the sidebar on the left, account button to the far right */
  /* Same header as the home page (menu and My Account in exactly the same place); only the logo moves left to line up with the sidebar */
  .site-header--app .logo { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); }
  .site-header--app .main-nav { grid-column: 2; }
  .site-header--app .btn-account { grid-column: 3; }
}
.site-header__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-left: 20px; padding-right: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.main-nav { display: none; }
.main-nav a, .mobile-nav a:not(.btn) { font-family: var(--font-nav); font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 8px; transition: text-decoration-color .15s ease, color .15s ease; }
.main-nav a { font-size: 16px; padding: 10px 0; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"],
.mobile-nav a:not(.btn):hover, .mobile-nav a:not(.btn):focus-visible, .mobile-nav a:not(.btn)[aria-current="page"] { color: var(--teal); text-decoration-color: currentColor; }
.site-header .btn-account { display: none; } /* scoped so the later .btn rule can't override it */
.menu-button { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); cursor: pointer; }
.menu-button .icon-close, .menu-button[aria-expanded="true"] .icon-open { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 1px); max-height: calc(100vh - 66px); overflow-y: auto; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 12px 20px; box-shadow: 0 16px 32px -16px rgba(17, 20, 24, 0.25); }
.mobile-nav.is-open { display: flex; flex-direction: column; }
.mobile-nav a { font-size: 17px; padding: 14px 12px; }
.mobile-nav a.btn { color: #fff; text-decoration: none; }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }

@media (min-width: 1024px) {
  .site-header__inner { height: 80px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); /* menu stays centred however many links */ padding-left: var(--gutter); padding-right: var(--gutter); }
  .main-nav { display: flex; justify-self: center; gap: clamp(24px, 2.8vw, 40px); white-space: nowrap; }
  .site-header .btn-account { display: inline-flex; justify-self: end; }
  .menu-button, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ==========================================================================
   Buttons & forms
   ========================================================================== */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-light { background: #fff; color: var(--teal); }
.btn-block { width: 100%; justify-content: center; }
.btn-nav { font-family: var(--font-nav); padding: 0 22px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Loading state for the reg check button: spinner + "Checking…", same width */
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; flex-shrink: 0; }
.btn.is-loading { cursor: progress; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 1.6s; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.input, textarea.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: 16px var(--font-body); background: #fff; color: var(--ink); }
textarea.input { min-height: 160px; resize: vertical; }
.input:focus { outline: 3px solid var(--mint-line); border-color: var(--teal); }
.error { color: var(--bad-text); font-size: 14px; font-weight: 500; }
.hp { position: absolute; left: -9999px; }

/* Number plate input */
.reg-form { display: flex; flex-direction: column; gap: 10px; }
.reg-form__row { display: flex; flex-direction: column; gap: 10px; }
.plate { display: flex; align-items: stretch; height: 68px; border: 3px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; background: var(--plate); }
.plate__band { width: 42px; background: var(--plate-blue); color: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px; font: 800 13px var(--font-display); flex-shrink: 0; }
/* Text is centred on the whole plate, not just the space right of the UK band:
   right padding = band width (42px) + left padding (16px). */
.plate input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 0 58px 0 16px; text-align: center; font: 800 32px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.plate input::placeholder { color: #6B6547; }
.plate input:focus { outline: none; }
.plate:focus-within { box-shadow: 0 0 0 4px var(--mint-line); }
.reg-form .btn { min-height: 56px; justify-content: center; font-size: 17px; gap: 10px; }
@media (min-width: 640px) {
  .reg-form__row { flex-direction: row; }
  .plate { width: 380px; }
  .plate input { font-size: 36px; }
  .reg-form .btn { padding: 0 28px; }
}
.plate-badge { display: inline-block; background: var(--plate); border: 2px solid var(--ink); border-radius: 6px; padding: 3px 10px; font: 800 18px/1.2 var(--font-display); letter-spacing: .06em; color: var(--ink); white-space: nowrap; }
.plate-badge--old { background: #fff; color: var(--muted); }
.plate-badge--sm { font-size: 15px; padding: 2px 8px; }

/* ==========================================================================
   Layout blocks
   ========================================================================== */
main { display: block; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section-head { max-width: 760px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 5.3vw, 76px); line-height: 0.98; letter-spacing: -0.035em; }
.h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 3.7vw, 52px); line-height: 1.02; letter-spacing: -0.03em; }
.h3 { font-size: 20px; font-weight: 700; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--body); max-width: 620px; }
.kicker { font-size: 14px; font-weight: 600; color: var(--muted); }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.5vw, 28px); }
.card--warn { border-color: var(--warn-line); }
.card--bad { border-color: var(--bad-line); }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.card h2 { font-size: 20px; font-weight: 700; }

.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; } }

.breadcrumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); }

/* ==========================================================================
   Badges, status tiles, rows
   ========================================================================== */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.badge--ok { background: var(--mint); color: var(--teal); }
.badge--warn { background: var(--warn-bg); color: var(--warn-text); }
.badge--bad { background: var(--bad-bg); color: var(--bad-text); }
.badge--neutral { background: #F0F3F2; color: var(--muted); }
.badge--solid { background: var(--teal); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--warn { background: var(--warn); }
.dot--bad { background: var(--bad); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); background: var(--surface); }
.tile:hover { color: var(--ink); border-color: var(--line-strong); }
.tile__label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.tile__value { font-size: 17px; font-weight: 700; }
.tile--warn { background: var(--warn-soft); border-color: var(--warn-line); }
.tile--warn .tile__value { color: var(--warn-text); }
.tile--bad { background: var(--bad-soft); border-color: var(--bad-line); }
.tile--bad .tile__value { color: var(--bad-text); }

.rows { display: flex; flex-direction: column; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row:last-child { border-bottom: 0; }
.row dt, .row > span:first-child { color: var(--muted); }
.row dd { margin: 0; font-weight: 600; text-align: right; }
dl.rows { margin: 0; }
.kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--line); margin: 0; }
@media (min-width: 900px) { .kv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kv-grid div { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.kv-grid dt { font-size: 13px; color: var(--muted); }
.kv-grid dd { margin: 0; font-weight: 600; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: 15px; }
.notice svg { flex-shrink: 0; margin-top: 2px; }
.notice--warn { background: var(--warn-soft); border-color: var(--warn-line); }
.notice--bad { background: var(--bad-soft); border-color: var(--bad-line); }
.notice--info { background: #E9EEEC; border-color: #DCE2DF; }
.notice--ok { background: var(--mint); border-color: var(--mint-line); }
.flash { margin: 16px 0; }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--body); }
.check-list svg { flex-shrink: 0; margin-top: 3px; color: var(--ok); }

/* ==========================================================================
   Plans / pricing
   ========================================================================== */
.plans { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); }
.plan--featured { background: var(--teal); border-color: var(--teal); color: #F5F7F6; }
.plan--featured .check-list li { color: var(--mint); }
.plan--featured .check-list svg { color: #9FD4BD; }
.plan--featured .muted { color: var(--footer-text); }
.plan__price { font: 900 44px/1 var(--font-display); letter-spacing: -0.03em; }
.plan__price small { font: 400 15px var(--font-body); letter-spacing: 0; }

/* Selectable plan cards (radio inputs, work without JS) */
.plan-option { cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option:has(input:checked) { border-color: var(--teal); box-shadow: 0 12px 28px -18px rgba(36, 82, 74, .6); }
.plan-option:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.plan-option__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-option__name { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; flex-wrap: wrap; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #B8C2BE; display: grid; place-items: center; flex-shrink: 0; }
.radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.plan-option:has(input:checked) .radio { border-color: var(--teal); }
.plan-option:has(input:checked) .radio::after { background: var(--teal); }
.plan-option__price { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.plan-option .check-list { padding-left: 0; } /* list lines up with the card's left edge */
@media (min-width: 900px) { .plan-option .check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; } }

.compare { width: 100%; border-collapse: collapse; background: var(--surface); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare th, .compare td { position: relative; padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: center; font-size: 14px; }
@media (min-width: 640px) { .compare th, .compare td { padding: 14px 20px; font-size: 15px; } }
.compare-wrap { position: relative; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: #F2F5F4; font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); }
.compare .no { color: #B8C2BE; }

/* ==========================================================================
   Panel layout: free check + report (sidebar on desktop, chips on mobile)
   ========================================================================== */
.panel { display: flex; min-height: 100vh; }
.panel__side { display: none; }
.panel__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panel__topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 65px; z-index: 15; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--body); font-size: 14px; font-weight: 500; text-decoration: none; }
.chip.is-active { background: var(--mint); border-color: var(--mint); color: var(--teal); font-weight: 600; }
.panel__content { padding: 20px 16px 48px; display: flex; flex-direction: column; gap: 16px; }
.panel__title { display: flex; flex-direction: column; gap: 10px; }
.panel__title h1 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; letter-spacing: -0.02em; }
.panel__actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (min-width: 1024px) {
  .panel__side { display: flex; flex-direction: column; width: 272px; flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
    .panel__topbar { display: none; }
  .panel__header { padding: 28px 48px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
  .panel__content { padding: 32px 48px 56px; gap: 28px; }
  .panel__title { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
  .panel__title .panel__meta { flex-basis: 100%; }
}
@media (max-width: 1023px) { .panel__header { padding: 20px 16px 0; } .panel__header .panel__actions { margin-top: 12px; } }

.side-nav { padding: 24px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.side-nav + .side-nav { margin: 8px 12px 0; padding: 12px 0; border-top: 1px solid var(--line); }
.side-nav__label { padding: 0 12px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--body); font-size: 15px; text-decoration: none; }
.side-nav a:hover { background: #F2F5F4; color: var(--ink); }
.side-nav a.is-active { background: var(--mint); color: var(--teal); font-weight: 600; }
.side-nav a .dot, .side-nav a .lock { margin-left: auto; }
.side-nav__foot { margin-top: auto; padding: 16px 24px 24px; }


.chart { background: #F2F5F4; border-radius: var(--radius-sm); padding: 14px; }
.chart svg { display: block; width: 100%; height: auto; }

.stars { display: flex; gap: 4px; color: var(--teal); }
.bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--teal); border-radius: 4px; }

.locked { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #F2F5F4; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; }

/* ==========================================================================
   Prose (guides, legal pages)
   ========================================================================== */
.prose { max-width: 720px; font-size: 17px; line-height: 1.7; color: #2B3138; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; font-weight: 700; margin-top: 1.8em; letter-spacing: -0.01em; color: var(--ink); }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 1.5em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }

/* FAQ */
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 10px; color: var(--body); }

/* Link lists */
.link-list { display: grid; gap: 12px; }
@media (min-width: 720px) { .link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .link-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .link-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.link-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.link-card:hover { border-color: var(--teal); color: var(--ink); }
.link-card strong { font-size: 16px; }
.link-card span { font-size: 14px; color: var(--muted); }

.steps { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { border-top: 3px solid var(--teal); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: step; content: counter(step); font: 600 15px var(--font-mono); color: var(--teal); }

.cta-band { background: var(--mint); border: 1px solid var(--mint-line); border-radius: 20px; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) { .cta-band { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ==========================================================================
   Account
   ========================================================================== */
.account-tabs { display: flex; gap: 8px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.account-tabs a { padding: 12px 4px; margin-right: 20px; color: var(--body); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; }
.account-tabs a.is-active { color: var(--teal); border-color: var(--teal); font-weight: 600; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.empty { text-align: center; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--footer); color: var(--footer-text); padding: 56px 0 32px; margin-top: auto; }
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); } }
.footer-grid h2 { font-size: 15px; color: #F5F7F6; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 1024px) { .footer-brand { grid-column: auto; } }
.footer-brand .footer-bottom { border-top: 1px solid #2F4A44; margin-top: 40px; padding-top: 20px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.page { min-height: 100vh; display: flex; flex-direction: column; }

/* Print: reports should print cleanly */
@media print {
  .site-header, .site-footer, .panel__side, .panel__topbar, .panel__actions, .no-print { display: none !important; }
  body { background: #fff; }
  .card { break-inside: avoid; }
}


/* ==========================================================================
   White bands (like GSC Wizard: white panels on the light grey page)
   ========================================================================== */
.band { padding: clamp(56px, 7.8vw, 112px) 0; }
.band--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--white + .band--white { border-top: 0; }
.band--flush-top { padding-top: 0; }
.band__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.band__head p { font-size: 19px; line-height: 1.55; color: var(--body); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.band--white .card, .band--white .feature, .band--white .quote-card { background: var(--bg); }

/* Hero (approved design) */
.home-hero { padding: clamp(36px, 6.1vw, 88px) 0 clamp(32px, 5vw, 72px); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.home-hero__copy { display: flex; flex-direction: column; gap: 20px; }
.home-hero__copy .lede { font-size: clamp(17px, 1.4vw, 20px); max-width: 540px; }
@media (min-width: 1024px) { .home-hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } .home-hero__copy { gap: 28px; } }
.result-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 2.3vw, 32px); display: flex; flex-direction: column; gap: 20px; box-shadow: 0 24px 48px -24px rgba(21, 23, 28, .25); }
.result-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.result-card__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; }
.result-card .plate-badge { font-size: 20px; padding: 6px 12px; }
.result-rows { display: grid; gap: 10px; }
@media (min-width: 480px) { .result-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.result-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.result-row svg { flex-shrink: 0; }
.result-row--ok { background: #EAF3EE; color: #174F37; }
.result-row--ok svg { color: var(--ok); }
.result-row--bad { background: #FBEDEC; color: #8C1D17; }
.result-row--bad svg { color: var(--bad); }
.result-row--warn { background: #FDF3E1; color: #7F4C00; }
.result-row--warn svg { color: #9A5B00; }
.result-chart { display: flex; flex-direction: column; gap: 8px; }
.result-chart__label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.result-chart svg { display: block; width: 100%; height: 120px; background: #F2F5F4; border-radius: 10px; }

/* Stats + featured quote */
.stats { display: grid; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 36px 0; } }
.stat__value { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 3vw, 44px); line-height: 1.1; }
.stat__label { font-size: 15px; color: var(--muted); }
.featured-quote { margin: clamp(40px, 5vw, 72px) 0 0; background: var(--teal); color: #F5F7F6; border-radius: 20px; padding: clamp(28px, 4.4vw, 56px) clamp(24px, 4.4vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.featured-quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -0.015em; }
.featured-quote figcaption { font-size: 16px; color: var(--footer-text); }

/* Feature cards: "The things sellers forget to mention" */
.features { display: grid; gap: 16px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.feature__art { height: 132px; background: #F2F5F4; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.band--white .feature__art { background: var(--surface); }
.feature__art--rows { flex-direction: column; align-items: stretch; padding: 0 24px; }
.feature h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.feature h3 a { color: inherit; text-decoration: none; }
.feature h3 a:hover { color: var(--teal); }
.feature p { font-size: 16px; line-height: 1.55; color: var(--body); }
.art-tag { font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.art-cat { font-family: var(--font-display); font-weight: 800; font-size: 18px; padding: 10px 14px; border-radius: 8px; border: 2px solid var(--line); color: #8E9895; }
.art-cat.is-on { background: var(--bad); border-color: var(--bad); color: #fff; }
.art-line { display: flex; justify-content: space-between; font-size: 13px; font-variant-numeric: tabular-nums; }
.art-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); }
.art-dot--empty { background: none; border: 2px dashed #8E9895; }
.art-swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }
.art-swatch span:first-child { width: 52px; height: 52px; border-radius: 10px; }
.art-range { height: 10px; border-radius: 5px; background: var(--line); position: relative; }
.art-range span { position: absolute; left: 30%; width: 40%; height: 10px; border-radius: 5px; background: var(--teal); }

/* "Everything in one report" grid */
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 900px) { .report-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .report-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.report-grid > div { padding: clamp(18px, 2vw, 28px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.report-grid h3 { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.report-grid p { font-size: 15px; line-height: 1.5; color: var(--body); }

/* How it works (numbered: it is a sequence) */
.home-steps { display: grid; gap: 28px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .home-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.home-steps li { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 3px solid var(--teal); }
.home-steps .step-num { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.home-steps h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.home-steps p { font-size: 16px; line-height: 1.55; color: var(--body); }

/* Homepage pricing cards */
.price-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 2.3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.price-card--featured { background: var(--teal); border-color: var(--teal); color: #F5F7F6; }
.price-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.price-card__price { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; }
.price-card p { font-size: 15px; line-height: 1.55; color: var(--body); }
.price-card--featured p { color: #fff; }
.price-card .btn { margin-top: auto; justify-content: center; }
.pill { background: var(--mint); color: var(--teal); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }

/* Testimonials */
.quotes { display: grid; gap: 16px; }
@media (min-width: 720px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1200px) { .quotes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.quote-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.quote-card blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.quote-card figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }
.quote-card figcaption strong { color: var(--ink); }

/* Guide question cards */
.question-cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .question-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .question-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.question-card { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.question-card:hover { border-color: var(--teal); color: var(--ink); }
.question-card strong { font-weight: 600; font-size: 16px; line-height: 1.4; }
.question-card span { font-size: 14px; color: var(--muted); }
.more-link { display: inline-block; margin-top: 28px; font-weight: 600; }

/* Final CTA */
.final-cta { background: var(--mint); border: 1px solid var(--mint-line); border-radius: 20px; padding: clamp(32px, 5vw, 72px) clamp(24px, 4.4vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.final-cta h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1; }
.final-cta p { font-size: 19px; line-height: 1.5; }
.final-cta .btn { min-height: 60px; padding: 0 32px; font-size: 18px; white-space: nowrap; justify-content: center; }
@media (min-width: 900px) { .final-cta { flex-direction: row; justify-content: space-between; align-items: center; gap: 48px; } }

/* About + newsletter */
.about-news { display: grid; gap: 32px; }
@media (min-width: 900px) { .about-news { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.about-news h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.2vw, 32px); letter-spacing: -0.02em; }
.newsletter { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 2.3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.newsletter h2 { font-size: 26px; }
.newsletter__row { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter__row .input { flex: 1 1 200px; }

/* Footer (approved design: brand + 3 link columns) */
.footer-grid--design { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
@media (min-width: 900px) { .footer-grid--design { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; } }
.footer-grid--design .footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid--design .footer-brand { grid-column: auto; } }

/* Panel header fixes: plate badge keeps its size, action buttons never wrap */
.panel__title .plate-badge { align-self: flex-start; }
.panel__header > .panel__title { flex: 1 1 auto; min-width: 0; }
.panel__header > .panel__actions { flex-shrink: 0; }
.panel__actions .btn { white-space: nowrap; }

/* Small secondary button (e.g. "Check another car") */
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; gap: 6px; border-radius: 8px; }
.btn-sm svg { width: 16px; height: 16px; }

/* Status rows: summary and details use one full-width list, like Registration */
.rows .row dd .badge { font-size: 13px; }
.row__hint { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
a.row { color: inherit; text-decoration: none; }
a.row:hover dd, a.row:hover > span:last-child { color: var(--teal); }
.chips { scroll-behavior: smooth; }
.row--link { position: relative; }
.row__link { color: inherit; text-decoration: none; }
.row__link::after { content: ''; position: absolute; inset: 0; } /* whole row is clickable */
.row--link:hover dd { color: var(--teal); }
.row__link:focus-visible { outline: none; }
.row--link:has(.row__link:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

.plan-option__label { white-space: nowrap; }
.plan-option__top { align-items: flex-start; }
@media (max-width: 480px) { .plan-option__name { font-size: 17px; gap: 10px; } .plan-option__price { font-size: 24px; } }
.plan-cta { min-height: 54px; padding: 0 32px; font-size: 17px; justify-content: center; }
@media (max-width: 640px) { .plan-cta { width: 100%; } }

/* ==========================================================================
   Plan card features with "?" explanations
   ========================================================================== */
.plan-option { cursor: pointer; }
.plan-option__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; cursor: pointer; }
.check-list__lead { grid-column: 1 / -1; font-weight: 600; }
.feature-item { display: flex; gap: 10px; align-items: flex-start; }
.feature-info { flex: 1; min-width: 0; }
.feature-info summary { list-style: none; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.feature-info summary::-webkit-details-marker { display: none; }
.feature-info summary svg { flex-shrink: 0; margin-top: 3px; color: var(--ok); }
.feature-info__name { flex: 1; min-width: 0; }
.info-q { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 11px; font-weight: 700; line-height: 1; color: var(--muted); opacity: .8; }
.feature-info summary:hover .info-q, .feature-info[open] .info-q { opacity: 1; color: var(--teal); }
.feature-info summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.feature-info p { margin: 8px 0 4px 26px; padding: 10px 12px; background: #F2F5F4; border-radius: 8px; font-size: 14px; line-height: 1.5; color: var(--body); }
.plan--featured .info-q { color: var(--mint); }
.plan--featured .feature-info summary:hover .info-q, .plan--featured .feature-info[open] .info-q { color: #fff; }
.plan--featured .feature-info p { background: rgba(255, 255, 255, .1); color: var(--mint); }
.plan--featured .feature-info summary svg { color: #9FD4BD; }

/* Stars */
.stars { display: inline-flex; gap: 2px; color: #E0A800; vertical-align: middle; }

.safety-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 720px) { .safety-grid { grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; } }
.plan-cta { white-space: nowrap; }
@media (max-width: 400px) { .plan-cta { font-size: 16px; padding: 0 16px; } }

/* ==========================================================================
   Vehicle header (car image + quick facts)
   ========================================================================== */
.vehicle-head { display: flex; flex-direction: column; gap: 16px; }
.vehicle-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vehicle-facts li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--body); }
@media (min-width: 1024px) {
  .vehicle-head { flex-direction: row; align-items: center; gap: 28px; }
    .vehicle-head .panel__title { flex-direction: column; align-items: flex-start; gap: 8px; }
  .vehicle-head .panel__title h1 { font-size: 30px; }
  .vehicle-head .panel__actions { align-self: flex-start; }
}

/* ==========================================================================
   Plan chooser on the free check ("Unlock the full history")
   ========================================================================== */
.unlock { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 2.6vw, 32px); }
.unlock__head { max-width: 640px; margin-bottom: 24px; }
.unlock__head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.3vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }
.unlock__head p { margin-top: 8px; color: var(--body); }
.unlock__plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .unlock__plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; } }

.tier { position: relative; border: 2px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.tier:hover { border-color: var(--line-strong); }
.tier:has(input:checked) { border-color: var(--teal); box-shadow: 0 16px 32px -20px rgba(36, 82, 74, .55); }
.tier:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier__ribbon { position: absolute; top: -12px; left: 20px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.tier__top { display: flex; align-items: center; gap: 14px; padding: 22px 20px 18px; border-radius: 14px 14px 0 0; cursor: pointer; }
.tier:has(input:checked) .tier__top { background: var(--mint); }
.tier .radio { width: 24px; height: 24px; }
.tier:has(input:checked) .radio { border-color: var(--teal); }
.tier:has(input:checked) .radio::after { background: var(--teal); }
.tier__name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 19px; font-weight: 700; line-height: 1.2; }
.tier__name small { font-size: 14px; font-weight: 400; color: var(--muted); }
.tier__price { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--font-display); font-weight: 900; font-size: 32px; letter-spacing: -0.02em; line-height: 1; }
.tier__price small { font-family: var(--font-body); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 4px; }
.tier__list { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.tier:has(input:checked) .tier__list { border-top-color: var(--mint-line); }

.unlock__foot { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.unlock__cta { min-height: 58px; font-size: 17px; justify-content: center; gap: 10px; padding: 0 28px; white-space: nowrap; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { color: var(--teal); }
.unlock__compare { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; }
@media (min-width: 900px) { .unlock__foot { flex-direction: row; align-items: center; gap: 24px; } }
@media (max-width: 400px) { .tier__top { padding: 20px 16px 16px; gap: 10px; } .tier__name { font-size: 17px; } .tier__price { font-size: 28px; } .tier__list { padding: 16px 16px 20px; } .unlock__cta { font-size: 16px; } }

/* Make logo beside the plate (replaces the car image) */
.vehicle-head__id { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; } /* logo on top of the plate */
.make-logo { width: 96px; height: 96px; flex-shrink: 0; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px -10px rgba(17, 20, 24, .35); display: grid; place-items: center; padding: 10px; overflow: hidden; }
.make-logo img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; } /* PNGs have a white background: blend it into the tile */
@media (max-width: 600px) { .make-logo { width: 80px; height: 80px; padding: 9px; border-radius: 16px; } }


/* ==========================================================================
   MOT history timeline
   ========================================================================== */
.mot-timeline { list-style: none; margin: 0; padding: 0; }
.mot-entry { position: relative; padding: 0 0 24px 30px; }
.mot-entry::before { content: ''; position: absolute; left: 7px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.mot-entry:last-child { padding-bottom: 0; }
.mot-entry:last-child::before { display: none; }
.mot-entry__dot { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line); }
.mot-entry--fail .mot-entry__dot { background: var(--bad); }
.mot-entry__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mot-entry__date { font-weight: 600; font-size: 16px; }
.mot-entry__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.mot-entry__miles { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.mot-entry__miles.is-drop { color: var(--warn-text); }
.mot-entry__note { margin-top: 4px; font-size: 13px; color: var(--warn-text); font-weight: 600; }
.mot-entry__none { margin-top: 8px; font-size: 14px; color: var(--muted); }
.mot-items { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mot-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--body); }
.mot-item__tag { flex-shrink: 0; min-width: 66px; text-align: center; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--warn-bg); color: var(--warn-text); }
.mot-item--fail .mot-item__tag { background: var(--bad-bg); color: var(--bad-text); }
.mot-item--fail span:last-child { color: var(--bad-text); }
@media (min-width: 1024px) { .mot-entry { padding-left: 34px; } .mot-items { max-width: 760px; } }

/* Share button + menu */
.share { position: relative; display: inline-flex; }
.share__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 32px -12px rgba(17, 20, 24, .25); padding: 6px; display: flex; flex-direction: column; }
.share__menu[hidden] { display: none; }
.share__menu a, .share__menu button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; border-radius: 8px; font: 500 15px var(--font-body); color: var(--ink); text-decoration: none; cursor: pointer; text-align: left; }
.share__menu a:hover, .share__menu button:hover { background: #F2F5F4; color: var(--ink); }
.share__menu svg { color: var(--teal); }
@media (max-width: 1023px) { .panel__header .panel__actions .share { flex: 1 1 0; } .panel__header .panel__actions .share .btn { width: 100%; } }

/* Sub-heading inside a rows card (e.g. "Advert 1") */
.rows-group { font-size: 13px; font-weight: 600; color: var(--muted); margin: 18px 0 2px; }
.rows-group:first-of-type { margin-top: 4px; }

/* Panel header buttons sit side by side and wrap on small screens */
.panel__actions { flex-wrap: wrap; }
@media (max-width: 1023px) {
  .panel__header .panel__actions { flex-wrap: nowrap; gap: 8px; }
  .panel__header .panel__actions .btn-sm { flex: 1 1 0; justify-content: center; padding: 0 10px; font-size: 13.5px; }
}
.btn svg { flex-shrink: 0; }

/* ==========================================================================
   Desktop: keep the free check / report column a comfortable reading width
   ========================================================================== */
@media (min-width: 1024px) {
  .panel__header, .panel__content { width: 100%; max-width: 1040px; margin-left: auto; margin-right: auto; }
  .panel__header { border-bottom: 0; }
  .panel__main > main { border-bottom: 0; }
}

/* Pay button on its own line, trust points underneath */
.unlock__foot, .unlock__foot { flex-direction: column; align-items: stretch; gap: 14px; }
@media (min-width: 900px) { .unlock__foot { flex-direction: column; align-items: stretch; gap: 14px; } }
.unlock__cta { width: 100%; }
.unlock__foot .trust { justify-content: center; }

/* MOT: tag on one line, the description underneath */
.mot-item { flex-direction: column; align-items: flex-start; gap: 4px; }
.mot-item__tag { min-width: 0; }
.mot-item span:last-child { font-size: 15px; }

/* "Your free check is ready below" banner */
.results-ready { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--mint); border: 1px solid var(--mint-line); color: var(--ink); text-decoration: none; }
.results-ready:hover { color: var(--ink); border-color: var(--teal); }
.results-ready__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.results-ready__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.results-ready__text strong { font-size: 16px; }
.results-ready__text span { font-size: 14px; color: var(--body); }
.results-ready__text b { color: var(--warn-text); font-weight: 600; }
.results-ready__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--teal); white-space: nowrap; flex-shrink: 0; }
@media (max-width: 640px) { .results-ready { align-items: flex-start; flex-wrap: wrap; row-gap: 8px; } .results-ready__text { flex: 1 1 calc(100% - 50px); } .results-ready__cta { margin-left: 50px; } }

/* ==========================================================================
   Site header on free check / report pages (desktop), sticky above the sidebar
   ========================================================================== */
@media (min-width: 1024px) {
  .panel__side { top: 81px; height: calc(100vh - 81px); }
  .side-nav:first-child { padding-top: 20px; }
}

/* Banner: text + non-clickable "See results" */
.results-ready { align-items: center; }
.results-ready__text { font-size: 16px; }
.results-ready__cta { cursor: default; }
@media (max-width: 640px) { .results-ready { flex-wrap: nowrap; align-items: center; } .results-ready__text { flex: 1 1 auto; font-size: 15px; } .results-ready__cta { margin-left: 0; } }

/* "?" explanation lines up with the card's left edge */
.feature-info p { margin-left: 0; }

/* Price on its own line under the plan name */
.tier__top { align-items: flex-start; }
.tier .radio { margin-top: 2px; }
.tier__price { flex-direction: row; align-items: baseline; gap: 6px; margin-top: 10px; font-size: 30px; }
.tier__price small { margin-top: 0; font-size: 13px; }
.results-ready:hover { border-color: var(--mint-line); }

.tier__stars { display: block; margin-top: 6px; }

/* Banner: on phones "See results" drops onto its own line */
@media (max-width: 640px) {
  .results-ready { flex-wrap: wrap; row-gap: 8px; }
  .results-ready__text { flex: 1 1 calc(100% - 50px); }
  .results-ready__cta { flex-basis: calc(100% - 50px); margin-left: 50px; }
}

.stars--silver { color: #A9B2B8; }

/* Footer on phones: one column, so Help sits under Checks */
@media (max-width: 899px) {
  .footer-grid--design { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

.table-wrap { position: relative; } /* keeps hidden screen-reader labels inside the scroll box */
.table .btn-sm, .table td a.small { white-space: nowrap; }

.salvage-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 12px 0 4px; }
.salvage-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; background: #EEF2F0; }

/* Plan chooser heading + centred "Compare all plans" */
.unlock__eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.unlock__head h2 { font-family: var(--font-body); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.01em; }
.unlock__compare { display: block; width: fit-content; margin: 18px auto 0; }
/* Very small phones (e.g. iPhone SE 1st gen, 320px): a little more room for text */
@media (max-width: 359px) {
  .unlock { padding: 16px; }
  .tier__top { padding: 18px 14px 14px; gap: 10px; }
  .tier__list { padding: 14px 14px 18px; }
  .panel__content { padding-left: 12px; padding-right: 12px; }
}

/* Trust points: one per line on all phones */
@media (max-width: 640px) {
  .unlock__foot .trust { flex-direction: column; align-items: center; gap: 8px; }
}

/* A row value that clearly says "tap me" (e.g. Adverts: 3 found, view) */
.row-go { display: inline-flex; align-items: center; gap: 4px; color: var(--teal); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.row--link:hover .row-go { color: var(--teal-dark); }
.row-go svg { flex-shrink: 0; }

/* Service history + factory spec offer on the free check */
.offer { display: grid; gap: 18px; padding: clamp(20px, 2.4vw, 28px); border-radius: 16px; background: var(--mint); border: 1px solid var(--mint-line); }
.offer__icons { display: flex; gap: 8px; }
.offer__icons span { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--teal); display: grid; place-items: center; }
.offer__text h2 { font-size: clamp(19px, 2vw, 22px); font-weight: 700; line-height: 1.25; }
.offer__text p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--body); }
.offer__buy { display: flex; flex-direction: column; gap: 12px; }
.offer__price { font-family: var(--font-display); font-weight: 900; font-size: 30px; letter-spacing: -0.02em; line-height: 1; }
.offer__price small { font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--body); }
.offer__buy .btn { justify-content: center; min-height: 52px; white-space: nowrap; }
@media (min-width: 900px) {
  .offer { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; }
  .offer__icons { flex-direction: column; }
  .offer__buy { align-items: flex-end; }
}

.offer__example { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; font-size: 16px; font-weight: 700; color: #B3261E; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.offer__example:hover { color: #8C1D17; }
@media (min-width: 900px) { .offer__buy .btn { width: 100%; } }

/* Service history list */
.service-list { list-style: none; margin: 0; padding: 0; }
.service-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: center; }
.service-item__date { font-weight: 600; }
.service-item__miles { color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.service-item__dealer { color: var(--body); font-size: 14px; }
.service-item .badge { justify-self: end; }
.service-gap { margin: 10px 0; }
@media (min-width: 720px) {
  .service-item { grid-template-columns: 140px 130px minmax(0, 1fr) auto; gap: 16px; }
  .service-item__miles { text-align: left; }
}
.spec-options { display: grid; gap: 10px 24px; }
@media (min-width: 720px) { .spec-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sample report header */
.sample-intro { font-size: 15px; line-height: 1.55; color: var(--body); max-width: 680px; }
.sample-car { flex-direction: row !important; flex-wrap: wrap; align-items: center !important; gap: 10px !important; margin-top: 4px; }
.sample-car strong { font-size: 17px; }


/* Plan card rows that aren't included in a plan: grey cross, faded text */
.feature-item.is-excluded { color: #9AA3A0; }
.feature-item.is-excluded svg { color: #C9CFCC; flex-shrink: 0; margin-top: 3px; }
.plan--featured .feature-item.is-excluded { color: #9FB7B0; }

/* Guides */
.guide-figure { margin: 0 0 32px; max-width: 880px; }
.guide-figure img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.guide-card img { display: block; width: 100%; height: auto; border-radius: 10px; margin-bottom: 8px; border: 1px solid var(--line); }
.prose a { font-weight: 600; }
.prose .tip { background: var(--mint); border: 1px solid var(--mint-line); border-radius: 12px; padding: 16px 18px; }
.prose .tip strong:first-child { display: block; margin-bottom: 4px; }

/* Adverts: clear break between one advert and the next */
.advert-group--next { margin-top: 18px; padding-top: 18px; border-top: 3px solid var(--line); }
.advert-group .rows-group { margin-top: 0; }

/* MOT history: alternating white / grey blocks so each test is easy to tell apart,
   with the timeline dots and line running down the left */
.mot-timeline { margin: 0 -12px; }
.mot-entry { padding: 16px 14px 16px 44px; border-radius: 10px; }
.mot-entry:nth-child(even) { background: #F2F5F4; }
.mot-entry:last-child { padding-bottom: 16px; }
.mot-entry__dot { left: 14px; top: 19px; box-shadow: 0 0 0 3px transparent, 0 0 0 4px var(--line); }
.mot-entry::before { left: 21px; top: 36px; bottom: 0; }
.mot-entry + .mot-entry::after { content: ''; position: absolute; left: 21px; top: 0; height: 19px; width: 2px; background: var(--line); }
.mot-entry:last-child::before { display: none; }
@media (min-width: 1024px) { .mot-entry { padding-left: 48px; } }

/* ==========================================================================
   Logo: [reg]check.co.uk (Archivo ExtraBold, yellow block, green .co.uk)
   ========================================================================== */
.logo { display: inline-flex; align-items: center; gap: 0; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__reg { background: var(--plate); color: var(--ink); padding: 0.1em 0.12em; border-radius: 0.09em; margin-right: 0.035em; }
.logo__check { color: var(--ink); }
.logo__tld { color: var(--teal); }
.logo--dark .logo__check { color: #FFFFFF; }
.logo--dark .logo__tld { color: #9FD4BD; }
@media (min-width: 1024px) { .logo { font-size: 24px; } }
.site-footer .logo { font-size: 21px; }

/* ==========================================================================
   Coupons: bundles on the plan chooser, redeem box, coupon list
   ========================================================================== */
.tier--bundle { grid-column: 1 / -1; }
.tier__top--bundle { cursor: pointer; align-items: center; list-style: none; border-radius: 14px; }
.tier__top--bundle::-webkit-details-marker { display: none; }
.tier--bundle[open] .tier__top--bundle { border-radius: 14px 14px 0 0; }
.tier--bundle:has(input:checked) { border-color: var(--teal); }
.tier--bundle:has(input:checked) .tier__top { background: var(--mint); }
.tier__bundle-toggle { margin-left: auto; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #F2F5F4; color: var(--ink); transition: transform .2s ease; }
.tier--bundle[open] .tier__bundle-toggle { transform: rotate(180deg); }
.tier__bundle-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--plate); color: var(--ink); display: grid; place-items: center; }
.bundle-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 20px 6px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .bundle-options { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bundle-opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--surface); }
.bundle-opt:hover { border-color: var(--line-strong); }
.bundle-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bundle-opt:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.bundle-opt:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.bundle-opt__qty { font-weight: 700; font-size: 16px; }
.bundle-opt__price { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -0.02em; margin-top: 2px; }
.bundle-opt__each { font-size: 13px; color: var(--muted); }
.bundle-opt__save { margin-top: 6px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--plate); color: var(--ink); }
.tier__bundle-note { margin: 0; padding: 8px 20px 18px; font-size: 13px; color: var(--muted); }

.coupon-box { border: 1px solid var(--line); border-radius: 12px; background: #FAFBFA; }
.coupon-box summary { display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none; }
.coupon-box summary::-webkit-details-marker { display: none; }
.coupon-box summary svg { color: var(--teal); }
.coupon-box__body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 12px; }

.redeem { display: flex; flex-direction: column; gap: 14px; }
.plate--sm { height: 54px; width: 100%; max-width: 300px; }
.plate--sm input { font-size: 26px; padding-right: 40px; }
.redeem__code { font-family: var(--font-body); font-weight: 700; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; max-width: 300px; }
.redeem__btn { min-height: 54px; justify-content: center; align-self: flex-start; padding: 0 28px; }
@media (max-width: 640px) { .redeem__btn { align-self: stretch; } .redeem__code, .plate--sm { max-width: none; } }

.coupon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 720px) { .coupon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.coupon { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border: 1px dashed var(--line-strong); border-radius: 10px; background: #FFFDF4; }
.coupon__code { font-weight: 700; font-size: 17px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.coupon.is-used { background: #F2F5F4; border-style: solid; border-color: var(--line); }
.coupon.is-used .coupon__code { color: var(--muted); text-decoration: line-through; }
.coupon__code { white-space: nowrap; }
.redeem__btn .btn__label { white-space: nowrap; }
@media (max-width: 640px) {
  .coupon { padding: 8px 8px 8px 12px; }
  .coupon__code { font-size: 15.5px; letter-spacing: 0.05em; }
  .coupon .btn-sm { padding: 0 10px; }
  .redeem__btn { padding: 0 14px; }
}
@media (max-width: 380px) {
  .coupon__copy, .coupon__date { display: none; }
  .coupon .btn-sm { width: 38px; padding: 0; justify-content: center; }
  .coupon__code { font-size: 15px; letter-spacing: 0.03em; }
}

/* ==========================================================================
   Guide pages: article + sticky free check sidebar on desktop
   ========================================================================== */
.guide-side { display: none; }
@media (min-width: 1100px) {
  .guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
  .guide-side { display: block; align-self: stretch; }
  .guide-side__inner { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
}
.side-check { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 18px 36px -24px rgba(17,20,24,.25); display: flex; flex-direction: column; gap: 10px; }
.side-check__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.side-check__text { font-size: 14.5px; color: var(--body); line-height: 1.5; }
.side-check .reg-form__row { flex-direction: column; gap: 10px; align-items: stretch; }
.side-check .reg-form .plate { width: 100%; }
.side-check .reg-form .btn { width: 100%; justify-content: center; }
.side-check__trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--body); }
.side-check__trust li { display: flex; gap: 8px; align-items: flex-start; }
.side-check__trust svg { color: var(--ok); margin-top: 3px; flex-shrink: 0; }
.side-toc { padding: 4px 4px 0; }
.side-toc__title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.side-toc ol, .side-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-toc a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--line); font-size: 14.5px; color: var(--body); text-decoration: none; line-height: 1.35; }
.side-toc a:hover { color: var(--teal); border-left-color: var(--teal); }
.prose h2[id] { scroll-margin-top: 100px; }
.side-check .plate input { font-size: 30px; padding-left: 12px; padding-right: 12px; }
.page-updated { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); max-width: 720px; }

/* Homepage: "What is a reg check?" content + questions */
.home-seo { display: grid; gap: 40px; }
@media (min-width: 1024px) { .home-seo { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; } .home-faq { position: sticky; top: 100px; } }
.hero .card .badge { white-space: normal; text-align: left; line-height: 1.35; }
.prose > h2:first-child { margin-top: 0; }

.service-terms { margin: 0; padding: 14px 16px 14px 34px; border-radius: 12px; background: #EEF4FF; color: #2B3138; font-size: 14.5px; line-height: 1.5; display: flex; flex-direction: column; gap: 6px; }

/* Service history flow on the plan chooser */
.unlock__plans--single { grid-template-columns: minmax(0, 1fr) !important; max-width: 560px; }
.tier__was { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: #8E9895; margin-left: 4px; }
.tier__extra { padding: 14px 20px 4px; display: flex; flex-direction: column; gap: 12px; }
.tier__extra .offer__example { align-self: flex-start; padding: 0; font-size: 15px; }
/* Ultimate: "everything in Service history + 80 checks, £1.50 more" */
.tier__upsell { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #FFF7DB; border: 1px solid #F0D98A; }
.tier__upsell-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--plate); color: var(--ink); display: grid; place-items: center; }
.tier__upsell-text { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.4; color: var(--body); }
.tier__upsell-text strong { display: block; color: var(--ink); font-size: 15px; }
.tier__upsell-more { flex-shrink: 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.tier__upsell-more b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: -0.02em; color: var(--teal); }

/* Free check bundles: one bundle per row */
.bundle-rows { display: grid; gap: 10px; padding: 16px 20px 6px; border-top: 1px solid var(--line); }
.bundle-row { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.bundle-row:hover { border-color: var(--line-strong); }
.bundle-row input { position: absolute; opacity: 0; pointer-events: none; }
.bundle-row:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.tier--bundle .bundle-row .radio { width: 22px; height: 22px; }
.tier--bundle .bundle-row:not(:has(input:checked)) .radio { border-color: #B8C2BE; }
.tier--bundle .bundle-row:not(:has(input:checked)) .radio::after { background: transparent; }
.bundle-row:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.tier--bundle .bundle-row:has(input:checked) .radio { border-color: var(--teal); }
.tier--bundle .bundle-row:has(input:checked) .radio::after { background: var(--teal); }
.bundle-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bundle-row__qty { font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
.bundle-row__each { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.bundle-row__save { flex-shrink: 0; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--plate); color: var(--ink); white-space: nowrap; }
.bundle-row__price { flex-shrink: 0; min-width: 84px; text-align: right; font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
@media (max-width: 520px) {
  .bundle-rows { padding: 14px 14px 6px; }
  .bundle-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "r m p" "r s p"; column-gap: 12px; row-gap: 6px; padding: 12px 14px; }
  .bundle-row .radio { grid-area: r; }
  .bundle-row__main { grid-area: m; }
  .bundle-row__save { grid-area: s; justify-self: start; }
  .bundle-row__price { grid-area: p; min-width: 0; font-size: 20px; }
}
/* "See a sample ..." links: plain text links with an eye icon and arrow */
.tier__sample, .offer .offer__example { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; color: var(--teal); font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: rgba(36, 82, 74, .35); transition: text-decoration-color .15s ease; }
.tier__sample { margin: 0 20px 16px; padding: 0; }
.tier__sample:hover, .offer .offer__example:hover { color: var(--teal-dark); text-decoration-color: currentColor; }
.tier__sample svg:last-child, .offer .offer__example svg:last-child { transition: transform .15s ease; }
.tier__sample:hover svg:last-child, .offer .offer__example:hover svg:last-child { transform: translateX(3px); }

.tier__terms { padding: 4px 20px 20px; }
.sh-head { display: flex; flex-direction: column; gap: 16px; }
.sh-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 720px) { .sh-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }

/* HTML sitemap */
.sitemap { display: grid; gap: 28px 40px; }
@media (min-width: 720px) { .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sitemap__group h2 { font-size: 20px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sitemap__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sitemap__group a { color: var(--ink); text-decoration: none; }
.sitemap__group a:hover { color: var(--teal); text-decoration: underline; }
@media (max-width: 420px) { .tier__upsell-icon { display: none; } .tier__upsell { padding: 12px; } }

/* Buy buttons inside each plan card */
.tier { cursor: default; display: flex; flex-direction: column; }
.tier__top { flex-wrap: wrap; cursor: default; }
.tier__name { flex: 1 1 auto; }
.tier__foot { margin-top: auto; padding: 4px 20px 20px; }
.tier__buy { flex-basis: 100%; width: 100%; min-height: 52px; justify-content: center; gap: 8px; font-size: 16px; }
.btn-buy-alt { background: var(--surface); color: var(--teal); border: 2px solid var(--teal); }
.btn-buy-alt:hover { background: var(--teal); color: #fff; }
.tier--featured { border-color: var(--teal); box-shadow: 0 16px 32px -20px rgba(36, 82, 74, .55); }
.tier--featured .tier__top { background: var(--mint); }
.tier--featured .tier__list { border-top-color: var(--mint-line); }
.tier-form--bundle { grid-column: 1 / -1; }
.tier--bundle .tier__top--bundle { cursor: pointer; flex-wrap: nowrap; }
.tier.tier--bundle:not([open]) { border-color: var(--line); box-shadow: none; }
.tier.tier--bundle:not([open]) .tier__top { background: none; }
.tier__bundle-buy { padding: 14px 20px 0; }
.tier__bundle-note { padding-top: 12px; }
.unlock__trust { margin: 20px 0 0; justify-content: center; }
@media (max-width: 600px) { .unlock__trust { flex-direction: column; align-items: center; gap: 8px; } }

.tier__stars { margin: 4px 0 2px; }
.tier__stars svg { width: 24px; height: 24px; }
.unlock__plans { align-items: stretch; } /* buy buttons line up at the bottom of each card */
.offer .offer__example { align-self: center; }
@media (min-width: 1024px) { .panel__header { padding-bottom: 16px; } .panel__header + .panel__content { padding-top: 20px; } }

/* ==========================================================================
   Free check: report summary, two-column blocks, CO2 band, locked checks
   ========================================================================== */
.fc-summary > summary { list-style: none; cursor: pointer; flex-wrap: wrap; gap: 8px 12px; }
.fc-summary > summary::-webkit-details-marker { display: none; }
.fc-summary__toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; color: var(--teal); }
.fc-summary__toggle > span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.fc-summary__toggle svg { transition: transform .2s ease; }
.fc-summary[open] .fc-summary__toggle svg { transform: rotate(180deg); }
.fc-summary .fc-summary__hide, .fc-summary[open] .fc-summary__show { display: none; }
.fc-summary[open] .fc-summary__hide { display: inline; }
.fc-summary__head:hover .fc-summary__toggle > span { text-decoration-thickness: 2px; }
.fc-summary__counts { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.fc-list li { position: relative; padding: 10px 12px 10px 26px; border-radius: 10px; font-size: 15px; line-height: 1.45; color: var(--body); }
.fc-list li::before { content: ''; position: absolute; left: 12px; top: 18px; width: 6px; height: 6px; border-radius: 50%; }
.fc-list li strong { color: var(--ink); }
.fc-list--bad li { background: var(--bad-soft); } .fc-list--bad li::before { background: var(--bad); }
.fc-list--warn li { background: var(--warn-soft); } .fc-list--warn li::before { background: #C98A12; }
.fc-list--ok li { background: var(--mint); } .fc-list--ok li::before { background: var(--ok); }
.fc-list--info li { background: #F2F5F4; } .fc-list--info li::before { background: var(--muted); }
.fc-two { display: grid; gap: 8px 32px; }
@media (min-width: 900px) { .fc-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fc-two .rows-group, #status .rows-group { display: flex; align-items: center; gap: 8px; }
.fc-band { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 6px; border-radius: 6px; font-size: 13px; font-weight: 700; color: #fff; vertical-align: middle; background: #7A8580; }
.fc-band--a, .fc-band--b { background: #1E8449; } .fc-band--c, .fc-band--d { background: #52A447; } .fc-band--e, .fc-band--f { background: #A5C23A; color: var(--ink); }
.fc-band--g, .fc-band--h { background: #F2C230; color: var(--ink); } .fc-band--i, .fc-band--j { background: #EE9A2E; } .fc-band--k, .fc-band--l { background: #E2622B; } .fc-band--m { background: #D1382E; }
.fc-locked { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.fc-locked:first-of-type { border-top: 0; padding-top: 4px; }
.fc-locked__title { font-size: 16px; font-weight: 700; margin: 0 0 2px; }
.fc-locked .btn { flex-shrink: 0; }
.fc-alerts { display: grid; gap: 10px; }
.fc-two { row-gap: 20px; }
.fc-co2 { display: block; width: 100%; max-width: 320px; height: auto; margin-top: 12px; }
.fc-status { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.fc-status__date { font-size: 13px; color: var(--muted); font-weight: 500; }

/* Phones and tablets: Share button sits in the top right corner of the vehicle header */
@media (max-width: 1023px) {
  .vehicle-head { position: relative; }
  .vehicle-head .panel__actions .share { position: absolute; top: 20px; right: 16px; flex: none; }
  .vehicle-head .panel__actions .share .btn { width: auto; }
  .vehicle-head .panel__actions:not(:has(> :not(.share))) { display: none; }
}

/* Mileage chart: dates along the bottom, mileage up the side, tap or hover a dot for the reading */
.mchart { margin: 0 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 16px 10px; }
.mchart__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 14px; }
.mchart__frame { padding-left: 40px; }
.mchart__plot { position: relative; height: 240px; border-bottom: 1.5px solid var(--ink); }
.mchart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mchart__grid { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #E3E8E6; }
.mchart__ylabel { position: absolute; left: -40px; width: 32px; transform: translateY(50%); text-align: right; font-size: 12px; font-weight: 500; color: var(--body); line-height: 1; }
.mchart__area { fill: var(--teal); opacity: .08; }
.mchart__line { fill: none; stroke: var(--teal); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.mchart__dot { position: absolute; width: 12px; height: 12px; margin: 0 0 -6px -6px; padding: 0; border-radius: 50%; background: var(--teal); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--teal); cursor: pointer; z-index: 1; }
.mchart__dot::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; } /* bigger tap area */
.mchart__dot--drop { background: #D1382E; box-shadow: 0 0 0 1px #D1382E; width: 14px; height: 14px; margin: 0 0 -7px -7px; }
.mchart__dot:hover, .mchart__dot:focus-visible { box-shadow: 0 0 0 4px rgba(36,82,74,.25); z-index: 3; outline: none; }
.mchart__dot--drop:hover, .mchart__dot--drop:focus-visible { box-shadow: 0 0 0 4px rgba(209,56,46,.25); }
.mchart__tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); display: none; flex-direction: column; gap: 2px; white-space: nowrap; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.3; padding: 7px 10px; border-radius: 8px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); pointer-events: none; text-align: left; }
.mchart__tip strong { font-size: 13px; font-weight: 700; }
.mchart__tip em { font-style: normal; color: #FFB4AE; }
.mchart__dot--right .mchart__tip { left: auto; right: -6px; transform: none; }
.mchart__dot--left .mchart__tip { left: -6px; transform: none; }
.mchart__dot:hover .mchart__tip, .mchart__dot:focus .mchart__tip { display: flex; }
.mchart__xaxis { position: relative; height: 30px; }
.mchart__xlabel { position: absolute; top: 0; transform: translateX(-50%); padding-top: 12px; font-size: 12px; font-weight: 500; color: var(--body); white-space: nowrap; }
.mchart__xlabel::before { content: ""; position: absolute; top: 0; left: 50%; height: 6px; border-left: 1.5px solid var(--ink); }
.mchart__xshort { display: none; }
@media (max-width: 599px) { .mchart__xshort { display: inline; } }
.mchart__key { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 13px; color: var(--body); }
.mchart__keydot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.mchart__keydot--drop { background: #D1382E; }
@media (max-width: 599px) {
  .mchart { padding: 14px 12px 8px; }
  .mchart__plot { height: 200px; }
  .mchart__frame { padding-left: 34px; padding-right: 4px; }
  .mchart__ylabel { left: -34px; width: 28px; font-size: 11px; }
  .mchart__xlabel { font-size: 11px; }
  .mchart__xfull { display: none; }
}

/* "View sample report" link under the buy button in each plan card */
.tier__sample--foot { display: flex; justify-content: center; align-self: stretch; margin: 14px 0 0; }
.tier__buy { white-space: normal; text-align: center; line-height: 1.25; }
.unlock__plans > * { min-width: 0; }

/* Mileage chart without its own box, so it uses the full width of the card */
.mchart { border: 0; background: none; padding: 0; border-radius: 0; }
@media (max-width: 599px) { .mchart { padding: 0; } }
@media (max-width: 440px) { .tier__buy { font-size: 15px; padding-left: 10px; padding-right: 10px; gap: 6px; } }
@media (max-width: 360px) { .tier__buy svg { display: none; } }

/* Report summary: no dots, just the tinted rows */
.fc-list li { padding-left: 12px; }
.fc-list li::before { display: none; }

/* Safety ratings */
.safety-score { display: flex; align-items: center; gap: 12px; }
.safety-score .bar { width: clamp(70px, 22vw, 160px); }
.safety-videos { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.safety-videos a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--teal); text-decoration: underline; text-decoration-color: rgba(36, 82, 74, .35); text-underline-offset: 3px; }
.tier__bundle-note + .tier__bundle-trade { padding-top: 0; }
.tier__bundle-trade a { font-weight: 600; color: var(--teal); }

/* MOT: one "Fail" / "Advisory" label per test, with the items listed under it */
.mot-group { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mot-group__list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; color: var(--body); }
.mot-group--fail .mot-group__list { color: var(--bad-text); }
.mot-group--fail .mot-item__tag { background: var(--bad-bg); color: var(--bad-text); }
.mot-group .mot-item__tag { min-width: 0; }
@media (min-width: 1024px) { .mot-group { max-width: 760px; } }

/* Header: smaller My Account button; smaller menu text on phones */
.site-header .btn-account, .mobile-nav .btn-nav { min-height: 40px; padding: 0 16px; font-size: 15px; gap: 6px; border-radius: 10px; }
.site-header .btn-account svg, .mobile-nav .btn-nav svg { width: 16px; height: 16px; }
.mobile-nav a:not(.btn) { font-size: 15px; padding: 11px 12px; }
.mobile-nav .btn-nav { align-self: flex-start; margin-left: 12px; }

/* Make logo above the reg: a little smaller */
.make-logo { width: 84px; height: 84px; padding: 9px; border-radius: 16px; }
@media (max-width: 600px) { .make-logo { width: 68px; height: 68px; padding: 8px; border-radius: 14px; } }

/* Plan cards: each card is only as tall as its own list (Standard and Service history have fewer rows) */
.unlock__plans { align-items: start; }

/* "?" explanations on the Free Check rows */
.row-tipped { display: flex; align-items: center; gap: 6px; }
.row-tip { position: static; z-index: 2; flex-shrink: 0; width: 15px; height: 15px; padding: 0; border-radius: 50%; border: 1.3px solid currentColor; background: none; display: grid; place-items: center; font: 700 9.5px/1 var(--font-body); color: var(--muted); opacity: .8; cursor: help; }
.row-tip:hover, .row-tip:focus-visible { opacity: 1; color: var(--teal); outline: none; }
.row:has(.row-tip) { position: relative; }
.row-tip__text { display: none; position: absolute; z-index: 5; top: calc(100% - 6px); left: 0; width: max-content; max-width: min(340px, 100%); padding: 9px 12px; border-radius: 10px; background: var(--ink); color: #fff; font: 500 13px/1.45 var(--font-body); text-align: left; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); white-space: normal; }
.row-tip:hover .row-tip__text, .row-tip:focus .row-tip__text { display: block; }

/* Service record: everything done at the visit, under the main service */
.service-item__actions { grid-column: 1 / -1; margin: 2px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--body); }
@media (min-width: 720px) { .service-item__actions { grid-column: 3 / -1; } }
@media (max-width: 719px) {
  .service-item__dealer { grid-column: 1 / -1; }
  .service-item .badge { grid-column: 1 / -1; justify-self: start; white-space: normal; text-align: left; }
}
.redeem__code::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; }

/* Log in / code pages: narrow on phones, a little wider on desktop */
.auth-wrap { max-width: 520px; }
@media (min-width: 1024px) { .auth-wrap { max-width: calc(560px + 2 * var(--gutter)); } }

/* Checkout: applied discount code */
.checkout-discount { border-bottom: 0; color: var(--teal); }
.checkout-discount > span { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.checkout-discount__remove { display: inline; }
.checkout-discount__remove button { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.checkout-discount__amount { color: var(--teal); white-space: nowrap; flex-shrink: 0; }

/* Factory-fitted options: manufacturer code, then the option, one per row */
.spec-option-rows .row { justify-content: flex-start; align-items: baseline; gap: 14px; padding: 9px 0; }
.spec-option-rows .row dt.spec-option__code { flex: 0 0 60px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--muted); }
.spec-option-rows .row dd.spec-option__name { flex: 1 1 auto; min-width: 0; text-align: left; font-weight: 500; overflow-wrap: anywhere; }
.service-item__address { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Factory-fitted options search */
.option-search { position: relative; margin: 4px 0 8px; }
.option-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.option-search .input { padding-left: 42px; }
.option-search__count { margin-bottom: 4px; }
.spec-option-rows .row[hidden] { display: none; }
/* Service history report: same side margins as the sample report on phones */
@media (max-width: 719px) { .sh-wrap { padding-left: 16px; padding-right: 16px; } }

/* Checkout: page blurred with a spinner while the payment is processed */
.checkout-busy { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(245, 247, 246, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.checkout-busy[hidden] { display: none; }
.checkout-busy__box { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; box-shadow: 0 20px 40px -20px rgba(17, 20, 24, .35); max-width: 320px; margin: 0 16px; }
.checkout-busy__spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--mint); border-top-color: var(--teal); animation: checkout-spin .8s linear infinite; }
@keyframes checkout-spin { to { transform: rotate(360deg); } }
body.is-checkout-busy { overflow: hidden; }

/* VIN check on paid reports */
.vin-form { display: flex; gap: 10px; }
.vin-form .input { text-transform: uppercase; font-family: ui-monospace, monospace; letter-spacing: .04em; }
.vin-form .input::placeholder { text-transform: none; font-family: var(--font-body); letter-spacing: 0; }
.vin-form .btn { flex: none; }
@media (max-width: 560px) { .vin-form { flex-direction: column; } .vin-form .btn { width: 100%; } }
