/* ================================
   Reset CSS (Production Safe)
================================ */

/* 1. Box model 통일 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. 기본 마진/패딩 제거 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* 3. HTML5 display */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/* 4. Body 기본값 */
body {
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
  font-weight: 500;
}

/* 5. 리스트 스타일 제거 */
ol,
ul {
  list-style: none;
}

/* 6. 링크 초기화 */
a {
  color: inherit;
  text-decoration: none;
}

/* 7. 이미지, 비디오 안전 */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 8. 버튼, 인풋 초기화 */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

/* 9. 버튼 클릭 커서 */
button {
  padding: 0;
  cursor: pointer;
}

/* 10. 테이블 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 11. Strong / Em */
strong {
  font-weight: 600;
}

em {
  font-style: normal;
}

/* 12. Hidden */
[hidden] {
  display: none !important;
}

/* 13. Focus outline (접근성용, 필요 없으면 제거 가능) */
:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}
