/*
 * typography.css — Upstage type scale (Product + Marketing + Website).
 * Sources: DESIGN.product.md §5, DESIGN.marketing.md §5, DESIGN.website.md §5.
 */

:root {
  /* Product type scale (px) */
  --text-h4: 24px;   /* Heading/H4-400 — dialog titles, FAQ */
  --text-h5: 20px;   /* Heading/H5-500 — accordion header, card title */
  --text-b1: 18px;   /* Body/B1 — tabs, body emphasis */
  --text-b2: 16px;   /* Body/B2 — button label, banner text */
  --text-c1: 14px;   /* caption/C1 — select value, input */

  /* Website additions */
  --text-hero-web: 64px;    /* heading-style-h2, ESPeak 600 */
  --text-section-web: 32px; /* heading-style-h3, Geist 500 */

  /* Marketing fluid scale (clamp endpoints in tokens/marketing.css) */
}

/* ========== TYPOGRAPHY UTILITY CLASSES (canonical — prefer over ad-hoc) ========== */
.h1 { font-family: var(--font-sans); font-size: 36px; font-weight: 700; line-height: var(--leading-headline); letter-spacing: var(--tracking-headline); }
.h2 { font-family: var(--font-sans); font-size: 30px; font-weight: 600; line-height: var(--leading-headline); letter-spacing: var(--tracking-title); }
.h3 { font-family: var(--font-sans); font-size: 24px; font-weight: 600; line-height: var(--leading-title); letter-spacing: var(--tracking-title); }
.h4 { font-family: var(--font-sans); font-size: 20px; font-weight: 500; line-height: var(--leading-title); letter-spacing: var(--tracking-title); }
.large { font-size: 18px; font-weight: 600; line-height: var(--leading-body); }
.lead { font-size: 20px; font-weight: 400; line-height: var(--leading-body); }
.p { font-size: 16px; font-weight: 400; line-height: var(--leading-body); }
.p-ui { font-size: 16px; font-weight: 400; line-height: var(--leading-body); }
.p-ui-medium { font-size: 16px; font-weight: 500; line-height: var(--leading-body); }
.body { font-size: 18px; font-weight: 400; line-height: var(--leading-body); }
.body-medium { font-size: 18px; font-weight: 500; line-height: var(--leading-body); }
.subtle { font-size: 14px; font-weight: 400; line-height: var(--leading-caption); }
.subtle-medium { font-size: 14px; font-weight: 500; line-height: var(--leading-caption); }
.subtle-semibold { font-size: 14px; font-weight: 600; line-height: var(--leading-caption); }
.small { font-size: 14px; font-weight: 500; line-height: 1; }
.detail { font-size: 12px; font-weight: 500; line-height: var(--leading-caption); }
.blockquote { padding-left: var(--space-4); font-style: italic; }
.inline-code { font-family: var(--font-mono); font-size: 14px; padding: 2px 5px; border-radius: 4px; }
.table-head { font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.table-item { font-size: 14px; font-weight: 400; }

/* Eyebrow — 본문 폰트, uppercase, +0.10em.
   2026-08-21 이전에는 여기서 var(--font-mono)를 걸고 있었다. 그게 라이브로 번져
   eyebrow·kicker·날짜·라벨·배지까지 mono가 되었다(실측 21건). mono는 "이건 코드다"라는
   신호이고 Geist Mono는 한글 글리프도 없다. 구분은 크기·굵기·자간으로 만든다. ALL-5 참조. */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; }
