@import url("brand-tokens.css");

.evp-bess {
  --dark: var(--evp-dark);
  --light: var(--evp-light);
  --limon: var(--evp-limon);
  --smoke: var(--evp-smoke);
  --smoke-bg: var(--evp-smoke-bg);
  --smoke-lines: var(--evp-smoke-lines);
  --dark-lines: var(--evp-dark-lines);
  --grey: var(--evp-grey);
  --tag: var(--evp-grey-light);
  --tag-bg: #232529;
  --card: #0B0C14;
  --display: "Mona Sans","Helvetica Neue",Arial,sans-serif;
  --body: "TASA Orbiter","TASA Orbiter Display","Helvetica Neue",Arial,sans-serif;
  --stat: "Clash Grotesk","Mona Sans",system-ui,sans-serif;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  overflow-x: clip;
  text-align: left;
  font-family: var(--body);
  font-size: clamp(17px,1.4vw,20px);
  line-height: 1.45;
  color: var(--smoke);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
}

.evp-bess *,
.evp-bess *::before,
.evp-bess *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  list-style: none;
}

.evp-bess a {
  text-decoration: none;
}

.evp-bess img,
.evp-bess svg {
  display: block;
  max-width: 100%;
}

.evp-bess .u {
  text-transform: none;
}

.evp-bess .nw {
  white-space: nowrap;
}

/* ---- frame (matches the site's solution pages) ---- */
.evp-bess .s {
  display: block;
  position: relative;
}

.evp-bess .t-dark {
  background: var(--dark);
  color: var(--smoke);
}

.evp-bess .t-light {
  background: var(--light);
  color: var(--dark);
}

.evp-bess .t-limon {
  background: var(--limon);
  color: var(--dark);
}

.evp-bess .w {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.evp-bess .f {
  border-left: 1px solid var(--dark-lines);
  border-right: 1px solid var(--dark-lines);
  padding: clamp(72px,9vw,128px) 24px;
}

.evp-bess .t-light .f {
  border-color: var(--smoke-lines);
}

.evp-bess .t-limon .f {
  border-color: rgba(4,4,11,.14);
}

/* ---- type ---- */
.evp-bess h1,
.evp-bess h2,
.evp-bess h3 {
  font-family: var(--display);
  text-transform: uppercase;
  color: inherit;
}

.evp-bess h1 {
  font-weight: 300;
  font-size: clamp(36px,7vw,88px);
  line-height: 1;
  letter-spacing: -.02em;
}

.evp-bess h2 {
  font-weight: 300;
  font-size: clamp(32px,4.6vw,60px);
  line-height: 1.02;
  letter-spacing: -.02em;
}

.evp-bess h3 {
  font-weight: 600;
  font-size: clamp(16px,1.4vw,19px);
  line-height: 1.24;
  letter-spacing: .04em;
}

.evp-bess .lbl {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tag);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dark-lines);
  margin-bottom: 40px;
}

.evp-bess .t-light .lbl {
  color: var(--grey);
  border-color: var(--smoke-lines);
}

.evp-bess .key {
  color: var(--limon);
  font-weight: 700;
}

.evp-bess b {
  font-weight: 700;
}

.evp-bess strong {
  font-weight: 700;
}

/* ---- buttons ---- */
.evp-bess .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 4px;
  font: 400 18px/1.25 var(--body);
  text-decoration: none;
  transition: background .15s,color .15s;
  cursor: pointer;
}

.evp-bess .btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.evp-bess .btn-limon {
  background: var(--limon);
  color: var(--dark);
}

.evp-bess .btn-limon:hover,
.evp-bess .btn-limon:focus-visible {
  background: var(--smoke);
  color: var(--dark);
}

.evp-bess .btn-dark {
  background: var(--dark);
  color: var(--light);
}

.evp-bess .btn-dark:hover,
.evp-bess .btn-dark:focus-visible {
  background: var(--light);
  color: var(--dark);
}

.evp-bess :focus-visible {
  outline: 2px solid var(--limon);
  outline-offset: 3px;
}

.evp-bess .t-limon :focus-visible,
.evp-bess .t-light :focus-visible {
  outline-color: var(--dark);
}

/* ---- 1 · hero ---- */
.evp-bess .hero .f {
  padding-top: clamp(72px,10vw,140px);
  padding-bottom: clamp(64px,8vw,112px);
}

.evp-bess .hero .eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(13px,1.2vw,16px);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--limon);
  margin-bottom: 28px;
}

.evp-bess .hero h1 {
  color: var(--light);
}

.evp-bess .hero .sub {
  max-width: 46ch;
  margin-top: 36px;
  font-size: clamp(19px,1.8vw,24px);
  line-height: 1.35;
}

.evp-bess .hero .sub strong {
  color: var(--light);
}

/* ---- 2 · problem ---- */
.evp-bess .prob .cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: end;
}

.evp-bess .prob .lead {
  font-size: clamp(18px,1.6vw,22px);
  line-height: 1.45;
}

