:root{
  --text:#f2f6fb;
  --muted:#b7cdea;
  --panel:rgba(255,255,255,.04);
  --panel-border:rgba(255,255,255,.075);
  --pill:rgba(255,255,255,.045);
  --pill-border:rgba(255,255,255,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  min-height:100vh;
  overflow-x:hidden;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  color:var(--text);
  background:url("background.webp") center top / cover no-repeat fixed;
  background-color:#212633;
}

.site-shell{
  position:relative;
  z-index:2;
  width:min(1100px, calc(100% - 200px));
  margin:0 auto;
  padding:0 0 80px;
}

.site-header{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-bottom:-64px;
  margin-left:-20px;
}

.site-logo{
  display:inline-flex;
  align-items:center;
}

.site-logo img{
  display:block;
  width:auto;
  height:150px;
  object-fit:contain;
}

.jt-home-grid{
  margin-top:40px;
  color:#e7edf7;
}

/* hero */

.jt-home-hero{
  text-align:center;
  margin-bottom:44px;
  padding-top:0;
}

/* hero responsive text */

.jt-home-title-mobile,
.jt-home-subtitle-mobile{
  display:none;
}

@media(max-width:640px){

  .jt-home-title-desktop,
  .jt-home-subtitle-desktop{
    display:none;
  }

.jt-home-section-head{
  padding-left:12px;
  padding-right:12px;
}

.jt-home-grid-wrap{
  grid-template-columns:1fr;
  padding-left:12px;
  padding-right:12px;
}

  .jt-home-title-mobile,
  .jt-home-subtitle-mobile{
    display:block;
  }

}

.jt-home-brand,
.jt-menu-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:6px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 32px rgba(0,0,0,.22);
  color:#fff;
  font-weight:765;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.jt-home-brand{
  margin-bottom:16px;
  font-size:13px;
}

.jt-home-brand-dot,
.jt-menu-brand-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(135deg,#7dd3fc,#2563eb);
  box-shadow:0 0 9px rgba(56,189,248,.39);
}

.jt-home-title{
  margin:0 0 14px;
  font-size:2.85rem;
  line-height:1.06;
  color:#fff;
  font-weight:400;
  letter-spacing:0;
  max-width:1000px;
  margin-left:auto;
  margin-right:auto;
}

.jt-home-subtitle{
  max-width:660px;
  margin:0 auto;
  color:#b7cdea;
  font-size:.82rem;
  line-height:1.5;
  font-weight:400;
}

/* category pills */

.jt-home-jump-wrap {
  position: relative;
  margin-top: 18px;
  margin-left: -20px;
  margin-right: -20px;
  padding-bottom: 12px;
  overflow-x: hidden;
  overflow-y: visible;
}

.jt-home-jump {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 20px 12px;
  margin: 0;
  will-change: scroll-position;
}

.jt-home-jump::-webkit-scrollbar {
  display: none;
}

.jt-home-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.035);
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jt-home-jump-btn {
  position: relative;
  z-index: 1;
  touch-action: manipulation;
}

.jt-home-jump-wrap {
  position: relative;
  margin-top: 18px;
  margin-left: -20px;
  margin-right: -20px;
  padding-bottom: 12px;
  overflow-x: hidden;
  overflow-y: visible;
}

.jt-home-jump {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 20px 12px;
  margin: 0;
  will-change: scroll-position;
}

.jt-home-jump::-webkit-scrollbar {
  display: none;
}

.jt-home-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.035);
  color: #f2f6fb;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  touch-action: manipulation;
}

.jt-home-jump {
  will-change: scroll-position;
  transform: translateZ(0);
}

.jt-home-jump-btn:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.045);
}

@media (max-width: 640px) {
  .jt-home-jump-btn {
    box-shadow:
      0 5px 12px rgba(0, 0, 0, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
  }
}

.jt-home-jump-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.095);
}

/* sections */

.jt-home-section{
  margin-top:46px;
}

.jt-home-section:first-of-type{
  margin-top:0;
}

.jt-home-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:14px;
  max-width:1025px;
  margin-left:auto;
  margin-right:auto;
}

.jt-home-section-title{
  margin:0;
  font-size:22px;
  line-height:1.08;
  font-weight:850;
  letter-spacing:0;
  color:#fff;
}

.jt-home-section-text{
  max-width:760px;
  color:var(--muted);
  font-size:14.5px;
  line-height:1.55;
  letter-spacing:0;
  font-weight:420;
}

