/* Embedded on/off-ramp — page layer.
   Loads after psp-page.css and product-page.css. New blocks use the em- prefix;
   site chrome (header, demo band, footer, modals) keeps its own styles. */

/* Inter as a variable face, so 500–600 render as real weights, not synthetic bold */
@font-face {
  font-family: "Inter";
  src:
    url("../fonts/Inter-Variable.woff2") format("woff2"),
    url("../fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.product-page {
  --em-line: rgba(255, 255, 255, 0.08);
  --em-line-strong: rgba(255, 255, 255, 0.16);
  --em-surface: #121214;
  --em-text-2: #aebdcc;
  --em-text-3: rgba(174, 189, 204, 0.62);
  --em-accent: #fec84b;
  --em-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --em-gutter: 20px;
  --em-section-y: 128px;
  --em-head-gap: 64px;
}

/* The site sets tabular-nums on body; in Inter that also widens hyphens in prose.
   Numbers that need fixed width (widget amounts, facts) opt back in. */
.product-page .em-hero,
.product-page .em-facts,
.product-page .em-section,
.product-page #demo .psp-cta-sub {
  font-variant-numeric: normal;
}

.product-page .em-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.product-page .em-container {
  position: relative;
  width: 100%;
  max-width: 1228px;
  margin: 0 auto;
  padding: 0 var(--em-gutter);
}

/* ---------- Type ---------- */

.product-page .em-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: none;
  margin: 0 0 24px;
  font-family: "IBMPlexMono", monospace;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--em-text-2);
}
.product-page .em-eyebrow::before {
  content: "";
  flex: none;
  width: 16px;
  height: 1px;
  background: var(--em-accent);
}

.product-page .em-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 560;
  letter-spacing: -0.03em;
  text-align: left;
  color: #fff;
  text-wrap: balance;
}

.product-page .em-lead {
  max-width: 600px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--em-text-2);
  text-wrap: pretty;
}

.product-page .em-head {
  max-width: 760px;
  margin: 0 0 var(--em-head-gap);
}

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

.product-page .em-section {
  position: relative;
  padding: var(--em-section-y) 0;
  background: #000;
}
/* Hairline on the content grid, not edge to edge */
.product-page .em-section > .em-container::before {
  content: "";
  position: absolute;
  top: calc(var(--em-section-y) * -1);
  left: var(--em-gutter);
  right: var(--em-gutter);
  height: 1px;
  background: var(--em-line);
}

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

.psp-page.product-page .hero.ncase.em-hero {
  padding-top: 176px;
  padding-bottom: 104px;
  text-align: left;
}
.psp-page.product-page .em-hero .em-hero__grid {
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 448px);
  gap: 80px;
  align-items: center;
}
.psp-page.product-page .em-hero .em-hero__title {
  max-width: 640px;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #fff;
  text-align: left;
  text-wrap: balance;
}
.psp-page.product-page .em-hero .em-hero__lead {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--em-text-2);
  text-align: left;
  text-wrap: pretty;
}
.product-page .em-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 40px;
}
.product-page .em-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBMPlexMono", monospace;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.product-page .em-link svg {
  transition: transform 0.3s var(--em-ease);
}
.product-page .em-link:hover {
  color: var(--em-accent);
  text-decoration: none;
}
.product-page .em-link:hover svg {
  transform: translateX(3px);
}

/* Platform frame around the widget: shows that the widget lives inside the partner's product */
.product-page .em-frame {
  overflow: hidden;
  border: 1px solid var(--em-line-strong);
  border-radius: 16px;
  background: rgba(14, 14, 17, 0.88);
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.8);
}
.product-page .em-frame__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 44px;
  padding: 0 16px;
}
.product-page .em-frame__dots {
  display: flex;
  flex: none;
  gap: 6px;
  width: 56px;
}
.product-page .em-frame__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.product-page .em-frame__url {
  flex: 1;
  font-family: "IBMPlexMono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--em-text-3);
}
.product-page .em-frame__body {
  padding: 4px 28px 28px;
}
.product-page .em-frame .em-w {
  border-radius: 10px;
}

/* ---------- Widget mockup ----------
   A marketing illustration of the FinchTrade widget, not a replica. Each screen has one
   hero figure set light and large; everything else is quiet: monospace micro-labels,
   document-style rows, a single hairline where a group ends. Inner surfaces stay square,
   only the outer frame is rounded to match the cards elsewhere on the page. */

.product-page .em-w {
  --w-ink: #0c111d;
  --w-ink-2: #475467;
  --w-ink-3: #8a94a6;
  --w-line: #eceef2;
  --w-soft: #f6f7f9;
  display: flex;
  flex-direction: column;
  height: 440px;
  padding: 26px 28px 24px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  color: var(--w-ink);
  cursor: default;
}
/* Neutralise site-wide p / strong / .hero p rules inside the mockup */
.product-page .em-w p,
.product-page .em-w strong,
.product-page .em-w dt,
.product-page .em-w dd,
.product-page .em-w li,
.product-page .em-w span {
  display: block;
  max-width: none;
  margin: 0;
  text-align: inherit;
  color: inherit;
  cursor: inherit;
}

/* Head: a small title and a monospace note; the figure below carries the screen */
.product-page .em-w .em-w__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  margin-bottom: 30px;
}
.product-page .em-w .em-w__title {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--w-ink);
}
.product-page .em-w .em-w__meta,
.product-page .em-w .em-w__k,
.product-page .em-w .em-w__kv dt,
.product-page .em-w .em-w__status,
.product-page .em-w .em-w__foot,
.product-page .em-w .em-w__steps li span {
  font-family: "IBMPlexMono", monospace;
  font-size: 10.5px;
  line-height: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w-ink-3);
}
.product-page .em-w .em-w__k {
  margin-bottom: 10px;
}

/* Hero figure: light weight, cents and currency recede */
.product-page .em-w .em-w__amt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product-page .em-w .em-w__big {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-size: 34px;
  line-height: 40px;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--w-ink);
}
.product-page .em-w .em-w__cents,
.product-page .em-w .em-w__cur {
  display: inline;
  color: var(--w-ink-3);
}
.product-page .em-w .em-w__cur {
  margin-left: 0.28em;
}
.product-page .em-w .em-w__coin {
  flex: none;
}
.product-page .em-w .em-w__whole,
.product-page .em-w .em-w__cur-inline {
  display: inline;
}
.product-page .em-w .em-w__cur-inline {
  margin-left: 0.6em;
}

/* Live demo: editable amount, currency switches, a labelled sample rate */

