/* KOLO Tech site styles. The demo request dialog has its own file (css/demo-form.css). */

:root {
  --bg: #fdfdfc;
  --ink: #0e1016;
  --ink-soft: #272a32;
  --paper-on-ink: #f6f6f4;
  --muted: #8b8c91;          /* large text only */
  --muted-strong: #66676d;   /* body-size secondary text */
  --line: rgba(14, 16, 22, .12);
  --soft: #ebebe8;
  --soft-hover: #e0e0dc;
  --video-bg: #f8f8f8;       /* matches the countries video */

  --green: #7de55d;
  --violet: #a98bff;
  --amber: #ffc94d;
  --sky: #5cc8ff;

  --pad: clamp(16px, 2.4vw, 40px);
  --maxw: 1680px;
  --hdr-h: 86px;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: clamp(16px, 1.3vw, 20px);
  --fs-lg: clamp(26px, 2.4vw, 44px);
  --fs-xl: clamp(48px, 4.4vw, 84px);
  --fs-xxl: clamp(60px, 9.4vw, 172px);
  --gap: clamp(104px, 11vw, 200px);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-media: clamp(32px, 10vw, 168px);
  --r-panel: clamp(40px, 7vw, 128px);
  --r-card: clamp(36px, 4.4vw, 72px);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.muted { color: var(--muted); }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-on-ink);
  font-size: var(--fs-sm);
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* ---------- Buttons & links ---------- */

.btns { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s, color .25s, transform .4s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: var(--paper-on-ink); }
.btn--primary:hover { background: var(--ink-soft); }
.btn--soft { background: var(--soft); color: var(--ink); }
.btn--soft:hover { background: var(--soft-hover); }
.btn--sm { min-height: 40px; padding: 0 22px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: var(--fs-xs);
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}
.link span { transition: transform .5s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */

.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s;
}
.hdr.is-scrolled {
  background: rgba(253, 253, 252, .82);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}

.hdr__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: var(--hdr-h);
}

.hdr__nav {
  justify-self: start;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--ink);
}
.hdr__nav a {
  padding: 11px 17px;
  border-radius: 999px;
  color: rgba(246, 246, 244, .92);
  font-size: 11.5px;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .3s;
}
.hdr__nav a:hover { background: rgba(255, 255, 255, .1); }
.hdr__nav a[aria-current="true"] { background: rgba(255, 255, 255, .18); }

.hdr__logo { justify-self: center; color: var(--ink); }
/* the KOLO tech lockup is stacked ("tech" under "kolo"), so it runs taller than the old one-line logo */
.logo { width: auto; height: 42px; }

