/* =========================================================
   Green Tide Energy — Site stylesheet
   Fonts: Barlow (headings) + Urbanist (body)
   ========================================================= */

:root {
  --green:        #6b9635;
  --green-dark:   #567a28;
  --green-light:  #85b840;
  --green-glow:   rgba(107,150,53,0.25);
  --green-pale:   #f2f7eb;
  --green-pale2:  #e6f0d6;
  --green-mid:    #c8e29a;
  --blue:         #4a9dd4;
  --blue-light:   #78bce8;
  --dark:         #252525;
  --darker:       #181818;
  --charcoal:     #2e2e2e;
  --text-h:       #1a1a1a;
  --text-b:       #3d3d3d;
  --text-m:       #666;
  --border:       #dde8cc;
  --surface:      #ffffff;
  --orange:       #e07000;

  --ff-head: 'Barlow', sans-serif;
  --ff-body: 'Urbanist', sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);
  --shadow-xl: 0 24px 72px rgba(0,0,0,0.22);
  --t: 0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-b);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--text-h);
  font-weight: 800;
  line-height: 1.08;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.65rem); line-height: 1.14; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.25; }
p { line-height: 1.75; max-width: 64ch; }

/* anchor scroll offset so fixed nav doesn't cover targets */
[id] { scroll-margin-top: 110px; }

/* ----- Section label pill ----- */
.sec-label {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(107,150,53,0.1);
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.sec-header { margin-bottom: 52px; }
.sec-header h2 { margin-bottom: 16px; }
.sec-header p { color: var(--text-m); }
.sec-header.centered { text-align: center; }
.sec-header.centered p { margin: 0 auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 15px 28px;
  border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 18px var(--green-glow);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 8px 28px var(--green-glow); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; }

.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-pill { border-radius: 50px; }

/* ----- Scroll reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left  { opacity: 0; transform: translateX(-26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right { opacity: 0; transform: translateX(26px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar {
  position: relative;
  z-index: 1001;
  background: var(--darker);
  padding: 10px 0;
  font-family: var(--ff-head);
  font-size: 0.8rem;
  color: rgba(210,225,200,0.8);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-left a {
  color: rgba(210,225,200,0.8);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t);
}
.topbar-left a:hover { color: var(--green-mid); }
.topbar-divider { width: 1px; height: 14px; background: rgba(210,225,200,0.2); }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(210,225,200,0.6);
}
.topbar-right strong { color: var(--green-mid); font-weight: 700; }
.topbar-ticker-wrap { overflow: hidden; width: 420px; height: 28px; display: flex; align-items: center; justify-content: flex-end; }
.topbar-ticker {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  transform: translateX(440px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34,1.2,0.64,1), opacity 0.4s ease;
}
.topbar-ticker.slide-in { transform: translateX(0); opacity: 1; }
.topbar-ticker.slide-out {
  transform: translateX(440px);
  opacity: 0;
  transition: transform 0.4s ease-in, opacity 0.35s ease-in;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fce5f;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(95,206,95,0.4); }
  50% { opacity: 0.85; box-shadow: 0 0 0 5px rgba(95,206,95,0); }
}

/* =========================================================
   NAVBAR  (transparent over hero -> solid white bar on scroll)
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-top: 62px;          /* gap below the topbar while at the top */
  background: transparent;
  transition: padding var(--t), background var(--t), box-shadow var(--t);
}
.navbar .container {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 32px;
  transition: height var(--t);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navbar-brand img { height: 34px; width: auto; }
.navbar-brand .logo-dark { display: none; }   /* white logo is shown over the hero */

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  padding: 10px 16px;
  border-radius: 8px;
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.15); }
.nav-cta {
  margin-left: 14px;
  flex-shrink: 0;
  border-radius: 50px !important;
  padding: 12px 26px !important;
  font-size: 0.86rem !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28) !important;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--t); }
.nav-toggle.open span { background: var(--dark); }   /* X sits over the white mobile panel */
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Solid state: scrolled past the hero, or interior/legal pages */
.navbar.scrolled,
.navbar.solid {
  padding-top: 0;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.navbar.scrolled .container,
.navbar.solid .container { height: 64px; }
.navbar.scrolled .navbar-brand .logo-light,
.navbar.solid .navbar-brand .logo-light { display: none; }
.navbar.scrolled .navbar-brand .logo-dark,
.navbar.solid .navbar-brand .logo-dark { display: block; }
.navbar.scrolled .nav-links a,
.navbar.solid .nav-links a { color: var(--text-h); font-weight: 500; }
.navbar.scrolled .nav-links a:hover,
.navbar.solid .nav-links a:hover { color: var(--green); background: var(--green-pale); }
.navbar.scrolled .nav-cta,
.navbar.solid .nav-cta { box-shadow: 0 4px 18px var(--green-glow) !important; }
.navbar.scrolled .nav-toggle span,
.navbar.solid .nav-toggle span { background: var(--dark); }
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface);
  z-index: 999;
  padding: 100px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-h);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-cta { margin-top: 28px; width: 100%; justify-content: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(150deg, #0f4c8c 0%, #1a7dc0 50%, #2a9cd8 100%);
  padding: 124px 0 64px;
  overflow: hidden;
}
/* layered atmosphere */
.hero::before {
  content: '';
  position: absolute;
  top: -260px;
  right: -180px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
}
.hero-glow {
  position: absolute;
  bottom: -220px;
  left: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,150,53,0.28) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 620px; gap: 44px; align-items: center; }

