/* Type — Pretendard, exactly as the source Figma file specifies ("Pretendard JP").
   Self-hosted from assets/fonts/ (files supplied by the user).
   PretendardVariable.ttf covers 45–920; the static .otf faces are the fallback. */

@font-face {
  font-family: 'Pretendard';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/PretendardVariable.ttf') format('truetype-variations'),
       url('../assets/fonts/PretendardVariable.ttf') format('truetype');
}
@font-face { font-family: 'Pretendard Static'; font-weight: 100; font-style: normal; font-display: swap; src: url('../assets/fonts/Pretendard-Thin.otf') format('opentype'); }
@font-face { font-family: 'Pretendard Static'; font-weight: 200; font-style: normal; font-display: swap; src: url('../assets/fonts/Pretendard-ExtraLight.otf') format('opentype'); }
@font-face { font-family: 'Pretendard Static'; font-weight: 300; font-style: normal; font-display: swap; src: url('../assets/fonts/Pretendard-Light.otf') format('opentype'); }
@font-face { font-family: 'Pretendard Static'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/Pretendard-Regular.otf') format('opentype'); }
@font-face { font-family: 'Pretendard Static'; font-weight: 500; font-style: normal; font-display: swap; src: url('../assets/fonts/Pretendard-Medium.otf') format('opentype'); }
@font-face { font-family: 'Pretendard Static'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/Pretendard-SemiBold.otf') format('opentype'); }
@font-face { font-family: 'Pretendard Static'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/Pretendard-Bold.otf') format('opentype'); }
@font-face { font-family: 'Pretendard Static'; font-weight: 800; font-style: normal; font-display: swap; src: url('../assets/fonts/Pretendard-ExtraBold.otf') format('opentype'); }
@font-face { font-family: 'Pretendard Static'; font-weight: 900; font-style: normal; font-display: swap; src: url('../assets/fonts/Pretendard-Black.otf') format('opentype'); }

:root {
  --font-core: 'Pretendard', 'Pretendard Static', 'Pretendard JP', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Size / line-height / tracking triplets transcribed from the source file.
     Optical tracking tightens as size grows and opens as it shrinks. */
  --display1-size: 56px;
  --display1-line: 1.2; /* @kind other */
  --display1-tracking: -0.032em; /* @kind other */
  --title1-size: 36px;
  --title1-line: 1.334; /* @kind other */
  --title1-tracking: -0.027em; /* @kind other */
  --title2-size: 28px;
  --title2-line: 1.286; /* @kind other */
  --title2-tracking: -0.023em; /* @kind other */
  --title3-size: 24px;
  --title3-line: 1.334; /* @kind other */
  --title3-tracking: -0.023em; /* @kind other */
  --heading1-size: 21px;
  --heading1-line: 1.334; /* @kind other */
  --heading1-tracking: -0.019em; /* @kind other */
  --heading2-size: 20px;
  --heading2-line: 1.4; /* @kind other */
  --heading2-tracking: -0.012em; /* @kind other */
  --headline1-size: 17px;
  --headline1-line: 1.412; /* @kind other */
  --headline1-tracking: 0em; /* @kind other */
  --body1-size: 16px;
  --body1-line: 1.5; /* @kind other */
  --body1-tracking: 0.006em; /* @kind other */
  --body2-size: 15px;
  --body2-line: 1.467; /* @kind other */
  --body2-tracking: 0.010em; /* @kind other */
  --label1-size: 14px;
  --label1-line: 1.429; /* @kind other */
  --label1-tracking: 0.0145em; /* @kind other */
  --label2-size: 13px;
  --label2-line: 1.385; /* @kind other */
  --label2-tracking: 0.019em; /* @kind other */
  --caption1-size: 12px;
  --caption1-line: 1.334; /* @kind other */
  --caption1-tracking: 0.0252em; /* @kind other */
  --caption2-size: 11px;
  --caption2-line: 1.273; /* @kind other */
  --caption2-tracking: 0.0311em; /* @kind other */

  /* Spacing — the source's 4pt base with the exact steps its frames use */
  --space-1: 4px;
   --space-2: 6px;  --space-3: 8px;  --space-4: 10px;
  --space-5: 12px;
  --space-6: 16px; --space-7: 20px; --space-8: 24px;
  --space-9: 32px;
  --space-10: 40px; --space-11: 48px; --space-12: 64px;
}

.ef-display1 { font: var(--weight-bold) var(--display1-size)/var(--display1-line) var(--font-core); letter-spacing: var(--display1-tracking); }
.ef-title1 { font: var(--weight-bold) var(--title1-size)/var(--title1-line) var(--font-core); letter-spacing: var(--title1-tracking); }
.ef-title2 { font: var(--weight-bold) var(--title2-size)/var(--title2-line) var(--font-core); letter-spacing: var(--title2-tracking); }
.ef-title3 { font: var(--weight-bold) var(--title3-size)/var(--title3-line) var(--font-core); letter-spacing: var(--title3-tracking); }
.ef-heading1 { font: var(--weight-semibold) var(--heading1-size)/var(--heading1-line) var(--font-core); letter-spacing: var(--heading1-tracking); }
.ef-heading2 { font: var(--weight-semibold) var(--heading2-size)/var(--heading2-line) var(--font-core); letter-spacing: var(--heading2-tracking); }
.ef-headline1 { font: var(--weight-semibold) var(--headline1-size)/var(--headline1-line) var(--font-core); letter-spacing: var(--headline1-tracking); }
.ef-body1 { font: var(--weight-medium) var(--body1-size)/var(--body1-line) var(--font-core); letter-spacing: var(--body1-tracking); }
.ef-body2 { font: var(--weight-medium) var(--body2-size)/var(--body2-line) var(--font-core); letter-spacing: var(--body2-tracking); }
.ef-label1 { font: var(--weight-semibold) var(--label1-size)/var(--label1-line) var(--font-core); letter-spacing: var(--label1-tracking); }
.ef-label2 { font: var(--weight-semibold) var(--label2-size)/var(--label2-line) var(--font-core); letter-spacing: var(--label2-tracking); }
.ef-caption1 { font: var(--weight-medium) var(--caption1-size)/var(--caption1-line) var(--font-core); letter-spacing: var(--caption1-tracking); }
.ef-caption2 { font: var(--weight-semibold) var(--caption2-size)/var(--caption2-line) var(--font-core); letter-spacing: var(--caption2-tracking); }

/* Pretendard is the document default — pages that link styles.css inherit it. */
html { font-family: var(--font-core); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body, button, input, select, textarea, optgroup { font-family: inherit; }
