/* RV Fix theme. Colour, type and spacing tokens first; change the look here. */
:root {
	--navy: #0f2b4c;
	--navy-2: #163a63;
	--ink: #1c2b3a;
	--muted: #5b6b7c;
	--line: #e3e9f0;
	--bg: #ffffff;
	--soft: #f4f7fb;
	--tint: #eaf2fc;
	--orange: #f26a21;
	--orange-2: #d9551a;
	--orange-soft: #fff1e8;
	--blue: #2563eb;
	--green: #16a34a;
	--purple: #7c3aed;
	--warn-bg: #fff7e6;
	--warn-line: #f5c46b;

	/* one colour per RV system (labels, icons, tabs) */
	--c-furnace: #e4572e;
	--c-water-heater: #0891b2;
	--c-fridge: #4f46e5;
	--c-electrical: #f59e0b;
	--c-generator: #059669;
	--c-ac: #2b7de9;
	--c-water-pump: #16a34a;
	--c-toilet: #7c3aed;
	--c-slide-outs: #0d9488;

	--font-head: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(15, 43, 76, .06), 0 8px 24px rgba(15, 43, 76, .08);
	--shadow-lg: 0 18px 50px rgba(15, 43, 76, .16);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--font-body); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--orange-2); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 700; }
h2 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
[role="list"] { list-style: none; padding: 0; margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.ico { width: 24px; height: 24px; flex: none; }
.ico--sm { width: 18px; height: 18px; }
.ico--xs { width: 15px; height: 15px; }

/* System colours */
.sys-c--furnace { color: var(--c-furnace); } .sys-c--water-heater { color: var(--c-water-heater); } .sys-c--fridge { color: var(--c-fridge); }
.sys-c--electrical { color: var(--c-electrical); } .sys-c--generator { color: var(--c-generator); } .sys-c--ac { color: var(--c-ac); }
.sys-c--water-pump { color: var(--c-water-pump); } .sys-c--toilet { color: var(--c-toilet); } .sys-c--slide-outs { color: var(--c-slide-outs); }
.c-orange { color: var(--orange); } .c-green { color: var(--green); } .c-blue { color: var(--blue); } .c-purple { color: var(--purple); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font-head); padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s; white-space: nowrap; }
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: var(--orange-2); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.icon-btn:hover { background: var(--soft); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-head__in { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font: 700 21px/1.1 var(--font-head); letter-spacing: -.02em; color: var(--navy); }
.brand__tag { font-size: 11px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 18px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list > li > a, .nav__more-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font: 500 15px/1 var(--font-head); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 8px; }
.nav__list > li > a:hover, .nav__more-btn:hover { color: var(--orange-2); }
.nav__list a.is-current, .nav__more-btn.is-current { color: var(--orange); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav__more { position: relative; }
.nav__sub { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: none; }
.nav__more.is-open .nav__sub { display: block; }
@media (hover: hover) and (min-width: 1025px) { .nav__more:not(.nav__mega):hover .nav__sub, .nav__more:not(.nav__mega):focus-within .nav__sub { display: block; } .nav__more:not(.nav__mega)::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } }
.nav__sub a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.nav__sub a:hover { background: var(--soft); color: var(--navy); }
.nav__sub-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--soft); }
.nav__tools { display: flex; align-items: center; gap: 8px; }
.nav__cta { padding: 12px 20px; }
.nav-toggle { display: none; border: 0; background: none; color: var(--navy); width: 44px; height: 44px; place-items: center; cursor: pointer; }
.nav-toggle__close { display: none; }
.head-search { border-top: 1px solid var(--line); padding: 14px 0; background: #fff; }

@media (max-width: 1024px) {
	.nav-toggle { display: grid; }
	.nav { position: fixed; inset: 74px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .2s, visibility .2s; }
	.nav.is-open { transform: none; visibility: visible; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
	.nav__list { flex-direction: column; align-items: stretch; }
	.nav__list > li > a, .nav__more-btn { width: 100%; padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--line); justify-content: space-between; }
	.nav__list a.is-current, .nav__more-btn.is-current { box-shadow: none; }
	.nav__sub { position: static; box-shadow: none; border: 0; padding: 4px 0 8px; min-width: 0; }
	.nav__tools { margin-top: 18px; justify-content: space-between; }
	.nav__cta { flex: 1; }
}

/* Search box */
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow); max-width: 640px; }
.search__ico { color: var(--muted); width: 20px; height: 20px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 16px var(--font-body); color: var(--ink); background: transparent; padding: 10px 4px; }
.search .btn { padding: 12px 26px; }
.search:focus-within { border-color: var(--orange); }
.search--head { max-width: none; box-shadow: none; }

