/* the walk-through: six steps following one file. On a wide screen it is a split: the steps as an accordion on the
   left, one stage on the right that both stay put while the section scrolls past, so each scene builds in full view
   as its own stretch of scroll goes by. Narrow screens, reduced motion and no script get the steps stacked. */
.ft {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  background: var(--bg, #04070c);
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.09));
  --ft-ease: var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
}
.ft-anchor {
  position: absolute;
  top: 0;
}
.ft {
  padding: 128px 0;
}
.ft-in {
  position: relative;
}

/* ---------- the split: steps on the left, stage on the right ---------- */
.ft-index {
  display: none;
}
.ft-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ft-split .ft-in {
  --ft-top: 104px;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  column-gap: 64px;
  align-items: start;
  /* wider than the page column: the stage needs the room */
  margin-inline: calc((100% - min(1360px, 100vw - 104px)) / 2);
  height: calc(var(--n) * var(--seg) + var(--stage));
}
.ft-split .ft-index,
.ft-split .ft-chaps {
  position: sticky;
  top: var(--ft-top);
  height: var(--stage);
}
/* the field behind the stage (features.js): each canvas pixel is one printed dot. It runs off the right of the
   screen and dissolves toward the list and the bottom, so it has no edge */
.ft-field {
  display: none;
}
.ft-split .ft-field {
  display: block;
  position: absolute;
  left: -56px;
  top: -56px;
  width: calc(100% + 108px);
  height: calc(100% + 88px);
  pointer-events: none;
  image-rendering: pixelated;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(to top, transparent 0, #000 12%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(to top, transparent 0, #000 12%);
  mask-composite: intersect;
}
.ft-nofield .ft-field {
  display: none;
}
.ft-split .ft-index {
  display: grid;
  align-content: safe center;
}
/* one step open at a time: its row grows from nothing, and a line under its name fills as its scene builds */
.ft-split .ft-index-in > ol > li {
  display: grid;
  grid-template-rows: auto 0fr;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.09));
  transition: grid-template-rows 0.7s var(--ft-ease);
}
.ft-split .ft-index-in > ol > li:last-child {
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.09));
}
.ft-split .ft-index-in > ol > li.is-on {
  grid-template-rows: auto 1fr;
}
.ft-index a {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--faint, #7c8795);
  text-decoration: none;
  transition: color 0.3s ease;
}
.ft-index a b {
  flex: none;
  width: 22px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
.ft-index li.is-past a {
  color: var(--soft, #a6b0bd);
}
.ft-index li.is-on a,
.ft-index a:hover {
  color: var(--text, #f2f4f7);
}
.ft-index li.is-on a b {
  color: var(--gold, #f2ab00);
}
.ft-index a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, #3cbaff, #f2ab00);
  transform: scaleX(var(--q, 0));
  transform-origin: 0 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ft-index li.is-on a::after {
  opacity: 1;
}
.ft-split .ft-copy {
  display: block;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ft-split li.is-on .ft-copy {
  opacity: 1;
  transition: opacity 0.5s ease 0.2s;
}
.ft-split .ft-eyebrow {
  display: none;
}
.ft-split .ft-copy h3 {
  padding-left: 36px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.024em;
}
.ft-split .ft-copy p {
  margin: 12px 0 0;
  padding-left: 36px;
  font-size: 15px;
  line-height: 1.55;
}
.ft-split .ft-notes {
  margin: 16px 0 22px;
  padding-left: 36px;
  gap: 8px;
  font-size: 14px;
}
/* the stage: every scene in the same place, one showing. No panel behind it: the product sits on the page */
.ft-split .ft-chap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 28px, 0) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 0.3s ease,
    transform 0.5s var(--ft-ease),
    filter 0.3s ease,
    visibility 0s 0.3s;
}
.ft-split .ft-chap.is-past {
  transform: translate3d(0, -28px, 0) scale(0.98);
}
.ft-split .ft-chap.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition:
    opacity 0.5s ease 0.15s,
    transform 0.7s var(--ft-ease) 0.15s,
    filter 0.5s ease 0.15s,
    visibility 0s;
}
.ft-split .ft-thread {
  display: none;
}
.ft-split .ft-file {
  margin-top: 24px;
}
@media (max-height: 1000px) {
  .ft-split .ft-file {
    display: none;
  }
}
@media (max-height: 760px) {
  .ft-split .ft-notes {
    display: none;
  }
  .ft-split .ft-copy p {
    margin-bottom: 20px;
  }
}
/* the file the steps follow, and where it stands at the step on screen */
.ft-file {
  margin-top: 28px;
  padding: 14px 16px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line, rgba(255, 255, 255, 0.09));
  font-size: 13px;
  line-height: 1.4;
  color: var(--faint, #7c8795);
}
.ft-file-k {
  font-size: 12px;
  color: var(--faint, #7c8795);
}
.ft-file-n {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text, #f2f4f7);
}
.ft-file-st {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.09));
  color: var(--text, #f2f4f7);
  font-variant-numeric: tabular-nums;
}
.ft-file-st i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--sky, #7db4f0);
  box-shadow: 0 0 0 3px rgba(125, 180, 240, 0.2);
  transition:
    background-color 0.7s ease,
    box-shadow 0.7s ease;
}
.ft-file-st.done i {
  background: var(--gold, #f2ab00);
  box-shadow: 0 0 0 3px rgba(242, 171, 0, 0.22);
}
.ft-file-st span {
  display: inline-block;
}
/* ---------- a step: copy over one canvas ---------- */
.ft-chap {
  scroll-margin-top: 120px;
}
.ft-copy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  column-gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}
.ft-eyebrow {
  display: flex;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--faint, #7c8795);
}
/* the step's number is the one gold mark in the copy */
.ft-eyebrow b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold, #f2ab00);
}
.ft-copy h3 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.028em;
}
.ft-copy p {
  margin: 32px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--soft, #a6b0bd);
  text-wrap: pretty;
}
.ft-notes {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 15px;
  color: var(--text, #f2f4f7);
}
.ft-notes li {
  display: flex;
  align-items: center;
  gap: 12px;
  transition:
    color 0.5s ease,
    opacity 0.5s ease;
}
.ft-notes li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--sky, #7db4f0);
  box-shadow: 0 0 0 3px rgba(125, 180, 240, 0.2);
  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease,
    transform 0.7s var(--ft-ease);
}
.ft-js .ft-notes li:not(.on) {
  color: var(--faint, #7c8795);
}
.ft-js .ft-notes li:not(.on)::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #5d6877;
  transform: scale(0.86);
}

