:root {
  color-scheme: light;
  --ink: #112e2b;
  --muted: #61756f;
  --brand: #133f39;
  --brand-2: #2c796c;
  --lime: #dafe4d;
  --paper: #ffffff;
  --canvas: #f4f7f1;
  --line: #d9e2da;
  --danger: #b8323e;
  --shadow: 0 18px 60px rgba(17, 59, 53, 0.09);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 1%, rgba(218, 254, 77, 0.19), transparent 28rem),
    linear-gradient(180deg, #fbfcf8 0, var(--canvas) 100%);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  border-bottom: 1px solid rgba(217, 226, 218, 0.9);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--lime);
  border-radius: 13px;
  background: var(--brand);
}

.brand__mark svg {
  width: 21px;
  fill: currentColor;
  stroke: none;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand > span:last-child small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0;
}

.leadplatform-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.035em;
}

.leadplatform-logo > svg {
  width: 36px;
  height: 36px;
  padding: 4px;
  color: var(--lime);
  border-radius: 10px;
  background: var(--brand);
  fill: currentColor;
  stroke: none;
}

.leadplatform-logo > span > span {
  color: var(--brand-2);
}

.global-lead-ad {
  color: white;
  background: var(--brand);
}

.global-lead-ad__inner {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .82rem;
}

.global-lead-ad__inner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-weight: 800;
  white-space: nowrap;
}

.global-lead-ad__inner svg {
  width: 17px;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  color: #48635c;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 0.78rem;
  font-weight: 700;
}

.privacy-pill svg {
  width: 16px;
}

.main {
  padding-block: 54px 72px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 34px;
}

.eyebrow,
.label {
  display: block;
  color: var(--brand-2);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Trebuchet MS", "Aptos Display", "Segoe UI", sans-serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.55rem, 6vw, 4.8rem);
  line-height: 0.99;
}

.intro .eyebrow {
  margin-bottom: 16px;
}

.intro p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
}

.panel--profile {
  grid-column: 1 / -1;
}

.profile-questions,
.project-questions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.choice-field {
  min-width: 0;
  margin: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8faf7;
}

.choice-field legend {
  min-height: 44px;
  padding: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.45;
}

.choice-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.choice-options label {
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid #dce5dc;
  border-radius: 11px;
  background: white;
  font-size: 0.82rem;
  font-weight: 800;
}

.choice-options label:has(input:checked) {
  border-color: var(--brand-2);
  background: rgba(218, 254, 77, 0.35);
  box-shadow: inset 0 0 0 1px var(--brand-2);
}

.choice-options input {
  margin: 0;
  accent-color: var(--brand-2);
}

.panel--profile .validation,
.lead-form .validation {
  color: var(--danger);
}

.panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel--settings {
  color: white;
  border-color: var(--brand);
  background: var(--brand);
}

.panel__heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.step {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--brand);
  border-radius: 12px;
  background: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
}

.panel__heading .label {
  margin-bottom: 3px;
  color: #7b8d87;
}

.panel--settings .panel__heading .label {
  color: #9cb6ae;
}

.panel__heading h2 {
  margin-bottom: 0;
  font-size: 1.52rem;
}

.dropzone {
  display: flex;
  min-height: 235px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  text-align: center;
  border: 2px dashed #cad8cf;
  border-radius: 19px;
  background: #f8faf7;
  transition: 160ms ease;
}

.dropzone:hover,
.dropzone--active {
  border-color: var(--brand-2);
  background: #f1f8eb;
  transform: translateY(-1px);
}

.dropzone--selected {
  border-style: solid;
  border-color: #82a68d;
  background: #f1f8eb;
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.dropzone__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 15px;
  place-items: center;
  color: var(--lime);
  border-radius: 16px;
  background: var(--brand);
}

.dropzone__icon svg {
  width: 23px;
}

.dropzone strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropzone > span:not(.dropzone__icon) {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.dropzone small {
  margin-top: 19px;
  color: #7b8b86;
  font-size: 0.74rem;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  color: #597069;
  font-size: 0.78rem;
  line-height: 1.55;
}

.privacy-note svg {
  width: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--brand-2);
}

.field {
  padding: 18px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.075);
}

.field__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  font-weight: 700;
}

.field__label output {
  color: var(--lime);
  font-size: 1.08rem;
  font-weight: 900;
}

.range {
  width: 100%;
  accent-color: var(--lime);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  color: #9cb6ae;
  font-size: 0.7rem;
}

.hint {
  margin: 13px 0 0;
  color: #adc1bb;
  font-size: 0.77rem;
  line-height: 1.55;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 14px;
}

.investment-heading {
  margin-top: 22px;
}

.investment-heading .label {
  margin-bottom: 4px;
  color: #9cb6ae;
}

.investment-heading h3 {
  margin-bottom: 5px;
  font-size: 1.15rem;
}

.investment-heading p {
  margin: 0;
  color: #adc1bb;
  font-size: 0.76rem;
  line-height: 1.55;
}

.settings-grid--investment {
  margin-top: 12px;
}

.number-field {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.075);
  font-size: 0.8rem;
  font-weight: 700;
}

.number-field--wide {
  grid-column: 1 / -1;
}

.number-field__note {
  color: #adc1bb;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.45;
}

.number-field__control {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
}

.number-field input {
  width: 100%;
  min-width: 0;
  padding: 10px 5px 10px 12px;
  color: white;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 800;
}

