/* =====================================================================
   Base / Reset / Typography
   ===================================================================== */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--lh-body);
  letter-spacing: var(--tracking);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  outline: none;
}

img, svg { display: block; max-width: 100%; }

/* Typography utilities: 화면별 임의 px 사용을 줄이기 위한 공통 팔레트 */
.fdm-type-caption { font-size: var(--fs-xs); line-height: var(--lh-body); letter-spacing: var(--tracking); }
.fdm-type-meta { font-size: var(--fs-sm); line-height: var(--lh-body); letter-spacing: var(--tracking); }
.fdm-type-body-sm { font-size: var(--fs-md); line-height: var(--lh-body); letter-spacing: var(--tracking); }
.fdm-type-body { font-size: var(--fs-base); line-height: var(--lh-body); letter-spacing: var(--tracking); }
.fdm-type-nav { font-size: var(--fs-base); line-height: var(--lh-body); font-weight: var(--fw-medium); letter-spacing: var(--tracking); }
.fdm-type-nav-strong { font-size: var(--fs-base); line-height: var(--lh-body); font-weight: var(--fw-bold); letter-spacing: var(--tracking); }
.fdm-type-title-sm { font-size: var(--fs-title-sm); line-height: var(--lh-heading); font-weight: var(--fw-bold); letter-spacing: var(--tracking); }
.fdm-type-title-md { font-size: var(--fs-title-md); line-height: var(--lh-heading); font-weight: var(--fw-bold); letter-spacing: var(--tracking); }
.fdm-type-title-lg { font-size: var(--fs-title-lg); line-height: var(--lh-heading); font-weight: var(--fw-bold); letter-spacing: var(--tracking); }
.fdm-type-display { font-size: var(--fs-display); line-height: var(--lh-tight); font-weight: var(--fw-extrabold); letter-spacing: var(--tracking); }

/* 가로 중앙 정렬 컨테이너 (1200px) */
.container {
  width: var(--content-width);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 0;
}
/* 모바일/태블릿 좌우 여백 (전 페이지 공통, 24px 통일) */
@media (max-width: 1239px) {
  .container { width: 100%; padding-inline: 24px; }
}

/* 풀블리드 바 안의 컨텐츠 정렬용 */
.full-bleed { width: 100%; }

/* 화면낭독기 전용 */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
