/* RV Shift V1 — the RV Finder (/finder/). Loaded only on that page, after site.css; uses its tokens and classes
   (.btn, .fld, .radio, .card, .rgrid) and adds nothing to them. Contrast follows the Brand Bible: navy for small
   text, white on Bright Blue only at 19px bold (.btn--blue), navy on orange. */

/* ---------- the top band ---------- */
.fxh { background: radial-gradient(900px 380px at 88% -20%, rgba(22, 119, 255, .5), transparent 65%),
  radial-gradient(700px 300px at -10% 120%, rgba(22, 119, 255, .28), transparent 60%), var(--rv-navy);
  color: #fff; padding: 46px 0 128px; }
.fxh__in { text-align: center; max-width: 920px; }
.fxh__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .1); font: 700 13px var(--font-h); letter-spacing: .08em; text-transform: uppercase; }
.fxh__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rv-orange); }
.fxh__title { font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; letter-spacing: -.025em; margin-top: 16px; }
.fxh__title span { display: block; color: #9CC8FF; }
.fxh__lede { color: rgba(255, 255, 255, .86); font-size: 18px; max-width: 660px; margin: 16px auto 0; }
.fxh__steps { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 26px 0 0;
  font: 600 14px var(--font-h); color: rgba(255, 255, 255, .88); }
.fxh__steps li { display: flex; align-items: center; }
.fxh__n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--rv-navy);
  font: 700 12px var(--font-h); margin-right: 8px; }

/* ---------- the quiz card ---------- */
.fx__stage { position: relative; margin-top: -96px; padding-bottom: 80px; }
.fx__card { position: relative; max-width: 880px; margin: 0 auto; background: #fff; border-radius: var(--r-lg); padding: 16px 34px 38px;
  box-shadow: 0 28px 70px rgba(7, 27, 51, .18), 0 2px 6px rgba(7, 27, 51, .08); transition: max-width .3s ease; }
.fx.is-results .fx__card { max-width: var(--wrap); }
.fx__bar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 110px; grid-template-areas: "back prog restart" "back count restart";
  align-items: center; gap: 6px 14px; margin: 0 -34px 28px; padding: 0 34px 14px; border-bottom: 1px solid var(--line); }
.fx__back, .fx__restart { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--pill);
  background: none; font: 600 15px var(--font-h); color: var(--rv-navy); }
