/*
 * MyHouseOffer Premium Experience — "Blue hour" design.
 * Deep dusk blue (from the logo's blue), warm window light for every main action,
 * the logo's roof and chimney as the one recurring shape. Mobile first.
 */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-var.woff2") format("woff2");
	font-weight: 500 800;
	font-stretch: 75% 100%;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("../fonts/atkinson-next-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("../fonts/atkinson-next-italic-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

:root {
	--dusk: #101a3a;
	--dusk-2: #172451;
	--dusk-3: #22356c;
	--indigo: #3c5a9a;
	--indigo-ink: #2c4785;
	--sky: #b4c7f2;
	--sky-soft: #d6e1fa;
	--glow: #ffb547;
	--glow-deep: #f09a1a;
	--glow-soft: #fff3df;
	--mist: #eef2f9;
	--mist-2: #e3e9f5;
	--paper: #ffffff;
	--line: #d6deee;
	--ink: #121a33;
	--text: #36405c;
	--muted: #586380;
	--ok: #1b7a4c;
	--ok-soft: #e5f4ec;
	--err: #b42318;
	--err-soft: #fdecea;
	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;
	--r-xl: 32px;
	--shadow-1: 0 1px 2px rgba(16, 26, 58, .06), 0 6px 18px rgba(16, 26, 58, .06);
	--shadow-2: 0 24px 60px -24px rgba(16, 26, 58, .45);
	--font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
	--ease-out: cubic-bezier(.23, 1, .32, 1);
	--ease-drawer: cubic-bezier(.32, .72, 0, 1);
	--wrap: 1200px;
	--gutter: 20px;
	--tabbar-h: 68px;
	--header-h: 64px;
}

/* ---------- Base ---------- */
:where(.mhpe) *, :where(.mhpe) *::before, :where(.mhpe) *::after { box-sizing: border-box; }
html:has(body.mhpe) { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body.mhpe {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}
body.mhpe.mhpe-view-offer { padding-bottom: 0; }
:where(.mhpe) img { max-width: 100%; height: auto; display: block; }
:where(.mhpe) a { color: var(--indigo-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
:where(.mhpe) a:hover { text-decoration-thickness: 2px; }
.mhpe :focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
:where(.mhpe) :where(h1, h2, h3, h4) { font-family: var(--font-display); color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -.01em; }
:where(.mhpe) p { margin: 0 0 1em; }
:where(.mhpe) p:last-child { margin-bottom: 0; }
:where(.mhpe) :where(ul, ol) { padding: 0; margin: 0; }
:where(.mhpe) button { font: inherit; }
.mhpe .mhpe-icon { width: 1.25em; height: 1.25em; flex: none; }
.mhpe-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mhpe-skip {
	position: fixed; left: 12px; top: -80px; z-index: 1000;
	background: var(--glow); color: var(--ink) !important; font-weight: 700;
	padding: 12px 18px; border-radius: var(--r-sm); text-decoration: none;
	transition: top .16s var(--ease-out);
}
.mhpe-skip:focus { top: 12px; }
.mhpe-main:focus { outline: none; }
.mhpe-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.mhpe-wrap--text { max-width: calc(760px + 2 * var(--gutter)); }
.mhpe-center { text-align: center; margin-top: 40px; }
.mhpe-empty { color: var(--muted); }

.mhpe-h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.05; font-stretch: 88%; letter-spacing: -.02em; text-wrap: balance; }
.mhpe-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 60ch; margin-top: 14px; text-wrap: pretty; }
.mhpe-section { padding-block: clamp(56px, 4rem + 4vw, 120px); }
.mhpe-section__head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.mhpe-section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }

/* The original theme's "scroll to top" button belongs to the original design. */
#ast-scroll-top, .ast-scroll-top-icon { display: none !important; }

/* ---------- Buttons ---------- */
.mhpe-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px;
	border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-body); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
	text-decoration: none !important; cursor: pointer; text-align: center;
	transition: transform .16s var(--ease-out), background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
	-webkit-tap-highlight-color: transparent;
}
.mhpe-btn:active { transform: scale(.97); }
.mhpe-btn--glow { background: var(--glow); color: var(--ink) !important; box-shadow: 0 8px 22px -10px rgba(240, 154, 26, .9); }
.mhpe-btn--ink { background: var(--dusk); color: #fff !important; }
.mhpe-btn--line { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.mhpe-btn--quiet { background: transparent; color: var(--ink) !important; padding-inline: 14px; }
.mhpe-btn--wide { flex: 1; }
.mhpe-btn--big { min-height: 56px; padding-inline: 30px; font-size: 1.125rem; }
@media (hover: hover) and (pointer: fine) {
	.mhpe-btn--glow:hover { background: #ffc266; box-shadow: 0 12px 28px -10px rgba(240, 154, 26, .95); }
	.mhpe-btn--ink:hover { background: var(--dusk-3); }
	.mhpe-btn--line:hover { border-color: var(--indigo); }
	.mhpe-btn--quiet:hover { background: var(--mist); }
}
.mhpe-btn[disabled] { opacity: .7; cursor: progress; }
.mhpe-btn.is-busy::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: mhpe-spin .6s linear infinite; }
@keyframes mhpe-spin { to { transform: rotate(360deg); } }
.mhpe-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: transparent; border: 0; color: inherit; cursor: pointer; text-decoration: none;
	transition: background-color .2s ease, transform .16s var(--ease-out);
}
.mhpe-iconbtn:active { transform: scale(.94); }
.mhpe-iconbtn .mhpe-icon { width: 24px; height: 24px; }
.mhpe-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--indigo-ink); text-decoration: none; }
.mhpe-link .mhpe-icon { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mhpe-link:hover .mhpe-icon { transform: translateX(3px); } }

/* ---------- The roof shape (from the logo: roof and chimney) ---------- */
.mhpe-house {
	--roof: 16%;
	position: relative;
	clip-path: polygon(0 var(--roof), 50% 0, 71% calc(var(--roof) * .42), 71% calc(var(--roof) * .1), 79% calc(var(--roof) * .1), 79% calc(var(--roof) * .58), 100% var(--roof), 100% 100%, 0 100%);
	background: var(--dusk-2);
}
.mhpe-house img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.mhpe-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid transparent;
	transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.mhpe-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(16, 26, 58, .4); }
