/* reset.css — Canada HiTech engineering standard §2. Load FIRST. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
/* The universal margin reset above also strips the browser's margin:auto that centres a modal <dialog> (UX audit G12). */
dialog { margin: auto; }
body {
  min-block-size: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;   /* clip: the viewport can never be scrolled sideways, not even by a focus or a script (hidden still allows programmatic scroll) */
}
img, picture, video, canvas, svg { display: block; max-inline-size: 100%; }
ul[class], ol[class] { list-style: none; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; }
p { overflow-wrap: break-word; }
button { background: none; border: none; padding: 0; cursor: pointer; font: inherit; color: inherit; }
/* EtqanShop lesson — Wave A: form elements do not inherit font-family. */
input, select, textarea, optgroup { font: inherit; color: inherit; }
/* EtqanShop lesson — Wave A: WebKit/Blink search decorations. */
input[type="search"] { -webkit-appearance: none; appearance: none; }
/* EtqanShop lesson — Wave A: <address> is italic by default. */
address { font-style: normal; }
/* EtqanShop lesson — Wave B: [hidden] is an HTML contract. */
[hidden] { display: none !important; }
/* EtqanShop lesson — Wave D: legend box model. */
legend { display: table; max-inline-size: 100%; padding: 0; white-space: normal; }
fieldset { border: none; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }
textarea { resize: vertical; }
:focus:not(:focus-visible) { outline: none; }
hr { border: none; border-block-start: 1px solid var(--color-border); margin-block: var(--space-lg); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
