:root {
  --bg: #ffffff;
  --bg-2: #ffffff;
  --ink: #13223b;
  --ink-dim: rgba(19, 34, 59, 0.72);
  --ink-mute: rgba(19, 34, 59, 0.58);
  --hairline: rgba(19, 34, 59, 0.12);
  --accent: #2b5dd1;
  --accent-2: #4c7ff0;
  --brand: #2b5dd1;
  --brand-hover: #1f4cb8;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(240,244,252,0.88) 100%);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(19, 34, 59, 0.06);
  box-shadow: 0 1px 3px rgba(19, 34, 59, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.nav--scrolled {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(243,246,253,0.92) 100%);
  border-bottom-color: rgba(19, 34, 59, 0.08);
  box-shadow: 0 1px 8px rgba(19, 34, 59, 0.06);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 48px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-img {
  height: 52px;
  width: auto;
}

.nav__wordmark {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

@media (max-width: 599px) {
  .nav__inner {
    grid-template-columns: 1fr auto;
    justify-items: start;
  }
  .nav__phone-text {
    display: none;
  }
  .nav__phone {
    padding: 8px;
    border-radius: 50%;
    background: rgba(43, 93, 209, 0.08);
    color: var(--brand);
  }
}

.nav__links {
  display: flex;
  gap: 6px;
  justify-self: center;
  font-size: 14px;
  font-weight: 500;
}

.nav__links a {
  position: relative;
  padding: 8px 14px;
  color: var(--ink-dim);
  border-radius: 8px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav__links a:hover {
  color: var(--ink);
  background: rgba(19, 34, 59, 0.05);
}

.nav__actions {
  display: inline-flex;
  gap: 14px;
  justify-self: end;
  align-items: center;
  font-size: 14px;
}

.nav__signin {
  color: var(--ink-dim);
  transition: color 0.2s var(--ease);
}

.nav__signin:hover {
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px;
  --pad-x: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.3s var(--ease);
  will-change: transform;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  --pad-y: 9px;
  --pad-x: 18px;
  font-size: 13px;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(43, 93, 209, 0.25);
}

.btn--primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 12px 32px rgba(43, 93, 209, 0.35);
  transform: translateY(-1px);
}

.btn--secondary {
  background: #fff;
  color: var(--brand);
  border-color: rgba(43, 93, 209, 0.35);
}

.btn--secondary:hover {
  background: #f4f7fd;
  border-color: var(--brand);
  transform: translateY(-1px);
}

.btn__icon {
  margin-left: 8px;
  transition: transform 0.25s var(--ease);
}

.btn__icon--lead {
  margin-left: 0;
  margin-right: 8px;
}

.btn--primary:hover .btn__icon:not(.btn__icon--lead) {
  transform: translateX(3px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}

.btn--ghost:hover {
  background: rgba(26, 26, 26, 0.05);
  border-color: rgba(26, 26, 26, 0.28);
}

.btn--link {
  background: transparent;
  color: var(--ink);
  padding: 14px 8px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}

.btn--link span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.25s var(--ease);
}

.btn--link:hover span {
  transform: translateX(4px);
}

/* ---------- Hero ---------- */
.hero {
  --hero-ink: #ffffff;
  --hero-ink-dim: rgba(255, 255, 255, 0.75);
  position: relative;
  width: 100%;
  height: 100svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #d0dae8;
}

.hero::before,
.hero::after {
  display: none;
}

/* Mobile photo */
.hero__photo {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 92% top;
}

.hero__photo::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 25%;
  z-index: 1;
  background: linear-gradient(to bottom, #d0dae8, transparent);
  pointer-events: none;
}

.hero__photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 15%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6) 50%, #ffffff);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, transparent, black);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black);
  pointer-events: none;
}

/* Mobile hero content — overlaid on clear sky at top */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 10px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  animation: heroFadeUp 0.8s var(--ease) 0.2s both;
}

.hero__eyebrow { display: none; }

/* Mobile hero text overrides (phones only) */
@media (max-width: 599px) {
  .hero__title {
    font-size: clamp(30px, 7vw, 48px);
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 800;
  }

  .hero__sub {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--ink-dim);
    margin: 12px 0 22px;
    max-width: 38ch;
  }

  .hero__cta {
    width: 100%;
    max-width: 480px;
    margin-top: 4px;
  }

  .btn--hero {
    width: 100%;
    height: 54px;
    justify-content: center;
    background: var(--brand);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(43, 93, 209, 0.35);
  }

  .btn--hero:hover {
    background: var(--brand-hover);
    box-shadow: 0 12px 36px rgba(43, 93, 209, 0.45);
  }

  .hero__trust {
    display: none;
  }
}