/* ---------- scenes: shared ---------- */
.ft-scene {
  position: relative;
  min-width: 0;
  zoom: var(--z, 1);
}
.ft-win {
  position: relative;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 44px 90px -34px rgba(0, 0, 0, 0.85);
  transition: box-shadow 0.5s ease;
}
/* a finished step: the window's edge takes the file's blue, quietly. The turning arc is the action's alone */
.ft-win.done {
  box-shadow:
    0 0 0 1px rgba(125, 180, 240, 0.55),
    0 44px 90px -34px rgba(0, 0, 0, 0.85);
}
.ft-win > .bp-card {
  width: auto;
  box-shadow: none;
}
.ft .bp-card {
  width: auto;
}
.ft-winfoot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--bp-hair);
}
.ft-count {
  margin-right: auto;
  font-size: 13px;
  color: var(--bp-ink-soft);
  font-variant-numeric: tabular-nums;
}
.ft .bp-btn .ic {
  color: currentColor;
}
.ft-noglow [data-lit] {
  box-shadow:
    0 0 0 1.5px #3cbaff,
    0 0 18px rgba(242, 171, 0, 0.5);
}
/* a token in flight: the answer itself, lifted off its source */
.ft-token {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 8px;
  background: #fff;
  color: #0e1014;
  font:
    500 14px/1 "Inter",
    sans-serif;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  box-shadow:
    0 0 0 1.5px #5aa7e8,
    0 0 0 5px rgba(90, 167, 232, 0.18),
    0 10px 28px -6px rgba(60, 150, 240, 0.75);
  font-variant-numeric: tabular-nums;
}

