/**
 * Homepage Styles — WattKarma
 *
 * This file contains all homepage-specific styles, organized by section.
 * Loaded AFTER /css/styles.css so these take precedence.
 *
 * Table of Contents:
 * 1. CSS Custom Properties (Colors, Fonts)
 * 2. CTA Section (v3)
 * 3. Hero Section (wkHero)
 * 4. Credentials Section
 * 5. Plan Types Section
 * 6. Live Rates Showcase
 * 7. Utility Classes & Misc
 * 8. Accessibility
 */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

/* :root tokens are now in tokens.css — loaded before this file */

/* ==========================================================================
   2. CTA SECTION (v3) — Full-Bleed Video + Timed Reveal
   ========================================================================== */

.wk-cta-v3 {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060e1d;
}

/* Neutralise any old ::before content from styles.css */
.wk-cta-v3::before {
  content: none !important;
}

/* Full-bleed background video */
.wk-cta-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

/* Dark overlay — hidden at first, fades in after animation */
.wk-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(4, 10, 26, 0.72) 0%,
    rgba(4, 10, 26, 0.82) 100%
  );
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

/* Content — hidden until overlay appears */
.wk-cta-v3-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
  max-width: 600px;
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* JS adds .cta-revealed after video plays to ~4s */
.wk-cta-v3.cta-revealed .wk-cta-overlay {
  opacity: 1;
}

.wk-cta-v3.cta-revealed .wk-cta-v3-inner {
  opacity: 1;
  transform: translateY(0);
}

/* CTA typography */
.wk-cta-label {
  color: rgba(255, 255, 255, 0.70) !important;
}

.wk-cta-v3-heading {
  font-family: var(--wk-font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  color: var(--wk-bg-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.wk-cta-v3-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 32px;
  line-height: 1.6;
}

.wk-cta-trust {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
}

/* ZIP form in CTA — frosted glass wrapper */
.wk-cta-v3 .zip-form {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 22px 22px 18px;
  max-width: 360px;
  margin: 0 auto;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.wk-cta-v3 .zip-form .zip-input {
  background: var(--wk-bg-white);
  border: 1.5px solid var(--wk-border-light);
  color: var(--wk-near-black);
  -webkit-text-fill-color: var(--wk-near-black);
}

.wk-cta-v3 .zip-form .zip-input::placeholder {
  color: var(--wk-text-light);
}

.wk-cta-v3 .zip-form .zip-radios {
  justify-content: center;
}

.wk-cta-v3 .zip-form .zip-radios label {
  color: rgba(255, 255, 255, 0.90);
}

.wk-cta-v3 .zip-form input[type="radio"] {
  accent-color: var(--wk-blue-primary);
}

@media (max-width: 767px) {
  .wk-cta-v3 {
    min-height: 460px;
  }

  .wk-cta-v3-inner {
    padding: 64px 20px;
  }

  .wk-cta-v3 .zip-form {
    max-width: 360px;
    width: fit-content;
  }
}

/* ==========================================================================
   5. HERO SECTION (wkHero) — PRIO-Style Scroll-Scrub
   ========================================================================== */

/* Scroll track */
#wkHero {
  position: relative;
  height: 240vh;
}

/* Sticky stage */
.wkh-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--wk-bg-cream);
  z-index: 2;
  will-change: clip-path;
}

/* Subtle gradient background */
.wkh-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 18% 55%, #e8f0ff 0%, var(--wk-bg-cream) 70%);
  z-index: 0;
  pointer-events: none;
}

/* Left content panel */
.wkh-content {
  position: absolute;
  top: 50%;
  left: max(24px, calc(50% - 600px));
  transform: translateY(-50%);
  z-index: 3;
  width: 44%;
  max-width: 520px;
  will-change: opacity;
}

.wkh-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wk-blue-400);
  margin: 0 0 16px;
}

