/* Use the transparent mark in both themes, including the dashboard sidebar. */
html[data-theme] body :is(.flowSideBrand .brand, header .brand, footer .brand) img[src="/brand-assets/kydaro-chrome-k.webp"],
html body img:is(.brand-glyph,.brand-mark)[src="/brand-assets/kydaro-chrome-k.webp"] {
 content:normal!important;
 background:transparent!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 filter:none!important;
 object-fit:contain!important;
 padding:0!important;
}

/* Use a common foreground for light-mode typography. */
html[data-theme=light] {
 --light-text: #141a17;
 --ink: var(--light-text);
 --text: var(--light-text);
 --muted: var(--light-text);
}

/* Cover the full public homepage, including the dashboard preview and footer. */
html[data-theme=light] body.homepage-neutral
 :is(h1,h2,h3,h4,h5,h6,p,small,label,summary,a,button,li,em,strong,b,span,time,figcaption):not(:where(svg *, .about-photo-caption *)) {
 color: #000 !important;
}

html[data-theme=light] body.homepage-neutral .about-section .about-photo-caption :is(strong,span) {
 color: white !important;
}

@media (any-hover: hover) {
  html[data-motion="full"] :is(header, .flowSideBrand) .brand > :is(.brand-glyph, .brand-mark) {
    transition: scale .2s ease-out;
  }
  html[data-motion="full"] :is(header, .flowSideBrand) .brand:is(:hover, :focus-visible) > :is(.brand-glyph, .brand-mark) {
    scale: 1.1;
  }
}