/* Desktop + tablet: landscape image with dark overlay (600px+) */
@media (min-width: 600px) {
  .hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 100svh;
    justify-content: initial;
  }

  .hero__photo {
    position: absolute;
    inset: 0;
    top: 0;
  }

  .hero__photo img {
    object-position: center center;
  }

  .hero__photo::before {
    display: block;
    top: -1px;
    height: 100%;
    background: none;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(10, 14, 22, 0.6) 0%, rgba(10, 14, 22, 0.35) 45%, transparent 75%),
      linear-gradient(180deg, rgba(10, 14, 22, 0.45) 0%, rgba(10, 14, 22, 0.05) 50%, rgba(10, 14, 22, 0.3) 80%, #f7f8fb 100%);
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 1;
    flex: 1;
    padding: clamp(120px, 16vh, 240px) 40px 80px clamp(36px, 5vw, 120px);
    max-width: clamp(60%, 55vw, 55%);
    align-self: flex-start;
    animation: heroFadeUp 1s var(--ease) both;
  }

  .hero__eyebrow {
    display: inline-block;
    margin: 0 0 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 7px 16px;
    border-radius: 999px;
  }

  .hero__title {
    color: var(--hero-ink);
    font-size: clamp(32px, 4.5vw, 72px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 800;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
  }

  .hero__sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(14px, 1.4vw, 20px);
    max-width: 40ch;
    margin: 16px 0 28px;
    line-height: 1.6;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.1);
  }

  .btn--hero {
    height: clamp(48px, 6vw, 60px);
    padding: 0 clamp(24px, 3vw, 36px);
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 700;
    border-radius: 14px;
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  }

  .btn--hero:hover {
    transform: translateY(-1px);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  }

  .hero__trust {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 28px clamp(56px, 7vw, 120px);
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    background: linear-gradient(to top, rgba(10, 14, 22, 0.5), transparent);
  }

  .hero__trust-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
  }

  .hero__trust-item svg {
    color: rgba(255, 255, 255, 0.5);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  margin: 0;
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

.hero__sub {
  margin: 14px 0 28px;
  max-width: 36ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
}

.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Hero-specific button styles */
.btn--hero {
  background: #ffffff;
  color: #111215;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn--hero:hover {
  background: #f0f0f0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

/* Trust row (inside hero) */
.hero__trust {
  display: none;
}

@media (min-width: 600px) {
  .hero__trust {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: clamp(24px, 4vw, 48px);
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.005em;
}

.hero__trust-item svg {
  opacity: 0.4;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 28px;
  }
}

/* ---------- Steps (How It Works) ---------- */
.steps {
  padding: clamp(56px, 8vw, 88px) 24px;
  background: url('assets/steps-bg.png') center center / 100% 100% no-repeat;
  overflow: hidden;
}

@media (min-width: 600px) {
  .steps {
    background: #fff;
  }
}

.steps__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.steps__eyebrow {
  text-align: center;
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.steps__track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.steps__card {
  flex: 1;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.steps.is-visible .steps__card[data-step="1"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.steps.is-visible .steps__card[data-step="2"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.4s;
}

.steps.is-visible .steps__card[data-step="3"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.8s;
}

.steps__card:hover {
  border-color: rgba(19, 34, 59, 0.12);
  box-shadow: 0 12px 36px -8px rgba(19, 34, 59, 0.12);
  transform: translateY(-4px) scale(1.02);
}

.steps__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 16px;
  transition: transform 0.4s ease;
}

.steps__card:hover .steps__icon {
  transform: scale(1.1);
}

.steps__icon--green {
  background: linear-gradient(135deg, rgba(107, 170, 62, 0.15), rgba(107, 170, 62, 0.05));
  color: #5a9234;
  box-shadow: 0 4px 16px -4px rgba(107, 170, 62, 0.2);
}

.steps__icon--orange {
  background: linear-gradient(135deg, rgba(224, 138, 42, 0.15), rgba(224, 138, 42, 0.05));
  color: #d06020;
  box-shadow: 0 4px 16px -4px rgba(224, 138, 42, 0.2);
}

.steps__icon--teal {
  background: linear-gradient(135deg, rgba(42, 168, 114, 0.15), rgba(42, 168, 114, 0.05));
  color: #1a8a5c;
  box-shadow: 0 4px 16px -4px rgba(42, 168, 114, 0.2);
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.steps__title {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.steps__sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  max-width: 22ch;
}

/* Connector lines */
.steps__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 5vw, 72px);
  flex-shrink: 0;
  position: relative;
}

.steps__line {
  width: 100%;
  height: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.steps.is-visible .steps__connector:first-of-type .steps__line {
  opacity: 1;
  transition-delay: 0.25s;
}

.steps.is-visible .steps__connector:last-of-type .steps__line {
  opacity: 1;
  transition-delay: 0.65s;
}

.steps__connector-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.steps.is-visible .steps__connector:first-of-type .steps__connector-dot {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.35s;
}

.steps.is-visible .steps__connector:last-of-type .steps__connector-dot {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.75s;
}

@media (max-width: 700px) {
  .steps__track {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .steps__card {
    max-width: 100%;
    width: 100%;
    flex-direction: row;
    text-align: left;
    padding: 20px 24px;
    border-radius: 18px;
    gap: 16px;
  }

  .steps__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin-bottom: 0;
  }

  .steps__icon svg {
    width: 24px;
    height: 24px;
  }

  .steps__num {
    position: absolute;
    top: -8px;
    right: -8px;
    margin-bottom: 0;
    width: 22px;
    height: 22px;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(43, 93, 209, 0.3);
  }

  .steps__sub {
    max-width: none;
  }

  .steps__connector {
    width: 2px;
    height: 28px;
    flex-direction: column;
  }

  .steps__line {
    width: 20px;
    height: 100%;
    transform: rotate(90deg);
  }

  .steps__connector-dot {
    display: none;
  }

  .steps.is-visible .steps__card {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ---------- Savings section ---------- */
.savings {
  --offpeak: #2b5dd1;
  --peak: #e08a2a;
  --save: #2aa872;
  position: relative;
  background: var(--bg);
  padding: clamp(72px, 9vw, 120px) 24px clamp(72px, 9vw, 120px);
  color: var(--ink);
}

.savings__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.savings__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}

.savings__title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

.savings__sub {
  margin: 0;
  color: var(--ink-dim);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
}

/* Main panel */
.savings__panel {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 3vw, 40px);
  box-shadow: 0 20px 60px rgba(19, 34, 59, 0.08),
    0 2px 6px rgba(19, 34, 59, 0.04);
  margin-bottom: clamp(24px, 3vw, 36px);
}

/* Step row */
.savings__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: clamp(12px, 2vw, 20px);
}

.savings__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.savings__step-num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  margin-top: 2px;
}

.savings__step-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.savings__step-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
  max-width: 32ch;
}

.savings__step-arrow {
  color: rgba(19, 34, 59, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}

/* Bands — sit flush on top of house image, same colored zones */
.savings__bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.savings__band {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

.savings__band-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  border: 1px solid rgba(19, 34, 59, 0.08);
}

.savings__band-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.savings__band-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.3;
}

.savings__band--offpeak {
  background: rgba(43, 93, 209, 0.1);
}
.savings__band--offpeak .savings__band-title {
  color: var(--offpeak);
}
.savings__band--offpeak .savings__band-icon {
  color: var(--offpeak);
  background: rgba(43, 93, 209, 0.06);
  border-color: rgba(43, 93, 209, 0.25);
}

.savings__band--peak {
  background: rgba(224, 138, 42, 0.12);
}
.savings__band--peak .savings__band-title {
  color: var(--peak);
}
.savings__band--peak .savings__band-icon {
  color: var(--peak);
  background: rgba(224, 138, 42, 0.06);
  border-color: rgba(224, 138, 42, 0.3);
}

.savings__band--savings {
  background: rgba(42, 168, 114, 0.12);
}
.savings__band--savings .savings__band-title {
  color: var(--save);
}
.savings__band--savings .savings__band-icon {
  color: var(--save);
  background: rgba(42, 168, 114, 0.06);
  border-color: rgba(42, 168, 114, 0.3);
}

/* Home image — figure wraps bands + image as one unit */
.savings__figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hairline);
}