.wkh-headline {
  font-size: clamp(38px, 4.6vw, 70px);
  font-weight: 400;
  line-height: 1.04;
  color: var(--wk-text-dark);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.wkh-sub {
  font-size: 17px;
  color: var(--wk-text-body);
  line-height: 1.65;
  margin: 0 0 28px;
}

/* Hero ZIP form — light-theme overrides */
.zip-form--hero .zip-input {
  background: var(--wk-bg-light);
  border: 1.5px solid var(--wk-border-light);
  color: var(--wk-text-dark);
}

.zip-form--hero .zip-input.zip-pulse {
  animation: zipPulse 0.6s ease-in-out 3;
}

@keyframes zipPulse {
  0%, 100% {
    border-color: var(--wk-border-light);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
  50% {
    border-color: var(--wk-blue-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
  }
}

.zip-form--hero .zip-input::placeholder {
  color: var(--wk-text-light);
}

.zip-form--hero label {
  color: var(--wk-text-body);
}

.zip-form--hero input[type="radio"] {
  accent-color: var(--wk-blue-primary);
}

/* Right card — Wattson video, expands on scroll */
.wkh-card {
  position: absolute;
  top: 10vh;
  right: max(24px, calc(50% - 600px));
  width: min(42vw, 600px);
  height: 74vh;
  border-radius: 20px;
  overflow: hidden;
  z-index: 2;
  background: radial-gradient(ellipse at 30% 85%, #d4e9f7 0%, #eaf3fb 45%, #f5f8ff 100%);
  will-change: top, left, width, height, border-radius, clip-path;
}

.wkh-card img,
.wkh-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Fallback text when video can't autoplay (mobile) */
.wkh-card-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.wkh-card.video-failed .wkh-card-fallback {
  opacity: 1;
}

.wkh-card-fallback-icon {
  width: 48px;
  height: 48px;
  color: var(--wk-blue-primary);
  margin-bottom: 12px;
  opacity: 0.7;
}

.wkh-card-fallback-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--wk-text-body);
  opacity: 0.8;
}

/* Phase 2 overlay — fades in when card is full-screen */
.wkh-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 5;
  padding: 40px;
  text-align: center;
  pointer-events: none;
}

.wkh-overlay-h {
  font-size: clamp(30px, 3.5vw, 58px);
  font-weight: 400;
  color: var(--wk-bg-white);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.wkh-overlay-p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.wkh-overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wk-blue-primary);
  color: var(--wk-bg-white);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  pointer-events: auto;
  transition: background 0.2s, transform 0.15s;
}

.wkh-overlay-cta:hover {
  background: var(--wk-blue-dark);
  transform: translateY(-2px);
}

/* Scroll hint (animated mouse icon) */
.wkh-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--wk-text-body);
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.wkh-scroll-dot {
  animation: wkhScrollBounce 1.6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes wkhScrollBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(7px);
    opacity: 0.2;
  }
}

/* Mobile (≤767px) — stacked layout */
@media (max-width: 767px) {
  #wkHero {
    height: auto;
    min-height: 0;
  }

  .wkh-stage {
    position: relative;
    height: auto;
    background: var(--wk-bg-light);
    display: flex;
    flex-direction: column;
  }

  .wkh-scroll-hint {
    display: none;
  }

  .wkh-bg {
    display: none;
  }

  .wkh-card {
    order: 1;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 62vw;
    min-height: 220px;
    max-height: 320px;
    border-radius: 0;
    will-change: unset;
  }

  .wkh-card::after {
    display: none;
  }

  .wkh-content {
    order: 2;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
    z-index: auto;
    padding: 28px 24px 36px;
    background: var(--wk-bg-white);
    text-align: center;
    opacity: 1 !important;
  }

  .wkh-content .zip-form--hero {
    margin: 0 auto;
    max-width: 300px;
  }

  .wkh-content .zip-radios {
    justify-content: center;
  }

  .wkh-eyebrow {
    color: var(--wk-blue-primary);
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }

  .wkh-headline {
    font-size: clamp(28px, 8vw, 38px);
    font-weight: 400;
    color: var(--wk-text-dark);
    text-shadow: none;
  }

  .wkh-sub {
    color: var(--wk-text-body);
    font-size: 15px;
  }

  .zip-form--hero .zip-input {
    background: var(--wk-bg-light);
    border: 1.5px solid var(--wk-border-light);
    color: var(--wk-text-dark);
  }

  .zip-form--hero label {
    color: var(--wk-text-body);
  }

  .zip-form--hero input[type="radio"] {
    accent-color: var(--wk-blue-primary);
  }

  .wkh-overlay {
    display: none;
  }
}

