/* glass header */
.site-header {
  background: rgba(255, 255, 255, .72) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}
.site-header-wrap.is-scrolled .site-header {
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: 0 8px 24px rgba(29, 33, 41, .06);
}

/* system nav injected from pt_nav */
.site-header-menu { display: flex !important; align-items: center; height: 72px; }
.site-header-menu .arco-menu-inner { display: flex !important; align-items: center; height: 100%; width: 100%; }
.site-header-menu .arco-menu-overflow-wrap {
  display: flex !important;
  align-items: center;
  gap: 26px;
  height: 100% !important;
  overflow: visible !important;
}
.site-nav-link {
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 0 0 6px;
  align-self: center;
  font-size: 15px;
  color: #4e5969;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.site-nav-link:hover { color: #1d2129; }
.site-nav-link.is-active { color: #1d2129; font-weight: 700; }
.site-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: #3370ff;
}

/* mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 1002; visibility: hidden; pointer-events: none; }
.mobile-drawer.open { visibility: visible; pointer-events: auto; }
.drawer-mask {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 30, .42);
  opacity: 0;
  transition: opacity .3s ease;
}
.mobile-drawer.open .drawer-mask { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(80vw, 340px);
  background: #fff;
  box-shadow: -16px 0 40px rgba(29, 33, 41, .14);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.34, .69, .1, 1);
  display: flex;
  flex-direction: column;
}
.mobile-drawer.open .drawer-panel { transform: none; }
.drawer-header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #f0f2f5;
}
.drawer-title { font-size: 16px; font-weight: 700; }
.drawer-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: #f4f6fa;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #4e5969;
}
.drawer-body { flex: 1; overflow: auto; padding: 12px 20px 24px; }
.drawer-nav-link {
  display: flex;
  align-items: center;
  height: 48px;
  font-size: 15px;
  color: #1d2129;
  text-decoration: none;
  border-bottom: 1px solid #f5f6f8;
}
.drawer-nav-link:last-of-type { border-bottom: 0; }
.drawer-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.drawer-btn {
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.drawer-btn-primary { background: #3370ff; color: #fff; }
.drawer-btn-ghost { background: #f4f6fa; color: #1d2129; }
body.drawer-open { overflow: hidden; }

@media (min-width: 1301px) { .mobile-drawer { display: none; } }
@media (max-width: 1300px) {
  .site-header-menu { display: none !important; }
  .site-header-burger { display: inline-flex !important; }
}

/* reveal on scroll */
.js .reveal.reveal-init {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.js .reveal.reveal-init.in { opacity: 1; transform: none; }

/* hero tab fade */
#heroTitle, #heroDesc { transition: opacity .2s ease, transform .2s ease; }
.is-fading #heroTitle, .is-fading #heroDesc { opacity: 0; transform: translateY(6px); }
[class*="_heroPill_"] { transition: background .2s ease, color .2s ease, box-shadow .2s ease; }

/* footer logo on white plate */
[class*="_siteFooterLogoRow_"] {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  width: fit-content;
  margin-bottom: 16px;
}
[class*="_siteFooterLogoRow_"] img { height: 26px; width: auto; }
[class*="_siteFooterSlogan_"] {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* settlement */
.settle {
  position: relative;
  overflow: hidden;
  padding: 72px 0 24px;
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 58%);
}
.settle::before,
.settle::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.settle::before {
  width: 360px;
  height: 360px;
  right: -80px;
  top: -60px;
  background: radial-gradient(circle, rgba(51, 112, 255, .12), rgba(51, 112, 255, 0) 70%);
}
.settle::after {
  width: 300px;
  height: 300px;
  left: -100px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(51, 112, 255, .07), rgba(51, 112, 255, 0) 70%);
}
.settle .container { position: relative; z-index: 1; }
.settle-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e8edf5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(51, 112, 255, .08);
  padding: 30px 32px;
}
.settle-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3370ff, #7aa2ff, #d6e4ff);
}
.settle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef3fb;
}
.settle-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.settle-heading-text { min-width: 0; }
.settle-head h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.settle-head p { margin: 0; font-size: 13px; color: #4e5969; }
.settle-more {
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #3370ff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease;
}
.settle-more:hover { background: #e0ebff; }
.settle-more em { font-style: normal; margin-left: 2px; }
.settle-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; min-width: 0; }
.settle-item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 10px;
  border-radius: 12px;
  text-decoration: none;
  min-width: 0;
  transition: background .2s ease;
}
.settle-item:hover { background: #f5f9ff; }
.settle-date {
  flex: 0 0 52px;
  width: 52px;
  text-align: center;
  border-right: 1px solid #eef1f6;
}
.settle-date b { display: block; font-size: 14px; color: #1d2129; }
.settle-date i { font-style: normal; font-size: 11px; color: #8a94a6; }
.settle-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #1d2129;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.settle-arrow { color: #c0c7d4; font-size: 14px; }
.settle-empty { padding: 20px 10px; font-size: 14px; color: #8a94a6; }
.template-copyright { font-size: 12px; color: rgba(255, 255, 255, .42); margin-top: 6px; letter-spacing: .02em; }

@media (max-width: 900px) {
  .settle { padding: 56px 0 16px; }
  .settle::before { width: 240px; height: 240px; right: -90px; top: -50px; }
  .settle::after { width: 200px; height: 200px; left: -80px; }
  .settle-card { padding: 22px 20px; border-radius: 20px; }
  .settle-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .settle-heading { width: 100%; }
  .settle-head h2 { font-size: 22px; }
  .settle-list { grid-template-columns: 1fr; }
  .settle-item { height: 54px; gap: 10px; padding: 0 4px; }
  .settle-title { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal.reveal-init { opacity: 1 !important; transform: none !important; }
  .drawer-panel, .drawer-mask, #heroTitle, #heroDesc { transition: none !important; }
}
