/*
 * SocraClass 공통 스타일 진입점
 * - 모든 화면은 이 파일 한 줄만 연결한다: <link rel="stylesheet" href="./socra-base.css">
 * - 스타일 기준(글꼴 등)은 여기 한 곳에서만 정한다. 화면(HTML)·다른 CSS·JS에는 직접 적지 않는다.
 *   tools/test-socra-style-contract.js가 배포 폴더 전체를 검사한다. 설명: docs/style-system/README.md
 * - 구성: 1) 글꼴 파일  2) 기준 값(변수)  3) 기본 요소
 *   기준을 넓힐 때(색, 글자 크기, 컨트롤 높이 등)는 2)에 변수를 더하고 3)이나 부품 CSS에서 그 변수만 쓴다.
 */

/* 1) 글꼴 파일: Pretendard (SIL OFL 1.1, ./fonts/pretendard/LICENSE.txt). 화면에 나오는 글자 묶음만 내려받는 분할 방식 */
@import url('./fonts/pretendard/pretendardvariable-dynamic-subset.css');

/* 2) 기준 값 */
:root {
    --socra-font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

/* 3) 기본 요소 */
body {
    font-family: var(--socra-font);
}

/* 버튼·입력·선택·글상자는 브라우저 기본 글꼴(Arial, monospace) 대신 본문 글꼴을 물려받는다. */
button, input, select, textarea {
    font-family: inherit;
}