/* Eyebrows, section heads */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; }
.eyebrow--line::after { content: ""; width: 44px; height: 2px; background: currentColor; }
.sec-head { margin-bottom: 26px; }
.sec-head p:not(.eyebrow) { color: var(--muted); margin: 0; }
.sec-head--row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sec-head--row .eyebrow, .sec-head--row h2 { margin: 0; }
.sec-head__link { font: 600 14px var(--font-head); color: var(--orange); text-decoration: none; }
.band { padding: clamp(44px, 6vw, 76px) 0; }
.band--soft { background: var(--soft); }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, #e9f2fb 0%, #f7fafd 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260' preserveAspectRatio='none'%3E%3Cpath d='M0 260V150l120-70 90 50 140-110 130 90 80-40 150 100 120-80 140 90 110-60 200 120v60Z' fill='%23d6e5f4'/%3E%3Cpath d='M0 260v-60l160-60 130 50 170-90 150 80 140-50 180 70 120-40 150 60v40Z' fill='%23c4d9ee'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; pointer-events: none; }
.hero--photo { background: var(--navy) var(--hero-img) center/cover no-repeat; }
.hero--photo::after { inset: 0; height: auto; background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,.35) 58%, rgba(255,255,255,0) 75%); }
.hero__in { position: relative; z-index: 1; padding-top: clamp(32px, 4.5vw, 60px); padding-bottom: clamp(78px, 8vw, 104px); }
.hero__title { max-width: 21ch; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; margin-bottom: 14px; }
.hero__lede { max-width: 52ch; font-size: 17.5px; color: #33465a; margin-bottom: 22px; }
.hero .eyebrow { margin-bottom: 10px; }
.search--hero { margin-bottom: 18px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.popular__label { font-weight: 600; color: var(--navy); font-size: 15px; margin-right: 4px; }
.tag { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid var(--line); color: var(--ink); font-size: 14px; text-decoration: none; }
.tag:hover { border-color: var(--orange); color: var(--orange-2); }
@media (max-width: 760px) {
	.hero--photo::after { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 60%, rgba(255,255,255,.6) 100%); }
	.search .btn { padding: 12px 16px; }
}

/* Feature strip (overlaps the hero) */
.features { position: relative; z-index: 2; margin-top: -54px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.features li { display: flex; align-items: center; gap: 14px; padding: 22px 22px; }
.features li + li { border-left: 1px solid var(--line); }
.features__ico .ico { width: 34px; height: 34px; }
.features strong { display: block; font: 600 15px/1.3 var(--font-head); color: var(--navy); }
.features span:not(.features__ico) { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } .features li:nth-child(3) { border-left: 0; } .features li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .features li { padding: 16px 14px; gap: 10px; } .features__ico .ico { width: 28px; height: 28px; } }

/* Category cards */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
	.cats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.cat { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 10px; padding: 8px; }
	.cat__media { grid-row: 1 / span 2; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
	.cat__media .ph__ico { width: 26px; height: 26px; }
	.cat__name { padding: 0; font-size: 14px; align-self: end; }
	.cat__sub { padding: 0; font-size: 12px; align-self: start; }
}
.cat--all .ph { background: var(--navy); color: #fff; }
.cat { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat__media { display: block; aspect-ratio: 3 / 2; background: var(--soft); }
.cat__media img, .cat__media .ph { width: 100%; height: 100%; object-fit: cover; }
.cat__name { display: block; padding: 12px 14px 2px; font: 600 15px/1.3 var(--font-head); color: var(--navy); }
.cat__sub { display: block; padding: 0 14px 14px; font-size: 13px; color: var(--orange); font-weight: 600; }

/* Photo placeholders: tinted panel + icon until real photos exist */
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--tint); }
.ph__ico { width: 46px; height: 46px; opacity: .9; }
.sys-bg--furnace { background: #fdece6; color: var(--c-furnace); } .sys-bg--water-heater { background: #e4f5f9; color: var(--c-water-heater); }
.sys-bg--fridge { background: #ecebfd; color: var(--c-fridge); } .sys-bg--electrical { background: #fef4dd; color: #d97706; }
.sys-bg--generator { background: #e2f6ef; color: var(--c-generator); } .sys-bg--ac { background: #e6f0fd; color: var(--c-ac); }
.sys-bg--water-pump { background: #e4f6ea; color: var(--c-water-pump); } .sys-bg--toilet { background: #f1eafd; color: var(--c-toilet); }
.sys-bg--slide-outs { background: #e0f4f2; color: var(--c-slide-outs); } .sys-bg--promo { background: var(--tint); color: var(--navy); }

/* Guide cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card__media { display: block; aspect-ratio: 16 / 9; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__sys { display: inline-flex; align-items: center; gap: 5px; font: 600 12.5px/1 var(--font-head); text-decoration: none; margin: 0 0 8px; }
.card__title { font-size: 17px; line-height: 1.35; margin: 0 0 12px; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a:hover { color: var(--orange-2); }
.card__meta { display: flex; gap: 14px; margin: auto 0 0; font-size: 13px; color: var(--muted); }
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }

/* Problem finder + diagram */
.finder-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.finder h2 { margin-bottom: 8px; }
.finder__intro { color: var(--muted); }
.finder__step { display: flex; align-items: center; gap: 10px; font: 600 15px var(--font-head); color: var(--navy); margin: 22px 0 12px; }
.finder__num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; }
.finder__systems, .chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-on span { color: #fff; }
.finder__list { display: grid; gap: 8px; }
.finder__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); font-weight: 500; text-decoration: none; }
.finder__list a:hover { border-color: var(--orange); color: var(--orange-2); }
.finder__list .is-hub { border-style: dashed; color: var(--muted); }
@media (max-width: 900px) { .finder-wrap { grid-template-columns: 1fr; } }

.rv { position: relative; margin: 0; color: var(--navy); }
.rv__svg { width: 100%; height: auto; }
.rv__svg .rv__body { fill: #fff; }
.rv__svg .rv__wheel { fill: var(--soft); }
.rv__ground { color: var(--muted); }
.rv__spot { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; display: grid; place-items: center; text-decoration: none; }
.rv__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(242,106,33,.55); animation: rvPulse 2.4s infinite; }
.rv__spot.is-on .rv__dot, .rv__spot:hover .rv__dot { background: var(--navy); animation: none; transform: scale(1.15); }
.rv__tip { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--navy); color: #fff; font: 600 12.5px/1 var(--font-head); padding: 6px 9px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.rv__spot:hover .rv__tip, .rv__spot:focus-visible .rv__tip, .rv__spot.is-on .rv__tip { opacity: 1; }
.rv__cap { text-align: center; color: var(--muted); font-size: 14px; margin-top: 6px; }
@keyframes rvPulse { 0% { box-shadow: 0 0 0 0 rgba(242,106,33,.5); } 70% { box-shadow: 0 0 0 12px rgba(242,106,33,0); } 100% { box-shadow: 0 0 0 0 rgba(242,106,33,0); } }
@media (prefers-reduced-motion: reduce) { .rv__dot { animation: none; } * { scroll-behavior: auto !important; } }

/* Promo + resources */
.duo { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.promo { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--tint); border-radius: var(--radius); overflow: hidden; }
.promo__media { min-height: 220px; }
.promo__media img, .promo__media .ph { width: 100%; height: 100%; object-fit: cover; }
.promo__body { padding: clamp(22px, 3vw, 36px); align-self: center; }
.promo__body p { color: #3b4d60; }
.resources { background: var(--tint); border-radius: var(--radius); padding: 24px; }
.resources h3 { margin-bottom: 12px; }
.resources a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--ink); text-decoration: none; font-size: 15px; border-bottom: 1px solid rgba(15,43,76,.08); }
.resources li:last-child a { border-bottom: 0; }
.resources a span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--blue); }
.resources a:hover { color: var(--orange-2); }
@media (max-width: 900px) { .duo, .promo { grid-template-columns: 1fr; } }

/* Page banner (hubs, guides, about, legal) */
.banner { position: relative; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; overflow: hidden; }
.banner--photo { background: var(--navy) var(--banner-img) center/cover no-repeat; }
.banner--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,50,.82) 0%, rgba(10,28,50,.55) 55%, rgba(10,28,50,.15) 100%); }
.banner__in { position: relative; padding-top: 26px; padding-bottom: clamp(40px, 6vw, 68px); }
.banner h1 { color: #fff; margin: 0 0 8px; font-size: clamp(30px, 4.2vw, 46px); }
.banner__lede { max-width: 60ch; color: rgba(255,255,255,.88); margin: 0; font-size: 17px; }
.banner__row { display: flex; gap: 18px; align-items: flex-start; margin-top: 18px; }
.banner__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.12); color: #fff; flex: none; }
.banner__ico .ico { width: 32px; height: 32px; }
.banner .search { margin-top: 22px; }
.banner .crumbs, .banner .crumbs a { color: rgba(255,255,255,.75); }
.banner .crumbs li[aria-current] { color: #fff; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--orange-2); }
.crumbs li[aria-current] { color: var(--navy); font-weight: 600; }

/* Page layout shared by hubs, plain pages and the finder: same wrap and vertical rhythm as the homepage bands,
   "On this page" column on the left (like guides), content left-aligned with the banner title. */
.layout { display: grid; grid-template-columns: 250px minmax(0, 800px); gap: 48px; padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 76px); }
.layout--solo { grid-template-columns: minmax(0, 860px); }
.layout__main { min-width: 0; }
.layout__main > section + .prose, .hub__problems + .prose { margin-top: 40px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; gap: 20px; } }
/* Hub */
.hub__problems h2 { margin-bottom: 16px; }
.symptoms { display: grid; gap: 10px; }
.symptoms a { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.symptoms a:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.symptoms__t { font: 600 16.5px/1.35 var(--font-head); color: var(--navy); }
.symptoms__d { grid-column: 1; font-size: 14.5px; color: var(--muted); }
.symptoms__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--orange); }

