/*
 * Study2Play 공통 글꼴 (W4-G1, docs/45 §3.1 D-02, docs/36 §1.1 Typography).
 * Pretendard v1.3.9 variable woff2 를 같은 출처에서 제공한다(CSP font-src 'self').
 * 출처: github.com/orioncactus/pretendard release v1.3.9 Pretendard-1.3.9.zip
 *       web/variable/woff2/PretendardVariable.woff2
 *       sha256 9599f12fd42fc0bce1cd50b47a0c022e108d7aa64dd0d1bb0ed44f3282d900b4
 * 라이선스: SIL Open Font License 1.1 (fonts/LICENSE-Pretendard.txt).
 * 영문 제목 폰트(Outfit)는 쓰지 않는다. 제목도 Pretendard 700.
 */

@font-face {
  font-family: 'Pretendard Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/PretendardVariable.woff2') format('woff2-variations'),
       url('./fonts/PretendardVariable.woff2') format('woff2');
}

/* 기존 앱 인라인 스타일이 font-family: 'Pretendard' 를 요청하므로 같은 파일을 그 이름으로도 연결한다(파일은 한 번만 내려받는다). */
@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/PretendardVariable.woff2') format('woff2-variations'),
       url('./fonts/PretendardVariable.woff2') format('woff2');
}

:root {
  --s2p-font-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
  --s2p-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;
}
