/* RestioX marketing site: small accessibility and polish rules (Stage 8, audit WEB-21).
   assets/redesign/rx.css and pages/*.css are a built set (sha256 in build.json) and are not edited: the few rules that
   need changing live here, loaded after them by partials/rx/layout/header.php. */

/* --- Footer link targets: at least 24 px tall (28 px, 32 px on phones) ---------------------------------------------
   The links were 20 px lines (16 px of text height measured on phones) in a 10 px gap. Same rhythm, taller targets. */
.rx-footer__links { gap: 2px; }
.rx-footer__links a,
.rx-footer__touch a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.rx-footer__touch a { align-self: flex-start; }
.rx-footer__bottom a,
.rx-newsletter__consent a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.rx-newsletter__consent { line-height: 1.6 !important; }
@media (max-width: 767px) {
  .rx-footer__links a,
  .rx-footer__touch a { min-height: 32px; }
}

/* --- Home page: text inside the product mock-ups is never under 12 px (WEB-21) --------------------------------------
   The pills drew 9 px, the floating labels 10 px and the mock-up address bar 11 px (84 text elements under 12 px on the
   home page). The pill keeps its look, in 12 px with the capitals relaxed so three of them still fit a mock-up's footer.
   The mini mock-ups that are hidden from assistive technology (aria-hidden) are decorative; they follow the same rule. */
.page-home .rx-pill { font-size: 12px; letter-spacing: .02em; padding: 2px 8px; }
.page-home .rx-float__label { font-size: 12px; line-height: 16px; }
.page-home .rx-mockup__url { font-size: 12px; }
.page-home .rx-home-stock__foot { flex-wrap: wrap; gap: 6px; }
.page-home .rx-home-bill table th {
  padding: 4px 4px 5px;
  font-weight: 500;
  font-size: 12px;
  text-align: start;
  color: var(--rx-ink-400);
}
.page-home .rx-home-bill table th.rx-num { text-align: end; }

/* --- Closing call to action: the line under the buttons on the violet band --------------------------------------- */
.rx-cta .rx-cta__micro { margin: 18px 0 0; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .88); }

/* --- Home page on phones: cards that only need their content's height (WEB-24) --------------------------------------
   The channel cards kept a 300 px minimum and the 3D-icon AI cards a 230 px picture area for a 112 px icon: about 1,700 px
   of empty card on a phone. */
@media (max-width: 767px) {
  .page-home .rx-home-ch { min-height: 0; }
  .page-home .rx-bento__visual:has(.rx-icon3d) { height: 160px; }
}
