/* Transfer page, Figma node 292:23881 */

/* Shared bordered content column, same 1632px cap as the rest of the site. */
.t-col {
  width: min(calc(100% - 96px), 1632px);
  margin-right: auto;
  margin-left: auto;
  border-right: 1px solid #e9eaeb;
  border-left: 1px solid #e9eaeb;
}

/* Hero */
.transfer-hero {
  background: var(--cream);
  text-align: center;
}

.transfer-hero .transfer-hero-copy {
  padding: 110px 20px 0;
}

.transfer-hero h1 {
  font-size: 72px;
  line-height: 90px;
  letter-spacing: -1.44px;
  font-weight: 700;
  margin-top: 16px;
}

.transfer-hero .transfer-hero-copy > p {
  color: var(--muted);
  font-size: 20px;
  line-height: 30px;
  max-width: 768px;
  margin: 24px auto 0;
}

.transfer-hero .actions {
  justify-content: center;
  margin-top: 24px;
}

.transfer-media {
  margin-top: 39px;
  padding: 32px;
}

.transfer-media-rect {
  display: block;
  width: 100%;
  height: 483px;
  object-fit: cover;
  border-radius: 8px;
}

/* Proof section */
.transfer-proof {
  background: #fcfaf4;
  border-top: 1px solid #e9eaeb;
}

.transfer-proof .tp-heading {
  text-align: center;
  padding: 94px 20px 99px;
}

.transfer-proof .tp-heading h2 {
  font-size: 60px;
  line-height: 72px;
  letter-spacing: -1.2px;
  font-weight: 500;
  margin-top: 16px;
}

.transfer-proof .tp-heading p {
  font-size: 20px;
  line-height: 30px;
  color: #414651;
  max-width: 768px;
  margin: 16px auto 0;
}

.tp-infos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e9eaeb;
}

.tp-infos article {
  display: flex;
  flex-direction: column;
  min-height: 281px;
  padding: 32px;
  border-right: 1px solid #e9eaeb;
}

.tp-infos article:last-child {
  border-right: 0;
}

.tp-infos h3 {
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -2px;
  font-weight: 500;
  margin-top: 12px;
}

.tp-infos p {
  font-size: 18px;
  line-height: 24px;
  color: #414651;
  margin-top: auto;
  padding-top: 32px;
}

.tp-infos .icon img {
  width: 56px;
  height: 56px;
}

/* Three steps section */
.transfer-steps {
  background: #fcfaf4;
  border-top: 1px solid #e9eaeb;
  border-bottom: 1px solid #e9eaeb;
}

.ts-inner {
  display: grid;
  grid-template-columns: minmax(0, 752px) minmax(0, 688px);
  justify-content: space-between;
  gap: 48px;
  padding: 59px 32px 48px;
}

.ts-copy .badge {
  margin-bottom: 20px;
}

.ts-copy h2 {
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.96px;
  font-weight: 500;
}

.ts-copy > p {
  font-size: 20px;
  line-height: 30px;
  color: #414651;
  margin-top: 20px;
}

.ts-steps {
  margin-top: 34px;
  border: 1px solid #e9eaeb;
  padding: 0 24px 0 0;
}

.ts-step {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px 0 16px 24px;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.ts-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  overflow: hidden;
  background: transparent;
}

.ts-step.active .ts-rail {
  background: #f0ead8;
}

.ts-progress {
  display: block;
  width: 100%;
  height: 0;
  background: var(--orange);
}

.ts-step.active .ts-progress {
  animation: tsFill 5000ms linear forwards;
}

.ts-steps.ts-paused .ts-step.active .ts-progress {
  animation-play-state: paused;
}

@keyframes tsFill {
  from { height: 0; }
  to { height: 100%; }
}

.ts-step h3 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}

.ts-step p {
  font-size: 18px;
  line-height: 24px;
  color: #414651;
  margin-top: 4px;
}

.ts-step:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}

.ts-media {
  position: relative;
  align-self: center;
  width: 100%;
  height: 483px;
  overflow: hidden;
  border: 1px solid #e9eaeb;
}

.ts-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 450ms ease;
}

.ts-image.active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ts-step.active .ts-progress {
    animation: none;
    height: 100%;
  }

  .ts-image {
    transition: none;
  }
}

/* Comparison section */
.transfer-comparison {
  height: auto;
  padding: 0;
  background: #fcfaf4;
}

.transfer-comparison .center-heading {
  height: auto;
  padding: 94px 20px 45px;
  border-right: 1px solid #e9eaeb;
  border-left: 1px solid #e9eaeb;
}

.transfer-comparison .center-heading h2 {
  margin-top: 16px;
}

.transfer-comparison .comparison-wrap {
  height: auto;
  border-right: 1px solid #e9eaeb;
  border-left: 1px solid #e9eaeb;
}

.transfer-comparison table {
  height: auto;
}

.transfer-comparison thead .keen-col img {
  margin-bottom: 0;
}

/* FAQ (no intro heading on this page) */
.transfer-faq {
  height: auto;
}

.transfer-faq .faq-layout {
  border-top: 0;
}

@media (max-width: 1200px) {
  .transfer-comparison table {
    width: 100%;
    min-width: 100%;
  }

  .transfer-hero h1 {
    font-size: 56px;
    line-height: 68px;
  }

  .ts-inner {
    grid-template-columns: 1fr;
  }

  .ts-media {
    justify-self: center;
    width: 100%;
    max-width: 688px;
    height: auto;
    aspect-ratio: 688 / 483;
  }
}

@media (max-width: 1100px) {
  .transfer-comparison .comparison-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .transfer-comparison table {
    width: 980px;
    min-width: 980px;
  }
}

@media (max-width: 760px) {
  .transfer-hero .transfer-hero-copy {
    padding: 72px 20px 0;
  }

  .transfer-hero h1 {
    font-size: 42px;
    line-height: 52px;
  }

  .transfer-hero .transfer-hero-copy > p {
    font-size: 17px;
    line-height: 26px;
  }

  .transfer-hero .actions {
    margin-top: 32px;
  }

  .t-col {
    width: calc(100% - 40px);
  }

  .transfer-media {
    margin-top: 32px;
    padding: 12px;
  }

  .transfer-media-rect {
    height: auto;
    aspect-ratio: 1568 / 483;
  }

  .transfer-proof .tp-heading {
    padding: 72px 20px;
  }

  .transfer-proof .tp-heading h2,
  .transfer-comparison .center-heading h2,
  .ts-copy h2 {
    font-size: 38px;
    line-height: 48px;
  }

  .tp-infos {
    grid-template-columns: 1fr;
  }

  .tp-infos article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e9eaeb;
  }

  .tp-infos article:last-child {
    border-bottom: 0;
  }

  .tp-infos h3 {
    font-size: 28px;
    line-height: 36px;
  }

  .ts-inner {
    padding: 72px 20px;
    gap: 40px;
  }

  .transfer-comparison .center-heading {
    padding: 72px 20px 40px;
  }

  .transfer-comparison .comparison-wrap {
    margin: 0 20px;
    overflow: auto;
    height: auto;
  }

  .transfer-comparison .comparison-wrap table {
    width: 900px;
    min-width: 900px;
    height: auto;
  }
}
