/*
  Jot Wheel — CSS Reset
  Purpose:
  - Normalize browser defaults
  - Create predictable layout behavior
  - Avoid fighting UA styles later
*/

/* Box sizing reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
}

/* Set core body defaults */
html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Remove button defaults */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
}

/* Remove link underline */
a {
  text-decoration: none;
  color: inherit;
}

/* Prevent text overflow */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

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

/* Root stacking context */
#root,
#__next {
  isolation: isolate;
}