.mhpe-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 12px; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.mhpe-brand { display: block; position: relative; flex: none; width: 150px; margin-right: auto; }
.mhpe-brand img { width: 100%; height: auto; }
.mhpe-brand__light { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.mhpe-brand__dark { transition: opacity .25s ease; }
.mhpe-header.is-over-dark:not(.is-scrolled) { background: var(--dusk); color: #fff; }
.mhpe-header.is-over-dark:not(.is-scrolled) .mhpe-brand__light { opacity: 1; }
.mhpe-header.is-over-dark:not(.is-scrolled) .mhpe-brand__dark { opacity: 0; }
.mhpe-nav { display: none; }
.mhpe-header__tools { display: flex; align-items: center; gap: 8px; }
.mhpe-header__cta { display: none; }
.mhpe-call {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 44px; height: 44px; border-radius: 999px; color: inherit !important; text-decoration: none; font-weight: 700;
	background: var(--mist);
}
.mhpe-header.is-over-dark:not(.is-scrolled) .mhpe-call { background: rgba(255, 255, 255, .1); }
.mhpe-call .mhpe-icon { width: 20px; height: 20px; }
.mhpe-call__number { display: none; }
.mhpe-header--focus .mhpe-brand { margin-inline: auto; width: 140px; }
.mhpe-header--focus { border-bottom-color: var(--line); }

/* Language choice */
.mhpe-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--mist); gap: 2px; }
.mhpe-lang a {
	display: inline-grid; place-items: center; min-width: 40px; height: 38px; padding: 0 8px; border-radius: 999px;
	font-weight: 700; font-size: .875rem; letter-spacing: .02em; color: var(--muted) !important; text-decoration: none;
}
.mhpe-lang a[aria-current] { background: var(--paper); color: var(--ink) !important; box-shadow: 0 1px 3px rgba(16, 26, 58, .18); }
.mhpe-header.is-over-dark:not(.is-scrolled) .mhpe-lang, .mhpe-footer .mhpe-lang { background: rgba(255, 255, 255, .1); }
.mhpe-header.is-over-dark:not(.is-scrolled) .mhpe-lang a, .mhpe-footer .mhpe-lang a { color: var(--sky-soft) !important; }
.mhpe-header.is-over-dark:not(.is-scrolled) .mhpe-lang a[aria-current], .mhpe-footer .mhpe-lang a[aria-current] { background: var(--paper); color: var(--ink) !important; }

/* ---------- Bottom tab bar (phones and tablets) ---------- */
.mhpe-tabbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
	height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
	padding: 0 6px env(safe-area-inset-bottom, 0px);
	background: var(--paper); border-top: 1px solid var(--line);
	box-shadow: 0 -10px 30px -22px rgba(16, 26, 58, .5);
}
.mhpe-tab {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	height: var(--tabbar-h); padding: 6px 2px 8px;
	background: none; border: 0; cursor: pointer;
	color: var(--muted) !important; text-decoration: none !important;
	font-size: .75rem; font-weight: 700; line-height: 1.1; text-align: center;
	-webkit-tap-highlight-color: transparent;
	transition: color .2s ease, transform .16s var(--ease-out);
}
.mhpe-tab:active { transform: scale(.95); }
.mhpe-tab .mhpe-icon { width: 24px; height: 24px; }
.mhpe-tab[aria-current] { color: var(--indigo-ink) !important; }
.mhpe-tab[aria-current] .mhpe-icon { color: var(--indigo); }
.mhpe-tab--main { color: var(--ink) !important; }
.mhpe-tab__bubble {
	display: grid; place-items: center; width: 54px; height: 54px; margin-top: -24px; border-radius: 50%;
	background: var(--glow); color: var(--ink);
	box-shadow: 0 10px 22px -8px rgba(240, 154, 26, .9), 0 0 0 5px var(--paper);
}
.mhpe-tab__bubble .mhpe-icon { width: 26px; height: 26px; }

/* ---------- "More" sheet ---------- */
.mhpe-sheet {
	position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none;
	margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden;
}
.mhpe-sheet::backdrop { background: rgba(10, 16, 36, 0); transition: background-color .22s ease; }
.mhpe-sheet.is-open::backdrop { background: rgba(10, 16, 36, .55); }
.mhpe-sheet__panel {
	position: absolute; left: 0; right: 0; bottom: 0;
	max-height: 88vh; overflow: auto; overscroll-behavior: contain;
	background: var(--paper); border-radius: 26px 26px 0 0;
	padding: 10px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
	transform: translateY(100%); transition: transform .32s var(--ease-drawer);
	touch-action: pan-y;
}
.mhpe-sheet.is-open .mhpe-sheet__panel { transform: translateY(0); }
.mhpe-sheet__grip { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 8px; }
.mhpe-sheet__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.mhpe-sheet__title { font-size: 1.5rem; }
.mhpe-sheet__links { list-style: none; }
.mhpe-sheet__links a {
	display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 6px 4px;
	color: var(--ink) !important; text-decoration: none; font-weight: 700; font-size: 1.125rem;
	border-bottom: 1px solid var(--mist-2);
}
.mhpe-sheet__links a[aria-current] { color: var(--indigo-ink) !important; }
.mhpe-sheet__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mist); color: var(--indigo); }
.mhpe-sheet__go { margin-left: auto; color: var(--muted); }
.mhpe-sheet__reach { display: grid; gap: 10px; margin-top: 20px; }
.mhpe-sheet__reach .mhpe-btn { justify-content: flex-start; overflow-wrap: break-word; }
.mhpe-sheet__lang { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-weight: 700; color: var(--ink); }

/* ---------- Hero ---------- */
.mhpe-hero {
	background:
		radial-gradient(120% 60% at 80% 100%, rgba(60, 90, 154, .45), transparent 70%),
		linear-gradient(180deg, var(--dusk) 0%, var(--dusk-2) 100%);
	color: #e8eefc;
	padding: 18px 0 44px;
	overflow: hidden;
}
.mhpe-hero__grid { display: grid; gap: 0; }
.mhpe-hero__copy { display: contents; }
.mhpe-hero__title {
	order: 1;
	color: #fff; font-size: clamp(2.35rem, 1.3rem + 5vw, 4.6rem); line-height: .98; font-weight: 750; font-stretch: 80%;
	letter-spacing: -.025em; text-wrap: balance; margin-bottom: 14px;
}
.mhpe-hero__lead { order: 2; color: #c7d4f3; font-size: 1.0625rem; max-width: 34em; margin-bottom: 22px; }
.mhpe-hero__art { display: contents; }
.mhpe-house--hero { order: 3; --roof: 20%; aspect-ratio: 4 / 3.3; }
.mhpe-house--hero img { object-position: 30% 50%; }
.mhpe-hero .mhpe-start { order: 4; margin-top: -40px; position: relative; z-index: 2; }
.mhpe-hero__call { order: 5; margin: 18px 0 0; color: #c7d4f3; }
.mhpe-hero__call a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.mhpe-hero__call .mhpe-icon { width: 18px; height: 18px; color: var(--glow); }
.mhpe-hero__rating {
	order: 6; justify-self: start; margin-top: 14px;
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(180, 199, 242, .25);
	color: #fff !important; text-decoration: none; font-size: .9375rem; font-weight: 700;
}
.mhpe-start {
	background: var(--paper); border-radius: var(--r-lg); padding: 18px;
	box-shadow: var(--shadow-2); color: var(--text);
}
.mhpe-start__label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-bottom: 12px; line-height: 1.2; }
.mhpe-start__row { display: grid; gap: 10px; position: relative; }
.mhpe-start__ico { position: absolute; left: 14px; top: 15px; color: var(--indigo); pointer-events: none; }
.mhpe-start__ico .mhpe-icon { width: 22px; height: 22px; }
.mhpe-start input {
	width: 100%; height: 54px; padding: 0 16px 0 46px; border-radius: 14px; border: 1.5px solid var(--line);
	font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--mist);
}
.mhpe-start input:focus { outline: 3px solid var(--indigo); outline-offset: 1px; background: var(--paper); }
.mhpe-start .mhpe-btn { min-height: 54px; }
.mhpe-start__promise { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: .9375rem; color: var(--muted); }
.mhpe-start__promise li { display: inline-flex; align-items: center; gap: 6px; }
.mhpe-start__promise .mhpe-icon { width: 18px; height: 18px; color: var(--ok); }

