.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #0f172a;
    font: 800 1.16rem 'Manrope', sans-serif;
    letter-spacing: -0.04em;
    text-decoration: none;
    white-space: nowrap;
}

body > header { height: 72px; }

body > header .nav-inner,
body > header nav.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 28px;
}

body > header .nav-links { gap: 1.6rem; }

body > header .nav-links a {
    position: relative;
    padding: 0.35rem 0;
    font: 600 0.84rem 'Manrope', sans-serif;
}

body > header .nav-links a::after {
    content: '';
    position: absolute;
    inset: auto 0 -0.2rem;
    height: 2px;
    border-radius: 2px;
    background: #2563eb;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

body > header .nav-links a:hover::after,
body > header .nav-links a.active::after { transform: scaleX(1); }

body > .mobile-nav { top: 72px; }

.logo-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #2563eb, #1e40af);
    box-shadow: 0 7px 18px rgba(37, 99, 235, 0.25);
    font: 600 0.67rem 'JetBrains Mono', monospace;
    letter-spacing: -0.04em;
}

@media (max-width: 480px) {
    .logo { gap: 0.55rem; font-size: 1rem; }
    .logo-mark { width: 31px; height: 31px; flex-basis: 31px; font-size: 0.61rem; }
    body > header .nav-inner,
    body > header nav.container { padding-inline: 20px; }
}
