/* Shared responsive safeguards for the static public pages. */
@media (max-width: 820px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip !important; }
  *, *::before, *::after { min-width: 0; }
  img, svg, video, canvas { max-width: 100%; }
  h1, h2, h3, p, .sub, .lead, li, figcaption { text-wrap: balance; }
  .hero, .frame, section, .wrap, .hero-in, .idark-in, .foot-in { max-width: 100vw !important; }
  .hero, .frame, section, .wrap, .hero-in, .idark-in, .foot-in { box-sizing: border-box; }
  .hero nav .menu, .navbar .nb-menu, .navbar .nb-cta { display: none !important; }
  .hero nav .nav-r .btn, .hero nav .nav-r .login { display: none !important; }
  .hero nav .nav-r { gap: 0 !important; }
  .burger { display: inline-flex !important; position: relative; z-index: 101; }
  .stage, .glowwrap, .console, .console-top { max-width: 100%; overflow: hidden !important; }
  .rise { opacity: 1 !important; transform: none !important; animation: none !important; }
  .cta { flex-direction: column; align-items: stretch; width: 100%; }
  .cta .btn { width: 100%; justify-content: center; box-sizing: border-box; }
  .console-body, .trust { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .trust { flex-wrap: nowrap; justify-content: flex-start; }
  .tpill { flex: 0 0 auto; }
  .bento-grid, .bento, .cards, .cases, .solutions, .rely, .foot-grid, .foot-cols,
  .pricing-grid, .service-grid, .case-grid, .contacts-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .bento { grid-auto-rows: auto !important; }
  .bento-card, .b2, .wcard, .case, .sol, .rely > *, .cat-tile { min-width: 0 !important; height: auto; }
  .bento-card p, .b2 p, .wcard p, .case p, .sol p, .cat-tile p { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  .fc-form, .modal, .modal input, .modal textarea, .fc-form input { max-width: 100%; box-sizing: border-box; }
  .foot-cta, .calcbody, .cwin, .dc-grid, .console-body.pdash { grid-template-columns: minmax(0, 1fr) !important; }
  .fc-copy, .fc-form, .cw-side, .cw-map, .pdash-main, .pdash-side { max-width: 100%; box-sizing: border-box; }
  .calc-left { grid-template-columns: minmax(0, 1fr) !important; padding: 18px !important; }
  .calc-right { border-left: 0 !important; border-top: 1px solid rgba(12,13,17,.08); }
  .cw-side { border-right: 0 !important; }
  .cw-map { padding: 14px !important; }
  .cw-mapwrap { min-height: 220px !important; }
  .dc-gwrap { height: auto; }
  .dc-row { gap: 8px; padding: 10px; }
  .dc-bars { width: 64px; }
  .dc-foot { grid-template-columns: 1fr !important; gap: 8px; }
  .pdash-main, .pdash-side { border-right: 0 !important; padding: 14px !important; }
  .pd-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .side .flow { max-width: 100%; overflow: hidden; }
  .side .vl, .side .nodes .n { overflow-wrap: anywhere; }
}

.vd-mobile-menu[hidden] { display: none; }
.vd-mobile-menu { position: fixed; inset: 0; z-index: 1000; background: rgba(5, 9, 18, .74); padding: 12px; }
.vd-mobile-menu__panel { width: min(100%, 420px); max-height: calc(100dvh - 24px); margin-left: auto; overflow: auto; overscroll-behavior: contain; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: #111723; box-shadow: 0 24px 70px rgba(0,0,0,.38); padding: 18px; box-sizing: border-box; }
.vd-mobile-menu__head { display:flex; justify-content:space-between; align-items:center; gap:16px; color:#fff; font-weight:700; }
.vd-mobile-menu__close { width:42px; height:42px; border:1px solid rgba(255,255,255,.16); border-radius:10px; background:rgba(255,255,255,.06); color:#fff; font-size:24px; line-height:1; cursor:pointer; }
.vd-mobile-menu__links { display:grid; gap:6px; margin:20px 0; }
.vd-mobile-menu__links a { display:block; padding:13px 14px; border-radius:11px; color:#e9eef9; font-size:16px; text-decoration:none; background:rgba(255,255,255,.045); }
.vd-mobile-menu__links a[aria-current="page"] { color:#fff; background:rgba(91,161,255,.2); }
.vd-mobile-menu__cta { display:flex; justify-content:center; width:100%; box-sizing:border-box; }
.vd-form-note { margin:10px 0 0; color:#c8d3e7; font-size:13px; line-height:1.45; }
body.vd-menu-open { overflow: hidden !important; }

/* Navigation and forms must remain usable with touch and the on-screen keyboard. */
.vd-sticky-burger { display:none; }
.vd-mobile-menu__links { height:auto; align-items:stretch; }
.vd-mobile-menu__close { min-width:44px; min-height:44px; }
.vd-mobile-menu { padding-top:max(12px, env(safe-area-inset-top)); padding-bottom:max(12px, env(safe-area-inset-bottom)); }
:focus-visible { outline:2px solid #5ba1ff; outline-offset:4px; }
[id] { scroll-margin-top:88px; }
@media(max-width:820px) {
 .navbar { gap:12px; padding:8px 12px !important; }
 .navbar .vd-sticky-burger { margin-left:auto; flex:none; }
 .burger { width:44px; height:44px; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.2); border-radius:10px; background:rgba(255,255,255,.06); color:#fff; font-size:22px; }
 .btn, .ctog button, summary { min-height:44px; }
 input:not([type=checkbox]):not([type=range]), textarea, select { font-size:16px !important; }
 input[type=checkbox] { width:20px !important; height:20px !important; }
 .foot-cols a, .foot-bottom a { display:inline-flex; align-items:center; min-height:44px; }
 .foot-cols a { font-size:14px; }
 .stage { margin-bottom:0 !important; }
 .hero { padding-bottom:24px; }
 .bento-card { opacity:1 !important; transform:none !important; }
 .console-top { flex-wrap:wrap; }
 .btn { white-space:normal; text-align:center; }
 .cmp-wrap { overscroll-behavior-x:contain; }
 .vd-form-note { color:#b8c4d8; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; } }
@media(max-width:820px) {
 .trust { max-width:100%; width:100%; padding:4px 0 10px; }
 .panel-h .chips { flex-wrap:wrap; }
 .panel-h { flex-wrap:wrap; }
 .panel-h .mini { flex:1 1 70px; }
 .ct-form .vd-form-note { color:#596171; }
 .cmp-wrap::before { content:'Листайте таблицу в сторону →'; display:block; padding:12px 16px; color:#596171; font-size:13px; }
 .ctog { flex-wrap:wrap; }
 .ctog button { flex:1 1 80px; }
}
.vd-mobile-menu__links { grid-template-columns:minmax(0,1fr); justify-content:stretch; width:100%; }
@media(max-width:820px) {
 .zhead { flex-direction:column; align-items:flex-start; }
 .zone { flex-wrap:wrap; }
 .ztags { flex-direction:row; flex-wrap:wrap; padding-left:36px; }
 .zsla-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .zcov-l { width:110px; }
}

@media(min-width:821px) and (max-width:900px) { .navbar .vd-sticky-burger { display:inline-flex; flex:none; } }
/* Collapse navigation before its intrinsic width exceeds the header. */
.hero nav .menu, .navbar .nb-menu { flex-shrink:0; }
.hero nav .menu a, .navbar .nb-menu a { white-space:nowrap; }
@media(max-width:1200px) {
 .hero nav .menu, .navbar .nb-menu { display:none !important; }
 .hero nav .login { display:none !important; }
 .hero nav .burger, .navbar .vd-sticky-burger {
  display:inline-flex !important; flex:none; width:44px; height:44px;
  align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.2);
  border-radius:10px; background:rgba(255,255,255,.06); color:#fff; font-size:22px;
 }
 .navbar { max-width:calc(100vw - 32px); box-sizing:border-box; }
}

/* Documents are unavailable until the approved files are provided. */
a[data-document-disabled] { cursor: default; text-decoration: none; }
