/* JF PAY reusable logo. No JavaScript or external dependencies.
   Relative asset URLs resolve from this CSS file wherever the folder is hosted. */
.jf-logo {
  --jf-logo-size: 46px;
  --jf-logo-font-size: 24px;
  --jf-logo-llc-size: 24px;
  --jf-logo-gap: 12px;
  --jf-logo-text-color: #ffffff;
  --jf-logo-llc-color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: var(--jf-logo-gap);
  flex-shrink: 0;
  width: max-content;
  max-width: 100%;
  color: var(--jf-logo-text-color);
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.jf-logo:hover {
  transform: translateY(-1px);
}
.jf-logo, .jf-logo * { box-sizing: border-box; }
.jf-logo:focus-visible { outline: 3px solid #8daeff; outline-offset: 5px; border-radius: 4px; }
.jf-logo__mark {
  position: relative;
  display: block;
  width: var(--jf-logo-size);
  height: var(--jf-logo-size);
  flex-shrink: 0;
  overflow: hidden;
  /* Exact original transparent raster, used when CSS masking is unavailable. */
  background: url('./assets/logo.png') center / 138% 138% no-repeat;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.35));
}
.jf-logo__name {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--jf-logo-font-size);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--jf-logo-text-color);
  white-space: nowrap;
}
.jf-logo__llc, .jf-logo__pay {
  display: inline;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--jf-logo-llc-size);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.jf-logo__spectrum { display: none; }
@supports ((mask-image: url('./assets/logo-mask.png')) or (-webkit-mask-image: url('./assets/logo-mask.png'))) {
  .jf-logo__mark { background-image: none; }
  .jf-logo__spectrum {
    display: block;
    position: absolute;
    inset: 0;
    mask-image: url('./assets/logo-mask.png');
    -webkit-mask-image: url('./assets/logo-mask.png');
    mask-size: 138% 138%;
    -webkit-mask-size: 138% 138%;
    mask-position: center;
    -webkit-mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-image: linear-gradient(90deg, #00d9ff 0%, #285be7 25%, #7950ff 50%, #d946ef 75%, #00d9ff 100%);
    background-size: 240px 100%;
    background-repeat: repeat-x;
    animation: jf-logo-spectrum 7s linear infinite;
  }
}
@keyframes jf-logo-spectrum {
  from { background-position: 0 0; }
  to { background-position: 240px 0; }
}
.jf-logo--on-dark { 
  --jf-logo-text-color: #ffffff; 
  --jf-logo-llc-color: #38bdf8; 
}
.jf-logo--on-light { 
  --jf-logo-text-color: #0f172a; 
  --jf-logo-llc-color: #2563eb; 
}
.jf-logo--on-light .jf-logo__llc,
.jf-logo--on-light .jf-logo__pay {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
:where(html[data-theme='dark'], html.dark) .jf-logo:not(.jf-logo--on-light) {
  --jf-logo-text-color: #ffffff; 
  --jf-logo-llc-color: #38bdf8;
}
.jf-logo.jf-logo--compact { 
  --jf-logo-size: 34px; 
  --jf-logo-font-size: 19px; 
  --jf-logo-llc-size: 19px; 
  --jf-logo-gap: 9px; 
}
@media (max-width: 760px) {
  .jf-logo { 
    --jf-logo-size: 34px; 
    --jf-logo-font-size: 19px; 
    --jf-logo-llc-size: 19px; 
    --jf-logo-gap: 9px; 
  }
}
@media (max-width: 370px) {
  .jf-logo { 
    --jf-logo-size: 30px; 
    --jf-logo-font-size: 17px; 
    --jf-logo-llc-size: 17px; 
    --jf-logo-gap: 7px; 
  }
}
@media (prefers-reduced-motion: reduce) {
  .jf-logo__spectrum {
    animation: none !important;
    background-image: linear-gradient(135deg, #00a6d0, #285be7 35%, #7950ff 68%, #d946ef);
    background-size: 100% 100%;
    background-position: center;
  }
}
