/* Ported from docs/mockups/public-site/product.css. Loads after public-site.css. */
/* Product pages (ProEstimate, ProAudit, ProRecovery). Ports to each page's scoped CSS plus shared
   pieces in public-site.css. Shared system: site.css.

   Each page sets its product color on <body>: teal for ProEstimate, orange for ProAudit, lime for
   ProRecovery. --pc is the fill, --pci the text-safe ink on light, --pcw the wash. */

.p-estimate { --pc: var(--teal); --pci: var(--teal-ink); --pcw: var(--teal-wash); }
.p-audit { --pc: var(--orange); --pci: var(--orange-ink); --pcw: var(--orange-wash); }
.p-recovery { --pc: var(--lime); --pci: var(--lime-ink); --pcw: var(--lime-wash); }

html:has(.pnav) { scroll-padding-top: calc(var(--bar-h) + 56px + 16px); }

/* ─── Product sub-nav ──────────────────────────────────────────────────────── */

.pnav {
    position: sticky;
    top: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
    z-index: 40;
    background: var(--espresso-2);
    color: var(--cream);
    border-bottom: 1px solid var(--hair-dk);
}
.pnav__in { display: flex; align-items: center; gap: 28px; height: 56px; }
.pnav .pmark img { width: 28px; height: 28px; }
.pnav .pmark b { font-size: 16px; color: var(--card); }
.pnav__links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.pnav__links::-webkit-scrollbar { display: none; }
.pnav__links a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--cream-2);
    font-size: 14.5px;
    font-weight: 560;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s, background-color 0.15s;
}
.pnav__links a:hover { color: var(--cream); }
.pnav__links a[aria-current="true"] { color: var(--card); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 -2px 0 var(--pc); }
.pnav__cta { margin-left: auto; }
.pnav__toggle { display: none; }

/* ─── Product hero ─────────────────────────────────────────────────────────── */

.phero {
    position: relative;
    overflow: hidden;
    background: var(--espresso);
    color: var(--cream);
    padding-block: clamp(48px, 6vw, 88px) clamp(64px, 8vw, 112px);
    isolation: isolate;
}
.phero::before {
    /* One wash of the product color behind the visual: atmosphere, not decoration. Static. */
    content: "";
    position: absolute;
    right: -10%;
    top: -30%;
    width: 70%;
    height: 140%;
    z-index: -1;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 16%, transparent), transparent);
    pointer-events: none;
}
.phero__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}
.phero__copy { display: grid; gap: 24px; }
.phero .pmark img { width: 56px; height: 56px; }
.phero .pmark b { font-size: 26px; color: var(--card); }
.phero .pmark small { color: var(--pc); font-weight: 600; font-size: 14.5px; }
.phero__title {
    font-family: var(--display);
    margin: 0;
    font-size: clamp(40px, 4.6vw, 68px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: var(--card);
    text-wrap: balance;
}
.phero .lead { color: var(--cream); }
.phero__offer {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--hair-dk);
    color: var(--cream-2);
    font-size: 15px;
}
.phero__offer b { color: var(--pc); font-weight: 700; white-space: nowrap; }
.phero__vis { display: grid; gap: 12px; min-width: 0; }
.phero__note { margin: 0; color: var(--cream-2); font-size: 13.5px; }

.js .phero__copy > * { animation: lift 0.8s var(--ease) both; }
.js .phero__copy > :nth-child(2) { animation-delay: 0.08s; }
.js .phero__copy > :nth-child(3) { animation-delay: 0.16s; }
.js .phero__copy > :nth-child(4) { animation-delay: 0.24s; }
.js .phero__copy > :nth-child(5) { animation-delay: 0.32s; }
.js .phero__vis { opacity: 0; }
.js .phero__vis.is-seen { opacity: 1; animation: lift 0.9s 0.15s var(--ease) both; }

/* ─── Cards shown on dark (hero visuals) ───────────────────────────────────── */

