/* Base commune aux templates de démonstration Praxis */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  padding: .75rem 1rem; border-radius: 8px; background: #111; color: #fff; text-decoration: none; font: 600 1rem/1 system-ui, sans-serif;
}
.skip:focus { top: 1rem; }

.demo-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem;
  padding: .6rem 1rem; background: #101418; color: #fff;
  font: 500 .8125rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; text-align: center;
}
.demo-bar a { color: #fff; text-underline-offset: 3px; }
.in-frame .demo-bar { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
