/* Production compatibility fixes for October CMS build 476. */
.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 11px 16px;
  border-radius: 7px;
  color: #fff;
  background: #111820;
  box-shadow: 0 10px 28px #0006;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
::selection { color: #111; background: #ffb124; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #ff8a0a;
  outline-offset: 3px;
}
.menu { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.menu span { transform-origin: center; transition: transform .2s ease, opacity .2s ease; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.button:disabled { cursor: wait; filter: grayscale(.2); opacity: .58; transform: none; box-shadow: none; }
.captcha-status { margin: -4px 0 2px; color: #68727e; font-size: 12px; line-height: 1.35; }
.captcha-status[data-state="success"] { color: #17764d; }
.captcha-status[data-state="error"] { color: #a22d25; font-weight: 700; }
.modal .smart-captcha { min-height: 100px; }
.toast.toast-error { border-left-color: #d94138; }
.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) {
  .topbar .menu, .nav.open > a, .nav.open .fuel-nav__toggle, .nav.open .blog-nav__toggle { min-height: 44px; }
  .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 (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@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%; }
