@charset "utf-8";

/*
 * 설치 페이지 스타일 — 빌드 없는 한 벌, IE8 까지 같은 파일을 읽음
 * - IE8 이 못 읽는 것은 쓰지 않음: CSS 변수 · rem · flex · grid · calc · rgba · :not · :nth-child · :last-child
 * - legacy(IE8~9, html.legacy): 버튼 테두리 · 번호 동그라미를 이미지로 바꿈. 가이드 이미지는 모서리가 그림에 들어 있음
 * - 기본 = 1024 화면, 1023px 이하 = 600 화면. IE8 은 미디어쿼리를 못 읽어 1024 화면으로 보임
 * - 600px 미만은 줄어들지 않고 가로 스크롤
 *
 * 값 모음 (Figma)
 * 컬러: Grayscale/90 #201f22 · 80 #3a383f · 65 #585763 · 50 #7b7b8a · 15 #d2d4db · 05 #f2f4f7 · 00 #fff
 * 글자: Wanted Sans — Medium 500 / Bold 700. 자간 -1% (제목 40 만 -3%)
 *   40-B-140 · 24-B-140 · 20-B-140 · 18-M-160 · 16-M-160 (크기-굵기-행간%)
 */

/* ---------- 폰트 (전체 글자. 모던 woff2 · IE9~11 woff, IE8 은 맑은 고딕) ---------- */

@font-face {
	font-family: 'Wanted Sans';
	font-weight: 500;
	src: url('../fonts/WantedSans-Medium.woff2') format('woff2'), url('../fonts/WantedSans-Medium.woff') format('woff');
}

@font-face {
	font-family: 'Wanted Sans';
	font-weight: 700;
	src: url('../fonts/WantedSans-Bold.woff2') format('woff2'), url('../fonts/WantedSans-Bold.woff') format('woff');
}

/* ---------- 기본 ---------- */

html,
body,
div,
h1,
h2,
p,
ol,
li,
figure,
img {
	margin: 0;
	padding: 0;
	border: 0;
}

header,
main,
footer,
figure {
	display: block;
}

ol {
	list-style: none;
}

body {
	min-width: 960px; /* 1024 창 - 세로 스크롤바 17 · 창 테두리 여유. 최대화한 1024 화면에서 가로 스크롤이 생기지 않게 */
	background: #fff;
	color: #201f22;
	font-family: 'Wanted Sans', 'Malgun Gothic', '맑은 고딕', Dotum, '돋움', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: -0.16px;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

img {
	vertical-align: top;
	-ms-interpolation-mode: bicubic;
}

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

/* ---------- 틀 (1024 화면) ---------- */

.install {
	position: relative;
	max-width: 1440px;
	margin: 0 auto;
}

/* 왼쪽 400 고정. left 를 비워 두어 .install 왼쪽 끝에 붙음 (1440 초과 화면에서 가운데 정렬 유지) */
.install__side {
	position: fixed;
	top: 0;
	width: 320px; /* 400 - 좌우 여백 40 × 2 */
	padding: 56px 40px;
}

.install__guide {
	margin-left: 400px;
	padding: 62px 40px 56px;
}

/* 왼쪽 아래 고정. 600 화면에서는 가이드 아래로 */
.install__footer {
	position: fixed;
	bottom: 56px;
	margin-left: 48px; /* 40 + 8 */
}

/* ---------- 제목 · 다운로드 버튼 ---------- */

.install__title {
	padding: 0 8px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -1.2px;
}

.install__btn {
	display: block;
	width: 270px; /* 320 - 좌우 여백 24 × 2 - 테두리 1 × 2 */
	height: 62px;
	margin-top: 24px;
	padding: 0 24px;
	border: 1px solid #d2d4db;
	border-radius: 9999px;
	color: #3a383f;
	font-size: 20px;
	font-weight: 700;
	line-height: 62px;
	letter-spacing: -0.2px;
	white-space: nowrap;
}

.install__btn-icon {
	vertical-align: middle;
}

.install__btn-text {
	display: inline-block;
	width: 190px; /* 270 - 아이콘 32 × 2 - 간격 8 × 2 */
	margin: 0 8px;
	line-height: 1.4;
	vertical-align: middle;
}

/* ---------- 설치 가이드 ---------- */

.install__guide-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.24px;
}

