.tn {

  --tn-text: #ffffff;
  --tn-box-bg: rgba(10, 27, 58, 0.86);
  --tn-panel: rgba(12, 30, 63, 0.94);
  --tn-accent: #e9a842;
  --tn-accent-text: #081731;
  --tn-mobile-bg: #0e2246;
  --tn-h: 76px;
  --tn-max-w: 1440px;
  --tn-pad: 48px;
  --tn-logo-h: 45px;
  --tn-logo-h-box: 36px;
  --tn-logo-ratio: 3.9216;
  --tn-icon-frac: 0.235;

  --tn-muted: rgba(255, 255, 255, 0.6);
  --tn-line: rgba(255, 255, 255, 0.09);
  --tn-hover: rgba(255, 255, 255, 0.07);
  --tn-blur-h: calc(var(--tn-h) + 32px);

  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--tn-text);
  -webkit-font-smoothing: antialiased;
}
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .tn {
    --tn-muted: color-mix(in srgb, var(--tn-text) 60%, transparent);
    --tn-line: color-mix(in srgb, var(--tn-text) 10%, transparent);
    --tn-hover: color-mix(in srgb, var(--tn-text) 8%, transparent);
  }
}

.tn.tn--editor { position: relative; }
.tn.tn--editor .tn-blur { display: none; }
.tn--no-blur .tn-blur { display: none; }

.tn *, .tn *::before, .tn *::after { box-sizing: border-box; }
.tn a, .tn a:hover, .tn a:focus { color: inherit; text-decoration: none; }
:where(.tn) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }

.tn ul, .tn ol { list-style: none; margin: 0; padding: 0; }
.tn li { list-style: none; margin: 0; padding: 0; }

.tn .tn-menu > .tn-item,
.tn .tn-menu > .tn-item + .tn-item { margin: 0; padding: 0; }
.tn li::before, .tn li::after { content: none; display: none; }
.tn li::marker { content: ""; }

.tn .tn-link, .tn .tn-burger, .tn .tn-close, .tn .tn-acc-head {
  background-color: transparent; border: 0; box-shadow: none;
  color: inherit; font-family: inherit; text-transform: none; letter-spacing: normal; min-width: 0;
}
.tn .tn-link:hover, .tn .tn-item.is-open > .tn-link,
.tn .tn-burger:hover, .tn .tn-close:hover { background-color: var(--tn-hover); }