/* ---------- 1: application ---------- */
.ft-s1 {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.ft-srcs {
  display: grid;
  gap: 16px;
}
.ft-src {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 50px -24px rgba(0, 0, 0, 0.8);
  will-change: transform;
}
.ft-call .bp-lines {
  padding-bottom: 16px;
}
.ft-srchead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px 0;
}
.ft-srcline {
  padding: 9px 16px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #4a4d56;
}
.ft .bp-heard {
  background: linear-gradient(transparent 62%, rgba(90, 167, 232, 0.3) 62%) no-repeat left / 100% 100%;
  border-radius: 2px;
  transition:
    background-size 0.5s var(--ft-ease),
    color 0.3s ease,
    box-shadow 0.3s ease;
}
.ft-js .bp-heard:not(.lit) {
  background-size: 0 100%;
  color: inherit;
}
.ft-js .bp-heard.go {
  box-shadow: 0 0 0 3px rgba(90, 167, 232, 0.22);
  background-size: 100% 100%;
}
.ft-app .bp-flds {
  padding: 4px 18px 10px;
}
.ft-app .bp-fld {
  padding: 8px 0;
}
.ft-app .bp-box {
  transition:
    border-color 0.3s ease,
    box-shadow 0.5s ease,
    background-color 0.3s ease;
}
.ft-app .ft-val {
  transition:
    opacity 0.3s ease,
    transform 0.5s var(--ft-ease);
}
.ft-app .bp-from {
  transition:
    opacity 0.5s ease,
    transform 0.5s var(--ft-ease);
}
.ft-app .bp-fld:not(.empty) .bp-from {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e9f0f7;
  color: #06294c;
  font-weight: 500;
}
.ft-app .bp-fld:not(.empty) .bp-from::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5aa7e8;
}
.ft-js .ft-app .bp-fld:not(.got):not(.empty) .ft-val {
  opacity: 0;
  transform: translateY(3px);
}
.ft-js .ft-app .bp-fld:not(.src) .bp-from {
  opacity: 0;
  transform: translateX(-6px);
}
.ft-js .ft-app .bp-fld.aim .bp-box {
  border-color: #5aa7e8;
  box-shadow: 0 0 0 4px rgba(90, 167, 232, 0.16);
}
.ft-js .ft-app .bp-fld.got .bp-box {
  animation: ftSeat 0.7s var(--ft-ease) 1;
}
.ft-js .ft-app .bp-fld.empty:not(.ask) .ft-val {
  opacity: 0;
}
.ft-js .ft-app .bp-fld.empty.ask .bp-box {
  border-color: #d9a45a;
}
@keyframes ftSeat {
  0% {
    box-shadow: 0 0 0 4px rgba(90, 167, 232, 0.35);
    border-color: #5aa7e8;
    transform: scale(1.012);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(90, 167, 232, 0);
    transform: none;
  }
}

/* ---------- 2: documents ---------- */
.ft-s2 {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.ft-loose {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 18px;
  align-content: center;
  justify-content: center;
}
.ft-loose-cap {
  flex: 0 0 100%;
  font:
    400 13px/1.4 "Inter",
    sans-serif;
  color: var(--soft, #a6b0bd);
  text-align: center;
}
.ft-mini {
  margin: 0;
  width: var(--mw);
  display: grid;
  justify-items: center;
  gap: 8px;
}
.ft-mini-art {
  position: relative;
  display: block;
  width: var(--mw);
  height: var(--mh);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 18px 34px -14px rgba(0, 0, 0, 0.85);
  transition: box-shadow 0.5s ease;
}
.ft-mini-art svg {
  display: block;
}
.ft-mini figcaption {
  font:
    500 12px/1.2 "Inter",
    sans-serif;
  color: var(--soft, #a6b0bd);
  white-space: nowrap;
}
.ft-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 26px;
  margin-top: -26px;
  background: linear-gradient(180deg, rgba(90, 167, 232, 0), rgba(90, 167, 232, 0.42));
  border-bottom: 1.5px solid #7cc0ff;
  opacity: 0;
  will-change: transform, opacity;
}
.ft-mini.reading .ft-mini-art {
  box-shadow:
    0 0 0 1.5px #5aa7e8,
    0 0 0 6px rgba(90, 167, 232, 0.16),
    0 18px 40px -12px rgba(60, 150, 240, 0.6);
}
/* placed by script: each miniature is lifted out of flow and posed in the scene */
.ft-js .ft-s2 .ft-loose {
  display: block;
  align-self: stretch;
  min-height: 580px;
}
.ft-js .ft-s2 .ft-loose-cap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}
.ft-js .ft-s2 .ft-mini {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  will-change: transform, opacity;
  transform-origin: 50% calc(var(--mh) / 2);
}
.ft-docs .bp-doc {
  position: relative;
  min-height: 59px;
}
.ft-dtxt {
  min-width: 0;
  transition: opacity 0.3s ease;
}
.ft-docs .bp-doc .n {
  display: grid;
}
.ft-docs .bp-doc .n > span {
  grid-area: 1 / 1;
}
.ft-raw {
  opacity: 0;
  color: var(--bp-ink-2);
  font-weight: 500;
}
.ft-docs .bp-doc .w {
  transition: color 0.3s ease;
}
.ft-docs .bp-doc .bp-chip,
.ft-docs .bp-doc .bp-ib {
  transition:
    opacity 0.3s ease,
    transform 0.5s var(--ft-ease);
}
.ft-docs .bp-chip .ic {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}
.ft-skel {
  position: absolute;
  left: 62px;
  top: 0;
  bottom: 0;
  right: 120px;
  display: none;
  align-content: center;
  gap: 8px;
  pointer-events: none;
}
.ft-skel i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #eef0f3;
}
.ft-skel i + i {
  width: 46%;
  height: 6px;
}
.ft-js .ft-skel {
  display: grid;
  transition: opacity 0.3s ease;
}
.ft-js .ft-docs .bp-doc.in .ft-skel {
  opacity: 0;
}
.ft-js .ft-docs .bp-doc:not(.in) .ft-dtxt,
.ft-js .ft-docs .bp-doc:not(.in) .bp-ib {
  opacity: 0;
}
.ft-js .ft-docs .bp-doc:not(.in) .bp-ib {
  transform: scale(0.7);
}
.ft-js .ft-docs .bp-doc:not(.ok) .bp-chip {
  opacity: 0;
  transform: scale(0.8);
}
.ft-js .ft-docs .bp-doc:not(.ok) .w {
  color: var(--bp-ink-faint);
}
.ft-js .ft-docs .bp-doc.flag:not(.ok) {
  background: transparent;
}
.ft-docs .bp-doc.flag {
  transition: background-color 0.5s ease;
}
.ft-cwarn {
  transition:
    opacity 0.3s ease,
    transform 0.5s var(--ft-ease);
}
.ft-js .ft-cwarn:not(.on) {
  opacity: 0;
  transform: translateX(10px);
}
.ft-docs .bp-note {
  font-size: 13px;
}