.card {
    position: relative;
    margin: 0;
    background: var(--card);
    color: var(--ink);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(12, 9, 6, 0.5);
    --focus: var(--ink);
}
.card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 24px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hair);
    font-size: 13px;
    line-height: 1.3;
}
.card__head span { display: block; color: var(--muted); font-size: 11.5px; letter-spacing: 0.06em; }
.card__head b { font-weight: 650; font-size: 14px; letter-spacing: 0.02em; }
.card__title { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--hair); background: var(--paper); font-weight: 680; font-size: 15px; }
.card__title img { width: 24px; height: 24px; object-fit: contain; }
.card__title em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 13px; color: var(--muted); }
.card__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 16px 20px 18px; background: var(--espresso-2); color: var(--cream); }
.card__foot .meter__k { display: block; font-size: 12.5px; color: var(--cream-2); }
.card__foot .meter__v { font-family: var(--num); display: block; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.card__foot .meter--money { text-align: right; }
.card__foot .meter--money .meter__v { font-size: 28px; font-weight: 800; color: var(--pc); }


/* ProAudit: an audit report */
.rpt__counts { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--hair); }
.rpt__list { margin: 0; padding: 6px 0; list-style: none; }
.rpt__list li {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #EDE3D6;
    font-size: 14.5px;
}
.rpt__list li:last-child { border-bottom: 0; }
.rpt__list .prio { justify-self: start; padding: 2px 8px; font-size: 11.5px; }
.rpt__list .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpt__list .amt { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--orange-ink); }

/* ProEstimate: a file moving through its stages */
.tl__who { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--hair); font-size: 14px; color: var(--muted); }
.tl__who i {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--ink);
    font-style: normal;
    font-weight: 800;
    font-size: 13px;
}
.tl__who b { color: var(--ink); font-weight: 650; }
.tl__list { margin: 0; padding: 10px 20px 16px; list-style: none; }
.tl__list li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 2px 14px; padding: 10px 0; }
.tl__list li::before {
    /* the rail between stages */
    content: "";
    position: absolute;
    left: 13px;
    top: 34px;
    bottom: -10px;
    width: 2px;
    background: var(--hair);
}
.tl__list li:last-child::before { display: none; }
.tl__dot {
    grid-row: span 2;
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--card);
    box-shadow: inset 0 0 0 2px #D9CAB7;
    transition: background-color 0.3s;
}
.tl__dot::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 7px;
    width: 8px;
    height: 12px;
    border-right: 2.5px solid var(--card);
    border-bottom: 2.5px solid var(--card);
    transform: rotate(45deg) scale(0.6);
    opacity: 0;
    transition: opacity 0.2s, transform 0.3s var(--ease);
}
.tl__list b { font-size: 15.5px; font-weight: 680; }
.tl__list span { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.tl__list li.is-done .tl__dot { background: var(--teal); box-shadow: none; }
.tl__list li.is-done .tl__dot::after { opacity: 1; transform: rotate(45deg) scale(1); }
.tl__list li.is-cur .tl__dot { box-shadow: inset 0 0 0 3px var(--teal); }
.tl__list li.is-cur .tl__dot::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--teal);
    opacity: 0;
}
.is-inview .tl__list li.is-cur .tl__dot::before { animation: ping 1.8s var(--ease) infinite; }
.tl__list li.is-done b, .tl__list li.is-cur b { color: var(--ink); }
.tl__list li:not(.is-done):not(.is-cur) b { color: var(--muted); }
@keyframes ping { 0% { opacity: 0.8; transform: scale(0.7); } 100% { opacity: 0; transform: scale(1.7); } }

/* ProRecovery: a closed RO, validated */
.val__stamp {
    font-family: var(--display);
    margin-left: auto;
    padding: 4px 10px 3px;
    border: 2.5px solid var(--red);
    border-radius: 6px;
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transform: rotate(-4deg);
}
.val__k { margin: 0; padding: 12px 20px 0; font-size: 13px; color: var(--muted); }
.val__list { margin: 0; padding: 6px 20px 10px; list-style: none; }
.val__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EDE3D6; font-size: 14.5px; }
.val__list li:last-child { border-bottom: 0; }
.val__nm { font-weight: 600; transition: color 0.3s; position: relative; }
.val__nm::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 52%;
    height: 1.5px;
    background: var(--muted);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.4s var(--ease);
}
li.is-done.is-removed .val__nm { color: var(--muted); }
li.is-done.is-removed .val__nm::after { transform: scaleX(1); }

.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 14px 20px 18px; list-style: none; border-top: 1px solid var(--hair); }
.flow li { position: relative; padding-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: center; transition: color 0.3s; }
.flow li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--hair); transition: background-color 0.3s; }
.flow li.is-on { color: var(--ink); }
.flow li.is-on::before { background: var(--lime); }
.flow li.is-cur { color: var(--lime-ink); font-weight: 750; }

