/* Production compatibility fixes for October CMS build 476. */
.reveal {
  opacity: 1;
  transform: none;
}

@keyframes cardFloatMobile {
  0%, 100% { transform: translateX(-50%) translateY(0) rotateY(-8deg) rotateX(2deg) rotateZ(3deg); }
  50% { transform: translateX(-50%) translateY(-13px) rotateY(8deg) rotateX(-2deg) rotateZ(-1deg); }
}

.map-direct-link {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 8;
  transform: translateX(-50%);
  padding: 12px 18px;
  border-radius: 7px;
  color: #fff;
  background: #0c1015e8;
  border: 1px solid #ff8a0a;
  box-shadow: 0 12px 35px #0009;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .card-stage > .fuel-card {
    left: 50%;
    right: auto;
    width: min(82vw, 310px);
    max-width: 310px;
    animation-name: cardFloatMobile;
  }
  .card-stage .orbit { width: min(96vw, 350px); }
  .card-stage .platform { width: min(90vw, 330px); }
  .modal { align-items: flex-start; overflow-y: auto; padding: 12px; }
  .modal-box { margin: 12px 0; padding: 28px 20px; }
  .modal-box h2 { font-size: 29px; }
}

@media (max-width: 390px) {
  .card-stage > .fuel-card { width: 278px; height: 180px; padding: 19px; }
  .card-stage .float { font-size: 12px; }
}

/* Home workflow amounts and full-length savings chart. */
.cars div { min-width: 106px; }
.cars small { color: #858b93; font-size: 9px; line-height: 1.25; white-space: nowrap; }
.cars b { font-size: 12px; white-space: nowrap; }
.chart svg { inset: 18px 0 20px 0; width: 100%; height: calc(100% - 38px); }
.chart path, .chart polyline { vector-effect: non-scaling-stroke; }
.chart { gap: 9px; padding: 46px 20px 40px 8px; }
.chart i { flex: 1 1 0; width: auto; min-width: 0; max-width: none; }
.chart i:nth-child(1) { height: 12%; }
.chart i:nth-child(2) { height: 20%; }
.chart i:nth-child(3) { height: 29%; }
.chart i:nth-child(4) { height: 39%; }
.chart i:nth-child(5) { height: 50%; }
.chart i:nth-child(6) { height: 62%; }
.chart i:nth-child(7) { height: 74%; }
.chart i:nth-child(8) { height: 87%; }
.chart i:nth-child(9) { height: 100%; }
