/* ==========================================================
   SHARE TRADING: charcoal + teal on cool white.  Prefix .tr-
   Scroll animation: Terminal (candles draw on scroll). Baaki sab: alag animation.
   ========================================================== */
.tr { overflow-x: clip; }
.tr-in { width: min(100% - 48px, 1240px); margin-inline: auto; }
.tr section { position: relative; }

.js .tr-up { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .tr-up.in { opacity: 1; transform: none; }
.tr-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.tr-split .w > span { display: inline-block; }
.js .tr-split .w > span { transform: translateY(112%) rotate(4deg); transition: transform 1.05s var(--ease); transition-delay: calc(var(--wi) * .06s); }
.js .tr-split.in .w > span { transform: none; }
.tr-head { text-align: center; margin-bottom: clamp(30px, 5vw, 56px); }
.tr-head h2 { margin-top: 10px; font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -.05em; line-height: 1.04; text-wrap: balance; }

/* ================= HERO ================= */
.tr-hero { padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 0; background: radial-gradient(50% 60% at 90% 8%, #cdeaf2 0%, transparent 72%), radial-gradient(45% 55% at 0% 100%, #e8f1f5 0%, transparent 70%), var(--paper); overflow: hidden; }
.tr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding-bottom: clamp(60px, 8vw, 96px); }
.tr-hero .crumbs { display: flex; gap: 8px; font-size: .85rem; margin-bottom: 26px; }
.tr-h1 { font-size: clamp(2.6rem, 5.8vw, 5.1rem); letter-spacing: -.06em; line-height: 1; text-wrap: balance; }
.tr-h1 em { font-style: normal; color: var(--emer); background: linear-gradient(transparent 82%, rgba(20,163,192,.3) 82%); }
.tr-sub { margin: 20px 0 26px; max-width: 54ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--ink-2); }
.tr-hero .pill { width: min(100%, 470px); }
.tr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 580px; }
.tr-chips span { padding: 8px 15px; border-radius: 99px; background: #fff; border: 1px solid rgba(23,33,43,.22); color: var(--ink); font-size: .88rem; font-weight: 500; transition: .3s var(--ease); }
.tr-chips span:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.tr-note { margin-top: 20px; max-width: 56ch; font-size: .82rem; color: var(--ink-3); }

.tr-art { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 1 / .96; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
.tr-offset { position: absolute; left: 10%; top: 8%; right: 0; bottom: 6%; border-radius: 30px; border: 2px solid var(--teal); }
.js .tr-offset { clip-path: inset(0 100% 100% 0); transition: clip-path 1.4s var(--ease) .1s; } .js .tr-art.in .tr-offset { clip-path: inset(0); }
.tr-screen { position: absolute; left: 0; top: 0; width: 90%; height: 86%; border-radius: 28px; overflow: hidden; background: var(--paper-3); box-shadow: 0 34px 60px rgba(23,33,43,.3); }
.tr-screen img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 58% 40%; }
.js .tr-screen { clip-path: inset(0 0 0 100% round 28px); transition: clip-path 1.3s var(--ease) .25s; } .js .tr-art.in .tr-screen { clip-path: inset(0 round 28px); }
.js .tr-screen img { transform: scale(1.25); transition: transform 2.2s var(--ease) .25s; } .js .tr-art.in .tr-screen img { transform: scale(1); }
.tr-scan { position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(20,163,192,.22) 70%, rgba(20,163,192,.55)); border-bottom: 2px solid #5ad0e6; transform: translateY(-100%); animation: trScan 5.5s ease-in-out 2s infinite; pointer-events: none; }
@keyframes trScan { 0% { transform: translateY(-100%); opacity: 0; } 12% { opacity: 1; } 55% { transform: translateY(560%); opacity: 1; } 70%, 100% { transform: translateY(560%); opacity: 0; } }
.tr-mini { position: absolute; right: -1%; bottom: 0; width: 45%; padding: 12px 14px 8px; border-radius: 20px; background: var(--charcoal); box-shadow: var(--shadow-l); }
.tr-mini small { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #9fdcea; }
.tr-mini svg { display: block; width: 100%; margin-top: 6px; overflow: visible; }
.tr-mini .cd line { stroke-width: 2; stroke-linecap: round; } .tr-mini .cd.up line, .tr-mini .cd.up rect { stroke: #2ed3b0; fill: #2ed3b0; } .tr-mini .cd.dn line, .tr-mini .cd.dn rect { stroke: #ff7b7b; fill: #ff7b7b; } .tr-mini .cd rect { stroke-width: 0; }
.tr-mini .cd { transform-box: fill-box; transform-origin: bottom; }
.tr-mini .ma { fill: none; stroke: #ffcf4a; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .tr-mini .cd { transform: scaleY(0); transition: transform .7s var(--ease); transition-delay: calc(1.3s + var(--n) * .1s); } .js .tr-art.in .tr-mini .cd { transform: scaleY(1); }
.js .tr-mini .ma { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) 2s; } .js .tr-art.in .tr-mini .ma { stroke-dashoffset: 0; }
.js .tr-mini { opacity: 0; transform: translateY(30px); transition: opacity .8s ease 1.1s, transform 1s var(--ease) 1.1s; } .js .tr-art.in .tr-mini { opacity: 1; transform: none; }
.tr-badge { position: absolute; left: -3%; bottom: 10%; display: flex; align-items: center; gap: 11px; padding: 10px 16px 10px 10px; border-radius: 18px; background: #fff; border: 1px solid rgba(23,33,43,.1); box-shadow: var(--shadow-l); animation: trBob 6s ease-in-out infinite; }
.tr-badge i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--teal); color: #fff; } .tr-badge i svg { width: 21px; height: 21px; }
.tr-badge b { display: block; font-size: .92rem; color: var(--ink); } .tr-badge small { display: block; font-size: .76rem; color: var(--ink-2); }
.js .tr-badge { opacity: 0; transition: opacity .8s ease 1.5s; } .js .tr-art.in .tr-badge { opacity: 1; }
@keyframes trBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -11px; } }
.tr-tape { overflow: hidden; background: var(--charcoal); padding: 14px 0; border-block: 3px solid var(--teal); }
.tr-tape > div { display: flex; align-items: center; gap: 28px; width: max-content; animation: trTape 38s linear infinite; }
.tr-tape span { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; letter-spacing: .24em; color: #fff; } .tr-tape i { width: 9px; height: 9px; transform: rotate(45deg); background: #3cc4de; }
@keyframes trTape { to { transform: translateX(-33.333%); } }

/* ================= TERMINAL (scroll stage) ================= */
.tr-tm { height: 480vh; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.tr-tstage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: clamp(24px, 4vw, 56px); align-items: center; width: min(100% - 48px, 1240px); margin-inline: auto; padding: calc(var(--header-h) + 10px) 0 18px; }
.tr-th { margin: 10px 0 18px; font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.05em; line-height: 1.05; }
.tr-ttabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-ttab { display: flex; align-items: center; gap: 8px; padding: 10px 17px; border-radius: 99px; border: 1px solid rgba(23,33,43,.22); background: #fff; color: var(--ink-2); font-size: .98rem; font-weight: 500; transition: .4s var(--ease); } .tr-ttab small { font-size: .7rem; color: var(--ink-3); }
.tr-ttab.on { background: var(--charcoal); color: #fff; border-color: var(--charcoal); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,33,43,.28); } .tr-ttab.on small { color: #7fdcee; }
.tr-tinfo { display: grid; margin-top: 18px; }
.tr-tcard { grid-area: 1 / 1; padding: 20px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(23,33,43,.12); box-shadow: var(--shadow-s); opacity: 0; transform: translateX(-24px); pointer-events: none; transition: opacity .5s ease, transform .8s var(--ease); }
.tr-tcard.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.tr-tcard p { font-size: 1rem; color: var(--ink-2); } .tr-tcard b { color: var(--emer); }
.tr-tprog { height: 4px; border-radius: 4px; background: rgba(23,33,43,.14); overflow: hidden; margin-top: 18px; max-width: 360px; } .tr-tprog i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #14a3c0, #17212b); transform: scaleX(var(--tp, 0)); transform-origin: left; }
.tr-win { border-radius: 24px; overflow: hidden; background: #0f1821; box-shadow: 0 40px 80px rgba(23,33,43,.35); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; height: min(100%, 600px); max-height: calc(100svh - var(--header-h) - 40px); }
.tr-wbar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; background: #1a2530; color: #cfdbe4; font-size: .84rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.tr-wbar i { width: 11px; height: 11px; border-radius: 50%; background: #ff6b6b; } .tr-wbar i:nth-child(2) { background: #ffc94a; } .tr-wbar i:nth-child(3) { background: #3fd47e; }
.tr-wbar > span { margin-left: 10px; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; font-weight: 600; color: #9fb4c3; } .tr-wbar strong { margin-left: auto; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.tr-wbar .up { color: #3fe0b8; } .tr-wbar .dn { color: #ff8b8b; }
.tr-wchart { position: relative; flex: 1; min-height: 0; } .tr-wchart canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tr-wfoot { padding: 10px 18px; font-size: .74rem; color: #a9bccb; background: #1a2530; border-top: 1px solid rgba(255,255,255,.08); }

/* ================= RISK PLANNER ================= */
.tr-risk { padding: clamp(70px, 10vw, 130px) 0; background: #fff; }
.tr-rbox { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); border-radius: 36px; overflow: hidden; background: #fff; border: 1px solid rgba(23,33,43,.12); box-shadow: var(--shadow-l); }
.tr-rin { padding: clamp(24px, 4vw, 52px); }
.cf { margin-bottom: 26px; }
.cf-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.cf-top label { color: var(--ink); font-size: .98rem; font-weight: 500; }
.cf-val { display: flex; align-items: baseline; gap: 4px; padding: 6px 14px; border-radius: 12px; border: 1px solid rgba(23,33,43,.2); background: var(--paper); font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.cf-val input { width: 8.5ch; padding: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font: inherit; text-align: right; } .cf-val em { font-style: normal; color: var(--ink-3); font-size: .8rem; }
.rng { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline: 0; cursor: pointer; background: linear-gradient(90deg, #0e7c93 var(--fill, 50%), #d3e4ec var(--fill, 50%)); }
.rng::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid #17212b; box-shadow: 0 0 0 6px rgba(20,163,192,.25), 0 4px 14px rgba(23,33,43,.3); transition: transform .2s; } .rng:active::-webkit-slider-thumb { transform: scale(1.15); }
.rng::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid #17212b; }
.cf-scale { display: flex; justify-content: space-between; margin-top: 7px; font-size: .74rem; color: var(--ink-3); }
.tr-rnote { font-size: .82rem; color: var(--ink-3); }
.tr-rout { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 48px); background: linear-gradient(150deg, #101a24 0%, #17212b 55%, #1d3b4a 100%); display: flex; flex-direction: column; justify-content: center; }
.tr-rglow { position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(20,163,192,.45), transparent 70%); animation: trBob 7s ease-in-out infinite; }
.tr-rbig { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tr-rbig .s { padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.tr-rbig .s.loss { background: rgba(255,107,107,.16); border-color: rgba(255,140,140,.5); } .tr-rbig .s.gain { background: rgba(63,212,170,.16); border-color: rgba(90,230,190,.5); }
.tr-rbig small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: #bfd3df; }
.tr-rbig b { display: block; margin-top: 4px; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem, 1.9vw, 1.6rem); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; } .tr-rbig b.sm { font-size: 1rem; }
.tr-rbig .loss b { color: #ffb0b0; } .tr-rbig .gain b { color: #7ff0cf; }
.ladder { position: relative; height: 96px; margin: 24px 0 8px; }
.ld-rail { position: absolute; left: 4%; right: 4%; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255,255,255,.2); }
.ld-zr, .ld-zg { position: absolute; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px; transition: left .5s var(--ease), width .5s var(--ease); }
.ld-zr { background: linear-gradient(90deg, rgba(255,107,107,.9), rgba(255,107,107,.45)); } .ld-zg { background: linear-gradient(90deg, rgba(63,212,170,.45), rgba(63,212,170,.95)); }
.ld-pin { position: absolute; top: 50%; width: 4px; height: 34px; margin: -17px 0 0 -2px; border-radius: 4px; background: #fff; transition: left .5s var(--ease); }
.ld-pin::after { content: attr(data-v); position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 6px; white-space: nowrap; font-size: .72rem; font-weight: 600; color: #fff; }
.ld-stop { background: #ff7b7b; } .ld-tgt { background: #3fe0b8; } .ld-ent::after { top: auto; bottom: 100%; margin: 0 0 6px; }
.tr-rmsg { position: relative; margin: 8px 0 20px; font-size: .92rem; color: rgba(255,255,255,.92); }
.tr-rbtn { position: relative; align-self: flex-start; }
body.lt.t-slate .tr-rout .btn-primary { background: #ffb703; color: #1a1200; box-shadow: 0 10px 26px rgba(0,0,0,.3); } body.lt.t-slate .tr-rout .btn-primary:hover { background: #ffc933; }
body.lt .tr-rout p { color: rgba(255,255,255,.92); }

/* ================= COMPARE: toggle ================= */
.tr-cmp { padding: clamp(70px, 10vw, 130px) 0; background: radial-gradient(60% 55% at 50% 0%, var(--paper-3) 0%, transparent 70%), var(--paper-2); }
.tr-cbox { display: flex; flex-direction: column; align-items: center; }
.tr-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 99px; background: #fff; border: 1px solid rgba(23,33,43,.16); box-shadow: var(--shadow-s); }
.tr-switch button { position: relative; z-index: 1; min-width: 150px; padding: 12px 26px; border-radius: 99px; font-size: 1.02rem; font-weight: 600; color: var(--ink-2); transition: color .4s; } .tr-switch button.on { color: #fff; }
.tr-switch .pill-bg { position: absolute; left: 6px; top: 6px; bottom: 6px; width: calc(50% - 6px); border-radius: 99px; background: var(--charcoal); transition: transform .6s cubic-bezier(.34, 1.45, .5, 1); box-shadow: 0 8px 18px rgba(23,33,43,.35); }
.tr-switch.t .pill-bg { transform: translateX(100%); }
.tr-cpanes { display: grid; width: 100%; margin-top: 30px; }
.tr-cpane { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 54px); align-items: center; padding: clamp(16px, 2.4vw, 28px); border-radius: 32px; background: #fff; border: 1px solid rgba(23,33,43,.12); box-shadow: var(--shadow-l); opacity: 0; transform: translateY(26px) scale(.98); pointer-events: none; transition: opacity .5s ease, transform .8s var(--ease); }
.tr-cpane.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.tr-cpane figure { position: relative; margin: 0; aspect-ratio: 4 / 3.5; border-radius: 22px; overflow: hidden; background: var(--paper-3); } .tr-cpane figure img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.15); transition: transform 1.8s var(--ease); } .tr-cpane.on figure img { transform: scale(1); }
.tr-cpane figcaption { position: absolute; left: 14px; top: 14px; padding: 5px 13px; border-radius: 99px; background: rgba(255,255,255,.94); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.tr-cpane h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.05em; color: var(--ink); } .tr-cpane .lead2 { margin: 6px 0 18px; color: var(--ink-2); font-size: 1.02rem; }
.tr-cpane ul { list-style: none; display: grid; gap: 10px; }
.tr-cpane li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--paper); border: 1px solid rgba(23,33,43,.1); transform: translateX(26px); opacity: 0; transition: .6s var(--ease); }
.tr-cpane.on li { transform: none; opacity: 1; } .tr-cpane.on li:nth-child(1) { transition-delay: .3s } .tr-cpane.on li:nth-child(2) { transition-delay: .4s } .tr-cpane.on li:nth-child(3) { transition-delay: .5s } .tr-cpane.on li:nth-child(4) { transition-delay: .6s }
.tr-cpane li b { color: var(--emer); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding-top: 2px; } .tr-cpane li span { color: var(--ink); font-size: 1rem; font-weight: 500; }
.tr-cwarn { margin-top: 24px; padding: 11px 20px; border-radius: 99px; background: #fff3d1; border: 1px solid #f0cf72; color: #5a4300; font-size: .9rem; font-weight: 500; text-align: center; }

/* ================= RULES ================= */
.tr-rules { padding: clamp(70px, 10vw, 130px) 0; background: #fff; }
.tr-rgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tr-rgrid article { position: relative; overflow: hidden; padding: 34px 32px 32px; border-radius: 28px; background: var(--paper); border: 1px solid rgba(23,33,43,.12); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.tr-rgrid article:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); border-color: var(--teal); background: #fff; }
.tr-rgrid .no { position: absolute; right: 22px; top: 6px; font-family: var(--font-head); font-weight: 600; font-size: 5.6rem; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(20,139,166,.35); line-height: 1; transition: -webkit-text-stroke-color .4s; } .tr-rgrid article:hover .no { -webkit-text-stroke-color: var(--teal); }
.tr-rgrid .tick { width: 50px; height: 50px; margin-bottom: 18px; overflow: visible; } .tr-rgrid .tick circle { fill: var(--mint); stroke: var(--teal); stroke-width: 2; } .tr-rgrid .tick path { fill: none; stroke: #0b5f73; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.tr-rgrid h3 { position: relative; font-size: clamp(1.3rem, 1.9vw, 1.65rem); letter-spacing: -.04em; line-height: 1.15; color: var(--ink); margin-bottom: 10px; max-width: 22ch; } .tr-rgrid p { position: relative; color: var(--ink-2); font-size: 1rem; max-width: 46ch; }
.js .tr-rgrid article { opacity: 0; transform: translateX(calc((var(--i) % 2) * 80px - 40px)) translateY(40px) rotate(calc((var(--i) % 2) * 4deg - 2deg)); transition: opacity .8s ease, transform 1.1s var(--ease), box-shadow .5s, border-color .4s; transition-delay: calc(var(--i) * .16s), calc(var(--i) * .16s), 0s, 0s; }
.js .tr-rgrid.in article { opacity: 1; transform: none; } .js .tr-rgrid.in article:hover { transform: translateY(-8px); transition-delay: 0s; }
.js .tr-rgrid .tick path { stroke-dashoffset: 1; transition: stroke-dashoffset .8s var(--ease); transition-delay: calc(.7s + var(--i) * .3s); } .js .tr-rgrid.in .tick path { stroke-dashoffset: 0; }

/* ================= JOURNEY ================= */
.tr-jr { padding: clamp(70px, 10vw, 130px) 0; background: radial-gradient(60% 55% at 50% 100%, var(--paper-3) 0%, transparent 70%), var(--paper-2); }
.tr-jbox { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.tr-jlist { list-style: none; display: grid; gap: 10px; }
.tr-jlist li { position: relative; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid rgba(23,33,43,.12); transition: transform .5s var(--ease), box-shadow .5s, background .4s, border-color .4s; }
.tr-jlist button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 20px; text-align: left; }
.tr-jlist i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); color: var(--ink-2); font-style: normal; font-weight: 600; font-size: .86rem; transition: .4s; }
.tr-jlist b { display: block; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); } .tr-jlist small { display: block; font-size: .86rem; color: var(--ink-2); }
.tr-jlist em { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, #14a3c0, #ffb703); transform: scaleX(0); transform-origin: left; }
.tr-jlist li.on { transform: translateX(14px); box-shadow: var(--shadow-l); border-color: var(--teal); } .tr-jlist li.on i { background: var(--charcoal); color: #fff; }
.tr-jlist li.on em { animation: trFill var(--dur, 5s) linear forwards; } .tr-jlist li.manual em { animation: none; transform: scaleX(1); }
@keyframes trFill { to { transform: scaleX(1); } }
.tr-jview { position: relative; border-radius: 30px; overflow: hidden; background: var(--charcoal); box-shadow: var(--shadow-l); }
.tr-jview figure { position: relative; margin: 0; aspect-ratio: 16 / 10.5; } .tr-jview figure img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .8s ease, transform 2s var(--ease); } .tr-jview figure img.on { opacity: 1; transform: scale(1); }
.tr-jview figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,22,30,.95) 0%, rgba(14,22,30,.5) 38%, transparent 66%); }
.tr-jtxt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 3vw, 34px); }
.tr-jtxt small { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: #7fdcee; }
body.lt .tr-jtxt h3 { margin: 3px 0 6px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.04em; color: #fff; } body.lt .tr-jtxt p { color: rgba(255,255,255,.94); max-width: 46ch; transition: opacity .3s; }

.tr .faq { background: #fff; } .tr .faq .container { width: min(100% - 48px, 1240px); }

/* ================= CTA ================= */
.tr-cta { padding: clamp(60px, 8vw, 110px) 0; background: #fff; }
.tr-cta-box { position: relative; overflow: hidden; border-radius: 34px; min-height: clamp(380px, 40vw, 500px); display: flex; align-items: center; background: var(--charcoal); box-shadow: var(--shadow-l); isolation: isolate; }
.tr-cta-box > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; animation: trPan 24s ease-in-out infinite alternate; }
@keyframes trPan { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-2%); } }
.tr-cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,22,30,.96) 0%, rgba(20,38,50,.86) 44%, rgba(20,38,50,.12) 90%); }
.js .tr-cta-box { clip-path: inset(0 0 100% 0 round 34px); transition: clip-path 1.3s var(--ease); } .js .tr-cta-box.in { clip-path: inset(0 round 34px); }
.tr-cta-in { padding: clamp(28px, 5vw, 64px); max-width: 600px; }
body.lt .tr-cta-in h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); letter-spacing: -.05em; line-height: 1; } body.lt .tr-cta-in p { color: rgba(255,255,255,.92); margin: 16px 0 26px; max-width: 44ch; }
.tr-cta-in .pill { width: min(100%, 460px); }
body.lt.t-slate .tr-cta-in .btn-primary { background: #ffb703; color: #1a1200; box-shadow: 0 10px 26px rgba(0,0,0,.3); } body.lt.t-slate .tr-cta-in .btn-primary:hover { background: #ffc933; }
.tr-cta-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; } .tr-cta-links a { color: #fff; font-size: .9rem; padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.45); transition: .3s; } .tr-cta-links a:hover { background: #fff; color: var(--ink); }

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .tr-in { width: min(100% - 36px, 1240px); } .tr .faq .container { width: min(100% - 36px, 1240px); }
  .tr-hero { padding-top: calc(var(--header-h) + 28px); }
  .tr-hero-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 54px; }
  .tr-art { width: min(94%, 440px); margin-top: 10px; } .tr-badge { left: -2%; }
  /* terminal: sticky, upar chart, neeche info */
  .tr-tm { height: 450vh; }
  .tr-tstage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; row-gap: 10px; padding: calc(var(--header-h) + 6px) 0 10px; width: min(100% - 28px, 1240px); }
  .tr-win { grid-row: 1; height: 100%; max-height: none; border-radius: 20px; } .tr-tleft { grid-row: 2; }
  .tr-tleft .eyebrow, .tr-th { display: none; }
  .tr-ttabs { flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; } .tr-ttabs::-webkit-scrollbar { display: none; } .tr-ttab { flex: none; padding: 8px 14px; font-size: .9rem; }
  .tr-tinfo { margin-top: 10px; } .tr-tcard { padding: 12px 16px; border-radius: 16px; } .tr-tcard p { font-size: .88rem; } .tr-tprog { margin-top: 10px; max-width: none; }
  .tr-wfoot { font-size: .66rem; padding: 8px 14px; }
  .tr-risk, .tr-cmp, .tr-rules, .tr-jr { padding: 56px 0; }
  .tr-rbox { grid-template-columns: minmax(0, 1fr); } .tr-rin { padding: 24px 20px; } .tr-rout { padding: 28px 20px; }
  .tr-switch button { min-width: 0; padding: 11px 22px; }
  .tr-cpane { grid-template-columns: minmax(0, 1fr); } .tr-cpane li { grid-template-columns: 1fr; gap: 2px; } .tr-cpane figure { aspect-ratio: 16 / 9; }
  .tr-rgrid { grid-template-columns: minmax(0, 1fr); } .tr-rgrid article { padding: 28px 22px 26px; } .tr-rgrid .no { font-size: 4.2rem; }
  .js .tr-rgrid article { transform: translateY(40px); } .js .tr-rgrid.in article { transform: none; }
  .tr-jbox { grid-template-columns: minmax(0, 1fr); }
  .tr-jlist { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .tr-jlist button { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 4px; text-align: center; } .tr-jlist small { display: none; } .tr-jlist b { font-size: .8rem; } .tr-jlist i { width: 34px; height: 34px; } .tr-jlist li.on { transform: translateY(-4px); }
  .tr-jview figure { aspect-ratio: 4 / 4.4; }
  .tr-cta-box::before { background: linear-gradient(180deg, rgba(14,22,30,.78) 0%, rgba(14,22,30,.96) 65%); } .tr-cta-box { align-items: flex-end; }
  .tr-cta-box .pill { flex-direction: column; border-radius: 26px; padding: 8px; gap: 8px; } .tr-cta-box .pill input { width: 100%; padding: 12px 16px; } .tr-cta-box .pill .btn { width: 100%; justify-content: center; }
}
@media (min-width: 992px) and (max-height: 760px) { .tr-th { font-size: 1.7rem; margin-bottom: 10px; } .tr-tcard { padding: 14px 18px; } .tr-tcard p { font-size: .94rem; } }
@media (prefers-reduced-motion: reduce) {
  .js .tr-up, .js .tr-split .w > span, .js .tr-offset, .js .tr-screen, .js .tr-screen img, .js .tr-mini, .js .tr-mini .cd, .js .tr-badge, .js .tr-rgrid article, .js .tr-cta-box { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .js .tr-mini .ma, .js .tr-rgrid .tick path { stroke-dashoffset: 0 !important; }
  .tr-scan, .tr-badge, .tr-tape > div, .tr-rglow, .tr-cta-box > img { animation: none; } .tr-tm { height: auto; } .tr-tstage { position: relative; height: auto; }
}