.smart-navigation{background:#fff;border-bottom:1px solid #ded4ef;color:#14213d}
.smart-navigation-inner{width:min(86rem,calc(100% - 32px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px}
.smart-brand{display:flex;align-items:center;gap:10px;color:#14213d;text-decoration:none}
.smart-brand img{display:block;width:clamp(86px,24vw,132px);height:auto}
.smart-menu{position:relative}
.smart-menu summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:750;padding:0 10px;border-radius:.55rem;background:#f4f1fa}
.smart-menu ul{position:absolute;right:0;top:100%;z-index:20;width:min(36rem,calc(100vw - 32px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:.5rem 0 0;padding:.65rem;list-style:none;background:#fff;border:1px solid #ded4ef;border-radius:.75rem;box-shadow:0 .75rem 2rem #14213d22}
.smart-menu a{display:flex;align-items:center;min-height:44px;padding:.5rem .75rem;color:#14213d;text-decoration:none;border-radius:.45rem}
.smart-menu a:hover,.smart-menu a:focus-visible{background:#f4f1fa;text-decoration:underline}
.smart-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:clamp(1rem,4vw,3rem);padding:clamp(1rem,4vw,3rem);background:#14213d;color:#fafaf7;border-radius:1rem}
.smart-hero h1{color:#fff;font-size:clamp(2rem,5vw,4rem);line-height:1.08;margin:0 0 .8rem;overflow-wrap:anywhere}
.smart-hero p{font-size:clamp(1rem,2vw,1.2rem);color:#e2e8f4;margin:0 0 1rem;max-width:60ch}
.smart-hero img{width:100%;height:auto;max-height:320px;object-fit:contain;border-radius:.65rem}
.smart-hero .tool-cta{display:inline-flex;min-height:44px;align-items:center;background:#2563eb;color:#fff}
.smart-links{display:flex;flex-wrap:wrap;gap:1rem;list-style:none;padding:0}
.smart-screenshot{display:block;max-width:100%;height:auto}
.smart-platform :focus-visible,.smart-navigation :focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@media(max-width:680px){.smart-hero{grid-template-columns:minmax(0,1fr)}.smart-hero img{max-height:190px}.smart-brand strong{font-size:.82rem}.smart-menu summary{font-size:.82rem}}

.smart-menu:not([open]) ul{display:none}

body.tools-page:has(> .smart-navigation){display:block;min-height:100vh;margin:0;padding:0}
body.tools-page:has(> .smart-navigation) .tools-main{width:min(86rem,calc(100% - 32px));margin-inline:auto}
.smart-navigation{position:relative;z-index:25;box-shadow:0 2px 10px #14213d14}
.smart-brand{flex-shrink:0}
.smart-brand strong,.smart-menu summary{white-space:nowrap}
.smart-nav-actions,.smart-nav-quick{display:flex;align-items:center;gap:clamp(.5rem,2vw,1.3rem)}
.smart-nav-quick>a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;color:#14213d;font-weight:700;white-space:nowrap}
.smart-nav-quick>a:hover{text-decoration:underline}
.smart-mega{position:absolute;right:0;top:calc(100% + .5rem);width:min(36rem,calc(100vw - 32px));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:1rem;background:#fff;border:1px solid #ded4ef;border-radius:.8rem;box-shadow:0 .75rem 2rem #14213d24;max-height:calc(100vh - 85px);overflow:auto}
.smart-menu .smart-mega h2{font-size:.86rem;margin:.2rem .5rem .35rem;color:#5a32a8}
.smart-menu .smart-mega ul{position:static;width:auto;display:grid;grid-template-columns:1fr;gap:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.smart-menu:not([open]) .smart-mega{display:none}
@media(max-width:760px){.smart-nav-quick{display:none}.smart-mega{grid-template-columns:1fr 1fr}.smart-navigation-inner{min-height:62px;gap:.5rem}}
@media(max-width:375px){.smart-brand{gap:.35rem}.smart-brand strong{font-size:.75rem}.smart-menu summary{font-size:.75rem;padding:0 .45rem}}

body.tools-page>.smart-navigation{width:100%;max-width:none;margin:0;padding:0}
