/* CanadaHeatPumpRebate.ca layout system. Tokens first: change the look here only. */
:root {
  --font: "Montserrat", sans-serif;
  --ink: #1b1b1b;
  --text: #000;
  --coral: #f1464c;
  --coral-dark: #d93a40;
  --yellow: #ffc316;
  --navy: #003554;
  --navy-btn: #0d2f4f;
  --blue: #4ba9e2;
  --grey-50: #f7f7f7;
  --grey-100: #eee;
  --grey-200: #ddd;
  --green: #2f9e44;
  --orange: #e8722a;
  --cream: #fffaf0;
  --cream-line: #f0e1bf;
  --container: 1120px;
  --wide: 1270px;
  --header-h: 104px;
  --radius-pill: 37px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.75;
  color: var(--text); background: #fff; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0; }
h1 { font-size: 35px; line-height: 45px; font-weight: 700; margin-bottom: 15px; }
h2 { font-size: 35px; line-height: 45px; font-weight: 700; margin: 10px 0 15px; }
h3 { font-size: 30px; line-height: 37px; font-weight: 600; margin-bottom: 10px; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: calc(var(--wide) + 40px); }
.center { text-align: center; }
.section { padding: 64px 0; }
.section--grey { background: var(--grey-50); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font); font-size: 18px; line-height: 23px; font-weight: 500;
  padding: 10px 30px; border-radius: var(--radius-pill); background: var(--coral); color: #fff;
  text-decoration: none; border: 0; cursor: pointer; transition: background .15s;
}
.btn:hover, .btn:focus-visible { background: var(--coral-dark); }
.btn--lg { font-size: 22px; line-height: 24px; font-weight: 600; padding: 16px 40px; min-width: 320px; text-align: center; }
.btn--orange { background: var(--orange); }
.btn--green { background: var(--green); }
.btn--navy { background: var(--navy-btn); font-size: 14px; font-weight: 600; padding: 9px 18px; line-height: 20px; }
.btn--navy:hover { background: var(--navy); }
.link-sm { font-size: 14px; color: var(--blue); }
.pill-yellow {
  display: inline-block; background: var(--yellow); color: var(--ink); font-size: 24px; line-height: 24px; font-weight: 700;
  padding: 15px 30px; border-radius: 26px; box-shadow: 1px 3px 0 rgba(0,0,0,.16);
}
.pill-yellow--sm { font-size: 14px; line-height: 14px; padding: 8px 16px; }