.number-field b {
  padding-right: 12px;
  color: var(--lime);
}

.calculate {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  cursor: pointer;
  color: var(--brand);
  border: 0;
  border-radius: 14px;
  background: var(--lime);
  font-size: 0.92rem;
  font-weight: 900;
  transition: 160ms ease;
}

.calculate:hover {
  background: #e4ff76;
  transform: translateY(-1px);
}

.calculate svg {
  width: 18px;
}

.validation {
  display: block;
  margin-top: 7px;
  color: #ffd0d4;
  font-size: 0.78rem;
  font-weight: 700;
}

.panel--input > .validation {
  color: var(--danger);
}

.results {
  margin-top: 58px;
}

.lead-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 20px;
  padding: 24px 26px;
  color: white;
  border-radius: 21px;
  background:
    radial-gradient(circle at 90% 20%, rgba(218, 254, 77, 0.24), transparent 16rem),
    var(--brand);
  box-shadow: 0 15px 45px rgba(17, 59, 53, 0.15);
}

.lead-cta .eyebrow {
  color: var(--lime);
}

.lead-cta h3 {
  margin: 5px 0 4px;
  font-size: 1.4rem;
}

.lead-cta p {
  max-width: 680px;
  margin: 0;
  color: #c2d4cf;
  font-size: 0.82rem;
}

.lead-cta__button,
.lead-submit {
  display: inline-flex;
  min-height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  color: var(--brand);
  border: 0;
  border-radius: 13px;
  background: var(--lime);
  font-size: 0.83rem;
  font-weight: 900;
  text-align: center;
  transition: 160ms ease;
}

.lead-cta__button:hover,
.lead-submit:hover {
  background: #e5ff79;
  transform: translateY(-1px);
}

.lead-cta__button svg,
.lead-submit svg {
  width: 18px;
  flex: 0 0 auto;
}

.lead-cta--overview {
  margin-top: 20px;
}

.report-final-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.overlay-open {
  overflow: hidden;
}

.ad-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 28, 25, 0.78);
  backdrop-filter: blur(10px);
  opacity: 1;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.ad-overlay--hidden {
  visibility: hidden;
  opacity: 0;
}

.ad-overlay__card {
  position: relative;
  width: min(720px, 100%);
  overflow: hidden;
  padding: clamp(28px, 6vw, 54px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0, rgba(218, 254, 77, 0.3), transparent 19rem),
    var(--brand);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.32);
}

.ad-overlay__brand {
  display: inline-block;
  margin-bottom: 23px;
  padding: 7px 11px;
  color: var(--brand);
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.74rem;
  font-weight: 900;
}

.ad-overlay .eyebrow {
  color: #a9c9c0;
}

.ad-overlay h2 {
  max-width: 610px;
  margin: 10px auto 14px;
  color: white;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
}

.ad-overlay p {
  max-width: 570px;
  margin: 0 auto;
  color: #c1d5cf;
  font-size: 0.95rem;
  line-height: 1.65;
}

.lead-cta__button--large {
  width: fit-content;
  margin: 25px auto 0;
  padding-inline: 24px;
  font-size: 0.94rem;
}

.ad-overlay__timer {
  display: block;
  margin-top: 17px;
  color: #a9c0ba;
  font-size: 0.75rem;
}

.ad-overlay__timer strong {
  color: white;
}

.ad-overlay__progress {
  display: block;
  width: min(360px, 80%);
  height: 4px;
  margin: 14px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.ad-overlay__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lime);
  transform-origin: left;
  animation: ad-countdown 8s linear forwards;
}

@keyframes ad-countdown {
  to { transform: scaleX(0); }
}

.lead-page {
  max-width: 1080px;
}

.lead-page__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 46px;
  margin-bottom: 30px;
}

.lead-page__heading .back-link {
  margin-bottom: 34px;
}

.lead-page__heading h1,
.lead-success h1 {
  margin: 9px 0 16px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.lead-page__heading p,
.lead-success p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.lead-benefits {
  padding: 23px;
  color: white;
  border-radius: 20px;
  background: var(--brand);
}

.lead-benefits strong {
  color: var(--lime);
}

.lead-benefits ul {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
  padding-left: 19px;
  color: #c2d4cf;
  font-size: 0.8rem;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.form-summary:empty {
  display: none;
}

.form-summary {
  padding: 15px 18px;
  color: #812b34;
  border: 1px solid #efc5ca;
  border-radius: 14px;
  background: #fff0f1;
}

.form-summary ul {
  margin: 0;
  padding-left: 20px;
}

.lead-form__section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 38px rgba(17, 59, 53, 0.05);
}

.lead-form__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 21px;
}

.lead-form__title > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--brand);
  border-radius: 12px;
  background: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
}