.install__step {
	position: relative;
	margin-top: 40px;
	padding-left: 36px; /* 왼쪽 4 + 번호 24 + 간격 8 */
}

.install__step-num {
	position: absolute;
	top: 2px;
	left: 4px;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: #201f22;
	color: #fff;
	line-height: 24px;
	text-align: center;
}

.install__step-text,
.install__step-sub {
	padding-left: 4px;
}

.install__step-text {
	font-size: 18px;
	letter-spacing: -0.18px;
}

.install__step-text--top {
	display: none;
}

.install__step-sub {
	margin-top: 4px;
	color: #585763;
}

/* 이미지 1656 × 932, 둥근 모서리 · 배경이 그림에 들어 있음 — 높이는 이미지 비율대로 */
.install__figure {
	margin-top: 12px; /* 간격 4 + 위 여백 8 */
}

.install__figure img {
	display: block;
	width: 100%;
	height: auto;
}

/* 3번 이미지 로테이션 — 보이는 한 장만 .is-active */
.install__figure .install__slide {
	display: none;
}

.install__figure .is-active {
	display: block;
}

/* ---------- 고객센터 · 바로가기 ---------- */

.install__cs-label {
	color: #585763;
}

.install__cs-tel {
	color: #3a383f;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.2px;
}

.install__cs-time {
	color: #7b7b8a;
}

.install__menu {
	color: #3a383f;
	white-space: nowrap;
}

.install__menu-link {
	display: inline-block;
	padding: 8px 0;
	vertical-align: middle;
}

.install__menu-bar {
	display: inline-block;
	overflow: hidden;
	width: 1px;
	height: 16px;
	margin: 0 12px;
	background: #d2d4db;
	vertical-align: middle;
}

/* ---------- legacy (IE8~9) ---------- */

.legacy .install__btn {
	border: 0;
	padding: 1px 25px; /* 테두리 1 을 여백으로 */
	background: url('../images/legacy-btn.png') no-repeat;
}

.legacy .install__step-num {
	background: url('../images/legacy-step-num.png') no-repeat;
}

/* ---------- 창 높이가 왼쪽 콘텐츠보다 낮을 때 (1024 화면) ---------- */

/* 458 = 위 56 + 제목 112 + 24 + 버튼 64 + 24 + 고객센터 122 + 아래 56. 고정을 풀고 페이지와 같이 스크롤 */
@media (max-height: 458px) {
	.install__side {
		position: absolute;
	}

	.install__footer {
		position: absolute;
		top: 280px; /* 458 - 아래 56 - 고객센터 122 */
		bottom: auto;
	}
}

/* ---------- 600 화면 (1023px 이하) ---------- */

@media (max-width: 1023px) {
	body {
		min-width: 600px;
	}

	.install__side {
		position: static;
		width: auto;
		padding: 80px 48px;
	}

	.install__guide {
		margin-left: 0;
		padding: 0 48px;
	}

	.install__title-break {
		display: none;
	}

	.install__step-text--side {
		display: none;
	}

	.install__step-text--top {
		display: inline;
	}

	/* 왼쪽 고객센터 · 오른쪽 바로가기, 아래끝 맞춤 */
	.install__footer {
		display: table;
		position: static;
		width: 100%;
		margin: 0;
		padding: 40px 56px 80px; /* 좌우 48 + 8 */
		box-sizing: border-box;
	}

	.install__cs,
	.install__menu {
		display: table-cell;
		vertical-align: bottom;
	}

	.install__cs {
		padding-bottom: 8px;
	}

	.install__menu {
		text-align: right;
	}
}
