/* How it works: a rail that fills as you scroll, five rows of words and a tinted card,
   and a small product scene in each card that plays when it comes into view.
   Every class is prefixed tlx-. Without JS, and with reduced motion, everything shows
   its finished state. JS adds .tlx-live to the section before it hides anything. */

.tlx{--rail:24px;--rowgap:136px;--doty:50%;--cardh:460px}
.tlx .h2{max-width:760px}
.tlx-list{list-style:none;margin:88px 0 0;padding:0;display:flex;flex-direction:column;gap:var(--rowgap)}
.tlx-row{position:relative;display:grid;grid-template-columns:var(--rail) minmax(0,1fr) minmax(0,1.42fr);column-gap:40px;align-items:center}

/* tints: sage, mint, sand, pale sky, clay */
.tlx-row--sage{--c1:#c3d8c6;--c2:#eef3ea;--tone:#4f7d5b;--ring:rgba(79,125,91,.18)}
.tlx-row--mint{--c1:#b2dfc4;--c2:#ebf7ef;--tone:#2f7a51;--ring:rgba(47,122,81,.18)}
.tlx-row--sand{--c1:#e4d4af;--c2:#f8f2e4;--tone:#987634;--ring:rgba(152,118,52,.2)}
.tlx-row--sky{--c1:#c0d7e2;--c2:#eef4f6;--tone:#467a91;--ring:rgba(70,122,145,.2)}
.tlx-row--clay{--c1:#dac7b3;--c2:#f6efe7;--tone:#946850;--ring:rgba(148,104,80,.2)}

/* ---------- rail ---------- */
.tlx-rail{position:relative;align-self:stretch}
.tlx-seg{position:absolute;left:50%;top:var(--doty);width:2px;margin-left:-1px;height:calc(100% + var(--rowgap));border-radius:2px;background:rgba(20,21,20,.1);overflow:hidden}
.tlx-row:last-child .tlx-seg{display:none}
.tlx-fill{position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,#3d8b5e,#2b6a46);transform-origin:50% 0}
.tlx-dot{position:absolute;z-index:1;left:50%;top:var(--doty);width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:999px;
  background:var(--page,#f3f3f0);box-shadow:inset 0 0 0 2px rgba(20,21,20,.17)}
.tlx-dot::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--tone);box-shadow:0 0 0 5px var(--ring);
  transition:transform .55s cubic-bezier(.16,1,.3,1)}
.tlx-live .tlx-fill{transform:scaleY(0)}
.tlx-live .tlx-dot::after{transform:scale(0)}
.tlx-live .tlx-row.tlx-on .tlx-dot::after{transform:scale(1)}

/* ---------- words ---------- */
.tlx-text{max-width:440px;padding-right:32px}
.tlx-p{margin-top:16px;font-size:19px;line-height:1.55;color:var(--mute,#646862);max-width:410px;text-wrap:pretty}

/* ---------- card ---------- */
.tlx-card{position:relative;height:var(--cardh);border-radius:var(--r,20px);overflow:hidden;isolation:isolate;
  background:radial-gradient(58% 52% at 50% 50%,rgba(255,255,255,.5),rgba(255,255,255,0) 72%),linear-gradient(145deg,var(--c1) 0%,var(--c2) 100%)}
.tlx-card::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(rgba(20,21,20,.1) 1px,transparent 1.4px) 0 0/18px 18px;
  -webkit-mask-image:radial-gradient(75% 70% at 50% 50%,transparent 30%,#000 100%);mask-image:radial-gradient(75% 70% at 50% 50%,transparent 30%,#000 100%);opacity:.7}
.tlx-card::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(20,21,20,.05);pointer-events:none}
.tlx-scene{position:relative;height:100%;min-height:inherit;display:flex;align-items:center;justify-content:center;padding:28px 24px;
  color:var(--ink,#141514);font-size:14px;line-height:1.35}
.tlx-col{position:relative;width:100%;max-width:400px;display:flex;flex-direction:column;align-items:stretch}

/* shared pieces inside the scenes (never smaller than 12px) */
.tlx-ui{background:#fff;border-radius:14px;box-shadow:0 0 0 1px rgba(20,21,20,.06),0 1px 2px rgba(20,21,20,.05),0 14px 34px -10px rgba(20,21,20,.18)}
.tlx-av{width:36px;height:36px;border-radius:999px;background:#dfe6e0 50% 50%/cover no-repeat;flex:none}
.tlx-av--theo{background-image:url(/decagon/assets/av-p3.webp)}
.tlx-av--hannah{background-image:url(/decagon/assets/av-p2.webp)}
.tlx-av--luca{background-image:url(/decagon/assets/av-luis.webp)}
.tlx-av--mei{background-image:url(/decagon/assets/av-p7.webp)}
.tlx-ini{width:34px;height:34px;border-radius:999px;display:grid;place-items:center;flex:none;font-size:12.5px;font-weight:600;letter-spacing:.01em;color:#2d302d;background:#e5ebe6}
.tlx-ic{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tlx-ok{width:18px;height:18px;flex:none;color:#3d8b5e}
.tlx-pop{display:inline-block}
.tlx-link{position:relative;display:block;width:2px;height:24px;margin:0 auto;
  background:linear-gradient(180deg,rgba(43,106,70,.55) 50%,transparent 50%) 0 0/2px 6px;transform-origin:50% 0}
.tlx-link::after{content:"";position:absolute;left:50%;bottom:-3px;width:6px;height:6px;margin-left:-3px;border-radius:999px;background:#2b6a46}
.tlx-wave{display:inline-flex;align-items:center;gap:2.5px;height:14px}
.tlx-wave b{width:2.5px;height:100%;border-radius:2px;background:currentColor;transform:scaleY(.55)}
.tlx-wave b:nth-child(2){transform:scaleY(.9)}.tlx-wave b:nth-child(3){transform:scaleY(.65)}.tlx-wave b:nth-child(4){transform:scaleY(1)}.tlx-wave b:nth-child(5){transform:scaleY(.45)}
.tlx-live .tlx-play .tlx-wave b{animation:tlx-wv .9s ease-in-out infinite alternate}
.tlx-wave b:nth-child(2){animation-delay:-.35s!important}.tlx-wave b:nth-child(3){animation-delay:-.7s!important}
.tlx-wave b:nth-child(4){animation-delay:-.15s!important}.tlx-wave b:nth-child(5){animation-delay:-.5s!important}
@keyframes tlx-wv{from{transform:scaleY(.3)}to{transform:scaleY(1)}}
.tlx-toast{align-self:center;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 15px 0 10px;border-radius:999px;background:#fff;
  font-size:14px;font-weight:600;color:#2b6a46;white-space:nowrap;box-shadow:0 0 0 1px rgba(20,21,20,.05),0 8px 22px -8px rgba(20,21,20,.2)}

/* ---------- scene 1: a new applicant, called and screened ---------- */
.tlx-note{display:flex;align-items:center;gap:12px;padding:12px 14px}
.tlx-note__t{display:flex;flex-direction:column;min-width:0;margin-right:auto}
.tlx-note__t b{font-size:15px;font-weight:600;line-height:1.3}
.tlx-note__t span{font-size:13px;color:var(--mute,#646862);line-height:1.35}
.tlx-bell{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;flex:none;background:#eef3ec;color:#4f7d5b}
.tlx-bell .tlx-ic{width:16px;height:16px}
.tlx-callpill{align-self:center;display:inline-flex;align-items:center;gap:10px;height:42px;padding:0 18px 0 6px;border-radius:999px;background:#2b6a46;color:#fff;
  font-size:14px;font-weight:500;white-space:nowrap;box-shadow:0 10px 24px -8px rgba(31,90,57,.55)}
.tlx-callpill > i{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.18)}
.tlx-qa{padding:4px 16px 12px}
.tlx-qa__row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid rgba(20,21,20,.07)}
.tlx-qa__row:first-child{border-top:0}
.tlx-qa__row > span{font-size:14px;color:var(--mute,#646862)}
.tlx-qa__row > b{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:600;white-space:nowrap}
.tlx-qa__foot{display:flex;align-items:center;gap:9px;margin-top:4px;padding:10px 12px;border-radius:10px;background:#e7f3eb;color:#22663f;font-size:14px;font-weight:600}

/* ---------- scene 2: answers written to the candidate in the ATS ---------- */
.tlx-src{align-self:center;display:inline-flex;align-items:center;gap:10px;height:38px;padding:0 16px 0 5px;border-radius:999px;background:#fff;
  font-size:14px;font-weight:500;color:#2d302d;white-space:nowrap;box-shadow:0 0 0 1px rgba(20,21,20,.05),0 8px 22px -8px rgba(20,21,20,.2)}
.tlx-src > i{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:#2b6a46;color:#fff}
.tlx-pipe{position:relative;width:2px;height:34px;margin:0 auto;background:linear-gradient(180deg,rgba(43,106,70,.45) 50%,transparent 50%) 0 0/2px 6px}
.tlx-packet{position:absolute;left:50%;top:-4px;width:9px;height:9px;margin-left:-4.5px;border-radius:999px;background:#3d8b5e;box-shadow:0 0 0 4px rgba(61,139,94,.22);opacity:0}
.tlx-rec{padding:4px 16px 8px}
.tlx-rec__hd{display:flex;align-items:center;gap:11px;padding:10px 0 12px}
.tlx-rec__hd > div{display:flex;flex-direction:column;margin-right:auto;min-width:0}
.tlx-rec__hd b{font-size:15px;font-weight:600;line-height:1.3}
.tlx-rec__hd small{font-size:12.5px;color:var(--mute,#646862)}
.tlx-sync{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:#e7f3eb;color:#2b6a46;flex:none}
.tlx-sync .tlx-ic{width:16px;height:16px}
.tlx-f{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:12px;align-items:center;padding:10px 0;border-top:1px solid rgba(20,21,20,.07)}
.tlx-f > span{position:relative;font-size:13px;color:var(--mute,#646862)}
.tlx-f > b{position:relative;font-size:14px;font-weight:600;line-height:1.3}
.tlx-f > i{position:absolute;inset:3px -9px;border-radius:9px;background:rgba(158,214,178,.34);opacity:0}
.tlx-chip{justify-self:start;display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 8px;border-radius:999px;background:#e7f3eb;color:#22663f}
.tlx-chip .tlx-ok{width:15px;height:15px}
.tlx-s2 .tlx-toast{margin-top:16px}

.tlx-col--wide{max-width:440px}
.tlx-drop{position:relative;display:block;height:24px}
.tlx-drop i{position:absolute;left:50%;display:block;background:#2b6a46}
.tlx-drop i:nth-child(odd){width:6px;height:6px;margin-left:-3px;border-radius:999px}
.tlx-drop i:nth-child(1){top:-3px}
.tlx-drop i:nth-child(2){top:0;width:1.5px;height:100%;margin-left:-.75px;transform-origin:50% 0}
.tlx-drop i:nth-child(3){bottom:-3px}

/* ---------- scene 3: a shift order, a shortlist, one yes ---------- */
.tlx-job{display:flex;align-items:center;gap:12px;padding:11px 11px 11px 12px}
.tlx-job__ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:none;background:#f4ead4;color:#86652a}
.tlx-job__t{display:flex;flex-direction:column;margin-right:auto;min-width:0}
.tlx-job__t b{font-size:16px;font-weight:600;line-height:1.25;white-space:nowrap}
.tlx-job__t small{font-size:13px;color:var(--mute,#646862);line-height:1.35;white-space:nowrap}
.tlx-job__pill{flex:none;height:32px;padding:0 13px;border-radius:999px;background:#f3eddf;font-size:14px;font-weight:600;line-height:32px;color:#4d3d1d;white-space:nowrap}
.tlx-tree{position:relative;height:40px;--cx:calc((100% - 24px) / 6)}
.tlx-tree i{position:absolute;display:block;background:#2b6a46}
.tlx-tree__v{left:50%;top:0;width:1.5px;height:100%;margin-left:-.75px;transform-origin:50% 0}
.tlx-tree__h{left:var(--cx);right:var(--cx);top:19px;height:1.5px}
.tlx-tree__s{top:19px;width:1.5px;height:21px;margin-left:-.75px;transform-origin:50% 0}
.tlx-tree__s--l{left:var(--cx)}
.tlx-tree__s--r{left:calc(100% - var(--cx))}
.tlx-tree__d{width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:999px}
.tlx-tree__d--t{left:50%;top:0}
.tlx-tree__d--l{left:var(--cx);top:100%}
.tlx-tree__d--c{left:50%;top:100%}
.tlx-tree__d--r{left:calc(100% - var(--cx));top:100%}
.tlx-tree .tlx-side{opacity:.3}
.tlx-cands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tlx-cand{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;min-height:122px;padding:18px 6px 12px;text-align:center;transform-origin:50% 0}
.tlx-cand .tlx-av{width:44px;height:44px}
.tlx-cand b{font-size:15px;font-weight:600;line-height:1.2}
.tlx-cand.tlx-dim{opacity:.42}
.tlx-cand > em{position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 2px #2b6a46;pointer-events:none}
.tlx-cand__sent{position:absolute;top:7px;right:7px;width:22px;height:22px;border-radius:999px;display:grid;place-items:center;background:#f3eddf;color:#86652a}
.tlx-cand__sent .tlx-ic{width:12px;height:12px;stroke-width:2}
.tlx-cand__yes{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:#22663f;white-space:nowrap}
.tlx-cand__yes .tlx-ok{width:15px;height:15px}
.tlx-filled{align-self:center;display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 18px 0 14px;font-size:15px;font-weight:600;white-space:nowrap}
.tlx-filled .tlx-ok{width:20px;height:20px}

/* ---------- scene 4: one worker, checked in on over time by call, text and WhatsApp ---------- */
.tlx-av--elena{background-image:url(/decagon/assets/av-p6.webp)}
.tlx-tp{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:12px;align-items:start}
.tlx-tp + .tlx-tp{margin-top:14px}
.tlx-tp--who,.tlx-tp--end{align-items:center}
.tlx-tp__ln{position:absolute;left:17.25px;top:40px;bottom:-10px;width:1.5px;border-radius:2px;background:rgba(43,106,70,.45);transform-origin:50% 0}
.tlx-tp__ic{width:36px;height:36px;border-radius:999px;display:grid;place-items:center;background:#fff;color:#2d302d;
  box-shadow:0 0 0 1px rgba(20,21,20,.06),0 6px 16px -8px rgba(20,21,20,.3)}
.tlx-tp__ic .tlx-ic{width:16px;height:16px}
.tlx-tp__ic--wa{color:#22663f}
.tlx-tp__ic .tlx-ok{width:22px;height:22px}
.tlx-tp__who{display:flex;flex-direction:column;min-width:0}
.tlx-tp__who b{font-size:15px;font-weight:600;line-height:1.3}
.tlx-tp__who small{font-size:13px;line-height:1.35;color:var(--mute,#646862)}
.tlx-tp__card{padding:10px 14px 11px;border-radius:13px}
.tlx-tp__when{font-size:12.5px;line-height:1.3;color:var(--mute,#646862)}
.tlx-tp__when b{font-weight:600;color:var(--ink2,#2d302d)}
.tlx-tp__when b::after{content:"\00b7";margin:0 6px;font-weight:400;color:var(--mute,#646862)}
.tlx-tp__q{margin-top:4px;font-size:14.5px;font-weight:500;line-height:1.3;color:var(--ink,#141514)}
.tlx-tp__a{position:relative;display:flex;align-items:center;gap:7px;margin-top:6px;font-size:14px;font-weight:600;line-height:1.3;color:#22663f}
.tlx-tp__a .tlx-av{width:20px;height:20px}
.tlx-tp__dots{position:absolute;left:27px;top:50%;display:flex;gap:4px;margin-top:-3px;opacity:0}
.tlx-tp__dots i{width:6px;height:6px;border-radius:999px;background:#9aa39c}
.tlx-tp__done{font-size:15px;font-weight:600;line-height:1.3;color:#22663f}

/* ---------- scene 5: a call first, then a text and a WhatsApp ---------- */
.tlx-callbar{position:relative;display:flex;align-items:center;gap:12px;height:60px;padding:0 10px;border-radius:999px;background:#161917;color:#fff;
  box-shadow:0 20px 40px -16px rgba(20,21,20,.6)}
.tlx-av--nadia{background-image:url(/decagon/assets/av-nia.webp)}
.tlx-callbar .tlx-av{width:40px;height:40px}
.tlx-callbar__t{position:relative;display:block;margin-right:auto;min-width:0}
.tlx-callbar__t b{display:block;font-size:16px;font-weight:600;line-height:1.2}
.tlx-callbar__t small{position:absolute;left:0;top:100%;font-size:12.5px;line-height:1.4;color:rgba(255,255,255,.62);opacity:0}
.tlx-wave--lg{height:24px;gap:3px;color:#9ed6b2}
.tlx-wave--lg b{width:3px}
.tlx-wave b:nth-child(6){transform:scaleY(.7)}.tlx-wave b:nth-child(7){transform:scaleY(.4)}.tlx-wave b:nth-child(8){transform:scaleY(.85)}.tlx-wave b:nth-child(9){transform:scaleY(.5)}
.tlx-wave b:nth-child(6){animation-delay:-.6s!important}.tlx-wave b:nth-child(7){animation-delay:-.25s!important}
.tlx-wave b:nth-child(8){animation-delay:-.8s!important}.tlx-wave b:nth-child(9){animation-delay:-.45s!important}
.tlx-btns{position:relative;display:block;width:40px;height:40px;flex:none}
.tlx-btn{position:absolute;inset:0;border-radius:999px;display:grid;place-items:center;color:#fff}
.tlx-btn .tlx-ic{width:18px;height:18px}
.tlx-btn--no{background:#d4493c}
.tlx-btn--no .tlx-ic{transform:rotate(135deg)}
.tlx-btn--yes{background:#3d8b5e;opacity:0}
.tlx-said{display:flex;flex-direction:column;gap:12px;margin-top:26px;padding:0 4px}
.tlx-said__in{display:flex;align-items:center;gap:10px;font-size:15.5px;font-weight:500;line-height:1.35;color:var(--ink,#141514)}
.tlx-said__in .tlx-av{width:30px;height:30px}
.tlx-said__out{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:15.5px;font-weight:600;color:#22663f}
.tlx-mark{width:30px;height:30px;border-radius:999px;display:flex;align-items:center;justify-content:center;flex:none;background:#fff;font-family:var(--serif,"Fraunces",Georgia,serif);
  font-size:15px;font-weight:600;line-height:1;color:var(--ink,#141514);box-shadow:0 0 0 1px rgba(20,21,20,.08),0 4px 10px -4px rgba(20,21,20,.25)}
.tlx-mark i{font-style:normal;color:#2b6a46}
.tlx-msgs{display:flex;flex-direction:column;gap:8px;margin-top:24px}
.tlx-msg{display:flex;align-items:flex-start;gap:11px;padding:10px 14px 10px 10px;border-radius:14px;background:rgba(255,255,255,.72);
  box-shadow:0 0 0 1px rgba(20,21,20,.05)}
.tlx-msg__ic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;background:#efe3d9;color:#6e4b37}
.tlx-msg__ic .tlx-ic{width:16px;height:16px}
.tlx-msg__ic--wa{background:#e1f1e7;color:#22663f}
.tlx-msg p{font-size:14px;line-height:1.35;color:var(--ink2,#2d302d)}
.tlx-msg p b{margin-right:7px;font-size:12.5px;font-weight:600;color:var(--mute,#646862)}
.tlx-msg p + p{margin-top:2px;color:#22663f;font-weight:500}

/* ---------- tablet ---------- */
@media (max-width:1180px){
  .tlx-row{column-gap:32px}
  .tlx-text{padding-right:16px}
}
/* ---------- stacked: words above the card, the rail at the left ---------- */
@media (max-width:860px){
  .tlx{--rail:14px;--rowgap:80px;--doty:18px}
  .tlx-list{margin-top:64px}
  .tlx-row{grid-template-columns:var(--rail) minmax(0,1fr);column-gap:20px;align-items:start}
  .tlx-rail{grid-row:1 / span 2}
  .tlx-text{max-width:560px;padding-right:0}
  .tlx-card{grid-column:2;margin-top:28px;height:auto;min-height:420px}
}
@media (max-width:640px){
  .tlx{--rowgap:72px;--doty:16px}
  .tlx-list{margin-top:48px}
  .tlx-row{column-gap:18px}
  .tlx-p{margin-top:12px;font-size:17px}
  .tlx-card{margin-top:24px;min-height:400px;border-radius:18px}
  .tlx-scene{padding:24px 14px}
  .tlx-cands{gap:8px}
  .tlx-tree{--cx:calc((100% - 16px) / 6)}
  .tlx-cand{padding:16px 4px 11px;min-height:114px}
  .tlx-cand .tlx-av{width:40px;height:40px}
}
@media (max-width:480px){
  .tlx-f{grid-template-columns:84px minmax(0,1fr)}
  .tlx-tp{column-gap:10px}
}
@media (prefers-reduced-motion:reduce){
  .tlx-dot::after{transition:none}
}

/* PostHog, 21 Nov 2026: visitors tapped "Call with Theo" and nothing happened. Both call pills open the call demo. */
.tlx-callpill[data-ring-open],.tlx-src[data-ring-open]{cursor:pointer;transition:filter .2s ease,box-shadow .2s ease}
.tlx-callpill[data-ring-open]:hover{filter:brightness(1.1)}
.tlx-src[data-ring-open]:hover{box-shadow:0 0 0 1px rgba(43,106,70,.4),0 8px 22px -8px rgba(20,21,20,.25)}