.hero-text .sec-label { color: var(--green-mid); background: rgba(107,150,53,0.18); }
.hero-text h1 { color: #fff; margin-bottom: 20px; }
.hero-text h1 em { font-style: normal; color: #ffe066; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  margin-bottom: 30px;
  max-width: 48ch;
}
.hero-sub .hl { color: #ffe066; }
.hero-bullets { margin-bottom: 36px; }
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-head);
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-bullets li:last-child { border-bottom: none; }
.h-tick {
  width: 22px;
  height: 22px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-faces { display: flex; }
.hero-face {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--green-dark);
  object-fit: cover;
  margin-left: -10px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
}
.hero-face:first-child { margin-left: 0; }
.hero-proof-text { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.hero-proof-text strong { color: #fff; }

/* Right column: form card */
.hero-form-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  flex-shrink: 0;
}
.form-card-header { background: var(--green); padding: 24px 28px 20px; text-align: center; }
.form-card-header h2 {
  color: #fff;
  font-size: 1.18rem;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.form-card-header p { font-size: 0.82rem; color: rgba(255,255,255,0.82); max-width: none; margin: 0; }

/* Fillout embed inside the card body */
.form-card-body { padding: 8px 8px 12px; }
.fillout-embed { width: 100%; min-height: 520px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.fillout-embed iframe { border: none; width: 100%; }
.form-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-m);
  padding: 4px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* =========================================================
   INSTANT BENEFITS (6 quick blocks below hero)
   ========================================================= */
.quick-section { background: var(--surface); padding: 80px 0; border-bottom: 1px solid var(--border); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quick-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quick-text strong {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-h);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.quick-text span { font-size: 0.86rem; color: var(--text-m); line-height: 1.5; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-section { background: var(--green-pale); padding: 100px 0; }
.process-banner { max-width: 520px; margin: 0 auto 48px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.process-banner img { width: 100%; height: auto; display: block; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps-grid.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e6edd8;
  position: relative;
}
.step-num {
  font-family: var(--ff-head);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(107,150,53,0.12);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--text-h); }
.step-card p { font-size: 0.92rem; color: var(--text-m); line-height: 1.7; max-width: none; }

/* =========================================================
   PAIN POINTS (homeowner problems)
   ========================================================= */
.pains-section { background: var(--surface); padding: 96px 0; }
.pains-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pain-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.pain-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.pain-photo img { width: 100%; height: 100%; object-fit: cover; }
.pain-text { padding: 20px 22px 24px; }
.pain-text h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text-h); }
.pain-text p { font-size: 0.87rem; color: var(--text-m); line-height: 1.6; max-width: none; }

/* =========================================================
   HEAT PUMP SHOWCASE
   ========================================================= */
.showcase-section { background: var(--surface); padding: 96px 0; }
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.showcase-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 1 / 1; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.showcase-item:hover img { transform: scale(1.05); }

/* =========================================================
   WHY HEAT PUMPS (benefit cards)
   ========================================================= */
.benefits-section { background: #f7fbff; padding: 96px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefit-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 28px 32px;
  box-shadow: 0 2px 16px rgba(0,60,120,0.07);
  border: 1px solid #e8f0f8;
  display: flex;
  flex-direction: column;
}
.benefit-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}
.benefit-card h3 { font-size: 1.18rem; margin-bottom: 12px; color: var(--text-h); line-height: 1.2; }
.benefit-card p { font-size: 0.91rem; color: var(--text-m); line-height: 1.72; max-width: none; flex: 1; }
.benefit-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--ff-head);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  width: fit-content;
}

/* running-cost comparison */
.compare-wrap {
  margin-top: 56px;
  background: #fff;
  border: 1px solid #e8f0f8;
  border-radius: var(--radius-xl);
  padding: 40px 40px 34px;
  box-shadow: 0 2px 16px rgba(0,60,120,0.07);
}
.compare-wrap h3 { font-size: 1.25rem; margin-bottom: 6px; }
.compare-wrap > p { font-size: 0.9rem; color: var(--text-m); margin-bottom: 28px; }
.compare-row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; margin-bottom: 18px; }
.compare-label { font-family: var(--ff-head); font-weight: 700; font-size: 0.92rem; color: var(--text-h); }
.compare-label span { display: block; font-weight: 500; font-size: 0.78rem; color: var(--text-m); }
.compare-bar-track { background: #eef3f8; border-radius: 50px; height: 38px; position: relative; overflow: hidden; }
.compare-bar {
  height: 100%;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  width: 0;
  transition: width 1.1s cubic-bezier(0.22,1,0.36,1);
}
.compare-bar.oil  { background: linear-gradient(90deg, #c0392b, #e0573f); }
.compare-bar.gas  { background: linear-gradient(90deg, #d98018, #e8a44a); }
.compare-bar.hp   { background: linear-gradient(90deg, var(--green-dark), var(--green-light)); }
.compare-foot { font-size: 0.76rem; color: var(--text-m); margin-top: 18px; }

/* =========================================================
   GRANT SECTION
   ========================================================= */
.grant-section { background: var(--darker); padding: 100px 0; position: relative; overflow: hidden; }
.grant-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,150,53,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.grant-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grant-content .sec-label { color: var(--green-mid); background: rgba(107,150,53,0.18); }
.grant-content h2 { color: #fff; margin-bottom: 20px; }
.grant-content p { color: rgba(255,255,255,0.7); font-size: 1.02rem; margin-bottom: 32px; }
.grant-features { display: flex; flex-direction: column; gap: 0; }
.grant-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.grant-feature:last-child { border-bottom: none; }
.grant-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(107,150,53,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-mid);
}
.grant-feature-text strong { display: block; font-family: var(--ff-head); font-size: 0.94rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.grant-feature-text span { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.grant-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.grant-card-eyebrow {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.grant-card-amount {
  font-family: var(--ff-head);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.grant-card-amount span { color: var(--green-light); }
.grant-card-label { font-family: var(--ff-head); font-size: 0.92rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 28px; }
.grant-card-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 28px 0; }
.grant-card-points { text-align: left; display: flex; flex-direction: column; gap: 12px; }
.grant-card-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.72);
  font-family: var(--ff-head);
  font-weight: 500;
}
.grant-card-point::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.grant-cta { margin-top: 32px; width: 100%; justify-content: center; }

/* =========================================================
   TRUST / SOCIAL PROOF
   ========================================================= */
.trust-section { background: var(--green-pale); padding: 96px 0; }
.trust-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cred-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.cred-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.cred-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text-h); }
.cred-card p { font-size: 0.92rem; color: var(--text-m); line-height: 1.7; max-width: none; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { background: var(--surface); padding: 100px 0; }
.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: 80px; }
.faq-intro .sec-label { margin-bottom: 16px; }
.faq-intro h2 { margin-bottom: 20px; }
.faq-intro p { color: var(--text-m); font-size: 0.95rem; }
.faq-intro .btn { margin-top: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-h);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--t);
}
.faq-trigger:hover { color: var(--green); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
  transition: background var(--t), transform var(--t);
}
.faq-item.open .faq-icon { background: var(--green); color: #fff; transform: rotate(45deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s ease; }
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; }
.faq-body-inner p { padding-bottom: 22px; font-size: 0.93rem; color: var(--text-m); line-height: 1.75; max-width: none; }

/* =========================================================
   FOOTER CTA
   ========================================================= */
.footer-cta { background: linear-gradient(135deg, #3d5c18 0%, var(--green) 100%); padding: 80px 0; text-align: center; }
.footer-cta h2 { color: #fff; margin-bottom: 16px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.footer-cta p { color: rgba(255,255,255,0.75); font-size: 1.02rem; margin: 0 auto 36px; }
.footer-cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
footer { background: var(--darker); padding: 56px 0 32px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;   /* col 1 = half width, cols 2 & 3 share the other half */
  align-items: start;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-tagline { font-size: 0.98rem; color: rgba(210,225,200,0.72); max-width: 48ch; line-height: 1.65; margin-bottom: 22px; }
.footer-disclaimers { display: flex; flex-direction: column; gap: 12px; }
.footer-disclaimer { font-size: 0.78rem; color: rgba(210,225,200,0.42); max-width: 60ch; line-height: 1.6; margin: 0; }
.footer-links h4 {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(210,225,200,0.5);
  margin-bottom: 14px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: rgba(210,225,200,0.65); transition: color var(--t); }
.footer-links a:hover { color: var(--green-mid); }
.footer-bottom { padding-top: 24px; }
.footer-bottom p { font-size: 0.78rem; color: rgba(210,225,200,0.4); max-width: none; }

/* =========================================================
   LEGAL / LONG-FORM PAGES
   ========================================================= */
.page-hero {
  background: linear-gradient(150deg, #0f4c8c 0%, #1a7dc0 60%, #2a9cd8 100%);
  padding: 170px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -160px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 64%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .sec-label { color: var(--green-mid); background: rgba(107,150,53,0.18); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 60ch; }

.legal-body { padding: 72px 0 96px; background: var(--surface); }
.legal-body .container { max-width: 820px; }
.legal-body h2 {
  font-size: 1.5rem;
  margin: 44px 0 14px;
  padding-top: 8px;
  color: var(--text-h);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--text-h); }
.legal-body p { color: var(--text-b); margin-bottom: 16px; max-width: none; }
.legal-body ul { margin: 0 0 18px; padding-left: 4px; }
.legal-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-b);
  line-height: 1.7;
}
.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.legal-body a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--green); }
.legal-updated {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-m);
  background: var(--green-pale);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 36px;
}
.legal-toc {
  background: #f8faf4;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 44px;
}
.legal-toc h4 {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-m);
  margin-bottom: 12px;
}
.legal-toc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 0; }
.legal-toc li { padding-left: 0; margin: 0; }
.legal-toc li::before { display: none; }
.legal-toc a { color: var(--green-dark); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.legal-toc a:hover { color: var(--green); text-decoration: underline; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 48px; min-height: auto; }
  .hero-form-card { max-width: 520px; margin: 0 auto; width: 100%; }
  .benefits-grid { grid-template-columns: 1fr; }
  .grant-layout { grid-template-columns: 1fr; gap: 48px; }
  .grant-card { max-width: 480px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid.steps-4 { grid-template-columns: repeat(2, 1fr); }
  .pains-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .navbar { padding-top: 10px; }
  .navbar.scrolled, .navbar.solid { padding-top: 0; }
  .navbar .container { height: 60px; }
  .steps-grid, .steps-grid.steps-4 { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .pains-grid { grid-template-columns: 1fr; }
  .trust-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; }
  .compare-wrap { padding: 28px 22px 24px; }
  .footer-cta-btns { flex-direction: column; }
  .footer-cta-btns .btn { width: 100%; max-width: 320px; }
  .legal-toc ul { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 56px; }
}

/* =========================================================
   Grant update — hero pill + announcement banner
   ========================================================= */
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-eyebrow-row .sec-label { margin-bottom: 0; }

.grant-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(224,112,0,0.35);
}
.grant-pill-arrow {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.grant-update-strip {
  display: block;
  background: var(--green-pale);
  border-top: 1px solid var(--green-mid);
  border-bottom: 1px solid var(--green-mid);
  text-decoration: none;
  transition: background var(--t);
}
.grant-update-strip:hover { background: var(--green-pale2); }
.grant-update-strip .container {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}
.grant-update-flag {
  flex-shrink: 0;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 5px 12px;
  border-radius: 5px;
}
.grant-update-msg { font-size: 0.95rem; line-height: 1.45; color: var(--text-b); }
.grant-update-msg strong { color: var(--green-dark); font-weight: 700; }
.grant-update-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--green-dark);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform var(--t);
}
.grant-update-strip:hover .grant-update-arrow { transform: translateX(3px); }

