/* Homebuyer Group: homepage v2 and offer form.
   Scoped to body.hbg-v2 where it matters, so plugin markup elsewhere is unaffected. */

/* ---------- Fonts (self-hosted; run tools/fetch-fonts.sh to add the files) ---------- */
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/league-spartan-700.woff2") format("woff2"); }
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/league-spartan-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--ink: #1B1D23;
	--charcoal: #252830;
	--green: #2E8550;
	--green-dark: #226640;
	--green-light: #5CC384;
	--green-tint: #E7F3EB;
	--mint: #F2F7F3;
	--near-black: #161719;
	--deep-green: #13291D;
	--body: #4A4E59;
	--muted: #5A5E69;
	--border: #E6E7EB;
	--border-strong: #C9CCD3;
	--card-border: #DADCE2;
	--surface: #F7F7F9;
	--white: #FFFFFF;
	--error: #B42318;

	--font-head: "League Spartan", "Arial Narrow", Arial, sans-serif;
	--font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--gutter: 24px;
	--radius: 12px;
	--radius-lg: 16px;
	--shadow: 0 12px 32px rgba(22, 23, 25, 0.14);
	--focus: 0 0 0 3px #FFFFFF, 0 0 0 6px var(--green);
}
@media (max-width: 480px) { :root { --gutter: 16px; } }