.product-page .em-w .em-w__input {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: inset 0 -1px 0 transparent;
  font-family: "Inter", sans-serif;
  font-size: 34px;
  line-height: 40px;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--w-ink);
  caret-color: #f79009;
  transition: box-shadow 0.2s var(--em-ease);
}
.product-page .em-w .em-w__input:hover {
  box-shadow: inset 0 -1px 0 var(--w-line);
}
.product-page .em-w .em-w__input:focus {
  box-shadow: inset 0 -1px 0 var(--w-ink);
}
.product-page .em-w output.em-w__big {
  display: block;
}
.product-page .em-w.is-long .em-w__input,
.product-page .em-w.is-long .em-w__big {
  font-size: 26px;
  line-height: 40px;
}
.product-page .em-w .em-w__ticket b {
  font-weight: 400;
  color: var(--w-ink);
}
.product-page .em-w button.em-w__btn:focus-visible {
  outline: 2px solid #f79009;
  outline-offset: 2px;
}
.product-page .em-w button.em-w__btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s var(--em-ease);
}
.product-page .em-w button.em-w__btn:hover {
  background: #fdb022;
}
/* "Try it": a quiet hint that this card responds */
.product-page .em-w .em-w__try {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b54708;
}
.product-page .em-w .em-w__try::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f79009;
  animation: em-pulse 2.4s var(--em-ease) infinite;
}
@keyframes em-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 144, 9, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(247, 144, 9, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .product-page .em-w .em-w__try::before {
    animation: none;
  }
}

/* Rate set into the hairline between the two legs of a conversion */
.product-page .em-w .em-w__ticket {
  position: relative;
  margin: 22px 0;
  text-align: center;
}
.product-page .em-w .em-w__ticket::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--w-line);
}
.product-page .em-w .em-w__ticket span {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: #fff;
  font-family: "IBMPlexMono", monospace;
  font-size: 10.5px;
  line-height: 14px;
  letter-spacing: 0.06em;
  color: var(--w-ink-2);
  font-variant-numeric: tabular-nums;
}

/* Document-style rows: fixed label column, values aligned on one edge */
.product-page .em-w .em-w__kv {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  margin: 24px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--w-line);
}
.product-page .em-w .em-w__kv dt,
.product-page .em-w .em-w__kv dd {
  display: flex;
  align-items: center;
  min-height: 34px;
}
.product-page .em-w .em-w__kv dd {
  font-size: 14px;
  font-weight: 500;
  color: var(--w-ink);
}

.product-page .em-w .em-w__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--w-ink-2);
}
.product-page .em-w .em-w__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.14);
}

/* KYB: the company, then a quiet timeline of what has been checked */
.product-page .em-w .em-w__entity {
  margin-bottom: 22px;
}
.product-page .em-w .em-w__entity strong {
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--w-ink);
}
.product-page .em-w .em-w__entity span {
  margin-top: 4px;
  font-size: 13px;
  color: var(--w-ink-3);
}
.product-page .em-w .em-w__steps {
  margin: 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--w-line);
  list-style: none;
}
.product-page .em-w .em-w__steps li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding-left: 22px;
  font-size: 14px;
  color: var(--w-ink);
}
.product-page .em-w .em-w__steps li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--w-ink);
}
.product-page .em-w .em-w__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(50% + 7px);
  left: 5px;
  width: 1px;
  height: 20px;
  background: var(--w-line);
}
.product-page .em-w .em-w__steps .is-next::before {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #f79009;
}
.product-page .em-w .em-w__steps .is-next span {
  color: #b54708;
}

/* API key: the one place a filled surface earns its keep */
.product-page .em-w .em-w__key {
  padding: 13px 14px;
  background: var(--w-soft);
  font-family: "IBMPlexMono", monospace;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: var(--w-ink);
}
.product-page .em-w .em-w__key span {
  display: inline;
  margin: 0 2px;
  color: var(--w-ink-3);
}

/* Sample partner platform: an abstract mark, deliberately not any real brand */
.product-page .em-w .em-w__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--w-ink);
}
.product-page .em-w .em-w__logo {
  display: block;
  flex: none;
}

/* Consent: two marks joined by a secured link, as OAuth screens do it */
.product-page .em-w .em-w__link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0 20px;
}
.product-page .em-w .em-w__mark {
  display: block;
  flex: none;
  width: 44px;
  height: 44px;
}
.product-page .em-w .em-w__mark--ft {
  box-shadow: inset 0 0 0 1px var(--w-line);
}
.product-page .em-w .em-w__link i {
  width: 36px;
  border-top: 1px dashed #d0d5dd;
}
.product-page .em-w .em-w__lock {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--w-soft);
  color: var(--w-ink-2);
}
.product-page .em-w .em-w__ask {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 22px;
  text-align: center;
  color: var(--w-ink-2);
}
.product-page .em-w .em-w__ask strong {
  display: inline;
  font-weight: 600;
  color: var(--w-ink);
}
.product-page .em-w .em-w__ticks {
  margin: 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--w-line);
  list-style: none;
}
.product-page .em-w .em-w__ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 32px;
  font-size: 14px;
  color: var(--w-ink);
}
.product-page .em-w .em-w__ticks svg {
  flex: none;
  color: var(--w-ink-2);
}

/* Primary action: FinchTrade yellow, square, monospace */
.product-page .em-w .em-w__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 46px;
  margin-top: auto;
  padding: 0 18px;
  background: #fec84b;
  font-family: "IBMPlexMono", monospace;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--w-ink);
}
.product-page .em-w--host .em-w__btn {
  background: var(--w-ink);
  color: #fff;
}
.product-page .em-w .em-w__foot {
  margin-top: 12px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-align: center;
}

/* ---------- Hero demo widget ----------
   One widget that walks through Verify → Convert → Withdraw. The stepper keeps the whole
   journey in view; screens share one stage and the key figure carries over between them
   (the motion itself lives in product-embed.js). Sample rates only, nothing leaves the page. */

/* The site gives every element "transition: all 0.4s"; inside the widget that would delay
   visibility and fight the scripted motion, so only the transitions declared here apply */
.product-page .em-w,
.product-page .em-w *,
.product-page .em-hero__caption * {
  transition: none;
}
.product-page .em-w--live {
  position: relative;
  height: 500px;
  padding: 0;
}
.product-page .em-w .em-w__stage {
  position: relative;
  flex: 1;
  min-height: 0;
}
.product-page .em-w .em-w__screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 22px;
  visibility: hidden;
}
.product-page .em-w .em-w__screen.is-active,
.product-page .em-w .em-w__screen.is-leaving {
  visibility: visible;
}
.product-page .em-w .em-w__screen.is-leaving {
  pointer-events: none;
}
.product-page .em-w .em-w__screen > .em-w__k {
  margin-bottom: 10px;
}
.product-page .em-w .em-w__screen .em-w__head {
  margin-bottom: 26px;
}

