.yes-home-bess {
  --yes-hb-bg: #0b0d0e;
  --yes-hb-panel: rgba(255, 255, 255, 0.055);
  --yes-hb-panel-strong: rgba(255, 255, 255, 0.09);
  --yes-hb-line: rgba(173, 175, 176, 0.22);
  --yes-hb-text: #f5f7f7;
  --yes-hb-muted: #b9c2c4;
  --yes-hb-accent: #40c7bc;
  --yes-hb-dark: #111213;
  --yes-hb-light: #f6f8f8;
  background:
    radial-gradient(circle at 80% 10%, rgba(64, 199, 188, 0.16), transparent 32rem),
    linear-gradient(180deg, #080a0b 0%, #111213 42%, #0b0d0e 100%);
  color: var(--yes-hb-text);
  overflow: hidden;
}

.yes-home-bess * {
  box-sizing: border-box;
}

.yes-home-bess__container {
  width: min(100% - 32px, 1320px);
  margin-inline: auto;
}

.yes-home-bess__hero {
  min-height: 760px;
  padding: 150px 0 90px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--yes-hb-line);
}

.yes-home-bess__hero-grid,
.yes-home-bess__order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.yes-home-bess__hero-copy {
  max-width: 760px;
}

.yes-home-bess h1,
.yes-home-bess h2,
.yes-home-bess h3 {
  font-family: Orbitron, Roboto, Arial, sans-serif;
  letter-spacing: 0;
  margin: 0;
}

.yes-home-bess h1 {
  font-size: clamp(2.35rem, 6vw, 5.75rem);
  line-height: 0.98;
  max-width: 10ch;
  text-transform: uppercase;
}