.savings__image {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom cards */
.savings__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.5vw, 20px);
}

.savings__card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 6px 20px rgba(19, 34, 59, 0.04);
}

.savings__card-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: rgba(43, 93, 209, 0.08);
}

.savings__card-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.savings__card-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
}

@media (max-width: 860px) {
  .savings__steps {
    grid-template-columns: 1fr;
  }
  .savings__step-arrow {
    display: none;
  }
  .savings__bands {
    grid-template-columns: 1fr;
  }
  .savings__cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- How It Works ---------- */
.how {
  background: var(--bg);
  padding: clamp(72px, 9vw, 120px) 24px;
}

.how__inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.how__eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.how__title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.how__image-wrap {
  max-width: 800px;
  margin: clamp(24px, 4vw, 48px) auto 0;
}

.how__image {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Your Savings (updated) ---------- */
.savings__eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Timeline */
.savings__timeline {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.savings__bar {
  display: flex;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  gap: 3px;
  margin-bottom: 10px;
}

.savings__segment {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.savings__segment-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.savings__timeline.is-visible .savings__segment-fill {
  transform: scaleX(1);
}

.savings__segment-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.01em;
  opacity: 0;
  transition: opacity 0.5s ease 1s;
}

.savings__timeline.is-visible .savings__segment-label {
  opacity: 1;
}

.savings__segment--offpeak {
  background: rgba(107, 170, 62, 0.15);
}
.savings__segment--offpeak .savings__segment-fill {
  background: linear-gradient(135deg, #8cc63f, #6baa3e);
}

.savings__segment--onpeak {
  background: rgba(230, 90, 70, 0.15);
}
.savings__segment--onpeak .savings__segment-fill {
  background: linear-gradient(135deg, #e8644a, #d94a3a);
}

/* Time labels */
.savings__labels {
  position: relative;
  height: 22px;
  margin-bottom: 8px;
}

.savings__label {
  position: absolute;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
  white-space: nowrap;
}

.savings__label:first-child {
  transform: translateX(0);
}

.savings__label:last-child {
  transform: translateX(-100%);
}

/* Battery helps here — aligned under peak segment */
.savings__helper {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: fit-content;
  /* Peak center = 12 + 2.5 = 14.5 out of 24 = 60.4% */
  margin: 0;
  position: relative;
  left: 60.4%;
  transform: translateX(-50%);
}

.savings__helper-line {
  width: 36px;
  height: 1px;
  border-top: 2px dashed rgba(43, 93, 209, 0.3);
}

.savings__helper-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 600px) {
  .savings__bar {
    height: 48px;
  }
  .savings__segment-label {
    font-size: 9px;
    gap: 3px;
    letter-spacing: -0.02em;
  }
  .savings__segment-label--peak {
    font-size: 8.5px;
  }
  .savings__segment-label svg {
    width: 10px;
    height: 10px;
  }
  .savings__segment--offpeak:last-child .savings__segment-label svg {
    display: none;
  }
  .savings__helper-text {
    font-size: 11px;
  }
  .savings__helper-line {
    width: 24px;
  }
  .savings__helper {
    gap: 6px;
  }
}

/* Result card */
.savings__result {
  text-align: center;
  padding: clamp(28px, 3.5vw, 36px);
  border-radius: 20px;
  background: rgba(42, 168, 114, 0.06);
  border: 1px solid rgba(42, 168, 114, 0.15);
}

.savings__result-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2aa872;
}

.savings__result-value {
  margin: 0 0 8px;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.savings__result-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-mute);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .savings__legend {
    grid-template-columns: 1fr;
  }
  .savings__legend-tag {
    margin-left: auto;
  }
  .savings__bar {
    height: 40px;
  }
  .savings__label--hide-mobile {
    display: none;
  }
}

/* ---------- Why a Home Battery ---------- */
.why {
  background: linear-gradient(180deg, #f7f8fb 0%, var(--bg) 100%);
  padding: clamp(72px, 9vw, 120px) 24px;
}

.why__inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.why__eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.why__title {
  margin: 0 0 clamp(40px, 5vw, 60px);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.why__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(48px, 6vw, 72px);
}

.why__stat {
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2vw, 28px);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(19, 34, 59, 0.05);
}

.why__stat-value {
  margin: 0 0 8px;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1;
}

.why__stat-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-dim);
}

