.bar { position: fixed; z-index: 50; inset: 0 0 auto 0; border-bottom: 1px solid transparent; transition: background-color 0.25s, border-color 0.25s; } .solid { background: var(--topbar-bg); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); } .inner { width: var(--shell); height: 68px; margin: 0 auto; display: flex; align-items: center; gap: 32px; } .mark { margin-right: auto; font: 700 20px/1 var(--font-head); letter-spacing: -0.03em; text-decoration: none; } .nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; } .nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; transition: background-size 0.25s; } .nav a:hover { background-size: 100% 1.5px; } .cta { margin-left: -12px; padding: 10px 18px; border-radius: var(--radius-control); background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color 0.2s; } .cta:hover { background: var(--z); } @media (max-width: 860px) { .nav { display: none; } } .toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow 0.2s; } .toggle:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } .toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }