/* NodeCheck. Brand: NodeTrack navy and teal. Phone first. */
:root {
  --navy: #202a30; --navy-2: #2a363d; --navy-3: #34434b;
  --teal: #109d9f; --teal-d: #0e7c86; --teal-l: #3cc4c6; --teal-bg: #e3f4f3;
  --ink: #1b2a33; --muted: #5b6b78; --line: #d9e1e6; --line-2: #e8eef1;
  --bg: #f4f7f6; --card: #ffffff; --soft: #f8faf9;
  --good: #1d8a5a; --good-bg: #e5f4ec;
  --warn: #b26a00; --warn-bg: #fdf1dc;
  --bad: #c2362f; --bad-bg: #fbe7e5;
  --info: #3f6f9a; --info-bg: #e6eff7;
  --plate: #f6c700; --plate-ink: #111; --plate-band: #0a3d91;
  --r: 16px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 35, 45, .06), 0 6px 24px -12px rgba(20, 35, 45, .18);
  --shadow-lg: 0 20px 60px -20px rgba(10, 20, 28, .45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --plate-font: "Charles Wright", "UKNumberPlate", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6eef1; --muted: #9db0ba; --line: #33434c; --line-2: #2a383f;
    --bg: #131b20; --card: #1b252b; --soft: #202c33;
    --teal-bg: #12393b; --teal-d: #3cc4c6;
    --good: #4cc48a; --good-bg: #163527; --warn: #f0ad3c; --warn-bg: #3a2c12;
    --bad: #ff7a6e; --bad-bg: #3d1d1b; --info: #8cb8e0; --info-bg: #1c2d3d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-d); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; margin-top: 1.4em; }
p { margin: 0 0 .9em; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-l); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 10px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mono, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.ic.big { width: 48px; height: 48px; color: var(--teal); margin: 0 auto 12px; }

/* ---------- masthead ---------- */
.masthead { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(255,255,255,.06); }
.mast-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
/* The N is NodeTrack's own mark (public/img/n-mark.svg), so both brands match. Wordmark in Montserrat like NodeTrack's. */
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
.logo-mark { width: 36px; height: 33px; flex: none; }
.logo-word { font-family: Montserrat, var(--font); font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; line-height: 1; display: grid; }
.logo-word b { color: #14b7ba; font-weight: 700; grid-row: 1; grid-column: 2; }
.logo-word small { grid-column: 1 / 3; font-family: var(--font); font-weight: 600; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 4px; }
.mast-nav { display: flex; align-items: center; gap: 4px; }
.mast-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .92rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; }
.mast-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.garage-link { background: rgba(255,255,255,.08); }
body[data-view="garage"] .garage-link { background: var(--teal); color: #fff; }
body:not([data-view="home"]) .mast-nav a[href="#prices"] { display: none; }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .08s, background .15s, border-color .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { border-color: var(--teal); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 6px 18px -8px rgba(16,157,159,.8); }
.btn.primary:hover { background: #0c8d8f; }
.btn.big { min-height: 56px; font-size: 1.05rem; padding: 12px 22px; border-radius: 14px; }
.btn.ghost { background: transparent; }
.btn.accent { background: var(--teal-l); border-color: var(--teal-l); color: var(--navy); }
.btn.small-btn { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.text-link { font-weight: 650; color: var(--teal-d); }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- number plate ---------- */
.plate { display: inline-flex; align-items: stretch; background: var(--plate); color: var(--plate-ink); border-radius: 6px; border: 2px solid #1a1a1a; overflow: hidden; font-family: var(--plate-font); font-weight: 800; letter-spacing: .06em; vertical-align: middle; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.plate-band { background: var(--plate-band); color: #fff; font: 700 .55em/1 var(--font); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; padding: 4px 5px 5px; letter-spacing: .02em; }
.plate-band i { width: 1.1em; height: 1.1em; border-radius: 50%; border: 2px dotted #ffd400; }
.plate-text { padding: .12em .45em; font-size: 1em; white-space: nowrap; display: flex; align-items: center; }
.plate.xs { font-size: .78rem; border-width: 1.5px; border-radius: 4px; }
.plate.xs .plate-band { display: none; }
.plate.sm { font-size: 1rem; }
.plate.lg { font-size: 1.9rem; border-width: 3px; border-radius: 9px; }
.plate.input { display: flex; font-size: 1.9rem; border-width: 3px; border-radius: 12px; cursor: text; box-shadow: 0 10px 30px -14px rgba(0,0,0,.6); }
.plate.input .plate-band { padding: 8px 9px; font-size: .38em; }
.plate.input input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: inherit; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; text-align: center; outline: none; }
.plate.input input::placeholder { color: rgba(0,0,0,.35); }
.plate.input:focus-within { outline: 3px solid var(--teal-l); outline-offset: 3px; }

/* ---------- home ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(60,196,198,.22), transparent 60%), linear-gradient(180deg, var(--navy) 0%, #182126 100%); color: #fff; padding: 36px 0 48px; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.eyebrow { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--teal-l); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.eyebrow.dark { color: var(--teal-d); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-l); box-shadow: 0 0 0 0 rgba(60,196,198,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(60,196,198,0); } 100% { box-shadow: 0 0 0 0 rgba(60,196,198,0); } }
.hero h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 16px; }
.hero h1 span { color: var(--teal-l); }
.lede { font-size: 1.06rem; color: rgba(255,255,255,.78); max-width: 34em; }
.search { display: grid; gap: 12px; margin: 22px 0 14px; max-width: 520px; }
.search.compact { margin: 18px auto 0; max-width: 420px; }
.search.compact .plate.input { font-size: 1.5rem; }
.recent-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 8px; }
.recent-row .muted { color: rgba(255,255,255,.6); }
.mini-plate { background: var(--plate); color: #111; font: 800 .82rem/1 var(--plate-font); letter-spacing: .05em; padding: 6px 9px; border-radius: 5px; border: 1.5px solid #111; text-decoration: none; }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.7); }
.trust b { color: #fff; display: inline-block; min-width: 42px; }

.hero-card { background: var(--card); color: var(--ink); border-radius: 22px; padding: 20px; box-shadow: 14px 14px 0 rgba(60,196,198,.18), var(--shadow-lg); transform: rotate(1.2deg); max-width: 400px; justify-self: center; width: 100%; position: relative; }

.hc-top { display: flex; justify-content: space-between; align-items: center; }
.hc-score { font-weight: 800; font-size: 1.7rem; color: var(--warn); }
.hc-score small { font-size: .8rem; color: var(--muted); }
.hc-name { font-weight: 800; font-size: 1.25rem; margin: 12px 0 10px; }
.hc-name span { font-weight: 500; color: var(--muted); }
.hc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.hc-list li { display: flex; align-items: center; gap: 10px; }
.hc-list i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.hc-list .bad i { background: var(--bad); } .hc-list .warn i { background: var(--warn); } .hc-list .good i { background: var(--good); }
.hc-bar { height: 6px; background: var(--line-2); border-radius: 6px; margin: 16px 0 8px; overflow: hidden; }
.hc-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--bad), var(--warn)); border-radius: 6px; }
.hc-foot { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0; }

.band { padding: 48px 0; }
.band.alt { background: var(--card); border-block: 1px solid var(--line-2); }
.band-title { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 800; letter-spacing: -.025em; text-align: center; }
.band-sub { text-align: center; color: var(--muted); max-width: 36em; margin: 0 auto 24px; }
.how { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.how li { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.how-n { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-bg); color: var(--teal-d); font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.how h3 { margin: 0 0 6px; font-size: 1.05rem; }
.how p { margin: 0; color: var(--muted); font-size: .94rem; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix-wrap { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin-bottom: 14px; }
.matrix { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
.matrix th, .matrix td { padding: 10px 8px; border-bottom: 1px solid var(--line-2); text-align: center; }
.matrix tbody th { text-align: left; font-weight: 500; position: sticky; left: 0; background: var(--card); min-width: 170px; }
.matrix thead th { font-weight: 750; font-size: .9rem; padding-top: 16px; vertical-align: bottom; }
.matrix thead th span { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; }
.matrix .pop { background: var(--teal-bg); }
.matrix thead .pop { border-radius: 12px 12px 0 0; position: relative; }
.matrix thead .pop::before { content: "Most popular"; display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-d); margin-bottom: 4px; }
.matrix .yes { color: var(--teal); margin: 0 auto; width: 20px; height: 20px; stroke-width: 2.4; }
.matrix .no { color: var(--line); }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }

.nt-band { display: grid; gap: 18px; align-items: start; max-width: 860px; }
.nt-band h2 { font-size: 1.6rem; font-weight: 800; }
.nt-band p { color: var(--muted); }
.nt-mark { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--teal-l); display: grid; place-items: center; flex: none; }
.nt-mark .ic { width: 28px; height: 28px; }
.nt-mark.big { width: 64px; height: 64px; border-radius: 18px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .86rem; margin-top: 0; }
body:not([data-view="home"]) .footer { margin-top: 40px; }
.foot-top { display: grid; gap: 22px; margin-bottom: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: rgba(255,255,255,.85); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; margin: 0; font-size: .78rem; line-height: 1.6; }
.foot-legal a { color: inherit; }

/* ---------- cards & common ---------- */
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); margin-bottom: 14px; }
.card > :last-child { margin-bottom: 0; }
.sec-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-head > .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--teal-bg); color: var(--teal-d); }
.sec-head h2 { margin: 0; flex: 1; font-size: 1.12rem; font-weight: 750; }
.sec-head .muted { margin-left: auto; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--teal-bg); color: var(--teal-d); }
.badge .ic { width: 14px; height: 14px; }
.pill { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--info-bg); color: var(--info); }
.pill.good { background: var(--good-bg); color: var(--good); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.bad { background: var(--bad-bg); color: var(--bad); }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--info-bg); color: var(--ink); border-radius: var(--r-sm); padding: 12px 14px; margin: 0 0 14px; font-size: .92rem; }
.note .ic { color: var(--info); margin-top: 2px; }
.callout { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--r-sm); padding: 12px 14px; font-size: .92rem; }
.callout.warn { background: var(--warn-bg); } .callout.warn .ic { color: var(--warn); margin-top: 2px; }
.empty { text-align: center; padding: 36px 20px; }
.empty h1, .empty h2 { margin-top: 18px; font-size: 1.4rem; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- loading ---------- */
#report, #garage { padding-top: 18px; min-height: 60vh; }
.loading { text-align: center; padding: 40px 20px; max-width: 460px; margin: 20px auto; }
.steps { list-style: none; padding: 0; margin: 28px auto 0; text-align: left; display: grid; gap: 12px; max-width: 300px; }
.steps li { display: flex; gap: 12px; align-items: center; color: var(--muted); opacity: .45; transition: opacity .2s, color .2s; }
.steps li .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; border: 2px solid var(--line); color: transparent; transition: all .2s; }
.steps li.on { opacity: 1; color: var(--ink); }
.steps li.on .ic { border-color: var(--teal); border-right-color: transparent; animation: spin .8s linear infinite; }
.steps li.done .ic { animation: none; background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- report ---------- */
.report { max-width: 860px; }
.sticky-bar { position: fixed; top: 60px; left: 0; right: 0; z-index: 25; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transform: translateY(-110%); transition: transform .2s; visibility: hidden; }
.sticky-bar.on { transform: none; visibility: visible; }
.sticky-bar .wrap { display: flex; align-items: center; gap: 12px; height: 52px; max-width: 860px; }
.sb-name { flex: 1; font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.summary { display: grid; gap: 18px; padding: 22px; position: relative; overflow: hidden; }
.summary::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-l)); }
.car-name { font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 800; margin: 16px 0 6px; letter-spacing: -.03em; }
.car-name span { font-weight: 500; color: var(--muted); }
.car-meta { margin: 0 0 4px; font-weight: 600; }
.car-meta i { font-style: normal; color: var(--muted); margin: 0 7px; }
.car-age { margin: 0; color: var(--muted); font-size: .9rem; }
.sum-score { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; background: var(--soft); border-radius: 14px; padding: 14px; }
.sum-score .ring { grid-row: 1 / 3; }
.score-label { margin: 0; font-weight: 800; font-size: 1.15rem; align-self: end; }
.score-label.good { color: var(--good); } .score-label.ok { color: var(--teal-d); } .score-label.warn { color: var(--warn); } .score-label.bad { color: var(--bad); }
.score-note { margin: 0; color: var(--muted); font-size: .84rem; align-self: start; }

