/*
 * /platform/user-experience — built by lib/pages/experience.ts, driven by
 * public/js/experience.js.
 *
 * Two columns: the steps on the left, a phone on the right that stays in view
 * and scrolls its own screens to the step being read. Everything in the phone
 * is live markup, not a picture.
 *
 * The resting state is the no-JavaScript one: every step shown, the phone on
 * its first screen. The script adds `.is-ready` when it takes over.
 */

/* The palette, shared by the demo and Build with MiTrust's layer cards. */
.mt-ux,
.mt-ux-tier {
  --ux-ink: #16171b;
  --ux-text: #2b2c30;
  --ux-muted: #6b6c75;
  --ux-faint: #9a9ba3;
  --ux-line: rgb(22 23 27 / 0.08);
  --ux-soft: #f4f5f7;
  --ux-blue: #2b54f4;
  --ux-blue-soft: #eef1fe;
  --ux-green: #12805c;
  --ux-client: #0f5c43;
  --ux-client-soft: #e9f4ef;
  --ux-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ux-mt: #1a3cf0;
  --ux-mt-deep: #1230d6;
  --ux-page: #f3f5fa;
}

.mt-ux {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 112px 24px 40px;
  color: var(--ux-text);
  font-family: 'Onest Variable', system-ui, sans-serif;
  letter-spacing: -0.01em;
}

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

/* ---------------------------------------------------------------- hero */

.mt-ux-hero {
  max-width: 720px;
  margin: 0 auto 72px;
  text-align: center;
}

.mt-ux-eyebrow {
  margin: 0 0 16px;
  color: var(--ux-faint);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mt-ux-heading {
  margin: 0;
  color: var(--ux-ink);
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.mt-ux-lede {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--ux-muted);
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- layout */

.mt-ux-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  column-gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.mt-ux-stage {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
}

.mt-ux-sticky {
  position: sticky;
  top: max(84px, calc(50vh - 364px));
  /* The label over the phone; beside it, on its left, the controls stand in a
     column level with the middle of the screen, the way the screens move. */
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  align-items: center;
  column-gap: 26px;
  row-gap: 18px;
}

.mt-ux-sticky .mt-ux-live {
  grid-column: 2;
  justify-self: center;
}

.mt-ux-sticky .mt-ux-phone {
  grid-column: 2;
  grid-row: 2;
}

/* ---------------------------------------------------------------- steps */

.mt-ux-steps {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 0 0 12vh;
  list-style: none;
}

.mt-ux-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78vh;
  max-width: 460px;
  padding: 40px 0;
  transition: opacity 0.5s var(--ux-ease);
}

.mt-ux-step:first-child {
  min-height: 62vh;
  justify-content: flex-start;
  padding-top: 64px;
}

.mt-ux.is-ready .mt-ux-step:not(.is-active) {
  opacity: 0.28;
}

.mt-ux.is-ready .mt-ux-step {
  cursor: pointer;
}

.mt-ux-num {
  margin-bottom: 14px;
  color: var(--ux-blue);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.mt-ux-title {
  margin: 0;
  color: var(--ux-ink);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.mt-ux-text {
  margin: 14px 0 0;
  color: var(--ux-muted);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.mt-ux-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 0;
}

.mt-ux-chan {
  padding: 6px 13px;
  border: 1px solid var(--ux-line);
  border-radius: 999px;
  color: var(--ux-text);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.mt-ux-chan:hover {
  border-color: rgb(22 23 27 / 0.2);
}

.mt-ux-chan[aria-pressed='true'] {
  border-color: var(--ux-ink);
  color: #fff;
  background: var(--ux-ink);
}

.mt-ux-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mt-ux-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ux-text);
  font-size: 15px;
  font-weight: 500;
}

.mt-ux-points .mt-ux-i {
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 50%;
  color: var(--ux-blue);
  background: var(--ux-blue-soft);
  stroke-width: 3;
}

/* ---------------------------------------------------------------- icons */

.mt-ux-i {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Bankoto's logo: a filled glyph, white on the brand's colour. */
.mt-ux-glyph {
  display: block;
  width: 64%;
  height: 64%;
}

/* ---------------------------------------------------------------- phone */

.mt-ux-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ux-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mt-ux-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgb(34 197 94 / 0.18);
}

/* The device: a thin dark bezel, the screen inside it. Its height is the one
   number every screen is laid out against. */
.mt-ux-phone {
  --ux-screen-h: 620px;

  position: relative;
  width: 316px;
  padding: 7px;
  border-radius: 50px;
  background: #0f1013;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.06) inset,
    0 50px 90px -50px rgb(16 18 60 / 0.55),
    0 14px 30px -20px rgb(16 18 30 / 0.3);
  color: var(--ux-ink);
  font-family: 'Onest Variable', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.mt-ux-viewport {
  position: relative;
  height: var(--ux-screen-h);
  overflow: hidden;
  border-radius: 43px;
  background: #fff;
  /* Safari clips transformed children to the radius only on its own layer. */
  isolation: isolate;
}

.mt-ux-island {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  width: 86px;
  height: 24px;
  margin-left: -43px;
  border-radius: 14px;
  background: #0f1013;
}

.mt-ux-track {
  transition: transform 0.75s var(--ux-ease);
}

/* The status bar: the time left of the island, the radios and battery right
   of it. Dark over the white screens; white over Bankoto's green and the camera. */
.mt-ux-bar {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 24px 0 34px;
  color: var(--ux-ink);
  pointer-events: none;
  transition: color 0.4s var(--ux-ease);
}

.mt-ux-bar-time {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.mt-ux-bar-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mt-ux-bar svg {
  display: block;
  fill: currentColor;
}

.mt-ux[data-step='0'][data-channel='app'] .mt-ux-bar,
.mt-ux[data-step='0'][data-channel='qr'] .mt-ux-bar,
.mt-ux[data-step='5'] .mt-ux-bar {
  color: #fff;
}

.mt-ux-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: var(--ux-screen-h);
  overflow: hidden;
  background: var(--ux-page);
  transition: opacity 0.5s var(--ux-ease);
}

.mt-ux.is-ready .mt-ux-screen[aria-hidden='true'] {
  opacity: 0.3;
}

/* ---- pieces shared by every screen */

.mt-ux-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  color: #fff;
  background: var(--ux-client);
  font-size: 10px;
  font-weight: 700;
}

.mt-ux-mark {
  display: block;
  width: 12px;
  height: auto;
}

.mt-ux-h {
  margin: 0;
  color: var(--ux-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.mt-ux-p {
  margin: 6px 0 0;
  color: var(--ux-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.mt-ux-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ux-mt);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}

.mt-ux-pill:hover {
  background: var(--ux-mt-deep);
}

.mt-ux-pill:active {
  transform: scale(0.98);
}

.mt-ux-card {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 18 40 / 0.04), 0 12px 28px -18px rgb(16 18 60 / 0.22);
}

/* ---- MiTrust's header: white, with a hairline under it */

.mt-ux-hd {
  position: relative;
  flex: 0 0 auto;
  padding: 44px 18px 14px;
  color: var(--ux-ink);
  background: #fff;
  border-bottom: 1px solid var(--ux-line);
}

.mt-ux-hd-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.mt-ux-hd-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mt-ux-hd-brand img {
  display: block;
  width: 78px;
  height: auto;
}

.mt-ux-hd-brand small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ux-muted);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.mt-ux-hd-brand .mt-ux-i {
  width: 11px;
  height: 11px;
}

.mt-ux-hd-side {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Build with MiTrust's layers: the relying party is the visitor's own, an
   empty dashed slot with "Your logo" in it (lib/pages/experience.ts,
   buildTierPhones). */
.mt-ux-badge--yours {
  padding: 3px 10px;
  color: var(--ux-faint);
  background: none;
  box-shadow: none;
  border: 1px dashed #cacbcc;
  font-weight: 500;
}

.mt-ux-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 3px;
  border-radius: 999px;
  color: var(--ux-client);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ux-line);
  font-size: 11.5px;
  font-weight: 700;
}

.mt-ux-hd-out {
  display: inline-flex;
  color: var(--ux-muted);
}

.mt-ux-hd-out .mt-ux-i {
  width: 16px;
  height: 16px;
}

.mt-ux-steps-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mt-ux-steps-dots li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--ux-muted);
  background: var(--ux-page);
  font-size: 11px;
  font-weight: 700;
}

