/* ============================================================
   Base — reset · font · typography

   ⚠ 퍼블리싱 산출물 사본이다 — 손으로 고치지 않는다(산출물을 다시 받아 덮어쓴다).
      출처: 계열사 저장소 Document/02_설계/06. 디자인&퍼블리싱/전자계약_프로토타입/publish/css/base.css · 생성 2026-10-08 · 프로토타입 7bf3ead

   [이 파일에서 유일하게 고친 줄] 아래 @font-face 의 글꼴 경로.
      산출물은 자기 트리의 ../assets/ 를 가리키지만 이 프로젝트의 글꼴은 static/font/ 에 있다
      (같은 파일이다 — PretendardVariable.woff2 2,057,688 B). 산출물을 다시 받으면 이 한 줄만 다시 고친다.
   ============================================================ */
/* ============================================================
   Base — reset · font · typography
   ============================================================ */
@font-face {
  font-family: "Pretendard Variable";
  src: url("/static/font/PretendardVariable-302ec55f5b4320354ec6b35a53dead87.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body); line-height: 20px;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--c-primary-text); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 2px; }   /* 가이드 §07 — outline 2px Primary · offset 2px (:focus-visible에서만 노출) */

/* D1331 — 가이드 §02 Line Height·Letter Spacing: Display 46/56 -2% · H1 34/44 -2% · H2 24/32 -1% · H3 20/28 -1% · Title 18/26 -0.5% · Subtitle 17/24 -0.5% ·
   Body L 15/22 · Body M 14/20 · Caption 13/18. 클래스 .h2는 «섹션·카드·모달 타이틀» = 가이드 Title(18)이다(가이드 H2 24는 합계 금액·문서 제목 — --fs-h2를 직접 쓴다) */
.display { font-size: var(--fs-display); line-height: 56px; font-weight: 800; letter-spacing: -0.02em; }
.h1 { font-size: var(--fs-h1); line-height: 44px; font-weight: 800; letter-spacing: -0.02em; }
.h2 { font-size: var(--fs-title); line-height: 26px; font-weight: 700; letter-spacing: -0.005em; }
.h3 { font-size: var(--fs-body); line-height: 20px; font-weight: 600; }
.t-h2 { font-size: var(--fs-h2); line-height: 32px; font-weight: 800; letter-spacing: -0.01em; }
.t-h3 { font-size: var(--fs-h3); line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.t-subtitle { font-size: var(--fs-subtitle); line-height: 24px; font-weight: 700; letter-spacing: -0.005em; }
.t-body-l { font-size: var(--fs-body-l); line-height: 22px; font-weight: 500; }
.caption { font-size: var(--fs-caption); line-height: 18px; color: var(--c-text-sub); }
.mute { color: var(--c-text-mute); }
.num, .amount { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-sans); font-size: var(--fs-table); font-variant-numeric: tabular-nums; }   /* D1207 — 시안 B안: 계약번호·코드도 본문 서체(자릿수 맞춤 숫자) · ~~var(--font-mono)~~ */
.text-danger { color: var(--c-danger); }
.text-warn { color: var(--c-warn); }
.text-success { color: var(--c-success); }
.req { color: var(--c-danger); font-weight: 700; margin-left: 2px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 캡처 모드: 전환 효과 제거 (스크린샷 선명도) */
.capture *, .capture *::before, .capture *::after { transition: none !important; animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