/* Stepper: three labelled tracks; the current one fills as the client moves through it */
.product-page .em-w .em-w__stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 22px 28px 0;
  list-style: none;
}
.product-page .em-w .em-w__stepper li {
  display: block;
}
.product-page .em-w .em-w__stepper button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0 0 12px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: "IBMPlexMono", monospace;
  font-size: 10.5px;
  line-height: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  color: var(--w-ink-3);
  cursor: pointer;
  transition: color 0.3s var(--em-ease);
}
.product-page .em-w .em-w__stepper button:hover,
.product-page .em-w .em-w__stepper .is-done button {
  color: var(--w-ink-2);
}
.product-page .em-w .em-w__stepper .is-current button {
  color: var(--w-ink);
}
.product-page .em-w .em-w__stepper button:focus-visible {
  outline: 2px solid #f79009;
  outline-offset: 2px;
}
.product-page .em-w .em-w__step-n {
  position: relative;
  display: inline-block;
  flex: none;
  min-width: 2.1em;
}
.product-page .em-w .em-w__step-n i {
  display: block;
  font-style: normal;
  transition: opacity 0.25s var(--em-ease);
}
.product-page .em-w .em-w__step-n svg {
  position: absolute;
  top: 2px;
  left: 1px;
}
.product-page .em-w .em-w__step-n path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
  transition: stroke-dashoffset 0.45s var(--em-ease) 0.1s;
}
.product-page .em-w .em-w__stepper .is-done .em-w__step-n i {
  opacity: 0;
}
.product-page .em-w .em-w__stepper .is-done .em-w__step-n path {
  stroke-dashoffset: 0;
}
.product-page .em-w .em-w__step-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: var(--w-line);
}
.product-page .em-w .em-w__step-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--w-ink);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Head notes that turn into a status once something is confirmed */
.product-page .em-w .em-w__meta.is-ok {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--w-ink-2);
}
.product-page .em-w .em-w__meta.is-ok::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.14);
}

/* Checklist: KYB items and the payout track share one quiet sequence */
.product-page .em-w .em-w__checks {
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-page .em-w .em-w__checks li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  font-size: 14px;
  color: var(--w-ink);
}
.product-page .em-w .em-w__checks li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;
  left: 7.5px;
  width: 1px;
  height: 14px;
  background: var(--w-line);
  transition: background-color 0.4s var(--em-ease);
}
.product-page .em-w .em-w__checks li.is-done:not(:last-child)::after {
  background: var(--w-ink);
}
.product-page .em-w .em-w__checks em {
  margin-left: auto;
  font-family: "IBMPlexMono", monospace;
  font-size: 10.5px;
  line-height: 14px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w-ink-3);
  transition: color 0.3s var(--em-ease);
}
.product-page .em-w .em-w__checks li.is-checking em,
.product-page .em-w .em-w__checks li.is-done em {
  color: var(--w-ink-2);
}
.product-page .em-w .em-w__ci {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
}
.product-page .em-w .em-w__ci svg {
  display: block;
  width: 16px;
  height: 16px;
  overflow: visible;
}
.product-page .em-w .em-w__ci circle {
  fill: transparent;
  stroke: #d0d5dd;
  stroke-width: 1.25;
  transition:
    fill 0.3s var(--em-ease),
    stroke 0.3s var(--em-ease);
}
.product-page .em-w .em-w__ci path {
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.4s var(--em-ease) 0.12s;
}
.product-page .em-w li.is-checking .em-w__ci svg {
  animation: em-spin 0.9s linear infinite;
}
.product-page .em-w li.is-checking .em-w__ci circle {
  stroke: var(--w-ink);
  stroke-linecap: round;
  stroke-dasharray: 12 32;
}
.product-page .em-w li.is-done .em-w__ci circle {
  fill: var(--w-ink);
  stroke: var(--w-ink);
}
.product-page .em-w li.is-done .em-w__ci path {
  stroke-dashoffset: 0;
}
@keyframes em-spin {
  to { transform: rotate(360deg); }
}

/* Review: the quote is held for a few seconds, then requoted */
.product-page .em-w .em-w__hold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.product-page .em-w .em-w__hold span {
  display: inline;
  min-width: 2.4em;
  font-variant-numeric: tabular-nums;
}
.product-page .em-w .em-w__hold svg {
  transform: rotate(-90deg);
}
.product-page .em-w .em-w__hold circle {
  fill: none;
  stroke: var(--w-line);
  stroke-width: 1.5;
}
.product-page .em-w .em-w__hold .em-w__hold-run {
  stroke: #f79009;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.product-page .em-w .em-w__hold.is-running .em-w__hold-run {
  animation: em-hold 15s linear forwards;
}
@keyframes em-hold {
  to { stroke-dashoffset: 1; }
}

/* Received figure: each character sits in its own slot so a changed digit can be swapped alone */
.product-page .em-w output.em-w__roll {
  display: flex;
  align-items: flex-start;
}
.product-page .em-w .em-roll__d,
.product-page .em-w .em-roll__s {
  position: relative;
  display: block;
}
.product-page .em-w .em-roll__d i,
.product-page .em-w .em-roll__s i {
  display: block;
  font-style: normal;
}
.product-page .em-w .em-roll__d i.is-out {
  position: absolute;
  top: 0;
  left: 0;
}
.product-page .em-w .em-roll__d.is-cents,
.product-page .em-w .em-roll__s.is-cents {
  color: var(--w-ink-3);
}
.product-page .em-w .em-w__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.product-page .em-w .em-w__input.is-typing {
  box-shadow: inset 0 -1px 0 var(--w-ink);
}

/* Buttons: a press state, and a progress hairline while something is being done */
.product-page .em-w .em-w__btn {
  position: relative;
  overflow: hidden;
}
.product-page .em-w .em-w__btn-t {
  display: block;
  transition: opacity 0.2s var(--em-ease);
}
.product-page .em-w button.em-w__btn {
  transition: background-color 0.2s var(--em-ease);
}
.product-page .em-w button.em-w__btn:active,
.product-page .em-w button.em-w__btn.is-pressed {
  background: #fdb022;
}
.product-page .em-w .em-w__btn::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--w-ink);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}
.product-page .em-w .em-w__btn.is-busy {
  pointer-events: none;
}
.product-page .em-w .em-w__btn.is-busy .em-w__btn-t {
  opacity: 0.5;
}
.product-page .em-w .em-w__btn.is-busy::after {
  opacity: 1;
  animation: em-busy var(--em-busy, 0.8s) cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes em-busy {
  to { transform: scaleX(1); }
}

/* Back arrow sits in front of the title */
.product-page .em-w .em-w__head {
  justify-content: flex-start;
}
.product-page .em-w .em-w__head .em-w__meta {
  margin-left: auto;
}
.product-page .em-w .em-w__back {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0 6px 0 -6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--w-ink-2);
  cursor: pointer;
}
.product-page .em-w .em-w__back:hover {
  color: var(--w-ink);
}