.mt-ux-steps-dots li.is-current {
  color: #fff;
  background: var(--ux-mt);
  box-shadow: 0 0 0 4px rgb(26 60 240 / 0.12);
}

.mt-ux-steps-dots li.is-done {
  color: var(--ux-mt);
  background: #e8ecff;
}

.mt-ux-steps-dots .mt-ux-i {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.mt-ux-hd-title {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* The content under the header, on the grey page. */
.mt-ux-sheet {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 14px;
  padding: 0 14px 20px;
}

/* ---- 0: the relying party */

.mt-ux-rp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 50px 20px 14px;
  color: var(--ux-client);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mt-ux-rp .mt-ux-logo {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  font-size: 12px;
}

.mt-ux-pad {
  display: flex;
  flex-direction: column;
  padding: 6px 20px 0;
}

.mt-ux-screen:first-child {
  background: #fff;
}

.mt-ux-loan {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  margin: 8px 0 24px;
  padding: 16px;
  border-radius: 16px;
  background: var(--ux-page);
}

.mt-ux-loan span {
  color: var(--ux-muted);
  font-size: 12px;
}

.mt-ux-loan b {
  grid-row: span 2;
  color: var(--ux-ink);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mt-ux-loan small {
  color: var(--ux-faint);
  font-size: 11px;
}

.mt-ux-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--ux-line);
  border-radius: 16px;
  color: var(--ux-ink);
  background: #fff;
  font: inherit;
  text-align: left;
}

.mt-ux-option > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.mt-ux-option b {
  font-size: 14px;
  font-weight: 600;
}

.mt-ux-option small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ux-muted);
  font-size: 11.5px;
}

.mt-ux-option small {
  white-space: nowrap;
}