/* Placeholder image/video slots (replace with Higgsfield output) */
.slot {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, #e9eef2, #e9eef2 12px, #f1f5f8 12px, #f1f5f8 24px);
  color: #52667a; font-size: 13px; line-height: 1.4; font-weight: 600; border-radius: 8px; overflow: hidden;
}
.slot span { padding: 8px 12px; background: rgba(255,255,255,.85); border-radius: 6px; max-width: 90%; }
.slot img, .slot video, .slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.slot--16x9 { aspect-ratio: 16 / 9; }
.slot--4x3 { aspect-ratio: 4 / 3; }
.slot--1x1 { aspect-ratio: 1 / 1; }
.slot--dark { background: linear-gradient(135deg, #12304a, #1d4a6b); color: #cfe0ee; }
.slot--dark span { background: rgba(0,0,0,.35); }
.play {
  position: absolute; left: 50%; top: 50%; width: 57px; height: 51px; transform: translate(-50%,-50%);
  background: rgba(20,20,20,.85); border-radius: 12px; z-index: 2;
}
.play::after {
  content: ""; position: absolute; left: 23px; top: 15px; border-left: 17px solid #fff;
  border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.play + span { position: absolute; left: 12px; right: 12px; bottom: 12px; max-width: none; text-align: left; font-size: 12px; }
.slot[data-playing="true"] .play, .slot[data-playing="true"] span { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--grey-50); height: var(--header-h); border-bottom: 1px solid #eaeaea; }
.site-header__inner { display: flex; align-items: center; height: 100%; max-width: calc(var(--wide) + 40px); margin: 0 auto; padding: 0 20px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 20px; line-height: 1.1; letter-spacing: -.2px; }
.logo svg { width: 40px; height: 40px; }
.logo small { display: block; font-size: 11px; font-weight: 600; color: #52667a; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 24px; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: block; font-family: var(--font); font-size: 16px; line-height: 23px; font-weight: 700; color: #222; text-decoration: none;
  padding: 5px 15px; background: none; border: 0; cursor: pointer;
}
.nav > li > a::after, .nav > li > button::after { content: ""; display: inline-block; margin-left: 8px; border: 4px solid transparent; border-top-color: #222; vertical-align: -2px; }
.nav > li > a.no-caret::after { display: none; }
.nav > li:hover > a, .nav > li.open > button, .nav > li > a[aria-current="page"], .nav > li > button[aria-current="page"] { background: rgba(0,53,84,.03); box-shadow: inset 0 -3px 0 var(--navy); }
.dropdown { display: none; position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border: 1px solid var(--grey-200); border-radius: 0 0 10px 10px; box-shadow: 0 10px 24px rgba(0,0,0,.12); padding: 10px 0; list-style: none; margin: 0; }
.nav > li:hover .dropdown, .nav > li.open .dropdown, .nav > li:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 20px; font-size: 15px; line-height: 22px; color: #222; text-decoration: none; font-weight: 500; }
.dropdown a:hover { background: var(--grey-50); color: var(--navy); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.icon-btn { background: none; border: 0; cursor: pointer; padding: 6px; color: var(--navy); }
.icon-btn svg { width: 22px; height: 22px; }
.header-link { font-size: 15px; font-weight: 500; color: #222; text-decoration: none; }
.nav-toggle { display: none; }

/* Hero (home and guides) */
.hero { position: relative; color: #fff; min-height: 320px; display: flex; align-items: center; overflow: hidden; background: #14283a; }
.hero__bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,18,30,.92) 0%, rgba(8,18,30,.7) 55%, rgba(8,18,30,.45) 100%), linear-gradient(135deg, #3b4b5a, #6b7f90 55%, #2a3846); }
.hero__bg .slot { position: absolute; inset: 0; border-radius: 0; background: transparent; align-items: flex-end; justify-content: flex-end; padding: 12px; }
.hero__bg .slot span { font-size: 11px; color: #cfe0ee; background: rgba(0,0,0,.4); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px 20px; }
.eyebrow { font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.hero h1, .hero .hero-title { color: #fff; max-width: 560px; }
.hero .hero-title { font-size: 35px; line-height: 45px; font-weight: 700; margin: 0 0 15px; font-family: var(--font); }
@media (max-width: 900px) { .hero .hero-title { font-size: 28px; line-height: 36px; } }
.hero p { color: #eaeff3; font-size: 16px; line-height: 26px; max-width: 520px; }
.hero__cta { margin: 20px 0 14px; }
.hero__link { font-size: 14px; color: #9fd3f5; }
.glass { background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 22px 26px; backdrop-filter: blur(4px); max-width: 420px; margin-left: auto; }
.glass__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; margin-bottom: 14px; }
.glass__stats strong { display: block; font-size: 22px; line-height: 28px; font-weight: 800; color: #fff; }
.glass__stats span { font-size: 11px; line-height: 14px; color: #cfd8df; display: block; }
.glass blockquote { margin: 0 0 8px; font-size: 14px; line-height: 22px; font-style: italic; color: #fff; }
.glass cite { font-size: 12px; color: #cfd8df; font-style: normal; font-weight: 600; }

/* Trust band */
.trust h2 { text-align: center; margin-bottom: 30px; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust__item .slot { width: 90px; height: 90px; margin: 0 auto 10px; border-radius: 50%; }
.trust__item strong { display: block; font-size: 30px; line-height: 36px; font-weight: 800; color: var(--ink); }
.trust__item span { font-size: 15px; line-height: 22px; color: #444; display: block; max-width: 220px; margin: 0 auto; }

/* Grey rounded split box */
.box-split { background: #f4f4f4; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.box-split p { font-size: 16px; line-height: 26px; }
.box-split__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.box-split__btns .btn { border-radius: 8px; font-size: 16px; font-weight: 700; padding: 18px 12px; text-align: center; text-transform: uppercase; }

/* Product tiles */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 28px; text-align: center; }
.tile { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 20px; }
.tile .slot { margin-bottom: 8px; }

/* Calculator blocks */
.calc { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; max-width: 880px; margin: 0 auto; padding: 36px 0; }
.calc .slot { width: 110px; height: 110px; }
.calc h2, .calc h3 { font-size: 24px; line-height: 32px; font-weight: 700; margin: 12px 0 18px; }
.calc__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Brand grid */
.filter-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.filter-row h3 { font-size: 26px; line-height: 34px; max-width: 520px; }
select.select { font-family: var(--font); font-size: 14px; padding: 8px 32px 8px 12px; border: 1px solid var(--grey-200); border-radius: 6px; background: #fff; color: var(--ink); }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.brand-card { position: relative; background: #fff; border: 1px solid #ececec; border-radius: 10px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.06); text-align: center; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.brand-card .slot { height: 100px; background: transparent; }
.brand-card a { color: var(--ink); font-size: 14px; text-decoration: underline; font-weight: 500; }
.brand-card strong { font-size: 16px; line-height: 22px; color: var(--ink); }
.brand-card p { font-size: 13px; line-height: 19px; margin: 0; color: #333; }
.brand-card--top { border: 2px solid var(--green); }
.badge-top { position: absolute; right: -2px; top: -2px; background: var(--green); color: #fff; font-size: 10px; line-height: 16px; font-weight: 800; letter-spacing: .5px; padding: 3px 12px; border-radius: 0 8px 0 8px; }

/* Article list boxes and cards */
.list-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.list-box { background: var(--grey-100); border: 1px solid var(--grey-200); border-radius: 10px; padding: 35px 15px; }
.list-box h3 { padding: 0 16px; font-size: 28px; line-height: 36px; }
.list-box ul { list-style: none; margin: 12px 0 0; padding: 0 16px; }
.list-box li { border-bottom: 1px solid var(--grey-200); padding: 8px 0; font-size: 14px; line-height: 20px; }
.list-box li:last-child { border-bottom: 0; }
.list-box a { color: #1d3a56; text-decoration: none; }
.list-box a:hover { text-decoration: underline; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 32px; }
.card { text-decoration: none; color: var(--text); display: block; }
.card__img { border: 4px solid var(--navy); padding: 4px; background: #fff; margin-bottom: 14px; }
.card__img .slot { border-radius: 0; aspect-ratio: 16/9; }
.card h3 { font-size: 16px; line-height: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.card p { font-size: 14px; line-height: 20px; color: #333; margin-bottom: 8px; }
.card .more { font-size: 13px; color: var(--blue); font-weight: 600; }
.h2-rules { display: flex; align-items: center; gap: 24px; text-align: center; margin-bottom: 28px; }
.h2-rules::before, .h2-rules::after { content: ""; flex: 1; height: 2px; background: var(--navy); }
.h2-rules h2 { margin: 0; }

/* Video blocks (the places for Higgsfield explainers) */
.video-explainer { background: var(--grey-50); }
.video-explainer__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.video-explainer h2 { font-size: 30px; line-height: 38px; }
.video-explainer ul { padding-left: 20px; font-size: 16px; line-height: 26px; margin: 0 0 20px; }
.video-feature { margin-bottom: 20px; }
.video-feature .slot { aspect-ratio: 16/9; border-radius: 0; }
.video-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.video-gallery__title { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); margin-top: 10px; }
.video-gallery .slot { border-radius: 0; aspect-ratio: 16/9; }
.video-gallery__date { font-size: 12px; color: #666; }

/* Partner band */
.partner-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* Text + image sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split h2 { margin-top: 0; }
.split p { font-size: 16px; line-height: 28px; }

/* Logos / testimonials / cities */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.logos .slot { height: 80px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.quote { background: var(--cream); border: 1px solid var(--cream-line); border-radius: 10px; padding: 20px; font-size: 14px; line-height: 22px; }
.quote cite { display: block; margin-top: 10px; font-size: 12px; font-weight: 700; font-style: normal; }
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.city { text-decoration: none; color: var(--ink); }
.city .slot { aspect-ratio: 4/3; margin-bottom: 8px; }
.city strong { font-size: 15px; line-height: 20px; display: block; }
.cta-close { text-align: center; }
.cta-close p { font-size: 16px; }

/* Hub hero */
.hub-hero { padding: 56px 0 40px; }
.hub-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hub-hero h1 { font-size: 40px; line-height: 48px; font-weight: 800; max-width: 560px; }
.note-box { background: var(--cream); border: 1px solid var(--cream-line); border-radius: 6px; padding: 14px 18px; font-size: 13px; line-height: 20px; margin: 18px 0 24px; max-width: 520px; }
.note-box cite { display: block; margin-top: 8px; font-weight: 700; font-style: normal; font-size: 12px; }

/* Guides filter */
.filter-panel { background: #fff; border: 1px solid var(--grey-200); border-radius: 10px; padding: 20px 20px 26px; margin-bottom: 36px; }
.filter-panel h3 { font-size: 22px; line-height: 30px; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--font); font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 30px; border: 1px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.news { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.news form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.news input { font-family: var(--font); font-size: 14px; padding: 11px 14px; border: 1px solid var(--grey-200); border-radius: 6px; }
.news .btn { grid-column: 1 / -1; justify-self: start; }
.lead-link { font-style: italic; font-size: 16px; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 40px 20px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; max-width: calc(var(--wide) + 40px); margin: 0 auto; }
.site-footer h4 { color: #fff; font-size: 14px; line-height: 20px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { font-size: 13px; line-height: 24px; }
.site-footer a { color: #cfe0ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .disclaimer { font-size: 12px; line-height: 18px; color: #b9cbd9; max-width: 340px; margin-top: 12px; }
.site-footer__base { max-width: calc(var(--wide) + 40px); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; color: #b9cbd9; }

/* Article pages (built from drafts by tools/build_pages.py) */
.article-wrap { padding: 28px 0 64px; }
.article { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.crumbs { font-size: 13px; line-height: 20px; color: #52667a; margin-bottom: 18px; }
.crumbs a { color: #52667a; }
.article h1 { font-size: 38px; line-height: 48px; font-weight: 800; margin-bottom: 14px; }
.article h2 { font-size: 28px; line-height: 36px; margin: 36px 0 12px; }
.article h3 { font-size: 22px; line-height: 30px; margin: 24px 0 8px; }
.article p, .article li { font-size: 18px; line-height: 31px; }
.article ul, .article ol { padding-left: 24px; margin: 0 0 1em; }
.article li { margin-bottom: 4px; }
.article li.check { list-style: none; margin-left: -24px; }
.article li.check::before { content: "\2610"; margin-right: 10px; color: var(--navy); }
.meta-line { font-size: 13px; line-height: 20px; color: #52667a; margin: 0 0 18px; }
.status-box { background: var(--cream); border: 1px solid var(--cream-line); border-left: 5px solid var(--yellow); border-radius: 6px; padding: 12px 18px; margin: 0 0 24px; }
.status-box p { margin: 0; font-size: 16px; line-height: 26px; }
.answer { font-size: 20px; line-height: 32px; }
.callout { background: #eef6fb; border: 1px solid #cfe4f2; border-left: 5px solid var(--blue); border-radius: 6px; padding: 6px 20px 8px; margin: 28px 0; }
.callout h2 { font-size: 20px; line-height: 28px; margin: 12px 0 6px; color: var(--navy); }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; line-height: 22px; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--grey-200); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--grey-50); font-weight: 700; color: var(--ink); }
.article td:first-child { font-weight: 600; }
.article tr[id] { scroll-margin-top: 130px; }
.signup-form { display: grid; gap: 12px; margin: 18px 0 26px; max-width: 520px; }
.signup-form input[type=text], .signup-form input[type=email], .signup-form select { font-family: var(--font); font-size: 16px; padding: 12px 14px; border: 1px solid var(--grey-200); border-radius: 6px; width: 100%; }
.signup-form label { font-size: 14px; line-height: 21px; }
.signup-form .consent { font-size: 13px; line-height: 20px; color: #333; }
.signup-form .btn { justify-self: start; }
mark.todo { background: #fff2a8; color: #5a4a00; padding: 1px 6px; border-radius: 4px; font-size: .85em; line-height: 1.5; font-weight: 600; }
.disclaimer-line { font-size: 14px; line-height: 22px; color: #52667a; border-top: 1px solid var(--grey-200); padding-top: 14px; margin-top: 32px; }
.article-cta { background: var(--grey-50); border-radius: 12px; padding: 24px 26px; margin-top: 36px; text-align: center; }
.article-cta h2 { margin: 0 0 6px; font-size: 24px; line-height: 32px; }
.article-cta p { font-size: 15px; line-height: 24px; margin-bottom: 14px; }
.sources { font-size: 14px; line-height: 22px; }

/* Tools */
.tool-card { background: #fff; border: 1px solid var(--grey-200); border-radius: 12px; padding: 24px 26px; margin: 22px 0 30px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.tool-card .field { margin-bottom: 18px; }
.tool-card label { display: block; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.tool-card input[type=number], .tool-card select { width: 100%; max-width: 420px; font-family: var(--font); font-size: 16px; padding: 12px 14px; border: 1px solid #c9d2da; border-radius: 6px; background: #fff; }
.tool-card small { display: block; font-size: 13px; line-height: 19px; color: #52667a; margin-top: 6px; font-weight: 400; }
.tool-card .opt { display: block; font-weight: 400; font-size: 16px; line-height: 24px; margin: 6px 0; cursor: pointer; }
.tool-card fieldset.q { border: 0; padding: 0; margin: 0 0 20px; }
.tool-card legend { font-size: 17px; line-height: 26px; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 6px; }
.tool-card details.adv { margin: 0 0 18px; }
.tool-card details summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 15px; margin-bottom: 12px; }
.tool-card .btn { margin-top: 6px; }
.result { margin-top: 24px; padding: 18px 22px; border-radius: 10px; background: var(--grey-50); border-left: 6px solid var(--navy); }
.result[hidden] { display: none; }
.result--good { background: #eef8f0; border-left-color: var(--green); }
.result--warn { background: var(--cream); border-left-color: var(--yellow); }
.result h3 { font-size: 22px; line-height: 30px; margin: 0 0 8px; }
.result h4 { font-size: 17px; line-height: 24px; margin: 16px 0 4px; color: var(--ink); }
.result p, .result li { font-size: 16px; line-height: 26px; }
.result ul, .result ol { padding-left: 22px; }
.result-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; display: block; overflow-x: auto; margin: 10px 0 14px; }
.result-table th, .result-table td { border: 1px solid var(--grey-200); padding: 9px 12px; text-align: left; background: #fff; }
.result-note { font-size: 13px !important; line-height: 20px !important; color: #52667a; margin-top: 12px; }
.result-cta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--grey-200); }
.btn--outline { background: #fff; color: var(--coral); border: 2px solid var(--coral); padding: 8px 28px; }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--coral); color: #fff; }
.result-cta .btn { margin: 4px 8px 4px 0; }
.tool-grid { grid-template-columns: repeat(2, 1fr); }
.tool-link { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: 10px; padding: 20px; }
.tool-link h3 { font-size: 20px; line-height: 28px; margin-bottom: 6px; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr; } .tool-card { padding: 18px 16px; } }
@media (max-width: 900px) {
  .article h1 { font-size: 28px; line-height: 36px; }
  .article h2 { font-size: 23px; line-height: 31px; }
  .article p, .article li { font-size: 16px; line-height: 27px; }
  .answer { font-size: 18px; line-height: 29px; }
}

/* Responsive */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .nav { margin-left: 8px; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  h1, h2 { font-size: 28px; line-height: 36px; }
  h3 { font-size: 24px; line-height: 32px; }
  body { font-size: 16px; line-height: 1.7; }
  .section { padding: 44px 0; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; margin: 0; padding: 8px 0 16px; border-bottom: 1px solid var(--grey-200); box-shadow: 0 10px 20px rgba(0,0,0,.1); max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav.open { display: flex; }
  .nav > li > a, .nav > li > button { width: 100%; text-align: left; padding: 12px 20px; }
  .dropdown { position: static; border: 0; box-shadow: none; padding: 0 0 6px 12px; }
  .nav > li:hover .dropdown { display: none; }
  .nav > li.open .dropdown { display: block; }
  .header-actions .header-link, .header-actions .icon-btn { display: none; }
  .header-actions { margin-left: 12px; }
  .header-actions .btn { padding: 8px 18px; font-size: 15px; }
  .hero__inner, .hub-hero__grid, .box-split, .split, .partner-band, .video-explainer__grid, .news, .list-boxes { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .glass { margin: 0; max-width: none; }
  .trust__grid, .logos, .cities { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .quotes, .video-gallery { grid-template-columns: 1fr; }
  .box-split { padding: 28px 20px; }
  .calc { grid-template-columns: 1fr; }
  .btn--lg { min-width: 0; width: 100%; }
  .filter-row { flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .news form { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header__inner { gap: 8px; padding: 0 12px; }
  .logo { font-size: 14px; gap: 6px; min-width: 0; }
  .logo svg { width: 28px; height: 28px; flex: none; }
  .header-actions .btn { padding: 7px 14px; font-size: 14px; white-space: nowrap; }
  .nav-toggle { margin-left: auto; flex: none; }
  .header-actions { margin-left: 4px; flex: none; }
}
.nav-quote { display: none; }
@media (max-width: 460px) {
  .header-actions { display: none; }
  .nav-quote { display: block; }
  .nav-quote a { color: var(--coral); }
  .logo { font-size: 16px; }
}
@media (max-width: 520px) {
  .logo small { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .box-split__btns { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

.byline { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; line-height: 20px; color: #52667a; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.byline p { margin: 0; }
.author-card { display: flex; gap: 24px; align-items: center; margin: 8px 0 24px; }
.author-card img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 560px) { .author-card { flex-direction: column; align-items: flex-start; } }

/* ===== Inner article layout ===== */
.hero--strip { min-height: 380px; padding: 12px 0 48px; }
.hero--strip .hero__inner { padding-top: 24px; padding-bottom: 0; }
.fp-article { background: #fff; }
.fp-wrap { max-width: 1060px; margin: 0 auto; padding: 20px 15px 24px; }
.fp-wrap .crumbs { font-size: 14px; line-height: 24px; margin: 0 0 6px; }
.entry-title { font-size: 42px; line-height: 52.5px; font-weight: 700; color: var(--navy); text-align: center; margin: 0 0 10px; }
.author-info { background: #f8fcf9; border: 2px solid #ccc; border-radius: 8px; padding: 30px 15px; margin: 20px 0; text-align: center; }
.author-info p { margin: 0; }
.auth_name { font-size: 15px; line-height: 26.25px; margin: 0 0 10px !important; }
.auth_name img { display: inline-block; width: 50px; height: 50px; border-radius: 100%; margin-right: 5px; object-fit: cover; vertical-align: middle; }
.auth_name a { color: #00a6fb; }
.author-des { font-size: 14px; line-height: 24.5px; font-style: italic; }
.fp-about-photo { display: flex; justify-content: center; margin: 14px 0 6px; }
.fp-about-photo img { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: 0 6px 24px rgba(0,0,0,.14); }
.toc { display: table; background: #edf6ff; border: 1px solid #aaa; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.05); padding: 10px 20px 10px 10px; margin: 0 0 18px; }
.toc summary { font-size: 21.6px; line-height: 31.32px; font-weight: 600; cursor: pointer; }
.toc ol { margin: 8px 0 4px; padding-left: 28px; font-size: 17px; line-height: 27px; font-weight: 500; }
.toc a { color: #00a6fb; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.entry-content { font-size: 18px; line-height: 31.5px; }
.entry-content p, .entry-content li { font-size: 18px; line-height: 31.5px; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content a { color: #00a6fb; }
.entry-content .btn, .entry-content .fp-widget a { color: inherit; }
.entry-content h2 { font-size: 38px; line-height: 47.5px; font-weight: 500; color: #000; margin: 10px 0 20px; }
.entry-content h3 { font-size: 34px; line-height: 42.5px; font-weight: 600; color: var(--navy); margin: 24px 0 12px; }
.entry-content h4 { font-size: 22px; line-height: 30px; font-weight: 600; color: var(--navy); margin: 10px 0 6px; }
.entry-content ul, .entry-content ol { padding-left: 40px; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .3em; }
.entry-content .check-list { list-style: none; padding-left: 0; }
.entry-content .check-list li::before { content: "\2610"; margin-right: 10px; color: var(--navy); }
.entry-content .lead { font-size: 20px; line-height: 34px; }
.sep { border: 0; border-top: 2px solid #808080; margin: 18px 0; }
.text-link { color: #00a6fb; text-decoration: underline; font-weight: 600; white-space: normal; }
.note-box.pro-tip, .entry-content .note-box { background: #fffefc; border: 3px solid rgba(255,223,163,.64); border-radius: 7px; padding: 15px 18px 5px; margin: 24px 0; max-width: none; font-size: 16px; line-height: 26px; }
.note-box.pro-tip h4 { margin-top: 0; }
.note-box p { font-size: 16px; line-height: 26px; }
.foo-wrap { overflow-x: auto; margin: 0 0 24px; }
.foo-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid rgba(34,36,38,.15); border-radius: 3px; font-size: 14px; line-height: 28px; color: rgba(0,0,0,.87); text-align: left; min-width: 520px; }
.foo-table th { background: #f9fafb; font-weight: 700; padding: 13px 11px; text-align: left; border-bottom: 1px solid rgba(34,36,38,.1); vertical-align: top; }
.foo-table td { padding: 11px; border-top: 1px solid rgba(34,36,38,.1); vertical-align: top; font-weight: 400; }
.foo-table tr:first-child td { border-top: 0; }
.foo-table td:first-child { font-weight: 600; }
.foo-table tr[id] { scroll-margin-top: 130px; }
.fp-widget { background: var(--navy); border-radius: 6px; padding: 20px 20px 24px; margin: 28px 0; text-align: center; }
.fp-widget__label { color: #e3be11; font-size: 30px; line-height: 38px; font-weight: 700; margin: 0 !important; }
.fp-widget__q { color: #fff; font-size: 22px; line-height: 28px; font-weight: 600; margin: 0 0 16px !important; }
.fp-widget__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fp-widget__opts a { display: flex; align-items: center; justify-content: center; min-height: 84px; background: #fff; border-radius: 6px; color: #000 !important; font-size: 22px; line-height: 28px; font-weight: 700; text-decoration: none; padding: 10px; transition: transform .15s, box-shadow .15s; }
.fp-widget__opts a:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.fp-video { margin: 0 0 24px; }
.fp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32.56px; margin-bottom: 24px; }
.fp-card { display: block; background: #fff; border: 1px solid #e9f2fd; border-radius: 5px; text-decoration: none; color: #000; }
.fp-card__img { border: 15px solid var(--navy); }
.fp-card__img .slot { aspect-ratio: 400 / 193; border-radius: 0; }
.fp-card h3, .entry-content .fp-card h3 { font-size: 16px; line-height: 20px; font-weight: 600; color: var(--navy); margin: 0; padding: 15px 15px 10px; }
.fp-card p { font-size: 14px; line-height: 24.5px; padding: 0 15px; margin: 0 0 10px; }
.fp-card .more { display: block; font-size: 14px; line-height: 24.5px; color: #4ba9e2; padding: 0 15px 15px; }
.before-footer-cta { background: #fff; padding: 0 0 40px; }
.fp-lead { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: center; max-width: 1000px; margin: 40px auto 0; padding: 60px 40px; border: 2px solid #ced6e1; border-radius: 10px; box-shadow: 1px 1px 20px rgba(51,51,51,.14); }
.fp-lead__cover .slot { aspect-ratio: 250 / 300; border: 1px solid #ced6e1; border-radius: 0; }
.fp-lead__head { font-size: 32px; line-height: 40px; font-weight: 700; color: #d90000; margin: 0 0 10px; }
.fp-lead p { font-size: 16px; line-height: 24px; margin: 0 0 16px; }
.fp-lead form { display: flex; gap: 12px; flex-wrap: wrap; }
.fp-lead input[type=email] { flex: 1 1 220px; font-family: var(--font); font-size: 16px; padding: 12px 14px; border: 1px solid #c9d2da; border-radius: 6px; }
.fp-article .disclaimer-line { font-size: 14px; line-height: 22px; color: #52667a; border-top: 1px solid var(--grey-200); padding-top: 14px; margin-top: 12px; }
.fp-article .tool-card { margin-left: 0; margin-right: 0; }
@media (max-width: 900px) {
  .hero--strip { min-height: 0; }
  .entry-title { font-size: 30px; line-height: 38px; }
  .entry-content h2 { font-size: 28px; line-height: 35px; }
  .entry-content h3 { font-size: 24px; line-height: 31px; }
  .entry-content p, .entry-content li { font-size: 16px; line-height: 28px; }
  .fp-widget__opts, .fp-cards { grid-template-columns: minmax(0, 1fr); }
  .fp-widget__opts { gap: 12px; }
  .fp-widget__opts a { min-height: 64px; font-size: 19px; }
  .fp-lead { grid-template-columns: minmax(0, 1fr); padding: 30px 20px; margin: 40px 15px 0; }
  .fp-lead__cover { max-width: 200px; }
  .toc { display: block; }
}

/* ===== Heat pump hub ===== */
.hb-wrap { width: 100%; max-width: 1350px; margin: 0 auto; padding: 0 40px; }
.hb-hero { padding: 0; }
.hb-hero__grid { display: grid; grid-template-columns: 635px 508px; gap: 10%; padding-top: 72px; padding-bottom: 40px; justify-content: start; }
.hb-hero h1 { font-size: 40px; line-height: 48px; font-weight: 800; color: #1b1b1b; margin: 0 0 10px; }
.hb-hero__sub { font-size: 23px; line-height: 28px; color: #1b1b1b; margin: 10px 0; }
.hb-review { background: #fffefc; border: 3px solid rgba(255,223,163,.64); border-radius: 7px; padding: 15px 18px 5px; margin: 30px 0 0; max-width: 572px; }
.hb-review p { font-size: 18px; line-height: 26px; color: #0c2e4e; letter-spacing: -.54px; margin: 10px 0; }
.hb-review cite { display: block; font-style: normal; font-weight: 700; font-size: 14px; padding: 0 0 20px; color: #0c2e4e; }
.hb-hero__btn { padding-top: 20px; }
.hb-btn { display: inline-block; background: var(--coral); color: #fff; border-radius: 37px; padding: 14px 45px; font-size: 22px; line-height: 24px; font-weight: 600; text-decoration: none; }
.hb-btn:hover, .hb-btn:focus-visible { background: var(--coral-dark); }
.hb-hero__media .slot--round { width: 400px; }
.hb-links { background: var(--grey-50); padding: 65px 0 5px; }
.hb-links__list { display: flex; justify-content: space-evenly; align-items: center; gap: 40px; list-style: none; margin: 0 0 60px; padding: 0; }
.hb-links__list a { display: block; width: 285px; text-align: center; font-size: 20px; line-height: 25px; font-weight: 600; color: #1b1b1b; text-decoration: none; }
.hb-tile-img { width: 257px; height: 198px; margin: 0 auto 12px; border-radius: 0; }
.hb-calc { padding: 60px 0 80px; }
.hb-calc__row { display: flex; align-items: center; gap: 15px; margin: 30px 0; }
.hb-calc__img { flex: none; width: 192px; height: 127px; }
.hb-calc__row > div:last-child { padding: 0 15px; }
.hb-pill { display: inline-block; background: #ffc316; color: #1b1b1b; border-radius: 26px; box-shadow: 1px 3px 0 rgba(0,0,0,.16); padding: 15px 30px 15px 58px; margin: 0 0 20px; font-size: 24px; line-height: 24px; font-weight: 700; text-decoration: none; }
.hb-calc h2 { font-size: 35px; line-height: 45px; font-weight: 700; color: #1b1b1b; margin: 0 0 15px; max-width: 585px; }
.hb-calc__btns { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.hb-calc__btns li { margin: 0 15px 0 0; }
.hb-calc__btns a { display: flex; gap: 10px; background: var(--navy); border: 3px solid var(--navy); border-radius: 20px; padding: 16px 20px; margin-bottom: 15px; color: #fff; font-size: 22px; line-height: 22px; font-weight: 500; text-decoration: none; }
.hb-calc__btns a:hover { background: #fff; color: var(--navy); }
.hb-grid { background: #fffcfc; padding: 50px 0; }
.hb-grid__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.hb-grid__head h3 { font-size: 36px; line-height: 44px; font-weight: 600; color: #1b1b1b; margin: 0 0 10px; max-width: 762px; }
.hb-select { font-family: var(--font); font-size: 16px; font-weight: 300; padding: 15px; background: #fff; border: 1px solid #eee; height: 52px; }
.hb-all { display: flex; flex-wrap: wrap; gap: 0 2%; list-style: none; margin: 25px 0 0; padding: 0; }
.hb-all li { position: relative; width: 23.5%; box-sizing: border-box; background: #fff; border: 3px solid #fff; border-radius: 10px; box-shadow: 0 3px 2px rgba(0,0,0,.16); padding: 10px; margin: 0 0 35px; text-align: center; min-height: 239px; }
.hb-all li[hidden] { display: none; }
.hb-all .hb-top { border-color: #00a743; }
.hb-badge { position: absolute; top: 13px; right: 13px; background: #00a743; color: #fff; border-radius: 8px; padding: 3px 9px; font-size: 14px; line-height: 24.5px; font-weight: 600; z-index: 2; }
.hb-logo { width: 250px; max-width: 100%; height: 141px; margin: 0 auto 10px; background: transparent; }
.hb-all strong { display: block; font-size: 18px; line-height: 24px; margin-bottom: 8px; color: #1b1b1b; }
.hb-all a { color: #1b1b1b; font-size: 16px; line-height: 22px; text-decoration: underline; }
.hb-quote { background: var(--grey-50); padding: 80px 0 50px; margin-bottom: 55px; }
.hb-quote__row { display: flex; align-items: center; justify-content: center; gap: 30px; }
.hb-quote__text, .hb-quote__img { flex: 1 1 0; max-width: 660px; }
.hb-quote__text h2 { font-size: 35px; line-height: 45px; font-weight: 700; color: #1b1b1b; margin: 0 0 15px; max-width: 528px; }
.hb-quote__text .hb-hero__btn { padding-top: 15px; }
.hb-quote__img { aspect-ratio: 660 / 570; }
.hb-lists__row { display: grid; grid-template-columns: 1fr 1fr; gap: 32.5px; }
.hb-listbox { background: #eee; border: 1px solid #ddd; border-radius: 10px; padding: 35px 15px; }
.hb-listbox h3 { font-size: 34px; line-height: 42.5px; font-weight: 600; color: var(--navy); margin: 0 0 20px; padding: 0 16px; }
.hb-listbox ul { list-style: none; margin: 0; padding: 0 16px; }
.hb-listbox li { padding: 0 0 5px; margin: 0 0 10px; }
.hb-listbox a { font-size: 16px; line-height: 28px; color: var(--navy); }
.hb-cards { padding: 40px 0 20px; }
.hb-cards .fp-cards { margin-bottom: 0; }
.hb-loadmore { text-align: center; margin: 20px 0 0; }
.hb-loadmore button { background: #000; color: #fff; border: 0; border-radius: 3px; padding: 15px 30px; margin-top: 10px; font-family: var(--font); font-size: 14px; line-height: 18px; font-weight: 600; cursor: pointer; }
.hb-videos { padding: 40px 0 20px; }
.hb-videos__inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.hb-videos__head { font-size: 36px; line-height: 43.2px; font-weight: 500; margin: 0 0 15px; }
.hb-videos__feature { margin-bottom: 20px; }
.hb-videos__feature .slot { border-radius: 12px 12px 0 0; }
.hb-videos__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hb-videos__row > div { padding: 5px; }
.hb-videos__row .slot { border-radius: 12px; box-shadow: 0 4px 5px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.05); }
.hb-videos__row p { font-size: 14px; line-height: 24px; font-weight: 600; text-align: center; margin: 14px 0 0; }
@media (max-width: 1100px) { .hb-hero__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; } .hb-all li { width: 31.3%; } .hb-links__list { flex-wrap: wrap; } }
@media (max-width: 900px) {
  .hb-wrap { padding: 0 10px; }
  .hb-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 15px; padding-top: 28px; }
  .hb-hero h1 { font-size: 30px; line-height: 34px; }
  .hb-hero__sub { font-size: 19px; line-height: 26px; }
  .hb-hero__media { display: flex; justify-content: center; }
  .hb-hero__media .slot--round { width: 300px; }
  .hb-links__list { flex-direction: column; margin-bottom: 30px; }
  .hb-calc { padding: 30px 0 40px; }
  .hb-calc__row { flex-direction: column; align-items: flex-start; }
  .hb-calc h2, .hb-quote__text h2, .hb-videos__head { font-size: 28px; line-height: 34px; }
  .hb-calc__btns { flex-direction: column; }
  .hb-calc__btns a { font-size: 18px; line-height: 24px; padding: 12px 15px; }
  .hb-grid__head { flex-direction: column; }
  .hb-grid__head h3 { font-size: 26px; line-height: 34px; }
  .hb-all { gap: 0 2%; }
  .hb-all li { width: 49%; }
  .hb-quote__row, .hb-lists__row { display: block; }
  .hb-quote { padding: 40px 0 30px; }
  .hb-quote__img { margin-top: 20px; }
  .hb-listbox { margin-bottom: 20px; }
  .hb-videos__row { grid-template-columns: minmax(0, 1fr); }
}
.slot--round { aspect-ratio: 1 / 1; border-radius: 50%; width: min(400px, 100%); }
.hb-quote .hb-wrap { padding: 0; }
.hb-quote__text { padding-left: 40px; }
@media (max-width: 900px) { .hb-quote__text { padding-left: 10px; } }
.header-actions .btn, .header-actions .header-link { white-space: nowrap; }
@media (max-width: 1100px) { .header-actions .btn { padding: 8px 18px; font-size: 16px; } .header-actions { gap: 12px; } .nav > li > a, .nav > li > button { padding: 5px 9px; } }

/* Eligible list lookup (assets/js/eligible.js) */
.elig-table td, .elig-table th { white-space: nowrap; }
.elig-table td:nth-child(n+2) { font-weight: 400; }
.elig-pill { display: inline-block; border-radius: 12px; padding: 1px 10px; font-size: 12px; line-height: 20px; font-weight: 700; }
.elig-pill--active { background: #e3f4e8; color: #1f7a37; }
.elig-pill--archived { background: #eee; color: #555; }
.elig-matches { list-style: none; margin: 8px 0 0; padding: 0; }
.elig-matches li { margin: 0 0 6px; }
.elig-link { font-family: var(--font); font-size: 15px; background: none; border: 0; color: #00a6fb; text-decoration: underline; cursor: pointer; padding: 2px 0; text-align: left; }
.elig-pager { display: flex; gap: 20px; margin: 4px 0 18px; }
.elig-pager .elig-link:disabled { color: #999; text-decoration: none; cursor: default; }
.fp-article .tool-card.elig-browse { margin-top: 0; }
.fp-article .tool-card input[type=search] { width: 100%; max-width: 520px; font-family: var(--font); font-size: 16px; padding: 12px 14px; border: 1px solid #c9d2da; border-radius: 6px; background: #fff; }

/* Notion-style illustrations (tools/apply_illustrations.py) */
.slot.slot--art { background: transparent; border-radius: 0; overflow: visible; }
.slot.slot--art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.slot--art:not([class*="slot--"]):not(.hb-logo) { min-height: 0; }
.fp-card__img .slot--art, .card__img .slot--art { background: #fff; padding: 10px; }
.fp-card__img .slot--art img, .card__img .slot--art img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.slot--round.slot--art { background: #eef3f8; overflow: hidden; border-radius: 50%; border: 0; box-shadow: none; padding: 6%; }
.slot--round.slot--art img { inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.trust__item .slot--art { width: 90px; height: 90px; margin: 0 auto 10px; border-radius: 0; }
.city .slot--art { aspect-ratio: 4/3; background: var(--grey-50); border-radius: 8px; }
.tile .slot--art, .hb-tile-img.slot--art { background: transparent; }
.hb-quote__img.slot--art, .hb-calc__img.slot--art { background: transparent; }
.fp-lead__cover .slot--art { background: #fff; border: 1px solid #ced6e1; aspect-ratio: 250 / 300; }
.box-split .slot--art { background: #fff; border-radius: 16px; }
.hero__bg .slot:empty, .hero__bg .slot > :empty { display: none; }

/* Light page headers (home, guides, every article): pale sky, dark text, the winter street along the bottom */
.hero { color: #1b1b1b; background: #eaf1f7; }
.hero__bg { background: linear-gradient(180deg, #f7fafc 0%, #e6eff6 100%); }
.hero__bg .slot { display: none; }
.hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: url(/assets/img/illus/winter-strip.webp?v=1) repeat-x center bottom / auto 100%; }
.hero h1, .hero .hero-title { color: #1b1b1b; }
.hero p { color: #2a3b4a; }
.hero .eyebrow { color: var(--coral); }
.hero__link { color: #0b6fb0; }
.hero__inner { padding-bottom: 150px; }
.hero--strip .hero__inner { padding-bottom: 140px; }
.hero .glass { background: #fff; border: 1px solid #dbe5ee; box-shadow: 0 8px 24px rgba(0,40,70,.10); backdrop-filter: none; }
.glass__stats strong { color: var(--navy); }
.glass__stats span { color: #52667a; }
.glass blockquote { color: #1b1b1b; }
.glass cite { color: #52667a; }
.glass cite a { color: #0b6fb0 !important; }
@media (max-width: 900px) { .hero__bg::after { height: 80px; } .hero__inner { padding-bottom: 110px; } .hero--strip .hero__inner { padding-bottom: 100px; } }

/* Tables: neo-brutalist table (ported from the supplied shadcn Table; plain CSS, no React or Tailwind on this static site).
   Tokens match the supplied theme: black 2px border, hard offset shadow, black header, yellow row hover, yellow/outline pills. */
.foo-wrap { overflow: auto; margin: 0 0 30px; padding: 0 8px 8px 0; }
.foo-table { width: 100%; border-collapse: collapse; border-spacing: 0; background: #fff; border: 2px solid #000; border-radius: 0; box-shadow: 6px 6px 0 0 #000; font-size: 14px; line-height: 22px; color: #000; text-align: left; min-width: 520px; }
.foo-table th { background: #000; color: #fff; font-weight: 600; padding: 12px 16px; text-align: left; border: 0; border-bottom: 1px solid #000; vertical-align: middle; }
.foo-table td { padding: 12px; border: 0; border-bottom: 1px solid #000; vertical-align: middle; font-weight: 400; }
.foo-table tbody tr:last-child td { border-bottom: 0; }
.foo-table tbody tr { transition: background-color .15s; }
.foo-table tbody tr:hover { background: rgba(255,219,51,.5); }
.foo-table td:first-child { font-weight: 600; }
.foo-table tfoot td { background: #fae583; font-weight: 600; border-top: 1px solid #000; }
.foo-table caption { caption-side: bottom; margin: 8px 0; font-size: 14px; color: #5a5a5a; }
.foo-wrap:has(.elig-table) { max-height: 640px; }
.foo-wrap:has(.elig-table) .foo-table th { position: sticky; top: 0; z-index: 1; }
.elig-pill { border: 1px solid transparent; border-radius: 999px; padding: 2px 10px; font-size: 12px; line-height: 18px; font-weight: 600; }
.elig-pill--active { background: #ffdb33; color: #000; }
.elig-pill--archived { background: transparent; color: #000; border-color: #000; }
.result-table { overflow: auto; padding: 0 8px 8px 0; }
.result-table table { display: table; min-width: 420px; border-collapse: collapse; background: #fff; border: 2px solid #000; box-shadow: 6px 6px 0 0 #000; font-size: 14px; line-height: 22px; margin: 10px 0 14px; }
.result-table th, .result-table td { border: 0; border-bottom: 1px solid #000; padding: 12px; background: #fff; }
.result-table thead th { background: #000; color: #fff; font-weight: 600; }
.result-table tbody tr:last-child th, .result-table tbody tr:last-child td { border-bottom: 0; }
.result-table tbody tr:hover td, .result-table tbody tr:hover th { background: rgba(255,219,51,.5); }
.cta-close .slot--mail { width: 150px; aspect-ratio: 1 / 1; margin: 0 auto 14px; background: transparent; border: 0; }
.cta-close .slot--mail img { width: 100%; height: 100%; object-fit: contain; }

/* Mobile pass: same design as desktop, scaled. No sideways scroll down to 320px, no cramped or oversized type. */
img, svg, video, iframe { max-width: 100%; }
h1, h2, h3, .entry-title, .hb-hero h1 { overflow-wrap: break-word; }
.trust__grid, .logos, .cities, .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .trust__grid, .logos, .cities, .tiles, .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__grid { gap: 28px 16px; }
  .trust__item strong { font-size: 22px; line-height: 28px; }
  .trust__item span { font-size: 14px; line-height: 21px; }
  .trust__item .slot--art { width: 76px; height: 76px; }
  .calc > .slot, .box-split > .slot, .partner-band > .slot, .split > .slot { width: 100%; max-width: 280px; margin: 0 auto; }
  .calc__btns .btn { width: 100%; justify-content: center; text-align: center; }
  .section { padding: 40px 0; }
  .container { padding-left: 16px; padding-right: 16px; }
  .fp-wrap, .hb-wrap { padding-left: 16px; padding-right: 16px; }
  .entry-content h2 { font-size: 26px; line-height: 34px; }
  .entry-content h3 { font-size: 21px; line-height: 29px; }
  .entry-title { font-size: 30px; line-height: 38px; }
  .entry-content p, .entry-content li { font-size: 16px; line-height: 27px; }
}
@media (max-width: 480px) {
  .trust__item strong { font-size: 19px; line-height: 25px; }
  .fp-cards { grid-template-columns: 1fr; }
  .foo-table { min-width: 460px; font-size: 13px; }
  .foo-table th, .foo-table td { padding: 10px; }
  .toc { display: block; }
  .glass { padding: 16px; }
}

/* Desktop nav: never wrap or clip. Full bar from 1241px; hamburger menu below that (was 900px, which wrapped "Heat pumps" and clipped "Email alerts"). */
.logo svg { flex: none; }
.logo, .nav > li > a, .nav > li > button, .header-actions .btn, .header-actions .header-link { white-space: nowrap; }
.site-header__inner { min-width: 0; }
@media (min-width: 901px) and (max-width: 1240px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; margin: 0; padding: 8px 0 16px; border-bottom: 1px solid var(--grey-200); box-shadow: 0 10px 20px rgba(0,0,0,.1); max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav.open { display: flex; }
  .nav > li > a, .nav > li > button { width: 100%; text-align: left; padding: 12px 20px; }
  .dropdown { position: static; border: 0; box-shadow: none; padding: 0 0 6px 12px; }
  .nav > li:hover .dropdown { display: none; }
  .nav > li.open .dropdown { display: block; }
  .header-actions .header-link, .header-actions .icon-btn { display: none; }
  .header-actions { margin-left: 12px; }
  .header-actions .btn { padding: 8px 18px; font-size: 15px; }
}

/* Brand hub and reviews hub (2026-11-07): official manufacturer logos shown unaltered on white tiles, plus public-rating stars. */
.hb-logo--brand { display: flex; align-items: center; justify-content: center; width: 100%; height: 110px; margin: 6px auto 12px; padding: 6px 10px; background: #fff; }
.hb-logo--brand img { width: 100%; height: 100%; max-width: 230px; object-fit: contain; }
.hb-all .hb-meta { display: block; margin: 0 0 10px; font-size: 14px; line-height: 20px; color: #555; }
.hb-all .hb-meta a { font-size: 14px; }
.hb-all .hb-soon { display: inline-block; font-size: 15px; line-height: 22px; color: #6b6b6b; }
.hb-all--reviews li { width: 31.3%; min-height: 0; }
.rating { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 6px; font-size: 17px; line-height: 24px; color: #1b1b1b; }
.rating--none { font-weight: 600; color: #6b6b6b; }
.stars { --p: 0%; display: inline-block; font-size: 22px; line-height: 1; letter-spacing: 2px; background: linear-gradient(90deg, #f2a900 var(--p), #d9d9d9 var(--p)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stars::before { content: "\2605\2605\2605\2605\2605"; }
.hb-note { margin: 10px 0 0; max-width: 900px; font-size: 14px; line-height: 22px; color: #555; }
.hb-grid--prose { padding-top: 0; }
.hb-prose { max-width: 900px; }
.hb-prose h2 { font-size: 30px; line-height: 38px; font-weight: 600; margin: 0 0 12px; color: #1b1b1b; }
.hb-prose p, .hb-prose li { font-size: 17px; line-height: 28px; color: #1b1b1b; }
.hb-prose ul { padding-left: 22px; margin: 12px 0; }
@media (max-width: 1100px) { .hb-all--reviews li { width: 48%; } }
@media (max-width: 767px) {
  .hb-logo--brand { height: 84px; }
  .hb-all--reviews li { width: 100%; }
  .hb-prose h2 { font-size: 24px; line-height: 32px; }
}
.brand-mark { display: flex; justify-content: center; margin: 4px 0 16px; }
.brand-mark img { width: 240px; max-width: 70%; height: 80px; object-fit: contain; }
@media (max-width: 767px) { .brand-mark img { height: 64px; } }

/* Site search panel (2026-11-07): opens under the sticky header from the search icon or the Search menu item. */
.site-search { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--grey-200); box-shadow: 0 10px 24px rgba(0,0,0,.14); max-height: calc(100vh - var(--header-h)); overflow: auto; }
.site-search[hidden] { display: none; }
.site-search__inner { max-width: 760px; margin: 0 auto; padding: 18px 20px 22px; }
.site-search__label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.site-search__input { width: 100%; box-sizing: border-box; font-family: var(--font); font-size: 18px; padding: 13px 14px; border: 2px solid var(--navy); border-radius: 10px; background: #fff; }
.site-search__results { list-style: none; margin: 12px 0 0; padding: 0; }
.site-search__results a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: #1b1b1b; }
.site-search__results a:hover, .site-search__results a:focus { background: var(--grey-50); }
.site-search__results strong { display: block; font-size: 16px; line-height: 22px; color: var(--navy); }
.site-search__results span { display: block; font-size: 14px; line-height: 20px; color: #555; }
.site-search__msg { padding: 8px 12px; font-size: 15px; color: #555; }
.nav-search { display: none; }
@media (max-width: 1240px) { .nav-search { display: block; } .nav-search button { width: 100%; text-align: left; padding: 12px 20px; background: none; border: 0; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; } }

/* ScoreApp calculators, quote page and tool callouts (2026-11-09) */
.tool-card input[type=text], .tool-card input[type=email], .tool-card input[type=tel] { width: 100%; max-width: 420px; font-family: var(--font); font-size: 16px; padding: 12px 14px; border: 1px solid #c9d2da; border-radius: 6px; background: #fff; }
.scorecard-embed { min-height: 360px; }
.lead-sub { font-size: 20px; line-height: 30px; color: var(--navy); font-weight: 600; margin: 0 0 8px; }
.tool-card-img { display: block; width: 100%; height: auto; border-radius: 8px; margin-bottom: 12px; }
.fp-cards--one { grid-template-columns: minmax(0, 420px); }
.tool-callout { margin: 28px 0; }
.tool-callout .fp-card .more { color: var(--blue); }
@media (max-width: 900px) { .fp-cards--one { grid-template-columns: minmax(0, 1fr); } }

/* Glass article cards (tools/apply_card_ui.py adds the markup and the "gc" class) */
a.gc { position: relative; display: flex; flex-direction: column; overflow: hidden; height: 100%; border-radius: 16px; border: 1px solid rgba(0,53,84,.14); background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text); text-decoration: none; transition: border-color .3s, box-shadow .3s; animation: gc-in .4s ease both; }
a.gc[hidden] { display: none; }
a.gc:hover, a.gc:focus-visible { border-color: rgba(0,53,84,.5); box-shadow: 0 20px 25px -5px rgba(0,53,84,.1), 0 8px 10px -6px rgba(0,53,84,.1); }
@keyframes gc-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
a.gc .fp-card__img, a.gc .card__img { position: relative; overflow: hidden; border: 0; padding: 0; margin: 0; background: #fff; }
a.gc .fp-card__img .slot, a.gc .card__img .slot { aspect-ratio: 16 / 9; border-radius: 0; }
a.gc .slot img { transition: transform .5s; }
a.gc:hover .slot img, a.gc:focus-visible .slot img { transform: scale(1.1); }
a.gc .fp-card__img::after, a.gc .card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,53,84,.22), transparent 60%); opacity: .6; transition: opacity .3s; pointer-events: none; }
a.gc:hover .fp-card__img::after, a.gc:hover .card__img::after { opacity: .4; }
.gc-tags { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: flex; gap: 8px; }
.gc-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(0,53,84,.12); background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-size: 12px; line-height: 18px; font-weight: 600; color: var(--navy); }
.gc-cta { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.2); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
a.gc:hover .gc-cta, a.gc:focus-visible .gc-cta { opacity: 1; }
.gc-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; line-height: 20px; font-weight: 500; box-shadow: 0 10px 15px -3px rgba(0,53,84,.25); transition: transform .15s; }
a.gc:active .gc-pill { transform: scale(.95); }
a.gc .gc-pill .more, .tool-callout a.gc .gc-pill .more { display: inline; padding: 0; margin: 0; font-size: inherit; line-height: inherit; font-weight: inherit; color: inherit; }
.gc-body { display: flex; flex-direction: column; flex: 1; gap: 16px; padding: 20px; }
a.gc h3, .entry-content a.gc h3 { font-size: 20px; line-height: 25px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 0 0 8px; padding: 0; transition: color .3s; }
a.gc:hover h3, a.gc:focus-visible h3 { color: var(--navy); }
a.gc p, .entry-content a.gc p { font-size: 14px; line-height: 21px; color: #52667a; margin: 0; padding: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.gc-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(0,53,84,.12); }
.gc-author { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gc-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(0,53,84,.12); flex: none; margin: 0; }
.gc-who { display: flex; flex-direction: column; font-size: 12px; line-height: 16px; min-width: 0; }
.gc-name { font-weight: 500; color: var(--ink); }
.gc-date { color: #52667a; }
.gc-time { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; color: #52667a; white-space: nowrap; }
@media (hover: none) { .gc-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { a.gc { animation: none; } a.gc, a.gc .slot img, .gc-cta, a.gc h3 { transition: none; } a.gc:hover .slot img { transform: none; } }

/* Card back: drawing-style summary (tools/apply_card_ui.py; the .gc-turn button is handled in site.js) */
.gc-flip { position: relative; height: 100%; min-width: 0; perspective: 1400px; }
.gc-flip[hidden] { display: none; }
.gc-inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gc-flip.is-flipped .gc-inner { transform: rotateY(180deg); }
.gc-inner > .gc-front { height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.gc-back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 22px; overflow: hidden; border-radius: 16px; border: 1px solid rgba(0,53,84,.2); background-color: #fbf9f4; background-image: radial-gradient(rgba(0,53,84,.14) 1px, transparent 1.2px); background-size: 16px 16px; box-shadow: 0 20px 25px -5px rgba(0,53,84,.1), 0 8px 10px -6px rgba(0,53,84,.1); transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.gc-back-top { display: flex; align-items: center; min-height: 64px; width: 100%; }
.gc-back-art { width: 84px; height: auto; margin: -6px 0 0 -6px; }
.gc-back > .gc-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(0,53,84,.12); background: #fff; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--navy); }
.gc-back h3 { font-size: 19px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 0; padding-right: 44px; }
.gc-rule { display: block; width: 120px; height: 10px; margin: -4px 0 0; }
.gc-back p { font-size: 14px; line-height: 21px; color: #3a4b5c; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.gc-back .gc-meta { width: 100%; margin-top: auto; }
.gc-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid #f1464c; padding-bottom: 1px; }
.gc-back-link:hover, .gc-back-link:focus-visible { color: var(--coral-dark); }
.gc-turn { position: absolute; top: 12px; right: 12px; z-index: 5; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%; border: 1px solid rgba(0,53,84,.2); background: rgba(255,255,255,.92); color: var(--navy); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.08); transition: transform .3s; }
.gc-turn:hover { transform: rotate(-45deg); }
.gc-turn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gc-flip.is-flipped .gc-turn:hover { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .gc-inner, .gc-turn { transition: none; } }

/* Slim strip: article pages show one ask (tools/apply_cta_layout.py) */
.hero--slim .hero__inner { grid-template-columns: minmax(0, 760px); }

/* Sticky CTA: mobile only, shown after about 40% of the page (tools/apply_cta_layout.py adds it, site.js shows it) */
a.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: block; padding: 14px 20px; border-radius: 999px; background: var(--coral); color: #fff !important; font-size: 17px; line-height: 24px; font-weight: 700; text-align: center; text-decoration: none; box-shadow: 0 10px 24px -6px rgba(241,70,76,.55); visibility: hidden; transform: translateY(160%); transition: transform .3s ease, visibility .3s; }
a.sticky-cta[hidden] { display: none; }
a.sticky-cta.is-on { visibility: visible; transform: none; }
@media (min-width: 901px) { .sticky-cta { display: none !important; } }
@media (prefers-reduced-motion: reduce) { a.sticky-cta { transition: none; } }

/* Stat note: the rebate stats panel on cream dotted paper (tools/stats_panel.py, initStatNote in site.js) */
.stat-note { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 22px 26px; border: 1px solid rgba(0,53,84,.2); border-radius: 14px; background-color: #fbf9f4; background-image: radial-gradient(rgba(0,53,84,.14) 1px, transparent 1.2px); background-size: 16px 16px; box-shadow: 0 8px 24px rgba(0,40,70,.10); color: var(--navy); }
.stat-note__art { width: 96px; height: auto; mix-blend-mode: multiply; }
.stat-note__figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: center; }
.stat-note__num { display: block; font-size: 30px; line-height: 36px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.stat-note__hl { position: relative; display: inline-block; z-index: 0; }
.stat-note__hl::before { content: ""; position: absolute; left: -4px; right: -4px; bottom: 3px; height: 12px; background: var(--yellow); opacity: .75; z-index: -1; }
.stat-note__ul { display: block; width: 96px; height: 9px; margin: 2px auto 0; overflow: visible; }
.stat-note__ul path { fill: none; stroke: #f1464c; stroke-width: 3; stroke-linecap: round; }
.stat-note__label { display: block; margin-top: 3px; font-size: 12px; line-height: 16px; color: #3a4b5c; }
.stat-note .stat-note__src { margin: 14px 0 0 !important; font-size: 12px !important; line-height: 18px !important; color: #52667a; }
.stat-note__src a { color: #0b6fb0; font-weight: 600; }
/* the animation only runs once site.js marks the panel ready; without it the finished panel shows */
.stat-note.is-ready .stat-note__ul path { stroke-dasharray: 150; stroke-dashoffset: 150; }
.stat-note.is-ready .stat-note__hl::before { transform: scaleX(0); transform-origin: left; }
.stat-note.is-ready.go .stat-note__ul path { animation: stat-note-draw .8s ease forwards; }
.stat-note.is-ready.go .stat-note__fig:nth-child(2) .stat-note__ul path { animation-delay: .25s; }
.stat-note.is-ready.go .stat-note__fig:nth-child(3) .stat-note__ul path { animation-delay: .5s; }
.stat-note.is-ready.go .stat-note__hl::before { animation: stat-note-sweep .7s .7s ease forwards; }
@keyframes stat-note-draw { to { stroke-dashoffset: 0; } }
@keyframes stat-note-sweep { to { transform: scaleX(1); } }
@media (max-width: 640px) {
  .stat-note { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 18px 16px; }
  .stat-note__art { width: 72px; }
  .stat-note__num { font-size: 24px; line-height: 30px; }
  .stat-note__figs { gap: 8px; }
  .stat-note__src { text-align: center; }
}
.stat-note .stat-note__note { margin: 6px 0 0 !important; font-size: 12px !important; line-height: 18px !important; font-style: italic; color: #3a4b5c; }
.cta-note { margin: -12px 0 24px !important; font-size: 14px !important; line-height: 21px !important; text-align: center; color: #52667a; }

/* Split page header: title, coral underline and a drawing of what the page is about (tools/apply_page_header.py) */
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; align-items: center; margin: 4px 0 18px; }
.page-head__eyebrow { margin: 0 0 8px !important; font-size: 12px !important; line-height: 16px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.page-head .entry-title { margin: 0; text-align: left; font-size: 44px; line-height: 52px; font-weight: 800; letter-spacing: -.02em; }
.page-head__ul { display: block; width: 190px; height: 12px; margin-top: 8px; overflow: visible; }
.page-head__ul path { fill: none; stroke: var(--coral); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 0; animation: page-head-draw .9s .35s ease backwards; }
.page-head__art { display: block; width: 100%; height: auto; mix-blend-mode: multiply; animation: page-head-fade .8s .2s ease backwards; }
@keyframes page-head-draw { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }
@keyframes page-head-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 800px) {
  .page-head { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .page-head .entry-title { font-size: 32px; line-height: 40px; }
  .page-head__art { max-width: 520px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .page-head__ul path, .page-head__art { animation: none; } }

/* Logo: the coral ".ca" in the name (tools/apply_logo.py) */
.logo .logo__ca { color: var(--coral); font-weight: 800; }
.logo span { display: block; }

/* Brand comparison charts (tools/compare_chart.py): typographic bars, neo-brutalist frame */
.cmp { margin: 28px 0; padding: 18px 20px 14px; background: #fff; border: 2px solid #000; box-shadow: 4px 4px 0 #000; border-radius: 0; }
.cmp figcaption { display: block; margin-bottom: 12px; }
.cmp figcaption strong { display: block; font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 18px; line-height: 24px; color: var(--navy); }
.cmp figcaption span { display: block; margin-top: 2px; font-size: 13px; line-height: 19px; color: #52667a; }
.cmp__rows { list-style: none; margin: 0; padding: 0; }
.cmp__row { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; padding: 7px 0; border-top: 1px solid #e8e2d6; }
.cmp__name { font-weight: 700; font-size: 14px; line-height: 20px; color: var(--navy); }
.cmp__track { display: block; background: #f4f1ea; height: 24px; }
.cmp__bar { display: block; height: 24px; min-width: 52px; background: #9fb8cc; border-right: 2px solid #000; text-align: right; }
.cmp__bar b { display: inline-block; padding: 0 8px; font-size: 13px; line-height: 24px; font-weight: 800; color: #000; }
.cmp__cond { grid-column: 2; font-size: 12px; line-height: 17px; color: #52667a; }
.cmp__row.is-self { background: #fff8de; margin: 0 -10px; padding: 7px 10px; }
.cmp__row.is-self .cmp__bar { background: var(--yellow); }
.cmp__row.is-self .cmp__name::after { content: " (this page)"; font-weight: 500; font-size: 11px; color: #52667a; }
.cmp__note { margin: 10px 0 0; font-size: 12px; line-height: 18px; color: #52667a; }
@media (max-width: 600px) { .cmp { padding: 14px 14px 10px; } .cmp__row { grid-template-columns: 1fr; } .cmp__cond { grid-column: 1; } .cmp__row.is-self { margin: 0 -6px; padding: 7px 6px; } }
.entry-content .cmp__rows, .cmp .cmp__rows { list-style: none; margin: 0; padding: 0; }
.entry-content .cmp__rows li, .cmp .cmp__rows li { list-style: none; margin: 0; }
.entry-content .cmp__row { padding-left: 0; padding-right: 0; }
.entry-content .cmp__row.is-self, .cmp .cmp__row.is-self { padding-left: 10px; padding-right: 10px; }

/* Flow button (port of the 21st.dev flow-button, 2026-11-11). Every CTA link: outline at rest, arrows swap sides and a circle fills on hover. */
.btn.flow-btn, .hb-btn.flow-btn {
  position: relative; display: inline-flex; align-items: center; gap: 4px; overflow: hidden; box-sizing: border-box;
  min-width: 0; padding: 14px 36px; border: 1.5px solid rgba(0,53,84,.4); border-radius: 100px; background: transparent;
  color: var(--navy); font-family: var(--font); font-size: 17px; line-height: 24px; font-weight: 600; text-align: left;
  text-decoration: none; cursor: pointer; text-transform: none; white-space: nowrap;
  transition: all .6s cubic-bezier(.23,1,.32,1);
}
.btn.flow-btn:hover, .btn.flow-btn:focus-visible, .hb-btn.flow-btn:hover, .hb-btn.flow-btn:focus-visible {
  background: transparent; color: #fff; border-color: transparent; border-radius: 12px;
}
.btn.flow-btn:active { transform: scale(.95); }
.flow-btn__text { position: relative; z-index: 1; transform: translateX(-12px); transition: transform .8s ease-out; }
.flow-btn:hover .flow-btn__text, .flow-btn:focus-visible .flow-btn__text { transform: translateX(12px); }
.flow-btn__dot {
  position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--coral);
  opacity: 0; transform: translate(-50%, -50%); transition: all .8s cubic-bezier(.19,1,.22,1); pointer-events: none;
}
.flow-btn:hover .flow-btn__dot, .flow-btn:focus-visible .flow-btn__dot { width: 260px; height: 260px; opacity: 1; }
.flow-btn__arr { position: absolute; z-index: 9; width: 16px; height: 16px; stroke: currentColor; fill: none; transition: all .8s cubic-bezier(.34,1.56,.64,1); }
.flow-btn__arr--l { left: -25%; top: 50%; margin-top: -8px; }
.flow-btn__arr--r { right: 16px; top: 50%; margin-top: -8px; }
.flow-btn:hover .flow-btn__arr--l, .flow-btn:focus-visible .flow-btn__arr--l { left: 16px; }
.flow-btn:hover .flow-btn__arr--r, .flow-btn:focus-visible .flow-btn__arr--r { right: -25%; }
.btn--lg.flow-btn { font-size: 19px; padding: 16px 44px; }
.header-actions .btn.flow-btn { font-size: 14px; line-height: 20px; padding: 8px 28px 8px 24px; }
.header-actions .btn.flow-btn .flow-btn__arr--r { right: 10px; width: 14px; height: 14px; margin-top: -7px; }
.header-actions .btn.flow-btn:hover .flow-btn__arr--l { left: 10px; }
.header-actions .btn.flow-btn .flow-btn__text { transform: translateX(-6px); }
.header-actions .btn.flow-btn:hover .flow-btn__text { transform: translateX(8px); }
.flow-cta { margin: 22px 0 10px; }
@media (max-width: 600px) { .hero__cta .btn.flow-btn { display: flex; width: 100%; justify-content: center; } .header-actions .btn.flow-btn { padding: 7px 24px 7px 20px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .btn.flow-btn, .flow-btn__text, .flow-btn__dot, .flow-btn__arr { transition: none; } }

/* FAQ accordion (port of the 21st.dev faq-sections, 2026-11-11). Without JavaScript every answer stays open. */
.faq-ui { margin: 8px 0 24px; max-width: 760px; }
.faq-item { border-bottom: 1px solid #cbd5e1; }
.faq-h { margin: 0; font-size: inherit; line-height: inherit; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 0; background: none;
  border: 0; cursor: pointer; text-align: left; font-family: var(--font); font-size: 17px; line-height: 24px; font-weight: 600; color: var(--ink);
}
.faq-q:hover { color: var(--navy); }
.faq-q:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.faq-chev { flex: none; color: #1d293d; transition: transform .5s ease-in-out; }
.faq-a__in { color: #475569; font-size: 16px; line-height: 26px; padding: 0 0 18px; max-width: 640px; }
.faq-a__in > :first-child { margin-top: 0; }
.faq-a__in > :last-child { margin-bottom: 0; }
.faq-ui.is-ready .faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-8px); transition: grid-template-rows .5s ease-in-out, opacity .5s ease-in-out, transform .5s ease-in-out; }
.faq-ui.is-ready .faq-a__in { overflow: hidden; padding-bottom: 0; min-height: 0; }
.faq-ui.is-ready .faq-item.is-open .faq-a { grid-template-rows: 1fr; opacity: 1; transform: none; }
.faq-ui.is-ready .faq-item.is-open .faq-a__in { padding-bottom: 18px; }
.faq-item.is-open .faq-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .faq-ui.is-ready .faq-a, .faq-chev { transition: none; } }

/* FAQ drawing: left of the questions on desktop, above them on mobile (Ahmed approved drawings A and C, 2026-11-11). */
.faq-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; margin: 8px 0 24px; }
.faq-wrap .faq-ui { margin: 0; max-width: none; }
.faq-art { margin: 0; }
.faq-art img { display: block; width: 100%; height: auto; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; gap: 8px; } .faq-art { max-width: 240px; margin: 0 auto; } }

/* Cell column trend (21st.dev cell-column-trend, ported from React 2026-11-11). Stacked-cell chart with metric tabs.
   Without JavaScript the plain bar charts in .cct-fallback are shown. Recolour with --cct-accent. */
.cct-wrap { margin: 28px 0; }
.cct-wrap .cct-fallback .cmp { margin: 12px 0; }
.cct-wrap.is-ready .cct-fallback { display: none; }
.cct-root:not(.is-ready) { display: none; }
.cct-root { --cct-accent: #2d5bff; --cct-ink: #14161c; --cct-mono: 'JetBrains Mono','SF Mono',ui-monospace,monospace; --cct-spring: linear(0,0.009,0.035 2.1%,0.141,0.281 6.7%,0.723 12.9%,0.938 16.7%,1.017,1.077,1.121,1.149 24.3%,1.159,1.163,1.161,1.154 29.9%,1.129 32.8%,1.051 39.6%,1.017 43.1%,0.991,0.977 51%,0.974 53.8%,0.975 57.1%,0.997 69.8%,1.003 76.9%,1);
  position: relative; width: 100%; max-width: 980px; border-radius: 22px; color: var(--cct-ink); overflow: hidden; line-height: 1.4; text-align: left;
  font-family: 'Inter Tight','Inter',ui-sans-serif,system-ui,sans-serif; background: #fbf9f4;
  background-image: linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,0) 40%),radial-gradient(120% 80% at 100% 0%,color-mix(in oklab,var(--cct-accent) 9%,transparent),transparent 60%);
  box-shadow: 0 0 0 1px rgba(20,22,28,.08),0 1px 0 #fff inset,0 2px 4px rgba(20,22,28,.04),0 24px 60px -28px rgba(20,22,28,.28); }
.cct-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 0; }
.cct-title { font-size: 17px; font-weight: 650; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; color: var(--cct-ink); }
.cct-cap { font-size: 12.5px; color: rgba(20,22,28,.52); margin-top: 3px; }
.cct-badge { font: 600 11px/1 var(--cct-mono); padding: 6px 9px; border-radius: 8px; background: rgba(20,22,28,.05); color: rgba(20,22,28,.6); white-space: nowrap; }
.cct-chart { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 0 10px; padding: 22px 24px 8px; }
.cct-y { position: relative; height: var(--h); }
.cct-y > span { position: absolute; right: 0; transform: translateY(-50%); font: 500 11px/1 var(--cct-mono); color: rgba(20,22,28,.42); animation: cct-tick .6s var(--cct-spring) both; }
.cct-plot { position: relative; height: var(--h); display: flex; gap: 3px; outline: none; border-radius: 6px; }
.cct-plot:focus-visible { box-shadow: 0 0 0 2px var(--cct-accent); outline-offset: 4px; }
.cct-grid { position: absolute; left: 0; right: 0; height: 1px; background: repeating-linear-gradient(90deg,rgba(20,22,28,.12) 0 3px,transparent 3px 7px); pointer-events: none; }
.cct-col { position: relative; flex: 1; display: flex; flex-direction: column-reverse; gap: 3px; cursor: crosshair; transition: opacity .25s; min-width: 0; }
.cct-cell { flex: 1; border-radius: 3px; background: rgba(20,22,28,.055); transform-origin: 50% 100%; animation: var(--flip) .55s var(--cct-spring) both; animation-delay: calc(var(--c)*11ms + var(--r)*16ms); transition: background .25s; }
.cct-on { background: color-mix(in oklab,var(--cct-accent) 82%,#fff); }
.cct-cap1 { background: color-mix(in oklab,var(--cct-accent) 45%,#fff); }
.cct-hot .cct-col { opacity: .38; }
.cct-hot .cct-col.cct-act { opacity: 1; }
.cct-act .cct-on { background: var(--cct-accent); }
.cct-act .cct-cell:not(.cct-on) { background: color-mix(in oklab,var(--cct-accent) 10%,transparent); }
.cct-line { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 1px dashed rgba(20,22,28,.55); pointer-events: none; opacity: 0; transition: left .4s var(--cct-spring),opacity .2s; }
.cct-tip { position: absolute; z-index: 2; pointer-events: none; opacity: 0; transform: translate(14px,-50%) scale(.92); transform-origin: 0 50%;
  transition: left .4s var(--cct-spring),top .4s var(--cct-spring),opacity .2s,transform .35s var(--cct-spring);
  background: #fff; border-radius: 12px; padding: 8px 12px; white-space: nowrap; box-shadow: 0 0 0 1px rgba(20,22,28,.08),0 12px 28px -10px rgba(20,22,28,.35); }
.cct-flipx { transform: translate(calc(-100% - 14px),-50%) scale(.92); transform-origin: 100% 50%; }
.cct-hot .cct-tip { opacity: 1; transform: translate(14px,-50%) scale(1); }
.cct-hot .cct-tip.cct-flipx { transform: translate(calc(-100% - 14px),-50%) scale(1); }
.cct-hot .cct-line { opacity: 1; }
.cct-tip-d { font-size: 11px; color: rgba(20,22,28,.5); }
.cct-tip-v { font: 650 15px/1.1 var(--cct-mono); margin-top: 3px; display: flex; align-items: center; gap: 6px; color: var(--cct-ink); }
.cct-tip-v i { width: 8px; height: 8px; border-radius: 2px; background: var(--cct-accent); }
.cct-tip-n { font-size: 11px; line-height: 15px; margin-top: 4px; max-width: 200px; white-space: normal; color: rgba(20,22,28,.55); }
.cct-x { position: relative; height: 28px; grid-column: 2; }
.cct-x > span { position: absolute; top: 8px; transform: translateX(-50%); font-size: 11px; color: rgba(20,22,28,.42); white-space: nowrap; }
.cct-x > .cct-pin { position: absolute; top: 4px; transform: translateX(-50%) scale(.8); opacity: 0; font: 600 10.5px/1 var(--cct-mono); color: #fff; background: var(--cct-ink); padding: 5px 8px; border-radius: 999px;
  transition: left .4s var(--cct-spring),opacity .2s,transform .3s var(--cct-spring); z-index: 1; white-space: nowrap; }
.cct-hot .cct-x > .cct-pin { opacity: 1; transform: translateX(-50%) scale(1); }
.cct-tabs { position: relative; display: grid; grid-template-columns: repeat(var(--n),minmax(0,1fr)); border-top: 1px solid rgba(20,22,28,.08); }
.cct-ind { position: absolute; top: -1px; left: 0; height: 2px; width: calc(100% / var(--n)); background: var(--cct-ink); transform: translateX(calc(var(--k)*100%)); transition: transform .5s var(--cct-spring); }
.cct-tab { appearance: none; border: 0; border-radius: 0; background: transparent; text-align: left; cursor: pointer; padding: 16px 20px 18px; font: inherit; color: inherit; position: relative; transition: background .2s; }
.cct-tab + .cct-tab { box-shadow: -1px 0 0 rgba(20,22,28,.08); }
.cct-tab:hover { background: rgba(20,22,28,.025); }
.cct-tab:focus-visible { outline: 2px solid var(--cct-accent); outline-offset: -2px; }
.cct-tl { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(20,22,28,.55); font-weight: 500; }
.cct-ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(20,22,28,.06); color: rgba(20,22,28,.6); transition: background .3s,color .3s; flex: none; }
.cct-tab[aria-selected=true] .cct-ic { background: var(--cct-ink); color: #fff; }
.cct-tv { display: block; font: 600 26px/1 var(--cct-mono); letter-spacing: -.04em; margin-top: 12px; color: rgba(20,22,28,.4); transition: color .3s; }
.cct-tab[aria-selected=true] .cct-tv { color: var(--cct-ink); }
.cct-td { display: block; font-size: 11.5px; margin-top: 8px; color: rgba(20,22,28,.45); font-variant-numeric: tabular-nums; }
.cct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cct-note { margin: 10px 4px 0; font-size: 14px; line-height: 21px; color: #555; }
@keyframes cct-a { 0% { transform: scaleY(.15) rotateX(80deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes cct-b { 0% { transform: scaleY(.15) rotateX(80deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes cct-tick { 0% { transform: translateY(0); opacity: 0; } 100% { transform: translateY(-50%); opacity: 1; } }
@media (max-width: 640px) {
  .cct-head, .cct-chart { padding-left: 16px; padding-right: 16px; } .cct-chart { grid-template-columns: 34px minmax(0,1fr); gap: 0 6px; } .cct-plot, .cct-col { gap: 2px; } .cct-cell { border-radius: 2px; }
  .cct-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); } .cct-tab { padding: 14px 16px; } .cct-tv { font-size: 17px; line-height: 22px; } .cct-badge { display: none; }
}
.cct-wrap { container-type: inline-size; }
@container (max-width: 760px) { .cct-x { height: 92px; } .cct-x > span:not(.cct-pin) { writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); top: 8px; } .cct-x > .cct-pin { top: 8px; } }
@media (prefers-reduced-motion: reduce) { .cct-root * { animation: none !important; transition: none !important; } }

.cct-x > span.cct-self { color: var(--cct-ink); font-weight: 700; }
/* Brand yellow band along the bottom of every chart (Ahmed, 2026-11-11). */
.cct-root { border-bottom: 14px solid var(--yellow); }

/* Fixes from the 2026-11-11 audit. Flow button hover: the fill is now an ellipse wider than the button so it covers wide buttons end to end. */
.flow-btn__dot { border-radius: 50%; }
.flow-btn:hover .flow-btn__dot, .flow-btn:focus-visible .flow-btn__dot { width: 240%; height: 420px; }
/* Footer slogan under the logo. */
.site-footer .logo { align-items: center; }
.site-footer .logo small { display: block !important; margin-top: 2px; font-size: 12px; font-weight: 600; color: #b8cbdb; }
/* Audit fixes 2026-11-11: long links wrap, wide buttons never overflow, logos centred. */
.entry-content a, .sources a { overflow-wrap: anywhere; }
.btn.flow-btn, .hb-btn.flow-btn { max-width: 100%; }
.calc__btns .btn.flow-btn { white-space: normal; justify-content: center; text-align: center; }
.brand-mark { width: 100%; justify-content: center; text-align: center; }
.brand-mark img { margin-inline: auto; object-position: center; }
.hb-logo { display: flex; align-items: center; justify-content: center; }
.hb-logo img { max-width: 100%; max-height: 100%; object-fit: contain; margin: 0 auto; }
.video-explainer__grid { grid-template-columns: 1fr; max-width: 760px; }

/* How a heat pump works: animated figure on /heat-pumps/what-is-a-heat-pump/ (2026-11-16) */
.hpw { max-width: 920px; margin: 1.5rem auto; }
.hpw__stage { position: relative; background: #fff; }
.hpw__stage img { width: 100%; height: auto; display: block; }
.hpw__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hpw figcaption { margin-top: .5rem; font-size: .95rem; color: var(--muted, #4a5568); }
.hpw__badge { fill: #fff; stroke: #1b2330; stroke-width: 3; }
.hpw__num { font: 800 28px Montserrat, system-ui, sans-serif; fill: #1b2330; text-anchor: middle; dominant-baseline: central; }

/* Quote strip, half height (2026-11-16): tighter spacing, shorter winter strip, smaller title. */
.hero--strip { min-height: 0; padding: 0; }
.hero--strip .hero__inner { padding-top: 16px; padding-bottom: 64px; }
.hero--strip .hero__bg::after { height: 56px; }
.hero--strip .eyebrow { margin-bottom: 4px; }
.hero--strip .hero-title { font-size: 26px; line-height: 32px; margin: 0 0 6px; }
.hero--strip p:not(.hero-title) { font-size: 15px; line-height: 22px; margin: 0; }
.hero--strip .hero__cta { margin: 12px 0 0; }
@media (max-width: 900px) {
  .hero--strip .hero__inner { padding-bottom: 48px; }
  .hero--strip .hero__bg::after { height: 44px; }
  .hero--strip .hero-title { font-size: 22px; line-height: 28px; }
  .hero--strip p:not(.hero-title) { display: none; }
}

/* Standard legal pages: privacy policy and terms (2026-11-16). Plain text, no author box, strip or cards. */
.article.legal { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.article.legal h1 { font-size: 34px; line-height: 42px; margin: 8px 0 6px; }
.article.legal .legal__updated { color: #4a5568; font-size: 15px; margin: 0 0 28px; }
.article.legal h2 { font-size: 22px; line-height: 30px; font-weight: 700; margin: 32px 0 10px; }
.article.legal p, .article.legal li { font-size: 16px; line-height: 26px; }
.article.legal p { margin: 0 0 14px; }
.article.legal ul, .article.legal ol { padding-left: 24px; margin: 0 0 14px; }
.article.legal li { margin-bottom: 6px; }
@media (max-width: 600px) { .article.legal h1 { font-size: 28px; line-height: 36px; } .article.legal h2 { font-size: 20px; line-height: 28px; } }

/* Brand page template (2026-11-17): model page's brand page layout in our colours. Hero with logo disc and stat tiles, one column
   of H2 sections on a uniform 24px block rhythm, Pros and Cons cards, "line" blocks, callouts, verdict card, FAQ list, related guides.
   Built by tools/build_brand_template.py. Tables reuse .foo-wrap / .foo-table above. */
.bt-hero { background: linear-gradient(105deg, #00253c 15%, #003554 58%, #0b5a86); color: #fff; padding: 40px 0 56px; }
.bt-hero__inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: center; }
.bt-crumbs-old { font-size: 13px; line-height: 20px; color: rgba(255,255,255,.78); margin-bottom: 18px; }
.bt-crumbs-old a { color: rgba(255,255,255,.9); }
.bt-chip { display: inline-block; background: var(--yellow); color: var(--navy); font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.bt-hero h1 { font-size: 40px; line-height: 54px; font-weight: 800; color: #fff; margin: 0 0 20px; }
.bt-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0 0 22px; }
.bt-stats li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 12px; padding: 10px 16px; min-width: 150px; }
.bt-stats strong { display: block; font-size: 22px; line-height: 28px; font-weight: 800; color: var(--yellow); }
.bt-stats span { display: block; font-size: 13px; line-height: 19px; color: rgba(255,255,255,.88); }
.bt-hero__lede { font-size: 17px; line-height: 28px; margin: 0 0 14px; color: #fff; }
.bt-hero__take { font-size: 16px; line-height: 26px; margin: 0 0 24px; padding-left: 14px; border-left: 4px solid var(--yellow); color: #fff; }
.bt-hero__cta { margin-bottom: 22px; }
.bt-hero__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 20px; color: rgba(255,255,255,.82); margin: 0; }
.bt-hero__meta img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.bt-hero__meta a { color: #fff; }
.bt-logo-disc { width: 240px; height: 240px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; padding: 38px; box-shadow: 0 18px 40px rgba(0,0,0,.28); margin: 0 auto; }
.bt-logo-disc img { width: 100%; height: 100%; object-fit: contain; }
.bt-body { max-width: 960px; margin: 0 auto; padding: 56px 20px 72px; font-size: 17px; line-height: 29px; }
.bt-body .bt-sec > * + * { margin-top: 24px; }
.bt-body .bt-sec + .bt-sec { margin-top: 56px; }
.bt-sec h2 { font-size: 28px; line-height: 36px; font-weight: 800; color: var(--navy); margin: 0; }
.bt-sec h2::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--coral); margin-top: 12px; }
.bt-sec h3 { font-size: 22px; line-height: 30px; font-weight: 700; margin: 0; }
.bt-sec p, .bt-sec li { font-size: 17px; line-height: 29px; margin: 0; }
.bt-sec ul, .bt-sec ol { padding-left: 28px; margin-bottom: 0; }
.bt-sec li + li { margin-top: 6px; }
.bt-sec .foo-wrap { margin-bottom: 0; }
.bt-sec .foo-table { min-width: 0; }
.bt-body .bt-sec .foo-wrap + .bt-source { margin-top: 10px; }
.bt-source { font-size: 13px !important; line-height: 20px !important; color: #52667a; }
.bt-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bt-pc { border-radius: 10px; padding: 20px 22px; }
.bt-pc h3 { font-size: 18px; line-height: 26px; margin-bottom: 10px; }
.bt-pc ul { list-style: none; padding: 0; }
.bt-pc li { position: relative; padding-left: 26px; font-size: 16px; line-height: 25px; }
.bt-pc li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.bt-pc--pros { background: #eaf7ee; border: 1px solid #bfe3c8; border-left: 5px solid var(--green); }
.bt-pc--pros li::before { content: "\2713"; color: var(--green); }
.bt-pc--cons { background: #fdeeee; border: 1px solid #f4c6c8; border-left: 5px solid var(--coral); }
.bt-pc--cons li::before { content: "\2715"; color: var(--coral-dark); }
.bt-sec--lines .bt-line { border-left: 4px solid var(--coral); padding-left: 18px; }
.bt-body .bt-sec--lines .bt-line + .bt-line { margin-top: 24px; }
.bt-line h3 { margin-bottom: 4px; }
.bt-callout { border-radius: 8px; padding: 16px 22px; }
.bt-callout p, .bt-callout li { font-size: 16px; line-height: 26px; }
.bt-body .bt-callout > * + * { margin-top: 10px; }
.bt-callout--tip { background: var(--cream); border: 1px solid var(--cream-line); border-left: 5px solid var(--yellow); }
.bt-callout--check { background: #eef6fb; border: 1px solid #cfe4f2; border-left: 5px solid var(--blue); }
.bt-sec--verdict > p, .bt-sec--verdict > ul { background: var(--grey-50); }
.bt-sec--verdict { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: 12px; padding: 28px 30px; }
.bt-sec--verdict > p, .bt-sec--verdict > ul { background: transparent; }
.bt-sec--faq .bt-faq__item { border-bottom: 1px solid var(--grey-200); padding-bottom: 20px; }
.bt-body .bt-sec--faq .bt-faq__item + .bt-faq__item { margin-top: 20px; }
.bt-sec--faq .bt-faq__item h3 { font-size: 19px; line-height: 27px; margin-bottom: 6px; }
.bt-sec--final { border-top: 2px solid var(--navy); padding-top: 32px; }
.bt-fine { font-size: 14px !important; line-height: 22px !important; color: #52667a; }
.bt-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bt-card { display: block; border: 1px solid var(--grey-200); border-radius: 12px; padding: 18px 20px; text-decoration: none; color: var(--ink); background: #fff; transition: box-shadow .15s, border-color .15s; }
.bt-card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(0,53,84,.12); }
.bt-card strong { display: block; font-size: 17px; line-height: 25px; color: var(--navy); }
.bt-card span { display: block; font-size: 14px; line-height: 22px; color: #52667a; margin-top: 4px; }
@media (max-width: 900px) {
  .bt-hero { padding: 32px 0 40px; }
  .bt-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .bt-hero h1 { font-size: 28px; line-height: 38px; }
  .bt-logo-disc { width: 160px; height: 160px; padding: 26px; }
  .bt-stats li { flex: 1 1 140px; }
  .bt-body { padding: 40px 16px 56px; }
  .bt-sec h2 { font-size: 22px; line-height: 30px; }
  .bt-sec h3 { font-size: 20px; line-height: 28px; }
  .bt-sec p, .bt-sec li { font-size: 16px; line-height: 27px; }
  .bt-proscons, .bt-cards { grid-template-columns: 1fr; }
  .bt-sec--verdict { padding: 22px 18px; }
}

/* Table motion (2026-11-17): the supplied animate-table-motion.tsx (framer-motion) ported to plain CSS and JS (site.js, "Table motion").
   The table fades and scales in (0.4s), then rows fade up 20px one after another (0.5s). It starts when the table scrolls into view.
   Skipped for reduced motion, for the eligible list and for tables over 30 rows. Without JavaScript nothing is hidden. */
.tm { opacity: 0; transform: scale(.98); transition: opacity .4s ease-out, transform .4s ease-out; }
.tm.tm-in { opacity: 1; transform: none; }
.tm tbody tr { opacity: 0; transform: translateY(20px); transition: opacity .5s ease-out, transform .5s ease-out; transition-delay: calc(var(--tm-i, 0) * .12s + .2s); }
.tm.tm-in tbody tr { opacity: 1; transform: none; }
.tm.tm-done, .tm.tm-done tbody tr { transition: none; }
@media (prefers-reduced-motion: reduce) { .tm, .tm tbody tr { opacity: 1; transform: none; transition: none; } }

/* Table look (Ahmed, 2026-11-17, replaces the neo-brutalist table of rule 7): the supplied animate-table-motion.tsx (shadcn Table), ported to plain CSS.
   Tokens from the supplied theme: primary #5d87ff, secondary #49beff. Rounded-md frame with a soft shadow, header tinted primary at 10% (solid #eff3ff so a sticky
   header stays opaque), 48px header row in muted text, 16px cell padding, white rows with a thin bottom border, muted row hover, pill badges. Motion is "Table motion" above. */
:root { --tbl-primary: #5d87ff; --tbl-secondary: #49beff; --tbl-head: #eff3ff; --tbl-border: #e2e8f0; --tbl-muted: #64748b; --tbl-hover: #f8fafc; }
.foo-wrap, .result-table { overflow: auto; padding: 0; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
.foo-wrap { margin: 0 0 30px; }
.result-table { margin: 10px 0 14px; }
.foo-table, .result-table table { width: 100%; border-collapse: collapse; border-spacing: 0; background: #fff; border: 0; border-radius: 0; box-shadow: none; font-size: 14px; line-height: 20px; color: #0f172a; text-align: left; margin: 0; }
.foo-table { min-width: 520px; }
.result-table table { display: table; min-width: 420px; }
.foo-table th, .result-table thead th { background: var(--tbl-head); color: var(--tbl-muted); font-weight: 500; height: 48px; padding: 0 16px; text-align: left; vertical-align: middle; border: 0; border-bottom: 1px solid var(--tbl-border); }
.foo-table td, .result-table td, .result-table tbody th { padding: 16px; border: 0; border-bottom: 1px solid var(--tbl-border); vertical-align: middle; font-weight: 400; background: transparent; }
.foo-table tbody tr, .result-table tbody tr { background: #fff; transition: background-color .15s; }
.foo-table tbody tr:hover, .result-table tbody tr:hover { background: var(--tbl-hover); }
.result-table tbody tr:hover td, .result-table tbody tr:hover th { background: transparent; }
.foo-table tbody tr:last-child td, .result-table tbody tr:last-child td, .result-table tbody tr:last-child th { border-bottom: 0; }
.foo-table td:first-child { font-weight: 500; color: #111827; }
.foo-table tfoot td { background: var(--tbl-head); font-weight: 500; border-top: 1px solid var(--tbl-border); border-bottom: 0; }
.foo-table caption { caption-side: bottom; margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--tbl-muted); }
.tbl-pill, .elig-pill { display: inline-block; border: 0; border-radius: 999px; padding: 4px 12px; font-size: 12px; line-height: 16px; font-weight: 500; background: rgba(93,135,255,.1); color: var(--tbl-primary); }
.tbl-pill--secondary { background: rgba(73,190,255,.1); color: #1d9bd8; }
.elig-pill--active { background: rgba(93,135,255,.1); color: var(--tbl-primary); }
.elig-pill--archived { background: #f1f5f9; color: var(--tbl-muted); border: 0; }
/* Comparison chart frames follow the same soft look. */
.cmp { border: 0; border-radius: 6px; box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
.cmp__bar { border-right: 0; background: var(--tbl-primary); }
.cmp__bar b { color: #fff; }
.cct-root { border-bottom: 0; border-radius: 6px; box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }

/* Brand page hero rating and cost (2026-11-17): star rating with an info tooltip and the average installed cost, as on the model page. No avatar in the hero. */
.bt-rating { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.bt-stars { position: relative; display: inline-block; font-size: 22px; line-height: 1; letter-spacing: 2px; color: rgba(255,255,255,.35); white-space: nowrap; }
.bt-stars::before { content: "\2605\2605\2605\2605\2605"; }
.bt-stars > span { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--yellow); white-space: nowrap; }
.bt-rating strong { font-size: 18px; line-height: 24px; font-weight: 800; color: #fff; }
.bt-rating__label { font-size: 14px; line-height: 20px; color: rgba(255,255,255,.88); }
.bt-info { position: relative; display: inline-flex; }
.bt-info__btn { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); background: transparent; color: #fff; font: 700 13px/1 var(--font); cursor: pointer; padding: 0; }
.bt-info__btn:hover, .bt-info__btn:focus-visible { background: rgba(255,255,255,.18); outline: none; }
.bt-tip { position: absolute; left: 0; top: calc(100% + 10px); z-index: 5; width: min(340px, 80vw); background: #fff; color: #0f172a; border-radius: 8px; padding: 14px 16px; font-size: 14px; line-height: 21px; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,.25); display: none; }
.bt-info:hover .bt-tip, .bt-info.is-open .bt-tip, .bt-info__btn:focus-visible + .bt-tip { display: block; }
.bt-hero__cost { font-size: 18px; line-height: 26px; margin: 0 0 18px; color: #fff; }
.bt-hero__cost strong { font-weight: 800; }
.bt-body .bt-sec > h3 { margin-top: 40px; }
@media (max-width: 900px) { .bt-hero__cost { font-size: 16px; } .bt-tip { left: -4px; } }

/* Mid-article calculator banner (2026-11-17): the model page's calculator banner in our colours, our type and a Notion-style drawing.
   Used on brand pages (tools/build_brand_template.py). One button, "Take me there". */
.bt-promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 0% 100%, rgba(241,70,76,.38), transparent 55%), linear-gradient(105deg, #00253c 10%, #003554 60%, #0b4f78); box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 10px 28px rgba(0,53,84,.2); margin: 56px 0 0; min-height: 260px; }
.bt-body .bt-promo + .bt-sec, .bt-body .bt-sec + .bt-promo { margin-top: 56px; }
.bt-promo__copy { padding: 36px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; }
.bt-promo__icon { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); display: grid; place-items: center; }
.bt-promo__title { font-size: 30px; line-height: 38px; font-weight: 800; color: #fff; margin: 0; }
.bt-promo__btn { display: inline-flex; align-items: center; gap: 10px; background: var(--yellow); color: var(--navy); border: 0; border-radius: 999px; padding: 14px 26px; font-size: 16px; line-height: 22px; font-weight: 700; text-decoration: none; transition: background-color .15s, transform .15s; }
.bt-promo__btn:hover, .bt-promo__btn:focus-visible { background: #ffd34d; color: var(--navy); transform: translateY(-1px); }
.bt-promo__art { background: var(--coral); display: flex; align-items: stretch; justify-content: center; }
.bt-promo__art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .bt-promo { grid-template-columns: 1fr; } .bt-promo__copy { padding: 28px 24px; } .bt-promo__title { font-size: 24px; line-height: 32px; } .bt-promo__art { order: 2; max-height: 240px; } }

/* Brand page template: phone and SEO pass (2026-11-17). Compact hero on phones, stacked snapshot table, tappable info button, jump links, anchor offsets. */
.bt-hero .crumbs { font-size: 13px; line-height: 20px; color: rgba(255,255,255,.78); margin: 0 0 18px; }
.bt-hero .crumbs a { color: rgba(255,255,255,.9); }
.bt-hero__meta { display: block; }
.bt-info__btn { position: relative; }
.bt-info__btn::after { content: ""; position: absolute; inset: -11px; }
.bt-sec h2 { scroll-margin-top: calc(var(--header-h) + 16px); }
.bt-toc { margin: 0 0 40px; border: 1px solid var(--grey-200); border-radius: 10px; background: var(--grey-50); }
.bt-toc summary { cursor: pointer; list-style: none; padding: 14px 18px; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.bt-toc summary::-webkit-details-marker { display: none; }
.bt-toc summary::after { content: "+"; font-size: 22px; line-height: 1; font-weight: 500; }
.bt-toc[open] summary::after { content: "\2212"; }
.bt-toc summary span { font-weight: 500; color: #52667a; font-size: 14px; margin-right: auto; }
.bt-toc ol { margin: 0; padding: 0 18px 16px 40px; columns: 2; column-gap: 32px; }
.bt-toc li { font-size: 15px; line-height: 22px; padding: 4px 0; break-inside: avoid; }
.bt-toc a { color: var(--navy); }
@media (max-width: 900px) {
  .bt-hero__inner { gap: 16px; }
  .bt-hero__logo { order: -1; }
  .bt-logo-disc { width: 84px; height: 84px; padding: 14px; margin: 0; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
  .bt-hero .crumbs { margin-bottom: 14px; }
  .bt-chip { margin-bottom: 10px; }
  .bt-hero h1 { margin-bottom: 14px; }
  .bt-hero__lede { font-size: 15px; line-height: 24px; }
  .bt-hero__take { font-size: 15px; line-height: 24px; margin-bottom: 20px; }
  .bt-hero__cta { display: block; width: 100%; text-align: center; margin-bottom: 16px; }
  .bt-hero__meta { font-size: 12px; line-height: 18px; }
  .bt-toc ol { columns: 1; }
  .bt-sec h2 { scroll-margin-top: calc(var(--header-h) + 12px); }
}
@media (max-width: 640px) {
  .bt-glance, .bt-glance tbody, .bt-glance tr, .bt-glance td { display: block; width: 100%; min-width: 0; }
  .bt-glance thead { display: none; }
  .bt-glance td { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; text-align: right; font-weight: 500; border-bottom: 1px solid var(--tbl-border); }
  .bt-glance td::before { content: attr(data-label); flex: 0 0 38%; text-align: left; font-weight: 600; color: var(--tbl-muted); }
  .bt-glance tbody tr:last-child td:last-child { border-bottom: 0; }
  .foo-wrap:has(.bt-glance) { overflow: visible; }
}
/* Phone hero order (2026-11-17): button right after the rating and cost so it sits in the first screen, lede and verdict below it. */
@media (max-width: 900px) {
  .bt-hero__copy { display: flex; flex-direction: column; }
  .bt-hero__copy > .crumbs { order: 0; align-self: stretch; }
  .bt-hero__copy > .bt-chip { order: 1; align-self: flex-start; }
  .bt-hero__copy > h1 { order: 2; font-size: 26px; line-height: 35px; }
  .bt-hero__copy > .bt-rating { order: 3; }
  .bt-hero__copy > .bt-hero__cost { order: 4; margin-bottom: 18px; }
  .bt-hero__copy > .bt-hero__cta { order: 5; }
  .bt-hero__copy > .bt-hero__lede { order: 6; }
  .bt-hero__copy > .bt-hero__take { order: 7; }
  .bt-hero__copy > .bt-hero__meta { order: 8; }
}

/* Table headline and text (Ahmed, 2026-11-17): brand red header row, slightly bigger body text, bold black text in every table.
   Black on the brand red keeps the contrast above 5:1 (white on this red would be about 3.5:1). */
.foo-table th, .result-table thead th { background: var(--coral); color: #000; font-weight: 800; font-size: 15px; line-height: 20px; border-bottom: 0; }
.foo-table td, .result-table td, .result-table tbody th { font-size: 16px; line-height: 24px; font-weight: 700; color: #000; }
.foo-table td:first-child { font-weight: 700; color: #000; }
.elig-table td:nth-child(n+2) { font-weight: 700; }
.foo-table tfoot td { background: #ffe3e4; font-weight: 800; color: #000; }
.bt-glance td::before { color: #000; font-weight: 800; }
/* Tables with three columns or fewer fit a phone without sideways scroll. */
.foo-table:not(:has(th:nth-child(4))) { min-width: 0; }

/* A little more brand red in tables (Ahmed, 2026-11-17): darker red rule under the header, red accent bar on each row, pale red row lines and hover, red base line. */
.foo-table th, .result-table thead th { border-bottom: 3px solid var(--coral-dark); }
.foo-table td, .result-table td, .result-table tbody th { border-bottom: 1px solid #f6caca; }
.foo-table tbody tr td:first-child, .result-table tbody tr th:first-child, .result-table tbody tr td:first-child { box-shadow: inset 5px 0 0 var(--coral); }
.foo-table tbody tr:hover, .result-table tbody tr:hover { background: #fff1f1; }
.foo-wrap, .result-table { border-bottom: 4px solid var(--coral); }
.foo-table tbody tr:last-child td, .result-table tbody tr:last-child td, .result-table tbody tr:last-child th { border-bottom: 0; }

/* Postal code first strip (2026-11-17): a postal code box and the Find local pros button, as on the model site's ZIP prompt. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.postal-form { display: flex; gap: 12px; align-items: stretch; max-width: 640px; }
.postal-form input { flex: 1 1 auto; min-width: 0; font: 600 18px/24px var(--font); color: #0f172a; background: #fff; border: 2px solid var(--navy); border-radius: 999px; padding: 14px 24px; }
.postal-form input::placeholder { color: #64748b; font-weight: 500; }
.postal-form input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.postal-form input[aria-invalid="true"] { border-color: var(--coral-dark); }
.postal-form .btn { flex: 0 0 auto; border: 0; cursor: pointer; white-space: nowrap; min-width: 0; padding-left: 28px; padding-right: 28px; }
.postal-error { margin: 10px 0 0; font-size: 15px; line-height: 22px; font-weight: 700; color: var(--coral-dark); }
.postal-note { margin: 10px 0 0; font-size: 13px; line-height: 20px; color: #52667a; }
@media (max-width: 640px) { .postal-form { flex-direction: column; } .postal-form .btn { width: 100%; } .postal-form input { font-size: 16px; } }
/* The compact phone strip hides its small print, but a postal code error must always show. */
.hero--strip p.postal-error { font-size: 15px; line-height: 22px; margin: 10px 0 0; }
.hero--strip p.postal-error[hidden] { display: none; }
.hero--strip p.postal-error:not([hidden]) { display: block; }


/* Brand logo fallback: text wordmark disc when no official logo file is on hand (2026-11-17) */
.bt-logo-disc--text{display:flex;align-items:center;justify-content:center;text-align:center;padding:12px}
.bt-logo-disc--text span{font:800 15px/1.15 Montserrat,sans-serif;color:#003554;letter-spacing:-.01em}

/* Table borders removed and a rosy header (Ahmed, 2026-11-17): no red frame lines, light rose header row, black bold text kept */
.foo-wrap, .result-table { border-bottom: 0; }
.foo-table th, .result-table thead th { background: #f7c1c3; border-bottom: 0; }
.foo-table tbody tr td:first-child, .result-table tbody tr th:first-child, .result-table tbody tr td:first-child { box-shadow: none; }


/* Action search bar (Ahmed, 2026-11-17): plain CSS and JS version of the supplied animated search component. See ActionSearch in site.js. */
.as-box { position: relative; width: 100%; max-width: 640px; }
.as-input, .as-box input { width: 100%; box-sizing: border-box; height: 48px; padding: 0 46px 0 14px; font: inherit; font-size: 16px; color: #111; background: #fff;
  border: 1px solid #d1d5db; border-radius: 10px; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.as-input::placeholder { color: #9ca3af; }
.as-input:focus { outline: 0; border-color: var(--navy, #003554); box-shadow: 0 0 0 3px rgba(0,53,84,.14); }
.as-icon { position: absolute; right: 8px; top: 50%; width: 32px; height: 32px; margin-top: -16px; padding: 0; border: 0; background: none; color: #9ca3af; cursor: pointer; overflow: hidden; border-radius: 8px; }
.as-icon--decor { pointer-events: none; }
.as-i { position: absolute; left: 6px; top: 6px; width: 20px; height: 20px; display: block; transition: transform .2s ease, opacity .2s ease; }
.as-i svg { width: 20px; height: 20px; display: block; }
.as-send { transform: translateY(-24px); opacity: 0; color: var(--coral-dark, #d93a40); }
.as-box.has-q .as-search { transform: translateY(24px); opacity: 0; }
.as-box.has-q .as-send { transform: translateY(0); opacity: 1; }
.as-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.as-panel.open { grid-template-rows: 1fr; }
.as-panel--flow { position: static; }
.as-panel__clip { overflow: hidden; min-height: 0; }
.as-panel__box { margin-top: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.10); overflow: hidden; }
.as-panel:not(.open) .as-panel__box { visibility: hidden; }
.as-list { list-style: none; margin: 0; padding: 4px; max-height: 340px; overflow: auto; }
.as-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; cursor: pointer; animation: as-in .3s ease both; }
.as-row:hover, .as-row.is-active { background: #f3f4f6; }
.as-main { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.as-ico { display: inline-flex; flex: none; }
.as-ico svg { width: 18px; height: 18px; }
.as-label { font-size: 15px; font-weight: 600; color: #111; }
.as-desc { font-size: 13px; color: #9ca3af; }
.as-end { flex: none; font-size: 12px; color: #9ca3af; text-align: right; }
.as-msg { padding: 12px; font-size: 14px; color: #6b7280; }
.as-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 8px 14px; border-top: 1px solid #f1f1f1; font-size: 12px; color: #6b7280; }
@keyframes as-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .as-row { animation: none; } .as-i, .as-panel { transition: none; } }
.site-search__input { border: 1px solid #d1d5db; }
.site-search__inner .as-box { max-width: none; }
#elig .field > .as-box { max-width: 100%; }
#elig .field { position: relative; }
@media (max-width: 600px) { .as-desc { display: none; } }
/* Action search: icon pinned to the input row, rows on one line */
.as-icon { top: 8px; margin-top: 0; }
.as-main { flex-wrap: nowrap; flex: 1 1 auto; }
.as-label { flex: 0 1 auto; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-desc { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Best heat pump brands roundup (2026-11-17): mid-funnel page built by tools/build_best_brands.py. Reuses the brand template (bt-*) and adds the bb-* parts. */
.bb-hero__card { background: #fff; color: var(--navy); border-radius: 18px; padding: 22px 20px; text-align: center; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.bb-hero__k { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-dark, #d93a40); }
.bb-hero__card > strong { display: block; font-size: 20px; margin-top: 6px; }
.bb-hero__card p { margin: 8px 0 0; font-size: 15px; }
.bb-logo { display: inline-flex; align-items: center; justify-content: center; width: 120px; height: 56px; }
.bb-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bb-logo--text { font: 800 15px/1.15 Montserrat, sans-serif; color: var(--navy); text-align: center; }
.bb-logo--lg { width: 130px; height: 60px; }
.bb-logo--xl { width: 170px; height: 80px; }
.bb-pick__rate { display: flex; align-items: center; gap: 8px; justify-content: flex-start; font-size: 15px; }
.bb-pick__rate--c { justify-content: center; }
.bb-intro .bb-jump { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bb-bullets { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.bb-bullets li { background: #f4f8fb; border-left: 4px solid var(--coral); border-radius: 8px; padding: 14px 16px; }
.bb-mists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bb-mist { position: relative; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px 18px 18px 62px; }
.bb-mist__n { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: #000; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.bb-mist h3 { font-size: 18px !important; line-height: 26px !important; }
.bb-mist p { font-size: 15px !important; line-height: 24px !important; margin-top: 6px !important; }
.bb-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bb-pick { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px 16px; box-shadow: 0 6px 20px rgba(0,53,84,.08); display: flex; flex-direction: column; gap: 10px; text-align: center; }
.bb-pick h3 { font-size: 18px !important; line-height: 24px !important; }
.bb-pick__logo { height: 64px; display: flex; align-items: center; justify-content: center; }
.bb-pick .bb-pick__rate { justify-content: center; }
.bb-checks { list-style: none; padding: 0 !important; text-align: left; display: grid; gap: 8px; margin: 4px 0 !important; }
.bb-checks li { position: relative; padding-left: 24px; font-size: 14px !important; line-height: 21px !important; }
.bb-checks li::before { content: "\2713"; position: absolute; left: 0; color: #1c8a4c; font-weight: 800; }
.bb-pick__cost { font-size: 14px !important; line-height: 20px !important; font-weight: 700; color: var(--navy); margin: 0 !important; }
.bb-pick .flow-btn, .bb-card .flow-btn { justify-content: center; }
.bb-pick__more { font-size: 14px; font-weight: 600; }
.bb-rank { columns: 2; column-gap: 40px; padding-left: 26px !important; }
.bb-rank li { break-inside: avoid; }
.bb-rank a { font-weight: 600; text-decoration: none; }
.bb-rank span { color: #6b7280; font-weight: 400; font-size: 14px; }
.bb-card { margin-top: 28px; border: 1px solid #d9e2ea; border-radius: 16px; overflow: hidden; background: #fff; scroll-margin-top: 90px; }
.bb-card__bar { background: #fbd5d7; color: #000; text-align: center; padding: 12px 16px; font-size: 16px; line-height: 24px; }
.bb-card__bar span { color: var(--coral-dark, #d93a40); }
.bb-card__head { display: flex; align-items: center; gap: 18px; padding: 20px; flex-wrap: wrap; }
.bb-card__name { flex: 1 1 220px; }
.bb-card__name h3 { font-size: 22px !important; }
.bb-card__head .flow-btn { margin-left: auto; }
.bb-cost { margin: 0 20px 16px; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 10px; background: #f9fafb; }
.bb-cost span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6b7280; }
.bb-cost strong { font-size: 22px; color: var(--navy); }
.bb-acc { border-top: 1px solid #e5e7eb; }
.bb-acc summary { cursor: pointer; padding: 15px 20px; font-weight: 700; font-size: 16px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.bb-acc summary::-webkit-details-marker { display: none; }
.bb-acc summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--coral-dark, #d93a40); }
.bb-acc[open] summary::after { content: "\2212"; }
.bb-acc > div { padding: 0 20px 18px; }
.bb-acc > div > * + * { margin-top: 14px; }
.bb-acc p { font-size: 16px !important; line-height: 26px !important; }
.bb-card__links { padding: 0 20px 18px; margin: 0 !important; }
.bb-center { text-align: center; }
.bb-band { background: linear-gradient(105deg, #00253c, #003554 60%, #0b5a86); color: #fff; border-radius: 18px; padding: 28px 24px; text-align: center; }
.bb-band h3 { color: #fff; font-size: 24px !important; }
.bb-band p { color: rgba(255,255,255,.9); margin: 10px 0 18px !important; }
.bb-hero .bt-hero__inner { grid-template-columns: minmax(0, 1fr) 280px; }
@media (max-width: 900px) {
  .bb-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-mists { grid-template-columns: 1fr; }
  .bb-rank { columns: 1; }
}
@media (max-width: 600px) {
  .bb-picks { grid-template-columns: 1fr; }
  .bb-card__head .flow-btn { margin-left: 0; width: 100%; }
  .bb-hero__card { display: none; }
}
/* Roundup buttons: fit narrow cards */

/* Closing band with a thumbnail */
.bb-band { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: center; text-align: left; padding: 28px 28px 28px 32px; }
.bb-band__art img { display: block; width: 100%; height: auto; border-radius: 14px; }
.bb-band .btn.flow-btn { width: auto; min-width: 0; }
@media (max-width: 700px) { .bb-band { grid-template-columns: 1fr; text-align: center; } .bb-band__art { order: -1; max-width: 220px; margin: 0 auto; } .bb-band .btn.flow-btn { width: 100%; } }
.bb-band { background: #003554; grid-template-columns: minmax(0, 1fr) 300px; }
.bb-band h3 { margin: 0; }
.bb-band__copy > * + * { margin-top: 12px; }
.bb-band__art img { border-radius: 14px; }
@media (max-width: 700px) { .bb-band { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; } .bb-band__art { order: -1; max-width: 220px; margin: 0 auto; } .bb-band .btn.flow-btn { width: 100%; min-width: 0; } }

/* Flow button, one component everywhere (Ahmed, 2026-11-17: "match the functionality of the header button"). The dot, arrows and text slide are never
   switched off. Two surface variants only: on navy (white outline) and the yellow call to action on navy bands (yellow at rest, same coral fill on hover). */
.btn.flow-btn.flow-btn--dark { color: #fff; border-color: rgba(255,255,255,.7); }
.btn.flow-btn.flow-btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--navy); font-weight: 700; }
.btn.flow-btn.flow-btn--yellow:hover, .btn.flow-btn.flow-btn--yellow:focus-visible { background: transparent; border-color: transparent; color: #fff; }
.bt-hero__cta.flow-btn { display: inline-flex; margin-bottom: 22px; }
.bb-pick .flow-btn, .bb-card .flow-btn, .bb-band .flow-btn { width: 100%; justify-content: center; font-size: 15px; padding-left: 36px; padding-right: 36px; }
.bb-card__head .flow-btn { width: auto; min-width: 220px; }
.bb-band .flow-btn, .bb-center .flow-btn { width: auto; min-width: 260px; }
.bt-promo__btn.flow-btn { font-size: 16px; }
@media (max-width: 900px) { .bt-hero__cta.flow-btn { display: flex; width: 100%; justify-content: center; } }
@media (max-width: 700px) { .bb-band .btn.flow-btn { width: 100%; } }

/* Find a pro pop-up (2026-11-17): navy veil, the GHL survey card floats in the middle (the frame is transparent), round close button. */
.chp-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 53, 84, .64); }
.chp-modal[hidden] { display: none; }
.chp-modal__panel { position: relative; width: min(620px, 100%); height: min(780px, calc(100vh - 32px)); height: min(780px, calc(100dvh - 32px)); }
.chp-modal__frame { display: block; width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; transition: opacity .2s ease; }
.chp-modal.is-ready .chp-modal__frame { opacity: 1; }
.chp-modal__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.chp-modal.is-ready .chp-modal__loading { display: none; }
.chp-modal__loading span { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .35); border-top-color: var(--coral); animation: chp-spin .8s linear infinite; }
.chp-modal__close { position: absolute; top: 14px; right: 14px; z-index: 1; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: background .15s, color .15s; }
.chp-modal__close:hover, .chp-modal__close:focus-visible { background: var(--coral); color: #fff; outline: 0; }
body.chp-modal-open { overflow: hidden; }
@keyframes chp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .chp-modal__frame { transition: none; } .chp-modal__loading span { animation-duration: 2s; } }
@media (max-width: 520px) { .chp-modal { padding: 8px; } .chp-modal__panel { height: calc(100dvh - 16px); } .chp-modal__close { top: 10px; right: 10px; width: 40px; height: 40px; } }

/* ---- Check your eligibility quiz (2026-11-17) ---- */
.eq { background: linear-gradient(180deg, #f3f8fc 0, #fff 520px); padding: 8px 0 72px; }
.eq .container { max-width: 1120px; }
.eq .crumbs { padding: 18px 0 6px; font-size: 14px; }
.eq-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding: 28px 0 8px; }
.eq-eyebrow { display: inline-block; background: #fff; border: 1.5px solid var(--cream-line); color: var(--navy); border-radius: 100px; padding: 5px 14px; font-size: 13px; font-weight: 700; letter-spacing: .02em; margin-bottom: 14px; }
.eq-intro h1 { font-size: 44px; line-height: 54px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.eq-sub { font-size: 19px; line-height: 1.6; max-width: 560px; margin-bottom: 24px; }
.eq-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.eq-points li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--navy); }
.eq-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.eq-intro__art { background: #fff; border-radius: 28px; padding: 22px; box-shadow: 0 24px 60px rgba(0,53,84,.14); }
.eq-intro__art img { width: 100%; height: auto; border-radius: 18px; }
.eq .btn.flow-btn--yellow { background: var(--yellow); border-color: var(--yellow); color: #1b1b1b; font-weight: 700; }
.eq .btn.flow-btn--yellow:hover, .eq .btn.flow-btn--yellow:focus-visible { color: #fff; border-color: transparent; }
.eq .btn.flow-btn { font-size: 18px; padding: 16px 44px; }

/* quiz card */
.eq-quiz { background: #fff; border-radius: 26px; box-shadow: 0 24px 70px rgba(0,53,84,.16); padding: 30px 34px 34px; max-width: 760px; margin: 22px auto 0; border: 1px solid #e4edf4; }
.eq-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.eq-back { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.eq-back:hover { background: var(--navy); color: #fff; }
.eq [hidden] { display: none !important; }
.eq .eq-back[hidden] { display: grid !important; visibility: hidden; }
.eq-bar { flex: 1; height: 10px; border-radius: 10px; background: #e6eef5; overflow: hidden; }
.eq-bar span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--coral), #ff7b6a); transition: width .45s cubic-bezier(.23,1,.32,1); }
.eq-count { flex: none; font-size: 13px; font-weight: 700; color: #52667a; min-width: 48px; text-align: right; }
.eq-q { font-size: 28px; line-height: 37px; font-weight: 800; color: var(--navy); margin: 0 0 22px; text-align: center; outline: 0; }
.eq-q strong { color: var(--coral); }
.eq-lead { font-size: 16px; line-height: 1.6; text-align: center; max-width: 600px; margin: -8px auto 18px; }
.eq-opts { display: grid; gap: 12px; }
.eq-opts--col { max-width: 560px; margin: 0 auto; }
.eq-opts--prov { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eq-opt { font: inherit; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); text-align: left; background: #fff; border: 2px solid #dbe4ec; border-radius: 14px; padding: 15px 18px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.eq-opts--prov .eq-opt { text-align: center; font-size: 16px; padding: 14px 10px; display: grid; place-items: center; min-height: 62px; }
.eq-opt:hover, .eq-opt:focus-visible { border-color: var(--navy); background: #f3f8fc; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,53,84,.1); outline: 0; }
.eq-opt:active { transform: scale(.985); }
.eq-ask { margin: 22px auto 0; max-width: 560px; font-size: 14px; line-height: 1.55; color: #52667a; background: #f3f8fc; border-radius: 12px; padding: 12px 16px; }
.eq-lines { max-width: 560px; margin: 0 auto 18px; border-radius: 16px; overflow: hidden; border: 1px solid #dbe4ec; box-shadow: 0 8px 24px rgba(0,53,84,.06); }
.eq-lines__h { background: var(--coral); color: #000; font-weight: 800; font-size: 15px; padding: 11px 16px; }
.eq-lines table { width: 100%; border-collapse: collapse; margin: 0; }
.eq-lines th, .eq-lines td { padding: 11px 16px; font-size: 17px; border-top: 1px solid #eef2f6; text-align: left; font-weight: 700; color: #000; }
.eq-lines tr:first-child th, .eq-lines tr:first-child td { border-top: 0; }
.eq-lines td { text-align: right; }
.eq-why { max-width: 560px; margin: 16px auto 0; font-size: 15px; line-height: 1.55; }
.eq-why summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.eq-why p { margin: 8px 0 0; color: #333; }

/* result page */
.eq-res { max-width: 1040px; margin: 14px auto 0; }
.eq-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: center; background: linear-gradient(120deg, #00253c, #003554 55%, #0b5a86); color: #fff; border-radius: 28px; padding: 40px 40px 40px 46px; box-shadow: 0 30px 80px rgba(0,37,60,.35); position: relative; overflow: hidden; }
.eq-hero::after { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,195,22,.22), transparent 70%); pointer-events: none; }
.eq-badge { display: inline-block; border-radius: 100px; padding: 6px 16px; font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 16px; }
.eq-badge--yes { background: #d9f5e0; color: #17612a; }
.eq-badge--maybe { background: #fff1c9; color: #7a5200; }
.eq-badge--no { background: #ffe0e1; color: #9c1f25; }
.eq-hero__h { color: #fff; font-size: 30px; line-height: 38px; font-weight: 700; margin: 0 0 4px; outline: 0; }
.eq-big { font-size: 84px; line-height: 1.02; font-weight: 800; color: var(--yellow); letter-spacing: -.02em; margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.eq-hero__p { color: rgba(255,255,255,.92); font-size: 17px; line-height: 1.6; margin: 0 0 14px; position: relative; z-index: 1; }
.eq-hero__p--strong { color: #fff; font-weight: 700; }
.eq-net { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 12px 16px; font-size: 16px; line-height: 1.5; margin: 0 0 22px; color: #fff; }
.eq-net strong { font-weight: 700; }
.eq-hero__cta { position: relative; z-index: 1; margin-top: 8px; }
.eq-micro { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
.eq-hero__art { position: relative; z-index: 1; }
.eq-hero__art img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.eq-trust { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.eq-trust li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #e4edf4; border-radius: 16px; padding: 14px 16px; font-size: 14px; line-height: 1.45; color: #333; box-shadow: 0 6px 18px rgba(0,53,84,.06); }
.eq-trust li img { width: 44px; height: 44px; flex: none; object-fit: contain; }
.eq-trust strong { display: block; color: var(--navy); font-size: 15px; }
.eq-sec { margin-top: 38px; }
.eq-sec h3 { font-size: 28px; line-height: 36px; font-weight: 800; color: var(--navy); margin: 0 0 16px; }
.eq-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.eq-card { display: flex; gap: 16px; background: #fff; border: 1px solid #e0e9f1; border-radius: 20px; padding: 20px; box-shadow: 0 10px 28px rgba(0,53,84,.08); }
.eq-card__ico { flex: none; width: 84px; height: 84px; background: #f3f8fc; border-radius: 16px; display: grid; place-items: center; padding: 8px; }
.eq-card__ico img { width: 100%; height: 100%; object-fit: contain; }
.eq-card__k { font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #52667a; }
.eq-card__v { font-size: 28px; line-height: 1.2; font-weight: 800; color: var(--coral); margin: 2px 0 6px; }
.eq-card p { font-size: 15px; line-height: 1.55; margin: 0; color: #222; }
.eq-note { font-size: 14px; line-height: 1.55; color: #52667a; margin: 14px 0 0; }
.eq-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.eq-list li { position: relative; background: #fffaf0; border: 1px solid var(--cream-line); border-radius: 14px; padding: 14px 16px 14px 46px; font-size: 16px; line-height: 1.55; }
.eq-list li::before { content: "!"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: #000; font-weight: 800; font-size: 14px; display: grid; place-items: center; line-height: 1; }
.eq-steps { counter-reset: s; margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.eq-steps li { counter-increment: s; position: relative; padding: 4px 0 4px 54px; font-size: 16px; line-height: 1.55; }
.eq-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 17px; }
.eq-time { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 22px; border-radius: 16px; overflow: hidden; border: 1px solid #dbe4ec; }
.eq-time > div { padding: 16px; background: #f3f8fc; border-left: 1px solid #dbe4ec; }
.eq-time > div:first-child { border-left: 0; background: var(--navy); color: #fff; }
.eq-time span { display: block; font-weight: 800; font-size: 17px; color: var(--navy); }
.eq-time > div:first-child span { color: var(--yellow); }
.eq-time p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; }
.eq .eq-band { margin-top: 38px; }
.eq-fine { font-size: 13px; line-height: 1.6; color: #52667a; margin: 30px 0 8px; }
.eq-retake { font-size: 14px; margin: 0; }
.eq-link { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.eq-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid #dbe4ec; box-shadow: 0 -10px 30px rgba(0,53,84,.14); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .3s; }
.eq-sticky strong { color: var(--navy); font-size: 16px; white-space: nowrap; line-height: 1.25; }
.eq-sticky .btn.flow-btn { padding: 13px 22px; font-size: 16px; white-space: nowrap; justify-content: center; }
.eq-sticky .flow-btn__arr, .eq-sticky .flow-btn__dot { display: none; }
.eq-sticky .flow-btn__text, .eq-sticky .btn.flow-btn:hover .flow-btn__text { transform: none; }
.eq-sticky .btn.flow-btn:hover { background: var(--coral); }
.eq-more { max-width: 760px; margin: 56px auto 0; }
.eq-more h2 { font-size: 28px; line-height: 36px; font-weight: 800; color: var(--navy); }
.eq.is-quiz .eq-more, .eq.is-result .eq-more, .eq.is-quiz .eq-intro, .eq.is-result .crumbs, .eq.is-quiz .crumbs { display: none; }

@media (max-width: 900px) {
  .eq-intro { grid-template-columns: 1fr; gap: 24px; }
  .eq-intro h1 { font-size: 34px; line-height: 42px; }
  .eq-intro__art { order: -1; max-width: 260px; margin: 0 auto; padding: 12px; border-radius: 22px; }
  .eq-hero { grid-template-columns: 1fr; padding: 28px 22px; text-align: left; }
  .eq-hero__art { order: -1; max-width: 220px; margin: 0 auto 2px; }
  .eq-big { font-size: 64px; }
  .eq-trust { grid-template-columns: 1fr; }
  .eq-cards { grid-template-columns: 1fr; }
  .eq-sticky { display: flex; }
  .eq-sticky.is-on { transform: translateY(0); }
}
@media (max-width: 700px) {
  .eq { padding-bottom: 96px; }
  .eq-quiz { padding: 20px 16px 24px; border-radius: 20px; margin-top: 10px; }
  .eq-q { font-size: 23px; line-height: 31px; }
  .eq-opts--prov { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eq-opt { font-size: 17px; padding: 14px 14px; }
  .eq-time { grid-template-columns: 1fr; }
  .eq-time > div { border-left: 0; border-top: 1px solid #dbe4ec; }
  .eq-time > div:first-child { border-top: 0; }
  .eq-hero .btn.flow-btn { width: 100%; justify-content: center; }
  .eq-intro .btn.flow-btn { width: 100%; justify-content: center; }
  .eq-big { font-size: 56px; }
  .eq-hero__h { font-size: 24px; line-height: 31px; }
  .eq-card { flex-direction: column; }
  .eq-sec h3 { font-size: 24px; line-height: 31px; }
}
@media (prefers-reduced-motion: reduce) { .eq-bar span, .eq-opt, .eq-sticky { transition: none; } }

/* Quiz result: halfway card and the pulsing quote button (2026-11-17). Scoped to the quiz page (.eq) so no other page changes. */
.eq-half { margin-top: 18px; background: #fff7e6; border: 2px solid var(--yellow); border-radius: 22px; padding: 24px 26px 22px; box-shadow: 0 14px 36px rgba(255,195,22,.22); }
.eq-half__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.eq-half__tag { display: inline-flex; align-items: center; gap: 8px; background: var(--coral); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; border-radius: 100px; padding: 6px 14px; }
.eq-half__tag i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: eq-blink 1.2s ease-in-out infinite; }
.eq-half h3 { font-size: 26px; line-height: 33px; font-weight: 800; color: var(--navy); margin: 0; flex: 1 1 320px; }
.eq-track { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; position: relative; }
.eq-track li { position: relative; background: #fff; border: 2px solid #e8dcc0; border-radius: 14px; padding: 12px 12px 12px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; color: #52667a; }
.eq-track li b { font-size: 15px; color: var(--navy); font-weight: 800; }
.eq-track li small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.eq-track li.is-done { background: var(--navy); border-color: var(--navy); }
.eq-track li.is-done b { color: #fff; }
.eq-track li.is-done small { color: var(--yellow); }
.eq-track li.is-next { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(241,70,76,.14); }
.eq-track li.is-next small { color: var(--coral); }
.eq-half p { margin: 0; font-size: 16px; line-height: 1.65; color: #1b1b1b; }
@keyframes eq-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes eq-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,195,22,.7); } 70% { box-shadow: 0 0 0 20px rgba(255,195,22,0); } 100% { box-shadow: 0 0 0 0 rgba(255,195,22,0); } }
@keyframes eq-shine { 0% { transform: translateX(-130%) skewX(-18deg); } 55%, 100% { transform: translateX(260%) skewX(-18deg); } }
.eq a[data-eq-cta].flow-btn { animation: eq-pulse 1.9s ease-out infinite; font-weight: 800; }
.eq a[data-eq-cta].flow-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); z-index: 2; pointer-events: none; animation: eq-shine 3.2s ease-in-out infinite; }
.eq a[data-eq-cta].flow-btn:hover, .eq a[data-eq-cta].flow-btn:focus-visible { animation-play-state: paused; }
.eq a[data-eq-cta].flow-btn:hover::after, .eq a[data-eq-cta].flow-btn:focus-visible::after { display: none; }
@media (max-width: 900px) { .eq-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } .eq-half h3 { font-size: 22px; line-height: 29px; } }
@media (max-width: 700px) { .eq-half { padding: 20px 16px 18px; border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .eq a[data-eq-cta].flow-btn, .eq a[data-eq-cta].flow-btn::after, .eq-half__tag i { animation: none; } }

/* Halfway tracker: shiny check marks on done steps, emphasised next step (2026-11-17) */
.eq-track li { padding: 14px 14px 14px 62px; justify-content: center; min-height: 72px; }
.eq-track li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 2px solid #d8cfb8; background: #fff; }
.eq-track li.is-done::before { border: 0; background: radial-gradient(circle at 32% 28%, #fff7c2 0, #ffd84a 32%, #f0a500 100%) center / 100% no-repeat; box-shadow: 0 0 0 3px rgba(255,195,22,.28), 0 4px 10px rgba(0,0,0,.35), inset 0 -2px 3px rgba(150,90,0,.35); }
.eq-track li.is-done::after { content: ""; position: absolute; left: 14px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003554' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.8l3.6 3.6 7.4-8.2'/%3E%3C/svg%3E") center / 20px no-repeat; }
.eq-track li.is-done { overflow: hidden; }
.eq-track li.is-done b::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); animation: eq-shine 4.2s ease-in-out infinite; pointer-events: none; }
.eq-track li.is-next { background: var(--coral); border-color: var(--coral); box-shadow: 0 10px 24px rgba(241,70,76,.4); transform: scale(1.04); z-index: 1; animation: eq-pulse-red 1.9s ease-out infinite; }
.eq-track li.is-next b { color: #fff; font-size: 17px; }
.eq-track li.is-next small { color: #fff; background: rgba(0,0,0,.22); align-self: flex-start; border-radius: 100px; padding: 2px 10px; margin-top: 3px; }
.eq-track li.is-next::before { border: 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.eq-track li.is-next::after { content: ""; position: absolute; left: 14px; top: 50%; width: 34px; height: 34px; margin-top: -17px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1464c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13'/%3E%3Cpath d='m12.5 6 6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; }
.eq-track li:not(.is-done):not(.is-next) { opacity: .8; }
@keyframes eq-pulse-red { 0% { box-shadow: 0 10px 24px rgba(241,70,76,.4), 0 0 0 0 rgba(241,70,76,.55); } 70% { box-shadow: 0 10px 24px rgba(241,70,76,.4), 0 0 0 14px rgba(241,70,76,0); } 100% { box-shadow: 0 10px 24px rgba(241,70,76,.4), 0 0 0 0 rgba(241,70,76,0); } }
@media (max-width: 900px) { .eq-track li.is-next { transform: none; } }
@media (prefers-reduced-motion: reduce) { .eq-track li.is-next, .eq-track li.is-done b::after { animation: none; } }
@media (max-width: 700px) { .eq-track { grid-template-columns: 1fr; gap: 10px; } .eq-track li { min-height: 64px; } .eq-track li.is-next small { margin-top: 2px; } }

/* Landing picture: full-bleed brand illustration inside the rounded card (2026-11-17) */
.eq-intro__art { padding: 0; overflow: hidden; background: var(--coral); }
.eq-intro__art img { border-radius: 0; display: block; }
@media (max-width: 900px) { .eq-intro__art { padding: 0; } }
/* Home page quiz band (2026-11-17) */
.eq-home { padding-top: 12px; padding-bottom: 12px; }
.eq-home .bb-band__h { color: #fff; font-size: 28px; line-height: 36px; font-weight: 800; margin: 0; }
@media (max-width: 700px) { .eq-home .bb-band__h { font-size: 23px; line-height: 30px; } }

/* Eligibility card: full-bleed navy drawing, no white frame */
.fp-card__img .slot--art:has(img[src*="eligibility-check"]) { background: var(--navy); padding: 0; overflow: hidden; }
.fp-card__img .slot--art img[src*="eligibility-check"] { inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Eligibility band in articles: wide horizontal band, art fills the right side */
.bb-band--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding: 0 0 0 32px; overflow: hidden; gap: 28px; }
.bb-band--wide .bb-band__copy { padding: 28px 0; }
.bb-band--wide .bb-band__art img { border-radius: 0; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .bb-band--wide { grid-template-columns: 1fr; padding: 0 0 20px; gap: 0; } .bb-band--wide .bb-band__art { max-width: none; margin: 0; } .bb-band--wide .bb-band__copy { padding: 20px 20px 0; } }