/* Asset chip: icon, code, a quiet chevron; the menu opens under it */
.product-page .em-w .em-w__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 36px;
  margin-right: -8px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: var(--w-ink);
  cursor: pointer;
  transition: background-color 0.2s var(--em-ease);
}
.product-page .em-w .em-w__chip:hover,
.product-page .em-w .em-w__chip[aria-expanded="true"] {
  background: var(--w-soft);
}
.product-page .em-w .em-w__chip span {
  display: inline;
}
.product-page .em-w .em-w__chev {
  color: var(--w-ink-3);
  transition: transform 0.2s var(--em-ease);
}
.product-page .em-w .em-w__chip[aria-expanded="true"] .em-w__chev {
  transform: rotate(180deg);
}
.product-page .em-w .em-w__menu {
  position: absolute;
  z-index: 3;
  width: 220px;
  padding: 6px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(16, 24, 40, 0.06),
    0 16px 32px -12px rgba(16, 24, 40, 0.28);
}
.product-page .em-w .em-w__menu[hidden] {
  display: none;
}
.product-page .em-w .em-w__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  color: var(--w-ink);
  cursor: pointer;
}
.product-page .em-w .em-w__opt:hover,
.product-page .em-w .em-w__opt:focus-visible {
  background: var(--w-soft);
  outline: 0;
}
.product-page .em-w .em-w__opt span {
  display: inline;
  flex: 1;
}
.product-page .em-w .em-w__opt em {
  font-family: "IBMPlexMono", monospace;
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--w-ink-3);
}
.product-page .em-w .em-w__opt[aria-selected="true"] em {
  color: #b54708;
}

/* Swap direction lives in the rate line */
.product-page .em-w .em-w__ticket--flip {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-page .em-w .em-w__ticket--flip::before {
  z-index: 0;
}
.product-page .em-w .em-w__ticket--flip > * {
  position: relative;
  z-index: 1;
}
.product-page .em-w .em-w__ticket--flip > span {
  white-space: nowrap;
  padding-right: 12px;
  padding-left: 8px;
  background: #fff;
}
/* Swap: a quiet icon on the hairline; a soft fill on hover, no outline, no spin */
.product-page .em-w .em-w__flip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: var(--w-ink-3);
  vertical-align: middle;
  cursor: pointer;
  transition:
    color 0.2s var(--em-ease),
    background-color 0.2s var(--em-ease);
}
.product-page .em-w .em-w__flip svg {
  display: block;
  overflow: visible;
}
.product-page .em-w .em-w__flip path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-page .em-w .em-w__flip:hover,
.product-page .em-w .em-w__flip.is-pressed {
  color: var(--w-ink);
  background: var(--w-soft);
}

/* Result screen: one drawn mark, the figure, a quiet note */
.product-page .em-w .em-w__screen--result {
  justify-content: flex-start;
  padding-top: 44px;
}
.product-page .em-w .em-w__mark-ok {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #fffaeb;
  color: #dc6803;
}
.product-page .em-w .em-w__mark-ok path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.product-page .em-w .em-w__screen.is-active .em-w__mark-ok path {
  animation: em-draw 0.5s var(--em-ease) 0.3s backwards;
}
@keyframes em-draw {
  from { stroke-dashoffset: 1; }
}
.product-page .em-w [data-em-shared] {
  transform-origin: left center;
}
.product-page .em-w .em-w__screen .em-w__big:not(.em-w__roll) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}
.product-page .em-w .em-w__screen[data-screen="sent"] .em-w__big {
  margin-bottom: 22px;
}
.product-page .em-w .em-w__note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--w-ink-2);
}
.product-page .em-w .em-w__link-btn {
  margin: 14px auto 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: "IBMPlexMono", monospace;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w-ink-2);
  cursor: pointer;
}
.product-page .em-w .em-w__link-btn:hover {
  color: var(--w-ink);
}
.product-page .em-w .em-w__chip:focus-visible,
.product-page .em-w .em-w__flip:focus-visible,
.product-page .em-w .em-w__back:focus-visible,
.product-page .em-w .em-w__link-btn:focus-visible {
  outline: 2px solid #f79009;
  outline-offset: 2px;
}

/* Autoplay switch in the platform frame bar */
.product-page .em-frame__auto {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex: none;
  width: 56px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: "IBMPlexMono", monospace;
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--em-text-3);
  cursor: pointer;
  transition: color 0.2s var(--em-ease);
}
.product-page .em-frame__auto:hover {
  color: #fff;
}
.product-page .em-frame__auto:focus-visible {
  outline: 2px solid var(--em-accent);
  outline-offset: 2px;
}
.product-page .em-frame__auto span {
  display: inline;
}
.product-page .em-frame__auto path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.product-page .em-frame__auto .em-frame__auto-play {
  display: none;
  fill: currentColor;
  stroke: none;
}
.product-page .em-frame__auto[aria-pressed="false"] .em-frame__auto-pause {
  display: none;
}
.product-page .em-frame__auto[aria-pressed="false"] .em-frame__auto-play {
  display: inline;
}

/* What FinchTrade does at the current step, under the frame */
.product-page .em-hero__caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 12px;
  min-height: 22px;
  margin: 20px 2px 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  color: var(--em-text-2);
}
.product-page .em-hero__caption > span {
  display: block;
}
.product-page .em-hero__caption .em-hero__caption-n {
  font-family: "IBMPlexMono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--em-accent);
}

