/* Nerdsty shared site header. All rules scoped to #nerdsty-site-header. */
#nerdsty-site-header{width:100%;}
#nerdsty-site-header *,#nerdsty-site-header *::before,#nerdsty-site-header *::after{box-sizing:border-box}
#nerdsty-site-header .ns-header{max-width:1480px;margin:0 auto;padding:0 34px;min-height:102px;border-bottom:1px solid #ffffff13;display:flex;align-items:center;justify-content:space-between;flex-direction:row;gap:20px}
#nerdsty-site-header .ns-brand{display:block;flex:0 0 auto;white-space:nowrap;color:#f3f4fb;font-family:Arial,Helvetica,sans-serif;font-size:27px;font-weight:900;letter-spacing:2px;line-height:1.1;text-decoration:none;transition:filter .18s ease}
#nerdsty-site-header .ns-brand:hover,#nerdsty-site-header .ns-brand:focus-visible{color:#f3f4fb;filter:brightness(1.16)}
#nerdsty-site-header .ns-brand .ns-gradient{background:linear-gradient(100deg,#70bfff,#bd83fa);-webkit-background-clip:text;background-clip:text;color:transparent}
#nerdsty-site-header .ns-brand small{display:block;margin-top:10px;color:#8f96ad;font-size:10px;letter-spacing:1.6px;line-height:1.5}
#nerdsty-site-header .ns-nav{display:flex;align-items:center;flex:0 0 auto;position:relative}
#nerdsty-site-header .ns-toggle{font:inherit;font-family:Arial,Helvetica,sans-serif;font-size:13px;letter-spacing:1.2px;font-weight:700;color:#c5cada;cursor:pointer;background:#161e31;border:1px solid #485978;border-radius:7px;padding:10px 15px;min-height:42px;transition:background .18s,border-color .18s,color .18s}
#nerdsty-site-header .ns-toggle:hover,#nerdsty-site-header .ns-toggle:focus-visible{background:#202c46;border-color:#8bbcff;color:#dcecff}
#nerdsty-site-header .ns-toggle:focus-visible{outline:2px solid #79baff;outline-offset:3px}
#nerdsty-site-header .ns-hamburger{display:none}
#nerdsty-site-header .ns-links{display:none;position:absolute;top:calc(100% + 8px);right:0;z-index:1000;min-width:225px;padding:8px;background:#151b2b;border:1px solid #39445f;border-radius:9px;box-shadow:0 12px 30px #0009}
#nerdsty-site-header .ns-nav.is-open .ns-links{display:flex;flex-direction:column}
#nerdsty-site-header .ns-links a{display:block;padding:10px 12px;border-radius:5px;color:#e4e9f6;text-decoration:none;font:13px/1.35 Arial,Helvetica,sans-serif;white-space:nowrap}
#nerdsty-site-header .ns-links a:hover,#nerdsty-site-header .ns-links a:focus-visible{background:#25314a;color:#a6ceff}
@media(max-width:800px){#nerdsty-site-header .ns-header{min-height:95px;padding:0 22px;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}#nerdsty-site-header .ns-brand{font-size:24px;min-width:0;flex:0 0 auto}#nerdsty-site-header .ns-brand small{font-size:10px;letter-spacing:1.2px;margin-top:6px}#nerdsty-site-header .ns-nav{margin-left:auto}#nerdsty-site-header .ns-toggle{width:44px;height:44px;padding:8px;display:flex;align-items:center;justify-content:center}#nerdsty-site-header .ns-label{display:none}#nerdsty-site-header .ns-hamburger{display:flex;flex-direction:column;gap:5px}#nerdsty-site-header .ns-hamburger i{display:block;width:21px;height:2px;border-radius:2px;background:currentColor}}
@media(max-width:360px){#nerdsty-site-header .ns-brand{font-size:21px;letter-spacing:1px}#nerdsty-site-header .ns-brand small{letter-spacing:.6px}}
@media(prefers-reduced-motion:reduce){#nerdsty-site-header .ns-brand,#nerdsty-site-header .ns-toggle{transition:none}}

/* Keep the gradient visible even when individual labs hide header link spans. */
#nerdsty-site-header .ns-brand .ns-gradient{display:inline!important}
#nerdsty-site-header .ns-brand small{display:block!important}
@media(max-width:800px){#nerdsty-site-header .ns-header{padding-left:22px;padding-right:22px;min-height:83px}}

/* Match the established Element Lab wordmark and tagline exactly. */
#nerdsty-site-header .ns-brand{color:#eef1ff;font-size:27px;font-weight:900;letter-spacing:2px;line-height:1.1}
#nerdsty-site-header .ns-brand:hover,#nerdsty-site-header .ns-brand:focus-visible{color:#eef1ff}
#nerdsty-site-header .ns-brand small{font-size:10px;letter-spacing:2px;line-height:normal;color:#949eb6;margin-top:10px}
@media(max-width:800px){#nerdsty-site-header .ns-brand{font-size:23px}#nerdsty-site-header .ns-brand small{font-size:10px;letter-spacing:2px;margin-top:10px}}