.lead-form__title small {
  color: var(--brand-2);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lead-form__title h2 {
  margin: 1px 0 0;
  font-size: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 800;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field span i {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #d7e1d8;
  border-radius: 11px;
  outline: none;
  background: #fbfcfa;
  font-weight: 600;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(44, 121, 108, 0.12);
}

.form-field > small,
.form-field > .validation,
.lead-form__submit > .validation,
.choice-field .validation,
.lead-form__submit > small {
  color: var(--danger);
  font-weight: 700;
}

.form-security {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.project-questions {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 17px;
}

.form-field__suffix {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d7e1d8;
  border-radius: 11px;
  background: #fbfcfa;
}

.form-field__suffix input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.form-field__suffix b {
  padding-right: 12px;
  color: var(--brand-2);
}

.lead-form__submit {
  display: grid;
  gap: 8px;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
}

.check-field input {
  margin-top: 3px;
  accent-color: var(--brand-2);
}

.check-field a {
  color: var(--brand-2);
  font-weight: 800;
  text-decoration: underline;
}

.lead-submit {
  width: 100%;
  margin-top: 12px;
}

.external-fallback {
  margin-top: 5px;
  color: var(--brand-2);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
}

.lead-success {
  max-width: 760px;
  margin-inline: auto;
  padding: 55px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.lead-success__icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  place-items: center;
  color: var(--brand);
  border-radius: 20px;
  background: var(--lime);
}

.lead-success__icon svg {
  width: 30px;
}

.lead-success .lead-cta__button {
  margin-top: 24px;
}

.results__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.results__actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 9px;
}

.overview-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 800;
}

.overview-link svg,
.back-link svg {
  width: 16px;
}

.overview-link:hover,
.back-link:hover {
  text-decoration: underline;
}

.results__header .eyebrow {
  margin-bottom: 5px;
}

.results__header h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.period {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #526b64;
  font-size: 0.78rem;
  font-weight: 700;
}

.period svg {
  width: 15px;
}

.source-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.source-summary div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.source-summary div:last-child {
  border-right: 0;
}

.source-summary span,
.source-summary strong {
  display: block;
}

.source-summary span {
  color: var(--muted);
  font-size: 0.74rem;
}

.source-summary strong {
  margin-top: 3px;
  font-size: 1.02rem;
}

.warning {
  padding: 12px 15px;
  color: #77540e;
  border: 1px solid #ead8a5;
  border-radius: 13px;
  background: #fff9e8;
  font-size: 0.82rem;
}

.battery-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 17px;
}

.battery-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 36px rgba(17, 59, 53, 0.055);
}

.battery-card--best {
  color: white;
  border-color: var(--brand);
  background: var(--brand);
}

.battery-card__top {
  display: flex;
  min-height: 39px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.battery-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--brand-2);
  border-radius: 12px;
  background: #edf4ed;
}

.battery-card--best .battery-icon {
  color: var(--brand);
  background: var(--lime);
}

.battery-icon svg {
  width: 21px;
}

.best-label {
  padding: 5px 8px;
  color: var(--brand);
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.battery-card h3 {
  margin: 18px 0 0;
  font-size: 2rem;
}

.usable {
  color: var(--muted);
  font-size: 0.75rem;
}

.battery-card--best .usable {
  color: #a9beb8;
}

.primary-result {
  margin-top: 22px;
}

.primary-result strong,
.primary-result span {
  display: block;
}

.primary-result strong {
  color: var(--brand-2);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 2.35rem;
  letter-spacing: -0.055em;
  line-height: 1;
}

.battery-card--best .primary-result strong {
  color: var(--lime);
}

.primary-result span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
}

.battery-card--best .primary-result span {
  color: #a9beb8;
}

.result-bar {
  height: 6px;
  margin-block: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #eaf0e9;
}

.battery-card--best .result-bar {
  background: rgba(255, 255, 255, 0.13);
}

.result-bar span {
  display: block;
  width: var(--result-width);
  height: 100%;
  border-radius: inherit;
  background: var(--brand-2);
}

.battery-card--best .result-bar span {
  background: var(--lime);
}

.battery-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.battery-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.77rem;
}

.battery-card dt {
  color: var(--muted);
}

.battery-card--best dt {
  color: #a9beb8;
}

.battery-card dd {
  margin: 0;
  font-weight: 800;
}

