:root{
  --fc-header-h:62px;
  --fc-bg:#081126;
  --fc-panel:#0d1831;
  --fc-panel-2:#101d3f;
  --fc-line:rgba(255,255,255,.12);
  --fc-text:#fff;
  --fc-muted:rgba(255,255,255,.72);
  --fc-accent1:#8cf4ff;
  --fc-accent2:#ff8fd0;
  --fc-accent3:#ffc584;
  --fc-accent4:#8fffb8;
  --fc-shadow:0 18px 40px rgba(2,8,23,.28);
}
html{margin:0!important;padding:0!important;scroll-padding-top:calc(var(--fc-header-h) + 10px)}
body.fc-has-global-header{padding-top:var(--fc-header-h)!important}
.fc-global-header{
  position:fixed;top:0;left:0;right:0;z-index:99999;width:100%;margin:0!important;
  background:
    linear-gradient(90deg,rgba(126,35,206,.16),transparent 26%,transparent 74%,rgba(71,180,255,.16)),
    linear-gradient(180deg,rgba(8,13,30,.97),rgba(9,17,38,.94));
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:0 12px 32px rgba(0,0,0,.20);
}
.fc-header-inner{
  width:min(1320px,calc(100% - 18px));margin:0 auto;min-height:var(--fc-header-h);
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.fc-brand{
  display:flex;align-items:center;justify-content:flex-end;gap:0;text-decoration:none;min-width:0;flex:0 1 auto;
}
.fc-brand-text{display:flex;flex-direction:column;line-height:1;min-width:0;text-align:right;position:relative}
.fc-brand-title{
  font-size:22px;font-weight:900;letter-spacing:-.05em;line-height:.95;white-space:nowrap;
  background:linear-gradient(90deg,#9ef6ff 0%,#74c4ff 23%,#ffd38d 47%,#ff8fb9 71%,#9dffd3 100%);
  background-size:220% auto;
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:0 0 18px rgba(110,208,255,.18),0 0 28px rgba(255,122,194,.14);
  filter:drop-shadow(0 0 8px rgba(110,208,255,.24)) drop-shadow(0 0 10px rgba(255,160,123,.20));
  animation:fcShimmer 8s linear infinite;
}
.fc-brand-title::after{
  content:"";position:absolute;left:0;right:0;top:0;bottom:auto;height:2px;opacity:.65;
  background:linear-gradient(90deg,transparent,rgba(158,246,255,.86),rgba(255,143,208,.9),transparent);
  filter:blur(6px)
}
.fc-brand-sub{
  font-size:9px;font-weight:800;letter-spacing:.24em;text-transform:uppercase;margin-top:4px;white-space:nowrap;
  background:linear-gradient(90deg,#fff5cf 0%,#9ef6ff 35%,#ffb0d7 68%,#aafdc8 100%);
  background-size:220% auto;
  -webkit-background-clip:text;background-clip:text;color:transparent;opacity:.96;
  text-shadow:0 0 14px rgba(255,255,255,.12);animation:fcShimmer 10s linear infinite;
}
.fc-menu-btn{
  display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;position:relative;
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);border-radius:12px;color:#fff;cursor:pointer;flex:0 0 auto;
  box-shadow:0 8px 18px rgba(0,0,0,.14);order:1
}
.fc-menu-btn span,.fc-menu-btn::before,.fc-menu-btn::after{content:"";display:block;position:absolute;width:16px;height:2px;background:currentColor;border-radius:999px;transition:.25s ease}
.fc-menu-btn span{transform:translateY(0)}
.fc-menu-btn::before{transform:translateY(-5px)}
.fc-menu-btn::after{transform:translateY(5px)}
.fc-menu-btn[aria-expanded="true"] span{opacity:0}
.fc-menu-btn[aria-expanded="true"]::before{transform:rotate(45deg)}
.fc-menu-btn[aria-expanded="true"]::after{transform:rotate(-45deg)}
.fc-brand{order:3;margin-left:auto}

.fc-header-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;order:1}
.fc-search-btn{
  display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.85);background:#fff;
  color:#0b1730;cursor:pointer;box-shadow:0 10px 22px rgba(0,0,0,.16);font:800 12px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.fc-search-btn:hover{transform:translateY(-1px);border-color:#fff;background:#fff;box-shadow:0 14px 28px rgba(0,0,0,.20)}
.fc-search-btn:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(255,255,255,.35),0 14px 28px rgba(0,0,0,.20)}
.fc-search-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 16px}
.fc-search-label{white-space:nowrap}
.fc-search-overlay[hidden]{display:none!important}
.fc-search-overlay{position:fixed;inset:0;z-index:100001;background:rgba(2,8,23,.45);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:calc(var(--fc-header-h) + 14px) 12px 14px}
.fc-search-panel{width:min(680px,100%);margin:0 auto;background:linear-gradient(180deg,rgba(9,17,38,.98),rgba(10,18,38,.98));border:1px solid rgba(255,255,255,.12);border-radius:24px;box-shadow:0 24px 54px rgba(0,0,0,.30);padding:16px}
.fc-search-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.fc-search-head strong{font-size:16px;letter-spacing:-.02em;color:#fff}
.fc-search-close{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#fff;cursor:pointer}
.fc-search-close svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
.fc-search-form{display:grid;gap:12px}
.fc-search-field{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06)}
.fc-search-field svg{width:18px;height:18px;stroke:#9ef6ff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 18px}
.fc-search-field input{flex:1 1 auto;min-width:0;background:transparent;border:0;outline:0;color:#fff;font-size:15px;font-weight:600}
.fc-search-field input::placeholder{color:rgba(255,255,255,.56)}
.fc-search-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;border-radius:16px;border:0;background:linear-gradient(90deg,#4f7cff,#5ae3ff);color:#081126;font-weight:900;font-size:13px;cursor:pointer;box-shadow:0 16px 28px rgba(79,124,255,.30)}
.fc-search-submit svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fc-search-meta{display:grid;gap:10px;margin-top:4px}
.fc-search-chips{display:flex;flex-wrap:wrap;gap:8px}
.fc-search-chip{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05);color:rgba(255,255,255,.82);font-size:12px;font-weight:700;cursor:pointer}
.fc-search-hint{font-size:12px;line-height:1.6;color:rgba(255,255,255,.68)}
.fc-nav{
  position:fixed;left:9px;right:9px;top:calc(var(--fc-header-h) + 8px);display:none;flex-direction:column;gap:8px;
  padding:12px;background:linear-gradient(180deg,rgba(9,16,34,.99),rgba(10,18,38,.98));
  border:1px solid rgba(255,255,255,.10);border-radius:18px;box-shadow:0 22px 48px rgba(0,0,0,.34)
}
body.fc-nav-open .fc-nav{display:flex}
.fc-nav a,.fc-nav details summary,.fc-nav .fc-nav-label{
  display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:10px 12px;border-radius:13px;
  color:#fff;text-decoration:none;font-size:12px;font-weight:700;background:rgba(255,255,255,.04);border:1px solid transparent;cursor:pointer;list-style:none
}
.fc-nav details summary::-webkit-details-marker{display:none}
.fc-nav a:hover,.fc-nav details summary:hover,.fc-nav a.fc-active,.fc-nav details summary.fc-active{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.10)}
.fc-nav details{display:grid;gap:8px}
.fc-nav .fc-submenu{display:grid;gap:8px;padding-left:8px}
.fc-nav .fc-submenu a{font-size:12px;font-weight:600;background:rgba(255,255,255,.03)}
.fc-chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.fc-chip{padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.05);font-size:11px;color:var(--fc-muted);border:1px solid rgba(255,255,255,.08)}
.fc-global-footer{
  margin-top:22px;background:
    radial-gradient(circle at 12% 15%, rgba(140,244,255,.08), transparent 20%),
    radial-gradient(circle at 88% 10%, rgba(255,143,208,.08), transparent 18%),
    linear-gradient(180deg,#091225 0%,#07101f 100%);
  color:#fff;border-top:1px solid rgba(255,255,255,.08)
}
.fc-footer-inner{width:min(1320px,calc(100% - 18px));margin:0 auto;padding:14px 0 16px}
.fc-footer-top{display:grid;gap:10px}
.fc-footer-brand{display:flex;align-items:center;gap:8px;min-width:0}
.fc-footer-brand .fc-brand-logo-wrap{width:28px;height:28px;border-radius:10px;padding:1px}
.fc-footer-brand .fc-brand-logo{border-radius:9px}
.fc-footer-brand .fc-brand-title{font-size:16px;line-height:1}
.fc-footer-brand .fc-brand-sub{font-size:8px;letter-spacing:.18em;margin-top:3px}
.fc-footer-copy{display:none}
.fc-footer-links{
  display:flex;flex-wrap:wrap;gap:7px 10px;align-items:center
}
.fc-footer-links a,.fc-footer-bottom a{
  color:rgba(255,255,255,.76);text-decoration:none;font-size:11px;line-height:1.4
}
.fc-footer-links a:hover,.fc-footer-bottom a:hover{color:#fff}
.fc-footer-sep{opacity:.22}
.fc-footer-bottom{
  margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.08);display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:space-between;align-items:center;font-size:11px;color:var(--fc-muted)
}
.fc-footer-mini-links{display:flex;flex-wrap:wrap;gap:8px 12px}
body.fc-has-global-footer .mobile-bottom-nav,body.fc-has-global-footer .page-footer,body.fc-has-global-footer .site-footer,body.fc-has-global-footer .footer:not(.fc-global-footer){display:none!important}
body[data-fc-page="home"] .brand-wrap,body[data-fc-page="calculators"] .brand-wrap{display:none!important}
@keyframes fcShimmer{0%{background-position:0% 50%}100%{background-position:220% 50%}}
@media (min-width:992px){
  .fc-menu-btn{display:none}
  .fc-header-actions{order:2;margin-left:12px}
  .fc-nav{position:static;display:flex!important;flex-direction:row;align-items:center;justify-content:flex-start;gap:6px;padding:0;background:transparent;border:0;box-shadow:none;left:auto;right:auto;top:auto;order:1;margin-right:auto}
  .fc-nav a,.fc-nav details summary{min-height:36px;padding:8px 11px;background:transparent;border:1px solid transparent;font-size:12px}
  .fc-nav details{position:relative}
  .fc-nav .fc-submenu{display:none;position:absolute;top:calc(100% + 8px);left:0;min-width:240px;padding:10px;background:rgba(10,18,38,.98);border:1px solid rgba(255,255,255,.10);border-radius:16px;box-shadow:0 18px 40px rgba(0,0,0,.28)}
  .fc-nav details[open] .fc-submenu,.fc-nav details:hover .fc-submenu{display:grid}
  .fc-brand{order:3;margin-left:14px}
  .fc-footer-top{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);align-items:center}
  .fc-footer-links{justify-content:flex-end}
}
@media (max-width:760px){
  .fc-search-btn{width:38px;padding:0;justify-content:center}
  .fc-search-label{display:none}
  .fc-search-overlay{padding:calc(var(--fc-header-h) + 10px) 10px 10px}
  .fc-search-panel{padding:14px;border-radius:20px}
}
@media (max-width:520px){
  :root{--fc-header-h:58px}
  .fc-header-inner,.fc-footer-inner{width:calc(100% - 12px)}
  .fc-brand-title{font-size:19px}
  .fc-brand-sub{font-size:8px;letter-spacing:.18em}
  .fc-footer-brand .fc-brand-logo-wrap{width:24px;height:24px;border-radius:8px}
  .fc-footer-brand .fc-brand-title{font-size:14px}
  .fc-footer-links a,.fc-footer-bottom a,.fc-footer-bottom{font-size:10px}
}