/* The widget is one of three paths: a quiet pointer to the other two */
.product-page .em-hero__caption .em-hero__alt {
  display: block;
  grid-column: 2;
  justify-self: start;
  margin-top: 6px;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
  color: var(--em-text-3);
}
.product-page .em-hero__caption .em-hero__alt b {
  white-space: nowrap;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s var(--em-ease);
}
.product-page .em-hero__caption .em-hero__alt svg {
  display: inline-block;
  margin-left: 6px;
  vertical-align: -2px;
  color: #fff;
  transition:
    color 0.2s var(--em-ease),
    transform 0.25s var(--em-ease);
}
.product-page .em-hero__caption .em-hero__alt:hover b,
.product-page .em-hero__caption .em-hero__alt:hover svg {
  color: var(--em-accent);
}
.product-page .em-hero__caption .em-hero__alt:hover svg {
  transform: translateX(2px);
}
.product-page .em-hero__caption .em-hero__alt:focus-visible {
  outline: 2px solid var(--em-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .product-page .em-w .em-w__step-bar::after,
  .product-page .em-w .em-w__checks *,
  .product-page .em-w .em-w__step-n * {
    transition: none;
  }
  .product-page .em-w li.is-checking .em-w__ci svg,
  .product-page .em-w .em-w__screen.is-active .em-w__mark-ok path {
    animation: none;
  }
}

/* ---------- Facts ---------- */

.product-page .em-facts {
  padding: 0 0 104px;
  background: #000;
}
.product-page .em-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--em-line);
}
.product-page .em-facts__grid > div {
  padding: 32px 32px 0 0;
}
.product-page .em-facts__grid > div + div {
  padding-left: 32px;
}
.product-page .em-facts dt {
  font-family: "Inter", sans-serif;
  font-size: 48px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.product-page .em-facts dd {
  max-width: 220px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--em-text-2);
}

/* ---------- Problem: comparison table ----------
   Each row reads across: the cost of doing it alone, a turn, what changes with FinchTrade.
   The FinchTrade column is one quiet panel; the last row is the outcome in figures. */

.product-page .em-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.product-page .em-compare th,
.product-page .em-compare td {
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--em-line);
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
}
/* Column widths live on the header row; FinchTrade takes the rest */
.product-page .em-compare thead td:first-child {
  width: 20%;
}
.product-page .em-compare thead th:nth-child(2) {
  width: 33%;
}
.product-page .em-compare thead .em-compare__arrow {
  width: 7%;
}
.product-page .em-compare thead th,
.product-page .em-compare tbody th {
  font-family: "IBMPlexMono", monospace;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-text-3);
}
.product-page .em-compare thead th,
.product-page .em-compare thead td {
  padding-top: 0;
  padding-bottom: 18px;
  vertical-align: bottom;
}
.product-page .em-compare tbody td {
  color: var(--em-text-3);
  transition: color 0.3s var(--em-ease);
}
.product-page .em-compare tbody tr:hover td {
  color: var(--em-text-2);
}

.product-page .em-compare .em-compare__arrow {
  padding-right: 0;
  text-align: center;
}
.product-page .em-compare .em-compare__arrow svg {
  display: inline-block;
  vertical-align: middle;
}
.product-page .em-compare tbody tr:hover .em-compare__arrow {
  color: var(--em-accent);
}

/* FinchTrade column: a single panel with a fine gold edge, no rules inside */
.product-page .em-compare .em-compare__ft {
  padding-left: 32px;
  padding-right: 32px;
  border-bottom: 0;
  border-left: 1px solid rgba(254, 200, 75, 0.2);
  border-right: 1px solid rgba(254, 200, 75, 0.2);
  background: rgba(254, 200, 75, 0.035);
}
.product-page .em-compare thead .em-compare__ft {
  padding-top: 26px;
  border-top: 1px solid rgba(254, 200, 75, 0.2);
  border-radius: 16px 16px 0 0;
  color: var(--em-accent);
}
.product-page .em-compare tbody tr:last-child .em-compare__ft {
  border-bottom: 1px solid rgba(254, 200, 75, 0.2);
  border-radius: 0 0 16px 16px;
}
.product-page .em-compare tbody .em-compare__ft,
.product-page .em-compare tbody tr:hover .em-compare__ft {
  color: #fff;
}
.product-page .em-compare__tick {
  display: inline-block;
  margin: -3px 14px 0 0;
  vertical-align: middle;
  color: var(--em-accent);
}

/* Outcome row */
.product-page .em-compare .em-compare__total th,
.product-page .em-compare .em-compare__total td {
  padding-top: 32px;
  padding-bottom: 34px;
  border-bottom: 0;
}
.product-page .em-compare .em-compare__total td:nth-child(2) {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.product-page .em-compare .em-compare__total .em-compare__ft {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: no-preference) {
  /* Arrows turn in, row by row, once the table is on screen */
  .em-js .product-page .em-compare tbody .em-compare__arrow svg {
    opacity: 0;
    transform: translateX(-8px);
    transition:
      opacity 0.6s var(--em-ease),
      transform 0.6s var(--em-ease);
  }
  .em-js .product-page .em-compare.is-in tbody .em-compare__arrow svg {
    opacity: 1;
    transform: none;
  }
  .em-js .product-page .em-compare tbody tr:nth-child(1) .em-compare__arrow svg { transition-delay: 0.4s; }
  .em-js .product-page .em-compare tbody tr:nth-child(2) .em-compare__arrow svg { transition-delay: 0.5s; }
  .em-js .product-page .em-compare tbody tr:nth-child(3) .em-compare__arrow svg { transition-delay: 0.6s; }
  .em-js .product-page .em-compare tbody tr:nth-child(4) .em-compare__arrow svg { transition-delay: 0.7s; }
  .em-js .product-page .em-compare tbody tr:nth-child(5) .em-compare__arrow svg { transition-delay: 0.8s; }
}

/* ---------- How it works ---------- */

.product-page .em-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-page .em-steps li {
  position: relative;
  padding-top: 28px;
}
.product-page .em-steps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--em-line-strong);
  transform-origin: left center;
}
.product-page .em-steps__n {
  display: block;
  margin-bottom: 48px;
  font-family: "IBMPlexMono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--em-accent);
}
.product-page .em-steps h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 560;
  letter-spacing: -0.015em;
  color: #fff;
}
.product-page .em-steps p {
  max-width: 320px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--em-text-2);
}

/* ---------- Integration paths ----------
   A typographic comparison: row labels live once on the left, each option is a column
   marked by a hairline on its left edge. Rhythm comes from spacing, not rules:
   Each column's own line carries the route: client, the part that differs, FinchTrade,
   as nodes on that line, with the zones named once in the labels column.
   48px between what it is, the route and the facts; 28px between nodes, 32px between facts. */