/* grid */

.jt-home-grid-wrap{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  max-width:1025px;
  margin-left:auto;
  margin-right:auto;
}

.jt-home-card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:22px;
  padding:18px 18px 19px;
  box-shadow:0 18px 40px rgba(0,0,0,.28);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:all .18s ease;
}

.jt-home-card:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.085);
  box-shadow:0 12px 20px rgba(0,0,0,.14);
}

.jt-home-tag{
  display:inline-block;
  margin-bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.085);
  color:#dce7f7;
  font-size:11px;
  font-weight:700;
  letter-spacing:.01em;
}

.jt-home-card-title{
  margin:0 0 8px;
  font-size:17px;
  line-height:1.16;
  font-weight:750;
  letter-spacing:0;
  color:#fff;
}

.jt-home-card-text{
  margin-bottom:12px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  font-weight:400;
}

.jt-home-card-link{
  color:#fff;
  font-size:13px;
  font-weight:600;
}

/* menu */

.jt-menu{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.jt-menu-toggle{
  position:fixed;
  top:18px;
  right:18px;
  z-index:9999;
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(135deg, rgba(22,27,36,.85), rgba(12,16,22,.95));
  box-shadow:
    0 16px 36px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(12px) saturate(130%);
  -webkit-backdrop-filter:blur(12px) saturate(130%);
  cursor:pointer;
  transition:all .18s ease;
}

.jt-menu-toggle:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.14);
}

.jt-menu-bars{
  width:20px;
  height:14px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.jt-menu-bars span{
  display:block;
  width:100%;
  height:2.5px;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  transition:transform .24s ease, opacity .18s ease;
}

.jt-menu.open .jt-menu-bars span:nth-child(1){
  transform:translateY(6px) rotate(45deg);
}

.jt-menu.open .jt-menu-bars span:nth-child(2){
  opacity:0;
}

.jt-menu.open .jt-menu-bars span:nth-child(3){
  transform:translateY(-6px) rotate(-45deg);
}

.jt-menu-overlay{
  position:fixed;
  inset:0;
  z-index:9997;
  background:rgba(0,0,0,.34);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  opacity:0;
  pointer-events:none;
  transition:opacity .28s ease;
}

.jt-menu.open .jt-menu-overlay{
  opacity:1;
  pointer-events:auto;
}

.jt-menu-drawer{
  position:fixed;
  top:0;
  right:-90%;
  width:min(46vw,420px);
  min-width:320px;
  height:100vh;
  z-index:9998;
  display:flex;
  flex-direction:column;
  padding:22px 18px 18px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
  background:
    linear-gradient(180deg, rgba(255,255,255,.042), rgba(255,255,255,.018)),
    linear-gradient(140deg, rgba(12,16,22,.72) 0%, rgba(14,20,32,.74) 50%, rgba(10,13,18,.76) 100%);
  border-left:1px solid rgba(255,255,255,.08);
  box-shadow:-18px 0 36px rgba(0,0,0,.34);
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
  transition:right .42s cubic-bezier(.22,1,.36,1);
  scrollbar-width:none;
  overscroll-behavior:contain;
-webkit-overflow-scrolling:touch;
touch-action:pan-y;
}

body.jt-menu-open{
  overflow:hidden;
}

.jt-menu-drawer::-webkit-scrollbar{
  display:none;
}

.jt-menu.open .jt-menu-drawer{
  right:0;
}

.jt-menu-top{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  padding-top:10px;
  padding-bottom:16px;
  margin-bottom:22px;
}

.jt-menu-top::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:1px;
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(125,211,252,.28), rgba(255,255,255,0));
  opacity:.8;
}

.jt-menu-search{
  margin-top:6px;
  margin-bottom:14px;
}

.jt-menu-search-wrap{
  position:relative;
}

.jt-menu-search-input{
  width:100%;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    rgba(255,255,255,.028);
  color:rgba(255,255,255,.95);
  padding:0 42px;
  font-size:14px;
  font-weight:500;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035), 0 8px 16px rgba(0,0,0,.15);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:border-color .22s ease, box-shadow .22s ease;
}

.jt-menu-search-input::placeholder{
  color:rgba(203,213,245,.62);
}

