/* V13: interior white notch navbar + safe spacing. Original effects untouched. */
:root{--nav13-blue:#3066ee}
/* Homepage remains a dark floating navbar. */
body:not(.inner-page) #site-header{z-index:500!important}
/* On internal routes match the reference: white ribbon, dark page underneath. */
body.inner-page{--interior-nav-height:82px;padding-top:calc(var(--interior-nav-height) + 48px)!important;overflow-x:clip}
body.inner-page::before{content:"";position:fixed;top:0;left:0;right:0;height:24px;background:#f6f8fc;z-index:9900;pointer-events:none}
body.inner-page #site-header{
 position:fixed!important;top:0!important;left:50%!important;width:min(1100px,calc(100% - 48px))!important;max-width:1100px!important;
 height:82px!important;margin:0!important;transform:translateX(-50%)!important;
 border:0!important;border-radius:0 0 30px 30px!important;
 background:#f6f8fc!important;color:#253550!important;
 box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 z-index:9910!important;padding:0 22px!important;gap:16px!important;
 transition:background .25s ease,color .25s ease!important
}
body.inner-page #site-header.nav-hidden,body.inner-page #site-header.is-scrolled{transform:translateX(-50%)!important;background:#f6f8fc!important;box-shadow:none!important}
body.inner-page #site-header::before,body.inner-page #site-header::after{content:"";position:absolute;top:0;width:52px;height:52px;pointer-events:none}
body.inner-page #site-header::before{right:100%;border-top-right-radius:38px;box-shadow:0 -23px 0 0 #f6f8fc}
body.inner-page #site-header::after{left:100%;border-top-left-radius:38px;box-shadow:0 -23px 0 0 #f6f8fc}
body.inner-page #site-header a,body.inner-page #site-header button,body.inner-page #site-header .headright,body.inner-page #site-header small{color:#646a76!important}
body.inner-page #site-header>a{display:flex;gap:10px;align-items:center;min-width:215px}
body.inner-page #site-header>a strong{color:#2f61e9!important}
body.inner-page #site-header>a small{color:#6b7280!important}
body.inner-page #site-header #nav{background:#e9ebef!important;color:#667085!important;border-radius:16px!important;padding:5px!important;display:flex;gap:2px;align-items:center}
body.inner-page #site-header #nav a{background:transparent!important;color:#636b79!important;border-radius:12px!important;font-size:13px!important;font-weight:500!important;padding:10px 12px!important;line-height:1.3!important;white-space:nowrap;transition:background .2s,color .2s,transform .2s}
body.inner-page #site-header #nav a.active,body.inner-page #site-header #nav a[aria-current=page]{background:#d6e1fa!important;color:#265be7!important;font-weight:700!important}
body.inner-page #site-header #nav a:hover{background:#dee4f1!important;transform:none!important}
body.inner-page #site-header #language-select{background:transparent!important;color:#5e6674!important;border:0!important;font-size:12px;max-width:75px}
body.inner-page #site-header #theme{color:#525b6b!important}
body.inner-page .inner-hero{margin-top:25px!important}
body.inner-page #scroll-progress{z-index:9990!important}
@media(max-width:950px){body.inner-page #site-header{width:min(100%,calc(100% - 28px))!important;padding:0 15px!important}body.inner-page #site-header>a{min-width:150px}body.inner-page #site-header #nav a{font-size:12px!important;padding:9px 7px!important}body.inner-page #site-header>a small{font-size:7px!important}}
@media(max-width:760px){body.inner-page{--interior-nav-height:68px;padding-top:calc(var(--interior-nav-height) + 28px)!important}body.inner-page::before{height:12px}body.inner-page #site-header{height:68px!important;top:0!important;width:calc(100% - 20px)!important;border-radius:0 0 21px 21px!important}body.inner-page #site-header #nav{display:none!important;position:absolute;top:calc(100% + 8px);left:10px;right:10px;width:auto;flex-direction:column;align-items:stretch;padding:9px!important;border:1px solid #d7dce5!important;background:#f6f8fc!important;box-shadow:0 16px 32px #0004}body.inner-page #site-header #nav.open{display:flex!important}body.inner-page #site-header #nav a{font-size:14px!important;padding:13px 12px!important}body.inner-page #site-header #menu{color:#22314b!important}body.inner-page #site-header>a{min-width:0}body.inner-page #site-header .headright{gap:9px}}
@media(max-width:390px){body.inner-page #site-header>a small{display:none}body.inner-page #site-header strong{font-size:12px!important}body.inner-page #site-header .headright>a{display:none}}