.product-page .em-paths {
  display: grid;
  grid-template-columns: 128px repeat(3, minmax(0, 1fr));
  column-gap: 32px;
}
.product-page .em-paths__labels,
.product-page .em-path {
  display: grid;
  grid-row: span 7;
  grid-template-rows: subgrid;
  row-gap: 0;
}
.product-page .em-paths__labels span {
  padding-top: 32px;
  font-family: "IBMPlexMono", monospace;
  font-size: 11px;
  line-height: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-text-3);
}
.product-page .em-paths__labels span:first-child {
  padding-top: 0;
}
.product-page .em-paths__labels span:nth-child(2) {
  padding-top: 48px;
  line-height: 22px;
}
.product-page .em-paths__labels span:nth-child(3),
.product-page .em-paths__labels span:nth-child(4) {
  padding-top: 28px;
  line-height: 22px;
}
.product-page .em-paths__labels span:nth-child(5) {
  padding-top: 48px;
}
.product-page .em-paths__labels small {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  line-height: 14px;
  letter-spacing: 0.06em;
}
.product-page .em-path {
  --pad: 32px;
  padding: 0 0 4px var(--pad);
  border-left: 1px solid var(--em-line);
}
/* Not built yet: the whole line is dashed */
.product-page .em-path.is-soon {
  border-left: 1px dashed var(--em-line-strong);
}
.product-page .em-path .em-path__num {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 22px;
  margin: 0 0 16px;
  font-family: "IBMPlexMono", monospace;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.12em;
  color: var(--em-accent);
}
.product-page .em-path__head h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: #fff;
}
.product-page .em-path__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--em-text-2);
  text-wrap: balance;
}

/* Route: nodes sit on the column's line; a firmer stretch of line joins them */
.product-page .em-path__flow {
  display: contents;
}
.product-page .em-node {
  --t: 34.5px; /* top of the dot, centred on the label's first line */
  position: relative;
  margin: 0;
  padding-top: 28px;
  list-style: none;
  font-size: 15px;
  line-height: 22px;
  text-align: left;
  color: var(--em-text-2);
}
.product-page .em-node:first-child {
  --t: 54.5px;
  padding-top: 48px;
}
.product-page .em-node::before {
  content: "";
  position: absolute;
  top: var(--t);
  left: calc(-1 * var(--pad) - 5px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  box-shadow: inset 0 0 0 1px var(--em-text-3);
}
.product-page .em-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--t) + 13px);
  bottom: -30.5px;
  left: calc(-1 * var(--pad) - 1px);
  width: 1px;
  background: var(--em-line-strong);
}
.product-page .em-path.is-soon .em-node::after {
  display: none;
}
.product-page .em-node.is-key {
  font-weight: 500;
  color: #fff;
}
.product-page .em-node.is-key::before {
  background: var(--em-accent);
  box-shadow: 0 0 0 4px rgba(254, 200, 75, 0.14);
}
.product-page .em-path.is-soon .em-node.is-key::before {
  background: #000;
  box-shadow: inset 0 0 0 1.5px var(--em-accent);
}
.product-page .em-node small {
  display: block;
  margin-top: 4px;
  font-family: "IBMPlexMono", monospace;
  font-size: 10.5px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--em-text-3);
}
@media (prefers-reduced-motion: no-preference) {
  /* The firmer stretches draw down once the table appears */
  .em-js .product-page .em-paths .em-node::after {
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.8s var(--em-ease);
    transition-delay: calc(var(--em-i, 0) * 90ms + 0.35s);
  }
  .em-js .product-page .em-paths .em-node.is-key::after {
    transition-delay: calc(var(--em-i, 0) * 90ms + 0.6s);
  }
  .em-js .product-page .em-paths.is-in .em-node::after {
    transform: none;
  }
}

/* Facts read from most to least decisive: your work, best for, an example */
.product-page .em-path__row {
  margin: 0;
  padding: 32px 0 0;
}
.product-page .em-path__facts {
  display: contents;
}
.product-page .em-path__facts > .em-path__row:first-child {
  padding-top: 48px;
}
/* Labels are printed once in the left column; kept for screen readers and narrow screens */
.product-page .em-path__row dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.product-page .em-path__row dd {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: #fff;
  text-wrap: balance;
}
.product-page .em-path__facts > .em-path__row:first-child dd {
  font-size: 16px;
  font-weight: 500;
}
.product-page .em-path__row:last-child dd {
  color: var(--em-text-2);
}

.product-page .em-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(254, 200, 75, 0.36);
  border-radius: 999px;
  font-family: "IBMPlexMono", monospace;
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--em-accent);
}

/* Integration CTA: the same warm panel as the FinchTrade column in the problem table */
.product-page .em-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: 64px;
  padding: 32px 32px 32px 36px;
  border: 1px solid rgba(254, 200, 75, 0.28);
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(254, 200, 75, 0.09), rgba(254, 200, 75, 0.02) 70%);
}
.product-page .em-cta-row .em-cta-row__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: #fff;
}
.product-page .em-cta-row .em-cta-row__text {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--em-text-2);
}
.product-page .em-cta-row .defb {
  flex: none;
  max-width: none;
  white-space: nowrap;
  box-shadow: 0 12px 32px -12px rgba(254, 200, 75, 0.5);
}

/* ---------- Client experience ---------- */

.product-page .em-tabs__list {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--em-line);
  border-radius: 999px;
  background: var(--em-surface);
}
.product-page .em-tabs__tab {
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font-family: "IBMPlexMono", monospace;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--em-text-2);
  cursor: pointer;
  transition:
    background-color 0.3s var(--em-ease),
    color 0.3s var(--em-ease);
}
.product-page .em-tabs__tab:hover {
  color: #fff;
}
.product-page .em-tabs__tab[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.product-page .em-tabs__tab:focus-visible {
  outline: 2px solid var(--em-accent);
  outline-offset: 2px;
}
.product-page .em-tabs__panel:not([hidden]) {
  animation: em-fade 0.5s var(--em-ease);
}
.product-page .em-tabs__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 28px 0 32px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--em-text-2);
}
@keyframes em-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.product-page .em-screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-page .em-screen {
  margin: 0;
}
.product-page .em-screen figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
.product-page .em-screen figcaption span {
  font-family: "IBMPlexMono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--em-accent);
}
.product-page .em-screens .em-w {
  box-shadow: none;
}

/* ---------- Audience ---------- */

.product-page .em-audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* Subgrid keeps titles, intros and lists on shared lines across the cards */
.product-page .em-audience__card {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--em-line);
  border-radius: 16px;
  background: var(--em-surface);
  transition:
    border-color 0.4s var(--em-ease),
    background-color 0.4s var(--em-ease);
}
.product-page .em-audience__card:hover {
  border-color: var(--em-line-strong);
  background: #16161a;
}
.product-page .em-audience__card img {
  width: 64px;
  height: 64px;
  margin-bottom: 40px;
}
.product-page .em-audience__card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: #fff;
}
.product-page .em-audience__card > p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--em-text-2);
}
.product-page .em-audience__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-page .em-audience__card li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--em-text-2);
}
.product-page .em-audience__card li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--em-text-3);
}

/* ---------- Roles ---------- */

