:root {
  color-scheme: light;
  --navy: #081a2f;
  --navy-deep: #061528;
  --blue: #1468d7;
  --blue-dark: #105ab9;
  --ink: #10263e;
  --muted: #52667d;
  --page: #f4f8fc;
  --line: #dbe6f0;
  --surface: #fff;
  --radius: 16px;
  --header-height: 72px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { letter-spacing: -.038em; text-wrap: balance; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:focus-visible { outline: 2px solid #357ec9; outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px;
  background: #fff;
  color: var(--ink);
}
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: clamp(56px, 6.2vw, 94px); }

.page-loader {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: none;
  place-items: center;
  background: var(--navy-deep);
}
.page-loading .page-loader { display: grid; }
.page-loading :is(.skip, .header, main, .footer) { visibility: hidden; }
.page-loading body, body:has(.language-prompt[open]) { overflow: hidden; }
.page-loader-content { display: grid; justify-items: center; gap: 26px; }
.page-loader .brand-mark { width: 58px; height: 44px; }
.page-loader .brand-copy strong { font-size: 29px; }
.page-loader-indicator {
  width: 28px;
  height: 28px;
  border: 2px solid #2f4b66;
  border-top-color: #74bfff;
  border-radius: 50%;
  animation: loading-spin .8s linear infinite;
}
@keyframes loading-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
  .page-loader-indicator { animation: none; }
}

.header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  background: var(--navy);
  color: #f4f9ff;
  border-bottom: 1px solid #ffffff16;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); }
