/* Three-column proxy comparison with shared row heights and aligned card bottoms. */
.proxy-compare-scroll {
  width: 100%;
  overflow-x: auto;
  padding-top: 1px;
}

.proxy-compare-grid {
  display: grid;
  grid-template-columns: minmax(300px, 30%) repeat(2, minmax(370px, 1fr));
  align-items: end;
  min-width: 1040px;
  font-family: "Poppins", sans-serif;
}

.proxy-compare-column {
  box-sizing: border-box;
  display: grid;
  overflow: hidden;
  border: 1px solid #e9e9e9;
  background: #fff;
  color: #1b0d00;
}

.proxy-compare-column--labels {
  grid-template-rows: repeat(5, 60px) 220px;
  border-radius: 20px 0 0 20px;
}

.proxy-compare-column--plan {
  grid-template-rows: 178px repeat(5, 60px) 220px;
  margin-left: -1px;
  transition: background 200ms ease;
}

.proxy-compare-column--static {
  border-radius: 20px 0 0;
}

.proxy-compare-column--residential {
  border-radius: 0 20px 20px 0;
}

.proxy-compare-column--static:hover,
.proxy-compare-column--static:focus-within {
  background: linear-gradient(46.34deg, rgba(255, 255, 255, 0) 40%, rgba(251, 204, 77, 0.28) 100%);
}

.proxy-compare-column--residential:hover,
.proxy-compare-column--residential:focus-within {
  background: linear-gradient(46.34deg, rgba(255, 255, 255, 0.2) 42.97%, rgba(209, 189, 255, 0.35) 173.13%);
}

.proxy-compare-header {
  box-sizing: border-box;
  padding: 32px 30px 21px;
  border-bottom: 1px dashed #e9e9e9;
}

.proxy-compare-accent {
  width: 100%;
  height: 3px;
}

.proxy-compare-column--static .proxy-compare-accent {
  background: #eeb64e;
}

.proxy-compare-column--residential .proxy-compare-accent {
  background: #8b5cf6;
}

.proxy-compare-icon-box {
  box-sizing: border-box;
  display: flex;
  width: 50px;
  height: 50px;
  margin-top: 37px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
}

.proxy-compare-column--static .proxy-compare-icon-box {
  border: 1px solid #eeb64e;
}

.proxy-compare-column--residential .proxy-compare-icon-box {
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.proxy-compare-title {
  margin: 10px 0 0;
  color: #1b0d00;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}

.proxy-compare-cell {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-bottom: 1px dashed #e9e9e9;
  color: #1b0d00;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.proxy-compare-column--labels .proxy-compare-cell {
  padding-left: 84px;
}

.proxy-compare-cell--use-cases {
  display: flex;
  min-height: 220px;
  padding-top: 23px;
  padding-bottom: 28px;
  flex-direction: column;
  align-items: stretch;
  border-bottom: 0;
}

.proxy-compare-column--labels .proxy-compare-cell--use-cases {
  align-items: flex-start;
}

.proxy-compare-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proxy-compare-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proxy-compare-feature-list img {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.proxy-compare-rotation-check {
  width: 18px;
  height: 11px;
}

.proxy-compare-button {
  box-sizing: border-box;
  display: inline-flex;
  width: 100%;
  height: 40px;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #1b0d00;
  border-radius: 20px;
  background: transparent;
  color: #1b0d00;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  transition: border-color 200ms ease, color 200ms ease;
}

.proxy-compare-column--static:hover .proxy-compare-button,
.proxy-compare-column--static:focus-within .proxy-compare-button {
  border-color: transparent;
  background:
    linear-gradient(#eeb64e, #eeb64e) padding-box,
    linear-gradient(#eeb64e, #eeb64e) border-box;
  color: #fff;
}

.proxy-compare-column--static .proxy-compare-button:hover,
.proxy-compare-column--static .proxy-compare-button:focus-visible {
  background:
    linear-gradient(90deg, #f89c1d 0%, #ffd06b 100%) padding-box,
    linear-gradient(90deg, #f89c1d 0%, #ffd06b 100%) border-box;
  color: #fff;
}

.proxy-compare-column--residential:hover .proxy-compare-button,
.proxy-compare-column--residential:focus-within .proxy-compare-button {
  border-color: transparent;
  background:
    linear-gradient(#8b5cf6, #8b5cf6) padding-box,
    linear-gradient(#8b5cf6, #8b5cf6) border-box;
  color: #fff;
}

.proxy-compare-column--residential .proxy-compare-button:hover,
.proxy-compare-column--residential .proxy-compare-button:focus-visible {
  background:
    linear-gradient(90deg, #763aff 0%, #a882ff 100%) padding-box,
    linear-gradient(90deg, #763aff 0%, #a882ff 100%) border-box;
  color: #fff;
}

.proxy-compare-button:focus-visible {
  outline: 2px solid #1b0d00;
  outline-offset: 3px;
}

@media (max-width: 639px) {
  .proxy-compare-grid {
    grid-template-columns: 280px repeat(2, 360px);
    min-width: 1000px;
  }

  .proxy-compare-column--labels .proxy-compare-cell {
    padding-left: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proxy-compare-column--plan,
  .proxy-compare-button {
    transition: none;
  }
}
