@charset "utf-8";
/* ============================================================================
   fonts.css: Pretendard 셀프호스팅 (ADR D-77)
   ============================================================================
   ★ 이 파일은 `theme/inerp/fonts/Pretendard-Regular.subset.woff2` 가 **실제로 존재할 때만**
     head.sub.php 가 로드한다(`is_file()` 검사). 그래서 폰트 파일이 없는 상태에서
     404 3건이 매 페이지마다 발생하는 일이 없다.

   ── 외부 CDN 금지 (사내망 · CSP). 파일을 서버에 두고 @font-face 로만 로드한다.
   ── 웨이트 3종(400/600/700)만 쓴다. 500·800 은 다운로드 비용 대비 위계 이득이 없다.
   ── `-dynamic-subset`(파일 수백 개) 버전은 쓰지 않는다. 배포가 단방향 파일 동기화라
      파일 수가 폭증하면 배포 시간과 실패 지점이 늘어난다. **정적 서브셋 3파일**이 답이다.

   ── 넣는 방법
      1) Pretendard 정적 서브셋 woff2 3개를 아래 이름으로 `theme/inerp/fonts/` 에 둔다
           Pretendard-Regular.subset.woff2
           Pretendard-SemiBold.subset.woff2
           Pretendard-Bold.subset.woff2
      2) 배포 후 새로고침. head.sub.php 가 파일 존재를 감지해 자동으로 이 파일을 싣는다.
      3) 없으면 tokens.css 의 시스템 폴백 스택(맑은 고딕 → Noto Sans KR)으로 동작한다.
         단 맑은 고딕은 숫자 자폭이 불균일해 **금액 열이 흔들린다**(08 §3.1). 임시 상태다.
   ============================================================================ */

@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Pretendard-Regular.subset.woff2?v=1") format("woff2");
}
@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Pretendard-SemiBold.subset.woff2?v=1") format("woff2");
}
@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Pretendard-Bold.subset.woff2?v=1") format("woff2");
}
