@font-face {
  font-family: 'Maru Buri';
  src: url('/ko/fonts/maru.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'SUIT';
  src: url('/ko/fonts/suit.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

html[lang='ko'] {
  --ko-display: 'Maru Buri', 'Noto Serif KR', serif;
  --ko-text: 'SUIT', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-korean: var(--ko-text);
  --font-reading: var(--ko-text);
  font-family: var(--ko-text);
}

html[lang='ko'] body { font-family: var(--ko-text); word-break: keep-all; overflow-wrap: break-word; }
html[lang='ko'] main :is(h1, h2) {
  font-family: var(--ko-display) !important;
  font-weight: 700;
  line-height: 1.21;
  letter-spacing: -.04em;
}

html[lang='ko'] main :is(h1, h2) :is(em, strong) { font-family: inherit; font-size: 1em; font-style: normal; font-weight: inherit; }
html[lang='ko'] main h3 { font-family: var(--ko-text); font-weight: 720; letter-spacing: -.03em; }
html[lang='ko'] :is(button, input, select, textarea) { font-family: var(--ko-text); }