.jt-menu-search-input:focus{
  border-color:rgba(125,211,252,.24);
  box-shadow:0 0 0 4px rgba(56,189,248,.06), inset 0 1px 0 rgba(255,255,255,.04), 0 10px 20px rgba(0,0,0,.16);
}

.jt-menu-search-icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:rgba(203,213,245,.72);
  font-size:14px;
  pointer-events:none;
}

.jt-menu-search-clear{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  display:none;
  align-items:center;
  justify-content:center;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.88);
  font-size:16px;
  cursor:pointer;
}

.jt-menu-links{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:10px;
}

.jt-menu-group{
  margin-top:18px;
}

.jt-menu-group:first-child{
  margin-top:0;
}

.jt-menu-group-title{
  margin:6px 6px 10px;
  color:#93c5fd;
  opacity:.95;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.jt-menu-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px;
  border-radius:14px;
  text-decoration:none;
  color:rgba(255,255,255,.94);
  background:rgba(255,255,255,.032);
  border:1px solid rgba(255,255,255,.055);
  transition:background .2s ease, border-color .2s ease, transform .14s ease;
  overflow:hidden;
}

.jt-menu-link:hover{
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.08);
  transform:translateX(-2px);
}

.jt-menu-link-main{
  font-size:15px;
  font-weight:600;
  letter-spacing:0;
  color:rgba(255,255,255,.94);
}

.jt-menu-link-sub{
  font-size:12px;
  font-weight:500;
  color:rgba(203,213,245,.82);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.jt-menu-group.is-hidden,
.jt-menu-link.is-hidden{
  display:none !important;
}

.jt-menu-search-empty{
  display:none;
  padding:14px;
  border-radius:14px;
  background:rgba(255,255,255,.032);
  border:1px solid rgba(255,255,255,.055);
  color:rgba(203,213,245,.82);
  font-size:14px;
  line-height:1.6;
}

@media(max-width:1000px){
  .jt-home-section-head,
  .jt-home-grid-wrap{
    max-width:100%;
  }

  .jt-home-grid-wrap{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .jt-menu-drawer{
    width:min(82vw,360px);
    min-width:0;
  }

  .site-shell{
    width:min(100% - 64px, 1260px);
  }
}

@media(max-width:640px){
  .site-shell{
    width:min(100% - 24px, 1260px);
    padding-top:22px;
  }

  .site-logo img{
    width:160px;
    height:auto;
  }

  .jt-home-grid-wrap{
    grid-template-columns:1fr;
  }

  .jt-home-title{
    font-size:clamp(2.2rem, 8.8vw, 3.3rem);
    line-height:1.08;
  }

  .jt-home-subtitle{
    max-width:100%;
    font-size:.95rem;
    line-height:1.5;
  }

  .jt-home-section-title{
    font-size:24px;
  }

  .jt-home-section-text{
    font-size:14px;
  }

  .jt-menu-toggle{
    top:16px;
    right:16px;
    width:56px;
    height:56px;
    border-radius:16px;
  }

  .jt-menu-drawer{
    width:84vw;
    padding:18px 14px 16px;
  }
}

/* Homepage brand */

.jt-home-brand {
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  margin-bottom: 18px;
}

.jt-home-brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 22px;
}

.jt-home-brand-logo-img {
  display: block;
  height: 44px;
  width: auto;
  padding: 0;
  border-radius: 0;
  filter:
    drop-shadow(0 0 18px rgba(80, 160, 255, 0.28))
    drop-shadow(0 10px 28px rgba(80, 160, 255, 0.32))
    drop-shadow(0 2px 6px rgba(80, 160, 255, 0.18));
  transform: translateZ(0);
  will-change: filter;
}

.jt-home-hero {
  position: relative;
}

.jt-home-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 0;
  bottom: -20px;
  left: 0;
  pointer-events: none;
  background:
    radial-gradient(
      60% 45% at 50% 0%,
      rgba(80, 160, 255, 0.10),
      transparent 70%
    );
  z-index: 0;
}

.jt-home-hero > * {
  position: relative;
  z-index: 1;
}

.jt-home-jump-btn {
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 0 8px rgba(80, 160, 255, 0.10);
}


@media (max-width: 640px) {
  .site-shell,
  .jt-home-grid,
  .jt-home-hero {
    overflow: visible;
  }

  .jt-home-brand-logo {
    margin-top: 14px;
    margin-bottom: 22px;
  }
}

.jt-home-jump {
  will-change: scroll-position;
  transform: translateZ(0);
}