@media (max-width: 640px) {
  .grant-update-strip .container { gap: 10px; padding: 12px 0; flex-wrap: wrap; }
  .grant-update-flag { font-size: 0.68rem; }
  .grant-update-msg { font-size: 0.86rem; }
  .grant-update-arrow { display: none; }
}

/* =========================================================
   HOMEPAGE — centered brand hero (no form card)
   ========================================================= */
.hero.hero-center { text-align: center; padding: 150px 0 84px; }
.hero-center-inner { max-width: 780px; margin: 0 auto; }
.hero-center .sec-label { margin-bottom: 18px; }
.hero-center h1 { color: #fff; margin-bottom: 22px; }
.hero-center h1 em { font-style: normal; color: #ffe066; }
.hero-center .hero-sub { margin: 0 auto 34px; max-width: 60ch; }
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-social-proof.center { justify-content: center; border-top: none; margin-top: 40px; padding-top: 0; }

/* =========================================================
   SOLUTIONS (product cards: heat pumps / solar / battery)
   ========================================================= */
.solutions-section { background: var(--surface); padding: 96px 0; border-bottom: 1px solid var(--border); }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.solution-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 30px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.solution-card.soon { background: #fcfdfb; }
.solution-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.solution-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.solution-card.soon .solution-icon { background: #eef2e8; color: var(--text-m); }
.solution-badge {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}
.solution-badge.live { color: #fff; background: var(--green); }
.solution-badge.soon-badge { color: var(--text-m); background: #eceee8; }
.solution-card h3 { font-size: 1.35rem; margin-bottom: 12px; color: var(--text-h); }
.solution-card > p { font-size: 0.92rem; color: var(--text-m); line-height: 1.7; max-width: none; margin-bottom: 20px; }
.solution-points { margin-bottom: 26px; display: flex; flex-direction: column; gap: 9px; }
.solution-points li {
  position: relative;
  padding-left: 26px;
  font-size: 0.88rem;
  color: var(--text-b);
  font-weight: 500;
  line-height: 1.4;
}
.solution-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23567a28' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.solution-card.soon .solution-points li::before { background-color: #eef2e8; filter: grayscale(1); }
.solution-cta { margin-top: auto; width: 100%; justify-content: center; }
.solution-cta.is-disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.55;
  border-color: var(--border);
  color: var(--text-m);
}

/* homepage "how it works" -> detail link */
.how-cta-row { text-align: center; margin-top: 48px; }

/* =========================================================
   FAQ PAGE (grouped accordions)
   ========================================================= */
.faq-page { background: var(--surface); padding: 64px 0 96px; }
.faq-page .container { max-width: 820px; }
.faq-group-title {
  font-size: 1.5rem;
  margin: 48px 0 6px;
  color: var(--text-h);
}
.faq-group-title:first-child { margin-top: 0; }
.faq-page .faq-list { margin-bottom: 8px; }
.faq-page-cta {
  margin-top: 64px;
  text-align: center;
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
}
.faq-page-cta h2 { font-size: 1.6rem; margin-bottom: 10px; }
.faq-page-cta p { color: var(--text-m); margin: 0 auto 26px; }

/* =========================================================
   Cookie consent banner (injected by js/main.js)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2000;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner-text {
  flex: 1;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-b);
}
.cookie-banner-text a { color: var(--green-dark); font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner-actions .btn { padding: 9px 22px; font-size: 0.9rem; }

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
  }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity 0.2s ease; transform: none; }
}

/* =========================================================
   RESPONSIVE — new components (placed after their base rules
   so these overrides win on source order)
   ========================================================= */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .hero.hero-center { padding: 120px 0 60px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }
  .faq-page-cta { padding: 36px 22px; }
}

/* =========================================================
   V2 — homepage brand redesign, motion & atmosphere
   (light "tide / energy" aesthetic, on-brand sage palette)
   ========================================================= */

/* ---- staggered load + scroll motion primitives ---- */
@keyframes gt-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes gt-float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-18px,16px) scale(1.05); } }
@keyframes gt-float-2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(22px,-14px) scale(1.08); } }
@keyframes gt-pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes gt-sheen { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }

