/* One motion language. Loaded last. Hero image stays. */

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  body.site-brand::before {
    content: "";
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    z-index: 600;
    width: 100%;
    height: 2px;
    background: #29c5db;
    transform: scaleX(0);
    transform-origin: left;
    animation: ex-rule 720ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
    pointer-events: none;
  }

  html[dir="rtl"] body.site-brand::before {
    transform-origin: right;
  }

  body.site-arch section.bd-hero .bd-stage img {
    animation: ex-settle 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  body.site-arch main > section.ex-in {
    animation: ex-rise 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

body.site-arch .bd-hero .ar-lead {
  max-width: 46ch;
}

@media (min-width: 981px) {
  body.site-brand .main-nav a.is-active {
    color: #62dceb;
  }
}

@media (max-width: 980px) {
  body.site-brand .main-nav a.is-active {
    color: #0a192b;
  }
}

body.site-brand .ar-btn:active,
body.site-brand .header-cta-primary:active,
body.site-brand .hx-btn:active {
  transform: translateY(1px);
}

body.site-arch .bd-panel {
  position: relative;
  overflow: hidden;
}

body.site-arch .bd-panel::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: #29c5db;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

html[dir="rtl"] body.site-arch .bd-panel::after {
  transform-origin: right;
}

body.site-arch .bd-panel:hover::after,
body.site-arch .bd-panel:focus-visible::after {
  transform: scaleX(1);
}

body.site-arch .ar-flag .sx-flag {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid #d5deea;
}

body.site-arch .ar-flag .sx-prod {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #d5deea;
}

body.site-arch .ar-flag .sx-prod__copy h3 {
  margin: 0 0 10px;
}

body.site-arch .ar-flag .sx-prod__copy p {
  margin: 0 0 10px;
  color: #3c4654;
}

body.site-arch .ar-flag .sx-shot {
  margin: 0;
  border-radius: 2px;
  box-shadow: 0 22px 48px rgba(6, 17, 31, 0.16);
}

body.site-arch .ar-flag .sx-shot figcaption {
  margin: 0;
  padding: 10px 14px;
  background: #06111f;
  color: #9eb0c4;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

body.site-arch .ar-port {
  display: block;
  margin-top: 8px;
  border-top: 1px solid #d5deea;
}

body.site-arch .ar-port a {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 28px;
  align-items: baseline;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid #d5deea;
  border-radius: 0;
  background: transparent;
  transition: color 180ms ease;
}

body.site-arch .ar-port a:hover strong {
  color: #0e7490;
}

body.site-arch .ar-eng,
html[dir="rtl"] body.site-arch .ar-eng {
  background: #06111f;
}

body.site-arch .sx-bus {
  display: block;
  width: 100%;
  height: 56px;
  margin: 0 0 8px;
}

body.site-arch .sx-bus path {
  fill: none;
  stroke: #29c5db;
  stroke-width: 1.5;
}

body.site-arch .sx-bus circle {
  fill: #29c5db;
}

body.site-arch .sx-diagram {
  --step: 1;
  position: relative;
  margin-bottom: 8px;
  padding-bottom: 22px;
}

body.site-arch .sx-diagram::before,
body.site-arch .sx-diagram::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  inset-inline-start: 6%;
}

body.site-arch .sx-diagram::before {
  width: 88%;
  background: #d5deea;
}

body.site-arch .sx-diagram::after {
  width: 88%;
  background: #29c5db;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.site-arch .sx-diagram[data-step="2"]::after { transform: scaleX(0.25); }
body.site-arch .sx-diagram[data-step="3"]::after { transform: scaleX(0.5); }
body.site-arch .sx-diagram[data-step="4"]::after { transform: scaleX(0.75); }
body.site-arch .sx-diagram[data-step="5"]::after { transform: scaleX(1); }

html[dir="rtl"] body.site-arch .sx-diagram::after {
  transform-origin: right;
}

body.site-arch .sx-diagram button[aria-pressed="true"] {
  background: #f3fcfe;
}

body.site-board .hx-shot {
  max-width: 880px;
  background: #06111f;
  border-radius: 2px;
  overflow: hidden;
}

body.site-board .hx-shot img {
  border-radius: 0;
}

body.site-board .hx-shot figcaption {
  margin: 0;
  padding: 10px 14px;
  color: #9eb0c4;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  body.site-arch .ar-flag .sx-prod,
  body.site-arch .ar-flag .sx-prod:nth-child(3),
  body.site-arch .ar-port a {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.site-arch .sx-diagram::before,
  body.site-arch .sx-diagram::after {
    display: none;
  }

  body.site-brand .main-nav.is-open a,
  body.site-brand .main-nav a {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.js-enhanced body.site-arch .sx-bus path {
    stroke-dasharray: 640;
    stroke-dashoffset: 640;
  }

  html.js-enhanced body.site-arch .ar-eng.ex-in .sx-bus path {
    animation: ex-draw 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
}

@keyframes ex-rule {
  to { transform: scaleX(1); }
}

@keyframes ex-settle {
  from { transform: scale(1.05); }
  to { transform: none; }
}

@keyframes ex-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes ex-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes ex-flow {
  from { background-position: -20% 0; }
  to { background-position: 120% 0; }
}

@keyframes ex-drop {
  from { background-position: 0 -80%; }
  to { background-position: 0 180%; }
}

@media (prefers-reduced-motion: reduce) {
  body.site-brand::before,
  body.site-arch .bd-panel::after,
  body.site-arch .sx-diagram::after {
    transition: none;
    animation: none;
  }
}

body.site-arch .ar-flag h2 {
  max-width: 18ch;
}

body.site-arch .sx-eng__system .sx-caps {
  position: relative;
  grid-template-columns: 1fr;
  padding-inline-start: 22px;
}

body.site-arch .sx-bus {
  display: none;
}

body.site-arch .sx-eng__system .sx-caps::before {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: rgba(41, 197, 219, 0.7);
}

body.site-arch .sx-eng__system .sx-caps li {
  position: relative;
}

body.site-arch .sx-eng__system .sx-caps li::before {
  content: "";
  position: absolute;
  inset-inline-start: -19px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29c5db;
  transform: translateY(-50%);
}

body.site-brand .ft {
  background: #06111f;
  color: #d5e0ec;
  padding: 88px 0 24px;
  overflow: hidden;
}

body.site-brand .ft-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

body.site-brand .ft-close h2 {
  max-width: 16em;
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

body.site-brand .ft-close p {
  max-width: 42em;
  margin: 16px 0 0;
  color: #b7c6d6;
  font-size: 1.05rem;
  line-height: 1.55;
}

body.site-brand .ft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body.site-brand .ft-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 650;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

body.site-brand .ft-cta::after {
  content: "\2192";
  margin-inline-start: 8px;
}

html[dir="rtl"] body.site-brand .ft-cta::after {
  content: "\2190";
}

body.site-brand .ft-cta--solid {
  background: #29c5db;
  color: #06111f;
}

body.site-brand .ft-cta--solid:hover {
  background: #62dceb;
  color: #06111f;
}

body.site-brand .ft-cta--line {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
}

body.site-brand .ft-cta--line:hover {
  border-color: #fff;
}

body.site-brand .ft-cta:active {
  transform: translateY(1px);
}

body.site-brand .ft-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

body.site-brand .ft-path {
  display: block;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #d5e0ec;
  text-decoration: none;
}

body.site-brand .ft-path strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.05rem;
}

body.site-brand .ft-path span {
  color: #9eb0c4;
  font-size: 0.95rem;
}

body.site-brand .ft-path:hover strong {
  color: #62dceb;
}

body.site-brand .ft-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.site-brand .ft-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.site-brand .ft-col h2 {
  margin: 0 0 12px;
  color: #62dceb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.site-brand .ft-col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #d5e0ec;
  text-decoration: none;
  background-image: linear-gradient(#29c5db, #29c5db);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 200ms ease, color 180ms ease;
}

html[dir="rtl"] body.site-brand .ft-col a {
  background-position: 100% 100%;
}

body.site-brand .ft-col a:hover {
  color: #fff;
  background-size: 100% 1px;
}

body.site-brand .ft a:focus-visible {
  outline: 2px solid #29c5db;
  outline-offset: 3px;
}

body.site-brand .ft-sign {
  margin: 36px 0 8px;
  color: rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
  white-space: nowrap;
}

body.site-brand .ft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  margin: 0;
  padding-top: 8px;
  color: #8ea0b4;
  font-size: 0.92rem;
}

body.site-brand .ft-meta a {
  color: #d5e0ec;
  text-decoration: none;
}

body.site-brand .ft-meta a:hover {
  color: #fff;
}

body.site-board .ft-rel {
  background: #f7f9fb;
  color: #102033;
  padding: 64px 0;
}

body.site-board .ft-rel .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

body.site-board .ft-rel h2 {
  margin: 8px 0 18px;
  color: #102033;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

body.site-board .ft-rel .hx-kicker {
  margin: 0;
  color: #0e7490;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.site-board .ft-rel__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.site-board .ft-rel__row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d5deea;
  border-radius: 999px;
  color: #102033;
  text-decoration: none;
  background: #fff;
}

body.site-board .ft-rel__row a:hover {
  border-color: #29c5db;
}

body.site-board .ft-rel__row a:focus-visible {
  outline: 2px solid #29c5db;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  body.site-brand .ft-paths,
  body.site-brand .ft-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body.site-brand .ft {
    padding-top: 64px;
  }

  body.site-brand .ft-wrap {
    width: min(1180px, calc(100% - 32px));
  }

  body.site-brand .ft-paths,
  body.site-brand .ft-grid {
    grid-template-columns: 1fr;
  }

  body.site-brand .ft-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.site-brand .ft-cta {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.site-arch .sx-diagram[data-step="2"]::after,
  body.site-arch .sx-diagram[data-step="3"]::after,
  body.site-arch .sx-diagram[data-step="4"]::after,
  body.site-arch .sx-diagram[data-step="5"]::after {
    background-image: linear-gradient(90deg, transparent 0%, #f7f9fb 50%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 28% 100%;
    animation: ex-flow 1.6s linear infinite;
  }

  html[dir="rtl"] body.site-arch .sx-diagram[data-step]::after {
    animation-direction: reverse;
  }

  body.site-arch .ar-eng.ex-in .sx-caps::before {
    background-image: linear-gradient(#06111f, #29c5db, #06111f);
    background-size: 100% 220%;
    animation: ex-drop 2.6s linear infinite;
  }

  .ft-close.ex-in .ft-close__copy > * {
    animation: ex-rise 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .ft-close.ex-in .ft-close__copy > *:nth-child(2) { animation-delay: 80ms; }
  .ft-close.ex-in .ft-close__copy > *:nth-child(3) { animation-delay: 150ms; }
}

@media (prefers-reduced-motion: reduce) {
  body.site-brand .ft-cta,
  body.site-brand .ft-col a,
  body.site-arch .sx-diagram::after,
  body.site-arch .sx-caps::before {
    transition: none;
    animation: none;
  }
}

html[data-theme='dark'] body.site-board .hx-band:not(.hx-band--ink) .hx-price {
  background: #fff;
  border-color: rgba(6, 17, 31, 0.1);
  color: #102033;
}

html[data-theme='dark'] body.site-board .hx-band:not(.hx-band--ink) .hx-price li {
  border-top-color: rgba(6, 17, 31, 0.1);
}

html[data-theme='dark'] body.site-board .hx-band:not(.hx-band--ink) .hx-price strong {
  color: #06111f;
}

html[data-theme='dark'] body.site-board .hx-band:not(.hx-band--ink) .pricing-currency-toggle {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 4px;
  gap: 4px;
  border: 0;
  border-radius: 999px;
  background: #06111f;
}

html[data-theme='dark'] body.site-board .hx-band:not(.hx-band--ink) .pricing-currency-btn {
  border: 0;
  background: transparent;
  color: #d5e0ec;
}

html[data-theme='dark'] body.site-board .hx-band:not(.hx-band--ink) .pricing-currency-btn.is-active {
  background: #29c5db;
  color: #06111f;
}

html[data-theme='dark'] body.site-board .hx-band:not(.hx-band--ink) .pricing-currency-note,
body.site-board .hx-band:not(.hx-band--ink) .hx-note {
  color: #3c4654;
}

body.site-board .hx-product .hx-shot figcaption {
  margin-top: 10px;
  color: #3c4654;
  font-size: 0.9rem;
}

html[data-theme='dark'] body.site-board .hx-product .hx-shot figcaption {
  color: #9eb0c4;
}

html[data-theme='dark'] body.site-board .hx-band:not(.hx-band--ink) .hx-product h2,
html[data-theme='dark'] body.site-board .hx-band:not(.hx-band--ink) .hx-mini strong {
  color: #f7fbff;
}

html[data-theme='dark'] body.site-board .hx-band:not(.hx-band--ink) .hx-mini span {
  color: #c5d0de;
}

body.site-product .hx-shot {
  margin: 0 0 28px;
}

body.site-product .hx-shot img,
body.site-board .hx-product .hx-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

body.site-product .hx-shot figcaption {
  margin-top: 10px;
  color: #9eb0c4;
  font-size: 0.9rem;
}

.hx-ind img[src$="logistics.jpg"] {
  object-position: center 68%;
}

/* Homepage hero: link to the live demo page, under the two main buttons */
.ar-demo-link { margin: 14px 0 0; }
.ar-demo-link .hx-link { color: #d9bf7f; font-weight: 600; }
html:not([data-theme='dark']) .ar-demo-link .hx-link { color: #8a6d2b; }