/* ==========================================================================
   6. CREDENTIALS SECTION
   ========================================================================== */

.wk-credentials {
  background: var(--wk-bg-white);
  padding: 56px 0 64px;
  border-top: 1px solid var(--wk-border-subtle);
}

/* Credential badge strip */
.wk-cred-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.wk-cred-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a6e;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: #f0f4ff;
  border: 1px solid var(--wk-border-blue);
  border-radius: 100px;
}

.wk-cred-item svg {
  color: var(--wk-blue-primary);
  flex-shrink: 0;
}

.wk-cred-divider {
  display: none;
}

/* Transparency statement block */
.wk-trust-statement {
  display: grid;
  grid-template-columns: 160px 1px 1fr 1px 160px;
  align-items: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.wk-ts-stat {
  text-align: center;
}

.wk-ts-number {
  display: block;
  font-family: var(--wk-font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--wk-blue-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.wk-ts-label {
  font-size: 13px;
  color: var(--wk-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wk-ts-vdivider {
  width: 1px;
  height: 80px;
  background: #dce5f9;
  align-self: center;
}

.wk-ts-body {
  padding: 0 8px;
}

.wk-ts-heading {
  font-size: 17px;
  font-weight: 500;
  color: var(--wk-text-dark);
  margin: 0 0 10px;
  line-height: 1.35;
}

.wk-ts-copy {
  font-size: 14.5px;
  color: var(--wk-text-body);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .wk-credentials {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wk-cred-strip {
    gap: 8px;
    justify-content: center;
  }

  .wk-cred-item {
    padding: 7px 14px;
    font-size: 12px;
  }

  .wk-trust-statement {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wk-ts-stat {
    text-align: center;
    display: block;
  }

  .wk-ts-vdivider {
    width: 100%;
    height: 1px;
  }
}

/* ==========================================================================
   7. PLAN TYPES SECTION
   ========================================================================== */

.wk-plan-types {
  background: var(--wk-gray-50);
  padding: 72px 0 80px;
  border-top: 1px solid var(--wk-border-subtle);
}

.wk-pt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 0;
}

.wk-pt-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: var(--wk-bg-white);
  border: 1px solid var(--wk-border-section);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.wk-pt-card:hover {
  box-shadow: var(--wk-shadow-card);
  border-color: #b8d0ff;
}

.wk-pt-card:hover .wk-pt-arrow {
  color: var(--wk-blue-400);
  transform: translateX(3px);
}

.wk-pt-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef3ff;
  color: var(--wk-blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.wk-pt-card:hover .wk-pt-icon {
  background: var(--wk-blue-400);
  color: var(--wk-bg-white);
}

.wk-pt-text {
  flex: 1;
}

.wk-pt-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--wk-text-dark);
  margin: 0 0 6px;
  line-height: 1.3;
}

.wk-pt-desc {
  font-size: 13px;
  color: var(--wk-text-muted);
  line-height: 1.55;
  margin: 0;
}

.wk-pt-arrow {
  font-size: 18px;
  color: #b0bdd4;
  align-self: center;
  flex-shrink: 0;
  transition: color 0.18s, transform 0.18s;
  line-height: 1;
}

@media (max-width: 767px) {
  .wk-plan-types {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wk-pt-grid {
    grid-template-columns: 1fr;
  }

  .wk-pt-card {
    padding: 18px 20px;
  }
}

/* Two-column split layout (HP-Business.html) */
.wk-pt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.wk-pt-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wk-pt-col-heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wk-text-muted);
  margin: 0 0 4px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--wk-border-section);
}

/* Residential column — Electric Blue (#3B82F6) */
.wk-pt-col--residential .wk-pt-col-heading {
  border-bottom-color: var(--wk-blue-400);
}

.wk-pt-col--residential .wk-pt-icon {
  background: #eef3ff;
  color: var(--wk-blue-400);
}

.wk-pt-col--residential .wk-pt-card:hover .wk-pt-icon {
  background: var(--wk-blue-400);
  color: var(--wk-white);
}

.wk-pt-col--residential .wk-pt-card:hover {
  border-color: var(--wk-blue-400);
}

.wk-pt-col--residential .wk-pt-card:hover .wk-pt-arrow {
  color: var(--wk-blue-400);
}

/* Business column — Deep Indigo (#263D88) */
.wk-pt-col--business .wk-pt-col-heading {
  border-bottom-color: var(--wk-blue-slate);
}

.wk-pt-col--business .wk-pt-icon {
  background: #eef0f8;
  color: var(--wk-blue-slate);
}

.wk-pt-col--business .wk-pt-card:hover .wk-pt-icon {
  background: var(--wk-blue-slate);
  color: var(--wk-white);
}

.wk-pt-col--business .wk-pt-card:hover {
  border-color: var(--wk-blue-slate);
}

.wk-pt-col--business .wk-pt-card:hover .wk-pt-arrow {
  color: var(--wk-blue-slate);
}

@media (max-width: 767px) {
  .wk-pt-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   8. LIVE RATES SHOWCASE
   ========================================================================== */

.wk-live-rates {
  background: var(--wk-blue-deep);
  padding: 72px 0 80px;
}

.wk-live-rates .wk-label {
  color: #60a5fa;
}

.wk-live-rates .wk-section-heading {
  color: var(--wk-bg-white);
}

.wk-live-rates .wk-section-sub {
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
}

.wk-lr-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.wk-lr-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.wk-lr-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wk-lr-panel-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.60);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.wk-lr-usage-tabs {
  display: flex;
  gap: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 3px;
}

.wk-lr-usage-tab {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.wk-lr-usage-tab.active {
  background: var(--wk-blue-primary);
  color: var(--wk-bg-white);
}

.wk-lr-usage-tab:hover:not(.active) {
  color: rgba(255, 255, 255, 0.75);
}

.wk-lr-bars {
  padding: 20px 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wk-lr-bar-row {
  display: grid;
  grid-template-columns: 118px 1fr 62px;
  align-items: center;
  gap: 10px;
}

.wk-lr-bar-logo {
  width: 82px;
  height: 24px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  flex-shrink: 0;
}

.wk-lr-bar-track {
  height: 26px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}

.wk-lr-bar-fill {
  position: relative;
  height: 100%;
  border-radius: 6px;
  transition: width 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wk-lr-bar-fill.best {
  background: linear-gradient(90deg, var(--wk-blue-dark) 0%, var(--wk-blue-400) 100%);
}

.wk-lr-bar-fill.other {
  background: rgba(255, 255, 255, 0.15);
}

.wk-lr-bar-rate {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.80);
  text-align: right;
  transition: opacity 0.35s;
  white-space: nowrap;
}

.wk-lr-bars-footer {
  padding: 10px 22px 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wk-lr-live-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--wk-green);
  display: flex;
  align-items: center;
  gap: 5px;
}

.wk-lr-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wk-green);
  animation: lrPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes lrPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.65);
  }
}

