/* Carplorer website. Brand: orange #FB5012, green #00A676, cream #EDEAD0, yellow #FFCF56.
   Orange and green carry dark text (white on them is too faint); yellow is for number plates. */

:root {
  --orange: #FB5012;
  --orange-hover: #E8470C;
  --orange-deep: #C93D08; /* orange for small text on white */
  --green: #00A676;
  --green-deep: #007A57; /* green for small text on white */
  --cream: #EDEAD0;
  --paper: #FBFAF2;
  --card: #FFFDF6;
  --yellow: #FFCF56;
  --ink: #1A1915;
  --ink-2: #4A4740;
  --line: rgba(26, 25, 21, 0.14);
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 18px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { margin: 0; font-weight: 850; font-stretch: 112%; letter-spacing: -0.025em; line-height: 0.98; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.3vw, 76px); }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: 23px; font-stretch: 104%; letter-spacing: -0.012em; line-height: 1.15; }
.lead { font-size: clamp(19px, 1.55vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.small { font-size: 15px; color: var(--ink-2); }

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 30px; border-radius: 999px; border: 0;
  background: var(--orange); color: var(--ink);
  font: 800 19px/1 var(--font); font-stretch: 106%; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn[aria-disabled="true"] { cursor: default; transform: none; }
.text-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--orange); }
button.text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: inherit; cursor: pointer; }

/* Number plates: the yellow rear plate every UK driver knows */
.plate {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font: 800 20px/1 var(--font); font-stretch: 82%; letter-spacing: 0.06em;
  padding: 9px 14px 8px; border-radius: 7px;
  box-shadow: inset 0 0 0 2px rgba(26, 25, 21, 0.75);
}

/* Header */
.top { padding: 18px 0; }
.top-row { display: flex; align-items: center; gap: 32px; }
.logo img { flex: none; height: 1.45em; width: auto; }
.logo { display: inline-flex; align-items: center; gap: 0.32em; text-decoration: none; font-weight: 850; font-size: 25px; font-stretch: 112%; letter-spacing: -0.03em; }
.logo-small { font-size: 20px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; white-space: nowrap; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; text-decoration-thickness: 3px; }
.top-account { font-weight: 700; font-size: 16px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--orange); white-space: nowrap; }
.top-account[aria-current="page"] { text-decoration-thickness: 3px; }
.nav + .top-account { margin-left: -4px; }
/* Five menu links: tighter spacing on narrower screens, then the menu hides as on phones. */
@media (max-width: 1120px) { .top-row { gap: 20px; } .nav { gap: 18px; font-size: 15px; } }
@media (min-width: 761px) and (max-width: 1000px) { .top-account + .btn { display: none; } }
@media (max-width: 900px) { .nav { display: none; } .top-row .top-account { margin-left: auto; } }
@media (max-width: 760px) { .nav { display: none; } .top-row .btn { margin-left: auto; } .top-row .top-account { margin-left: auto; } .top-account + .btn { margin-left: 0; } }
/* Phones can't add Chrome extensions, so the header keeps just "Sign in" there. */
@media (max-width: 480px) { .top-account + .btn { display: none; } }
@media (max-width: 420px) { .logo { font-size: 22px; } .top-row .btn-small { min-height: 40px; padding: 0 14px; font-size: 14.5px; } }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.plate-tag { font-size: 17px; transform: rotate(-2deg); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 6px; }

.stage { position: relative; background: var(--orange); border-radius: 40px; padding: 92px 40px 44px; display: grid; justify-items: center; }
.plate-float { position: absolute; top: -22px; left: 28px; font-size: 34px; padding: 12px 20px 11px; transform: rotate(-7deg); box-shadow: inset 0 0 0 3px rgba(26, 25, 21, 0.8), 0 14px 30px rgba(26, 25, 21, 0.18); }
.ad-chip { position: absolute; top: 30px; right: 30px; text-align: right; color: var(--ink); line-height: 1.3; }
.ad-chip b { display: block; font-size: 17px; font-stretch: 106%; }
.ad-chip span { font-size: 14px; }

