:root {
  --ink: #12231c;
  --muted: #61756b;
  --surface: #f5fbf7;
  --surface-strong: #e8f4ee;
  --white: #ffffff;
  --green: #1ca55a;
  --green-dark: #0d5b3a;
  --cyan: #27c7d3;
  --coral: #ef6a5b;
  --lime: #d8f46a;
  --line: #d8e6de;
  --shadow: 0 20px 54px rgba(18, 35, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

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

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

.hero {
  min-height: 84svh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 20, 14, 0.86), rgba(5, 20, 14, 0.5) 45%, rgba(5, 20, 14, 0.08)),
    linear-gradient(0deg, rgba(5, 20, 14, 0.62), rgba(5, 20, 14, 0.06) 34%),
    url("assets/hero-chargers.png") center / cover no-repeat;
}

.hero__content,
.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero__content {
  min-height: 84svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 0 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.site-nav__links,
.nav-cta,
.button,
.metric-card,
.contact__details span {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #092119;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  box-shadow: 0 14px 26px rgba(39, 199, 211, 0.28);
}

.site-nav__links {
  gap: 26px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 29, 21, 0.32);
  backdrop-filter: blur(16px);
}

.site-nav__links a {
  font-size: 0.95rem;
}

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

.nav-cta {
  min-height: 44px;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(216, 244, 106, 0.55);
  border-radius: 8px;
  color: var(--lime);
  background: rgba(8, 29, 21, 0.34);
}

.nav-cta svg,
.button svg,
.metric-card svg,
.solution-card svg,
.check-list svg,
.plan-card svg,
.contact__details svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero__copy {
  width: min(650px, 100%);
  margin-top: 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 4.65rem;
  line-height: 0.98;
  font-weight: 850;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.75rem;
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 580px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
}

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

.button {
  min-height: 48px;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button--primary {
  color: #071d15;
  background: var(--lime);
  box-shadow: 0 16px 30px rgba(216, 244, 106, 0.26);
}

.button--secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.snapshot {
  padding: 22px 0 68px;
}

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

.metric-card {
  min-height: 74px;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(18, 35, 28, 0.07);
  font-weight: 800;
}

.metric-card svg {
  color: var(--green);
}

.section {
  padding: 86px 0;
}

.section--split {
  background: var(--ink);
  color: var(--white);
}

.section--process {
  background: var(--surface-strong);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--split .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.section-heading--left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

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

.solution-card,
.plan-card,
.dashboard,
.calculator,
.contact-form,
.process-list li {
  border-radius: 8px;
}

.solution-card,
.plan-card {
  min-height: 255px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(18, 35, 28, 0.08);
}

.solution-card svg,
.plan-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--green);
}

.solution-card p,
.plan-card p,
.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-layout,
.calculator-layout,
.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.check-list svg {
  color: var(--cyan);
}

.dashboard {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(39, 199, 211, 0.15), rgba(216, 244, 106, 0.08)),
    #173127;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.dashboard__topbar,
.dashboard__main,
.dashboard__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard__topbar {
  padding-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.status-dot {
  padding: 4px 10px;
  border-radius: 8px;
  color: #082119;
  background: var(--lime);
  font-size: 0.84rem;
  font-weight: 800;
}

.dashboard__main {
  align-items: stretch;
}

.dashboard__main > div {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard__label,
.calc-result span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.dashboard strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
}

.dashboard small {
  color: rgba(255, 255, 255, 0.62);
}

.charge-bars {
  height: 190px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin: 22px 0;
  padding: 18px;
  border-radius: 8px;
  background: rgba(2, 14, 10, 0.24);
}

.charge-bars span {
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--green));
}

.dashboard__footer {
  color: rgba(255, 255, 255, 0.72);
}

.dashboard__footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.calculator {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbdcd4;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

input,
select {
  min-height: 48px;
  padding: 0 12px;
}

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

input[type="range"] {
  min-height: 32px;
  padding: 0;
  accent-color: var(--green);
}

.range-value {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.calc-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 8px;
}

.calc-result div {
  min-height: 104px;
  padding: 16px;
  border-radius: 8px;
  background: #103225;
}

.calc-result strong {
  display: block;
  margin-top: 8px;
  color: var(--lime);
  font-size: 1.3rem;
}

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

.plan-card {
  min-height: 315px;
}

.plan-card--featured {
  border-color: rgba(28, 165, 90, 0.5);
  background: linear-gradient(180deg, #ffffff, #effaf3);
}

.plan-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-card__header h3 {
  margin-bottom: 18px;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 22px 0 0;
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.process-list span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--coral);
  font-size: 0.95rem;
  font-weight: 850;
}

.contact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(28, 165, 90, 0.2), rgba(239, 106, 91, 0.08)),
    #10231c;
}

.contact .eyebrow {
  color: var(--lime);
}

.contact__copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
}

.contact__details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact__details span {
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.contact__details svg {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.footer {
  padding: 26px 0;
  background: #0a1712;
  color: rgba(255, 255, 255, 0.74);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand--footer {
  color: var(--white);
}

.footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .site-nav__links {
    display: none;
  }

  .snapshot__grid,
  .solution-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .calculator-layout,
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 78svh;
    background-position: 58% center;
  }

  .hero__content {
    min-height: 78svh;
    width: min(100% - 28px, 1180px);
    padding: 18px 0 28px;
  }

  .nav-cta {
    display: none;
  }

  .brand {
    font-size: 1.1rem;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .hero__copy {
    margin-top: 56px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .snapshot {
    padding-top: 16px;
  }

  .snapshot__grid,
  .solution-grid,
  .calc-result,
  .process-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .solution-card {
    min-height: auto;
  }

  .dashboard__main,
  .dashboard__footer,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
