

.jca {
  
  --jca-ink:    #2A100E;
  --jca-ink-2:  #3E1714;
  --jca-tx:     #F7EFE6;
  --jca-mute:   rgba(247,239,230,.66);
  --jca-line:   rgba(255,255,255,.10);
  --jca-gold:   #E6AE5A;
  --jca-gold-d: #C98A34;

  --jca-wa:     #128C7E;
  --jca-wa-d:   #075E54;

  --jca-ease:   cubic-bezier(.16,1,.3,1);
}

.jca[hidden]{ display:none }
.jca{
  position:fixed; inset:0; z-index:1200;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  font-family:var(--font-body,'Inter',sans-serif);
}
.jca__ov{
  position:absolute; inset:0;
  background:rgba(20,6,5,.7);
  backdrop-filter:blur(4px) saturate(1.2);
  animation:jcaFade .2s ease;
}

.jca__card{
  position:relative; width:min(404px,100%); max-height:92vh; overflow-y:auto;
  padding:26px 24px 20px; border-radius:26px;
  color:var(--jca-tx);
  background:
    
    radial-gradient(110% 62% at 16% 30%, rgba(230,174,90,.16) 0%, rgba(230,174,90,0) 62%),
    linear-gradient(168deg, var(--jca-ink-2) 0%, var(--jca-ink) 58%, #240D0B 100%);
  background-color:var(--jca-ink);
  border:1px solid rgba(230,174,90,.26);
  box-shadow:
    0 40px 96px rgba(18,5,4,.62),
    0 0 0 1px rgba(0,0,0,.4),
    0 1px 0 rgba(255,255,255,.07) inset;
  animation:jcaPop .3s cubic-bezier(.2,.9,.3,1.2);
}

.jca__x{
  position:absolute; top:14px; right:14px; z-index:3;
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  background:rgba(255,255,255,.06);
  border:1px solid var(--jca-line);
  color:rgba(247,239,230,.7);
  transition:background .16s, color .16s, transform .16s;
}
.jca__x svg{ width:16px; height:16px }
.jca__x:hover{ background:rgba(255,255,255,.12); color:var(--jca-tx); transform:rotate(90deg) }

.jca__head{ display:flex; align-items:center; gap:14px; margin:0 0 20px }
.jca__av{
  position:relative; flex:none; width:60px; height:60px; border-radius:50%;
  background:linear-gradient(135deg,var(--jca-gold),var(--jca-gold-d));
  box-shadow:0 10px 24px rgba(18,5,4,.5), 0 0 0 3px rgba(230,174,90,.22);
}
.jca__av img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center 28%; border-radius:50%;
}
.jca__dot{
  position:absolute; right:1px; bottom:1px; width:14px; height:14px; border-radius:50%;
  background:#25D366; border:3px solid var(--jca-ink);
}
.jca__id{ min-width:0 }
.jca__k{
  display:inline-flex; align-items:center; gap:6px; margin-bottom:4px;
  font-size:9.5px; font-weight:800; letter-spacing:.15em; text-transform:uppercase;
  color:var(--jca-gold);
}
.jca__k svg{ width:14px; height:14px }
.jca__name{
  font-family:var(--font-heading,'DM Sans',sans-serif);
  font-size:21px; font-weight:800; line-height:1.1; letter-spacing:-.02em;
  margin:0 0 4px; color:var(--jca-tx);
}
.jca__role{
  display:flex; align-items:center; gap:9px; flex-wrap:wrap;
  font-size:12px; font-weight:600; color:var(--jca-mute);
}
.jca__role b{
  display:inline-flex; align-items:center; gap:5px;
  font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:#5FD9A4;
}
.jca__role b::before{
  content:''; width:6px; height:6px; border-radius:50%; background:#25D366;
  box-shadow:0 0 0 0 rgba(37,211,102,.55);
  animation:jcaPulse 2.2s ease-in-out infinite;
}

.jca__lead{ display:flex; align-items:center; gap:14px; margin:0 0 12px }

