/* TitleScout - how the controls feel. Main buttons get a glossy finish that presses in and springs back, cards slide
   in as they come into view, and the main button of a page can be given a gentle tug by a line-drawn hand.
   Colours stay the app's own: every button keeps its colour, only the light and the movement change. */
:root{--tk-spring:cubic-bezier(.34,1.56,.64,1);--tk-ease:cubic-bezier(.2,.8,.2,1)}

/* ---- glossy pills ---- */
.tk-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:11px 20px;
  font:700 13.5px/1 "Inter","Poppins",-apple-system,"Segoe UI",Arial,sans-serif;letter-spacing:.01em;color:#fff;cursor:pointer;text-decoration:none;white-space:nowrap;
  background:linear-gradient(180deg,#24395B 0%,#0B1D35 58%,#071426 100%)}
.tk-pill:hover{color:#fff}
.tk-pill.green{background:linear-gradient(180deg,#46A34B 0%,#2E7D32 58%,#226329 100%)}
.tk-pill.light{color:#0B1D35;background:linear-gradient(180deg,#FFFFFF 0%,#EEF1F5 100%)}
.tk-pill.light:hover{color:#0B1D35}
.tk-pill.sm{padding:8px 14px;font-size:12.5px}
.tk-pill,.bt-btn.pri,.rc2-btn.pri,.sd-cta,.ts-fab,.btn.btn-primary,.btn.btn-success{position:relative;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),inset 0 -2px 3px rgba(0,0,0,.26),0 7px 16px -7px rgba(11,29,53,.6),0 1px 2px rgba(11,29,53,.22)!important;
  transition:transform .28s var(--tk-spring),box-shadow .2s ease,filter .2s ease!important}
.tk-pill.light{box-shadow:inset 0 1px 0 #fff,inset 0 -2px 3px rgba(11,29,53,.08),0 6px 14px -8px rgba(11,29,53,.45),0 0 0 1px rgba(11,29,53,.13)!important}
/* the glossy top light */
.tk-pill::after,.bt-btn.pri::after,.rc2-btn.pri::after,.sd-cta::after,.ts-fab::after,.btn.btn-primary::after,.btn.btn-success::after{content:"";position:absolute;left:9%;right:9%;top:1.5px;height:46%;
  border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(255,255,255,0));pointer-events:none}
.tk-pill.light::after{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,0))}
.tk-pill:hover,.bt-btn.pri:hover,.rc2-btn.pri:hover,.sd-cta:hover,.ts-fab:hover{transform:translateY(-1.5px)}
/* the press: down, a little smaller, the shadow tucked in - then a spring back on release */
.tk-pill:active,.bt-btn.pri:active,.rc2-btn.pri:active,.sd-cta:active,.ts-fab:active,.btn.btn-primary:active,.btn.btn-success:active{transform:translateY(1px) scale(.965)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 2px rgba(0,0,0,.3),0 2px 6px -3px rgba(11,29,53,.6)!important;transition-duration:.08s!important}
.bt-btn.sec,.rc2-btn.sec,.up2-btn,.ts-chip,.tk-soft{transition:transform .28s var(--tk-spring),box-shadow .2s ease,border-color .15s ease,background .15s ease!important}
.bt-btn.sec:active,.rc2-btn.sec:active,.up2-btn:active,.ts-chip:active,.tk-soft:active{transform:scale(.965)!important;transition-duration:.08s!important}

/* ---- the tug: a line-drawn hand comes up from below and pulls the button down on its strings ---- */
.tk-tug{position:relative;transform-origin:50% 0}
.tk-hand{position:absolute;left:50%;top:100%;width:54px;height:84px;margin-left:-27px;pointer-events:none;opacity:0;z-index:30;
  transform:translateY(16px) rotate(-8deg);transform-origin:50% 0;transition:opacity .2s ease,transform .5s var(--tk-spring)}
.tk-hand svg{width:100%;height:100%;display:block;overflow:visible}
.tk-tug.tk-pull{transform:translateY(3px) scaleY(1.035)!important}
.tk-tug.tk-pull .tk-hand{opacity:1;transform:translateY(1px) rotate(0)}
.tk-tug.tk-pull .tk-hand .tk-str{animation:tkstr 1.2s ease-in-out infinite alternate}
@keyframes tkstr{to{transform:translateY(1.5px)}}

/* ---- slide in as they come into view ---- */
.tk-rv{opacity:0;transform:translateY(18px)}
.tk-rv.tk-in{opacity:1;transform:none;transition:opacity .55s var(--tk-ease) var(--tk-d,0ms),transform .75s var(--tk-ease) var(--tk-d,0ms)}

@media (prefers-reduced-motion:reduce){
  .tk-rv{opacity:1!important;transform:none!important}
  .tk-hand{display:none}
  .tk-pill,.bt-btn.pri,.rc2-btn.pri,.sd-cta{transition:none!important}
}