.product-page .em-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-page .em-roles article {
  padding-top: 28px;
  border-top: 1px solid var(--em-line-strong);
}
.product-page .em-roles .em-roles__role {
  margin: 0 0 12px;
  font-family: "IBMPlexMono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-text-3);
}
.product-page .em-roles h3 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: #fff;
}
.product-page .em-roles ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-page .em-roles li {
  position: relative;
  padding: 7px 0 7px 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--em-text-2);
}
.product-page .em-roles li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--em-text-3);
}
.product-page .em-roles__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.product-page .em-roles__notes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBMPlexMono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--em-text-2);
}
.product-page .em-roles__notes li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--em-accent);
}

/* ---------- Demo band (site component) on the page grid ---------- */

.psp-page.product-page #demo {
  gap: 104px;
  min-height: 0;
  padding: var(--em-section-y) 0 112px;
}
.psp-page.product-page #demo .content.top,
.psp-page.product-page #demo .content.bottom {
  max-width: 1228px;
  padding-left: var(--em-gutter);
  padding-right: var(--em-gutter);
}
.psp-page.product-page #demo .content.bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 64px;
}
.psp-page.product-page #demo .content.bottom .left {
  max-width: 760px;
}
.psp-page.product-page #demo .content.bottom .title,
.psp-page.product-page #demo .content.bottom .title b {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 560;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.psp-page.product-page #demo .psp-cta-sub {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--em-text-2);
}
.psp-page.product-page #demo .content.bottom .right {
  align-items: flex-end;
}
.psp-page.product-page #demo .content.bottom .right .defb {
  width: auto;
  min-width: 0;
  max-width: none;
  padding: 0 32px 0 40px;
  white-space: nowrap;
}
/* Trust figures share the facts strip layout from the top of the page */
.psp-page.product-page #demo .content.top {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
/* The rule sits on the cells so it stops at the content edge, not the padding */
.psp-page.product-page #demo .content.top > div {
  padding: 32px 32px 0 0;
  border-top: 1px solid var(--em-line);
  width: 100%;
}
.psp-page.product-page #demo .content.top > div:last-child {
  padding-right: 0;
}
.psp-page.product-page #demo .content.top > div + div {
  padding-left: 32px;
}
.psp-page.product-page #demo .content.top > div h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.psp-page.product-page #demo .content.top > div p {
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--em-text-2);
}
.psp-page.product-page #demo .content.top br {
  display: none;
}
.psp-page.product-page #demo .content.top img {
  width: 180px;
  margin-top: 4px;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .product-page .em-hero__copy > * {
    animation: em-rise 0.9s var(--em-ease) both;
  }
  .product-page .em-hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .product-page .em-hero__copy > :nth-child(3) { animation-delay: 0.16s; }
  .product-page .em-hero__copy > :nth-child(4) { animation-delay: 0.24s; }
  .product-page .em-hero__visual {
    animation: em-rise 1.1s var(--em-ease) 0.2s both;
  }

  /* Scroll reveal; html.em-js is set by product-embed.js, so content stays visible without JS */
  .em-js .product-page [data-em-reveal]:not([data-em-stagger]),
  .em-js .product-page [data-em-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.9s var(--em-ease),
      transform 0.9s var(--em-ease);
  }
  .em-js .product-page [data-em-stagger] > * {
    transition-delay: calc(var(--em-i, 0) * 90ms);
  }
  .em-js .product-page [data-em-reveal].is-in:not([data-em-stagger]),
  .em-js .product-page [data-em-stagger].is-in > * {
    opacity: 1;
    transform: none;
  }
  /* Step rules draw in from the left */
  .em-js .product-page .em-steps li::before {
    transform: scaleX(0);
    transition: transform 1.2s var(--em-ease);
    transition-delay: calc(var(--em-i, 0) * 120ms + 0.15s);
  }
  .em-js .product-page .em-steps.is-in li::before {
    transform: scaleX(1);
  }
}
@keyframes em-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .psp-page.product-page .em-hero .em-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: 56px;
  }
  .psp-page.product-page .em-hero .em-hero__title {
    font-size: 54px;
  }
  .product-page .em-audience {
    grid-template-columns: repeat(2, 1fr);
  }
  
  
  
}