.why__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 20px);
  text-align: left;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.why__feature {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: clamp(24px, 2.5vw, 32px);
  box-shadow: 0 4px 16px rgba(19, 34, 59, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.why__feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(19, 34, 59, 0.1);
}

.why__feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(43, 93, 209, 0.08);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why__feature-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.why__feature-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-dim);
}

.why__cta {
  text-align: center;
}

.btn--lg {
  --pad-y: 16px;
  --pad-x: 32px;
  font-size: 16px;
  border-radius: 14px;
}

@media (max-width: 700px) {
  .why__stats {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto clamp(40px, 5vw, 56px);
  }
  .why__features {
    grid-template-columns: 1fr;
  }
}

/* ---------- Trust Banner (legacy, replaced by hero__banner) ---------- */

/* ---------- Battery ---------- */
.battery {
  background: #f7f8fb;
  padding: clamp(72px, 9vw, 120px) 24px;
}

.battery__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.battery__diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  margin: clamp(24px, 4vw, 40px) 0;
  max-width: 700px;
  width: 100%;
}

.battery__image-wrap {
  display: flex;
  justify-content: center;
}

.battery__image {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
}

.battery__content {
  max-width: 520px;
}

.battery__callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.battery__callout-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.battery__callout-icon--blue {
  border: 1.5px solid #2b5dd1;
  color: #2b5dd1;
}

.battery__callout-icon--orange {
  border: 1.5px solid #e08a2a;
  color: #e08a2a;
}

.battery__callout-icon--green {
  border: 1.5px solid #2aa872;
  color: #2aa872;
}

.battery__callout-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.battery__callout-sub {
  margin: 0;
  font-size: 11px;
  color: var(--ink-mute);
}

.battery__arrow {
  margin: 6px 0;
}

.battery__callout--left {
  justify-self: end;
}

.battery__callout--left .battery__arrow {
  align-self: flex-end;
}

.battery__callout-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 48px);
  justify-self: start;
}

.battery__callout--right .battery__arrow {
  align-self: flex-start;
}

.battery__title {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.battery__sub {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-dim);
}

/* Cycle animation */
.battery__callout {
  opacity: 0.35;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(0.95);
}

.battery__callout.is-active {
  opacity: 1;
  transform: scale(1);
}

.battery__callout .battery__arrow line {
  stroke-dashoffset: 60;
  transition: stroke-dashoffset 0.8s ease;
}

.battery__callout.is-active .battery__arrow line {
  stroke-dashoffset: 0;
}

.battery__image-wrap {
  transition: filter 0.6s ease;
}

.battery__cta {
  justify-content: center;
}

@media (max-width: 700px) {
  .battery__image {
    max-width: 160px;
  }
  .battery__callout-icon {
    width: 40px;
    height: 40px;
  }
  .battery__callout-icon svg {
    width: 20px;
    height: 20px;
  }
  .battery__arrow {
    width: 40px;
  }
  .battery__cta {
    width: 100%;
  }
}