.fx__back { grid-area: back; justify-self: start; padding-left: 6px; }
.fx__back svg { width: 18px; height: 18px; }
.fx__back:hover, .fx__restart:hover { background: var(--rv-cloud); }
.fx__restart { grid-area: restart; justify-self: end; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.fx__prog { grid-area: prog; height: 8px; border-radius: var(--pill); background: var(--rv-cloud); overflow: hidden; }
.fx__prog i { display: block; height: 100%; width: 4%; border-radius: var(--pill); background: linear-gradient(90deg, var(--rv-blue), #5AA2FF);
  transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.fx__count { grid-area: count; text-align: center; font: 600 13px var(--font-h); color: var(--ink-3); min-height: 18px; }
.fx__screen { min-height: 340px; }
.fx__screen.is-in { animation: fxIn .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fxIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.fx__loading { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 300px; color: var(--ink-3); }
.fx__spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--rv-blue); animation: fxSpin .8s linear infinite; }
@keyframes fxSpin { to { transform: rotate(360deg); } }
.fx__nojs { display: grid; gap: 12px; justify-items: start; }

/* ---------- a question ---------- */
.fq__q { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; letter-spacing: -.02em; outline: none; }
.fq__q:focus, .fq__q:focus-visible { box-shadow: none; }
.fq__hint { color: var(--ink-2); font-size: 17px; margin-top: 8px; max-width: 660px; }
.fq__hint--sm { font-size: 14px; color: var(--ink-3); margin-top: 0; }
.fq__label { font: 700 12px var(--font-h); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 26px 0 10px; }
.fq__opts { display: grid; gap: 12px; margin-top: 24px; }
.fq__opts + .fq__opts { margin-top: 12px; }
.fq__opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fq__opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fq__opts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fq__opts--radii { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fq__opts--radii .fa--any { grid-column: 1 / -1; }
.fq__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.fq__acts--sticky { position: sticky; bottom: 0; z-index: 5; margin: 8px -6px -18px; padding: 22px 6px 18px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 34%); }
.fq__acts .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.fq__veh { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin-bottom: 14px; padding: 6px 14px 6px 10px;
  border-radius: var(--pill); background: var(--rv-cloud); font: 600 14px var(--font-h); color: var(--ink); }
.fq__veh svg { width: 20px; height: 20px; flex: none; color: var(--rv-blue); }
.fq__veh span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fq__veh em { font-style: normal; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.fq__veh em::before { content: "·"; margin-right: 8px; }
.fnote { margin-bottom: 14px; padding: 10px 14px; border-radius: 12px; background: #FFF4E0; color: #5C3300; font-size: 15px; }

/* ---------- an answer ---------- */
.fa { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; min-height: 66px; padding: 14px 50px 14px 18px;
  text-align: left; background: #fff; color: var(--ink); border: 2px solid var(--line); border-radius: var(--r);
  transition: border-color .15s, background .15s, transform .12s, box-shadow .15s; }
.fa:hover { border-color: var(--rv-blue); background: #F5F9FF; }
.fa:active { transform: scale(.985); }
.fa[aria-pressed="true"] { border-color: var(--rv-blue); background: #EAF2FF; box-shadow: inset 0 0 0 1px var(--rv-blue); }
.fa__txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.fa__txt b { font: 700 17px/1.25 var(--font-h); }
.fa__txt span { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.fa__n { flex: none; font: 700 12px var(--font-h); font-style: normal; white-space: nowrap; color: var(--rv-navy); background: var(--rv-cloud);
  padding: 4px 9px; border-radius: var(--pill); }
.fa__n.is-zero { color: var(--ink-3); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.fa__tick { position: absolute; right: 14px; top: 50%; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rv-blue); color: #fff; opacity: 0; transform: translateY(-50%) scale(.5); transition: opacity .15s, transform .2s; }
.fa__tick svg { width: 14px; height: 14px; }
.fa[aria-pressed="true"] .fa__tick { opacity: 1; transform: translateY(-50%) scale(1); }
.fa--soft { background: var(--rv-cloud); border-color: transparent; }
.fa--unsure { min-height: 58px; border-style: dashed; border-color: var(--line-2); background: transparent; padding-right: 18px; }
.fa--unsure .fa__txt b { font-size: 16px; }
.fa--unsure:hover { border-style: solid; }
/* picture answers: an RV type, a real listing photo */
.fa--img { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.fa__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rv-cloud); }
.fa__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.fa--img:hover .fa__img img { transform: scale(1.04); }
.fa--img .fa__txt { padding: 12px 14px 14px; }
.fa--img .fa__n { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 4px rgba(7, 27, 51, .18); }
.fa--img .fa__n.is-zero { background: rgba(255, 255, 255, .92); }
.fa--img .fa__tick { top: 12px; right: 12px; transform: scale(.5); box-shadow: 0 0 0 3px #fff; }
.fa--img[aria-pressed="true"] .fa__tick { transform: scale(1); }
.fa--big .fa__img { aspect-ratio: 16 / 9; }
.fa--big .fa__txt b { font-size: 20px; }

/* ---------- tow or drive, in two lines each ---------- */
.fcmp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.fcmp__c { padding: 20px 22px; border-radius: 18px; background: var(--rv-cloud); }
.fcmp__c h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.fcmp__c h3 svg { width: 24px; height: 24px; color: var(--rv-blue); }
.fcmp__c p { color: var(--ink-2); margin-top: 8px; }

/* ---------- the vehicle box ---------- */
.fv { margin-top: 22px; }
.fv__box { position: relative; display: flex; gap: 8px; padding: 6px; border: 2px solid var(--line-2); border-radius: 18px; background: #fff;
  transition: border-color .15s, box-shadow .15s; }
.fv__box:focus-within { border-color: var(--rv-blue); box-shadow: 0 0 0 4px rgba(22, 119, 255, .15); }
.fv__in { flex: 1; min-width: 0; min-height: 52px; padding: 0 12px; border: 0; outline: 0; background: transparent; font: 600 19px var(--font-h); color: var(--ink); }
.fv__in::placeholder { color: var(--ink-3); font-weight: 500; }
.fv__in:focus-visible { box-shadow: none; }
.fv__go { min-height: 52px; border-radius: 13px; }
.fv__sug { position: absolute; left: -2px; right: -2px; top: calc(100% + 6px); z-index: 30; list-style: none; margin: 0; padding: 6px; max-height: 340px; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); }
.fv__sug li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; cursor: pointer; }
.fv__sug li b { font: 600 16px var(--font-h); min-width: 0; }
.fv__sug li span { flex: none; color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.fv__sug li:hover, .fv__sug li[aria-selected="true"] { background: #EAF2FF; }
.fv__msg { margin-top: 8px; color: #B42318; font-size: 15px; }
.fv__msg:empty { display: none; }
.fv__msg--busy { color: var(--ink-2); }
.fv__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: var(--pill); background: #fff;
  font: 600 15px var(--font-h); color: var(--ink); transition: border-color .15s, background .15s; }
.vchip:hover { border-color: var(--rv-blue); background: #F5F9FF; }
.fv__alt { margin-top: 26px; }
.fv__panel { display: grid; gap: 14px; margin-top: 14px; padding: 20px; border-radius: 18px; background: var(--rv-cloud); }
.fv__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fv__kind { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fv__kind legend { font: 600 14px var(--font-h); margin-bottom: 6px; padding: 0; }
.fv__kind .radio { background: #fff; }
.fv__panel .btn { justify-self: start; }
.fv__vin { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.fv__vin summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; min-height: 44px;
  font: 600 15px var(--font-h); color: var(--rv-navy); text-decoration: underline; text-underline-offset: 3px; }
.fv__vin summary::-webkit-details-marker { display: none; }
.fv__vin summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.fv__vin[open] summary::after { transform: rotate(-135deg) translate(-2px, 0); }
.fv__vinf { display: flex; align-items: flex-end; gap: 10px; margin: 12px 0 10px; }
.fv__vinf .fld { flex: 1; min-width: 0; }
.fv__vinf input { text-transform: uppercase; letter-spacing: .04em; }

/* ---------- the rating ---------- */
.fres { margin-top: 18px; padding: 26px 28px; border-radius: 22px; color: #fff;
  background: radial-gradient(500px 220px at 100% 0, rgba(22, 119, 255, .45), transparent 70%), var(--rv-navy); }
.fres__k { font: 700 13px var(--font-h); letter-spacing: .08em; text-transform: uppercase; color: #9CC8FF; }
.fres__big { font: 700 clamp(46px, 8vw, 68px)/1 var(--font-h); letter-spacing: -.03em; margin-top: 8px; }
.fres__big span { font-size: .4em; font-weight: 600; color: rgba(255, 255, 255, .8); letter-spacing: 0; }
.fres__say { font-size: 18px; line-height: 1.45; margin-top: 14px; }
.fres__retry { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; min-height: 44px; padding: 0 14px; border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff; font: 600 14px var(--font-h); }
.fres__retry svg { width: 16px; height: 16px; }
.fres__retry:hover { background: rgba(255, 255, 255, .18); }
.fres__facts { display: grid; gap: 4px; margin: 14px 0 0; padding: 0 0 0 18px; color: rgba(255, 255, 255, .9); font-size: 15px; }
.fres__src { display: flex; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14px; color: rgba(255, 255, 255, .88); }
.fres__src svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #9CC8FF; }
.fres__src a { color: #fff; text-underline-offset: 2px; }
.fres__pay { margin-top: 16px; }
/* what the rating took as given ("Rated as the 4-door") and notes from what was typed, inside the navy box */
.fres .fnote { margin: 14px 0 0; }
.fnote--warn { border-left: 4px solid var(--rv-orange); }
.fnote__btn { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 2px; margin: -12px 0; vertical-align: middle; border: 0; background: none; color: inherit; font: inherit; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fres__pay .fld { max-width: 360px; }
.fres__pay .fq__acts { margin-top: 4px; }

/* ---------- where ---------- */
.fz { margin-top: 22px; max-width: 300px; }
.fz__zip input { min-height: 58px; font: 700 24px var(--font-h); letter-spacing: .1em; }

/* ---------- the matches ---------- */
.fr__sum { margin-top: 14px; font-size: 19px; line-height: 2.5; color: var(--ink-2); max-width: 1040px; }
.fpill { display: inline-block; min-height: 44px; max-width: 100%; vertical-align: middle; padding: 4px 10px; margin: 1px 0; line-height: 1.3; text-align: left; border: 0; border-radius: 8px; background: #EAF2FF; color: var(--rv-navy); font: 700 17px var(--font-h);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; text-decoration: underline dotted rgba(22, 119, 255, .7); text-underline-offset: 4px;
  transition: background .15s; }
.fpill:hover { background: #D5E6FF; }
.fr__hint { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.fr__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fr__tow { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: var(--rv-cloud);
  font-size: 15px; color: var(--ink-2); }
.fr__tow > svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--rv-blue); }
.fr__tow b { color: var(--ink); }
.fr__tow .fpill { font-size: 15px; padding: 4px 8px; }
.fr__notice { margin-top: 14px; padding: 12px 16px; border-radius: 12px; border-left: 4px solid var(--rv-orange); background: #FFF4E0; color: #5C3300; font-size: 15px; }
.fr__notice--over { border-left-color: #B42318; background: #FDECEA; color: #7A1A12; }
.fr__grid { margin-top: 26px; }
.fr__more { display: flex; justify-content: center; margin-top: 28px; }
.fr__more:has(> [hidden]) { display: none; }
.fr__over .btn--sm { min-height: 44px; }
.fr__over { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.fr__close { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.fr__close h3 { font-size: 24px; }
.fr__close .rgrid { margin-top: 20px; }
.fr__email { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 48px; padding: 28px 30px; border-radius: 22px;
  color: #fff; background: radial-gradient(500px 220px at 100% 0, rgba(22, 119, 255, .4), transparent 70%), var(--rv-navy); }
.fr__email h3 { font-size: 24px; }
.fr__email p { margin-top: 6px; color: rgba(255, 255, 255, .86); }
.fr__email .btn { flex: none; }

/* each card's check against the vehicle (inside .card__body, above the card's own link layer) */
.fit { position: relative; z-index: 2; margin-top: 6px; }
.fit__line { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-radius: 10px; font: 600 13px/1.35 var(--font-h); }
.fit__dot { flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: currentColor; }
.fit--ok .fit__line { background: #E6F5EB; color: #0B6631; }
.fit--tight .fit__line { background: #FFF2D9; color: #6E4300; }
.fit--over .fit__line { background: #FDECEA; color: #9E2417; }
.fit--info .fit__line { background: var(--rv-cloud); color: var(--ink-2); }
.fit__more summary { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; cursor: pointer; list-style: none; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.fit__more summary::-webkit-details-marker { display: none; }
.fit__more ul { display: grid; gap: 3px; margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .fq__opts--radii { grid-template-columns: repeat(2, minmax(0, 1fr)); }          /* four distance buttons side by side are 146px each on a phone turned on its side: "50 mi" broke in two */
  .fq__opts--radii .fa { padding: 12px 44px 12px 14px; }
  .fq__opts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fq__opts--3 > .fa:not(.fa--img):last-child:nth-child(odd) { grid-column: 1 / -1; }   /* "Either", "No preference": no orphan */
  .fr__email { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .fxh { padding: 26px 0 92px; }
  .fxh__title { font-size: 30px; margin-top: 12px; }
  .fxh__lede { font-size: 16px; margin-top: 10px; }
  .fxh__steps { display: none; }
  .fx__stage { margin-top: -68px; padding-bottom: 56px; }
  .fx__card { padding: 10px 16px 26px; border-radius: 20px; }
  .fx__bar { grid-template-columns: 84px minmax(0, 1fr) 84px; margin: 0 -16px 22px; padding: 0 12px 10px; gap: 4px 8px; }
  .fx__back, .fx__restart { font-size: 14px; padding: 0 8px; white-space: nowrap; }
  .fx__back { padding-left: 2px; }
  .fx__count { font-size: 12px; white-space: nowrap; }
  .fx__sec { display: none; }
  .fq__hint { font-size: 16px; }
  .fq__opts { margin-top: 18px; gap: 10px; }
  .fq__opts--2 { grid-template-columns: 1fr; }
  .fq__opts--kinds, .fq__opts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fq__opts--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fq__opts--radii { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fq__opts--4 .fa { padding: 12px 10px; min-height: 56px; justify-content: center; text-align: center; }
  .fq__opts--4 .fa__tick { display: none; }
  .fa { min-height: 60px; padding: 12px 44px 12px 14px; }
  .fa.fa--img { padding: 0; }
  .fa__txt b { font-size: 16px; }
  .fa--img .fa__txt { padding: 10px 11px 12px; }
  .fa--img .fa__txt b { font-size: 15px; }
  .fa--img .fa__txt span { font-size: 13px; }
  .fa--big .fa__txt b { font-size: 17px; }
  .fq__opts--3 .fa:not(.fa--img), .fq__opts--radii .fa { padding-right: 14px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .fq__opts--3 .fa:not(.fa--img) .fa__tick, .fq__opts--radii .fa .fa__tick { top: 12px; transform: scale(.5); }
  .fq__opts--3 .fa:not(.fa--img)[aria-pressed="true"] .fa__tick, .fq__opts--radii .fa[aria-pressed="true"] .fa__tick { transform: scale(1); }
  .fcmp { grid-template-columns: 1fr; }
  .fv__in { font-size: 17px; padding: 0 8px; }
  .fv__go { padding: 0 14px; }
  .fv__row { grid-template-columns: 1fr; }
  .fv__vinf { flex-direction: column; align-items: stretch; }
  .fres { padding: 22px 20px; }
  .fres__say { font-size: 17px; }
  .fr__sum { font-size: 17px; line-height: 2.75; }
  .fpill { font-size: 15px; padding: 4px 8px; }
  .fr__acts .btn { flex: 1 1 auto; }
  .fr__email { padding: 22px 20px; }
  .fr__email .btn { width: 100%; }
}
@media (max-width: 380px) {
  .fq__opts--kinds { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fa--img .fa__txt span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fx__screen.is-in, .fx__spin { animation: none; }
  .fa, .fa__tick, .fx__prog i, .fa__img img, .fx__card { transition: none; }
}