/* ---------- Stars ---------- */
.mhpe-stars { display: inline-flex; gap: 2px; color: var(--glow); }
.mhpe-stars .mhpe-icon { width: 18px; height: 18px; }
.mhpe-stars .is-off { color: var(--line); }

/* ---------- Skip list ---------- */
.mhpe-avoidsec__grid { display: grid; gap: 32px; }
.mhpe-avoid { list-style: none; display: grid; gap: 4px; }
.mhpe-avoid li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--mist-2); }
.mhpe-avoid li:last-child { border-bottom: 0; }
.mhpe-avoid__ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--indigo); }
.mhpe-avoid__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.3; color: var(--ink); }
.mhpe-avoid__strike {
	background-image: linear-gradient(var(--glow-deep), var(--glow-deep));
	background-repeat: no-repeat; background-position: 0 60%; background-size: 100% 3px;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
	transition: background-size .7s var(--ease-out), color .5s ease;
	transition-delay: calc(var(--i, 0) * 140ms + 120ms);
}
.mhpe-anim .mhpe-avoid:not(.is-in) .mhpe-avoid__strike { background-size: 0% 3px; }
.mhpe-avoid.is-in .mhpe-avoid__strike, html:not(.mhpe-anim) .mhpe-avoid__strike { color: var(--muted); }

