/* Semantic theme surfaces. Intentional navy product panels stay navy in both modes. */
:root{color-scheme:light;--site-bg:#fff;--site-surface:#fff;--site-soft:#f2f5ff;--site-ink:#17213c;--site-muted:#5b6c8b;--site-line:#dce4f4;--site-accent:#335eea}
:root[data-theme=dark]{color-scheme:dark;--site-bg:#0d1629;--site-surface:#15223b;--site-soft:#101c33;--site-ink:#edf2ff;--site-muted:#adbbd5;--site-line:#314260;--site-accent:#a7bdff}
.logo-dark{display:none}.site-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:7px;font:inherit;font-size:10px;font-weight:500;border:1px solid var(--site-line);border-radius:7px;background:var(--site-surface);color:var(--site-ink);padding:10px 11px;cursor:pointer;min-height:40px}.site-theme-toggle:hover{border-color:var(--site-accent)}.site-theme-toggle [data-theme-icon]{font-size:18px;line-height:1}.navigation{gap:20px}.site-theme-toggle:focus-visible{outline:3px solid var(--site-accent);outline-offset:4px}
html[data-theme=dark] body{background:var(--site-bg);color:var(--site-ink)}
html[data-theme=dark] .logo-light{display:none}html[data-theme=dark] .logo-dark{display:inline-block}
html[data-theme=dark] .header{background:#0d1629f2;border-color:var(--site-line)}
html[data-theme=dark] .topline{background:#080f20;color:#c4d2ee}
html[data-theme=dark] .hero,html[data-theme=dark] .landing-hero{background:linear-gradient(130deg,#0f1b32,#162749)}
html[data-theme=dark] .hero-glow{background:radial-gradient(circle,#426dca25,transparent 65%)}
html[data-theme=dark] .investment-scene{background:#14223de6;border-color:#35486c;box-shadow:0 22px 70px #00000022}
html[data-theme=dark] .investment-icon{background:#263b67;color:#c1d1ff;border-color:#405887}
html[data-theme=dark] .investment-questions,html[data-theme=dark] .investment-questions>div,html[data-theme=dark] .hero-principle,html[data-theme=dark] .audience-strip{border-color:var(--site-line)}
html[data-theme=dark] .investment-questions>div>span,html[data-theme=dark] .line-icon{background:#2a3b60}
html[data-theme=dark] .hero-art{background:radial-gradient(ellipse,#d9e4ff18,transparent 70%)}
html[data-theme=dark] .art-label{background:#1e3153;border-color:#40557c;color:#c3d2ef}
html[data-theme=dark] .hero-art .art-label{color:#d3dfff}
html[data-theme=dark] p,html[data-theme=dark] .hero-copy>p,html[data-theme=dark] .hero-principle p,html[data-theme=dark] .example-note,html[data-theme=dark] .hero-secondary,html[data-theme=dark] .investment-questions p,html[data-theme=dark] .audience-strip>span,html[data-theme=dark] .audience-strip>div{color:var(--site-muted)}
html[data-theme=dark] .investment-questions strong{color:#e0e8fc}
html[data-theme=dark] .investment-total strong,html[data-theme=dark] .eyebrow,html[data-theme=dark] h2 em,html[data-theme=dark] .inline-link,html[data-theme=dark] .navigation a:hover,html[data-theme=dark] .hero-secondary>span{color:var(--site-accent)}
html[data-theme=dark] .tiny-label,html[data-theme=dark] .section-count,html[data-theme=dark] .scenario-kind,html[data-theme=dark] .category-name,html[data-theme=dark] .scenario-id,html[data-theme=dark] .scenario-tools>span,html[data-theme=dark] .small-note,html[data-theme=dark] .breadcrumb,html[data-theme=dark] .map-footer,html[data-theme=dark] .legal-footer>span{color:#b3c2dd}
html[data-theme=dark] .small-note{color:#adbbd5!important}
html[data-theme=dark] .scenario-disclaimer,html[data-theme=dark] .empty-state{background:#15233e;border-color:#344866}
html[data-theme=dark] .scenario-disclaimer p,html[data-theme=dark] .scenario-disclaimer strong{color:#bdcbe4}
html[data-theme=dark] .scenario-disclaimer>span,html[data-theme=dark] .scenario-expand,html[data-theme=dark] .scenario-more a{color:#b2c5ff}
html[data-theme=dark] .scenario-card,html[data-theme=dark] .sector-card,html[data-theme=dark] .founder-card,html[data-theme=dark] .legal-cards>a,html[data-theme=dark] .evidence-tag{background:var(--site-surface);border-color:var(--site-line)}
html[data-theme=dark] .scenario-card:hover,html[data-theme=dark] .sector-card:hover,html[data-theme=dark] .legal-cards>a:hover{background:#1a2b48;border-color:#657fb5;box-shadow:0 12px 32px #0002}
html[data-theme=dark] .scenario-card summary>p,html[data-theme=dark] .scenario-body dd{color:#b6c5df}
html[data-theme=dark] .scenario-card summary>p>b,html[data-theme=dark] .scenario-body dt{color:#b9cdff}
html[data-theme=dark] .scenario-expand,html[data-theme=dark] .real-findings{border-color:#354766}
html[data-theme=dark] .scenario-body{background:#101d33;border-color:#354766}
html[data-theme=dark] .real-card{border-color:#548575}html[data-theme=dark] .real-card .scenario-kind,html[data-theme=dark] .verified-date{color:#a4d9c5}
html[data-theme=dark] .filter,html[data-theme=dark] .button.outline{background:#15223b;border-color:#3a4e70;color:#c6d5f3}
html[data-theme=dark] .filter:hover:not(.active),html[data-theme=dark] .button.outline:hover{background:#253a5e;border-color:#6d87c2}
html[data-theme=dark] .filter.active{background:#335eea;border-color:#7091f7;color:#fff}
html[data-theme=dark] .search-field input,html[data-theme=dark] .money-input input,html[data-theme=dark] .field input,html[data-theme=dark] .field textarea,html[data-theme=dark] .field select,html[data-theme=dark] .map-footer select{background:#101c32;border-color:#455879;color:#f0f4ff}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a2b3d2;opacity:1}
html[data-theme=dark] .search-field>span,html[data-theme=dark] .money-input>span,html[data-theme=dark] .field label,html[data-theme=dark] .cost-inputs label,html[data-theme=dark] .calculator-help,html[data-theme=dark] .check,html[data-theme=dark] .form-footnote{color:#b8c7e2}
html[data-theme=dark] .calculator-section,html[data-theme=dark] .service-model,html[data-theme=dark] .law-section,html[data-theme=dark] .founders-section,html[data-theme=dark] .faq-section,html[data-theme=dark] .soft-section,html[data-theme=dark] .contact-document{background:var(--site-soft);border-color:var(--site-line)}
html[data-theme=dark] .calculator,html[data-theme=dark] .form-card{background:var(--site-surface);border-color:#3b5073;color:var(--site-ink);box-shadow:0 15px 55px #0001}
html[data-theme=dark] .calculator-explainer{border-color:var(--site-line)}html[data-theme=dark] .calculator-explainer strong{color:#e3ebff}
html[data-theme=dark] .period-toggle{background:#0c172c}html[data-theme=dark] .period-toggle button{color:#bdcbe5}html[data-theme=dark] .period-toggle button.active{background:#314d7d;color:#fff;box-shadow:none}
html[data-theme=dark] .calculated-result{background:#203658}html[data-theme=dark] .calculated-result strong{color:#c3d2ff}html[data-theme=dark] .calculated-result>div>span,html[data-theme=dark] .calculated-result>p{color:#b8cae8}html[data-theme=dark] .calculated-result>p{border-color:#47618a}
html[data-theme=dark] .calculator-conclusion,html[data-theme=dark] .form-card .form-footnote{color:#b7c7e3}
html[data-theme=dark] .form-error{background:#392238;border-color:#85556a;color:#ffd2db}html[data-theme=dark] .errorlist,html[data-theme=dark] .field-error{color:#ffb8c7}
html[data-theme=dark] .money-input input[aria-invalid=true],html[data-theme=dark] .field input[aria-invalid=true],html[data-theme=dark] .field select[aria-invalid=true],html[data-theme=dark] .field textarea[aria-invalid=true]{border-color:#f3a1b5}
html[data-theme=dark] .independent-art{background:radial-gradient(ellipse,#819fea24,transparent 70%)}html[data-theme=dark] .check-list{color:#bdcce6}html[data-theme=dark] .check-list li:before{background:#273b61;color:#c7d7ff}
html[data-theme=dark] .evidence-tag strong{color:#e0eaff}
html[data-theme=dark] .audit-stage{background:#15223b;border-color:#384c6f}html[data-theme=dark] .stage-main{border-color:#384c6f}html[data-theme=dark] .stage-number{color:#b0c5ff}html[data-theme=dark] .stage-number>span{color:#b6c8e6}
html[data-theme=dark] .scope-list li{border-color:#324361;color:#becce5}html[data-theme=dark] .scope-list li>span{color:#a8c0ff}
html[data-theme=dark] .deliverables{background:#203251}html[data-theme=dark] .deliverables ul,html[data-theme=dark] .deliverables>p{color:#bccce7}html[data-theme=dark] .deliverables>p{border-color:#42587b}
html[data-theme=dark] .box-stage{background:#172b54;border-color:#4b638e}html[data-theme=dark] .box-stage .small-note{color:#b9cbed!important}
html[data-theme=dark] .dashboard{border-color:#3e5376;box-shadow:0 20px 60px #0002}html[data-theme=dark] .dashboard-sidebar{background:#0a1428}html[data-theme=dark] .dashboard-main{background:#111e34}
html[data-theme=dark] .dashboard-stats>div,html[data-theme=dark] .event-panel,html[data-theme=dark] .trend-panel{background:#192942;border-color:#3b5072}
html[data-theme=dark] .dashboard-heading h3{color:#f0f4ff}html[data-theme=dark] .dashboard-stats strong,html[data-theme=dark] .panel-title h4,html[data-theme=dark] .event b{color:#d9e5ff}
html[data-theme=dark] .dashboard-stats>div>span,html[data-theme=dark] .dashboard-stats small,html[data-theme=dark] .panel-title>span,html[data-theme=dark] .event small,html[data-theme=dark] .chart-labels,html[data-theme=dark] .trend-panel>p{color:#b4c4e0}
html[data-theme=dark] .dashboard-stats .risk-figures{color:#f2c29f}html[data-theme=dark] .risk-figures b{color:#a5badb}html[data-theme=dark] .event{border-color:#34496b}
html[data-theme=dark] .demo-badge{background:#273d65;border-color:#516b9b;color:#d0deff}
html[data-theme=dark] .critical{background:#432b40;color:#ffc7d5}html[data-theme=dark] .high{background:#3d3329;color:#f5d5a4}html[data-theme=dark] .medium{background:#293f65;color:#d3e1ff}
html[data-theme=dark] .trend-panel svg path[stroke="#e6eaf4"]{stroke:#3c5070}html[data-theme=dark] .trend-panel svg path[stroke="#335eea"]{stroke:#a8c0ff}html[data-theme=dark] .trend-panel svg g[fill="#335eea"]{fill:#a8c0ff}
html[data-theme=dark] .law-grid .section-intro,html[data-theme=dark] .article-note p{color:#bdcce6}html[data-theme=dark] .article-note{background:#192a45;border-color:#405777}html[data-theme=dark] .article-number{color:#b1c4f1}
html[data-theme=dark] .legal-cards>a>span,html[data-theme=dark] .legal-cards b{color:#b3c8ff}
html[data-theme=dark] .sector-icon,html[data-theme=dark] .founder-initials{background:#263c65;color:#c4d4ff;border-color:#4a6190}html[data-theme=dark] .sector-link{color:#b5cbff;border-color:#3b5071}html[data-theme=dark] .founder-role{color:#bbceff}html[data-theme=dark] .founder-arrow{color:#a5bce9}html[data-theme=dark] .founder-copy p{color:#b7c8e5}
html[data-theme=dark] .map-shell{background:radial-gradient(ellipse,#30457355,transparent 70%)}html[data-theme=dark] .map-shell path{fill:#3a527f;stroke:#14213a}html[data-theme=dark] .map-shell path:hover,html[data-theme=dark] .map-shell path:focus-visible{fill:#8faaf5}html[data-theme=dark] .map-shell path.selected{fill:#a9c0ff}html[data-theme=dark] .map-selection strong{color:#d4e1fb}html[data-theme=dark] .map-selection a{color:#b5caff;border-color:#728abb}html[data-theme=dark] .map-footer{border-color:#344968}
html[data-theme=dark] .faqs details,html[data-theme=dark] .faqs details:last-child{border-color:#3a4d6c}html[data-theme=dark] .faqs summary>span{color:#b4c8f2}html[data-theme=dark] .faqs details>p{color:#b8c8e3}
html[data-theme=dark] .contact-section,html[data-theme=dark] .landing-cta{background:radial-gradient(ellipse at 0 100%,#263d6d,transparent 65%),#101e37}
html[data-theme=dark] .contact-grid>div>p{color:#c2d1eb}
html[data-theme=dark] footer{background:#0a1324}html[data-theme=dark] .footer-brand>p{color:#e1eaff}html[data-theme=dark] .footer-top h2{color:#c4d4f1}html[data-theme=dark] .footer-top>div>a:not(:first-child),html[data-theme=dark] .footer-origin,html[data-theme=dark] .footer-services,html[data-theme=dark] .footer-bottom{color:#b1c2df}html[data-theme=dark] .footer-services,html[data-theme=dark] .footer-bottom{border-color:#30435f}html[data-theme=dark] .footer-top>div>a:hover{color:#d1ddff}
html[data-theme=dark] .legal-main,html[data-theme=dark] .privacy-draft,html[data-theme=dark] .legal-cta{background:#182943;border-color:#3b5274}html[data-theme=dark] .legal-grid>article{background:#142139;border-color:#3a4f70}html[data-theme=dark] .legal-grid p,html[data-theme=dark] .legal-grid li,html[data-theme=dark] .privacy-draft{color:#bdcde6}
html[data-theme=dark] .official-sources>a:not(.button){color:#b8ceff}html[data-theme=dark] .landing-sector-name{color:#c1d2f3}html[data-theme=dark] .landing-priorities>div,html[data-theme=dark] .outcome-grid>article{border-color:#3a4f70}html[data-theme=dark] .landing-priorities>div>span{color:#b6c7e4}html[data-theme=dark] .landing-priorities b,html[data-theme=dark] .outcome-grid article>span{color:#afc6ff}
html[data-theme=dark] .success-icon{background:#1c3e39;color:#b0e4d1}
html[data-theme=dark] a:focus-visible,html[data-theme=dark] button:focus-visible,html[data-theme=dark] summary:focus-visible,html[data-theme=dark] path:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] select:focus-visible,html[data-theme=dark] textarea:focus-visible{outline-color:#b3caff}
@media(min-width:701px) and (max-width:1000px){.navigation nav{display:none;position:absolute;top:90px;left:0;right:0;padding:25px 32px;background:var(--site-surface);border-bottom:1px solid var(--site-line);box-shadow:0 15px 30px #0001}.navigation nav.open{display:flex;flex-direction:column;align-items:flex-start;gap:23px;font-size:13px}.site-theme-toggle{margin-left:auto}.menu{display:flex;flex-direction:column;gap:6px;padding:10px 0 10px 10px;background:transparent;border:0}.menu span{width:23px;height:2px;background:var(--site-accent);border-radius:2px}.menu[aria-expanded=true] span:first-child{transform:translateY(4px) rotate(45deg)}.menu[aria-expanded=true] span:last-child{transform:translateY(-4px) rotate(-45deg)}}
@media(max-width:700px){.navigation{gap:15px}.site-theme-toggle{margin-left:auto;padding:9px;min-height:40px}.navigation nav{background:var(--site-surface);border-color:var(--site-line)}html[data-theme=dark] .menu span{background:#c4d3ff}.site-theme-toggle{font-size:10px}}
@media(max-width:420px){.site-theme-toggle [data-theme-label]{display:none}.site-theme-toggle{width:40px}.navigation{gap:12px}}
