/* ═══════════════════════════════════════════════════════════
   RESET
   Strips browser defaults so every browser starts from the
   same baseline. This is intentionally minimal — only reset
   things that actually cause cross-browser inconsistency.
   ═══════════════════════════════════════════════════════════ */

/* Remove all default margin and padding */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent font-size inflation on mobile (Safari/iOS) */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Smooth baseline for the body */
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Images and video behave like block elements, scale down to fit */
img,
video,
svg,
canvas {
  display: block;
  max-width: 100%;
}

/* Inherit fonts on form elements (browsers default to system font) */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove list bullets — we'll add them back explicitly if needed */
ul,
ol {
  list-style: none;
}

/* Links inherit color by default — we'll style them in base.css */
a {
  color: inherit;
  text-decoration: none;
}

/* Remove button browser styling */
button {
  background: none;
  border: none;
  cursor: pointer;
}

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