/* Homes Like Yours. Direction: trustworthy public-data look (deep green, warm neutrals) with one warm
   amber call-to-action colour that only appears on "talk to an installer" actions. The brand motif is a street of
   different homes with lit windows (the logo's two houses, repeated): it sits along the bottom of every hero and
   tops the footer. Type: Bricolage Grotesque for display, Inter for text, both self-hosted (SIL OFL, see fonts/). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/assets/fonts/bricolage-grotesque.woff2) format("woff2-variations"), url(/assets/fonts/bricolage-grotesque.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter.woff2) format("woff2-variations"), url(/assets/fonts/inter.woff2) format("woff2"); }
:root {
  --fg: #122326; --ink: #2c3e42; --muted: #5a6b6e; --faint: #8b9a98;
  --bg: #f8f6f1; --card: #fff; --line: #e5e5de; --line-strong: #c9d1cd;
  --brand: #0b6b58; --brand-deep: #084d40; --brand-ink: #063a30; --brand-night: #0e2420; --brand-tint: #e9f3ee; --brand-soft: #cfe5dc; --brand-mid: #a9c9bd; --mint: #9fe0c8;
  --cta: #f5b544; --cta-hover: #eea52a; --cta-fg: #1e1a0e; --cta-tint: #fff7e6;
  --warn: #b3261e; --focus: #1b7fd1;
  --radius: 14px; --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 34, .06);
  --shadow: 0 1px 2px rgba(16, 40, 34, .05), 0 6px 20px rgba(16, 40, 34, .07);
  --shadow-lg: 0 2px 4px rgba(16, 40, 34, .05), 0 16px 40px rgba(16, 40, 34, .12);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --street: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 96'%3E%3Cg fill='%23fff' fill-opacity='.1'%3E%3Cpath d='M0 96V54l30-24 30 24v42z'/%3E%3Cpath d='M64 96V40h44v56zM94 40v-9h7v9z'/%3E%3Cpath d='M112 96V60l34-24 34 24v36z'/%3E%3Cpath d='M184 96V70l30-18 30 18v26z'/%3E%3Cpath d='M248 96V48l34-24 34 24v48zM296 34v-10h7v15z'/%3E%3Cpath d='M320 96V58h52v38zM316 58l30-20 30 20z'/%3E%3Cpath d='M380 96V64l50-30 50 30v32z'/%3E%3C/g%3E%3Cpath fill='%23f5b544' fill-opacity='.75' d='M22 62h8v8h-8zM78 52h8v8h-8zM142 68h8v8h-8zM206 78h8v8h-8zM266 58h8v8h-8zM340 70h8v8h-8zM424 72h8v8h-8z'/%3E%3C/svg%3E");
  --street-foot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 96'%3E%3Cg fill='%230e2420' fill-opacity='1'%3E%3Cpath d='M0 96V54l30-24 30 24v42z'/%3E%3Cpath d='M64 96V40h44v56zM94 40v-9h7v9z'/%3E%3Cpath d='M112 96V60l34-24 34 24v36z'/%3E%3Cpath d='M184 96V70l30-18 30 18v26z'/%3E%3Cpath d='M248 96V48l34-24 34 24v48zM296 34v-10h7v15z'/%3E%3Cpath d='M320 96V58h52v38zM316 58l30-20 30 20z'/%3E%3Cpath d='M380 96V64l50-30 50 30v32z'/%3E%3C/g%3E%3Cpath fill='%23f5b544' fill-opacity='.9' d='M22 62h8v8h-8zM78 52h8v8h-8zM142 68h8v8h-8zM206 78h8v8h-8zM266 58h8v8h-8zM340 70h8v8h-8zM424 72h8v8h-8z'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23546569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16.5px/1.68 var(--font); font-feature-settings: "cv11", "ss03"; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--display); color: var(--fg); font-weight: 720; letter-spacing: -.02em; text-wrap: balance; }
a { color: var(--brand); text-underline-offset: .2em; text-decoration-thickness: from-font; }
a:hover { color: var(--brand-deep); }
strong { color: var(--fg); font-weight: 650; }
::selection { background: var(--brand-soft); color: var(--brand-ink); }
.wrap { max-width: 75rem; margin: 0 auto; padding: 0 1.5rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.banner { background: var(--warn); color: #fff; text-align: center; padding: .5rem 1rem; font-weight: 600; font-size: .9rem; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(248, 246, 241, .84); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(18, 35, 38, .07); }
.head-inner { max-width: 75rem; margin: 0 auto; padding: .75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 760; letter-spacing: -.025em; color: var(--brand-ink); text-decoration: none; font-size: 1.22rem; line-height: 1; white-space: nowrap; }
.brand:hover { color: var(--brand-ink); }
.brand .mark { width: 34px; height: 34px; color: var(--brand); flex: none; transition: transform .25s; }
.brand:hover .mark { transform: translateY(-2px) rotate(-4deg); }
.head-nav { display: flex; align-items: center; gap: .4rem; }
.head-nav > a:not(.btn) { color: var(--brand-ink); font-weight: 600; text-decoration: none; font-size: .95rem; padding: .5rem .9rem; border-radius: 999px; transition: background .15s; }
.head-nav > a:not(.btn):hover { background: rgba(11, 107, 88, .08); }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 0; border-radius: 999px; padding: .88rem 1.45rem; font: inherit; font-weight: 650; line-height: 1.2; letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s, color .15s; }
.btn-cta { background: var(--cta); color: var(--cta-fg); box-shadow: inset 0 -2px 0 rgba(120, 72, 0, .14), 0 6px 18px rgba(245, 181, 68, .32); }
.btn-cta:hover { background: var(--cta-hover); color: var(--cta-fg); transform: translateY(-1px); box-shadow: inset 0 -2px 0 rgba(120, 72, 0, .16), 0 10px 24px rgba(245, 181, 68, .42); }
.btn-cta:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--brand-deep); box-shadow: inset 0 0 0 1.5px var(--brand-soft); }
.btn-ghost:hover { background: #fff; color: var(--brand-deep); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-sm { padding: .58rem 1.1rem; font-size: .92rem; box-shadow: inset 0 -2px 0 rgba(120, 72, 0, .14); }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Hero: deep green "evening street" panel. Everything inside it is styled for a dark background. */
.hero { position: relative; isolation: isolate; overflow: hidden; margin: 1.75rem 0 0; padding: 2.4rem 2.6rem 6.25rem; border-radius: var(--radius-lg); color: #cfe3da;
  background: var(--street) repeat-x left bottom / 480px 96px, radial-gradient(90% 120% at 100% 0%, rgba(245, 181, 68, .2) 0%, rgba(245, 181, 68, 0) 50%), radial-gradient(80% 100% at 0% 100%, rgba(63, 174, 143, .28) 0%, rgba(63, 174, 143, 0) 60%), linear-gradient(160deg, #0d6553 0%, #08493d 55%, #063a30 100%); box-shadow: var(--shadow-lg); }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.25rem + 2.6vw, 3.1rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 760; margin: .8rem 0 1rem; max-width: 20ch; }
.hero .hl { color: var(--cta); }
.hero a:not(.btn):not(.example) { color: var(--mint); }
.hero a:not(.btn):not(.example):hover { color: #fff; }
.hero strong { color: #fff; }
.hero-home { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; padding: 3.5rem 3.25rem 7.5rem; }
.hero-home h1 { max-width: 15ch; margin-top: 0; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4rem); line-height: 1; }
.example { display: block; background: #fff; border-radius: var(--radius-lg); padding: 1.4rem 1.4rem 1.25rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); text-decoration: none; color: var(--fg); transform: rotate(1.2deg); transition: transform .25s, box-shadow .25s; }
.example:hover { transform: rotate(0) translateY(-4px); color: var(--fg); box-shadow: 0 30px 70px rgba(0, 0, 0, .32); }
.example strong { display: block; font-family: var(--display); font-size: 1.45rem; font-weight: 720; color: var(--fg); letter-spacing: -.025em; margin: .15rem 0 1rem; }
.example .eyebrow { color: var(--brand); }
.example-more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 650; color: var(--brand); font-size: .95rem; }
.lede { color: var(--ink); font-size: 1.12rem; line-height: 1.6; margin: 0 0 1.75rem; max-width: 58ch; }
.hero .lede { color: #cfe3da; }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; }
.crumbs a { text-decoration: none; font-weight: 550; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { color: var(--faint); }
.hero .crumbs { color: #a9c6bc; }
.hero .crumbs .sep { color: rgba(255, 255, 255, .3); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 0 0 1.75rem; max-width: 36rem; }
.stats div { background: var(--brand-tint); border-radius: var(--radius); padding: 1rem 1.1rem .95rem; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dd { margin: 0; font-family: var(--display); font-size: 2.1rem; font-weight: 720; letter-spacing: -.04em; color: var(--brand-deep); line-height: 1; font-variant-numeric: tabular-nums; }
.stats dt { color: var(--muted); font-size: .84rem; line-height: 1.35; margin-top: .4rem; }
.hero .stats div { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); backdrop-filter: blur(4px); }
.hero .stats dd { color: #fff; }
.hero .stats dt { color: #a9c6bc; }
.hero .example .stats { grid-template-columns: 1fr 1fr; margin-bottom: 1.1rem; max-width: none; }
.hero .example .stats div { background: var(--brand-tint); box-shadow: none; backdrop-filter: none; }
.hero .example .stats dd { color: var(--brand-deep); font-size: 1.7rem; }
.hero .example .stats dt { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-actions .btn { white-space: normal; text-align: center; }
.hero .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.sources { margin: .9rem .25rem 0; font-size: .8rem; line-height: 1.55; color: var(--muted); }

.grant-hook { position: relative; display: flex; flex-direction: column; gap: .2rem; margin: 0 0 1.6rem; padding: .95rem 1.1rem .9rem 1.25rem; background: var(--cta-tint); border: 1px solid #f2d394; border-radius: var(--radius); max-width: 46rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.grant-hook::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--cta); }
.grant-hook p { margin: 0; font-size: .97rem; line-height: 1.5; color: var(--ink); }
.grant-hook strong { color: var(--cta-fg); }
.grant-hook .grant-src { font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.grant-home { margin: 1.25rem 0 0; max-width: 36rem; }
.hero .grant-hook { background: rgba(245, 181, 68, .1); border-color: rgba(245, 181, 68, .4); box-shadow: none; }
.hero .grant-hook p { color: #dbe9e3; }
.hero .grant-hook strong { color: #ffd27f; }
.hero .grant-hook .grant-src { color: #a9c6bc; }
.form-grant { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 1.1rem; padding: .65rem .8rem; background: var(--cta-tint); border: 1px solid #f2d394; border-radius: 10px; font-size: .85rem; line-height: 1.4; font-weight: 650; color: var(--cta-fg); }
.form-grant::before { content: "£"; flex: none; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--cta); font-size: .75rem; font-weight: 800; }

/* Home search */
.search { display: flex; gap: .5rem; max-width: 36rem; background: #fff; padding: .4rem; border-radius: 999px; box-shadow: var(--shadow-lg); border: 1px solid rgba(11, 107, 88, .14); transition: box-shadow .15s, border-color .15s; }
.search:focus-within { border-color: var(--brand); box-shadow: var(--shadow-lg), 0 0 0 4px rgba(11, 107, 88, .12); }
.search input { flex: 1; min-width: 0; border: 0; padding: .7rem 1.1rem; font: inherit; font-size: 1.08rem; color: var(--fg); background: transparent; border-radius: 999px; }
.search input::placeholder { color: var(--faint); }
.search input:focus-visible { outline: none; }
.search .btn { padding-left: 1.5rem; padding-right: 1.5rem; }
#lookup-status { margin: .6rem 0 0 1rem; min-height: 1.4em; font-size: .95rem; }
#lookup-status.err { color: var(--warn); font-weight: 600; }
.hero #lookup-status { color: #cfe3da; }
.hero #lookup-status.err { color: #ffb4a8; }
.hero .search { border-color: transparent; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.hero .search:focus-within { box-shadow: 0 18px 50px rgba(0, 0, 0, .25), 0 0 0 4px rgba(245, 181, 68, .45); }

/* Main layout: content + sticky lead form */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 23.5rem; gap: 3rem; align-items: start; margin: 1.75rem 0 3.5rem; }
.main-col { min-width: 0; }
.layout .hero { margin-top: 0; }
.content { max-width: 43rem; margin-top: 2.25rem; }
.side { position: sticky; top: 5rem; max-height: calc(100vh - 5.75rem); overflow-y: auto; overscroll-behavior: contain; border-radius: calc(var(--radius) + 6px); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.topic { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.topic:first-child { padding-top: 0; }
.topic h2, .children h2, .how h2, section > h2 { font-size: 1.55rem; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 .75rem; }
.topic p { margin: 0 0 .85rem; }
.topic p:last-child { margin-bottom: 0; }
.topic ul { padding-left: 1.2rem; }
.official { margin: 1.6rem 0; font-weight: 650; }

/* Comparison chart */
.compare, .recs { margin: 1.25rem 0 0; padding: 1.1rem 1.25rem 1.15rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare figcaption, .recs figcaption { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .8rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.key { display: inline-block; width: .75rem; height: .75rem; border-radius: 3px; margin-left: .6rem; }
.key:first-child { margin-left: 0; }
.key-here, .bar-here { background: var(--brand); }
.key-there, .bar-there { background: var(--brand-mid); }
.cmp-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .9rem; align-items: center; padding: .4rem 0; }
.cmp-label { font-size: .88rem; font-weight: 650; color: var(--fg); }
.cmp-bars { display: grid; gap: 3px; }
.bar { height: 1.2rem; width: max(var(--w), 2.7rem); border-radius: 0 6px 6px 0; position: relative; }
.bar span { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-size: .72rem; font-weight: 750; color: #fff; font-variant-numeric: tabular-nums; }
.bar-there span { color: var(--brand-ink); }
.key-tick { width: 3px; height: .9rem; border-radius: 1px; background: var(--fg); }

/* Recommendations chart */
.rec-row { display: grid; grid-template-columns: 14rem minmax(0, 1fr) 3rem; gap: .9rem; align-items: center; padding: .35rem 0; }
.rec-label { font-size: .88rem; font-weight: 650; line-height: 1.3; color: var(--fg); }
.rec-track { position: relative; height: 1.1rem; background: #eef3f0; border-radius: 6px; }
.rec-bar { height: 100%; width: var(--w); background: linear-gradient(90deg, var(--brand-deep), var(--brand)); border-radius: 6px; }
.tick { position: absolute; top: -4px; bottom: -4px; left: var(--x); width: 3px; margin-left: -1px; background: var(--fg); border-radius: 2px; box-shadow: 0 0 0 1.5px #fff; }
.rec-val { font-size: .9rem; font-weight: 750; text-align: right; color: var(--fg); font-variant-numeric: tabular-nums; }
.ask { margin: 1rem 0 0; font-weight: 650; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.ask-chip { display: inline-block; padding: .35rem .9rem; border-radius: 999px; background: var(--cta-tint); border: 1.5px solid var(--cta); color: var(--cta-fg); text-decoration: none; font-size: .88rem; transition: background .15s; }
.ask-chip:hover { background: var(--cta); color: var(--cta-fg); }

/* Inline call-to-action */
.inline-cta { position: relative; overflow: hidden; isolation: isolate; margin: 1.9rem 0; padding: 1.4rem 1.6rem; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-ink) 100%); color: #d6e9e1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; box-shadow: var(--shadow); }
.inline-cta::before { content: ""; position: absolute; z-index: -1; right: -6rem; top: -8rem; width: 18rem; height: 18rem; border-radius: 50%; background: radial-gradient(circle, rgba(245, 181, 68, .28) 0%, rgba(245, 181, 68, 0) 65%); }
.inline-cta p { margin: 0; flex: 1 1 18rem; line-height: 1.55; }
.inline-cta strong { color: #fff; display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin-bottom: .3rem; }

/* Child areas */
.children { margin-top: 2.5rem; }
.area-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: .6rem; }
.area-grid a { height: 100%; display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .75rem .9rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--fg); font-weight: 650; font-size: .95rem; line-height: 1.35; transition: border-color .15s, box-shadow .15s, transform .15s; }
.area-grid a:hover { border-color: var(--brand-mid); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--brand-deep); }
.area-grid small { flex: none; color: var(--brand-deep); background: var(--brand-tint); font-weight: 700; font-size: .75rem; padding: .15rem .5rem; border-radius: 6px; font-variant-numeric: tabular-nums; }

/* Lead form */
.lead { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: 1.5rem 1.5rem 1.35rem; box-shadow: var(--shadow-lg); overflow: hidden; }
.lead::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--cta), #f7c96e); }
.eyebrow { display: block; margin: 0 0 .25rem; font-size: .74rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; color: var(--brand); }
.lead h2 { font-size: 1.6rem; line-height: 1.1; margin: 0 0 .45rem; letter-spacing: -.03em; }
.lead-intro { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.progress { display: none; list-style: none; padding: 0; margin: 0 0 1.1rem; gap: .5rem; counter-reset: s; }
.progress li { flex: 1; font-size: .78rem; font-weight: 650; color: var(--faint); padding-top: .5rem; border-top: 4px solid var(--line); border-radius: 2px; counter-increment: s; transition: border-color .2s, color .2s; }
.progress li::before { content: counter(s) ". "; }
.progress li.on { color: var(--brand-deep); border-color: var(--brand); }
.field { display: block; margin: 0 0 .85rem; }
.field-label { display: block; font-weight: 650; font-size: .88rem; color: var(--fg); margin-bottom: .3rem; }
.hint { display: block; font-size: .78rem; color: var(--muted); margin: -.15rem 0 .3rem; }
.field input, .field select { display: block; width: 100%; min-height: 2.85rem; padding: .62rem .85rem; font: inherit; font-size: 1rem; color: var(--fg); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background: #fff var(--chevron) no-repeat right .8rem center / 1rem; cursor: pointer; }
.field input::placeholder { color: var(--faint); }
.field input:hover, .field select:hover { border-color: #a8b6b1; }
.field input:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 107, 88, .14); outline: none; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--warn); }
.chips { border: 0; padding: 0; margin: 0 0 .85rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; min-width: 0; }
.chips legend { padding: 0; margin-bottom: .35rem; }
.chip { display: flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: .5rem .6rem; border: 1.5px solid var(--line-strong); border-radius: 10px; font-size: .86rem; font-weight: 650; line-height: 1.25; color: var(--ink); cursor: pointer; background: #fff; transition: background .15s, border-color .15s, color .15s; }
.chip span:hover { border-color: var(--brand-mid); background: #fbfdfc; }
.chip input:checked + span { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-deep); box-shadow: inset 0 0 0 1px var(--brand); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
label.consent { display: flex; gap: .65rem; font-size: .78rem; line-height: 1.5; color: var(--ink); align-items: flex-start; margin: .3rem 0 1rem; padding: .75rem .8rem; background: #f6f8f7; border-radius: 10px; }
label.consent input { width: 1.15rem; height: 1.15rem; margin-top: .1rem; flex: none; accent-color: var(--brand); }
.step-back { background: none; border: 0; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 600; margin: .5rem auto 0; padding: .35rem .6rem; border-radius: 8px; cursor: pointer; display: none; }
.step-back:hover { color: var(--brand-deep); background: var(--brand-tint); }
.disclose { font-size: .76rem; color: var(--muted); margin: 1.1rem 0 0; line-height: 1.5; border-top: 1px solid var(--line); padding-top: .85rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
#lead-status { margin: .75rem 0 0; font-weight: 600; font-size: .92rem; }
#lead-status:empty { display: none; }
#lead-status.ok { color: var(--brand-deep); background: var(--brand-tint); padding: .8rem 1rem; border-radius: 10px; }
[role=status].err { color: var(--warn); }
/* Step mode is switched on by lead.js; without JS every field shows at once and Continue is hidden. */
.step-next { display: none; }
form.stepped .step-next { display: inline-flex; }
form.stepped .step-back { display: block; }
form.stepped .step[hidden] { display: none; }
.lead.has-steps .progress { display: flex; }
.lead.has-steps .progress[hidden] { display: none; }

.tenant-note { margin: -.3rem 0 .9rem; padding: .65rem .8rem; border-radius: 10px; background: var(--brand-tint); font-size: .84rem; line-height: 1.45; }
.thanks { outline: none; }
.thanks h3 { margin: 0 0 .5rem; font-size: 1.2rem; color: var(--brand-deep); }
.thanks p, .thanks li { font-size: .93rem; line-height: 1.5; }
.thanks ol { padding-left: 1.2rem; margin: .3rem 0 .8rem; }
.thanks li { margin-bottom: .35rem; }

/* Guides */
.guide-links { margin: 2.5rem 0 0; }
.guide-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: .75rem; }
.guide-links a { position: relative; height: 100%; display: block; padding: 1rem 2.6rem 1rem 1.15rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; line-height: 1.35; letter-spacing: -.005em; color: var(--fg); transition: border-color .15s, box-shadow .15s, transform .15s; }
.guide-links a::after { content: "→"; position: absolute; right: 1.1rem; top: 1rem; color: var(--brand); font-weight: 700; transition: transform .15s; }
.guide-links a:hover { border-color: var(--brand-mid); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--brand-deep); }
.guide-links a:hover::after { transform: translateX(3px); }
.guide-links small { display: block; color: var(--muted); font-weight: 400; font-size: .86rem; line-height: 1.45; margin-top: .3rem; letter-spacing: 0; }
.content .guide-links ul { grid-template-columns: 1fr; }
.guide-body h2 { font-size: 1.4rem; margin: 2rem 0 .65rem; letter-spacing: -.02em; }
.guide-body h3 { font-size: 1.1rem; margin: 1.4rem 0 .5rem; }
.guide-body p, .guide-body li { margin: 0 0 .75rem; }
.guide-body ul, .guide-body ol { padding-left: 1.25rem; }
.guide-body li::marker { color: var(--brand); }
.data-list { list-style: none; padding: 0 !important; display: grid; gap: .4rem; }
.data-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .9rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--fg); transition: border-color .15s, box-shadow .15s; }
.data-list a:hover { border-color: var(--brand-mid); box-shadow: var(--shadow-sm); }
.data-list b { color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.checked { font-size: .82rem; color: var(--muted); }

.checker .q { margin-bottom: 1.3rem; }
.checker .q legend { font-size: 1rem; margin-bottom: .45rem; }
.checker .chips { grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); }
.checker > .btn { margin: .3rem 0 1rem; }
.checker-result { outline: none; margin: .5rem 0 1rem; padding: 1.2rem 1.35rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
.checker-result h2 { margin: 0 0 .4rem; font-size: 1.3rem; }
.checker-result p { margin: 0 0 .6rem; }
.verdict-likely { border-color: var(--brand); background: var(--brand-tint); }
.verdict-unlikely, .verdict-other-scheme { border-color: #e2b45c; background: var(--cta-tint); }
.checker-amount { font-family: var(--display); font-size: 1.5rem; font-weight: 720; letter-spacing: -.02em; color: var(--brand-deep); }

/* Home */
/* Full-bleed band without horizontal overflow: the shadow paints the colour out to the edges, clip-path trims it vertically. */
.band { background: var(--brand-tint); box-shadow: 0 0 0 100vmax var(--brand-tint); clip-path: inset(0 -100vmax); }
.how { margin: 3.5rem 0 1rem; padding: 3.25rem 0 3.5rem; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; counter-reset: how; }
.how-steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.4rem 1.35rem; counter-increment: how; box-shadow: var(--shadow-sm); }
.how-steps li { border-color: transparent; box-shadow: var(--shadow); }
.how-steps li::before { content: counter(how, decimal-leading-zero); display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 760; line-height: 1; letter-spacing: -.05em; color: var(--brand-soft); margin-bottom: .9rem; }
.how-steps li:nth-child(3)::before { color: var(--cta); }
.how-steps strong { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .35rem; }
.how-steps span { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.regions { list-style: none; padding: 0; margin: 0 0 3.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1rem; align-items: start; }
.region { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.3rem 1.3rem; box-shadow: var(--shadow-sm); }
.region-name { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--display); font-weight: 720; font-size: 1.2rem; letter-spacing: -.02em; text-decoration: none; color: var(--brand-ink); }
a.region-name:hover { color: var(--brand); }
a.region-name span { color: var(--brand); transition: transform .15s; }
a.region-name:hover span { transform: translateX(3px); }
.region ul { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.region ul a { display: inline-block; font-size: .85rem; line-height: 1.3; padding: .3rem .7rem; border-radius: 999px; background: var(--brand-tint); text-decoration: none; color: var(--brand-deep); font-weight: 600; transition: background .15s, color .15s; }
.region ul a:hover { background: var(--brand); color: #fff; }
section > h2#areas-title, section > h2#guides-title, section > h2#how-title { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); letter-spacing: -.03em; margin-bottom: 1.25rem; }
.guide-links:not(.content .guide-links) { margin-top: 3rem; margin-bottom: 3.5rem; }

/* Footer */
.site-foot { position: relative; background: var(--brand-night); color: #a9bfb8; margin-top: 9rem; }
/* The street of homes rises out of the footer into the page. */
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 96px; background: var(--street-foot) repeat-x left bottom / 480px 96px; pointer-events: none; }
.foot-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 3rem; padding-top: 2.75rem; padding-bottom: 6rem; }
.foot-brand .brand { color: #fff; font-size: 1.5rem; }
.foot-brand .brand .mark { width: 40px; height: 40px; }
.foot-brand .brand .mark { color: #3fae8f; }
.foot-brand p { margin: .8rem 0 0; font-size: .92rem; line-height: 1.6; color: #c5d6d0; max-width: 34rem; }
.foot-links { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding-top: .35rem; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 650; font-size: .95rem; }
.foot-links a:hover { color: var(--cta); text-decoration: underline; }
.foot-legal { grid-column: 1 / -1; margin: .5rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; line-height: 1.65; color: #8fa8a0; max-width: none; }

/* Mobile sticky CTA (only on area pages, only on narrow screens) */
.sticky-cta { display: none; }

@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .side { position: static; max-height: none; overflow: visible; }
  .content { max-width: none; }
  .hero-home { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; padding: 2.5rem 2rem 7rem; }
  .foot-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .head-inner { padding-left: 1rem; padding-right: 1rem; }
  .head-inner { padding-top: .6rem; padding-bottom: .6rem; gap: .5rem; }
  .site-head .btn-sm { padding: .5rem .85rem; font-size: .85rem; }
  .brand { font-size: .98rem; gap: .45rem; }
  .brand .mark { width: 26px; height: 26px; }
  .head-nav { gap: .15rem; }
  .head-nav > a:not(.btn) { font-size: .88rem; padding: .4rem .6rem; }
  /* Area pages have the sticky bottom bar, so the header button would only repeat it. */
  body:has(.sticky-cta) .site-head .btn-cta { display: none; }
  .hero, .hero-home { margin-top: 1rem; padding: 1.6rem 1.2rem 5rem; border-radius: var(--radius-lg); background-size: 360px 72px, auto, auto, auto; }
  .hero-home { padding-bottom: 5.5rem; }
  .example { transform: none; }
  .how { padding: 2.5rem 0 2.75rem; }
  .site-foot { margin-top: 7rem; }
  .site-foot::before { height: 72px; background-size: 360px 72px; }
  .hero h1 { margin-top: .55rem; }
  .lede { font-size: 1.04rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .stats div { padding: .75rem .8rem; }
  .stats dd { font-size: 1.55rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .search { flex-direction: column; border-radius: var(--radius); padding: .5rem; }
  .search input { padding: .7rem .75rem; }
  .search .btn { width: 100%; }
  .topic h2, .children h2, .how h2, section > h2 { font-size: 1.35rem; }
  .cmp-row { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .rec-row { grid-template-columns: minmax(0, 1fr) 2.6rem; gap: .25rem .6rem; }
  .rec-label { grid-column: 1 / -1; }
  .compare, .recs { padding: 1rem; }
  .inline-cta { padding: 1.25rem; }
  .inline-cta .btn { flex: 1 1 100%; }
  .lead { padding: 1.35rem 1.15rem 1.2rem; }
  .area-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .area-grid a { font-size: .88rem; flex-direction: column; align-items: flex-start; gap: .35rem; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16, 40, 34, .1); font-size: .82rem; line-height: 1.35; color: var(--muted); transition: transform .25s; }
  .sticky-cta .btn { flex: none; padding: .7rem 1.1rem; font-size: .92rem; }
  .sticky-cta.away { transform: translateY(110%); }
}
@media (max-width: 340px) {
  .brand span { font-size: .9rem; }
  .area-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Installers that say they work here (their own claims + Companies House) */
.installers { list-style: none; padding: 0; margin: 1.25rem 0 .75rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: .75rem; }
.installer { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem 1.05rem; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.installer:hover { border-color: var(--brand-mid); box-shadow: var(--shadow); }
.installer h3 { font-size: 1.02rem; line-height: 1.35; letter-spacing: -.01em; margin: 0 0 .4rem; }
.installer h3 a { color: var(--fg); text-decoration: none; }
.installer h3 a:hover { color: var(--brand); text-decoration: underline; }
.installer p { margin: 0 0 .45rem; font-size: .88rem; line-height: 1.45; }
.installer .meta { color: var(--muted); font-size: .8rem; margin-bottom: .2rem; }
.installer .meta + p:not(.meta) { margin-top: .5rem; padding-top: .6rem; border-top: 1px dashed var(--line); }
.installer .label { display: block; font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin-bottom: .1rem; }
.installer .links { margin: auto 0 0; padding-top: .55rem; font-size: .85rem; font-weight: 650; }
.installer-note { font-size: .82rem; line-height: 1.55; color: var(--muted); }
.profile-facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 1rem 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.profile-facts dt, .profile-facts dd { padding: .65rem 1rem; border-bottom: 1px solid var(--line); }
.profile-facts dt:last-of-type, .profile-facts dd:last-of-type { border-bottom: 0; }
.profile-facts dt { color: var(--muted); font-size: .88rem; background: #fafbf9; }
.profile-facts dd { margin: 0; font-weight: 650; color: var(--fg); }
@media (max-width: 560px) { .profile-facts { grid-template-columns: 1fr; } .profile-facts dt { border-bottom: 0; padding-bottom: .1rem; background: none; } .profile-facts dd { padding-top: 0; } }

/* Trust facts under the home hero: only things that are verifiably true */
.trust { list-style: none; padding: 0; margin: 1.25rem .25rem 0; display: flex; flex-wrap: wrap; gap: .55rem 1.6rem; font-size: .88rem; color: var(--muted); }
.trust li { position: relative; display: flex; align-items: center; gap: .5rem; }
.trust li::before { content: ""; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--brand-tint); flex: none; box-shadow: inset 0 0 0 1px var(--brand-soft); }
.trust li::after { content: ""; position: absolute; left: .2rem; top: 50%; width: .65rem; height: .65rem; margin-top: -.325rem; background: var(--brand); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
span.region-name { display: block; font-weight: 750; }

/* EPC rating ladder (ratings section): A-G bars like the certificate, braces for the shares the page states. */
.epc { margin: 1.25rem 0 0; padding: 1.2rem 1.25rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 11rem) minmax(0, 9.5rem); grid-template-rows: repeat(7, 1.9rem) auto; column-gap: .9rem; row-gap: .3rem; }
.epc-bands { grid-column: 1; grid-row: 1 / 8; display: grid; grid-template-rows: subgrid; list-style: none; margin: 0; padding: 0; }
.epc-bands li { position: relative; width: calc(44% + var(--i) * 9.3%); display: flex; align-items: center; padding-left: .75rem; color: #fff; font-family: var(--display); font-weight: 760; font-size: 1.05rem; clip-path: polygon(0 0, calc(100% - .85rem) 0, 100% 50%, calc(100% - .85rem) 100%, 0 100%); border-radius: 4px 0 0 4px; }
.epc-a { background: #008054; } .epc-b { background: #19b459; } .epc-c { background: #8dce46; } .epc-d { background: #ffd500; color: var(--fg) !important; } .epc-e { background: #fcaa65; color: var(--fg) !important; } .epc-f { background: #ef8023; } .epc-g { background: #e9153b; }
.epc-brace { display: flex; flex-direction: column; justify-content: center; padding-left: .8rem; border-left: 3px solid var(--fg); border-radius: 2px; line-height: 1.25; }
.epc-brace strong { font-family: var(--display); font-size: 1.9rem; font-weight: 740; letter-spacing: -.04em; line-height: 1; }
.epc-brace span { font-size: .82rem; color: var(--muted); margin-top: .2rem; }
.epc-brace-d { grid-column: 2; grid-row: 4 / 8; }
.epc-brace-e { grid-column: 3; grid-row: 5 / 8; border-left-color: #e9153b; }
.epc figcaption { grid-column: 1 / -1; grid-row: 8; margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) {
  .epc { grid-template-columns: minmax(0, 1fr) minmax(0, 6.5rem) minmax(0, 6rem); column-gap: .6rem; padding: 1rem; }
  .epc-bands li { width: calc(45% + var(--i) * 9%); font-size: .95rem; }
  .epc-brace { padding-left: .55rem; }
  .epc-brace strong { font-size: 1.5rem; }
  .epc-brace span { font-size: .74rem; }
}

/* Section icons: a small line drawing beside each area-page heading, keyed to the section id (lib/content.ts). */
.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
#stock.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V6l8-3 8 3v15M9 21v-4h6v4M8.5 9h.01M12 9h.01M15.5 9h.01M8.5 13h.01M12 13h.01M15.5 13h.01'/%3E%3C/svg%3E"); }
#tenure.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l9-9M17 6l3 3M15 8l2 2'/%3E%3C/svg%3E"); }
#walls.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3zM3 10h18M3 15h18M9 5v5M15 10v5M9 15v4'/%3E%3C/svg%3E"); }
#fabric.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18H5zM12 3v18M5 12h14'/%3E%3C/svg%3E"); }
#heating.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c3 4 6 6 6 11a6 6 0 0 1-12 0c0-3 2-5 3-7 1 2 2 3 3 3 0-3-1-5 0-7z'/%3E%3C/svg%3E"); }
#age.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
#ratings.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18a8 8 0 1 1 16 0M12 18l4-6'/%3E%3C/svg%3E"); }
#recs.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6h10M10 12h10M10 18h10M3.5 6l1.5 1.5L7.5 5M3.5 12l1.5 1.5 2.5-2.5M3.5 18l1.5 1.5 2.5-2.5'/%3E%3C/svg%3E"); }
#bus.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 7.5A3.5 3.5 0 0 0 9 8v10M6.5 13h6M6.5 18H17'/%3E%3C/svg%3E"); }
#installers.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E"); }
#compare.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V11M11 20V5M17 20v-7M3 20h18'/%3E%3C/svg%3E"); }
#rank.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0zM7 6H4a3 3 0 0 0 3 4M17 6h3a3 3 0 0 1-3 4'/%3E%3C/svg%3E"); }
#neighbours.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 0 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
#market.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V3h9l9 9-9 9zM7.5 7.5h.01'/%3E%3C/svg%3E"); }
#support.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
#standouts.topic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.2 5.8L20 11l-5.8 2.2L12 19l-2.2-5.8L4 11l5.8-2.2z'/%3E%3C/svg%3E"); }
.topic h2 { position: relative; display: flex; align-items: flex-start; gap: .75rem; }
.topic h2::before { content: ""; flex: none; width: 2.3rem; height: 2.3rem; margin-top: -.2rem; border-radius: 11px; background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand-soft); }
.topic h2::after { content: ""; position: absolute; left: .47rem; top: .27rem; width: 1.36rem; height: 1.36rem; background: var(--brand); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }

/* Installer cards: monogram badge beside the name. */
.installer-head { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .35rem; }
.installer-head h3 { margin: .15rem 0 0; }
.mono { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: linear-gradient(140deg, var(--brand) 0%, var(--brand-ink) 100%); color: #fff; font-family: var(--display); font-weight: 720; font-size: .9rem; letter-spacing: -.01em; }
.installer:nth-child(3n + 2) .mono { background: linear-gradient(140deg, #3fae8f 0%, var(--brand-deep) 100%); }
.installer:nth-child(3n) .mono { background: linear-gradient(140deg, #f5b544 0%, #d9891a 100%); color: var(--cta-fg); }

/* Installer list controls (lead.js): filter by what firms say they fit, then "Show more". */
.installer-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 -.25rem; }
.installer-filter button { font: inherit; font-size: .86rem; font-weight: 600; padding: .4rem .95rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--card); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.installer-filter button:hover { border-color: var(--brand-mid); }
.installer-filter button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.installer-more { display: flex; margin: .25rem auto 1rem; }
.installer:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.foot-legal a { color: #dbe9e3; }
.foot-legal a:hover { color: var(--cta); }
