:root{color-scheme:dark;--page:#0b1222;--panel:#131e32;--panel-light:#192640;--line:#2a3953;--text:#f1f4ff;--muted:#a6b3ce;--blue:#b9cbff;--mint:#9edacb;--rose:#edb3b5;font-family:Inter,"Avenir Next",Avenir,system-ui,sans-serif;font-size:16px;background:var(--page);color:var(--text)}
*{box-sizing:border-box}body{margin:0;position:relative}button,input,select{font:inherit}button,select,summary{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button,a,select,input,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:5px}button{touch-action:manipulation}h1,h2,h3,p{margin-top:0}.wrap{max-width:1160px;width:calc(100% - 80px);margin:auto}.skyline{position:absolute;inset:0 0 auto;height:920px;z-index:-1;background:linear-gradient(180deg,rgba(8,17,32,.35) 0%,rgba(9,18,33,.48) 35%,rgba(11,18,34,.75) 68%,var(--page) 100%),linear-gradient(90deg,rgba(8,17,32,.48),rgba(8,17,32,.08)),url('./assets/two-futures-skyline.jpg') center top/cover no-repeat;pointer-events:none}.site-header{height:104px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff24}.wordmark{font-size:25px;font-weight:740;letter-spacing:-1.2px;white-space:nowrap}.wordmark span{font-weight:440;font-style:italic}.wordmark i{font-style:normal;color:var(--blue)}.about-link{font-size:13px;color:#d0d9ec;display:flex;gap:22px;align-items:center}.about-link span{font-size:20px}.eyebrow{font-size:11px;line-height:1.6;letter-spacing:2px;font-weight:650;color:var(--muted);display:block}.premise{padding:62px 0 64px;max-width:980px}.premise>.eyebrow{display:flex;gap:10px;align-items:center;color:#d6e2fa}.signal{width:6px;height:6px;background:var(--blue);border-radius:50%;box-shadow:0 0 12px #b9cbff80}h1{font-size:clamp(40px,5.1vw,66px);line-height:1.06;letter-spacing:-2.4px;font-weight:560;margin:20px 0 27px}h1>span{color:#c3d2ef}.premise-sentence{font-size:clamp(22px,2.4vw,30px);line-height:1.95;font-weight:430;letter-spacing:-.5px;max-width:945px;text-wrap:pretty}.inline-select{display:inline-flex;vertical-align:baseline;position:relative;margin:0 5px}.inline-select:after{content:'⌄';position:absolute;right:10px;top:50%;transform:translateY(-57%);pointer-events:none;color:var(--blue);font-size:22px}.inline-select select{appearance:none;background:#172840eb;border:1px solid #b9cbff66;border-bottom:2px solid var(--blue);padding:3px 36px 3px 17px;min-width:84px;color:#e4edff;border-radius:7px;font-size:inherit;line-height:1.65;font-weight:600}.premise-actions{display:flex;align-items:center;gap:26px;margin-top:30px}.primary-button{border:0;min-height:53px;border-radius:7px;background:var(--blue);color:#142343;font-size:15px;font-weight:650;padding:15px 23px;display:flex;align-items:center;gap:34px;box-shadow:0 6px 25px #060c1a30;transition:background .2s,transform .2s}.primary-button:hover{background:#d1ddff;transform:translateY(-2px)}.primary-button>span{font-size:23px;line-height:1}.quiet{font-size:13px;color:#c3cfe5;max-width:220px;line-height:1.65}.workbench{scroll-margin-top:25px;background:#0e1829ed;border:1px solid #ffffff1c;border-radius:17px;padding:36px;box-shadow:0 25px 80px #050a1529}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px}h2{font-size:clamp(28px,3.6vw,44px);line-height:1.14;letter-spacing:-1.6px;font-weight:550;margin:13px 0 0}h2 span{color:var(--muted)}.text-link{font-size:13px;color:var(--blue);white-space:nowrap;display:flex;gap:16px;padding:10px 0}.scenario-note{color:var(--muted);font-size:13px;line-height:1.7;margin:20px 0}.world-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.world-card{text-align:left;display:flex;flex-direction:column;background:#172237;border:1px solid var(--line);border-radius:11px;padding:24px;transition:border-color .2s,background .2s}.world-card:hover{background:#1c2942}.world-card[aria-pressed=true]{border-color:var(--blue);box-shadow:inset 0 0 0 1px #b9cbff33}.world-top{display:flex;align-items:center;justify-content:space-between}.world-label{font-size:10px;letter-spacing:1.5px;font-weight:650}.crash-world .world-label,.crash-world .world-icon{color:var(--rose)}.growth-world .world-label,.growth-world .world-icon{color:var(--mint)}.world-icon{font-size:35px;line-height:1}.world-title{font-size:25px;line-height:1.25;font-weight:560;letter-spacing:-.6px;margin:18px 0 10px}.world-description{font-size:14px;color:var(--muted);line-height:1.55;flex:1}.world-bottom{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px;margin-top:28px;padding-top:18px;border-top:1px solid var(--line)}.world-bottom>span{font-size:12px;color:var(--muted);max-width:135px;line-height:1.6}.world-bottom strong{font-size:30px;letter-spacing:-1px;font-weight:500;font-variant-numeric:tabular-nums}.world-link{display:flex;justify-content:space-between;font-size:12px;color:var(--blue);margin-top:19px}.strategy-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:38px 0 18px}.strategy-heading h3{font-size:23px;font-weight:500;letter-spacing:-.6px;margin:7px 0 0}.horizon-control{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.horizon-control select{font-size:13px;padding:10px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:6px;max-width:190px}.strategy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.strategy-choice{display:flex;flex-direction:column;text-align:left;border:1px solid var(--line);border-radius:8px;background:#111c30;padding:16px;min-width:0;transition:background .2s,border-color .2s}.strategy-choice:hover{background:#1a2943}.strategy-choice[aria-pressed=true]{background:#223456;border-color:#a9bff5}.strategy-name{font-size:14px;font-weight:550;line-height:1.5;min-height:42px}.strategy-sub{font-size:11px;color:var(--muted);line-height:1.6;margin:5px 0 15px;min-height:35px}.strategy-value{font-size:23px;font-weight:500;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.strategy-delta{font-size:11px;color:var(--muted);margin-top:8px;line-height:1.45}.outcome{margin:22px 0 0;padding:25px 0;display:grid;grid-template-columns:1.25fr 1fr;gap:30px;border-top:1px solid var(--line)}.outcome h3{font-size:26px;line-height:1.25;letter-spacing:-.6px;font-weight:500;margin:7px 0}.outcome p{color:var(--muted);font-size:13px;line-height:1.65;margin:0}.outcome-meta{display:flex;flex-direction:column;justify-content:center;gap:12px;color:var(--muted);font-size:12px;line-height:1.6}.outcome-meta span{padding-left:15px;border-left:2px solid var(--line)}.chart-panel{background:#101b2e;border:1px solid var(--line);border-radius:10px;padding:22px}.chart-heading{display:flex;justify-content:space-between;align-items:start;gap:18px}.chart-heading h3{font-size:14px;font-weight:500;margin:0}.chart-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.chart-legend>span{display:flex;align-items:center;gap:7px}.line-swatch{width:17px;display:inline-block;border-top:2px solid var(--blue)}.line-swatch.baseline{border-top:2px dashed #8490a8}.chart{width:100%;height:250px;margin-top:20px}.chart svg{display:block;width:100%;height:100%;overflow:visible}.chart-caption{font-size:11px;color:var(--muted);line-height:1.6;margin:7px 0 0}.advertisement{display:flex;flex-direction:column;align-items:center;gap:13px;padding:27px;margin:28px 0;border-top:1px solid #1f2b40;border-bottom:1px solid #1f2b40;color:#8290aa;text-align:center;font-size:9px;letter-spacing:1.5px}.ad-space{width:min(728px,100%);min-height:90px;display:grid;place-items:center;background:#0e1829;border:1px dashed #2a374f;font-size:12px;letter-spacing:0;color:#94a3c0}.assumptions{border:1px solid var(--line);border-radius:10px;background:#101a2c;scroll-margin-top:22px;padding:0 26px}.assumptions>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0}.assumptions>summary::-webkit-details-marker{display:none}.details-title{font-size:19px;display:block;margin-top:7px}.expand-mark{font-size:24px;font-weight:300;color:var(--blue)}.assumptions[open] .expand-mark{transform:rotate(45deg)}.settings-intro{font-size:14px;line-height:1.65;color:var(--muted);margin:0 0 25px}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-size:15px;margin-bottom:20px;font-weight:550}.settings-grid label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted);margin-bottom:16px;line-height:1.5}.settings-grid input:not([type=checkbox]),.settings-grid select{background:#0c1525;border:1px solid #3a4860;border-radius:6px;color:var(--text);width:100%;min-height:43px;padding:10px 12px;font-size:16px}.settings-grid input:invalid{border-color:var(--rose)}.settings-grid select:disabled{opacity:.45}.settings-grid label.check-label{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:40px}.check-label input{accent-color:var(--blue);width:17px;height:17px;flex-shrink:0}.field-note{font-size:12px;line-height:1.65;color:var(--muted);margin-bottom:22px}.table-scroll{overflow-x:auto;margin:25px 0 12px}table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5}caption{text-align:left;font-size:16px;color:var(--text);margin-bottom:17px}th,td{text-align:right;border-bottom:1px solid var(--line);padding:13px 10px;min-width:112px;font-variant-numeric:tabular-nums}th{color:var(--muted);font-weight:400}th:first-child,td:first-child{text-align:left;padding-left:0;min-width:170px}.method{margin:25px 0;padding:0 2px;scroll-margin-top:20px}.method summary{font-size:13px;color:var(--muted);list-style:none;display:flex;gap:15px;align-items:center;min-height:44px}.method summary::-webkit-details-marker{display:none}.method-copy{max-width:850px;color:var(--muted);font-size:13px;line-height:1.8;padding:15px 0}.method-copy p:last-child{margin:0}footer.wrap{border-top:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:25px;padding:32px 0 38px;color:var(--muted);font-size:11px}footer .wordmark{font-size:20px;color:var(--text)}html{scroll-behavior:smooth}body[data-world=noCrash] .outcome h3{color:var(--mint)}
@media(min-width:1500px){.skyline{background-position:center 38%;height:1030px}}
@media(max-width:900px){.wrap{width:calc(100% - 44px)}.premise{padding:45px 0}.workbench{padding:25px}.strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-name{min-height:0}.strategy-sub{min-height:0}.outcome{gap:20px}.world-bottom strong{font-size:26px}.settings-grid{gap:20px}.chart-heading{flex-direction:column;gap:12px}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.site-header{height:80px}.wordmark{font-size:23px}.about-link{font-size:0;gap:0}.about-link span{font-size:22px}.skyline{height:940px;background-position:62% top}.premise{padding:36px 0 37px}h1{font-size:43px;letter-spacing:-1.8px;margin-top:18px;margin-bottom:23px}.premise-sentence{font-size:23px;line-height:1.9;letter-spacing:-.4px}.inline-select{margin:0 2px}.inline-select select{min-width:71px;padding-left:13px;padding-right:29px}.premise-actions{align-items:start;flex-direction:column;gap:15px;margin-top:24px}.quiet{max-width:none;font-size:12px}.primary-button{width:100%;justify-content:space-between}.workbench{padding:22px 16px;border-radius:13px}.section-heading{align-items:start;flex-direction:column;gap:10px}h2{font-size:33px;letter-spacing:-1px}.section-heading .eyebrow{font-size:9px;letter-spacing:1.4px}.text-link{font-size:12px}.scenario-note{font-size:12px;margin-top:10px}.world-grid{grid-template-columns:1fr;gap:12px}.world-card{padding:20px}.world-title{margin-top:11px;font-size:24px}.world-bottom{margin-top:20px}.strategy-heading{align-items:start;flex-direction:column;gap:15px;margin-top:27px}.strategy-heading h3{font-size:22px}.horizon-control{width:100%;justify-content:space-between}.horizon-control select{max-width:180px}.strategy-grid{gap:8px}.strategy-choice{padding:13px 11px}.strategy-name{font-size:12px;min-height:36px}.strategy-sub{font-size:10px;min-height:32px}.strategy-value{font-size:21px}.strategy-delta{font-size:10px}.outcome{grid-template-columns:1fr;gap:18px;padding-top:22px}.outcome h3{font-size:23px}.outcome p{font-size:12px}.chart-panel{padding:17px 12px}.chart-heading h3{font-size:13px}.chart-legend{font-size:10px;gap:12px}.chart{height:220px}.assumptions{padding:0 18px}.details-title{font-size:17px}.settings-grid{grid-template-columns:1fr;gap:15px}.settings-grid fieldset+fieldset{border-top:1px solid var(--line);padding-top:20px}.settings-grid label{font-size:14px}.advertisement{padding:22px 0;font-size:8px}.advertisement>span:last-child{font-size:8px;letter-spacing:1px}footer.wrap{gap:18px}footer>span{display:none}.eyebrow{font-size:10px}.method summary{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.primary-button:hover{transform:none}}

/* Premise and background market divergence. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.premise{max-width:none;padding:48px 0 52px}
.premise-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:38px;align-items:center;margin-top:24px}
.premise-layout form{min-width:0;position:relative;z-index:1}
.premise-sentence{font-size:28px;line-height:1.85;letter-spacing:-.65px}
.month-phrase{white-space:nowrap}
.portfolio-context{font-size:22px;line-height:1.85;letter-spacing:-.4px;margin-bottom:21px}
.portfolio-context p{margin:0}
.portfolio-context .return-phrase{white-space:nowrap}
.portfolio-context input{width:4.4em;max-width:100%;background:#172840eb;border:1px solid #b9cbff66;border-bottom:2px solid var(--blue);padding:3px 9px;color:#e4edff;border-radius:7px;font:inherit;font-weight:600;line-height:1.65;margin:0 5px;text-align:center}
.portfolio-context input:user-invalid{border-color:var(--rose)}
.premise-sentence p{margin:0 0 17px}
.premise-sentence p:last-child{margin-bottom:0}
.premise-sentence strong{font-weight:600;white-space:nowrap}
.highlight-crash{color:#f4bdc5;background:linear-gradient(transparent 80%,#edb3b51c 80%);padding-bottom:3px}
.highlight-panic{color:#ffd19f;background:linear-gradient(transparent 80%,#ffd19f20 80%);padding-bottom:3px}
.premise-actions{gap:20px;margin-top:25px}
.premise-actions .quiet{font-size:12px;max-width:205px}
.market-divergence{min-width:0;pointer-events:none;position:relative;opacity:.95}
.market-divergence svg{display:block;width:100%;height:auto;overflow:visible}
.divergence-grid{fill:none;stroke:#b9cbff;stroke-opacity:.09;stroke-width:1}
.divergence-history,.divergence-rise,.divergence-fall{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.divergence-history{stroke:#bcc9e2;stroke-opacity:.55}
.divergence-rise{stroke:#9edacb;filter:drop-shadow(0 0 7px #9edacb35)}
.divergence-fall{stroke:#edb3b5;filter:drop-shadow(0 0 7px #edb3b535)}
.divergence-label{font-family:inherit;font-size:13px;letter-spacing:.5px;font-weight:500}
.rise-label{fill:#b0ebdc}.fall-label{fill:#f4bdc5}
@media(max-width:1000px){.premise-layout{gap:28px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.premise-sentence{font-size:26px}.premise-actions{align-items:start;flex-direction:column;gap:14px}.premise-actions .quiet{max-width:none}}
@media(max-width:700px){.premise{padding:32px 0}.premise-layout{grid-template-columns:1fr;gap:24px;margin-top:23px}.premise-sentence{font-size:25px;line-height:1.85}.market-divergence{max-width:380px;width:100%;margin:0 auto}.premise-actions{margin-top:22px}.premise-actions .quiet{font-size:11px}.divergence-label{font-size:15px}}

/* Assumptions are an on-demand modal; native dialog handles focus and Escape. */
.history-picker{border:1px solid var(--line);border-radius:10px;padding:20px 22px;margin:0 0 22px;background:#111d30}
.history-control{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.history-control label{font-size:17px;font-weight:500;flex-shrink:0}
.history-control select{width:100%;min-width:0;min-height:48px;padding:12px;color:var(--text);background:#1a2941;border:1px solid #51617d;border-radius:7px;font-size:15px}
.history-picker p{font-size:14px;line-height:1.65;color:var(--muted);margin:12px 0}
.history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;border-top:1px solid var(--line);margin-top:20px;padding-top:20px}
.history-stats span{display:block;font-size:12px;color:var(--muted);margin-bottom:8px;line-height:1.4}
.history-stats strong{font-size:23px;font-weight:500;letter-spacing:-.5px;line-height:1.3;display:block}
.history-stats .history-loss{color:#f4bdc5}
.personal-stats input{width:100%;min-width:0;min-height:44px;border:1px solid #51617d;border-bottom:2px solid var(--blue);border-radius:7px;background:#1a2941;color:var(--text);padding:8px 10px;font:inherit;font-size:22px;font-weight:500;font-variant-numeric:tabular-nums}
.personal-stats #personal-crash{color:#f4bdc5}
.personal-stats input:user-invalid{border-color:var(--rose)}
.history-picker .history-replay-note{border-left:2px solid var(--blue);padding-left:12px;color:#c5d3ef;font-size:13px}
.history-research{margin-top:15px}.history-research summary{color:var(--blue);font-size:13px;line-height:1.6;padding:6px 0;cursor:pointer}
.history-research a{text-decoration:underline;text-underline-offset:3px;color:var(--blue)}
.history-research table{font-size:13px}.history-research th:first-child{min-width:235px}.history-research td{min-width:120px;vertical-align:top}.history-research th{text-align:left}.history-research td{text-align:left}.history-research strong{font-weight:500;color:var(--text)}
.settings-grid input:disabled{opacity:.6;cursor:not-allowed}
.savings-sources{border-top:1px solid var(--line);padding:15px 0 0;font-size:13px;color:var(--muted);line-height:1.65}
.savings-sources summary{color:var(--blue);min-height:36px;cursor:pointer}
.savings-sources a{color:var(--blue);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.savings-sources p{margin:10px 0}.savings-sources ul{padding-left:20px}.savings-sources li{margin-bottom:6px}
.strategy-value,.strategy-delta,.outcome h3,.world-bottom strong{overflow-wrap:anywhere}
.strategy-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;width:100%;min-width:0}
.strategy-card-heading .strategy-name{flex:1;min-width:0}
.strategy-trophy{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:30px;height:30px;border-radius:8px;background:#f5c76a18;border:1px solid #f5c76a50;font-size:20px;line-height:1}
.strategy-reentry{display:flex;flex-direction:column;gap:5px;border-top:1px solid var(--line);padding:11px 0 14px;margin-top:auto;font-size:13px;line-height:1.5}
.strategy-reentry-rule{color:var(--blue);font-weight:550}
.strategy-reentry-status{color:var(--muted);font-size:12px}
[hidden]{display:none!important}
@media(max-width:700px){.history-picker{padding:17px 14px}.history-control{flex-direction:column;align-items:stretch;gap:10px}.history-control select{font-size:14px}.history-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.history-stats strong{font-size:21px}.history-picker p{font-size:13px}.history-research summary{font-size:12px}}
.section-heading>h2,.strategy-heading>h3{margin:0}
button.text-link{border:0;background:transparent;align-items:center}
.modal-open{overflow:hidden}
.assumptions-dialog{color:var(--text);background:#101a2c;border:1px solid #3b4b69;border-radius:16px;width:min(1040px,calc(100% - 48px));max-height:calc(100dvh - 64px);padding:0;box-shadow:0 30px 120px #0009;overflow:hidden}
.assumptions-dialog[open]{display:flex;flex-direction:column}
.assumptions-dialog::backdrop{background:#040916b8;backdrop-filter:blur(8px)}
.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px 18px;flex-shrink:0}
.dialog-header h2{font-size:27px;letter-spacing:-.8px;line-height:1.2;margin:0}
.dialog-close{border:1px solid var(--line);border-radius:8px;background:#192640;color:var(--muted);width:44px;height:44px;font-size:28px;line-height:1;flex-shrink:0}
.dialog-close:hover{color:var(--text);background:#25334b}
.dialog-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:4px 28px 0}
.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:22px;border-top:1px solid var(--line);padding:18px 28px;flex-shrink:0;background:#131e32}
.dialog-footer>span{font-size:12px;line-height:1.6;color:var(--muted)}
.dialog-footer .primary-button{font-size:13px;gap:20px;white-space:nowrap}
@media(max-width:700px){.assumptions-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 28px);border-radius:12px}.dialog-header{padding:18px 18px 14px}.dialog-header h2{font-size:23px}.dialog-body{padding:4px 18px 0}.dialog-footer{padding:14px 18px;flex-direction:column;align-items:stretch;gap:10px}.dialog-footer>span{font-size:11px}.dialog-footer .primary-button{justify-content:space-between}.assumptions-dialog .settings-grid{grid-template-columns:1fr}.assumptions-dialog .settings-grid fieldset+fieldset{border-top:1px solid var(--line);padding-top:20px}}
