/* Selected globe composition. These rules stay inside the exchange desk. */
.home-main .exchange-desk {
  --desk-paper: #faf9f6;
  --desk-forest: #063c18;
  position: relative;
  isolation: isolate;
  max-width: none;
  margin: 0;
  min-height: 640px;
  padding: 58px max(32px, calc((100% - 1176px) / 2)) 48px;
  grid-template-columns: minmax(0, 510px) minmax(0, 602px);
  gap: 76px;
  align-items: start;
  background: var(--desk-paper);
  overflow: visible;
  z-index: 2;
}
.exchange-desk .exchange-desk__copy { position: relative; z-index: 2; padding: 0; }
.exchange-desk::after {
  --curve-depth: max(7vw, 60px);
  content: '';
  position: absolute;
  right: 0;
  bottom: calc(1px - var(--curve-depth));
  width: 100%;
  height: var(--curve-depth);
  background: url('/static/product/hero-editorial-edge.svg') center / 100% 100% no-repeat;
  transform: rotate(180deg);
  pointer-events: none;
  z-index: 0;
}
.home-main .hands-story { padding-top: max(7vw, 60px); }
@media(max-width:700px) {
  .exchange-desk::after { --curve-depth:70px; }
  .home-main .hands-story { padding-top:70px; }
}
.exchange-desk__eyebrow { display: block; color: var(--desk-forest); font: 700 16px/1.4 var(--font-ui); text-transform: uppercase; margin-bottom: 15px; }
.home-main .exchange-desk__copy h2 { font-size: 70px; line-height: 1.1; letter-spacing: -.012em; margin: 0 0 17px; }
.home-main .exchange-desk__copy > p { font-size: 18px; line-height: 1.5; color: #111b13; max-width: 435px; margin: 0 0 30px; }
.exchange-desk .quote-methods { max-width: none; padding-top: 17px; }
.exchange-desk .quote-methods > div { display: block; margin: 0 0 20px; }
.exchange-desk .quote-methods > div + div { border-top: 1px solid #dedfd8; padding-top: 17px; }
.exchange-desk .quote-methods > div > span { display: block; font-size: 13px; font-weight: 600; color: #111b13; margin-bottom: 10px; padding: 0; }
.exchange-desk .quote-methods ul { gap: 9px 13px; }
.exchange-desk .quote-methods li { font-size: 13px; line-height: 21px; gap: 5px; color: #141b16; }
.exchange-desk .quote-methods li a { color: inherit; text-decoration: none; }
.exchange-desk .quote-methods li a:hover { text-decoration: underline; }
.exchange-desk .quote-methods img { width: 18px; height: 18px; }
.exchange-desk .quote-methods > a { font-size: 13px; color: var(--desk-forest); text-decoration: none; }
.exchange-desk .quote-methods > a:hover { text-decoration: underline; }
.exchange-desk__visual { position: relative; min-width: 0; padding-top: 57px; }
.exchange-world { position: absolute; width: 630px; height: 630px; left: 52px; top: -68px; pointer-events: none; perspective: 1800px; }
.exchange-world__depth { position: absolute; inset: 0; transform-style: preserve-3d; transform: translate3d(0, var(--world-y, 0px), 0); }
.exchange-world__globe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: translateZ(0); }
.exchange-orbit { position: absolute; inset: -8%; transform-style: preserve-3d; }
.exchange-orbit img { width: 100%; height: 100%; object-fit: contain; filter: hue-rotate(-28deg) brightness(1.5); animation: exchange-orbit-spin 56s linear infinite; animation-play-state: paused; }
.exchange-orbit--one { transform: rotateZ(-32deg) rotateX(calc(62deg + var(--world-tilt, 0deg))); }
.exchange-orbit--two { transform: rotateZ(37deg) rotateX(calc(67deg - var(--world-tilt, 0deg))); }
.exchange-orbit--two img { animation-duration: 73s; animation-direction: reverse; animation-delay: -24s; opacity: .82; }
.exchange-orbit--three { transform: rotateZ(-4deg) rotateX(calc(76deg + var(--world-tilt, 0deg))); }
.exchange-orbit--three img { animation-duration: 91s; animation-delay: -49s; opacity: .64; }
.exchange-desk.is-world-moving .exchange-orbit img { animation-play-state: running; }
@keyframes exchange-orbit-spin { to { transform: rotate(360deg); } }
.exchange-desk .trade-composer { position: relative; z-index: 3; width: 474px; max-width: 100%; border: 2px solid #fff; border-radius: 25px; padding: 28px 28px 22px; background: #f4f7f1eb; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 14px 28px #2448201c; color: #111b13; scroll-margin-top: 32px; }
.exchange-desk .trade-composer__head.sr-only { position: absolute; margin: -1px; }
.exchange-desk .trade-field__label { font-size: 15px; font-weight: 400; color: #4d564e; margin-bottom: 9px; }
.exchange-desk .trade-field__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.exchange-desk .route-picker { order: -1; max-width: 205px; flex: 0 1 auto; }
.exchange-desk .route-picker__trigger { border: 0; border-radius: 7px; background: transparent; font-size: 15px; font-weight: 600; padding: 4px 0; gap: 7px; color: #101b12; }
.exchange-desk .route-picker__trigger:hover { background: #e2eddf; }
.exchange-desk .route-picker__value { max-width: 132px; white-space: nowrap; }
.exchange-desk .asset-logo { width: 27px; height: 27px; background: transparent !important; border: 0; border-radius: 6px; }
.exchange-desk .asset-logo img { width: 27px; height: 27px; }
.exchange-desk .route-picker__chevron { width: 12px; height: 12px; }
.exchange-desk .amount-wrap { flex: 0 1 174px; justify-content: flex-end; font: 650 40px/1.2 var(--font-ui); letter-spacing: -.055em; color: #101b12; }
.exchange-desk .amount-wrap input { width: 148px; font: inherit; color: inherit; padding: 0; }
.exchange-desk .receive-value { flex-shrink: 0; }
.exchange-desk .receive-value strong { font-size: 40px; font-weight: 650; line-height: 1.2; color: var(--desk-forest); }
.exchange-desk .swap-divider { gap: 0; position: relative; margin: 26px 0 25px; min-height: 24px; }
.exchange-desk .swap-divider > span:first-child, .exchange-desk .swap-divider > span:last-child { background: #b8c3b4; }
.exchange-desk .swap-divider .exchange-fee-badge { flex: 0 0 auto; display: block; height: auto; font: 500 12px/1.2 var(--font-ui); color: white; background: #073b17; border-radius: 20px; padding: 6px 13px; }
.exchange-desk .trade-summary { margin-top: 23px; padding-top: 17px; border-color: #c9d1c4; font-size: 16px; }
.exchange-desk .trade-summary dt { color: #111b13; }
.exchange-desk .trade-summary dd { font-weight: 650; color: #111b13; }
.exchange-cost-note { font-size: 13px; line-height: 1.5; color: #59625a; margin: 7px 0 25px; }
.exchange-desk #home-trade-cta { min-height: 58px; padding: 13px 20px; border-radius: 30px; background: #25ef36; border-color: #25ef36; color: #041b0a; font-size: 20px; font-weight: 650; justify-content: space-between; transition: background 160ms ease, box-shadow 160ms ease; }
.exchange-desk #home-trade-cta:hover { background: #1cde2d; box-shadow: 0 4px 14px #245b2220; }
.exchange-desk #home-trade-cta[aria-disabled="true"] { background: #cdd7c9; border-color: #cdd7c9; color: #54624f; }
.exchange-desk .route-picker__menu { min-width: 240px; background: #fff; color: #101b12; box-shadow: 0 12px 32px #10251524; }
.exchange-desk .has-long-amount .trade-field__row { flex-wrap: wrap; }
.exchange-desk .has-long-amount .amount-wrap { flex: 1 1 100%; }
.exchange-desk .has-long-amount .amount-wrap input { width: 230px; max-width: 85%; }
.exchange-desk .has-long-amount .receive-value { margin-left: auto; }
@media (max-width: 1100px) {
  .home-main .exchange-desk { padding: 48px 32px; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-main .exchange-desk__copy h2 { font-size: 54px; }
  .exchange-desk__visual { padding-top: 58px; }
  .exchange-world { width: 600px; height: 600px; left: -35px; top: -26px; }
  .exchange-desk .trade-composer { padding: 24px 18px 20px; }
  .exchange-desk .amount-wrap, .exchange-desk .receive-value strong { font-size: 30px; }
  .exchange-desk .amount-wrap { flex-basis: 138px; }
  .exchange-desk .amount-wrap input { width: 112px; }
  .exchange-desk .route-picker__trigger { font-size: 11px; }
  .exchange-desk #home-trade-cta { font-size: 16px; }
}
@media (max-width: 760px) {
  .home-main .exchange-desk { min-height: 0; display: flex; flex-direction: column; gap: 0; padding: 34px 24px 40px; }
  .exchange-desk .exchange-desk__copy { display: contents; }
  .exchange-desk__eyebrow { order: 0; font-size: 13px; margin-bottom: 12px; }
  .home-main .exchange-desk__copy h2 { order: 1; font-size: clamp(39px, 9.5vw, 58px); line-height: 1.12; margin-bottom: 17px; }
  .home-main .exchange-desk__copy h2 br { display: block; }
  .home-main .exchange-desk__copy > p { order: 2; font-size: 15px; max-width: 350px; margin-bottom: 0; }
  .exchange-desk__visual { order: 3; padding-top: 70px; width: 100%; min-height: 0; margin-bottom: 31px; }
  .exchange-world { width: 530px; height: 530px; max-width: none; left: calc(50% - 235px); top: -5px; }
  .exchange-desk .trade-composer { width: 420px; margin-inline: auto; padding: 24px 19px 20px; border-radius: 22px; }
  .exchange-desk .trade-field__row { gap: 8px; }
  .exchange-desk .amount-wrap, .exchange-desk .receive-value strong { font-size: 30px; }
  .exchange-desk .amount-wrap { flex-basis: 137px; }
  .exchange-desk .amount-wrap input { width: 112px; }
  .exchange-desk .route-picker { max-width: 180px; }
  .exchange-desk .route-picker__trigger { font-size: 12px; gap: 5px; }
  .exchange-desk .asset-logo, .exchange-desk .asset-logo img { width: 23px; height: 23px; }
  .exchange-desk #home-trade-cta { font-size: 17px; }
  .exchange-desk .quote-methods { order: 4; width: 100%; padding-top: 19px; margin-top: 4px; }
  .exchange-desk .quote-methods li { font-size: 11px; }
  .exchange-desk .quote-methods > div + div { padding-top: 15px; }
}
@media (max-width: 370px) {
  .home-main .exchange-desk { padding-inline: 18px; }
  .exchange-desk .amount-wrap, .exchange-desk .receive-value strong { font-size: 27px; }
  .exchange-desk .amount-wrap { flex-basis: 120px; }
  .exchange-desk .amount-wrap input { width: 100px; }
  .exchange-desk .route-picker__trigger { font-size: 11px; }
  .exchange-desk .route-picker__value { max-width: 78px; overflow: hidden; text-overflow: ellipsis; }
  .exchange-desk #home-trade-cta { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .exchange-world__depth { transform: none; }
  .exchange-orbit img { animation: none !important; }
  .exchange-desk #home-trade-cta { transition: none; }
}