.evp-bess .modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.evp-bess .mode {
  --mp: clamp(24px,3vw,40px);
  background: var(--smoke-bg);
  border-top: 2px solid var(--dark);
  padding: var(--mp);
  display: flex;
  flex-direction: column;
}

.evp-bess .mode .ic {
  width: calc(100% + 2*var(--mp));
  max-width: none;
  height: auto;
  margin: 0 calc(-1*var(--mp)) 32px;
}

.evp-bess .mode h3 {
  margin-bottom: 12px;
}

.evp-bess .mode p {
  font-size: clamp(17px,1.4vw,19px);
  line-height: 1.5;
}

.evp-bess .mode .catch {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--smoke-lines);
  font-weight: 700;
}

.evp-bess .mode .mp {
  margin-bottom: 24px;
}

.evp-bess .mode .catch span {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--smoke);
  padding: 3px 8px;
  border-radius: 3px;
  margin-right: 10px;
  position: relative;
  top: -2px;
}

/* ---- 3 · solution ---- */
.evp-bess .band {
  background: var(--limon);
  color: var(--dark);
}

.evp-bess .band .fb {
  border-left: 1px solid rgba(4,4,11,.14);
  border-right: 1px solid rgba(4,4,11,.14);
  padding: 18px 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.evp-bess .sol h2 {
  color: var(--light);
  max-width: 22ch;
}

.evp-bess .sol .bl {
  margin-top: 32px;
  max-width: 52ch;
  font-size: clamp(19px,1.8vw,24px);
  line-height: 1.4;
  color: var(--light);
}

.evp-bess .how {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  margin-top: 72px;
}

.evp-bess .sh {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--limon);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dark-lines);
  margin-bottom: 28px;
}

.evp-bess .steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.evp-bess .step {
  border-top: 2px solid var(--limon);
  padding-top: 20px;
}

.evp-bess .step .n {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--limon);
}

.evp-bess .step h3 {
  margin: 14px 0 12px;
  color: var(--light);
}

.evp-bess .step p {
  font-size: 17px;
  line-height: 1.5;
}

.evp-bess .inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.evp-bess .inputs li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--dark-lines);
  font-size: 17px;
  line-height: 1.35;
}

.evp-bess .inputs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 7px;
  height: 7px;
  background: var(--limon);
}

/* ---- 4 · proof carousel ---- */
.evp-bess .proof {
  border-top: 1px solid var(--dark-lines);
}

.evp-bess .ptag {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--limon);
  margin-bottom: 20px;
  line-height: 1.5;
}

.evp-bess .proof h2 {
  color: var(--light);
  max-width: 18ch;
  margin-bottom: 48px;
}

.evp-bess .pin {
  position: relative;
}

.evp-bess .pin.on .stage {
  position: sticky;
}

.evp-bess .pin.on .track {
  overflow: hidden;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.evp-bess .stage {
  padding: 4px 0;
}

.evp-bess .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 15px;
  color: var(--tag);
}

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

.evp-bess .legend i {
  display: inline-block;
  width: 16px;
  height: 10px;
  flex: none;
}

.evp-bess .legend .l1 {
  background: #5A5E68;
}

.evp-bess .legend .l2 {
  background: var(--limon);
}

.evp-bess .legend .l3 {
  height: 0;
  border-top: 2px dashed var(--smoke);
}

.evp-bess .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--dark-lines);
}

.evp-bess .ctrl {
  display: flex;
  gap: 10px;
  flex: none;
}

.evp-bess .arw {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--dark-lines);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  cursor: pointer;
  transition: background .15s,color .15s,border-color .15s,opacity .15s;
}

.evp-bess .arw svg {
  width: 20px;
  height: 20px;
}

.evp-bess .arw:hover:not([disabled]) {
  background: var(--limon);
  border-color: var(--limon);
  color: var(--dark);
}

.evp-bess .arw[disabled] {
  opacity: .3;
  cursor: default;
}

.evp-bess .track {
  position: relative;
  display: flex;
  gap: 20px;
  margin-top: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.evp-bess .track::-webkit-scrollbar {
  display: none;
}

.evp-bess .slide {
  flex: 0 0 84%;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--dark-lines);
  border-top: 2px solid var(--dark-lines);
  padding: clamp(20px,3vw,36px);
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: clamp(24px,3vw,40px);
  transition: opacity .9s ease;
}

.evp-bess .slide:not(.on) {
  opacity: .45;
}

.evp-bess .slide.ev {
  border-top-color: var(--limon);
}

.evp-bess .slide .head {
  grid-column: 1/-1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--display);
  text-transform: uppercase;
}

.evp-bess .slide .head b {
  font-weight: 300;
  font-size: clamp(26px,3vw,40px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--light);
}

.evp-bess .slide.ev .head b {
  color: var(--limon);
}

.evp-bess .slide .head .sl {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--tag);
}

.evp-bess .cv {
  position: relative;
}

.evp-bess .chart {
  width: 100%;
  height: clamp(180px,24vw,280px);
}

.evp-bess .chart .load {
  fill: #5A5E68;
}

.evp-bess .chart .bat {
  fill: var(--limon);
}