.table-card {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.table-card__title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.table-card__title h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.table-card__title span {
  color: var(--muted);
  font-size: 0.72rem;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

th,
td {
  padding: 13px 10px;
  text-align: right;
  border-bottom: 1px solid #e8ede8;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.7rem;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.positive {
  color: #12695b;
  font-weight: 800;
}

.method {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 34px;
  margin-top: 20px;
  padding: 25px;
  color: white;
  border-radius: 20px;
  background: #1c4a44;
}

.method h3,
.method p {
  margin: 0;
}

.method p {
  color: #bad0ca;
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 25px;
  color: #73857f;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.benefit-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--lime);
  font-size: .74rem;
  font-weight: 800;
}

.benefit-guide-link svg {
  width: 16px;
}

.panel-intro {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: .78rem;
}

.consumption-total {
  margin: 14px 0 0;
  padding: 11px 13px;
  color: var(--brand);
  border-radius: 10px;
  background: rgba(218, 254, 77, .25);
  font-size: .8rem;
}

.home-faq {
  margin-top: 54px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}

.section-heading h2 {
  margin: 7px 0 22px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.faq-list details {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcfa;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.faq-list a {
  color: var(--brand-2);
  text-decoration: underline;
}

.content-page {
  max-width: 980px;
}

.content-hero {
  max-width: 790px;
  margin-bottom: 34px;
}

.content-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.02;
}

.content-hero p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.content-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.content-toc a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: .76rem;
  font-weight: 800;
}

.guide-check,
.method-warning {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 18px;
  background: #eaf4e8;
}

.guide-check h2 {
  margin-top: 0;
}

.guide-steps {
  display: grid;
  gap: 15px;
}

.guide-steps article,
.method-block {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.guide-steps article > span,
.method-block > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--brand);
  border-radius: 12px;
  background: var(--lime);
  font-size: .75rem;
  font-weight: 900;
}

.guide-steps h2,
.method-block h2 {
  margin: 0 0 8px;
}

.guide-steps p,
.method-block p,
.method-block li {
  color: var(--muted);
  line-height: 1.7;
}

.method-block {
  margin-bottom: 15px;
  scroll-margin-top: 20px;
}

.method-block--warning {
  border-color: #e6c998;
  background: #fffaf0;
}

.formula-card {
  margin: 17px 0;
  padding: 16px;
  color: white;
  border-radius: 12px;
  background: var(--brand);
  font-weight: 800;
}

.source-note {
  color: var(--muted);
  font-size: .75rem;
}

.source-note a {
  color: var(--brand-2);
  text-decoration: underline;
}

.faq-list--large {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.error-page {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.error-page .calculate {
  width: fit-content;
  margin-inline: auto;
  padding-inline: 22px;
}

.overview {
  padding-top: 42px;
}

.overview-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: end;
  gap: 46px;
}

.overview-heading .back-link {
  margin-bottom: 35px;
}

.overview-heading .eyebrow {
  margin-bottom: 9px;
}

.overview-heading h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
}

.overview-heading p {
  max-width: 750px;
  margin: 17px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.tariff-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  color: white;
  border-radius: 20px;
  background: var(--brand);
}

.tariff-card > span {
  color: #a9beb8;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tariff-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tariff-card strong {
  color: var(--lime);
  font-size: 1.2rem;
}

.tariff-card small {
  color: #b8cac5;
}

.overview-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.overview-totals article {
  display: grid;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 35px rgba(17, 59, 53, 0.055);
}

.overview-totals span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.overview-totals strong {
  margin-top: 7px;
  color: var(--brand-2);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.045em;
}

.overview-totals small {
  margin-top: 3px;
  color: var(--muted);
}

.period-tabs {
  display: inline-flex;
  gap: 5px;
  margin-top: 32px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.period-tabs a {
  padding: 9px 15px;
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.period-tabs a:hover {
  color: var(--brand);
  background: #f1f5ef;
}

.period-tabs a.active {
  color: var(--brand);
  background: var(--lime);
}

.period-overview {
  margin-top: 17px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.period-overview__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 19px;
}

.period-overview__heading h2 {
  margin: 3px 0 0;
  font-size: 1.6rem;
}

.period-overview__heading p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.overview-table-scroll {
  overflow: auto;
  border: 1px solid #e4eae4;
  border-radius: 15px;
}

.overview-table-scroll--days {
  max-height: 640px;
}

.overview-table {
  min-width: 1050px;
}

.overview-table--peaks {
  min-width: 1200px;
}

.overview-table--payback {
  min-width: 1400px;
}

.overview-table th,
.overview-table td {
  padding: 14px 17px;
  text-align: left;
}

.overview-table th {
  position: sticky;
  z-index: 1;
  top: 0;
  background: #f5f8f3;
}

.overview-table td:first-child {
  width: 28%;
  text-transform: capitalize;
}

.overview-table td:not(:first-child) strong,
.overview-table td:not(:first-child) small {
  display: block;
}

.overview-table td:not(:first-child) strong {
  color: #17695d;
}

.overview-table td:not(:first-child) small {
  margin-top: 2px;
  color: var(--muted);
}

.overview-table .peak-reduction {
  color: #17695d;
  font-weight: 800;
}

.peak-overview {
  margin-top: 20px;
}

.payback-overview {
  margin-top: 20px;
}

.recommendation {
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr);
  align-items: center;
  gap: 14px 22px;
  margin-bottom: 20px;
  padding: 18px 20px;
  color: white;
  border-radius: 17px;
  background: var(--brand);
}

.recommendation > span {
  color: #b7cbc5;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.recommendation > strong {
  color: var(--lime);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.recommendation p {
  margin: 0;
  color: #c5d5d1;
  font-size: 0.78rem;
  line-height: 1.55;
}

.savings-chart {
  display: grid;
  gap: 11px;
  padding: 19px;
  border: 1px solid #e4eae4;
  border-radius: 17px;
  background: #f8faf7;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend i {
  width: 18px;
  height: 7px;
  border-radius: 999px;
}

.legend-total,
.chart-bar--total {
  background: var(--brand-2);
}

.legend-extra,
.chart-bar--extra {
  background: #b3d627;
}

.chart-row {
  display: grid;
  grid-template-columns: 64px minmax(180px, 1fr) 205px;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 12px;
}

.chart-row--recommended {
  background: rgba(218, 254, 77, 0.24);
  box-shadow: inset 3px 0 var(--brand-2);
}

.chart-label {
  font-size: 0.82rem;
}

.chart-bars {
  display: grid;
  gap: 5px;
}

.chart-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ebe3;
}

.chart-bar {
  display: block;
  min-width: 0;
  height: 100%;
  border-radius: inherit;
}

.chart-values strong,
.chart-values small {
  display: block;
}

.chart-values strong {
  color: var(--brand-2);
  font-size: 0.8rem;
}

.chart-values small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
}

.payback-table-wrap {
  margin-top: 18px;
}

.recommended-row {
  background: rgba(218, 254, 77, 0.13);
}

.recommended-label {
  width: fit-content;
  margin-top: 4px;
  padding: 3px 6px;
  color: var(--brand);
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payback-formula {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.55;
}

.overview-empty {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.overview-empty .calculate {
  width: fit-content;
  margin-inline: auto;
  padding-inline: 22px;
}

@media (max-width: 900px) {
  .intro,
  .workspace,
  .overview-heading,
  .lead-page__heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro {
    align-items: start;
  }

  .intro p {
    max-width: 660px;
  }

  .battery-cards {
    grid-template-columns: 1fr;
  }

  .overview-totals {
    grid-template-columns: 1fr;
  }

  .source-summary {
    grid-template-columns: 1fr 1fr;
  }

  .source-summary div:nth-child(2) {
    border-right: 0;
  }

  .source-summary div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .method {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profile-questions {
    grid-template-columns: 1fr;
  }

  .lead-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .privacy-pill {
    display: none;
  }

  .main {
    padding-block: 34px 54px;
  }

  .intro {
    margin-bottom: 25px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .panel {
    padding: 22px;
    border-radius: 21px;
  }

  .settings-grid,
  .source-summary,
  .form-grid,
  .project-questions {
    grid-template-columns: 1fr;
  }

  .source-summary div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .source-summary div:last-child {
    border-bottom: 0;
  }

  .results__header,
  .results__actions,
  .table-card__title,
  .period-overview__heading,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .period-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .period-tabs a {
    text-align: center;
  }

  .period {
    border-radius: 13px;
  }

  .recommendation,
  .chart-row {
    grid-template-columns: 1fr;
  }

  .lead-cta__button,
  .lead-submit {
    width: 100%;
  }

  .report-final-cta {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .ad-overlay {
    padding: 12px;
  }

  .ad-overlay__card {
    border-radius: 21px;
  }

  .lead-form__section,
  .lead-success {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .option-card,
  .wizard-next,
  .wizard-back,
  .secondary-action {
    transition: none !important;
  }

  .ad-overlay__progress i {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Multi-page energy wizard */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  align-items: center;
  gap: 55px;
  min-height: 520px;
}

.home-hero h1 {
  margin: 12px 0 22px;
}

.home-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.home-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.home-steps {
  padding: 28px;
  color: white;
  border-radius: 24px;
  background: var(--brand);
  box-shadow: var(--shadow);
}

.home-steps > span {
  color: var(--lime);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-steps ol {
  display: grid;
  gap: 17px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.home-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c7d8d3;
  font-size: .86rem;
  font-weight: 700;
}

.home-steps b {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--brand);
  border-radius: 10px;
  background: var(--lime);
}

.home-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-benefits article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: white;
}

.home-benefits strong {
  color: var(--brand-2);
}

.home-benefits p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .8rem;
}

.wizard-page {
  max-width: 1040px;
}

.wizard-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.wizard-heading h1 {
  margin: 10px 0 15px;
  font-size: clamp(2.4rem, 6vw, 4.35rem);
  line-height: 1.02;
}

.wizard-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.wizard-layout,
.result-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: start;
  gap: 20px;
}

.wizard-card,
.sorry-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: white;
  box-shadow: 0 14px 45px rgba(17, 59, 53, .065);
}

.choice-stack {
  display: grid;
  gap: 11px;
}

.choice-stack--two {
  grid-template-columns: 1fr 1fr;
}

.option-card {
  display: flex;
  min-width: 0;
  cursor: pointer;
  align-items: flex-start;
  gap: 12px;
  padding: 17px;
  border: 1px solid #dce5dc;
  border-radius: 15px;
  background: #fbfcfa;
  transition: 150ms ease;
}

.option-card:hover {
  border-color: #91b0a7;
  transform: translateY(-1px);
}

.option-card:has(input:checked) {
  border-color: var(--brand-2);
  background: rgba(218, 254, 77, .24);
  box-shadow: inset 0 0 0 1px var(--brand-2);
}

.option-card input {
  margin: 4px 0 0;
  flex: 0 0 auto;
  accent-color: var(--brand-2);
}

.option-card span,
.option-card strong,
.option-card small,
.option-card em {
  display: block;
}

.option-card--recommended em {
  display: inline-block;
  margin: 0 0 0 7px;
  padding: 3px 7px;
  color: var(--brand);
  border-radius: 999px;
  background: var(--lime);
  font-size: .6rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.upload-zone {
  display: grid;
  min-height: 230px;
  cursor: pointer;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 30px;
  text-align: center;
  border: 2px dashed #a8bbb4;
  border-radius: 18px;
  background: white;
  transition: 160ms ease;
}

.upload-zone:hover,
.upload-zone--active {
  border-color: var(--brand-2);
  background: #f7fbf5;
}

.upload-zone--saved {
  border-style: solid;
  border-color: #76a38f;
  background: #f1f9ef;
}

.upload-zone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.upload-zone__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--brand);
  border-radius: 16px;
  background: var(--lime);
}

.upload-zone__icon svg {
  width: 27px;
}

.upload-zone strong {
  font-size: 1.05rem;
}

.upload-zone > span:not(.upload-zone__icon),
.upload-zone small {
  color: var(--muted);
  font-size: .78rem;
}

.saved-value--success {
  border: 1px solid #b8d5c6;
}

.wizard-layout--wide {
  grid-template-columns: minmax(0, 1fr) 250px;
}

.catalog-table-wrap {
  margin-top: 15px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}

.catalog-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: .78rem;
}

.catalog-table th,
.catalog-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #e7ece6;
}

.catalog-table th {
  color: var(--muted);
  background: #f4f7f2;
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.catalog-table tr:has(input:checked) {
  background: rgba(218, 254, 77, .24);
}

.catalog-table input {
  accent-color: var(--brand-2);
}

.type-pill {
  display: inline-block;
  padding: 3px 8px;
  color: #566660;
  border-radius: 999px;
  background: #edf1ec;
  font-size: .65rem;
  font-weight: 800;
}

.type-pill--hybrid {
  color: #245d50;
  background: #ddf1e5;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: .72rem;
}

.catalog-pagination button {
  padding: 7px 12px;
  color: var(--brand);
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  font-weight: 800;
}

.catalog-pagination button:disabled {
  cursor: default;
  opacity: .4;
}

.catalog-empty {
  margin: 0;
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.technical-page {
  max-width: 920px;
}

.technical-card {
  overflow: hidden;
  color: white;
  border-radius: 28px;
  background: #103f37;
  box-shadow: 0 24px 65px rgba(16, 63, 55, .2);
}

.technical-section {
  padding: 32px;
}

.technical-section + .technical-section {
  padding-top: 4px;
}

.technical-section__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.technical-section__title > span {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  color: #082f29;
  border-radius: 10px;
  background: var(--lime);
  font-size: .72rem;
  font-weight: 900;
}

.technical-section__title small {
  display: block;
  color: #b8ded5;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.technical-section__title h2 {
  margin: 2px 0 0;
  color: white;
  font-size: 1.35rem;
}

.technical-section__title p {
  margin: 6px 0 0;
  color: #cce2dc;
  font-size: .78rem;
}

.technical-range,
.technical-field {
  display: block;
  padding: 20px;
  border-radius: 17px;
  background: rgba(255, 255, 255, .09);
}

.technical-range > span:first-child,
.technical-field > span:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  font-size: .78rem;
  font-weight: 800;
}

.technical-range output {
  color: var(--lime);
  font-size: 1.05rem;
}

.technical-range input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: var(--lime);
}

.technical-range__limits {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  color: #b6d5ce;
  font-size: .68rem;
}

.technical-range em {
  display: block;
  margin-top: 14px;
  color: #d5e7e2;
  font-size: .72rem;
  font-style: normal;
}

.technical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.technical-field > span:nth-child(2) {
  display: flex;
  align-items: center;
  border: 1px solid rgba(204, 229, 223, .34);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
}

.technical-field input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: white;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: .86rem;
  font-weight: 800;
}