.wk-lr-card-wrap {
  padding: 16px 16px 4px;
  max-width: 360px;
  margin: 0 auto;
}

.wk-lr-card {
  background: var(--wk-bg-white);
  border: 1px solid rgba(16, 24, 39, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px 0 rgba(16, 24, 39, 0.15);
  transition: opacity 0.35s ease;
  position: relative;
}

.wk-lr-card.fading {
  opacity: 0;
}

/* GREEN badge */
.wk-lr-card-green-badge {
  position: absolute;
  top: 0;
  right: 16px;
  background: var(--wk-green-dark);
  color: var(--wk-bg-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0 0 7px 7px;
  z-index: 1;
}

/* Two-tone header */
.wk-lr-card-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 35px;
}

.wk-lr-card-plan-name {
  background: var(--wk-blue-100);
  color: var(--wk-near-black);
  font-size: 14px;
  font-weight: 600;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.5;
}

.wk-lr-card-term-pill {
  background: var(--wk-blue-400);
  color: var(--wk-bg-white);
  font-size: 14px;
  font-weight: 600;
  padding: 0 16px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Middle section */
.wk-lr-card-middle {
  display: flex;
  align-items: stretch;
  min-height: 140px;
  background: linear-gradient(180deg, rgba(68, 183, 94, 0.10) 0%, rgba(68, 183, 94, 0.01) 88%, rgba(255, 255, 255, 0.10) 100%);
  padding-bottom: 8px;
}

.wk-lr-card-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--wk-bg-white);
  align-items: center;
  padding: 12px 4px 0;
  gap: 8px;
  min-width: 0;
}

