/* Shared visual system. Legacy component layouts remain intact during migration. */
:root{--bg:#fff;--surface:#fff;--text:#18232f;--ink:#18232f;--muted:#566372;--border:#dce2e8;--line:#dce2e8;--blue:#164fda;--soft-blue:#f1f5fc;--soft-cyan:#f1f6f7;--radius:6px;--radius-sm:4px;--shadow:none;--max:1200px}
body.legacy-page{background:#fff;color:#18232f;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6}
.legacy-page .container{width:min(1200px,calc(100% - 96px))}
.legacy-page main h1{font-size:clamp(40px,4.4vw,62px);font-weight:500;letter-spacing:-2.5px;line-height:1.08;max-width:950px;margin:0 0 22px}
.legacy-page main h2{font-weight:500;letter-spacing:-.9px;line-height:1.2}
.legacy-page main h3{font-weight:500;letter-spacing:-.35px;line-height:1.3}
.legacy-page :is(.eyebrow,.mini-label,.card-num,.hardware-layer-label,.project-kicker){font:400 11px/1.5 Consolas,monospace;letter-spacing:1.3px;color:#566372;text-transform:uppercase}
.legacy-page .eyebrow{margin-bottom:18px}
.legacy-page :is(.section-title,.hardware-section-title){font-size:34px;margin:0 0 16px}
.legacy-page :is(.section-copy,.hero-copy){font-size:17px;line-height:1.65;color:#566372;max-width:760px}
.legacy-page :is(.page-hero,.module-hero,.module-detail-hero,.module-request-hero,.tool-hero,.decision-hero,.assessment-hero){padding:65px 0 42px;background:#fff;color:#18232f;border-bottom:0}
.legacy-page .assessment-hero p{color:#566372}
.legacy-page :is(.section,.section--tight){padding:54px 0}
.legacy-page :is(.hardware-stack-section,.module-demand-section,.selection-logic-section,.tool-section,.assessment-workspace){background:#f4f6f8;border-color:#dce2e8}
.legacy-page :is(.btn,.text-button,.card-link,.resource-link){font-weight:600;font-size:14px}
.legacy-page .btn{min-height:46px;border-radius:4px;padding:12px 20px;box-shadow:none;line-height:1.4;transition:background .15s,border-color .15s}
.legacy-page .btn:hover{transform:none;box-shadow:none}
.legacy-page :is(.btn-primary,.btn-dark){color:#fff;background:#164fda;border-color:#164fda}
.legacy-page :is(.btn-primary,.btn-dark):hover{background:#103db0;border-color:#103db0}
.legacy-page .btn-secondary{background:#fff;border-color:#dce2e8;color:#18232f}
.legacy-page .btn-secondary:hover{background:#f4f6f8;border-color:#bcc8d5}
.legacy-page :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #729aff;outline-offset:4px}
.legacy-page :is(.card,.architecture-card,.hardware-layer-card,.module-platform-card,.demo-case,.resource-card,.contributor-card,.guide-card,.access-card,.form-shell,.form-card,.architecture-panel,.architecture-primary,.module-hero-aside,.module-status-guide,.module-detail-warning,.module-spec-table,.selection-choice,.project-next,.project-email-preview,.contributor-demo-highlight,.contributor-principle,.resource-principle,.journey,.assessment-group,.assessment-start-card,.assessment-side-card,.requirement-card,.review-card,.result-detail-grid article,.module-resource-grid article){border-radius:6px;box-shadow:none;border-color:#dce2e8}
.legacy-page main [class*="-card"],.legacy-page main [class*="-panel"]{border-radius:6px;box-shadow:none}
.legacy-page .resource-entry-card{background:#fff;border-color:#dce2e8}
.legacy-page .resource-entry-card-primary{border-color:#bcc8d5}
.legacy-page :is(.resource-principle,.contributor-principle,.review-card,.architecture-primary,.access-card.primary,.result-recommendation) .mini-label{color:#b9c9ef}
.legacy-page :is(.resource-principle,.contributor-principle) p{color:#c7ced9}
.legacy-page :is(.click-card,.architecture-card,.module-platform-card,.resource-card,.contributor-demo-highlight):hover{transform:none;box-shadow:none;border-color:#164fda}
.legacy-page :is(.tag,.resource-badge,.module-status,.component-badge,.evidence-status){border-radius:4px;font-weight:500}
.legacy-page :is(.cta,.integration-cta,.module-inline-callout,.contributor-demo-highlight,.module-hero-aside,.module-demand-section,.assessment-start-card){background:#f4f6f8;box-shadow:none;border-color:#dce2e8}
.legacy-page .cta{border-radius:6px;padding:30px;gap:32px}
.legacy-page .cta h2{font-size:32px;margin:0 0 14px;max-width:760px}
.legacy-page .cta .eyebrow{margin-bottom:12px}
.legacy-page .cta p{font-size:16px;max-width:660px}
.legacy-page :is(.decision-note,.module-confidential-note,.module-form-boundary,.build-principle,.demo-detail-note,.verification-note,.requirement-card,.scope-prompt){background:#f4f6f8;border-color:#dce2e8;border-radius:4px;box-shadow:none}
.legacy-page :is(.field label,.assessment-fields label,.form-card legend,.assessment-group legend){font-weight:600}
.legacy-page :is(.field input,.field select,.field textarea,.resource-toolbar input,.resource-toolbar select,.assessment-fields select,.assessment-start-card select){border-radius:4px;box-shadow:none;font-size:16px;font-weight:400;border-color:#bcc8d5}
.legacy-page :is(.form-card legend,.assessment-group legend){font-size:22px;letter-spacing:-.4px}
.legacy-page :is(.technical-note,.module-selection-note){margin-top:24px;max-width:820px;border-top:1px solid #dce2e8;font-size:15px;color:#566372}
.legacy-page :is(.technical-note,.module-selection-note) summary{padding:14px 0;cursor:pointer;color:#18232f;font-weight:500}
.legacy-page :is(.technical-note,.module-selection-note) p{margin:0 0 18px;line-height:1.65}
/* Hardware uses compact architecture cards and clear supporting component groups. */
.legacy-page .hardware-architecture-grid{gap:20px;margin-top:30px}
.legacy-page .architecture-card-visual{background:#f4f6f8;border-radius:0;border-bottom:1px solid #dce2e8;box-shadow:none}
.legacy-page .architecture-card-body{padding:23px}
.legacy-page .architecture-card-body h3{font-size:21px}
.legacy-page .architecture-card-body p{font-size:15px}
.legacy-page .hardware-layer-card{padding:24px;background:#fff}
.legacy-page .hardware-layer-card h3{font-size:21px;line-height:1.35}
.legacy-page .hardware-layer-card p{font-size:15px}
.legacy-page .hardware-stack-head{gap:32px;align-items:start}
.legacy-page .hardware-layer-grid{gap:20px}
.legacy-page .memory-tool-link{display:inline-block;margin-top:18px;color:#164fda;font-size:14px;font-weight:600}
/* Demos keep real video media and contributor attribution. */
.legacy-page .demo-case-stack{gap:26px}
.legacy-page .demo-case{padding:26px;gap:32px;background:#fff;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.legacy-page .demo-video-wrap{border-radius:4px;box-shadow:none}
.legacy-page .demo-case-copy h2{font-size:30px;margin:12px 0 16px}
.legacy-page .demo-case-copy>p{font-size:16px;line-height:1.6}
.legacy-page .demo-facts{font-size:13px;font-weight:400;margin:18px 0}
.legacy-page .demo-summary-media{border-radius:4px;box-shadow:none}
/* Modules keep technical status and specifications, with quieter presentation. */
.legacy-page .module-hero-grid{grid-template-columns:1fr;gap:0}
.legacy-page .module-hero h1{max-width:900px}
.legacy-page .module-hero p{max-width:760px;font-size:17px;line-height:1.65}
.legacy-page .module-platform-grid{gap:24px}
.legacy-page .module-platform-card{padding:25px;background:#fff;min-width:0}
.legacy-page .module-card-top{flex-wrap:wrap;gap:8px}
.legacy-page .module-visual{background:#f4f6f8;border:1px solid #dce2e8;border-radius:4px;color:#18232f;height:145px;box-shadow:none}
.legacy-page .module-visual:before,.legacy-page .module-visual:after{display:none}
.legacy-page .module-visual span{font-size:38px;font-weight:500;letter-spacing:-1px}
.legacy-page .module-visual i{font-size:13px;color:#566372;font-weight:400}
.legacy-page .module-platform-card h3{font-size:23px;line-height:1.3}
.legacy-page .module-platform-card>p{font-size:15px;line-height:1.6}
.legacy-page :is(.module-status,.module-family){font-size:12px;font-weight:500}
.legacy-page .module-card-meta{font-weight:400;font-size:12px}
.legacy-page .module-resource-grid article{background:#fff}
.legacy-page .module-resource-grid article>span{font-weight:400;font-family:Consolas,monospace}
.legacy-page .module-status-guide{padding:28px;grid-template-columns:1fr;gap:18px}
.legacy-page .module-status-guide h2{font-size:25px;margin:0}
.legacy-page .module-status-guide summary{cursor:pointer;list-style:revert}
.legacy-page .module-status-list{margin-top:24px}
.legacy-page .module-status-list>div{border-radius:4px;background:#f4f6f8}
.legacy-page .module-spec-table{border-color:#dce2e8}
.legacy-page .module-spec-row strong{font-weight:500}
.legacy-page .module-fit-list li{border-radius:4px}
/* Tool layouts remain denser; reviewed results keep their visual prominence. */
.legacy-page .journey{background:#f4f6f8;border-color:#dce2e8}
.legacy-page :is(.journey span,.form-card legend span,.assessment-group legend span){border-radius:4px;font-weight:500}
.legacy-page .review-card{background:#142537}
.legacy-page .review-card h2{font-size:26px}
.legacy-page .review-card .review-block{border-top-color:#ffffff26}
.legacy-page .assessment-hero aside{background:#f4f6f8;border:1px solid #dce2e8;border-radius:6px}
.legacy-page .assessment-hero aside strong{color:#18232f}
.legacy-page .assessment-hero aside span{color:#566372}
.legacy-page .assessment-hero .eyebrow{color:#566372}
/* One footer across both original content and new project pages. */
.oh-footer{background:#fff;color:#18232f;border-top:1px solid #dce2e8;padding:42px 0 24px;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.6}
.oh-footer-inner{width:min(1200px,calc(100% - 96px));margin:auto}
.oh-footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:35px}
.oh-footer a{text-decoration:none;color:inherit}.oh-footer a:hover{color:#164fda}
.oh-footer .brand{display:inline-flex;align-items:center;gap:12px;letter-spacing:0;white-space:nowrap;font:760 16px Inter,Arial,sans-serif;color:#101828}
.oh-footer .brand>span:last-child{color:#101828}.oh-footer .brand-mark{width:34px;height:34px;flex:0 0 34px;margin:0;border:1px solid #e3e8ef;border-radius:10px;background:#fff;position:relative}
.oh-footer .brand-mark:before{content:"";position:absolute;left:7px;top:7px;width:7px;height:7px;border-radius:3px;background:#4263eb;box-shadow:13px 0 #16b8c4,0 13px #ff8a65,13px 13px #30a46c}.oh-footer .brand-mark:after{content:none}
.oh-footer-brand p{margin:16px 0 10px;color:#566372;font-size:14px}.oh-footer-social{font-size:13px;color:#566372!important}
.oh-footer-group h2{font-size:14px;letter-spacing:0;font-weight:600;line-height:1.5;margin:3px 0 14px}
.oh-footer-links{display:grid;gap:7px}.oh-footer-links a{color:#566372;font-size:14px}
.oh-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:32px;padding-top:18px;border-top:1px solid #dce2e8;color:#566372;font-size:12px}
.oh-footer a:focus-visible{outline:3px solid #729aff;outline-offset:4px}
@media(max-width:1000px){.legacy-page .container,.oh-footer-inner{width:calc(100% - 48px)}.legacy-page .hardware-layer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-page .hardware-stack-head{flex-direction:column}.oh-footer-grid{gap:24px;grid-template-columns:1.3fr repeat(3,1fr)}}
@media(max-width:760px){.legacy-page .container,.oh-footer-inner{width:calc(100% - 40px)}.legacy-page main h1{font-size:41px;letter-spacing:-1.7px}.legacy-page :is(.page-hero,.module-hero,.module-detail-hero,.module-request-hero,.tool-hero,.decision-hero,.assessment-hero){padding:44px 0 30px}.legacy-page :is(.section,.section--tight){padding:40px 0}.legacy-page :is(.section-title,.hardware-section-title){font-size:29px}.legacy-page .demo-case{grid-template-columns:1fr;padding:20px;gap:22px}.legacy-page .demo-case-copy h2{font-size:26px}.legacy-page .cta{padding:24px;flex-direction:column;align-items:flex-start;gap:24px}.legacy-page .cta h2{font-size:28px}.legacy-page .architecture-card-body{padding:20px}.oh-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 18px}.oh-footer-brand{grid-column:1/-1}.oh-footer{padding-top:30px}.oh-footer-bottom{flex-wrap:wrap;gap:10px}}
@media(max-width:540px){.legacy-page :is(.hardware-layer-grid,.hardware-architecture-grid){grid-template-columns:1fr}.legacy-page .hardware-layer-card{padding:22px}.legacy-page .module-platform-card{padding:22px}.legacy-page .module-status-list{grid-template-columns:1fr}.legacy-page .module-platform-card h3{font-size:21px}.legacy-page .module-visual{height:125px}.legacy-page .module-spec-row{grid-template-columns:1fr;gap:4px}.legacy-page :is(.resource-toolbar input,.resource-toolbar select){font-size:16px}.oh-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.oh-footer-brand{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.legacy-page *{transition:none!important}}