.jca__key{
  position:relative; flex:none;
  width:54px; height:54px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  color:var(--jca-gold);
  background:linear-gradient(150deg, rgba(230,174,90,.2), rgba(230,174,90,.05));
  border:1px solid rgba(230,174,90,.34);
  box-shadow:0 10px 26px rgba(18,5,4,.42), 0 1px 0 rgba(255,255,255,.09) inset;
  cursor:pointer;
}

.jca__key-ring{
  position:absolute; inset:-1px; border-radius:17px;
  border:2px solid var(--jca-gold);
  transform:scale(.66);
  opacity:0;                  
  pointer-events:none;
}
.jca__key-svg{
  width:36px; height:36px;
  
  transform-origin:50% 50%;
  
  transform:none;
}

.jca__h{
  font-family:var(--font-heading,'DM Sans',sans-serif);
  font-size:23px; font-weight:800; line-height:1.15; letter-spacing:-.035em;
  margin:0; color:var(--jca-tx); text-wrap:balance;
}
.jca__hl{
  position:relative; display:inline-block;
  color:var(--jca-gold);
}
.jca__hl::after{
  content:''; position:absolute; left:0; right:0; bottom:-3px; height:2.5px;
  border-radius:2px;
  background:linear-gradient(90deg,var(--jca-gold),rgba(230,174,90,.25));
  transform:scaleX(1);        
  transform-origin:left center;
}

.jca__sub{
  font-size:13.5px; line-height:1.55; color:var(--jca-mute);
  margin:0 0 16px;
}
.jca__sub b{ color:var(--jca-tx); font-weight:700 }

.jca__pts{
  list-style:none; margin:0 0 16px; padding:0;
  display:grid; grid-template-columns:1fr 1fr; gap:7px 10px;
}
.jca__pts li{
  display:flex; align-items:center; gap:7px;
  font-size:12px; font-weight:600; line-height:1.3; color:rgba(247,239,230,.86);
}

.jca__pts svg{
  flex:none; width:16px; height:16px; padding:3px; border-radius:50%;
  background:rgba(230,174,90,.14);
  border:1px solid rgba(230,174,90,.38);
  stroke:var(--jca-gold);
}

.jca__stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:0 0 16px }
.jca__stat{
  padding:12px 6px; border-radius:14px; text-align:center;
  background:rgba(255,255,255,.05);
  border:1px solid var(--jca-line);
  transform:translateY(0);    
}
.jca__stat b{
  display:block; font-family:var(--font-heading,'DM Sans',sans-serif);
  font-size:20px; font-weight:800; line-height:1; letter-spacing:-.03em;
  color:var(--jca-tx); font-variant-numeric:tabular-nums;
}
.jca__stat b em{ font-style:normal; font-size:14px; color:var(--jca-gold); margin-left:1px }
.jca__stat span{
  display:block; margin-top:6px;
  font-size:8.5px; font-weight:700; line-height:1.25;
  letter-spacing:.06em; text-transform:uppercase;
  color:rgba(247,239,230,.62);
}
.jca__stat span svg{ width:11px; height:11px; vertical-align:-2px; margin-right:3px }

.jca__stat--g span{ white-space:nowrap; font-size:8px }

