/*! NS Finance — founded, designed, and built by Nimit Patel & Sanjay Parisa. (c) NS Finance — Nimit Patel & Sanjay Parisa. All rights reserved. */

        :root {
            --gold: #cda250;
            --bg: #060f08;
            --panel: #0b1c0e;
            --border: #162d1a;
            --border2: #1e3d22;
            --cream: #f4ead2;
        }
        * { box-sizing: border-box; }
        body {
            background-color: var(--bg);
            color: #ffffff;
            font-family: 'Inter', sans-serif;
            overflow: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* ── Landing page: distinct type voice (scoped, rest of app keeps Inter) ── */
        #landing-page, #landing-page *:not(i):not([class*="fa-"]) { font-family: 'Bricolage Grotesque', 'Inter', sans-serif !important; }
        #landing-page h1, #landing-page [style*="Fraunces"] { font-family: 'Fraunces', Georgia, serif !important; }

        /* ── Landing hero: drifting skyline layers (Izanami-style parallax drift,
             Wall Street skyline instead of clouds). Pure transform loops, GPU
             compositor only -- same technique as the ticker tape. Paused when
             the tab is hidden (reuses body.tab-hidden) and disabled for
             prefers-reduced-motion. ── */
        .lp-skyline-drift {
            position:absolute; left:0; bottom:0; width:400%; height:220px;
            background-repeat:repeat-x; background-size:25% 100%; background-position:0 bottom;
            pointer-events:none; will-change:transform; z-index:1;
        }
        .lp-skyline-back {
            height:230px; opacity:0.16;
            background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20800%20240%22%20width%3D%22800%22%20height%3D%22240%22%3E%3Cg%20fill%3D%22%2523cda250%22%20stroke%3D%22none%22%3E%3Crect%20x%3D%220%22%20y%3D%2232%22%20width%3D%2256%22%20height%3D%22208%22/%3E%3Crect%20x%3D%2271%22%20y%3D%2296%22%20width%3D%2236%22%20height%3D%22144%22/%3E%3Crect%20x%3D%22117%22%20y%3D%22100%22%20width%3D%2235%22%20height%3D%22140%22/%3E%3Crect%20x%3D%22159%22%20y%3D%22118%22%20width%3D%2228%22%20height%3D%22122%22/%3E%3Crect%20x%3D%22203%22%20y%3D%2213%22%20width%3D%2247%22%20height%3D%22227%22/%3E%3Crect%20x%3D%22259%22%20y%3D%2272%22%20width%3D%2236%22%20height%3D%22168%22/%3E%3Crect%20x%3D%22299%22%20y%3D%2225%22%20width%3D%2258%22%20height%3D%22215%22/%3E%3Crect%20x%3D%22368%22%20y%3D%22117%22%20width%3D%2258%22%20height%3D%22123%22/%3E%3Crect%20x%3D%22441%22%20y%3D%2268%22%20width%3D%2260%22%20height%3D%22172%22/%3E%3Crect%20x%3D%22508%22%20y%3D%2279%22%20width%3D%2254%22%20height%3D%22161%22/%3E%3Crect%20x%3D%22577%22%20y%3D%2227%22%20width%3D%2250%22%20height%3D%22213%22/%3E%3Crect%20x%3D%22637%22%20y%3D%2227%22%20width%3D%2236%22%20height%3D%22213%22/%3E%3Crect%20x%3D%22688%22%20y%3D%2246%22%20width%3D%2251%22%20height%3D%22194%22/%3E%3Crect%20x%3D%22745%22%20y%3D%2248%22%20width%3D%2254%22%20height%3D%22192%22/%3E%3C/g%3E%3Cg%20stroke%3D%22%2523cda250%22%20fill%3D%22none%22%3E%3Cline%20x1%3D%22226%22%20y1%3D%2213%22%20x2%3D%22226%22%20y2%3D%22-9%22%20stroke-width%3D%222%22/%3E%3Cline%20x1%3D%22328%22%20y1%3D%2225%22%20x2%3D%22328%22%20y2%3D%223%22%20stroke-width%3D%222%22/%3E%3Cline%20x1%3D%22713%22%20y1%3D%2246%22%20x2%3D%22713%22%20y2%3D%2224%22%20stroke-width%3D%222%22/%3E%3C/g%3E%3Cg%20fill%3D%22%2523f4ead2%22%3E%3Crect%20x%3D%2243%22%20y%3D%2237%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2233%22%20y%3D%2251%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%223%22%20y%3D%2265%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2213%22%20y%3D%2293%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2223%22%20y%3D%2293%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2213%22%20y%3D%22107%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2233%22%20y%3D%22107%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2243%22%20y%3D%22107%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%223%22%20y%3D%22121%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2213%22%20y%3D%22121%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2223%22%20y%3D%22121%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2223%22%20y%3D%22135%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2233%22%20y%3D%22135%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2213%22%20y%3D%22149%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2233%22%20y%3D%22149%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2243%22%20y%3D%22149%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%223%22%20y%3D%22163%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2213%22%20y%3D%22163%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2223%22%20y%3D%22163%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2243%22%20y%3D%22163%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2213%22%20y%3D%22177%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2213%22%20y%3D%22191%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2233%22%20y%3D%22191%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2243%22%20y%3D%22191%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%223%22%20y%3D%22205%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2233%22%20y%3D%22205%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%223%22%20y%3D%22219%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2243%22%20y%3D%22219%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22206%22%20y%3D%2218%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22216%22%20y%3D%2218%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22216%22%20y%3D%2232%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22226%22%20y%3D%2232%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22206%22%20y%3D%2246%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22206%22%20y%3D%2260%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22216%22%20y%3D%2260%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22236%22%20y%3D%2260%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22226%22%20y%3D%2274%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22216%22%20y%3D%2288%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22206%22%20y%3D%22102%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22216%22%20y%3D%22102%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22206%22%20y%3D%22116%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22226%22%20y%3D%22130%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22236%22%20y%3D%22130%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22206%22%20y%3D%22144%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22226%22%20y%3D%22144%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22236%22%20y%3D%22172%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22236%22%20y%3D%22186%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22206%22%20y%3D%22200%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22236%22%20y%3D%22200%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22216%22%20y%3D%22214%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22226%22%20y%3D%22214%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22236%22%20y%3D%22214%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22226%22%20y%3D%22228%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22236%22%20y%3D%22228%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22322%22%20y%3D%2230%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22312%22%20y%3D%2244%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22332%22%20y%3D%2244%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22332%22%20y%3D%22100%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22332%22%20y%3D%22128%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22302%22%20y%3D%22142%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22332%22%20y%3D%22142%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22332%22%20y%3D%22156%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22342%22%20y%3D%22156%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22302%22%20y%3D%22170%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22322%22%20y%3D%22170%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22332%22%20y%3D%22170%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22332%22%20y%3D%22184%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22302%22%20y%3D%22198%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22322%22%20y%3D%22212%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22332%22%20y%3D%22212%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22342%22%20y%3D%22226%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22371%22%20y%3D%22122%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22411%22%20y%3D%22122%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22401%22%20y%3D%22136%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22411%22%20y%3D%22136%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22381%22%20y%3D%22150%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22411%22%20y%3D%22150%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22381%22%20y%3D%22164%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22391%22%20y%3D%22164%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22411%22%20y%3D%22164%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22381%22%20y%3D%22178%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22391%22%20y%3D%22178%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22401%22%20y%3D%22178%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22381%22%20y%3D%22206%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22401%22%20y%3D%22206%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22411%22%20y%3D%22206%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22391%22%20y%3D%22220%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22401%22%20y%3D%22220%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22411%22%20y%3D%22220%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22484%22%20y%3D%2273%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22454%22%20y%3D%2287%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22444%22%20y%3D%22115%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22494%22%20y%3D%22115%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22494%22%20y%3D%22129%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22464%22%20y%3D%22143%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22474%22%20y%3D%22143%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22464%22%20y%3D%22157%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22484%22%20y%3D%22157%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22444%22%20y%3D%22171%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22454%22%20y%3D%22171%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22474%22%20y%3D%22171%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22484%22%20y%3D%22171%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22444%22%20y%3D%22199%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22454%22%20y%3D%22199%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22474%22%20y%3D%22199%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22474%22%20y%3D%22213%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22454%22%20y%3D%22227%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22531%22%20y%3D%2284%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22511%22%20y%3D%22112%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22511%22%20y%3D%22126%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22531%22%20y%3D%22126%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22531%22%20y%3D%22140%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22541%22%20y%3D%22140%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22521%22%20y%3D%22154%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22541%22%20y%3D%22154%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22551%22%20y%3D%22154%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22511%22%20y%3D%22168%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22531%22%20y%3D%22168%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22511%22%20y%3D%22182%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22531%22%20y%3D%22182%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22551%22%20y%3D%22182%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22511%22%20y%3D%22196%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22521%22%20y%3D%22210%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22531%22%20y%3D%22210%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22551%22%20y%3D%22224%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22580%22%20y%3D%2232%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22590%22%20y%3D%2232%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22610%22%20y%3D%2232%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22590%22%20y%3D%2246%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22600%22%20y%3D%2246%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22620%22%20y%3D%2246%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22580%22%20y%3D%2260%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22620%22%20y%3D%2260%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22600%22%20y%3D%2274%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22610%22%20y%3D%2274%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22600%22%20y%3D%2288%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22600%22%20y%3D%22102%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22610%22%20y%3D%22102%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22620%22%20y%3D%22102%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22580%22%20y%3D%22116%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22620%22%20y%3D%22116%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22580%22%20y%3D%22130%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22590%22%20y%3D%22130%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22580%22%20y%3D%22144%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22590%22%20y%3D%22144%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22580%22%20y%3D%22158%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22580%22%20y%3D%22172%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22610%22%20y%3D%22172%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22600%22%20y%3D%22186%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22610%22%20y%3D%22186%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22580%22%20y%3D%22200%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22590%22%20y%3D%22228%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22721%22%20y%3D%2251%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22731%22%20y%3D%2251%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22701%22%20y%3D%2265%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22691%22%20y%3D%2279%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22721%22%20y%3D%2279%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22721%22%20y%3D%22107%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22701%22%20y%3D%22121%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22721%22%20y%3D%22121%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22731%22%20y%3D%22121%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22701%22%20y%3D%22135%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22711%22%20y%3D%22135%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22701%22%20y%3D%22163%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22731%22%20y%3D%22163%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22701%22%20y%3D%22177%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22721%22%20y%3D%22177%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22701%22%20y%3D%22191%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22711%22%20y%3D%22205%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22691%22%20y%3D%22219%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22711%22%20y%3D%22219%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22721%22%20y%3D%22219%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22731%22%20y%3D%22219%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22778%22%20y%3D%2253%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22758%22%20y%3D%2267%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22758%22%20y%3D%2281%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22788%22%20y%3D%2295%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22768%22%20y%3D%22109%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22778%22%20y%3D%22109%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22748%22%20y%3D%22123%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22788%22%20y%3D%22123%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22768%22%20y%3D%22151%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22778%22%20y%3D%22151%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22778%22%20y%3D%22165%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22788%22%20y%3D%22179%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22748%22%20y%3D%22193%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22788%22%20y%3D%22193%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22748%22%20y%3D%22207%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22758%22%20y%3D%22207%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22788%22%20y%3D%22207%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22758%22%20y%3D%22221%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22768%22%20y%3D%22221%22%20width%3D%223%22%20height%3D%224%22/%3E%3C/g%3E%3C/svg%3E");
            animation:lpSkylineDrift 160s linear infinite;
        }
        .lp-skyline-front {
            height:140px; opacity:0.11;
            background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20640%20160%22%20width%3D%22640%22%20height%3D%22160%22%3E%3Cg%20fill%3D%22%25232dd4a8%22%20stroke%3D%22none%22%3E%3Crect%20x%3D%220%22%20y%3D%22111%22%20width%3D%2242%22%20height%3D%2249%22/%3E%3Crect%20x%3D%2253%22%20y%3D%22101%22%20width%3D%2235%22%20height%3D%2259%22/%3E%3Crect%20x%3D%22100%22%20y%3D%2249%22%20width%3D%2230%22%20height%3D%22111%22/%3E%3Crect%20x%3D%22137%22%20y%3D%2238%22%20width%3D%2244%22%20height%3D%22122%22/%3E%3Crect%20x%3D%22192%22%20y%3D%22112%22%20width%3D%2237%22%20height%3D%2248%22/%3E%3Crect%20x%3D%22240%22%20y%3D%2261%22%20width%3D%2222%22%20height%3D%2299%22/%3E%3Crect%20x%3D%22266%22%20y%3D%2243%22%20width%3D%2243%22%20height%3D%22117%22/%3E%3Crect%20x%3D%22320%22%20y%3D%22109%22%20width%3D%2246%22%20height%3D%2251%22/%3E%3Crect%20x%3D%22374%22%20y%3D%2241%22%20width%3D%2236%22%20height%3D%22119%22/%3E%3Crect%20x%3D%22419%22%20y%3D%2244%22%20width%3D%2236%22%20height%3D%22116%22/%3E%3Crect%20x%3D%22464%22%20y%3D%22106%22%20width%3D%2223%22%20height%3D%2254%22/%3E%3Crect%20x%3D%22490%22%20y%3D%2297%22%20width%3D%2234%22%20height%3D%2263%22/%3E%3Crect%20x%3D%22532%22%20y%3D%22116%22%20width%3D%2223%22%20height%3D%2244%22/%3E%3Crect%20x%3D%22565%22%20y%3D%2240%22%20width%3D%2238%22%20height%3D%22120%22/%3E%3Crect%20x%3D%22606%22%20y%3D%2266%22%20width%3D%2236%22%20height%3D%2294%22/%3E%3C/g%3E%3Cg%20stroke%3D%22%25232dd4a8%22%20fill%3D%22none%22%3E%3C/g%3E%3Cg%20fill%3D%22%2523cda250%22%3E%3Crect%20x%3D%2213%22%20y%3D%22116%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2223%22%20y%3D%22116%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2233%22%20y%3D%22116%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2233%22%20y%3D%22130%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%223%22%20y%3D%22144%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2213%22%20y%3D%22144%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2276%22%20y%3D%22106%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2276%22%20y%3D%22120%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2256%22%20y%3D%22134%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2276%22%20y%3D%22134%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2256%22%20y%3D%22148%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%2266%22%20y%3D%22148%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22113%22%20y%3D%2296%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22123%22%20y%3D%2296%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22103%22%20y%3D%22110%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22113%22%20y%3D%22110%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22123%22%20y%3D%22110%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22103%22%20y%3D%22124%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22113%22%20y%3D%22124%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22123%22%20y%3D%22138%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22160%22%20y%3D%2243%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22140%22%20y%3D%2257%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22140%22%20y%3D%2285%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22150%22%20y%3D%2285%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22160%22%20y%3D%2285%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22170%22%20y%3D%2285%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22140%22%20y%3D%2299%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22170%22%20y%3D%2299%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22140%22%20y%3D%22127%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22150%22%20y%3D%22127%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22170%22%20y%3D%22127%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22170%22%20y%3D%22141%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22195%22%20y%3D%22117%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22205%22%20y%3D%22117%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22215%22%20y%3D%22131%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22289%22%20y%3D%2248%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22299%22%20y%3D%2248%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22269%22%20y%3D%2262%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22279%22%20y%3D%2262%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22299%22%20y%3D%2276%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22299%22%20y%3D%2290%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22279%22%20y%3D%22104%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22299%22%20y%3D%22118%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22299%22%20y%3D%22132%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22269%22%20y%3D%22146%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22289%22%20y%3D%22146%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22343%22%20y%3D%22114%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22387%22%20y%3D%2246%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22397%22%20y%3D%2246%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22377%22%20y%3D%2260%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22377%22%20y%3D%2274%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22397%22%20y%3D%2274%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22377%22%20y%3D%2288%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22387%22%20y%3D%2288%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22397%22%20y%3D%2288%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22387%22%20y%3D%22102%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22387%22%20y%3D%22130%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22387%22%20y%3D%22144%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22422%22%20y%3D%2249%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22422%22%20y%3D%2263%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22422%22%20y%3D%2277%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22432%22%20y%3D%2277%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22422%22%20y%3D%2291%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22432%22%20y%3D%2291%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22432%22%20y%3D%22105%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22432%22%20y%3D%22119%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22432%22%20y%3D%22133%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22442%22%20y%3D%22133%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22432%22%20y%3D%22147%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22503%22%20y%3D%22130%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22513%22%20y%3D%22130%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22578%22%20y%3D%2245%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22578%22%20y%3D%2259%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22588%22%20y%3D%2259%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22588%22%20y%3D%2287%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22568%22%20y%3D%22101%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22568%22%20y%3D%22115%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22578%22%20y%3D%22115%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22568%22%20y%3D%22129%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22578%22%20y%3D%22129%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22588%22%20y%3D%22129%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22619%22%20y%3D%2271%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22619%22%20y%3D%2285%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22629%22%20y%3D%2285%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22609%22%20y%3D%2299%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22619%22%20y%3D%2299%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22629%22%20y%3D%2299%22%20width%3D%223%22%20height%3D%224%22/%3E%3Crect%20x%3D%22629%22%20y%3D%22113%22%20width%3D%223%22%20height%3D%224%22/%3E%3C/g%3E%3C/svg%3E");
            animation:lpSkylineDrift 95s linear infinite reverse;
        }
        @keyframes lpSkylineDrift { from { transform:translate3d(0,0,0); } to { transform:translate3d(-25%,0,0); } }
        body.tab-hidden .lp-skyline-drift { animation-play-state:paused; }
        @media (prefers-reduced-motion: reduce) { .lp-skyline-drift { animation:none; } }

        /* ── Landing hero: continuous scroll narrative ─────────────
             Hero text is visible and the course cards are hidden/small at
             the top of the page; as the user scrolls, the cards rise and
             grow into place while the hero text and scroll cue fade out --
             all driven continuously by scroll progress (see
             initWallStreetScrollPan's apply()), not a single on/off
             threshold, so the cards start appearing almost as soon as
             scrolling begins instead of leaving an empty gap mid-scroll. */
        /* Both states live in the SAME fixed-height box, absolutely
           positioned on top of each other, so this reveal never changes
           #landing-page's actual scrollHeight. (An earlier version
           collapsed the hero text's layout height instead, which shrank the
           page while scrolled near the bottom -- the browser then clamped
           scrollTop back up, which dropped scroll progress below the reveal
           threshold, which un-collapsed the text, which grew the page again
           ...an infinite snap-back loop. Fixed by never changing the box's
           height in the first place.) */
        .lp-hero-stage { position:relative; min-height:min(150vh, 1150px); }
        .lp-hero-sticky { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; justify-content:center; }

        .lp-hero-text {
            position:absolute; top:0; left:0; right:0;
            will-change: opacity, transform;
        }

        .lp-course-cards-wrap {
            position:absolute; top:50%; left:50%; width:100%;
            max-width:860px; gap:0.9rem;
            opacity:0; transform:translate(-50%,-50%) scale(0.4);
            will-change: opacity, transform;
        }

        .lp-scroll-cue {
            position:fixed; left:0; right:0; bottom:2rem; z-index:8;
            display:flex; flex-direction:column; align-items:center; gap:0.55rem;
            font-size:0.92rem; font-weight:800; text-transform:uppercase; letter-spacing:0.12em;
            color:rgba(205,162,80,0.95); text-shadow:0 2px 12px rgba(0,0,0,0.7);
            animation: lpScrollCueBob 1.8s ease-in-out infinite;
        }
        .lp-scroll-cue i { font-size:1.35rem; }
        @keyframes lpScrollCueBob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(7px); } }
        @media (prefers-reduced-motion: reduce) {
            .lp-course-cards-wrap { opacity:1; transform:translate(-50%,-50%); pointer-events:auto; max-width:860px; gap:0.9rem; }
            .lp-hero-text { opacity:1; transform:none; pointer-events:auto; }
            .lp-scroll-cue { animation:none; }
        }

        h1, h2, .font-display { font-family: 'Fraunces', Georgia, serif; }
        .font-mono, .topic-num-tag { font-family: 'JetBrains Mono', monospace; }
        .custom-scrollbar::-webkit-scrollbar { width: 5px; height: 5px; }
        .custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
        .custom-scrollbar::-webkit-scrollbar-thumb { background: #2a4a2e; border-radius: 4px; }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #cda250; }
        .animate-fade-in { animation: fadeIn 0.35s ease-out forwards; }
        @keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

        /* 3D flashcard */
        .perspective-1000 { perspective: 1000px; }
        .transform-style-3d { transform-style: preserve-3d; }
        .backface-hidden { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
        .rotate-y-180 { transform: rotateY(180deg); }
        .blur-bg { filter: blur(8px); pointer-events: none; user-select: none; }

        /* ── Topic reading typography ──────────────────────── */
        .tcontent h3 { font-family: 'Fraunces', Georgia, serif; color: var(--gold); font-size: 1.45rem; font-weight: 700; line-height: 1.22; margin: 1.8rem 0 0.8rem; }
        .tcontent h3:first-child { margin-top: 0; }
        .tcontent h4 { color: #e8f0e8; font-size: 1.05rem; font-weight: 800; margin: 1.35rem 0 0.55rem; letter-spacing: 0.01em; }
        .tcontent p { margin-bottom: 1.1rem; color: #b8ceba; line-height: 1.75; }
        .tcontent ul, .tcontent ol { margin: 0 0 1.1rem 0; padding-left: 1.3rem; color: #b8ceba; }
        .tcontent ul { list-style: none; padding-left: 0; }
        .tcontent ul > li { position: relative; padding-left: 1.5rem; margin-bottom: 0.55rem; line-height: 1.65; }
        .tcontent ul > li::before { content: ''; position: absolute; left: 0.25rem; top: 0.58em; width: 6px; height: 6px; border-radius: 1px; background: var(--gold); transform: rotate(45deg); }
        .tcontent ol { list-style: decimal; padding-left: 1.4rem; }
        .tcontent ol > li { margin-bottom: 0.55rem; padding-left: 0.2rem; line-height: 1.65; }
        .tcontent li strong { color: #fff; }
        .tcontent strong { color: #fff; font-weight: 700; }
        .tcontent em { color: var(--gold); font-style: normal; font-weight: 600; }
        .tcontent table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.88rem; border-radius: 0.5rem; overflow: hidden; }
        .tcontent th { background: #0e2214; color: var(--gold); text-align: left; padding: 0.65rem 1rem; font-size: 0.69rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; border-bottom: 1px solid var(--border2); }
        .tcontent td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); color: #b8ceba; }
        .tcontent tr:last-child td { border-bottom: none; }
        .tcontent tr:nth-child(even) td { background: rgba(255,255,255,0.015); }

        /* Callout boxes */
        .tcontent .exam-tip, .tcontent .formula-box, .tcontent .trap-box, .tcontent .money-box {
            border-radius: 0.75rem; padding: 1rem 1.2rem; margin: 1.25rem 0; font-size: 0.92rem; line-height: 1.6;
        }
        .tcontent .exam-tip   { background: rgba(205,162,80,0.07);  border: 1px solid rgba(205,162,80,0.25); color: #f0e0b8; }
        .tcontent .trap-box   { background: rgba(230,72,72,0.06);   border: 1px solid rgba(230,72,72,0.22);  color: #f4d0d0; }
        .tcontent .money-box  { background: rgba(45,212,168,0.07);  border: 1px solid rgba(45,212,168,0.22); color: #c8f0e0; }
        .tcontent .formula-box{ background: #040c06; border: 1px solid var(--border2); color: var(--cream); font-family: 'JetBrains Mono', monospace; }
        .tcontent .exam-tip .tag   { display:block; font-family:'JetBrains Mono',monospace; font-size:0.62rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--gold); margin-bottom:0.4rem; }
        .tcontent .trap-box .tag   { display:block; font-family:'JetBrains Mono',monospace; font-size:0.62rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:#f08080; margin-bottom:0.4rem; }
        .tcontent .money-box .tag  { display:block; font-family:'JetBrains Mono',monospace; font-size:0.62rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:#2dd4a8; margin-bottom:0.4rem; }
        .tcontent .formula-box .tag{ display:block; font-family:'JetBrains Mono',monospace; font-size:0.62rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:#4a7a50; margin-bottom:0.4rem; }
        .tcontent .formula-box .formula-line { font-size:0.95rem; color:#e8f4e8; padding:0.1rem 0; }

        /* Topic graph/model diagrams -- inline SVG, rendered by renderTopicGraphs() */
        .tcontent .topic-graph-box {
            background: #06120a; border: 1px solid var(--border2); border-radius: 0.75rem;
            padding: 1.2rem; margin: 1.5rem 0;
        }
        .tcontent .topic-graph-box .tag {
            display:block; font-family:'JetBrains Mono',monospace; font-size:0.62rem; font-weight:700;
            text-transform:uppercase; letter-spacing:0.1em; color:#6ea8fe; margin-bottom:0.6rem;
        }

        /* ── Mascot ─────────────────────────────────────────── */
        #mascot-wrap { position:fixed; bottom:1.2rem; right:1.4rem; z-index:80; display:flex; flex-direction:column; align-items:flex-end; pointer-events:none; }
        #mascot-wrap.mascot-interactive { pointer-events:auto; }
        #mascot-bubble { pointer-events:auto; max-width:15rem; background:#f4ead2; color:#16331f; border-radius:1rem 1rem 0.25rem 1rem; padding:0.8rem 1rem; font-size:0.82rem; font-weight:600; line-height:1.4; margin-bottom:0.5rem; box-shadow:0 10px 24px rgba(0,0,0,0.5); position:relative; display:none; }
        #mascot-bubble.show { display:block; animation:bubblePop 0.32s cubic-bezier(0.34,1.56,0.64,1) forwards; }
        #mascot-bubble::after { content:''; position:absolute; bottom:-7px; right:16px; width:13px; height:13px; background:#f4ead2; clip-path:polygon(0 0,100% 0,0 100%); }
        #mascot-bubble .mb-close { position:absolute; top:0.35rem; right:0.5rem; font-size:0.6rem; color:#5b7062; cursor:pointer; opacity:0.7; }
        #mascot-streak { pointer-events:auto; font-size:0.62rem; font-weight:800; color:var(--gold); background:#040c06; border:1px solid var(--border2); border-radius:999px; padding:0.18rem 0.6rem; margin-bottom:0.45rem; display:none; align-items:center; gap:0.3rem; box-shadow:0 4px 12px rgba(0,0,0,0.4); }
        #mascot-streak.show { display:flex; }
        #mascot-btn {
            pointer-events:auto; width:6.4rem; height:auto; aspect-ratio:640/426; cursor:pointer;
            filter:drop-shadow(0 8px 16px rgba(0,0,0,0.55));
            transform-origin: 58% 96%; /* pivot near the planted front hoof, not dead-center */
            animation: toroIdle 3.2s ease-in-out infinite;
            transition: opacity 0.28s ease; /* only opacity — transform stays owned by the animation, avoids fighting it */
            -webkit-user-drag:none; user-select:none;
        }
        #mascot-btn:hover { filter:drop-shadow(0 8px 16px rgba(0,0,0,0.55)) drop-shadow(0 0 12px rgba(255,90,40,0.4)); }
        @keyframes toroIdle {
            0%, 100% { transform:translateY(0) rotate(0deg); }
            50%      { transform:translateY(-3px) rotate(-0.6deg); }
        }
        @media (max-width:640px) {
            #mascot-wrap { bottom:0.6rem; right:0.6rem; }
            #mascot-btn { width:5rem; }
            #mascot-bubble { max-width:12rem; font-size:0.76rem; }
        }

        /* ── Confetti ──────────────────────────────────────── */
        #confetti-layer { position:fixed; inset:0; pointer-events:none; z-index:200; overflow:hidden; }
        .confetti-piece { position:absolute; top:-12px; animation:confettiFall linear forwards; }

        /* ── Skeletons ─────────────────────────────────────── */
        .skeleton-line { background:linear-gradient(90deg,#0e2214 0%,#1a3a22 50%,#0e2214 100%); background-size:600px 100%; animation:shimmer 1.7s ease-in-out infinite; border-radius:0.35rem; }

        /* ── Focus / accessibility ─────────────────────────── */
        button:focus-visible, a:focus-visible, input:focus-visible { outline:2px solid var(--gold); outline-offset:2px; border-radius:0.35rem; }

        /* ── Mobile drawers ─────────────────────────────────── */
        #mobile-topbar { display:none; }
        .drawer-scrim { position:fixed; inset:0; background:rgba(0,0,0,0.7); z-index:35; opacity:0; pointer-events:none; transition:opacity 0.22s ease; backdrop-filter:blur(2px); }
        .drawer-scrim.show { opacity:1; pointer-events:auto; }
        @media (max-width:1023px) {
            #mobile-topbar { display:flex; }
            .lms-header-desktop-only { display:none !important; }
            aside#curriculum-aside { position:fixed; top:0; left:0; bottom:0; transform:translateX(-105%); transition:transform 0.28s cubic-bezier(0.16,1,0.3,1); width:min(88vw,340px); z-index:40; }
            aside#curriculum-aside.drawer-open { transform:translateX(0); }
            aside#ai-tutor-aside { position:fixed; top:0; right:0; bottom:0; transform:translateX(105%); transition:transform 0.28s cubic-bezier(0.16,1,0.3,1); width:min(92vw,380px); z-index:40; }
            aside#ai-tutor-aside.drawer-open { transform:translateX(0); }
        }
        @media (min-width:1024px) { .mobile-only-control { display:none !important; } }

        /* ── UI Polish ──────────────────────────────────────── */
        .btn-press { transition:transform 0.12s ease; }
        .btn-press:active { transform:scale(0.95); }
        .typing-dot { width:5px; height:5px; border-radius:50%; background:var(--gold); display:inline-block; animation:typingBounce 1.1s infinite ease-in-out; }
        .typing-dot:nth-child(2) { animation-delay:0.15s; }
        .typing-dot:nth-child(3) { animation-delay:0.3s; }
        @keyframes typingBounce { 0%,60%,100% { transform:translateY(0);opacity:0.4; } 30% { transform:translateY(-4px);opacity:1; } }
        .chip { display:inline-flex; align-items:center; font-size:0.64rem; font-weight:800; text-transform:uppercase; letter-spacing:0.06em; padding:0.2rem 0.55rem; border-radius:999px; }

        /* Landing course cards — StarBorder container (React Bits StarBorder, ported to CSS) */
        .lp-course-card {
            position:relative; overflow:hidden; border-radius:0.85rem;
            padding:4px 0; /* thickness: this top/bottom gap is where the star border shows through */
            text-align:left; cursor:pointer; background:transparent; border:none; font-family:inherit;
            transition:transform 0.2s ease, box-shadow 0.2s ease;
        }
        .lp-course-card:hover { transform:translateY(-3px); box-shadow:0 10px 26px rgba(0,0,0,0.45); }
        .lp-course-card:active { transform:translateY(-1px); }

        /* the two comet-like gradient blobs that sweep along the top/bottom edges */
        .lp-course-card .border-gradient-bottom,
        .lp-course-card .border-gradient-top {
            position:absolute; width:300%; height:50%; opacity:1; border-radius:50%; z-index:0; pointer-events:none;
            filter: drop-shadow(0 0 6px rgba(205,162,80,0.9));
        }
        .lp-course-card .border-gradient-bottom { bottom:-12px; right:-250%; animation:star-movement-bottom linear infinite alternate; }
        .lp-course-card .border-gradient-top    { top:-12px; left:-250%; animation:star-movement-top linear infinite alternate; }
        @keyframes star-movement-bottom { 0% { transform:translate(0%,0%); opacity:1; } 100% { transform:translate(-100%,0%); opacity:0; } }
        @keyframes star-movement-top    { 0% { transform:translate(0%,0%); opacity:1; } 100% { transform:translate(100%,0%); opacity:0; } }

        /* the actual visible card face — sits above the blobs, covering everything except the 4px gap */
        .lp-course-card .sb-inner {
            position:relative; z-index:1; height:100%;
            background:#08160a; border:1px solid var(--border); border-radius:0.6rem;
            padding:1.2rem 1.3rem; box-sizing:border-box;
            transition:border-color 0.2s ease, background 0.2s ease;
        }
        .lp-course-card .sb-inner::after { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:linear-gradient(90deg,#cda250,transparent); opacity:0; transition:opacity 0.2s; }
        .lp-course-card:hover .sb-inner { border-color:rgba(205,162,80,0.4); background:#0c1e0e; }
        .lp-course-card:hover .sb-inner::after { opacity:1; }

        /* ── Landing hero: reveal-on-load (one-shot, GPU-only) ─────── */
        .reveal-up { opacity:0; animation: revealUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards; will-change: transform, opacity; }
        @keyframes revealUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
        .delay-0 { animation-delay: 0.05s; }
        .delay-1 { animation-delay: 0.15s; }
        .delay-2 { animation-delay: 0.25s; }
        .delay-3 { animation-delay: 0.38s; }
        .delay-4 { animation-delay: 0.50s; }
        .delay-5 { animation-delay: 0.62s; }

        /* ── Landing hero: background photo slideshow (opacity-only crossfade) ── */
        #bg-slideshow { position:fixed; inset:0; z-index:0; overflow:hidden; contain:strict; }
        .bg-slide {
            position:absolute; inset:0; background-size:cover; background-position:center;
            opacity:0; transition:opacity 2.4s ease-in-out; will-change:opacity;
            transform:translateZ(0); /* own compositor layer, avoids repaint of siblings */
        }
        .bg-slide.active { opacity:1; }

        /* ── Ticker tape (pure CSS transform loop — compositor only, ~free) ── */
        .ticker-row { position:relative; z-index:10; width:100%; flex-shrink:0; overflow:hidden; contain:paint; display:flex; align-items:center; }
        .ticker-track { display:flex; width:max-content; will-change:transform; }
        @keyframes tickerScroll { from { transform:translate3d(0,0,0); } to { transform:translate3d(-50%,0,0); } }
        .ticker-item {
            font-family:'JetBrains Mono',monospace; font-size:0.66rem; font-weight:700; letter-spacing:0.02em; line-height:1;
            padding:0 1.1rem; white-space:nowrap; display:inline-flex; align-items:center; gap:0.3rem; color:#9ab0a0;
        }
        .ticker-item::before { content:''; width:5px; height:5px; border-radius:1px; }
        .ticker-item.tick-up   { color:#5fd9a8; }
        .ticker-item.tick-up::before   { background:#2dd4a8; }
        .ticker-item.tick-down { color:#e88a8a; }
        .ticker-item.tick-down::before { background:#e05c5c; transform:rotate(180deg); }
        .ticker-item b { font-weight:800; }
        .ticker-item2 { font-family:'JetBrains Mono',monospace; font-size:0.62rem; font-weight:700; letter-spacing:0.04em; line-height:1; padding:0 1.3rem; white-space:nowrap; color:#4a6a52; display:inline-flex; align-items:center; }

        /* ── Feature pills ─────────────────────────────────────────── */
        .feat-pill { display:inline-flex; align-items:center; gap:0.42rem; font-size:0.76rem; color:#7a9484; font-weight:600; }

        /* ── Toro click "charge": handled via Web Animations API in JS   ── */
        /* (transform-only, transform-origin set above, no CSS class needed) */
        .dust-puff {
            position:absolute; bottom:0.3rem; width:16px; height:8px; border-radius:50%;
            background:radial-gradient(circle,rgba(255,110,40,0.55),transparent 70%);
            opacity:0; pointer-events:none;
        }
        .dust-puff.go { animation:dustPuff 0.5s ease-out forwards; }
        .dust-puff.go2 { animation:dustPuff2 0.5s ease-out 0.05s forwards; }
        @keyframes dustPuff  { 0%{opacity:0.8;transform:translate(0,0) scale(0.5);} 100%{opacity:0;transform:translate(-16px,4px) scale(1.6);} }
        @keyframes dustPuff2 { 0%{opacity:0.8;transform:translate(0,0) scale(0.5);} 100%{opacity:0;transform:translate(14px,4px) scale(1.6);} }

        /* ── Toro's enlarged video overlay ─────────────────────────── */
        /* Anchored at the SAME bottom-right corner as the mascot icon  */
        /* itself, so growing it makes it feel like the icon expands   */
        /* directly into the video rather than a separate box appearing */
        /* elsewhere. position:absolute keeps it out of flex-flow while */
        /* hidden so it never disturbs the bubble/streak layout.        */
        #toro-video-overlay {
            position:absolute; right:0; bottom:0; z-index:90;
            width:min(480px, 85vw); aspect-ratio:16/9; border-radius:1rem; overflow:hidden;
            border:2px solid rgba(205,162,80,0.6); background:#000;
            box-shadow:0 24px 60px rgba(0,0,0,0.65), 0 0 0 5px rgba(205,162,80,0.1);
            transform-origin:bottom right; transform:scale(0.06); opacity:0; pointer-events:none;
            transition:transform 0.55s cubic-bezier(0.19,1,0.22,1), opacity 0.32s ease;
        }
        #toro-video-overlay.show { transform:scale(1); opacity:1; pointer-events:auto; }
        #toro-video-overlay video { width:100%; height:100%; object-fit:cover; display:block; }
        #toro-video-overlay .tv-close {
            position:absolute; top:10px; right:10px; width:26px; height:26px; border-radius:50%;
            background:rgba(0,0,0,0.6); color:#f4ead2; display:flex; align-items:center; justify-content:center;
            font-size:0.75rem; cursor:pointer; z-index:3; transition:background 0.2s;
        }
        #toro-video-overlay .tv-close:hover { background:rgba(205,162,80,0.9); color:#0a0f08; }
        #toro-video-overlay .tv-caption {
            position:absolute; bottom:0; left:0; right:0; background:linear-gradient(to top,rgba(0,0,0,0.85),transparent);
            color:#f4ead2; font-size:0.74rem; font-weight:800; letter-spacing:0.03em; text-transform:uppercase;
            padding:2.4rem 0.9rem 0.65rem 4.4rem; /* left padding leaves room for the mascot badge */
        }
        /* Mascot badge overlaid ON the expanded video — keeps Toro visible
           alongside the footage rather than swapping him out entirely. */
        #toro-video-overlay .tv-badge {
            position:absolute; bottom:8px; left:10px; width:2.7rem; height:auto; z-index:3;
            filter:drop-shadow(0 4px 10px rgba(0,0,0,0.65));
        }
        /* The small corner icon fades out while the video is expanded,   */
        /* reinforcing that it "became" the larger video, then returns.   */
        /* Opacity-only: transform stays owned by the idle-bob animation  */
        /* so the two never fight for control of the same property.      */
        #mascot-btn.toro-expanded { opacity:0; pointer-events:none; }
        @media (max-width:640px) {
            #toro-video-overlay { width:min(320px, 88vw); }
            #toro-video-overlay .tv-caption { padding-left:3.5rem; font-size:0.66rem; }
            #toro-video-overlay .tv-badge { width:2.1rem; }
        }

        ::selection { background:rgba(205,162,80,0.3); }
        @media (prefers-reduced-motion:reduce) {
            *, *::before, *::after { animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
            .ticker-track { animation:none !important; }
        }

        /* ── Topic Completed celebration: Toro charging at the camera (video) ── */
        #topic-complete-overlay {
            position:fixed; inset:0; z-index:500; overflow:hidden; background:#000;
            display:flex; align-items:flex-start; justify-content:center;
            opacity:0; visibility:hidden; pointer-events:none;
            transition:opacity 0.26s ease, visibility 0s linear 0.26s;
        }
        #topic-complete-overlay.show { opacity:1; visibility:visible; pointer-events:auto; cursor:pointer; transition:opacity 0.26s ease, visibility 0s; }
        #topic-complete-overlay.leaving { opacity:0; transition:opacity 0.3s ease, visibility 0s linear 0.3s; }
        #topic-complete-overlay .tco-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
        /* darkens just the sky so the title reads */
        #topic-complete-overlay .tco-shade { position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.12) 38%, transparent 55%); }
        #topic-complete-overlay .tco-text {
            position:relative; z-index:3; margin-top:4.5vh; text-align:center; pointer-events:none;
            font-family:'Fraunces',Georgia,serif; font-weight:900; letter-spacing:-0.02em;
            font-size:clamp(2.4rem,7.5vw,4.8rem); color:#fff; line-height:1.04;
            text-shadow:0 10px 36px rgba(0,0,0,0.55);
            /* dark glass panel so the title reads over the moving footage */
            padding:0.3em 0.6em 0.36em; border-radius:0.35em;
            background:rgba(6,15,8,0.62); border:1px solid rgba(205,162,80,0.35);
            -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
            box-shadow:0 18px 50px rgba(0,0,0,0.45);
            opacity:0; transform:translateY(12px) scale(0.97);
        }
        #topic-complete-overlay.show .tco-text { animation:tcoPanelIn 0.45s cubic-bezier(0.16,1,0.3,1) 0.05s forwards; }
        @keyframes tcoPanelIn { to { opacity:1; transform:none; } }
        #topic-complete-overlay .tco-text span { display:block; opacity:0; transform:translateY(28px); }
        #topic-complete-overlay.show .tco-text span { animation:tcoTextIn 0.55s cubic-bezier(0.16,1,0.3,1) 0.15s forwards; }
        #topic-complete-overlay.show .tco-text span.tco-line2 { animation-delay:0.29s; }
        @keyframes tcoTextIn { to { opacity:1; transform:translateY(0); } }

        /* ── DotGrid backdrop (React Bits DotGrid, ported to vanilla canvas) ── */
        /* — only used behind the "Select a Topic to Begin" empty state       */
        #empty-state-container { position:relative; overflow:hidden; width:100%; height:100%; margin:0; max-width:none; }
        #empty-state-container > i,
        #empty-state-container > h2,
        #empty-state-container > p { position:relative; z-index:1; }
        #exam-overlay { opacity:0; transition:opacity .2s ease; }
        #exam-overlay.show { opacity:1; }
        .exam-timer-critical { color:#f87171 !important; animation: examTimerPulse 1s ease-in-out infinite; }
        @keyframes examTimerPulse { 0%,100% { opacity:1; } 50% { opacity:.4; } }
        .budget-announce-bar { transition: filter 0.2s; }
        .budget-announce-bar:hover { filter: brightness(1.08); }

        .dot-grid-bg { position:absolute; inset:0; z-index:0; pointer-events:none; }
        .dot-grid-bg__canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }

        /* Pause every continuous decorative animation while the tab is
           backgrounded, or while any modal is open over a blurred
           background -- otherwise the browser keeps recomputing the
           blur every frame for as long as the modal stays open. */
        body.tab-hidden .ticker-track,
        body.tab-hidden .lp-course-card .border-gradient-bottom,
        body.tab-hidden .lp-course-card .border-gradient-top,
        body.tab-hidden #mascot-btn,
        body.tab-hidden .bg-slide,
        body.modal-open .ticker-track,
        body.modal-open .lp-course-card .border-gradient-bottom,
        body.modal-open .lp-course-card .border-gradient-top,
        body.modal-open #mascot-btn,
        body.modal-open .bg-slide { animation-play-state: paused !important; }

        /* -- Budgeting Calculator -- */
        .bc-input {
            width:100%; background:#0a1710; border:1px solid #22392a; color:#fff;
            border-radius:0.5rem; padding:0.55rem 0.7rem; font-size:0.85rem;
            outline:none; transition:border-color 0.15s;
        }
        .bc-input:focus { border-color:#cda250; }
        .bc-bar-row { display:flex; flex-direction:column; gap:0.3rem; }
        .bc-bar-label { display:flex; justify-content:space-between; font-size:0.72rem; font-weight:700; color:#c8d8cc; }
        .bc-bar-label span { color:#cda250; }
        .bc-bar-track { width:100%; height:8px; border-radius:999px; background:#16261a; overflow:hidden; }
        .bc-bar-fill { height:100%; border-radius:999px; background:linear-gradient(90deg,#cda250,#2dd4a8); transition:width 0.25s ease; }
    