
/* Release 6 — progressive enhancement and inclusive interaction */
:root{color-scheme:light}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #4F46E5!important;outline-offset:3px!important}
.skip-link{position:fixed;z-index:9999;left:14px;top:12px;transform:translateY(-170%);background:#312E81;color:white!important;border-radius:8px;padding:11px 16px;font-weight:700;text-decoration:none;box-shadow:0 8px 22px #0F172A30}
.skip-link:focus{transform:translateY(0)}
.nav-links a[aria-current=page],.nav-sub a[aria-current=page]{font-weight:800}
.nav-group.open>.nav-toggle{color:#3730A3;background:#EEF2FF}
.nav-sub{max-height:min(75vh,520px);overflow-y:auto}
/* No content is ever hidden waiting for JavaScript */
.reveal-ready{opacity:1!important;transform:none!important}
.hero-illustration{max-width:100%;object-fit:contain}
.hero-visual{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}
.card,.tool-panel,.result{will-change:auto}
@media(hover:none){.card:hover,.tool-panel:hover,.result:hover{transform:none;box-shadow:none}}
@media(max-width:950px){.nav-links{max-height:calc(100dvh - 90px);overflow:auto;overscroll-behavior:contain}.nav-sub{max-height:none;overflow:visible}.header-cta{order:0}}
@media(max-width:600px){.header-cta{display:none}.nav-inner{gap:8px}.hero-visual{grid-template-columns:1fr}.hero-illustration{max-height:350px}.card{padding:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.site-nav,.nav-sub,.card,.btn,.cta,.tool-button{transition:none!important}}