.wk-lr-card-logo-wrap {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px 8px;
  box-sizing: border-box;
}

.wk-lr-card-logo {
  max-width: 87px;
  max-height: 40px;
  object-fit: contain;
}

.wk-lr-card-desc {
  font-size: 11px;
  line-height: 1.18;
  color: var(--wk-near-black);
  margin: 0;
  padding: 0 4px 8px;
  letter-spacing: 0.06px;
}

.wk-lr-card-desc a {
  color: var(--wk-blue-400);
  font-weight: 700;
  text-decoration: none;
}

.wk-lr-card-sep {
  width: 1px;
  background: #d9d9d9;
  align-self: center;
  height: 75px;
  flex-shrink: 0;
}

.wk-lr-card-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 0 16px;
}

.wk-lr-card-stat-label {
  font-size: 10.3px;
  font-weight: 700;
  color: var(--wk-blue-slate);
  margin: 0;
  line-height: 1.33;
  white-space: nowrap;
  text-align: center;
}

.wk-lr-card-stat-sub {
  font-size: 10.3px;
  font-weight: 400;
  color: var(--wk-blue-slate);
  margin: 0;
  line-height: 1.33;
  white-space: nowrap;
  text-align: center;
}

.wk-lr-card-rate {
  font-family: var(--wk-font-display);
  font-size: 31px;
  font-weight: 700;
  color: var(--wk-blue-slate);
  line-height: 1;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  letter-spacing: -0.6px;
}

.wk-lr-card-rate-unit {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.22;
}

/* Tags */
.wk-lr-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 4px 12px;
  justify-content: center;
}

.wk-lr-card-tag {
  font-size: 9px;
  font-weight: 600;
  padding: 4px;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.05);
  color: var(--wk-blue-400);
  border: 1px solid var(--wk-blue-400);
  white-space: nowrap;
}

.wk-lr-card-tag.green {
  background: rgba(68, 183, 94, 0.05);
  color: var(--wk-green-badge);
  border-color: var(--wk-green-badge);
}

.wk-lr-card-tag.indigo {
  background: rgba(38, 61, 136, 0.05);
  color: var(--wk-blue-slate);
  border-color: var(--wk-blue-slate);
}

/* CTA */
.wk-lr-card-btn {
  display: block;
  margin: 19px 20px 0;
  background: var(--wk-blue-400);
  color: var(--wk-bg-white);
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s;
}

.wk-lr-card-btn:hover {
  background: var(--wk-blue-primary);
}

.wk-lr-card-phone {
  text-align: center;
  font-size: 16px;
  color: var(--wk-blue-slate);
  padding: 12px 20px;
  margin: 0;
  line-height: 1.25;
}

.wk-lr-card-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--wk-blue-400);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.wk-lr-card-details-arrow {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--wk-blue-400);
  border-bottom: 1.5px solid var(--wk-blue-400);
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.wk-lr-card-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px 6px;
}