/* ---------- 3: compliance ---------- */
.ft-s3 {
  display: grid;
  gap: 24px;
}
.ft-filecard {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 50px -24px rgba(0, 0, 0, 0.8);
  will-change: transform;
}
.ft-filehead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--bp-hair);
}
.ft-facts {
  display: grid;
  grid-template-columns: 1.35fr 1.1fr 0.9fr 0.9fr;
}
.ft-fact {
  display: grid;
  gap: 3px;
  padding: 13px 18px 13px;
  border-left: 1px solid var(--bp-hair);
  min-width: 0;
}
.ft-fact:first-child {
  border-left: 0;
}
.ft-fact .k {
  font-size: 12px;
  color: var(--bp-ink-faint);
}
.ft-fact .v {
  justify-self: start;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.011em;
  color: var(--bp-ink);
  border-radius: 4px;
  white-space: nowrap;
  transition:
    box-shadow 0.5s ease,
    background-color 0.5s ease;
  font-variant-numeric: tabular-nums;
}
.ft-fact .s {
  font-size: 12px;
  color: var(--bp-ink-soft);
}
.ft-fact.sent .v {
  background: rgba(90, 167, 232, 0.16);
  box-shadow: 0 0 0 4px rgba(90, 167, 232, 0.16);
}
.ft-sheet {
  position: relative;
  margin: 14px 18px 14px;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f2f9;
  box-shadow:
    0 0 0 1px #e6e7ea,
    0 12px 26px -18px rgba(10, 30, 60, 0.35);
}
.ft-sheet > img {
  display: block;
  width: 100%;
}
.ftv {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}
.ftv img {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
}
.ftv-cover {
  position: absolute;
  background: #f3f2f9;
}
.ftv-cover i {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(30, 30, 36, 0.6);
}
.ftv-ink {
  position: absolute;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1;
  color: #000;
  white-space: nowrap;
}
.ftv-ring {
  position: absolute;
  border-radius: 4px;
  box-shadow:
    0 0 0 1.5px #5aa7e8,
    0 0 0 5px rgba(90, 167, 232, 0.16);
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.3s ease,
    transform 0.5s var(--ft-ease),
    box-shadow 0.7s ease;
}
.ftv-ring.on {
  opacity: 1;
  transform: none;
}
.ftv-ring.rest {
  box-shadow:
    0 0 0 1px rgba(90, 167, 232, 0.55),
    0 0 0 0 rgba(90, 167, 232, 0);
}
.ftv-tag {
  position: absolute;
  z-index: 2;
  transform: translate(-6px, -50%);
  height: 24px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  background: #06294c;
  color: #fff;
  font:
    600 12px/1 "Inter",
    sans-serif;
  white-space: nowrap;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.5s var(--ft-ease);
}
.ftv-tag.on {
  opacity: 1;
  transform: translate(0, -50%);
}
.ftv-tag.hold {
  background: #fff;
  color: #06294c;
  box-shadow: inset 0 0 0 1px rgba(6, 41, 76, 0.5);
}
.ftv-tag.hold::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #06294c;
}
.ft-sheet-n {
  display: none;
}
.ft-sheet-n .ftv + .ftv {
  border-top: 1px solid #dddce6;
}
.ft-review [data-state] {
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}
.ft-review [data-state] i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: ftDot 1s ease-in-out infinite alternate;
}
@keyframes ftDot {
  to {
    opacity: 0.3;
  }
}
.ft-leads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}
.ft-leads path {
  fill: none;
  stroke: #7cc0ff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(90, 167, 232, 0.7));
}

