/* reset.css — minimal, modern reset */

/* Use border-box for predictable sizing */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  line-height: 1.15;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Remove default spacing */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
figure,
dl,
dd,
menu,
ol,
ul {
  margin: 0;
}

/* Remove default list styles where not needed */
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Make media elements responsive */
img,
svg,
video,
canvas,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Forms: inherit font and basic reset */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  line-height: inherit;
  margin: 0;
  color: inherit;
  border: 0;
  padding: 0;
  background: none;
}

/* Remove inner button focus in Firefox */
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

/* Preserve useful defaults for accessibility */
:focus {
  outline-offset: 2px;
}

/* Hidden attribute */
[hidden] {
  display: none !important;
}

/* Utility defaults */
kbd,
samp,
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono",
    "Noto Mono", monospace;
  font-size: 0.95em;
}

/* Prevent tap highlight on mobile */
a,
button {
  -webkit-tap-highlight-color: transparent;
}
