/* =====================================================================
   서체 — 이 파일 한 곳에서만 @font-face 를 선언한다 (서체 연결 규약)
   나머지 CSS·JS 는 아래 --font-* 변수(추상 패밀리명 + 시스템 폴백)만 쓴다.

   추상 패밀리명 → 실제 서체 (2026-09-22 연결, 전부 SIL OFL 1.1 — docs/서체_라이선스_목록.md)
     UI-Sans      UI 고딕 (버튼·안내)      = Pretendard Variable (100~900 한 파일)
     UI-Serif     세종 대사·제목 (바탕)     = Gowun Batang 400/700
     UI-Serif-Ext 한자·옛한글 보충          = Noto Serif KR 서브셋 (訓民正音, ㅿ ㆆ ㆁ 등)
   파일: assets/fonts/ (원본·라이선스 원문은 _shared/fonts/). 라이선스 사본 동봉(OFL 요구).
   ⚠ 저작권: OFL 등 상업·웹 임베딩 허용 서체만. PC 설치용 라이선스 서체를 웹폰트로 쓰지 않는다 (워드캣 9/17 요청)
   ===================================================================== */

@font-face {
  font-family: "UI-Sans";
  src: url("../assets/fonts/UI-Sans-Variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "UI-Serif";
  src: url("../assets/fonts/UI-Serif-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: block;
}
@font-face {
  font-family: "UI-Serif";
  src: url("../assets/fonts/UI-Serif-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: block;
}
@font-face {
  font-family: "UI-Serif-Ext";
  src: url("../assets/fonts/UI-Serif-Ext.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: block;
}

:root {
  --font-ui: "UI-Sans", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  --font-serif: "UI-Serif", "UI-Serif-Ext", "Batang", "바탕", "Noto Serif KR", "Malgun Gothic", serif;
}
