/* ==========================================================================
   BeCozU — Reset & Typography Setup
   Inspired by Apple Pro Product Design
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  line-height: 1.5;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: clip;
  position: relative;
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* Keyboard focus must stay visible. Mouse/touch focus stays quiet. */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

p, li {
  word-break: keep-all;
  overflow-wrap: break-word;
}
