.tobor-why-teleoperation {
  --tobor-why-bg: #f8fafc;
  --tobor-why-text: #171717;
  --tobor-why-accent: #99c300;
  --tobor-why-success: #f0fdf4;
  --tobor-why-card: #ffffff;
  --tobor-why-soft: #f1f5ff;
  --tobor-why-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  --tobor-why-radius: 16px;
  --tobor-why-padding: 96px;
  --tobor-why-gap: 64px;
  box-sizing: border-box;
  width: 100%;
  background: var(--tobor-why-bg);
  color: var(--tobor-why-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: var(--tobor-why-padding);
}

.tobor-why-teleoperation *,
.tobor-why-teleoperation *::before,
.tobor-why-teleoperation *::after {
  box-sizing: border-box;
}

.tobor-why-teleoperation__inner {
  display: flex;
  flex-direction: column;
  gap: var(--tobor-why-gap);
  max-width: 1248px;
  margin: 0 auto;
}

.tobor-why-teleoperation__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.tobor-why-teleoperation__title {
  width: 100%;
  margin: 0;
  color: var(--tobor-why-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: 0;
}

.tobor-why-teleoperation__description {
  width: min(818px, 100%);
  margin: 0;
  color: var(--tobor-why-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
}

.tobor-why-teleoperation__comparison {
  display: grid;
  grid-template-columns: minmax(360px, 612px) minmax(180px, 1fr) minmax(180px, 1fr);
  align-items: stretch;
  gap: 16px;
  width: 100%;
}

.tobor-why-teleoperation__mobile-carousel {
  display: none;
}

.tobor-why-teleoperation__features,
.tobor-why-teleoperation__column {
  display: grid;
  grid-template-rows: 88px repeat(var(--tobor-why-row-count, 4), minmax(72px, 1fr));
  gap: 16px;
}

.tobor-why-teleoperation__feature-spacer {
  width: 100%;
  min-height: 88px;
  opacity: 0;
}

.tobor-why-teleoperation__feature-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 16px;
  border-radius: var(--tobor-why-radius);
  background: var(--tobor-why-card);
  box-shadow: var(--tobor-why-shadow);
  color: var(--tobor-why-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0;
}

.tobor-why-teleoperation__column {
  overflow: hidden;
  gap: 0;
  border-radius: var(--tobor-why-radius);
  box-shadow: var(--tobor-why-shadow);
}

.tobor-why-teleoperation__column--highlight {
  background: var(--tobor-why-success);
}

.tobor-why-teleoperation__column--standard {
  background: var(--tobor-why-card);
}

.tobor-why-teleoperation__column-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px;
  box-shadow: var(--tobor-why-shadow);
  color: var(--tobor-why-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0;
  text-align: center;
}

.tobor-why-teleoperation__column--highlight .tobor-why-teleoperation__column-heading {
  background: var(--tobor-why-accent);
}

.tobor-why-teleoperation__column--standard .tobor-why-teleoperation__column-heading {
  background: var(--tobor-why-card);
}

.tobor-why-teleoperation__status-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px;
}

.tobor-why-teleoperation__status {
  position: relative;
  display: block;
  width: 49px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.tobor-why-teleoperation__status::before,
.tobor-why-teleoperation__status::after {
  content: "";
  position: absolute;
  display: block;
}

.tobor-why-teleoperation__status.is-yes {
  background: var(--tobor-why-accent);
}

.tobor-why-teleoperation__status.is-yes::before {
  left: 17px;
  top: 12px;
  width: 13px;
  height: 23px;
  border: solid var(--tobor-why-text);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.tobor-why-teleoperation__status.is-no {
  background: var(--tobor-why-soft);
}

.tobor-why-teleoperation__status.is-no::before,
.tobor-why-teleoperation__status.is-no::after {
  left: 14px;
  top: 23px;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--tobor-why-text);
}

.tobor-why-teleoperation__status.is-no::before {
  transform: rotate(45deg);
}

.tobor-why-teleoperation__status.is-no::after {
  transform: rotate(-45deg);
}

@media (max-width: 1199px) {
  .tobor-why-teleoperation {
    padding: 72px 48px;
  }

  .tobor-why-teleoperation__comparison {
    grid-template-columns: minmax(320px, 1.4fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr);
  }
}

@media (max-width: 1024px) {
  .tobor-why-teleoperation {
    padding: 56px 24px;
  }
  .tobor-why-teleoperation__comparison {
    grid-template-columns: minmax(320px, 1.4fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr);
  }
  
}

@media (max-width: 767px) {
  .tobor-why-teleoperation {
    padding: 32px 16px 28px;
  }

  .tobor-why-teleoperation__title {
    font-size: 40px;
    line-height: 48px;
  }

  .tobor-why-teleoperation__inner {
    gap: 32px;
  }

  .tobor-why-teleoperation__description {
    width: 100%;
    font-size: 20px;
    line-height: 28px;
  }

  .tobor-why-teleoperation__comparison {
    display: none;
  }

  .tobor-why-teleoperation__mobile-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .tobor-why-teleoperation__mobile-track {
    display: flex;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .tobor-why-teleoperation__mobile-track::-webkit-scrollbar {
    display: none;
  }

  .tobor-why-teleoperation__mobile-slide {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    padding: 16px;
    border-radius: 28px;
    background: var(--tobor-why-card);
    box-shadow: var(--tobor-why-shadow);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .tobor-why-teleoperation__mobile-slide-copy {
    width: 100%;
    color: var(--tobor-why-text);
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0;
  }

  .tobor-why-teleoperation__mobile-slide-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .tobor-why-teleoperation__mobile-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    min-height: 56px;
    padding: 8px 12px;
    border-radius: 16px;
    box-shadow: var(--tobor-why-shadow);
  }

  .tobor-why-teleoperation__mobile-pill--highlight {
    background: var(--tobor-why-success);
  }

  .tobor-why-teleoperation__mobile-pill--standard {
    background: var(--tobor-why-card);
  }

  .tobor-why-teleoperation__mobile-pill-label {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    color: var(--tobor-why-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tobor-why-teleoperation__tb-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .tobor-why-teleoperation__mobile-pill .tobor-why-teleoperation__status {
    width: 24px;
    height: 24px;
  }

  .tobor-why-teleoperation__mobile-pill .tobor-why-teleoperation__status.is-yes::before {
    left: 8px;
    top: 5px;
    width: 7px;
    height: 11px;
    border-width: 0 2px 2px 0;
  }

  .tobor-why-teleoperation__mobile-pill .tobor-why-teleoperation__status.is-no::before,
  .tobor-why-teleoperation__mobile-pill .tobor-why-teleoperation__status.is-no::after {
    left: 6px;
    top: 11px;
    width: 12px;
    height: 2px;
  }

  .tobor-why-teleoperation__mobile-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .tobor-why-teleoperation__mobile-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d1d5db;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease;
  }

  .tobor-why-teleoperation__mobile-dot.is-active {
    background: #506ccd;
    transform: scale(1.05);
  }
}