/* Homepage search */

.jt-home-search {
  width: 100%;
  max-width: 720px;
  margin: 14px auto 0;
  position: relative;
}

.jt-home-search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%),
    rgba(90, 110, 140, 0.08);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 14px rgba(80, 160, 255, 0.10);
}

.jt-home-search-form::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.015)
  );
  pointer-events: none;
}

.jt-home-search-form:focus-within {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.jt-home-search-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.72;
}

.jt-home-search-input {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0;
  margin: 0;
}

.jt-home-search-input::placeholder {
  color: inherit;
  opacity: 0.62;
}

.jt-home-search-clear {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.82;
  transition: opacity 0.18s ease, background 0.18s ease;
}

.jt-home-search-clear:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
}

.jt-home-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 8px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(70, 92, 118, 0.30), rgba(34, 46, 64, 0.42)),
    rgba(20, 28, 40, 0.46);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.jt-home-search-results::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.015)
  );
  pointer-events: none;
}

.jt-home-search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: background 0.18s ease, transform 0.18s ease;
}

.jt-home-search-result:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-0.5px);
}

.jt-home-search-result-title {
  flex: 0 0 180px;
  font-weight: 600;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: left;
}

.jt-home-search-result-meta {
  flex: 1 1 auto;
  font-size: 0.68rem;
  line-height: 1.25;
  opacity: 0.75;
  text-align: left;
}

.jt-home-search-empty {
  padding: 10px 12px;
  font-size: 0.7rem;
  text-align: left;
  opacity: 0.74;
}

/* Featured section */

.jt-home-section-featured .jt-home-section-head {
  margin-bottom: 18px;
}

/* Scroll cue */

.jt-scroll-cue {
  display: block;
  border: 0;
  background: transparent;
  color: inherit;
  margin: 160px auto 24px;
  width: 34px;
  height: 34px;
  opacity: 0.72;
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: pointer;
}

.jt-scroll-cue {
  animation: jtCueBounce 2.4s ease-in-out infinite;
}

@keyframes jtCueBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.jt-scroll-cue {
  position: relative;
  z-index: 2;
  display: block;
}

.jt-scroll-cue.is-hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.jt-scroll-cue-chevron {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255,255,255,0.85);
  border-bottom: 2px solid rgba(255,255,255,0.85);
  transform: rotate(45deg);

  filter:
    drop-shadow(0 0 6px rgba(80, 160, 255, 0.22))
    drop-shadow(0 4px 10px rgba(80, 160, 255, 0.28));
}

.jt-scroll-cue {
  position: relative;
  z-index: 2;

  filter:
    drop-shadow(0 0 10px rgba(80, 160, 255, 0.18))
    drop-shadow(0 6px 18px rgba(80, 160, 255, 0.22));
}

.jt-scroll-cue {
  animation: jtCueBounce 2.4s ease-in-out infinite,
             jtCueGlow 3.5s ease-in-out infinite;
}

@keyframes jtCueGlow {
  0%, 100% {
    filter:
      drop-shadow(0 0 6px rgba(80,160,255,0.18))
      drop-shadow(0 4px 10px rgba(80,160,255,0.22));
  }
  50% {
    filter:
      drop-shadow(0 0 12px rgba(80,160,255,0.32))
      drop-shadow(0 8px 20px rgba(80,160,255,0.30));
  }
}

/* Mobile */