.technical-field b {
  padding: 0 12px 0 6px;
  color: var(--lime);
  font-size: .72rem;
  white-space: nowrap;
}

.technical-field > small {
  display: block;
  margin-top: 8px;
  color: #bdd9d2;
  font-size: .67rem;
}

.technical-validation {
  display: block;
  margin-top: 7px;
  color: #ffd0d4;
  font-size: .68rem;
}

.technical-field--wide {
  grid-column: 1 / -1;
}

.technical-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 32px 32px;
}

.technical-actions button,
.technical-back {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 900;
}

.technical-actions button {
  flex: 1;
  gap: 12px;
  color: #082f29;
  cursor: pointer;
  border: 0;
  background: var(--lime);
}

.technical-actions button svg {
  width: 18px;
}

.technical-back {
  padding-inline: 18px;
  color: white;
  border: 1px solid rgba(255, 255, 255, .28);
}

.option-card strong {
  color: var(--ink);
  font-size: .9rem;
}

.option-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.5;
}

.option-card em {
  margin-top: 8px;
  padding: 8px 10px;
  color: #765410;
  border-radius: 9px;
  background: #fff7dd;
  font-size: .7rem;
  font-style: normal;
  font-weight: 700;
}

.conditional-panel {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #e0e7df;
  border-radius: 15px;
  background: #f8faf7;
}

