:root {
  color-scheme: dark;
  --bg: #06100f;
  --bg-deep: #030706;
  --ink: #f5fbf8;
  --muted: #9bb1aa;
  --quiet: #60746f;
  --line: rgba(223, 255, 245, 0.13);
  --panel: rgba(8, 20, 18, 0.76);
  --panel-solid: #0b1715;
  --cyan: #16e3ff;
  --blue: #2f79ff;
  --green: #35f18f;
  --amber: #ffb34c;
  --danger: #ff5f57;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(3, 7, 6, 0.74), var(--bg-deep) 72%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

#grid-canvas {
  inset: 0;
  opacity: 0.56;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  align-items: center;
  background: rgba(3, 8, 7, 0.42);
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(18px, 4vw, 46px);
  position: fixed;
  top: 0;
  transition: background 0.2s ease, border-color 0.2s ease, padding 0.2s ease;
  width: 100%;
  z-index: 20;
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  background: rgba(3, 8, 7, 0.86);
  border-color: rgba(22, 227, 255, 0.2);
  padding-block: 14px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 150px;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(22, 227, 255, 0.24), rgba(53, 241, 143, 0.12));
  border: 1px solid rgba(22, 227, 255, 0.44);
  border-radius: var(--radius);
  box-shadow: 0 0 24px rgba(22, 227, 255, 0.16);
  color: var(--green);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  width: 40px;
}

.brand-text {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.5vw, 34px);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  display: none;
  height: 42px;
  position: relative;
  width: 42px;
}

.nav-toggle span {
  background: currentColor;
  height: 2px;
  left: 11px;
  position: absolute;
  transition: transform 0.2s ease;
  width: 18px;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  align-items: center;
  display: flex;
  min-height: min(780px, calc(100svh - 64px));
  overflow: hidden;
  padding: 118px clamp(22px, 7vw, 100px) 72px;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
  z-index: -3;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 7, 6, 0.98) 0%, rgba(3, 7, 6, 0.82) 36%, rgba(3, 7, 6, 0.25) 78%),
    linear-gradient(180deg, rgba(3, 7, 6, 0.18), #030706 98%);
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero-content {
  max-width: 720px;
  width: min(100%, 720px);
}

.eyebrow {
  border-left: 2px solid var(--green);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
  padding-left: 12px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4.2rem, 13vw, 9.5rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--cyan);
  font-size: clamp(1.18rem, 2.2vw, 1.58rem);
  font-weight: 800;
  margin: 20px 0 8px;
}

.hero-copy {
  color: #c9d8d5;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  margin: 0;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 48px;
  padding: 14px 20px;
  text-transform: uppercase;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--cyan) 48%, var(--blue));
  border: 0;
  box-shadow: 0 16px 36px rgba(22, 227, 255, 0.22);
  color: #02100d;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(223, 255, 245, 0.18);
  color: var(--ink);
}

.metrics {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.metric {
  background: rgba(8, 20, 18, 0.72);
  min-height: 132px;
  padding: 26px;
}

.metric + .metric {
  border-left: 1px solid var(--line);
}

.metric strong {
  color: var(--cyan);
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 950;
  line-height: 1;
  margin-bottom: 10px;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 90px clamp(22px, 4vw, 34px);
}

.section-heading {
  margin-bottom: 38px;
  max-width: 760px;
}

.section-heading.compact {
  max-width: 620px;
}

h2,
h3,
p {
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  margin: 0 0 18px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0;
}

.section-heading p,
.section-copy p,
.regulatory-copy p,
.cta-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
  max-width: 720px;
}

.solution-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 392px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.solution-card:hover {
  background: rgba(10, 25, 22, 0.88);
  border-color: rgba(22, 227, 255, 0.36);
  transform: translateY(-3px);
}

.icon-box {
  align-items: center;
  background: rgba(22, 227, 255, 0.08);
  border: 1px solid rgba(22, 227, 255, 0.18);
  border-radius: var(--radius);
  color: var(--cyan);
  display: flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 22px;
  width: 48px;
}

.icon-box svg {
  fill: none;
  height: 27px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 27px;
}

.solution-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 12px 0 18px;
}

