/* ============================================================
   RESET — normalizes browser defaults across all platforms
   ============================================================ */

*,
*::before,
*::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  height:100%;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  -webkit-tap-highlight-color:transparent;
}

body{
  min-height:100%;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  overscroll-behavior:none;
}

/* Strip ALL browser button defaults — this is the key fix */
button,
input,
select,
textarea{
  font:inherit;
  color:inherit;
  background:none;
  border:0;
  outline:none;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
}

button{
  cursor:pointer;
  text-align:inherit;
  touch-action:manipulation;
}

ul,
ol{list-style:none}

img,
svg,
video,
canvas{
  display:block;
  max-width:100%;
  height:auto;
}

a{
  color:inherit;
  text-decoration:none;
}

hr{
  border:0;
  height:1px;
}