.yes-home-bess__hero-copy p {
  margin: 32px 0 0;
  max-width: 68ch;
  color: var(--yes-hb-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}

.yes-home-bess__hero-visual,
.yes-home-bess__order-art {
  min-height: 520px;
  position: relative;
  border: 1px solid var(--yes-hb-line);
  background:
    linear-gradient(135deg, rgba(64, 199, 188, 0.12), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px),
    rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.yes-home-bess__hero-visual::before,
.yes-home-bess__order-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(64, 199, 188, 0.38);
}

.yes-home-bess__hero-visual::after,
.yes-home-bess__order-art::after {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  right: -14%;
  top: -10%;
  border: 1px solid rgba(64, 199, 188, 0.34);
  transform: rotate(28deg);
}

.yes-home-bess__battery-stack {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: min(58%, 320px);
  transform: translateX(-50%);
  display: grid;
  gap: 12px;
}

.yes-home-bess__battery-stack span {
  display: block;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(64, 199, 188, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.yes-home-bess__section {
  padding: clamp(56px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--yes-hb-line);
}

.yes-home-bess__section--intro {
  background: rgba(255, 255, 255, 0.018);
}

.yes-home-bess__section--muted {
  background: rgba(255, 255, 255, 0.035);
}

.yes-home-bess__section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.yes-home-bess__section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 3.25rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.yes-home-bess__section-head p,
.yes-home-bess__text-card p,
.yes-home-bess__option-group p {
  color: var(--yes-hb-muted);
  line-height: 1.7;
}

.yes-home-bess__section-head p {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.yes-home-bess__feature-grid,
.yes-home-bess__scenario-grid,
.yes-home-bess__installer-grid,
.yes-home-bess__option-grid {
  display: grid;
  gap: 18px;
}

.yes-home-bess__feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.yes-home-bess__scenario-grid,
.yes-home-bess__installer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yes-home-bess__option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yes-home-bess__card,
.yes-home-bess__text-card,
.yes-home-bess__option-group {
  min-height: 100%;
  border: 1px solid var(--yes-hb-line);
  background: var(--yes-hb-panel);
  padding: clamp(20px, 2.5vw, 30px);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.yes-home-bess__card:hover,
.yes-home-bess__text-card:hover,
.yes-home-bess__option-group:hover {
  transform: translateY(-3px);
  border-color: rgba(64, 199, 188, 0.55);
  background: var(--yes-hb-panel-strong);
}

.yes-home-bess__icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--yes-hb-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 22px;
}

.yes-home-bess__card h3,
.yes-home-bess__text-card h3,
.yes-home-bess__option-group h3,
.yes-home-bess__table-wrap h3 {
  color: var(--yes-hb-text);
  font-size: 1rem;
  line-height: 1.32;
  text-transform: uppercase;
}

.yes-home-bess__card p,
.yes-home-bess__text-card p,
.yes-home-bess__option-group p {
  margin: 18px 0 0;
  font-size: 0.96rem;
}

.yes-home-bess__dropdown-label {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(64, 199, 188, 0.34);
  color: var(--yes-hb-accent) !important;
  padding: 7px 10px;
  font-size: 0.78rem !important;
  text-transform: uppercase;
}

.yes-home-bess__chips,
.yes-home-bess__product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.yes-home-bess__chips span,
.yes-home-bess__product-tabs span {
  border: 1px solid rgba(64, 199, 188, 0.32);
  background: rgba(64, 199, 188, 0.08);
  color: var(--yes-hb-text);
  padding: 10px 12px;
  font-size: 0.88rem;
  line-height: 1.35;
}

.yes-home-bess__product-tabs {
  margin: -18px 0 32px;
}

.yes-home-bess__product-tabs span {
  font-family: Orbitron, Roboto, Arial, sans-serif;
  color: var(--yes-hb-accent);
  text-transform: uppercase;
}

.yes-home-bess__table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--yes-hb-line);
  background: rgba(0, 0, 0, 0.2);
  -webkit-overflow-scrolling: touch;
}

.yes-home-bess__table-wrap:focus {
  outline: 2px solid var(--yes-hb-accent);
  outline-offset: 3px;
}

.yes-home-bess__table-wrap h3 {
  padding: 18px 20px 0;
}

.yes-home-bess table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.yes-home-bess th,
.yes-home-bess td {
  border-bottom: 1px solid rgba(173, 175, 176, 0.18);
  border-right: 1px solid rgba(173, 175, 176, 0.12);
  padding: 14px 16px;
  color: var(--yes-hb-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.yes-home-bess thead th {
  position: sticky;
  top: 0;
  background: #151819;
  color: var(--yes-hb-text);
  font-family: Orbitron, Roboto, Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  z-index: 1;
}

.yes-home-bess tbody th {
  color: var(--yes-hb-text);
  background: rgba(64, 199, 188, 0.05);
  font-weight: 700;
}

.yes-home-bess__order-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(64, 199, 188, 0.16), transparent 26rem),
    #090b0c;
}

.yes-home-bess__order-art {
  min-height: 430px;
}

.yes-home-bess__order-art > div {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(64, 199, 188, 0.18), transparent),
    rgba(255, 255, 255, 0.05);
}

.yes-home-bess__order-form {
  justify-self: end;
}

.dark .yes-home-bess {
  color: var(--yes-hb-text);
}

html:not(.dark) .yes-home-bess {
  --yes-hb-bg: #f7f9f9;
  --yes-hb-panel: rgba(255, 255, 255, 0.82);
  --yes-hb-panel-strong: #ffffff;
  --yes-hb-line: rgba(42, 64, 67, 0.16);
  --yes-hb-text: #111213;
  --yes-hb-muted: #4c5d61;
  background:
    radial-gradient(circle at 80% 10%, rgba(64, 199, 188, 0.12), transparent 30rem),
    linear-gradient(180deg, #fafafa 0%, #eef3f3 45%, #fafafa 100%);
}

html:not(.dark) .yes-home-bess__hero-visual,
html:not(.dark) .yes-home-bess__order-art,
html:not(.dark) .yes-home-bess__table-wrap {
  background-color: rgba(255, 255, 255, 0.72);
}

html:not(.dark) .yes-home-bess thead th {
  background: #ecf1f1;
}

@media (max-width: 1180px) {
  .yes-home-bess__feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yes-home-bess__scenario-grid,
  .yes-home-bess__installer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .yes-home-bess__hero-grid,
  .yes-home-bess__order-grid {
    grid-template-columns: 1fr;
  }

  .yes-home-bess__hero {
    min-height: 0;
    padding-top: 118px;
  }

  .yes-home-bess h1 {
    max-width: 12ch;
  }

  .yes-home-bess__hero-visual,
  .yes-home-bess__order-art {
    min-height: 360px;
  }

  .yes-home-bess__order-form {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .yes-home-bess__container {
    width: min(100% - 24px, 1320px);
  }

  .yes-home-bess__feature-grid,
  .yes-home-bess__scenario-grid,
  .yes-home-bess__installer-grid,
  .yes-home-bess__option-grid {
    grid-template-columns: 1fr;
  }

  .yes-home-bess__hero {
    padding-bottom: 56px;
  }

  .yes-home-bess h1 {
    font-size: clamp(2rem, 13vw, 3.4rem);
  }

  .yes-home-bess__hero-copy p,
  .yes-home-bess__card p,
  .yes-home-bess__text-card p,
  .yes-home-bess__option-group p {
    font-size: 0.94rem;
  }

  .yes-home-bess__table-wrap {
    margin-inline: -12px;
    border-left: 0;
    border-right: 0;
  }

  .yes-home-bess th,
  .yes-home-bess td {
    padding: 12px;
    font-size: 0.82rem;
  }
}