/* ---------- Grid Relief ---------- */
.grid-relief {
  padding: clamp(88px, 14vw, 160px) 24px;
  background: url('assets/grid-bg.png') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

@media (min-width: 600px) {
  .grid-relief {
    background: linear-gradient(180deg, #f7f8fb 0%, #eef2f7 100%);
  }
}

.grid-relief::before,
.grid-relief::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
  z-index: 1;
}

.grid-relief::before {
  top: 0;
  background: linear-gradient(to bottom, #f7f8fb, transparent);
}

.grid-relief::after {
  bottom: 0;
  background: linear-gradient(to top, #fff, transparent);
}

.grid-relief__inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.grid-relief__header {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.grid-relief__eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.grid-relief__title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.grid-relief__sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-dim);
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 auto;
}

.grid-relief__cards {
  display: flex;
  gap: clamp(16px, 2.5vw, 28px);
  justify-content: center;
}

.grid-relief__card {
  flex: 1;
  max-width: 300px;
  background: #fff;
  border: 1px solid rgba(19, 34, 59, 0.06);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  text-align: center;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.grid-relief__card:hover {
  box-shadow: 0 8px 32px rgba(19, 34, 59, 0.08);
  border-color: rgba(19, 34, 59, 0.1);
}

.grid-relief.is-visible .grid-relief__card[data-relief="1"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.1s;
}

.grid-relief.is-visible .grid-relief__card[data-relief="2"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.25s;
}

.grid-relief.is-visible .grid-relief__card[data-relief="3"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.4s;
}

.grid-relief__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.grid-relief__icon--amber {
  background: linear-gradient(135deg, #fef3e2, #fde6c4);
  color: #d97706;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12);
}

.grid-relief__icon--green {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.12);
}

.grid-relief__icon--teal {
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  color: #00796b;
  box-shadow: 0 4px 12px rgba(0, 121, 107, 0.12);
}

.grid-relief__card-title {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.grid-relief__card-sub {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--ink-dim);
  line-height: 1.55;
}

@media (max-width: 600px) {
  .grid-relief__cards {
    gap: 10px;
  }

  .grid-relief__card {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .grid-relief__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .grid-relief__icon svg {
    width: 22px;
    height: 22px;
  }

  .grid-relief__card-title {
    font-size: 13.5px;
  }

  .grid-relief__card-sub {
    font-size: 11.5px;
    line-height: 1.45;
  }
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: clamp(64px, 9vw, 104px) 24px;
  background: #fff;
}

.testimonials__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.testimonials__eyebrow {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.testimonials__title {
  text-align: center;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.testimonials__card {
  background: #f7f8fb;
  border: 1px solid rgba(19, 34, 59, 0.05);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonials__card:hover {
  box-shadow: 0 8px 32px rgba(19, 34, 59, 0.08);
  border-color: rgba(19, 34, 59, 0.1);
}

.testimonials__stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}

.testimonials__quote {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--ink);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.testimonials__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(19, 34, 59, 0.06);
}

.testimonials__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.testimonials__location {
  font-size: 12.5px;
  color: var(--ink-dim);
}

@media (max-width: 700px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 16px;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials__card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* ---------- Partners (marquee) ---------- */
.partners {
  padding: clamp(48px, 7vw, 72px) 0;
  background: #fff;
  border-top: 1px solid var(--hairline);
  overflow: hidden;
}

.partners__label {
  margin: 0 0 clamp(24px, 4vw, 40px);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0 24px;
}

.partners__track {
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners__scroll {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  width: max-content;
  animation: marquee 28s linear infinite;
}

.partners__scroll:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: var(--bg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
  min-width: 260px;
}

.partners__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(19, 34, 59, 0.12);
}

.partners__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partners__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.partners__full {
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-mute);
  max-width: 18ch;
}

.partners__item .partners__name + .partners__full {
  margin-left: auto;
}

/* Stack name + full inside a column next to icon */
.partners__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
}

.partners__icon { grid-row: 1 / 3; }
.partners__name { grid-column: 2; align-self: end; }
.partners__full { grid-column: 2; align-self: start; }

/* --- Brand colors --- */
/* LADWP – navy blue #004B87 */
.partners__item--ladwp {
  border-color: rgba(0, 75, 135, 0.15);
}
.partners__item--ladwp:hover {
  border-color: rgba(0, 75, 135, 0.35);
  box-shadow: 0 8px 24px -8px rgba(0, 75, 135, 0.15);
}
.partners__item--ladwp .partners__icon {
  background: rgba(0, 75, 135, 0.08);
  color: #004B87;
}
.partners__item--ladwp .partners__name {
  color: #004B87;
}

/* SCE – deep blue #204D74 + gold accent */
.partners__item--sce {
  border-color: rgba(254, 209, 65, 0.3);
}
.partners__item--sce:hover {
  border-color: rgba(254, 209, 65, 0.6);
  box-shadow: 0 8px 24px -8px rgba(32, 77, 116, 0.15);
}
.partners__item--sce .partners__icon {
  background: rgba(254, 209, 65, 0.15);
  color: #204D74;
}
.partners__item--sce .partners__name {
  color: #204D74;
}

/* PG&E – blue #0089C4 + orange #FFA100 */
.partners__item--pge {
  border-color: rgba(0, 137, 196, 0.15);
}
.partners__item--pge:hover {
  border-color: rgba(0, 137, 196, 0.35);
  box-shadow: 0 8px 24px -8px rgba(0, 137, 196, 0.15);
}
.partners__item--pge .partners__icon {
  background: rgba(255, 161, 0, 0.1);
  color: #0089C4;
}
.partners__item--pge .partners__name {
  color: #0089C4;
}

/* SDG&E – deep blue #001689 + green #007A53 */
.partners__item--sdge {
  border-color: rgba(0, 22, 137, 0.12);
}
.partners__item--sdge:hover {
  border-color: rgba(0, 22, 137, 0.3);
  box-shadow: 0 8px 24px -8px rgba(0, 22, 137, 0.15);
}
.partners__item--sdge .partners__icon {
  background: rgba(0, 122, 83, 0.08);
  color: #001689;
}
.partners__item--sdge .partners__name {
  color: #001689;
}

@media (prefers-reduced-motion: reduce) {
  .partners__scroll {
    animation: none;
  }
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(72px, 10vw, 120px) 24px;
  background:
    radial-gradient(ellipse 900px 500px at 20% 0%, rgba(43, 93, 209, 0.07), transparent 60%),
    radial-gradient(ellipse 700px 400px at 80% 100%, rgba(42, 168, 114, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #f0f2f8 50%, var(--bg) 100%);
  position: relative;
}

.contact__inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact__header {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.contact__title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.contact__sub {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-dim);
  line-height: 1.6;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border: 1px solid rgba(19, 34, 59, 0.08);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow:
    0 1px 2px rgba(19, 34, 59, 0.04),
    0 8px 24px -4px rgba(19, 34, 59, 0.08),
    0 40px 80px -24px rgba(19, 34, 59, 0.12);
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.contact__input {
  width: 100%;
  height: 50px;
  border: 1.5px solid rgba(19, 34, 59, 0.1);
  border-radius: 14px;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: rgba(19, 34, 59, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact__input::placeholder {
  color: rgba(19, 34, 59, 0.3);
}

.contact__input:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(43, 93, 209, 0.1);
}

.contact__textarea {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
  min-height: 130px;
  line-height: 1.5;
}

.contact__submit {
  align-self: flex-start;
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
  gap: 10px;
}

.contact__submit .btn__icon {
  transition: transform 0.2s ease;
}

.contact__submit:hover .btn__icon {
  transform: translateX(3px);
}

@media (max-width: 540px) {
  .contact__row {
    grid-template-columns: 1fr;
  }
  .contact__submit {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--hairline);
}

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.footer__copy {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--ink-mute);
}

.footer__note {
  margin: 0;
  font-size: 12px;
  color: rgba(19, 34, 59, 0.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 599px) {
  .nav__links {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 120px 20px 60px;
  }
  .btn {
    --pad-x: 22px;
  }
  .nav__actions .nav__signin {
    display: none;
  }
}

/* =======================================================================
   Calc / Lead form section
   ======================================================================= */
.calc {
  --calc-green: #18a266;
  --calc-green-soft: #e6f4ec;
  --calc-amber: #e08a2a;
  --calc-amber-soft: #fdf1de;
  --calc-icon-bg: #eef2fb;
  --calc-icon-ink: #2b5dd1;
  --calc-tint: #faf2eb;
  --calc-card: #ffffff;
  --calc-radius: 16px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--calc-tint) 100%);
  padding: clamp(64px, 9vw, 110px) 24px clamp(72px, 10vw, 120px);
}

.calc__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.calc__header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.calc__title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--ink);
}

.calc__sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  color: var(--ink-dim);
}

/* Panel */
.calc__panel {
  background: var(--calc-card);
  border: 1px solid var(--hairline);
  border-radius: var(--calc-radius);
  box-shadow: 0 24px 60px -32px rgba(19, 34, 59, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  padding: clamp(24px, 3.4vw, 36px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}

/* Form column */
.calc__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc__form-header h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.calc__form-header p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-mute);
}

.calc__field {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.calc__field-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--calc-icon-bg);
  color: var(--calc-icon-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 22px;
}

.calc__field-body {
  min-width: 0;
}

.calc__label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.calc__input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.calc__input::placeholder {
  color: rgba(19, 34, 59, 0.45);
}
.calc__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(43, 93, 209, 0.15);
}

/* $ prefix input */
.calc__input-prefix {
  position: relative;
}
.calc__input-prefix .calc__input {
  padding-left: 32px;
}
.calc__prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mute);
  font-size: 14px;
  pointer-events: none;
}