/* smoother reveal easing for the whole site */
.reveal, .reveal-left, .reveal-right {
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

/* button sheen on hover (primary CTAs) */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-150%) skewX(-18deg); z-index: -1;
}
.btn-primary:hover::after { animation: gt-sheen 0.8s ease; }

/* =========================================================
   HOMEPAGE PHOTOGRAPHIC HERO + INTEREST SELECTOR
   ========================================================= */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 96px;
  color: #fff;
  background: #20330f;
}
.home-hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(102deg, rgba(15,30,6,0.95) 0%, rgba(34,58,16,0.86) 42%, rgba(34,58,16,0.50) 72%, rgba(24,44,10,0.34) 100%),
    url('/images/hp-modern-brick.jpg') center 38% / cover no-repeat;
}
.home-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0;
  background: linear-gradient(180deg, transparent, rgba(15,30,6,0.35));
}
.home-hero .container { position: relative; z-index: 1; }
.home-hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 52px; align-items: center; }
.home-hero-copy { max-width: 600px; }
.home-hero .sec-label { color: #dceeba; background: rgba(133,184,64,0.22); margin-bottom: 16px; }
.home-hero h1 { color: #fff; margin-bottom: 18px; }
.home-hero h1 em { font-style: normal; color: #ffe066; }
.home-hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.92); font-weight: 500;
  max-width: 52ch; margin-bottom: 30px;
}
.home-hero .hero-social-proof { justify-content: flex-start; border-top: none; margin-top: 30px; padding-top: 0; }

/* staggered hero entrance */
.home-hero-copy > *, .home-hero .selector { opacity: 0; animation: gt-rise 0.8s cubic-bezier(0.22,1,0.36,1) forwards; }
.home-hero-copy > .sec-label      { animation-delay: 0.05s; }
.home-hero-copy > h1              { animation-delay: 0.14s; }
.home-hero-copy > .home-hero-sub { animation-delay: 0.24s; }
.home-hero-copy > .hero-social-proof { animation-delay: 0.36s; }
.home-hero .selector             { animation-delay: 0.3s; }

/* selector card (the bridge) */
.selector {
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(40,70,20,0.14), 0 2px 0 rgba(255,255,255,0.6) inset;
  padding: 30px 30px 26px;
  max-width: 620px; margin: 0 auto;
}
.selector-q {
  font-family: var(--ff-head); font-weight: 800; font-size: 1.12rem;
  color: var(--text-h); margin-bottom: 18px; max-width: none;
}
.selector-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.select-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-align: center; padding: 22px 16px 18px;
  background: #fff; border: 2px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color var(--t), background var(--t), transform var(--t), box-shadow var(--t);
}
.select-tile:hover { border-color: var(--green-mid); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.select-tile[aria-pressed="true"] {
  border-color: var(--green); background: var(--green-pale);
  box-shadow: 0 0 0 4px var(--green-glow), var(--shadow-sm);
}
.select-tile-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-pale); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), color var(--t), transform var(--t);
}
.select-tile[aria-pressed="true"] .select-tile-icon { background: var(--green); color: #fff; transform: scale(1.05); }
.select-tile-title { font-family: var(--ff-head); font-weight: 800; font-size: 1.08rem; color: var(--text-h); }
.select-tile-status { font-size: 0.76rem; font-weight: 600; }
.select-tile-status.live { color: var(--green-dark); }
.select-tile-status.soon { color: var(--text-m); }
/* selected check badge */
.select-tile::before {
  content: '✓'; position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.4); transition: opacity var(--t), transform var(--t);
}
.select-tile[aria-pressed="true"]::before { opacity: 1; transform: scale(1); animation: gt-pop 0.32s ease; }
.selector-action { margin-top: 20px; }
.selector-action .btn { min-width: 220px; }
.selector-note {
  margin: 16px auto 0; max-width: 480px; font-size: 0.9rem; line-height: 1.55; color: var(--text-b);
  background: var(--green-pale); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
}
.selector-note a { color: var(--green-dark); font-weight: 700; }

/* hero social proof — light variant (dark text) */
.hero-social-proof.center { justify-content: center; border-top: none; margin-top: 34px; padding-top: 0; }
.hero-social-proof.light .hero-proof-text { color: var(--text-m); }
.hero-social-proof.light .hero-proof-text strong { color: var(--text-h); }
.hero-social-proof.light .hero-face { border-color: #fff; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip { background: var(--darker); }
.trust-strip .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px;
  padding-top: 20px; padding-bottom: 20px;
}
.trust-strip-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 600; font-size: 0.92rem;
  color: rgba(225,235,215,0.92);
}
.trust-strip-item svg { color: var(--green-light); flex-shrink: 0; }

/* =========================================================
   WHY GREEN TIDE  (split: copy + stat cards)
   ========================================================= */
.why-section { background: var(--surface); padding: 100px 0; }
.why-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.why-text h2 { margin-bottom: 18px; }
.why-lead { color: var(--text-m); font-size: 1.05rem; margin-bottom: 28px; }
.why-points { display: flex; flex-direction: column; gap: 18px; }
.why-points li { display: flex; gap: 14px; align-items: flex-start; }
.why-tick {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
  box-shadow: 0 4px 12px var(--green-glow);
}
.why-points strong { display: block; font-family: var(--ff-head); font-size: 1rem; color: var(--text-h); margin-bottom: 2px; }
.why-points span { font-size: 0.92rem; color: var(--text-m); line-height: 1.6; }
.why-aside { display: flex; flex-direction: column; gap: 16px; }
.why-stat {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fbfdf7, #fff);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.why-stat::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--green-light), var(--green-dark));
}
.why-stat:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.why-stat-num {
  display: block; font-family: var(--ff-head); font-weight: 900; letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 4vw, 2.8rem); line-height: 1; color: var(--green-dark); margin-bottom: 6px;
}
.why-stat-label { font-size: 0.9rem; color: var(--text-m); line-height: 1.5; }

