/* SKIN investor themes. Load after style.css. Layout, motion and data are untouched. */
:root{color-scheme:light;--theme-paper:#f6f4ef;--theme-ink:#0b0b0d;--theme-muted:#5c605c;--theme-border:#b7bbae;--theme-surface:#efede7;--theme-lime:#d9ff57;--muted:#555}
:root[data-theme=dark]{color-scheme:dark;--theme-paper:#141618;--theme-ink:#f6f4ef;--theme-muted:#afb5b9;--theme-border:#565d62;--theme-surface:#202326;--muted:#afb5b9}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-width:44px;min-height:44px;padding:10px 13px;border:1px solid var(--theme-border);border-radius:999px;background:transparent;color:var(--theme-ink);font:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.theme-toggle:hover{background:var(--theme-surface)}
.theme-toggle svg{display:block;width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .theme-sun{display:none}
[data-theme=dark] .theme-toggle .theme-sun{display:block}
[data-theme=dark] .theme-toggle .theme-moon{display:none}
.theme-toggle:focus-visible{outline:3px solid #a65a2a;outline-offset:4px}
[data-theme=dark] body{background:var(--theme-paper);color:var(--theme-ink)}
[data-theme=dark] header{background:#141618;border-color:var(--theme-border)}
[data-theme=dark] :is(header,footer,.platform) img[src$="logo.svg"]{filter:invert(1)}
[data-theme=dark] :is(.caption,.heading>p,.label,.small-note,.output>span,.market-note,.flywheel li p,.edge-grid span,.expansion-grid p,.expansion-top>span:last-child,footer,.back-link,.profile-role span,.revenue-visual p,.future-disclaimer,.future-avatar span,.future-result small,.collective-note,.collective-expertise,.safeguard-tiles>div>span:last-child,.mobile-title small,.mobile-expand,.mobile-preview p,.mini-loop:after){color:var(--theme-muted)}
[data-theme=dark] h1 span{color:#afb5b9}
[data-theme=dark] :is(.dark,.economics-panel,.scale-total){background:#101214;color:#f6f4ef}
[data-theme=dark] :is(.founders article,.proof-grid article,.profile-method aside,.brief-tile){background:#202326;border-color:var(--theme-border)}
[data-theme=dark] :is(.founder-top,.founders li,.profile-method li,.fine-details,.dark .fine-details,.economics-panel .fine-details,.expansion,.economic,.scale-ledger>div,.profile-credentials,details,.cost-grid div,.mini-proof,.mini-scale){border-color:var(--theme-border)}
[data-theme=dark] :is(.experience,.market article,.metric-card,.scale-case,.tier-grid article,.profile-tier-row>div,.control-grid article,.expansion-grid article,.future-result,.future-avatar,.collective-character,.safeguard-tiles>div,.dream-grid article,.mini-chips span,.mini-prices span,.mini-market){background:var(--theme-surface);color:var(--theme-ink);border-color:var(--theme-border);box-shadow:none}
[data-theme=dark] :is(.chooser,.market-section,.profile-question){background:#1b1e20}
[data-theme=dark] .output{background:#292d30;border-color:#d9ff57}
[data-theme=dark] :is(.path-grid article,.bundle-example,.platform,.dream-flow,.dream-icon,.raise-metrics>div){border-color:var(--theme-border)}
[data-theme=dark] :is(.collective-character strong,.safeguard-tiles strong){color:#f6f4ef}
[data-theme=dark] :is(.scenario-tabs button,.collective-filters button,.chooser button){color:#f6f4ef;border-color:var(--theme-border)}
[data-theme=dark] :is(.scenario-tabs button[aria-pressed=true],.collective-filters button[aria-pressed=true],.chooser button.chosen,.future-avatar[aria-pressed=true]){background:#d9ff57;color:#0b0b0d;border-color:#d9ff57}
[data-theme=dark] .collective-character[aria-pressed=true]{border-color:#d9ff57;box-shadow:0 0 0 2px #d9ff57}
[data-theme=dark] .collective-label{background:#141618ed;color:#f6f4ef}
[data-theme=dark] .button{background:#d9ff57;color:#0b0b0d}
[data-theme=dark] .button:hover{background:#e5ff93}
[data-theme=dark] :is(.hero-stage,.closing,.collective-detail,.brief-result,.mini-equation,.mini-loop span,.mini-share span,.mini-prices span:nth-child(2),.tier-grid article:nth-child(2),.profile-tier-row>div:nth-child(2),.raise-metrics>div:first-child,.dream-grid article:nth-child(2),.market article>.line-icon,.output-icon){background:#d9ff57;color:#0b0b0d;--muted:#414b2b}
[data-theme=dark] .hero-stage{border-color:#9bb937;box-shadow:0 10px 0 -5px #293021}
[data-theme=dark] .closing{border-color:#9bb937}
[data-theme=dark] :is(.closing,.hero-stage) .button{background:#0b0b0d;color:#f6f4ef}
[data-theme=dark] :is(.closing,.hero-stage) .button:hover{background:#34382b}
[data-theme=dark] :is(.closing .caption,.hero-stage .caption,.identity .card-credential,.hero-stage .pose-note,.future-avatar[aria-pressed=true] span){color:#414b2b}
[data-theme=dark] .collective-detail a{color:#0b0b0d}
[data-theme=dark] :is(.mini-share span+span,.splitbar span+span){background:#d6dbd1;color:#0b0b0d}
[data-theme=dark] :is(.service-slice,.scale-track span){color:#0b0b0d}
[data-theme=dark] .scale-track span+span{color:#f6f4ef}
[data-theme=dark] .flywheel li{background:var(--theme-surface);border-color:var(--theme-border)!important}
[data-theme=dark] .flywheel li:nth-child(2){background:#d9ff57;color:#0b0b0d}
[data-theme=dark] .flywheel li:nth-child(2) :is(p,b,.line-icon){color:#414b2b;border-color:#63733d}
[data-theme=dark] .flywheel li:not(:last-child):after{background:var(--theme-paper);color:#f6f4ef}
[data-theme=dark] :is(.flywheel li b,.flywheel li .line-icon,.edge-grid .line-icon,.safeguard-dot,.dream-flow b,.mini-steps i){color:#c2d390}
[data-theme=dark] .metric-card:last-child{background:#101214}
[data-theme=dark] .mini-faces{background:#202326}
[data-theme=dark] :is(a,button,summary):focus-visible{outline-color:#d9ff57}
[data-theme=dark] :is(.hero-stage,.closing,.collective-detail,.dream-grid article:nth-child(2),.tier-grid article:nth-child(2)) :is(a,button,summary):focus-visible{outline-color:#0b0b0d}
[data-theme=dark] ::selection{background:#d9ff57;color:#0b0b0d}
@media(max-width:900px){header{gap:16px}.theme-toggle{padding:10px}}
@media(max-width:620px){header{gap:10px}.theme-toggle{width:44px;padding:10px}.theme-toggle-label{display:none}[data-theme=dark] body:not(.person-page) main>section:not(.hero):not(.closing){border-color:var(--theme-border)!important}[data-theme=dark] .segment-toggle[aria-expanded=true]~.mobile-preview{border-color:var(--theme-border)}}
@media(forced-colors:active){.theme-toggle{border:1px solid ButtonText}}
[data-theme=dark] .future-avatar .prospect-monogram{color:#0b0b0d}

/* Raised metric highlight keeps its supporting copy dark on lime. */
[data-theme=dark] .raise-metrics>div:first-child :is(.caption,p,small,span){color:#414b2b}
/* Match the caption specificity of the new CTA sheet on the lime closing panel. */
html[data-theme=dark] body .closing p.caption{color:#414b2b}
/* Small sequence numbers need body-text contrast in the original day palette. */
html:not([data-theme=dark]) .flywheel li>b,
html:not([data-theme=dark]) .expansion-top>span:last-child,
html:not([data-theme=dark]) .proof-grid .proof-head>span{color:#515b43}
/* Small mobile sequence labels and arrows retain contrast on day surfaces. */
html:not([data-theme=dark]) .mini-steps i,
html:not([data-theme=dark]) .mobile-title small{color:#515b43}
html:not([data-theme=dark]) .dark :is(.mini-steps i,.mobile-title small){color:#d9ff57}