.tn-blur {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--tn-blur-h);
  pointer-events: none;
  z-index: -1;
}
.tn-blur > div { position: absolute; inset: 0; }
.tn-blur > div:nth-child(1) { backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); -webkit-mask-image: linear-gradient(#000 0%, #000 10%, transparent 30%); mask-image: linear-gradient(#000 0%, #000 10%, transparent 30%); }
.tn-blur > div:nth-child(2) { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); -webkit-mask-image: linear-gradient(transparent 0%, #000 10%, #000 20%, transparent 40%); mask-image: linear-gradient(transparent 0%, #000 10%, #000 20%, transparent 40%); }
.tn-blur > div:nth-child(3) { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); -webkit-mask-image: linear-gradient(transparent 0%, #000 20%, #000 30%, transparent 50%); mask-image: linear-gradient(transparent 0%, #000 20%, #000 30%, transparent 50%); }
.tn-blur > div:nth-child(4) { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); -webkit-mask-image: linear-gradient(transparent 10%, #000 30%, #000 40%, transparent 60%); mask-image: linear-gradient(transparent 10%, #000 30%, #000 40%, transparent 60%); }
.tn-blur > div:nth-child(5) { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); -webkit-mask-image: linear-gradient(transparent 20%, #000 40%, #000 50%, transparent 70%); mask-image: linear-gradient(transparent 20%, #000 40%, #000 50%, transparent 70%); }
.tn-blur > div:nth-child(6) { backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); -webkit-mask-image: linear-gradient(transparent 30%, #000 50%, #000 60%, transparent 80%); mask-image: linear-gradient(transparent 30%, #000 50%, #000 60%, transparent 80%); }
.tn-blur > div:nth-child(7) { backdrop-filter: blur(0.5px); -webkit-backdrop-filter: blur(0.5px); -webkit-mask-image: linear-gradient(transparent 40%, #000 60%, #000 70%, transparent 90%); mask-image: linear-gradient(transparent 40%, #000 60%, #000 70%, transparent 90%); }
.tn-blur > div:nth-child(8) { backdrop-filter: blur(0.25px); -webkit-backdrop-filter: blur(0.25px); -webkit-mask-image: linear-gradient(transparent 50%, #000 70%, #000 80%, transparent 100%); mask-image: linear-gradient(transparent 50%, #000 70%, #000 80%, transparent 100%); }

.tn {
  --tn-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --tn-box-w: 940px;
  --tn-box-h: 60px;
  --tn-box-top: 16px;
  --tn-box-radius: 999px;
}
.tn-bar {
  position: relative;
  width: min(100%, var(--tn-max-w));
  height: var(--tn-h);
  margin: 0 auto;
  padding: 0 var(--tn-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--tn-box-radius);
  transition:
    width 0.45s var(--tn-ease),
    height 0.45s var(--tn-ease),
    margin-top 0.45s var(--tn-ease),
    padding 0.45s var(--tn-ease);
}

.tn-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--tn-box-bg);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 10px 30px -8px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.3s var(--tn-ease), transform 0.45s var(--tn-ease);
}
.tn.is-boxed .tn-bar {
  width: min(calc(100% - 32px), var(--tn-box-w));
  min-width: max-content;
  height: var(--tn-box-h);
  margin-top: var(--tn-box-top);
  padding: 0 7px 0 20px;
}
.tn.is-boxed .tn-bar::before { opacity: 1; transform: none; }

.tn-left { display: flex; align-items: center; gap: 36px; min-width: 0; transition: gap 0.45s var(--tn-ease); }
.tn.is-boxed .tn-left { gap: 20px; }

.tn-logo { display: flex; align-items: center; flex-shrink: 0; }
.tn-logo img { width: auto; max-width: none; display: block; }
.tn-bar .tn-logo {
  position: relative;
  height: var(--tn-logo-h);
  width: calc(var(--tn-logo-h) * var(--tn-logo-ratio));
  overflow: hidden;
  transition: width 0.45s var(--tn-ease), height 0.45s var(--tn-ease);
}
.tn-bar .tn-logo img { height: 100%; transition: opacity 0.3s ease; }
.tn.is-boxed .tn-bar .tn-logo {
  height: var(--tn-logo-h-box);
  width: calc(var(--tn-logo-h-box) * var(--tn-logo-ratio));
}

.tn--collapse-logo.is-boxed .tn-bar .tn-logo {
  width: calc(var(--tn-logo-h-box) * var(--tn-logo-ratio) * var(--tn-icon-frac));
}

.tn--has-icon .tn-bar .tn-logo-icon { position: absolute; left: 0; top: 0; opacity: 0; }
.tn--has-icon.is-boxed .tn-bar .tn-logo { width: calc(var(--tn-logo-h-box) * var(--tn-icon-ratio, 1)); }
.tn--has-icon.is-boxed .tn-bar .tn-logo-full { opacity: 0; }
.tn--has-icon.is-boxed .tn-bar .tn-logo-icon { opacity: 1; }

.tn-menu { display: flex; align-items: center; gap: 2px; }
.tn-item { position: relative; }
.tn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.tn-link:hover,
.tn-item.is-open > .tn-link { background: var(--tn-hover); }
.tn-chev { width: 10px; height: 10px; opacity: 0.8; transition: transform 0.2s ease; }
.tn-item.is-open > .tn-link .tn-chev { transform: rotate(180deg); }

.tn :focus-visible { outline: 2px solid var(--tn-accent); outline-offset: 2px; }

.tn-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.tn-btn--ghost { background: rgba(255, 255, 255, 0.08); }
.tn-btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }
.tn-btn--primary { background: var(--tn-accent); color: var(--tn-accent-text) !important; font-weight: 600; }
.tn-btn--primary:hover { filter: brightness(1.08); }
.tn-btn:active { transform: translateY(1px); }
.tn-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.14); }

.tn.is-boxed .tn-dd { top: calc(100% + 14px); }

.tn-dd {
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  padding: 8px;
  background: var(--tn-panel);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid var(--tn-line);
  border-radius: 12px;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.tn-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.tn-item.is-open > .tn-dd {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}

.tn-row { display: block; padding: 10px 12px; border-radius: 8px; transition: background-color 0.12s ease; }
.tn-row:hover, .tn-row.is-active { background: var(--tn-hover); }
.tn-row-title { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.tn-row-desc { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--tn-muted); }
.tn-dd--list { width: 290px; }
.tn-badge {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em;
  padding: 2px 6px; border-radius: 4px;
  background: color-mix(in srgb, var(--tn-accent) 18%, transparent); color: var(--tn-accent);
}

.tn-dd--mega { width: 620px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.tn-mega-left { padding: 8px; border-right: 1px solid var(--tn-line); display: flex; flex-direction: column; }
.tn-mega-right { padding: 8px; }
.tn-role { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tn-arrow { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.45; transition: opacity 0.12s, transform 0.12s; }
.tn-role.is-active .tn-arrow { opacity: 0.9; transform: translateX(2px); }
.tn-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.tn-role:nth-child(4n+1) .tn-dot { --dot: #e9a842; }
.tn-role:nth-child(4n+2) .tn-dot { --dot: #4f7ee6; }
.tn-role:nth-child(4n+3) .tn-dot { --dot: #3fb27f; }
.tn-role:nth-child(4n+4) .tn-dot { --dot: #d9605f; }
.tn-dot { background: var(--dot); background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--dot) 45%, #fff), var(--dot) 70%); }

.tn-pane { display: none; }
.tn-pane.is-active { display: block; animation: tn-pane-in 0.18s ease; }
@keyframes tn-pane-in { from { opacity: 0; transform: translateX(4px); } to { opacity: 1; transform: none; } }

.tn-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: auto -8px -8px;
  padding: 12px 18px;
  border-top: 1px solid var(--tn-line);
  border-radius: 0 0 0 12px;
  transition: background-color 0.12s ease;
}
.tn-feature:hover { background: var(--tn-hover); }
.tn-feature-thumb {
  width: 52px; height: 36px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #1b3466, #081731);
  border: 1px solid var(--tn-line);
}
.tn-feature-thumb svg { width: 14px; height: 14px; fill: var(--tn-accent); }

.tn-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.tn-burger span { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor; }

.tn-mobile {
  position: fixed;
  inset: 0;
  z-index: 2;
  padding: 8px;
  background: rgba(3, 10, 24, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}
.tn.is-mobile-open .tn-mobile { opacity: 1; visibility: visible; transition: opacity 0.22s ease, visibility 0s; }
.tn-mobile-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--tn-mobile-bg);
  border: 1px solid var(--tn-line);
  border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tn.is-mobile-open .tn-mobile-card { transform: none; }
.tn-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px 20px; }
.tn-mobile-head .tn-logo img { height: 34px; }
.tn-close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; }
.tn-close svg { width: 16px; height: 16px; }
.tn-mobile-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 16px; }

.tn-acc { border-bottom: 1px solid var(--tn-line); }
.tn-acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 15px; font-weight: 500; text-align: left; }
.tn-acc-head .tn-chev { width: 12px; height: 12px; }
.tn-acc.is-open .tn-acc-head .tn-chev { transform: rotate(180deg); }
.tn-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.25s ease; }
.tn-acc.is-open .tn-acc-body { grid-template-rows: 1fr; }
.tn-acc-inner { overflow: hidden; }
.tn-acc-inner > :last-child { margin-bottom: 14px; }
.tn-acc-label { margin: 14px 0 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tn-muted); }
.tn-acc-link { display: block; padding: 9px 0; font-size: 14.5px; color: rgba(255, 255, 255, 0.88); }
.tn-acc-link:hover { color: #fff; }
.tn-acc-label--link { display: block; padding: 4px 0; }
.tn-acc-label--link:hover { color: var(--tn-text); }

.tn-mobile-foot { display: flex; align-items: center; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid var(--tn-line); }
.tn-mobile-foot .tn-btn { height: 46px; font-size: 15px; }
.tn-mobile-foot .tn-btn--primary { flex: 1; }
.tn-social { display: flex; gap: 2px; margin-right: auto; }
.tn-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; opacity: 0.8; }
.tn-social a:hover { opacity: 1; background: var(--tn-hover); }
.tn-social svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 1240px) {
  .tn-bar { padding: 0 24px; }
  .tn-left { gap: 20px; }
  .tn-link { padding: 10px 10px; }
}

@media (max-width: 1120px) {
  .tn { --tn-logo-h: 33px; --tn-h: 68px; }
  .tn .tn-bar { padding: 0 20px; gap: 16px; }
  .tn .tn-left { gap: 14px; }
  .tn .tn-link { padding: 9px 8px; font-size: 13.5px; gap: 5px; }
  .tn .tn-right { gap: 6px; }
  .tn .tn-btn { height: 40px; padding: 0 18px; font-size: 14px; }
  .tn.is-boxed .tn-left { gap: 12px; }
}

@media (max-width: 1024px) {
  .tn .tn-menu, .tn .tn-hide-mobile { display: none; }
  .tn .tn-burger { display: inline-flex; }
  .tn .tn-bar { padding: 0 12px 0 18px; }
  .tn .tn-right { gap: 4px; }
  .tn .tn-right .tn-btn { height: 40px; padding: 0 16px; font-size: 14px; }
  .tn { --tn-box-h: 52px; --tn-box-top: 8px; }
  .tn.is-boxed .tn-bar { width: calc(100% - 16px); padding: 0 6px 0 16px; }

  .tn { --tn-h: 64px; --tn-logo-h: 36px; --tn-logo-h-box: 32px; }
  .tn.is-boxed .tn-bar .tn-logo { width: calc(var(--tn-logo-h-box) * var(--tn-logo-ratio)); }
  .tn.is-boxed .tn-bar .tn-logo-full { opacity: 1; }
  .tn.is-boxed .tn-bar .tn-logo-icon { opacity: 0; }
}

.tn.tn--collapsed .tn-menu { display: none; }
.tn.tn--collapsed .tn-burger { display: inline-flex; }
@media (max-width: 380px) {
  .tn-social { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tn, .tn * { transition: none !important; animation: none !important; }
}

.tn-empty { padding: 8px 14px; font-size: 13px; opacity: 0.7; font-style: italic; }