/* measuring: every pose at rest */
.ft.ft-measure .ft-chap,
.ft.ft-measure .ft-scene,
.ft.ft-measure .ft-scene *,
.ft.ft-measure .ft-copy {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* ---------- narrower screens ---------- */
@media (max-width: 1180px) {
  .ft-copy h3 {
    font-size: 28px;
  }
}
@media (max-width: 1000px) {
  .ft-copy {
    grid-template-columns: minmax(0, 1fr);
  }
  .ft-copy p {
    margin-top: 16px;
  }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .ft {
    padding: 88px 0;
  }
  .ft-thread {
    height: 96px;
  }
  .ft-copy {
    margin-bottom: 24px;
  }
  .ft-copy h3 {
    font-size: 26px;
  }
  .ft-copy p {
    font-size: 16px;
  }
  .ft-notes {
    margin-top: 20px;
    gap: 10px;
  }
  .ft-s1,
  .ft-s2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .ft-s1 .ft-mini-src {
    display: none;
  }
  .ft-s1 .bp-fld[data-f="3"],
  .ft-s1 .bp-fld[data-f="4"] {
    display: none;
  }
  .ft-app .bp-fld {
    grid-template-columns: 104px 1fr;
    gap: 10px;
  }
  .ft-winfoot {
    flex-wrap: wrap;
    padding: 12px 14px;
  }
  .ft-count {
    flex: 1 1 100%;
    margin: 0 0 4px;
  }
  .ft-js .ft-s2 .ft-loose {
    min-height: 124px;
  }
  .ft-loose {
    gap: 14px;
  }
  .ft-js .ft-mini figcaption {
    display: none;
  }
  .ft-docs .bp-doc {
    grid-template-columns: 28px 1fr;
    padding: 11px 14px;
    gap: 10px;
  }
  .ft-docs .bp-doc .bp-chip {
    grid-column: 2;
    justify-self: start;
  }
  .ft-docs .bp-doc .bp-ib {
    width: 28px;
    height: 28px;
  }
  .ft-skel {
    left: 52px;
    right: 40px;
  }
  .ft-docs .bp-head {
    flex-wrap: wrap;
    padding: 13px 14px 11px;
  }
  .ft-docs .bp-head .end {
    margin-left: 44px;
    width: 100%;
  }
  .ft-docs .bp-doc .n {
    font-size: 13px;
  }
  .ft-facts {
    grid-template-columns: 1fr 1fr;
  }
  .ft-fact {
    padding: 11px 14px;
    border-top: 1px solid var(--bp-hair);
  }
  .ft-fact:nth-child(-n + 2) {
    border-top: 0;
  }
  .ft-fact:nth-child(odd) {
    border-left: 0;
  }
  .ft-fact .v {
    white-space: normal;
    font-size: 13px;
  }
  .ft-sheet {
    margin: 12px 12px;
  }
  .ft-sheet-w {
    display: none;
  }
  .ft-sheet-n {
    display: block;
  }
  .ft-review .bp-head {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 8px;
    padding: 13px 14px 11px;
  }
  .ft-review .bp-head > div:not(.end) {
    flex: 1;
    min-width: 0;
  }
  .ft-review .bp-head .end {
    margin-left: 44px;
    width: 100%;
  }
  .ft-token {
    height: 26px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft *,
  .ft *::before,
  .ft *::after {
    transition-duration: 0.01ms !important;
  }
  .ft-js .ft-app .bp-fld.got .bp-box {
    animation: none;
  }
  .ft-review [data-state] i {
    animation: none;
  }
}

/* ---------- the canvas: only a box for the scene. Nothing is painted behind the product ---------- */
.ft-canvas {
  position: relative;
  display: grid;
  place-items: center;
  /* room for the result toast that hangs under the window */
  padding-bottom: 28px;
}
.ft-split .ft-canvas {
  padding-bottom: 0;
}
.ft-canvas > .ft-scene {
  width: 100%;
}
/* scenes are drawn at one width; a narrower stage scales them (--z, set by the script) instead of squeezing them */
.ft-split .ft-canvas > .ft-scene {
  width: 836px;
}

/* ---------- the approval: a pointer comes to the one action, presses it, and the window says what happened ---------- */
.ft-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  width: 22px;
  height: 22px;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}
.ft-cursor svg {
  display: block;
}
.ft .bp-btn[data-sign] {
  transition:
    transform 0.2s var(--ft-ease),
    opacity 0.5s ease;
}
.ft .bp-btn[data-sign].press {
  transform: scale(0.94);
}
.ft-js .bp-btn[data-sign].sent {
  opacity: 0.5;
}
.ft-toast {
  position: absolute;
  left: 50%;
  bottom: -18px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: #0e1014;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 16px 36px -12px rgba(0, 0, 0, 0.8);
  color: #fff;
  font:
    500 13px/1 "Inter",
    sans-serif;
  white-space: nowrap;
  transform: translate3d(-50%, 0, 0);
  transition:
    opacity 0.3s ease,
    transform 0.5s var(--ft-ease);
}
.ft-toast::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: #1f9d6b
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}
.ft-js .ft-toast:not(.in) {
  opacity: 0;
  transform: translate3d(-50%, 10px, 0) scale(0.96);
}

