/*
 * FONT SET: legend  (SPEC §3.3)
 * 출신: _inbox/legend/tokens.css  (--font-knapp / --font-diatypemono)
 *      + _inbox/legend/README.md "Type" + fonts/README.md substitute notes
 *
 * 키트 의도:
 *   - knapp (sans): headings + body + UI — weights 400, 500. 키트는 600/700/800 안 씀.
 *   - diatypeMono (monospace): eyebrows · captions · labels · technical chrome — 400 only.
 *   - Letter spacing 고정: -0.01em (knapp), 0.06em (diatypeMono).
 *   - 둘 다 상용/사내 폰트 — fonts/README.md substitute 명시:
 *       knapp        → Inter      (Google Fonts) — 가장 가까운 geometric sans
 *       diatypeMono  → Space Mono (Google Fonts) — diatype 톤 가장 근접한 mono
 *   - 한국어 사이트 호환: Pretendard 폴백 (한글 body 우선).
 *
 * 로딩:
 *   tokens.css 안 @import url(폰트) 없음 (키트가 host-loaded 가정).
 *   preconnect + stylesheet_links 는 registry/fontsets/legend.json 책임.
 *   이 .css 는 변수 선언만.
 *
 * ko_layered: true
 *   한국어 본문 = Pretendard 가 깔리고, 디스플레이는 Inter (영문 hero/숫자) 가 얹힘.
 *   영문 사이트에선 Pretendard 가 영문 미정의라 Inter 가 그대로 우선.
 *
 * weight 매핑:
 *   knapp 400 → fw-regular 400
 *   knapp 500 → fw-medium  500
 *   semibold/bold 는 키트 미사용이지만 substitute 폰트 표준 weight 로 보강.
 */

:root {
  /* knapp substitute = Inter, 한글 본문 Pretendard 우선 */
  --f-display: 'Inter', 'Pretendard', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-body:    'Pretendard', 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* diatypeMono substitute = Space Mono */
  --f-mono:    'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --f-serif:   Georgia, 'Times New Roman', serif;

  /* 키트는 knapp 400/500 + diatypeMono 400 만 정의.
     semibold/bold 는 substitute 폰트 표준 weight 로 보강 (Legend 부품은 사실상 500 까지만 씀). */
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
}
