*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 2px;
}
img { max-width: 100%; display: block; }
input { font: inherit; }
a { color: inherit; }

/* Author rules below set `display: flex` on .screen/.modal/.overlay
   unconditionally (for their visible state); without this, the browser's
   default [hidden]{display:none} UA rule loses the cascade to those
   same-specificity author rules and a "hidden" element stays visible. */
[hidden] { display: none !important; }