.conditional-panel[hidden] {
  display: none !important;
}

.saved-value,
.info-banner {
  margin: 13px 0 0;
  padding: 11px 13px;
  color: #315b53;
  border-radius: 11px;
  background: #edf6eb;
  font-size: .78rem;
}

.validation--dark {
  color: var(--danger);
}

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5ebe4;
}

.wizard-back,
.wizard-next,
.secondary-action {
  display: inline-flex;
  min-height: 47px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 900;
}

.wizard-back,
.secondary-action {
  color: var(--brand);
  border: 1px solid var(--line);
  background: white;
}

button.wizard-back {
  font: inherit;
}

.wizard-next {
  color: var(--brand);
  border: 0;
  background: var(--lime);
}

.wizard-next:hover,
.wizard-back:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.wizard-next svg,
.wizard-back svg {
  width: 17px;
}

.wizard-benefits {
  padding: 22px;
  color: white;
  border-radius: 19px;
  background: var(--brand);
}

.wizard-benefits strong {
  color: var(--lime);
  font-size: .83rem;
}

.wizard-benefits ul {
  display: grid;
  gap: 12px;
  margin: 15px 0 0;
  padding-left: 18px;
  color: #c5d7d2;
  font-size: .76rem;
  line-height: 1.55;
}

.check-field--box {
  margin-top: 17px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8faf7;
}

.check-field--box strong,
.check-field--box small {
  display: block;
}

.check-field--box small {
  color: var(--muted);
}

.inverter-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.inverter-examples article {
  padding: 15px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}

.inverter-examples strong,
.inverter-examples small {
  display: block;
}

