/*
    Modern CSS Reset
    This is a basic reset that ensures cross-browser consistency
    by removing default margins, padding, and box-sizing.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base body styles */
body {
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Inherit fonts for form and button elements */
input, button, textarea, select {
  font: inherit;
}

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

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

/* Reset heading and text element styles */
h1, h2, h3, h4, h5, h6, p, blockquote {
    text-wrap: balance;
}

/* Prevent text overflow */
p {
  overflow-wrap: break-word;
}