/* ---------- the thread: what one step hands the next ---------- */
.ft-thread {
  position: relative;
  display: grid;
  place-items: center;
  height: 132px;
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
}
.ft-thread::before,
.ft-thread i {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.ft-thread i {
  background: linear-gradient(to bottom, #3cbaff, #f2ab00);
  transform: scaleY(var(--f, 1));
  transform-origin: 50% 0;
}
.ft-thread span {
  position: relative;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg-2, #080d15);
  box-shadow: 0 0 0 1px var(--line-2, rgba(255, 255, 255, 0.16));
  color: var(--text, #f2f4f7);
  transition:
    opacity 0.5s ease,
    transform 0.7s var(--ft-ease);
}
.ft-js .ft-thread:not(.in) span {
  opacity: 0;
  transform: translate3d(0, -8px, 0) scale(0.96);
}

/* ---------- the other seven scenes: a source column and a window, like the built three ---------- */
.ft-sx {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.ft-sx .ft-srcs {
  align-content: center;
}
.ft-srccap {
  font:
    400 13px/1.4 "Inter",
    sans-serif;
  color: var(--soft, #a6b0bd);
}
.ft-sx [data-at] {
  transition:
    opacity 0.5s ease,
    transform 0.7s var(--ft-ease),
    background-color 0.7s ease,
    box-shadow 0.5s ease;
}
.ft-js .ft-sx [data-at]:not(.in) {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}
.ft-js .ft-sx .bp-chip[data-at]:not(.in) {
  transform: scale(0.82);
}
.ft-sx [data-off] {
  transition:
    opacity 0.3s ease,
    transform 0.5s var(--ft-ease);
}
.ft-js .ft-sx [data-off].off {
  opacity: 0;
  transform: scale(0.88);
}
.ft:not(.ft-js) [data-off] {
  display: none;
}
.ft-swap {
  display: inline-grid;
  align-items: center;
  justify-items: end;
}
.ft-swap > * {
  grid-area: 1 / 1;
}
/* a source: slides in loose, rings while it is being read, sits back once the window has it */
.ft-sx .ft-src {
  transition:
    opacity 0.5s ease,
    transform 0.7s var(--ft-ease),
    box-shadow 0.5s ease;
}
.ft-js .ft-sx .ft-src:not(.in) {
  opacity: 0;
  transform: translate3d(-20px, 6px, 0) rotate(-1.4deg);
}
.ft-js .ft-sx .ft-src:nth-of-type(even):not(.in) {
  transform: translate3d(-20px, 6px, 0) rotate(1.2deg);
}
.ft-js .ft-sx .ft-src.in.on {
  opacity: 0.55;
}
.ft-js .ft-sx .ft-src.cur {
  opacity: 1;
  box-shadow:
    0 0 0 1.5px #5aa7e8,
    0 0 0 6px rgba(90, 167, 232, 0.16),
    0 24px 50px -24px rgba(0, 0, 0, 0.8);
}
.ft-src--row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}
.ft-src--row .bp-t,
.ft-src--row .bp-s {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ft-sx .ft-call .bp-head {
  border-bottom: 0;
  padding-bottom: 4px;
}
.ft-sx .bp-wave {
  margin-top: 6px;
  padding: 0 18px;
}
.ft-sx .bp-wave i {
  transition: background-color 0.3s ease;
}
.ft-sx .bp-wave i.on {
  background: var(--bp-navy);
}
.ft-kv {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 0;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--bp-hair);
}
.ft-kv dt {
  font-size: 12px;
  color: var(--bp-ink-faint);
}
.ft-kv dd {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--bp-ink);
  font-variant-numeric: tabular-nums;
}
/* rows: each lands with a wash of the file's blue, then settles */
.ft-sx .bp-row {
  transition:
    opacity 0.5s ease,
    transform 0.7s var(--ft-ease),
    background-color 0.7s ease,
    box-shadow 0.5s ease;
}
.ft-js .ft-sx .ft-win .bp-row.in {
  animation: ftLand 1.1s ease 1;
}
@keyframes ftLand {
  0% {
    background-color: rgba(90, 167, 232, 0.2);
  }
  100% {
    background-color: rgba(90, 167, 232, 0);
  }
}
.ft-sx .bp-row.ft-pick.on {
  background: #f3f8fd;
  box-shadow: inset 2px 0 0 #5aa7e8;
}
.ft-sx .bp-chip .ic {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}
.ft-sx .bp-note .ic {
  flex: none;
}
.ft-sx .ft-count {
  min-width: 0;
}
.ft-task {
  grid-template-columns: 18px 1fr auto;
}
.ft-task .bp-check {
  position: relative;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.ft-task .bp-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.5s var(--ft-ease) 0.08s;
}
.ft-task.on .bp-check {
  background: var(--bp-ok);
  box-shadow: inset 0 0 0 1.5px var(--bp-ok);
}
.ft-task.on .bp-check::after {
  transform: rotate(45deg) scale(1);
}
.ft-task .bp-t {
  transition: color 0.5s ease;
}
.ft-task.on .bp-t {
  color: var(--bp-ink-soft);
}
.ft-bplus {
  background: #06294c;
  color: #fff;
}
.ft-meter {
  position: relative;
  height: 4px;
  margin-top: 8px;
  border-radius: 2px;
  background: #e9edf2;
}
.ft-meter i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--w, 100%);
  border-radius: 2px;
  background: var(--bp-navy);
  transform-origin: 0 50%;
}
.ft-meter b {
  position: absolute;
  left: var(--lim);
  top: -3px;
  bottom: -3px;
  width: 1.5px;
  border-radius: 1px;
  background: #b7791f;
}
/* underwriting: the three ratios over the checks */
.ft-ratios {
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--bp-hair);
}
.ft-ratios .bp-cell {
  padding: 10px 18px 0;
}
.ft-ratios .lab {
  font-weight: 600;
  color: var(--bp-ink-2);
}
.ft-ratios .val {
  margin-top: 4px;
}
.ft-ratios .big {
  font-size: 28px;
}
.ft-ratios .bp-x {
  margin-top: 7px;
}
.ft-badib {
  background: var(--bp-bad-bg);
  color: var(--bp-bad);
}
.ft-caught.on {
  background: #fdf5f4;
}
.ft-draftwrap {
  padding: 10px 0 14px;
  border-top: 1px solid var(--bp-hair);
}
.ft-draftwrap .bp-x {
  padding: 0 18px 8px;
}
.ft-untyped {
  color: transparent;
}
.ft-crow {
  grid-template-columns: 1fr auto;
}
/* a list inside a source card: the kit's row, a size down */
.ft-src .bp-head {
  padding: 13px 16px 11px;
}
.ft-src .bp-row {
  gap: 10px;
  padding: 9px 16px;
}
.ft-src .bp-row .bp-t {
  font-size: 13px;
}