.wk-lr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}

.wk-lr-dot.active {
  background: var(--wk-blue-primary);
  width: 22px;
  border-radius: 3px;
}

.wk-lr-cta {
  display: block;
  text-align: center;
  padding: 6px 22px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.15s;
}

.wk-lr-cta:hover {
  color: var(--wk-blue-300);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .wk-live-rates {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wk-lr-grid {
    grid-template-columns: 1fr;
  }

  .wk-lr-bar-row {
    grid-template-columns: 68px 1fr 50px;
  }

  .wk-lr-bar-logo {
    width: 62px;
    height: 20px;
  }
}

/* Tablet (768px – 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .wkh-content {
    left: 4%;
    max-width: 380px;
  }

  .wkh-card {
    width: 54vw;
    height: 86vh;
  }
}

/* ==========================================================================
   VISION SECTION — Mobile: no scroll-scrub, static display
   The JS animation is disabled below 768px, so the sticky 160vh scroll
   track creates dead space. Convert to a normal-flow section with a
   constrained image height.
   ========================================================================== */

@media (max-width: 767px) {
  #wkVision {
    height: auto;
  }

  .wk-vision-sticky {
    position: relative;
    height: auto;
  }

  .wk-vision-track {
    height: 75vw;
    min-height: 280px;
    max-height: 420px;
  }
}

/* ==========================================================================
   VALUE PROPS — Desktop overlap with hero clip-path reveal
   On desktop, the hero is 240vh with a sticky card that clips away,
   revealing the value-props section behind it. The negative margin
   pulls value-props up behind the hero; the padding pushes its
   content back down to the right position.
   On mobile, the hero is auto-height with no clip-path overlap,
   so value-props sits in normal document flow.
   ========================================================================== */

.wk-value-props {
  margin-top: -100vh;
  padding-top: calc(100vh + 80px);
}

@media (max-width: 767px) {
  .wk-value-props {
    margin-top: 0;
    padding-top: 56px;
  }
}

/* ==========================================================================
   9. UTILITY CLASSES & MISC
   ========================================================================== */

/* Logo cloud gap fix */
.wk-logo-cloud {
  margin-top: -2px;
}

/* Heading weight — regular for modern feel */
h2 {
  font-weight: 400;
}

h3 {
  font-weight: 400;
}

.wk-section-heading {
  font-weight: 400;
}

.wk-vision-overlay h2 {
  font-weight: 400;
}

/* Divider background variants */
.wk-divider--cream {
  background: var(--wk-bg-cream, #faf8f4);
}

.wk-divider--navy {
  background: #0e2340;
}

/* Section center with bottom spacing (live rates, plan types headers) */
.wk-section-center--spaced {
  margin-bottom: 48px;
}

/* Inline CTA link below a section (plan types "compare all") */
.wk-section-cta-wrap {
  text-align: center;
  margin-top: 36px;
}

.wk-section-cta-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--wk-blue-primary, #2563eb);
  text-decoration: none;
}

.wk-section-cta-link:hover {
  text-decoration: underline;
}

/* Value Props: center icons & polish cards */
.wk-vp-card {
  text-align: center;
  border-top: 3px solid var(--wk-blue-electric);
}

.wk-vp-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Home featured card (product-page style in panel) */
.wk-lr-card-wrap .home-featured-card {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: none !important;
  min-height: auto !important;
  transition: opacity 0.35s ease;
  background: var(--wk-bg-white) !important;
}

.wk-lr-card-wrap .home-featured-card .safari-card-body {
  flex-direction: row !important;
  padding: 0 !important;
  min-height: auto !important;
  gap: 0 !important;
}

.wk-lr-card-wrap .home-featured-card .logo-and-description-section {
  flex: 0 0 58% !important;
  padding: 10px 8px !important;
  gap: 0 !important;
}

.wk-lr-card-wrap .home-featured-card .logo-and-description-section img {
  max-height: 44px !important;
  margin-bottom: 0 !important;
}

