:root{--bg:#0b1420;--panel:#142333;--panel2:#192c3d;--ink:#f2f5f2;--muted:#b0c1c9;--line:#385061;--accent:#a5d5bc;--warn:#eeb68b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}.top{position:sticky;top:0;z-index:3;background:#0b1420ee;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);padding:14px max(24px,calc((100vw - 1200px)/2));display:flex;justify-content:space-between;gap:16px;align-items:center}.brand{font-size:.78rem;font-weight:800;letter-spacing:.13em}.brand span{color:var(--muted);font-weight:400}nav{display:flex;gap:18px;flex-wrap:wrap}a{color:var(--muted);text-decoration:none;font-size:.85rem}a:hover{color:var(--accent)}main{max-width:1200px;margin:auto;padding:0 24px}.hero{padding:110px 0 100px;border-bottom:1px solid var(--line)}.eyebrow,.number,.tag,.option{color:var(--accent);font-weight:800;letter-spacing:.12em;font-size:.77rem;text-transform:uppercase}h1{font-size:clamp(3rem,7vw,6.3rem);line-height:1.08;letter-spacing:-.055em;margin:18px 0 25px;max-width:1050px}h1 em{color:var(--accent);font-style:normal}.hero>p{max-width:730px;color:var(--muted);font-size:1.2rem}.pillrow{display:flex;gap:10px;flex-wrap:wrap;margin-top:32px}.pill{border:1px solid var(--line);border-radius:100px;padding:6px 13px;font-size:.82rem;color:var(--muted)}section:not(.hero){padding:88px 0;border-bottom:1px solid var(--line)}.sectionhead{display:flex;gap:25px;align-items:baseline;margin-bottom:36px}.sectionhead h2{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.04em;line-height:1.2;margin:0}.sectionhead p{color:var(--muted);margin:8px 0}.flow{display:flex;align-items:stretch;gap:10px}.node{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:22px 17px;flex:1;min-width:0;display:flex;flex-direction:column;gap:9px}.node small{color:var(--accent);font-size:.75rem;text-transform:uppercase;letter-spacing:.09em}.node strong{font-size:1.12rem;line-height:1.3}.node span{font-size:.87rem;color:var(--muted)}.node.risk{border-color:#ac795c}.flag{color:var(--warn);font-size:.75rem;margin-top:auto}.node.authority{border-color:var(--accent);background:#1a3538}.arrow{display:grid;place-items:center;color:var(--accent);font-size:1.5rem;flex:0 0 20px}.note{font-size:.88rem;color:var(--muted);margin-top:18px}.callout{border-left:4px solid var(--accent);padding:18px 24px;background:var(--panel2);margin-top:28px;color:var(--muted)}.callout strong{color:var(--ink)}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.cards article,.comparison article{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:25px}.cards h3,.comparison h3{font-size:1.45rem;margin:14px 0}.cards p,.comparison p{color:var(--muted);font-size:.93rem}.cards article>strong{display:block;margin-top:30px;font-size:.83rem;color:var(--accent)}.comparison{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.comparison .featured{border-color:var(--accent);background:#193137}.tradeoff{border-top:1px solid var(--line);padding-top:18px;margin-top:25px;color:var(--warn);font-size:.88rem}.questions{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.questions>div{background:var(--panel);border-radius:12px;padding:17px 22px;display:flex;gap:20px;align-items:baseline}.questions b{color:var(--accent)}.questions p{margin:0}.closing{margin-top:55px;padding:45px;background:linear-gradient(120deg,#1a3c3b,#172c40);border-radius:20px}.closing h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.2;letter-spacing:-.04em;margin:0}.closing p{max-width:700px;color:var(--muted)}footer{max-width:1200px;margin:auto;padding:30px 24px 50px;color:var(--muted);font-size:.8rem}
/* Interactive architecture explanations */
.comparison article{display:flex;flex-direction:column}.comparison .tradeoff{margin-top:auto}.details-button{margin-top:22px;display:inline-flex;align-items:center;justify-content:space-between;gap:20px;align-self:flex-start;border:1px solid var(--accent);background:transparent;color:var(--accent);padding:10px 15px;border-radius:9px;font:inherit;font-size:.86rem;font-weight:700;cursor:pointer;transition:background .2s,color .2s,transform .2s}.details-button:hover{background:var(--accent);color:var(--bg);transform:translateY(-1px)}button:focus-visible{outline:3px solid var(--warn);outline-offset:3px}.architecture-dialog{width:min(760px,calc(100% - 28px));max-height:min(88vh,900px);padding:0;border:1px solid var(--line);border-radius:18px;background:var(--bg);color:var(--ink);box-shadow:0 25px 100px #000a;overflow:auto}.architecture-dialog::backdrop{background:rgba(2,8,14,.82);backdrop-filter:blur(5px)}.dialog-inner{padding:clamp(22px,4vw,38px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:22px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:clamp(1.8rem,4vw,2.5rem);line-height:1.15;letter-spacing:-.04em;margin:12px 0}.dialog-subtitle{color:var(--muted);margin:0}.dialog-close{flex-shrink:0;background:var(--panel);border:1px solid var(--line);border-radius:10px;color:var(--ink);font-size:1.7rem;width:42px;height:42px;cursor:pointer;line-height:1}.dialog-close:hover{background:var(--panel2)}.dialog-body>p:first-child{font-size:1.05rem;color:var(--muted)}.dialog-body h3{font-size:1.05rem;margin:28px 0 12px}.dialog-flow{list-style:none;counter-reset:steps;padding:0;margin:0;display:grid;gap:8px}.dialog-flow li{counter-increment:steps;background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:11px 15px;display:flex;gap:13px;align-items:center}.dialog-flow li::before{content:counter(steps,decimal-leading-zero);color:var(--accent);font-weight:800;font-size:.78rem}.dialog-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dialog-columns ul{padding-left:20px;margin:0;color:var(--muted)}.dialog-columns li{margin-bottom:10px}.dialog-columns li::marker{color:var(--accent)}.dialog-highlight{border-left:3px solid var(--accent);background:var(--panel2);padding:4px 20px 17px;margin-top:26px}.dialog-highlight p{color:var(--muted);margin:0}.dialog-question{color:var(--accent);font-style:italic}.dialog-footer{border-top:1px solid var(--line);margin-top:25px;padding-top:18px;display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-footer span{font-size:.78rem;color:var(--muted)}.dialog-footer .details-button{margin:0}
@media(max-width:950px){.flow{flex-direction:column}.arrow{transform:rotate(90deg);height:24px}.cards{grid-template-columns:repeat(2,1fr)}.comparison{grid-template-columns:1fr}}@media(max-width:600px){.top{align-items:flex-start;flex-direction:column}.hero{padding:75px 0}.cards,.questions,.dialog-columns{grid-template-columns:1fr}.sectionhead{gap:14px}.closing{padding:26px}.dialog-footer{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.details-button{transition:none}}@media print{body{background:white;color:#142333}.top,.architecture-dialog,.details-button{display:none}.node,.cards article,.comparison article,.questions>div{background:#eef3f4;color:#142333;break-inside:avoid}.node span,.cards p,.comparison p,.sectionhead p,.note,.questions p{color:#415563}section:not(.hero){padding:35px 0}.hero{padding:40px 0}.closing{color:white}a{color:#142333}}

/* Stakeholder questionnaire */
.survey-intro{max-width:850px;border-left:3px solid var(--accent);padding:22px 28px;background:var(--panel2);border-radius:0 13px 13px 0;margin-bottom:30px}.survey-intro p{color:var(--muted);margin:12px 0 0}.survey-intro p:first-of-type{color:var(--ink)}#stakeholder-survey{max-width:900px}.survey-group{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:clamp(20px,4vw,35px);margin:0 0 18px}.survey-group-title{display:flex;align-items:baseline;gap:18px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:25px}.survey-group-title span{font-size:.75rem;letter-spacing:.1em;font-weight:800;color:var(--accent)}.survey-group-title h3{font-size:1.4rem;margin:0;letter-spacing:-.025em}.survey-group fieldset{border:0;margin:0 0 27px;padding:0;min-width:0}.survey-group fieldset:last-child{margin-bottom:0}.survey-group legend,.survey-text-label{display:block;width:100%;font-weight:650;font-size:1.02rem;line-height:1.5;margin-bottom:13px}.survey-group small{display:block;color:var(--muted);font-size:.82rem;font-weight:400;margin-top:4px}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.choice{display:flex;gap:11px;align-items:flex-start;padding:11px 13px;background:#0f1c2b;border:1px solid var(--line);border-radius:9px;cursor:pointer;font-size:.91rem;color:var(--muted);line-height:1.4}.choice:has(input:checked){border-color:var(--accent);background:#193437;color:var(--ink)}.choice:has(input:disabled){opacity:.5;cursor:not-allowed}.choice input{accent-color:var(--accent);width:17px;height:17px;flex:0 0 auto;margin:2px 0 0}.survey-text-label{margin-top:25px}.survey-group textarea{display:block;width:100%;resize:vertical;background:#0f1c2b;border:1px solid var(--line);border-radius:10px;color:var(--ink);padding:14px 15px;font:inherit;font-size:.94rem;min-height:92px}.survey-group textarea::placeholder{color:#91a5b2}.survey-group textarea:focus-visible,.choice:focus-within{outline:2px solid var(--accent);outline-offset:2px}.survey-submit{display:flex;justify-content:space-between;align-items:center;gap:22px;background:linear-gradient(120deg,#1a3c3b,#172c40);border-radius:15px;padding:25px 30px}.survey-submit strong{font-size:1.2rem}.survey-submit p{color:var(--muted);font-size:.87rem;margin:4px 0 0}.survey-button{background:var(--accent);color:var(--bg);border:0;border-radius:9px;padding:13px 19px;white-space:nowrap;font:inherit;font-weight:750;cursor:pointer}.survey-button:hover{filter:brightness(1.1)}.survey-button:disabled{opacity:.6;cursor:wait}.survey-status{min-height:1.6em;color:var(--accent);font-weight:600}.survey-status.error{color:var(--warn)}.survey-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}@media(max-width:650px){.choices{grid-template-columns:1fr}.survey-submit{flex-direction:column;align-items:stretch}.survey-button{width:100%}.survey-group-title{flex-direction:column;gap:4px}}@media print{#survey{display:none}}
