/* Accessible challenge explanation used by the hero and the site configurator. */
body.landing-rebuild .two-step-help-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0;
}

body.landing-rebuild .two-step-help-trigger,
body.landing-rebuild .two-step-help-close {
  appearance: none;
  display: inline-grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

body.landing-rebuild .two-step-help-trigger {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 50%;
  font: 750 0.74rem/1 "Friday Roboto", Roboto, Arial, sans-serif;
}

body.landing-rebuild .two-step-help-trigger:hover,
body.landing-rebuild .two-step-help-trigger[aria-expanded="true"] {
  border-color: rgba(244, 75, 73, 0.62);
  background: rgba(244, 75, 73, 0.15);
  color: #ffffff;
}

body.landing-rebuild .two-step-help-trigger:active,
body.landing-rebuild .two-step-help-close:active {
  transform: scale(0.94);
}

body.landing-rebuild .two-step-help-trigger:focus-visible,
body.landing-rebuild .two-step-help-close:focus-visible {
  outline: 2px solid #f44b49;
  outline-offset: 3px;
}

body.landing-rebuild .hero-deal-summary-row.has-two-step-help,
body.landing-rebuild #programs .configurator-offer-rule.has-two-step-help {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 10px !important;
  row-gap: 10px !important;
}

body.landing-rebuild .two-step-help-panel[hidden] {
  display: none !important;
}

body.landing-rebuild .two-step-help-panel {
  grid-column: 1 / -1 !important;
  width: 100%;
  min-width: 0;
  margin: 2px 0 0;
  padding: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: #15161a;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.035);
  color: #f7f7f5;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: default;
  animation: two-step-help-in 140ms ease-out both;
}

body.landing-rebuild .two-step-help-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.landing-rebuild .two-step-help-panel .two-step-help-panel-head > strong {
  color: #ffffff !important;
  font: 760 0.82rem/1.2 "Friday Roboto", Roboto, Arial, sans-serif !important;
  letter-spacing: -0.01em !important;
  text-align: left !important;
  text-transform: none !important;
}

body.landing-rebuild .two-step-help-close {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 8px;
}

body.landing-rebuild .two-step-help-close svg {
  width: 14px;
  height: 14px;
}

body.landing-rebuild .two-step-help-steps {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

body.landing-rebuild .two-step-help-steps > li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

body.landing-rebuild .two-step-help-panel .two-step-help-number {
  display: grid !important;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(244, 75, 73, 0.3);
  border-radius: 7px;
  background: rgba(244, 75, 73, 0.1);
  color: #ff7774 !important;
  font: 760 0.65rem/1 "Friday Roboto", Roboto, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.landing-rebuild .two-step-help-step-copy {
  display: grid !important;
  gap: 3px !important;
  min-width: 0;
  color: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

body.landing-rebuild .two-step-help-panel .two-step-help-step-copy > strong {
  color: rgba(255, 255, 255, 0.94) !important;
  font: 720 0.72rem/1.25 "Friday Roboto", Roboto, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
}

body.landing-rebuild .two-step-help-panel .two-step-help-step-copy > small {
  color: rgba(255, 255, 255, 0.58) !important;
  font: 500 0.68rem/1.4 "Friday Roboto", Roboto, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
}

body.landing-rebuild .two-step-help-result {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 9px 10px;
  border-radius: 9px;
  background: rgba(244, 75, 73, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font: 650 0.68rem/1.4 "Friday Roboto", Roboto, Arial, sans-serif;
}

body.landing-rebuild .two-step-help-panel .two-step-help-result > span:last-child {
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-align: left !important;
  text-transform: none !important;
}

body.landing-rebuild .two-step-help-panel .two-step-help-result-mark {
  display: grid !important;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f44b49;
  color: #0b0c0f !important;
  font: 850 0.68rem/1 "Friday Roboto", Roboto, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

body.landing-rebuild #programs .configurator-card-rail {
  align-items: start !important;
}

@media (max-width: 700px) {
  body.landing-rebuild #programs .configurator-card-rail,
  body.landing-rebuild #programs .configurator-shell[data-currency="RUB"] .configurator-card-rail {
    align-items: flex-start !important;
  }

  body.landing-rebuild .two-step-help-panel {
    padding: 14px;
  }

  body.landing-rebuild .two-step-help-panel .two-step-help-step-copy > strong {
    font-size: 0.78rem !important;
  }

  body.landing-rebuild .two-step-help-panel .two-step-help-step-copy > small,
  body.landing-rebuild .two-step-help-result {
    font-size: 0.74rem !important;
  }
}

@keyframes two-step-help-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  body.landing-rebuild .two-step-help-panel {
    animation: none;
  }

  body.landing-rebuild .two-step-help-trigger,
  body.landing-rebuild .two-step-help-close {
    transition: none;
  }
}