/* The MiTrust logo itself, where the option names what it runs on. */
.mt-ux-wordmark {
  display: block;
  width: auto;
  height: 9px;
  margin-top: 1px;
}

.mt-ux-option .mt-ux-mark {
  width: 11px;
  color: var(--ux-mt);
}

.mt-ux-option.is-primary {
  margin-top: 18px;
  border-color: var(--ux-mt);
  box-shadow: 0 0 0 3px rgb(26 60 240 / 0.1);
  cursor: pointer;
  transition: transform 0.15s;
}

.mt-ux-option.is-primary > .mt-ux-i:first-child {
  color: var(--ux-mt);
}

.mt-ux-option.is-primary:active {
  transform: scale(0.99);
}

.mt-ux-go {
  color: var(--ux-mt);
  transition: transform 0.2s var(--ux-ease);
}

.mt-ux-option.is-primary:hover .mt-ux-go {
  transform: translateX(3px);
}

.mt-ux-option.is-muted,
.mt-ux-option.is-muted b {
  color: var(--ux-muted);
  font-weight: 500;
}

/* ---- 0: the way in — one of four, chosen with the chips beside step 01 */

.mt-ux-channel {
  display: none;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  animation: mt-ux-fade 0.4s var(--ux-ease);
}

.mt-ux[data-channel='app'] [data-ux-channel-screen='app'],
.mt-ux[data-channel='web'] [data-ux-channel-screen='web'],
.mt-ux[data-channel='qr'] [data-ux-channel-screen='qr'],
.mt-ux[data-channel='email'] [data-ux-channel-screen='email'] {
  display: flex;
}

@keyframes mt-ux-fade {
  from { opacity: 0; }
}

/* A MiTrust button on someone else's page: the pill, with the mark. */
.mt-ux-pill.is-mitrust {
  gap: 8px;
}

.mt-ux-pill.is-mitrust .mt-ux-mark {
  width: 13px;
}

/* Website: the browser's address bar above the page. */
.mt-ux-browser {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 44px 14px 0;
  padding: 0 12px;
  height: 32px;
  border-radius: 10px;
  color: var(--ux-muted);
  background: var(--ux-page);
  font-size: 12px;
}

.mt-ux-browser span {
  flex: 1;
  text-align: center;
}

.mt-ux-browser .mt-ux-i {
  width: 12px;
  height: 12px;
}

[data-ux-channel-screen='web'] .mt-ux-rp {
  padding-top: 14px;
}

/* QR code: the camera, the code in its frame, the link it found. */
.mt-ux-camera {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 50% 45%, #3a3d46 0%, #1b1d23 60%, #0f1013 100%);
}

.mt-ux-camera-hint {
  margin: 0 0 22px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.35);
  font-size: 12px;
  font-weight: 500;
}