@media (max-width: 640px) {
  .jt-home-hero {
    overflow: visible;
  }

  .jt-home-title,
  .jt-home-subtitle {
    padding-left: 18px;
    padding-right: 18px;
  }

  .jt-home-brand-logo {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .jt-home-jump-wrap {
    margin-top: 18px;
    margin-left: -20px;
    margin-right: -20px;
    padding-bottom: 12px;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .jt-home-jump {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 20px 12px;
    margin: 0;
  }

  .jt-home-jump::-webkit-scrollbar {
    display: none;
  }

  .jt-home-jump-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    box-shadow:
      0 5px 12px rgba(0, 0, 0, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
    filter: none;
  }

  .jt-home-search {
    margin-top: 8px;
    margin-left: 17px;
    margin-right: 17px;
    width: auto;
    max-width: none;
  }

  .jt-home-search-form {
    min-height: 50px;
    padding: 0 15px;
  }

  .jt-home-search-results {
    border-radius: 18px;
    padding: 10px;
  }

  .jt-home-search-result {
    display: block;
    padding: 13px 14px;
  }

  .jt-home-search-result-title {
    flex: none;
    margin-bottom: 4px;
  }

  .jt-home-search-result-meta {
    flex: none;
  }

  .jt-scroll-cue {
    margin-top: 212px;
    margin-bottom: 38px;
  }

  #home-top-tools {
    margin-top: -24px;
  }
}

body {
  overflow-x: hidden;
}

.site-shell {
  overflow: visible;
}

.jt-home-grid,
.jt-home-hero {
  overflow: visible;
}

@media (max-width: 640px) {
  .site-header {
    margin-left: 0;
  }

  .jt-home-jump-wrap {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    margin-left: 0;
    margin-right: 0;
  }
}

/* =========================
   PERFORMANCE PATCH (TEST)
   ========================= */



/* 2. Disable ALL blur (biggest win) */
*,
*::before,
*::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 3. Reduce heavy shadows */
.jt-home-card,
.jt-home-search-form,
.jt-home-search-results,
.jt-menu-toggle,
.jt-menu-drawer {
  box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;
}

/* 4. Replace overlay blur with simple opacity */
.jt-menu-overlay {
  background: rgba(0,0,0,.42) !important;
}

/* 5. Kill expensive filter animations */
.jt-scroll-cue,
.jt-scroll-cue-chevron {
  filter: none !important;
}



/* 7. Reduce transition cost */
* {
  transition-property:
    transform,
    opacity,
    background,
    background-color,
    border-color,
    box-shadow !important;
}

/* =========================
   DESKTOP HERO SPACING TWEAKS
   ========================= */

@media (min-width: 641px) {
  .site-shell {
    padding-top: 18px;
  }

  .jt-home-brand-logo {
    margin-top: 18px;
    margin-bottom: 10px;
  }

  .jt-home-brand-logo-img {
    height: 50px;
  }

  .jt-home-title {
    margin-bottom: 20px;
  }

  .jt-home-subtitle {
    margin-bottom: 6px;
  }

  .jt-home-jump-wrap {
    margin-top: 24px;
  }

  .jt-home-search {
    margin-top: 8px;
  }

  .jt-scroll-cue {
    margin-top: 125px;
    margin-bottom: 40px;
  }
}

.jt-home-brand-logo-img,
.site-logo img,
.jt-menu-brand img {
  filter:
    drop-shadow(0 0 18px rgba(80, 160, 255, 0.28))
    drop-shadow(0 10px 28px rgba(80, 160, 255, 0.32))
    drop-shadow(0 2px 6px rgba(80, 160, 255, 0.18));
}

@media (max-width: 640px) {
  .site-header .site-logo img {
    width: 215px;
  }

  .jt-home-brand-logo-img {
    height: 48px; /* keep homepage as-is */
  }

body:not(.jt-home) .site-header {
  margin-left: -12px;
}

}

/* =========================
   MOBILE HOMEPAGE FIX
   ========================= */

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  body {
    background: #212633 !important;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url("/assets/background.webp") center top / cover no-repeat;
  }

  html,
  body,
  .site-shell {
    overflow-x: hidden !important;
  }

  .jt-home-hero {
    transform: none !important;
  }
}

/* =========================
   LARGE DESKTOP TUNING
   ========================= */

@media (min-width: 1400px) {
  .site-shell {
    width: min(1280px, calc(100% - 140px));
  }

  .jt-home-brand-logo-img {
    height: 52px !important;
  }

  .jt-home-title {
    font-size: 3.2rem !important;
    max-width: 1100px;
    margin-bottom: 18px;
  }

  .jt-home-subtitle {
    max-width: 820px;
    font-size: 0.92rem;
  }

  .jt-home-jump-wrap {
    margin-top: 24px;
  }

  .jt-home-jump {
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

  .jt-home-search {
    max-width: 860px !important;
    margin-top: 20px;
  }

  .jt-scroll-cue {
    margin-top: 210px !important;
    margin-bottom: 48px !important;
  }
}

@media (min-width: 1800px) {
  .site-shell {
    width: min(1380px, calc(100% - 140px));
  }

  .jt-home-title {
    font-size: 3.6rem !important;
    max-width: 1180px;
  }

  .jt-home-search {
    max-width: 940px !important;
  }

  .jt-scroll-cue {
    margin-top: 235px !important;
  }
}

