/* 갈아타기 제안 띠(2026-11-27). 다른 업체 족보를 쓰는 문중에게 이음보로 옮기자고 권하는 공통 띠.
   선언 띠(brand-band.css) 바로 위에 둔다. 첫 화면은 styles-v7.css, 나머지는 styles.css 를 써서 토큰이 달라
   이 파일은 다른 스타일시트에 기대지 않고 색을 직접 쓴다. 어르신이 읽기 쉽게 글자를 크게 둔다. */
.sw { margin: 64px 0 0; padding: 0 20px; box-sizing: border-box; }
.sw-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 40px 24px 36px; border-radius: 24px; background: #fbf3ef; border: 2px solid #e8c6b9; box-sizing: border-box; color: #141414; overflow: hidden; }
.sw-tag { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: #b6452c; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.sw-title { margin: 0 0 14px; font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif; font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; line-height: 1.32; letter-spacing: -0.02em; word-break: keep-all; text-wrap: balance; color: #141414; }
.sw-title em { font-style: normal; color: #b6452c; }
.sw-lead { max-width: 46em; margin: 0 0 24px; font-size: clamp(19px, 2vw, 22px); line-height: 1.7; color: #3a3631; word-break: keep-all; }
.sw-points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.sw-points li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #ecd9d1; }
.sw-points strong { font-size: 22px; font-weight: 800; line-height: 1.3; color: #b6452c; word-break: keep-all; }
.sw-points span { font-size: 18px; line-height: 1.6; color: #3a3631; word-break: keep-all; }
.sw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.sw-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 24px; border-radius: 999px; background: #b6452c; color: #fff; font-size: 22px; font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums; }
.sw-phone:hover { background: #983823; }
.sw-phone svg { width: 24px; height: 24px; flex: none; }
.sw-link { display: inline-flex; align-items: center; min-height: 60px; padding: 0 24px; border-radius: 999px; background: #141414; color: #fff; font-size: 19px; font-weight: 700; text-decoration: none; }
.sw-link:hover { background: #2e2e2c; }
.sw-note { margin: 18px 0 0; font-size: 16px; line-height: 1.65; color: #5c5c57; word-break: keep-all; }
.sw-note a { color: #141414; font-weight: 600; text-underline-offset: 3px; }
.sw-phone:focus-visible, .sw-link:focus-visible, .sw-note a:focus-visible { outline: 3px solid #141414; outline-offset: 3px; }
@media (min-width: 700px) {
  .sw-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) { .sw { padding: 0 32px; } .sw-inner { padding: 52px 48px 44px; } }
@media (min-width: 1100px) {
  .sw-points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* 띠 바로 뒤에 오는 선언 띠의 위 여백을 줄여 두 띠가 붙어 보이지 않게 한다 */
.sw + link + .ed, .sw + .ed { margin-top: 64px; }

/* 기존 방식과 이음보 비교표(첫 화면·비용·이관·체험 쪽에서 씀) */
.vs { max-width: 1200px; margin: 0 auto; }
.vs-wrap { overflow-x: auto; border: 1px solid #e6e6e2; border-radius: 16px; background: #fff; }
.vs-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 18px; line-height: 1.6; color: #141414; }
.vs-table th, .vs-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid #e6e6e2; word-break: keep-all; }
.vs-table thead th { background: #f6f6f4; font-size: 17px; font-weight: 700; }
.vs-table thead th.vs-us { background: #b6452c; color: #fff; }
.vs-table tbody th { width: 22%; font-weight: 700; white-space: nowrap; }
.vs-table td.vs-them { color: #5c5c57; }
.vs-table td.vs-us { background: #fbf3ef; font-weight: 700; }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-src { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: #5c5c57; word-break: keep-all; }

/* 첫 화면: 첫 화면 안 한 줄과 바로 아래 갈아타기 구획 */
.hero-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin-top: 18px; padding: 12px 20px; border-radius: 999px; background: #fbf3ef; border: 1px solid #e8c6b9; color: #3a3631; font-size: 17px; line-height: 1.5; text-decoration: none; word-break: keep-all; }
.hero-switch strong { color: #b6452c; font-weight: 800; }
.hero-switch::after { content: "→"; color: #b6452c; font-weight: 800; }
.hero-switch:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.sw-home { padding: 72px 0; background: #fbf3ef; border-top: 1px solid #ecd9d1; border-bottom: 1px solid #ecd9d1; color: #141414; }
.sw-home .sw-lead { margin-bottom: 28px; }
.sw-home .vs { margin: 0 0 28px; }
@media (min-width: 900px) { .sw-home { padding: 104px 0; } }

/* 이관 쪽: 0원 배지, 자료별 안내 카드, 넓은 구획 */
.mg-zero { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.mg-zero li { display: flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fbf3ef; border: 1px solid #e8c6b9; font-size: 17px; font-weight: 600; color: #3a3631; }
.mg-zero strong { font-size: 20px; font-weight: 800; color: #b6452c; }
.lp-hero .lp-actions { align-items: center; }
.lp-hero .mg-cond { margin: 16px 0 0; }
.lp-sec.mg-wide { max-width: 1200px; }
.mg-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0 0 20px; }
.mg-card { padding: 22px 22px 8px; border-radius: 16px; background: #f6f6f4; border: 1px solid #e6e6e2; }
.mg-card--free { background: #fbf3ef; border-color: #e8c6b9; }
.mg-card h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.35; word-break: keep-all; }
.mg-card-tag { display: inline-block; margin: 0 0 10px !important; padding: 3px 12px; border-radius: 999px; background: #141414; color: #fff; font-size: 15px !important; font-weight: 700; line-height: 1.6 !important; }
.mg-card--free .mg-card-tag { background: #b6452c; }
@media (min-width: 880px) { .mg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 좁은 화면에서는 비교표를 옆으로 밀지 않고 항목마다 카드로 쌓는다 */
@media (max-width: 699px) {
  .vs-wrap { overflow: visible; border: 0; background: transparent; }
  .vs-table { min-width: 0; display: block; }
  .vs-table thead { display: none; }
  .vs-table tbody, .vs-table tr { display: block; }
  .vs-table tr { margin: 0 0 12px; border: 1px solid #e6e6e2; border-radius: 16px; overflow: hidden; background: #fff; }
  .vs-table tbody th, .vs-table td { display: block; width: auto; white-space: normal; border-bottom: 0; }
  .vs-table tbody th { padding: 14px 16px 6px; font-size: 20px; }
  .vs-table td { padding: 6px 16px 14px; }
  .vs-table td::before { content: attr(data-label); display: block; margin: 0 0 2px; font-size: 15px; font-weight: 700; color: #5c5c57; }
  .vs-table td.vs-us { padding-top: 12px; }
  .vs-table td.vs-us::before { color: #b6452c; }
}

/* 전화 단추는 번호가 두 줄로 갈리지 않게 */
.sw-phone { white-space: nowrap; }
@media (max-width: 480px) {
  .sw { padding: 0 16px; }
  .sw-inner { padding: 32px 18px 28px; }
  .sw-phone { font-size: 19px; padding: 0 18px; gap: 8px; }
  .sw-phone svg { width: 20px; height: 20px; }
}

/* 첫 화면 갈아타기 표: 이음보 칸은 초록 바탕에 초록 체크(2026-11-29) */
.sw-home .vs-table thead th.vs-us { background: #1f9d55; color: #fff; }
.sw-home .vs-table td.vs-us { background: #e8f6ee; }
.sw-home .vs-table td.vs-us::before { color: #14793f; }
.vs-ck { display: inline-block; width: 1.15em; height: 1.15em; margin-right: 8px; vertical-align: -0.2em; flex: none; }

/* 어두운 판(2026-11-29): 이음보 색(먹빛과 기와색)으로 번지는 바탕, 큰 흰 제목, 흰 카드. /chatgpt/ 의 AI 연동 띠에서 쓴다 */
.sw.sw--dark { margin: 64px 0 0; padding: 0; }
.sw--dark .sw-inner { max-width: none; padding-top: 96px; padding-bottom: 72px; border: 0; border-radius: 0; color: #fff; background: linear-gradient(180deg, #0f0d0c 0%, #1d1210 32%, #5a2114 70%, #b6452c 100%); }
.sw--dark .sw-inner { padding-left: max(20px, calc((100% - 1200px) / 2)); padding-right: max(20px, calc((100% - 1200px) / 2)); box-sizing: border-box; }
.sw--dark .sw-tag { display: block; width: auto; margin: 0 0 18px; padding: 0; border: 0; border-radius: 0; background: none; color: #f2b9a6; font-size: 18px; font-weight: 700; letter-spacing: 0.02em; }
.sw--dark .sw-title { margin-bottom: 22px; font-size: clamp(30px, 5vw, 60px); line-height: 1.28; color: #fff; text-wrap: balance; }
.sw--dark .sw-lead { max-width: 40em; margin-bottom: 48px; color: #ecd6cd; }
.sw--dark .sw-points { margin-bottom: 40px; }
.sw--dark .sw-points li { min-height: 120px; padding: 20px 24px; border: 0; border-radius: 16px; background: #fff; justify-content: center; }
.sw--dark .sw-points strong { color: #b6452c; font-size: 21px; }
.sw--dark .sw-points span { color: #3a3631; font-size: 16px; }
.sw--dark .sw-phone { background: #fff; color: #7a2a18; }
.sw--dark .sw-phone:hover { background: #fbe9e2; }
.sw--dark .sw-link { background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.sw--dark .sw-link:hover { background: rgba(255,255,255,.14); }
.sw--dark .sw-note { color: #f0d2c7; }
.sw--dark .sw-note a { color: #fff; }
.sw--dark .sw-phone:focus-visible, .sw--dark .sw-link:focus-visible, .sw--dark .sw-note a:focus-visible { outline-color: #fff; }
@media (max-width: 480px) { .sw--dark .sw-inner { padding-top: 64px; padding-bottom: 48px; } }