.mt-ux-viewfinder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  /* Four corner brackets, drawn with one gradient each. */
  background:
    linear-gradient(#fff, #fff) top left / 28px 3px,
    linear-gradient(#fff, #fff) top left / 3px 28px,
    linear-gradient(#fff, #fff) top right / 28px 3px,
    linear-gradient(#fff, #fff) top right / 3px 28px,
    linear-gradient(#fff, #fff) bottom left / 28px 3px,
    linear-gradient(#fff, #fff) bottom left / 3px 28px,
    linear-gradient(#fff, #fff) bottom right / 28px 3px,
    linear-gradient(#fff, #fff) bottom right / 3px 28px;
  background-repeat: no-repeat;
}

.mt-ux-paper {
  display: block;
  width: 150px;
  padding: 8px;
  border-radius: 6px;
  background: #fff;
  transform: rotate(-4deg);
  box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.6);
}

.mt-ux-paper svg {
  display: block;
  width: 100%;
  height: auto;
}

.mt-ux-found {
  position: absolute;
  right: 14px;
  bottom: 26px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  border: 0;
  border-radius: 16px;
  color: var(--ux-ink);
  background: rgb(255 255 255 / 0.94);
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.5);
  animation: mt-ux-rise 0.5s var(--ux-ease) 0.3s backwards;
}

.mt-ux-found span {
  flex: 1;
}

.mt-ux-found em {
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--ux-mt);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

/* Email: the mail app, one message. */
.mt-ux-mail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 16px 10px;
  color: var(--ux-mt);
  font-size: 13px;
  font-weight: 500;
}

.mt-ux-mail-top span {
  display: inline-flex;
  align-items: center;
}

.mt-ux-mail-top .mt-ux-i {
  width: 17px;
  height: 17px;
}

.mt-ux-mail .mt-ux-h {
  margin-top: 4px;
}

.mt-ux-mail-from {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ux-line);
}

.mt-ux-mail-from .mt-ux-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
}

.mt-ux-mail-from span {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.mt-ux-mail-from small {
  color: var(--ux-faint);
  font-size: 11px;
}

.mt-ux-mail .mt-ux-pill {
  margin-top: 20px;
}

.mt-ux-mail-sign {
  margin-top: 20px;
}

/* ---- 0, in Bankoto's colours: the way in is the relying party's page, so it
   wears its brand — the header, the loan, and the MiTrust button itself, which
   takes the client's colour ("your brand identity"). Only the mark stays blue. */

.mt-ux-channel .mt-ux-rp {
  padding: 52px 20px 34px;
  color: #fff;
  background: linear-gradient(160deg, #1b8a63 0%, var(--ux-client) 100%);
}

.mt-ux-channel .mt-ux-rp .mt-ux-logo {
  color: var(--ux-client);
  background: #fff;
}

[data-ux-channel-screen='web'] .mt-ux-rp {
  margin-top: 8px;
  padding-top: 18px;
}

.mt-ux-channel .mt-ux-pad {
  position: relative;
  margin-top: -18px;
}

.mt-ux-channel .mt-ux-loan {
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 40 30 / 0.05), 0 12px 28px -18px rgb(15 92 67 / 0.4);
}

.mt-ux-channel .mt-ux-loan b {
  color: var(--ux-client);
}

.mt-ux-channel .mt-ux-option.is-primary {
  border-color: var(--ux-client);
  box-shadow: 0 0 0 3px rgb(15 92 67 / 0.1);
}

.mt-ux-channel .mt-ux-option.is-primary > .mt-ux-i:first-child,
.mt-ux-channel .mt-ux-go {
  color: var(--ux-client);
}

.mt-ux-channel .mt-ux-pill {
  background: var(--ux-client);
}

.mt-ux-channel .mt-ux-pill:hover {
  background: #0b4a36;
}

.mt-ux-channel .mt-ux-pill .mt-ux-mark {
  padding: 3px;
  width: 19px;
  border-radius: 5px;
  color: var(--ux-mt);
  background: #fff;
}

.mt-ux-found em {
  background: var(--ux-client) !important;
}

/* The mail app keeps its own chrome; the message is Bankoto's. */
[data-ux-channel-screen='email'] .mt-ux-pad {
  margin-top: 0;
}

.mt-ux-mail-top {
  color: var(--ux-client);
}

/* ---- 1: consent */

.mt-ux-scope {
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px -20px rgb(16 18 60 / 0.3);
  font-size: 12.5px;
}

.mt-ux-scope b {
  font-weight: 600;
}

.mt-ux-scope ul {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0 0 0 16px;
  color: var(--ux-muted);
}

.mt-ux-banks {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

/* A bank's app icon: square, rounded like one, with a hairline so the white ones hold their edge. */
.mt-ux-disc {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px var(--ux-line);
}

.mt-ux-disc.is-big {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.mt-ux-back {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 2px;
  margin-top: 14px;
  padding: 4px 8px;
  border: 0;
  color: var(--ux-muted);
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.mt-ux-back .mt-ux-i {
  width: 14px;
  height: 14px;
}

/* ---- 2: choosing and signing in to the bank */

.mt-ux-bankcard {
  flex: 1;
  overflow: hidden;
}

.mt-ux-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 6px;
  padding: 0 12px;
  height: 38px;
  border: 1px solid #e3e5eb;
  border-radius: 12px;
  color: var(--ux-faint);
  font-size: 12.5px;
}

.mt-ux-search .mt-ux-i {
  width: 15px;
  height: 15px;
}

.mt-ux-banklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mt-ux-banklist button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid var(--ux-line);
  color: var(--ux-ink);
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.mt-ux-banklist li:last-child button {
  border-bottom: 0;
}

.mt-ux-banklist button > span:not(.mt-ux-disc) {
  flex: 1;
}

.mt-ux-banklist .mt-ux-i {
  width: 15px;
  height: 15px;
  color: var(--ux-faint);
  transition: transform 0.2s var(--ux-ease);
}

.mt-ux-banklist button:hover .mt-ux-i {
  color: var(--ux-mt);
  transform: translateX(2px);
}

/* Once a bank is picked the list gives way to its sign-in, in the same card. */
.mt-ux-login {
  display: none;
}

.mt-ux-bankcard.is-picked .mt-ux-h,
.mt-ux-bankcard.is-picked .mt-ux-search,
.mt-ux-bankcard.is-picked .mt-ux-banklist {
  display: none;
}

.mt-ux-bankcard.is-picked .mt-ux-login {
  display: flex;
  flex-direction: column;
  animation: mt-ux-rise 0.45s var(--ux-ease);
}

@keyframes mt-ux-rise {
  from { opacity: 0; transform: translateY(8px); }
}

.mt-ux-login-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 15px;
}

.mt-ux-login-head b {
  font-weight: 600;
}

.mt-ux-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  color: var(--ux-muted);
  font-size: 11.5px;
  font-weight: 500;
}

.mt-ux-field input {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #e3e5eb;
  border-radius: 12px;
  color: var(--ux-ink);
  background: #fff;
  font: inherit;
  font-size: 13.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mt-ux-field input:focus {
  border-color: var(--ux-mt);
  outline: none;
  box-shadow: 0 0 0 3px rgb(26 60 240 / 0.12);
}

.mt-ux-field input.is-filled {
  background: #f5f7ff;
}

.mt-ux-autofill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ux-green);
  background: #ecf7f2;
  font-size: 11.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s var(--ux-ease), transform 0.35s var(--ux-ease);
}

.mt-ux-autofill.is-on {
  opacity: 1;
  transform: none;
}

.mt-ux-autofill .mt-ux-i {
  width: 13px;
  height: 13px;
}

/* The field being filled, while the manager types into it. */
.mt-ux-field input.is-typing {
  border-color: var(--ux-mt);
  box-shadow: 0 0 0 3px rgb(26 60 240 / 0.12);
}

/* ---- 3: retrieval */

.mt-ux-wait {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 18px;
  text-align: center;
}

.mt-ux-wait-title {
  margin: 0;
  color: var(--ux-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.mt-ux-spin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 30px 0;
  border-radius: 20px;
  color: var(--ux-mt);
  background: #eef1ff;
}

.mt-ux-spin .mt-ux-mark {
  width: 28px;
}

.mt-ux[data-step='3'] .mt-ux-spin {
  animation: mt-ux-breathe 1.6s ease-in-out infinite;
}

@keyframes mt-ux-breathe {
  50% { transform: scale(0.92); box-shadow: 0 0 0 10px rgb(26 60 240 / 0.06); }
}

.mt-ux-progress {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.mt-ux-progress::before {
  content: '';
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: #e9ecf3;
}

.mt-ux-progress i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: var(--ux-mt);
  transform: scaleX(var(--ux-progress, 0.08));
  transform-origin: left;
  transition: transform 0.3s linear;
}

.mt-ux-progress span {
  color: var(--ux-muted);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.mt-ux-cancel {
  margin-top: 12px;
  color: var(--ux-muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mt-ux-secure {
  display: flex;
  gap: 8px;
  margin: 18px 6px 0;
  color: var(--ux-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.mt-ux-secure .mt-ux-i {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

/* ---- 4: share */

.mt-ux-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 16px;
  border: 1.5px solid var(--ux-mt);
  text-align: center;
}

.mt-ux-corner {
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0 18px 0 12px;
  color: #fff;
  background: var(--ux-mt);
}

.mt-ux-corner .mt-ux-i {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.mt-ux-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ux-muted);
  background: var(--ux-page);
}

.mt-ux-name {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mt-ux-profile dl {
  display: grid;
  gap: 2px;
  width: 100%;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--ux-line);
}

.mt-ux-profile dt {
  margin-top: 8px;
  color: var(--ux-mt);
  font-size: 11.5px;
  font-weight: 600;
}

.mt-ux-profile dt:first-child {
  margin-top: 0;
}

.mt-ux-profile dd {
  margin: 0;
  color: var(--ux-ink);
  font-size: 14px;
  font-weight: 600;
}

.mt-ux-sharetext {
  margin: 16px 4px 0;
  font-size: 12px;
}

.mt-ux-sheet > .mt-ux-pill {
  margin-top: auto;
}

/* ---- 5: the decision, back at the relying party — all green */

.mt-ux-done {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(90% 55% at 50% 38%, rgb(255 255 255 / 0.16), transparent 70%),
    linear-gradient(170deg, #22c483 0%, #10a066 48%, #0a7a4c 100%);
  text-align: center;
}

.mt-ux-done .mt-ux-rp {
  align-self: stretch;
  color: #fff;
  background: none;
}

.mt-ux-done .mt-ux-rp .mt-ux-logo {
  color: #0b6f48;
  background: #fff;
}

.mt-ux-done-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 26px 30px;
}

.mt-ux-seal {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: #12925f;
  background: #fff;
  box-shadow: 0 18px 40px -14px rgb(0 40 20 / 0.5);
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s, opacity 0.3s 0.25s;
}

/* Two rings go out from the seal as it lands. */
.mt-ux-seal::before,
.mt-ux-seal::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgb(255 255 255 / 0.6);
  border-radius: 50%;
  opacity: 0;
}

.mt-ux[data-step='5'] .mt-ux-seal::before {
  animation: mt-ux-ring 1.6s var(--ux-ease) 0.6s 2;
}

.mt-ux[data-step='5'] .mt-ux-seal::after {
  animation: mt-ux-ring 1.6s var(--ux-ease) 0.95s 2;
}

@keyframes mt-ux-ring {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.1); }
}

.mt-ux-seal .mt-ux-i {
  width: 40px;
  height: 40px;
  stroke-width: 2.8;
}

.mt-ux[data-step='5'] .mt-ux-seal,
.mt-ux:not(.is-ready) .mt-ux-seal {
  transform: none;
  opacity: 1;
}

.mt-ux-kicker {
  margin: 0 0 8px;
  color: rgb(255 255 255 / 0.8);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mt-ux-done .mt-ux-h {
  color: #fff;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.mt-ux-done .mt-ux-p {
  max-width: 220px;
  margin-top: 8px;
  color: rgb(255 255 255 / 0.85);
  font-size: 13px;
}

/* The words rise in after the seal. */
.mt-ux-done-body > :not(.mt-ux-seal) {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ux-ease), transform 0.5s var(--ux-ease);
}

.mt-ux[data-step='5'] .mt-ux-done-body > :not(.mt-ux-seal),
.mt-ux:not(.is-ready) .mt-ux-done-body > :not(.mt-ux-seal) {
  opacity: 1;
  transform: none;
}

.mt-ux[data-step='5'] .mt-ux-done-body > :nth-child(2) { transition-delay: 0.55s; }
.mt-ux[data-step='5'] .mt-ux-done-body > :nth-child(3) { transition-delay: 0.65s; }
.mt-ux[data-step='5'] .mt-ux-done-body > :nth-child(4) { transition-delay: 0.75s; }

.mt-ux-via {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgb(255 255 255 / 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 500;
}

.mt-ux-via .mt-ux-mark {
  width: 15px;
  color: #fff;
}

.mt-ux-foot {
  margin-top: auto;
  padding: 0 20px 26px;
}

/* ---------------------------------------------------------------- controls */

.mt-ux-controls {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mt-ux-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--ux-line);
  border-radius: 50%;
  color: var(--ux-ink);
  background: #fff;
  cursor: pointer;
  transition: background-color 0.15s, opacity 0.15s;
}

.mt-ux-arrow:hover {
  background: var(--ux-soft);
}

.mt-ux-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.mt-ux-arrow .mt-ux-i {
  width: 16px;
  height: 16px;
}

.mt-ux-dots-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mt-ux-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #d5d7dd;
  cursor: pointer;
  transition: height 0.4s var(--ux-ease), width 0.4s var(--ux-ease), background-color 0.3s;
}

.mt-ux-dot:hover {
  background: #b9bcc4;
}

.mt-ux-dot.is-active {
  height: 20px;
  background: var(--ux-ink);
}

.mt-ux button:focus-visible,
.mt-ux .mt-ux-step:focus-visible {
  outline: 2px solid var(--ux-blue);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- phones

   There is no room for two columns, and a sticky phone over the text would
   hide it. So the phone comes first, and under it only the step it is showing:
   a caption that changes with the screen. Without the script every step shows. */

@media (max-width: 899px) {
  .mt-ux {
    padding: 96px 16px 24px;
  }

  .mt-ux-hero {
    margin-bottom: 40px;
  }

  .mt-ux-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .mt-ux-stage {
    grid-column: 1;
    grid-row: 1;
  }

  .mt-ux-sticky {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mt-ux-controls,
  .mt-ux-dots-nav {
    flex-direction: row;
  }

  .mt-ux-dot.is-active {
    width: 20px;
    height: 6px;
  }

  .mt-ux-phone {
    --ux-screen-h: 580px;
  }

  /* The screens still scroll up, but here the arrows read as a carousel's. */
  .mt-ux-arrow .mt-ux-i {
    transform: rotate(-90deg);
  }

  .mt-ux-steps {
    grid-row: 2;
    padding: 0;
  }

  .mt-ux-step,
  .mt-ux-step:first-child {
    min-height: 0;
    max-width: none;
    padding: 32px 0 0;
  }

  .mt-ux.is-ready .mt-ux-step:not(.is-active) {
    display: none;
  }

  .mt-ux.is-ready .mt-ux-step {
    cursor: auto;
    min-height: 330px;
    justify-content: flex-start;
  }
}

@media (max-width: 360px) {
  .mt-ux-phone {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mt-ux *,
  .mt-ux *::before,
  .mt-ux *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------------------------------------------------------------- platform cards

   "User experience" in "Discover our platform", on every page that has it:
   Webflow's three tilted tiles hold the concept window's Select, Connect and
   Share (lib/pages/experience.ts, `conceptCard`) instead of a picture of an
   old screen. It is laid out at 240px — the window's 413 units, so --u is its
   413th — and scaled into the 160px tile; Webflow keeps animating the tiles
   themselves. */

.stack.mt-stack {
  overflow: hidden;
  background-image: none;
}

.mt-stack-screen {
  --u: calc(240px / 413);
  --navy: #09215F;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
  height: 330px;
  color: #171719;
  background: #fff;
  font-family: 'Onest Variable', system-ui, sans-serif;
  /* The Platform menu's tiles are <i> elements. */
  font-style: normal;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: left;
  /* Laid out at 240 × 330 — the tile's 16:22 — and scaled into its 160px. */
  transform: scale(0.6667);
  transform-origin: 0 0;
  pointer-events: none;
}

.mt-stack-screen *,
.mt-stack-screen *::before,
.mt-stack-screen *::after {
  box-sizing: border-box;
}

.stack.nv .mt-stack-screen {
  transform: scale(0.4167);
}

/* The industry pages' card: the same tiles, 140px wide, on a plain white
   ground in place of Webflow's picture. */
.div-block-37-copy.mt-stack {
  overflow: hidden;
  background-image: none;
}

.div-block-37-copy .mt-stack-screen {
  transform: scale(0.5833);
}

/* The window's header, steps and screens (public/css/industry.css,
   journey.css), in the same units. */
.mt-stack-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  padding: calc(40 * var(--u)) calc(48 * var(--u)) 0 calc(41 * var(--u));
}

.mt-stack-brand {
  display: grid;
  place-items: center;
  width: calc(156 * var(--u));
  height: calc(46 * var(--u));
  border: 1px dashed #cacbcc;
  border-radius: calc(12 * var(--u));
  color: #a4a4a7;
  font-size: calc(12 * var(--u));
  font-weight: 500;
}

.mt-stack-top img {
  display: block;
  width: calc(108 * var(--u));
  height: auto;
}

.mt-stack-steps {
  display: flex;
  align-items: center;
  margin: calc(44 * var(--u)) 0 0;
  padding: 0;
  list-style: none;
  font-size: calc(13.4 * var(--u));
  font-weight: 500;
}

/* Done and current in black, what is still to come in grey. */
.mt-stack-steps li {
  display: flex;
  align-items: center;
  color: #a4a4a7;
}

.mt-stack-steps li.is-on,
.mt-stack-steps li.is-done {
  color: #000;
}

.mt-stack-steps li + li::before {
  content: '';
  width: calc(28 * var(--u));
  height: 1px;
  margin: 0 calc(10 * var(--u));
  background: #dadbde;
}

.mt-stack-steps li.is-done + li::before {
  background: var(--navy);
}

.mt-stack-data {
  width: calc(303 * var(--u));
  margin: calc(32 * var(--u)) 0 0;
  padding: 0 calc(12 * var(--u));
  list-style: none;
  border: 1px solid #e8e8ea;
  border-radius: calc(10 * var(--u));
}

.mt-stack-data li {
  display: flex;
  align-items: flex-start;
  gap: calc(8 * var(--u));
  padding: calc(11 * var(--u)) 0 calc(12 * var(--u));
}

.mt-stack-data li + li {
  border-top: 1px solid #f0f0f2;
}

.mt-stack-data svg {
  flex-shrink: 0;
  width: calc(13 * var(--u));
  height: calc(13 * var(--u));
  margin-top: calc(4 * var(--u));
  color: var(--navy);
}

.mt-stack-data b {
  display: block;
  color: #2b2c30;
  font-size: calc(15 * var(--u));
  font-weight: 500;
  line-height: calc(20 * var(--u));
}

.mt-stack-data i {
  display: block;
  margin-top: calc(2 * var(--u));
  color: #6b6c75;
  font: 400 calc(13 * var(--u)) / 1.4 'Geist Mono', ui-monospace, Menlo, monospace;
}

/* Select: the heading over the card, a ticked box per row, and bars where
   the values will be — they are not known yet. */
.mt-stack-kicker {
  width: calc(303 * var(--u));
  margin: calc(30 * var(--u)) 0 0;
  color: #858585;
  font-size: calc(12 * var(--u));
  font-weight: 500;
}

.mt-stack-data.is-asked {
  margin-top: calc(10 * var(--u));
}

.mt-stack-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
  margin-top: calc(3 * var(--u));
  border-radius: calc(4 * var(--u));
  background: var(--navy);
}

.mt-stack-data .mt-stack-box svg {
  width: 72%;
  height: 72%;
  margin: 0;
  color: #fff;
}

.mt-stack-data .mt-stack-ph {
  width: calc(var(--len) * 7.6 * var(--u));
  height: calc(9 * var(--u));
  margin-top: calc(7 * var(--u));
  border-radius: 99px;
  background: #ededf0;
}

/* Select: the data providers — or the Products page's two ways to verify an
   identity — as a list of choices, the picked one shaded. */
.mt-stack-pick li {
  align-items: center;
  gap: calc(11 * var(--u));
  margin: 0 calc(-12 * var(--u));
  padding-left: calc(12 * var(--u));
  padding-right: calc(12 * var(--u));
}

.mt-stack-pick li:first-child { border-radius: calc(9 * var(--u)) calc(9 * var(--u)) 0 0; }
.mt-stack-pick li:last-child { border-radius: 0 0 calc(9 * var(--u)) calc(9 * var(--u)); }
.mt-stack-pick li.is-on { background: #f3f5fa; }
.mt-stack-pick li > span:nth-child(2) { flex: 1; min-width: 0; }

.mt-stack-pick-i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #e8e8ea;
  color: var(--navy);
}

.mt-stack-pick li.is-on .mt-stack-pick-i {
  background: var(--navy);
  box-shadow: none;
  color: #fff;
}

.mt-stack-data .mt-stack-pick-i svg,
.mt-stack-data .mt-stack-pick-go {
  margin: 0;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mt-stack-data .mt-stack-pick-i svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.mt-stack-data .mt-stack-pick-go { width: calc(14 * var(--u)); height: calc(14 * var(--u)); color: #a4a4a7; stroke-width: 2; }
.mt-stack-pick li.is-on .mt-stack-pick-go { color: var(--navy); }

/* Products, "Identity": the same card in place of Webflow's picture, at the
   picture's 350px and in its frame (lib/pages/experience.ts,
   `withProductScreens`), laid out rather than scaled. */
.imagedataproductexample.mt-product {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.mt-product .mt-stack-screen {
  --u: calc(350px / 413);
  position: static;
  width: 100%;
  height: auto;
  padding-bottom: calc(48 * var(--u));
  transform: none;
}

.mt-product .mt-stack-pick { margin-top: calc(14 * var(--u)); }
.mt-product .mt-stack-pick li { padding-top: calc(16 * var(--u)); padding-bottom: calc(17 * var(--u)); }

@media (max-width: 479px) {
  .imagedataproductexample.mt-product { width: 100%; max-width: 350px; }
  .mt-product .mt-stack-screen { --u: calc(min(350px, 100vw - 32px) / 413); }
}

/* Connect: the one source, connected. */
.mt-stack-source {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(303 * var(--u));
  margin-top: calc(40 * var(--u));
  padding: calc(30 * var(--u)) calc(20 * var(--u)) calc(24 * var(--u));
  border: 1px solid #e8e8ea;
  border-radius: calc(10 * var(--u));
}

.mt-stack-icons {
  display: flex;
}

.mt-stack-icons img {
  width: calc(52 * var(--u));
  height: calc(52 * var(--u));
  padding: calc(9 * var(--u));
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #e8e8ea, 0 calc(6 * var(--u)) calc(16 * var(--u)) rgb(9 33 95 / 0.08);
  object-fit: contain;
}

.mt-stack-icons img + img {
  margin-left: calc(-14 * var(--u));
}

.mt-stack-source b {
  margin-top: calc(16 * var(--u));
  color: #2b2c30;
  font-size: calc(15.8 * var(--u));
  font-weight: 500;
  line-height: calc(20 * var(--u));
}

.mt-stack-source small {
  margin-top: calc(3 * var(--u));
  color: #858585;
  font: 400 calc(12 * var(--u)) / 1.4 'Geist Mono', ui-monospace, Menlo, monospace;
}

.mt-stack-bar {
  width: calc(180 * var(--u));
  height: calc(3 * var(--u));
  margin-top: calc(24 * var(--u));
  border-radius: 99px;
  background: var(--navy);
}

.mt-stack-ok {
  display: inline-flex;
  align-items: center;
  gap: calc(5 * var(--u));
  margin-top: calc(12 * var(--u));
  color: var(--navy);
  font-size: calc(12.5 * var(--u));
  font-weight: 500;
}

.mt-stack-ok svg,
.mt-stack-note svg {
  width: calc(13 * var(--u));
  height: calc(13 * var(--u));
}

.mt-stack-note {
  display: flex;
  align-items: center;
  gap: calc(5 * var(--u));
  margin: calc(22 * var(--u)) 0 0;
  color: rgb(57 59 70 / 0.6);
  font-size: calc(10.5 * var(--u));
  font-weight: 500;
}

.mt-stack-badges {
  display: flex;
  gap: calc(14 * var(--u));
  margin-top: calc(28 * var(--u));
  color: rgb(57 59 70 / 0.6);
  font-size: calc(10.5 * var(--u));
  font-weight: 500;
}

.mt-stack-share {
  display: flex;
  align-items: center;
  width: calc(289 * var(--u));
  height: calc(60 * var(--u));
  margin-top: calc(20 * var(--u));
  padding: calc(4 * var(--u));
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 calc(6 * var(--u)) calc(24 * var(--u)) rgb(9 33 95 / 0.1), 0 0 0 1px rgb(9 33 95 / 0.04);
  color: var(--navy);
  font-size: calc(13.4 * var(--u));
  font-weight: 500;
}

.mt-stack-share i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: calc(52 * var(--u));
  height: calc(52 * var(--u));
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.mt-stack-share svg {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
}

.mt-stack-share > span {
  flex: 1;
  padding-right: calc(40 * var(--u));
  text-align: center;
}

/* ---------------------------------------------------------------- concept window
   /platform/user-experience tells the journey in Build with MiTrust's concept
   window rather than on a phone (lib/pages/experience.ts, `conceptScreens`).
   The window and its screens are the industry pages' (industry.css,
   journey.css); here they only fit the track: 560 units tall, of which the
   header takes 86, so each screen is 474. */
.mt-ux-phone.is-window {
  --w: 360px;
  --ux-screen-h: calc(474 * var(--u));
  width: var(--w);
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.mt-ux-phone.is-window .mt-ux-viewport {
  flex: none;
  height: var(--ux-screen-h);
  border-radius: 0;
  background: #fff;
}

.mt-ux-phone.is-window .mt-ux-screen {
  background: #fff;
}

.mt-ux.is-ready .mt-ux-phone.is-window .mt-ux-screen[aria-hidden='true'] {
  opacity: 0;
}

/* The connection's bar: experience.js fills it, as it did the retrieval's. */
.mt-ux-phone.is-window .mtj-progress {
  width: calc(180 * var(--u));
  margin-top: calc(24 * var(--u));
  gap: calc(12 * var(--u));
}

.mt-ux-phone.is-window .mtj-progress::before,
.mt-ux-phone.is-window .mtj-progress i {
  height: calc(3 * var(--u));
  background: #EDEDF0;
}

.mt-ux-phone.is-window .mtj-progress i {
  background: #09215F;
}

.mt-ux-phone.is-window .mtj-progress span {
  color: #858585;
  font-size: calc(12.5 * var(--u));
  font-weight: 500;
}

@media (max-width: 899px) {
  .mt-ux-phone.is-window {
    --w: min(340px, calc(100vw - 32px));
  }
}
