:root {
  --main-color: #4A47D6;        /* 리포트 인디고 — 이 값 하나로 전체 색이 바뀐다 */
  --main-dark: #3532AE;         /* 메인 hover / 눌림 */
  --main-ink: #fff;             /* 메인컬러 바탕 위 글씨색 (서브페이지 sub.css 도 쓴다) */
  --main-text: var(--main-color); /* 흰 바탕 위 메인컬러 강조 글씨색 (서브페이지 sub.css 도 쓴다) */
  --main-soft: color-mix(in srgb, var(--main-color) 6%, #fff);    /* 선택된 칸 · 목록 hover */
  --main-tint: color-mix(in srgb, var(--main-color) 12%, #fff);   /* 태그 바탕 */
  --main-line: color-mix(in srgb, var(--main-color) 26%, #fff);   /* 포커스 링 · 연결선 */

  --ink: #191F28;                /* 제목 */
  --body: #4E5968;               /* 본문 */
  --muted: #6B7684;              /* 보조 글씨 */
  --line: #E5E8EB;               /* 구분선 */
  --bg: #F4F5F8;                 /* 회색 바탕 */
  --error: #F04452;

  --r-xl: 32px;                  /* 큰 카드 */
  --r-lg: 24px;                  /* 카드 */
  --r-md: 18px;                  /* 작은 카드 */
  --r-sm: 12px;                  /* 입력칸 */

  --wrap: 1280px;
  --sec-pad: 120px;              /* 섹션 위아래 여백 */
}

.highlight {font-weight: 700; color: var(--main-color);}

/* 광고 심의 빨간 문구 — 상자·배경 없이 작은 빨간 글자만 */
.c_red {color: #D7261E !important;}
.red_notice {margin-top: 20px; font-size: 13.5px; line-height: 1.6; word-break: keep-all;}
.red_notice p + p {margin-top: 2px;}

/* 화면에는 안 보이고 스크린리더만 읽는다 */
.sr_only {position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;}

/* 아이콘 묶음 SVG */
.ico_sprite {position: absolute; width: 0; height: 0; overflow: hidden;}

#section1 > .inner,
#section2 > .inner, #section3 > .inner,
#section_point > .inner, #section4 > .inner,
#section_process > .inner,
#section_qna > .inner, #section_guide > .inner {width: min(var(--wrap), calc(100% - 48px)); max-width: none; margin: 0 auto;}

/* 흰 섹션과 회색 섹션을 번갈아 둔다 */
#section2, #section3, #section_point, #section4, #section_process, #section_qna, #section_guide {padding: var(--sec-pad) 0;}
#section1, #section3, #section4, #section_qna {background: #fff;}
#section2, #section_point, #section_process, #section_guide {background: var(--bg);}

/* 일러스트 아이콘 (assets/img/ico_*.png) — 크기는 섹션마다 아래에서 바꾼다 */
.ico3d {display: block; flex-shrink: 0; width: 96px; height: 96px; object-fit: contain;}

/* ── 공통: 자세히 보기 링크 ── */
.more_link {display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--main-text); word-break: keep-all;}
.more_link svg {flex-shrink: 0; width: 24px; height: 24px; padding: 6px; border-radius: 50%; background: var(--main-tint); color: var(--main-color); transition: transform 0.2s ease;}
.more_link:hover svg {transform: translateX(3px);}
.more_link:focus-visible {outline: 3px solid var(--main-line); outline-offset: 4px; border-radius: 6px;}


/* ══════ 공통: 휴대폰 모양 ══════ */
.phone {position: relative; padding: 12px; border-radius: 48px; background: #fff; box-shadow: 0 40px 80px -36px rgba(30, 28, 90, 0.45), 0 0 0 1px rgba(25, 31, 40, 0.06), inset 0 0 0 6px #F1F2F6;}
.phone_screen {position: relative; height: 100%; padding: 30px 20px 22px; border-radius: 38px; background: #fff; overflow: hidden;}

/* 휴대폰 화면 안 체크 */
.ck_rows li {display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--bg); font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--ink); word-break: keep-all;}
.ck_rows li + li {margin-top: 8px;}
.ck_rows svg {flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--main-color); color: #fff;}


/* ══════ #section1 — 왼쪽 문구 / 오른쪽 휴대폰 폼 + 뒤에 기울어진 점검 예시 휴대폰 ══════ */
#section1 {position: relative; overflow: hidden; background: radial-gradient(1100px 560px at 82% 28%, var(--main-tint), transparent 62%), radial-gradient(700px 420px at 4% 92%, color-mix(in srgb, var(--main-color) 5%, #fff), transparent 70%), #fff;}
#section1 .hero_wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  grid-template-areas:
    "head  stage"
    "info  stage";
  grid-template-rows: auto 1fr;
  column-gap: 40px;
  padding: 56px 0 88px;
}
#section1 .hero_head {grid-area: head; padding-top: 28px;}
#section1 .hero_stage {grid-area: stage;}
#section1 .hero_info {grid-area: info; align-self: end;}

#section1 .hero_badge {display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--main-line); font-size: 14px; font-weight: 800; color: var(--main-text);}
#section1 .hero_badge::before {content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--main-color); box-shadow: 0 0 0 4px var(--main-tint);}

/* 바뀌는 단어 */
#section1 .hero_kicker {margin-top: 26px; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--body); word-break: keep-all;}
#section1 .rotator {display: inline-block; height: 1.5em; overflow: hidden; vertical-align: top; transition: width 0.35s ease;}
#section1 .rot_list {display: block; transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.3, 1);}
#section1 .rot_list b {display: table; height: 1.5em; padding: 0 2px; font-weight: 800; color: var(--main-text); white-space: nowrap; background: linear-gradient(transparent 62%, var(--main-tint) 62%);}

#section1 .hero_title {margin-top: 10px; font-size: 54px; font-weight: 800; line-height: 1.22; letter-spacing: -2.2px; color: var(--ink); word-break: keep-all;}
#section1 .hero_title b, #section1 .hero_title em {font-weight: 800; font-style: normal; color: var(--main-text);}
#section1 .hero_desc {margin-top: 20px; max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--body); word-break: keep-all;}
#section1 .hero_desc small {font-size: 15px; color: var(--muted);}

#section1 .hero_points {display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px;}
#section1 .hero_points li {display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px -10px rgba(30, 28, 90, 0.3), 0 0 0 1px var(--line); font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap;}
#section1 .hero_points svg {width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--main-color); color: #fff;}

/* ── 오른쪽 무대 ── */
#section1 .hero_stage {position: relative; min-height: 680px;}

/* 떠 있는 3D 그림 */
#section1 .hero_obj {position: absolute; z-index: 4; object-fit: contain; animation: obj_float 6s ease-in-out infinite;}
#section1 .hero_obj.is_1 {top: -18px; left: 40px; width: 132px; height: 132px;}
#section1 .hero_obj.is_2 {bottom: -6px; left: -36px; width: 140px; height: 140px; animation-delay: -2s;}
#section1 .hero_obj.is_3 {top: 46%; right: -40px; width: 96px; height: 96px; z-index: 1; animation-delay: -4s;}
@keyframes obj_float {0%, 100% {transform: translateY(0);} 50% {transform: translateY(-12px);}}

/* 뒤 휴대폰 — 점검 결과 예시 */
#section1 .phone_report {position: absolute; z-index: 1; top: 70px; left: -34px; width: 292px; height: 560px; transform: rotate(-8deg); transform-origin: bottom right;}
#section1 .phone_report .phone_screen {display: flex; flex-direction: column; padding: 26px 16px 18px; background: linear-gradient(180deg, var(--main-soft) 0%, #fff 40%);}
#section1 .cd_head {display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line);}
#section1 .cd_avatar {display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--main-color); color: #fff;}
#section1 .cd_avatar svg {width: 18px; height: 18px;}
#section1 .cd_head strong {display: block; font-size: 15px; font-weight: 800; color: var(--ink);}
#section1 .cd_head span {display: block; margin-top: 1px; font-size: 11.5px; font-weight: 600; color: var(--muted);}
#section1 .cd_msgs {display: flex; flex-direction: column; gap: 8px; padding-top: 16px;}
#section1 .cd_msgs li {max-width: 80%; padding: 10px 13px; border-radius: 16px 16px 16px 4px; background: var(--bg); font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--ink); word-break: keep-all;}
#section1 .cd_msgs li.is_me {align-self: flex-start; margin-left: 20%; border-radius: 16px 16px 4px 16px; background: var(--main-color); color: #fff;}
#section1 .cd_typing {display: flex; gap: 4px; padding: 13px 14px !important;}
#section1 .cd_typing i {width: 6px; height: 6px; border-radius: 50%; background: #B0B8C1; animation: cd_dot 1.2s ease-in-out infinite;}
#section1 .cd_typing i:nth-child(2) {animation-delay: 0.15s;}
#section1 .cd_typing i:nth-child(3) {animation-delay: 0.3s;}
@keyframes cd_dot {0%, 60%, 100% {opacity: 0.35; transform: none;} 30% {opacity: 1; transform: translateY(-3px);}}

/* 앞 휴대폰 — 신청 폼 */
#section1 .phone_form {position: absolute; z-index: 3; top: 0; right: 24px; width: 392px; padding: 52px 26px 24px; border-radius: 52px; scroll-margin-top: 100px;}
#section1 .phone_notch {position: absolute; top: 16px; left: 50%; width: 92px; height: 24px; border-radius: 999px; background: #E4E6EC; transform: translateX(-50%);}

/* ── 폼 ── */
.form_wrap .form_head {display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 18px;}
.form_wrap .form_badge {display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--main-soft); font-size: 13px; font-weight: 700; color: var(--main-text);}
.form_wrap .form_badge::before {content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--main-color);}
.form_wrap .form_head h2 {margin-top: 10px; font-size: 24px; font-weight: 800; line-height: 1.35; letter-spacing: -0.8px; color: var(--ink); word-break: keep-all;}
.form_wrap .form_head h2 b {color: var(--main-text);}
.form_wrap .form_ico {flex-shrink: 0; width: 64px; height: 64px; object-fit: contain;}

