:root {
  --bg: #f4faf9;
  --panel: #ffffff;
  --ink: #12313b;
  --muted: #667b82;
  --line: #d9e9ea;
  --soft: #eaf7f6;
  --teal: #1aa39a;
  --blue: #0b5f86;
  --amber: #f28c28;
  --red: #d64545;
  --control: #4896ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0, #d9f2f0 0, transparent 30%),
    linear-gradient(180deg, #fbfefe, #eef8f8);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  padding: 14px 24px;
}

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

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  object-fit: contain;
  padding: 3px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue);
  font-size: 21px;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

nav a,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 500;
}

nav a {
  color: #274650;
}

nav a:hover {
  background: #e7f6f5;
  color: var(--blue);
}

.primary {
  background: var(--teal);
  color: #ffffff;
}

.secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--blue);
}

main {
  width: min(100% - 48px, 1640px);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(430px, 1.18fr);
  gap: 12px;
  align-items: stretch;
  min-height: calc(100vh - 68px);
  padding: 24px 0 18px;
}

.hero-copy,
.hero-panel,
.panel,
.split,
.cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 38px rgba(11, 95, 134, 0.07);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
}

.hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero p,
.section p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-chips span {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfc;
  padding: 7px 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 500;
}

.hero-panel {
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}

.product-hero {
  width: min(100%, 1060px);
  height: auto;
  display: block;
  border-radius: 8px;
}

.wide-banner {
  position: relative;
  min-height: 420px;
  margin: 8px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(11, 95, 134, 0.07);
}

.wide-banner img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.banner-copy {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  width: min(520px, 55%);
  gap: 12px;
  padding: 36px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.62), transparent);
}

.banner-copy h2 {
  margin: 0;
  color: var(--blue);
  font-size: 42px;
  font-weight: 950;
  line-height: 1.02;
}

.banner-copy.compact {
  width: min(560px, 48%);
}

.banner-copy.compact h2 {
  font-size: 34px;
}

.banner-copy p {
  margin: 0;
  color: #3f5961;
  font-size: 15px;
  line-height: 1.55;
}

.product-card {
  display: grid;
  gap: 12px;
}

.product-card img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(11, 95, 134, 0.07);
}

.view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.view-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(220px, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(11, 95, 134, 0.07);
  padding: 16px;
}

.view-card img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfc;
}

.view-card small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.view-card h3 {
  margin: 8px 0;
  color: #12313b;
  font-size: 24px;
}

.view-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.flow-card {
  display: grid;
  grid-template-columns: 1fr 84px 1fr 84px 1fr;
  align-items: center;
  width: 100%;
  min-height: 520px;
}

.flow-node {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
}

.flow-node img {
  width: min(170px, 80%);
  height: 140px;
  object-fit: contain;
}

.flow-node strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.flow-node span {
  color: var(--muted);
  font-size: 12px;
}

.flow-node::before {
  content: "";
  width: 132px;
  height: 132px;
  grid-area: 1 / 1;
  border: 4px solid var(--blue);
  border-radius: 50%;
  background: #ffffff;
  filter: drop-shadow(0 18px 34px rgba(11, 95, 134, 0.12));
}

.flow-node > * {
  grid-area: 1 / 1;
}

.flow-node strong,
.flow-node span {
  grid-area: auto;
}

.flow-node.solar::before {
  border-color: var(--amber);
}

.flow-node.gateway::before {
  border-color: var(--blue);
}

.flow-node.load::before {
  border-color: var(--teal);
}

.flow-line {
  height: 8px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--control) 0 16px, transparent 16px 30px);
  animation: flow 1.4s linear infinite;
}

@keyframes flow {
  to { background-position: 30px 0; }
}

.section {
  padding: 24px 0;
}

.section-title {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.section h2 {
  margin: 0;
  color: #12313b;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.05;
}

.grid {
  display: grid;
  gap: 12px;
}

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

.export-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-lead {
  background: linear-gradient(180deg, #ffffff, #eef9f8);
}

.feature-lead h3 {
  color: var(--blue);
  font-size: 24px;
}

.panel {
  padding: 18px;
}

.panel small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.panel h3 {
  margin: 10px 0 8px;
  color: #12313b;
  font-size: 18px;
}

.panel p {
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.platform-section {
  grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 1.28fr);
  background: #ffffff;
}

.cloud-copy {
  display: grid;
  gap: 14px;
}

.cloud-banner-img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(11, 95, 134, 0.07);
}

.feature-list {
  display: grid;
  gap: 8px;
}

.feature-list div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfc;
  padding: 9px 10px;
}

.feature-list span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.feature-list b {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 24px;
  text-align: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(100% - 48px, 1640px);
  margin: 0 auto;
  padding: 20px 0 28px;
  color: var(--muted);
  font-size: 12px;
}

footer a {
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 920px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .three,
  .split,
  .view-grid,
  .view-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .wide-banner,
  .wide-banner img {
    min-height: 520px;
  }

  .banner-copy {
    align-content: end;
    width: 100%;
    padding: 22px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.68), transparent);
  }

  .banner-copy h2 {
    font-size: 31px;
  }

  .flow-card {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
  }

  .flow-line {
    width: 8px;
    height: 52px;
    justify-self: center;
    background: repeating-linear-gradient(180deg, var(--control) 0 16px, transparent 16px 30px);
  }
}
