/* KINNEX Energy: the KINNEX palette and type, dark, with an energy-green accent. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #06090d;
  --carbon: #0b1118;
  --surface: #111c27;
  --surface-2: #162434;
  --line: rgb(255 255 255 / 0.1);
  --paper: #f5f7fa;
  --white: #fff;
  --muted: #9aabb9;
  --brand: #0058e6;
  --brand-lift: #2f7bff;
  --signal: #36d7ff;
  --green: #77f2b1;
  --gold: #f4c506;
  --radius: 16px;
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --maxw: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: #dfe7ee;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--signal);
  text-underline-offset: 0.2em;
}
a:hover {
  color: #8fe9ff;
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus {
  left: 0;
}
.wrap {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 750;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: #c4d1dc;
  max-width: 40rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9rem;
}

/* ---- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(6 9 13 / 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand img {
  height: 22px;
  width: auto;
}
.brand span {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  border-left: 1px solid var(--line);
  padding-left: 0.7rem;
}
.nav {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 0.2rem;
}
.nav a {
  color: #d3dde6;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
  background: rgb(255 255 255 / 0.07);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand-lift);
  color: #fff;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn:hover {
  background: #4a8cff;
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border-color: rgb(255 255 255 / 0.28);
}
.btn--ghost:hover {
  background: rgb(255 255 255 / 0.08);
}
.btn--green {
  background: var(--green);
  color: #04130c;
}
.btn--green:hover {
  background: #98f7c4;
  color: #04130c;
}
.nav .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  margin-left: 0.4rem;
}
.menu {
  margin-left: auto;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu[open] summary {
  background: rgb(255 255 255 / 0.08);
}
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 68px;
  background: var(--carbon);
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 1rem 1.2rem;
  max-height: calc(100svh - 68px);
  overflow: auto;
}
.menu-panel a {
  display: block;
  color: #e6edf3;
  text-decoration: none;
  padding: 0.8rem 0.4rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.menu-panel .btn {
  margin-top: 1rem;
  width: 100%;
  border: 0;
}
@media (min-width: 980px) {
  .nav {
    display: flex;
  }
  .menu {
    display: none;
  }
}

/* ---- Hero ------------------------------------------------------------------- */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(60% 80% at 85% 10%, rgb(47 123 255 / 0.22), transparent 60%),
    radial-gradient(50% 60% at 5% 90%, rgb(119 242 177 / 0.1), transparent 60%);
}
.hero-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}
.hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 1.4rem;
}
.hero .ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #b9c8d4;
  font-size: 0.95rem;
}
.hero .ticks li::before {
  content: "✓";
  color: var(--green);
  margin-right: 0.45rem;
  font-weight: 800;
}
.hero-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.55);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }
}

/* ---- Sections ------------------------------------------------------------------ */
section {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
}
.section--alt {
  background: var(--carbon);
  border-block: 1px solid var(--line);
}
.section-head {
  max-width: 44rem;
  margin-bottom: 2.2rem;
}
.grid {
  display: grid;
  gap: 1.2rem;
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 {
  margin-bottom: 0.4em;
}
.card p:last-child {
  margin-bottom: 0;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgb(119 242 177 / 0.12);
  color: var(--green);
  margin-bottom: 1rem;
}
.icon svg {
  width: 24px;
  height: 24px;
}
.product {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.product:hover {
  transform: translateY(-3px);
  border-color: rgb(54 215 255 / 0.5);
  color: inherit;
}
.product img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.product .body {
  padding: 1.3rem 1.4rem 1.5rem;
}
.product .tag {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product .more {
  color: var(--signal);
  font-weight: 600;
  margin-top: 0.6rem;
  display: inline-block;
}
.steps {
  counter-reset: s;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: s;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--signal);
  margin-bottom: 0.4rem;
}
.steps h3 {
  margin-bottom: 0.3em;
}

/* ---- Tables ------------------------------------------------------------------------ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.97rem;
}
th,
td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  background: var(--surface-2);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td.good {
  color: var(--green);
}
.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.9rem;
}

/* ---- Two column feature ------------------------------------------------------------- */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split img {
  border-radius: 18px;
  border: 1px solid var(--line);
  width: 100%;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.checks li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.6rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg) translateY(-50%);
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
  }
  .split--flip > :first-child {
    order: 2;
  }
}

/* ---- FAQ ------------------------------------------------------------------------------ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 0.7rem;
}
.faq summary {
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 650;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--signal);
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq .ans {
  padding: 0 1.3rem 1.2rem;
  color: #c4d1dc;
}

/* ---- CTA band + form ----------------------------------------------------------------------- */
.cta-band {
  background:
    linear-gradient(135deg, rgb(0 88 230 / 0.35), rgb(54 215 255 / 0.12)), var(--surface);
  border: 1px solid rgb(54 215 255 / 0.28);
  border-radius: 24px;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 {
  margin-bottom: 0.3em;
}
.cta-band p {
  margin: 0;
  color: #d3dde6;
}
.form {
  display: grid;
  gap: 1rem;
}
.form .row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form .row {
    grid-template-columns: 1fr 1fr;
  }
}
label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #dfe7ee;
  margin-bottom: 0.35rem;
}
input,
select,
textarea {
  width: 100%;
  background: #0a121b;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 12px;
  color: #fff;
  font: inherit;
  padding: 0.8rem 0.95rem;
}
textarea {
  min-height: 8rem;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--signal);
  border-color: transparent;
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 400;
  color: #b9c8d4;
}
.check input {
  width: auto;
  margin-top: 0.3rem;
}
.status {
  min-height: 1.4em;
  font-size: 0.97rem;
}
.status.err {
  color: #ff9a8a;
}
.status.ok {
  color: var(--green);
}
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list b {
  display: block;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

/* ---- Calculator ---------------------------------------------------------------------------------- */
.calc {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .calc {
    grid-template-columns: 1.1fr 1fr;
  }
}
.calc .appl {
  display: grid;
  grid-template-columns: 1fr 5.5rem;
  gap: 0.6rem 1rem;
  align-items: center;
}
.calc .appl span small {
  display: block;
  color: var(--muted);
}
.result {
  position: sticky;
  top: 90px;
  align-self: start;
}
.result .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--green);
  line-height: 1.1;
}
.result dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  margin: 1rem 0;
}
.result dt {
  color: var(--muted);
}
.result dd {
  margin: 0;
  color: #fff;
  font-weight: 650;
  text-align: right;
}

/* ---- Article ---------------------------------------------------------------------------------------- */
.prose {
  max-width: 44rem;
}
.prose h2 {
  margin-top: 2.2rem;
  font-size: 1.7rem;
}
.prose h3 {
  margin-top: 1.6rem;
}
.prose ul,
.prose ol {
  padding-left: 1.3rem;
}
.prose li {
  margin-bottom: 0.45rem;
}
.crumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.crumbs a {
  color: var(--muted);
}
.page-head {
  padding: clamp(2.2rem, 5vw, 4rem) 0 1rem;
  background: radial-gradient(60% 90% at 90% 0%, rgb(47 123 255 / 0.18), transparent 60%);
}

/* ---- Footer ---------------------------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--carbon);
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}
.foot-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.site-footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 0.45rem;
}
.site-footer a {
  color: #d3dde6;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.legal {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.45);
}
.wa svg {
  width: 28px;
  height: 28px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .product {
    transition: none;
  }
}