/* ---------- How it works ---------- */
.mhpe-how { background: var(--mist); }
.mhpe-steps { list-style: none; display: grid; gap: 18px; counter-reset: none; }
.mhpe-step-card { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.mhpe-step-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-2); }
.mhpe-step-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mhpe-step-card__body { position: relative; padding: 34px 24px 26px; }
.mhpe-step-card__body h3 { font-size: 1.4rem; line-height: 1.15; margin-bottom: 8px; }
.mhpe-step-card__body p { color: var(--muted); }
.mhpe-step-card__num {
	position: absolute; top: -28px; left: 22px;
	display: grid; place-items: end center; width: 52px; height: 56px; padding-bottom: 8px;
	background: var(--dusk); color: var(--glow);
	font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1;
	clip-path: polygon(0 34%, 50% 0, 100% 34%, 100% 100%, 0 100%);
}
/* Step 2: the offer, drawn (no number is shown: every offer is prepared for its house). */
.mhpe-letter { display: grid; place-items: center; background: linear-gradient(160deg, var(--dusk-2), var(--dusk)); }
.mhpe-letter__paper {
	display: grid; gap: 10px; width: 64%; padding: 20px 20px 18px; border-radius: 14px;
	background: var(--paper); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); transform: rotate(-4deg);
}
.mhpe-letter__logo { color: var(--indigo); }
.mhpe-letter__logo .mhpe-icon { width: 30px; height: 30px; }
.mhpe-letter__kicker { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; }
.mhpe-letter__line { height: 8px; border-radius: 4px; background: var(--mist-2); width: 70%; }
.mhpe-letter__line.is-wide { width: 92%; }
.mhpe-letter__amount { height: 26px; width: 80%; border-radius: 8px; background: linear-gradient(90deg, var(--glow), #ffd593); }
.mhpe-letter__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mhpe-letter__tags span { font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }

/* ---------- Why sell to us ---------- */
.mhpe-why__grid { display: grid; gap: 36px; align-items: center; }
.mhpe-why__media { --roof: 14%; aspect-ratio: 4 / 4.4; max-width: 520px; }
.mhpe-benefits { list-style: none; display: grid; gap: 22px; margin-top: 30px; }
.mhpe-benefits li { display: grid; grid-template-columns: 48px 1fr; gap: 2px 16px; align-items: start; }
.mhpe-benefits__ico { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--glow-soft); color: #9a5a00; }
.mhpe-benefits h3 { font-size: 1.2rem; line-height: 1.25; padding-top: 2px; }
.mhpe-benefits p { color: var(--muted); font-size: 1rem; }

/* ---------- Any condition ---------- */
.mhpe-any { background: linear-gradient(180deg, var(--dusk-2), var(--dusk)); color: #d3def8; }
.mhpe-any .mhpe-h2 { color: #fff; }
.mhpe-any .mhpe-lead { color: #c7d4f3; }
.mhpe-any__inner { text-align: left; }
.mhpe-situations { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.mhpe-situations li {
	display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
	border: 1px solid rgba(180, 199, 242, .28); background: rgba(255, 255, 255, .04); color: #fff; font-weight: 700;
}
.mhpe-situations .mhpe-icon { color: var(--glow); width: 20px; height: 20px; }

/* ---------- Reviews ---------- */
.mhpe-voices { background: var(--mist); }
.mhpe-reviews { list-style: none; display: grid; gap: 18px; }
.mhpe-reviews--rail {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
	padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter);
	scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.mhpe-reviews--rail:focus-visible { outline-offset: -3px; }
.mhpe-reviews--rail .mhpe-review { flex: 0 0 min(84vw, 380px); scroll-snap-align: start; }
.mhpe-wrap--bleed { max-width: calc(var(--wrap) + 2 * var(--gutter)); padding-inline: 0; }
.mhpe-review figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 14px; background: var(--paper); border-radius: var(--r-lg); padding: 26px 24px 22px; box-shadow: var(--shadow-1); }
.mhpe-review blockquote { margin: 0; flex: 1; color: var(--text); }
.mhpe-review__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-bottom: 8px !important; }
.mhpe-review figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--mist-2); }
.mhpe-review__name { font-weight: 700; color: var(--ink); }
.mhpe-review__date, .mhpe-review__lang { font-size: .875rem; color: var(--muted); }
.mhpe-review__lang { width: 100%; }

/* ---------- Questions ---------- */
.mhpe-askhome__grid { display: grid; gap: 28px; }
.mhpe-faq { border-top: 1px solid var(--line); }
.mhpe-faq__item { border-bottom: 1px solid var(--line); }
.mhpe-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 16px 2px; cursor: pointer; list-style: none;
	font-family: var(--font-display); font-weight: 650; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.3; color: var(--ink);
}
.mhpe-faq__item summary::-webkit-details-marker { display: none; }
.mhpe-faq__chev { flex: none; width: 36px !important; height: 36px !important; padding: 7px; border-radius: 50%; background: var(--mist); color: var(--indigo); transition: transform .25s var(--ease-out), background-color .2s ease; }
.mhpe-faq__item[open] .mhpe-faq__chev { transform: rotate(180deg); background: var(--glow-soft); }
.mhpe-faq__answer { padding: 0 2px 22px; color: var(--text); max-width: 68ch; }
.mhpe-ticks { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.mhpe-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.mhpe-ticks .mhpe-icon { color: var(--ok); margin-top: 3px; }

/* ---------- Closing band ---------- */
.mhpe-closing { position: relative; background: var(--dusk); color: #fff; overflow: hidden; isolation: isolate; }
.mhpe-closing__photo { position: absolute; inset: 0; z-index: -1; }
.mhpe-closing__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.mhpe-closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 26, 58, .55) 0%, rgba(16, 26, 58, .9) 75%); }
.mhpe-closing__inner { padding-block: clamp(140px, 22vw, 220px) clamp(56px, 8vw, 96px); }
.mhpe-closing__title { color: #fff; font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.6rem); line-height: 1.02; font-stretch: 84%; letter-spacing: -.02em; max-width: 18ch; text-wrap: balance; }
.mhpe-closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.mhpe-closing__call { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 700; min-height: 44px; }
.mhpe-closing__call .mhpe-icon { color: var(--glow); }

/* ---------- Footer ---------- */
.mhpe-footer { position: relative; background: var(--dusk); color: #c7d4f3; padding-top: 72px; }
.mhpe-footer__roof {
	position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: var(--dusk);
	clip-path: polygon(0 100%, 50% 0, 66% 32%, 66% 8%, 70% 8%, 70% 40%, 100% 100%);
}
.mhpe-footer a { color: #fff; text-decoration: none; }
.mhpe-footer a:hover { text-decoration: underline; }
.mhpe-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
.mhpe-footer__logo { display: block; width: 190px; margin-bottom: 16px; }
.mhpe-footer__brand p { max-width: 34ch; margin-bottom: 22px; }
.mhpe-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.mhpe-footer__col ul { list-style: none; display: grid; gap: 4px; }
.mhpe-footer__col a { display: inline-flex; align-items: flex-start; gap: 10px; min-height: 40px; padding: 8px 0; }
.mhpe-footer__reach .mhpe-icon { color: var(--glow); width: 20px; height: 20px; margin-top: 2px; }
.mhpe-footer__social { display: flex !important; flex-wrap: wrap; gap: 8px 16px !important; margin-top: 10px; }
.mhpe-footer__base {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
	padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(180, 199, 242, .18); font-size: .9375rem;
}
.mhpe-footer__base p { margin: 0; }
.mhpe-footer__legal { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.mhpe-credit a { color: var(--sky-soft); }
.mhpe-credit a:hover { color: #fff; }

/* Slim footer of the offer steps */
.mhpe-footer--slim { padding-top: 0; }
.mhpe-footer--slim .mhpe-footer__base { border-top: 0; padding-top: 20px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Page heads ---------- */
.mhpe-pagehead { background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); padding: 28px 0 40px; }
.mhpe-pagehead__inner { display: grid; gap: 26px; align-items: center; }
.mhpe-pagehead__crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9375rem; color: var(--muted); margin-bottom: 14px !important; }
.mhpe-pagehead__crumb .mhpe-icon { width: 14px; height: 14px; }
.mhpe-pagehead__crumb a { color: var(--muted); }
.mhpe-pagehead__title { font-size: clamp(2.2rem, 1.3rem + 4vw, 4rem); line-height: 1; font-stretch: 82%; letter-spacing: -.025em; text-wrap: balance; }
.mhpe-pagehead__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 52ch; margin-top: 16px; }
.mhpe-pagehead__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mhpe-pagehead__photo { --roof: 20%; aspect-ratio: 16 / 10; }

/* ---------- Forms ---------- */
.mhpe-field { display: grid; gap: 6px; margin-bottom: 18px; }
.mhpe-field label, .mhpe-choice legend { font-weight: 700; color: var(--ink); font-size: 1rem; }
.mhpe-req, .mhpe-opt { font-weight: 400; color: var(--muted); font-size: .9375rem; }
.mhpe-field input, .mhpe-field textarea {
	width: 100%; min-height: 54px; padding: 13px 16px; border-radius: 14px;
	border: 1.5px solid #c3cde3; background: var(--paper); color: var(--ink);
	font: inherit; font-size: 1.0625rem; line-height: 1.4;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.mhpe-field textarea { min-height: 120px; resize: vertical; }
.mhpe-field input:focus, .mhpe-field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(60, 90, 154, .22); }
.mhpe-field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.mhpe-field-row { display: grid; gap: 0 14px; }
.mhpe-hint { font-size: .9375rem; color: var(--muted); margin: 0; }
.mhpe-error { display: flex; gap: 6px; margin: 2px 0 0 !important; color: var(--err); font-weight: 700; font-size: .9375rem; }
.mhpe-error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--err); color: #fff; font-size: .75rem; }
.mhpe-choice { border: 0; padding: 0; margin: 4px 0 20px; min-width: 0; }
.mhpe-choice legend { padding: 0; margin-bottom: 10px; }
.mhpe-choice__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 8px; }
.mhpe-card-choice { position: relative; display: block; cursor: pointer; }
.mhpe-card-choice input, .mhpe-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mhpe-card-choice__box {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; min-height: 96px;
	padding: 14px; border-radius: 16px; border: 1.5px solid #c3cde3; background: var(--paper);
	font-weight: 700; color: var(--ink); line-height: 1.25;
	transition: border-color .2s ease, background-color .2s ease, transform .16s var(--ease-out);
}
.mhpe-card-choice__box .mhpe-icon { color: var(--indigo); width: 26px; height: 26px; }
.mhpe-card-choice:active .mhpe-card-choice__box { transform: scale(.98); }
.mhpe-card-choice input:checked + .mhpe-card-choice__box { border-color: var(--indigo); background: #edf2ff; box-shadow: inset 0 0 0 1.5px var(--indigo); }
.mhpe-card-choice input:focus-visible + .mhpe-card-choice__box, .mhpe-chip input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 3px; }
.mhpe-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mhpe-chip { position: relative; cursor: pointer; }
.mhpe-chip span {
	display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 10px 16px; border-radius: 999px;
	border: 1.5px solid #c3cde3; background: var(--paper); font-weight: 700; color: var(--ink); line-height: 1.2;
	transition: border-color .2s ease, background-color .2s ease;
}
.mhpe-chip--check .mhpe-icon { width: 0; height: 18px; opacity: 0; transition: width .2s var(--ease-out), opacity .2s ease; }
.mhpe-chip input:checked + span { border-color: var(--indigo); background: #edf2ff; }
.mhpe-chip--check input:checked + span .mhpe-icon { width: 18px; opacity: 1; color: var(--indigo); }
.mhpe-consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--mist); cursor: pointer; margin-top: 4px; flex-wrap: wrap; }
.mhpe-consent input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--indigo); }
.mhpe-consent span { flex: 1; min-width: 0; font-size: .9375rem; color: var(--text); }
.mhpe-consent .mhpe-error { width: 100%; }
.mhpe-privacy { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; color: var(--muted); margin-top: 12px !important; }
.mhpe-privacy .mhpe-icon { width: 18px; height: 18px; margin-top: 2px; }
.mhpe-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mhpe-form__status { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.mhpe-form__status.is-error { background: var(--err-soft); color: var(--err); }
.mhpe-notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 700; }
.mhpe-notice .mhpe-icon { margin-top: 2px; }
.mhpe-notice p { margin: 0; }
.mhpe-notice--ok { background: var(--ok-soft); color: var(--ok); }
.mhpe-notice--error { background: var(--err-soft); color: var(--err); }
.mhpe-notice--info { background: var(--mist); color: var(--ink); font-weight: 400; margin-top: 18px; }

