:root {
  --bg: #f2f3ef;
  --dark: #111512;
  --muted: #6e746f;
  --line: rgba(17, 21, 18, .12);
  --acid: #c8ff28;
  --white: #ffffff;

  --radius: 26px;
  --max: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--dark);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}


/* HEADER */

.header {
  width: min(calc(100% - 48px), var(--max));
  height: 84px;

  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
  z-index: 20;
}

.logo {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.logo span {
  color: #668600;
}

.nav {
  display: flex;
  gap: 34px;

  font-size: 14px;
}

.nav a {
  opacity: .65;
  transition: .25s;
}

.nav a:hover {
  opacity: 1;
}

.header-phone {
  font-weight: 650;
  font-size: 14px;
}


/* BUTTONS */

.btn {
  min-height: 56px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  border: 0;
  border-radius: 50px;

  cursor: pointer;
  font-weight: 650;

  transition:
    transform .25s,
    background .25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--acid);
  color: var(--dark);
}

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

.btn-light {
  background: white;
}

.btn-dark {
  background: #252a26;
  color: white;
}

.full {
  width: 100%;
}


/* HERO */

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100vh - 105px);

  margin: 0 auto 24px;

  background: var(--dark);
  color: white;

  border-radius: 34px;

  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;

  padding: clamp(40px, 6vw, 90px);

  position: relative;
  overflow: hidden;
}

.hero-glow {
  width: 650px;
  height: 650px;

  border-radius: 50%;

  background: rgba(200, 255, 40, .1);
  filter: blur(80px);

  position: absolute;
  right: -200px;
  top: -150px;
}

.eyebrow {
  display: inline-flex;

  padding: 8px 13px;

  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;

  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;

  opacity: .7;

  margin-bottom: 30px;
}

.hero h1,
.custom-hero h1 {
  margin: 0;

  font-size: clamp(54px, 7vw, 108px);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 700;
}

.hero h1 span,
.custom-hero h1 span {
  color: var(--acid);
}

.hero-text {
  max-width: 610px;

  margin: 32px 0;

  font-size: 18px;
  line-height: 1.6;

  color: rgba(255,255,255,.62);
}

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

.hero-metrics {
  display: flex;
  gap: 40px;

  margin-top: 60px;
}

.hero-metrics div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-metrics strong {
  font-size: 18px;
}

.hero-metrics span {
  color: rgba(255,255,255,.45);
  font-size: 12px;
}


/* BATTERY */

.battery-visual {
  min-height: 600px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

.hero-battery-image {
  width: min(470px, 88%);
  height: auto;
  display: block;
  position: relative;
  z-index: 4;
  filter: drop-shadow(0 40px 45px rgba(0, 0, 0, .42));
}

.orbit {
  position: absolute;

  border: 1px solid rgba(200,255,40,.25);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
}

.orbit-two {
  width: 700px;
  height: 340px;

  transform: rotate(30deg);
}

.battery-callout {
  position: absolute;
  z-index: 8;
  width: 205px;
  transform-origin: center;
  scale: 1;
  translate: 0 0;

  padding: 13px 15px;

  border: 1px solid rgba(255,255,255,.11);
  border-radius: 13px;

  background: rgba(17,21,18,.78);
  backdrop-filter: blur(14px);

  animation: battery-callout-life 5.6s ease-in-out infinite;
  transition:
    scale .28s cubic-bezier(.2,.8,.2,1),
    translate .28s cubic-bezier(.2,.8,.2,1),
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.battery-callout:hover {
  z-index: 12;
  scale: 1.045;
  translate: 0 -5px;
  border-color: rgba(200,255,40,.34);
  background: rgba(22,28,22,.94);
  box-shadow:
    0 18px 42px rgba(0,0,0,.32),
    0 0 0 4px rgba(200,255,40,.045);
}

@keyframes battery-callout-life {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -4px, 0);
  }
}

.battery-callout strong,
.battery-callout span {
  display: block;
}

.battery-callout strong {
  color: var(--acid);
  font-size: 13px;
  line-height: 1.25;
}

.battery-callout span {
  margin-top: 5px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  line-height: 1.4;
}

