/* polish.css — shared "feel" rules for every page. Design pass, 22 Sep 2026.
   Loaded LAST in each page's <head> so it applies everywhere.
   Rollback point: git tag before-design-pass-2026-09-22.

   1. PRESS. Buttons shrink to 97% while a finger or mouse is down, so a tap
      feels answered. Uses the `scale` property (not `transform`), so it stacks
      on top of any transform a button already has instead of replacing it.
   2. FOCUS. When a page moves focus to a heading for screen readers
      (tabindex="-1"), no outline is drawn. Real controls keep their outlines.
   3. REDUCED MOTION. Visitors who ask their phone for less motion get no press
      shrink. */

:where(button, .btn, .cta, [role="button"], input[type="submit"], input[type="button"]) {
  -webkit-tap-highlight-color: transparent;
}
:where(button, .btn, .cta, [role="button"], input[type="submit"], input[type="button"]):not(:disabled):active {
  scale: .97;
}
[tabindex="-1"]:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  :where(button, .btn, .cta, [role="button"], input[type="submit"], input[type="button"]):active { scale: none; }
}