.brand { display: inline-flex; align-items: center; gap: 7px; flex: none; }
.brand-mark { width: 44px; height: 32px; stroke: none; }
.brand-copy strong { display: block; color: #fff; font-size: 22px; letter-spacing: -.055em; line-height: 1; }
.brand-copy strong span { color: #59adff; }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.55vw, 24px); margin-left: auto; }
.nav a { color: #e2ecf7; font-size: 13px; font-weight: 625; white-space: nowrap; }
.nav a:hover { color: #8ccbff; }
.header-actions, .language { display: flex; align-items: center; }
.header-actions { gap: 14px; }
.header-contacts { display: flex; gap: 4px; }
.header-icon { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border: 0; border-radius: 6px; background: transparent; color: inherit; }
.header-icon:is([href], .header-messenger):hover { background: #ffffff19; color: #c9e6ff; }
.header-icon svg { width: 20px; height: 20px; }
.language { gap: 4px; }
.language svg { width: 18px; height: 18px; }
.language select { border: 0; padding: 8px 1px; background: transparent; color: inherit; font-size: 13px; cursor: pointer; }
.language select:focus-visible { outline: none; text-decoration: underline; text-underline-offset: .28em; }
.language-prompt {
  width: min(510px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: clamp(32px, 6vw, 44px) clamp(21px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 80px #06183170;
}
.language-prompt::backdrop { background: #061528b8; }
.language-prompt p { margin-top: 8px; font-size: 15px; font-weight: 650; color: var(--muted); }
.language-prompt h2 { margin-top: 7px; font-size: clamp(27px, 6vw, 34px); line-height: 1.12; }
.language-prompt-close {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}
.language-prompt-close:hover { background: var(--page); }
.language-prompt-close svg { width: 20px; height: 20px; }
.language-prompt-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.language-prompt-actions .btn { min-height: 54px; padding-inline: 8px; font-size: 16px; }
.language option { background: #fff; color: var(--ink); }
.menu-toggle { display: none; border: 0; padding: 7px; background: transparent; color: inherit; }
.menu-toggle svg { width: 24px; height: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 690;
  line-height: 1.25;
  text-align: center;
  transition: background-color .18s, border-color .18s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #102a4580; border-color: #adc9e47a; color: #f6faff; }
.btn-outline:not([aria-disabled="true"]):hover,
.btn-outline[data-contact-channel]:hover { background: #284463; border-color: #d4e6f7; }
.header-cta { min-height: 39px; padding-inline: 14px; font-size: 12px; white-space: nowrap; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #f7fbff; }
.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 78%;
  height: 100%;
  object-fit: cover;
  object-position: 73% 46%;
  mask-image: linear-gradient(90deg, transparent, #000 22%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--navy) 15%, #081a2ff7 29%, #081a2fe6 40%, #081a2f68 57%, #081a2f12 76%);
  pointer-events: none;
}
.hero-content { display: flex; min-height: 560px; align-items: center; padding-block: 77px 114px; }
.hero-text { width: min(100%, 610px); }
.eyebrow { color: #1465bb; font-size: 11px; font-weight: 780; letter-spacing: .12em; line-height: 1.3; }
.eyebrow-outline { margin-bottom: 18px; color: #a6d4ff; }
.hero h1 { max-width: 605px; font-size: clamp(42px, 4.25vw, 60px); line-height: 1.035; }
.hero h1:is(:lang(ru), :lang(es)) { font-size: clamp(42px, 4.25vw, 54px); }
.hero h1:is(:lang(ru), :lang(es)) span { display: block; }
.accent { color: #65b7ff; }
.hero-description { max-width: 470px; margin-top: 21px; color: #dbe8f7; font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.hero-messenger { flex: none; width: 48px; padding: 0; }
.hero-messenger svg { width: 22px; height: 22px; }

.ribbon-wrap { position: relative; z-index: 2; margin-top: -46px; }
.ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #d3e5f5;
  border-radius: 13px;
  background: #edf5fd;
  box-shadow: 0 12px 32px #0e294b12;
  padding-block: 17px;
}
.ribbon > div { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 50px; padding-inline: 20px; border-right: 1px solid #d3e3f2; }
.ribbon > div:last-child { border: 0; }
.ribbon svg { flex: 0 0 28px; height: 28px; color: var(--blue); }
.ribbon strong, .ribbon small { display: block; }
.ribbon strong { font-size: 16px; line-height: 1.25; letter-spacing: -.02em; }
.ribbon small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.3; }

.platform { padding-top: clamp(52px, 6vw, 80px); padding-bottom: clamp(55px, 6vw, 84px); }
.section-heading { max-width: 700px; }
.center { margin-inline: auto; text-align: center; }
.section-heading h2, .feature h2, .impact h2, .contact-panel h2 {
  font-size: clamp(30px, 3.3vw, 45px);
  font-weight: 750;
  line-height: 1.1;
}
.section-heading p { margin-top: 13px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.modules { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin-block: 49px 74px; text-align: center; }
.modules svg { width: 35px; height: 35px; margin: 0 auto 13px; color: var(--blue); }
.modules h3 { margin-inline: auto; max-width: 195px; font-size: 15px; line-height: 1.28; }
.modules p { max-width: 200px; margin: 8px auto 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr);
  align-items: center;
  gap: clamp(25px, 5vw, 78px);
}
.desktop-feature { grid-template-areas: "screens copy"; }
.desktop-feature .feature-copy { grid-area: copy; }
.desktop-feature .laptop-wrap { grid-area: screens; }
.feature-copy h2 { margin-block: 12px 15px; }
.feature-copy > p:not(.eyebrow), .impact-grid p:not(.eyebrow) {
  max-width: 490px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.checks { display: grid; gap: 10px; margin: 19px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; }
.checks li::before {
  content: "";
  position: absolute;
  inset: .29em auto auto 2px;
  width: 9px;
  height: 6px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.preview-gallery { position: relative; min-width: 0; }
.laptop { padding: 7px; border: 1px solid #182739; border-radius: 13px 13px 4px 4px; background: #152538; box-shadow: 0 12px 28px #152c4826; }
.laptop-screen { aspect-ratio: 1.88; overflow: hidden; border-radius: 7px; background: #f2f7fc; }
.laptop-base { height: 9px; margin-inline: -8px; border-radius: 0 0 50% 50%; background: linear-gradient(#cbd5e1, #8192a5 58%, #b6c5d4); }
.screen-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.screen-track::-webkit-scrollbar { display: none; }
.screen-track:focus-visible { outline-offset: -3px; }
.gallery-panel { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.laptop-screen .screen-track { height: 100%; }
.laptop-screen .desktop-panel { display: grid; place-items: center; }
.laptop-screen .desktop-panel img { width: 100%; height: 100%; object-fit: contain; }
.preview-controls { display: grid; justify-items: center; gap: 7px; padding-top: 13px; }
.gallery-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.gallery-navigation, .dialog-navigation { display: flex; align-items: center; justify-content: center; gap: 9px; }
.dialog-navigation { margin-top: 12px; }
.gallery-count { min-width: 37px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; color: #516984; }
.gallery-step, .preview-controls .gallery-step {
  display: grid; place-items: center; width: 36px; height: 36px; min-height: 0; padding: 0;
  background: #fff; color: #294761; border: 1px solid var(--line); border-radius: 7px;
}
.gallery-step:hover { border-color: #9eb7d1; }
.gallery-step svg { width: 17px; height: 17px; transform: rotate(-90deg); }
.gallery-step:is([data-gallery-step="-1"], [data-dialog-step="-1"]) svg { transform: rotate(90deg); }
.preview-controls button { min-height: 37px; padding: 6px 10px; background: #fff; color: #344f6e; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; font-weight: 650; line-height: 1.2; }
.preview-controls button:hover { border-color: #a5bfd9; }
.preview-controls [aria-pressed="true"] { border-color: #b9d5f4; background: #eaf4ff; color: #0d57a2; }
.preview-zoom {
  position: absolute;
  z-index: 3;
  inset: 11px 11px auto auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #cfdfef;
  border-radius: 9px;
  background: #f7fbff;
  color: #143b63;
  box-shadow: 0 3px 11px #081a2f24;
}
.preview-zoom:hover { background: #e5f0fc; }
.preview-zoom svg { width: 20px; height: 20px; }

.mobile-section { background: #fff; }
.mobile-feature { grid-template-columns: minmax(0, .81fr) minmax(0, 1.19fr); }
.mobile-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .84fr);
  align-items: center;
  width: 100%;
  min-height: clamp(316px, 35vw, 422px);
  padding: 23px 55px 23px clamp(15px, 3vw, 34px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce9f5;
}
.field-photo { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.mobile-preview { grid-column: 2; min-width: 0; }
.mobile-panel { display: grid; place-items: center; min-width: 0; }
.app-device {
  --device-ratio: .445;
  width: min(100%, 158px);
  border: 5px solid #101c2b;
  border-radius: 25px;
  background: #101c2b;
  box-shadow: 0 15px 36px #081a2f57, 0 0 0 1px #b4c3d880;
}
.app-screen { position: relative; overflow: hidden; aspect-ratio: var(--device-ratio); border-radius: 19px; background: #fff; }
.app-screen img { position: absolute; inset: 0 auto auto 0; width: var(--shot-width); max-width: none; height: auto; transform: translate(var(--shot-x), var(--shot-y)); }
.app-device-survey { --shot-width: 123.73%; --shot-x: -9.34%; --shot-y: -8.11%; }
.app-device-damage { --device-ratio: .446; --shot-width: 122.37%; --shot-x: -9.42%; --shot-y: -2.58%; }
.app-device-operations, .app-device-yard { --shot-width: 100%; --shot-x: 0; --shot-y: 0; width: min(100%, 189px); }
.app-device-operations { --device-ratio: .658; }
.app-device-yard { --device-ratio: .65625; --shot-y: -13.203125%; }

.impact { padding-bottom: clamp(45px, 5vw, 76px); }
.impact-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 6vw, 84px); align-items: center; }
.impact h2 { margin-block: 12px; }
.impact-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 23px; margin-top: 23px; }
.impact-items > div { min-width: 0; display: flex; align-items: center; gap: 10px; }
.impact-items svg { flex: 0 0 25px; height: 25px; color: var(--blue); }
.impact-value { display: block; color: #145ead; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; font-variant-numeric: tabular-nums; }
.impact-items strong { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.yard-photo { width: 100%; height: clamp(200px, 28vw, 328px); object-fit: cover; object-position: 61% center; border-radius: var(--radius); }
.workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(35px, 5vw, 65px);
  padding: clamp(23px, 4vw, 52px);
  border-radius: var(--radius);
  background: linear-gradient(105deg, #0a203b, #15365a);
  color: #fff;
}
.workflow h2 { margin-block: 0 11px; font-size: clamp(27px, 3vw, 36px); }
.workflow p { max-width: 480px; color: #d5e4f5; font-size: 15px; line-height: 1.6; }
.workflow-stages { display: grid; gap: 11px; margin: 0; padding: 4px 0 4px 35px; border-left: 1px solid #b8d0ec45; color: #e1edf9; font-size: 14px; line-height: 1.5; }
.workflow-stages li { padding-left: .25em; }
.workflow-stages li::marker { color: #83c5ff; font-weight: 700; }

.integration-section { padding-top: 10px; }
.integrations { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(25px, 5vw, 70px); }
.integrations h2 { margin-block: 10px 13px; font-size: clamp(26px, 3vw, 35px); line-height: 1.14; }
.integrations p:not(.eyebrow) { max-width: 535px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.integration-list { display: flex; flex-wrap: wrap; gap: 7px 10px; margin: 17px 0 0; padding: 0; list-style: none; }
.integration-list li { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 8px; border: 1px solid #d6e4f1; border-radius: 6px; background: #fafdff; color: #284764; font-size: 12px; line-height: 1.25; }
.integration-list svg { flex: 0 0 17px; height: 17px; color: var(--blue); }
.security { display: flex; gap: 14px; align-items: center; border-left: 1px solid #cfdeec; padding-left: clamp(20px, 3vw, 42px); }
.security .shield { flex: 0 0 clamp(38px, 5vw, 64px); height: clamp(38px, 5vw, 64px); color: var(--blue); }

.contact-section { background: #0d263f; color: #f5f9fe; padding-block: clamp(55px, 7vw, 104px); }
.contact-panel { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: clamp(33px, 7vw, 102px); align-items: center; }
.contact-copy h2 { max-width: 490px; }
.contact-copy p { max-width: 400px; margin-top: 17px; color: #d1e0ef; font-size: 16px; line-height: 1.6; }
.lead-form { min-width: 0; padding: clamp(19px, 3.1vw, 39px); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: 0 16px 38px #04132030; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 17px 14px; }
.form-field { display: grid; align-content: start; min-width: 0; gap: 6px; }
.form-field label { display: block; min-height: 18px; color: #293f57; font-size: 13px; font-weight: 650; line-height: 1.35; }
.required-mark { color: #4f647c; }
.form-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 47px;
  border: 1px solid #8798ad;
  border-radius: 7px;
  background: #fbfdff;
  color: var(--ink);
  box-shadow: none;
  padding: 0 11px;
  font-size: 16px;
  line-height: 1.2;
}
.form-field input::placeholder { color: #61758d; opacity: 1; font-size: 14px; }
.lead-form :is(input, select, textarea):is(:hover, :focus, :focus-visible) { outline: none; box-shadow: none; }
.form-field:has(input:focus-visible) > label, .consent:has(input:focus-visible) > span { position: relative; }
.form-field:has(input:focus-visible) > label::before, .consent:has(input:focus-visible) > span::before {
  content: "";
  position: absolute;
  inset-inline-start: -8px;
  top: .52em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.form-field input { scroll-margin-top: .45rem; }
.field-error { margin: 0; color: #a33a42; font-size: 12px; line-height: 1.35; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 17px 0 13px; color: #354d64; font-size: 12px; line-height: 1.45; }
.consent input { width: 16px; height: 16px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.consent-error { margin: -7px 0 13px 25px; }
.inline-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lead-form .inline-link { color: #105ab1; font-weight: 650; text-decoration: none; }
.form-submit { width: 100%; }
.form-submit:disabled { opacity: .65; cursor: default; }
.form-status { margin-top: 10px; color: #37536e; font-size: 13px; line-height: 1.45; }
.form-status:empty { display: none; }

.country-picker { position: relative; min-width: 0; }
.country-picker input { padding-right: 33px; }
.country-chevron { pointer-events: none; position: absolute; top: 15px; right: 10px; width: 17px; height: 17px; color: #52677e; }
.country-list {
  position: absolute;
  z-index: 12;
  inset: calc(100% + 5px) 0 auto;
  max-height: min(275px, 42dvh, var(--country-space, 275px));
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #ccdcea;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 4px;
  box-shadow: 0 9px 24px #0a233827;
}
.country-list[data-above] { inset: auto 0 calc(100% + 5px); }
.country-divider { margin: 5px 4px; border-top: 1px solid var(--line); }
.country-option { display: flex; align-items: center; min-height: 37px; padding: 6px 8px; border-radius: 4px; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; cursor: pointer; }
.country-option:is([aria-selected="true"], [data-active], :hover) { background: #e8f2fc; }
.country-empty { color: var(--muted); padding: 10px 8px; font-size: 13px; }

.footer { border-top: 1px solid #ffffff17; background: var(--navy-deep); color: #f6f9fe; padding: 48px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr .8fr 1fr; gap: 35px; }
.footer-grid p { max-width: 265px; margin-top: 12px; color: #bacce0; font-size: 12px; line-height: 1.55; }
.footer-grid h3 { margin: 2px 0 13px; font-size: 13px; letter-spacing: 0; }
.footer-grid a:not(.brand) { display: block; margin-block: 9px; color: #c2d3e6; font-size: 12px; line-height: 1.4; }
.footer a:hover { color: #81c1ff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; border-top: 1px solid #ffffff29; padding-top: 20px; color: #baccdf; font-size: 11px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.info-dialog { max-height: 88vh; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px #06183160; }
.info-dialog::backdrop { background: #041629b8; }
.preview-dialog {
  width: min(1320px, calc(100% - 28px));
  height: min(840px, calc(100dvh - 28px));
  max-height: none;
  padding: 17px;
  overflow: hidden;
}
.preview-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.preview-dialog[data-gallery="mobile"] { width: min(470px, calc(100% - 28px)); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 12px; }
.dialog-title { font-size: 23px; }
.dialog-close { display: grid; place-items: center; min-width: 36px; min-height: 36px; border: 0; border-radius: 6px; background: #edf4fb; color: #304d69; }
.dialog-close svg { width: 21px; height: 21px; }
.dialog-preview { min-height: 0; overflow: auto; overscroll-behavior: contain; border-radius: 8px; background: #edf4fb; }
.dialog-preview .desktop-panel { display: grid; min-width: 720px; min-height: 100%; align-content: center; }
.dialog-preview .desktop-panel img { width: 100%; height: auto; }
.preview-dialog[data-gallery="mobile"] .dialog-preview { container-type: size; overflow: hidden; }
.dialog-preview .mobile-panel { height: 100%; padding: 8px; }
.dialog-preview .app-device { width: min(100%, calc((100cqh - 16px) * var(--device-ratio))); box-shadow: none; }

.policy-page { min-height: 100vh; }
.policy-article { width: min(800px, calc(100% - 36px)); margin: 26px auto 42px; padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.policy-article h1 { margin-bottom: 30px; font-size: clamp(21px, 6.75vw, 42px); line-height: 1.12; overflow-wrap: anywhere; text-wrap: balance; }
.policy-article h2 { margin: 25px 0 9px; font-size: 21px; line-height: 1.25; text-wrap: wrap; }
.policy-article p, .policy-article li { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.policy-article p + p { margin-top: 9px; }
.policy-article a { color: #075cad; text-decoration: underline; text-underline-offset: 3px; }
.policy-article ul { margin: 6px 0 0; padding-left: 20px; }
.policy-article .policy-note { margin-bottom: 18px; color: var(--muted); }
.policy-article .policy-actions { margin-top: 22px; }
.policy-article [role="status"] { margin-top: 10px; color: var(--muted); }
.policy-article [role="status"]:empty { display: none; }

@media (max-width: 1090px) {
  :root { --header-height: 66px; }
  .container { width: calc(100% - 48px); }
  .header-inner { justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .nav { display: none; position: absolute; inset: var(--header-height) 0 auto; background: var(--navy); box-shadow: 0 12px 20px #06183137; }
  .nav.is-open { display: grid; gap: 0; padding: 12px 24px 20px; }
  .nav a { padding: 10px 0; font-size: 15px; }
  .menu-toggle { display: block; }
  .hero-photo { width: 82%; }
  .hero::after { background: linear-gradient(90deg, var(--navy) 9%, #081a2ff7 26%, #081a2f91 55%, #081a2f21 86%); }
  .ribbon > div { padding-inline: 12px; }
  .ribbon strong { font-size: 15px; }
  .ribbon svg { flex-basis: 24px; height: 24px; }
  .modules { gap: 15px; }
}
@media (max-width: 870px) {
  .hero-content { min-height: 490px; }
  .ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 11px 0; row-gap: 5px; }
  .ribbon > div:nth-child(even) { border: 0; }
  .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 15px; margin-bottom: 58px; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .contact-copy { width: min(100%, 640px); }
  .contact-copy h2 { max-width: none; }
  .lead-form { width: min(100%, 640px); }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .hero { background: #343b41; }
  .hero-content { display: block; min-height: clamp(520px, 150vw, 720px); padding-block: 42px clamp(164px, 34vw, 208px); }
  .hero h1 { font-size: clamp(29px, 8.6vw, 46px); }
  .hero h1:is(:lang(ru), :lang(es)) { font-size: clamp(24px, 8.6vw - 2px, 46px); }
  .hero-photo { inset: 0; width: 100%; height: 100%; object-position: center 55%; mask-image: none; }
  .hero::after { background: linear-gradient(180deg, #0b101478 0%, #0b10147d 28%, #0b101452 47%, #0b101417 65%, transparent 77%); }
  .hero-description { margin-top: 15px; font-size: 15px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .hero-demo { min-height: 44px; padding-inline: 13px; font-size: 13px; }
  .hero-messenger { width: 44px; min-height: 44px; }
  .ribbon-wrap { margin-top: 0; padding-top: 16px; }
  .ribbon > div { min-height: 51px; gap: 8px; }
  .ribbon small { font-size: 10px; }
  .ribbon strong { font-size: 13px; }
  .ribbon svg { flex-basis: 23px; height: 23px; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 34px 49px; gap: 24px 15px; }
  .modules p { font-size: 12px; }
  .feature, .desktop-feature, .mobile-feature { display: flex; flex-direction: column; align-items: stretch; gap: 27px; }
  .mobile-visual { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: clamp(258px, 68vw, 354px); padding: 16px 49px 16px 12px; }
  .app-device { width: min(100%, 139px); border-width: 4px; border-radius: 20px; }
  .app-screen { border-radius: 15px; }
  .app-device-operations, .app-device-yard { width: min(100%, 153px); }
  .preview-zoom { width: 34px; height: 34px; inset: 9px 9px auto auto; }
  .preview-zoom svg { width: 18px; height: 18px; }
  .preview-controls { padding-top: 10px; }
  .preview-controls button { padding-inline: 8px; min-height: 34px; font-size: 11px; }
  .impact-grid, .integrations, .workflow { grid-template-columns: minmax(0, 1fr); }
  .workflow { gap: 20px; }
  .workflow-stages { border: 0; border-top: 1px solid #b8d0ec45; padding: 17px 0 0 19px; }
  .security { border-left: 0; border-top: 1px solid #cfdeec; padding: 23px 0 0; }
  .contact-panel { gap: 23px; }
  .contact-copy p { margin-top: 13px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .preview-dialog { padding: 12px; }
  .dialog-title { font-size: 19px; }
}
@media (max-width: 550px) {
  .header-cta, .header-messenger { display: none; }
  .header-inner, .header-actions { gap: 5px; }
  .header-contacts { gap: 1px; }
  .header-icon, .menu-toggle { width: 42px; min-height: 42px; }
  .language { gap: 2px; }
  .brand-mark { width: 38px; }
  .brand-copy strong { font-size: 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .country-list { max-height: min(250px, 42dvh, var(--country-space, 250px)); }
}
@media (max-width: 430px) {
  .impact-items { column-gap: 13px; }
  .impact-items > div { gap: 7px; }
  .impact-items strong { font-size: 13px; }
}
@media (max-width: 350px) {
  .container { width: calc(100% - 28px); }
  .header .brand-mark { width: 31px; }
  .header .brand-copy strong { font-size: 18px; }
  .header .language svg { display: none; }
  .hero-actions { gap: 8px; }
  .hero-actions .hero-demo { padding-inline: 10px; font-size: 12px; }
  .ribbon > div { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}

/* Shared contact controls and inner pages. */
.nav a[aria-current="page"] { color: #85c8ff; }
.feature-link {
  display: inline-block;
  margin-top: 20px;
  color: #105ab1;
  font-size: 14px;
  font-weight: 675;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-secondary { border-color: #c8d8e9; background: #f5f9fd; color: #173c62; }
.btn-secondary:hover { border-color: #9fb9d6; background: #eaf3fc; }
.quick-actions, .inner-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.quick-actions .btn, .inner-actions .btn { gap: 8px; }
.quick-actions .btn { min-height: 43px; padding-inline: 13px; font-size: 13px; }
.contact-more { color: #b8dfff; }

.form-details { margin-top: 13px; }
.form-details summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  color: #105ab1;
  font-size: 13px;
  font-weight: 640;
  list-style: none;
  cursor: pointer;
}
.form-details summary::-webkit-details-marker { display: none; }
.form-details summary svg { width: 16px; height: 16px; }
.form-details[open] summary { margin-bottom: 9px; }
.form-details[open] summary svg { transform: rotate(180deg); }

.footer-grid a.footer-contact-heading { margin: 0; color: #f5f9ff; font-size: inherit; }
.footer-contact-value { overflow-wrap: anywhere; }
.footer .footer-contact-note { margin-top: 7px; color: #a4b9d1; font-size: 11px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.footer .footer-social > a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid #52708e;
  border-radius: 7px;
  color: #c2d3e6;
}
.footer-social svg { width: 17px; height: 17px; }
.footer .footer-social > a[aria-disabled="true"] { color: #a4b9d1; border-color: #45617c; }
.footer .footer-social > a:hover { background: #233c56; border-color: #7998b8; color: #e9f6ff; }

.inner-hero { background: var(--navy); color: #f5f9ff; padding-block: clamp(43px, 6.3vw, 88px); }
.inner-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(22px, 5vw, 64px); align-items: center; }
.inner-hero-photo { width: 100%; height: clamp(188px, 24vw, 305px); border-radius: var(--radius); object-fit: cover; object-position: 64% center; }
.inner-intro h1 { max-width: 790px; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; }
.inner-intro p { max-width: 650px; margin-top: 17px; color: #d7e5f4; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.55; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 2vw, 24px);
  margin-top: 27px;
}
.detail-grid-flow { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.detail-grid-flow > .detail-card { grid-column: span 2; }
.detail-grid-flow > .detail-card:nth-last-child(-n+2) { grid-column: span 3; }
.detail-card {
  min-width: 0;
  padding: clamp(18px, 2.7vw, 33px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.detail-card > svg { width: 29px; height: 29px; margin-bottom: 14px; color: var(--blue); }
.detail-card h3 { font-size: 20px; text-wrap: wrap; line-height: 1.2; }
.detail-card p { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.52; }
.inner-demo { background: #fff; }
.inner-callout { padding-block: 39px; background: #dfeefa; }
.inner-callout .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; }
.inner-callout h2 { margin-bottom: 8px; font-size: clamp(24px, 3vw, 33px); }
.inner-callout p { max-width: 650px; color: #425f7a; font-size: 15px; line-height: 1.54; }

.contact-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-directory .detail-card { padding: clamp(16px, 2.6vw, 28px); }
.directory-links { display: grid; gap: 8px; margin-top: 16px; }
.contact-channel {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #d4e1ef;
  border-radius: 7px;
  color: #21476e;
  background: #f8fbfe;
  font-size: 14px;
  font-weight: 640;
  overflow-wrap: anywhere;
}
.contact-channel svg { width: 18px; height: 18px; flex: none; color: #326aa5; }
.contact-channel:is([href], [data-contact-channel="telegram"], [data-contact-channel="whatsapp"]):hover { background: #eaf4ff; border-color: #aec9e8; }
.contact-channel[aria-disabled="true"] { color: #405a74; }
.contact-directory .contact-channel { min-width: 0; }

@media (max-width: 870px) {
  .detail-grid, .detail-grid-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid-flow > .detail-card, .detail-grid-flow > .detail-card:nth-last-child(-n+2) { grid-column: auto; }
  .detail-grid-flow > .detail-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .inner-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .inner-hero-photo { height: clamp(165px, 45vw, 270px); }
  .inner-actions { margin-top: 18px; }
  .quick-actions { margin-top: 16px; }
  .quick-actions .btn { min-height: 42px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .detail-grid, .detail-grid-flow, .contact-directory {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 420px) {
  .inner-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
}
