/* Investment home layouts, scoped to preserve legacy pages. */

.investment-home #main-content .hero{background:var(--band);color:var(--on-band);padding-block:clamp(48px,7vw,96px) clamp(56px,8vw,112px)}
.investment-home #main-content .hero .wrap{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:center}
.investment-home #main-content .hero h1{font-size:clamp(32px,3.7vw,50px);line-height:1.1;font-weight:400;letter-spacing:-.015em}
.investment-home #main-content .hero h1 span{display:block}
.investment-home #main-content .hero .lead{margin-top:24px;max-width:34em;font-size:18px;line-height:1.6;color:var(--on-band-muted)}
.investment-home #main-content .hero .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:36px}


.investment-home #main-content .sim{background:var(--panel);color:var(--panel-ink);border-radius:4px;padding:28px;box-shadow:0 30px 60px -20px rgba(0,0,0,.45)}
.investment-home #main-content .sim-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.investment-home #main-content .sim-title{font-family:var(--serif);font-size:22px}
.investment-home #main-content .sim-unit{font-size:13px;color:var(--muted)}
.investment-home #main-content .gauge{position:relative;height:14px;background:var(--stone);margin:22px 0 10px;overflow:hidden;border-radius:1px}
.investment-home #main-content .gauge i{position:absolute;top:0;bottom:0;left:0;display:block;transition:width .35s ease,left .35s ease}
.investment-home #main-content .g-auth{background:var(--deep)}
.investment-home #main-content .g-sim{background:repeating-linear-gradient(135deg,var(--teal) 0 6px,transparent 6px 9px)}
.investment-home #main-content .g-over{background:#C0392B}
.investment-home #main-content .legend{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
.investment-home #main-content .legend b{color:var(--panel-ink);font-weight:600}
.investment-home #main-content .reqs{margin:22px 0 0;padding:0;list-style:none;border-top:1px solid var(--rule)}
.investment-home #main-content .reqs li{border-bottom:1px solid var(--rule)}
.investment-home #main-content .reqs label{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 0;cursor:pointer}
.investment-home #main-content .reqs input{width:18px;height:18px;margin:0;accent-color:var(--deep)}
.investment-home #main-content .reqs .ref{display:block;font-size:13px;color:var(--muted)}
.investment-home #main-content .reqs .amt{font-variant-numeric:tabular-nums;font-weight:600}
.investment-home #main-content .verdict{margin-top:18px;padding:14px 16px;font-size:15px;line-height:1.5;background:var(--stone);border-left:3px solid var(--deep)}
.investment-home #main-content .verdict.over{border-left-color:var(--amber)}
.investment-home #main-content .verdict strong{font-weight:600}
.investment-home #main-content .flag{margin-top:10px;display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.5;color:var(--muted)}
.investment-home #main-content .flag i{flex:none;width:8px;height:8px;margin-top:7px;background:var(--amber);border-radius:50%}


.investment-home #main-content .sec{padding-block:clamp(64px,9vw,120px)}
.investment-home #main-content .sec-stone{background:var(--stone)}
.investment-home #main-content .kicker{font-size:15px;color:var(--muted);margin-bottom:14px}
.investment-home #main-content .h2{font-size:clamp(32px,3.8vw,52px);line-height:1.08;max-width:18em}
.investment-home #main-content .intro{margin-top:20px;max-width:38em;font-size:19px;color:var(--muted)}


.investment-home #main-content .qs3{margin-top:56px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3vw,48px)}
.investment-home #main-content .q3{display:flex;flex-direction:column;min-width:0}
.investment-home #main-content .q3 h3{font-size:clamp(22px,2vw,27px);line-height:1.25;margin-top:28px}
.investment-home #main-content .q3 p{margin-top:12px;color:var(--muted)}
.investment-home #main-content .q3 a{margin-top:18px;align-self:flex-start;font-weight:600;font-size:15px;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:2px}
.investment-home #main-content .mini{background:var(--stone);border-top:3px solid var(--deep);padding:20px;height:184px;font-size:14px;display:flex;flex-direction:column;gap:12px;justify-content:center}
.investment-home #main-content .mini-row{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-variant-numeric:tabular-nums}
.investment-home #main-content .mini-row strong{color:var(--ink);font-weight:600}
.investment-home #main-content .mini-gauge{position:relative;height:10px;background:var(--paper)}
.investment-home #main-content .mini-gauge i{position:absolute;top:0;bottom:0;left:0;background:var(--deep)}
.investment-home #main-content .mini-gauge i.s{background:repeating-linear-gradient(135deg,var(--teal) 0 5px,transparent 5px 8px)}
.investment-home #main-content .mini-note{color:var(--muted);font-size:13px}
.investment-home #main-content .mini-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.investment-home #main-content .mini-steps li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:10px;align-items:center;color:var(--ink)}
.investment-home #main-content .mini-steps li::before{content:"";width:12px;height:12px;border-radius:50%;border:2px solid var(--deep);box-sizing:border-box}
.investment-home #main-content .mini-steps li.ok::before{background:var(--deep)}
.investment-home #main-content .mini-steps li.now{font-weight:600}
.investment-home #main-content .mini-steps li.now::before{border-color:var(--amber);background:var(--amber)}
.investment-home #main-content .mini-alert{border-left:3px solid var(--amber);background:var(--paper);padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.investment-home #main-content .mini-alert b{font-weight:600;color:var(--ink)}
.investment-home #main-content .mini-alert span{color:var(--muted);font-size:13px;line-height:1.5}