/* =========================================================
   HOW IT WORKS — compact 3-step strip
   ========================================================= */
.how-strip { background: var(--green-pale); padding: 96px 0; position: relative; overflow: hidden; }
.how-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
/* connecting dashed line behind the cards (desktop) */
.how-strip-grid::before {
  content: ''; position: absolute; top: 46px; left: 14%; right: 14%; height: 2px;
  background-image: linear-gradient(90deg, var(--green-mid) 50%, transparent 50%);
  background-size: 12px 2px; opacity: 0.7;
}
.how-strip-card {
  position: relative; background: var(--surface); border: 1px solid #e6edd8;
  border-radius: var(--radius-lg); padding: 34px 28px 28px; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.how-strip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.how-strip-num {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--green); color: #fff; font-family: var(--ff-head); font-weight: 900; font-size: 1.3rem;
  box-shadow: 0 8px 20px var(--green-glow); border: 4px solid var(--green-pale);
}
.how-strip-card h3 { text-align: center; font-size: 1.15rem; margin-bottom: 10px; }
.how-strip-card p { text-align: center; font-size: 0.92rem; color: var(--text-m); max-width: none; }

/* two-up solutions tweaks */
.solutions-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
.solution-card { transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.solution-card:not(.soon):hover { border-color: var(--green-mid); }

/* =========================================================
   FAQ — engaging accordion (used by teaser + FAQ page)
   ========================================================= */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 12px; background: #fff;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }   /* override old top-border rule */
.faq-item:hover { border-color: var(--green-mid); box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--green); box-shadow: 0 10px 30px rgba(86,122,40,0.12); }
.faq-trigger { padding: 20px 22px; gap: 14px; }
.faq-item.open .faq-trigger { color: var(--green-dark); }
.faq-body-inner p { padding: 0 22px 22px; }
.faq-icon { transition: background var(--t), transform 0.35s cubic-bezier(0.34,1.4,0.64,1); }

