/* Khan Advisory: site header (one header for every page) */
.kkh{position:fixed;top:0;left:0;right:0;z-index:1000;background:#fff;border-bottom:1px solid #E2E6EF;font-family:"Inter",system-ui,-apple-system,sans-serif;padding-top:env(safe-area-inset-top,0px);transition:background .3s cubic-bezier(.4,.1,.2,1),border-color .3s,box-shadow .3s}
.kkh *{box-sizing:border-box}
.kkh-in{max-width:1180px;margin:0 auto;padding:0 28px;height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.kkh-brand{position:relative;display:block;width:150px;height:48px;flex:none}
.kkh-brand img{position:absolute;left:0;top:50%;transform:translateY(-50%);height:46px;width:auto;transition:opacity .3s}
.kkh-brand .w{opacity:0}
.kkh-nav{display:flex;align-items:center;gap:28px}
.kkh-nav a{font-size:14.5px;font-weight:600;color:#0E1C3D;text-decoration:none;padding:8px 0;border-bottom:2px solid transparent;transition:color .2s,border-color .2s;white-space:nowrap}
.kkh-nav a:hover{color:#1B3A8B}
.kkh-nav a[aria-current="page"]{border-bottom-color:#C8872B}
.kkh .kkh-cta{display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;line-height:1;padding:13px 22px!important;margin:0;border-radius:7px;background:#1B3A8B;color:#fff!important;border:1px solid transparent!important;text-decoration:none;white-space:nowrap;transition:background .2s}
.kkh .kkh-cta:hover{background:#14307A}
.kkh-burger{display:none;width:46px;height:46px;margin-right:-10px;background:none;border:0;cursor:pointer;align-items:center;justify-content:center;border-radius:8px}
.kkh-burger svg{display:block}
.kkh-burger path{stroke:#0E1C3D;stroke-width:2;transition:stroke .3s}
.kkh-burger:focus-visible,.kkh-nav a:focus-visible,.kkh-drawer a:focus-visible{outline:2px solid #C8872B;outline-offset:3px}
/* spacer keeps content clear of the fixed header */
.kkh-sp{height:calc(76px + env(safe-area-inset-top,0px))}
@media(max-width:1040px){.kkh-sp{height:calc(64px + env(safe-area-inset-top,0px))}}
/* overlay mode: homepage hero */
.kkh.overlay{position:fixed;background:transparent;border-bottom-color:transparent}
.kkh.overlay .kkh-brand .w{opacity:1}.kkh.overlay .kkh-brand .c{opacity:0}
.kkh.overlay .kkh-nav a{color:#fff}
.kkh.overlay .kkh-nav a[aria-current="page"]{border-bottom-color:#E8A33D}
.kkh.overlay .kkh-nav .kkh-cta{background:transparent;border-color:rgba(255,255,255,.6)!important}
.kkh.overlay .kkh-burger path{stroke:#fff}
.kkh.overlay.scrolled{background:rgba(255,255,255,.97);border-bottom-color:#E2E6EF;box-shadow:0 2px 20px -14px rgba(14,28,61,.4)}
.kkh.open{background:#fff;border-bottom-color:#E2E6EF;box-shadow:none}
.kkh.overlay.scrolled .kkh-brand .w,.kkh.open .kkh-brand .w{opacity:0}
.kkh.overlay.scrolled .kkh-brand .c,.kkh.open .kkh-brand .c{opacity:1}
.kkh.overlay.scrolled .kkh-nav a{color:#0E1C3D}
.kkh.overlay.scrolled .kkh-nav .kkh-cta{background:#1B3A8B;border-color:transparent!important}
.kkh.overlay.scrolled .kkh-burger path,.kkh.open .kkh-burger path{stroke:#0E1C3D}
/* mobile drawer */
.kkh-drawer{display:none}
@media(max-width:1040px){
 .kkh-nav{display:none}
 .kkh-burger{display:inline-flex}
 .kkh-in{height:64px;padding:0 20px}
 .kkh-brand{width:120px;height:42px}.kkh-brand img{height:40px}
 .kkh-drawer{display:block;position:fixed;left:0;right:0;top:calc(64px + env(safe-area-inset-top,0px));bottom:0;background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:8px 20px calc(28px + env(safe-area-inset-bottom,0px));transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s;border-top:1px solid #E2E6EF}
 .kkh.open .kkh-drawer{opacity:1;visibility:visible;transform:none}
 .kkh-drawer a{display:flex;align-items:center;justify-content:space-between;min-height:54px;font-size:18px;font-weight:600;color:#0E1C3D;text-decoration:none;border-bottom:1px solid #EEF1F6}
 .kkh-drawer a[aria-current="page"]{color:#1B3A8B}
 .kkh-drawer a:not(.kkh-cta)::after{content:"\203A";font-size:22px;color:#9AA3B5}
 .kkh .kkh-drawer .kkh-cta{width:100%;margin-top:22px;min-height:52px;font-size:16px;border-bottom:0}
 .kkh-drawer p{margin:16px 0 0;font-size:14px;color:#5A6170;line-height:1.5}
 .kkh-drawer p a{display:inline;min-height:0;font-size:14px;border:0;color:#1B3A8B}
 .kkh-drawer p a::after{content:none!important}
}
html.kkh-lock,html.kkh-lock body{overflow:hidden}
@media(prefers-reduced-motion:reduce){.kkh,.kkh *{transition:none!important}}
