/* ELB — Typography tokens
 * Primary face: Malgun Gothic (맑은 고딕) — the corporate Korean/Latin sans.
 * Webfont fallback: Noto Sans KR (loaded in fonts.css) ensures consistent
 * rendering on machines without Malgun Gothic. See readme.md "VISUAL FOUNDATIONS".
 */
:root {
  /* ---- Families ---- */
  --font-sans: "Malgun Gothic", "맑은 고딕", "Noto Sans KR", "Apple SD Gothic Neo",
               "Pretendard", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", ui-monospace, "SFMono-Regular",
               "Roboto Mono", monospace;

  /* ---- Weights (Malgun Gothic ships Regular + Bold; Noto adds 500/700) ---- */
  --fw-regular: 400;  /* @kind other */
  --fw-medium:  500;  /* @kind other */
  --fw-semibold:600;  /* @kind other */
  --fw-bold:    700;  /* @kind other */

  /* ---- Type scale (1.250 major-third, 16px base) ---- */
  --fs-display: 56px;
  --fs-h1: 40px;
  --fs-h2: 31px;
  --fs-h3: 25px;
  --fs-h4: 20px;
  --fs-body-lg: 18px;
  --fs-body: 16px;
  --fs-body-sm: 14px;
  --fs-caption: 13px;
  --fs-micro: 11px;

  /* ---- Line heights ---- */
  --lh-tight: 1.12;   /* @kind other */
  --lh-snug: 1.28;    /* @kind other */
  --lh-normal: 1.5;   /* @kind other */
  --lh-relaxed: 1.65; /* @kind other */

  /* ---- Letter spacing ---- */
  --ls-tight: -0.02em;  /* @kind other */
  --ls-snug: -0.01em;   /* @kind other */
  --ls-normal: 0;       /* @kind other */
  --ls-wide: 0.04em;    /* @kind other */
  --ls-eyebrow: 0.14em; /* @kind other */ /* uppercase tagline / eyebrow */

  /* ---- Semantic roles ---- */
  --type-display-weight: var(--fw-bold);    /* @kind other */
  --type-heading-weight: var(--fw-bold);    /* @kind other */
  --type-body-weight: var(--fw-regular);    /* @kind other */
  --type-eyebrow-weight: var(--fw-semibold);/* @kind other */
}