/* Select with custom caret */
.calc__select {
  position: relative;
}
.calc__select .calc__input {
  padding-right: 36px;
  cursor: pointer;
}
.calc__caret {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mute);
  pointer-events: none;
  display: inline-flex;
}

/* Radio buttons (Yes/No cards) */
.calc__radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.calc__radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.calc__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.calc__radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(19, 34, 59, 0.35);
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}
.calc__radio:hover {
  border-color: rgba(43, 93, 209, 0.4);
}
.calc__radio:has(input:checked) {
  border-color: var(--brand);
  background: rgba(43, 93, 209, 0.05);
}
.calc__radio:has(input:checked) .calc__radio-dot {
  border-color: var(--brand);
}
.calc__radio:has(input:checked) .calc__radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand);
}

/* Submit */
.calc__submit {
  width: 100%;
  height: 50px;
  justify-content: center;
  margin-top: 4px;
  font-size: 15px;
  gap: 10px;
}
.calc__submit .btn__icon {
  transition: transform 0.2s ease;
}
.calc__submit:hover .btn__icon {
  transform: translateX(3px);
}

.calc__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.calc__secure svg {
  color: var(--ink-mute);
}

/* Result column */
.calc__result {
  background: var(--calc-green-soft);
  border-radius: 12px;
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  align-self: start;
}

.calc__result-eyebrow {
  text-align: center;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--calc-green);
  letter-spacing: 0;
}

.calc__amount {
  text-align: center;
  margin: 0 0 8px;
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--calc-green);
  line-height: 1;
}
.calc__amount-unit {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--calc-green);
  margin-left: 2px;
}

.calc__result-sub {
  text-align: center;
  margin: 0 0 20px;
  font-size: 13.5px;
  color: var(--ink-mute);
}

.calc__divider {
  border: 0;
  border-top: 1px solid rgba(24, 162, 102, 0.25);
  margin: 4px 0 22px;
}

.calc__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc__benefit {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.calc__benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.calc__benefit-icon--green {
  background: #d4ecdc;
  color: var(--calc-green);
}
.calc__benefit-icon--amber {
  background: var(--calc-amber-soft);
  color: var(--calc-amber);
}

.calc__benefit h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.calc__benefit p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-mute);
}

/* Assurance footer */
.calc__assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(28px, 3.5vw, 40px) auto 0;
  font-size: 14px;
  color: var(--ink-dim);
}
.calc__assurance strong {
  color: var(--ink);
  font-weight: 600;
}
.calc__assurance-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--calc-icon-bg);
  color: var(--calc-icon-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 880px) {
  .calc__panel {
    grid-template-columns: 1fr;
  }
  .calc__result {
    order: -1;
  }
}

@media (max-width: 540px) {
  .calc {
    padding: 56px 16px 64px;
  }
  .calc__panel {
    padding: 22px 18px;
  }
  .calc__field {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }
  .calc__field-icon {
    width: 36px;
    height: 36px;
  }
  .calc__assurance {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* =======================================================================
   Qualify flow (multi-step form)
   ======================================================================= */
.qualify-body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(43, 93, 209, 0.08), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(224, 138, 42, 0.07), transparent 60%),
    var(--bg);
  overflow: hidden;
  height: 100vh;
  height: 100svh;
}

.qualify {
  height: calc(100vh - 72px);
  height: calc(100svh - 72px);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.qualify__shell {
  width: 100%;
  max-width: 620px;
}

.qualify__card {
  background: #fff;
  border: 1px solid rgba(19, 34, 59, 0.08);
  border-radius: 24px;
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 48px);
  box-shadow:
    0 1px 2px rgba(19, 34, 59, 0.06),
    0 8px 24px -4px rgba(19, 34, 59, 0.1),
    0 40px 80px -20px rgba(19, 34, 59, 0.16);
}

/* Progress */
.qualify__progress {
  height: 5px;
  width: 100%;
  background: rgba(19, 34, 59, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.qualify__progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--brand), #6b9cff);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.qualify__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 clamp(18px, 2vw, 24px);
  min-height: 28px;
}

.qualify__back {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: var(--ink-mute);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 4px 0;
  margin-left: -8px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  visibility: hidden;
}
.qualify__back:hover {
  color: var(--ink);
  background: rgba(19, 34, 59, 0.05);
}

