:root{--bg: #0b0b0c;--surface: #131315;--surface-2: #1a1a1d;--border: #26262a;--border-strong: #3a3a40;--text: #f2f0eb;--muted: #aaa49d;--subtle: #7d7872;--accent: #d65a5a;--accent-text: #ef8181;--accent-soft: rgba(214, 90, 90, .12);--accent-line: rgba(214, 90, 90, .4);--sev-none: #7d7872;--sev-low: #6fb37f;--sev-medium: #e0b24f;--sev-high: #ec8a4a;--sev-critical: #ef5f5f;--max-width: 60rem;--prose-width: 44rem;--radius: 10px;--radius-sm: 6px;--font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-heading: var(--font-body);--font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;color-scheme:dark}*,*:before,*:after{box-sizing:border-box}html{font-family:var(--font-body);background:var(--bg);color:var(--text);scrollbar-gutter:stable;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}body{display:flex;flex-direction:column;min-height:100vh;margin:0;background:radial-gradient(60rem 30rem at 85% -10%,rgba(214,90,90,.07),transparent 70%),var(--bg);background-repeat:no-repeat;font-size:1rem;line-height:1.7}main{flex:1}::selection{background:#d65a5a59;color:var(--text)}a{color:var(--accent-text);text-decoration:underline;text-decoration-color:var(--accent-line);text-decoration-thickness:1px;text-underline-offset:.2em;transition:color .15s ease,text-decoration-color .15s ease}a:hover{color:var(--text);text-decoration-color:var(--accent)}:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px;border-radius:2px}h1,h2,h3{margin:0;color:var(--text);font-family:var(--font-heading);font-weight:700;line-height:1.15;text-wrap:balance}h1{font-size:clamp(2.2rem,5.5vw,3.6rem);letter-spacing:-.03em}h2{font-size:clamp(1.35rem,2.6vw,1.75rem);letter-spacing:-.015em}h3{font-size:1.1rem;letter-spacing:-.005em}p,li{color:var(--muted)}p{margin:0 0 1rem;text-wrap:pretty}strong{color:var(--text);font-weight:600}code{padding:.1em .35em;border:1px solid var(--border);border-radius:4px;background:var(--surface-2);color:var(--text);font-family:var(--font-mono);font-size:.88em}img{max-width:100%}.shell{width:min(calc(100% - 2rem),var(--max-width));margin:0 auto}.skip-link{position:absolute;top:-100px;left:1rem;z-index:100;padding:.5rem .9rem;border-radius:var(--radius-sm);background:var(--text);color:var(--bg);font-weight:600;text-decoration:none}.skip-link:focus{top:.75rem}.page-content{padding:3.5rem 0 5rem}.page-content>section+section{margin-top:3.25rem}.page-content>section:has(>h3:first-child){margin-top:1.75rem}.page-content>section>p,.page-content>section>.phase-list,.page-content>section>.plain-list,.page-content>section>.checklist-list{max-width:var(--prose-width)}.stack>*+*{margin-top:1rem}.site-header{position:sticky;top:0;z-index:50;border-bottom:1px solid var(--border);background:#0b0b0cd1;backdrop-filter:saturate(160%) blur(12px);-webkit-backdrop-filter:saturate(160%) blur(12px)}.site-header .shell{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:3.75rem}.site-title{display:inline-flex;flex-shrink:0;align-items:center;gap:.6rem;color:var(--text);font-size:.95rem;font-weight:700;letter-spacing:.01em;text-decoration:none}.site-title:hover{color:var(--text)}.brand-mark{display:inline-grid;place-items:center;width:1.5rem;height:1.5rem;border:3px solid var(--accent);border-radius:3px}.brand-mark:after{content:"";width:.4rem;height:.4rem;background:var(--text)}.brand-short{display:none}.nav-list{display:flex;gap:.25rem;list-style:none;margin:0;padding:0}.nav-list a{display:block;padding:.4rem .7rem;border-radius:var(--radius-sm);color:var(--muted);font-size:.92rem;font-weight:500;text-decoration:none;white-space:nowrap}.nav-list a:hover{background:var(--surface-2);color:var(--text)}.nav-list a.active{background:var(--accent-soft);color:var(--text)}.hero{padding:.5rem 0}.hero>p:not(.lead):not(.eyebrow){max-width:var(--prose-width)}.lead{max-width:40rem;color:var(--text);font-size:clamp(1.08rem,1.6vw,1.22rem);line-height:1.6;opacity:.92}.hero-callout{max-width:34rem;color:var(--text);font-size:1.1rem}.section-heading{max-width:var(--prose-width)}.section-heading>*+*{margin-top:.5rem}.section-heading p:last-child{margin-bottom:0}.eyebrow{margin:0 0 .75rem;color:var(--accent-text);font-family:var(--font-mono);font-size:.78rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase}.hero .eyebrow+h1{margin-top:0}.button-row{display:flex;flex-wrap:wrap;gap:.75rem;padding-top:.5rem}.button{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1.15rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);font:inherit;font-size:.95rem;font-weight:600;line-height:1.2;text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.button:hover{border-color:var(--subtle);background:#222226;color:var(--text)}.button-primary{border-color:var(--accent);background:var(--accent);color:#fff}.button-primary:hover{border-color:#e06a6a;background:#e06a6a;color:#fff}.button-small{padding:.45rem .8rem;font-size:.85rem}.plain-list,.phase-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.phase-list li{position:relative;padding:.8rem 0 .8rem 1.4rem;border-bottom:1px solid var(--border)}.phase-list li:before{content:"";position:absolute;top:1.45rem;left:.15rem;width:.45rem;height:2px;background:var(--accent)}.phase-list li:first-child{padding-top:.25rem}.phase-list li:first-child:before{top:.9rem}.phase-list li:last-child{padding-bottom:0;border-bottom:0}.phase-flow{display:flex;flex-wrap:wrap;gap:.5rem 1rem;list-style:none;margin:0;padding:0}.phase-flow li{color:var(--text)}.card-grid{display:grid;gap:.85rem;grid-template-columns:repeat(auto-fill,minmax(16.5rem,1fr));list-style:none;margin:0;padding:0}.card-link{display:flex;flex-direction:column;gap:.35rem;height:100%;padding:1.1rem 1.2rem 1.15rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--muted);text-decoration:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}.card-link:hover{border-color:var(--accent-line);background:var(--surface-2);color:var(--muted)}@media(prefers-reduced-motion:no-preference){.card-link:hover{transform:translateY(-2px)}}.card-link .card-title{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;color:var(--text);font-size:1.02rem;font-weight:650}.card-link .card-title:after{content:"→";color:var(--subtle);transition:color .15s ease,transform .15s ease}.card-link:hover .card-title:after{color:var(--accent-text);transform:translate(3px)}.card-link .card-text{font-size:.92rem;line-height:1.55}.card-number{color:var(--accent-text);font-family:var(--font-mono);font-size:.78rem;font-weight:600;letter-spacing:.08em}.phase-grid{counter-reset:none}.phase-grid.is-compact{grid-template-columns:repeat(auto-fill,minmax(12.5rem,1fr))}.toc-list{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0;padding:0}.toc-list a{display:block;padding:.45rem .85rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font-size:.9rem;text-decoration:none}.toc-list a:hover{border-color:var(--accent-line);background:var(--surface-2)}.toolkit-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}.toolkit-card{padding:1.35rem 1.4rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.toolkit-card h3{display:flex;align-items:center;gap:.6rem}.toolkit-list{display:grid;gap:.4rem;margin:0;padding:0;list-style:none}.toolkit-list li{position:relative;padding-left:1.15rem;font-size:.95rem}.toolkit-list li:before{content:"";position:absolute;top:.72em;left:0;width:.4rem;height:2px;background:var(--accent)}.tool-category-nav .toc-list{margin-top:1rem}.tool-section,[id]{scroll-margin-top:5rem}.phase-steps{display:flex;gap:.35rem;margin:0 0 2rem;padding:0;list-style:none}.phase-steps li{flex:1}.phase-steps a{display:block;padding-top:.55rem;border-top:3px solid var(--border);color:var(--subtle);font-size:.78rem;line-height:1.3;text-decoration:none}.phase-steps a:hover{border-top-color:var(--border-strong);color:var(--text)}.phase-steps .is-done a{border-top-color:var(--accent-line)}.phase-steps .is-current a{border-top-color:var(--accent);color:var(--text);font-weight:600}.phase-steps .step-num{display:block;font-family:var(--font-mono);font-size:.72rem}.phase-pager{display:grid;gap:.85rem;grid-template-columns:1fr 1fr;margin-top:4rem;padding-top:2rem;border-top:1px solid var(--border)}.phase-pager a{display:block;padding:1rem 1.15rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font-weight:600;text-decoration:none;transition:border-color .15s ease,background .15s ease}.phase-pager a:hover{border-color:var(--accent-line);background:var(--surface-2)}.phase-pager .pager-label{display:block;margin-bottom:.15rem;color:var(--subtle);font-family:var(--font-mono);font-size:.74rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase}.phase-pager .pager-next{grid-column:2;text-align:right}.profile-grid{display:grid;gap:2rem;align-items:start;grid-template-columns:minmax(11rem,14rem) 1fr}.profile-photo{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.profile-photo img{display:block;width:100%;height:auto}.profile-kicker{margin:0;color:var(--accent-text);font-family:var(--font-mono);font-size:.8rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.formula-block{max-width:var(--prose-width);padding:.95rem 1.15rem;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-family:var(--font-mono);font-size:.92rem;overflow-x:auto;white-space:nowrap}.checklist-toolbar{position:sticky;top:3.75rem;z-index:10;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1rem;max-width:var(--prose-width);padding:.75rem 1rem;border:1px solid var(--border);border-radius:var(--radius);background:#131315eb;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.checklist-progress{display:flex;flex:1;align-items:center;gap:.85rem;min-width:12rem;color:var(--muted);font-size:.9rem}.progress-track{flex:1;height:6px;overflow:hidden;border-radius:999px;background:var(--border)}.progress-bar{width:0%;height:100%;border-radius:inherit;background:var(--accent);transition:width .2s ease}.checklist-actions{display:flex;gap:.5rem}.checklist-list{display:grid;gap:0;list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.checklist-list li{position:relative;border-bottom:1px solid var(--border)}.checklist-list li:last-child{border-bottom:0}.checklist-list li:not(:has(label)){padding:.75rem 1rem .75rem 2.6rem}.checklist-list li:not(:has(label)):before{content:"";position:absolute;top:1.05rem;left:1rem;width:.95rem;height:.95rem;border:1.5px solid var(--border-strong);border-radius:3px}.checklist-list label{display:flex;align-items:flex-start;gap:.8rem;padding:.75rem 1rem;cursor:pointer;transition:background .12s ease}.checklist-list label:hover{background:var(--surface-2)}.checklist-list input[type=checkbox]{flex-shrink:0;width:1.05rem;height:1.05rem;margin:.3rem 0 0;accent-color:var(--accent);cursor:pointer}.checklist-list input:checked+span{color:var(--subtle);text-decoration:line-through;text-decoration-color:var(--border-strong)}.table-shell{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.resource-table{width:100%;min-width:42rem;border-collapse:collapse;font-size:.93rem}.resource-table th,.resource-table td{padding:.85rem 1rem;border-bottom:1px solid var(--border);text-align:left;vertical-align:top;line-height:1.5}.resource-table th{background:var(--surface-2);color:var(--subtle);font-family:var(--font-mono);font-size:.74rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.resource-table td{color:var(--muted)}.resource-table tbody tr:last-child td{border-bottom:0}.resource-table tbody tr:hover td{background:#ffffff04}.resource-table td:first-child{color:var(--text);font-weight:600}.resource-table .is-empty{color:var(--subtle)}.resource-table .mono{font-family:var(--font-mono);font-size:.86rem}.severity-scale{display:grid;gap:.5rem;grid-template-columns:repeat(5,1fr);max-width:var(--prose-width);margin:0;padding:0;list-style:none}.severity-scale li{padding:.75rem .85rem;border:1px solid var(--border);border-top:3px solid var(--sev, var(--border));border-radius:var(--radius-sm);background:var(--surface)}.severity-scale strong{display:block;font-size:.95rem}.severity-scale span{font-family:var(--font-mono);font-size:.82rem}.sev-none{--sev: var(--sev-none)}.sev-low{--sev: var(--sev-low)}.sev-medium{--sev: var(--sev-medium)}.sev-high{--sev: var(--sev-high)}.sev-critical{--sev: var(--sev-critical)}.calculator{display:grid;gap:1.5rem;grid-template-columns:1fr minmax(14rem,17rem);align-items:start;padding:1.5rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.calc-metrics{display:grid;gap:1.1rem;margin:0;padding:0;border:0}.calc-metric{margin:0;padding:0;border:0}.calc-metric legend{margin-bottom:.45rem;padding:0;color:var(--text);font-size:.9rem;font-weight:600}.calc-metric legend .mono{margin-right:.4rem;color:var(--accent-text);font-family:var(--font-mono);font-size:.8rem}.segmented{display:flex;flex-wrap:wrap;gap:.35rem}.segmented label{position:relative}.segmented input{position:absolute;opacity:0;pointer-events:none}.segmented span{display:inline-block;padding:.4rem .75rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--muted);font-size:.85rem;cursor:pointer;user-select:none;transition:background .12s ease,border-color .12s ease,color .12s ease}.segmented span:hover{border-color:var(--subtle);color:var(--text)}.segmented input:checked+span{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.segmented input:focus-visible+span{outline:2px solid var(--accent-text);outline-offset:2px}.calc-result{position:sticky;top:5rem;display:grid;gap:.75rem;padding:1.25rem;border:1px solid var(--border);border-top:4px solid var(--sev, var(--border));border-radius:var(--radius);background:var(--surface-2);text-align:center}.calc-score{color:var(--text);font-family:var(--font-mono);font-size:3.2rem;font-weight:700;line-height:1}.calc-severity{color:var(--sev, var(--muted));font-size:.85rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.calc-vector{padding:.55rem .6rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);font-family:var(--font-mono);font-size:.72rem;word-break:break-all}.calc-sum{margin:0;color:var(--subtle);font-size:.82rem}.site-footer{border-top:1px solid var(--border);padding:2rem 0 2.5rem;background:#00000040}.site-footer .shell{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem}.site-footer p{margin:0;color:var(--subtle);font-size:.88rem}.footer-nav{display:flex;flex-wrap:wrap;gap:.35rem 1.25rem;margin:0;padding:0;list-style:none}.footer-nav a{color:var(--subtle);font-size:.88rem;text-decoration:none}.footer-nav a:hover{color:var(--text)}@media(max-width:860px){.site-header .shell{gap:.75rem}.brand-full{display:none}.brand-short{display:inline}.site-header nav{min-width:0;overflow-x:auto;scrollbar-width:none;mask-image:linear-gradient(to right,#000 85%,transparent);-webkit-mask-image:linear-gradient(to right,#000 85%,transparent)}.site-header nav::-webkit-scrollbar{display:none}.nav-list{padding-right:1.5rem}.calculator{grid-template-columns:1fr}.calc-result{position:static;order:-1}}@media(max-width:720px){.page-content{padding:2.5rem 0 4rem}.page-content>section+section{margin-top:2.5rem}.phase-steps .step-label{display:none}.resource-table{min-width:38rem}.profile-grid{grid-template-columns:1fr}.profile-photo{max-width:12rem}.severity-scale{grid-template-columns:repeat(auto-fill,minmax(7rem,1fr))}.calculator{padding:1.1rem}}@media(max-width:520px){.phase-pager{grid-template-columns:1fr}.phase-pager .pager-next{grid-column:1}.checklist-toolbar{top:3.75rem}}@media print{:root{--bg: #fff;--surface: #fff;--surface-2: #fff;--border: #ccc;--border-strong: #999;--text: #000;--muted: #222;--subtle: #555;--accent-text: #000}body{background:#fff}.site-header,.site-footer,.skip-link,.checklist-toolbar,.phase-steps,.phase-pager,.button-row{display:none!important}.page-content{padding:0}.checklist-list,.table-shell{break-inside:auto}.checklist-list li{break-inside:avoid}}body .stack>*+*{margin-top:1rem}body .stack>.section-heading+*,body .stack>h2+*,body .stack>h3+*{margin-top:1.1rem}.calc-result .button{justify-self:center}ol.phase-list{counter-reset:phase-item}ol.phase-list li{counter-increment:phase-item;padding-left:2rem}ol.phase-list li:before{content:counter(phase-item,decimal-leading-zero);top:.8rem;width:auto;height:auto;background:none;color:var(--accent-text);font-family:var(--font-mono);font-size:.8rem;line-height:1.7rem}ol.phase-list li:first-child:before{top:.25rem}.formula-multiline{display:grid;gap:.1rem;white-space:normal}.formula-multiline>div{white-space:nowrap}.formula-comment{color:var(--subtle);font-size:.8rem}.formula-comment:before{content:"// "}.formula-multiline>div:has(.formula-comment):not(:first-child){margin-top:.6rem}.definitions{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.definitions summary{padding:.85rem 1.1rem;color:var(--text);font-weight:600;cursor:pointer}.definitions summary:hover{background:var(--surface-2)}.definitions[open] summary{border-bottom:1px solid var(--border)}.definitions-body{display:grid;gap:1.5rem 2rem;grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));padding:1.25rem 1.1rem 1.4rem}.definitions h3{margin-bottom:.6rem;font-size:.98rem}.definitions .mono,.calc-paste label,.calc-breakdown dt{font-family:var(--font-mono)}.definitions h3 .mono{color:var(--accent-text);font-size:.85rem}.definitions dl{display:grid;gap:.15rem;margin:0}.definitions dt{margin-top:.45rem;color:var(--text);font-size:.88rem;font-weight:600}.definitions dt .mono{display:inline-block;min-width:1.4rem;color:var(--accent-text);font-size:.8rem}.definitions dd{margin:0 0 0 1.4rem;color:var(--muted);font-size:.88rem;line-height:1.5}.glossary-list{display:grid;gap:0;margin:0;overflow:hidden}.glossary-list dt{margin:0;padding:1rem 1.1rem .25rem;border-top:1px solid var(--border);font-size:1rem}.glossary-list dt:first-child{border-top:0}.glossary-list dd{margin:0;padding:0 1.1rem 1rem;font-size:.95rem}.calc-paste{padding-bottom:1.1rem;border-bottom:1px solid var(--border)}.calc-paste label{display:block;margin-bottom:.45rem;color:var(--subtle);font-size:.74rem;letter-spacing:.08em;text-transform:uppercase}.calc-paste-row{display:flex;gap:.5rem}.calc-paste input{flex:1;min-width:0;padding:.45rem .7rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);font-family:var(--font-mono);font-size:.85rem}.calc-paste input:focus{border-color:var(--accent);outline:none}.calc-paste-error{margin:.5rem 0 0;color:var(--sev-critical);font-size:.85rem}.calc-definition{min-height:1.3em;margin:.45rem 0 0;color:var(--subtle);font-size:.84rem;line-height:1.45}.calc-breakdown{display:grid;gap:.5rem;grid-template-columns:1fr 1fr;margin:0}.calc-breakdown>div{padding:.45rem;border:1px solid var(--border);border-radius:var(--radius-sm)}.calc-breakdown dt{color:var(--subtle);font-size:.66rem;letter-spacing:.06em;text-transform:uppercase}.calc-breakdown dd{margin:0;color:var(--text);font-family:var(--font-mono);font-size:.95rem}.calc-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}.route-steps{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}.route-step{display:grid;gap:.5rem;padding:.75rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.route-step.is-invalid{border-color:var(--sev-critical)}.route-step-head,.route-step-body{display:flex;align-items:center;gap:.5rem}.route-step-number{flex:none;width:1.6rem;color:var(--accent-text);font-weight:700}.route-step input[type=text]{flex:1;min-width:0;padding:.4rem .6rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);font:inherit;font-size:.88rem}.route-step input.route-step-vector{font-family:var(--font-mono);font-size:.8rem}.route-step input[type=text]:focus{border-color:var(--accent);outline:none}.route-step-score{flex:none;min-width:2.6rem;padding:.15rem .4rem;border:1px solid var(--sev, var(--border));border-radius:var(--radius-sm);color:var(--sev, var(--muted));font-size:.85rem;font-weight:700;text-align:center}.route-step-key{display:flex;flex:none;align-items:center;gap:.3rem;color:var(--muted);font-size:.82rem;white-space:nowrap;cursor:pointer}.route-step-key input{accent-color:var(--accent)}.route-step-remove{flex:none;width:1.9rem;height:1.9rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:transparent;color:var(--muted);font-size:1.1rem;line-height:1;cursor:pointer}.route-step-remove:hover{border-color:var(--sev-critical);color:var(--sev-critical)}.route-step-actions{justify-content:flex-start}.route-keyfix{margin:0;color:var(--muted);font-size:.85rem;line-height:1.45;text-align:left}@media(max-width:40rem){.route-step-body{flex-wrap:wrap}.route-step-body .route-step-vector{flex-basis:100%}}.recon-stage{padding-top:1.25rem;border-top:1px solid var(--border)}.recon-stage h4{margin-bottom:0;color:var(--subtle);font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}.recon-credit{color:var(--muted);font-size:.9rem}