.investment-home #main-content .shot{margin-top:56px}
.investment-home #main-content .shot figure{margin:0}
.investment-home #main-content .shot .frame{aspect-ratio:21/9;overflow:hidden;border:1px solid var(--rule);background:var(--stone)}
.investment-home #main-content .shot img{display:block;width:100%;height:auto;max-width:100%}
.investment-home #main-content .shot figcaption{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:baseline;margin-top:16px;color:var(--muted);font-size:15px}


.investment-home #main-content .money{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(32px,6vw,96px);align-items:start}
.investment-home #main-content .bars{margin-top:8px}
.investment-home #main-content .bar-row{display:grid;grid-template-columns:96px minmax(0,1fr) 52px;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--rule);font-variant-numeric:tabular-nums}
.investment-home #main-content .bar-row:first-child{border-top:1px solid var(--rule)}
.investment-home #main-content .bar-row span{font-weight:600}
.investment-home #main-content .track{height:10px;background:var(--paper)}
.investment-home #main-content .track i{display:block;height:10px;background:var(--deep)}
.investment-home #main-content .bar-row:last-child .track i{background:var(--amber)}
.investment-home #main-content .bar-row .v{text-align:right}
.investment-home #main-content .defs{margin:28px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px}
.investment-home #main-content .defs dt{font-weight:600}
.investment-home #main-content .defs dd{margin:4px 0 0;color:var(--muted);font-size:16px}
.investment-home #main-content .inv{font-family:var(--serif);font-size:20px;margin-bottom:6px}
.investment-home #main-content .inv-sub{font-size:14px;color:var(--muted);margin-bottom:18px}


.investment-home #main-content .roles{margin-top:48px;border-top:2px solid var(--deep)}
.investment-home #main-content .role{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr) minmax(0,1fr);gap:16px 40px;padding:26px 0;border-bottom:1px solid var(--rule);text-decoration:none;color:inherit}
.investment-home #main-content .role h3{font-size:24px;line-height:1.25}
.investment-home #main-content .role .pain{color:var(--muted);font-family:var(--serif);font-style:italic;font-size:18px;line-height:1.5}
.investment-home #main-content .role .gain{font-size:16px}
.investment-home #main-content .role:hover h3{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}

.investment-home #main-content .rh{display:flex;gap:16px;align-items:center}
.investment-home #main-content .ri{flex:none;width:48px;height:48px;border-radius:50%;background:var(--stone);color:var(--deep);display:flex;align-items:center;justify-content:center}
.investment-home #main-content .role .pain, .investment-home #main-content .role .gain{align-self:center}

.investment-home #main-content .band{background:var(--band);color:var(--on-band)}
.investment-home #main-content .band .wrap{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:start}
.investment-home #main-content .band .h2{color:var(--on-band)}
.investment-home #main-content .band .intro{color:var(--on-band-muted)}
.investment-home #main-content .facts{list-style:none;margin:0;padding:0;border-top:1px solid rgba(255,255,255,.28)}
.investment-home #main-content .facts li{padding:20px 0;border-bottom:1px solid rgba(255,255,255,.35)}
.investment-home #main-content .facts b{display:block;font-family:var(--serif);font-weight:400;font-size:22px;margin-bottom:4px}
.investment-home #main-content .facts span{color:var(--on-band-muted);font-size:16px}