.inverter-examples small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .68rem;
}

.device-sketch {
  position: relative;
  display: block;
  width: 64px;
  height: 80px;
  margin: 0 auto 10px;
  border: 3px solid #78918a;
  border-radius: 10px;
  background: #edf2ed;
}

.device-sketch::before {
  position: absolute;
  content: "PV";
  inset: 12px 9px auto;
  padding: 3px;
  color: #597069;
  border-radius: 4px;
  background: white;
  font-size: .5rem;
  font-weight: 900;
}

.device-sketch--hybrid::after {
  position: absolute;
  content: "BAT";
  inset: auto 9px 12px;
  padding: 3px;
  color: var(--brand);
  border-radius: 4px;
  background: var(--lime);
  font-size: .5rem;
  font-weight: 900;
}

.proposal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.proposal-grid label {
  display: grid;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8faf7;
}

.proposal-grid span,
.proposal-grid small {
  color: var(--muted);
  font-size: .72rem;
}

.proposal-grid strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 7px 0;
  color: var(--brand-2);
  font-size: 1.2rem;
}

.proposal-grid input {
  width: 110px;
  padding: 8px;
  color: var(--brand-2);
  border: 1px solid #cad8cf;
  border-radius: 9px;
  background: white;
  font-size: 1.3rem;
  font-weight: 900;
}

.result-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.result-hero div {
  display: grid;
  padding: 23px;
  color: white;
  border-radius: 19px;
  background: var(--brand);
}

.result-hero span,
.result-hero small {
  color: #b8cec8;
  font-size: .72rem;
}

.result-hero strong {
  margin: 5px 0;
  color: var(--lime);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 2rem;
}

.result-summary h2 {
  margin: 5px 0 14px;
}

.result-summary ul {
  padding-left: 20px;
}

.result-summary dl {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
}

.result-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e5ebe4;
}

.result-summary dt {
  color: var(--muted);
}

.result-summary dd {
  margin: 0;
  font-weight: 900;
}

.sorry-card {
  max-width: 780px;
  margin-inline: auto;
  padding: 50px;
  text-align: center;
}

.sorry-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  place-items: center;
  color: #7a5918;
  border-radius: 20px;
  background: #fff0bb;
}

.sorry-icon svg {
  width: 30px;
}

