/* Angel Research V4.0 phase 1: institutional foundation.
   Deliberately scoped to v40-* classes; does not touch conversions/admin/analytics.
   Last stylesheet in the cascade on upgraded pages. */
:root{--v40-navy:#102f43;--v40-deep:#0b2334;--v40-ink:#183548;--v40-muted:#546b79;--v40-mist:#f2f6f7;--v40-white:#fff;--v40-line:#d6e1e5;--v40-accent:#b69a6b;--v40-teal:#29786f}
html{scroll-behavior:smooth}
body.v40-site{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:var(--v40-ink);background:#fff}
body.v40-site *,body.v40-site *::before,body.v40-site *::after{box-sizing:border-box}
body.v40-site :focus-visible{outline:3px solid #b38b45;outline-offset:3px}
body.v40-site :where(h1,h2,h3,p){overflow-wrap:break-word}
body.v40-site .inner{max-width:1290px}
.v40-header{position:sticky!important;top:0!important;z-index:1000!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid var(--v40-line)!important;box-shadow:0 4px 22px rgba(9,37,52,.06)!important;backdrop-filter:blur(12px)}
.v40-header .v40-nav{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;max-width:1330px!important;margin:0 auto!important;padding:14px 28px!important;min-height:82px!important}
.v40-header .v40-brand{display:inline-flex!important;gap:11px!important;align-items:center!important;text-decoration:none!important;min-width:205px!important}
.v40-brand-mark{display:flex;align-items:center;justify-content:center;width:39px;height:39px;min-width:39px;border-radius:9px;background:var(--v40-navy);color:#fff;font-size:19px;font-weight:760;letter-spacing:-.06em}
.v40-header .v40-brand b{display:block!important;color:var(--v40-navy)!important;font-size:17px!important;line-height:1.15!important;letter-spacing:.035em!important;font-weight:800!important}
.v40-header .v40-brand small{display:block!important;font-size:10px!important;line-height:1.6!important;letter-spacing:.14em!important;color:var(--v40-muted)!important;font-weight:750!important}
.v40-header .v40-links{display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(12px,1.7vw,27px)!important;flex-wrap:nowrap!important}
.v40-header .v40-links a{font-size:13px!important;white-space:nowrap!important;letter-spacing:0!important;font-weight:650!important;color:#233e51!important;text-decoration:none!important;transition:color .2s}
.v40-header .v40-links a:hover,.v40-header .v40-links a[aria-current="page"]{color:#23766e!important}
.v40-header .v40-primary-cta{white-space:nowrap!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:45px!important;padding:10px 17px!important;border-radius:6px!important;font-size:12px!important;font-weight:800!important;letter-spacing:.015em!important;background:var(--v40-navy)!important;color:#fff!important;border:1px solid var(--v40-navy)!important;text-decoration:none!important}
.v40-header .v40-primary-cta:hover{background:#24556c!important}
.v40-header .v40-mobile{display:none!important}
.v40-header .v40-mobile summary{list-style:none;font-size:15px!important;font-weight:750!important;cursor:pointer;border:1px solid var(--v40-line);padding:11px 15px;border-radius:7px;min-width:84px;min-height:44px}
.v40-header .v40-mobile summary::-webkit-details-marker{display:none}
.v40-header .v40-mobile-panel{position:absolute;top:calc(100% + 1px);right:0;left:0;margin:0;background:#fff;border:1px solid var(--v40-line);box-shadow:0 16px 35px rgba(11,35,52,.15);padding:14px max(18px,calc((100vw - 1180px)/2));display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 15px;max-height:min(80vh,650px)!important;overflow-y:auto}
.v40-header .v40-mobile-panel a{font-size:15px!important;line-height:1.4!important;color:var(--v40-ink)!important;text-decoration:none!important;border-bottom:1px solid #edf1f3;min-height:46px!important;display:flex!important;align-items:center!important;padding:10px 8px!important}
.v40-header .v40-mobile-panel .v40-mobile-join{background:var(--v40-navy)!important;color:#fff!important;border-radius:6px;justify-content:center;font-weight:760}
.v40-home .home-data-note{font-size:13px!important;line-height:1.45!important;background:#edf3f5!important;color:#3a5667!important;border-bottom:1px solid var(--v40-line)!important}
.v40-home .home-data-note .inner{max-width:1290px}
.v40-hero{background:linear-gradient(116deg,#0b2535 0%,#133b52 73%,#193b4d 100%);color:#fff;overflow:hidden;position:relative}
.v40-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 5%,rgba(135,166,177,.12),transparent 40%);pointer-events:none}
.v40-hero .v40-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);align-items:center;gap:clamp(28px,4vw,70px);padding-top:72px;padding-bottom:74px}
.v40-overline{display:block;color:#c9ae7f!important;font-size:11px!important;font-weight:800!important;letter-spacing:.20em!important;text-transform:uppercase}
.v40-hero h1{max-width:760px;margin:21px 0 21px!important;font-size:clamp(43px,4.5vw,69px)!important;line-height:1.065!important;letter-spacing:-.042em!important;color:#fff!important;font-weight:790!important}
.v40-hero h1 span{color:#c9dce5}
.v40-hero .v40-lede{font-size:clamp(16px,1.4vw,19px)!important;line-height:1.75!important;color:#d5e3e8!important;max-width:600px!important;margin:0 0 28px!important}
.v40-hero .v40-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0 0 27px}
.v40-button{display:inline-flex!important;align-items:center;justify-content:center;text-align:center;text-decoration:none!important;border-radius:6px;font-weight:800!important;letter-spacing:0!important;min-height:49px!important;padding:12px 20px!important;font-size:14px!important;line-height:1.3!important;transition:background .18s,color .18s,transform .18s}
.v40-button:hover{transform:translateY(-1px)}
.v40-button-solid{background:#fff!important;color:var(--v40-navy)!important;border:1px solid #fff!important}
.v40-button-outline{background:transparent!important;color:#fff!important;border:1px solid #94adba!important}
.v40-button-dark{background:var(--v40-navy)!important;color:#fff!important;border:1px solid var(--v40-navy)!important}
.v40-hero-meta{display:flex;flex-wrap:wrap;gap:9px 22px;color:#d0dce1;font-size:12px;line-height:1.55}
.v40-hero-meta span::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#b49a6d;margin:0 9px 1px 0}
.v40-hero-visual{margin:0!important;position:relative;min-width:0}
.v40-hero-visual img{display:block;width:100%;height:clamp(390px,38vw,530px);object-fit:cover;object-position:center;border-radius:10px;filter:saturate(.85) contrast(1.04)}
.v40-hero-visual::before{content:"";position:absolute;inset:0;border-radius:10px;background:linear-gradient(0deg,rgba(6,27,43,.6) 0%,transparent 55%);z-index:1;pointer-events:none}
.v40-visual-label{position:absolute;z-index:2;bottom:23px;left:25px;right:25px;display:flex;justify-content:space-between;gap:15px;align-items:flex-end;color:#fff;font-size:13px;font-weight:690}
.v40-visual-label small{display:block;font-size:10px!important;letter-spacing:.18em;color:#d4e0e5!important}
.v40-visual-rule{height:3px;width:68px;background:var(--v40-accent);margin-top:10px}
.v40-trust{background:#f6f8f8!important;border-bottom:1px solid var(--v40-line);padding:20px 0}
.v40-trust .v40-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.v40-trust .v40-trust-grid > div{padding:9px 19px;border-right:1px solid var(--v40-line);min-width:0}
.v40-trust .v40-trust-grid > div:first-child{padding-left:0}
.v40-trust .v40-trust-grid > div:last-child{border-right:0}
.v40-trust span{display:block;text-transform:uppercase;font-weight:790;letter-spacing:.12em;font-size:10px;color:#637c89;margin-bottom:6px}
.v40-trust strong{display:block;font-size:13px!important;line-height:1.5;color:#1a3b4d;font-weight:740}
.v40-trust a{font-size:12px!important;color:#2d6b78!important;text-decoration:underline;text-underline-offset:3px;display:inline-block;margin-top:6px}
.v40-collab{background:#fff!important;padding:72px 0!important}
.v40-collab-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:clamp(28px,6vw,88px);align-items:center}
.v40-section-eyebrow{font-size:11px!important;letter-spacing:.18em!important;color:#a3804f!important;font-weight:800!important;text-transform:uppercase;margin:0 0 14px!important}
.v40-collab h2,.v40-spotlight h2,.v40-ipo-heading h2{font-size:clamp(28px,3.3vw,43px)!important;line-height:1.18!important;letter-spacing:-.027em!important;color:var(--v40-navy)!important;margin:0 0 16px!important}
.v40-collab p{font-size:16px!important;line-height:1.8!important;color:#4c6472!important;max-width:760px;margin:0 0 24px!important}
.v40-collab-card{background:#f2f6f6;border:1px solid #dce6e8;border-radius:12px;padding:28px}
.v40-collab-card h3{font-size:20px!important;line-height:1.3!important;color:var(--v40-navy)!important;margin:0 0 14px!important}
.v40-collab-card ul{margin:0 0 17px;padding-left:20px}
.v40-collab-card li{font-size:15px!important;line-height:1.75!important;color:#405f6d;margin:7px 0}
.v40-collab-card a{font-size:13px;font-weight:760;color:#1c536e;text-decoration:underline;text-underline-offset:3px}
.v40-spotlight{background:#f4f7f7;padding:64px 0}
.v40-spotlight .inner{display:flex;align-items:flex-end;gap:25px;justify-content:space-between}
.v40-spotlight p{max-width:600px!important;font-size:16px!important;line-height:1.7!important;color:#526a76!important;margin:0!important}
.v40-spotlight-link{font-size:14px;font-weight:750;color:var(--v40-navy);white-space:nowrap}
.v40-home .wealth-focus{padding-top:62px!important}
.v40-home .wealth-focus .wealth-card{border-radius:9px!important}
.v40-home .wealth-focus .wealth-card h3{font-size:22px!important;line-height:1.26!important}
.v40-home .wealth-focus .wealth-card p{font-size:15px!important;line-height:1.75!important}
.v40-ipo-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 auto 24px}
.v40-ipo-heading p{font-size:15px!important;line-height:1.7!important;max-width:680px!important;color:var(--v40-muted)!important}
.v40-ipo-heading .v40-link{font-size:14px;font-weight:800;color:#1c526b;white-space:nowrap}
.v40-home .ipo-market-block{padding-top:58px!important;padding-bottom:65px!important;background:#f7f9f9!important}
.v40-home .ipo-market-block .inner{max-width:1290px}
.v40-home .ipo-card h3{font-size:19px!important;line-height:1.32!important}
.v40-home .ipo-card p{font-size:14px!important;line-height:1.65!important}
.v40-company .v40-company-hero{background:linear-gradient(125deg,#0c293b,#164157);color:#fff;padding:77px 0 80px}
.v40-company .v40-company-layout{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(24px,4.5vw,70px);align-items:center}
.v40-company .v40-company-hero h1{color:#fff!important;font-size:clamp(39px,4.4vw,62px)!important;line-height:1.12!important;letter-spacing:-.04em!important;max-width:700px!important;margin:17px 0 24px!important}
.v40-company .v40-company-hero p{color:#dce9ef!important;font-size:18px!important;line-height:1.75!important;max-width:660px!important}
.v40-company .v40-company-hero .v40-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:26px}
.v40-company figure.v40-company-photo{margin:0!important;position:relative}
.v40-company figure.v40-company-photo img{display:block;width:100%;height:420px;object-fit:cover;border-radius:10px}
.v40-company figure.v40-company-photo figcaption{font-size:11px!important;letter-spacing:.1em!important;color:#e7edf0;position:absolute;bottom:18px;left:20px;text-shadow:0 1px 8px #000}
.v40-company .corporate-layout p,.v40-company .wealth-card p{font-size:16px!important;line-height:1.75!important}
.v40-company .corporate-facts{border:1px solid #dae4e8!important;border-radius:10px!important}
.v40-company .scope-note h2{font-size:clamp(27px,3vw,39px)!important;line-height:1.2!important}
.v40-ipo .v40-ipo-header{background:#fff;border-bottom:1px solid var(--v40-line)}
.v40-ipo .v40-ipo-hero{background:linear-gradient(125deg,#0b283b,#164259);color:#fff;padding:62px 0}
.v40-ipo .v40-ipo-hero .ipo-wrap{max-width:1260px;margin:auto;padding:0 24px}
.v40-ipo .v40-ipo-hero h1{color:#fff!important;font-size:clamp(38px,4.4vw,58px)!important;line-height:1.15!important;margin:12px 0 13px!important}
.v40-ipo .v40-ipo-hero p{color:#d7e6eb!important;font-size:16px!important;line-height:1.75!important;max-width:830px!important}
.v40-ipo .v40-ipo-updated{border-left:3px solid #c3ab7b;padding-left:14px;margin-top:23px!important;font-size:14px!important}
.v40-ipo .ipo-page-main{max-width:1260px;margin:auto;padding:45px 24px 76px}
.v40-ipo .ipo-card{border-radius:9px}
.v40-ipo .ipo-card p{font-size:15px!important;line-height:1.7!important}
.v40-ipo .ipo-page-footer{font-size:13px!important;line-height:1.7!important}
.v40-site .footer{background:#102d40!important}
.v40-site .footer a{line-height:1.7!important}
.v40-site .footer .legal{line-height:1.8!important}
@media(max-width:1150px){.v40-header .v40-links{gap:12px!important}.v40-header .v40-links a{font-size:12px!important}.v40-header .v40-primary-cta{padding:10px!important;font-size:11px!important}}
@media(max-width:1020px){.v40-header .v40-links,.v40-header .v40-primary-cta{display:none!important}.v40-header .v40-mobile{display:block!important;position:static!important;margin-left:auto!important}.v40-header .v40-nav{min-height:70px!important;padding:12px 24px!important}}
@media(max-width:760px){
 .v40-header .v40-nav{padding:11px 18px!important;min-height:66px!important}
 .v40-header .v40-brand{min-width:0!important}
 .v40-header .v40-brand b{font-size:15px!important}
 .v40-header .v40-brand small{font-size:9px!important}
 .v40-brand-mark{width:35px;height:35px;min-width:35px;font-size:17px}
 .v40-header .v40-mobile-panel{grid-template-columns:1fr!important;padding:10px 18px!important;max-height:calc(100dvh - 66px)!important}
 .v40-header .v40-mobile summary{font-size:14px!important}
 .v40-hero .v40-hero-grid{grid-template-columns:1fr!important;gap:31px;padding:50px 18px 34px!important}
 .v40-hero h1{font-size:clamp(37px,9.4vw,49px)!important;line-height:1.09!important}
 .v40-hero .v40-lede{font-size:16px!important;line-height:1.75!important}
 .v40-hero .v40-actions{align-items:stretch;flex-direction:column}
 .v40-hero .v40-actions .v40-button{width:100%}
 .v40-hero-visual img{height:260px}
 .v40-visual-label{left:17px;bottom:16px}
 .v40-trust .v40-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .v40-trust .v40-trust-grid > div{border-bottom:1px solid var(--v40-line);padding:14px!important;border-right:0}
 .v40-trust .v40-trust-grid > div:nth-child(2n+1){border-right:1px solid var(--v40-line)}
 .v40-trust .v40-trust-grid > div:nth-last-child(-n+2){border-bottom:0}
 .v40-collab{padding:52px 0!important}
 .v40-collab-grid,.v40-company .v40-company-layout{grid-template-columns:1fr!important}
 .v40-collab-card{padding:23px}
 .v40-spotlight{padding:48px 0}
 .v40-spotlight .inner,.v40-ipo-heading{display:block!important}
 .v40-spotlight-link,.v40-ipo-heading .v40-link{display:inline-flex;margin-top:19px}
 .v40-home .wealth-focus,.v40-home .ipo-market-block{padding-top:47px!important}
 .v40-company .v40-company-hero{padding:54px 0 45px}
 .v40-company .v40-company-hero h1{font-size:40px!important}
 .v40-company figure.v40-company-photo img{height:260px}
 .v40-ipo .v40-ipo-hero{padding:48px 0}
 .v40-ipo .v40-ipo-hero .ipo-wrap{padding:0 18px}
 .v40-ipo .ipo-page-main{padding:25px 14px 55px}
 .v40-ipo .ipo-board-head{flex-direction:column!important;align-items:flex-start!important}
 .v40-ipo .ipo-card{min-width:0}
}
@media(max-width:370px){.v40-header .v40-brand b{font-size:13px!important}.v40-header .v40-brand small{font-size:8px!important}.v40-brand-mark{display:none}.v40-trust .v40-trust-grid{grid-template-columns:1fr!important}.v40-trust .v40-trust-grid>div{border-right:0!important}}
@media(prefers-reduced-motion:reduce){body.v40-site *,body.v40-site *::before,body.v40-site *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Shared editorial reading scale across the upgraded legacy pages. */
body.v40-site :where(.article,.clean-hero,.clean-card,.wealth-card,.scope-note,.corporate-layout,.editorial-policy,.section-head) p{font-size:16px!important;line-height:1.75!important}
body.v40-site :where(.article,.scope-note,.corporate-layout,.clean-grid) li{font-size:16px!important;line-height:1.7!important}
body.v40-site :where(.article,.clean-card,.wealth-card,.scope-note) h2{line-height:1.23!important}
body.v40-site :where(.article,.clean-card,.wealth-card,.scope-note) h3{line-height:1.32!important}
body.v40-site a{text-underline-offset:3px}
body.v40-site .button{min-height:46px!important;border-radius:6px!important;display:inline-flex;align-items:center;justify-content:center}
body.v40-site .source-note,body.v40-site .article-meta,body.v40-site .hs-source{font-size:13px!important;line-height:1.6!important}
body.v40-site :where(.clean-hero,.wealth-hero) h1{letter-spacing:-.03em!important}
@media(max-width:760px){
 body.v40-site :where(.article,.clean-hero,.clean-card,.wealth-card,.scope-note,.corporate-layout,.editorial-policy,.section-head) p{font-size:16px!important;line-height:1.72!important}
 body.v40-site .clean-hero h1{font-size:clamp(32px,8vw,41px)!important;line-height:1.12!important}
 body.v40-site :where(.clean-hero,.wealth-hero,.pagehead) .inner{padding-left:20px!important;padding-right:20px!important}
}
/* Visual QA corrections after real 1440px and 390px screenshots. */
body.v40-site{margin:0!important}
.v40-company .v40-company-layout{padding-left:28px!important;padding-right:28px!important}
@media(max-width:760px){
 .v40-company .v40-company-layout{padding-left:20px!important;padding-right:20px!important}
 .v40-ipo .v40-ipo-hero{margin:0!important}
}