/* Reset CSS - 최신 브라우저와 한국어 웹 환경에 최적화 */

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,
nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* box-sizing을 전역으로 지정 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 리스트 스타일 제거 */
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;
}

/* a태그 기본 스타일 초기화 및 상속 */
a {
    color: inherit;
    text-decoration: none;
    background: transparent;
}

/* 버튼/입력요소 Reset */
button, input, select, textarea {
    font: inherit; /* 폰트 상속 */
    background: none;
    color: inherit;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
}

textarea {
    resize: none;
}

/* 기본 폰트 지정 (한국어 웹 최적화) */
body {
    line-height: 1;
    font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', 'Nanum Gothic', '나눔고딕', '돋움', Dotum, sans-serif;
    background: var(--color-surface);
    color: var(--color-text);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}