@media (max-width: 900px) {
  .product-page {
    --em-section-y: 96px;
    --em-head-gap: 48px;
  }
  .psp-page.product-page .hero.ncase.em-hero {
    padding-top: 128px;
    padding-bottom: 72px;
  }
  .psp-page.product-page .em-hero .em-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .product-page .em-hero__visual {
    width: 100%;
    max-width: 448px;
  }
  .product-page .em-title {
    font-size: 38px;
  }
  .product-page .em-facts {
    padding-bottom: 72px;
  }
  .product-page .em-facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-page .em-facts__grid > div,
  .product-page .em-facts__grid > div + div {
    padding: 28px 20px 28px 0;
    border-left: 0;
  }
  .product-page .em-facts__grid > div:nth-child(even) {
    padding-left: 20px;
  }
  .product-page .em-facts__grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--em-line);
  }
  .product-page .em-steps,
  .product-page .em-roles {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .product-page .em-steps__n {
    margin-bottom: 20px;
  }
  
  
  .product-page .em-cta-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .psp-page.product-page #demo {
    gap: 72px;
    padding-bottom: 80px;
  }
  .psp-page.product-page #demo .content.bottom {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .psp-page.product-page #demo .content.bottom .right {
    align-items: flex-start;
  }
  .psp-page.product-page #demo .content.bottom .title,
  .psp-page.product-page #demo .content.bottom .title b {
    font-size: 38px;
  }
  .psp-page.product-page #demo .content.top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .psp-page.product-page #demo .content.top > div,
  .psp-page.product-page #demo .content.top > div + div {
    width: auto;
    padding: 28px 20px 28px 0;
    border-left: 0;
  }
  .psp-page.product-page #demo .content.top > div:nth-child(even) {
    padding-left: 20px;
    padding-right: 0;
  }
  .product-page .em-screens {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(340px, 86%);
    gap: 16px;
    margin: 0 calc(var(--em-gutter) * -1);
    padding: 0 var(--em-gutter) 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--em-gutter);
    scrollbar-width: none;
  }
  .product-page .em-screens::-webkit-scrollbar {
    display: none;
  }
  .product-page .em-screen {
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  .product-page .em-compare,
  .product-page .em-compare thead,
  .product-page .em-compare tbody {
    display: block;
  }
  .product-page .em-compare tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    border-bottom: 1px solid var(--em-line);
  }
  .product-page .em-compare thead td,
  .product-page .em-compare .em-compare__arrow {
    display: none;
  }
  .product-page .em-compare th,
  .product-page .em-compare td,
  .product-page .em-compare .em-compare__ft,
  .product-page .em-compare thead .em-compare__ft,
  .product-page .em-compare tbody tr:last-child .em-compare__ft {
    padding: 0 0 20px;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: 15px;
  }
  .product-page .em-compare thead th,
  .product-page .em-compare thead th:nth-child(2) {
    width: auto;
    padding-bottom: 14px;
  }
  .product-page .em-compare tbody th {
    grid-column: 1 / -1;
    padding: 20px 0 8px;
  }
  .product-page .em-compare__tick {
    margin-right: 8px;
  }
  /* Outcome row: selectors match the desktop ones so the sizes survive the reset above */
  .product-page .em-compare tbody tr.em-compare__total {
    align-items: baseline;
    border-bottom: 0;
  }
  .product-page .em-compare tbody tr.em-compare__total th {
    padding: 24px 0 10px;
  }
  .product-page .em-compare tbody tr.em-compare__total td {
    padding: 0 0 8px;
    font-size: 18px;
  }
  .product-page .em-compare tbody tr.em-compare__total td.em-compare__ft {
    padding: 0 0 8px;
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .product-page {
    --em-section-y: 80px;
    --em-head-gap: 40px;
  }
  .psp-page.product-page .em-hero .em-hero__title {
    font-size: 40px;
    line-height: 1.05;
  }
  .psp-page.product-page .em-hero .em-hero__lead {
    margin-top: 20px;
    font-size: 17px;
  }
  .product-page .em-hero__actions {
    margin-top: 32px;
  }
  .product-page .em-title,
  .psp-page.product-page #demo .content.bottom .title,
  .psp-page.product-page #demo .content.bottom .title b {
    font-size: 32px;
  }
  .psp-page.product-page #demo .psp-cta-sub {
    font-size: 16px;
  }
  .psp-page.product-page #demo .content.top > div h3 {
    font-size: 20px;
  }
  .product-page .em-lead {
    font-size: 16px;
  }
  .product-page .em-frame__body {
    padding: 0 16px 16px;
  }
  
  
  .product-page .em-w {
    padding: 22px 20px 20px;
  }
  .product-page .em-w .em-w__big {
    font-size: 28px;
    line-height: 34px;
  }
  .product-page .em-facts dt {
    font-size: 36px;
  }
  .product-page .em-facts dd {
    font-size: 14px;
  }
  .product-page .em-tabs__list {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .product-page .em-tabs__tab {
    flex: 1;
    padding: 10px 14px;
  }
  .product-page .em-audience {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-page .em-audience__card img {
    margin-bottom: 28px;
  }
  
  
  
}


/* ---------- Integration paths, narrow ----------
   Under 1180px each path becomes a row: what it is and its route on the left, the facts
   with their own labels on the right; phones stack everything. */
@media (max-width: 1180px) {
  .product-page .em-paths {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 64px;
  }
  .product-page .em-paths__labels {
    display: none;
  }
  .product-page .em-path {
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 48px;
    padding-bottom: 0;
  }
  .product-page .em-path__head {
    grid-column: 1;
    grid-row: 1;
  }
  .product-page .em-path__flow {
    display: block;
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    padding: 0;
  }
  .product-page .em-node {
    --t: 22.5px;
    padding-top: 16px;
  }
  .product-page .em-node:first-child {
    --t: 34.5px;
    padding-top: 28px;
  }
  .product-page .em-node:not(:last-child)::after {
    bottom: -18.5px;
  }
  .product-page .em-path__facts {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    padding-top: 38px;
  }
  .product-page .em-path__row,
  .product-page .em-path__facts > .em-path__row:first-child {
    padding-top: 24px;
  }
  .product-page .em-path__facts > .em-path__row:first-child {
    padding-top: 0;
  }
  .product-page .em-path__row dt {
    position: static;
    width: auto;
    height: auto;
    margin-bottom: 6px;
    overflow: visible;
    clip: auto;
    font-family: "IBMPlexMono", monospace;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--em-text-3);
  }
}
@media (max-width: 700px) {
  .product-page .em-paths {
    row-gap: 56px;
  }
  .product-page .em-cta-row {
    margin-top: 56px;
  }
  .product-page .em-path {
    --pad: 20px;
    display: block;
  }
  .product-page .em-path__facts {
    padding-top: 32px;
  }
  .product-page .em-path__row,
  .product-page .em-path__facts > .em-path__row:first-child {
    padding-top: 20px;
  }
  .product-page .em-path__facts > .em-path__row:first-child {
    padding-top: 0;
  }
}
@media (max-width: 600px) {
  .product-page .em-w .em-w__screen {
    padding: 22px 20px 20px;
  }
  .product-page .em-w .em-w__screen--result {
    padding-top: 40px;
  }
  .product-page .em-w .em-w__stepper {
    padding: 20px 20px 0;
  }
  .product-page .em-w .em-w__menu {
    width: 200px;
  }
}

/* ---------- Widget figures on phones ---------- */
@media (max-width: 600px) {
  .product-page .em-w .em-w__input {
    font-size: 28px;
    line-height: 34px;
  }
}
@media (max-width: 420px) {
  .product-page .em-frame__body {
    padding: 0 10px 10px;
  }
  .product-page .em-w .em-w__screen {
    padding: 20px 16px 18px;
  }
  .product-page .em-w .em-w__stepper {
    padding: 18px 16px 0;
  }
  .product-page .em-w .em-w__stepper button {
    gap: 4px;
    font-size: 9.5px;
    letter-spacing: 0.06em;
  }
  .product-page .em-w .em-w__big,
  .product-page .em-w .em-w__input {
    font-size: 24px;
    line-height: 32px;
  }
  .product-page .em-w.is-long .em-w__big,
  .product-page .em-w.is-long .em-w__input {
    font-size: 20px;
  }
  .product-page .em-w .em-w__coin {
    width: 24px;
    height: 24px;
  }
  .product-page .em-w .em-w__amt {
    gap: 10px;
  }
  .product-page .em-w .em-w__chip {
    gap: 6px;
    margin-right: -6px;
    padding: 0 6px;
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .product-page .em-w .em-w__chip > svg:first-child {
    display: none;
  }
  .product-page .em-w .em-w__screen .em-w__foot {
    font-size: 9px;
    letter-spacing: 0.02em;
  }
}
.product-page .em-w .em-w__rate-note {
  font-style: normal;
}
@media (max-width: 420px) {
  /* The footer already says these are sample rates */
  .product-page .em-w .em-w__rate-note {
    display: none;
  }
  /* Step names alone; the filled track already marks what is done */
  .product-page .em-w .em-w__step-n {
    display: none;
  }
  .product-page .em-w .em-w__foot {
    letter-spacing: 0.06em;
  }
}