/* ─── Steps: a real sequence, numbered ─────────────────────────────────────── */

.steps {
    display: grid;
    grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
    gap: 0;
    margin: clamp(40px, 5vw, 64px) 0 0;
    padding: 0;
    list-style: none;
    counter-reset: st;
    border-top: 1.5px solid var(--ink);
}
.steps > li { counter-increment: st; display: grid; align-content: start; gap: 10px; padding: 22px 24px 0 0; }
.steps > li + li { padding-left: 24px; border-left: 1px solid var(--hair); }
.steps > li::before {
    content: counter(st);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--pc, var(--ink));
    color: var(--ink);
    font-weight: 800;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}
.steps p { margin: 0; color: var(--muted); }
.g-dark .steps { border-top-color: var(--cream); }
.g-dark .steps > li + li { border-left-color: var(--hair-dk); }
.g-dark .steps p { color: var(--cream-2); }

/* ─── Split: words on one side, a picture on the other ─────────────────────── */

.split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}
.split--flip > :first-child { order: 2; }
.split__copy { display: grid; gap: 22px; align-content: start; }
.split__copy p { margin: 0; color: var(--muted); max-width: 56ch; }
.g-dark .split__copy p { color: var(--cream-2); }

.ticks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.5; }
.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--pcw, var(--paper));
}
.ticks li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 5px;
    height: 9px;
    border-right: 2px solid var(--pci, var(--ink));
    border-bottom: 2px solid var(--pci, var(--ink));
    transform: rotate(45deg);
}
.g-dark .ticks li::before { background: color-mix(in srgb, var(--pc) 22%, transparent); }
.g-dark .ticks li::after { border-color: var(--pc); }

/* ─── ProAudit: finding anatomy ────────────────────────────────────────────── */