.jca__cta{
  display:flex; align-items:center; gap:12px;
  padding:13px 16px; border-radius:16px; margin:0 0 12px;
  text-decoration:none; color:#fff;
  background:linear-gradient(135deg,var(--jca-wa),var(--jca-wa-d));
  box-shadow:0 14px 30px rgba(7,94,84,.42), 0 1px 0 rgba(255,255,255,.16) inset;
  transition:transform .18s var(--jca-ease), box-shadow .18s;
}
.jca__cta-ic{
  flex:none; width:38px; height:38px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.16);
}
.jca__cta-ic svg{ width:21px; height:21px; fill:#fff }
.jca__cta-tx{ flex:1 1 auto; min-width:0; line-height:1.25 }
.jca__cta-tx b{
  display:block; font-family:var(--font-heading,'DM Sans',sans-serif);
  font-size:16px; font-weight:800; letter-spacing:-.01em;
}

.jca__cta-tx span{ display:block; font-size:12.5px; font-weight:600; color:#fff }
.jca__cta-ar{
  flex:none; width:18px; height:18px; stroke:#fff;
  transition:transform .18s var(--jca-ease);
}
.jca__cta:hover{ transform:translateY(-2px); box-shadow:0 20px 42px rgba(7,94,84,.55), 0 1px 0 rgba(255,255,255,.2) inset }
.jca__cta:hover .jca__cta-ar{ transform:translateX(4px) }

.jca__site{
  display:flex; align-items:center; justify-content:center; gap:7px;
  font-size:12.5px; font-weight:600; text-decoration:none;
  color:rgba(247,239,230,.6);
  transition:color .16s;
}
.jca__site svg{ width:13px; height:13px }
.jca__site:hover{ color:var(--jca-gold) }

@keyframes jcaTurn{
  
  0%   { transform:rotate(-92deg) translateX(-5px) }
  16%  { transform:rotate(-92deg) translateX(0) }   
  24%  { transform:rotate(-84deg) translateX(0) }   
  62%  { transform:rotate(10deg)  translateX(0) }   
  74%  { transform:rotate(-5deg)  translateX(0) }   
  86%  { transform:rotate(2deg)   translateX(0) }
  100% { transform:rotate(0deg)   translateX(0) }
}

@keyframes jcaRing{
  0%,64% { transform:scale(.7);   opacity:0 }
  76%    { transform:scale(1.06); opacity:.95 }
  100%   { transform:scale(1.42); opacity:0 }
}
@keyframes jcaDraw{
  from { transform:scaleX(0) }
  to   { transform:scaleX(1) }
}
@keyframes jcaWake{
  from { transform:translateY(9px) }
  to   { transform:translateY(0) }
}

.jca__card.is-on .jca__key-svg { animation:jcaTurn .9s cubic-bezier(.5,0,.2,1) .1s both }
.jca__card.is-on .jca__key-ring{ animation:jcaRing .9s ease-out .1s both }
.jca__card.is-on .jca__hl::after{ animation:jcaDraw .45s cubic-bezier(.16,1,.3,1) .75s both }
.jca__card.is-on .jca__stat{ animation:jcaWake .45s cubic-bezier(.16,1,.3,1) both }
.jca__card.is-on .jca__stat:nth-child(1){ animation-delay:.84s }
.jca__card.is-on .jca__stat:nth-child(2){ animation-delay:.91s }
.jca__card.is-on .jca__stat:nth-child(3){ animation-delay:.98s }

.jca__key:hover .jca__key-svg{ animation:jcaTurn .9s cubic-bezier(.5,0,.2,1) both }
.jca__key:hover .jca__key-ring{ animation:jcaRing .9s ease-out both }

@keyframes jcaFade{ from{opacity:0} to{opacity:1} }
@keyframes jcaPop{ from{opacity:0;transform:translateY(18px) scale(.965)} to{opacity:1;transform:none} }
@keyframes jcaPulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(37,211,102,.55) }
  70%    { box-shadow:0 0 0 7px rgba(37,211,102,0) }
}

body.jc-lock{ overflow:hidden }

@media (prefers-reduced-motion: reduce){
  .jca *, .jca *::after, .jca *::before{ animation:none !important; transition:none !important }
  .jca__key-svg{ transform:rotate(90deg) }
  .jca__hl::after{ transform:scaleX(1) }
  .jca__stat{ transform:none }
}

@media (max-width:420px){
  .jca{ padding:14px }
  .jca__card{ padding:22px 18px 18px; border-radius:22px }
  .jca__head{ gap:12px; margin-bottom:17px }
  .jca__av{ width:54px; height:54px }
  .jca__key{ width:48px; height:48px; border-radius:14px }
  .jca__key-svg{ width:31px; height:31px }
  .jca__h{ font-size:21px }
  .jca__lead{ gap:12px }
  .jca__pts{ grid-template-columns:1fr; gap:6px }
}

@media (max-height:680px){
  .jca__card{ max-height:94vh }
}

.jc-cred__ic svg{
  width:15px; height:15px;
  transform-origin:50% 50%;
  transition:transform .5s cubic-bezier(.5,0,.2,1);
}
.jc-cred:hover .jc-cred__ic svg,
.jc-cred:focus-visible .jc-cred__ic svg{ transform:rotate(90deg) }

@media (prefers-reduced-motion: reduce){
  .jc-cred__ic svg{ transition:none }
}