@media (max-width: 760px) {
  .ft-sx {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .ft-sx .ft-src:nth-of-type(n + 3),
  .ft-srccap {
    display: none;
  }
  .ft-ratios .bp-cell {
    padding: 10px 12px 0;
  }
  .ft-ratios .big {
    font-size: 22px;
  }
  .ft-sx .bp-head {
    flex-wrap: wrap;
    padding: 13px 14px 11px;
  }
  .ft-sx .bp-head > div:not(.end) {
    flex: 1;
    min-width: 0;
  }
  .ft-sx .bp-head .end {
    flex: 0 0 100%;
  }
  .ft-sx .bp-row {
    padding-inline: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ft-js .ft-sx .ft-win .bp-row.in {
    animation: none;
  }
}

/* phone rows: a step whose sources sit beside its window on desktop keeps that composition, and the phone pans
   across it (features.js pans to the window once, as the first answer leaves its source). The scene is the
   scroller, so the tokens and the pointer travel with the cards */
.ft-pager {
  display: none;
}
@media (max-width: 760px) {
  .ft-canvas > .ft-sl,
  .ft-canvas > .ft-s1,
  .ft-canvas > .ft-s3,
  .ft-canvas > .ft-sb {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: calc(100% + 2 * var(--gut, 20px));
    margin-inline: calc(var(--gut, 20px) * -1);
    box-sizing: border-box;
    /* room for the cards' hairlines above and the result toast below */
    padding: 2px var(--gut, 20px) 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gut, 20px);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .ft-canvas > .ft-sl::-webkit-scrollbar,
  .ft-canvas > .ft-s1::-webkit-scrollbar,
  .ft-canvas > .ft-s3::-webkit-scrollbar,
  .ft-canvas > .ft-sb::-webkit-scrollbar {
    display: none;
  }
  /* each card stops 28px short of the screen, so the edge of its neighbour shows there is more */
  .ft-sl > .ft-srcs,
  .ft-s1 > .ft-srcs,
  .ft-s3 > .bp-card,
  .ft-sb > .ft-srcs,
  .ft-sl > .ft-win,
  .ft-s1 > .ft-win,
  .ft-s3 > .ft-win,
  .ft-sb > .ft-win {
    flex: 0 0 calc(100% - 28px);
    min-width: 0;
    scroll-snap-align: start;
  }
  .ft-sl > .ft-win,
  .ft-s1 > .ft-win,
  .ft-s3 > .ft-win,
  .ft-sb > .ft-win {
    scroll-snap-align: end;
  }
  .ft-canvas:has(> .ft-pager) {
    padding-bottom: 0;
  }
  .ft-pager {
    display: flex;
    gap: 6px;
    margin-top: 6px;
  }
  .ft-pager i {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.26);
    transition:
      width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      background-color 0.35s ease;
  }
  .ft-pager i.on {
    width: 18px;
    background: rgba(255, 255, 255, 0.82);
  }
  /* step 1: each source is its own card, so the row is no taller than the window it ends on */
  .ft-sl > .ft-srcs {
    display: contents;
  }
  .ft-sl .ft-src {
    flex: 0 0 calc(100% - 28px);
    min-width: 0;
    scroll-snap-align: start;
  }
  /* a short source beside a tall window sits level with its middle, as it does on desktop */
  .ft-s1 > .ft-srcs,
  .ft-sb > .ft-srcs,
  .ft-s3 > .bp-card,
  .ft-sl .ft-src {
    align-self: center;
  }
  .ft .ft-thread {
    height: 72px;
  }
  /* the paragraph shows three lines; the button under it opens the rest */
  .ft-more > p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .ft-more.open > p {
    display: block;
  }
  .ft-morebtn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0 0 -6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--sky, #7db4f0);
    font:
      500 15px/1 "Inter",
      sans-serif;
    cursor: pointer;
  }
  .ft-morebtn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 6px;
  }
  /* a file's name is the point of these steps, so it wraps instead of being cut */
  .ft-su .ft-win .bp-t,
  .ft-docs .bp-doc .n {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}
