/* The Notalic logo: the ribbon N plus "otalic", drawn as vectors (mark.svg, word-*.svg).
   One N for every background; the word is dark on the light theme and white on dark.
   Set --logo-h to size it; hide .logo-word to show the N alone. */
.logo { display: inline-flex; align-items: center; gap: calc(var(--logo-h, 32px) * .4); height: var(--logo-h, 32px); flex: none; vertical-align: middle; }
.logo-mark, .logo-word { display: block; height: 100%; background: center / contain no-repeat; }
.logo-mark { aspect-ratio: 261 / 198; background-image: url("/static/brand/mark.svg"); }
.logo-word { aspect-ratio: 625 / 198; background-image: url("/static/brand/word-dark.svg"); }
:root[data-theme="light"] .logo-word { background-image: url("/static/brand/word-light.svg"); }
/* Windows high-contrast mode drops background images: fall back to the name in text. */
@media (forced-colors: active) {
  .logo-mark, .logo-word { display: none; }
  .logo::after { content: "Notalic"; font-weight: 700; font-size: calc(var(--logo-h, 32px) * .6); }
}
