/* ==========================================================================
   Glass, restrained (docs/DESIGN_SYSTEM.md 3.5). backdrop-filter blur exists ONLY on things that float:
   the marketing navbar, popovers and dropdowns, modals and drawers, the command palette, toasts and the hero's product cards.
   Content cards are solid, lifted by tone and shadow and never outlined. Where backdrop-filter isn't supported the surface is solid, so nothing depends on it.
   ========================================================================== */
.ua-glass {
  background: var(--glass-solid); box-shadow: var(--sh-md); border-radius: var(--r-3);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .ua-glass, .modal-content, .ua-palette, .ua-toast, .ua-modal {  /* dropdown menus stay solid: text behind them must never show through */
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%); backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  }
}