.ring { position: relative; width: 96px; height: 96px; --c: var(--teal); }
.ring.good { --c: var(--good); } .ring.ok { --c: var(--teal); } .ring.warn { --c: var(--warn); } .ring.bad { --c: var(--bad); }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--line-2); }
.ring .bar { stroke: var(--c); stroke-linecap: round; animation: ringIn 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ringIn { from { stroke-dashoffset: 264; } }
.ring-num { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.9rem; color: var(--c); letter-spacing: -.03em; }
.ring-num small { font-size: .7rem; color: var(--muted); font-weight: 600; display: block; margin-top: -8px; }
.ring.lg .ring-num { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.ring.lg .ring-num small { margin-top: 4px; }
.ring.xs { width: 38px; height: 38px; }
.ring.xs circle { stroke-width: 11; }
.ring.xs .ring-num { font-size: .82rem; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.tile { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--info); }
.tile.good::before { background: var(--good); } .tile.warn::before { background: var(--warn); } .tile.bad::before { background: var(--bad); }
.tile-label { display: flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tile-label .ic { width: 16px; height: 16px; }
.tile.good .tile-label .ic { color: var(--good); } .tile.warn .tile-label .ic { color: var(--warn); } .tile.bad .tile-label .ic { color: var(--bad); } .tile.info .tile-label .ic { color: var(--info); }
.tile-value { font-weight: 800; font-size: 1.08rem; }
.tile-sub { font-size: .8rem; color: var(--muted); }

.chips { position: sticky; top: 112px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 12px; margin: 0 -16px 4px; padding-inline: 16px; scrollbar-width: none; background: linear-gradient(var(--bg) 75%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; font-size: .86rem; font-weight: 650; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.chips a:hover { border-color: var(--teal); color: var(--teal-d); }
body:not(:has(.sticky-bar.on)) .chips { top: 60px; }

.findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.findings li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--soft); }
.findings li > .ic { width: 22px; height: 22px; margin-top: 1px; }
.findings li.bad { background: var(--bad-bg); } .findings li.bad > .ic { color: var(--bad); }
.findings li.warn { background: var(--warn-bg); } .findings li.warn > .ic { color: var(--warn); }
.findings li.good > .ic { color: var(--good); }
.findings li.info { background: var(--info-bg); } .findings li.info > .ic { color: var(--info); }
.findings strong { display: block; font-weight: 700; }
.findings span { font-size: .9rem; color: var(--muted); }
.hint-row { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border: 1.5px dashed var(--line); border-radius: 12px; font-size: .9rem; color: var(--muted); }

/* unlock */
.unlock { border: 2px solid var(--teal); background: linear-gradient(180deg, var(--teal-bg), var(--card) 160px); }
.pack-use { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--card); border: 1px dashed var(--teal); padding: 12px; border-radius: 12px; margin-bottom: 14px; }
.pack-use span { flex: 1; min-width: 180px; }
.tier-pick { display: grid; gap: 10px; margin: 14px 0; }
.tp { display: block; position: relative; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 14px 14px 46px; background: var(--card); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.tp input { position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; accent-color: var(--teal); margin: 0; }
.tp:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(16,157,159,.18); }
.tp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tp-name { font-weight: 750; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tp-name em { font-style: normal; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; background: var(--teal); color: #fff; padding: 3px 8px; border-radius: 999px; }
.tp-price { font-weight: 800; font-size: 1.1rem; }
.tp-feat { display: block; font-size: .84rem; color: var(--muted); margin-top: 4px; }
.unlock .btn.big { width: 100%; }
.pay-note { display: block; font-size: .8rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.pay-note .ic { width: 15px; height: 15px; color: var(--good); display: inline-block; vertical-align: -3px; margin-right: 4px; }
.pack-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; font-size: .9rem; }
.pack-row span { flex: 1; min-width: 200px; }
.code-entry { margin-top: 12px; font-size: .9rem; }
.code-entry summary { cursor: pointer; color: var(--teal-d); font-weight: 650; }
.code-entry form { margin-top: 10px; }

/* locked */
.locked { position: relative; }
.ghost-lines { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.ghost-lines li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--soft); border-radius: 10px; color: var(--muted); font-size: .92rem; }
.ghost-lines li span { flex: 1; }
.ghost-lines li i { width: 64px; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--line), var(--line-2)); filter: blur(1px); }
.locked .btn { width: 100%; }

/* history */
.checks { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.checks li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.checks li:last-child { border-bottom: 0; }
.checks .ic { width: 20px; height: 20px; }
.checks .good .ic { color: var(--good); } .checks .warn .ic { color: var(--warn); } .checks .bad .ic { color: var(--bad); }
.checks .bad { background: var(--bad-bg); }
.fl { flex: 1; font-weight: 600; }
.fv { font-size: .9rem; color: var(--muted); text-align: right; }
.checks .bad .fv { color: var(--bad); font-weight: 700; }
.detail { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--soft); font-size: .92rem; line-height: 1.7; }
.detail.bad { background: var(--bad-bg); border-left: 4px solid var(--bad); }
.vin { margin-top: 16px; padding: 16px; border-radius: 12px; border: 1.5px dashed var(--line); }
.vin label { display: block; font-size: .92rem; margin-bottom: 10px; }
.vin-row { display: flex; gap: 8px; }
.vin-row input { flex: 1; min-width: 0; min-height: 46px; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--card); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.vin-row input[type=email] { text-transform: none; letter-spacing: 0; font-weight: 500; }
.vin-row input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(16,157,159,.2); }
.vin-out { margin: 10px 0 0; font-weight: 650; display: flex; gap: 8px; align-items: flex-start; }
.vin-out:empty { display: none; }
.vin-out.good { color: var(--good); } .vin-out.bad { color: var(--bad); } .vin-out.warn { color: var(--warn); }
.clean-line { display: flex; gap: 8px; align-items: center; font-weight: 650; color: var(--good); }