/* Steps of the offer request */
.mhpe-step { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.mhpe-step__title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--ink); padding: 0; line-height: 1.15; }
.mhpe-step__title:focus { outline: none; }
.mhpe-step__lead { color: var(--muted); margin: 6px 0 20px !important; }
.mhpe-wizard.is-js .mhpe-step { margin-bottom: 0; }
.mhpe-wizard.is-js .mhpe-step.is-current { animation: mhpe-step-in .32s var(--ease-out); }
@keyframes mhpe-step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.mhpe-wizard__progress { margin-bottom: 22px; }
.mhpe-wizard__count { font-weight: 700; color: var(--indigo-ink); font-size: .9375rem; margin-bottom: 8px !important; }
.mhpe-wizard__bar { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mhpe-wizard__bar li { height: 6px; border-radius: 3px; background: var(--mist-2); position: relative; overflow: hidden; }
.mhpe-wizard__bar li::after { content: ""; position: absolute; inset: 0; background: var(--glow-deep); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.mhpe-wizard__bar li.is-done::after { transform: scaleX(1); }
.mhpe-wizard__nav { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
.mhpe-wizard__nav [hidden] { display: none !important; }
.mhpe-done { text-align: center; padding: 30px 6px 10px; }
.mhpe-done:focus { outline: none; }
.mhpe-done__mark { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--glow); color: var(--ink); animation: mhpe-pop .45s var(--ease-out); }
.mhpe-done__mark .mhpe-icon { width: 38px; height: 38px; stroke-width: 2.4; }
@keyframes mhpe-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.mhpe-done__title { font-size: 1.9rem; margin-bottom: 10px; }
.mhpe-done--small .mhpe-done__title { font-size: 1.5rem; }
.mhpe-done__text { max-width: 44ch; margin-inline: auto !important; }
.mhpe-done__next { text-align: left; max-width: 420px; margin: 24px auto; padding-left: 1.4em !important; display: grid; gap: 8px; }
.mhpe-done__next li::marker { color: var(--indigo); font-weight: 700; }
.mhpe-done__call { margin-bottom: 20px !important; }

/* Offer page */
.mhpe-offer { background: var(--mist); min-height: calc(100vh - var(--header-h)); padding: 24px 0 40px; }
.mhpe-offer__grid { display: grid; gap: 28px; }
.mhpe-offer__main { background: var(--paper); border-radius: var(--r-lg); padding: 24px 18px; box-shadow: var(--shadow-1); }
.mhpe-offer__title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); line-height: 1.02; font-stretch: 84%; letter-spacing: -.02em; }
.mhpe-offer__lead { color: var(--muted); margin: 10px 0 24px !important; }
.mhpe-offer__side { display: none; }
.mhpe-offer__photo { --roof: 18%; aspect-ratio: 4 / 3.6; margin-bottom: 24px; }
.mhpe-offer__side-title { font-size: 1.35rem; margin-bottom: 12px; }
.mhpe-mini-steps { list-style: none; counter-reset: s; display: grid; gap: 14px; }
.mhpe-mini-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 2px 12px; font-size: .9375rem; color: var(--muted); }
.mhpe-mini-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--dusk); color: var(--glow); font-weight: 800; font-family: var(--font-display); }
.mhpe-mini-steps strong { color: var(--ink); font-size: 1rem; }
.mhpe-offer__quote { margin: 26px 0 0; padding: 20px; border-radius: var(--r-md); background: var(--paper); }
.mhpe-offer__quote blockquote { margin: 10px 0; }
.mhpe-offer__quote figcaption { font-weight: 700; color: var(--ink); }
.mhpe-offer__call { margin-top: 20px !important; font-weight: 700; color: var(--ink); }
.mhpe-offer__call a, .mhpe-done__call a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* Contact */
.mhpe-reach { padding-top: 8px; }
.mhpe-reach__list { list-style: none; display: grid; gap: 14px; }
.mhpe-reach__card {
	display: grid; grid-template-columns: 52px 1fr; gap: 2px 16px; align-items: center; height: 100%;
	padding: 20px; border-radius: var(--r-lg); background: var(--paper); border: 1.5px solid var(--line);
	text-decoration: none !important; color: var(--text) !important;
	transition: border-color .2s ease, transform .16s var(--ease-out), box-shadow .2s ease;
}
.mhpe-reach__card:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .mhpe-reach__card:hover { border-color: var(--indigo); box-shadow: var(--shadow-1); } }
.mhpe-reach__ico { grid-row: span 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--dusk); color: var(--glow); }
.mhpe-reach__label { font-weight: 700; color: var(--muted); font-size: .9375rem; }
.mhpe-reach__value { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(1.05rem, .95rem + .5vw, 1.2rem); line-height: 1.25; overflow-wrap: break-word; }
.mhpe-reach__go { color: var(--indigo-ink); font-weight: 700; font-size: .9375rem; text-decoration: underline; }
.mhpe-ask { background: var(--mist); }
.mhpe-ask__grid { display: grid; gap: 28px; }
.mhpe-ask__offer { margin-top: 26px; padding: 20px; border-radius: var(--r-md); background: var(--paper); }
.mhpe-ask__offer p { font-weight: 700; color: var(--ink); }
.mhpe-panel { background: var(--paper); border-radius: var(--r-lg); padding: 22px 18px; box-shadow: var(--shadow-1); }
.mhpe-map__frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; margin-top: 24px; background: linear-gradient(160deg, var(--dusk-2), var(--dusk)); color: #d3def8; }
.mhpe-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mhpe-map__cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 20px; text-align: center; }
.mhpe-map__cover > .mhpe-icon { width: 40px; height: 40px; color: var(--glow); margin-bottom: 6px; }
.mhpe-map__address { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.2rem; }
.mhpe-map__note { font-size: .9375rem; max-width: 40ch; }
.mhpe-map__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.mhpe-map__actions .mhpe-btn--ink { background: var(--glow); color: var(--ink) !important; }
.mhpe-map__actions .mhpe-btn--line { color: #fff !important; border-color: rgba(180, 199, 242, .4); }

/* FAQ page */
.mhpe-faqpage__grid { display: grid; gap: 32px; }
.mhpe-faqpage__notes { display: grid; gap: 14px; align-content: start; }
.mhpe-note { padding: 22px; border-radius: var(--r-lg); background: var(--mist); }
.mhpe-note > .mhpe-icon { color: var(--indigo); width: 28px; height: 28px; margin-bottom: 10px; }
.mhpe-note h2 { font-size: 1.25rem; margin-bottom: 6px; }
.mhpe-note p { color: var(--muted); }

/* Article cards */
.mhpe-articles { background: var(--mist); }
.mhpe-cards { list-style: none; display: grid; gap: 18px; }
.mhpe-card__link { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; text-decoration: none !important; color: var(--text) !important; box-shadow: var(--shadow-1); transition: transform .2s var(--ease-out), box-shadow .2s ease; }
@media (hover: hover) and (pointer: fine) { .mhpe-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); } }
.mhpe-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.mhpe-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mhpe-card__body { display: grid; gap: 8px; padding: 20px 22px 22px; flex: 1; align-content: start; }
.mhpe-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.mhpe-card__text { color: var(--muted); font-size: 1rem; }
.mhpe-card__more { display: inline-flex; align-items: center; gap: 4px; color: var(--indigo-ink); font-weight: 700; margin-top: 6px; }
.mhpe-card__more .mhpe-icon { width: 18px; height: 18px; }
.mhpe-pager { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.mhpe-pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 700; }
.mhpe-pager .current { background: var(--dusk); color: #fff; }

/* Reviews page */
.mhpe-score { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0; }
.mhpe-score__num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--ink); line-height: 1; }
.mhpe-score .mhpe-stars .mhpe-icon { width: 22px; height: 22px; }
.mhpe-score__count { color: var(--muted); font-weight: 700; }
.mhpe-allreviews .mhpe-reviews { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.mhpe-leave { background: var(--mist); }
.mhpe-leave__grid { display: grid; gap: 26px; }
.mhpe-leave__form { background: var(--paper); border-radius: var(--r-lg); padding: 22px 18px; box-shadow: var(--shadow-1); }
.mhpe-leave__form .glsr-field, .mhpe-leave__form .glsr-form > div { margin-bottom: 16px; }
.mhpe-leave__form label, .mhpe-leave__form .glsr-label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 1rem; }
.mhpe-leave__form input[type="text"], .mhpe-leave__form input[type="email"], .mhpe-leave__form select, .mhpe-leave__form textarea {
	width: 100%; min-height: 54px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid #c3cde3; background: var(--paper);
	color: var(--ink); font: inherit; font-size: 1.0625rem;
}
.mhpe-leave__form textarea { min-height: 130px; }
.mhpe-leave__form input:focus, .mhpe-leave__form select:focus, .mhpe-leave__form textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(60, 90, 154, .22); }
.mhpe-leave__form input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--indigo); vertical-align: middle; margin-right: 8px; }
.mhpe-leave__form .glsr-field-choice label, .mhpe-leave__form .glsr-toggle label { font-weight: 400; display: inline; }
.mhpe-leave__form button[type="submit"], .mhpe-leave__form .glsr-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border: 0; border-radius: 999px;
	background: var(--dusk); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.mhpe-leave__form .glsr-field-error, .mhpe-leave__form .glsr-field-is-invalid .glsr-field-error { color: var(--err); font-weight: 700; font-size: .9375rem; }