.wk-lr-card-wrap .home-featured-card .rate-and-cta-section {
  flex: 0 0 42% !important;
  padding: 8px 4px !important;
  gap: 2px !important;
  border-left: 1px solid var(--wk-gray-200) !important;
  background: linear-gradient(to bottom, rgba(34, 197, 94, 0.1), rgba(255, 255, 255, 0)) !important;
}

.wk-lr-card-wrap .home-featured-card .price-label {
  font-size: 11px !important;
  margin-bottom: 2px !important;
  line-height: 1.2 !important;
  color: var(--wk-gray-500) !important;
}

.wk-lr-card-wrap .home-featured-card .text-3xl {
  font-size: 1.75rem !important;
  line-height: 1 !important;
  color: var(--wk-blue-700) !important;
}

.wk-lr-card-wrap .home-featured-card .business-header {
  min-height: 28px !important;
  height: 28px !important;
}

.wk-lr-card-wrap .home-featured-card .business-header .name-section {
  flex: 0 0 58% !important;
  padding: 4px 8px !important;
}

.wk-lr-card-wrap .home-featured-card .business-header .name {
  font-size: 0.7rem !important;
}

.wk-lr-card-wrap .home-featured-card .business-header .term-section {
  flex: 0 0 42% !important;
  padding: 4px 8px !important;
}

.wk-lr-card-wrap .home-featured-card .business-header .term {
  font-size: 0.85rem !important;
}

.wk-lr-card-wrap .home-featured-card .desktop-only-btn,
.wk-lr-card-wrap .home-featured-card .desktop-only-phone,
.wk-lr-card-wrap .home-featured-card .desktop-description {
  display: none !important;
}

.wk-lr-card-wrap .home-featured-card .mobile-cta-section {
  display: block !important;
  padding: 4px 12px 2px !important;
  text-align: center !important;
}

.wk-lr-card-wrap .home-featured-card .mobile-cta-section .card-badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 4px !important;
  margin-top: 4px !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  max-height: 20px !important;
}

.wk-lr-card-wrap .home-featured-card .mobile-cta-section .card-badge {
  font-size: 8px !important;
  padding: 2px 6px !important;
}

.wk-lr-card-wrap .home-featured-card .mobile-cta-section .start-saving-btn {
  padding: 10px 24px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  max-width: 240px !important;
  width: 100% !important;
  background-color: #000 !important;
  color: var(--wk-bg-white) !important;
  border-radius: 8px !important;
  margin-bottom: 6px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border: none !important;
  cursor: pointer !important;
}

.wk-lr-card-wrap .home-featured-card .mobile-description {
  display: none !important;
}

/* ==========================================================================
   INTERACTIVE TOOL CARDS — Savings Estimator, Rate Checker, Compare Plans
   ========================================================================== */

.wk-tool-card--interactive {
  cursor: default;
}

.wk-tool-card--interactive:hover {
  transform: none;
}

.wk-tool-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wk-tool-form-row {
  display: flex;
  gap: 10px;
}

