/* Power Texas Homepage */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #fff; color: var(--fg-default); font-family: var(--font-sans); }

a { text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-muted);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-left { display: flex; align-items: center; gap: 18px; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  font: 600 13px var(--font-sans);
  color: var(--fg-default);
  background: #fff;
  transition: all 120ms var(--ease-standard);
}
.menu-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.nav-logo img { height: 26px; display: block; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-link {
  font: 600 13px var(--font-sans);
  color: var(--fg-default);
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--color-primary); }

/* Slide-down menu panel — replaced by drawer below; kept legacy class names harmless */
.menu-panel { display: none; }

/* Drawer menu — single column, navy, chevron rows + CTA */
.menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 90;
  animation: menuFade 200ms ease-out;
}
@keyframes menuFade { from { opacity: 0; } to { opacity: 1; } }
.menu-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  width: 320px;
  max-width: 90vw;
  height: calc(100vh - 64px);
  background: #0f1f3d;
  color: #fff;
  z-index: 100;
  transform: translateX(-110%);
  transition: transform 280ms var(--ease-standard);
  display: flex;
  flex-direction: column;
  padding: 8px 0 24px 18px;
  box-shadow: 4px 0 24px rgba(0,0,0,0.18);
  overflow: hidden;
}
.menu-drawer.open { transform: translateX(0); }

/* Sliding pane stack — main + submenu side by side */
.menu-stack {
  position: relative;
  width: 200%;
  height: 100%;
  display: flex;
  transition: transform 280ms var(--ease-standard);
  margin-right: -18px; /* extend past drawer right padding so sub-pane lines up */
}
.menu-stack.show-sub { transform: translateX(-50%); }
.menu-pane {
  width: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-right: 18px; /* per-pane right padding instead of drawer-level */
}
/* Hide inactive pane from layout/interaction so its sliver doesn't leak */
.menu-stack:not(.show-sub) .menu-pane-sub { visibility: hidden; pointer-events: none; }
.menu-stack.show-sub .menu-pane:not(.menu-pane-sub) { visibility: hidden; pointer-events: none; }

.menu-back {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: none;
  color: #fff;
  font: 700 14px var(--font-sans);
  padding: 14px 6px;
  margin-bottom: 0;
  cursor: pointer;
  text-align: left;
  align-self: stretch;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  width: 100%;
  justify-content: flex-start;
}
.menu-back:hover { color: var(--color-orange-300); }
.menu-back svg { color: rgba(255,255,255,0.85); }

.menu-pane { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }
.menu-pane::-webkit-scrollbar { width: 4px; }
.menu-pane::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 4px; }
.menu-pane::-webkit-scrollbar-track { background: transparent; }

.menu-list a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-list li + li { border-top: 1px solid rgba(255,255,255,0.12); }
.menu-list a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 18px 6px;
  color: #fff;
  font: 700 15px var(--font-sans);
  text-decoration: none;
  transition: color 150ms ease;
}
.menu-list a:hover { color: var(--color-orange-300); }
.menu-list a svg { color: rgba(255,255,255,0.85); flex-shrink: 0; }

