.sg-header{position:sticky;top:0;z-index:40;background:rgba(248,250,252,0.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(148,163,184,0.35)}
.sg-header-inner{display:flex;align-items:center;justify-content:space-between;padding-block:12px;gap:16px}
.sg-header-brand{display:flex;align-items:center;min-width:0}
.sg-header-logo-link{display:flex;align-items:center;gap:10px}
.sg-header-logo-mark{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#a5f3fc,#22c55e);box-shadow:0 0 0 2px rgba(15,23,42,0.8),0 6px 0 rgba(15,23,42,0.6);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.sg-header-logo-pixel{width:14px;height:14px;background:#0f172a;box-shadow:0 0 0 2px #fff}
.sg-header-logo-text{display:flex;flex-direction:column;gap:2px;white-space:nowrap}
.sg-header-logo-title{font-family:var(--font-display);font-size:0.9rem;letter-spacing:0.12em;text-transform:uppercase}
.sg-header-logo-subtitle{font-size:0.7rem;color:var(--color-text-muted)}
.sg-header-nav{display:flex;align-items:center;gap:20px}
.sg-header-nav-list{display:flex;align-items:center;gap:18px}
.sg-header-nav-link{position:relative;font-size:0.85rem;font-weight:500;color:var(--color-text-muted);padding-block:4px}
.sg-header-nav-link::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;border-radius:999px;background:linear-gradient(90deg,#22c1c3,#4f46e5);transform:scaleX(0);transform-origin:50% 50%;transition:transform var(--transition-base)}
.sg-header-nav-link:hover,.sg-header-nav-link:focus-visible{color:var(--color-text)}
.sg-header-nav-link:hover::after,.sg-header-nav-link:focus-visible::after{transform:scaleX(1)}
.sg-header-cta-group{display:flex;align-items:center;gap:10px;margin-left:16px}
.sg-header-cta{font-size:0.75rem;padding-inline:1.2rem;padding-block:0.55rem}
.sg-header-cta-secondary{font-size:0.75rem;padding-inline:1rem;padding-block:0.55rem}
.sg-header-toggle{display:none;align-items:center;gap:8px;color:var(--color-text);padding:6px 10px;border-radius:999px;background:rgba(15,23,42,0.03)}
.sg-header-toggle-box{width:22px;height:18px;position:relative;display:inline-flex;align-items:center;justify-content:center}
.sg-header-toggle-line{position:absolute;width:100%;height:2px;border-radius:999px;background:var(--color-text);left:0;transition:transform var(--transition-base),opacity var(--transition-base),top var(--transition-base),bottom var(--transition-base)}
.sg-header-toggle-line-top{top:2px}
.sg-header-toggle-line-middle{top:50%;transform:translateY(-50%)}
.sg-header-toggle-line-bottom{bottom:2px}
.sg-header-toggle-text{font-size:0.75rem;font-weight:500}
.sg-header-toggle:focus-visible{outline:2px solid var(--color-accent-blue);outline-offset:3px}
.sg-header-nav-open .sg-header-toggle-line-top{top:50%;transform:translateY(-50%) rotate(45deg)}
.sg-header-nav-open .sg-header-toggle-line-middle{opacity:0}
.sg-header-nav-open .sg-header-toggle-line-bottom{bottom:auto;top:50%;transform:translateY(-50%) rotate(-45deg)}
@media (max-width:900px){.sg-header-inner{padding-block:10px}.sg-header-nav{position:fixed;inset-inline:0;top:56px;max-height:0;overflow:hidden;flex-direction:column;align-items:stretch;background:rgba(15,23,42,0.97);border-bottom:1px solid rgba(148,163,184,0.6);transition:max-height var(--transition-slow);padding-inline:16px;gap:12px}
.sg-header-nav-list{flex-direction:column;align-items:stretch;padding-block:8px}
.sg-header-nav-link{color:#e5e7eb;padding-block:8px}
.sg-header-nav-link::after{background:rgba(45,212,191,0.8);bottom:0}
.sg-header-nav-open .sg-header-nav{max-height:360px}
.sg-header-cta-group{flex-direction:column;align-items:stretch;margin-left:0;padding-bottom:12px}
.sg-header-cta,.sg-header-cta-secondary{width:100%;justify-content:center}
.sg-header-toggle{display:inline-flex}
.sg-header-logo-subtitle{display:none}}
@media (max-width:520px){.sg-header-logo-title{font-size:0.78rem;letter-spacing:0.18em}.sg-header-logo-mark{width:30px;height:30px;border-radius:10px}
.sg-header-inner{gap:8px}}