.mhpe-leave__form .glsr-form-message { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--mist); font-weight: 700; color: var(--ink); }
.mhpe-leave__form .glsr-form-message.glsr-form-success { background: var(--ok-soft); color: var(--ok); }
.mhpe-leave__form .glsr-form-message.glsr-form-failed { background: var(--err-soft); color: var(--err); }

/* About */
.mhpe-story__grid { display: grid; gap: 32px; align-items: start; }
.mhpe-story__photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; }
.mhpe-story__text > p { font-size: 1.125rem; max-width: 62ch; }
.mhpe-story__text .mhpe-h2 { margin-bottom: 18px; }
.mhpe-story__text .mhpe-avoid { margin: 6px 0 22px; }
.mhpe-bigquote { background: var(--mist); }
.mhpe-bigquote__fig { margin: 0 auto; max-width: 900px; text-align: center; }
.mhpe-bigquote__mark { width: 52px !important; height: 52px !important; color: var(--glow-deep); margin: 0 auto 12px; display: block; }
.mhpe-bigquote blockquote { margin: 0 0 18px; font-family: var(--font-display); font-weight: 650; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem); line-height: 1.1; color: var(--ink); text-wrap: balance; }

/* Articles */
.mhpe-article__head { background: linear-gradient(180deg, var(--mist), var(--paper)); padding: 28px 0 26px; }
.mhpe-article__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); line-height: 1.03; font-stretch: 84%; letter-spacing: -.02em; text-wrap: balance; }
.mhpe-article__meta { color: var(--muted); margin-top: 12px !important; }
.mhpe-article__photo { max-width: calc(900px + 2 * var(--gutter)); margin-bottom: 30px; }
.mhpe-article__photo img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.mhpe-prose { font-size: 1.125rem; line-height: 1.7; color: var(--text); padding-bottom: 20px; }
.mhpe-prose h2 { font-size: 1.7rem; margin: 1.6em 0 .5em; line-height: 1.15; }
.mhpe-prose h3, .mhpe-prose h4 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
.mhpe-prose ul, .mhpe-prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.mhpe-prose li { margin-bottom: .4em; }
.mhpe-prose img { border-radius: var(--r-md); margin: 1em 0; }
.mhpe-prose figure { margin: 1.4em 0; }
.mhpe-prose a { color: var(--indigo-ink); }
.mhpe-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--glow); color: var(--ink); }
.mhpe-prose .elementor-section, .mhpe-prose .elementor-container, .mhpe-prose .elementor-column, .mhpe-prose .elementor-widget-wrap { display: block; width: auto !important; }
.mhpe-article__cta { margin-top: 18px; margin-bottom: 56px; }
.mhpe-article__cta { background: var(--dusk); color: #d3def8; border-radius: var(--r-lg); padding: 28px 24px; max-width: 760px; }
.mhpe-article__cta h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }

/* 404 */
.mhpe-lost { padding: 64px 0 96px; background: linear-gradient(180deg, var(--mist), var(--paper)); text-align: center; }
.mhpe-lost__inner { max-width: 720px; }
.mhpe-lost__mark .mhpe-icon { width: 72px; height: 72px; color: var(--indigo); margin: 0 auto 16px; display: block; }
.mhpe-lost .mhpe-lead { margin-inline: auto; }
.mhpe-lost__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Tablet ---------- */
@media (min-width: 700px) {
	:root { --gutter: 32px; }
	.mhpe-start__row { grid-template-columns: 1fr auto; }
	.mhpe-start .mhpe-btn { padding-inline: 26px; }
	.mhpe-steps { grid-template-columns: repeat(2, 1fr); }
	.mhpe-steps > li:last-child { grid-column: span 2; flex-direction: row; }
	.mhpe-steps > li:last-child .mhpe-step-card__media { flex: 0 0 48%; aspect-ratio: auto; }
	.mhpe-benefits { grid-template-columns: repeat(2, 1fr); gap: 26px 28px; }
	.mhpe-field-row { grid-template-columns: 1fr 1fr; }
	.mhpe-field-row .mhpe-field--zip { max-width: 220px; }
	.mhpe-field-row:has(.mhpe-field--zip) { grid-template-columns: 1fr 200px; }
	.mhpe-choice__grid { grid-template-columns: repeat(4, 1fr); }
	.mhpe-reach__list { grid-template-columns: repeat(3, 1fr); }
	.mhpe-reach__card { grid-template-columns: 1fr; align-content: start; gap: 6px; }
	.mhpe-reach__ico { grid-row: auto; margin-bottom: 10px; }
	.mhpe-cards { grid-template-columns: repeat(2, 1fr); }
	.mhpe-footer__grid { grid-template-columns: 1fr 1fr; }
	.mhpe-footer__brand { grid-column: span 2; }
	.mhpe-map__frame { aspect-ratio: 16 / 7; }
	.mhpe-pagehead__inner { grid-template-columns: 1.25fr 1fr; }
	.mhpe-pagehead__photo { aspect-ratio: 4 / 3.4; }
	.mhpe-offer__main { padding: 34px 32px; }
	.mhpe-panel, .mhpe-leave__form { padding: 30px 28px; }
	.mhpe-reviews--rail .mhpe-review { flex-basis: 360px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
	:root { --header-h: 76px; --gutter: 40px; }
	body.mhpe { padding-bottom: 0; }
	.mhpe-tabbar, .mhpe-sheet { display: none !important; }
	.mhpe-brand { width: 176px; margin-right: 0; }
	.mhpe-nav { display: block; margin-inline: auto; }
	.mhpe-nav ul { list-style: none; display: flex; gap: 2px; }
	.mhpe-nav a {
		display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 999px;
		color: inherit !important; text-decoration: none !important; font-weight: 700; font-size: 1rem;
		transition: background-color .2s ease;
	}
	.mhpe-nav a:hover { background: var(--mist); }
	.mhpe-header.is-over-dark:not(.is-scrolled) .mhpe-nav a:hover { background: rgba(255, 255, 255, .1); }
	.mhpe-nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--glow); border-radius: 0; }
	.mhpe-header__cta { display: inline-flex; min-height: 46px; padding-inline: 20px; }
	.mhpe-header--focus .mhpe-brand { margin-inline: auto; }

	.mhpe-hero { padding: 40px 0 72px; }
	.mhpe-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
	.mhpe-hero__copy { display: block; }
	.mhpe-hero__art { display: block; position: relative; }
	.mhpe-hero__lead { font-size: 1.2rem; margin-bottom: 30px; }
	.mhpe-hero .mhpe-start { margin-top: 0; }
	.mhpe-start { padding: 22px; }
	.mhpe-house--hero { --roof: 22%; aspect-ratio: 4 / 5; max-width: 520px; margin-left: auto; }
	.mhpe-hero__rating { position: absolute; margin: 0; left: -28px; bottom: 34px; padding: 12px 18px; font-size: 1rem; box-shadow: var(--shadow-2); background: var(--paper); border: 0; color: var(--ink) !important; }

	.mhpe-avoidsec__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
	.mhpe-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
	.mhpe-steps > li:last-child { grid-column: auto; flex-direction: column; }
	.mhpe-steps > li:last-child .mhpe-step-card__media { flex: none; aspect-ratio: 4 / 3; }
	.mhpe-why__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; }
	.mhpe-askhome__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; }
	.mhpe-reviews--rail { padding-inline: var(--gutter); }
	.mhpe-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }

	.mhpe-footer { padding-top: 88px; }
	.mhpe-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
	.mhpe-footer__brand { grid-column: auto; }
	.mhpe-footer__roof { top: -54px; height: 56px; }

	.mhpe-pagehead { padding: 48px 0 64px; }
	.mhpe-pagehead:not(.has-photo) .mhpe-pagehead__inner { grid-template-columns: 1fr; }
	.mhpe-pagehead__photo { max-width: 460px; justify-self: end; width: 100%; }

	.mhpe-offer { padding: 40px 0 72px; }
	.mhpe-offer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
	.mhpe-offer__main { padding: 44px 48px; }
	.mhpe-offer__side { display: block; position: sticky; top: calc(var(--header-h) + 24px); }

	.mhpe-ask__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
	.mhpe-faqpage__grid { grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: start; }
	.mhpe-faqpage__notes { position: sticky; top: calc(var(--header-h) + 24px); }
	.mhpe-leave__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
	.mhpe-story__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
	.mhpe-story__photo { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (min-width: 1280px) {
	.mhpe-nav a { padding: 0 14px; }
	.mhpe-call { background: transparent !important; padding: 0 6px; }
	.mhpe-call__number { display: inline; }
	.mhpe-hero__title { font-size: 4.9rem; }
}

@media (min-width: 1600px) {
	:root { --wrap: 1320px; }
	body.mhpe { font-size: 1.125rem; }
}

/* Phones narrower than 360px */
@media (max-width: 359px) {
	:root { --gutter: 16px; }
	.mhpe-brand { width: 128px; }
	.mhpe-lang a { min-width: 36px; padding: 0 6px; }
	.mhpe-tab { font-size: .6875rem; }
	.mhpe-choice__grid { grid-template-columns: 1fr; }
}

/* Phones and tablets: the offer steps keep their buttons in thumb reach. */
@media (max-width: 1023px) {
	.mhpe-wizard.is-js .mhpe-wizard__nav {
		position: sticky; bottom: 0; z-index: 5;
		margin: 22px -18px -24px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
	}
	.mhpe-header--focus .mhpe-call--icon { background: var(--mist); }
}
@media (min-width: 700px) and (max-width: 1023px) {
	.mhpe-wizard.is-js .mhpe-wizard__nav { margin-inline: -32px; padding-inline: 32px; margin-bottom: -34px; }
}

/* Computer header: the menu, the phone and the offer button stay on one line in both languages, with the
   "Ask us" button too (measured at 1024, 1100, 1180, 1280, 1440, 1600 and 1920 px). */
@media (min-width: 1024px) {
	.mhpe-nav a, .mhpe-header__cta, .mhpe-call__number { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1599px) {
	.mhpe-nav ul { gap: 0; }
	.mhpe-nav a { padding: 0 9px; }
	.mhpe-header__tools { gap: 6px; }
	.mhpe-header__inner { gap: 10px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.mhpe-brand { width: 148px; }
	.mhpe-header__cta { padding-inline: 16px; }
}
@media (min-width: 1024px) and (max-width: 1099px) {
	.mhpe-brand { width: 132px; }
	.mhpe-nav a { padding: 0 7px; font-size: .9375rem; }
	.mhpe-header__cta { padding-inline: 14px; }
}

/* ---------- "Ask us" window (quick answers, site search, AI assistant when it really answers) ---------- */
@media (max-width: 429px) {
	.mhpe-brand { width: 124px; }
	.mhpe-header__tools { gap: 6px; }
}
@media (max-width: 359px) {
	.mhpe-brand { width: 116px; }
	.mhpe-helpbtn { display: none; }
}
.mhpe-sheet__ask {
	display: flex; align-items: center; gap: 14px; margin: 6px 0 4px; padding: 12px 14px;
	border-radius: var(--r-md); background: var(--dusk); color: #fff !important; text-decoration: none;
}
.mhpe-sheet__ask .mhpe-sheet__ico { background: var(--glow); color: var(--ink); }
.mhpe-sheet__asktext { display: grid; gap: 2px; }
.mhpe-sheet__asktext strong { font-size: 1.125rem; }
.mhpe-sheet__asktext small { font-size: .9375rem; color: var(--sky-soft); }
.mhpe-sheet__ask .mhpe-sheet__go { color: var(--sky); }

.mhpe-help {
	position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none;
	margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; color: var(--text);
}
.mhpe-help::backdrop { background: rgba(10, 16, 36, 0); transition: background-color .22s ease; }
.mhpe-help.is-open::backdrop { background: rgba(10, 16, 36, .55); }
.mhpe-help__panel {
	position: absolute; left: 0; right: 0; bottom: 0;
	display: flex; flex-direction: column; max-height: 92vh; max-height: 92dvh; overflow: auto; overscroll-behavior: contain;
	background: var(--paper); border-radius: 26px 26px 0 0;
	padding: 10px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px));
	transform: translateY(100%); transition: transform .32s var(--ease-drawer);
}
.mhpe-help.is-open .mhpe-help__panel { transform: translateY(0); }
.mhpe-help__grip { flex: none; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 8px; }
.mhpe-help__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mhpe-help__title { font-size: 1.5rem; }
.mhpe-help__ai { display: grid; gap: 8px; margin: 8px 0 6px; padding: 14px; border-radius: var(--r-md); background: var(--dusk); }
.mhpe-help__ai .mhpe-btn { background: var(--glow); color: var(--ink) !important; }
.mhpe-help__notice, .mhpe-help__unavailable { margin: 0; font-size: .875rem; line-height: 1.45; color: var(--sky-soft); }
.mhpe-help__unavailable { color: #fff; font-weight: 700; }
.mhpe-help__search { margin: 10px 0 4px; }
.mhpe-help__label { display: block; margin-bottom: 6px; font-weight: 700; color: var(--ink); }
.mhpe-help__field { position: relative; }
.mhpe-help__field .mhpe-icon { position: absolute; left: 14px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.mhpe-help__field input {
	width: 100%; min-height: 52px; padding: 0 14px 0 46px; border: 1.5px solid var(--line); border-radius: var(--r-md);
	background: var(--mist); color: var(--ink); font: inherit; font-size: 1.0625rem;
}
.mhpe-help__field input:focus { outline: 3px solid var(--indigo); outline-offset: 1px; background: var(--paper); border-color: var(--indigo); }
.mhpe-help__count { min-height: 1.4em; margin: 6px 2px 0; font-size: .875rem; color: var(--muted); }
.mhpe-help__group { margin-top: 14px; }
.mhpe-help__h { margin: 0 0 4px; font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mhpe-help__item { border-bottom: 1px solid var(--mist-2); }
.mhpe-help__item summary {
	display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 2px; cursor: pointer;
	list-style: none; font-weight: 700; color: var(--ink); line-height: 1.35;
}
.mhpe-help__item summary::-webkit-details-marker { display: none; }
.mhpe-help__chev { flex: none; width: 20px; height: 20px; margin-left: auto; color: var(--muted); transition: transform .2s var(--ease-out); }
.mhpe-help__item[open] .mhpe-help__chev { transform: rotate(180deg); }
.mhpe-help__num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--glow-soft); color: var(--ink); font-size: .875rem; }
.mhpe-help__a { padding: 0 2px 14px; }
.mhpe-help__a p, .mhpe-help__a ul { margin: 0; }
.mhpe-help__a ul { margin-top: 6px; padding-left: 1.2em; }
.mhpe-help__links { list-style: none; margin: 0; padding: 0; }
.mhpe-help__links a {
	display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 2px;
	color: var(--ink) !important; text-decoration: none; border-bottom: 1px solid var(--mist-2); overflow-wrap: anywhere;
}
.mhpe-help__links .mhpe-icon { flex: none; width: 22px; height: 22px; color: var(--indigo); }
.mhpe-help__links strong { font-weight: 700; }
.mhpe-help__none { margin-top: 12px; padding: 16px; border-radius: var(--r-md); background: var(--mist); }
.mhpe-help__none p { margin: 0; }
.mhpe-help__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.mhpe-help__foot { margin: 16px 0 0; font-size: .9375rem; color: var(--muted); }
.mhpe-help__foot a { font-weight: 700; color: var(--indigo-ink); }
.mhpe-help [hidden] { display: none !important; }
/* The Interdigy AI Assistant draws its own button at the bottom right: the tab bar leaves that corner free
   (80px fits its 56px phone circle; the page script measures the wider tablet pill). */
body.mhpe-ai .mhpe-tabbar { padding-right: var(--mhpe-ai-space, 80px); }
.mhpe-tabbar.is-tight .mhpe-tab > span:last-child:not(.mhpe-tab__bubble) {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
	.mhpe-help__item summary:hover, .mhpe-help__links a:hover { color: var(--indigo-ink) !important; }
}
@media (min-width: 1024px) {
	.mhpe-help__panel {
		left: 50%; right: auto; bottom: auto; top: 9vh; width: min(680px, calc(100% - 48px)); max-height: 82vh;
		border-radius: var(--r-lg); padding: 22px 28px 24px; box-shadow: var(--shadow-2);
		transform: translate(-50%, 12px) scale(.98); opacity: 0; transition: transform .22s var(--ease-out), opacity .18s ease;
	}
	.mhpe-help.is-open .mhpe-help__panel { transform: translate(-50%, 0); opacity: 1; }
	.mhpe-help__grip { display: none; }
}

/* Less motion */
@media (prefers-reduced-motion: reduce) {
	html:has(body.mhpe) { scroll-behavior: auto; }
	.mhpe *, .mhpe *::before, .mhpe *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* Print: the content only. */
@media print {
	.mhpe-header, .mhpe-tabbar, .mhpe-sheet, .mhpe-closing, .mhpe-footer__roof { display: none !important; }
	body.mhpe { padding: 0; }
}