/* ---------- Base ---------- */
.hbg-v2, .hbg-v2 *, .hbg-v2 *::before, .hbg-v2 *::after { box-sizing: border-box; }
html:has(body.hbg-v2) { scroll-behavior: smooth; scroll-padding-top: 96px; }
html:has(dialog.offer[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html:has(body.hbg-v2) { scroll-behavior: auto; } }

body.hbg-v2 {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.hbg-v2 img { max-width: 100%; height: auto; display: block; }
.hbg-v2 h1, .hbg-v2 h2, .hbg-v2 h3, .hbg-v2 p, .hbg-v2 figure, .hbg-v2 blockquote, .hbg-v2 dl, .hbg-v2 dd { margin: 0; }
.hbg-v2 h1, .hbg-v2 h2, .hbg-v2 h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: inherit; }
.hbg-v2 h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.hbg-v2 h3 { font-size: 21px; font-weight: 700; }
.hbg-v2 .h2-xl { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; }
.hbg-v2 ul, .hbg-v2 ol { margin: 0; padding: 0; list-style: none; }
.hbg-v2 a { color: var(--green); text-underline-offset: 2px; }
.hbg-v2 a:hover { color: var(--green-dark); }
.hbg-v2 :focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.hbg-v2 [tabindex="-1"]:focus { outline: none; box-shadow: none; }
.hbg-v2 button { font-family: inherit; }
.hbg-v2 [hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--ink); color: #fff !important; padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Placeholders Matt must supply: deliberately loud until replaced. */
.ph { background: #FFF1B8; color: #5C4400; outline: 1px dashed #B58900; outline-offset: 1px; border-radius: 3px; padding: 0 3px; font-style: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.section--dark .ph, .section--deep .ph, .topbar .ph, .site-footer .ph { background: rgba(255, 214, 0, 0.16); color: #FFE48A; outline-color: #C9A227; }
.hbg-v2 .stat__value .ph, .hbg-v2 h1 .ph, .hbg-v2 h2 .ph { font: inherit; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 900px; }
.wrap--cta { max-width: 820px; }
.stack-md { display: flex; flex-direction: column; gap: 32px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.section { padding: 88px 0 56px; }
.section--tight { padding: 56px 0; }
.section--roomy { padding: 96px 0; }
.section--flush-top { padding-top: 24px; }
.section--dark { background: var(--near-black); color: var(--white); padding: 88px 0; }
.section--deep { background: var(--deep-green); color: var(--white); }
.section--mint { background: var(--mint); padding: 80px 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-head p { color: var(--body); font-size: 18px; }
.section-head--center { align-items: center; text-align: center; margin: 0 auto; }
.section--dark .section-head p { color: #C9CCD6; max-width: 640px; }
.hl { color: var(--green); }
.hl-light { color: var(--green-light); }
@media (max-width: 720px) {
	.section { padding: 56px 0 40px; }
	.section--dark, .section--roomy, .section--mint { padding: 56px 0; }
	.section--flush-top { padding-top: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 18px;
	border-radius: 10px; border: 1.5px solid transparent;
	font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
	cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { min-height: 54px; padding: 0 24px; font-size: 17px; border-radius: 12px; }
.btn--block { width: 100%; }
.hbg-v2 .btn--green { background: var(--green); color: var(--white); }
.hbg-v2 .btn--green:hover { background: var(--green-dark); color: var(--white); }
.hbg-v2 .btn--outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; font-weight: 600; }
.hbg-v2 .btn--outline:hover { background: var(--charcoal); color: var(--white); }
.hbg-v2 .btn--outline-light { border-color: var(--charcoal); color: var(--charcoal); background: var(--white); }
.hbg-v2 .btn--quiet { background: transparent; border-color: var(--border-strong); color: var(--ink); font-weight: 500; font-size: 15px; }
.hbg-v2 .btn[disabled] { opacity: .7; cursor: progress; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--near-black); color: var(--white); font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.hbg-v2 .topbar a { color: var(--white); font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.site-header__logo { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.site-header__logo img { height: 48px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 16px; font-weight: 500; margin-left: auto; }
.hbg-v2 .site-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.hbg-v2 .site-nav a:hover { color: var(--green); }
.site-header__actions { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
	.site-header__inner { flex-wrap: wrap; }
	.site-header__logo img { height: 40px; }
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
		min-height: 44px; padding: 0 14px; border: 1.5px solid var(--border-strong); border-radius: 10px;
		background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer;
	}
	.site-nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; margin: 0; border-top: 1px solid var(--border); }
	.site-nav.is-open { display: flex; }
	.hbg-v2 .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
	.site-header__actions { order: 2; }
}
@media (max-width: 720px) {
	/* The sticky bottom bar carries the CTA on phones. */
	.site-header__actions { display: none; }
	.site-header__inner { padding-top: 10px; padding-bottom: 10px; }
	.site-header__logo img { height: 36px; }
	.topbar__inner { justify-content: center; text-align: center; font-size: 13px; }
}

/* ---------- Forms (shared) ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.hbg-v2 input[type="text"], .hbg-v2 input[type="tel"], .hbg-v2 input[type="email"] {
	width: 100%; min-height: 52px; padding: 0 16px;
	font: inherit; font-size: 17px; color: var(--ink);
	background: var(--white); border: 1.5px solid var(--border-strong); border-radius: var(--radius);
	-webkit-appearance: none; appearance: none;
}
.hbg-v2 input::placeholder { color: #767A85; }
.hbg-v2 input:focus-visible { border-color: var(--green); box-shadow: 0 0 0 3px rgba(46, 133, 80, .35); border-radius: var(--radius); }
.hbg-v2 input[aria-invalid="true"] { border-color: var(--error); }
.hbg-v2 select {
	width: 100%; min-height: 52px; padding: 0 44px 0 16px;
	font: inherit; font-size: 16px; color: var(--ink);
	border: 1.5px solid var(--border-strong); border-radius: var(--radius);
	-webkit-appearance: none; appearance: none;
	background: var(--white) no-repeat right 16px center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4E59' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.hbg-v2 select:focus-visible { border-color: var(--green); box-shadow: 0 0 0 3px rgba(46, 133, 80, .35); border-radius: var(--radius); }
.hbg-v2 select[aria-invalid="true"] { border-color: var(--error); }
.lookup-row { display: flex; gap: 10px; }
.lookup-row input { flex: 1 1 auto; min-width: 0; }
.hbg-v2 .lookup-row .btn { flex: 0 0 auto; min-height: 52px; border-radius: var(--radius); }
.link-btn { align-self: flex-start; min-height: 44px; padding: 0; background: none; border: 0; color: var(--green); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link-btn:hover { color: var(--green-dark); }
.offer__status { font-size: 14px; color: var(--muted); margin-top: -8px; }
.offer__status:empty { display: none; }
.field__error { color: var(--error); font-size: 14px; font-weight: 500; }
.field__error:empty { display: none; }

/* ---------- Hero ---------- */
.hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.hbg-v2 .hero__title { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -0.02em; }
.hero__lead { font-size: 19px; color: var(--body); max-width: 560px; }
.start-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; max-width: 580px; }
.start-form__field { flex: 1 1 240px; }
.start-form .btn { flex: 0 0 auto; }
.start-form__note { flex: 1 1 100%; font-size: 14px; color: var(--muted); }
.start-form__note a { font-weight: 600; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--body); }
.trust-row strong { color: var(--ink); }
.hero__media { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; }
.hero__photo { width: 100%; height: 520px; object-fit: cover; object-position: 50% 40%; border-radius: 220px 220px 28px 28px; background: #E4EBE6; }
.hero__photo--placeholder { display: flex; align-items: center; justify-content: center; padding: 32px; text-align: center; font-size: 15px; color: var(--body); }
/* Line-art house in the arch, used while there's no hero photo. */
.hero__art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 48px 32px 96px; color: var(--green); }
.hero__art svg { width: 60%; max-width: 260px; height: auto; }
.hero__art-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero__art-tags li { background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.quote-card { position: relative; margin: -72px 24px 0; background: var(--white); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.quote-card blockquote { font-size: 17px; line-height: 1.5; }
.quote-card figcaption { font-size: 15px; color: var(--muted); }
.quote-card figcaption strong { color: var(--ink); }
@media (max-width: 720px) {
	.hero__inner { padding-top: 40px; padding-bottom: 48px; gap: 36px; }
	.hero__lead { font-size: 18px; }
	.start-form .btn { flex: 1 1 100%; }
	.hero__photo { height: 400px; border-radius: 180px 180px 24px 24px; }
	.hero__art { height: 320px; gap: 20px; padding: 40px 24px 76px; }
	.hero__art svg { width: 44%; }
	.quote-card { margin: -56px 12px 0; }
}

/* ---------- Key numbers ---------- */
.numbers { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.numbers .wrap { padding-top: 40px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 16px; }
.numbers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; }
.stat dt { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stat dd { color: var(--body); font-size: 16px; }
.hbg-v2 .stat .stat__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.05; color: var(--green); }
.numbers__caveat { font-size: 13px; color: var(--muted); }
@media (max-width: 520px) {
	.numbers__grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
	.hbg-v2 .stat .stat__value { font-size: 2.1rem; }
	.stat dt { font-size: 12px; letter-spacing: 0.05em; }
	.stat dd { font-size: 15px; }
}

/* ---------- Cards, steps ---------- */
.card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card > svg { color: var(--green); }
.card p { color: var(--body); }
.card--lg { border-color: var(--card-border); padding: 32px; gap: 12px; }
.hbg-v2 .card--lg h3 { font-size: 24px; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps p { color: var(--body); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 18px; }

/* ---------- Pricing ---------- */
.pricing { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.pricing__copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pricing__copy p { font-size: 18px; color: #D5D8E0; }
.pricing__card { flex: 1 1 320px; min-width: 0; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.hbg-v2 .pricing__label { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pricing__card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.pricing__card dl > div:first-child { padding-top: 0; }
.pricing__card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.pricing__card dd { font-weight: 700; text-align: right; }

/* ---------- Situations ---------- */
.situations { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.hbg-v2 .situation { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--card-border); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
.hbg-v2 .situation:hover { border-color: var(--green); background: var(--white); color: var(--ink); }
.situation strong { font-family: var(--font-head); font-size: 19px; font-weight: 700; line-height: 1.25; }
.situation span { color: var(--body); font-size: 16px; }

/* ---------- Agent route vs ours ---------- */
.routes { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.route { flex: 1 1 440px; min-width: 0; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.route--agent { background: #1D1E21; }
.route--ours { flex-basis: 380px; background: #1B2A21; border: 1.5px solid var(--green); }
.route__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.hbg-v2 .route__head h3 { font-size: 24px; }
.route__head span { font-size: 14px; font-weight: 600; color: #B9BCC6; }
.route--ours .route__head span { color: var(--green-light); }
.route__list { counter-reset: route; }
.route__list li { counter-increment: route; display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid #2B2D32; color: #D5D8E0; }
.route__list li::before { content: counter(route); flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #4A4E59; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #B9BCC6; }
.route__list--ours li { align-items: flex-start; padding: 14px 0; border-top-color: #2A4234; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; display: grid; grid-template-columns: 36px 1fr; }
.route__list--ours li::before { width: 36px; height: 36px; border: 0; background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 16px; grid-row: span 2; }
.route__list--ours strong { font-size: 18px; color: var(--white); }
.route__list--ours span { color: #C9D9CE; font-size: 15px; }
.route__risks { background: #2A1E1D; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.route__risks ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; color: #F3D6D2; font-size: 15px; }
.route__risks li { display: flex; gap: 10px; align-items: center; }
.route__risks li::before { content: ""; flex: 0 0 18px; height: 18px; background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F08A7E' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.route__risks > span { font-size: 14px; color: #D9B8B3; }
.route__badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.route__tagline { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: #C9D9CE; }
.route--ours .btn { margin-top: auto; }
@media (max-width: 520px) { .route { padding: 24px 20px; } }

/* ---------- Reviews ---------- */
.reviews__head { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-end; }
.reviews__head a { font-weight: 600; }
.reviews { gap: 20px; }
.review { background: var(--white); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { font-size: 17px; }
.review figcaption { font-size: 15px; color: var(--muted); margin-top: auto; }
.review figcaption strong { color: var(--ink); }

/* ---------- Who we work with ---------- */
.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.audience__card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; aspect-ratio: 4 / 5; padding: 24px; border-radius: 20px; overflow: hidden; color: var(--white); text-decoration: none; background: radial-gradient(120% 90% at 85% 0%, #2E8550 0%, #1C4D31 45%, var(--deep-green) 100%); }
.audience__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.audience__img--seller { object-position: 50% 58%; }
.audience__img--landlord { object-position: 50% 30%; }
.audience__img--agent { object-position: 50% 20%; }
.audience__img--developer { object-position: 35% 40%; }
.hbg-v2 .audience__card, .hbg-v2 .audience__card:hover { color: var(--white); }
.audience__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 41, 29, 0) 22%, rgba(19, 41, 29, .7) 52%, rgba(19, 41, 29, .96) 78%); }
.audience__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-light); }
.audience__title { font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1.05; }
.audience__line { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.audience__more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; font-weight: 700; }
.audience__more::after { content: "→"; transition: transform .2s ease; }
.audience__card:hover .audience__img { transform: scale(1.04); }
.audience__card:hover .audience__more::after { transform: translateX(4px); }
.hbg-v2 .audience__card:focus-visible { border-radius: 20px; }
@media (max-width: 1024px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.audience { grid-template-columns: 1fr; gap: 14px; }
	.audience__card { aspect-ratio: 16 / 11; padding: 20px; }
	.audience__card::after { background: linear-gradient(180deg, rgba(19, 41, 29, .35) 0%, rgba(19, 41, 29, .82) 45%, rgba(19, 41, 29, .96) 100%); }
	.audience__title { font-size: 26px; }
	.audience__img--seller { object-position: 50% 100%; }
	.audience__img--landlord { object-position: 50% 38%; }
	.audience__img--agent { object-position: 50% 30%; }
}
@media (prefers-reduced-motion: reduce) { .audience__img, .audience__more::after { transition: none; } }

/* ---------- Landing pages (templates/page-v2.php) ---------- */
.landing-head .start-form { max-width: 640px; margin-top: 8px; }
.landing-head .trust-row { margin-top: 4px; }

/* ---------- Team ---------- */
.team li { display: flex; align-items: flex-start; gap: 24px; padding: 28px; border: 1px solid var(--card-border); border-radius: var(--radius-lg); }
.team__avatar { flex: 0 0 auto; width: 168px; height: auto; }
.team__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.team__name { font-family: var(--font-head); font-size: 24px; font-weight: 800; line-height: 1.1; margin: 0; }
.team__role { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.team__bio { margin: 4px 0 0; font-size: 16px; line-height: 1.6; color: var(--body); }
@media (max-width: 560px) {
	.team li { flex-direction: column; gap: 16px; padding: 24px; }
	.team__avatar { width: 180px; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 18px 0; font-size: 18px; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: 0 0 20px; height: 20px; background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E8550' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--body); padding: 0 0 20px; max-width: 760px; }

/* ---------- Final CTA ---------- */
.final-cta { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.final-cta > p { color: #D3E3D8; font-size: 18px; }
.final-cta__when { display: flex; flex-direction: column; gap: 12px; align-items: center; width: 100%; font-size: 15px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #4E6B5A; background: transparent; color: var(--white); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--green-light); }
.chip[aria-pressed="true"] { background: var(--green-light); border-color: var(--green-light); color: var(--deep-green); }
.postcode-bar { width: 100%; max-width: 640px; display: flex; flex-wrap: wrap; gap: 10px; background: var(--white); border-radius: 14px; padding: 8px; }
.hbg-v2 .postcode-bar input[type="text"] { flex: 1 1 240px; width: auto; min-height: 56px; border: 0; font-size: 18px; }
.postcode-bar .btn { min-height: 56px; }
@media (max-width: 520px) { .postcode-bar .btn { flex: 1 1 100%; } }
.final-cta__small { font-size: 14px; color: #D3E3D8; }
.hbg-v2 .final-cta__small a { color: var(--white); font-weight: 600; }
.hbg-v2 .section--deep :focus-visible, .hbg-v2 .section--dark :focus-visible, .hbg-v2 .site-footer :focus-visible { box-shadow: 0 0 0 3px var(--green-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--near-black); color: #C9CCD6; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.site-footer__grid > * { display: flex; flex-direction: column; gap: 8px; }
.site-footer__brand img { height: 52px; width: auto; align-self: flex-start; margin-bottom: 2px; }
.hbg-v2 .site-footer h2 { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: 0; }
.hbg-v2 .site-footer a { color: #C9CCD6; padding: 2px 0; }
.hbg-v2 .site-footer a:hover { color: var(--white); }
.hbg-v2 .site-footer .site-footer__phone { color: var(--white); font-weight: 600; }
.site-footer__legal { padding-bottom: 32px; color: #A7ABB7; font-size: 14px; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
		padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
		background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(22, 23, 25, .08);
	}
	.mobile-bar .btn { min-height: 48px; }
	body.hbg-v2 { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* ---------- Offer form (modal) ---------- */
dialog.offer {
	width: min(600px, calc(100% - 32px)); max-width: none; max-height: min(860px, calc(100% - 32px));
	padding: 0; border: 0; border-radius: 20px; background: var(--white); color: var(--ink);
	box-shadow: 0 20px 48px rgba(22, 23, 25, .24);
	font-family: var(--font-body); font-size: 17px; line-height: 1.55;
}
dialog.offer[open] { display: flex; }
dialog.offer::backdrop { background: rgba(22, 23, 25, .6); }
.offer__panel { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 20px; padding: 28px 32px 20px; overflow-y: auto; }
.offer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.offer__top img { height: 40px; width: auto; }
.offer__close { width: 44px; height: 44px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #F3F4F6; color: var(--body); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.offer__close:hover { background: var(--border); color: var(--ink); }
.offer__progress { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.offer__bar { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; }
.offer__bar span { display: block; height: 100%; width: 14.3%; background: var(--green); border-radius: 999px; transition: width .25s ease; }
.offer__body { flex: 1 0 auto; }
.offer__step { display: flex; flex-direction: column; gap: 16px; }
.hbg-v2 .offer__step h3 { font-size: 30px; font-weight: 800; line-height: 1.1; }
.options { display: grid; gap: 10px; }
.options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { min-height: 54px; padding: 10px 16px; text-align: left; border: 1.5px solid #D5D8DE; background: var(--white); border-radius: var(--radius); font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); cursor: pointer; transition: border-color .12s, background-color .12s; }
.options--3 .opt { text-align: center; font-size: 17px; }
.opt:hover { border-color: var(--green); }
.opt[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); }
.offer__note { font-size: 14px; color: var(--muted); }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 10px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.hbg-v2 .field--check label { font-size: 14px; font-weight: 400; color: var(--body); cursor: pointer; }
.field--check .field__error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.offer__captcha:empty { display: none; }
.offer__error { background: #FEF3F2; color: var(--error); border-radius: 10px; padding: 12px 14px; font-size: 15px; font-weight: 500; }
.offer__error a { color: inherit; font-weight: 700; }
.offer__step--done { min-height: 100%; justify-content: center; align-items: center; text-align: center; padding: 24px 0; }
.offer__step--done p { color: var(--body); max-width: 420px; }
.offer__step--done a { font-weight: 600; }
.offer__tick { width: 72px; height: 72px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; }
.offer__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; }
.offer__foot span { margin-left: auto; text-align: right; }
.offer__back { min-height: 44px; padding: 0 12px 0 0; background: transparent; border: 0; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }

@media (max-width: 600px) {
	dialog.offer { width: 100%; max-height: 100%; height: 100%; border-radius: 0; margin: 0; }
	.offer__panel { padding: 16px var(--gutter) calc(12px + env(safe-area-inset-bottom)); gap: 16px; }
	.offer__top img { height: 32px; }
	.hbg-v2 .offer__step h3 { font-size: 26px; }
	.offer__foot span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.offer__bar span, .faq__item summary::after, .btn, .chip, .opt, .situation { transition: none; }
}