.menu-cta {
  margin-top: 22px;
  background: #e7ecf5;
  color: #0f1f3d;
  border-radius: 10px;
  padding: 18px 16px 16px;
  text-align: center;
}
.menu-cta-title {
  font: 700 15px var(--font-sans);
  margin-bottom: 12px;
  color: #0f1f3d;
}
.menu-cta-btn {
  width: 100%;
  background: #c9253e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font: 700 15px var(--font-sans);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 150ms ease;
}
.menu-cta-btn:hover { background: #b01e34; }
.menu-cta-arrow { font-size: 18px; line-height: 1; }

/* ============================================================
   HERO (navy)
   ============================================================ */
.hero {
  background: var(--color-blue-100);
  color: #fff;
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 85% -10%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(ellipse 600px 300px at 10% 110%, rgba(201,37,62,0.18), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-main { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero h1 {
  font: 700 48px/1.1 var(--font-display);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 14px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--color-orange-300); }
.hero p.sub {
  font: 400 17px/1.5 var(--font-sans);
  color: rgba(255,255,255,0.82);
  margin: 0 auto 28px;
  max-width: 480px;
}

.zip-form {
  display: flex; gap: 8px;
  max-width: 480px; margin: 0 auto;
  background: #fff;
  padding: 6px;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.zip-form .zip-input-wrap {
  flex: 1; position: relative; display: flex; align-items: center;
}
.zip-form .zip-input-wrap svg {
  position: absolute; left: 14px;
  color: var(--color-primary);
  pointer-events: none;
}
.zip-form input {
  flex: 1; width: 100%;
  padding: 14px 14px 14px 44px;
  font: 500 16px var(--font-sans);
  color: var(--fg-default);
  background: transparent;
  border: none;
  outline: none;
}
.zip-form input::placeholder { color: var(--color-gray-300); }
.zip-form button {
  padding: 0 24px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 6px;
  font: 700 14px var(--font-sans);
  letter-spacing: 0.02em;
  transition: background 120ms var(--ease-standard);
  white-space: nowrap;
}
.zip-form button:hover { background: var(--color-red-100); }
.zip-form button:active { transform: scale(0.98); }

.trust-row {
  display: flex; justify-content: center; align-items: center;
  gap: 18px; margin-top: 22px;
  font: 500 13px var(--font-sans);
  color: rgba(255,255,255,0.75);
}
.trust-row .stars { color: var(--color-orange-300); letter-spacing: 2px; }
.trust-row b { color: #fff; font-weight: 700; }
.trust-row .dot { width: 3px; height: 3px; background: rgba(255,255,255,0.4); border-radius: 50%; }

/* ============================================================
   PROVIDER STRIP
   ============================================================ */
.providers {
  background: #fff;
  border-bottom: 1px solid var(--border-muted);
  padding: 32px 0;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}
.providers-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  padding: 0;
  margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .providers-inner {
    animation: ticker-scroll 40s linear infinite;
  }
  .providers-inner:hover {
    animation-play-state: paused;
  }
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}
.prov-logo {
  display: block;
  height: 40px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  margin-right: 4rem;
  transition: opacity 200ms var(--ease-standard);
}
.prov-logo:hover { opacity: 0.75; }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { padding: 80px 0; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-eyebrow {
  font: 700 12px var(--font-sans);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-secondary);
  margin: 0 0 12px;
}
.sec-title {
  font: 700 36px/1.2 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin: 0 0 12px;
  text-wrap: balance;
}
.sec-sub {
  font: 400 16px/1.5 var(--font-sans);
  color: var(--fg-muted);
  margin: 0 auto;
  max-width: 560px;
  text-wrap: balance;
}

/* ============================================================
   PLAN CARDS
   ============================================================ */
.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plans-zip-line {
  text-align: right;
  font: 500 13px var(--font-sans);
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.plans-zip {
  color: var(--color-secondary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex; align-items: center; gap: 4px;
}
.plans-zip svg { stroke: var(--color-secondary); }
.plan {
  background: #fff;
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: all 200ms var(--ease-standard);
}
.plan:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-700);
  transform: translateY(-2px);
}
.plan--popular {
  border: 2px solid var(--color-primary);
  padding: 23px;
}
.plan-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px;
  min-height: 40px;
}
.plan-head-l {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.plan-name {
  font: 600 13px var(--font-sans);
  color: var(--fg-muted);
}
.plan-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font: 700 10px var(--font-sans);
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tag svg { flex-shrink: 0; }
.tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #ff9d3a 0%, #f46a1f 100%);
  flex-shrink: 0;
}
.tag.popular { background: var(--color-primary); color: #fff; }
.tag.green { background: #f3f4f6; color: #374151; }
.tag.green svg { stroke: #374151; }
.tag.rated { background: #f3f4f6; color: #374151; }
.tag.rated svg { stroke: #374151; }

.plan-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
}
.plan-stat { text-align: left; }
.plan-stat .v {
  font: 800 28px/1 var(--font-display);
  color: var(--color-black);
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 4px;
}
.plan-stat .v .unit {
  font: 500 11px var(--font-mono);
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-stat .l {
  font: 500 11px var(--font-sans);
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.plan-cta {
  width: 100%;
  background: var(--color-secondary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font: 700 14px var(--font-sans);
  letter-spacing: 0.02em;
  transition: background 120ms var(--ease-standard);
}
.plan-cta:hover { background: var(--color-red-100); }
.plan-cta:active { transform: scale(0.98); }

.plan-foot {
  font: 500 12px var(--font-sans);
  color: var(--fg-muted);
}
.plan-foot a {
  color: var(--color-secondary);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}
.plan-foot a svg { stroke: var(--color-secondary); }
.plan-foot a:hover { text-decoration: underline; }

.plans-foot-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px;
  font: 500 13px var(--font-sans);
  color: var(--fg-muted);
}
.plans-foot-row--solo { justify-content: center; }
.plans-foot-row--prominent { margin-top: 32px; margin-bottom: 32px; }
.plans-all--prominent {
  font-size: 16px;
  font-weight: 700;
  /* color inherited from .plans-all: var(--color-secondary) */
}
.plans-all--prominent:hover { color: var(--color-red-100); }

.callout--wide,
.callout.callout--wide {
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
}
.plans-all {
  color: var(--color-secondary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   PLAN DETAILS MODAL
   ============================================================ */
.pdm-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  z-index: 1000;
  animation: pdm-fade 160ms var(--ease-standard);
}
@keyframes pdm-fade { from { opacity: 0; } to { opacity: 1; } }
.pdm {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 880px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 32px 36px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.pdm-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; color: var(--fg-muted);
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.pdm-close:hover { background: #f3f4f6; color: var(--color-black); }
.pdm-head h3 { font: 700 22px var(--font-display); color: var(--color-black); margin: 0; letter-spacing: -0.01em; }
.pdm-head p { font: 500 13px var(--font-sans); color: var(--fg-muted); margin: 4px 0 0; }
.pdm-tabs {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 4px;
  margin: 24px 0 24px;
}
.pdm-tabs button {
  font: 600 13px var(--font-sans);
  color: #4b5563;
  padding: 10px 12px;
  border-radius: 6px;
  background: transparent;
  transition: all 150ms var(--ease-standard);
}
.pdm-tabs button.on { background: #fff; color: var(--color-black); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.pdm-body h4 { font: 700 14px var(--font-sans); color: var(--color-black); margin: 0 0 10px; }
.pdm-body h4.mt { margin-top: 18px; }
.pdm-body p { font: 400 13px/1.55 var(--font-sans); color: #4b5563; margin: 0; }
.pdm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.pdm-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.pdm-grid-3 > div { display: flex; flex-direction: column; gap: 10px; }
.pdm-list { list-style: disc; padding-left: 18px; margin: 0; }
.pdm-list li { font: 400 13px/1.7 var(--font-sans); color: #4b5563; }
.pdm-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.pdm-table th { font: 700 12px var(--font-sans); color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-muted); }
.pdm-table td { font: 500 13px var(--font-sans); color: var(--color-black); padding: 14px 12px; border-bottom: 1px solid var(--border-muted); }
.pdm-foot-note { font-size: 11px !important; color: var(--fg-muted) !important; margin-top: 14px !important; }
.pdm-link { color: var(--color-secondary); font: 700 13px var(--font-sans); text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
@media (max-width: 720px) {
  .pdm-grid-2, .pdm-grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .pdm { padding: 24px 20px; }
}
.sec.why { background: var(--color-gray-50); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: all 200ms var(--ease-standard);
}
.why-card:hover { box-shadow: var(--shadow-sm); border-color: var(--color-blue-700); }
.why-icon {
  width: 56px; height: 56px;
  background: var(--color-blue-800);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.why-card h3 {
  font: 700 18px var(--font-display);
  color: var(--color-black);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.why-card p {
  font: 400 14px/1.5 var(--font-sans);
  color: var(--fg-muted);
  margin: 0;
}

.why-rating {
  margin-top: 32px;
  text-align: center;
  font: 500 13px var(--font-sans);
  color: var(--fg-muted);
  display: flex; justify-content: center; align-items: center; gap: 10px;
}
.why-rating b { color: var(--fg-default); font-weight: 700; }
.why-rating .stars { color: var(--color-orange-300); letter-spacing: 2px; }

/* ============================================================
   COMPARE BAND
   ============================================================ */
.compare-band {
  background: var(--color-blue-100);
  color: #fff;
  padding: 36px 0;
}
.compare-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.compare-band h3 {
  font: 600 22px var(--font-display);
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
}
.compare-band h3 b { font-weight: 800; }
.compare-band .btn-compare {
  background: var(--color-secondary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font: 700 14px var(--font-sans);
  letter-spacing: 0.02em;
  transition: background 120ms var(--ease-standard);
}
.compare-band .btn-compare:hover { background: var(--color-red-100); }

/* ============================================================
   ZIP MODAL (Find your energy rates)
   ============================================================ */
.zm-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.55);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: zmFade 180ms ease-out;
}
@keyframes zmFade { from { opacity: 0; } to { opacity: 1; } }
.zm {
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 480px;
  padding: 32px 32px 28px;
  position: relative;
  box-shadow: 0 24px 60px rgba(15,23,42,0.35);
  animation: zmRise 220ms var(--ease-standard);
}
@keyframes zmRise { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.zm-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: none;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #9ca3af; cursor: pointer;
  border-radius: 6px;
  transition: background 150ms ease, color 150ms ease;
}
.zm-close:hover { background: #f3f4f6; color: #475569; }
.zm-title {
  font: 700 22px/1.2 var(--font-display);
  color: var(--color-blue-100);
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.zm-form { display: flex; flex-direction: column; gap: 14px; }
.zm-label {
  font: 600 14px var(--font-sans);
  color: var(--color-blue-100);
}
.zm-req { color: #c9253e; }
.zm-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font: 400 16px var(--font-sans);
  color: var(--color-blue-100);
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.zm-input::placeholder { color: #9ca3af; }
.zm-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(201,37,62,0.15);
}
.zm-cta {
  margin-top: 6px;
  width: 100%;
  background: #c9253e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 18px;
  font: 700 17px var(--font-sans);
  cursor: pointer;
  transition: background 150ms ease;
}
.zm-cta:hover { background: #b01e34; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 820px; margin: 0 auto;
  border-top: 1px solid var(--border-muted);
}
.faq-item {
  border-bottom: 1px solid var(--border-muted);
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px;
  text-align: left;
  font: 600 16px var(--font-sans);
  color: var(--fg-default);
  transition: color 120ms var(--ease-standard);
}
.faq-q:hover { color: var(--color-primary); }
.faq-q .chev {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 200ms var(--ease-standard);
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 320ms var(--ease-standard);
}
.faq-item.open .faq-a { max-height: 280px; }
.faq-a-inner {
  padding: 0 4px 22px;
  font: 400 15px/1.6 var(--font-sans);
  color: var(--fg-muted);
  max-width: 720px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-blue-800);
  color: var(--fg-default);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand img { height: 24px; display: block; margin-bottom: 14px; }
.footer-brand p {
  font: 400 13px/1.55 var(--font-sans);
  color: var(--fg-muted);
  margin: 0;
  max-width: 240px;
}
.footer-col h5 {
  font: 700 11px var(--font-sans);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 12px;
}
.footer-col a {
  display: block; padding: 4px 0;
  font: 500 13px var(--font-sans);
  color: var(--fg-default);
}
.footer-col a:hover { color: var(--color-primary); text-decoration: underline; }

.footer-base {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(25,71,140,0.15);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px; height: 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 120ms var(--ease-standard);
}
.footer-social a:hover { background: var(--color-blue-200); }
.footer-legal {
  font: 400 12px var(--font-sans);
  color: var(--fg-muted);
  display: flex; gap: 16px; flex-wrap: wrap;
}
.footer-legal a { color: var(--fg-muted); }
.footer-legal a:hover { color: var(--color-primary); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .plans-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
  .sec-title { font-size: 28px; }
  .nav-right .nav-link { display: none; }
  .nav-right .nav-link.signin { display: inline; }
}

/* ============================================================
   Responsive utilities
   ============================================================ */
@media (max-width: 768px) {
  .hide-on-mobile { display: none !important; }
}


/* ============================================================
   MOBILE (<= 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Global container padding + headings */
  .container { padding: 0 1rem !important; max-width: 100% !important; }
  .sec-title, h2.sec-title { font-size: 1.5rem !important; }
  body, html { overflow-x: hidden; }

  /* ----- HERO ----- */
  .hero {
    padding: 2.5rem 0 !important;
    overflow-x: hidden !important;
  }
  .hero-inner, .hero .hero-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
  }
  .hero h1, .hero .hero-inner h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(1.25rem, 5.5vw, 1.75rem) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    padding: 0 !important;
    margin: 1rem 0 0.75rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .hero-sub, .hero p { font-size: 1rem !important; }

  /* ZIP form — stack input above button, both full width, 48px tap target */
  .hero form, .zip-form, .hero-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
  }
  .zip-input-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .zip-form input,
  .hero form input,
  .hero-form input {
    width: 100% !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
  }
  .zip-form button,
  .hero form button,
  .hero-form button {
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* ----- WHY POWER TEXAS — eyebrow tighten so it fits one line ----- */
  .why .sec-eyebrow,
  .sec.why .sec-eyebrow,
  .sec.why .sec-head .sec-eyebrow,
  .sec.why p.sec-eyebrow {
    letter-spacing: 0.15em !important;
    font-size: 0.875rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  /* ----- PROVIDER STRIP — hide entirely ----- */
  .providers, .providers-inner { display: none !important; }

  /* ----- PLAN CARDS — horizontal scroll-snap ----- */
  .plans-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1rem !important;
    padding: 0 1rem !important;
    margin: 0 -1rem !important;
    scrollbar-width: none !important;
  }
  .plans-grid::-webkit-scrollbar { display: none !important; }
  .plans-grid > .plan {
    flex: 0 0 88% !important;
    max-width: 340px !important;
    min-width: 0 !important;
    scroll-snap-align: center !important;
    /* ensure full card content (header + stats + cta + foot) renders */
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .plans-grid > .plan .plan-head {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: flex-start !important;
  }
  .plans-grid > .plan .plan-head-l { flex: 1 1 auto; min-width: 0; }
  .plans-grid > .plan .tag { flex-shrink: 0; }

  /* ----- WHY POWER TEXAS — stack with proper gap ----- */
  .why-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .why-grid > * {
    width: 100% !important;
    margin: 0 0 1rem 0 !important;
  }
  .why-grid > *:last-child { margin-bottom: 0 !important; }

  /* ----- FAQ — fix heading overlap ----- */
  .sec.faq, section.faq, .sec:has(.faq-list) { padding-top: 3rem !important; }
  .sec-head { margin-bottom: 1.5rem !important; }
  .sec-head + .faq-list,
  .faq-list { margin-top: 1.5rem !important; }

  /* ----- FOOTER ----- */
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
  }
  .footer-grid > * { width: 100% !important; text-align: left !important; }

  /* ----- EDITORIAL PAGE — single column, generous spacing ----- */
  .ed-body, .ed-heading { padding-left: 1rem !important; padding-right: 1rem !important; }
  .ed-byline { padding-left: 1rem !important; padding-right: 1rem !important; }
  .ed-section { margin-top: 3rem !important; margin-bottom: 3rem !important; }
}

/* ============================================================
   EDITORIAL — content-page primitives (Byline / SectionHeading / EditorialBody)
   ============================================================ */
.ed-byline {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 0 24px;
  text-align: left;
  padding: 0 24px;
  text-align: left;
  font: 400 13px/1.5 var(--font-sans);
  color: var(--fg-muted, #6b7280);
}
.ed-byline-sep { margin: 0 8px; opacity: 0.55; }

.ed-heading {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.ed-heading-title {
  font: 700 32px/1.2 var(--font-display, var(--font-sans));
  color: var(--fg-default, #111827);
  letter-spacing: -0.01em;
  margin: 0;
}
.ed-heading-sub {
  margin: 12px auto 0;
  max-width: 640px;
  font: 400 16px/1.55 var(--font-sans);
  color: var(--fg-muted, #6b7280);
}

.ed-body {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 0 24px;
  font: 400 16px/1.6 var(--font-sans);
  color: #374151;
}
.ed-body .ed-p { margin: 0 0 16px; }
.ed-body .ed-p:last-child { margin-bottom: 0; }
.ed-body .ed-h3 {
  margin: 28px 0 10px;
  font: 700 20px/1.3 var(--font-display, var(--font-sans));
  color: var(--fg-default, #111827);
  letter-spacing: -0.005em;
}
.ed-leadin { color: var(--fg-default, #111827); font-weight: 700; }
.ed-link {
  color: var(--color-primary, #c9253e);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms var(--ease-standard, ease);
}
.ed-link:hover { border-bottom-color: currentColor; text-decoration: none; }

/* ============================================================
   UsageRateTable — compact 3-col reference
   ============================================================ */
.urt-wrap { max-width: 600px; margin: 24px auto 0; padding: 0 24px; }
.urt-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-muted, #e5e7eb);
  border-radius: 10px;
  background: #fff;
}
.urt { width: 100%; min-width: 480px; border-collapse: collapse; font-family: var(--font-sans); }
.urt-th {
  background: #eef2f7;
  color: var(--fg-default, #111827);
  font: 600 12px/1.2 var(--font-sans);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 1px solid #dbe2ec;
  text-align: left;
}
.urt-th-rate { text-align: right; padding-right: 20px; }
.urt-row { border-bottom: 1px solid #e5e7eb; }
.urt-row:last-child { border-bottom: none; }
.urt-td {
  padding: 14px 16px;
  font: 400 14px/1.4 var(--font-sans);
  color: var(--fg-default, #111827);
  vertical-align: middle;
}
.urt-td-rate { text-align: right; padding-right: 20px; font-weight: 600; }
@media (max-width: 768px) {
  .urt-wrap { padding: 0 1rem; }
  .urt-th, .urt-td { padding: 12px 14px; }
}

/* ============================================================
   Houston "Average Electricity Rates in Houston" — mobile-only fit
   Scoped via .is-houston-avg-rates wrapper on the Houston instance.
   Desktop (>768px) is unaffected.
   ============================================================ */
@media (max-width: 768px) {
  /* Defensive: container cannot side-scroll */
  .is-houston-avg-rates .urt-scroll { overflow-x: hidden; }
  /* Drop min-width and switch to fixed layout so column widths apply */
  .is-houston-avg-rates .urt {
    min-width: 0;
    table-layout: fixed;
    width: 100%;
  }
  /* 3-column allocation: 30% / 35% / 35% */
  .is-houston-avg-rates .urt-th-usage,
  .is-houston-avg-rates .urt-td-usage { width: 30%; }
  .is-houston-avg-rates .urt-th-home,
  .is-houston-avg-rates .urt-td-home  { width: 35%; }
  .is-houston-avg-rates .urt-th-rate,
  .is-houston-avg-rates .urt-td-rate  { width: 35%; padding-right: 10px; }
  /* Header cells: allow "AVERAGE RATE (¢/KWH)" to wrap to 2 lines */
  .is-houston-avg-rates .urt-th {
    white-space: normal;
    padding: 12px 10px;
    font-size: 12px;
    line-height: 1.2;
  }
  /* Body cells: compact padding, smaller font, wrap freely */
  .is-houston-avg-rates .urt-td {
    white-space: normal;
    padding: 14px 10px;
    font-size: 14px;
    line-height: 1.4;
  }
  .is-houston-avg-rates .urt-td-rate { padding-right: 10px; }
}

/* ============================================================
   Callout — tip / note / warning
   ============================================================ */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin: 24px auto 0;
  max-width: 720px;
}
.callout-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.callout-body { flex: 1 1 auto; min-width: 0; }
.callout-title {
  font: 700 14px/1.3 var(--font-sans);
  color: var(--fg-default, #111827);
  margin-bottom: 4px;
}
.callout-text {
  margin: 0;
  font: 400 14px/1.6 var(--font-sans);
  color: var(--fg-default, #1f2937);
}
.callout--tip { background: #eff6ff; }
.callout--tip .callout-icon { background: #dbeafe; color: #1d4ed8; }
.callout--note { background: #f4f4f5; border-left: 3px solid var(--color-primary, #19478c); border-top-left-radius: 0; border-bottom-left-radius: 0; }
.callout--note .callout-icon { background: #dbeafe; color: var(--color-primary, #19478c); }
.callout--warning { background: #fefce8; }
.callout--warning .callout-icon { background: #fef9c3; color: #b45309; }

/* Educational variant — light-blue tinted card with navy accent.
   Used by MovingToCitySection's "New to Texas Electricity?" callout. */
.callout--educational {
  background: var(--bg-brand-soft);
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  align-items: flex-start;
  max-width: 880px;
  padding: 1.25rem 1.5rem;
  gap: 14px;
}
.callout--educational .callout-icon {
  background: var(--color-white);
  color: var(--color-primary);
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}
.callout--educational .callout-title {
  color: var(--color-primary);
  font: 700 16px/1.3 var(--font-display, var(--font-sans));
  margin-bottom: 8px;
}
.callout--educational .callout-text {
  color: var(--fg-default);
  font: 400 15px/1.6 var(--font-sans);
}
.callout--educational .callout-text + .callout-text { margin-top: 12px; }

/* StepGuide icon-badge variant: when a step provides an icon, the
   badge swaps from a numbered chip to a navy-on-soft-blue icon chip. */
.sg-badge--icon {
  background: var(--bg-brand-soft);
  color: var(--color-primary);
}
.sg-badge--icon svg { width: 20px; height: 20px; display: block; }

/* MovingToCitySection — explicit white surface, defends against
   adjacent .ed-section--muted gray bleeding via cascade or future edits. */
.mtc-section {
  background: var(--bg-page);
  padding: 56px 0;
}
.mtc-section + .ed-section--muted { margin-top: 0; }
.mtc-intro .ed-body { text-align: center; max-width: 880px; margin: 24px auto 0; padding: 0 24px; }
.mtc-intro .ed-body .ed-p { font-size: 16px; }
.mtc-edu { margin: 32px auto 0; }
.mtc-steps { margin-top: 40px; }

/* Editorial subsections after the StepGuide (e.g. "Transferring Your
   Current Electricity Plan", "Same-Day Electricity"). Reuses .ed-h3 +
   .ed-p typography so they match the rest of the page's body content. */
.mtc-extras {
  max-width: 880px;
  margin: 32px auto 0;
  padding: 0 24px;
  color: var(--fg-default);
}
.mtc-extras .ed-h3 {
  font: 700 20px/1.3 var(--font-display, var(--font-sans));
  color: var(--fg-default);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.mtc-extras .ed-h3 + .ed-p { margin-top: 0; }
.mtc-extras .ed-p {
  margin: 0 0 24px;
  font: 400 16px/1.7 var(--font-sans);
  color: var(--fg-default);
}
.mtc-extra-heading { margin-top: 24px !important; }
.mtc-extras .mtc-extra-heading:first-child { margin-top: 0 !important; }
.mtc-extras .ed-p:last-child { margin-bottom: 32px; }
/* Tip callout nested inside a StepGuide step */
.mtc-step-tip { margin-top: 14px; }
.mtc-step-tip .callout { margin: 0; max-width: none; }

@media (max-width: 768px) {
  .mtc-section { padding: 40px 0; }
  .mtc-intro .ed-body { padding: 0 1rem; }
  .mtc-intro .ed-body .ed-p { font-size: 15px; }
  .callout--educational { margin-left: 1rem; margin-right: 1rem; padding: 1rem 1.15rem; }
  .callout--educational .callout-text { font-size: 14px; }
  .mtc-extras { padding: 0 1rem; margin-top: 28px; }
  .mtc-extras .ed-h3 { font-size: 17px; }
  .mtc-extras .ed-p { font-size: 15px; line-height: 1.6; }
}
@media (max-width: 768px) {
  .callout { margin-left: 1rem; margin-right: 1rem; }
}

.ed-section + .ed-section { margin-top: 56px; }
.ed-section--muted {
  background: #f4f4f5;
  margin: 0;
  padding: 56px 0;
}
.ed-section--muted + .ed-section { margin-top: 56px; }

/* ============================================================
   StepGuide — numbered timeline
   ============================================================ */
.sg {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.sg-head { text-align: center; margin: 0 auto 32px; }
.sg-title {
  font: 700 28px/1.2 var(--font-display, var(--font-sans));
  color: var(--fg-default, #111827);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.sg-intro {
  margin: 0 auto;
  max-width: 720px;
  font: 400 16px/1.6 var(--font-sans);
  color: var(--fg-muted, #6b7280);
}
.sg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  counter-reset: sg-counter;
}
/* Vertical connector line — runs between badges only */
.sg-list::before {
  content: '';
  position: absolute;
  left: 19px;                /* center under 40px badge */
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: #e2e8f0;
  z-index: 0;
}
.sg-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
  position: relative;
  margin-bottom: 24px;
}
.sg-step:last-child { margin-bottom: 0; }
.sg-badge {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--color-primary, #19478c);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 16px/1 var(--font-display, var(--font-sans));
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}
.sg-card {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
}
.sg-step-title {
  margin: 0 0 6px;
  font: 700 17px/1.35 var(--font-display, var(--font-sans));
  color: var(--fg-default, #111827);
  letter-spacing: -0.005em;
}
.sg-step-body {
  margin: 0;
  font: 400 15px/1.6 var(--font-sans);
  color: var(--fg-default, #1f2937);
}
.sg-link {
  color: var(--color-primary, #19478c);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms var(--ease-standard, ease);
}
.sg-link:hover { border-bottom-color: currentColor; text-decoration: none; }

@media (max-width: 768px) {
  .sg { padding: 0 1rem; }
  .sg-step { grid-template-columns: 32px 1fr; gap: 12px; }
  .sg-badge { width: 32px; height: 32px; font-size: 14px; }
  .sg-list::before { left: 15px; top: 16px; bottom: 16px; }
  .sg-card { padding: 1rem; }
  .sg-title { font-size: 22px; }
}


/* ============================================================
   RateComparisonTable
   ============================================================ */
.rct-wrap {
  max-width: 880px;
  margin: 24px auto 0;
  padding: 0 24px;
}
.rct-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-muted, #e5e7eb);
  border-radius: 10px;
  background: #fff;
}
.rct {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-family: var(--font-sans);
}
.rct-th {
  background: #eef2f7;
  color: var(--fg-default, #111827);
  font: 600 13px/1.2 var(--font-sans);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 1px solid #dbe2ec;
}
.rct-th-plan { text-align: left; padding-left: 24px; }
.rct-th-term { text-align: center; width: 18%; }
.rct-th-rate { text-align: right; width: 22%; padding-right: 24px; }
.rct-row { border-bottom: 1px solid #e5e7eb; transition: background 120ms var(--ease-standard, ease); }
.rct-row:last-child { border-bottom: none; }
.rct-row:hover { background: #f9fafb; }
.rct-td { padding: 16px 18px; vertical-align: middle; font-size: 15px; }
.rct-td-plan { padding-left: 24px; }
.rct-td-term { text-align: center; color: var(--fg-default, #111827); font-weight: 500; }
.rct-td-rate { text-align: right; padding-right: 24px; }
.rct-plan-link {
  color: var(--color-primary, #19478c);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms var(--ease-standard, ease);
}
.rct-plan-link:hover { border-bottom-color: currentColor; text-decoration: none; }
.rct-rate {
  font: 700 18px/1 var(--font-display, var(--font-sans));
  color: var(--color-black, #111);
  letter-spacing: -0.01em;
}
.rct-cent { font-size: 14px; margin-left: 1px; font-weight: 700; }

.rct-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  background: #f4f4f5;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.rct-note-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e4e4e7;
  color: var(--color-primary, #19478c);
}
.rct-note-body { flex: 1 1 auto; }
.rct-note-title {
  font: 700 14px/1.2 var(--font-sans);
  color: var(--fg-default, #111827);
  margin-bottom: 4px;
}
.rct-note-text {
  margin: 0;
  font: 400 13px/1.55 var(--font-sans);
  font-style: italic;
  color: var(--fg-muted, #6b7280);
}

@media (max-width: 768px) {
  .rct-wrap { padding: 0 1rem; }
  .rct-th, .rct-td { padding-top: 14px; padding-bottom: 14px; }
}

/* ============================================================
   Houston "Compare Houston Electricity Rates" — header restyle
   Navy background, white text, natural casing. Applies at all breakpoints.
   ============================================================ */
.is-houston-compare .rct-th {
  background: var(--color-primary);
  color: var(--color-white, #ffffff);
  text-transform: none;
  letter-spacing: 0;
  border-bottom-color: var(--color-primary);
}

/* ============================================================
   Houston "Compare Houston Electricity Rates" — mobile-only fit
   Scoped via .is-houston-compare wrapper on the Houston instance.
   Desktop (>768px) is unaffected — no rules apply above 768px.
   ============================================================ */
@media (max-width: 768px) {
  /* Container: hide overflow so the table cannot side-scroll */
  .is-houston-compare .rct-scroll { overflow-x: hidden; }
  /* Drop the 600px min-width and use fixed layout so column widths apply */
  .is-houston-compare .rct {
    min-width: 0;
    table-layout: fixed;
    width: 100%;
  }
  /* Column widths: Term narrow, Rate compact, Plan takes remainder */
  .is-houston-compare .rct-th-term,
  .is-houston-compare .rct-td-term  { width: 50px; }
  .is-houston-compare .rct-th-rate,
  .is-houston-compare .rct-td-rate  { width: 82px; padding-right: 10px; }
  .is-houston-compare .rct-th-plan,
  .is-houston-compare .rct-td-plan  { padding-left: 10px; }
  /* Header: allow "RATE (¢/KWH)" to wrap to two lines */
  .is-houston-compare .rct-th {
    white-space: normal;
    padding: 12px 10px;
    font-size: 12px;
    line-height: 1.2;
  }
  /* Body cells: compact padding + smaller font, generous line-height
     keeps the plan-name tap target ≥44px (14px × 1.45 × 2 lines + 28px pad). */
  .is-houston-compare .rct-td {
    padding: 14px 10px;
    font-size: 14px;
    vertical-align: middle;
  }
  /* Plan name: allow two-line wrap, preserve tap area */
  .is-houston-compare .rct-plan-link {
    white-space: normal;
    display: inline-block;
    line-height: 1.4;
  }
  /* Rate visual balance at narrower width */
  .is-houston-compare .rct-rate { font-size: 16px; }
  .is-houston-compare .rct-cent { font-size: 12px; }
}

/* ============================================================
   ProviderTable — 2-col logo / description
   ============================================================ */
.pvt-wrap { max-width: 880px; margin: 24px auto 0; padding: 0 24px; }
.pvt-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-muted, #e5e7eb);
  border-radius: 10px;
  background: #fff;
}
.pvt {
  width: 100% !important;
  max-width: 720px !important;
  min-width: 480px;
  border-collapse: collapse;
  font-family: var(--font-sans);
  table-layout: fixed !important;
  margin: 0 auto !important;
}
.pvt-th {
  background: #f4f4f5;
  color: var(--fg-default, #111827);
  font: 600 12px/1.2 var(--font-sans);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 12px 1.25rem;
  border-bottom: 1px solid #e4e4e7;
  text-align: left;
}
.pvt-th-logo { width: 200px !important; vertical-align: middle !important; padding: 1.25rem !important; }
.pvt-row { border-bottom: 1px solid #e5e7eb; transition: background 120ms var(--ease-standard, ease); }
.pvt-row:last-child { border-bottom: none; }
.pvt-row:hover { background: #f9fafb; }
.pvt-td { padding: 1rem 1.25rem; vertical-align: middle; }
.pvt-td-logo { width: 200px !important; vertical-align: middle !important; padding: 1.25rem !important; }
.pvt-logo {
  display: block !important;
  max-height: 32px !important;
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.pvt-td-desc {
  font: 400 14px/1.5 var(--font-sans);
  color: var(--fg-default, #1f2937);
  text-align: left;
}
@media (max-width: 768px) {
  .pvt-wrap { padding: 0 1rem; }
  .pvt-th-logo, .pvt-td-logo { width: 120px !important; }
  .pvt-th, .pvt-td { padding: 0.85rem 0.9rem !important; }
  .pvt-td-logo { padding: 0.85rem 0.9rem !important; }
  .pvt-logo { max-width: 100px !important; }
}

/* ============================================================
   Houston "Best Electricity Providers in Houston" — mobile-only fit
   Scoped via .is-houston-providers wrapper on the Houston instance.
   Desktop (>768px) is unaffected.
   ============================================================ */
@media (max-width: 768px) {
  /* Defensive: container cannot side-scroll */
  .is-houston-providers .pvt-scroll { overflow-x: hidden; }
  /* Drop min-width / max-width and switch to fixed layout */
  .is-houston-providers .pvt {
    min-width: 0 !important;
    max-width: none !important;
    table-layout: fixed !important;
    width: 100% !important;
  }
  /* 2-column allocation: 30% logo / 70% description */
  .is-houston-providers .pvt-th-logo,
  .is-houston-providers .pvt-td-logo { width: 30% !important; padding: 14px 10px !important; }
  .is-houston-providers .pvt-th-desc,
  .is-houston-providers .pvt-td-desc { width: 70% !important; }
  /* Logos scale within their column */
  .is-houston-providers .pvt-logo {
    max-width: 100% !important;
    height: auto !important;
  }
  /* Header & body: wrap freely, compact padding, 14px body */
  .is-houston-providers .pvt-th {
    white-space: normal;
    padding: 12px 10px !important;
    font-size: 12px;
    line-height: 1.2;
  }
  .is-houston-providers .pvt-td {
    white-space: normal;
    padding: 14px 10px !important;
  }
  .is-houston-providers .pvt-td-desc {
    font: 400 14px/1.5 var(--font-sans);
  }
}

/* ============================================================
   IconList — themed-icon vertical list with Best For pills
   ============================================================ */
.il { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.il-head { text-align: center; margin: 0 auto 32px; max-width: 720px; }
.il-title {
  font: 700 28px/1.2 var(--font-display, var(--font-sans));
  color: var(--fg-default, #111827);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.il-intro {
  margin: 0 auto;
  text-align: left;
  font: 400 16px/1.6 var(--font-sans);
  color: var(--fg-muted, #6b7280);
}
.il-list { list-style: none; margin: 0; padding: 0; }
.il-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 1.5rem;
}
.il-item:last-child { margin-bottom: 0; }
.il-badge {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--color-primary, #19478c);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.il-body { min-width: 0; }
.il-text {
  margin: 0;
  font: 400 15px/1.6 var(--font-sans);
  color: var(--fg-default, #1f2937);
}
.il-leadin { color: var(--fg-default, #111827); font-weight: 700; }
.il-link {
  color: var(--color-primary, #19478c);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms var(--ease-standard, ease);
}
.il-link:hover { border-bottom-color: currentColor; text-decoration: none; }
.il-bestfor {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eff6ff;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-top: 0.65rem;
  font: 400 0.875rem/1.4 var(--font-sans);
  color: var(--fg-muted, #4b5563);
}
.il-bestfor-icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-primary, #19478c);
}
.il-bestfor strong { color: var(--fg-default, #111827); }
.il-closing {
  margin: 1.5rem 0 0 calc(36px + 16px);
  font: 400 14px/1.6 var(--font-sans);
  color: var(--fg-muted, #6b7280);
  font-style: italic;
}
@media (max-width: 768px) {
  .il { padding: 0 1rem; }
  .il-item { grid-template-columns: 32px 1fr; gap: 12px; }
  .il-badge { width: 32px; height: 32px; }
  .il-bestfor { display: flex; }
  .il-closing { margin-left: calc(32px + 12px); }
}

/* ============================================================
   IconList — cards variant
   ============================================================ */
.il--cards { margin-top: 2rem; }
.il--cards .il-list { gap: 16px; }
.il--cards .il-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: flex-start;
}
.il--cards .il-badge {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: var(--color-primary, #19478c);
  border-radius: 999px;
  flex: 0 0 auto;
}
.il--cards .il-text { margin: 0; }
.il--cards .il-leadin {
  display: block;
  font: 700 17px/1.3 var(--font-display, var(--font-sans));
  color: var(--fg-default, #111827);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
@media (max-width: 768px) {
  .il--cards .il-item { grid-template-columns: 40px 1fr; gap: 12px; padding: 1rem; }
  .il--cards .il-badge { width: 40px; height: 40px; }
}

/* ============================================================
   AsidePanel — light grey "additional info" panel
   ============================================================ */
.aside-panel {
  max-width: 1180px;
  margin: 1.5rem auto 0;
  padding: 1.25rem 1.5rem;
  background: #f4f4f5;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: var(--font-sans);
}
.aside-panel-title {
  font: 700 16px/1.3 var(--font-display, var(--font-sans));
  color: var(--fg-default, #111827);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.aside-panel-body {
  margin: 0;
  font: 400 15px/1.6 var(--font-sans);
  color: #374151;
}
.aside-panel .ap-link {
  color: var(--color-primary, #19478c);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms var(--ease-standard, ease);
}
.aside-panel .ap-link:hover { border-bottom-color: currentColor; text-decoration: none; }

@media (max-width: 768px) {
  .aside-panel {
    padding: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

/* ============================================================
   HeroSplit — two-column navy hero with ZIP entry card
   ============================================================ */
.hs {
  position: relative;
  background: var(--color-primary);
  color: #fff;
  overflow: hidden;
  padding: 5rem 0;
  isolation: isolate;
}
.hs-pattern {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hs-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hs-text { min-width: 0; }
.hs-headline {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.hs-accent {
  display: block;
  width: 80px;
  height: 3px;
  background: var(--color-secondary);
  margin-top: 1rem;
  border-radius: 2px;
}
.hs-subhead {
  margin: 1rem 0 0;
  max-width: 480px;
  font: 400 1.125rem/1.55 var(--font-sans);
  color: rgba(255, 255, 255, 0.85);
}
.hs-badges {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hs-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.hs-badge:first-child { padding-left: 0; }
.hs-badge:last-child { border-right: none; padding-right: 0; }
.hs-badge-icon {
  width: 32px; height: 32px; flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.hs-badge-text { display: flex; flex-direction: column; line-height: 1.25; }
.hs-badge-value { font: 700 0.9rem var(--font-sans); color: #fff; }
.hs-badge-label { font: 400 0.8rem var(--font-sans); color: rgba(255, 255, 255, 0.72); }

/* Breadcrumb (above headline) */
.hs-breadcrumb {
  margin: 0 0 24px;
  font: 400 13px/1.4 var(--font-sans);
}
.hs-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.hs-breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.hs-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 120ms var(--ease-standard, ease);
}
.hs-breadcrumb a:hover,
.hs-breadcrumb a:focus-visible {
  color: #fff;
}
.hs-breadcrumb span[aria-current="page"] {
  color: rgba(255, 255, 255, 0.75);
}
.hs-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.45);
  margin: 0 8px;
}

/* "Rates updated daily" line under CTA */
.hs-rate-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 4px;
  font: 400 12px/1 var(--font-sans);
  color: #6B7280;
}
.hs-rate-refresh-icon { flex: 0 0 auto; }

/* In-hero byline (Houston) */
.hs-byline {
  margin: 24px 0 32px;
  font: 400 13px/1.5 var(--font-sans);
  color: rgba(255, 255, 255, 0.75);
}
.hs-byline-row { display: block; }
.hs-byline-row + .hs-byline-row { margin-top: 2px; }
.hs-byline strong {
  color: #fff;
  font-weight: 600;
}
.hs-byline-sep {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 8px;
}

/* ZIP card */
.hs-card {
  background: #fff;
  color: var(--fg-default);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 460px;
  justify-self: end;
}
.hs-card-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1rem;
}
.hs-card-pin {
  width: 32px; height: 32px; flex: 0 0 auto;
  border-radius: 999px;
  background: #fee2e2;
  color: var(--color-secondary);
  display: inline-flex; align-items: center; justify-content: center;
}
.hs-card-title {
  font: 700 1.0625rem var(--font-display, var(--font-sans));
  color: var(--fg-default);
  letter-spacing: -0.005em;
}
.hs-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}
.hs-zip {
  height: 48px;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 14px;
  font: 500 1rem var(--font-sans);
  color: var(--fg-default);
  background: #fff;
  transition: border-color 120ms var(--ease-standard, ease), box-shadow 120ms var(--ease-standard, ease);
}
.hs-zip:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-focus);
}
.hs-zip::placeholder { color: #9ca3af; }
.hs-cta {
  height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 20px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font: 700 1rem var(--font-sans);
  cursor: pointer;
  transition: background 120ms var(--ease-standard, ease), transform 120ms var(--ease-standard, ease);
}
.hs-cta:hover { background: var(--color-red-100, #8c0d24); }
.hs-cta:active { transform: translateY(1px); }
.hs-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 900px) {
  .hs { padding: 3rem 0; }
  .hs-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 1rem; }
  .hs-headline { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hs-card { justify-self: stretch; max-width: none; }
  .hs-form { grid-template-columns: 1fr; gap: 0.75rem; }
  .hs-cta { width: 100%; }
  .hs-badges { gap: 0; }
  .hs-badge { padding: 0 16px; }
  .hs-breadcrumb { font-size: 12px; margin-bottom: 20px; }
  .hs-byline { font-size: 12px; margin: 20px 0 24px; }
}

/* Mobile-only (≤768px): visually move the byline below the ZIP card.
   display: contents flattens .hs-text's children into .hs-inner's
   grid; order: 99 pushes the byline to the end. JSX/DOM order is
   unchanged — semantic reading order preserved for SR / SEO. */
@media (max-width: 768px) {
  .hs-text { display: contents; }
  .hs-inner { gap: 0; }
  .hs-card { margin-top: 32px; }
  .hs-byline { order: 99; margin: 28px 0 0; }
}

@media (max-width: 480px) {
  .hs-badges { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hs-badge { padding: 0; border-right: none; }
  .hs-card { padding: 1.25rem 1.25rem; }
}

