.footer-docs .document-label {
  display: block;
}
.lead-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.lead-form-status {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.4;
}
form[aria-busy="true"] button[type="submit"] {
  opacity: .65;
  cursor: wait;
}
.scenario-footer__nav .document-label {
  display: inline-block;
}
.support-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* These statistics remain visible even with an older cached reveal class. */
.advantages .adv-bubble {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}
.hero .button-stack {
  min-width: min(290px, 100%);
}
.hero .architect > .button {
  padding-inline: 16px;
}
.architect-menu[hidden] {
  display: none;
}
.architect-menu {
  padding: 10px 12px;
  gap: 6px;
  border-radius: 16px;
  text-align: center;
  transform-origin: top center;
}
.architect-menu > span {
  padding: 0;
  font-size: 11px;
  line-height: 15px;
}
.support-icon-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.architect-menu .support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f0f3ff;
  transition: background .18s ease, transform .18s ease;
}
.architect-menu .support-icon img {
  display: block;
  width: 26px;
  height: 26px;
}
.architect-menu .support-icon:hover {
  background: #e3e9ff;
  transform: translateY(-2px);
}
.architect-menu .support-icon:focus-visible {
  outline: 2px solid #2f4df1;
  outline-offset: 3px;
}
.architect-menu:not([hidden]) {
  animation: support-menu-in .22s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes support-menu-in {
  from { opacity: 0; transform: translateY(-6px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .architect-menu:not([hidden]) { animation: none; }
  .architect-menu .support-icon { transition: none; }
  .architect-menu .support-icon:hover { transform: none; }
}
/* Cloud positions use bubble-left/right: the old adv-left/adv-right class names are hidden
   by ad-blocker cosmetic filters. Mirrors the rules for those names in main-*.css. */
@media (min-width: 920px) {
  .bubble-left { left: 13%; top: 350px; }
  .bubble-left .adv-bubble-icon { left: -1px; top: -15px; }
  .bubble-right { right: 13%; top: 440px; }
  .bubble-right .adv-bubble-icon { right: -1px; top: -15px; }
}
@media (min-width: 920px) and (max-width: 1000px) {
  .bubble-left { left: 3%; }
  .bubble-right { right: 3%; }
}
@media not (min-width: 920px) {
  .bubble-left .adv-bubble-icon,
  .bubble-right .adv-bubble-icon { position: absolute; z-index: 2; left: 234px; right: auto; top: 0; width: 36px; height: 36px; }
  .bubble-left { order: 2; margin-top: 15px; }
  .bubble-right { order: 3; margin-top: 2px; }
}
/* AI card heading must stay on two lines so it does not run into the phone. */
.platform-ai header { width: min(560px, calc(100% - 32px)); }
.button[hidden], .main-btn[hidden] { display: none !important; }
/* Main hero CTA: same height and font as the /ai/ hero button on desktop (52px, 18px), wide enough for one line. */
@media (min-width: 701px) {
  .hero .button-stack { width: 340px; min-width: 340px; }
  .hero .button { height: 52px; font-size: 18px; white-space: nowrap; }
}
/* Header "Помощь" button opens the same messenger picker as the hero. */
.site-header .header-actions .architect { position: relative; }
.site-header .header-actions .architect-menu { left: auto; right: 0; width: 210px; }
@media (max-width: 1000px) {
  .site-header.menu-open .header-actions .architect-menu { position: static; width: auto; margin-top: 6px; }
  /* The mobile menu has a fixed height; grow it by the picker's height while the picker is open. */
  .site-header.menu-open:has(.architect-menu:not([hidden])) { height: 390px; }
}
.site-header .header-actions .architect > .button { width: auto; min-width: 97px; }
@media (max-width: 1000px) { .site-header.menu-open .header-actions .architect > .button { width: 100%; } }
/* "Скоро" marker, same look as the guide badges on the main page. */
.ai-soon { display: inline-block; padding: 2px 10px; border-radius: 100px; background: rgba(47, 77, 241, .1); color: #2f4df1; font-size: 13px; line-height: 1.3; letter-spacing: -.02em; cursor: default; }
/* /platform/ "Запустите Scenario сегодня": heading flush with the 40px card padding (desktop). */
@media (min-width: 768px) {
  .scenario6.custom .scnario6__text .section-title { margin-top: 0; }
}
