/* The Trace product page (v70): the tier-1 review fixes. Hero copy and the honest result,
   varied section heads, readable product windows, the FAQ layout. Loaded after trace3.css. */

/* hero */
.pd .tx-hero h1 { max-width: 11em; font-size: clamp(48px, 7.4vw, 104px); letter-spacing: -.05em; }
.pd .tx-lede { max-width: 40em; font-size: 20px; line-height: 1.5; color: var(--d-tx); }
.pd .tx-facts dd { font-size: 34px; }
.pd .tx-facts dt { color: var(--d-mu); }
.tx-def { max-width: 920px; margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--d-mu); }
.tx-def b { font-weight: 600; color: #0b8f7c; }


/* section heads: balanced lines, and every other head centred so five sections don't read as one template */
.pd .tx-head h2 { text-wrap: balance; max-width: 13em; }
.pd .tx-head-c { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
.pd .tx-head-c .tx-num { justify-content: center; }
.pd .tx-head-c h2 { max-width: 16em; margin-inline: auto; }
.pd .tx-head-c > div > p:not(.tx-num) { max-width: 38em; margin-inline: auto; }
.pd .tx-fl { color: #2f6bff; font-weight: 500; } .pd .tx-fl span { color: inherit; transition: transform .2s; display: inline-block; }
.pd .tx-fl:hover { color: #1f55e6; } .pd .tx-fl:hover span { transform: translateX(3px); }

/* product windows: larger, so the product reads at a glance; the stage fades out under the window */
@media (min-width: 1100px) { .pd .tx-stage.dk { padding-left: 4.5%; padding-right: 4.5%; } .pd .dk .tx-rows .t { font-size: 14.5px; } }
.pd .tx-stage.dk::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none;
  background: linear-gradient(transparent, rgba(8, 8, 11, .92)); }
.pd .tx-note { color: var(--d-mu); }

/* outcome colours that can be told apart: alone = solid blue, approval = blue ring, engineer = grey */
.pd .dk .op.q-a::before { background: #4f86ff; } .pd .dk .op.q-a { color: #9fbcff; }
.pd .dk .op.q-b::before { background: transparent; box-shadow: inset 0 0 0 2px #4f86ff; } .pd .dk .op.q-b { color: #c9d4ee; }
.pd .dk .op.q-c::before { background: #5b5e69; } .pd .dk .op.q-c { color: #9a9daa; }

/* FAQ: heading on the left, questions on the right */
.tx-faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; align-items: start; }
.pd .tx-faq .faq-h { margin: 0; }
.tx-faq-sub { margin: 12px 0 0; font-size: 15px; color: var(--d-mu); } .tx-faq-sub a { color: #2f6bff; }
.pd .tx-faq .faq { grid-template-columns: 1fr; padding: 0; }

@media (max-width: 960px) {
  .tx-faq-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pd .tx-lede { font-size: 17px; } .pd .tx-facts dd { font-size: 26px; }
}

/* without WebGL2: a still River band where the strings would be */
.pd .tx-field.no-gl { background: linear-gradient(100deg, transparent 0 4%, rgba(255, 95, 162, .55) 18%, rgba(255, 196, 107, .5) 30%, rgba(47, 107, 255, .55) 55%, rgba(46, 230, 214, .55) 85%, transparent 100%) bottom / 100% 46% no-repeat;
  -webkit-mask-image: none; mask-image: none; filter: saturate(1.1); }
.pd .dk > canvas.tx-lines.no-gl { background: linear-gradient(90deg, rgba(46, 230, 214, .16), rgba(47, 107, 255, .2), rgba(123, 92, 255, .16)) 0 18% / 100% 22% no-repeat; }

.pd .tx-hero .tx-field { height: 470px; }
@media (max-width: 640px) { .pd .tx-src .stat::after { display: none; } .pd .tx-src { gap: 4px; } }

/* v71: the card river enters at the top and leaves at the bottom of every card, so the windows sit inside the card */
.pd .tx-stage.dk { padding: 120px 8% 120px; }
.pd .tx-stage.dk::after { display: none; }
.pd .dk .tx-win { border-radius: 12px; overflow: hidden; }
@media (max-width: 640px) { .pd .tx-stage.dk { padding: 64px 12px 64px; } }