.sorry-card h1 {
  margin: 10px 0 17px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.sorry-card p {
  color: var(--muted);
}

.sorry-card .result-actions {
  justify-content: center;
}

/* Admin */
.admin-login {
  max-width: 520px;
  margin-inline: auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: white;
  box-shadow: var(--shadow);
}

.admin-login h1 {
  margin: 8px 0 22px;
}

.admin-login .wizard-next {
  width: 100%;
  margin-top: 18px;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.admin-heading h1 {
  margin: 7px 0 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.admin-heading p {
  max-width: 760px;
  color: var(--muted);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 25px 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}

.admin-nav a {
  padding: 9px 12px;
  color: var(--muted);
  border-radius: 10px;
  font-size: .75rem;
  font-weight: 900;
}

.admin-nav a:hover {
  color: var(--brand);
  background: #eef5eb;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.admin-stats article {
  display: grid;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
}

.admin-stats strong {
  color: var(--brand-2);
  font-size: 2rem;
}

.admin-stats span {
  color: var(--muted);
  font-size: .75rem;
}

.admin-note,
.admin-import,
.admin-compatibility {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: white;
}

.admin-note h2 {
  margin-bottom: 8px;
}

.admin-note p,
.admin-note small {
  color: var(--muted);
}

.admin-editor {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.admin-form,
.admin-table-wrap {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.admin-form .form-grid {
  grid-template-columns: 1fr;
}

.admin-form .wizard-next {
  width: 100%;
  margin-top: 17px;
}

.admin-checks {
  display: grid;
  gap: 9px;
  margin-top: 15px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table-wrap table {
  min-width: 660px;
}

.admin-table-wrap td:first-child small {
  display: block;
  max-width: 250px;
  color: var(--muted);
  white-space: normal;
}

.admin-table-wrap td:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.admin-table-wrap td a,
.admin-table-wrap td button {
  color: var(--brand-2);
  border: 0;
  background: none;
  font-size: .72rem;
  font-weight: 900;
}

.admin-selector {
  max-width: 620px;
  margin-bottom: 19px;
}

.compatibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.compatibility-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8faf7;
}

.compatibility-card strong,
.compatibility-card small {
  display: block;
}

.compatibility-card small {
  margin-top: 4px;
  color: var(--muted);
}

.admin-import > form {
  max-width: 650px;
}

.admin-import .wizard-next {
  width: 100%;
  margin-top: 14px;
}

.import-result {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 17px;
  border-radius: 13px;
  background: #edf6eb;
}

@media (max-width: 900px) {
  .home-hero,
  .wizard-layout,
  .result-columns,
  .admin-editor {
    grid-template-columns: 1fr;
  }

  .wizard-layout--wide,
  .form-grid--three {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .home-benefits,
  .result-hero,
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {

  .global-lead-ad__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding-block: 10px;
  }

  .brand > span:last-child small,
  .leadplatform-logo > span {
    display: none;
  }

  .technical-section {
    padding: 22px;
  }

  .technical-grid {
    grid-template-columns: 1fr;
  }

  .technical-field--wide {
    grid-column: auto;
  }

  .technical-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    padding: 0 22px 22px;
  }

  .faq-list--large,
  .guide-steps article,
  .method-block {
    grid-template-columns: 1fr;
  }
  .home-benefits,
  .result-hero,
  .admin-stats,
  .choice-stack--two,
  .inverter-examples,
  .proposal-grid,
  .compatibility-grid {
    grid-template-columns: 1fr;
  }

  .wizard-card,
  .sorry-card {
    padding: 21px;
  }

  .wizard-nav,
  .result-actions,
  .admin-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .wizard-nav a,
  .wizard-nav button,
  .result-actions a {
    width: 100%;
  }
}

.lead-success__reference {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.lead-success__reference strong {
  margin-left: 6px;
  padding: 4px 10px;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  border-radius: 10px;
  background: var(--lime);
}


/* Public information stays readable and navigable without client-side JavaScript. */
.public-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; padding-block: .85rem; }
.public-nav a, .breadcrumbs a { color: #133f39; font-weight: 600; text-underline-offset: .2em; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: 1.2rem; font-size: .9rem; }
.home-knowledge { margin-block: 3.5rem; line-height: 1.75; }
.home-knowledge > p { max-width: 78ch; }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; margin-block: 1.75rem; }
.knowledge-grid h3 { margin-top: 0; line-height: 1.4; }
.content-note { font-size: .9rem; }
.unit-list { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1rem; }
.unit-list dt { font-weight: 700; }
.unit-list dd { margin: 0; }
@media (max-width: 760px) { .knowledge-grid { grid-template-columns: 1fr; gap: .75rem; } }

/* Both menus use a native disclosure, including keyboard and no-JavaScript support. */
.nav-disclosure > summary { display: none; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding: .75rem 1rem; color: var(--brand); font-weight: 800; cursor: pointer; list-style: none; }
.nav-disclosure > summary::-webkit-details-marker { display: none; }
.nav-disclosure > summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav-disclosure[open] > summary svg { transform: rotate(180deg); }
.nav-disclosure > summary:focus-visible, .nav-disclosure a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.public-nav { gap: .4rem; padding-block: .6rem; }
.public-nav a { display: flex; align-items: center; min-height: 44px; padding: .5rem .85rem; border-radius: 10px; text-decoration: none; }
.public-nav a:hover, .public-nav a.is-active { background: #eaf2e8; color: var(--brand); }
.admin-navigation { margin: 25px 0; border: 1px solid var(--line); border-radius: 16px; background: white; }
.admin-nav { display: grid; grid-template-columns: .9fr 1.7fr 1.1fr 1.1fr; gap: 1rem; padding: 1rem; margin: 0; border: 0; background: transparent; }
.admin-nav__group { min-width: 0; }
.admin-nav__label { display: block; padding: .15rem .6rem .5rem; font-size: .68rem; font-weight: 800; color: var(--muted); letter-spacing: .09em; text-transform: uppercase; }
.admin-nav__links { display: flex; flex-wrap: wrap; gap: .3rem; }
.admin-nav a { display: flex; align-items: center; min-height: 40px; padding: .55rem .65rem; font-size: .8rem; font-weight: 700; line-height: 1.4; text-decoration: none; }
.admin-nav a.is-active { color: white; background: var(--brand); }
.admin-editor--single { display: block; }
.pricing-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.pricing-form > h2, .pricing-form > .form-summary, .pricing-form > button { grid-column: 1 / -1; }
.admin-settings-card { max-width: 760px; }
.admin-settings-card p, .admin-settings-card a { overflow-wrap: anywhere; }
.form-summary.validation-summary-valid { display: none; }
@media (max-width: 1100px) { .admin-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .admin-heading > div { min-width: 0; }
  .admin-heading h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); overflow-wrap: anywhere; }
  .global-lead-ad__inner a { max-width: 100%; white-space: normal; }
  .global-lead-ad__inner svg { flex-shrink: 0; }
  .nav-disclosure > summary { display: flex; }
  .public-navigation { margin-block: .6rem; border: 1px solid var(--line); border-radius: 12px; background: white; }
  .public-nav { display: grid; padding: .5rem; }
  .public-nav a { min-height: 44px; }
  .admin-nav { grid-template-columns: 1fr; gap: 1rem; border-top: 1px solid var(--line); }
  .admin-nav__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-nav a { min-height: 44px; }
  .pricing-form { grid-template-columns: 1fr; }
}
@media (max-width: 380px) { .admin-nav__links { grid-template-columns: 1fr; } }

/* Contact-first wizard and measured-data summary. */
.wizard-contact { border: 0; padding: 0 0 1.5rem; margin: 0 0 1.5rem; border-bottom: 1px solid #dce5e4; min-width: 0; }
.wizard-contact legend { font-size: 1.25rem; font-weight: 700; padding: 0 0 1rem; }
.import-insights { background: #f2f7f6; border: 1px solid #dce5e4; border-radius: 1rem; padding: 1.25rem; margin: 1rem 0 1.5rem; overflow-wrap: anywhere; }
.import-insights h2 { font-size: 1.15rem; margin-top: 0; }
.import-insights__values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.import-insights__values dt { font-size: .9rem; }
.import-insights__values dd { margin: .3rem 0 0; font-weight: 700; }
@media (max-width: 560px) { .import-insights__values { grid-template-columns: 1fr; } .wizard-contact .form-grid { grid-template-columns: 1fr; } }