.ft-morebtn {
  display: none;
}
@media (max-width: 760px) {
  .ft-morebtn {
    display: inline-flex;
  }
}

/* phones: each card in a step's row fills the screen width, so no neighbour shows half cut off (the dots under
   the row say there is more), and the result toast sits under the card instead of over its button */
@media (max-width: 760px) {
  .ft-sl > .ft-srcs,
  .ft-s1 > .ft-srcs,
  .ft-s3 > .bp-card,
  .ft-sb > .ft-srcs,
  .ft-sl > .ft-win,
  .ft-s1 > .ft-win,
  .ft-s3 > .ft-win,
  .ft-sb > .ft-win,
  .ft-sl .ft-src {
    flex-basis: 100%;
  }
  .ft-canvas > .ft-sl,
  .ft-canvas > .ft-s1,
  .ft-canvas > .ft-s3,
  .ft-canvas > .ft-sb {
    gap: calc(2 * var(--gut, 20px));
    padding-bottom: 60px;
  }
  .ft-toast {
    bottom: -50px;
  }
  .ft-sx,
  .ft-su {
    padding-bottom: 44px;
  }
}

/* phones: a step's row opens on its first card; a hint under the dots says the rest is a swipe away */
.ft-swipe {
  display: none;
}
@media (max-width: 760px) {
  .ft-swipe {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--faint, #7c8795);
    transition: opacity 0.4s ease;
  }
  .ft-swipe svg {
    width: 14px;
    height: 14px;
    animation: ft-swipe-arrow 1.6s ease-in-out infinite;
  }
  .ft-swipe.gone {
    opacity: 0;
  }
  .ft-canvas:has(> .ft-pager) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ft-canvas:has(> .ft-pager) > [data-scene] {
    align-self: stretch;
  }
  .ft-nudge > * {
    animation: ft-nudge 1.1s cubic-bezier(0.45, 0, 0.2, 1) 2;
  }
}
@keyframes ft-swipe-arrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}
@keyframes ft-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(-36px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ft-swipe svg,
  .ft-nudge > * {
    animation: none;
  }
}

/* phones: cards sit at the top of their row, and the row's height follows the card in view (features.js) */
@media (max-width: 760px) {
  .ft-canvas > .ft-sl,
  .ft-canvas > .ft-s1,
  .ft-canvas > .ft-s3,
  .ft-canvas > .ft-sb {
    align-items: flex-start;
    padding-bottom: 52px;
    box-sizing: border-box;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .ft-s1 > .ft-srcs,
  .ft-sb > .ft-srcs,
  .ft-s3 > .bp-card,
  .ft-sl .ft-src {
    align-self: flex-start;
  }
  .ft-toast {
    bottom: -44px;
  }
  .ft-pager {
    margin-top: 0;
  }
}
@media (max-width: 760px) {
  .ft-canvas > .ft-sl,
  .ft-canvas > .ft-s1,
  .ft-canvas > .ft-s3,
  .ft-canvas > .ft-sb {
    padding-bottom: 20px;
  }
  .ft-canvas > :is(.ft-sl, .ft-s1, .ft-s3, .ft-sb):has(.ft-toast.in) {
    padding-bottom: 56px;
  }
  .ft-toast {
    bottom: -42px;
  }
}

/* split: the step list sits at the top of its sticky box, so it starts right under the section heading */
.ft-split .ft-index {
  align-content: start;
}
.ft-split ~ * .sec__head,
.ft .sec__head {
  margin-bottom: 48px;
}