/* The example Carplorer panel */
.panel {
  width: 100%; max-width: 372px; background: var(--card); border-radius: 22px; padding: 16px;
  box-shadow: 0 28px 60px rgba(26, 25, 21, 0.28); display: grid; gap: 12px; font-size: 15px;
}
.panel-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.panel-head b { display: block; font-size: 16px; }
.panel-head small { display: block; color: var(--ink-2); font-size: 12.5px; }
.seg { display: flex; padding: 3px; gap: 3px; background: #F1EEDC; border-radius: 10px; }
.seg button { flex: 1; border: 0; background: none; padding: 7px 4px; border-radius: 8px; font: 700 13px var(--font); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.score { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.ring-value { transition: stroke-dasharray 0.5s ease, stroke 0.3s; }
.ring-num { position: absolute; left: 0; top: 0; width: 64px; height: 64px; display: grid; place-items: center; font-weight: 850; font-size: 21px; font-stretch: 105%; }
.verdict { display: inline-block; padding: 3px 10px; border-radius: 999px; font-weight: 800; font-size: 13px; background: #FFE3D6; color: #8F2A04; }
.verdict-good { background: #CDF0E2; color: #00573E; }
.verdict-ok { background: #FFF0C2; color: #6B4A00; }
.verdict-bad { background: #FFD4CC; color: #8A1B07; }
.headline { margin-top: 4px; font-weight: 700; line-height: 1.3; }
.finds { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.finds li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; line-height: 1.35; }
.finds li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px; }
.finds .good::before { background-color: #CDF0E2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='%2300573E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.finds .warn::before { background-color: #FFE3D6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.8v4' stroke='%238F2A04' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='6' cy='9.2' r='1' fill='%238F2A04'/%3E%3C/svg%3E"); }
.finds .bad::before { background-color: #FFD4CC; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' stroke='%238A1B07' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.panel-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 14.5px; }
.panel-row b { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.gchip { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 6px; border-radius: 6px; background: #CDF0E2; color: #00573E; font-weight: 800; font-size: 13px; }
.gchip-warm { background: #FFE7A8; color: #6B4A00; }

/* Promises strip */
.promises { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.promises p { padding: 26px 28px 26px 0; font-size: 16.5px; color: var(--ink-2); }
.promises p + p { padding-left: 28px; border-left: 1px solid var(--line); }
.promises b { color: var(--ink); }

/* What it checks: the MOT "receipt" */
.mot { padding: 110px 0 100px; }
.mot-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.mot-copy { display: grid; gap: 26px; position: sticky; top: 32px; }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); font-weight: 600; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 12px; border-radius: 3px; background: var(--orange); }

.receipt {
  margin: 0; position: relative; background: var(--paper); padding: 34px 32px 30px;
  font: 400 14px/1.5 var(--mono); color: #2B2A25;
  box-shadow: 0 1px 0 rgba(26, 25, 21, 0.06), 0 24px 50px rgba(26, 25, 21, 0.12);
  transform: rotate(0.6deg);
}
.receipt::before, .receipt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 16px 12px repeat-x,
              linear-gradient(225deg, var(--paper) 50%, transparent 50%) 8px 0 / 16px 12px repeat-x;
}
.receipt::before { top: -11px; transform: scaleY(-1); }
.receipt::after { bottom: -11px; }
.receipt-head { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; font-size: 12.5px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 2px dashed rgba(26, 25, 21, 0.3); }
.r-row { display: grid; grid-template-columns: 112px 52px 96px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(26, 25, 21, 0.18); }
.r-row > :nth-child(3) { text-align: right; }
.r-note { color: #5A5750; }
.r-gap { color: #8C887C; }
.pass { color: var(--green-deep); font-weight: 600; }
.fail { color: var(--orange-deep); font-weight: 600; }
mark { background: var(--yellow); color: inherit; padding: 1px 4px; margin: -1px -4px; border-radius: 3px; }
.anno {
  font: 700 15.5px/1.35 var(--font); color: var(--ink); margin: 10px 0 6px;
  padding: 9px 12px 9px 14px; background: #fff; border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 0 rgba(26, 25, 21, 0.08);
}
.receipt-verdict { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ink); color: var(--cream); padding: 14px 16px; border-radius: 10px; font-family: var(--font); }
.receipt-verdict span { font-size: 14px; opacity: 0.8; }
.receipt-verdict b { font-size: 18px; font-stretch: 106%; color: var(--yellow); }

/* How it works */
.how { padding: 96px 0 110px; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border-radius: 28px; padding: 30px 28px 34px; display: grid; gap: 12px; align-content: start; }
.plate-step { justify-self: start; font-size: 26px; margin-bottom: 14px; }
.steps p { color: var(--ink-2); }

/* Big rounded colour blocks */
.block { border-radius: 44px; padding: clamp(36px, 5vw, 72px); }
.block-green { background: var(--green); }
.block-ink { background: var(--ink); color: var(--cream); }
.block-orange { background: var(--orange); }

/* Insurance */
.insurance { padding: 0 0 110px; }
.block-green { display: grid; grid-template-columns: 1fr 0.95fr; gap: 56px; align-items: center; }
.ins-copy { display: grid; gap: 22px; }
.ins-copy .lead, .ins-copy .small { color: var(--ink); }
.ins-copy > p:not(.lead):not(.small) { font-weight: 700; font-size: 19px; }
.ins-card { background: var(--card); border-radius: 26px; padding: 24px; display: grid; gap: 16px; box-shadow: 0 24px 50px rgba(0, 60, 42, 0.25); }
.ins-top { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; }
.gbig { background: #F1EEDC; border-radius: 14px; text-align: center; padding: 8px 0; }
.gbig b { display: block; font-size: 32px; line-height: 1.05; font-weight: 850; font-stretch: 105%; }
.gbig small { display: block; font-size: 11.5px; color: var(--ink-2); }
.ins-top p { margin-top: 6px; font-size: 15px; line-height: 1.4; }
.scale text { font: 11px var(--font); fill: var(--ink-2); }
.ranked { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 15px; }
.ranked li { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; font-weight: 600; }
.ranked em { font-style: normal; font-weight: 500; color: var(--ink-2); font-size: 14px; }
.ranked .this { color: var(--green-deep); }
.ranked .this em { color: var(--green-deep); font-weight: 700; }

/* Seller questions */
.seller { padding: 0 0 110px; }
.seller-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.seller-grid > div:first-child { display: grid; gap: 24px; }
.chat { display: grid; gap: 10px; }
.bubble { max-width: 82%; padding: 13px 17px; border-radius: 20px; font-size: 17px; line-height: 1.4; }
.bubble.out { justify-self: end; background: var(--yellow); border-bottom-right-radius: 6px; }
.bubble.in { justify-self: start; background: var(--card); border-bottom-left-radius: 6px; }
.chat-who { justify-self: start; margin: 10px 0 -4px 4px; font-size: 13px; font-weight: 700; color: var(--ink-2); }

/* How we make money */
.money { padding: 0 0 110px; }
.money-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.money h2 { color: var(--cream); }
.money-points { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.money-points p { color: #CFCAB0; font-size: 17px; }
.money-points b { display: block; color: var(--yellow); font-size: 19px; margin-bottom: 6px; }

/* FAQ */
.faq { padding: 0 0 110px; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 750; font-size: 20px; font-stretch: 104%; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%23EDEAD0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 60ch; }

/* Final call */
.final { padding: 0 0 80px; }
.final-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.final h2 { font-size: clamp(36px, 5vw, 68px); }
.final-cta { display: grid; gap: 12px; justify-items: start; }
.final-cta .small { color: var(--ink); }

/* Footer */
.foot { padding: 0 0 48px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px var(--gutter); border-top: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 600; }
.fine { display: flex; justify-content: space-between; gap: 24px; font-size: 13.5px; color: var(--ink-2); }
.fine p:first-child { max-width: 70ch; }

/* Tablet and phone */
@media (max-width: 980px) {
  .hero-grid, .mot-grid, .block-green, .seller-grid, .money-grid, .faq-grid, .final-inner { grid-template-columns: 1fr; }
  .hero-grid { gap: 72px; }
  .mot-copy { position: static; }
  .mot-grid { gap: 56px; }
  .money-grid, .faq-grid { gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { padding: 16px 0 56px; }
  .stage { padding: 96px 16px 22px; border-radius: 30px; }
  .plate-float { font-size: 26px; left: 16px; }
  .ad-chip { top: 24px; right: 18px; }
  .promises-row { grid-template-columns: 1fr; }
  .promises p, .promises p + p { padding: 16px 0; border-left: 0; }
  .promises p + p { border-top: 1px solid var(--line); }
  .mot, .how { padding-top: 72px; padding-bottom: 72px; }
  .insurance, .seller, .money, .faq { padding-bottom: 72px; }
  .steps { grid-template-columns: 1fr; margin-top: 32px; }
  .block { border-radius: 30px; }
  .receipt { padding: 28px 18px 24px; transform: none; font-size: 13px; }
  .r-row { grid-template-columns: 1fr auto auto; gap: 4px 12px; }
  .r-row .r-note { grid-column: 1 / -1; }
  .money-points { grid-template-columns: 1fr; }
  .bubble { max-width: 92%; }
  .final .btn { white-space: normal; text-align: center; padding: 14px 24px; font-size: 18px; }
  .receipt-verdict { flex-direction: column; align-items: flex-start; gap: 4px; }
  .fine { flex-direction: column; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

/* Privacy policy and other plain pages */
.legal { padding: 40px 0 96px; }
.legal-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
.legal-head { position: sticky; top: 32px; display: grid; gap: 14px; }
.legal-head h1 { font-size: clamp(40px, 4.6vw, 64px); }
.legal-body { display: grid; gap: 40px; max-width: 68ch; }
.legal-body section { display: grid; gap: 14px; }
.legal-body h2 { font-size: 28px; font-stretch: 108%; }
.legal-body h3 { font-size: 19px; margin-top: 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-body a { font-weight: 600; text-underline-offset: 3px; }
.legal-short { background: var(--card); border-radius: 24px; padding: 28px 30px; }
.legal-short li { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-head { position: static; }
}

/* Car finder: one question per screen */
.finder { padding: 24px 0 96px; }
.finder-wrap { max-width: 880px; }
.quiz { display: grid; gap: 22px; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--ink-2); min-height: 24px; }
.quiz-back { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.quiz-bar { height: 8px; border-radius: 999px; background: rgba(26, 25, 21, 0.12); overflow: hidden; }
.quiz-bar span { display: block; height: 100%; background: var(--orange); border-radius: 999px; transition: width 0.25s; }
.quiz-title { font-size: clamp(34px, 5vw, 56px); outline: none; margin-top: 10px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.option {
  text-align: left; background: var(--card); border: 2px solid transparent; border-radius: 20px; padding: 20px 22px;
  font: inherit; color: var(--ink); display: grid; gap: 4px; align-content: start; cursor: pointer; transition: border-color 0.15s;
}
.option:hover { border-color: rgba(26, 25, 21, 0.35); }
.option[aria-pressed="true"] { background: var(--yellow); border-color: var(--ink); }
.option b { font-size: 20px; font-weight: 800; font-stretch: 104%; }
.option span { color: var(--ink-2); font-size: 15.5px; }
.option[aria-pressed="true"] span { color: var(--ink); }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 8px; }
.quiz-actions .text-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.quiz-form { display: grid; gap: 16px; justify-items: start; }
.quiz-input {
  width: 100%; max-width: 320px; height: 64px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--ink);
  background: var(--yellow); color: var(--ink); text-align: center; text-transform: uppercase;
  font: 800 28px var(--font); font-stretch: 82%; letter-spacing: 0.08em;
}
.quiz-input::placeholder { color: rgba(26, 25, 21, 0.35); }

/* Car finder results */
.results-head { display: grid; gap: 18px; justify-items: start; padding-bottom: 32px; }
.results-head h1 { font-size: clamp(38px, 5.5vw, 64px); outline: none; }
.results-head .text-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.answer-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.answer-chips li { padding: 6px 12px; border-radius: 999px; background: var(--card); font-size: 14.5px; font-weight: 600; }
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.pick { background: var(--card); border-radius: 28px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
.pick-head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; }
.pick-rank { font-size: 22px; }
.pick-name h2 { font-size: clamp(26px, 3vw, 34px); }
.pick-name p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.pick-match { padding: 6px 12px; border-radius: 999px; background: #CDF0E2; color: #00573E; font-weight: 800; font-size: 15px; white-space: nowrap; }
.pick-reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pick-reasons li { padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 700; }
.pick-take { font-size: 18px; line-height: 1.45; max-width: 60ch; }
.pick-fit { display: grid; gap: 10px; }
.pick-cons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pick-cons li { padding: 5px 11px; border-radius: 999px; background: #FFE3D6; color: #8F2A04; font-size: 14px; font-weight: 700; }
.pick-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pick-cols h3 { font-size: 17px; margin-bottom: 8px; }
.pick-cols ul { margin: 0; padding-left: 20px; display: grid; gap: 7px; color: var(--ink-2); font-size: 16px; }
.pick-cols ul.watch li::marker { color: var(--orange); }
.pick-price { font-size: 15px; color: var(--ink-2); }
.pick-search { display: flex; flex-wrap: wrap; gap: 10px; }
.pick-search .btn { min-height: 48px; padding: 0 20px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.also { margin-top: 36px; display: grid; gap: 14px; }
.also h2 { font-size: clamp(26px, 3vw, 34px); }
.also-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.also-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; background: var(--card); border-radius: 18px; padding: 14px 18px; }
.also-list b { display: block; font-size: 18px; font-stretch: 104%; }
.also-list small { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.also-match { font-weight: 800; color: #00573E; }
.also-list .btn { min-height: 42px; }
.pick-also, .pick-sources { font-size: 14px; color: var(--ink-2); }
.pick-also a, .pick-sources a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.results-foot { margin-top: 40px; padding: clamp(28px, 4vw, 48px); border-radius: 36px; background: var(--orange); display: grid; gap: 16px; justify-items: start; }
.results-foot .lead, .results-foot .small { color: var(--ink); }
.results-foot .btn { background: var(--ink); color: var(--cream); }
.results-ext { max-width: 62ch; font-size: 17px; }
@media (max-width: 760px) {
  .quiz-options { grid-template-columns: 1fr; }
  .pick-head { grid-template-columns: auto 1fr; }
  .pick-match { grid-column: 2; justify-self: start; }
  .pick-cols { grid-template-columns: 1fr; gap: 18px; }
  .also-list li { grid-template-columns: 1fr auto; }
  .also-list .btn { grid-column: 1 / -1; justify-self: start; }
  .pick-search .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 10px 20px; }
}

/* Saved cars: side-by-side comparison */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saved { padding: 24px 0 96px; }
.saved-head { display: grid; gap: 16px; justify-items: start; padding-bottom: 24px; }
.saved-head h1 { font-size: clamp(38px, 5.5vw, 64px); }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 18px; }
/* No padding here: the pinned label column must sit flush with the edge, or scrolled cells show beside it. */
.compare-scroll { overflow-x: auto; background: var(--card); border-radius: 24px; }
table.compare { width: 100%; min-width: 660px; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { vertical-align: bottom; min-width: 190px; font-size: 17px; font-weight: 800; font-stretch: 104%; }
.compare thead th a { color: var(--ink); text-underline-offset: 4px; }
.compare thead th small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 500; font-stretch: 100%; color: var(--ink-2); }
.compare thead th:first-child, .compare tbody th { position: sticky; left: 0; background: var(--card); }
.compare thead th:first-child { min-width: 130px; }
.compare tbody th { color: var(--ink-2); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.compare td small { display: block; color: var(--ink-2); font-size: 13px; }
.compare td.is-best { background: #E6F6EF; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.best { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--green); color: var(--ink); font-size: 12px; font-weight: 800; vertical-align: 1px; }
.remove { display: block; margin-top: 8px; padding: 0; border: 0; background: none; font: 600 13.5px var(--font); color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.btn-tiny { min-height: 38px; padding: 0 14px; font-size: 14px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 800; }
.pill-good { background: #CDF0E2; color: #00573E; }
.pill-neutral { background: #ECE8D6; color: #4A4740; }
.pill-warn { background: #FFE3D6; color: #8F2A04; }
.pill-bad { background: #FFD4CC; color: #8A1B07; }
.empty { max-width: 720px; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--card); display: grid; gap: 14px; justify-items: start; }
.empty h2 { font-size: clamp(26px, 3vw, 34px); }
.empty p { color: var(--ink-2); }
.after-table { margin-top: 18px; }
.saved-models { margin-top: 48px; display: grid; gap: 16px; }
.saved-models h2 { font-size: clamp(24px, 3vw, 32px); }
.model-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.model { padding: 16px 20px; border-radius: 20px; background: var(--card); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.model small { display: block; color: var(--ink-2); font-size: 14px; }
.model-actions { display: flex; align-items: center; gap: 16px; }
.model-actions .text-link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.save-model[aria-pressed="true"] { background: var(--yellow); }

/* Account page */
.account-page { padding: 24px 0 96px; }
.account-wrap { max-width: 880px; }
.account-signin { max-width: 560px; display: grid; gap: 18px; justify-items: start; }
.google-box { min-height: 44px; width: 100%; max-width: 320px; overflow: hidden; }
.or-line { display: flex; align-items: center; gap: 12px; width: 100%; color: var(--ink-2); font-size: 15px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.email-form { display: grid; gap: 12px; justify-items: start; width: 100%; }
.account-input { width: 100%; max-width: 440px; height: 60px; padding: 0 18px; border-radius: 14px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); font: 500 19px var(--font); }
.account-input::placeholder { color: rgba(26, 25, 21, 0.4); }
.form-error { color: var(--orange-deep); font-weight: 700; }
.signed-as { font-size: 19px; margin-bottom: 18px; }
.account-done { margin-bottom: 18px; padding: 14px 18px; border-radius: 16px; background: var(--green); font-weight: 700; max-width: 640px; }
.account-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.account-card { background: var(--card); border-radius: 24px; padding: 24px; display: grid; gap: 12px; align-content: start; justify-items: start; }
.account-card h2 { font-size: 24px; font-stretch: 106%; }
.account-card p { color: var(--ink-2); font-size: 16.5px; }
.account-card .text-link, .account-actions .text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: 16.5px; color: var(--ink); cursor: pointer; }
.account-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.account-actions .danger { color: var(--orange-deep); }
@media (max-width: 860px) { .account-cards { grid-template-columns: 1fr; } }
.account-card .answer-chips li { background: var(--cream); }

/* Insurance page */
.quote-box { margin-top: 10px; background: var(--card); border-radius: 24px; padding: 24px; display: grid; gap: 10px; justify-items: start; }
.quote-box h2 { font-size: 21px; font-stretch: 106%; margin-top: 6px; }
.quote-box .btn { min-height: 50px; padding: 0 22px; font-size: 16px; white-space: normal; text-align: center; line-height: 1.2; }
.quote-box .btn[aria-disabled="true"] { background: #ECE8D6; color: var(--ink-2); box-shadow: none; pointer-events: none; }
.partner-note { margin-top: 6px; }
.legal-head .plate-tag { justify-self: start; }

/* Paid reports: the report page and "Check a car" */
.report-wrap { max-width: 880px; }
.report-meta { color: var(--ink-2); font-size: 17px; }
.report-block { margin-top: 36px; background: var(--card); border-radius: 28px; padding: 28px; display: grid; gap: 22px; }
.report-block > h2 { font-size: clamp(28px, 3.4vw, 40px); }
.report-banner { padding: 14px 18px; border-radius: 16px; font-weight: 800; font-size: 19px; }
.report-banner.clear { background: var(--green); }
.report-banner.found { background: #FFD4CC; color: #8A1B07; }
.report-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.report-tile { padding: 14px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 4px; }
.report-tile small { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.report-tile b { font-size: 19px; font-stretch: 106%; }
.report-tile.clear b::before { content: "✓ "; color: var(--green-deep); }
.report-tile.found { background: #FFE3D6; box-shadow: none; }
.report-tile.found b { color: #8A1B07; }
.report-tile.note { background: #FFF1C7; box-shadow: none; }
.report-provider { justify-self: start; margin-top: -12px; padding: 6px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; color: var(--ink-2); }
.report-provider b { color: var(--ink); }
.report-note { margin-top: -12px; font-size: 15.5px; color: var(--ink-2); max-width: 70ch; }
.report-records { display: grid; gap: 10px; }
.report-records h3 { font-size: 19px; }
.report-record { grid-template-columns: 230px 1fr; }
.report-record + .report-record { border-top: 1px dashed var(--line); padding-top: 10px; }
.report-flags { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.report-flags li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.report-flags li:last-child { border-bottom: 0; padding-bottom: 0; }
.report-flags .pill { justify-self: start; }
.report-flags h3 { font-size: 19px; margin-bottom: 4px; }
.report-flags p { color: var(--ink-2); font-size: 16.5px; }
.report-facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; font-size: 16.5px; }
.report-facts dt { color: var(--ink-2); }
.report-facts dd { margin: 0; font-weight: 600; }
.report-before { padding: 18px 20px; border-radius: 18px; background: var(--cream); display: grid; gap: 8px; }
.report-before h3 { font-size: 18px; }
.report-before ul, .review-part ul, .review-part ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: 16.5px; color: var(--ink-2); }
.report-source { font-size: 14.5px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; }
.report-source b { color: var(--ink); }
.report-refund { margin-top: 18px; padding: 14px 18px; border-radius: 16px; background: var(--yellow); font-weight: 700; }
.report-actions { margin-top: 32px; }
.review-verdict { display: grid; gap: 8px; justify-items: start; }
.review-verdict h3 { font-size: 23px; }
.review-verdict p { color: var(--ink-2); }
.review-part { display: grid; gap: 10px; justify-items: start; }
.review-part h3 { font-size: 20px; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.cost-table th, .cost-table td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.cost-table th { font-weight: 700; white-space: nowrap; }
.cost-table td { color: var(--ink-2); }
.cost-table .num { font-family: var(--mono); color: var(--ink); white-space: nowrap; font-weight: 600; }
.cost-table tfoot th, .cost-table tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 800; }
.fault-list li b { color: var(--ink); }
.report-wait { display: flex; gap: 8px; padding: 24px 0; }
.report-wait span { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); animation: report-wait 1s infinite ease-in-out; }
.report-wait span:nth-child(2) { animation-delay: .15s; }
.report-wait span:nth-child(3) { animation-delay: .3s; }
@keyframes report-wait { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .report-wait span { animation: none; opacity: .6; } }
@media (max-width: 700px) {
  .report-block { padding: 20px 16px; border-radius: 22px; }
  .report-tiles { grid-template-columns: repeat(2, 1fr); }
  .report-flags li { grid-template-columns: 1fr; gap: 6px; }
  .report-facts { grid-template-columns: 1fr; gap: 0; }
  .report-facts dd { margin-bottom: 8px; }
  .cost-table td:last-child { display: none; }
}
/* The AI review's scorecard and charts (drawn from the data in report.js) */
.scorecard { display: grid; gap: 18px; }
.score-main { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.score-ring-box { display: grid; justify-items: center; gap: 2px; }
.score-ring-box small { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.score-ring-num { font: 850 26px var(--font); fill: var(--ink); }
.score-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.score-tile { padding: 14px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; align-content: start; }
.score-tile small { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.score-tile b { font-size: 22px; font-stretch: 106%; line-height: 1.15; }
.score-tile span { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.score-tile.tone-good { background: #CDF0E2; box-shadow: none; }
.score-tile.tone-warn { background: #FFE3D6; box-shadow: none; }
.score-tile.tone-bad { background: #FFD4CC; box-shadow: none; }
.score-tile.tone-bad b { color: #8A1B07; }
.chart-box { width: 100%; }
.chart-box svg { display: block; width: 100%; height: auto; overflow: visible; }
.review-part .cost-bars, .review-part .rival-list { padding: 0; color: var(--ink); }
.mileage-chart .grid { stroke: rgba(26, 25, 21, 0.1); }
.mileage-chart .axis { font: 600 12px var(--font); fill: #6B675C; }
.mileage-chart .axis.strong { fill: var(--ink); font-weight: 800; }
.mileage-chart .miles-line { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linejoin: round; }
.mileage-chart .miles-dot { fill: var(--green); stroke: var(--card); stroke-width: 2; }
.mileage-chart .miles-dot.drop { fill: #C42B0B; }
.mileage-chart .avg-line { stroke: #8A857A; stroke-width: 1.5; stroke-dasharray: 5 5; }
.mileage-chart .ad-line { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 3; }
.mileage-chart .ad-dot { fill: var(--yellow); stroke: var(--ink); stroke-width: 2; }
.chart-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--ink-2); }
.key { display: inline-block; width: 18px; height: 0; margin-right: -8px; border-top: 3px solid var(--green); vertical-align: middle; }
.key-ad { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); }
.key-avg { border-top: 2px dashed #8A857A; }
.warn-text { color: #8F2A04; font-weight: 700; }
.cost-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.cost-bars li { display: grid; grid-template-columns: 170px 1fr 120px; gap: 4px 14px; align-items: center; }
.cost-label { display: grid; gap: 2px; }
.cost-label b { font-size: 16px; }
.official { justify-self: start; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; padding: 1px 8px; border-radius: 999px; background: #CDF0E2; color: #00573E; }
.cost-track { position: relative; height: 14px; border-radius: 999px; background: #ECE8D6; overflow: hidden; }
.cost-low, .cost-high { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px; }
.cost-low { background: var(--orange); }
.cost-high { background: #FDB08F; border-radius: 0 999px 999px 0; }
.cost-amount { font-family: var(--mono); font-weight: 600; font-size: 15px; text-align: right; white-space: nowrap; }
.cost-note { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.cost-total { width: 100%; padding-top: 12px; border-top: 2px solid var(--ink); font-size: 17px; }
.price-scale { position: relative; width: 100%; height: 86px; margin-top: 4px; }
.price-track { position: absolute; left: 0; right: 0; top: 40px; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #ECE8D6, #CDF0E2 45%, #ECE8D6); }
.price-band { position: absolute; top: 40px; height: 10px; border-radius: 999px; background: var(--green); opacity: .55; }
.price-mark { position: absolute; top: 36px; width: 0; height: 18px; border-left: 2px solid var(--ink-2); }
.price-mark span { position: absolute; top: 22px; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.price-pin { position: absolute; top: 4px; width: 0; height: 46px; border-left: 3px solid var(--orange); }
.price-pin::after { content: ""; position: absolute; left: -8px; top: 30px; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); border: 2px solid var(--card); }
.price-pin span { position: absolute; top: -4px; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 800; background: var(--orange); color: var(--ink); padding: 2px 8px; border-radius: 999px; }
.price-pin.tone-bad { border-color: #C42B0B; }
.price-pin.tone-bad::after, .price-pin.tone-bad span { background: #C42B0B; color: #fff; }
.price-pin.tone-good { border-color: var(--green); }
.price-pin.tone-good::after, .price-pin.tone-good span { background: var(--green); }
.price-pin.tone-warn span { background: var(--yellow); }
.price-pin.tone-warn::after { background: var(--yellow); }
.price-pin.tone-warn { border-color: #D99A00; }
.price-mark.start span, .price-pin.start span { transform: translateX(-8px); }
.price-mark.end span, .price-pin.end span { transform: translateX(calc(-100% + 8px)); }
.price-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--ink-2); }
.price-legend b { color: var(--ink); font-family: var(--mono); }
.price-sentence { font-size: 16.5px; }
.rival-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.rival-list li { padding: 14px 16px; border-radius: 16px; background: var(--cream); display: grid; gap: 4px; }
.rival-list p { font-size: 15.5px; color: var(--ink-2); }
.example-note { padding: 12px 16px; border-radius: 14px; background: var(--yellow); font-size: 16px; max-width: 760px; }
.test-note { margin-top: 18px; padding: 10px 14px; border-radius: 12px; background: var(--yellow); }
.quote-cta { width: 100%; margin-top: 18px; padding: 18px 20px; border-radius: 20px; background: var(--green); display: grid; gap: 12px; }
.quote-cta-text { font-size: 17px; line-height: 1.45; }
.quote-cta-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.quote-cta .text-link { color: var(--ink); font-size: 16px; }
.quote-cta .small { color: var(--ink); opacity: .8; font-size: 13.5px; }
.print-head { display: none; }
@media (max-width: 700px) {
  .score-main { grid-template-columns: 1fr; }
  .score-tiles { grid-template-columns: 1fr 1fr; }
  .score-tile b { font-size: 19px; }
  .cost-bars li { grid-template-columns: 1fr auto; }
  .cost-track { grid-column: 1 / -1; grid-row: 2; }
  .rival-list { grid-template-columns: 1fr; }
  .price-mark span { font-size: 11px; }
}

/* Printing or saving as PDF: Carplorer's colours and a branded heading, page numbers in the footer */
@page {
  margin: 14mm 12mm 16mm;
  @top-left { content: "Carplorer car report"; font: 700 9px "Archivo", sans-serif; color: #6B675C; }
  @top-right { content: "carplorer.com"; font: 700 9px "Archivo", sans-serif; color: #6B675C; }
  @bottom-left { content: "A guide, not a mechanical inspection"; font: 600 9px "Archivo", sans-serif; color: #6B675C; }
  @bottom-right { content: "Page " counter(page) " of " counter(pages); font: 600 9px "Archivo", sans-serif; color: #6B675C; }
}
@media print {
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .top, .foot, .report-actions, .skip, .copy-btn, .report-page .saved-head .plate-tag { display: none !important; }
  body { background: #fff; font-size: 12.5px; }
  .account-page { padding: 0; }
  .wrap { padding: 0; max-width: none; }
  .print-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 14px; border-radius: 14px; background: var(--orange); }
  .print-head div { display: grid; margin-right: auto; }
  .print-head b { font-size: 17px; font-weight: 850; }
  .print-head span { font-size: 12px; }
  .print-head .plate-tag { transform: none; font-size: 14px; }
  .print-verdict { padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--cream) !important; font-weight: 800; font-size: 12px !important; }
  .saved-head { padding-bottom: 6px; }
  .saved-head h1 { font-size: 30px; }
  .report-block { margin-top: 14px; padding: 16px; border-radius: 16px; background: #FFFDF6; box-shadow: inset 0 0 0 1px #E6E1CC; }
  .scorecard, .chart-part, .price-scale, .report-flags li, .report-record:not(.long), .report-facts dt, .report-facts dd, .cost-bars li, .rival-list li, .review-part li, .report-before { break-inside: avoid; }
  .report-block > h2 { font-size: 24px; break-after: avoid; }
  .review-part h3, .report-records > h3 { break-after: avoid; }
  .report-tile { padding: 10px; }
  .report-tile b { font-size: 14.5px; }
  .test-note, .quote-cta { display: none; }
}

.check-form { display: grid; gap: 18px; justify-items: start; max-width: 680px; }
.check-label { font-weight: 800; font-size: 19px; }
.plate-input { max-width: 300px; background: var(--yellow); text-align: center; text-transform: uppercase; font: 800 28px/1 "Arial Narrow", "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.1em; }
.product-choices, .check-ad { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; width: 100%; }
.product-choices legend, .check-ad legend { margin-bottom: 10px; font-weight: 700; }
.product-choice { position: relative; display: grid; gap: 6px; padding: 18px 20px 18px 52px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 2px transparent; cursor: pointer; }
.product-choice:has(input:checked) { box-shadow: inset 0 0 0 3px var(--ink); }
.product-choice input { position: absolute; left: 20px; top: 22px; width: 20px; height: 20px; accent-color: var(--ink); }
.product-name { display: flex; justify-content: space-between; gap: 12px; font-size: 19px; }
.product-price { font-weight: 850; font-stretch: 108%; white-space: nowrap; }
.product-what { margin: 4px 0 0; padding-left: 20px; font-size: 15px; color: var(--ink-2); display: grid; gap: 2px; }
.check-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-ad label { display: grid; gap: 6px; }
.check-ad .account-input { max-width: none; }
.check-text { height: auto; padding: 14px 18px; font-size: 16px; line-height: 1.5; resize: vertical; }
.check-consent { max-width: 60ch; }
.check-soon { display: grid; gap: 18px; justify-items: start; max-width: 60ch; }
.product-choice.soon { cursor: default; opacity: 0.75; }
.product-choice.soon .product-price { font-weight: 700; font-size: 16px; color: var(--ink-2); }
.history-details { margin-top: 48px; padding: 28px; border-radius: 28px; background: var(--card); display: grid; gap: 18px; justify-items: start; max-width: 860px; }
.history-details h2 { font-size: clamp(26px, 3.2vw, 36px); }
.history-details .report-provider { margin-top: -8px; }
.history-data { margin: 0; display: grid; grid-template-columns: 200px 1fr; gap: 12px 24px; font-size: 16px; }
.history-data dt { font-weight: 800; }
.history-data dd { margin: 0; color: var(--ink-2); }
.history-details > .small { max-width: 70ch; }
@media (max-width: 560px) { .history-details { padding: 20px 16px; border-radius: 22px; } .history-data { grid-template-columns: 1fr; gap: 2px; } .history-data dd { margin-bottom: 10px; } }
@media (max-width: 560px) { .check-pair { grid-template-columns: 1fr; } }

/* The number-plate box: type a reg for the free MOT check (home page, MOT check, car finder) */
.reg-form { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; max-width: 560px; }
/* width: 100% stops the box's built-in width from pushing the page wider than a phone */
.reg-input {
  flex: 1 1 240px; width: 100%; min-width: 0; height: 72px; padding: 0 18px; border: 0; border-radius: 12px;
  background: var(--yellow); color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink);
  font: 800 36px/1 var(--font); font-stretch: 82%; letter-spacing: 0.08em; text-align: center; text-transform: uppercase;
}
.reg-input::placeholder { color: rgba(26, 25, 21, 0.32); }
.reg-input:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.reg-form .btn { min-height: 72px; flex: 0 0 auto; }
.reg-form-small .reg-input { flex-basis: 150px; height: 54px; font-size: 25px; }
.reg-form-small .btn { min-height: 54px; padding: 0 22px; font-size: 17px; }
.block-orange .reg-form .btn { background: var(--ink); color: var(--cream); }
.reg-error { color: var(--orange-deep); font-weight: 700; }
.hero-sub { display: grid; gap: 10px; justify-items: start; }
@media (max-width: 520px) {
  .reg-form .btn { flex: 1 1 100%; }
  .reg-input { height: 64px; font-size: 32px; }
}

/* Home page: the Chrome extension, second after the MOT check */
.how-head { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px 48px; align-items: end; }
.how-copy { display: grid; gap: 20px; }
.how-copy .lead { max-width: 54ch; }
@media (max-width: 980px) { .how-head { grid-template-columns: 1fr; } }

/* Free MOT check page */
.pill-ok { background: #FFF0C2; color: #6B4A00; }
.mot-intro { padding: 32px 0 88px; }
.mot-intro-inner { display: grid; gap: 22px; justify-items: start; }
.mot-intro h1 { font-size: clamp(42px, 6vw, 82px); max-width: 15ch; }
.mot-intro .lead { max-width: 46ch; }
.mot-result { max-width: calc(920px + 2 * var(--gutter)); }
.mot-result:not(:empty) { padding-top: 16px; padding-bottom: 96px; }
.check-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 40px; }
.check-car { display: grid; gap: 14px; justify-items: start; }
.check-car h1 { font-size: clamp(40px, 5.5vw, 66px); outline: none; }
.check-car .text-link { font-size: 16px; }
.reg-big { font-size: clamp(30px, 4vw, 40px); padding: 12px 20px 11px; transform: rotate(-2deg); box-shadow: inset 0 0 0 3px rgba(26, 25, 21, 0.8); }
.check-again { display: grid; gap: 8px; width: 100%; max-width: 340px; }
.check-again .small { font-weight: 700; color: var(--ink); }
.verdict-head { font-size: clamp(24px, 2.6vw, 30px); }
.block-lead { color: var(--ink-2); font-size: 17px; max-width: 62ch; margin-top: -8px; }
.bill-list { list-style: none; margin: 0; padding: 0; display: grid; }
.bill-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: start; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.bill-list li:first-child { padding-top: 0; }
.bill-list b { font-size: 18px; }
.bill-list p { color: var(--ink-2); font-size: 16px; margin-top: 2px; }
.bill-cost { font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.bill-total { display: flex; justify-content: space-between; gap: 16px; margin-top: -10px; padding-top: 12px; border-top: 2px solid var(--ink); font-size: 18px; }
.bill-total b { font-family: var(--mono); }
.seller-qs { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 17px; }
.report-block .btn-ghost { justify-self: start; }

/* What the MOT can't tell you: the paid reports and insurance quotes */
.upsell { margin-top: 36px; padding: clamp(26px, 4vw, 48px); border-radius: 36px; display: grid; gap: 26px; }
.upsell-head { display: grid; gap: 14px; }
.upsell h2 { font-size: clamp(30px, 3.6vw, 44px); }
.block-ink .lead { color: #CFCAB0; max-width: 58ch; }
.offer-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offer-card { background: var(--card); color: var(--ink); border-radius: 24px; padding: 24px; display: grid; gap: 10px; align-content: start; justify-items: start; }
.offer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; }
.offer-top h3 { font-size: 22px; }
.offer-price { font-size: 24px; font-weight: 850; font-stretch: 108%; }
.offer-card ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 16px; color: var(--ink-2); }
.offer-card .btn { margin-top: 8px; }
.upsell-both { color: #CFCAB0; }
.upsell-both .text-link { color: var(--yellow); }
.upsell-ins { padding: 20px 22px; border-radius: 22px; background: var(--green); color: var(--ink); display: grid; gap: 12px; }
.upsell-ins p { font-size: 17px; }
.upsell-ins-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.upsell-ins .btn { background: var(--ink); color: var(--cream); }
.upsell-ins .small { color: var(--ink); opacity: 0.8; font-size: 13.5px; }

/* Every MOT, on the same "receipt" as the home page */
.log-section { margin-top: 56px; display: grid; gap: 30px; }
.log-section h2 { font-size: clamp(28px, 3.4vw, 40px); }
.mot-log { transform: none; }
.log-test { padding: 12px 0; border-bottom: 1px dashed rgba(26, 25, 21, 0.18); }
.log-test:last-child { border-bottom: 0; }
.log-row { display: grid; grid-template-columns: 1fr 64px 120px; gap: 12px; font-weight: 600; color: var(--ink); }
.log-row > :last-child { text-align: right; }
.log-defects { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; color: #5A5750; }
.log-defects li { display: grid; grid-template-columns: 136px 1fr; gap: 10px; }
.log-defects b { font-weight: 600; }
.log-bad b { color: #8A1B07; }
.log-warn b { color: #6B4A00; }
.log-info b { color: var(--green-deep); }
.log-clean { margin-top: 6px; color: var(--green-deep); }
.check-next { margin-top: 56px; display: grid; gap: 18px; }
.check-next h2 { font-size: clamp(28px, 3.4vw, 40px); }
.check-next .reg-form { max-width: 480px; }
.ext-promo { margin-top: 56px; }
.ext-promo .lead { max-width: 56ch; }

/* The guide under the form */
.guide { padding: 0 0 96px; }
.guide-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guide-cards li { background: var(--card); border-radius: 24px; padding: 26px 24px 30px; display: grid; gap: 10px; align-content: start; }
.guide-cards p { color: var(--ink-2); font-size: 16.5px; }
.guide-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.guide-side { display: grid; gap: 20px; position: sticky; top: 32px; }
.guide-terms { margin: 0; border-top: 2px solid var(--ink); }
.guide-terms dt { padding-top: 20px; font-weight: 800; font-size: 20px; font-stretch: 104%; }
.guide-terms dd { margin: 6px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); max-width: 62ch; }
.guide-cant { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px 48px; align-items: end; }
.guide-cant > div:first-child { display: grid; gap: 18px; }
.guide-cant-links { display: grid; gap: 16px; justify-items: start; }
.guide-cant-links p { color: #CFCAB0; }
.guide-more { display: grid; gap: 26px; }
.guide-more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-more a { display: grid; gap: 6px; align-content: start; height: 100%; padding: 22px; border-radius: 22px; background: var(--card); color: var(--ink-2); font-size: 16.5px; text-decoration: none; }
.guide-more a b { color: var(--ink); font-size: 19px; font-stretch: 104%; }
.guide-more a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
@media (max-width: 980px) {
  .guide-cards { grid-template-columns: 1fr 1fr; }
  .guide-grid, .guide-cant { grid-template-columns: 1fr; gap: 28px; }
  .guide-side { position: static; }
  .guide-more ul { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .mot-intro { padding: 16px 0 64px; }
  .guide { padding-bottom: 64px; }
  .guide-cards { grid-template-columns: 1fr; margin-top: 28px; }
  .check-again { max-width: none; }
  .offer-cards { grid-template-columns: 1fr; }
  .upsell { border-radius: 26px; }
  .check-head .check-again { display: none; } /* it's at the end of the result instead */
  .results-foot .btn { white-space: normal; text-align: center; line-height: 1.2; padding: 14px 24px; }
  .log-row { grid-template-columns: 1fr auto auto; }
  .log-defects li { display: block; }
  .log-defects b { margin-right: 8px; }
  .bill-list li { grid-template-columns: 1fr; }
}

/* The owner's stats page (stats.html) */
.stats-scroll { overflow-x: auto; }
.stats-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.stats-table th, .stats-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.stats-table thead th { font-size: 13.5px; color: var(--ink-2); font-weight: 700; }
.stats-table tbody th { font-weight: 600; }
.stats-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.stats-table tbody tr:last-child > * { border-bottom: 0; }
.stats-pair { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.stats-pair > div { display: grid; gap: 10px; min-width: 0; }
.stats-notes { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 16px; color: var(--ink-2); max-width: 75ch; }
@media (max-width: 760px) { .stats-pair { grid-template-columns: 1fr; } }