.form_wrap .form_fields {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px;}
.form_wrap .field {min-width: 0;}
.form_wrap .field.is_full {grid-column: 1 / -1;}
.form_wrap .field > label,
.form_wrap .field_label {display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--body);}

.form_wrap input[type='text'],
.form_wrap .phone_select,
.form_wrap .region_select,
.form_wrap .select_btn {display: block; width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #F8F9FB; font-size: 16px; font-weight: 600; color: var(--ink); outline: none; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;}
.form_wrap input[type='text']::placeholder {font-weight: 500; color: #A9B0BA;}
.form_wrap input[type='text']:hover,
.form_wrap .phone_select:hover,
.form_wrap .select_btn:hover {border-color: #CDD2D8;}
.form_wrap input[type='text']:focus,
.form_wrap .phone_select:focus,
.form_wrap .region_select:focus,
.form_wrap .select_btn:focus-visible,
.form_wrap .select_wrap.open .select_btn {border-color: var(--main-color); background: #fff; box-shadow: 0 0 0 4px var(--main-tint);}

.form_wrap .phone_select,
.form_wrap .region_select,
.form_wrap .select_btn {padding-right: 36px; background: #F8F9FB url("../img/arrow_down.svg") no-repeat right 12px center / 16px; -webkit-appearance: none; appearance: none; cursor: pointer;}
.form_wrap .region_select:has(option[value='']:checked) {font-weight: 500; color: #A9B0BA;}
.form_wrap .region_select option {font-weight: 500; color: var(--ink);}

/* 성별 — 두 칸, 고르면 메인컬러로 채운다 */
.form_wrap .gender_wrap {display: grid; grid-template-columns: 1fr 1fr; height: 50px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-sm); background: #F8F9FB;}
.form_wrap .gender_wrap input[type='radio'] {position: absolute; opacity: 0; pointer-events: none;}
.form_wrap .gender_wrap label {display: flex; align-items: center; justify-content: center; margin: 0; font-size: 16px; font-weight: 700; color: var(--muted); cursor: pointer; user-select: none; transition: background 0.15s, color 0.15s;}
.form_wrap .gender_wrap label + input + label {border-left: 1px solid var(--line);}
.form_wrap .gender_wrap input[type='radio']:checked + label {background: var(--main-color); color: var(--main-ink);}
.form_wrap .gender_wrap input[type='radio']:focus-visible + label {outline: 3px solid var(--main-line); outline-offset: -3px;}

/* 지역 목록 */
.form_wrap .select_wrap {position: relative;}
.form_wrap .select_wrap.is_custom .region_select {position: absolute; inset: 0; opacity: 0; pointer-events: none;}
.form_wrap .select_btn {text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.form_wrap .select_btn.is_placeholder {font-weight: 500; color: #A9B0BA;}
.form_wrap .select_list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  display: none;
  max-height: 228px;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; border-radius: var(--r-sm); background: #fff;
  box-shadow: 0 18px 40px -16px rgba(20, 20, 50, 0.35), 0 0 0 1px var(--line);
  scrollbar-width: thin; scrollbar-color: #D1D6DB transparent;
}
.form_wrap .select_list::-webkit-scrollbar {width: 6px;}
.form_wrap .select_list::-webkit-scrollbar-thumb {border-radius: 6px; background: #D1D6DB;}
.form_wrap .select_wrap.up .select_list {top: auto; bottom: calc(100% + 6px);}
.form_wrap .select_wrap.open .select_list {display: block; animation: select_open 0.15s ease;}
@keyframes select_open {from {opacity: 0; transform: translateY(-4px);} to {opacity: 1; transform: none;}}
.form_wrap .select_list li {padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--body); cursor: pointer;}
.form_wrap .select_list li.is_active {background: var(--main-soft); color: var(--ink);}
.form_wrap .select_list li[aria-selected='true'] {color: var(--main-color); font-weight: 700;}

/* 연락처 — 국번 | 번호 */
.form_wrap .phone_input_wrap {display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px;}

.form_wrap .submit_btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; height: 58px; margin-top: 20px; padding: 0 24px;
  border: 0; border-radius: 999px; background: var(--main-color); color: var(--main-ink);
  font-size: 18px; font-weight: 800; letter-spacing: -0.3px; cursor: pointer;
  box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--main-color) 85%, transparent);
  transition: background 0.15s, transform 0.1s;
}
.form_wrap .submit_btn svg {width: 18px; height: 18px; transition: transform 0.15s;}
.form_wrap .submit_btn:hover {background: var(--main-dark);}
.form_wrap .submit_btn:hover svg {transform: translateX(3px);}
.form_wrap .submit_btn:active {transform: scale(0.98);}
.form_wrap .submit_btn:focus-visible {outline: 3px solid var(--main-line); outline-offset: 3px;}

.form_wrap .form_privacy {margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; word-break: keep-all;}

/* ── 왼쪽 아래: 신청부터 가입까지 + 신뢰 지표 ── */
#section1 .hero_info {display: grid; gap: 18px; max-width: 600px; padding-top: 40px;}
#section1 .hero_steps_wrap {display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px;}
#section1 .hero_steps_label {font-size: 14px; font-weight: 800; color: var(--muted);}
#section1 .hero_steps {display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0;}
#section1 .hero_steps li {display: flex; align-items: center; gap: 6px;}
#section1 .hero_steps li:not(:last-child)::after {content: ''; width: 7px; height: 7px; margin: 0 10px 0 6px; border-top: 2px solid #B0B8C1; border-right: 2px solid #B0B8C1; transform: rotate(45deg);}
#section1 .hero_steps .num {font-size: 13px; font-weight: 800; color: var(--muted);}
#section1 .hero_steps .txt {font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap;}
#section1 .hero_steps li:last-child {padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--main-color);}
#section1 .hero_steps li:last-child .num, #section1 .hero_steps li:last-child .txt {color: var(--main-ink);}

#section1 .hero_stats {display: grid; grid-template-columns: repeat(3, auto); justify-content: start; padding: 18px 0 0; border-top: 1px solid var(--line);}
#section1 .hero_stats li {display: flex; align-items: baseline; gap: 8px; padding: 0 22px;}
#section1 .hero_stats li:first-child {padding-left: 0;}
#section1 .hero_stats li + li {border-left: 1px solid var(--line);}
#section1 .hero_stats strong {font-size: 22px; font-weight: 800; letter-spacing: -0.6px; color: var(--main-text); white-space: nowrap;}
#section1 .hero_stats small {margin-left: 1px; font-size: 15px;}
#section1 .hero_stats span {font-size: 14.5px; font-weight: 600; color: var(--body); white-space: nowrap;}


@media (max-width: 1300px) {
  #section1 .hero_wrap {grid-template-columns: minmax(0, 1fr) 520px; column-gap: 28px;}
  #section1 .hero_title {font-size: 48px;}
  #section1 .phone_report {width: 262px; left: -24px;}
  #section1 .phone_form {right: 12px;}
  #section1 .hero_stats li {padding: 0 16px;}}

@media (max-width: 1200px) {
  #section1 .hero_wrap {grid-template-columns: minmax(0, 1fr) 470px;}
  #section1 .hero_title {font-size: 44px; letter-spacing: -1.8px;}
  #section1 .phone_report {width: 236px; height: 520px; top: 90px; left: -12px;}
  #section1 .phone_form {right: 0; width: 376px;}
  #section1 .hero_obj.is_2 {left: -20px; width: 116px; height: 116px;}
  #section1 .hero_stats {grid-template-columns: repeat(3, minmax(0, 1fr));}
  #section1 .hero_stats li {flex-direction: column; gap: 2px; padding: 0 14px;}}

@media (max-width: 1150px) {
  #section1 .hero_wrap {grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "info"; grid-template-rows: auto; padding: 36px 0 56px;}
  #section1 .hero_head {position: relative; padding-top: 0; padding-right: 150px;}
  #section1 .hero_title {font-size: 40px;}
  /* 무대를 풀어 폼은 문구 아래, 그림 하나는 문구 오른쪽 위로 */
  #section1 .hero_stage {display: contents;}
  #section1 .phone_report, #section1 .hero_obj.is_2, #section1 .hero_obj.is_3 {display: none;}
  /* 1150 이하: 휴대폰 테두리는 지우고 일반 카드로 */
  #section1 .phone_form {grid-area: stage; position: relative; top: auto; right: auto; width: auto; margin-top: 36px; padding: 30px 28px 24px; border-radius: var(--r-xl); box-shadow: 0 28px 60px -28px rgba(30, 28, 90, 0.4), 0 0 0 1px rgba(25, 31, 40, 0.06); scroll-margin-top: 84px;}
  #section1 .phone_notch {display: none;}
  #section1 .hero_obj.is_1 {grid-area: head; position: relative; top: 0; left: auto; justify-self: end; align-self: start; width: 140px; height: 140px;}
  #section1 .hero_info {max-width: none; padding-top: 28px;}
  #section1 .hero_steps_wrap {padding: 16px 18px; border-radius: var(--r-lg); background: var(--bg);}}

@media (max-width: 768px) {
  #section1 .hero_wrap {padding: 28px 0 40px;}
  #section1 .hero_head {padding-right: 0;}
  #section1 .hero_badge {height: 30px; padding: 0 12px; font-size: 13px;}
  #section1 .hero_kicker {margin-top: 18px; font-size: 16px;}
  #section1 .hero_badge {margin-right: 96px;}
  #section1 .hero_title {font-size: 31px; letter-spacing: -1.2px;}
  #section1 .hero_desc {margin-top: 14px; font-size: 16px;}
  #section1 .hero_points {gap: 6px; margin-top: 18px;}
  #section1 .hero_points li {height: 34px; padding: 0 12px 0 9px; font-size: 13.5px;}
  #section1 .hero_points svg {width: 16px; height: 16px;}
  #section1 .hero_obj.is_1 {width: 92px; height: 92px; margin-top: -6px;}
  #section1 .phone_form {margin-top: 28px; padding: 24px 18px 20px; border-radius: 24px;}
  .form_wrap .form_head {margin-bottom: 16px;}
  .form_wrap .form_head h2 {font-size: 21px;}
  .form_wrap .form_ico {width: 52px; height: 52px;}
  #section1 .hero_info {padding-top: 20px;}
  #section1 .hero_steps_wrap {display: block; padding: 16px 14px;}
  #section1 .hero_steps_label {margin-bottom: 10px; font-size: 13px;}
  #section1 .hero_steps {flex-wrap: nowrap; justify-content: space-between;}
  #section1 .hero_steps li:not(:last-child)::after {margin: 0 4px 0 2px; width: 5px; height: 5px;}
  #section1 .hero_steps .num {font-size: 12px;}
  #section1 .hero_steps .txt {font-size: 13px;}
  #section1 .hero_steps li:last-child {padding: 3px 9px 3px 8px;}
  #section1 .hero_stats {padding-top: 16px;}
  #section1 .hero_stats li {align-items: center; padding: 0 6px; text-align: center;}
  #section1 .hero_stats strong {font-size: 19px;}
  #section1 .hero_stats span {font-size: 12.5px; white-space: normal;}}

@media (max-width: 550px) {
  #section1 .hero_title {font-size: 28px;}
  #section1 .hero_obj.is_1 {width: 80px; height: 80px;}
  #section1 .hero_steps .txt {font-size: 12px;}
  #section1 .hero_steps .num {display: none;}}

@media (max-width: 360px) {
  #section1 .hero_title {font-size: 25px;}
  #section1 .hero_kicker {font-size: 15px;}
  #section1 .hero_obj.is_1 {width: 76px; height: 76px;}
  #section1 .hero_steps .txt {font-size: 11.5px;}}

@media (prefers-reduced-motion: reduce) {
  #section1 .hero_obj, #section1 .cd_typing i {animation: none;}
  #section1 .rotator, #section1 .rot_list {transition: none;}}


/* ══════ 섹션 머리 ══════ */
.title_wrap {max-width: 760px; margin: 0 0 56px;}
.title_wrap.is_center {margin: 0 auto 56px; text-align: center;}
.section_label {display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1.6px; color: var(--main-text);}
.section_label::before {content: ''; display: inline-block; width: 18px; height: 2px; margin: 0 8px 4px 0; border-radius: 2px; background: var(--main-color); vertical-align: middle;}
.title_wrap h2 {margin-top: 14px; font-size: 38px; font-weight: 800; line-height: 1.32; letter-spacing: -1.4px; color: var(--ink); word-break: keep-all;}
.title_wrap h2 b {color: var(--main-text);}
.title_wrap p {margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--body); word-break: keep-all;}


/* ── section2: 보장분석이란 + 알림 카드 목록 ── */
#section2 .about_wrap {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: 64px;}
#section2 .title_wrap {margin: 0;}
#section2 .title_wrap .more_link {margin-top: 24px;}
#section2 .need_list {display: flex; flex-direction: column; gap: 14px;}
#section2 .need_list li {display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 22px; background: #fff; box-shadow: 0 14px 30px -24px rgba(30, 28, 90, 0.35);}
#section2 .need_list li:nth-child(even) {margin-left: 48px; margin-right: -24px;}
#section2 .need_ico {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 60px; height: 60px; border-radius: 18px; background: var(--main-soft);}
#section2 .need_ico .ico3d {width: 48px; height: 48px;}
#section2 .need_list p {flex: 1; font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -0.3px; color: var(--ink); word-break: keep-all;}
#section2 .need_check {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--main-color); color: #fff;}
#section2 .need_check svg {width: 15px; height: 15px;}


/* ── section3: 따라오는 휴대폰 + 오른쪽 점검 항목 ── */
#section3 .ck_wrap {display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 72px; align-items: start;}
#section3 .ck_phone_col {position: sticky; top: 110px; display: flex; justify-content: center; padding: 24px 0;}
#section3 .ck_phone {width: 320px; height: 430px; background: linear-gradient(160deg, var(--main-soft), #fff);}
#section3 .ck_phone .phone_screen {padding: 34px 20px 20px;}
#section3 .ck_screen {position: absolute; left: 20px; right: 20px; top: 66px; opacity: 0; transform: translateY(14px); transition: opacity 0.35s ease, transform 0.35s ease;}
#section3 .ck_screen.is_on {opacity: 1; transform: none;}
#section3 .ck_label {display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--main-tint); font-size: 12px; font-weight: 800; color: var(--main-text);}
#section3 .ck_title {display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink);}
#section3 .ck_rows {margin-top: 16px;}

#section3 .ck_list {display: flex; flex-direction: column; gap: 20px; padding: 40px 0 60px;}
#section3 .ck_item {position: relative; padding: 32px 36px 34px 104px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; transition: border-color 0.3s, box-shadow 0.3s, opacity 0.3s;}
#section3 .ck_item:not(.is_on) {opacity: 0.55;}
#section3 .ck_item.is_on {border-color: var(--main-line); box-shadow: 0 24px 48px -32px rgba(30, 28, 90, 0.45);}
#section3 .ck_no {position: absolute; top: 30px; left: 34px; font-size: 32px; font-weight: 800; letter-spacing: -1px; color: #D1D6DB; font-variant-numeric: tabular-nums; transition: color 0.3s;}
#section3 .ck_item.is_on .ck_no {color: var(--main-color);}
#section3 .ck_tag {display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--main-tint); font-size: 13px; font-weight: 800; color: var(--main-text);}
#section3 .ck_item h3 {margin-top: 10px; font-size: 23px; font-weight: 800; letter-spacing: -0.6px; color: var(--ink); word-break: keep-all;}
#section3 .ck_item h3 b {color: var(--main-text);}
#section3 .ck_item p {margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--body); word-break: keep-all;}
#section3 .red_notice {margin-top: 8px; text-align: center;}


/* ── section_point: 서류철 탭 카드 4장 ── */
#section_point .prep_list {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 20px; padding-top: 28px;}
#section_point .prep_list li {position: relative; display: flex; flex-direction: column; padding: 28px 26px 30px; border-radius: 0 var(--r-lg) var(--r-lg) var(--r-lg); background: #fff;}
#section_point .prep_tab {position: absolute; bottom: 100%; left: 0; display: flex; align-items: center; height: 30px; padding: 0 22px 0 18px; border-radius: 14px 14px 0 0; background: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.6px; color: var(--main-text);}
#section_point .prep_tab::after {content: ''; position: absolute; left: 100%; bottom: 0; width: 14px; height: 14px; background: radial-gradient(circle at 100% 0, transparent 14px, #fff 14.5px);}
#section_point .prep_ico {width: 76px; height: 76px;}
#section_point .prep_list h3 {margin-top: 18px; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); word-break: keep-all;}
#section_point .prep_list p {margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--body); word-break: keep-all;}
#section_point .red_notice {margin-top: 28px;}


/* ── section4: 바꾸기 전 확인 + CTA ── */
#section4 .caution_wrap {display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; align-items: start;}
#section4 .title_wrap {margin: 0;}
#section4 .caution_list {border-top: 2px solid var(--ink);}
#section4 .caution_list li {display: flex; gap: 22px; padding: 28px 4px; border-bottom: 1px solid var(--line);}
#section4 .caution_no {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 2px solid var(--main-line); border-radius: 50%; font-size: 18px; font-weight: 800; color: var(--main-text);}
#section4 .caution_list h3 {font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); word-break: keep-all;}
#section4 .caution_list p {margin-top: 6px; font-size: 15.5px; line-height: 1.7; color: var(--body); word-break: keep-all;}
#section4 > .inner > .red_notice {margin-top: 20px; padding-left: calc(420px + 72px);}

#section4 .cta_box {position: relative; display: flex; align-items: center; gap: 28px; margin-top: 88px; padding: 40px 48px 40px 236px; border-radius: 36px; background: linear-gradient(120deg, var(--main-tint) 0%, var(--main-soft) 60%, #fff 100%); box-shadow: inset 0 0 0 1px var(--main-line);}
#section4 .cta_visual {position: absolute; left: 36px; bottom: 0; width: 180px; height: 200px; object-fit: contain; object-position: center bottom;}
#section4 .cta_txt {flex: 1; min-width: 0;}
#section4 .cta_title {font-size: 27px; font-weight: 800; line-height: 1.4; letter-spacing: -0.9px; color: var(--ink); word-break: keep-all;}
#section4 .cta_title b {color: var(--main-text);}
#section4 .cta_points {display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;}
#section4 .cta_points li {display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--body); white-space: nowrap;}
#section4 .cta_btn {flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 60px; padding: 0 26px 0 30px; border: 0; border-radius: 999px; background: var(--main-color); color: var(--main-ink); font-size: 17px; font-weight: 800; letter-spacing: -0.3px; cursor: pointer; box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--main-color) 80%, transparent); transition: background 0.15s, transform 0.15s;}
#section4 .cta_btn svg {width: 18px; height: 18px; transition: transform 0.15s;}
#section4 .cta_btn:hover {background: var(--main-dark);}
#section4 .cta_btn:hover svg {transform: translateX(3px);}
#section4 .cta_btn:active {transform: scale(0.98);}
#section4 .cta_btn:focus-visible {outline: 3px solid var(--main-line); outline-offset: 3px;}


/* ── section_process: 대화처럼 주고받는 말풍선 ── */
#section_process .chat_list {display: flex; flex-direction: column; gap: 18px; max-width: 880px; margin: 0 auto;}
#section_process .chat_list li {display: flex; align-items: flex-end; gap: 14px; max-width: 620px;}
#section_process .chat_list li.is_me {flex-direction: row-reverse; align-self: flex-end; text-align: left;}
#section_process .chat_avatar {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 10px 22px -16px rgba(30, 28, 90, 0.5);}
#section_process .chat_avatar .ico3d {width: 46px; height: 46px; border-radius: 50%;}
#section_process .chat_bubble {padding: 22px 26px 24px; border-radius: 26px 26px 26px 6px; background: #fff;}
#section_process .is_me .chat_bubble {border-radius: 26px 26px 6px 26px; background: var(--main-tint);}
#section_process .is_me:last-child .chat_bubble {background: var(--main-color); color: var(--main-ink);}
#section_process .step_no {font-size: 12.5px; font-weight: 800; letter-spacing: 0.8px; color: var(--main-text);}
#section_process h3 {margin-top: 6px; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); word-break: keep-all;}
#section_process p {margin-top: 6px; font-size: 15.5px; line-height: 1.65; color: var(--body); word-break: keep-all;}
#section_process .is_me:last-child .step_no,
#section_process .is_me:last-child h3,
#section_process .is_me:last-child p {color: var(--main-ink);}
#section_process .is_me:last-child p {opacity: 0.9;}


/* ── 자주 묻는 질문 — 2열 카드 ── */
#section_qna .qna_grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px;}
#section_qna .qna_item {border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color 0.2s, box-shadow 0.2s;}
#section_qna .qna_item.active {border-color: var(--main-line); box-shadow: 0 20px 40px -30px rgba(30, 28, 90, 0.45);}
#section_qna .qna_question {display: flex; align-items: center; gap: 14px; width: 100%; padding: 22px 22px 22px 20px; border: 0; background: none; text-align: left; cursor: pointer;}
#section_qna .qna_question:focus-visible {outline: 3px solid var(--main-line); outline-offset: -3px; border-radius: var(--r-lg);}
#section_qna .qna_q {display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 12px; background: var(--main-tint); font-size: 16px; font-weight: 800; color: var(--main-text);}
#section_qna .qna_text {flex: 1; font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -0.4px; color: var(--ink); word-break: keep-all;}
#section_qna .qna_icon {position: relative; flex-shrink: 0; width: 22px; height: 22px;}
#section_qna .qna_icon::before, #section_qna .qna_icon::after {content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ink); transition: transform 0.2s;}
#section_qna .qna_icon::after {transform: rotate(90deg);}
#section_qna .qna_item.active .qna_icon::after {transform: rotate(0);}
#section_qna .qna_item.active .qna_q {background: var(--main-color); color: var(--main-ink);}
#section_qna .qna_answer {display: none; padding: 0 24px 24px 68px;}
#section_qna .qna_item.active .qna_answer {display: block; animation: qna_open 0.3s ease;}
#section_qna .qna_answer p {font-size: 15.5px; line-height: 1.75; color: var(--body); word-break: keep-all;}
#section_qna .qna_answer .more_link {margin-top: 14px; font-size: 14.5px;}
@keyframes qna_open {from {opacity: 0; transform: translateY(-6px);} to {opacity: 1; transform: none;}}


/* ── section_guide: 앱 아이콘 타일 4칸 ── */
#section_guide .guide_list {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;}
#section_guide .guide_tile {display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 28px 26px 26px; border-radius: var(--r-xl); background: #fff; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease;}
#section_guide .guide_app {display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 24px; background: linear-gradient(150deg, var(--main-tint), var(--main-soft));}
#section_guide .guide_app .ico3d {width: 58px; height: 58px;}
#section_guide .guide_tag {margin-top: 22px; font-size: 13px; font-weight: 800; color: var(--main-text);}
#section_guide .guide_tile strong {margin-top: 6px; font-size: 19px; font-weight: 800; line-height: 1.4; letter-spacing: -0.5px; color: var(--ink); word-break: keep-all;}
#section_guide .guide_desc {margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--body); word-break: keep-all;}
#section_guide .guide_go {display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 22px; font-size: 14.5px; font-weight: 700; color: var(--main-text);}
#section_guide .guide_go svg {width: 16px; height: 16px; transition: transform 0.15s;}
#section_guide .guide_tile:hover {transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(30, 28, 90, 0.35);}
#section_guide .guide_tile:hover .guide_go svg {transform: translateX(3px);}
#section_guide .guide_tile:focus-visible {outline: 3px solid var(--main-line); outline-offset: 3px;}


/* ── 스크롤 등장 효과 ── */
.reveal {opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease;}
.reveal.is_in {opacity: 1; transform: none;}


/* ══════════════════════════════════════════════════
   반응형
   ══════════════════════════════════════════════════ */

@media (max-width: 1300px) {
  .inner {width: 93%;}
  #section2 .need_list li:nth-child(even) {margin-right: 0;}}

@media (max-width: 1200px) {
  :root {--sec-pad: 104px;}
  #section3 .ck_wrap {grid-template-columns: 360px minmax(0, 1fr); gap: 48px;}
  #section3 .ck_phone {width: 290px; height: 420px;}
  #section_point .prep_list {grid-template-columns: repeat(2, minmax(0, 1fr));}
  #section4 .caution_wrap {grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px;}
  #section4 > .inner > .red_notice {padding-left: calc(360px + 48px);}
  #section_guide .guide_list {grid-template-columns: repeat(2, minmax(0, 1fr));}}

@media (max-width: 1150px) {
  :root {--sec-pad: 92px;}
  #section1 > .inner,
  #section2 > .inner, #section3 > .inner,
  #section_point > .inner, #section4 > .inner,
  #section_process > .inner,
  #section_qna > .inner, #section_guide > .inner {width: min(720px, calc(100% - 32px));}


  #section2 .about_wrap {grid-template-columns: minmax(0, 1fr); gap: 40px;}
  #section2 .need_list li:nth-child(even) {margin-left: 28px;}

  /* 1150 이하: 따라오는 휴대폰을 숨기고 항목 카드만 */
  #section3 .ck_wrap {grid-template-columns: minmax(0, 1fr);}
  #section3 .ck_phone_col {display: none;}
  #section3 .ck_list {padding: 0;}
  #section3 .ck_item:not(.is_on) {opacity: 1;}
  #section3 .red_notice {margin-top: 28px;}

  #section4 .caution_wrap {grid-template-columns: minmax(0, 1fr); gap: 32px;}
  #section4 > .inner > .red_notice {padding-left: 0;}
  #section4 .cta_box {flex-wrap: wrap; padding: 36px 36px 36px 200px;}
  #section4 .cta_visual {left: 24px; width: 150px; height: 170px;}
  #section4 .cta_btn {width: 100%; justify-content: center;}}

@media (max-width: 768px) {
  :root {--sec-pad: 80px;}
  .title_wrap {margin-bottom: 40px;}
  .title_wrap h2 {font-size: 29px; letter-spacing: -1px;}
  .title_wrap p {font-size: 16px;}


  #section2 .need_list li {gap: 12px; padding: 14px 16px 14px 12px; border-radius: 18px;}
  #section2 .need_list li:nth-child(even) {margin-left: 16px;}
  #section2 .need_ico {width: 50px; height: 50px; border-radius: 15px;}
  #section2 .need_ico .ico3d {width: 40px; height: 40px;}
  #section2 .need_list p {font-size: 15.5px;}

  #section3 .ck_item {padding: 26px 24px 26px 76px; border-radius: var(--r-lg);}
  #section3 .ck_no {top: 24px; left: 22px; font-size: 26px; color: var(--main-color);}
  #section3 .ck_item h3 {font-size: 20px;}
  #section3 .ck_item p {font-size: 15px;}

  #section_point .prep_list {grid-template-columns: minmax(0, 1fr); gap: 44px;}
  #section_point .prep_list li {display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; padding: 24px 22px;}
  #section_point .prep_ico {grid-row: 1 / span 2; width: 64px; height: 64px;}
  #section_point .prep_list h3 {margin-top: 0; font-size: 18px;}
  #section_point .prep_list p {font-size: 14.5px;}

  #section4 .caution_list li {gap: 16px; padding: 22px 0;}
  #section4 .caution_no {width: 38px; height: 38px; font-size: 16px;}
  #section4 .caution_list h3 {font-size: 18px;}
  #section4 .caution_list p {font-size: 14.5px;}
  #section4 .cta_box {display: block; margin-top: 72px; padding: 32px 24px 26px; border-radius: 28px;}
  #section4 .cta_visual {left: auto; right: 16px; top: -48px; bottom: auto; width: 110px; height: 120px;}
  #section4 .cta_txt {padding-right: 96px;}
  #section4 .cta_title {font-size: 21px;}
  #section4 .cta_btn {margin-top: 22px; height: 56px;}

  #section_process .chat_list li {gap: 10px;}
  #section_process .chat_avatar {width: 50px; height: 50px;}
  #section_process .chat_avatar .ico3d {width: 36px; height: 36px;}
  #section_process .chat_bubble {padding: 18px 20px 20px;}
  #section_process h3 {font-size: 18px;}
  #section_process p {font-size: 14.5px;}

  #section_qna .qna_grid {grid-template-columns: minmax(0, 1fr); gap: 12px;}
  #section_qna .qna_question {padding: 18px 18px 18px 16px; gap: 12px;}
  #section_qna .qna_q {width: 30px; height: 30px; font-size: 14.5px; border-radius: 10px;}
  #section_qna .qna_text {font-size: 16px;}
  #section_qna .qna_answer {padding: 0 18px 20px 58px;}
  #section_qna .qna_answer p {font-size: 15px;}}

@media (max-width: 550px) {
  :root {--sec-pad: 64px;}
  #section1 > .inner,
  #section2 > .inner, #section3 > .inner,
  #section_point > .inner, #section4 > .inner,
  #section_process > .inner,
  #section_qna > .inner, #section_guide > .inner {width: calc(100% - 28px);}

  .red_notice {margin-top: 16px; font-size: 13px;}

  .form_wrap .form_fields {gap: 12px 8px;}
  .form_wrap .field > label, .form_wrap .field_label {margin-bottom: 5px; font-size: 13.5px;}
  .form_wrap input[type='text'], .form_wrap .phone_select, .form_wrap .region_select, .form_wrap .select_btn {padding: 0 12px;}
  .form_wrap .phone_select, .form_wrap .region_select {padding-right: 30px; background-position: right 10px center;}
  .form_wrap .phone_input_wrap {grid-template-columns: 88px minmax(0, 1fr);}
  .form_wrap .submit_btn {height: 56px; margin-top: 18px; font-size: 17px;}
  .form_wrap .form_privacy {font-size: 12.5px;}

  .title_wrap {margin-bottom: 32px;}
  .section_label {font-size: 12px;}
  .title_wrap h2 {margin-top: 10px; font-size: 25px; letter-spacing: -0.8px;}
  .title_wrap p {margin-top: 12px; font-size: 15px;}


  #section2 .need_list li:nth-child(even) {margin-left: 0;}
  #section2 .need_list p {font-size: 15px;}

  #section3 .ck_item {padding: 22px 20px 22px 20px;}
  #section3 .ck_no {position: static; display: block; margin-bottom: 8px; font-size: 22px;}

  #section_process .chat_avatar {display: none;}
  #section_process .chat_list li {max-width: 92%;}

  #section_guide .guide_list {grid-template-columns: minmax(0, 1fr); gap: 14px;}
  #section_guide .guide_tile {display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px;}
  #section_guide .guide_app {grid-row: 1 / span 4; width: 64px; height: 64px; border-radius: 20px;}
  #section_guide .guide_app .ico3d {width: 48px; height: 48px;}
  #section_guide .guide_tag {margin-top: 0;}
  #section_guide .guide_tile strong {font-size: 17px;}
  #section_guide .guide_go {padding-top: 12px;}}

@media (max-width: 360px) {
  .form_wrap .form_fields {grid-template-columns: minmax(0, 1fr);}
  .form_wrap .phone_input_wrap {grid-template-columns: 82px minmax(0, 1fr);}
  #section4 .cta_txt {padding-right: 0;}
  #section4 .cta_visual {display: none;}}

@media (hover: none) {
  .more_link:hover svg {transform: none;}
  .form_wrap .submit_btn:hover {background: var(--main-color);}
  .form_wrap .submit_btn:hover svg {transform: none;}
  #section4 .cta_btn:hover {background: var(--main-color);}
  #section4 .cta_btn:hover svg {transform: none;}
  #section_guide .guide_tile:hover {transform: none; box-shadow: none;}
  #section_guide .guide_tile:hover .guide_go svg {transform: none;}}

@media (prefers-reduced-motion: reduce) {
  .more_link svg, #section4 .cta_btn, #section4 .cta_btn svg, #section_guide .guide_tile, #section_guide .guide_go svg,
  .form_wrap .submit_btn, .form_wrap .submit_btn svg, .form_wrap .gender_wrap label,
  .form_wrap input[type='text'], .form_wrap .phone_select, .form_wrap .region_select, .form_wrap .select_btn,
  #section3 .ck_screen, #section3 .ck_item, #section_qna .qna_icon::before, #section_qna .qna_icon::after {transition: none;}
  .form_wrap .select_wrap.open .select_list, #section_qna .qna_item.active .qna_answer {animation: none;}
  .reveal {opacity: 1; transform: none; transition: none;}}


/* ── 신청 유도 플로팅 버튼 (모바일 전용) ── */
.to_top {
  position: fixed; left: 50%; bottom: 24px; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px; padding: 0 30px;
  border: 0; border-radius: 999px;
  background: var(--main-color); color: var(--main-ink);
  font-size: 17px; font-weight: 700; letter-spacing: -0.3px; white-space: nowrap;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--main-color) 35%, transparent);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 24px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.3s ease, background 0.15s;
}
.to_top.show {opacity: 1; visibility: visible; transform: translate(-50%, 0);}
.to_top:hover {background: var(--main-dark);}
.to_top svg {width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;}

/* 어두운 푸터 위에 올라오면 색을 뒤집는다 */
.to_top.on_dark {background: #fff; color: var(--main-color); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);}

@media (min-width: 769px) {
  .to_top {display: none;}}

@media (max-width: 550px) {
  .to_top {left: 16px; right: 16px; bottom: 12px; height: 56px; transform: translateY(24px);}
  .to_top.show {transform: translateY(0);}}
@media (hover: none) {
  .to_top:hover {background: var(--main-color);}
  .to_top.on_dark:hover {background: #fff;}}
@media (prefers-reduced-motion: reduce) {
  .to_top {transition: none;}}


/* ══════ 약관 문서 페이지 (개인정보처리방침 · 이용약관) ══════ */
.doc_page {padding: 70px 0 90px;}
.doc_page .inner {max-width: 860px;}

.doc_back {display: inline-block; margin-bottom: 20px; color: #888; font-size: 14px; transition: color 0.15s ease;}
.doc_back:hover {color: var(--main-color);}

.doc_page h1 {padding-bottom: 24px; border-bottom: 2px solid #222; font-size: 32px; font-weight: 800; letter-spacing: -0.5px;}

.doc_body {padding-top: 34px; color: #555; font-size: 16px; line-height: 1.8; word-break: keep-all;}
.doc_body h3 {margin: 40px 0 14px; color: #222; font-size: 19px; font-weight: 700;}
.doc_body h3:first-child {margin-top: 0;}
.doc_body p {margin-bottom: 14px;}
.doc_body a {color: var(--main-color); font-weight: 600; text-decoration: underline;}

.doc_body ul {margin: 0 0 14px; padding-left: 4px; list-style: none;}
.doc_body ul li {position: relative; padding-left: 15px; margin-bottom: 7px;}
.doc_body ul li::before {content: ''; position: absolute; left: 0; top: 12px; width: 4px; height: 4px; border-radius: 50%; background: #bbb;}

.doc_body table {width: 100%; margin: 0 0 18px; border-top: 2px solid var(--main-color); border-collapse: collapse;}
.doc_body table th,
.doc_body table td {padding: 14px 16px; border-bottom: 1px solid #e8ecf1; font-size: 15px; line-height: 1.7; text-align: left; vertical-align: top;}
.doc_body table th {width: 150px; background: #f7f9fc; color: #333; font-weight: 700;}

.doc_body .note {padding: 16px 18px; border-radius: 12px; background: #f5f7fa; color: #666; font-size: 14.5px; line-height: 1.75;}

@media (max-width: 768px) {
  .doc_page {padding: 40px 0 70px;}
  .doc_page h1 {padding-bottom: 18px; font-size: 24px;}
  .doc_body {padding-top: 26px; font-size: 15px;}
  .doc_body h3 {margin: 32px 0 12px; font-size: 17px;}

  .doc_body table,
  .doc_body table tbody,
  .doc_body table tr,
  .doc_body table th,
  .doc_body table td {display: block; width: 100%;}
  .doc_body table tr:first-child {display: none;}
  .doc_body table tr {padding: 13px 0; border-bottom: 1px solid #e8ecf1;}
  .doc_body table tr:last-child {border-bottom: 0;}
  .doc_body table th,
  .doc_body table td {padding: 0; border: 0;}
  .doc_body table th {margin-bottom: 4px; background: none; color: #888; font-size: 13.5px; font-weight: 600;}
  .doc_body table td {font-size: 14.5px; color: #555;}
  .doc_body .note {font-size: 13.5px;}}