.anat { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.fcard { border: 1px solid var(--hair); border-radius: 12px; background: var(--card); overflow: hidden; box-shadow: 0 18px 50px rgba(25, 21, 16, 0.1); }
.fcard__est { padding: 16px 20px; background: var(--paper); border-bottom: 1px solid var(--hair); font-variant-numeric: tabular-nums; }
.fcard__est p { margin: 0 0 8px; font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted); }
.fcard__est ol { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.fcard__est li { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; padding: 4px 0; }
.fcard__est li.is-add { color: var(--orange-ink); font-weight: 650; }
.fcard__body { display: grid; gap: 14px; padding: 18px 20px 20px; }
.fcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.fcard__name { font-family: var(--display); margin: 4px 0 0; font-size: 19px; font-weight: 700; line-height: 1.25; }
.fcard__amt { font-family: var(--num); text-align: right; font-size: 24px; font-weight: 700; color: var(--orange-ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.fcard__amt small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.fcard__why { margin: 0; color: var(--muted); font-size: 15px; }
.fcard__note { margin: 0; padding: 12px 14px; border-left: 3px solid var(--orange); background: var(--orange-wash); font-size: 14px; line-height: 1.5; }
.fcard__note b { display: block; margin-bottom: 2px; font-size: 12px; color: var(--orange-ink); }
.fcard__src { margin: 0; font-size: 13.5px; color: var(--muted); }
.fcard__src b { color: var(--ink); }
[data-anno] { border-radius: 8px; transition: background-color 0.25s; }
.anat.is-focus [data-anno].is-hot { box-shadow: 0 0 0 3px var(--orange); }

.anno { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.anno li { border-bottom: 1px solid var(--hair); }
.anno button {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 4px 16px;
    align-items: baseline;
    justify-content: start;
    width: 100%;
    padding: 18px 0;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
}
.anno button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #D9CAB7; transform: translateY(-1px); transition: background-color 0.2s; }
.anno button > b { font-size: 17px; font-weight: 700; }
.anno button > span { grid-column: 2; color: var(--muted); font-size: 15px; line-height: 1.45; }
.anno button:hover::before, .anno button.is-hot::before { background: var(--orange); }
/* Stacked layouts: a copy of the ringed part, under the control that points at it (product.js). */
.anno__peek { display: grid; gap: 8px; margin: -4px 0 18px 26px; padding: 12px 14px 14px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 2px var(--orange); animation: lift 0.3s var(--ease) both; }
.anno__peek-k { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.anno__peek > :last-child { justify-self: start; margin: 0; }
.anno__peek .fcard__amt { text-align: left; }

/* ─── ProAudit: what it looks for ──────────────────────────────────────────── */

/* The 19 categories as a ruled index, four across (two on a phone). Category names only: the
   rules themselves are never listed on the public site (owner, 2026-11-01). The first cell of
   each row drops its divider (the phone block re-points that), and ::after is a blank twentieth
   cell that closes the last row, since 20 fills both four and two across. */
.cov { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.cov::after { content: ""; border-bottom: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.cov li {
    display: flex;
    align-items: center;
    min-height: 68px;
    padding: 14px 16px 14px 20px;
    border-bottom: 1px solid var(--hair);
    border-left: 1px solid var(--hair);
    font-family: var(--display);
    font-size: clamp(17px, 1.45vw, 20px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.005em;
    text-wrap: balance;
}
.cov li:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.cov__src { margin: 24px 0 0; max-width: 64ch; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ─── ProAudit: ADAS by make ───────────────────────────────────────────────── */

.makes { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--hair-dk); }
.makes__k { margin: 0 0 14px; color: var(--cream-2); font-size: 14.5px; }
.makes__view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.makes__track { display: flex; width: max-content; }
.makes__track ul { display: flex; gap: 40px; margin: 0; padding: 0 40px 0 0; list-style: none; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: 0.01em; color: rgba(246, 241, 234, 0.62); white-space: nowrap; }
.makes__track ul + ul { visibility: hidden; }
.js .makes__track ul + ul { visibility: visible; }
/* product.js adds .is-running only while the list is on screen, the tab is visible and no pointer
   or keyboard focus rests on it; otherwise it holds where it is instead of jumping back. */
.js .makes__track { animation: marquee 70s linear infinite paused; }
.makes.is-running .makes__track { animation-play-state: running; }
.makes__view:hover .makes__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.adas3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: clamp(40px, 5vw, 56px) 0 0; border-top: 1.5px solid var(--cream); }
.adas3 > div { padding: 20px 24px 0 0; }
.adas3 > div + div { padding-left: 24px; border-left: 1px solid var(--hair-dk); }
.adas3 dt { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--card); }
.adas3 dd { margin: 6px 0 0; color: var(--cream-2); }

/* ─── ProAudit: tools ──────────────────────────────────────────────────────── */

.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: clamp(40px, 5vw, 64px); }
.tool { display: grid; gap: 20px; align-content: start; }
.tool p { margin: 0; color: var(--muted); }
.doc {
    padding: 20px 22px;
    background: var(--card);
    border: 1px solid var(--hair);
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(25, 21, 16, 0.08);
    font-variant-numeric: tabular-nums;
}
.doc__k { margin: 0 0 4px; font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted); }
.doc__t { margin: 0 0 14px; font-size: 17px; font-weight: 720; }
.doc__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #EDE3D6; font-size: 14.5px; }
.doc__row b { font-weight: 650; }
.doc__row--total { border-top: 1.5px solid var(--ink); font-weight: 750; }
.doc__row--ok b { color: var(--lime-ink); }
.doc__row--short b { color: var(--orange-ink); }
/* A breakdown of the row above it: lighter and indented, so it never reads as more charges to add. */
.doc__row--sub { padding: 2px 0 6px 14px; border-top: 0; color: var(--muted); font-size: 13.5px; }
.doc__row--sub b { font-weight: 500; }
.doc__row--sub small { display: block; font-size: 12.5px; }
.docs { display: grid; gap: 14px; }
.tool .doc__why { margin-top: auto; padding-top: 8px; font-size: 13.5px; line-height: 1.45; }
.tool > .doc { display: flex; flex-direction: column; }
/* Side by side, the two tools share their rows, so the headings under the documents start level. */
@media (min-width: 961px) {
    .tool { grid-row: span 4; grid-template-rows: subgrid; }
}
.doc__swatch { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.doc__swatch i { width: 36px; height: 36px; border-radius: 6px; background: linear-gradient(135deg, #8A7D6E, #5C5046 60%, #A89A8A); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.doc__swatch--pearl i { background: linear-gradient(135deg, #F7F3EA, #DCD5C8 60%, #FBF8F1); }
.doc__swatch b { display: block; font-weight: 700; }
.doc__days { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.doc__days span { flex: 1; height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 9%, transparent 9% 10%); }

/* ─── ProAudit: set up around your shop ────────────────────────────────────── */

.setup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1.5px solid var(--ink); }
.setup > div { padding: 20px 22px 0 0; }
.setup > div + div { padding-left: 22px; border-left: 1px solid var(--hair); }
.setup dt { font-size: 18px; font-weight: 720; }
.setup dd { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }

/* ─── ProAudit: ROI calculator ─────────────────────────────────────────────── */

.roi { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(25, 21, 16, 0.14); }
.roi__in { display: grid; gap: 26px; padding: clamp(24px, 3.4vw, 44px); background: var(--card); }
.roi__in header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.roi__reset { padding: 0; background: none; border: 0; color: var(--teal-ink); font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.rng { display: grid; gap: 10px; }
.rng__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rng label { font-weight: 650; }
.rng small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.rng output { font-family: var(--num); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rng input[type="range"] { width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 50%; }
.rng input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--orange) var(--p), var(--hair) var(--p)); }
.rng input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--hair); }
.rng input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--orange); }
.rng input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.rng input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); }
.rng input[type="range"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.roi__out { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 22px; padding: clamp(24px, 3.4vw, 44px); background: var(--espresso); color: var(--cream); --focus: var(--orange); }
.roi__out .meter__k { display: block; color: var(--cream-2); font-size: 14px; }
.roi__big { font-family: var(--num); display: block; font-size: clamp(44px, 5vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.roi__row { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--hair-dk); }
.roi__row b { font-size: 20px; font-variant-numeric: tabular-nums; }
.roi__out .fine { color: var(--cream-2); }
/* The button's long label wraps on the narrowest phones, and the headline stays one number. */
.roi__out .btn { white-space: normal; text-align: center; }
@media (max-width: 360px) {
    .roi__big { font-size: 34px; }
}

/* ─── ProEstimate ──────────────────────────────────────────────────────────── */

.uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.uses li { font-family: var(--display); display: grid; grid-template-columns: 6px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--hair); font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.uses li::before { content: ""; width: 6px; height: 100%; border-radius: 3px; background: var(--teal); }

/* The file's stages, with where the shop comes in. The hero card already shows the stages, so
   this says who does what at each one: our part in plain text, the shop's in a tinted box that
   sits at the foot of its column, so the shop's few touch points line up as one lane. */
.steps--roles > li { display: flex; flex-direction: column; gap: 10px; }
.steps .steps__you { margin-top: auto; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--teal-wash); color: var(--ink); font-size: 15px; line-height: 1.5; }
.steps__you b { color: var(--teal-ink); font-weight: 700; }

/* ─── ProRecovery ──────────────────────────────────────────────────────────── */

.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.outcome { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 10px; background: var(--espresso-2); border-top: 4px solid var(--oc); }
.outcome--ok { --oc: var(--lime); }
.outcome--doc { --oc: var(--orange); }
.outcome--no { --oc: #786B5C; }
.outcome b { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--card); }
.outcome p { margin: 0; color: var(--cream-2); }

/* ProEstimate access: the two ways in, then the rules that hold either way. */
.access { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.access__way { display: grid; gap: 10px; align-content: start; padding: 26px 26px 24px; border-radius: 12px; background: var(--card); border: 1px solid var(--hair); }
.access__way svg { width: 40px; height: 40px; fill: none; stroke: var(--pci); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.access__way h3 { margin: 4px 0 0; }
.access__way p { margin: 0; color: var(--muted); }
.access__key { padding-top: 12px; border-top: 1px solid var(--hair); color: var(--ink) !important; font-weight: 600; }
.access__rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin-top: 28px; }

.areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1.5px solid var(--ink); }
.areas > div { padding: 20px 18px 0 0; }
.areas > div + div { padding-left: 18px; border-left: 1px solid var(--hair); }
.areas dt { font-size: 17px; font-weight: 720; line-height: 1.25; }
.areas dd { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

.board { padding: 22px; background: var(--card); border: 1px solid var(--hair); border-radius: 12px; box-shadow: 0 18px 50px rgba(25, 21, 16, 0.1); }
.board__k { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.board__k b { font-size: 16px; color: var(--ink); }
.board__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { display: grid; gap: 6px; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpi b { font-family: var(--num); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi i { display: block; height: 6px; border-radius: 3px; background: var(--hair); overflow: hidden; }
.kpi i::after { content: ""; display: block; height: 100%; width: 100%; background: var(--bc, var(--ink)); transform-origin: 0 50%; transform: scaleX(var(--w, 1)); transition: transform 1.2s var(--ease); }
.js .board:not(.is-counted) .kpi i::after { transform: scaleX(0); }
.kpi--paid b { color: var(--lime-ink); }
.board__rows { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.board__rows > li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid #EDE3D6; font-size: 14px; font-variant-numeric: tabular-nums; }
.board__rows > li:last-child { border-bottom: 0; }

/* One sample row carries its history. Without script it shows under the row; product.js folds
   it away and makes the row's name the button that opens it. Stage colors follow the board:
   submitted ink, follow-up orange, approved teal, paid lime. */
.trail { grid-column: 1 / -1; display: grid; gap: 10px; margin: 2px 0 4px; padding: 14px 16px; border-radius: 10px; background: var(--paper); font-variant-numeric: normal; }
.js .has-trail.is-open .trail { animation: lift 0.3s var(--ease) both; }
.trail__k { margin: 0; color: var(--muted); font-size: 12.5px; }
.trail__list { display: grid; margin: 0; padding: 0; list-style: none; }
.trail__list li { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 1px 12px; padding-bottom: 10px; }
.trail__list li:last-child { padding-bottom: 0; }
.trail__list li::before { content: ""; grid-row: 1; width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; background: var(--tc); box-shadow: inset 0 0 0 2px var(--tb, var(--tc)); }
.trail__list li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 20px; bottom: 2px; width: 2px; border-radius: 1px; background: var(--hair-strong); }
.trail__list b { font-size: 14px; font-weight: 700; line-height: 1.4; }
.trail__list span { grid-column: 2; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.trail--sub { --tc: var(--card); --tb: var(--ink); }
.trail--fol { --tc: var(--orange); }
.trail--appr { --tc: var(--teal); }
.trail--paid { --tc: var(--lime); }
.trail__docs { margin: 0; padding-top: 10px; border-top: 1px solid var(--hair); color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.trail__btn {
    /* Inline flow, so on a phone the chevron follows the name's last word when it wraps. The
       padding gives a 34px target; the negative margin keeps the row as tall as its neighbors. */
    display: inline-block;
    margin-block: -6px;
    padding: 6px 0;
    background: none;
    border: 0;
    font-weight: 650;
    text-align: left;
    text-decoration: underline dotted var(--muted);
    text-underline-offset: 3px;
    cursor: pointer;
}
.trail__btn svg { display: inline-block; width: 22px; height: 22px; margin-left: 8px; padding: 4px; vertical-align: -6px; border-radius: 50%; background: var(--lime-wash); fill: none; stroke: var(--lime-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.trail__btn:hover { text-decoration-color: currentColor; }
.trail__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.pill { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; background: var(--paper); color: var(--muted); }
.pill--paid { background: var(--lime-wash); color: var(--lime-ink); }
.pill--appr { background: var(--teal-wash); color: var(--teal-ink); }
.pill--sub { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--muted); }

/* ─── Offer band ───────────────────────────────────────────────────────────── */

.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 14px; background: var(--pcw); border-left: 6px solid var(--pc); }
.band h3 { margin: 0 0 8px; }
.band p { margin: 0; color: var(--muted); max-width: 60ch; }

/* ─── Lite mode ────────────────────────────────────────────────────────────── */

.ps-lite .makes__track, .ps-still .makes__track { animation: none; }
.ps-lite .makes__track ul + ul, .ps-still .makes__track ul + ul { display: none; }
.ps-lite .makes__track ul, .ps-still .makes__track ul { flex-wrap: wrap; white-space: normal; row-gap: 6px; }
.ps-lite .makes__track, .ps-still .makes__track { width: auto; }
.ps-lite .makes__view, .ps-still .makes__view { -webkit-mask-image: none; mask-image: none; }
.ps-lite .is-inview .tl__list li.is-cur .tl__dot::before { animation: none; }

@media (prefers-reduced-motion: reduce) {
    .makes__track, .js .makes__track { animation: none; }
    .makes__track ul + ul { display: none; }
    .makes__track ul { flex-wrap: wrap; white-space: normal; row-gap: 6px; }
    .makes__track { width: auto; }
    .makes__view { -webkit-mask-image: none; mask-image: none; }
}

/* ─── ProAudit: the app itself (Audit Reports), framed ─────────────────────── */

.app { margin: clamp(40px, 5vw, 64px) 0 0; border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px rgba(246, 241, 234, 0.12), 0 40px 90px rgba(12, 9, 6, 0.55); }
.app__chrome { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; background: #15110D; }
.app__chrome i { width: 11px; height: 11px; border-radius: 50%; background: rgba(246, 241, 234, 0.18); }
.app__chrome span { margin-left: 14px; padding: 4px 14px; border-radius: 6px; background: rgba(246, 241, 234, 0.07); color: var(--cream-2); font-size: 12.5px; }
.app__body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 460px; }
.app__side { display: grid; align-content: start; gap: 2px; padding: 20px 14px; background: var(--espresso); color: var(--cream-2); font-size: 13.5px; }
.app__side img { width: 96px; height: auto; margin: 0 0 18px 8px; }
.app__side p { margin: 14px 0 6px 10px; color: #948979; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.app__side span { padding: 8px 10px; border-radius: var(--radius-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__side span.is-on { background: rgba(221, 145, 66, 0.14); color: var(--cream); box-shadow: inset 3px 0 0 var(--orange); font-weight: 650; }
.app__main { display: grid; align-content: start; gap: 18px; padding: 26px 28px 28px; color: var(--ink); }
.app__eyebrow { display: block; color: var(--orange-ink); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.app__title { display: block; margin-top: 2px; font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.app__sub { display: block; color: var(--muted); font-size: 14px; }
.app__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.app__kpis > div { padding: 14px 16px; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card); }
.app__kpis dt { color: var(--faint); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.app__kpis dd { margin: 4px 0 0; font-family: var(--num); font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.app__kpis .app__money { color: var(--orange-ink); }
.app__head, .app__row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 2.4fr) 70px 110px 130px; gap: 14px; align-items: center; }
.app__head { padding: 10px 16px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: #F0E6DA; color: #4E453D; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.app__rows { margin: -18px 0 0; padding: 0; list-style: none; border: 1px solid var(--hair); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: var(--card); }
.app__row { padding: 12px 16px; border-top: 1px solid var(--row); font-size: 14px; }
.app__row:first-child { border-top: 0; }
.app__veh b { display: block; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__veh small { color: var(--faint); font-size: 12.5px; }
.app__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.app__chips .prio { padding: 1px 7px; font-size: 10.5px; }
.app__num { font-family: var(--num); font-weight: 700; font-variant-numeric: tabular-nums; }
.app__amt { font-family: var(--num); font-weight: 700; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.app__st { justify-self: start; padding: 3px 10px; border: 1px solid; border-radius: 100px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.app__st--ok { border-color: var(--ok-border); background: var(--ok-bg); color: var(--ok-fg); }
.app__st--info { border-color: var(--info-border); background: var(--info-bg); color: var(--info-fg); }
.app__st--warn { border-color: var(--warn-border); background: var(--warn-bg); color: var(--warn-fg); }
.app__note { margin-top: 14px; }

@media (max-width: 1080px) {
    .app__body { grid-template-columns: 180px minmax(0, 1fr); }
    .app__head, .app__row { grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) 60px 100px; }
    .app__head span:last-child, .app__st { display: none; }
}
@media (max-width: 760px) {
    .app__body { grid-template-columns: minmax(0, 1fr); }
    .app__side { display: none; }
    .app__main { padding: 20px 16px; }
    .app__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app__head { display: none; }
    .app__rows { margin-top: 0; border-top: 1px solid var(--hair); border-radius: var(--radius); }
    .app__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
    .app__chips { grid-column: 1 / -1; grid-row: 2; }
    .app__num { display: none; }
    .app__chrome span { display: none; }
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
    .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
    .areas > div:nth-child(4) { padding-left: 0; border-left: 0; }
    .setup { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
    .setup > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 960px) {
    .pnav__in { gap: 12px; }
    .pnav__cta { display: none; }
    /* The word hides, its name stays: without it the mark is a link with no name (axe link-name). */
    .pnav .pmark span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    /* Phones: one compact control names the section you are in and opens the full list. */
    html:has(.pnav) { scroll-padding-top: calc(var(--bar-h) + 48px + 12px); }
    .pnav { transition: transform 0.3s var(--ease); }
    html[data-bar-hidden] .pnav { transform: translateY(calc(-1 * var(--bar-h))); }
    .pnav__in { position: relative; height: 48px; }
    .pnav__toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
        height: 36px;
        padding: 0 12px;
        border: 1px solid var(--hair-dk);
        border-radius: var(--radius-sm);
        background: var(--espresso);
        color: var(--cream);
        font: inherit;
        font-size: 14.5px;
        cursor: pointer;
    }
    .pnav__k { flex: none; color: var(--cream-2); font-size: 13px; }
    .pnav__cur { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
    .pnav__toggle svg { flex: none; width: 16px; height: 16px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
    .pnav.is-open .pnav__toggle svg { transform: rotate(180deg); }
    .pnav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 2px;
        padding: 8px 16px 14px;
        overflow: visible;
        background: var(--espresso-2);
        border-bottom: 1px solid var(--hair-dk);
        box-shadow: 0 18px 40px rgba(12, 9, 6, 0.4);
    }
    .pnav.is-open .pnav__links { display: flex; }
    .pnav__links a { padding: 12px 12px; font-size: 16px; }
    .pnav__links a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--pc); }
    /* No script: the toggle cannot open anything, so the links show as a row that scrolls sideways. */
    html:not(.js) .pnav__toggle { display: none; }
    html:not(.js) .pnav__links { display: flex; position: static; flex-direction: row; gap: 2px; padding: 0; overflow-x: auto; background: none; border: 0; box-shadow: none; scrollbar-width: none; }
    html:not(.js) .pnav__links a { padding: 12px 10px; font-size: 14.5px; white-space: nowrap; }
    .access, .access__rules { grid-template-columns: minmax(0, 1fr); }
    .phero__grid, .split, .anat, .roi, .tools { grid-template-columns: minmax(0, 1fr); }
    .split--flip > :first-child { order: 0; }
    .phero__copy { max-width: 640px; }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .steps > li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); margin-top: 20px; }
    .g-dark .steps > li + li { border-top-color: var(--hair-dk); }
    .outcomes, .adas3 { grid-template-columns: minmax(0, 1fr); }
    .adas3 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair-dk); margin-top: 20px; }
    .steps .steps__you { margin-top: 4px; }
    .uses { grid-template-columns: minmax(0, 1fr); }
    .band { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    /* The category index goes two across: every cell takes its divider back, then the left column drops it. */
    .cov { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cov li:nth-child(n) { min-height: 58px; padding: 12px 10px 12px 14px; border-left: 1px solid var(--hair); font-size: 16.5px; }
    .cov li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .areas, .setup { grid-template-columns: minmax(0, 1fr); }
    .areas > div + div, .setup > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); padding-top: 16px; }
    .board__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rpt__list li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding-inline: 14px; font-size: 14px; }
    .rpt__list .prio { grid-column: 1; grid-row: 1; }
    .rpt__list .nm { grid-column: 1; grid-row: 2; white-space: normal; }
    .rpt__list .amt { grid-column: 2; grid-row: 1 / span 2; }
    .flow { padding-inline: 12px; }
    .flow li { font-size: 11px; }
    /* The make list wraps (reduced motion, Pause motion, older machines): a denser list on a phone. */
    .ps-lite .makes__track ul, .ps-still .makes__track ul { font-size: 17px; column-gap: 20px; }
    /* The numbered steps read as a timeline: the number beside its step, not on a row of its own. */
    .steps > li { grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; padding-top: 16px; }
    .steps > li::before { grid-row: span 2; }
    .steps > li + li { margin-top: 14px; }
    .steps--roles > li { display: grid; }
    .steps--roles > li::before { grid-row: span 3; }
    /* The two tools swipe, the second peeking, like the home page's service cards. */
    .tools { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding: 4px 16px 16px; scrollbar-width: none; }
    .tools::-webkit-scrollbar { display: none; }
    .tool { flex: 0 0 86%; scroll-snap-align: start; }
    .tool { padding: 18px; background: var(--card); border: 1px solid var(--hair); border-top: 4px solid var(--pc, var(--orange)); border-radius: var(--radius); }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
    .makes__track ul { font-size: 17px; column-gap: 20px; }
}