.qualify__counter {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Form & steps */
.qualify__form {
  position: relative;
}

.qualify__step {
  display: none;
  animation: qualifyFadeIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.qualify__step.is-active {
  display: block;
}

@keyframes qualifyFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qualify__eyebrow {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qualify__question {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

.qualify__hint {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.qualify__hint--lg {
  font-size: 16px;
  max-width: 44ch;
}

.qualify__input {
  width: 100%;
  height: 56px;
  border: 1.5px solid rgba(19, 34, 59, 0.14);
  border-radius: 14px;
  padding: 0 18px;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: rgba(19, 34, 59, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.qualify__input::placeholder {
  color: rgba(19, 34, 59, 0.35);
}
.qualify__input:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(43, 93, 209, 0.12);
}
.qualify__input.has-error {
  border-color: #d94a4a;
}
.qualify__input.has-error:focus {
  box-shadow: 0 0 0 4px rgba(217, 74, 74, 0.15);
}

.qualify__input-prefix {
  position: relative;
}
.qualify__input-prefix .qualify__input--prefixed {
  padding-left: 36px;
}
.qualify__prefix {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mute);
  font-size: 17px;
  pointer-events: none;
  font-weight: 500;
}

.qualify__error {
  margin: 10px 0 0;
  min-height: 18px;
  font-size: 13px;
  color: #d94a4a;
  line-height: 1.3;
}

.qualify__next,
.qualify__submit {
  width: 100%;
  height: 56px;
  margin-top: 18px;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  border-radius: 14px;
}
.qualify__next .btn__icon,
.qualify__submit .btn__icon {
  transition: transform 0.2s ease;
}
.qualify__next:hover:not(:disabled) .btn__icon,
.qualify__submit:hover:not(:disabled) .btn__icon {
  transform: translateX(3px);
}

/* Done state */
.qualify__step--done {
  text-align: center;
  padding: 10px 0;
}
.qualify__success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(42, 168, 114, 0.12);
  color: #199b66;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: qualifyPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.qualify__step--done .qualify__question {
  margin-bottom: 14px;
}
.qualify__step--done .qualify__hint {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}
.qualify__step--done .btn {
  display: inline-flex;
}

@keyframes qualifyPop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* Secure footer */
.qualify__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: clamp(20px, 3vw, 28px) 0 0;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.qualify__secure svg {
  color: var(--ink-mute);
}

/* Mobile */
@media (max-width: 540px) {
  .qualify {
    padding: 0 16px;
  }
  .qualify__card {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .qualify__input {
    height: 54px;
    font-size: 16px;
  }
  .qualify__next,
  .qualify__submit {
    height: 54px;
  }
}

/* ---------- Nav Phone ---------- */
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.nav__phone:hover {
  background: rgba(19, 34, 59, 0.05);
  color: var(--brand);
}

.nav__phone svg {
  flex-shrink: 0;
}

/* ---------- Hero Trust Strip ---------- */
.hero__strip {
  margin-top: clamp(16px, 2.5vw, 28px);
}

.hero__strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 4px;
  background: rgba(19, 34, 59, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 22px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.hero__strip-item {
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__strip-dot {
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  line-height: 1;
}

.hero__strip-warranty {
  margin: 0;
  text-align: center;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.01em;
}

@media (max-width: 599px) {
  .hero__strip {
    margin-top: 16px;
  }

  .hero__strip-row {
    background: var(--ink);
    padding: 10px 14px;
    gap: 3px;
    border-radius: 10px;
  }

  .hero__strip-item {
    font-size: 10.5px;
    letter-spacing: 0.03em;
  }

  .hero__strip-dot {
    font-size: 14px;
  }

  .hero__strip-warranty {
    color: var(--ink-dim);
    font-size: 12px;
    margin-top: 6px;
  }
}

@media (min-width: 600px) {
  .hero__strip-warranty {
    color: rgba(255, 255, 255, 0.65);
  }
}

/* ---------- Before vs After ---------- */
.compare {
  padding: clamp(72px, 9vw, 120px) 24px;
  background: linear-gradient(180deg, var(--bg) 0%, #f7f8fb 50%, var(--bg) 100%);
}

.compare__inner {
  max-width: 800px;
  margin: 0 auto;
}

.compare__header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.compare__eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.compare__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.compare__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(32px, 4vw, 48px);
}

.compare__card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
  border: 2px solid;
}

.compare__card--before {
  background: #fef7f5;
  border-color: rgba(217, 74, 58, 0.18);
}

.compare__card--after {
  background: #f0faf4;
  border-color: rgba(42, 168, 114, 0.22);
}

.compare__badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.compare__badge--before {
  background: rgba(217, 74, 58, 0.1);
  color: #b93a2b;
}

.compare__badge--after {
  background: rgba(42, 168, 114, 0.12);
  color: #1a8a5c;
}

.compare__amount {
  margin: 0 0 6px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.compare__amount--before {
  color: #b93a2b;
}

.compare__amount--after {
  color: #1a8a5c;
}

.compare__period {
  font-size: 0.42em;
  font-weight: 600;
  opacity: 0.7;
}

.compare__trend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600;
  line-height: 1.4;
}

.compare__trend--before {
  color: #b93a2b;
}

.compare__trend--after {
  color: #1a8a5c;
}

.compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare__list li {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--ink-dim);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.compare__card--before .compare__list li::before {
  content: "\00d7";
  position: absolute;
  left: 0;
  color: #b93a2b;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.compare__card--after .compare__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #1a8a5c;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}

.compare__cta {
  text-align: center;
}

@media (max-width: 600px) {
  .compare__cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer (updated) ---------- */
.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer__name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.footer__tagline {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--ink-mute);
}

.footer__contact-info {
  text-align: right;
}

.footer__phone {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.footer__phone:hover {
  color: var(--brand-hover);
}

.footer__cslb {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-mute);
}

.footer__trust-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 20px;
}

.footer__trust-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  transition: color 0.2s ease;
}

.footer__trust-links a:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

.footer__bottom {
  text-align: center;
}

@media (max-width: 600px) {
  .footer__main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__contact-info {
    text-align: center;
  }

  .footer__trust-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
  }
}

/* ---------- Hero Bottom Banner ---------- */
.hero__banner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: clamp(20px, 3vw, 32px) 24px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6) 40%, #ffffff);
  margin-top: auto;
}

.hero__banner-text {
  margin: 0;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--ink-dim);
  letter-spacing: 0.01em;
}

.hero__banner-number {
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 599px) {
  .hero__banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px 20px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.85) 50%, #ffffff);
  }
}

