/* "Track record" — Results + the founder story in one section (variant page index-track.html).
   Every card has the same anatomy: chart window (same height and chrome), then the result,
   a one-line detail, and the description. Grey = before/baseline, green = the outcome. */
.tr-anchor{position:relative;top:-96px;display:block;height:0;}

/* intro: title on its own row, two paragraphs across the full width */
.tr-intro{padding-bottom:56px;}
.tr-cols{display:grid;grid-template-columns:1fr 1fr;gap:64px;margin-top:32px;}
.tr-lead{margin:0;font-size:var(--text-large-size);line-height:var(--text-large-line-height);color:var(--color-text-secondary);text-wrap:pretty;}
.tr-more{margin:0;font-size:var(--text-large-size);line-height:var(--text-large-line-height);color:var(--color-text-tertiary);text-wrap:pretty;}
.tr-kpis{margin:0 0 48px;padding:28px 0;border-top:1px solid var(--color-border-primary);border-bottom:1px solid var(--color-border-primary);}
.tr-kpis > div{padding:0 24px;border-left:1px solid var(--color-border-primary);}
.tr-kpis > div:first-child{padding-left:0;border-left:0;}
.tr-kpis dt{color:var(--color-text-primary);}

/* cards */
.tr-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.tr-card{display:flex;flex-direction:column;padding:24px;border:1px solid var(--color-border-primary);border-radius:12px;background:var(--color-bg-level-1);}
.tr-card h3{margin-top:28px;color:var(--color-text-primary);}
.tr-sub{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--color-text-secondary);}
.tr-desc{margin:12px 0 0;font-size:14px;line-height:1.6;color:var(--color-text-tertiary);max-width:56ch;text-wrap:pretty;}

.tr-viz{border-radius:10px;background:#0f1011;border:1px solid var(--color-border-primary);overflow:hidden;font-family:var(--font-regular);}
.tr-bar{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid #ffffff0d;font-size:12px;color:#8a8f98;}
.tr-bar .dots{display:flex;gap:4px;margin-right:6px;}
.tr-bar .dots i{width:7px;height:7px;border-radius:50%;background:#ffffff1f;}
.tr-bar b{font-weight:500;color:#8a8f98;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tr-bar .tag{margin-left:auto;flex:none;padding:2px 8px;border-radius:6px;background:#ffffff0d;font-size:11px;}
.tr-chart{height:132px;padding:18px 20px 6px;display:flex;flex-direction:column;justify-content:center;}
.tr-foot{display:flex;justify-content:space-between;align-items:center;padding:10px 20px 14px;font-size:12px;color:#8a8f98;font-variant-numeric:tabular-nums;}
.tr-foot .on{color:var(--accent);}
.tr-foot .k{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px;}
.tr-foot .k.c{background:#4b4f56;} .tr-foot .k.t{background:var(--accent);}

.tr-rows{display:flex;flex-direction:column;gap:16px;}
.tr-row{display:grid;grid-template-columns:88px 1fr 72px;align-items:center;gap:12px;font-size:12px;color:#8a8f98;}
.tr-bars{display:flex;flex-direction:column;gap:5px;}
.tr-bars i{display:block;height:8px;border-radius:2px;width:0;transition:width 1.1s cubic-bezier(.3,.8,.25,1);}
.tr-bars i.c{background:#4b4f56;}
.tr-bars i.t{background:var(--accent);transition-delay:.2s;}
.tr-row .d{text-align:right;color:var(--accent);opacity:0;transition:opacity .4s 1s;}
.tr-row .d.mute{color:#8a8f98;}
.rv-in .tr-bars i{width:var(--w);}
.rv-in .tr-row .d{opacity:1;}

.tr-line{display:block;width:100%;height:100%;clip-path:inset(0 100% 0 0);transition:clip-path 1.4s cubic-bezier(.4,0,.2,1);}
.tr-line .grid path{stroke:#ffffff0f;stroke-width:1;fill:none;vector-effect:non-scaling-stroke;}
.tr-line .ln{fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;}
.rv-in .tr-line{clip-path:inset(0 0 0 0);}

@media (max-width:860px){
  .tr-cols{grid-template-columns:1fr;gap:16px;}
  .tr-grid{grid-template-columns:1fr;}
}
@media (max-width:767px){
  .tr-kpis{grid-template-columns:1fr;gap:20px;}
  .tr-kpis > div{padding:0;border-left:0;}
}
@media (prefers-reduced-motion:reduce){ .tr-bars i,.tr-line,.tr-row .d{transition:none !important;} }

/* round 3: stats centred in their columns; cards a size down */
.tr-kpis > div,.tr-kpis > div:first-child{padding:0 24px;text-align:center;}
.tr-kpis > div:first-child{border-left:0;}
.tr-kpis dd{margin-inline:auto;}
.tr-card{padding:18px;}
.tr-card h3{margin-top:20px;font-size:19px;line-height:1.3;letter-spacing:-.012em;}
.tr-sub{margin-top:6px;font-size:13px;}
.tr-desc{margin-top:8px;font-size:13px;line-height:1.55;}
.tr-bar{padding:8px 14px;font-size:11.5px;}
.tr-chart{height:96px;padding:12px 16px 2px;}
.tr-rows{gap:11px;}
.tr-row{grid-template-columns:80px 1fr 68px;font-size:11.5px;}
.tr-bars{gap:4px;}
.tr-bars i{height:6px;}
.tr-foot{padding:8px 16px 11px;font-size:11.5px;}
@media (max-width:767px){ .tr-kpis > div,.tr-kpis > div:first-child{padding:0;} }