.wk-tool-form-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--wk-font-body);
  border: 1.5px solid var(--wk-border-slate, #e2e8f0);
  border-radius: 10px;
  background: var(--wk-bg-white, #fff);
  color: var(--wk-text-dark, #0a1023);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wk-tool-form-row input:focus {
  border-color: var(--wk-blue-primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.wk-tool-form-row input::placeholder {
  color: var(--wk-text-light, #8a9ab8);
}

/* Dollar prefix wrapper */
.wk-tool-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.wk-tool-input-wrap input {
  width: 100%;
  box-sizing: border-box;
}

.wk-tool-input-wrap--dollar::before {
  content: '$';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 500;
  color: var(--wk-text-muted, #6b7a99);
  pointer-events: none;
  z-index: 1;
}

.wk-tool-input-wrap--dollar input {
  padding-left: 28px;
}

.wk-tool-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--wk-font-body);
  color: var(--wk-bg-white, #fff);
  background: var(--wk-blue-electric, #1756e8);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.wk-tool-btn:hover {
  background: var(--wk-blue-dark, #1d4ed8);
  transform: translateY(-1px);
}

.wk-tool-btn:active {
  transform: translateY(0);
}

.wk-tool-result {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--wk-gray-50, #f9fafb);
  border: 1px solid var(--wk-border-section, #e5eaf4);
  font-size: 14px;
  line-height: 1.6;
  color: var(--wk-text-body, #4b5a74);
  text-align: center;
}

/* --- Savings Estimator result --- */
.wk-tool-result--savings {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #bbf7d0;
}
.wk-tool-savings-num {
  font-size: 36px;
  font-weight: 800;
  color: #16a34a;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.wk-tool-savings-num span {
  font-size: 18px;
  font-weight: 600;
  color: #22c55e;
}
.wk-tool-savings-annual {
  margin-top: 4px;
  font-size: 15px;
  color: var(--wk-text-heading, #1e293b);
}
.wk-tool-savings-annual strong {
  color: #16a34a;
}
.wk-tool-savings-detail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d1fae5;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* --- "Already competitive" result --- */
.wk-tool-result--good {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-color: #bfdbfe;
}
.wk-tool-result--good strong {
  color: var(--wk-blue-500, #2563eb);
  font-size: 15px;
}

/* --- Rate Checker result --- */
.wk-tool-result--rates {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border-color: #bfdbfe;
}
.wk-tool-rate-range {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.wk-tool-rate-low,
.wk-tool-rate-high {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.wk-tool-rate-low span {
  font-size: 26px;
  font-weight: 800;
  color: #16a34a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.wk-tool-rate-high span {
  font-size: 26px;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.wk-tool-rate-low small,
.wk-tool-rate-high small {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-top: 2px;
}
.wk-tool-rate-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #22c55e, #facc15, #ef4444);
  position: relative;
  overflow: hidden;
}
.wk-tool-rate-meta {
  padding-top: 12px;
  border-top: 1px solid #dbeafe;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}
.wk-tool-rate-meta strong {
  color: var(--wk-text-heading, #1e293b);
  font-size: 14px;
}

/* --- Shared result link --- */
.wk-tool-result-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wk-blue-500, #2563eb);
  text-decoration: none;
  transition: color 0.15s ease;
}
.wk-tool-result-link:hover {
  color: var(--wk-blue-700, #1d4ed8);
  text-decoration: underline;
}

/* --- Loading & error states --- */
.wk-tool-result--loading {
  color: var(--wk-blue-500, #2563eb);
  font-weight: 500;
}
.wk-tool-result--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
  font-weight: 500;
}
.wk-tool-result--empty {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

@media (max-width: 767px) {
  .wk-tool-form-row {
    flex-direction: column;
  }
}

/* ==========================================================================
   10. ACCESSIBILITY & CONTRAST FIXES
   ========================================================================== */

/* Skip-to-content link — hidden until focused */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  z-index: 10000;
  background: #2563eb;
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0;
}

/* Focus indicators for keyboard navigation */
.wk-pt-card:focus-visible,
.wk-faq-q:focus-visible,
.wk-lr-usage-tab:focus-visible,
.wk-lr-dot:focus-visible,
.wkh-overlay-cta:focus-visible,
.wk-vision-cta:focus-visible,
.wk-lr-cta:focus-visible,
.btn-electric:focus-visible,
.nav-link:focus-visible,
.phone-pill:focus-visible {
  outline: 2px solid var(--wk-blue-primary, #2563eb);
  outline-offset: 2px;
}

/* Best rate label — visual + accessible */
.wk-lr-best-label {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

/* GPU-accelerated scroll animation hint */
.wkh-scroll-dot {
  will-change: transform;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wkh-scroll-dot,
  .wk-lr-live-dot,
  .zip-form--hero .zip-input.zip-pulse {
    animation: none;
  }

  .wk-lr-bar-fill,
  .wk-cta-overlay,
  .wk-cta-v3-inner {
    transition: none;
  }

  .wk-cloud-col {
    animation: none !important;
  }
}
