/* ===================================
   Reset CSS
   - Eric Meyer's Reset CSS v2.0 기반
   - Counpia SNACK 디자인 시스템에 맞춰 보정
   =================================== */

/* box-sizing 전역 적용 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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, 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;
  font-size: 100%;
  vertical-align: baseline;
}

/* font: inherit 를 전역으로 걸지 않음
   → <strong>, <b>, <em> 등의 기본 font-weight/font-style 유지
   → 폼 요소는 별도로 font-family 상속 처리 */

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 이미지 & SVG 기본 설정 */
img, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/* 링크 기본 스타일 초기화 */
a {
  color: inherit;
  text-decoration: none;
}

/* 버튼 기본 스타일 초기화 */
button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  letter-spacing: inherit;
}

/* 폼 요소 스타일 초기화 */
input, textarea, select {
  font-family: inherit;
  letter-spacing: inherit;
  border: none;
  outline: none;
}

button, a, input, select, textarea {
  font-family: inherit;
  letter-spacing: inherit;
}