.battery-leaders {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.leader-line {
  fill: none;
  stroke: rgba(200,255,40,.72);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.leader-dot {
  fill: var(--acid);
  stroke: rgba(200,255,40,.18);
  stroke-width: 10;
  paint-order: stroke;
  vector-effect: non-scaling-stroke;
}

.callout-bms {
  right: -14%;
  top: 43%;
  animation-delay: -1.4s;
}

.callout-case {
  right: -6%;
  top: 4%;
  animation-delay: -2.8s;
}

.callout-cells {
  left: -6%;
  bottom: 28%;
  animation-delay: -.7s;
}

.callout-ports {
  right: -4%;
  bottom: 8%;
  animation-delay: -4.2s;
}


/* GENERAL SECTION */

.section {
  width: min(calc(100% - 48px), var(--max));

  min-height: 100vh;

  margin: auto;

  padding: 120px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  margin-bottom: 60px;
}

.section-heading > span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.section-heading h2 {
  width: 70%;

  margin: 0;

  font-size: clamp(42px, 5.4vw, 80px);
  line-height: .95;
  letter-spacing: -.055em;
}

.section-heading em,
.final-cta em {
  color: #767d76;
  font-style: normal;
}


/* SOLUTIONS */

.solution-grid {
  display: grid;

  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, 320px);

  gap: 16px;
}

.solution-card {
  padding: 32px;

  border-radius: var(--radius);

  background: white;

  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: transform .3s;
}

.solution-card:hover {
  transform: translateY(-5px);
}

.solution-card.large {
  grid-row: 1 / 3;

  background: var(--acid);
}

.card-number {
  font-size: 12px;
  opacity: .45;
}

.solution-card h3 {
  font-size: clamp(30px, 4vw, 57px);
  line-height: .96;
  letter-spacing: -.05em;

  margin: 70px 0 20px;
}

.solution-card:not(.large) h3 {
  font-size: 34px;
  margin-top: 30px;
}

.solution-card p {
  max-width: 490px;

  color: rgba(17,21,18,.6);
  line-height: 1.5;
}

.card-link {
  font-weight: 650;
}

.battery-mini {
  position: absolute;

  width: 110px;
  height: 150px;

  right: 25px;
  bottom: -20px;

  border-radius: 12px;

  background:
    linear-gradient(135deg, #2b312c, #111);

  transform: rotate(12deg);
}

.cells {
  position: absolute;
  right: 25px;
  bottom: 25px;

  display: flex;
  gap: 7px;
}

.cells i {
  display: block;

  width: 28px;
  height: 90px;

  border-radius: 20px;

  background:
    linear-gradient(
      to right,
      #1b1f1c,
      #454c46,
      #141714
    );
}


/* ENGINEERING */

.engineering {
  width: min(calc(100% - 48px), var(--max));

  min-height: 100vh;

  margin: 24px auto;

  background: #dfe2da;

  border-radius: 34px;

  padding: clamp(50px, 7vw, 110px);

  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;

  align-items: center;
}

.engineering .eyebrow {
  color: var(--dark);
  border-color: var(--line);
}

.engineering h2 {
  margin: 0 0 30px;

  font-size: clamp(50px, 6vw, 88px);
  line-height: .92;
  letter-spacing: -.06em;
}

.engineering-copy p {
  max-width: 500px;

  font-size: 17px;
  line-height: 1.6;

  color: var(--muted);
}

.text-link {
  display: inline-block;

  margin-top: 25px;

  font-weight: 650;
}

.process-item {
  display: grid;
  grid-template-columns: 65px 1fr;

  padding: 34px 0;

  border-top: 1px solid var(--line);
}

.process-item:last-child {
  border-bottom: 1px solid var(--line);
}

.process-item > span {
  font-size: 12px;
  opacity: .45;
}

.process-item h3 {
  margin: 0 0 10px;

  font-size: 25px;
}

.process-item p {
  margin: 0;

  color: var(--muted);

  line-height: 1.5;
}


/* FINAL */

.final-cta {
  width: min(calc(100% - 48px), var(--max));
  height: min(830px, 92vh);

  margin: 24px auto;

  padding: clamp(45px, 7vw, 100px);

  border-radius: 34px;

  background: var(--acid);

  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
}

.cta-inner {
  max-width: 900px;

  position: relative;
  z-index: 3;
}

.cta-inner > span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-inner h2 {
  margin: 30px 0;

  font-size: clamp(57px, 8vw, 116px);
  line-height: .87;
  letter-spacing: -.07em;
}

.cta-inner p {
  max-width: 560px;

  line-height: 1.55;
  font-size: 18px;

  margin-bottom: 30px;
}

.huge-word {
  position: absolute;

  right: -2%;
  bottom: -8%;

  font-size: 19vw;
  font-weight: 900;

  color: rgba(17,21,18,.055);

  letter-spacing: -.09em;
}


/* FOOTER */

footer {
  width: min(calc(100% - 48px), var(--max));

  min-height: 100px;

  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 13px;
  color: var(--muted);
}


/* CUSTOM PAGE */

.custom-hero {
  width: min(calc(100% - 48px), var(--max));

  min-height: calc(100vh - 105px);

  margin: 0 auto 24px;

  padding: clamp(45px, 7vw, 100px);

  border-radius: 34px;

  background: var(--dark);
  color: white;

  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 80px;

  align-items: center;
}

.custom-copy > p {
  max-width: 570px;

  color: rgba(255,255,255,.55);

  font-size: 18px;
  line-height: 1.6;

  margin: 32px 0;
}

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

.custom-features span {
  padding: 10px 14px;

  border:
    1px solid rgba(255,255,255,.12);

  border-radius: 100px;

  font-size: 12px;
}


/* FORM */

.calculator {
  padding: 34px;

  background: white;
  color: var(--dark);

  border-radius: 24px;
}

.form-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;

  color: var(--muted);
}

.calculator h2 {
  margin: 10px 0 28px;

  font-size: 31px;
  letter-spacing: -.04em;
}

.calculator label {
  display: flex;
  flex-direction: column;

  gap: 8px;

  margin-bottom: 18px;

  font-size: 12px;
  color: var(--muted);
}

.calculator input,
.calculator select {
  width: 100%;

  height: 55px;

  border: 1px solid var(--line);
  border-radius: 12px;

  padding: 0 15px;

  background: #f7f8f5;

  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

.calculator small {
  display: block;

  margin-top: 14px;

  color: var(--muted);
  text-align: center;
}

.form-success {
  display: none;

  padding: 14px;

  margin-top: 15px;

  border-radius: 10px;

  background: #eef8d5;

  font-size: 13px;
  line-height: 1.4;
}


/* SPECS */

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

  gap: 14px;
}

.spec {
  min-height: 330px;

  padding: 28px;

  background: white;

  border-radius: 22px;
}

.spec strong {
  color: #89ad11;
  font-size: 12px;
}

.spec h3 {
  margin-top: 130px;
  margin-bottom: 15px;

  font-size: 26px;
}

.spec p {
  color: var(--muted);
  line-height: 1.5;
}


/* CASES */

.use-cases {
  width: min(calc(100% - 48px), var(--max));

  min-height: 100vh;

  margin: 24px auto;

  padding: clamp(50px, 7vw, 100px);

  border-radius: 34px;

  background: #171b18;
  color: white;
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 12px;
}

.case {
  min-height: 380px;

  padding: 30px;

  border:
    1px solid rgba(255,255,255,.1);

  border-radius: 24px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  transition: .25s;
}

.case:hover {
  background: var(--acid);
  color: var(--dark);
}

.case > span {
  margin-bottom: auto;

  font-size: 12px;
  opacity: .5;
}

.case h3 {
  margin: 0 0 15px;

  font-size: 30px;
  letter-spacing: -.04em;
}

.case p {
  margin: 0;

  line-height: 1.5;

  opacity: .6;
}


/* ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity .7s ease,
    transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* RESPONSIVE */

@media (max-width: 900px) {

  .header {
    width: calc(100% - 28px);
  }

  .nav {
    display: none;
  }

  .hero,
  .custom-hero {
    width: calc(100% - 28px);

    grid-template-columns: 1fr;

    padding: 40px 25px;
  }

  .hero h1,
  .custom-hero h1 {
    font-size: 57px;
  }

  .battery-visual {
    min-height: 460px;
  }

  .hero-battery-image {
    width: min(470px, 68%);
  }

  .section {
    width: calc(100% - 28px);

    min-height: auto;

    padding: 80px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }

  .section-heading h2 {
    width: 100%;
  }

  .solution-grid {
    display: block;
  }

  .solution-card {
    min-height: 330px;
    margin-bottom: 12px;
  }

  .engineering {
    width: calc(100% - 28px);

    grid-template-columns: 1fr;

    gap: 40px;

    padding: 50px 25px;
  }

  .spec-grid,
  .cases {
    grid-template-columns: 1fr;
  }

  .spec {
    min-height: 230px;
  }

  .spec h3 {
    margin-top: 65px;
  }

  .use-cases,
  .final-cta {
    width: calc(100% - 28px);
  }

  .use-cases {
    padding: 60px 25px;
  }

  .final-cta {
    min-height: 670px;
    height: auto;

    padding: 60px 25px;
  }

  .hero-metrics {
    gap: 20px;
    flex-wrap: wrap;
  }

  footer {
    width: calc(100% - 28px);

    flex-direction: column;
    align-items: flex-start;

    padding: 30px 0;
    gap: 10px;
  }

}

@media (max-width: 700px) {

  .battery-visual {
    min-height: 0;
    margin-top: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-battery-image {
    width: min(420px, 82%);
    margin: 0 auto 20px;
    grid-column: 1 / -1;
  }

  .battery-callout {
    position: static;
    width: auto;
    min-height: 96px;
    backdrop-filter: none;
    animation: none;
    scale: 1;
    translate: 0 0;
  }

  .battery-leaders {
    display: none;
  }

}

@media (prefers-reduced-motion: reduce) {

  .battery-callout {
    animation: none;
    transition: none;
  }

}

@media (max-width: 560px) {

  .header-phone {
    font-size: 12px;
  }

  .hero h1,
  .custom-hero h1 {
    font-size: 49px;
  }

  .hero-text {
    font-size: 16px;
  }

  .orbit-one {
    width: 350px;
    height: 350px;
  }

  .orbit-two {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

}
