:root {
  --bg: #eaf1ff;
  --surface: #ffffff;
  --surface-soft: #f3f8ff;
  --text: #0f203c;
  --muted: #3d567b;
  --primary: #0c58c9;
  --primary-dark: #0a4192;
  --accent: #23b27f;
  --border: #cfdcf4;
  --glow-blue: rgba(12, 88, 201, 0.24);
  --shadow: 0 18px 42px rgba(10, 32, 78, 0.11);
  --shadow-soft: 0 10px 24px rgba(10, 32, 78, 0.08);
  --flow-cycle: 40s;
  --icon-bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23298bff'/%3E%3Cstop offset='1' stop-color='%230c58c9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='1' y='1' width='16' height='16' rx='8' fill='url(%23g)'/%3E%3Cpath d='M9.8 3.9 6.2 9h2.6l-0.9 5.1 3.9-5.6h-2.5l0.5-4.6Z' fill='white'/%3E%3C/svg%3E");
  --icon-battery: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2337c488'/%3E%3Cstop offset='1' stop-color='%231d9f6f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='1' y='1' width='16' height='16' rx='8' fill='url(%23g)'/%3E%3Crect x='5.1' y='6.1' width='7.2' height='5.8' rx='1' fill='none' stroke='white' stroke-width='1.2'/%3E%3Crect x='12.5' y='7.5' width='1' height='3' rx='0.5' fill='white'/%3E%3Crect x='6.2' y='7.2' width='4.3' height='3.6' rx='0.5' fill='white'/%3E%3C/svg%3E");
  --icon-solar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23298bff'/%3E%3Cstop offset='1' stop-color='%230c58c9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='1' y='1' width='16' height='16' rx='8' fill='url(%23g)'/%3E%3Cpath d='M9 4.3v1.5M9 12.2v1.5M5.3 9h-1.5M14.2 9h-1.5M6.3 6.3 5.2 5.2M12.8 12.8l-1.1-1.1M11.7 6.3l1.1-1.1M6.3 11.7 5.2 12.8' stroke='white' stroke-width='1.1' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='9' r='2.1' fill='white'/%3E%3C/svg%3E");
  --icon-plug: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%237a93ff'/%3E%3Cstop offset='1' stop-color='%234f66d8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='1' y='1' width='16' height='16' rx='8' fill='url(%23g)'/%3E%3Cpath d='M7 4.8v2.1M11 4.8v2.1M6.4 6.9h5.2v1.7a2.6 2.6 0 0 1-2.6 2.6 2.6 2.6 0 0 1-2.6-2.6V6.9Zm2.6 4.3v2' stroke='white' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2338c88e'/%3E%3Cstop offset='1' stop-color='%231fa974'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='1' y='1' width='16' height='16' rx='8' fill='url(%23g)'/%3E%3Cpath d='m5.4 9.3 2.1 2.2 5.2-5.1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Never overflow the viewport; intrinsic ratio preserved */
img {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 6% -10%, rgba(80, 141, 255, 0.18), transparent 56%),
    radial-gradient(900px 460px at 94% 3%, rgba(46, 203, 255, 0.13), transparent 54%),
    radial-gradient(circle at 20% 0%, #f8fbff 0%, var(--bg) 40%, #e7eefb 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

main {
  padding-bottom: 2.2rem;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(10, 79, 180, 0.4);
  outline-offset: 2px;
  border-radius: 8px;
}

.container {
  width: min(calc(100% - 1.2rem), 1280px);
  max-width: 1280px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(11, 33, 70, 0.08), 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.nav-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand brand"
    "nav cta";
  align-items: center;
  gap: 0.7rem 1rem;
  padding: 0.7rem 0 0.9rem;
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  justify-self: center;
}

.brand img {
  width: 560px;
  max-height: 148px;
  object-fit: contain;
}

.nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-self: start;
}

.nav a {
  text-decoration: none;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  color: #24446f;
  font-weight: 700;
  font-size: 0.87rem;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: all 180ms ease;
}

.nav a:hover,
.nav a.active {
  background: linear-gradient(180deg, #edf5ff 0%, #e4f0ff 100%);
  color: #0a4fb4;
  box-shadow: 0 0 0 1px rgba(87, 146, 241, 0.24) inset;
}

.nav-row > .btn {
  grid-area: cta;
  justify-self: end;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  padding: 0.74rem 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn-primary {
  background: linear-gradient(180deg, #1b6fdd 0%, var(--primary) 58%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 26px var(--glow-blue), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #0e58b8 0%, var(--primary-dark) 100%);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.btn-outline:hover {
  background: #eef4ff;
  transform: translateY(-1px);
}

.hero {
  padding: 3.2rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
}

.kicker {
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(12, 88, 201, 0.14);
}

.kicker::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  display: inline-block;
  margin-right: 0.32rem;
  vertical-align: -0.14rem;
  background-image: var(--icon-bolt);
  background-repeat: no-repeat;
  background-size: contain;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.55rem;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

h1 {
  font-size: clamp(1.7rem, 2.9vw, 2.7rem);
}

h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

h3 {
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
}

.hero p,
.section-intro {
  color: var(--muted);
}

.section-intro {
  max-width: none;
}

.cta-row {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.card,
.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 252, 255, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(2px);
}

.hero-image {
  display: block;
  max-width: 100%;
  max-height: min(420px, 52vh);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: contain;
  object-position: center;
  background: #e8ecf4;
  box-shadow: var(--shadow);
}

.hero-showcase {
  position: relative;
  height: calc(100svh - 220px);
  min-height: 260px;
  width: 100%;
  overflow: hidden;
  background: #09101c;
  display: grid;
  place-items: center;
}

.hero-showcase__slides {
  position: relative;
  width: 100%;
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.hero-showcase__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #09101c;
  opacity: 1;
  border-radius: 16px;
}

.energy-flow-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.day-night-overlay {
  fill: #07111f;
  opacity: 0;
  animation: day-night-cycle var(--flow-cycle) ease-in-out infinite;
}

.status-panel rect {
  fill: rgba(7, 21, 39, 0.82);
  stroke: rgba(156, 224, 255, 0.9);
  stroke-width: 1.3;
}

.status-line {
  font: 700 11px "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em;
  fill: rgba(227, 245, 255, 0.98);
  opacity: 0;
}

.status-line-1 { animation: status-line-1 var(--flow-cycle) linear infinite; }
.status-line-2 { animation: status-line-2 var(--flow-cycle) linear infinite; }
.status-line-3 { animation: status-line-3 var(--flow-cycle) linear infinite; }
.status-line-4 { animation: status-line-4 var(--flow-cycle) linear infinite; }
.status-line-5 { animation: status-line-5 var(--flow-cycle) linear infinite; }
.status-line-6 { animation: status-line-6 var(--flow-cycle) linear infinite; }

.eco-charge-tag {
  opacity: 0;
  animation: stage-c var(--flow-cycle) linear infinite;
}

.eco-charge-tag rect {
  fill: rgba(6, 19, 35, 0.86);
  stroke: rgba(117, 187, 255, 0.95);
  stroke-width: 1;
}

.eco-charge-tag text {
  font: 700 8px "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.06em;
  fill: rgba(202, 234, 255, 0.98);
}

.energy-line {
  fill: none;
  stroke: rgba(115, 246, 154, 0.85);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: none;
  animation: none;
  filter: drop-shadow(0 0 7px rgba(115, 246, 154, 0.55));
}

.energy-node {
  fill: rgba(195, 255, 246, 0.95);
  stroke: rgba(86, 247, 212, 1);
  stroke-width: 3;
  filter: drop-shadow(0 0 7px rgba(82, 255, 224, 0.9));
}

.energy-pulse {
  r: 8;
  fill: rgba(191, 255, 248, 1);
  filter: drop-shadow(0 0 10px rgba(137, 255, 236, 0.95));
  opacity: 0;
}

.pulse-a {
  fill: rgba(115, 246, 154, 1);
  filter: drop-shadow(0 0 10px rgba(115, 246, 154, 0.95));
  animation: stage-a var(--flow-cycle) linear infinite;
}

.pulse-b {
  fill: rgba(255, 205, 132, 1);
  filter: drop-shadow(0 0 10px rgba(255, 205, 132, 0.95));
  animation: stage-b var(--flow-cycle) linear infinite;
}

.pulse-c {
  fill: rgba(94, 170, 255, 1);
  filter: drop-shadow(0 0 10px rgba(94, 170, 255, 0.95));
  animation: stage-c var(--flow-cycle) linear infinite;
}

.pulse-d {
  fill: rgba(198, 126, 255, 1);
  filter: drop-shadow(0 0 10px rgba(198, 126, 255, 0.95));
  animation: stage-d var(--flow-cycle) linear infinite;
}

.pulse-e {
  fill: rgba(255, 126, 126, 1);
  filter: drop-shadow(0 0 10px rgba(255, 126, 126, 0.95));
  animation: stage-e var(--flow-cycle) linear infinite;
}

.battery-shell {
  fill: rgba(5, 16, 29, 0.76);
  stroke: rgba(166, 227, 255, 0.92);
  stroke-width: 1.2;
}

.battery-tip {
  fill: rgba(166, 227, 255, 0.92);
}

.battery-fill {
  transform-origin: left center;
}

.battery-fill-powerwall {
  fill: rgba(103, 255, 210, 0.95);
  animation: battery-level-powerwall var(--flow-cycle) ease-in-out infinite;
}

.battery-fill-tesla {
  fill: rgba(94, 170, 255, 0.95);
  animation: battery-level-tesla var(--flow-cycle) ease-in-out infinite;
}

.battery-fill-grid {
  fill: rgba(255, 126, 126, 0.95);
  animation:
    battery-level-grid var(--flow-cycle) ease-in-out infinite,
    battery-color-grid var(--flow-cycle) linear infinite;
}

.battery-text {
  font: 700 10px "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.03em;
  fill: rgba(237, 247, 255, 0.96);
}

.gauge-label {
  font: 700 10px "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.05em;
  fill: rgba(223, 244, 255, 0.96);
}

.home-status-shell {
  fill: rgba(6, 18, 33, 0.8);
  stroke: rgba(175, 240, 255, 0.92);
  stroke-width: 1.2;
}

.home-status-fill {
  fill: rgba(255, 205, 132, 0.95);
  transform-origin: left center;
  animation: home-status-fill-cycle var(--flow-cycle) ease-in-out infinite;
}

.home-status-chip {
  opacity: 0.62;
  animation: home-status-cycle var(--flow-cycle) ease-in-out infinite;
}

.home-clock-shell {
  fill: rgba(6, 18, 33, 0.82);
  stroke: rgba(175, 240, 255, 0.92);
  stroke-width: 1.2;
}

.home-clock-label {
  font: 700 8px "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.08em;
  fill: rgba(173, 227, 255, 0.95);
}

.home-clock-time {
  font: 700 14px "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em;
  fill: rgba(255, 244, 166, 0.98);
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(255, 233, 122, 0.85));
}

.clock-time-1 { animation: clock-time-1 var(--flow-cycle) linear infinite; }
.clock-time-2 { animation: clock-time-2 var(--flow-cycle) linear infinite; }
.clock-time-3 { animation: clock-time-3 var(--flow-cycle) linear infinite; }
.clock-time-4 { animation: clock-time-4 var(--flow-cycle) linear infinite; }
.clock-time-5 { animation: clock-time-5 var(--flow-cycle) linear infinite; }
.clock-time-6 { animation: clock-time-6 var(--flow-cycle) linear infinite; }
.clock-time-7 { animation: clock-time-7 var(--flow-cycle) linear infinite; }
.clock-time-8 { animation: clock-time-8 var(--flow-cycle) linear infinite; }

@keyframes battery-level-powerwall {
  0% {
    transform: scaleX(0.42);
  }

  38% {
    transform: scaleX(1);
  }

  58% {
    transform: scaleX(1);
  }

  79% {
    transform: scaleX(0.4);
  }

  100% {
    transform: scaleX(0.4);
  }
}

@keyframes battery-level-tesla {
  0%,
  32% {
    transform: scaleX(0.28);
  }

  58% {
    transform: scaleX(0.95);
  }

  100% {
    transform: scaleX(0.95);
  }
}

@keyframes stage-a {
  0%,
  46% {
    opacity: 1;
  }

  54%,
  100% {
    opacity: 0;
  }
}

@keyframes stage-b {
  0%,
  30% {
    opacity: 0;
  }

  34%,
  80% {
    opacity: 1;
  }

  86%,
  100% {
    opacity: 0;
  }
}

@keyframes stage-c {
  0%,
  38% {
    opacity: 0;
  }

  44%,
  74% {
    opacity: 1;
  }

  80%,
  100% {
    opacity: 0;
  }
}

@keyframes stage-d {
  0%,
  30% {
    opacity: 0;
  }

  36%,
  54% {
    opacity: 1;
  }

  60%,
  100% {
    opacity: 0;
  }
}

@keyframes stage-e {
  0%,
  82% {
    opacity: 0;
  }

  88%,
  100% {
    opacity: 1;
  }
}

@keyframes home-status-cycle {
  0%,
  24% {
    opacity: 0.45;
  }

  34%,
  79% {
    opacity: 1;
  }

  100% {
    opacity: 0.75;
  }
}

@keyframes day-night-cycle {
  0%,
  70% {
    opacity: 0;
  }

  86% {
    opacity: 0.26;
  }

  100% {
    opacity: 0.18;
  }
}

@keyframes badge-home-cycle {
  0%,
  8% {
    opacity: 0;
  }

  14%,
  50% {
    opacity: 1;
  }

  56%,
  100% {
    opacity: 0;
  }
}

@keyframes badge-pw-cycle {
  0%,
  34% {
    opacity: 0;
  }

  40%,
  58% {
    opacity: 1;
  }

  64%,
  100% {
    opacity: 0;
  }
}

@keyframes badge-tesla-cycle {
  0%,
  32% {
    opacity: 0;
  }

  38%,
  66% {
    opacity: 1;
  }

  72%,
  100% {
    opacity: 0;
  }
}

@keyframes badge-night-cycle {
  0%,
  60% {
    opacity: 0;
  }

  66%,
  100% {
    opacity: 1;
  }
}

@keyframes clock-time-1 {
  0%,
  12% { opacity: 1; }
  12.5%, 100% { opacity: 0; }
}

@keyframes clock-time-2 {
  0%,
  12.5% { opacity: 0; }
  13.5%, 25% { opacity: 1; }
  26%, 100% { opacity: 0; }
}

@keyframes clock-time-3 {
  0%,
  26% { opacity: 0; }
  27%, 39% { opacity: 1; }
  40%, 100% { opacity: 0; }
}

@keyframes clock-time-4 {
  0%,
  40% { opacity: 0; }
  41%, 53% { opacity: 1; }
  54%, 100% { opacity: 0; }
}

@keyframes clock-time-5 {
  0%,
  54% { opacity: 0; }
  55%, 67% { opacity: 1; }
  68%, 100% { opacity: 0; }
}

@keyframes clock-time-6 {
  0%,
  68% { opacity: 0; }
  69%, 81% { opacity: 1; }
  82%, 100% { opacity: 0; }
}

@keyframes clock-time-7 {
  0%,
  82% { opacity: 0; }
  83%, 94% { opacity: 1; }
  95%, 100% { opacity: 0; }
}

@keyframes clock-time-8 {
  0%,
  95% { opacity: 0; }
  96%,
  100% {
    opacity: 1;
  }
}

@keyframes badge-grid-export-cycle {
  0%,
  28% {
    opacity: 0;
  }

  34%,
  52% {
    opacity: 1;
  }

  58%,
  100% {
    opacity: 0;
  }
}

@keyframes badge-grid-import-cycle {
  0%,
  79% {
    opacity: 0;
  }

  84%,
  100% {
    opacity: 1;
  }
}

@keyframes battery-level-grid {
  0%,
  79% {
    transform: scaleX(0.2);
  }

  90% {
    transform: scaleX(0.65);
  }

  100% {
    transform: scaleX(0.9);
  }
}

@keyframes battery-color-grid {
  0%,
  33%,
  57%,
  100% {
    fill: rgba(255, 126, 126, 0.95);
  }

  36%,
  54% {
    fill: rgba(198, 126, 255, 0.95);
  }
}

@keyframes home-status-fill-cycle {
  0%,
  22% {
    transform: scaleX(0.42);
  }

  34%,
  78% {
    transform: scaleX(0.98);
  }

  100% {
    transform: scaleX(0.72);
  }
}

@keyframes status-line-1 {
  0%,
  2% { opacity: 0; }
  4%,
  20% { opacity: 1; }
  22%,
  100% { opacity: 0; }
}

@keyframes status-line-2 {
  0%,
  18% { opacity: 0; }
  20%,
  36% { opacity: 1; }
  38%,
  100% { opacity: 0; }
}

@keyframes status-line-3 {
  0%,
  34% { opacity: 0; }
  36%,
  52% { opacity: 1; }
  54%,
  100% { opacity: 0; }
}

@keyframes status-line-4 {
  0%,
  50% { opacity: 0; }
  52%,
  68% { opacity: 1; }
  70%,
  100% { opacity: 0; }
}

@keyframes status-line-5 {
  0%,
  66% { opacity: 0; }
  68%,
  84% { opacity: 1; }
  86%,
  100% { opacity: 0; }
}

@keyframes status-line-6 {
  0%,
  82% { opacity: 0; }
  84%,
  100% { opacity: 1; }
}

.trust-grid,
.grid-3,
.grid-4 {
  display: grid;
  gap: 0.8rem;
}

.grid-3 > *,
.grid-4 > *,
.stats-grid > *,
.process-grid > *,
.contact-grid > *,
.spec-grid > *,
.proof-hub > * {
  min-width: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat-card {
  background: #f0f6ff;
  border: 1px solid #d2e2f8;
  border-radius: 14px;
  padding: 0.8rem;
  text-align: center;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #123f72;
  line-height: 1.1;
}

.stat-label {
  margin-top: 0.2rem;
  color: #325985;
  font-weight: 600;
  font-size: 0.88rem;
}

.trust-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-pill {
  background: #eaf3ff;
  border: 1px solid #cfe2fa;
  color: #21466f;
  border-radius: 12px;
  padding: 0.6rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.section {
  padding: 1.35rem 0 1.05rem;
}

.section.section-seo {
  padding-top: 0.85rem;
  padding-bottom: 0.65rem;
}

.section-block {
  padding: clamp(1rem, 1.3vw, 1.35rem);
}

.edge-section {
  border: 1px solid #b8d3fb;
  background:
    linear-gradient(135deg, rgba(9, 45, 105, 0.98) 0%, rgba(13, 68, 148, 0.97) 52%, rgba(18, 94, 191, 0.96) 100%);
  color: #eaf3ff;
  box-shadow: 0 24px 44px rgba(7, 31, 79, 0.32);
}

.edge-section .kicker,
.edge-section h2 {
  color: #ffffff;
}

.edge-section .section-intro {
  color: #d8e8ff;
}

.edge-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.edge-card {
  border: 1px solid rgba(172, 209, 255, 0.42);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.07) 100%);
  padding: 0.85rem;
}

.edge-card strong {
  display: block;
  font-size: 0.93rem;
  margin-bottom: 0.2rem;
  color: #ffffff;
}

.edge-card p {
  margin: 0;
  color: #d8e8ff;
  font-size: 0.9rem;
}

.signal-bar {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.signal-chip {
  border: 1px solid rgba(176, 213, 255, 0.5);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: rgba(255, 255, 255, 0.12);
  color: #e8f2ff;
  font-weight: 700;
  font-size: 0.78rem;
}

.seo-keyword-block {
  background: #f7fbff;
  border: 1px solid #cfe0f5;
}

.keyword-chip-row {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.keyword-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: #eaf3ff;
  border: 1px solid #cfe2fa;
  color: #1e4772;
  font-size: 0.8rem;
  font-weight: 700;
}

.lead-offer {
  border: 2px solid #c5dcfa;
  background: linear-gradient(180deg, #f5faff 0%, #eef5ff 100%);
}

.savings-block {
  border: 2px solid #b8d7ff;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.savings-stat-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

.savings-stat-card {
  background: #fff;
  border: 1px solid #cfe2fa;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 0.8rem;
}

.savings-stat-card h3 {
  margin: 0 0 0.25rem;
  color: #0d4ea3;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.savings-stat-card p {
  margin: 0;
  color: #2c4e75;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.home-intro {
  border: 1px solid #cfe0f6;
  background: #ffffff;
}

.home-intro h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.trust-bar {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.trust-chip {
  background: #edf5ff;
  border: 1px solid #cfe2fa;
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
  text-align: center;
  color: #1f466f;
  font-weight: 700;
  font-size: 0.88rem;
}

.promise-list {
  columns: 2;
  column-gap: 1.2rem;
  margin-top: 0.65rem;
  list-style: none;
  padding-left: 0;
}

.promise-list li {
  position: relative;
  padding-left: 1.25rem;
}

.promise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 0.88rem;
  height: 0.88rem;
  background-image: var(--icon-battery);
  background-repeat: no-repeat;
  background-size: contain;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 1rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-card h3::before,
.spec-card h3::before,
.process-step h3::before,
.product-card h3::before,
.proof-item h3::before {
  content: "";
  width: 0.96rem;
  height: 0.96rem;
  display: inline-block;
  margin-right: 0.34rem;
  vertical-align: -0.12rem;
  background-repeat: no-repeat;
  background-size: contain;
}

.feature-card h3::before {
  background-image: var(--icon-solar);
}

.grid-3 .feature-card:nth-child(2n) h3::before {
  background-image: var(--icon-battery);
}

.grid-3 .feature-card:nth-child(3n) h3::before {
  background-image: var(--icon-bolt);
}

.grid-4 .feature-card:nth-child(2n) h3::before {
  background-image: var(--icon-plug);
}

.spec-card h3::before {
  background-image: var(--icon-battery);
}

.process-step h3::before {
  background-image: var(--icon-bolt);
}

.product-card h3::before {
  background-image: var(--icon-solar);
}

.proof-item h3::before {
  background-image: var(--icon-check);
}

.feature-card p,
.spec-card p,
.process-step p,
.product-card p {
  overflow-wrap: anywhere;
}

th,
td,
label {
  overflow-wrap: anywhere;
}

.feature-card:hover,
.product-card:hover,
.price-card:hover,
.proof-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(13, 33, 63, 0.12), 0 0 0 1px rgba(88, 151, 253, 0.28) inset;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.process-grid--journey {
  position: relative;
  isolation: isolate;
}

.process-grid--journey::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  top: 1rem;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(23, 96, 205, 0.08) 0%,
      rgba(22, 138, 232, 0.65) 48%,
      rgba(23, 96, 205, 0.08) 100%
    );
  background-size: 220% 100%;
  animation: journey-flow 7s linear infinite;
  z-index: 0;
}

.process-grid--journey .process-step {
  position: relative;
  z-index: 1;
}

@keyframes journey-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

.process-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.9rem;
}

.process-step .step-no {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #1f62b2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 0.95rem;
}

.product-card h3 {
  margin-bottom: 0.35rem;
}

.product-card p {
  margin: 0 0 0.55rem;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.tag {
  background: #edf5ff;
  border: 1px solid #cee0f7;
  color: #1f4a77;
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.list-tight {
  margin: 0.35rem 0 0;
  padding-left: 0;
  color: #204466;
  list-style: none;
}

.list-tight li {
  margin: 0.2rem 0;
  font-size: 0.92rem;
  position: relative;
  padding-left: 1.3rem;
}

.list-tight li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 0.86rem;
  height: 0.86rem;
  background-image: var(--icon-bolt);
  background-repeat: no-repeat;
  background-size: contain;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.price-card img {
  display: block;
  max-width: 100%;
  max-height: clamp(120px, 22vw, 200px);
  width: auto;
  height: auto;
  margin: 0 auto 0.65rem;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #f3f6fb;
}

.price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0.25rem 0 0.55rem;
}

.price-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.best-for {
  margin: 0.25rem 0 0.45rem;
  font-size: 0.84rem;
  color: #1f4a77;
  font-weight: 700;
}

.highlight {
  border: 2px solid #2a7ee0;
  position: relative;
}

.highlight::before {
  content: "Most Popular";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #2a7ee0;
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
}

.mini-banner {
  margin-top: 0.9rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: linear-gradient(90deg, #f2f8ff 0%, #ebf6ff 100%);
  border: 1px solid #cddff8;
  color: #1f446d;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.proof-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

/* Four guide tiles: 2x2 on tablet, 4-up on wide screens */
.proof-hub.proof-hub--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 981px) {
  .proof-hub.proof-hub--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Five guide tiles: responsive columns without awkward orphans */
.proof-hub.proof-hub--five {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.proof-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 0.9rem;
}

.proof-item h3 {
  margin-bottom: 0.3rem;
}

.proof-item p {
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.brochure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.brochure-card {
  margin: 0;
  background: #f4f6f8;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.brochure-card img {
  display: block;
  width: 100%;
  height: auto;
}

.brochure-page {
  display: grid;
  gap: 0.7rem;
}

.brochure-page-media {
  margin-top: 0.35rem;
  padding: 0.6rem;
  background: #f4f6f8;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.brochure-page-media img {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.feature-card img {
  display: block;
  max-width: 100%;
  max-height: clamp(140px, 28vw, 240px);
  width: auto;
  height: auto;
  margin: 0 auto 0.7rem;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #f3f6fb;
}

.checklist {
  margin: 0.5rem 0 0;
  padding-left: 0;
  list-style: none;
}

.checklist li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1.35rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.09rem;
  width: 0.9rem;
  height: 0.9rem;
  background-image: var(--icon-solar);
  background-repeat: no-repeat;
  background-size: contain;
}

.full-banner {
  margin-top: 0.9rem;
  border-radius: 16px;
  overflow: hidden;
}

.savings-block .full-banner.full-banner--svg {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

.full-banner img {
  display: block;
  max-width: 100%;
  max-height: min(440px, 58vw);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  background: #eef2f8;
}

.full-banner--clenergy img {
  width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
}

/* Solar pump page: site illustration (object-fit contain) */
.pump-illustration {
  text-align: center;
  padding: 1rem 0.5rem;
  background: #f0f6ff;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.pump-illustration img {
  display: block;
  max-width: min(100%, 720px);
  max-height: min(320px, 45vh);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.full-banner.full-banner--svg img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: min(78svh, 960px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  min-width: 640px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.spec-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 0.9rem;
}

.spec-accordion {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 0.7rem;
  overflow: hidden;
}

.spec-accordion summary {
  cursor: default;
  padding: 0.75rem 0.85rem;
  font-weight: 700;
  color: #143a67;
  background: #eef4ff;
  list-style: none;
  pointer-events: none;
}

.spec-accordion summary::-webkit-details-marker {
  display: none;
}

.spec-accordion > div {
  padding: 0.8rem 0.85rem;
}

.icon-points-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.icon-point-card {
  border: 1px solid #c9dcf8;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  padding: 0.78rem;
}

.icon-point-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 28px;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #1b6fdd 0%, #0c58c9 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.icon-point-card h3 {
  margin-top: 0.55rem;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
  color: #153d6a;
}

.icon-point-card p {
  margin: 0;
  color: #2d4f74;
  font-size: 0.93rem;
  line-height: 1.45;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

th,
td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.93rem;
}

th {
  background: #edf4ff;
  color: #143a67;
}

.contact-box {
  padding: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.offgrid-calc-box {
  margin-top: 1rem;
  border: 1px solid #cde0fb;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
  padding: 0.85rem;
}

.offgrid-appliance-tools {
  margin-top: 0.45rem;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr;
  gap: 0.55rem;
}

.offgrid-calc-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.85fr 0.55fr 0.8fr 0.42fr;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.offgrid-calc-head {
  font-weight: 700;
  color: #20466f;
  font-size: 0.86rem;
}

.offgrid-calc-results {
  margin-top: 0.8rem;
  padding: 0.65rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #cfe0f5;
}

.offgrid-calc-results p {
  margin: 0.2rem 0;
  color: #23496f;
}

.offgrid-calc-meta-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.offgrid-remove-row {
  border: 1px solid #b8cff1;
  border-radius: 10px;
  background: #ffffff;
  color: #2d5f99;
  cursor: pointer;
  font-weight: 800;
}

.offgrid-remove-row:hover {
  background: #edf5ff;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d8f0;
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #76a5eb;
  box-shadow: 0 0 0 3px rgba(19, 96, 199, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.2rem 0 1.8rem;
  border-top: 1px solid var(--border);
  color: #3f5776;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(242, 247, 255, 0.78) 100%);
}

.site-footer a {
  color: #1f5fb6;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.site-footer .container {
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .brand img {
    width: min(460px, 86vw);
    max-height: 118px;
  }

  .nav a {
    font-size: 0.82rem;
    padding: 0.38rem 0.55rem;
  }

  .hero-grid,
  .grid-3,
  .grid-4,
  .icon-points-grid,
  .edge-grid,
  .stats-grid,
  .process-grid,
  .proof-hub,
  .brochure-grid,
  .spec-grid,
  .price-cards,
  .product-grid,
  .trust-grid,
  .trust-bar,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem;
    padding-bottom: 0.15rem;
    justify-self: stretch;
  }

  .nav-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav nav";
    padding: 0.65rem 0 0.55rem;
  }

  .brand {
    justify-self: start;
  }

  .brand img {
    width: 250px;
    max-height: 70px;
  }

  .nav a {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.34rem 0.55rem;
    min-height: 34px;
  }

  .nav-row > .btn {
    display: none;
  }

  .hero-grid,
  .grid-3,
  .grid-4,
  .icon-points-grid,
  .edge-grid,
  .stats-grid,
  .process-grid,
  .proof-hub,
  .brochure-grid,
  .price-cards,
  .product-grid,
  .trust-grid,
  .trust-bar,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.9rem;
  }

  .offgrid-calc-grid {
    grid-template-columns: 1fr;
  }

  .offgrid-calc-head {
    display: none;
  }

  .process-grid--journey::before {
    display: none;
  }

  .offgrid-appliance-tools,
  .offgrid-calc-meta-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .promise-list {
    columns: 1;
  }

  .hero-showcase {
    display: grid;
    height: min(45svh, 320px);
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 1rem 0 0.85rem;
  }

  .section-block {
    padding: 0.9rem;
  }

  .mini-banner {
    padding: 0.65rem;
    font-size: 0.92rem;
  }

  .hero-showcase {
    min-height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
