/* reset */
*, *::before, *::after {
    margin: 0; padding: 0; border: 0;
    vertical-align: baseline;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
}

body {
    line-height: 1.4;
    font-family: "KBFGText", "pretendard", sans-serif, 'Noto Sans KR';
    font-size: 1.6rem;
}

ol, ul { list-style: none; }

a { color: #000; text-decoration: none; cursor: pointer; }

img { max-width: 100%; height: auto; vertical-align: top; }

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

input, textarea, select {
    font-family: inherit; font-size: inherit; outline: none;
}

table { border-collapse: collapse; border-spacing: 0; }

em { font-style: normal; }

/* KB 색상 변수 */
:root {
    --kb-yellow: #FCAF17;
    --kb-yellow-light: #FDB913;
    --kb-accent-color: #ff691a;
    --kb-gray: #766c61;
    --terms-text-color: #756E5F;
}

/* PC 레이아웃 */
body.pc {
    width: 100%;
    max-width: 1920px;
    min-width: 768px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
}

/* MO 레이아웃 */
body.mo {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
}

/* 컨테이너 */
.container {
    min-width: 768px;
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    font-size: 16px;
}

/* 스크린 리더 전용 (SEO) */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* CTA 영역 공통 */
.cta-buttons-wrap {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
}

/* 공통 색상 */
.color-white  { color: white; }
.color-accent { color: var(--kb-accent-color); }
.kb-yellow    { color: var(--kb-yellow); }

.terms-text {
    color: var(--terms-text-color);
    font-weight: 100;
    text-align: center;
    font-size: clamp(7px, 1vw, 18px);
}

/* ===== 사이즈 제약 (이미지: 1920×free 기준) ===== */
body.pc {
    min-width: 768px;
    max-width: 1920px;
}