.solution-card ul {
  color: #c2d4cf;
  display: grid;
  font-size: 0.86rem;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.solution-card li {
  align-items: center;
  display: flex;
  gap: 8px;
}

.solution-card li::before {
  background: var(--green);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 6px;
  width: 6px;
}

.split-section {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 0.9fr;
}

.section-copy h2 {
  max-width: 650px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-list span {
  background: rgba(53, 241, 143, 0.08);
  border: 1px solid rgba(53, 241, 143, 0.2);
  border-radius: 999px;
  color: #dfffee;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 12px;
}

.system-panel {
  background: rgba(3, 9, 8, 0.78);
  border: 1px solid rgba(22, 227, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.panel-header span,
.panel-header small {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-header small {
  color: var(--green);
}

.power-map {
  height: 340px;
  position: relative;
}

.map-node {
  align-items: center;
  background: rgba(11, 23, 21, 0.92);
  border: 1px solid rgba(22, 227, 255, 0.28);
  border-radius: var(--radius);
  display: grid;
  height: 86px;
  justify-items: center;
  position: absolute;
  width: 112px;
}

.map-node strong {
  color: var(--cyan);
  font-size: 1.05rem;
}

.map-node span {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: -12px;
}

.node-source {
  left: 8%;
  top: 38%;
}

.node-board {
  left: 38%;
  top: 18%;
}

.node-load {
  right: 8%;
  top: 48%;
}

.map-line {
  background: linear-gradient(90deg, rgba(53, 241, 143, 0.1), var(--cyan), rgba(47, 121, 255, 0.1));
  height: 2px;
  position: absolute;
  transform-origin: left center;
}

.line-a {
  left: 28%;
  top: 44%;
  transform: rotate(-22deg);
  width: 170px;
}

.line-b {
  left: 59%;
  top: 40%;
  transform: rotate(25deg);
  width: 170px;
}

.panel-readings {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.panel-readings div {
  padding: 16px;
}

.panel-readings div + div {
  border-left: 1px solid var(--line);
}

.panel-readings span {
  color: var(--quiet);
  display: block;
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.panel-readings strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.use-cases {
  border-block: 1px solid var(--line);
  max-width: none;
  padding-inline: 0;
}

.use-cases > * {
  margin-inline: auto;
  max-width: var(--max);
  padding-inline: clamp(22px, 4vw, 34px);
}

.use-case-row {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: clamp(22px, 4vw, 34px);
}

.use-case-row article {
  background: rgba(8, 20, 18, 0.64);
  min-height: 230px;
  padding: 28px;
}

.use-case-row span,
.process-grid span {
  color: rgba(22, 227, 255, 0.34);
  display: block;
  font-size: 2.7rem;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 22px;
}

.use-case-row p,
.process-grid p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 12px 0 0;
}

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

.process-grid article {
  border: 1px solid var(--line);
  min-height: 270px;
  padding: 28px;
}

.process-grid article + article {
  border-left: 0;
}

.regulatory-section {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: 0.95fr 1fr;
}

.regulatory-list {
  display: grid;
  gap: 14px;
}

.regulatory-list div {
  background: rgba(8, 20, 18, 0.76);
  border: 1px solid var(--line);
  border-left-color: rgba(53, 241, 143, 0.52);
  border-radius: var(--radius);
  padding: 20px;
}

.regulatory-list strong {
  display: block;
  margin-bottom: 6px;
}

.regulatory-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-section {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(22, 227, 255, 0.12), transparent 42%),
    rgba(7, 17, 15, 0.9);
  border-block: 1px solid rgba(22, 227, 255, 0.18);
  display: grid;
  gap: 48px;
  grid-template-columns: 0.9fr 1fr;
  margin: 0 auto;
  max-width: none;
  padding: 88px max(clamp(22px, 7vw, 100px), calc((100vw - var(--max)) / 2 + 34px));
}

.contact-form {
  background: rgba(3, 9, 8, 0.76);
  border: 1px solid rgba(22, 227, 255, 0.2);
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  color: #d9e9e4;
  display: grid;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(223, 255, 245, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 46px;
  outline: none;
  padding: 12px 14px;
  text-transform: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select {
  color: var(--ink);
}

.contact-form option {
  background: #07110f;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(22, 227, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(22, 227, 255, 0.08);
}

.contact-form .btn {
  cursor: pointer;
  margin-top: 4px;
  width: 100%;
}

.form-note {
  color: var(--quiet);
  font-size: 0.82rem;
  margin: 0;
}

.site-footer {
  align-items: center;
  background: #020504;
  color: var(--quiet);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  padding: 28px clamp(22px, 7vw, 100px);
}

.site-footer a {
  color: var(--green);
}

@media (max-width: 1050px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .regulatory-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .use-case-row,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid article + article {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: rgba(3, 8, 7, 0.94);
    border: 1px solid rgba(22, 227, 255, 0.22);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    position: absolute;
    right: 18px;
    top: calc(100% + 8px);
    width: min(300px, calc(100vw - 36px));
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 7, 6, 0.96), rgba(3, 7, 6, 0.76)),
      linear-gradient(180deg, rgba(3, 7, 6, 0.1), #030706 98%);
  }

  .metrics,
  .panel-readings {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric + .metric,
  .panel-readings div + div {
    border-left: 0;
  }

  .metric {
    border: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-text {
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.2rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .solution-grid,
  .use-case-row,
  .process-grid,
  .metrics,
  .panel-readings {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .use-case-row article,
  .process-grid article {
    min-height: auto;
  }

  .power-map {
    height: 420px;
  }

  .map-node {
    left: 50%;
    transform: translateX(-50%);
  }

  .node-source {
    top: 8%;
  }

  .node-board {
    top: 38%;
  }

  .node-load {
    right: auto;
    top: 68%;
  }

  .map-line {
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    width: 96px;
  }

  .line-a {
    top: 32%;
  }

  .line-b {
    top: 62%;
  }

  .cta-section {
    padding-block: 70px;
  }
}

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

  #grid-canvas {
    display: none;
  }
}
