/* The Trace product page hero (v76): one message, one call to action, one river. Dark navy; the words sit at the
   upper left; one broad river of strings comes in at the top right, sweeps down past them, turns at the lower left
   and runs back out to the right below them, carrying the steps Trace took on one live-demo ticket
   (js/riverlines.js, data-strings="sweep"). The canvas is 1300px tall on desktop and the curve is drawn in its
   fractions, so each step's --x/--y is a point just inside the curve; the label's foot sits there.
   A row of safety promises closes the cover. Also the split picture in #proof (data-strings="split"). */
.pd .tx-hero.tr { display: block; min-height: 0; padding: 0; overflow: hidden; color: #e9ebf2;
  background: radial-gradient(60% 40% at 80% 20%, rgba(70, 60, 200, .22), transparent 70%), linear-gradient(180deg, #070a22, #0a0e2a 55%, #080a1e); }
.pd .tx-hero.tr::after { display: none; }
.tr-top { --h: 1300px; position: relative; isolation: isolate; height: var(--h); }
.tr-river { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.tr-head { position: relative; padding-top: 168px; }
.pd .tr .tx-eye { margin: 0 0 28px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: rgba(233, 235, 242, .7); }
.pd .tr .tx-eye b, .pd .tr .tx-mk { color: #fff; } .pd .tr .tx-eye span { border-left-color: rgba(255, 255, 255, .18); }
.pd .tr h1 { margin: 0; max-width: 8.6em; font-size: clamp(48px, 6.2vw, 92px); line-height: .98; font-weight: 500; letter-spacing: -.055em; color: #fff; }
.pd .tr .tx-lede { max-width: 25em; margin: 26px 0 0; font-size: 19px; line-height: 1.55; color: rgba(233, 235, 242, .74); }
.pd .tr .tx-cta { margin-top: 36px; }
.hx-primary { color: #0a1030; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); } .hx-primary:hover { background: #eef2ff; color: #0a1030; }
.hx-ghost { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); } .hx-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* the ticket's steps, on the river's lower bend */
.tr-band { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.tr-trail { list-style: none; margin: 0; padding: 0; }
.tr-trail li { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * var(--h)); transform: translate(-50%, -100%);
  display: grid; justify-items: center; gap: 5px; padding-bottom: 14px; text-align: center; white-space: nowrap; }
.tr-trail li::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 9px; background: rgba(255, 255, 255, .45); }
.tr-trail code { font: 500 11.5px/1 var(--mono); letter-spacing: .02em; color: rgba(233, 235, 242, .55); }
.tr-trail b { font-size: 14.5px; font-weight: 500; color: #fff; }
.pd .tr-river.no-gl { background: linear-gradient(150deg, transparent 30%, rgba(46, 230, 214, .2) 45%, rgba(110, 90, 255, .24) 60%, rgba(240, 111, 174, .2) 75%, transparent 90%); }

/* the safety promises */
.tr-trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 80px; position: relative; }
.tr-trust li { display: grid; gap: 6px; align-content: start; padding: 24px 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.tr-trust li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .08); }
.tr-trust b { font-size: 15px; font-weight: 600; color: #fff; } .tr-trust span { font-size: 14px; line-height: 1.5; color: rgba(233, 235, 242, .62); }

/* the split picture in #proof */
.pd .tx-flowcard.dk { height: 500px; margin: 0 0 24px; border-radius: 20px; background: radial-gradient(60% 60% at 40% 50%, rgba(60, 70, 190, .22), transparent 70%), linear-gradient(180deg, #080c26, #0a0e2a); }
.tr-split { position: absolute; inset: 40px 0 70px; width: 100%; height: calc(100% - 110px); }
.tr-src { position: absolute; left: 4%; top: 28px; margin: 0; display: grid; gap: 2px; pointer-events: none; }
.tr-src b { font-size: 28px; font-weight: 500; letter-spacing: -.03em; color: #fff; } .tr-src span { font-size: 13px; color: rgba(233, 235, 242, .7); }
.tr-node { position: absolute; left: 40%; top: calc(40px + (100% - 110px) / 2); transform: translate(-50%, -50%); margin: 0; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 13px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: #0a1030; background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 10px 40px -6px rgba(120, 140, 255, .55); }
.pd .tr-node .tx-mk { width: 15px; height: 19px; color: #0a1030; }
.tr-out { list-style: none; margin: 0; padding: 0; }
.tr-out li { position: absolute; left: calc(80% + 14px); transform: translateY(-50%); width: 17%; display: grid; gap: 3px; padding-left: 14px; border-left: 2px solid; }
.tr-out b { font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: #fff; } .tr-out span { font-size: 13px; line-height: 1.35; color: rgba(233, 235, 242, .72); }
.tr-out .o1 { top: calc(40px + (100% - 110px) * .17); border-color: #3ee8d8; } .tr-out .o2 { top: calc(40px + (100% - 110px) * .5); border-color: #6e8bff; } .tr-out .o3 { top: calc(40px + (100% - 110px) * .84); border-color: #f06fae; }
.tr-cap { position: absolute; left: 4%; right: 4%; bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(233, 235, 242, .6); }
.tr-cap > span:first-child { color: #fff; } .tr-cap > span:first-child > b:first-child { color: #5fe0c4; font-weight: 600; }
.tr-cap a { color: #a9c1ff; font-weight: 500; }

/* below 1200px the words take the full width; the river runs in its own band under them, without the steps */
@media (max-width: 1200px) {
  .tr-top { height: auto; display: flex; flex-direction: column; }
  .tr-river { position: relative; order: 2; height: 560px; margin-top: -40px; }
  .tr-band { display: none; }
}
@media (max-width: 1100px) {
  .tr-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-trust li:nth-child(3) { padding-left: 0; border-left: 0; } .tr-trust li:nth-child(n+3) { margin-top: 24px; }
  .pd .tx-flowcard.dk { height: 440px; } .tr-out li { width: 18%; } .tr-out b { font-size: 21px; } .tr-out span { font-size: 12px; }
}
@media (max-width: 640px) {
  .tr-head { padding-top: 120px; }
  .pd .tr .tx-lede { font-size: 17px; }
  .tr-river { height: 420px; margin-top: -24px; }
  .tr-trust { grid-template-columns: 1fr; padding-bottom: 56px; }
  .tr-trust li, .tr-trust li + li { padding: 18px 0 0; border-left: 0; margin-top: 0; } .tr-trust li + li { margin-top: 18px; }
  .pd .tx-flowcard.dk { height: 380px; border-radius: 14px; }
  .tr-src { left: 14px; } .tr-src b { font-size: 19px; } .tr-src span { font-size: 11px; }
  .tr-node { padding: 7px 11px 7px 9px; font-size: 12.5px; }
  .tr-out li { left: calc(80% + 4px); width: 19%; padding-left: 7px; } .tr-out b { font-size: 16px; } .tr-out span { display: none; }
  .tr-cap { font-size: 12px; } .tr-cap > span:last-child { display: none; }
}