@media (min-width: 600px) {
  .hero__banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px 28px;
    background: linear-gradient(to bottom, transparent, rgba(247, 248, 251, 0.7) 40%, #f7f8fb);
  }

  .hero__banner-text {
    color: rgba(19, 34, 59, 0.6);
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.3);
  }

  .hero__banner-number {
    color: var(--ink);
  }
}

/* ---------- Why Bills Keep Rising ---------- */
.rising {
  padding: clamp(64px, 9vw, 104px) 24px;
  background: linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
}

.rising__inner {
  max-width: 880px;
  margin: 0 auto;
}

.rising__header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.rising__eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b93a2b;
}

.rising__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.rising__sub {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
}

.rising__chains {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(28px, 3vw, 40px);
}

.rising__chain {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 20px);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 24px) clamp(18px, 2.5vw, 28px);
  box-shadow: 0 4px 16px rgba(19, 34, 59, 0.04);
}

.rising__chain-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rising__chain-icon--red {
  background: linear-gradient(135deg, #fef2f2, #fde2e2);
  color: #b93a2b;
  box-shadow: 0 4px 12px rgba(185, 58, 43, 0.1);
}

.rising__chain-icon--amber {
  background: linear-gradient(135deg, #fef8ee, #fdf0d5);
  color: #92600a;
  box-shadow: 0 4px 12px rgba(146, 96, 10, 0.1);
}

.rising__chain-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.rising__chain-step {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600;
  color: var(--ink);
  background: rgba(19, 34, 59, 0.04);
  padding: 6px 14px;
  border-radius: 8px;
  line-height: 1.4;
}

.rising__chain-step--you {
  background: rgba(185, 58, 43, 0.08);
  color: #b93a2b;
}

.rising__chain-step--you strong {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.rising__chain-arrow {
  color: var(--ink-mute);
  display: inline-flex;
  flex-shrink: 0;
}

.rising__note {
  margin: 0;
  text-align: center;
  font-size: clamp(13px, 1.1vw, 14.5px);
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 64ch;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .rising__chain {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: clamp(20px, 4vw, 28px);
  }

  .rising__chain-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  .rising__chain-icon svg {
    width: 20px;
    height: 20px;
  }

  .rising__chain-flow {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .rising__chain-step {
    font-size: 14px;
    padding: 10px 16px;
    width: 100%;
    text-align: left;
  }

  .rising__chain-arrow {
    padding: 4px 0 4px 8px;
    transform: rotate(90deg);
  }

  .rising__chain-arrow svg {
    width: 16px;
    height: 16px;
  }

  .rising__chain-step--you {
    margin-top: 2px;
  }
}

/* ---------- How It's Funded ---------- */
.funded {
  padding: clamp(72px, 9vw, 120px) 24px;
  background: #fff;
}

.funded__inner {
  max-width: 960px;
  margin: 0 auto;
}

.funded__header {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.funded__eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.funded__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.funded__sub {
  margin: 0 auto;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 58ch;
}

.funded__sources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.funded__source {
  background: #f7f8fb;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: clamp(24px, 2.5vw, 32px);
  text-align: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.funded__source:hover {
  box-shadow: 0 8px 28px rgba(19, 34, 59, 0.08);
  border-color: rgba(19, 34, 59, 0.1);
}

.funded__source-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.funded__source-icon--blue {
  background: linear-gradient(135deg, rgba(43, 93, 209, 0.12), rgba(43, 93, 209, 0.04));
  color: var(--brand);
  box-shadow: 0 4px 12px rgba(43, 93, 209, 0.1);
}

.funded__source-icon--green {
  background: linear-gradient(135deg, rgba(42, 168, 114, 0.12), rgba(42, 168, 114, 0.04));
  color: #1a8a5c;
  box-shadow: 0 4px 12px rgba(42, 168, 114, 0.1);
}

.funded__source-icon--amber {
  background: linear-gradient(135deg, rgba(224, 138, 42, 0.12), rgba(224, 138, 42, 0.04));
  color: #b07318;
  box-shadow: 0 4px 12px rgba(224, 138, 42, 0.1);
}

.funded__source-title {
  margin: 0 0 8px;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.funded__source-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.55;
}

.funded__benefits {
  background: rgba(42, 168, 114, 0.05);
  border: 1px solid rgba(42, 168, 114, 0.12);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 40px);
  margin-bottom: clamp(24px, 3vw, 32px);
}

.funded__benefits-title {
  margin: 0 0 clamp(18px, 2vw, 24px);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.01em;
}

.funded__benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}

.funded__benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(14px, 1.2vw, 15.5px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.funded__benefit svg {
  flex-shrink: 0;
  color: #1a8a5c;
}

.funded__verify {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13.5px;
}

.funded__verify-label {
  font-weight: 600;
  color: var(--ink-mute);
}

.funded__verify a {
  font-weight: 500;
  color: var(--brand);
  transition: color 0.2s ease;
}

.funded__verify a:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .funded__sources {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .funded__benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer Disclaimer ---------- */
.footer__disclaimer {
  margin: 0 0 16px;
  font-size: 11.5px;
  color: rgba(19, 34, 59, 0.4);
  line-height: 1.55;
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
