/* One public header, one set of rules, shared by L’app and Méthodologie. */
#vestr-public-header{--header-font:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;position:fixed;inset:0 0 auto;z-index:1000;display:flex;align-items:center;justify-content:flex-end;width:100%;height:76px;margin:0;padding:20px 28px;border:0;border-radius:0;background:transparent;color:#fff;mix-blend-mode:difference;--public-header-bg:#000;--public-header-ink:#fff;box-shadow:none;transform:none;backdrop-filter:none;font:400 15px/1.55 var(--header-font);letter-spacing:normal;box-sizing:border-box}
/* Difference blending reads the rendered surface, including contrasting sections. */
html[data-theme=light] #vestr-public-header{--public-header-bg:#000;--public-header-ink:#fff}
#vestr-public-header *{box-sizing:border-box}
#vestr-public-header .nav-logo{position:absolute;top:20px;left:28px;z-index:auto;padding:0;margin:0;background:none;color:inherit;-webkit-text-fill-color:currentColor;font:780 21.24px/1 Satoshi,Arial,sans-serif!important;letter-spacing:-.025em!important;text-decoration:none;font-synthesis:none}
#vestr-public-header .nav-links{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:26px;margin:0;padding:0;opacity:1;visibility:visible}
#vestr-public-header .nav-links a{color:inherit;font:400 13.5px/1.55 var(--header-font)!important;letter-spacing:normal;text-decoration:none;border:0;background:none;padding:0;opacity:.65;transition:opacity 150ms}
#vestr-public-header .nav-links a:hover,#vestr-public-header .nav-links a[aria-current=page]{opacity:1}
#vestr-public-header .nav-right{display:flex;align-items:center;gap:14px;padding:0;margin:0}
#vestr-public-header .lang-btn,#vestr-public-header .theme-btn{display:grid;place-items:center;width:24px;min-width:24px;height:24px;padding:0;border:0;border-radius:0;background:none;color:inherit;font:400 13px/1 var(--header-font);opacity:.72;cursor:pointer;transition:opacity 150ms}
#vestr-public-header .theme-btn{font-size:19px}
#vestr-public-header .lang-btn:hover,#vestr-public-header .theme-btn:hover{opacity:1}
#vestr-public-header .nav-cta{display:inline-flex;align-items:center;justify-content:center;min-width:112px;margin:0;padding:8px 18px;border:1.5px solid currentColor;border-radius:100px;background:none;color:inherit;font:550 13px/1.55 var(--header-font);letter-spacing:normal;text-align:center;text-decoration:none;box-shadow:none;transform:none;transition:background-color 150ms,color 150ms}
#vestr-public-header .nav-cta:hover{background:var(--public-header-ink,#fff);color:var(--public-header-bg,#000);transform:none;box-shadow:none}
#vestr-public-header a:focus-visible,#vestr-public-header button:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:960px){#vestr-public-header .nav-links{display:none}}
@media(max-width:760px){#vestr-public-header{height:63px;padding:15px 20px}#vestr-public-header .nav-logo{top:17px;left:20px;font-size:21.24px!important}#vestr-public-header .nav-right{gap:9px}#vestr-public-header .nav-cta{min-width:0;font-size:11px;padding:8px 13px}}
@media(prefers-reduced-motion:reduce){#vestr-public-header *{transition:none!important}}
/* Mobile public navigation: one accessible side panel, shared across all public pages. */
#vestr-public-header .public-menu-toggle{display:none;width:32px;height:32px;padding:6px 3px;border:0;background:none;color:inherit;cursor:pointer}
#vestr-public-header .public-menu-toggle span{display:block;width:25px;height:1.5px;background:currentColor;margin:6px 0}
#vestr-public-header .public-mobile-menu{position:fixed;inset:0 0 0 auto;width:min(88vw,390px);max-width:100vw;height:100dvh;max-height:100dvh;padding:25px 28px max(28px,env(safe-area-inset-bottom));margin:0;border:0;border-radius:24px 0 0 24px;background:#080808;color:#fff;font:400 15px/1.5 var(--header-font);overflow-y:auto;overscroll-behavior:contain;box-shadow:-20px 0 70px #0003;mix-blend-mode:normal}
#vestr-public-header .public-mobile-menu::backdrop{background:#0007}
html[data-theme=light] #vestr-public-header .public-mobile-menu{background:#fff;color:#080808}
#vestr-public-header .public-mobile-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:60px}
#vestr-public-header .public-mobile-top>span{font:780 22px/1 Satoshi,Arial,sans-serif;letter-spacing:-.025em}
#vestr-public-header .public-menu-close{border:0;background:none;color:inherit;font:300 31px/1 var(--header-font);width:36px;height:36px;padding:0;cursor:pointer}
#vestr-public-header .public-mobile-links{display:flex;flex-direction:column;gap:24px}
#vestr-public-header .public-mobile-links a{font:400 clamp(25px,7vw,31px)/1.2 var(--header-font);letter-spacing:-.025em;color:inherit;text-decoration:none;opacity:.55}
#vestr-public-header .public-mobile-links a[aria-current=page],#vestr-public-header .public-mobile-links a:hover{opacity:1}
#vestr-public-header .public-mobile-preferences{display:flex;gap:24px;align-items:center;margin:55px 0 28px}
#vestr-public-header .public-mobile-preferences button{width:40px;height:40px;font-size:16px}
#vestr-public-header .public-mobile-preferences .theme-btn{font-size:23px}
#vestr-public-header .public-mobile-account .nav-cta{font-size:13px;padding:11px 20px;width:100%;--public-header-bg:#000;--public-header-ink:#fff}
html[data-theme=light] #vestr-public-header .public-mobile-account .nav-cta{--public-header-bg:#fff;--public-header-ink:#000}
@media(max-width:960px){
 #vestr-public-header .public-menu-toggle{display:block}
 #vestr-public-header .nav-right>.lang-btn,#vestr-public-header .nav-right>.theme-btn,#vestr-public-header .nav-right>.nav-cta{display:none}
}
/* Keep account access visible beside the mobile menu trigger. */
@media(max-width:960px){
 #vestr-public-header .nav-right>.nav-cta{display:inline-flex}
}

/* Four primary destinations; the public catalogue stays one click away. */
#vestr-public-header .public-explore-toggle{position:relative;border:0;background:none;color:inherit;padding:0;font:400 13.5px/1.55 var(--header-font);opacity:.65;cursor:pointer;transition:opacity 150ms}
#vestr-public-header .public-explore-toggle:hover,#vestr-public-header .public-explore-toggle[aria-expanded=true],#vestr-public-header .public-explore-toggle[data-active=true]{opacity:1}
#vestr-public-header .public-mobile-explore summary{list-style:none;font:400 clamp(25px,7vw,31px)/1.2 var(--header-font);letter-spacing:-.025em;opacity:.55;cursor:pointer}
#vestr-public-header .public-mobile-explore summary::-webkit-details-marker{display:none}
#vestr-public-header .public-mobile-explore[open] summary{opacity:1}
#vestr-public-header .public-mobile-explore>div{display:flex;flex-direction:column;gap:17px;padding:24px 0 5px 14px}
#vestr-public-header .public-mobile-explore>div a{font-size:17px;line-height:1.4;letter-spacing:0}

#vestr-public-header .public-explore-toggle::after{content:'';display:inline-block;width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:8px;transition:transform 150ms}
#vestr-public-header .public-explore-toggle[aria-expanded=true]::after{transform:translateY(1px) rotate(225deg)}
#vestr-public-header .public-mobile-explore summary{position:relative;padding-right:25px}
#vestr-public-header .public-mobile-explore summary::after{content:'';position:absolute;right:5px;top:11px;width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg)}
#vestr-public-header .public-mobile-explore[open] summary::after{transform:rotate(225deg);top:15px}

/* Intrinsic-size catalogue: a featured ETF entry and six direct destinations. */
#vestr-public-header .public-explore-panel{position:fixed;inset:70px auto auto max(20px,calc(50% - 360px));width:min(720px,calc(100vw - 40px));height:fit-content;min-height:0;max-height:min(380px,calc(100dvh - 100px));box-sizing:border-box;align-self:start;align-content:start;margin:0;padding:18px;border:0;border-radius:24px;background:#121212;color:#fff;mix-blend-mode:normal;box-shadow:0 22px 65px #0005,0 0 0 1px #ffffff09;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;transform-origin:50% 0}
#vestr-public-header .public-explore-panel:popover-open{display:grid;grid-template-columns:200px minmax(0,1fr);gap:15px}
html[data-theme=light] #vestr-public-header .public-explore-panel{background:#fff;color:#080808;box-shadow:0 20px 60px #0002,0 0 0 1px #00000008}
#vestr-public-header .public-explore-panel a{color:inherit;text-decoration:none;font-family:var(--header-font);letter-spacing:normal}
#vestr-public-header .public-explore-panel .explore-featured{display:flex;flex-direction:column;min-height:220px;box-sizing:border-box;padding:22px 19px;border-radius:17px;background:url('../audit/composition-app/materials/mix5.webp') center/cover;color:#071015;transition:filter 150ms}
#vestr-public-header .explore-featured:hover{filter:brightness(1.04)}
#vestr-public-header .explore-featured-title{font-size:30px;line-height:1.1;font-weight:600;letter-spacing:-.04em}
#vestr-public-header .explore-featured-copy{font-size:12px;line-height:1.55;margin-top:11px;opacity:.7;max-width:140px}
#vestr-public-header .explore-featured-topics{display:flex;gap:12px;flex-wrap:wrap;margin-top:auto;padding-top:30px;font-size:9px;line-height:1.5;opacity:.65}
#vestr-public-header .explore-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 4px;align-content:center;min-width:0}
#vestr-public-header .explore-destinations a{display:flex;flex-direction:column;justify-content:center;min-height:65px;padding:11px 13px;box-sizing:border-box;border-radius:13px;background:none;transition:background 150ms}
#vestr-public-header .explore-destinations a:hover,#vestr-public-header .explore-destinations a:focus-visible{background:#ffffff07}
html[data-theme=light] #vestr-public-header .explore-destinations a:hover,html[data-theme=light] #vestr-public-header .explore-destinations a:focus-visible{background:#00000004}
#vestr-public-header .explore-link-title{font-size:13px;line-height:1.35;font-weight:500;color:inherit}
#vestr-public-header .explore-link-copy{font-size:10px;line-height:1.5;font-weight:400;opacity:.45;margin-top:5px}
@media(prefers-reduced-motion:reduce){#vestr-public-header .public-explore-panel *{transition:none!important}}

/* Start on the first painted open frame, never in the deferred toggle event. */
@keyframes public-explore-enter{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){#vestr-public-header .public-explore-panel:popover-open{animation:public-explore-enter 320ms cubic-bezier(.4,0,.6,1) both}}
#vestr-public-header .public-explore-panel:not(:popover-open){display:none}

/* Quiet public shortcut: plain text rather than a second floating pill CTA. */
body:has(>nav[data-public-header])>.broker-pill{height:auto;min-height:32px;padding:7px 2px;border:0;border-radius:0;background:none;box-shadow:none;font:400 12px/1.5 -apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;letter-spacing:0;color:#fff;mix-blend-mode:difference;opacity:.7;transition:opacity 160ms;text-decoration:none}
body:has(>nav[data-public-header])>.broker-pill:hover{background:none;opacity:1;text-decoration:underline;text-underline-offset:5px}
body:has(>nav[data-public-header])>.broker-pill:focus-visible{outline:1px solid currentColor;outline-offset:4px;opacity:1}
/* Honour iPhone safe areas without opting the whole site into edge-to-edge mode. */
@media(max-width:960px){
 #vestr-public-header{height:calc(76px + env(safe-area-inset-top,0px));padding-top:calc(20px + env(safe-area-inset-top,0px));padding-left:max(28px,env(safe-area-inset-left,0px));padding-right:max(28px,env(safe-area-inset-right,0px))}
 #vestr-public-header .nav-logo{top:calc(20px + env(safe-area-inset-top,0px));left:max(28px,env(safe-area-inset-left,0px))}
 #vestr-public-header .nav-right{flex-shrink:0}
 #vestr-public-header .nav-right>.nav-cta{white-space:nowrap}
 #vestr-public-header .public-mobile-menu{padding-top:calc(25px + env(safe-area-inset-top,0px));padding-right:max(28px,env(safe-area-inset-right,0px));padding-left:max(28px,env(safe-area-inset-left,0px))}
}
@media(max-width:760px){
 #vestr-public-header{height:calc(63px + env(safe-area-inset-top,0px));padding-top:calc(15px + env(safe-area-inset-top,0px));padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
 #vestr-public-header .nav-logo{top:calc(17px + env(safe-area-inset-top,0px));left:max(20px,env(safe-area-inset-left,0px))}
}

/* viewport-fit=cover lets surfaces reach the screen edges. Only controls are inset. */
@media(max-width:960px){
 #vestr-public-header .public-mobile-menu{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
}
/* Native top-layer panels must not inherit the header's difference compositing in Safari. */
#vestr-public-header:has(.public-mobile-menu[open]){mix-blend-mode:normal}
#vestr-public-header .public-menu-close,#vestr-public-header .public-mobile-preferences :is(button,a){min-width:44px;min-height:44px}

#vestr-public-header.public-menu-is-open{mix-blend-mode:normal}

/* Chosen direction: centred, compact, with the next chapter close by. */
body [data-public-opening][data-public-opening][data-public-opening]{--opening-title-size:clamp(48px,5.7vw,76px);box-sizing:border-box!important;min-height:0!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;padding:176px 0 65px!important;margin-top:0!important;margin-bottom:0!important;text-align:center!important;background:none!important;border:0!important;border-radius:0!important}
body [data-public-opening][data-public-opening][data-public-opening] h1{font-size:var(--opening-title-size)!important;line-height:1.06!important;font-weight:650!important;letter-spacing:-.045em!important;text-align:center!important;text-wrap:balance;max-width:1050px!important;margin:0 auto!important}
body [data-public-opening][data-public-opening][data-public-opening] p{font-size:17px!important;line-height:1.6!important;text-align:center!important;max-width:510px!important;margin:27px auto 0!important;text-wrap:pretty}
body [data-public-opening] .opening-title-group{margin:0!important;padding:0!important}
body [data-public-opening] .opening-story{margin:0!important;max-width:650px}
body [data-public-opening] .opening-actions{justify-content:center!important;margin-top:30px!important}
body [data-public-opening] .method-opening-link{margin-top:28px!important}
body [data-public-opening] .manifest-intro{margin-top:0!important;max-width:650px}
body [data-public-opening] .manifest-intro p+p{display:none!important}
body [data-public-opening] .brk-logo-strip{margin-top:25px!important}
body .product-opening:has([data-public-opening]){padding-top:0!important}
body .etf-screen1:has([data-public-opening]){padding-top:0!important}
body .pricing-intro{padding-top:0!important}
body .pricing-lead[data-public-opening]{width:100%}
body [data-public-opening] .public-prelaunch-note{display:none!important}
@media(max-width:760px){
 body [data-public-opening][data-public-opening][data-public-opening]{--opening-title-size:39px;padding:145px 0 40px!important}
 body [data-public-opening][data-public-opening][data-public-opening] h1{line-height:1.08!important;max-width:100%!important}
 body [data-public-opening][data-public-opening][data-public-opening] p{display:block!important;font-size:15px!important;line-height:1.6!important;max-width:310px!important;margin:23px auto 0!important}
 body [data-public-opening] .opening-actions{margin-top:24px!important;gap:23px!important;flex-wrap:wrap}
 body [data-public-opening] .method-opening-link{margin-top:24px!important;font-size:13px}
 body [data-public-opening] .manifest-intro{display:block!important}
 body [data-public-opening] .manifest-intro p+p,body [data-public-opening] .prelaunch-pricing-note{display:none!important}
 body.method-page #quality{padding-top:30px}
 body .product-opening--without-film + .reading-scene .reading-pin{padding-top:30px!important}
}

/* Complete mobile reading pauses; never pin content taller than its viewport. */
@media(max-width:760px){
 .public-reading-pause{position:relative;clear:both}
 .public-reading-pause[data-pause=true]{min-height:calc(var(--reading-height) + 150px)}
 .public-reading-pause[data-pause=true]>.public-reading-stage{position:sticky!important;top:var(--reading-top)!important;margin-top:0!important}
 .public-reading-pause[data-pause=false]{min-height:0}
 body .etf-screen1:has(.env-hero[data-public-opening]){padding-top:0!important}
}
a.public-card-route{color:inherit;text-decoration:none;display:block;border-radius:inherit}
a.public-card-route:focus-visible{outline:2px solid currentColor;outline-offset:5px}

/* Shared page gutters retained independently of the title experiment. */
:root{--public-page-gutter:48px;--public-content-width:1180px}
@media(max-width:1000px){:root{--public-page-gutter:32px}}
@media(max-width:760px){
 :root{--public-page-gutter:20px}
 body :is(.method-wrap,.manifest-wrap,.envelopes-wrap,.envelopes-overview,.brk-wrap,.broker-compare-v4,.brk-fees,.investor-wrap,.social-wrap,.lg-wrap,.vc-page){width:calc(100% - 40px)!important;max-width:1180px;margin-inline:auto;box-sizing:border-box}
 body .method-wrap .method-wrap,body .envelopes-wrap .envelopes-wrap,body .brk-wrap :is(.brk-fees,.brk-wrap),body .investor-wrap .investor-wrap{width:100%!important}
 body .investor-discovery[data-cover=true] .investor-browser-stage{width:calc(100% - 40px)!important;margin-inline:auto!important}
}
/* Do not apply the outer page gutter a second time inside an existing wrapper. */
body.blog-public-v3 .sheet-content,body :is(.price-wrap,.brk-wrap,.investor-wrap,.method-wrap,.manifest-wrap,.envelopes-wrap,.envelopes-overview,.vc-page,.lg-wrap){width:min(var(--public-content-width),calc(100% - var(--public-page-gutter)*2));margin-inline:auto;box-sizing:border-box}
body.blog-public-v3 .sheet-content>[data-public-opening],body .brk-wrap>[data-public-opening],body .pricing-intro>[data-public-opening]{width:100%!important}
@media(max-width:760px){
 body.blog-public-v3 .sheet-content{width:calc(100% - 40px)!important;padding-inline:0!important}
 body.etf-public-v3 .env-main{width:100%!important;padding-inline:0!important}
 body.etf-public-v3 :is(#etf-understand,#etf-exposure,#etf-fees){width:calc(100% - 40px)!important;margin-inline:auto;box-sizing:border-box}
 body.card-public-v3 .card-preview{max-width:100%!important;width:100%;padding:0!important}
 body .brk-wrap :is(.brk-wrap,.brk-fees),body .method-wrap .method-wrap,body .envelopes-wrap .envelopes-wrap{width:100%!important}
}