/* FAQ PAGE — editorial 2-column layout (sticky rail + questions) */
.faq-page { background: linear-gradient(180deg, #fff 0%, #fbfdf7 100%); padding: 72px 0 100px; }
.faq-page .container { max-width: 1180px; }
.faq-page-layout { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.faq-rail { position: sticky; top: 110px; }
.faq-rail h2 { font-size: 1.7rem; margin: 10px 0 12px; }
.faq-rail p { color: var(--text-m); font-size: 0.95rem; margin-bottom: 22px; }
.faq-jump { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; border-left: 2px solid var(--border); }
.faq-jump a {
  font-family: var(--ff-head); font-weight: 600; font-size: 0.9rem; color: var(--text-m);
  padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; transition: all var(--t);
}
.faq-jump a:hover { color: var(--green-dark); border-left-color: var(--green); }
.faq-rail .btn { width: 100%; justify-content: center; }
.faq-questions .faq-group-title:first-child { margin-top: 0; }
.faq-group-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.15rem; margin: 36px 0 16px; color: var(--text-h); scroll-margin-top: 110px;
}
.faq-group-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.faq-page-cta {
  margin-top: 56px; text-align: center;
  background: linear-gradient(135deg, #3d5c18, var(--green));
  border: none; border-radius: var(--radius-xl); padding: 48px 32px;
}
.faq-page-cta h2 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.faq-page-cta p { color: rgba(255,255,255,0.82); margin: 0 auto 24px; }

/* =========================================================
   LEGAL/INTERIOR width fix — align body with the hero (same
   1180 container, content left-aligned to a readable measure)
   ========================================================= */
.legal-body .container { max-width: 1180px; }
.legal-body .container > * { max-width: 880px; }
.legal-body .legal-toc { max-width: 880px; }

/* curved divider helper (soft tide edge on the white section after the green strip) */
.how-strip { border-top: 1px solid rgba(86,122,40,0.12); }

/* =========================================================
   V2 RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .solutions-grid.two { grid-template-columns: 1fr; max-width: 480px; }
  .faq-page-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-rail { position: static; }
}
@media (max-width: 768px) {
  .selector { padding: 22px 18px; }
  .how-strip-grid { grid-template-columns: 1fr; gap: 18px; }
  .how-strip-grid::before { display: none; }
  .trust-strip .container { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover::after { animation: none; }
}

/* =========================================================
   V3 — photographic homepage hero: nav + responsive
   ========================================================= */
/* transparent nav sits near the top when there is no topbar (homepage) */
.navbar.over-photo { padding-top: 18px; }
.navbar.over-photo.scrolled { padding-top: 0; }

/* selector card sits to the right of the hero copy; stronger lift over photo */
.home-hero .selector {
  margin: 0 0 0 auto;
  box-shadow: 0 30px 70px rgba(8,20,4,0.45), 0 2px 0 rgba(255,255,255,0.6) inset;
}

@media (max-width: 1024px) {
  .home-hero { padding: 150px 0 80px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-hero-copy { max-width: 640px; }
  .home-hero .selector { margin: 0 auto; }
}
@media (max-width: 768px) {
  .home-hero { padding: 120px 0 60px; }
  .home-hero-overlay {
    background:
      linear-gradient(160deg, rgba(15,30,6,0.92) 0%, rgba(34,58,16,0.82) 60%, rgba(24,44,10,0.6) 100%),
      url('/images/hp-modern-brick.jpg') center / cover no-repeat;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-copy > *, .home-hero .selector { animation: none; opacity: 1; }
}

/* =========================================================
   FUNNEL PAGES — thank you + not eligible (noindex)
   ========================================================= */
/* minimal header (focus, fewer exits) */
.navbar.minimal { background: var(--surface); box-shadow: var(--shadow-md); padding-top: 0; }
.navbar.minimal .container { height: 64px; justify-content: center; }
.navbar.minimal .navbar-brand .logo-light { display: none; }
.navbar.minimal .navbar-brand .logo-dark { display: block; }
.navbar.minimal .ty-help { position: absolute; right: 24px; font-family: var(--ff-head); font-weight: 600; font-size: 0.9rem; color: var(--text-m); }
.navbar.minimal .ty-help a { color: var(--green-dark); }

/* success hero */
.ty-hero {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 132px 0 72px;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(255,255,255,0.16), transparent 60%),
    linear-gradient(140deg, #2f4d14 0%, var(--green) 60%, var(--green-light) 130%);
}
.ty-hero .container { position: relative; z-index: 1; }
.ty-badge {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 24px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 36px rgba(0,0,0,0.28);
  animation: gt-pop 0.5s cubic-bezier(0.34,1.4,0.64,1) both;
}
.ty-badge svg { color: var(--green); }
.ty-hero h1 { color: #fff; margin-bottom: 14px; }
.ty-hero .ty-lead { color: rgba(255,255,255,0.92); font-size: 1.12rem; max-width: 54ch; margin: 0 auto 10px; font-weight: 500; }
.ty-hero .ty-reassure { color: rgba(255,255,255,0.75); font-size: 0.95rem; max-width: 50ch; margin: 0 auto; }
.ty-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.ty-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: 0.84rem;
  padding: 8px 15px; border-radius: 999px;
}
.ty-pill svg { color: #ffe066; }

/* section base for funnel pages */
.ty-section { padding: 80px 0; }
.ty-section.tint { background: var(--green-pale); }
.ty-section .sec-header { margin-bottom: 40px; }

/* what happens next — vertical timeline */
.timeline { max-width: 760px; margin: 0 auto; }
.timeline-item { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: 28px; top: 56px; bottom: -4px; width: 2px;
  background: linear-gradient(180deg, var(--green-mid), transparent);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 900; font-size: 1.3rem;
  box-shadow: 0 8px 20px var(--green-glow); border: 4px solid #fff; position: relative; z-index: 1;
}
.timeline-dot.soon { background: var(--orange); box-shadow: 0 8px 20px rgba(224,112,0,0.3); }
.timeline-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 26px; box-shadow: var(--shadow-sm);
}
.timeline-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.timeline-card h3 .when { font-family: var(--ff-head); font-size: 0.78rem; font-weight: 700; color: var(--green-dark); background: var(--green-pale); padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.timeline-card p { font-size: 0.94rem; color: var(--text-m); max-width: none; }
.timeline-card .tip { margin-top: 8px; font-size: 0.86rem; color: var(--orange); font-weight: 600; }

/* video */
.video-wrap {
  position: relative; max-width: 860px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #14210b;
}
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-poster { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.video-poster::after { content: ''; position: absolute; inset: 0; background: rgba(15,30,6,0.4); }
.video-play {
  position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: transform var(--t);
}
.video-poster:hover .video-play { transform: scale(1.08); }
.video-play svg { color: var(--green); margin-left: 4px; }
.video-cap { text-align: center; margin: 18px auto 0; color: var(--text-m); font-size: 0.9rem; }

/* grant boost banner */
.grant-boost {
  max-width: 880px; margin: 0 auto; display: flex; gap: 20px; align-items: flex-start;
  background: #fff8e6; border: 1px solid #f0d68a; border-left: 5px solid var(--orange);
  border-radius: var(--radius-lg); padding: 26px 30px; box-shadow: var(--shadow-sm);
}
.grant-boost-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.grant-boost h3 { font-size: 1.25rem; margin-bottom: 8px; }
.grant-boost .flag { display: inline-block; font-family: var(--ff-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--orange); padding: 4px 11px; border-radius: 5px; margin-bottom: 10px; }
.grant-boost p { font-size: 0.95rem; color: var(--text-b); max-width: none; margin-bottom: 6px; }
.grant-boost .small { font-size: 0.8rem; color: var(--text-m); }

/* DQ page hero (softer) */
.dq-hero { background: linear-gradient(150deg, #0f4c8c 0%, #1a7dc0 70%); color: #fff; text-align: center; padding: 140px 0 70px; }
.dq-hero h1 { color: #fff; margin-bottom: 14px; }
.dq-hero p { color: rgba(255,255,255,0.9); max-width: 56ch; margin: 0 auto; font-size: 1.05rem; }
.dq-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.dq-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.dq-card .solution-icon { margin-bottom: 18px; }
.dq-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.dq-card p { font-size: 0.93rem; color: var(--text-m); max-width: none; flex: 1; margin-bottom: 20px; }

@media (max-width: 768px) {
  .grant-boost { flex-direction: column; gap: 14px; padding: 22px; }
  .dq-options { grid-template-columns: 1fr; }
  .ty-hero { padding: 110px 0 56px; }
}

/* =========================================================
   THANK-YOU v2 — photo hero, horizontal steps, myths
   ========================================================= */
/* photo background hero (overrides the flat gradient above) */
.ty-hero {
  background:
    linear-gradient(140deg, rgba(26,50,11,0.93) 0%, rgba(74,110,34,0.82) 55%, rgba(107,150,53,0.62) 100%),
    url('/images/hp-modern-brick.jpg') center / cover no-repeat;
}

/* horizontal "what happens next" steps */
.next-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.next-steps::before {
  content: ''; position: absolute; top: 54px; left: 12%; right: 12%; height: 2px;
  background-image: linear-gradient(90deg, var(--green-mid) 55%, transparent 55%);
  background-size: 12px 2px; opacity: 0.7;
}
.next-step {
  position: relative; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.next-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.next-step .n {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 900; font-size: 1.3rem;
  box-shadow: 0 8px 20px var(--green-glow); border: 4px solid #fff; position: relative; z-index: 1;
}
.next-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.next-step h3 .when { display:block; font-family: var(--ff-head); font-size: 0.74rem; font-weight: 700; color: var(--green-dark); margin-top: 4px; }
.next-step p { font-size: 0.9rem; color: var(--text-m); max-width: none; }
.next-step .tip { margin-top: 10px; font-size: 0.82rem; color: var(--orange); font-weight: 600; line-height: 1.4; }

/* compare-quotes highlight callout */
.compare-callout {
  max-width: 820px; margin: 34px auto 0; display: flex; gap: 18px; align-items: flex-start;
  background: var(--green-pale); border: 1px solid var(--border); border-left: 5px solid var(--green);
  border-radius: var(--radius-lg); padding: 22px 26px;
}
.compare-callout-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.compare-callout h3 { font-size: 1.1rem; margin-bottom: 4px; }
.compare-callout p { font-size: 0.93rem; color: var(--text-b); max-width: none; margin: 0; }

/* myth busting */
.myths-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 940px; margin: 0 auto; }
.myth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.myth-card .myth { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--border); }
.myth-card .myth svg { color: #c0392b; flex-shrink: 0; margin-top: 2px; }
.myth-card .myth span { font-family: var(--ff-head); font-weight: 700; color: var(--text-h); }
.myth-card .fact { display: flex; gap: 10px; align-items: flex-start; }
.myth-card .fact svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.myth-card .fact p { font-size: 0.92rem; color: var(--text-m); max-width: none; margin: 0; }

@media (max-width: 900px) {
  .next-steps { grid-template-columns: 1fr 1fr; }
  .next-steps::before { display: none; }
}
@media (max-width: 768px) {
  .myths-grid { grid-template-columns: 1fr; }
  .compare-callout { flex-direction: column; gap: 12px; }
}
@media (max-width: 560px) {
  .next-steps { grid-template-columns: 1fr; }
}

/* =========================================================
   THANK-YOU v3 — two-column header (copy + next-steps card)
   ========================================================= */
.ty-hero.split { text-align: left; padding: 120px 0 64px; }
.ty-hero.split .ty-badge { margin: 0 0 18px; }
.ty-hero.split .ty-lead, .ty-hero.split .ty-reassure { margin-left: 0; margin-right: 0; }
.ty-hero.split .ty-pills { justify-content: flex-start; }
.ty-hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 44px; align-items: center; }
.ty-hero-copy { max-width: 580px; }

.ty-next-card {
  background: #fff; color: var(--text-b);
  border-radius: var(--radius-xl); box-shadow: 0 30px 70px rgba(8,20,4,0.45);
  padding: 28px 28px 24px;
}
.ty-next-card h2 { font-size: 1.2rem; margin-bottom: 20px; color: var(--text-h); text-align: left; }
.ty-next-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; position: relative; margin-bottom: 16px; }
.ty-next-bar::before {
  content: ''; position: absolute; top: 21px; left: 12%; right: 12%; height: 2px;
  background-image: linear-gradient(90deg, var(--green-mid) 55%, transparent 55%);
  background-size: 10px 2px; opacity: 0.7;
}
.ty-next-s { text-align: center; position: relative; }
.ty-next-s .n {
  width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 10px;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 900; font-size: 1.05rem;
  border: 3px solid #fff; box-shadow: 0 6px 16px var(--green-glow); position: relative; z-index: 1;
}
.ty-next-s h3 { font-size: 0.84rem; line-height: 1.2; margin-bottom: 3px; color: var(--text-h); font-family: var(--ff-head); }
.ty-next-s span { font-size: 0.7rem; color: var(--green-dark); font-weight: 700; }
.ty-next-note { font-size: 0.82rem; color: var(--orange); font-weight: 600; text-align: center; margin-bottom: 16px; }
.ty-next-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #14210b; }
.ty-next-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ty-next-media-cap { text-align: center; font-size: 0.78rem; color: var(--text-m); margin-top: 8px; }

@media (max-width: 1024px) {
  .ty-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .ty-hero-copy { max-width: none; }
}
@media (max-width: 480px) {
  .ty-next-bar { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ty-next-bar::before { display: none; }
}

/* =========================================================
   THANK-YOU v4 — "best deals" banner under the hero
   ========================================================= */
.deal-banner { background: linear-gradient(135deg, #3d5c18 0%, var(--green) 100%); color: #fff; }
.deal-banner .container { display: flex; align-items: center; gap: 22px; padding-top: 26px; padding-bottom: 26px; }
.deal-banner-icon {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; color: #fff;
}
.deal-banner h2 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; line-height: 1.2; }
.deal-banner p { color: rgba(255,255,255,0.9); max-width: none; font-size: 0.95rem; margin: 0; }
@media (max-width: 768px) {
  .deal-banner .container { flex-direction: column; text-align: center; gap: 12px; }
}

/* =========================================================
   THANK-YOU v5 — "best deals" dark standout section
   ========================================================= */
.deals {
  position: relative; overflow: hidden; color: #fff; padding: 70px 0;
  background:
    radial-gradient(700px 360px at 88% 0%, rgba(107,150,53,0.28), transparent 65%),
    linear-gradient(135deg, #1b1b1b 0%, #232d18 100%);
}
.deals .container { position: relative; z-index: 1; }
.deals-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.deals-flag {
  display: inline-block; font-family: var(--ff-head); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--orange);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(224,112,0,0.35);
}
.deals h2 { color: #fff; margin-bottom: 14px; }
.deals h2 em { font-style: normal; color: var(--green-light); }
.deals-lead { color: rgba(255,255,255,0.8); font-size: 1.02rem; max-width: 52ch; margin: 0; }
.deals-points { display: flex; flex-direction: column; gap: 14px; }
.deals-point {
  display: flex; gap: 15px; align-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 16px 20px;
}
.deals-point .pi {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px var(--green-glow);
}
.deals-point strong { display: block; font-family: var(--ff-head); font-size: 1rem; color: #fff; }
.deals-point span { font-size: 0.88rem; color: rgba(255,255,255,0.62); }
@media (max-width: 900px) {
  .deals-inner { grid-template-columns: 1fr; gap: 30px; }
  .deals-lead { max-width: none; }
}

/* =========================================================
   Installer-network banner (bold, dark, under hero on landings)
   ========================================================= */
.net-banner {
  color: #fff;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(107,150,53,0.22), transparent 60%),
    linear-gradient(135deg, #1b1b1b 0%, #232d18 100%);
}
.net-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.net-banner-head { max-width: 560px; }
.net-banner-flag {
  display: inline-block; font-family: var(--ff-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--orange);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(224,112,0,0.35);
}
.net-banner-head h2 { color: #fff; font-size: 1.5rem; line-height: 1.15; }
.net-banner-head h2 em { font-style: normal; color: var(--green-light); }
.net-banner-points { display: flex; flex-direction: column; gap: 10px; }
.net-banner-points li { display: flex; align-items: center; gap: 10px; font-family: var(--ff-head); font-weight: 600; font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.net-banner-points svg { color: var(--green-light); flex-shrink: 0; }
@media (max-width: 768px) { .net-banner .container { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* =========================================================
   GUIDES (blog): hub, archives, search, single post
   Data-driven: see /guides/posts.js + /js/blog.js
   ========================================================= */

/* ----- Guides hero with search ----- */
.guides-hero {
  position: relative;
  padding: 150px 0 60px;
  background: linear-gradient(150deg, #19350c 0%, #2f5417 45%, var(--green) 120%);
  color: #fff;
  overflow: hidden;
}
.guides-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(133,184,64,0.45), transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(74,157,212,0.25), transparent 55%);
  pointer-events: none;
}
.guides-hero .container { position: relative; z-index: 1; max-width: 880px; text-align: center; }
.guides-hero .sec-label { color: var(--green-mid); background: rgba(255,255,255,0.12); }
.guides-hero h1 { color: #fff; margin-bottom: 14px; }
.guides-hero h1 em { font-style: normal; color: var(--green-light); }
.guides-hero p.guides-hero-sub { color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 60ch; margin: 0 auto 30px; }

.guide-search { display: flex; gap: 10px; max-width: 540px; margin: 0 auto; }
.guide-search input {
  flex: 1;
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 15px 20px;
  border-radius: 50px;
  border: 2px solid transparent;
  background: #fff;
  color: var(--text-b);
  box-shadow: var(--shadow-md);
  outline: none;
}
.guide-search input:focus { border-color: var(--green-light); }
.guide-search .btn { flex-shrink: 0; }
.guides-hero .guide-search input::placeholder { color: var(--text-m); }

/* compact search bar reused on archive / search pages */
.guide-search.inline { margin: 28px auto 0; }
.guide-search.inline input { box-shadow: var(--shadow-sm); border-color: var(--border); }

/* ----- Section wrapper ----- */
.guide-section { padding: 64px 0; }
.guide-section.alt { background: var(--green-pale); }
.guide-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.guide-section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.guide-section-head p { color: var(--text-m); margin-top: 6px; font-size: 0.98rem; }
.guide-section-head .view-all {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.guide-section-head .view-all:hover { color: var(--green); gap: 9px; }
.guide-section-head .view-all svg { transition: transform var(--t); }

/* ----- Post grid + cards ----- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-grid.two { grid-template-columns: repeat(2, 1fr); }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-mid); }
.post-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-pale2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.post-card-cat {
  align-self: flex-start;
  font-family: var(--ff-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.post-card-cat.cat-heat-pumps  { color: var(--orange); background: rgba(224,112,0,0.1); }
.post-card-cat.cat-solar-energy { color: var(--green-dark); background: rgba(107,150,53,0.12); }
.post-card h3 { font-size: 1.18rem; line-height: 1.28; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--green-dark); }
.post-card-excerpt { font-size: 0.92rem; color: var(--text-m); line-height: 1.65; margin-bottom: 18px; }
.post-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-m);
  font-family: var(--ff-head);
  font-weight: 500;
}
.post-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }

/* ----- Featured card (large) ----- */
.featured-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.featured-card .post-card-media { aspect-ratio: auto; height: 100%; min-height: 320px; }
.featured-card .post-card-body { padding: 40px 42px; justify-content: center; }
.featured-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.featured-flag svg { color: var(--orange); }
.featured-card h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 14px; line-height: 1.16; }
.featured-card h2 a:hover { color: var(--green-dark); }
.featured-card .post-card-excerpt { font-size: 1rem; margin-bottom: 22px; }
.featured-card .post-card-meta { margin-top: 4px; margin-bottom: 22px; }

/* ----- Empty / results state ----- */
.guide-empty { text-align: center; padding: 40px 0 8px; color: var(--text-m); }
.guide-empty strong { color: var(--text-h); font-family: var(--ff-head); }
.results-count { color: var(--text-m); font-size: 0.95rem; margin-bottom: 28px; font-family: var(--ff-head); font-weight: 600; }
.results-count b { color: var(--text-h); }

/* ----- Tag list ----- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-chip {
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-b);
  background: var(--green-pale);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 50px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.tag-chip:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* =========================================================
   SINGLE POST
   ========================================================= */
.post-hero {
  position: relative;
  padding: 130px 0 44px;
  background: var(--dark);
  color: #fff;
}
.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #1d3a0f 0%, #2e2e2e 70%);
  opacity: 0.96;
}
.post-hero .container { position: relative; z-index: 1; max-width: 820px; }
.post-hero-cat {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 50px;
  margin-bottom: 18px;
  background: var(--green-light);
  color: #16300a;
}
.post-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 18px; }
.post-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
}
.post-hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.post-breadcrumb {
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.post-breadcrumb a:hover { color: #fff; }
.post-breadcrumb span { opacity: 0.5; margin: 0 7px; }

.post-feature-media {
  max-width: 920px;
  margin: -34px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.post-feature-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* article body */
.post-article { padding: 48px 0 80px; background: var(--surface); }
.post-article .container { max-width: 760px; }
.post-article p { color: var(--text-b); font-size: 1.075rem; line-height: 1.8; margin-bottom: 22px; max-width: none; }
.post-article h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 46px 0 16px;
  padding-top: 8px;
  letter-spacing: -0.02em;
}
.post-article h3 { font-size: 1.32rem; margin: 34px 0 12px; color: var(--text-h); }
.post-article ul, .post-article ol { margin: 0 0 24px; padding-left: 4px; }
.post-article ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-b);
  line-height: 1.7;
}
.post-article ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
}
.post-article ol { padding-left: 22px; }
.post-article ol li { margin-bottom: 12px; padding-left: 6px; color: var(--text-b); line-height: 1.7; }
.post-article ol li::marker { color: var(--green-dark); font-family: var(--ff-head); font-weight: 800; }
.post-article strong { color: var(--text-h); font-weight: 700; }
.post-article em { font-style: italic; color: var(--text-m); }
.post-article a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.post-article a:hover { color: var(--green); }

/* lead paragraph */
.post-article .post-lead { font-size: 1.22rem; line-height: 1.6; color: var(--text-h); font-weight: 500; margin-bottom: 28px; }

/* callout box (key takeaways / strategy notes) */
.post-callout {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 30px 0;
}
.post-callout h3 { margin: 0 0 12px; font-size: 1.1rem; }
.post-callout ul { margin: 0; }
.post-callout p:last-child { margin-bottom: 0; }

/* responsive table */
.post-table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.post-article table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
.post-article th, .post-article td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.post-article thead th { background: var(--green-pale); font-family: var(--ff-head); font-weight: 700; color: var(--text-h); }
.post-article tbody tr:last-child td { border-bottom: none; }
.post-article tbody td:first-child { font-weight: 600; color: var(--text-h); font-family: var(--ff-head); }
.post-article caption { caption-side: bottom; font-size: 0.85rem; color: var(--text-m); font-style: italic; padding-top: 12px; text-align: left; }

/* post tags footer */
.post-tags-block { margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--border); }
.post-tags-block h4 { font-family: var(--ff-head); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-m); margin-bottom: 14px; }

/* related posts */
.related-posts { padding: 64px 0; background: var(--green-pale); }
.related-posts .sec-header { margin-bottom: 36px; }

@media (max-width: 980px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .post-card-media { min-height: 240px; aspect-ratio: 16 / 9; }
  .featured-card .post-card-body { padding: 32px 28px; }
}
@media (max-width: 640px) {
  .post-grid, .post-grid.two { grid-template-columns: 1fr; }
  .guide-search { flex-direction: column; }
  .guide-search .btn { width: 100%; }
  .guides-hero { padding: 130px 0 48px; }
  .guide-section { padding: 48px 0; }
  .guide-section-head { align-items: flex-start; }
}

/* ----- Single post: FAQ + author box ----- */
.post-faq { margin: 48px 0 0; padding-top: 36px; border-top: 1px solid var(--border); }
.post-faq h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 18px; }
.post-faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 12px;
  background: var(--surface);
  transition: border-color var(--t), box-shadow var(--t);
}
.post-faq details[open] { border-color: var(--green-mid); box-shadow: var(--shadow-sm); }
.post-faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-h);
  padding: 16px 48px 16px 20px;
  position: relative;
}
.post-faq summary::-webkit-details-marker { display: none; }
.post-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green);
  transition: transform var(--t);
}
.post-faq details[open] summary::after { content: "\2212"; }
.post-faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-b); font-size: 1rem; }

.post-author {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 40px 0 0;
  padding: 24px 26px;
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.post-author-mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-author-body h4 { font-family: var(--ff-head); font-size: 1.05rem; margin-bottom: 6px; color: var(--text-h); }
.post-author-body p { margin: 0; font-size: 0.95rem; color: var(--text-b); }