/* Guides page tabs */
.guides { padding-top: 0; padding-bottom: 64px; }
.tabs { position: relative; z-index: 2; margin: -34px 0 30px; display: grid; grid-template-columns: repeat(10, minmax(84px, 1fr)); gap: 6px; padding: 8px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow-x: auto; }
.tab { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border: 0; border-radius: 10px; background: transparent; font: 500 13px/1.2 var(--font-head); color: var(--ink); cursor: pointer; text-align: center; }
.tab:hover { background: var(--soft); }
.tab.is-on { background: var(--blue); color: #fff; }
.tab.is-on span { color: #fff; }
@media (max-width: 900px) { .tabs { display: flex; } .tab { min-width: 92px; } }

/* Article */
.article-top { padding-top: 22px; }
.article-hero { margin: 18px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1200 / 520; background: var(--soft); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-head { max-width: 820px; margin: 26px 0 8px; }
.article-head h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.article-head__lede { font-size: 18.5px; color: #3b4d60; }
.article-head__meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--muted); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 48px; padding-top: 30px; padding-bottom: 64px; }
.article__main { min-width: 0; }
.toc { position: sticky; top: 96px; align-self: start; background: var(--soft); border-radius: var(--radius); padding: 18px 18px 14px; font-size: 14.5px; }
.toc summary { font: 600 15px var(--font-head); color: var(--navy); cursor: pointer; list-style: none; margin-bottom: 8px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 7px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover, .toc a.is-on { color: var(--orange-2); font-weight: 600; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; gap: 20px; } .toc { position: static; } }

.answer { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.answer__qa { padding: 20px 22px; background: #f2f9f4; }
.answer__qa p:last-child { margin: 0; }
.answer__h { display: flex; align-items: center; gap: 8px; font: 600 15px var(--font-head); color: var(--green); margin-bottom: 8px; }
.fixcard { margin: 0; padding: 16px 20px; display: grid; gap: 10px; align-content: center; background: #fff; }
.fixcard div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; font-size: 14.5px; }
.fixcard dt { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.fixcard dd { margin: 0; color: var(--navy); font-weight: 600; }
@media (max-width: 700px) { .answer { grid-template-columns: 1fr; } .fixcard { border-top: 1px solid var(--line); } }

.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); margin: 0 0 24px; font-size: 15.5px; }
.note > .ico { flex: none; margin-top: 2px; }
.note--warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: #6b4300; }
.note--warn .ico { color: #d97706; }
.note--tip { background: var(--tint); border: 1px solid #cfe0f5; }

/* Readable content */
.prose { font-size: 17.5px; }
.prose > * + h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose li + li { margin-top: .35em; }
.prose img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.prose blockquote { margin: 0 0 1.2em; padding: 4px 0 4px 18px; border-left: 4px solid var(--orange); color: #3b4d60; }
.article .prose { counter-reset: sec; }
.article .prose > h2::before { counter-increment: sec; content: counter(sec) ". "; color: var(--orange); }

/* Content blocks writers can use in posts: ul.checks, ol.steps, div.note--warn / note--tip */
.prose ul.checks { list-style: none; padding: 16px 18px; background: var(--tint); border-radius: var(--radius-sm); display: grid; gap: 8px; }
.prose ul.checks li { position: relative; padding-left: 30px; margin: 0; }
.prose ul.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.prose ol.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.prose ol.steps > li { counter-increment: step; position: relative; padding: 16px 18px 16px 62px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin: 0; }
.prose ol.steps > li::before { content: counter(step); position: absolute; left: 16px; top: 15px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 600 15px var(--font-head); }
.prose ol.steps > li > strong:first-child { display: block; color: var(--navy); font-family: var(--font-head); margin-bottom: 4px; }

.sources { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.sources h2 { font-size: 20px; }
.author { display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 20px; background: var(--soft); border-radius: var(--radius); }
.author__img { border-radius: 50%; flex: none; }
.author__name { font: 600 16px var(--font-head); color: var(--navy); margin-bottom: 4px; }
.author__bio { font-size: 15px; color: #3b4d60; margin-bottom: 6px; }
.author__link { font-size: 14px; font-weight: 600; }

.page-body { padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 76px); }

/* Footer: 4 calm columns over a dark night photo (photo shows on the right only) */
.site-foot { position: relative; background: #0b1c30; color: rgba(255,255,255,.75); font-size: 15px; overflow: hidden; isolation: isolate; }
.site-foot::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--foot-img, none) right center / auto 100% no-repeat; opacity: .55; }
.site-foot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b1c30 0%, #0b1c30 50%, rgba(11,28,48,.6) 100%); }
.site-foot a { color: rgba(255,255,255,.8); text-decoration: none; transition: color .15s; }
.site-foot a:hover { color: #fff; }
.site-foot__top { display: grid; grid-template-columns: 1.2fr 1.3fr .9fr 1.4fr; gap: 48px; padding-top: 60px; padding-bottom: 52px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot__h { font: 600 16px var(--font-head); color: #fff; margin: 0 0 18px; }
.site-foot__col--sys ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.foot-logo img { width: 48px; height: 48px; }
.foot-logo__name { font: 700 24px/1 var(--font-head); color: #fff; letter-spacing: -.02em; }
.accent { color: var(--orange); }
.site-foot__brand p { max-width: 30ch; line-height: 1.6; margin: 0; }
.social { display: flex !important; gap: 10px !important; margin-top: 18px !important; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--orange); }
.news { align-self: start; }
.news__h { display: flex; align-items: center; gap: 8px; font: 600 16px var(--font-head); color: #fff; margin: 0 0 8px; }
.news__h .ico { color: var(--orange); width: 20px; height: 20px; }
.news__d { font-size: 14.5px; margin: 0 0 14px; }
.news__form { display: flex; background: #fff; border-radius: 999px; padding: 4px; gap: 4px; }
.news__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 9px 14px; font: 15px var(--font-body); color: var(--ink); }
.news__form .btn { padding: 10px 18px; font-size: 14px; }
.news__note { font-size: 13px; color: rgba(255,255,255,.55); margin: 10px 0 0; }
.news__ok { display: flex; align-items: center; gap: 8px; color: #8be3a5; font-weight: 600; margin: 0; }
.news__err { color: #ffb4a0; font-size: 13.5px; margin: 8px 0 0; }
.site-foot__base { border-top: 1px solid rgba(255,255,255,.1); }
.site-foot__base-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 20px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.site-foot__base p { margin: 0; }
.site-foot__safety { display: inline-flex; align-items: center; gap: 8px; color: #ffcfa8; }
.site-foot__legal { display: flex !important; gap: 0 !important; }
.site-foot__legal li + li::before { content: "·"; margin: 0 10px; color: rgba(255,255,255,.35); }
@media (max-width: 1100px) { .site-foot__top { grid-template-columns: 1fr 1fr; gap: 36px 40px; } }
@media (max-width: 600px) { .site-foot__top { grid-template-columns: 1fr; padding-top: 44px; } .site-foot::before { opacity: .25; } }

/* Pagination */
.nav-links { display: flex; gap: 6px; margin-top: 30px; }
.page-numbers { padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.band--tight { padding: clamp(28px, 4vw, 48px) 0; }

/* Contact form */
.form { display: grid; gap: 16px; margin-top: 8px; padding: clamp(18px, 3vw, 28px); background: var(--soft); border-radius: var(--radius); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font: 600 14.5px var(--font-head); color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; font: 16px var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.form .btn { justify-self: start; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.note p:last-child { margin: 0; }

/* Mega menu (desktop: full-width panel under the header; mobile: plain list) */
.site-head { position: sticky; }
.site-head__in { position: relative; }
.nav__mega { position: static; }
.nav__mega > .mega { left: 0; right: 0; top: 100%; width: auto; min-width: 0; margin: 0 auto; max-width: var(--wrap); padding: 0; border-radius: 0 0 var(--radius) var(--radius); display: none; grid-template-columns: 1fr 300px; overflow: hidden; }
.nav__mega.is-open > .mega { display: grid; }
@media (min-width: 1025px) {
	.nav__mega:focus-within > .mega { display: grid; }
	.nav__mega::after { display: none; } /* no full-width hover strip under the header */
	/* taller hit area so the pointer can travel from the button to the panel without leaving it */
	.nav__mega > .nav__more-btn { padding-top: 27px; padding-bottom: 27px; margin: -17px 0; }
	.nav__mega > .nav__more-btn.is-current { box-shadow: none; color: var(--orange); }
}
.mega__in { padding: 22px 24px 24px; }
.mega__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mega__title { margin: 0; font: 600 13px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.mega__all { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--font-head); color: var(--navy) !important; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 14px; }
.nav__sub .mega__sys { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 10px; }
.nav__sub .mega__sys:hover { background: var(--soft); }
.mega__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; flex: none; }
.mega__name { display: block; font: 600 15px/1.25 var(--font-head); color: var(--navy); }
.mega__desc { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.mega__links { list-style: none; margin: -2px 0 6px 62px; padding: 0; display: grid; gap: 2px; }
.nav__sub .mega__links a { padding: 2px 0; font-size: 13.5px; color: var(--blue); background: none; }
.nav__sub .mega__links a:hover { color: var(--orange-2); background: none; }
.mega__card { background: var(--tint); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.mega__img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; }
.mega__card-t { margin: 4px 0 0; font: 700 18px var(--font-head); color: var(--navy); }
.mega__card-d { margin: 0; font-size: 14px; color: #3b4d60; }
.mega__card .btn { margin-top: auto; color: #fff; }
@media (max-width: 1024px) {
	.nav__mega > .mega { grid-template-columns: 1fr; border-radius: 0; box-shadow: none; border: 0; }
	.mega__in { padding: 4px 0 8px; }
	.mega__head, .mega__card, .mega__desc, .mega__links { display: none; }
	.mega__grid { grid-template-columns: 1fr; gap: 0; }
	.nav__sub .mega__sys { align-items: center; padding: 8px 4px; }
	.mega__ico { width: 32px; height: 32px; }
}

/* ---------- Motion ---------- */
/* Hero and banner photos: slow settle-in zoom (photo lives in ::before so the overlay stays still) */
.hero--photo { background: var(--navy); }
.hero--photo::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center/cover no-repeat; animation: rvKen 16s ease-out both; }
.banner--photo { background: var(--navy); }
.banner--photo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--banner-img) center/cover no-repeat; animation: rvKen 18s ease-out both; }
.banner--photo::before { z-index: 1; }
.banner__in { z-index: 2; }
@keyframes rvKen { from { transform: scale(1.09); } to { transform: scale(1); } }

/* Image zoom on hover */
.card__media, .cat__media { overflow: hidden; }
.card__media img, .cat__media img, .cat__media .ph, .card__media .ph { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img, .card:hover .card__media .ph, .cat:hover .cat__media img, .cat:hover .cat__media .ph { transform: scale(1.07); }
.features li .ico, .foot-features .ico { transition: transform .3s; }
.features li:hover .ico, .foot-features li:hover .ico { transform: translateY(-3px) rotate(-6deg); }

/* Scroll reveal (only when JS has marked the page; nothing hides without JS) */
.js-motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }

/* Mega menu entrance */
@keyframes rvDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1025px) { .nav__sub { animation: rvDrop .22s ease-out; } }

/* Finder results stagger in */
.finder__list li { animation: rvDrop .35s ease-out both; }
.finder__list li:nth-child(2) { animation-delay: .05s; } .finder__list li:nth-child(3) { animation-delay: .1s; }
.finder__list li:nth-child(4) { animation-delay: .15s; } .finder__list li:nth-child(5) { animation-delay: .2s; } .finder__list li:nth-child(n+6) { animation-delay: .25s; }

/* How-it-works steps light up one by one with a connecting line */
.prose ol.steps > li { transition: border-color .4s, box-shadow .4s; }
.prose ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 50px; bottom: -14px; width: 2px; background: var(--line); transform-origin: top; }
.js-motion .prose ol.steps > li::before { background: #c9d3df; transition: background .4s, transform .4s; }
.js-motion .prose ol.steps > li.is-in::before { background: var(--blue); transform: scale(1.08); }
.js-motion .prose ol.steps > li:not(:last-child)::after { transform: scaleY(0); transition: transform .6s .2s; background: var(--blue); }
.js-motion .prose ol.steps > li.is-in:not(:last-child)::after { transform: scaleY(1); }
.js-motion .prose ol.steps > li.is-in { border-color: #cfe0f5; box-shadow: 0 6px 18px rgba(37,99,235,.06); }

/* Interactive checklist on hubs and guides: tap to tick, progress remembered on this device */
.checklist__bar { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.checklist__track { flex: 1; height: 6px; border-radius: 99px; background: #dfe7f1; overflow: hidden; }
.checklist__fill { display: block; height: 100%; width: 0; background: var(--green); border-radius: 99px; transition: width .4s; }
.checklist__reset { border: 0; background: none; color: var(--blue); font-size: 13.5px; cursor: pointer; padding: 0; }
.prose ul.checks.is-interactive li { cursor: pointer; border-radius: 8px; padding-top: 4px; padding-bottom: 4px; transition: background .2s, color .2s; user-select: none; }
.prose ul.checks.is-interactive li:hover { background: rgba(255,255,255,.7); }
.prose ul.checks.is-interactive li::before { background: #fff; border: 2px solid #9fb4cc; background-image: none; top: .45em; transition: background-color .2s, border-color .2s, transform .2s; }
.prose ul.checks.is-interactive li.is-done { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(91,107,124,.5); }
.prose ul.checks.is-interactive li.is-done::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; transform: scale(1.12); }
.checklist__hint { font-size: 13px; color: var(--muted); margin: -6px 0 18px; }

/* Hub photo inside content */
.hub-photo { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; position: relative; }
.hub-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; transition: transform 8s ease-out; }
.hub-photo:hover img { transform: scale(1.04); }
.hub-photo figcaption { position: absolute; left: 14px; bottom: 12px; background: rgba(11,28,48,.75); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
	.hero--photo::before, .banner--photo::after, .nav__sub, .finder__list li { animation: none !important; }
	.js-motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	.card__media img, .cat__media img { transition: none; }
}

/* ---------- Error code lookup ---------- */
.codes-tool { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.codes-tool__form h2 { margin-bottom: 8px; }
.select { position: relative; }
.select select { width: 100%; appearance: none; -webkit-appearance: none; font: 15.5px var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 44px 13px 14px; cursor: pointer; }
.select select:focus, .codes-tool__input input:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.select__chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.codes-tool__input input { width: 100%; font: 600 20px var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; }
.codes-tool__input input::placeholder { font-weight: 500; letter-spacing: 0; text-transform: none; color: #9aa8b6; font-size: 16px; }
.codes-tool__input input:disabled { background: #eef2f7; cursor: not-allowed; }
.codes-tool__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.code-pick { font: 600 13px var(--font-head); color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.code-pick:hover { border-color: var(--navy); }
.code-pick.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* The appliance display that mirrors what you type */
.lcd { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(160deg, #2a3442, #161d27); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--shadow); margin-bottom: 16px; }
.lcd__label { font: 600 11px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #9fb0c3; }
.lcd__screen { display: grid; place-items: center; height: 74px; border-radius: 10px; background: linear-gradient(180deg, #a9c79a, #8fb37f); box-shadow: inset 0 2px 6px rgba(0,0,0,.35); overflow: hidden; }
.lcd__text { font: 700 38px/1 "Courier New", ui-monospace, monospace; letter-spacing: .12em; color: rgba(22,38,18,.25); text-shadow: 0 1px 0 rgba(255,255,255,.2); }
.lcd.is-on .lcd__text { color: #1d2f17; animation: lcdBlink 1.2s steps(2, start) infinite; }
.lcd__leds { display: grid; gap: 6px; }
.lcd__leds i { width: 9px; height: 9px; border-radius: 50%; background: #3b4654; }
.lcd.is-on .lcd__leds i:first-child { background: #f26a21; box-shadow: 0 0 8px #f26a21; animation: lcdBlink 1.2s steps(2, start) infinite; }
.lcd.is-on .lcd__leds i:nth-child(2) { background: #45d07a; box-shadow: 0 0 6px #45d07a; }
@keyframes lcdBlink { to { visibility: hidden; } }

.code-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; min-height: 160px; box-shadow: var(--shadow); }
.code-card.is-pop { animation: rvDrop .35s ease-out; }
.code-card__empty { color: var(--muted); margin: 0; }
.code-card__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.code-card__brand { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.code-card__meaning { margin: 0; font: 600 17px/1.4 var(--font-head); color: var(--navy); }
.code-card__h { margin: 14px 0 6px; font: 600 14px var(--font-head); color: var(--orange); text-transform: uppercase; letter-spacing: .08em; }
.code-card ul, .code-card ol { margin: 0 0 6px; padding-left: 1.2em; font-size: 15.5px; }
.code-card li + li { margin-top: 4px; }
.code-card .note { margin: 14px 0 0; font-size: 14.5px; }
.code-card__src { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.code-card__miss p { margin: 0 0 6px; }
.code-chip { display: inline-block; min-width: 42px; text-align: center; font: 700 14px var(--font-head); letter-spacing: .04em; color: #fff; background: var(--navy); border-radius: 7px; padding: 5px 9px; white-space: nowrap; }
.code-chip--lg { font-size: 20px; padding: 9px 14px; border-radius: 10px; background: var(--orange); }

.codes-set { margin-top: 44px; }
.codes-set:first-of-type { margin-top: 32px; }
.codes-set__shown { font-size: 15px; color: #3b4d60; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.codes-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.codes-table th, .codes-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.codes-table th { background: var(--soft); font: 600 14px var(--font-head); color: var(--navy); }
.codes-table tr:last-child td { border-bottom: 0; }
.codes-table td:first-child { width: 90px; }
.codes-set__src { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .codes-tool { grid-template-columns: 1fr; } .lcd__text { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .lcd.is-on .lcd__text, .lcd.is-on .lcd__leds i:first-child { animation: none; } }
.codes-set__models { font-size: 14px; color: var(--muted); margin: -4px 0 10px; }
.codes-group { margin-top: 48px; }
.codes-group:first-of-type { margin-top: 28px; }
.codes-group > h2 { padding-bottom: 10px; border-bottom: 3px solid var(--orange); display: inline-block; }
.codes-group__brands { font-size: 14px; line-height: 1.9; color: var(--muted); }
.codes-group__brands a { color: var(--blue); text-decoration: none; white-space: nowrap; }
.codes-group__brands a:hover { color: var(--orange-2); }
.codes-set h3 { font-size: 21px; margin: 0 0 6px; }
.codes-table .code-chip { white-space: normal; max-width: 220px; line-height: 1.3; }
.codes-table td:first-child { width: auto; max-width: 240px; }
.hub__problems + .hub-photo { margin-top: 28px; }

/* ---------- Article v2: split hero + right sidebar ---------- */
.art-hero { background: linear-gradient(180deg, #f2f7fc 0%, #fff 100%); padding: 22px 0 clamp(28px, 4vw, 44px); }
.art-hero__grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: 20px; }
.art-hero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; margin: 0 0 14px; }
.art-hero .eyebrow { text-decoration: none; }
.art-hero__lede { font-size: 18px; color: #3b4d60; margin: 0; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.art-meta span { display: inline-flex; align-items: center; gap: 6px; }
.art-meta__by { font-weight: 600; color: var(--navy); gap: 8px !important; }
.art-meta__by img { width: 34px; height: 34px; border-radius: 50%; }
.art-hero__img { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); box-shadow: var(--shadow-lg); }
.art-hero__img img { width: 100%; height: 100%; object-fit: cover; animation: rvKen 16s ease-out both; }
@media (max-width: 900px) { .art-hero__grid { grid-template-columns: 1fr; } }

.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "main side"; gap: 48px; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(44px, 6vw, 76px); }
.art-main { grid-area: main; min-width: 0; }
.art-side { grid-area: side; align-self: start; position: sticky; top: 92px; display: grid; gap: 20px; }
.only-narrow { display: none; }
@media (max-width: 1024px) {
	.art-layout { grid-template-columns: 1fr; grid-template-areas: "side" "main"; gap: 20px; }
	.art-side { position: static; }
	.only-wide { display: none; }
	.only-narrow { display: block; margin-top: 28px; }
}

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.side-card__h { font: 700 17px var(--font-head); color: var(--navy); margin: 0 0 12px; }
.side-card__ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--orange-soft); color: var(--orange); margin-right: 10px; }
.toc--card { position: static; padding: 18px; background: #fff; }
.toc--card summary { display: flex; align-items: center; font: 700 17px var(--font-head); margin-bottom: 10px; }
.toc--card ol { list-style: none; padding: 0; counter-reset: t; gap: 2px; }
.toc--card li a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 14.5px; line-height: 1.35; font-weight: 400; transition: background .15s; }
.toc--card li a::before { counter-increment: t; content: counter(t) "."; min-width: 18px; color: var(--muted); }
.toc--card li a:hover { background: var(--soft); color: var(--navy); }
.toc--card li a.is-on { background: var(--orange-soft); color: var(--navy); font-weight: 600; }
.toc--card li a.is-on::before { color: var(--orange); }

.related__list { display: grid; gap: 12px; }
.related__item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; text-decoration: none; }
.related__img { width: 76px; height: 58px; border-radius: 9px; overflow: hidden; background: var(--soft); }
.related__img img, .related__img .ph { width: 100%; height: 100%; object-fit: cover; }
.related__img .ph__ico { width: 24px; height: 24px; }
.related__t { display: block; font: 600 14px/1.35 var(--font-head); color: var(--navy); }
.related__d { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.related__go { color: var(--orange); transition: transform .2s; }
.related__item:hover .related__t { color: var(--orange-2); }
.related__item:hover .related__go { transform: translateX(3px); }

/* Numbered section headings with an orange rule */
.prose--article { counter-reset: sec; }
.prose--article > h2::before { counter-increment: sec; content: counter(sec) ". "; color: var(--navy); }
.prose--article > h2::after { content: ""; display: inline-block; width: 44px; height: 3px; margin-left: 14px; vertical-align: middle; border-radius: 2px; background: var(--orange); }

/* Possible-causes cards: <ul class="causes"><li><strong>Name</strong> one line</li></ul> */
.prose ul.causes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.prose ul.causes li { position: relative; margin: 0; padding: 16px 16px 16px 66px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14.5px; line-height: 1.45; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.prose ul.causes li:hover { border-color: #f7c4a5; box-shadow: var(--shadow); }
.prose ul.causes li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 38px; height: 38px; border-radius: 10px; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f26a21' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 5.5a4 4 0 0 0 4.9 5L12 17.9a2.1 2.1 0 1 1-3-3l7.4-7.4a4 4 0 0 0-1.9-2Z'/%3E%3C/svg%3E") center/20px no-repeat; }
.prose ul.causes li > strong:first-child { display: block; font: 600 15.5px var(--font-head); color: var(--navy); margin-bottom: 2px; }

/* Steps: orange timeline */
.prose ol.steps > li::before { background: var(--orange); }
.js-motion .prose ol.steps > li.is-in::before { background: var(--orange); }
.js-motion .prose ol.steps > li:not(:last-child)::after { background: var(--orange); }
.js-motion .prose ol.steps > li.is-in { border-color: #f6d3bd; box-shadow: 0 6px 18px rgba(242,106,33,.07); }

/* Checklists: orange rounded boxes */
.prose ul.checks { background: #f6f9fd; border: 1px solid var(--line); }
.prose ul.checks li::before { border-radius: 5px; background-color: var(--orange); }
.prose ul.checks.is-interactive li::before { border-radius: 5px; border-color: #f2b48f; }
.prose ul.checks.is-interactive li.is-done::before { border-color: var(--orange); background-color: var(--orange); }
.checklist__fill { background: var(--orange); }

/* Hero photo: keep the motorhome in view (owner 2026-10-26). Photo sits low-right, white fade only behind the text. */
.hero--photo::before { background-position: 62% 78%; animation-name: rvKenSoft; }
.hero--photo::after { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 30%, rgba(255,255,255,.55) 44%, rgba(255,255,255,0) 58%); }
@keyframes rvKenSoft { from { transform: scale(1.04); } to { transform: scale(1); } }
@media (max-width: 760px) {
	.hero--photo::before { background-position: 78% bottom; background-size: auto 62%; background-repeat: no-repeat; background-color: #eaf2fb; }
	.hero--photo::after { background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.15) 78%, rgba(255,255,255,0) 100%); }
	.hero__in { padding-bottom: 200px; }
}
.art-hero h1 { font-size: clamp(28px, 3.1vw, 40px); }

/* Homepage quick answers (AEO): question + short answer + link */
.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.qa { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 18px 66px; transition: border-color .2s, box-shadow .2s; }
.qa:hover { border-color: #f6d3bd; box-shadow: var(--shadow); }
.qa::before { content: "?"; position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--orange-soft); color: var(--orange); font: 700 17px var(--font-head); }
.qa h3 { font-size: 17.5px; margin: 0 0 8px; }
.qa p { font-size: 15.5px; color: #3b4d60; margin: 0 0 10px; }
.qa p:last-child { margin: 0; }
.qa p:last-child a { display: inline-flex; align-items: center; gap: 6px; font: 600 14.5px var(--font-head); color: var(--orange); text-decoration: none; }
.qa p:last-child a::after { content: "→"; transition: transform .2s; }
.qa p:last-child a:hover::after { transform: translateX(3px); }
@media (max-width: 860px) { .qa-grid { grid-template-columns: 1fr; } .qa { padding: 18px 18px 16px 60px; } }
.answer--solo { grid-template-columns: 1fr; }
.answer--solo + .hub__problems { margin-top: 36px; }

/* No sideways scroll on phones: the off-canvas menu and wide tables must not widen the page */
html, body { overflow-x: clip; }
@media (max-width: 760px) {
	.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.prose table th, .prose table td { min-width: 120px; }
}

/* ---------- Error code lookup v2: one card, system pills, try buttons ---------- */
.codes-band { padding-top: clamp(32px, 5vw, 56px); }
.codes-tool { display: grid; grid-template-columns: 1fr 1.08fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.codes-tool__form { padding: clamp(22px, 3vw, 36px); }
.codes-tool__out { padding: clamp(22px, 3vw, 36px); background: linear-gradient(180deg, #f4f8fc 0%, #eef4fb 100%); border-left: 1px solid var(--line); }
.codes-tool .finder__step { margin-top: 20px; }
.sys-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.sys-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font: 500 13.5px var(--font-head); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.sys-pill:hover { border-color: var(--navy); }
.sys-pill.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.sys-pill.is-on span { color: #fff; }
.codes-tool__input { position: relative; }
.codes-tool__qico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.codes-tool__input input { padding-left: 44px; }
.codes-tool__chips { max-height: 156px; overflow-y: auto; padding-right: 4px; }
.code-pick { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.codes-tool__chips li { max-width: 100%; }
.lcd__text--long { font-size: 28px; letter-spacing: .06em; }
.lcd__text--xl { font-size: 18px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0 10px; }
.code-card { box-shadow: none; }
.code-card__start .code-card__empty { margin-bottom: 14px; }
.code-card__try { margin: 0 0 8px; font: 600 13px var(--font-head); color: var(--navy); text-transform: uppercase; letter-spacing: .08em; }
.try-list { display: flex; flex-wrap: wrap; gap: 8px; }
.try-btn { padding: 8px 12px; font: 600 13.5px var(--font-head); color: var(--orange-2); background: var(--orange-soft); border: 1px solid #f8d2bb; border-radius: 9px; cursor: pointer; transition: background .15s, transform .15s; }
.try-btn:hover { background: #ffe4d2; transform: translateY(-1px); }
.code-card__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.code-card__cols ol { counter-reset: ck; list-style: none; padding: 0; }
.code-card__cols ol li { counter-increment: ck; position: relative; padding-left: 28px; }
.code-card__cols ol li::before { content: counter(ck); position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; font: 700 11px/20px var(--font-head); text-align: center; }
.code-card__reset { font-size: 15px; margin: 0; }
@media (max-width: 1100px) { .code-card__cols { grid-template-columns: 1fr; gap: 4px; } }
@media (max-width: 900px) {
	.codes-tool { grid-template-columns: 1fr; border-radius: 16px; }
	.codes-tool__out { border-left: 0; border-top: 1px solid var(--line); }
}
.codes-group__intro { color: #3b4d60; margin: 4px 0 8px; }
.codes-after { margin-top: 48px; }
.code-card .try-list { padding: 0; margin: 0; }

/* Long codes ("Lockout (no ignition)") wrap inside the result chip instead of being cut off */
.code-card__head .code-chip--lg { flex: 0 0 auto; max-width: 44%; white-space: normal; overflow-wrap: anywhere; line-height: 1.15; text-align: center; }
.code-card__head .code-chip--long { font-size: 14.5px; padding: 8px 12px; }
/* Solid header: content must not show through while scrolling */
.site-head { background: #fff; backdrop-filter: none; }

/* ---------- Error codes v3: photo hero + lookup card + result panel ---------- */
.hero--codes .hero__in { padding-top: 22px; padding-bottom: 130px; }
.hero--codes .crumbs { margin-bottom: 22px; }
.hero--codes .hero__title { max-width: 16ch; font-size: clamp(32px, 4.2vw, 52px); }
.codes-perks { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 6px; }
.codes-perks li { display: grid; grid-template-columns: 38px auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; font-size: 13px; color: #3b4d60; line-height: 1.25; }
.codes-perks li > span { grid-row: 1 / span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.codes-perks li > span .ico { width: 20px; height: 20px; }
.codes-perks strong { font: 600 14px var(--font-head); color: var(--navy); }

.codes-wrap { position: relative; z-index: 3; margin-top: -96px; padding-bottom: 8px; }
.codes-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: clamp(18px, 3vw, 30px); }
.codes-step { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 16px var(--font-head); color: var(--navy); }
.codes-step__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 13px; }
.sys-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sys-tile { display: grid; justify-items: center; gap: 8px; padding: 16px 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font: 500 14px/1.25 var(--font-head); color: var(--ink); text-align: center; cursor: pointer; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.sys-tile:hover { border-color: #f2b48f; transform: translateY(-2px); box-shadow: var(--shadow); }
.sys-tile__ico .ico { width: 30px; height: 30px; }
.sys-tile.is-on { border-color: var(--orange); background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange); color: var(--navy); }
.codes-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; margin-top: 26px; }
.codes-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.codes-selects select:disabled { background: #eef2f7; cursor: not-allowed; }
.codes-find { display: flex; gap: 12px; }
.codes-find .codes-tool__input { flex: 1; min-width: 0; }
.codes-find .codes-tool__input input { font-size: 17px; letter-spacing: .02em; text-transform: none; padding-top: 13px; padding-bottom: 13px; }
.codes-find .btn { border-radius: var(--radius-sm); padding: 0 22px; }
.codes-help { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.codes-help span { display: inline-flex; align-items: center; gap: 6px; }
.codes-help a { color: var(--blue); }

.code-result { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.code-result.is-pop { animation: rvDrop .35s ease-out; }
.code-result__start { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.code-result__start .eyebrow { margin-bottom: 6px; }
.code-result__start-t { margin: 0 0 4px; font: 700 22px var(--font-head); color: var(--navy); }
.code-result__start .muted { margin: 0; }
.code-result .try-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.code-result__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.code-result__head { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.code-result__head .eyebrow { margin-bottom: 8px; }
.code-result__title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin: 0 0 8px; overflow-wrap: anywhere; }
.code-result__by { margin: 0 0 10px; color: #3b4d60; }
.code-result__meaning { margin: 0; font: 600 18px/1.45 var(--font-head); color: var(--navy); }
.code-result__sub { color: #3b4d60; margin: 0 0 10px; }
.code-result__shown { font-size: 14.5px; color: var(--muted); margin: 0; }
.code-result__media { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--soft); }
.code-result__media img { width: 100%; height: 100%; object-fit: cover; }
.lcd--mini { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 8px 10px; grid-template-columns: 1fr; border-radius: 12px; }
.lcd--mini .lcd__screen { height: 52px; }
.lcd--mini .lcd__text { font-size: 26px; }
.lcd--mini .lcd__text--long { font-size: 18px; }
.lcd--mini .lcd__text--xl { font-size: 13px; }
.code-result__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.cr-box { padding: 18px 20px; border-radius: 14px; }
.cr-box--causes { background: #fff4f1; border: 1px solid #f9d6cc; }
.cr-box--checks { background: #f1f6fe; border: 1px solid #d6e4f8; }
.cr-box__h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 17px var(--font-head); }
.cr-box__h .ico { width: 22px; height: 22px; }
.cr-box--causes .cr-box__h { color: #d64a2f; }
.cr-box--checks .cr-box__h { color: var(--blue); }
.cr-box ul, .cr-box ol { margin: 0; padding-left: 1.1em; font-size: 15px; }
.cr-box li + li { margin-top: 6px; }
.cr-box--causes li::marker { color: #d64a2f; }
.cr-box ol { list-style: none; padding: 0; counter-reset: ck; }
.cr-box ol li { counter-increment: ck; position: relative; padding-left: 32px; }
.cr-box ol li::before { content: counter(ck); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #dbe8fb; color: var(--blue); font: 700 12px/22px var(--font-head); text-align: center; }
.cr-reset { margin-top: 14px; padding: 12px 16px; background: var(--soft); border-radius: 10px; font-size: 15px; }
.code-result .note { margin: 16px 0 0; }
.code-result__side { display: grid; gap: 16px; }
.other-codes { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; max-height: 330px; overflow-y: auto; }
.other-codes__b { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; width: 100%; padding: 8px 10px; background: none; border: 0; border-radius: 8px; text-align: left; cursor: pointer; transition: background .15s; }
.other-codes__b:hover { background: var(--soft); }
.other-codes__b.is-on { background: var(--orange-soft); }
.other-codes__c { display: inline-block; max-width: 120px; padding: 3px 8px; border-radius: 6px; background: var(--navy); color: #fff; font: 700 12px var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.other-codes__b.is-on .other-codes__c { background: var(--orange); }
.other-codes__m { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.help-card .muted { font-size: 14px; margin: 0 0 12px; }
.help-card .btn { display: flex; width: 100%; margin-top: 8px; border-radius: 10px; }
.btn--line { background: #fff; border: 2px solid var(--orange); color: var(--orange); }
.btn--line:hover { background: var(--orange-soft); color: var(--orange-2); }
.code-result__guides { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.sec-head__t { margin: 0 0 14px; font: 700 19px var(--font-head); color: var(--navy); }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.mini-card { display: grid; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mini-card__t { padding: 12px 14px 4px; font: 600 14.5px/1.35 var(--font-head); color: var(--navy); }
.mini-card__m { padding: 0 14px 12px; font-size: 13px; color: var(--orange); }
@media (max-width: 1100px) {
	.sys-tiles { grid-template-columns: repeat(3, 1fr); }
	.code-result__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.hero--codes .hero__in { padding-bottom: 120px; }
	.codes-row { grid-template-columns: 1fr; gap: 20px; }
	.codes-find { flex-direction: column; }
	.codes-find .btn { padding: 13px 22px; }
	.code-result__head, .code-result__boxes { grid-template-columns: 1fr; }
	.sys-tile { padding: 12px 6px; font-size: 13px; }
	.sys-tile__ico .ico { width: 24px; height: 24px; }
	.codes-perks { gap: 12px 18px; }
}
/* Hero perks stay readable over the photo */
.codes-perks li { padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 4px 14px rgba(15,43,76,.08); }
.codes-perks li > span { box-shadow: none; background: var(--soft); }

/* Finder results: hub short answer + guides + actions */
.finder__out.is-pop { animation: rvDrop .3s ease-out; }
.finder__list .finder__answer { padding: 14px 16px; background: #f2f9f4; border: 1px solid #d3ead9; border-radius: var(--radius-sm); }
.finder__answer-h { margin: 0 0 6px; font: 600 13px var(--font-head); color: var(--green); text-transform: uppercase; letter-spacing: .06em; }
.finder__answer p:last-child { margin: 0; font-size: 15px; color: #2f4152; }
.finder__list .finder__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.finder__list .finder__actions a { display: inline-flex; width: auto; padding: 11px 18px; border-radius: 10px; font-size: 14.5px; }
.finder__list .finder__actions .btn--accent { color: #fff; border: 0; }
.finder__list .finder__actions .btn--line { color: var(--orange); border: 2px solid var(--orange); }
.finder-card { padding: clamp(18px, 3vw, 32px); } .finder-card .finder-wrap { gap: clamp(20px, 4vw, 48px); }
.finder__list .finder__actions a.btn--accent { background: var(--orange); color: #fff; border: 0; justify-content: center; }
.finder__list .finder__actions a.btn--accent:hover { background: var(--orange-2); color: #fff; }
.finder__list .finder__actions a.btn--line { background: #fff; justify-content: center; }

/* All guides v2 */
.tabs--card { margin: 0 0 28px; }
.guides { padding-bottom: 24px; }
.guides__h { margin: 8px 0 14px; font: 700 19px var(--font-head); color: var(--navy); }
.guides__h .muted { font: 400 14px var(--font-body); }
.guides__fixes { margin-bottom: 36px; }
.guides [hidden] { display: none !important; }
.card__media { position: relative; }
.card__badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(15,43,76,.85); color: #fff; font: 600 12px var(--font-head); }
.card__desc { margin: -4px 0 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.hero--codes .search--hero { margin-top: 4px; }

/* ---------- In-article media: flow diagram + step photos ---------- */
.flow-diagram { margin: 6px 0 26px; padding: 20px; background: #f6f9fd; border: 1px solid var(--line); border-radius: var(--radius); }
.flow-diagram figcaption { margin: 0 0 14px; font: 700 16px var(--font-head); color: var(--navy); }
.prose ol.flow { list-style: none; padding: 0; margin: 0; counter-reset: fl; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 30px; }
.prose ol.flow > li { counter-increment: fl; position: relative; margin: 0; padding: 12px 14px 12px 50px; background: #fff; border: 1px solid #d9e3ef; border-radius: 12px; min-height: 66px; display: flex; flex-direction: column; justify-content: center; }
.prose ol.flow > li::before { content: counter(fl); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 13px/28px var(--font-head); text-align: center; }
.prose ol.flow > li:not(:nth-child(3n)):not(:last-child)::after { content: ""; position: absolute; right: -24px; top: 50%; width: 18px; height: 2px; background: var(--orange); }
.prose ol.flow > li:not(:nth-child(3n)):not(:last-child) .flow__t::after { content: ""; position: absolute; right: -25px; top: calc(50% - 4px); border: 5px solid transparent; border-left-color: var(--orange); border-right: 0; }
.flow__t { display: block; font: 600 14.5px/1.3 var(--font-head); color: var(--navy); }
.flow__d { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.prose ol.flow > li.flow__ask { background: var(--orange-soft); border-color: #f6c7a8; }
.prose ol.flow > li.flow__ask::before { background: var(--orange); }
.flow__out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.flow__out p { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; }
.flow__yes { background: #eef8f1; border: 1px solid #cfe9d7; }
.flow__no { background: #fff4f1; border: 1px solid #f9d6cc; }
.js-motion .flow-diagram ol.flow > li { opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }
.js-motion .flow-diagram.is-in ol.flow > li { opacity: 1; transform: none; }
.js-motion .flow-diagram.is-in ol.flow > li:nth-child(2) { transition-delay: .12s; } .js-motion .flow-diagram.is-in ol.flow > li:nth-child(3) { transition-delay: .24s; }
.js-motion .flow-diagram.is-in ol.flow > li:nth-child(4) { transition-delay: .36s; } .js-motion .flow-diagram.is-in ol.flow > li:nth-child(5) { transition-delay: .48s; }
.js-motion .flow-diagram.is-in ol.flow > li:nth-child(6) { transition-delay: .6s; }
@media (max-width: 760px) {
	.prose ol.flow { grid-template-columns: 1fr; gap: 18px; }
	.prose ol.flow > li::after, .prose ol.flow > li .flow__t::after { display: none !important; }
	.prose ol.flow > li:not(:last-child)::after { display: block !important; content: ""; position: absolute; left: 25px; right: auto; top: auto; bottom: -16px; width: 2px; height: 14px; background: var(--orange); }
	.flow__out { grid-template-columns: 1fr; }
}

.prose ol.steps > li.has-media { display: grid; grid-template-columns: minmax(0, 1fr) 210px; column-gap: 18px; align-items: start; }
.prose ol.steps > li.has-media > strong:first-child { grid-column: 1; }
.step-media { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.step-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.step-media figcaption { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
@media (max-width: 760px) {
	.prose ol.steps > li.has-media { grid-template-columns: 1fr; }
	.step-media { grid-column: 1; grid-row: auto; margin-top: 12px; }
}
.step-body { grid-column: 1; min-width: 0; }
.prose ol.steps > li .step-body > strong:first-child { display: block; color: var(--navy); font-family: var(--font-head); margin-bottom: 4px; }
@media (max-width: 760px) {
	.prose ol.flow > li:not(:last-child)::after { left: 25px !important; right: auto !important; top: auto !important; bottom: -16px !important; width: 2px !important; height: 14px !important; transform: none !important; }
}

/* ---------- FAQ accordion (native <details>, answers stay in the HTML) ---------- */
.faq { display: grid; gap: 12px; margin-top: 6px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq__item:hover { border-color: #f2c3a5; }
.faq__item[open] { border-color: #f6c7a8; box-shadow: 0 8px 24px rgba(242,106,33,.08); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.prose .faq__h { margin: 0; font-size: 17px; line-height: 1.35; color: var(--navy); }
.faq__item[open] .faq__h { color: var(--orange-2); }
.faq__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--orange-soft); transition: transform .25s, background .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--orange); transition: transform .25s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--orange); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 20px 18px; color: #3b4d60; }
.faq__a > :last-child { margin-bottom: 0; }
.faq__item[open] .faq__a { animation: faqIn .25s ease-out; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq__q:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 14px; }
@media print { .faq__item { border: 0; } .faq__a { display: block !important; } }

/* ---------- Article fix box: quick answer + stat tiles + tools ---------- */
.fixbox { margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.fixbox__qa { position: relative; padding: 22px 24px 20px 28px; background: linear-gradient(135deg, #f1faf4 0%, #fbfdfb 100%); border-bottom: 1px solid var(--line); }
.fixbox__qa::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--green); }
.fixbox__badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--green); color: #fff; font: 600 12.5px var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.fixbox__answer { margin: 0; font-size: 17.5px; line-height: 1.6; color: #22364a; }
.fixbox__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.stat { padding: 16px 20px; display: grid; gap: 6px; align-content: start; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { display: flex; align-items: center; gap: 8px; font: 500 13px var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat__ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--orange-soft); color: var(--orange); }
.stat dd { margin: 0; font: 700 18px/1.3 var(--font-head); color: var(--navy); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.stat dd small { flex-basis: 100%; font: 400 13px/1.4 var(--font-body); color: var(--muted); }
.meter { display: inline-flex; gap: 4px; }
.meter i { width: 18px; height: 6px; border-radius: 3px; background: #e3e9f0; }
.stat--lvl-1 .meter i:nth-child(-n+1) { background: var(--green); }
.stat--lvl-2 .meter i:nth-child(-n+2) { background: #f0a020; }
.stat--lvl-3 .meter i:nth-child(-n+3) { background: #e4572e; }
.fixbox__tools { padding: 14px 20px 18px; border-top: 1px solid var(--line); background: #fafcfe; }
.fixbox__tools-h { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font: 600 13px var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.fixbox__tools ul { display: flex; flex-wrap: wrap; gap: 8px; }
.fixbox__tools li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
@media (max-width: 700px) {
	.fixbox__stats { grid-template-columns: 1fr; }
	.stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
	.stat { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; padding: 12px 18px; }
	.stat dd { justify-content: flex-end; text-align: right; }
	.stat dd small { text-align: right; }
	.fixbox__qa { padding: 18px 18px 16px 22px; }
	.fixbox__answer { font-size: 16.5px; }
}

/* Affiliate tool links (only when rvfix_amazon_tag is set) */
.fixbox__tools li a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); text-decoration: none; }
.fixbox__tools li:has(a):hover { border-color: var(--orange); }
.fixbox__tools li a:hover { color: var(--orange-2); }
.fixbox__tools li a .ico { color: var(--orange); transform: rotate(-45deg); }
.aff-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.site-foot__aff { width: 100%; order: 3; margin: 0; font-size: 12.5px; color: rgba(255,255,255,.55); }