/* salvage */
.salvage { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--soft); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.ph:hover img { transform: scale(1.05); }
.photo-full { width: 100%; border-radius: 12px; background: var(--soft); }
.ph-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }

/* mileage */
.chart { margin: 8px -6px 10px; }
.svgchart { width: 100%; height: auto; overflow: visible; }
.svgchart .grid { stroke: var(--line-2); stroke-width: 1; }
.svgchart .axis { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.svgchart .area { fill: url(#mg); }
.svgchart .g0 { stop-color: var(--teal); stop-opacity: .28; }
.svgchart .g1 { stop-color: var(--teal); stop-opacity: 0; }
.svgchart .line { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.svgchart .pt { fill: var(--card); stroke: var(--teal); stroke-width: 2.5; }
.svgchart .pt.bad { fill: var(--bad); stroke: var(--card); stroke-width: 2.5; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; }
.stats.grid { grid-template-columns: repeat(2, 1fr); }
.stats div { background: var(--soft); border-radius: 12px; padding: 10px 12px; }
.stats dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.stats dd { margin: 2px 0 0; font-weight: 800; font-size: 1.08rem; }
.stats dd small { font-weight: 500; font-size: .76rem; color: var(--muted); }

/* MOT */
.mot-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.mot-list > li { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.mot-list summary { display: grid; grid-template-columns: auto 1fr auto 18px; grid-template-areas: "res d n chev" "res m n chev"; gap: 0 12px; align-items: center; padding: 10px 12px; cursor: pointer; list-style: none; }
.mot-list summary::-webkit-details-marker { display: none; }
.mot-list .res { grid-area: res; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 6px 9px; border-radius: 8px; width: 58px; text-align: center; }
.mot-list .pass .res { background: var(--good-bg); color: var(--good); }
.mot-list .fail .res { background: var(--bad-bg); color: var(--bad); }
.mot-list .d { grid-area: d; font-weight: 700; font-size: .94rem; }
.mot-list .m { grid-area: m; color: var(--muted); font-size: .84rem; }
.mot-list .n { grid-area: n; font-size: .82rem; color: var(--muted); }
.mot-list .chev { grid-area: chev; color: var(--muted); transition: transform .2s; }
.mot-list details[open] .chev { transform: rotate(90deg); }
.mot-list details > :not(summary) { margin: 0 12px 12px; }
.defects { list-style: none; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.defects li { display: flex; gap: 8px; align-items: flex-start; }
.tag { flex: none; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 7px; border-radius: 6px; background: var(--info-bg); color: var(--info); margin-top: 2px; }
.tag.advisory, .tag.minor { background: var(--warn-bg); color: var(--warn); }
.tag.major, .tag.dangerous, .tag.fail { background: var(--bad-bg); color: var(--bad); }
.tag.prs { background: var(--good-bg); color: var(--good); }

/* value */
.val-band { background: var(--soft); border-radius: 14px; padding: 16px; margin-bottom: 8px; }
.vb-main span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.vb-main strong { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; color: var(--teal-d); line-height: 1.1; }
.vb-main small { color: var(--muted); }
.vb-scale { display: grid; gap: 8px; margin: 14px 0; }
.vb-scale div { display: grid; grid-template-columns: 70px 1fr auto; grid-template-areas: "k bar v"; align-items: center; gap: 10px; font-size: .88rem; }
.vb-scale span { grid-area: k; color: var(--muted); }
.vb-scale b { grid-area: v; font-weight: 750; }
.vb-scale i { grid-area: bar; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--teal-l)); width: var(--w); }
ul.ads { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
ul.ads li { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; }
.ad-top { display: flex; justify-content: space-between; align-items: baseline; }
.ad-top strong { font-size: 1.1rem; }
.ad-top span { font-size: .84rem; color: var(--muted); }
.ad-bar { height: 6px; background: var(--line-2); border-radius: 6px; margin: 8px 0; overflow: hidden; }
.ad-bar i { display: block; height: 100%; background: var(--navy-3); border-radius: 6px; }
@media (prefers-color-scheme: dark) { .ad-bar i { background: var(--teal-l); } }
.ad-meta { font-size: .84rem; color: var(--muted); }

/* timeline */
.tl { list-style: none; padding: 0; margin: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl li { display: flex; gap: 14px; padding: 6px 0 10px; position: relative; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid var(--info); flex: none; margin-top: 3px; position: relative; }
.tl .good .tl-dot { border-color: var(--good); } .tl .warn .tl-dot { border-color: var(--warn); } .tl .bad .tl-dot { border-color: var(--bad); background: var(--bad); }
.tl strong { display: block; }
.tl span { font-size: .88rem; color: var(--muted); }
.tl-date { display: block; font-size: .74rem !important; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.more summary { cursor: pointer; color: var(--teal-d); font-weight: 650; padding: 8px 0; }

/* checklist */
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.todo label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--soft); cursor: pointer; font-size: .94rem; }
.todo input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
.todo input:checked + span { text-decoration: line-through; color: var(--muted); }
.questions { padding-left: 1.3em; margin: 0 0 14px; display: grid; gap: 6px; }

.actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 18px 0; }
.actions .btn .ic { color: var(--teal); }

/* NodeTrack offer */
.nodetrack { display: grid; gap: 16px; background: var(--navy); color: #fff; border-radius: 20px; padding: 24px; margin: 24px 0 8px; position: relative; overflow: hidden; }
.nodetrack::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(60,196,198,.08); }
.nodetrack .nt-mark { background: rgba(60,196,198,.14); }
.nodetrack.urgent { background: linear-gradient(135deg, #2b1a1a, var(--navy)); }
.nodetrack .eyebrow { margin-bottom: 8px; }
.nodetrack h2 { font-size: 1.5rem; font-weight: 800; }
.nodetrack p { color: rgba(255,255,255,.78); }
.nodetrack ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.nodetrack li { display: flex; gap: 10px; align-items: center; }
.nodetrack li .ic { color: var(--teal-l); }
.nt-body { position: relative; z-index: 1; }

/* ---------- garage ---------- */
.page-head { margin: 8px 0 18px; }
.page-head h1 { font-size: 1.9rem; font-weight: 800; }
.pack-line { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; background: var(--soft); border-radius: 10px; }
.pack-line code { font-weight: 700; letter-spacing: .06em; }
.cars { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.car-card { position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); }
.car-card > a { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 54px; color: inherit; text-decoration: none; }
.car-card > a:hover strong { color: var(--teal-d); }
.cmp { position: absolute; left: 0; top: 0; bottom: 0; width: 48px; display: grid; place-items: center; cursor: pointer; border-right: 1px solid var(--line-2); }
.cmp input { width: 20px; height: 20px; accent-color: var(--teal); }
.cc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.mini-score { font-weight: 800; min-width: 40px; text-align: center; padding: 4px 8px; border-radius: 10px; background: var(--info-bg); color: var(--info); }
.mini-score.good { background: var(--good-bg); color: var(--good); } .mini-score.ok { background: var(--teal-bg); color: var(--teal-d); } .mini-score.warn { background: var(--warn-bg); color: var(--warn); } .mini-score.bad { background: var(--bad-bg); color: var(--bad); }
.due { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 650; color: var(--good); margin-top: 4px; }
.due.warn { color: var(--warn); } .due.bad { color: var(--bad); }
.compare-bar { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 10px 10px 10px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); margin: 12px 0; z-index: 10; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; }
.cmp-table th, .cmp-table td { padding: 10px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.cmp-table thead th { font-weight: 700; }
.cmp-table thead em { display: inline-block; font-style: normal; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; background: var(--teal); color: #fff; padding: 2px 7px; border-radius: 999px; margin-top: 4px; }
.cmp-table tbody th { color: var(--muted); font-weight: 600; }

/* ---------- sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(10, 16, 20, 0); display: flex; align-items: flex-end; justify-content: center; transition: background .2s; }
.sheet-backdrop.open { background: rgba(10, 16, 20, .55); }
.sheet { background: var(--card); width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 8px 20px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .25s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); }
.sheet-backdrop.open .sheet { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 4px; background: var(--line); margin: 4px auto 10px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sheet-head h2 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.sheet-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.sheet-x:hover { color: var(--ink); }
.sheet .btn.big { width: 100%; margin-top: 6px; }
.sheet .btn.ghost { width: 100%; margin-top: 10px; }
.sheet .stats { grid-template-columns: 1fr 1fr; }
.sheet form.vin-row { margin: 6px 0 10px; }
.co-car { display: flex; align-items: center; gap: 12px; font-weight: 700; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: .94rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--teal); margin-top: 3px; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line-2); }
.co-total strong { font-size: 1.6rem; font-weight: 800; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); padding: 12px; border-radius: 12px; background: var(--soft); margin-bottom: 8px; cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--teal); flex: none; margin: 0; }
@media (min-width: 720px) {
  .sheet-backdrop { align-items: center; }
  .sheet { border-radius: 22px; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .2s, opacity .2s; }
  .sheet-backdrop.open .sheet { transform: none; opacity: 1; }
  .sheet-grip { display: none; }
}

#toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .92rem; max-width: calc(100vw - 32px); width: max-content; opacity: 0; pointer-events: none; transition: all .25s; z-index: 60; border: 1px solid rgba(255,255,255,.08); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- content pages (landing, legal, lookup, admin) ---------- */
.page { padding: 0 0 20px; }
.page .hero { margin-bottom: 24px; }
.page .hero h1 { font-size: clamp(1.9rem, 7vw, 3rem); }
.page > .wrap > .card { max-width: 860px; margin-left: auto; margin-right: auto; }
.page-body { padding-top: 24px; }
.points { margin: 0; display: grid; gap: 18px; }
.points dt { font-weight: 750; margin-bottom: 4px; }
.points dd { margin: 0; color: var(--muted); }
.price-table { display: grid; gap: 8px; }
.pt-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; }
.pt-row.popular { border: 2px solid var(--teal); background: var(--teal-bg); }
.pt-price { font-size: 1.2rem; white-space: nowrap; }
.prose h2 { margin-top: 1.6em; font-size: 1.15rem; }
.prose li { margin-bottom: .4em; }
.code-form { display: flex; gap: 8px; flex-wrap: wrap; }
.code-form input { flex: 1; min-width: 200px; min-height: 46px; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--card); }
table.ads { width: 100%; border-collapse: collapse; font-size: .86rem; }
table.ads th, table.ads td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line-2); }

/* ---------- larger screens ---------- */
@media (min-width: 560px) {
  .search { grid-template-columns: 1fr auto; }
  .search.compact { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .actions { grid-template-columns: repeat(3, 1fr); }
  .stats.grid { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(3, auto); gap: 18px; }
  .trust b { display: block; font-size: 1.3rem; }
}
@media (min-width: 760px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .how { grid-template-columns: repeat(3, 1fr); }
  .summary { grid-template-columns: 1fr 300px; align-items: center; padding: 28px; }
  .sum-score { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 20px; }
  .sum-score .ring { grid-row: auto; width: 128px; height: 128px; }
  .sum-score .ring-num { font-size: 2.4rem; }
  .card { padding: 24px; }
  .nt-band { grid-template-columns: auto 1fr; gap: 28px; margin: 0 auto; }
  .nodetrack { grid-template-columns: auto 1fr; padding: 32px; }
  .foot-top { grid-template-columns: 1.2fr 2fr 1.5fr; align-items: start; }
  .points { grid-template-columns: repeat(3, 1fr); }
  .cars { grid-template-columns: repeat(2, 1fr); }
  .photos { grid-template-columns: repeat(4, 1fr); }
  .chips { margin-inline: 0; padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- print / save as PDF ---------- */
@media print {
  :root { --bg: #fff; --card: #fff; --soft: #f5f7f7; }
  body { background: #fff; font-size: 12px; }
  .masthead, .footer, .chips, .sticky-bar, .unlock, .actions, .nodetrack, .vin, [data-act], [data-buy], .locked .btn, #toast, .sheet-backdrop, .more > summary { display: none !important; }
  .card, .tile { box-shadow: none; break-inside: avoid; border-color: #ccc; }
  #report { padding: 0; }
  .report::before { content: "NodeCheck report · nodecheck.co.uk"; display: block; font-weight: 800; color: #0e7c86; margin-bottom: 10px; }
  a { color: inherit; text-decoration: none; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .ring .bar { animation: none; }
}

/* folded sections */
.fold > summary { list-style: none; cursor: pointer; margin: 0; }
.fold > summary::-webkit-details-marker, .qs > summary::-webkit-details-marker { display: none; }
.fold > summary .chev, .qs > summary .chev { color: var(--muted); transition: transform .2s; }
.fold[open] > summary { margin-bottom: 14px; }
.fold[open] > summary .chev, .qs[open] > summary .chev { transform: rotate(90deg); }
.qs { margin-top: 14px; border-top: 1px solid var(--line-2); padding-top: 6px; }
.qs > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; padding: 10px 0; }
.qs .questions { margin-top: 6px; }
.stats.two { grid-template-columns: 1fr 1fr; }
.ghost-lines { grid-template-columns: 1fr 1fr; }
.ghost-lines li { padding: 10px 12px; font-size: .88rem; gap: 8px; }
.ghost-lines li i { display: none; }
.ghost-lines .ic { width: 16px; height: 16px; }

/* ---------- simpler home: micro copy, checks grid, price cards, bottom docks ---------- */
.micro { margin: 10px 0 0; font-size: .86rem; color: rgba(255,255,255,.72); text-align: center; }
.lede strong { color: #fff; }
.checks-grid { list-style: none; padding: 0; margin: 8px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks-grid li { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; box-shadow: var(--shadow); font-weight: 650; font-size: .92rem; line-height: 1.25; }
.checks-grid .ic { color: var(--teal); width: 22px; height: 22px; grid-row: span 2; }
.checks-grid em { font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.checks-grid em.free { color: var(--good); }
.steps3 { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.steps3 li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.steps3 b { width: 30px; height: 30px; border-radius: 50%; background: var(--teal-bg); color: var(--teal-d); display: grid; place-items: center; flex: none; }
.price-cards { display: grid; gap: 14px; margin: 0 auto 14px; max-width: 980px; }
.pc { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pc.popular { border: 2px solid var(--teal); order: -1; }
.pc-badge { position: absolute; top: -12px; left: 20px; background: var(--teal); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pc h3 { margin: 0; font-size: 1.05rem; }
.pc-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; margin: 2px 0 0; line-height: 1.1; }
.pc-sub { color: var(--muted); font-size: .9rem; margin: 2px 0 12px; }
.pc ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 7px; font-size: .93rem; flex: 1; }
.pc li { display: flex; gap: 8px; align-items: flex-start; }
.pc li .ic { color: var(--teal); margin-top: 3px; }
.pc .btn { width: 100%; }
.compare-all { max-width: 980px; margin: 16px auto 0; }
.compare-all summary { cursor: pointer; text-align: center; font-weight: 650; color: var(--teal-d); padding: 10px; list-style: none; }
.compare-all summary::-webkit-details-marker { display: none; }
.compare-all summary::after { content: " ▾"; }
.compare-all[open] summary::after { content: " ▴"; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); animation: dockIn .2s ease-out; }
.dock .wrap { display: flex; align-items: center; gap: 12px; max-width: 860px; }
.dock .btn.big { width: 100%; min-height: 50px; }
.dock-text { flex: 1; font-size: .88rem; line-height: 1.3; }
.dock-text b { color: var(--bad); }
@keyframes dockIn { from { transform: translateY(100%); } to { transform: none; } }
@media (min-width: 720px) {
  .checks-grid { grid-template-columns: repeat(4, 1fr); }
  .steps3 { grid-template-columns: repeat(3, auto); justify-content: center; gap: 28px; }
  .price-cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .pc.popular { order: 0; transform: translateY(-6px); }
  #homeDock { display: none !important; }
}
@media print { .dock { display: none !important; } }

/* ---------- picture of the car ---------- */
.car-pic { margin: -6px 0 14px; position: relative; }
.car-pic img, .car-pic .car-art { width: 100%; max-width: 420px; height: auto; margin: 0 auto; display: block; }
.car-pic img { aspect-ratio: 16 / 9; object-fit: contain; }
.car-pic figcaption { text-align: center; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.car-art .ca-shadow { fill: #000; opacity: .14; }
.car-art .ca-glass { fill: #26323a; opacity: .88; }
.car-art .ca-wheel circle { fill: #1a1f23; }
.car-art .ca-wheel .ca-rim { fill: #aeb6bc; stroke: #6c757c; stroke-width: 3; }
@media (prefers-color-scheme: dark) { .car-art .ca-shadow { opacity: .5; } .car-art .ca-glass { fill: #0e1418; } }
.link-btn { background: none; border: 0; padding: 4px 0 12px; color: var(--teal-d); font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 719px) { .car-pic img, .car-pic .car-art { max-width: 300px; } }

/* ---------- cookie consent (public/consent.js) ---------- */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; }
.cc-modal { top: 0; align-items: center; background: rgba(10, 18, 24, .55); pointer-events: auto; }
.cc-box { pointer-events: auto; width: 100%; max-width: 560px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 18px 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
.cc-box h2 { font-size: 1.1rem; margin: 0 0 6px; }
.cc-box p { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.cc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-modal .cc-row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-top: 12px; }
.cc-row .btn { width: 100%; background: var(--navy); border-color: var(--navy); color: #fff; }
.cc-row .btn:hover { background: var(--navy-2); }
.cc-link { display: block; margin: 8px auto 0; background: none; border: 0; color: var(--teal-d); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; font-size: .9rem; text-align: center; }
.cc-opt { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.cc-opt b { display: block; font-size: .95rem; }
.cc-opt small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.cc-opt input { width: 22px; height: 22px; accent-color: var(--teal); flex: none; }
.cc-none { margin-top: 12px !important; }
body.has-consent .dock { display: none !important; }
@media print { .cc { display: none !important; } }
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 0 0 16px; display: block; overflow-x: auto; }
.data-table th, .data-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.data-table th { font-weight: 700; background: var(--soft); }