.evp-bess .chart .conn {
  stroke: var(--smoke);
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
  vector-effect: non-scaling-stroke;
}

.evp-bess .chart .cur {
  stroke: var(--limon);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity .3s;
}

.evp-bess .chart .vg {
  stroke: #1d1f24;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.evp-bess .axis {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--grey);
  margin-top: 8px;
  border-top: 1px solid var(--dark-lines);
  padding-top: 6px;
}

.evp-bess .stats {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
}

.evp-bess .stats div {
  border-top: 1px solid var(--dark-lines);
  padding: 12px 0 14px;
}

.evp-bess .stats dt {
  font-size: 15px;
  color: var(--tag);
  line-height: 1.3;
}

.evp-bess .stats dd {
  font-family: var(--stat);
  font-weight: 300;
  font-size: clamp(34px,3.4vw,48px);
  line-height: 1;
  color: var(--light);
  margin-top: 8px;
  letter-spacing: -.01em;
}

.evp-bess .stats dd .u {
  font-size: .5em;
  letter-spacing: 0;
  margin-left: 2px;
}

.evp-bess .slide.ev .stats dd {
  color: var(--limon);
}

.evp-bess .dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.evp-bess .dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--dark-lines);
  cursor: pointer;
  transition: background .2s,width .2s;
  padding: 0;
}

.evp-bess .dot.on {
  background: var(--limon);
  width: 48px;
}

.evp-bess .dot-hit {
  display: inline-flex;
  align-items: center;
  height: 44px;
  cursor: pointer;
}

.evp-bess .own {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 28px 32px;
  border: 1px solid var(--dark-lines);
  border-left: 3px solid var(--limon);
}

.evp-bess .own p {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px,2.6vw,34px);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--light);
}

.evp-bess .proof .note {
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tag);
  max-width: 80ch;
}

/* ---- 5 · deployed with ---- */
.evp-bess .works .f {
  padding-top: clamp(64px,8vw,100px);
  padding-bottom: clamp(64px,8vw,100px);
}

.evp-bess .wall {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 48px 32px;
  align-items: center;
  justify-items: center;
}

/* The source design inlined PNGs that sized themselves; the shared
   images/chargers/ SVGs have mismatched intrinsic sizes, so pin a height. */
.evp-bess .wall img {
  width: auto;
  height: 32px;
  max-width: 100%;
  object-fit: contain;
}

/* ---- 6 · cta ---- */
.evp-bess .cta {
  text-align: center;
}

.evp-bess .cta .f {
  padding-top: clamp(96px,13vw,180px);
  padding-bottom: clamp(96px,13vw,180px);
}

.evp-bess .cta .q {
  font-size: clamp(30px,4vw,52px);
  line-height: 1.04;
  max-width: 24ch;
  margin: 0 auto;
}

.evp-bess .cta .q2 {
  margin: 28px auto 0;
  max-width: 40ch;
  font-size: clamp(19px,1.8vw,24px);
  line-height: 1.4;
}

.evp-bess .cta .act {
  margin-top: 48px;
}

/* ---- responsive ---- */
@media(max-width:1024px) {
  .evp-bess .how {
    grid-template-columns: 1fr;
  }
  .evp-bess .slide {
    grid-template-columns: 1fr;
  }
  .evp-bess .stats {
    flex-direction: row;
  }
  .evp-bess .stats div {
    flex: 1;
  }
  .evp-bess .wall {
    grid-template-columns: repeat(4,1fr);
  }
}

@media(max-width:860px) {
  .evp-bess .prob .cols,
  .evp-bess .modes,
  .evp-bess .steps {
    grid-template-columns: 1fr;
  }
  .evp-bess .prob .cols {
    gap: 28px;
  }
  .evp-bess .wall {
    grid-template-columns: repeat(3,1fr);
  }
}

@media(max-width:600px) {
  .evp-bess .w {
    padding: 0 16px;
  }
  .evp-bess .f,
  .evp-bess .band .fb {
    padding-left: 16px;
    padding-right: 16px;
  }
  .evp-bess .slide {
    flex-basis: 90%;
    padding: 20px;
  }
  .evp-bess .stats {
    flex-direction: column;
  }
  .evp-bess .stats div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
  }
  .evp-bess .stats dd {
    margin-top: 0;
    font-size: 30px;
    white-space: nowrap;
  }
  .evp-bess .proof h2 {
    margin-bottom: 32px;
  }
  .evp-bess .legend {
    font-size: 14px;
    gap: 6px 16px;
  }
  .evp-bess .chart {
    height: 160px;
  }
  .evp-bess .slide .head {
    gap: 6px 12px;
  }
  .evp-bess .own {
    padding: 24px 20px;
  }
  .evp-bess .wall {
    grid-template-columns: repeat(2,1fr);
    gap: 36px 24px;
  }
  .evp-bess .own .btn {
    width: 100%;
    justify-content: space-between;
  }
  .evp-bess .cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media(prefers-reduced-motion:reduce) {
  .evp-bess .track {
    scroll-behavior: auto;
  }
  .evp-bess * {
    transition: none!important;
  }
}