.hdr__actions { justify-self: end; display: flex; gap: 6px; }
/* desktop: header button a notch smaller to match the nav (phones keep 40px next to the menu button) */
@media (min-width: 861px) {
  .hdr__actions .btn { min-height: 38px; padding: 0 19px; font-size: 11.5px; }
}
.hdr__menu { display: none; }
/* icon-only menu button: two lines that turn into a cross while the menu is open */
.hdr__menu { width: 40px; padding: 0; }
.hdr__menu-icon { position: relative; width: 16px; height: 10px; }
.hdr__menu-icon::before,
.hdr__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.hdr__menu-icon::before { top: 1px; }
.hdr__menu-icon::after { top: 7.5px; }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon::before { top: 4.25px; transform: rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon::after { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .hdr__inner { grid-template-columns: auto 1fr; min-height: 72px; }
  .hdr__nav { display: none; }
  .hdr__logo { justify-self: start; }
  .logo { height: 36px; }
  .hdr__menu { display: inline-flex; }
}
@media (max-width: 350px) {
  .hdr__actions .btn--primary { display: none; }
}

.menu {
  position: fixed;
  inset: 0 0 auto;
  z-index: 49;
  padding: 84px var(--pad) 24px;
  border-radius: 0 0 32px 32px;
  background: var(--bg);
  box-shadow: 0 40px 80px -40px rgba(14, 16, 22, .35);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s linear .6s;
}
.menu.is-open {
  transform: none;
  visibility: visible;
  transition: transform .6s var(--ease), visibility 0s;
}
.menu a {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 30px;
  letter-spacing: -.03em;
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero { padding-top: clamp(112px, 14vw, 216px); }

.hero__title,
.title {
  max-width: 19.5em;
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.hero__title { max-width: 20.5em; }

/* Empty space where the "DIFC · Dubai" tag used to be, so the first line keeps its indent */
.hero__indent {
  display: inline-block;
  width: 96.7px;
  margin-right: 4.2px;
}

.hero__media {
  position: relative;
  isolation: isolate;
  margin-top: clamp(48px, 5vw, 80px);
  aspect-ratio: 2.1 / 1;
  overflow: hidden;
  border-radius: var(--r-media);
  background: #1d2028;
}
.hero__media img,
.hero__fx {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  transform: translate3d(0, var(--py, 0px), 0);
}
.hero__media img { object-fit: cover; }
.hero__fx { pointer-events: none; }


.hero__intro {
  display: grid;
  justify-items: center;
  gap: 28px;
  margin-top: clamp(56px, 6vw, 96px);
  text-align: center;
}
.hero__intro p { max-width: 27em; line-height: 1.3; }

@media (max-width: 720px) {
  .hero__media { aspect-ratio: 3 / 4; }
}

/* ---------- Sections ---------- */

.rule {
  width: min(calc(100% - 2 * var(--pad)), calc(var(--maxw) - 2 * var(--pad)));
  height: 1px;
  margin: var(--gap) auto 0;
  border: 0;
  background: var(--line);
}
.rule--spaced { margin-top: var(--gap); }

.section { padding-top: var(--gap); }
.section--tight { padding-top: clamp(72px, 7vw, 120px); }

.title__dot {
  display: inline-block;
  width: .66em;
  height: .66em;
  margin-right: .38em;
  vertical-align: -.04em;
  color: var(--ink);
}

.note {
  display: flex;
  gap: .35em;
  max-width: 40em;
  margin-top: clamp(40px, 4vw, 64px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--fs-md);
  line-height: 1.4;
}
.note__mark { color: var(--ink); font-weight: 600; }

/* ---------- Products story ---------- */

.story { position: relative; margin-top: clamp(56px, 6vw, 104px); }
.story__list { display: grid; gap: clamp(56px, 7vw, 96px); }

.story__item {
  --c: var(--green);
  display: grid;
  grid-template-columns: clamp(56px, 8vw, 128px) minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  scroll-margin-top: 96px;
}

.story__inline {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 4 / 3;
  margin-top: 20px;
  overflow: hidden;
  border-radius: clamp(32px, 7vw, 64px);
}
.story__inline:empty { display: none; }
.story__inline svg { width: min(86%, 520px); height: auto; }

.story__num {
  font-size: var(--fs-lg);
  line-height: .9;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.story__name { font-size: var(--fs-md); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.story__trigger { text-align: left; cursor: default; }
.story__icon { display: none; }

/* Accordion (set by JS when the story isn't pinned: phones, small screens, reduced motion) */
.story--accordion .story__list { gap: 0; }
.story--accordion .story__item {
  align-items: baseline;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.story--accordion .story__item:last-child { border-bottom: 1px solid var(--line); }
.story--accordion .story__num { font-size: clamp(20px, 5vw, 24px); line-height: 1.2; }
.story--accordion .story__name { font-size: clamp(20px, 5vw, 24px); line-height: 1.2; }
.story--accordion .story__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  cursor: pointer;
}
.story--accordion .story__icon { position: relative; display: block; flex: none; width: 16px; height: 16px; }
.story--accordion .story__icon::before,
.story--accordion .story__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  margin-top: -.75px;
  background: currentColor;
  transition: transform .5s var(--ease);
}
.story--accordion .story__icon::after { transform: rotate(90deg); }
.story--accordion .is-open .story__icon::after { transform: rotate(0deg); }
.story--accordion .story__more { grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.story--accordion .is-open .story__more { grid-template-rows: 1fr; }
.story--accordion .story__more > div { opacity: 0; transition: opacity .3s; }
.story--accordion .is-open .story__more > div { opacity: 1; transition: opacity .5s .1s; }
.story--accordion .story__desc { margin-top: 10px; }
.story--accordion .story__item .link { margin-bottom: 6px; }
.story--accordion .story__item:not(.is-open) .story__inline * { animation-play-state: paused; }

.story__more { display: grid; grid-template-rows: 1fr; }
.story__more > div { min-height: 0; padding-bottom: 2px; overflow: hidden; }
.story__desc { max-width: 30em; margin-top: 4px; color: var(--muted-strong); line-height: 1.3; }
.story__features {
  display: grid;
  gap: 8px;
  max-width: 32em;
  margin-top: 20px;
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.4;
}
.story__features li { display: grid; grid-template-columns: 16px minmax(0, 1fr); }
.story__features li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: .45em;
  border-radius: 50%;
  background: var(--c);
}
.story__item .link { margin-top: 24px; }

.story__stage { display: none; }

/* Pinned mode (set by JS on wide, tall-enough screens without reduced motion) */
.story--pinned { height: calc(var(--n) * 70vh + 100vh); }
.story--pinned .story__sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 96px);
  height: 100vh;
  padding-block: 80px 40px;
}
.story--pinned .story__list { gap: clamp(18px, 2.6vh, 32px); }
.story--pinned .story__inline { display: none; }
.story--pinned .story__item { opacity: .28; transition: opacity .5s var(--ease); }
.story--pinned .story__item.is-active { opacity: 1; }
.story--pinned .story__item:not(.is-active):hover { opacity: .55; }
.story--pinned .story__trigger { cursor: pointer; }
.story--pinned .story__more { grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.story--pinned .story__more > div { opacity: 0; transition: opacity .35s; }
.story--pinned .is-active .story__more { grid-template-rows: 1fr; }
.story--pinned .is-active .story__more > div { opacity: 1; transition: opacity .6s .15s; }

.story--pinned .story__stage {
  display: block;
  justify-self: end;
  width: min(100%, calc(100vh - 150px));
}
.story__panel {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-panel);
}
.story__art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(28px) scale(.95);
  transition: opacity .45s, transform .9s var(--ease);
}
.story__art.is-active { opacity: 1; transform: none; transition-delay: .12s; }
.story__stage .story__art:not(.is-active) * { animation-play-state: paused; }
.story__art svg { width: 84%; height: auto; }

/* Product illustrations: black panels with a dot grid, technical illustrations with sequenced motion.
   Markup shows the finished state; the keyframes build it up, hold and fade back on one cycle per
   illustration (TR Core, Node Exchanger, API Suite: 6 s; Fintech platform: 7 s). */
.illo--tech { display: block; }
.story__art .illo--tech { width: 94%; }
.story__inline .illo--tech { width: min(94%, 560px); }
.story__panel,
.story__inline {
  background-color: var(--ink);
  background-image:
    radial-gradient(closest-side, rgba(14, 16, 22, 0) 55%, var(--ink) 100%),
    radial-gradient(circle, rgba(255, 255, 255, .075) 1px, transparent 1.4px);
  background-size: 100% 100%, 14px 14px;
  background-position: center;
}
.illo--tech text { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.illo--tech .t-label { font-size: 7.5px; font-weight: 500; fill: #8b8f99; }
.illo--tech .t-key { font-size: 6.5px; fill: #5d616b; }
.illo--tech .t-light { fill: #d4d6dc; }
.illo--tech .t-green { fill: #7de55d; }
.illo--tech .t-val { font-family: "Geist", system-ui, sans-serif; font-size: 13px; font-weight: 500; fill: #eceef1; letter-spacing: -.01em; }
.illo--tech .t-unit { fill: #8b8f99; font-size: 9px; }
.illo--tech .t-row { font-family: "Geist", system-ui, sans-serif; font-size: 9.5px; font-weight: 500; fill: #c9ccd3; letter-spacing: 0; }
.illo--tech .beam { opacity: 0; fill: none; stroke: #7de55d; stroke-linecap: round; stroke-dasharray: 16 120; }
.illo--tech .beam--glow { stroke-width: 6; stroke-opacity: .2; }
.illo--tech .beam--core { stroke-width: 1.8; }
.illo--tech .tr-c1, .illo--tech .tr-c2, .illo--tech .tr-c3, .illo--tech .nx-c1, .illo--tech .nx-c2,
.illo--tech .tr-v, .illo--tech .ap-res, .illo--tech .nx-swap, .illo--tech .nx-dot,
.illo--tech .tr-spin { transform-box: fill-box; transform-origin: center; }
.illo--tech .tr-f1, .illo--tech .tr-f2, .illo--tech .tr-f3 { transform-box: fill-box; transform-origin: 0 50%; }

/* TR Core */
.illo--tech .tr-beam { animation: tk-tr-beam 6s infinite; }
.illo--tech .tr-glow { animation: tk-tr-glow 6s ease-in-out infinite; }
.illo--tech .tr-spin { animation: tk-spin 18s linear infinite; }
.illo--tech .tr-pulse, .illo--tech .nx-live { animation: tk-pulse 2s ease-in-out infinite; }
.illo--tech .tr-bdot { animation: tk-tr-bdot 6s infinite; }
.illo--tech .tr-v { animation: tk-tr-v 6s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-spin { 100% { transform: rotate(360deg) } }
@keyframes tk-pulse { 0% { opacity: 1 } 50% { opacity: .3 } 100% { opacity: 1 } }
@keyframes tk-tr-beam { 0% { transform: translateX(0) } 3% { transform: translateX(0); animation-timing-function: cubic-bezier(.45, 0, .55, 1) } 36% { transform: translateX(166px) } 100% { transform: translateX(166px) } }
@keyframes tk-tr-glow { 0% { opacity: .5 } 12% { opacity: .5 } 20% { opacity: 1 } 32% { opacity: .5 } 100% { opacity: .5 } }
@keyframes tk-tr-bdot { 0% { fill: #5d616b } 54% { fill: #5d616b } 58% { fill: #7de55d } 90% { fill: #7de55d } 96% { fill: #5d616b } 100% { fill: #5d616b } }
@keyframes tk-tr-v { 0% { opacity: 0; transform: translateY(6px) } 58% { opacity: 0; transform: translateY(6px) } 64% { opacity: 1; transform: translateY(0) } 88% { opacity: 1; transform: translateY(0) } 94% { opacity: 0 } 100% { opacity: 0; transform: translateY(6px) } }
.illo--tech .tr-f1 { animation: tk-tr-f1 6s cubic-bezier(.16, 1, .3, 1) infinite; }
.illo--tech .tr-c1 { animation: tk-tr-c1 6s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-tr-f1 { 0% { transform: scaleX(0); opacity: 1 } 36% { transform: scaleX(0) } 41% { transform: scaleX(1) } 88% { transform: scaleX(1); opacity: 1 } 94% { opacity: 0 } 100% { transform: scaleX(1); opacity: 0 } }
@keyframes tk-tr-c1 { 0% { transform: scale(0); opacity: 0 } 39% { transform: scale(0); opacity: 0 } 42% { transform: scale(1.18); opacity: 1 } 44% { transform: scale(1) } 88% { transform: scale(1); opacity: 1 } 94% { opacity: 0 } 100% { transform: scale(1); opacity: 0 } }
.illo--tech .tr-f2 { animation: tk-tr-f2 6s cubic-bezier(.16, 1, .3, 1) infinite; }
.illo--tech .tr-c2 { animation: tk-tr-c2 6s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-tr-f2 { 0% { transform: scaleX(0); opacity: 1 } 42% { transform: scaleX(0) } 47% { transform: scaleX(1) } 88% { transform: scaleX(1); opacity: 1 } 94% { opacity: 0 } 100% { transform: scaleX(1); opacity: 0 } }
@keyframes tk-tr-c2 { 0% { transform: scale(0); opacity: 0 } 45% { transform: scale(0); opacity: 0 } 48% { transform: scale(1.18); opacity: 1 } 50% { transform: scale(1) } 88% { transform: scale(1); opacity: 1 } 94% { opacity: 0 } 100% { transform: scale(1); opacity: 0 } }
.illo--tech .tr-f3 { animation: tk-tr-f3 6s cubic-bezier(.16, 1, .3, 1) infinite; }
.illo--tech .tr-c3 { animation: tk-tr-c3 6s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-tr-f3 { 0% { transform: scaleX(0); opacity: 1 } 48% { transform: scaleX(0) } 53% { transform: scaleX(1) } 88% { transform: scaleX(1); opacity: 1 } 94% { opacity: 0 } 100% { transform: scaleX(1); opacity: 0 } }
@keyframes tk-tr-c3 { 0% { transform: scale(0); opacity: 0 } 51% { transform: scale(0); opacity: 0 } 54% { transform: scale(1.18); opacity: 1 } 56% { transform: scale(1) } 88% { transform: scale(1); opacity: 1 } 94% { opacity: 0 } 100% { transform: scale(1); opacity: 0 } }

/* Node Exchanger */
.illo--tech .nx-glow { animation: tk-nx-glow 6s ease-in-out infinite; }
.illo--tech .nx-line { stroke-dasharray: 100; animation: tk-nx-line 6s infinite; }
.illo--tech .nx-area { animation: tk-nx-area 6s infinite; }
.illo--tech .nx-dot { animation: tk-nx-dot 6s cubic-bezier(.16, 1, .3, 1) infinite; }
.illo--tech .nx-swap { animation: tk-nx-swap 6s cubic-bezier(.65, 0, .35, 1) infinite; }
.illo--tech .nx-get { animation: tk-nx-get 6s infinite; }
@keyframes tk-nx-glow { 0% { opacity: .6 } 24% { opacity: .6 } 32% { opacity: 1 } 44% { opacity: .6 } 100% { opacity: .6 } }
@keyframes tk-nx-line { 0% { stroke-dashoffset: 100; opacity: 1 } 4% { stroke-dashoffset: 100; animation-timing-function: cubic-bezier(.45, 0, .55, 1) } 52% { stroke-dashoffset: 0 } 90% { stroke-dashoffset: 0; opacity: 1 } 97% { opacity: 0 } 100% { stroke-dashoffset: 0; opacity: 0 } }
@keyframes tk-nx-area { 0% { opacity: 0 } 28% { opacity: 0 } 52% { opacity: 1 } 90% { opacity: 1 } 97% { opacity: 0 } 100% { opacity: 0 } }
@keyframes tk-nx-dot { 0% { transform: scale(0) } 50% { transform: scale(0) } 54% { transform: scale(1.4) } 58% { transform: scale(1) } 90% { transform: scale(1); opacity: 1 } 97% { opacity: 0 } 100% { transform: scale(0); opacity: 1 } }
@keyframes tk-nx-swap { 0% { transform: rotate(0) } 32% { transform: rotate(0) } 40% { transform: rotate(180deg) } 100% { transform: rotate(180deg) } }
@keyframes tk-nx-get { 0% { fill: #eceef1 } 38% { fill: #eceef1 } 42% { fill: #7de55d } 58% { fill: #eceef1 } 100% { fill: #eceef1 } }
.illo--tech .nx-b1 { animation: tk-nx-b1 6s infinite; }
@keyframes tk-nx-b1 { 0% { stroke-dashoffset: 16; opacity: 1 } 0% { stroke-dashoffset: 16 } 20% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .nx-b2 { animation: tk-nx-b2 6s infinite; }
@keyframes tk-nx-b2 { 0% { stroke-dashoffset: 16; opacity: 1 } 5% { stroke-dashoffset: 16 } 25% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .nx-b3 { animation: tk-nx-b3 6s infinite; }
@keyframes tk-nx-b3 { 0% { stroke-dashoffset: 16; opacity: 1 } 10% { stroke-dashoffset: 16 } 30% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .nx-b4 { animation: tk-nx-b4 6s infinite; }
@keyframes tk-nx-b4 { 0% { stroke-dashoffset: 16; opacity: 1 } 46% { stroke-dashoffset: 16 } 64% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .nx-b5 { animation: tk-nx-b5 6s infinite; }
@keyframes tk-nx-b5 { 0% { stroke-dashoffset: 16; opacity: 1 } 52% { stroke-dashoffset: 16 } 70% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .nx-c1 { animation: tk-nx-c1 6s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-nx-c1 { 0% { transform: scale(0); opacity: 0 } 63% { transform: scale(0); opacity: 0 } 66% { transform: scale(1.18); opacity: 1 } 68% { transform: scale(1) } 88% { transform: scale(1); opacity: 1 } 94% { opacity: 0 } 100% { transform: scale(1); opacity: 0 } }
.illo--tech .nx-c2 { animation: tk-nx-c2 6s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-nx-c2 { 0% { transform: scale(0); opacity: 0 } 69% { transform: scale(0); opacity: 0 } 72% { transform: scale(1.18); opacity: 1 } 74% { transform: scale(1) } 88% { transform: scale(1); opacity: 1 } 94% { opacity: 0 } 100% { transform: scale(1); opacity: 0 } }

/* API & Operations Automation Suite */
.illo--tech .ap-r { animation: tk-ap-r 6s infinite; }
.illo--tech .ap-s { animation: tk-ap-s 6s infinite; }
.illo--tech .ap-gw { animation: tk-ap-gw 6s infinite; }
.illo--tech .ap-gwd { animation: tk-ap-gwd 6s infinite; }
.illo--tech .ap-ld { animation: tk-ap-ld 6s infinite; }
.illo--tech .ap-ldd { animation: tk-ap-ldd 6s infinite; }
.illo--tech .ap-res { animation: tk-ap-res 6s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-ap-r { 0% { stroke-dashoffset: 16; opacity: 1 } 0% { stroke-dashoffset: 16 } 12% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
@keyframes tk-ap-s { 0% { stroke-dashoffset: 16; opacity: 1 } 62% { stroke-dashoffset: 16 } 72% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
@keyframes tk-ap-gw { 0% { stroke: #fff; stroke-opacity: .12 } 10% { stroke: #fff; stroke-opacity: .12 } 13% { stroke: #7de55d; stroke-opacity: .6 } 90% { stroke: #7de55d; stroke-opacity: .6 } 96% { stroke: #fff; stroke-opacity: .12 } 100% { stroke: #fff; stroke-opacity: .12 } }
@keyframes tk-ap-gwd { 0% { fill: #5d616b } 10% { fill: #5d616b } 13% { fill: #7de55d } 90% { fill: #7de55d } 96% { fill: #5d616b } 100% { fill: #5d616b } }
@keyframes tk-ap-ld { 0% { stroke: #fff; stroke-opacity: .12 } 58% { stroke: #fff; stroke-opacity: .12 } 61% { stroke: #7de55d; stroke-opacity: .6 } 90% { stroke: #7de55d; stroke-opacity: .6 } 96% { stroke: #fff; stroke-opacity: .12 } 100% { stroke: #fff; stroke-opacity: .12 } }
@keyframes tk-ap-ldd { 0% { fill: #5d616b } 58% { fill: #5d616b } 61% { fill: #7de55d } 90% { fill: #7de55d } 96% { fill: #5d616b } 100% { fill: #5d616b } }
@keyframes tk-ap-res { 0% { opacity: 0; transform: translateY(6px) } 70% { opacity: 0; transform: translateY(6px) } 76% { opacity: 1; transform: translateY(0) } 90% { opacity: 1; transform: translateY(0) } 96% { opacity: 0 } 100% { opacity: 0; transform: translateY(6px) } }
.illo--tech .ap-o1 { animation: tk-ap-o1 6s infinite; }
@keyframes tk-ap-o1 { 0% { stroke-dashoffset: 16; opacity: 1 } 13% { stroke-dashoffset: 16 } 29% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .ap-i1 { animation: tk-ap-i1 6s infinite; }
@keyframes tk-ap-i1 { 0% { stroke-dashoffset: 16; opacity: 1 } 40% { stroke-dashoffset: 16 } 56% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .ap-n1 { animation: tk-ap-n1 6s infinite; }
@keyframes tk-ap-n1 { 0% { stroke: #fff; stroke-opacity: .12 } 30% { stroke: #fff; stroke-opacity: .12 } 33% { stroke: #7de55d; stroke-opacity: .6 } 90% { stroke: #7de55d; stroke-opacity: .6 } 96% { stroke: #fff; stroke-opacity: .12 } 100% { stroke: #fff; stroke-opacity: .12 } }
.illo--tech .ap-n1d { animation: tk-ap-n1d 6s infinite; }
@keyframes tk-ap-n1d { 0% { fill: #5d616b } 30% { fill: #5d616b } 33% { fill: #7de55d } 90% { fill: #7de55d } 96% { fill: #5d616b } 100% { fill: #5d616b } }
.illo--tech .ap-o2 { animation: tk-ap-o2 6s infinite; }
@keyframes tk-ap-o2 { 0% { stroke-dashoffset: 16; opacity: 1 } 15% { stroke-dashoffset: 16 } 31% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .ap-i2 { animation: tk-ap-i2 6s infinite; }
@keyframes tk-ap-i2 { 0% { stroke-dashoffset: 16; opacity: 1 } 42% { stroke-dashoffset: 16 } 58% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .ap-n2 { animation: tk-ap-n2 6s infinite; }
@keyframes tk-ap-n2 { 0% { stroke: #fff; stroke-opacity: .12 } 32% { stroke: #fff; stroke-opacity: .12 } 35% { stroke: #7de55d; stroke-opacity: .6 } 90% { stroke: #7de55d; stroke-opacity: .6 } 96% { stroke: #fff; stroke-opacity: .12 } 100% { stroke: #fff; stroke-opacity: .12 } }
.illo--tech .ap-n2d { animation: tk-ap-n2d 6s infinite; }
@keyframes tk-ap-n2d { 0% { fill: #5d616b } 32% { fill: #5d616b } 35% { fill: #7de55d } 90% { fill: #7de55d } 96% { fill: #5d616b } 100% { fill: #5d616b } }
.illo--tech .ap-o3 { animation: tk-ap-o3 6s infinite; }
@keyframes tk-ap-o3 { 0% { stroke-dashoffset: 16; opacity: 1 } 17% { stroke-dashoffset: 16 } 33% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .ap-i3 { animation: tk-ap-i3 6s infinite; }
@keyframes tk-ap-i3 { 0% { stroke-dashoffset: 16; opacity: 1 } 44% { stroke-dashoffset: 16 } 60% { stroke-dashoffset: -100 } 100% { stroke-dashoffset: -100; opacity: 1 } }
.illo--tech .ap-n3 { animation: tk-ap-n3 6s infinite; }
@keyframes tk-ap-n3 { 0% { stroke: #fff; stroke-opacity: .12 } 34% { stroke: #fff; stroke-opacity: .12 } 37% { stroke: #7de55d; stroke-opacity: .6 } 90% { stroke: #7de55d; stroke-opacity: .6 } 96% { stroke: #fff; stroke-opacity: .12 } 100% { stroke: #fff; stroke-opacity: .12 } }
.illo--tech .ap-n3d { animation: tk-ap-n3d 6s infinite; }
@keyframes tk-ap-n3d { 0% { fill: #5d616b } 34% { fill: #5d616b } 37% { fill: #7de55d } 90% { fill: #7de55d } 96% { fill: #5d616b } 100% { fill: #5d616b } }

/* Fintech platform */
.illo--tech .pf-glow { animation: tk-pf-glow 7s ease-in-out infinite; }
@keyframes tk-pf-glow { 0% { opacity: .3 } 50% { opacity: .3 } 60% { opacity: 1 } 88% { opacity: 1 } 96% { opacity: .3 } 100% { opacity: .3 } }
.illo--tech .pf-ready { animation: tk-pf-ready 7s infinite; }
@keyframes tk-pf-ready { 0% { opacity: 0 } 54% { opacity: 0 } 58% { opacity: 1 } 88% { opacity: 1 } 94% { opacity: 0 } 100% { opacity: 0 } }
.illo--tech .pf-s4 { animation: tk-pf-s4 7s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-pf-s4 { 0% { opacity: 0; transform: translateY(-16px) } 50% { opacity: 0; transform: translateY(-16px) } 57% { opacity: 1; transform: translateY(0) } 88% { opacity: 1; transform: translateY(0) } 94% { opacity: 0; transform: translateY(-6px) } 100% { opacity: 0; transform: translateY(-16px) } }
.illo--tech .pf-p1 { animation: tk-pf-p1 7s infinite; }
@keyframes tk-pf-p1 { 0% { fill: #2a2e37 } 8% { fill: #2a2e37 } 11% { fill: #7de55d } 88% { fill: #7de55d } 92% { fill: #2a2e37 } 100% { fill: #2a2e37 } }
.illo--tech .pf-k1 { animation: tk-pf-k1 7s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes tk-pf-k1 { 0% { transform: translateX(-11px); fill: #8b8f99 } 8% { transform: translateX(-11px); fill: #8b8f99 } 11% { transform: translateX(0); fill: #0e1016 } 88% { transform: translateX(0); fill: #0e1016 } 92% { transform: translateX(-11px); fill: #8b8f99 } 100% { transform: translateX(-11px); fill: #8b8f99 } }
.illo--tech .pf-s1 { animation: tk-pf-s1 7s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-pf-s1 { 0% { opacity: 0; transform: translateY(-16px) } 9% { opacity: 0; transform: translateY(-16px) } 16% { opacity: 1; transform: translateY(0) } 88% { opacity: 1; transform: translateY(0) } 94% { opacity: 0; transform: translateY(-6px) } 100% { opacity: 0; transform: translateY(-16px) } }
.illo--tech .pf-p2 { animation: tk-pf-p2 7s infinite; }
@keyframes tk-pf-p2 { 0% { fill: #2a2e37 } 22% { fill: #2a2e37 } 25% { fill: #7de55d } 88% { fill: #7de55d } 92% { fill: #2a2e37 } 100% { fill: #2a2e37 } }
.illo--tech .pf-k2 { animation: tk-pf-k2 7s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes tk-pf-k2 { 0% { transform: translateX(-11px); fill: #8b8f99 } 22% { transform: translateX(-11px); fill: #8b8f99 } 25% { transform: translateX(0); fill: #0e1016 } 88% { transform: translateX(0); fill: #0e1016 } 92% { transform: translateX(-11px); fill: #8b8f99 } 100% { transform: translateX(-11px); fill: #8b8f99 } }
.illo--tech .pf-s2 { animation: tk-pf-s2 7s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-pf-s2 { 0% { opacity: 0; transform: translateY(-16px) } 23% { opacity: 0; transform: translateY(-16px) } 30% { opacity: 1; transform: translateY(0) } 88% { opacity: 1; transform: translateY(0) } 94% { opacity: 0; transform: translateY(-6px) } 100% { opacity: 0; transform: translateY(-16px) } }
.illo--tech .pf-p3 { animation: tk-pf-p3 7s infinite; }
@keyframes tk-pf-p3 { 0% { fill: #2a2e37 } 36% { fill: #2a2e37 } 39% { fill: #7de55d } 88% { fill: #7de55d } 92% { fill: #2a2e37 } 100% { fill: #2a2e37 } }
.illo--tech .pf-k3 { animation: tk-pf-k3 7s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes tk-pf-k3 { 0% { transform: translateX(-11px); fill: #8b8f99 } 36% { transform: translateX(-11px); fill: #8b8f99 } 39% { transform: translateX(0); fill: #0e1016 } 88% { transform: translateX(0); fill: #0e1016 } 92% { transform: translateX(-11px); fill: #8b8f99 } 100% { transform: translateX(-11px); fill: #8b8f99 } }
.illo--tech .pf-s3 { animation: tk-pf-s3 7s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes tk-pf-s3 { 0% { opacity: 0; transform: translateY(-16px) } 37% { opacity: 0; transform: translateY(-16px) } 44% { opacity: 1; transform: translateY(0) } 88% { opacity: 1; transform: translateY(0) } 94% { opacity: 0; transform: translateY(-6px) } 100% { opacity: 0; transform: translateY(-16px) } }

@media (prefers-reduced-motion: reduce) {
  .illo--tech * { animation: none !important; }
}

/* ---------- Columns (about, challenges) ---------- */

.cols {
  display: grid;
  gap: clamp(40px, 4vw, 64px) clamp(16px, 1.6vw, 24px);
  margin-top: clamp(56px, 6vw, 96px);
}
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.col { padding-top: 22px; border-top: 1px solid var(--line); }
.col__n {
  display: block;
  margin-bottom: clamp(28px, 3vw, 48px);
  font-size: var(--fs-lg);
  line-height: .9;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.col h3 { font-size: var(--fs-md); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.col p,
.col ul { max-width: 28em; margin-top: 4px; color: var(--muted-strong); line-height: 1.3; }
.col strong { color: var(--ink); font-weight: 500; }

@media (max-width: 1000px) {
  .cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .cols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cols--3,
  .cols--4 { grid-template-columns: 1fr; }
}

/* ---------- Activities index ---------- */

.index { margin-top: clamp(56px, 6vw, 96px); }
.index li {
  display: grid;
  grid-template-columns: clamp(56px, 8vw, 128px) minmax(0, 1fr);
  align-items: baseline;
  column-gap: 16px;
  padding-block: clamp(18px, 2vw, 30px);
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.index__n {
  color: var(--muted-strong);
  font-size: var(--fs-sm);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}


/* ---------- Business model ---------- */

.mcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  margin-top: clamp(48px, 5vw, 80px);
}
.mcard {
  display: flex;
  flex-direction: column;
  min-height: clamp(360px, 32vw, 540px);
  padding: clamp(28px, 3vw, 48px);
  border-radius: var(--r-card);
}
.mcard h3 { font-size: clamp(18px, 1.45vw, 24px); font-weight: 600; letter-spacing: -.025em; }
.mcard p { max-width: 24em; margin-top: 14px; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.35; }
.mcard .mcard__label {
  max-width: none;
  margin-top: auto;
  padding-top: 48px;
  font-size: var(--fs-xl);
  line-height: .9;
  letter-spacing: -.045em;
}
.mcard--green { background: var(--green); color: var(--ink); }
.mcard--green p:not(.mcard__label) { color: color-mix(in oklab, var(--ink) 70%, var(--green)); }
.mcard--ink { background: var(--ink); color: var(--paper-on-ink); }
.mcard--ink p:not(.mcard__label) { color: rgba(246, 246, 244, .62); }
.mcard--ink .mcard__label { text-align: right; }

@media (max-width: 720px) {
  .mcards { grid-template-columns: 1fr; }
}

/* ---------- Global ---------- */

.global {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 96px);
}
.global__text > p { max-width: 30em; margin-top: 28px; color: var(--muted-strong); line-height: 1.35; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pills li {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-sm);
  line-height: 1;
}
.global__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1.1 / 1;
  overflow: hidden;
  border-radius: var(--r-panel);
  background: var(--video-bg);
}
.global__media video {
  width: 92%;
  height: auto;
  aspect-ratio: 1920 / 1500;
  object-fit: contain;
}
@media (max-width: 900px) {
  .global { grid-template-columns: 1fr; }
}

/* ---------- Billboard / contact ---------- */

.billboard {
  display: grid;
  justify-items: center;
  padding: var(--gap) var(--pad) clamp(120px, 13vw, 240px);
  text-align: center;
}
.billboard__title {
  font-size: var(--fs-xxl);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.billboard .btns { justify-content: center; margin-top: clamp(28px, 3vw, 48px); }
/* phones: Request demo gets its own full-width row, email and phone share the next one
   (or take a full row each where they don't fit side by side) */
@media (max-width: 600px) {
  .billboard .btns { width: 100%; max-width: 420px; }
  .billboard .btns .btn { flex: 1 1 auto; }
  .billboard .btns [data-demo] { flex-basis: 100%; }
}
.billboard__addr {
  max-width: 40em;
  margin-top: 28px;
  color: var(--muted-strong);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.billboard__addr a { text-underline-offset: .2em; }

/* ---------- Page end + footer ---------- */

main {
  position: relative;
  z-index: 1;
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  background: var(--bg);
}

.ftr {
  margin-top: calc(-1 * var(--r-panel));
  padding-top: calc(var(--r-panel) + clamp(56px, 6vw, 96px));
  background: var(--ink);
  color: var(--paper-on-ink);
}
.ftr__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr .8fr 1.2fr;
  gap: 40px clamp(24px, 3vw, 56px);
}
.ftr__logo { display: inline-block; color: var(--paper-on-ink); }
.ftr__logo .logo { height: 56px; }
.ftr__tagline { max-width: 16em; margin-top: 20px; color: rgba(246, 246, 244, .55); line-height: 1.3; }
.ftr__h { margin-bottom: 14px; color: rgba(246, 246, 244, .45); }
.ftr__links { display: grid; gap: 6px; }
.ftr__links a { text-decoration: none; transition: color .2s; }
.ftr__links a:hover { color: var(--green); }
.ftr__addr { max-width: 18em; color: rgba(246, 246, 244, .55); line-height: 1.3; }
.ftr__legal {
  display: grid;
  gap: 12px;
  margin-top: clamp(56px, 6vw, 96px);
  padding-block: 24px 40px;
  border-top: 1px solid rgba(246, 246, 244, .12);
  color: rgba(246, 246, 244, .45);
  font-size: 13px;
  line-height: 1.5;
}
.ftr__legal p { max-width: 80em; }

@media (max-width: 900px) {
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .ftr__grid { grid-template-columns: 1fr; }
}

/* ---------- Product illustrations (shared with the current site) ---------- */

.art-travel { animation: art-travel 5s ease-in-out infinite; }
.art-orbit { animation: art-orbit 14s linear infinite; }
.art-float { animation: art-float 4.5s ease-in-out infinite; }
.art-float--2 { animation-delay: -1.5s; }
.art-float--3 { animation-delay: -3s; }

@keyframes art-travel {
  0%, 100% { transform: translateX(-36px); }
  50% { transform: translateX(36px); }
}
@keyframes art-orbit { to { stroke-dashoffset: -400; } }
@keyframes art-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Motion (only when html.motion is set) ---------- */

.motion .hdr { animation: fade-down 1s var(--ease) both; }
@keyframes fade-down {
  from { opacity: 0; translate: 0 -16px; }
}

.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--ri, 0) * 90ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

.motion .hero__media[data-reveal] {
  transform: translate3d(0, 56px, 0) scale(.97);
  transition-duration: 1.2s, 1.6s;
  transition-delay: .25s;
}
.motion .hero__media[data-reveal].is-in { transform: none; }

.motion [data-split] .w {
  display: inline-block;
  margin-bottom: -.14em;
  padding-bottom: .14em;
  overflow: hidden;
  vertical-align: top;
}
.motion [data-split] .w > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--wi, 0) * 22ms);
}
.motion [data-split].is-in .w > span { transform: none; }
.motion [data-split] .w-solo { opacity: 0; transition: opacity .9s var(--ease); }
.motion [data-split].is-in .w-solo { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .art-dots { display: none; }
}