.investment-home #main-content .infra{margin:40px 0 0;max-width:540px}
.investment-home #main-content .infra svg{display:block;width:100%;height:auto}
.investment-home #main-content .infra .bd{fill:none;stroke:var(--on-band-muted);stroke-width:1.2;stroke-dasharray:5 5}
.investment-home #main-content .infra .bx{fill:none;stroke:var(--on-band-muted);stroke-width:1.2}
.investment-home #main-content .infra .core{fill:var(--amber);stroke:none}
.investment-home #main-content .infra .ar{stroke:var(--on-band);stroke-width:1.6;fill:none}
.investment-home #main-content .infra .ah{fill:var(--on-band)}
.investment-home #main-content .infra text{fill:var(--on-band);font-family:var(--sans);font-size:14px}
.investment-home #main-content .infra .sm{font-size:12px;fill:var(--on-band-muted)}
.investment-home #main-content .infra .ct{fill:#16302F;font-weight:600;font-size:15px}
.investment-home #main-content .facts li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:16px;align-items:start}
.investment-home #main-content .facts svg{margin-top:4px;color:var(--on-band-muted)}

.investment-home #main-content .feats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,4vw,56px);margin-top:48px}
.investment-home #main-content .feat{display:block;text-decoration:none;color:inherit}
.investment-home #main-content .feat .pic{aspect-ratio:16/9;overflow:hidden;background:var(--stone);border:1px solid var(--rule)}
.investment-home #main-content .feat .pic img{display:block;width:100%;height:100%;object-fit:cover;object-position:left top}
.investment-home #main-content .feat .pic.quiz{display:flex;flex-direction:column;justify-content:center;padding:clamp(20px,4vw,48px);background:var(--band);color:var(--on-band);border:0}
.investment-home #main-content .quiz .qn{font-size:14px;color:var(--on-band-muted);margin-bottom:12px}
.investment-home #main-content .quiz .qq{font-family:var(--serif);font-size:clamp(20px,2.2vw,28px);line-height:1.25;margin-bottom:18px}
.investment-home #main-content .quiz .qa{display:flex;flex-direction:column;gap:8px;font-size:15px}
.investment-home #main-content .quiz .qa span{border:1px solid rgba(255,255,255,.35);padding:9px 14px}
.investment-home #main-content .feat .tag{margin-top:20px;font-size:15px;color:var(--muted)}
.investment-home #main-content .feat h3{font-size:clamp(24px,2.4vw,30px);line-height:1.2;margin-top:6px}
.investment-home #main-content .feat p{margin-top:10px;color:var(--muted)}
.investment-home #main-content .feat:hover h3{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}


.investment-home #main-content .hero{display:block;min-height:0;padding-inline:0;position:static;overflow:visible}
.investment-home #main-content .hero h1{color:var(--on-band)}
.investment-home #main-content .hero .lead{margin-top:24px}
.investment-home #main-content .hero .actions{margin-top:36px}
.investment-home #main-content .btn-line{border-color:rgba(255,255,255,.5);color:var(--on-band);background:transparent}
.investment-home #main-content .verdict{margin-top:18px}
.investment-home #main-content .flag{margin-top:10px}
.investment-home #main-content .kicker{margin-bottom:14px}
.investment-home #main-content .q3 h3{margin-top:28px}
.investment-home #main-content .q3 p{margin-top:12px}
.investment-home #main-content .feat .tag{margin-top:20px}
.investment-home #main-content .feat h3{margin-top:6px}
.investment-home #main-content .feat p:not(.tag){margin-top:10px}
.investment-home #main-content .band .intro{color:var(--on-band-muted)}
@media(max-width:980px){
.investment-home #main-content .hero .wrap,.investment-home #main-content .money,.investment-home #main-content .band .wrap,.investment-home #main-content .qs3,.investment-home #main-content .role{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
.investment-home #main-content .feats,.investment-home #main-content .defs{grid-template-columns:minmax(0,1fr)}
.investment-home #main-content .shot figcaption{grid-template-columns:minmax(0,1fr)}
.investment-home #main-content .shot .frame{aspect-ratio:4/3}
.investment-home #main-content .shot img{width:auto;height:100%;max-width:none}
.investment-home #main-content .hero{padding-block:36px 48px}
.investment-home #main-content .hero .lead{font-size:17px}
.investment-home #main-content .hero .actions .btn{width:100%;justify-content:center}
.investment-home #main-content .sim{padding:18px}
.investment-home #main-content .feat .pic.quiz{aspect-ratio:auto}
.investment-home #main-content .qs3,.investment-home #main-content .feats{gap:40px}
.investment-home #main-content .mini{height:auto;min-height:150px}
.investment-home #main-content .q3 h3{margin-top:20px}
.investment-home #main-content .role{padding:20px 0}
.investment-home #main-content .ri{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){.investment-home #main-content .gauge i{transition:none}}
