/* =============================================================================
   UMED 공용 웹폰트 — 자체 호스팅

   예전에는 세 앱이 각자 Google Fonts CDN 을 불렀다. 두 가지 문제가 있었다.
     · 페이지를 열 때마다 방문자 IP 가 Google 로 나간다
     · 교내망·키오스크처럼 외부망이 막힌 디바이스에서는 폰트가 아예 안 온다
   그래서 파일을 받아 _content/Umed.Core/fonts 에 두고 동일 출처로 서빙한다.
   CSP 의 font-src 'self' 로 충분해지는 것도 덤이다.

   네 폰트 모두 가변(variable) 폰트다. 굵기별 파일을 따로 두지 않고 파일 하나가
   선언된 범위 전체를 커버한다 — 그래서 8개(4종 x latin/latin-ext)로 끝난다.

   unicode-range 는 Google Fonts 가 쓰던 값 그대로다. 한글은 이 폰트들에
   글리프가 없어 어차피 폴백(Pretendard -> 맑은 고딕 -> system-ui)으로 렌더된다.

   ── 라이선스 ──
   네 폰트 모두 SIL Open Font License 1.1 이며 전문은 fonts/OFL.txt 에 있다.
   OFL 은 재배포·임베딩을 허용하되 저작권 고지를 함께 배포할 것을 요구한다.

     Inter             Copyright 2020 The Inter Project Authors
                       https://github.com/rsms/inter
     JetBrains Mono    Copyright 2020 The JetBrains Mono Project Authors
                       https://github.com/JetBrains/JetBrainsMono
     Plus Jakarta Sans Copyright 2020 The Plus Jakarta Sans Project Authors
                       https://github.com/tokotype/PlusJakartaSans
     Fira Code         Copyright 2014-2020 The Fira Code Project Authors
                       https://github.com/tonsky/FiraCode

   파일을 수정하지 않았으므로 Reserved Font Name 제약에는 걸리지 않는다.
   폰트를 교체·추가할 때는 fonts/OFL.txt 의 고지도 함께 갱신할 것.
   ========================================================================== */

/* ── Inter (본문) ── */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── JetBrains Mono (docent 고정폭) ── */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/jetbrainsmono-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/jetbrainsmono-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Plus Jakarta Sans (제목) ── */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('fonts/plusjakartasans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('fonts/plusjakartasans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Fira Code (ipam 고정폭) ── */
@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('fonts/firacode-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('fonts/firacode-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
