@charset "utf-8";

/* ============================================================
   디자인 토큰 (v3 PPT 매핑 확정)
   ============================================================ */
:root {
  /* 폰트 */
  --font-display:      'pretendard', 'Apple SD Gothic Neo', sans-serif;
  --fw-regular:        400;
  --fw-medium:         500;
  --fw-semibold:       600;
  --fw-bold:           700;
  --fw-extrabold:      800;

  /* ── Semantic weight (역할 기반) ── */
  --fw-body:           var(--fw-bold);   /* 카드 본문 설명 (pain-grid p, solution3d p, demo-text p 등) — 정책: 항상 Bold, 2026-05-08 */

  /* ── 모바일 폰트 사이즈 토큰 (≤640px 전용) ── */
  --fs-h2-mobile:      23px;   /* 주제목 — 1px 축소 (24→23, 2026-05-08) */
  --fs-h3-mobile:      21px;   /* 부제목 */
  --fs-body-mobile:    16px;   /* 설명 — 1px 축소 (17→16, 2026-05-08) */
  --fs-caption-mobile: 13px;   /* 보조(라벨·캡션) */

  /* ── 라인 하이트 토큰 ── */
  --lh-tight:   1.2;    /* 1.2, 1.25 */
  --lh-snug:    1.35;   /* 1.3, 1.35 */
  --lh-normal:  1.5;    /* 1.4, 1.45, 1.5 */
  --lh-relaxed: 1.6;    /* 1.55, 1.6, 1.7 */

  /* 색상 */
  --clr-primary:        #ff751e;
  --clr-accent-orange:  #ff6b35;
  --clr-primary-dark:   var(--clr-accent-orange); /* alias — 사이드 이펙트 회피 */
  --clr-grad-start:     #ff8c42;
  --clr-grad-end:       #ff6b1f;
  --clr-text:           #1a1a1a;
  --clr-faq-bg:         #fff5e6;  /* C5: 노랑 → 옅은 오렌지 베이지 */
  --clr-footer-bg:      #0f1729;
  --clr-footer-fg:      #ffffff;
  --clr-btn-dark:       #1a1a1a;
  --clr-bg-soft:        #fafafa;

  /* 간격 (v3: 100→80 PC, 56→48 모바일 — 사용자 "조금씩 줄여" 반영) */
  --section-py:         80px;
  --section-py-mo:      48px;
  /* tit_area → 본문 첫 요소 갭 — 솔루션 시각 거리(36px) 기준, 2026-05-08 */
  /* 솔루션은 ico 박스 빈 공간(~28px)이 있어 mt 8 + 빈공간 = 시각 36px이 사용자 OK 기준 */
  /* 빈 공간 없는 섹션은 mt 36 직접 적용 = 같은 시각 거리 */
  --tit-to-body-mo:     36px;   /* 모바일 baseline (이미지 빈 공간 없는 섹션) */
  --tit-to-body:        60px;   /* PC */
  --tit-to-text-mo:     12px;   /* H2 → .text 부제 갭 (모바일) */
  --card-gap:           48px;

  /* 버튼 */
  --btn-radius:         100px;
  --btn-download-min-w: 220px;
}

/* ============================================================
   main.css — 신규 섹션 추가 + 옛 디자인 일부 override
   font.css / animation.css / layout.css 위에 로드됨
   ============================================================ */

/* ===== 페이지 베이스 ===== */
html, body { background-color: #fff; overflow-x: hidden; }

/* ===== 모바일 전용 줄바꿈 ===== */
.br-mo { display: none; }
@media screen and (max-width: 640px) { .br-mo { display: inline; } }

/* ===== 모바일 전역 자간 — "글자 좌우가 붙어있다" 피드백 (2026-05, 0.02→0.04 한 단계 추가 2026-05-08) ===== */
@media screen and (max-width: 640px) {
  #wrap { letter-spacing: 0.05em; }
}

/* ===== 서브 페이지 모바일 헤더 (mo_header) — 페이지 제목 텍스트 보이도록 ===== */
header.mo_header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  z-index: 100;
}
header.mo_header .header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 56px;
}
header.mo_header .btn_mo_back {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
header.mo_header .btn_mo_back::before {
  content: '';
  display: block;
  width: 12px; height: 12px;
  margin: 0 auto;
  border-left: 2px solid #1A1A1A;
  border-bottom: 2px solid #1A1A1A;
  transform: rotate(45deg);
}
header.mo_header h1.header__title {
  width: auto !important;
  height: auto !important;
  background: none !important;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  text-indent: 0;
  line-height: 1.2;
  margin: 0;
}

/* ===== 메인 페이지 헤더 로고 → image3 워드마크 (서브 페이지엔 영향 X) ===== */
header:not(.mo_header) h1 {
  width: 180px; height: 60px;
  background: url(../assets/image3.png) no-repeat 0 0;
  background-size: contain;
}
header:not(.mo_header) h1 a { display: block; width: 100%; height: 100%; font-size: 0; text-indent: -9999px; }
/* 모바일/태블릿(≤1000px): PC와 동일하게 오렌지 워드마크(image3) 유지 */
@media screen and (max-width:640px) {
  header:not(.mo_header) h1 { width: 130px; height: 44px; }
}

/* ===== Hero (PPT 슬라이드 1) — 배경 풀 이미지 + 좌측 텍스트 ===== */
.main {
  height: 720px;
  background: url(../assets/image2.png) no-repeat center/cover;
  position: relative;
}
.main::after { display: none !important; }
.main .image1 { display: none; }
.main .tit_area {
  padding-top: 180px;
  padding-left: 40px;
}
.main .tit_area h2 {
  font-size: 56px; line-height: 1.25;
  font-weight: var(--fw-extrabold);
  color: var(--clr-text);
}
.main .tit_area h2 strong { display: inline; color: var(--clr-primary); font-weight: var(--fw-extrabold); }
/* Hero 부제 — PC는 평범한 텍스트, 모바일은 backdrop-filter 블러 박스 (가독성) */
.main .tit_area .text {
  color: var(--clr-text);
  font-weight: var(--fw-medium);
  font-size: 18px;
  margin-bottom: 8px;
}
/* M1 v4: 텍스트 블러 박스 완전 제거 — Hero 배경 overlay + text-shadow로 가독성 확보 */
/* C2 통일: Hero 다운로드 버튼 = CTA-final 디자인 (흰 둥근 + 컬러 아이콘 + 한글 + 화살표) */
.main .tit_area .app-store-buttons {
  display: flex; gap: 12px; margin-top: 32px;
  flex-wrap: wrap;
}
.main .tit_area .app-store-buttons a {
  display: inline-flex; align-items: center; gap: 10px;
  background: #ffffff; color: var(--clr-text);
  padding: 14px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.08);
  font-family: var(--font-display);
  font-weight: var(--fw-bold); font-size: 15px;
  min-width: 240px;
  justify-content: flex-start;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}
.main .tit_area .app-store-buttons a:hover {
  transform: translateY(-2px);
}
.main .tit_area .app-store-buttons a > span:first-of-type { flex: 1; }
.main .tit_area .app-store-buttons a .arrow { font-weight: var(--fw-bold); flex-shrink: 0; }
.main .tit_area .app-store-buttons img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }

/* M1: 모바일/태블릿 — 원본 image2-mobile.png + 좌측 60% 다크 overlay + H2 흰그림자 */
@media screen and (max-width:1000px) {
  #wrap { position: relative; }
  header {
    position: absolute; top: 13px; left: 4px; right: auto;
    z-index: 10;
    background: transparent;
    padding: 0;
  }
  .main {
    background: url(../assets/image2-mobile-roof-blur.png) no-repeat left center/cover;
    height: auto;
    min-height: 580px;
    padding: 80px 0 40px;
    margin: 0;
    position: relative;
  }
  .main::before { display: none !important; }
  .main .con,
  .main .tit_area { position: relative; z-index: 2; }
  .main .image1 { display: none; }
  .main .tit_area { padding-top: 32px; padding-left: 24px; }
  /* 모바일 H2 — 검정 (월세 걱정 없는 날까지) */
  .main .tit_area h2 {
    color: var(--clr-text);
  }
  .main .tit_area h2 strong {
    color: var(--clr-primary);
  }
  /* 모바일 부제 — 흰색 반투명 blur 박스 (pill) */
  .main .tit_area .text {
    display: inline-block;
    color: var(--clr-text);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
  }
}
@media screen and (max-width:640px) {
  .main { min-height: 420px; padding: 50px 0 24px; }
  .main .tit_area { padding-top: 16px; padding-left: 6px; padding-right: 20px; }
  .main .tit_area h2 { font-size: var(--fs-h2-mobile, 28px); line-height: var(--lh-normal, 1.5); padding-left: 14px; }
  .main .tit_area .text { font-size: var(--fs-caption-mobile, 13px); }
  /* C2: 모바일 — 세로 stack + 둘 다 같은 폭 + H2↔버튼 간격 */
  .main .tit_area .app-store-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 22px;   /* H2 "날려버려"와 버튼 간격 */
    margin-left: 10px; 
  }
  .main .tit_area .app-store-buttons a {
    min-width: 0;
    width: 230px;
    max-width: min(230px, 100%);
    padding: 10px 16px;
    /* NOTE: 의도적 토큰 미적용 — Hero 버튼 레이블 별도 관리 (2026-05) */
    font-size: 12px;
    gap: 6px;
    white-space: nowrap;
  }
  .main .tit_area .app-store-buttons img { width: 16px; height: 16px; }
}

/* ============================================================
   신규 섹션 1: 솔루션 3D (image10 시트 활용)
   ============================================================ */
.section.solution3d { padding: var(--section-py) 0; text-align: center; }
.solution3d-list {
  display: flex; gap: 60px; justify-content: center;
  max-width: 1100px; margin: 60px auto 0; padding: 0 30px;
}
.solution3d-list li { flex: 1; max-width: 320px; }
.solution3d-list .ico {
  display: block; width: 200px; height: 200px; margin: 0 auto 30px;
  background-image: url(../assets/image10.png);
  background-repeat: no-repeat;
  background-size: 600px 600px;
}
.solution3d-list .ico-card     { background-position: 0 0; }           /* 카드 */
.solution3d-list .ico-treasure { background-position: -200px -200px; } /* 보물상자 */
.solution3d-list .ico-chart    { background-position: -200px -400px; } /* 차트+동전 (성장) */

.solution3d-list h3 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: var(--fw-bold); color: var(--clr-text);
  margin-bottom: 16px;
}
.solution3d-list p {
  font-size: 18px; color: var(--clr-accent-orange); font-weight: var(--fw-regular); line-height: 1.6;    /* bold → regular (2026-05-11) */
}
@media screen and (max-width:1000px) {
  /* M2: 갭 좁히기 50→32 */
  .solution3d-list { flex-direction: column; gap: 32px; }
  .solution3d-list li { max-width: 100%; }
}
@media screen and (max-width:640px) {
  /* v4: 솔루션 모바일 — 제목↔카드 갭 + 카드 사이 갭 모두 축소 + H2 vs H3 차등화 */
  .section.solution3d { padding: var(--section-py-mo) 0; }
  .solution3d-list { gap: 16px; margin-top: 8px; }     /* 이미지 sprite 위쪽 빈 공간 보정 (baseline 24 → 8), 2026-05-08 */
  .solution3d-list li { padding: 0 20px; }
  .solution3d-list .ico { width: 110px; height: 110px; background-size: 330px 330px; margin: 0 auto 8px; }   /* 140→110, mb 16→8 */
  .solution3d-list .ico-card     { background-position: 0 0; }
  .solution3d-list .ico-treasure { background-position: -110px -110px; }
  .solution3d-list .ico-chart    { background-position: -110px -220px; }
  /* H3는 H2(22)보다 작게 — 차등화 */
  .solution3d-list h3 { font-size: var(--fs-h3-mobile, 18px); margin-bottom: 6px; }
  .solution3d-list p { font-size: var(--fs-body-mobile, 14px); line-height: var(--lh-normal, 1.5); font-weight: var(--fw-regular); }    /* bold → regular (2026-05-11) */
}

/* ============================================================
   신규 섹션 2: 사용흐름 5스텝
   ============================================================ */
.section.steps5 {
  padding: var(--section-py) 0; text-align: center; position: relative;
}
/* C1: 5스텝 부제 "미리보는 홈런페이" 글자 키우기 (18→22px PC, 16px 모바일) */
/* NOTE: 부제목 색 통일 정책에서 예외 — 5스텝 부제는 워크플로우 강조용 오렌지 (2026-05) */
.section.steps5 .tit_area .text {
  color: var(--clr-accent-orange);
  font-size: 22px;
  font-weight: var(--fw-regular);
  margin-top: 16px;
  margin-bottom: 0;
}
@media screen and (max-width: 640px) {
  .section.steps5 .tit_area .text { font-size: var(--fs-h3-mobile, 18px); font-weight: var(--fw-regular); margin-top: var(--tit-to-text-mo); }    /* bold → regular (2026-05-11) */
}
/* 5스텝 wrapper(.section.steps5)는 이미 position: relative — 그 위에 화살표 absolute */
.steps5-scroller {
  max-width: 1340px;
  margin: 60px auto 0;
  padding: 0 20px;
}
/* M4 v4: 5스텝 화살표 — 이미지 양옆 좌우 absolute (< 이미지 >) */
.steps5-nav-pair { display: contents; }   /* wrapper 무력화, 두 button만 보임 */
.steps5-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: var(--clr-text);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  padding: 0;
  z-index: 10;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.steps5-nav--prev { left: 8px; }
.steps5-nav--next { right: 8px; }
.steps5-nav:hover {
  background: #fafafa;
  border-color: #bbb;
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}
.steps5-nav:disabled { opacity: 0.3; cursor: default; }
.steps5-nav svg { display: block; }
@media screen and (max-width: 1024px) {
  .steps5-nav { display: inline-flex; align-items: center; justify-content: center; }
}
.steps5-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps5-list li {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.steps5-list .step-arrow {
  display: block;
  background: linear-gradient(180deg, var(--clr-grad-start) 0%, var(--clr-grad-end) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  /* NOTE: 의도적 토큰 미적용 — 반응형 clamp 함수값, 별도 관리 (2026-05) */
  font-size: clamp(18px, 1.6vw, 24px);
  text-align: center;
  padding: 22px 28px 22px 28px;
  margin-bottom: 22px;
  /* 양쪽 chevron — 좌측 안쪽으로 들어가고 우측 뾰족 */
  clip-path: polygon(
    0 0,
    calc(100% - 22px) 0,
    100% 50%,
    calc(100% - 22px) 100%,
    0 100%,
    22px 50%
  );
}
.steps5-list .step-img {
  width: 100%;
  aspect-ratio: 428 / 926;          /* 원본 비율 (image12~16.png는 홈 인디케이터 직접 제거됨, 2026-05-08) */
  background: transparent;          /* radius 바깥 페이지 배경 비침, 2026-05-08 */
  border-radius: 24px;
  border: 1px solid #e0e0e0;        /* 아이폰 윤곽선 (살색 → 옅은 회색), 2026-05-08 */
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.steps5-list .step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* M4 v7: 1024px 이하 — 좌우 슬라이드 (list transform translateX) */
@media screen and (max-width: 1024px) {
  .steps5-scroller {
    padding: 0;
    overflow: hidden;
    max-width: calc(100vw - 128px);   /* 좌우 화살표 영역(64px×2) 비움 */
    margin: var(--tit-to-body-mo) auto 0;    /* baseline 통일 (32→24), 2026-05-08 */
  }
  .steps5-list {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    gap: 0;
    padding: 0;
    width: 500%;                       /* 5 슬라이드 가로 */
    transition: transform 0.4s ease;
  }
  .steps5-list li,
  .steps5-list li.fadeinup,
  .steps5-list li.fadeinup.active {
    flex: 0 0 20%;                     /* 100vw - 128 폭 */
    position: relative;
    opacity: 1 !important;             /* fadeinup opacity:0 무력화 */
    pointer-events: auto;
    transform: none !important;        /* fadeinup translateY 무력화 */
    padding: 0;
    box-sizing: border-box;
  }
  .steps5-list .step-img {
    width: 100%;
    aspect-ratio: 428 / 926;
    margin: 0;
    max-width: none;
  }
}
@media screen and (min-width: 1025px) {
  .steps5-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 0;
    width: auto;
  }
  .steps5-scroller { overflow: visible; }
}
@media screen and (max-width: 640px) {
  .section.steps5 { padding: var(--section-py-mo) 0; }
  .steps5-list { grid-template-columns: repeat(5, 240px); }
  .steps5-list .step-arrow { font-size: 18px; padding: 18px 24px; }
}

/* ============================================================
   신규 섹션 3: 확장 결제 8종
   ============================================================ */
.section.expand8 {
  padding: var(--section-py) 0; text-align: center; position: relative;
}
.expand8-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 80px;
  max-width: 760px;
  margin: 60px auto 0;
  padding: 0 40px;
  list-style: none;
}
.expand8-list li {
  display: flex; align-items: center; gap: 24px;
  text-align: left;
}
.expand8-list .ico {
  display: block; width: 80px; height: 80px;
  background-image: url(../assets/image21.png);
  background-repeat: no-repeat;
  background-size: 240px 240px;
  flex-shrink: 0;
}
.expand8-list .ico-month    { background-position: 0 0; }
.expand8-list .ico-deposit  { background-position: -80px 0; }
.expand8-list .ico-utility  { background-position: -160px 0; }
.expand8-list .ico-interior { background-position: 0 -80px; }
.expand8-list .ico-moving   { background-position: -80px -80px; }
.expand8-list .ico-fee      { background-position: -160px -80px; }
.expand8-list .ico-labor    { background-position: 0 -160px; }
.expand8-list .ico-purchase { background-position: -80px -160px; }
.expand8-list .label {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: #222;
}
@media screen and (max-width:640px) {
  .section.expand8 { padding: 48px 0; }
  /* M4: 모바일 2열 (320px만 1열 폴백) + M6: 제목↔카드 갭 60→32 */
  .expand8-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    padding: 0 16px;
    margin-top: var(--tit-to-body-mo);
    max-width: 100%;
  }
  .expand8-list li { gap: 12px; }
  .expand8-list .ico { width: 52px; height: 52px; background-size: 156px 156px; flex-shrink: 0; }
  .expand8-list .ico-deposit  { background-position: -52px 0; }
  .expand8-list .ico-utility  { background-position: -104px 0; }
  .expand8-list .ico-interior { background-position: 0 -52px; }
  .expand8-list .ico-moving   { background-position: -52px -52px; }
  .expand8-list .ico-fee      { background-position: -104px -52px; }
  .expand8-list .ico-labor    { background-position: 0 -104px; }
  .expand8-list .ico-purchase { background-position: -52px -104px; }
  .expand8-list .label { font-size: var(--fs-body-mobile, 14px); line-height: var(--lh-snug, 1.35); }
}
@media screen and (max-width:359px) {
  /* 320px iPhone SE 1열 폴백 */
  .expand8-list { grid-template-columns: 1fr; gap: 14px; padding: 0 20px; }
}

/* ============================================================
   신규 섹션 4: 안전성 3 (옛 service 톤 풀블리드 오렌지)
   ============================================================ */
.section.safety3 {
  padding: var(--section-py) 40px; text-align: center;
  background: #f5f5f5;
  box-sizing: border-box;
}
.section.safety3::after { display: none; }
.section.safety3 .tit_area h2 { color: var(--clr-text); }
.section.safety3 .tit_area .text { color: var(--clr-accent-orange); }
.safety3-list {
  display: flex; gap: 30px;
  max-width: 1100px; margin: 60px auto 0; padding: 0 30px;
}
.safety3-list li {
  flex: 1;
  background: rgba(255,255,255,0.85); /* fallback: Firefox/구 Android */
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 24px;
  padding: 40px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
/* backdrop-filter 지원 브라우저만 더 투명 + 블러 */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .safety3-list li {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
.safety3-list .ico { display: none; }
.safety3-list h3 {
  font-family: var(--font-display);
  font-size: 24px; color: var(--clr-text);
  margin-bottom: 14px;
}
.safety3-list p {
  font-size: 17px; color: var(--clr-accent-orange);
  line-height: 1.55;
}
@media screen and (max-width:1000px) {
  .safety3-list { flex-direction: column; gap: 20px; }
}
@media screen and (max-width:640px) {
  .section.safety3 { padding: var(--section-py-mo) 0; }
  .safety3-list { margin-top: var(--tit-to-body-mo); gap: 16px; padding: 0 8px; }    /* 좌우 패딩 30→8 (카드 폭 확장 — H3 1줄), 2026-05-08 */
  .safety3-list li { padding: 32px 18px; }    /* 본문 폭 확장 (40 28 → 32 18), 2026-05-08 */
  .safety3-list h3 { font-size: var(--fs-h3-mobile, 18px); font-weight: var(--fw-bold); }    /* PC 매핑 동일 (2026-05-11) */
  .safety3-list p { font-size: var(--fs-body-mobile, 14px); font-weight: var(--fw-regular); }    /* bold → regular (2026-05-11) */
}

/* ============================================================
   신규 섹션 5: 페르소나 (B2C / B2B)
   ============================================================ */
.section.persona {
  padding: var(--section-py) 0; text-align: center; position: relative;
}
.section.persona.b2b::after {
  content: ""; display: block; width: 200%; height: 100%;
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background-color: #f5f5f5; z-index: -1;
}
.persona-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3×2 grid (6개) */
  gap: 30px;
  max-width: 1200px; margin: 60px auto 0; padding: 0 30px;
}
.persona-list li {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  text-align: left;
}
.persona-list .img {
  width: 100%; aspect-ratio: 4/3;
  background-color: #f5f5f5;
  background-size: cover;
  background-position: center;
}
.persona-list .body { padding: 30px 28px; }
.persona-list h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: #222;
  margin-bottom: 14px;
}
.persona-list blockquote {
  font-size: 16px; color: var(--clr-text); line-height: 1.6; font-weight: var(--fw-semibold);
  margin: 0; padding: 0;
  position: relative; padding-left: 16px;
  border-left: 3px solid var(--clr-primary);
}
@media screen and (max-width:1000px) {
  .persona-list { grid-template-columns: 1fr; gap: 16px; }   /* 태블릿: 1열 */
}
@media screen and (max-width:640px) {
  /* 페르소나 모바일 — 흰/회색 영역 균형 (padding 48→24) */
  .section.persona { padding: var(--section-py-mo) 0; }    /* 토큰 정상 복구 (2026-05-08) */
  .persona-list { padding: 0 8px; gap: 12px; margin-top: var(--tit-to-body-mo); }    /* 좌우 20→8 (카드 폭 확장), 2026-05-08 */
  .persona-list .img { aspect-ratio: 16/10; }
  .persona-list .body { padding: 16px 14px; }    /* 본문 폭 확장 (20 → 14), 2026-05-08 */
  .persona-list h3 { font-size: var(--fs-h3-mobile, 18px); margin-bottom: 6px; }
  .persona-list blockquote { font-size: 14px; }
}

/* ============================================================
   신규 섹션 6: 홈로소득 계산기
   ============================================================ */
.section.calc { padding: var(--section-py) 0; }
.section.calc > .tit_area {
  max-width: 1200px; margin: 0 auto 40px;
  padding: 0 40px; text-align: center;
}
.section.calc > .tit_area h2 {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 800; color: #1a1a1a;
  line-height: 1.3;
}
.section.calc > .tit_area h2 strong,
.section.calc > .tit_area h2 .squiggle { color: var(--clr-primary); }
.calc-inner {
  display: flex; gap: 80px; align-items: flex-start;
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
}
.calc-intro { flex: 1; margin-top: 20px; }
.calc-intro p {
  font-size: 18px; color: #1a1a1a;
  font-weight: 600;
  line-height: 1.7; margin-bottom: 18px;
}
.calc-intro p.accent {
  color: var(--clr-primary-dark);
  font-weight: var(--fw-regular);
}
.calc-intro .highlight { color: var(--clr-primary); font-weight: 700; }
.calc-intro .calc-illust {
  width: 220px; height: 220px;
  margin: 30px auto 0;       /* 가운데 정렬 */
  background: url(../assets/image10.png) no-repeat;
  background-position: -220px -440px;   /* 시트 (col=1, row=2) = 차트+동전 */
  background-size: 660px 660px;
}

.calc-panel {
  flex: 1;
  background: #fff;
  border-radius: 28px;
  padding: 44px 38px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.calc-grades-label {
  font-size: 16px;
  font-weight: 600;
  color: #555;
  margin: 0 0 14px;
}
.calc-grades {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px; margin-bottom: 32px;
}
.calc-grade {
  padding: 12px 6px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-medium); font-size: 14px; color: #555;
  cursor: pointer; transition: all 0.2s;
}
.calc-grade:hover { border-color: #ffb38a; }
.calc-grade.is-active {
  background: var(--clr-primary); border-color: var(--clr-primary); color: #fff;
}

.calc-field { margin-bottom: 28px; }
.calc-field-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
  font-size: 16px; color: #555; font-weight: 600;
}
.calc-field-value {
  font-family: var(--font-display);
  font-weight: 700; font-size: 20px; color: #222;
}
.calc-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 8px; background: #f0e4d8; border-radius: 9999px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px;
  background: var(--clr-primary);
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255,117,30,0.5);
}
.calc-slider::-moz-range-thumb {
  width: 26px; height: 26px;
  background: var(--clr-primary);
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}

.calc-result {
  background: #fff8f3;
  border-radius: 18px;
  padding: 24px;
  margin-top: 8px;
}
.calc-result-title {
  font-size: 14px; color: #888;
  font-weight: 700; margin-bottom: 14px;
}
.calc-result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
}
.calc-result-row + .calc-result-row {
  border-top: 1px dashed #f0d8c4;
}
.calc-result-row.year {
  background: var(--clr-primary);
  margin: 12px -24px -24px;
  padding: 18px 24px;
  border-radius: 0 0 18px 18px;
  border: 0 !important;
}
.calc-result-row.year .calc-result-label,
.calc-result-row.year .calc-result-value { color: #fff; }
.calc-result-label { font-size: 16px; color: #555; }
.calc-result-value {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px; color: var(--clr-primary);
}
.calc-result-row.year .calc-result-value { font-size: 26px; }

@media screen and (max-width:1000px) {
  .calc-inner {
    flex-direction: column; gap: 40px; padding: 0 20px;
    align-items: stretch;
  }
  .calc-intro, .calc-panel { width: 100%; flex: none; }
  .calc-intro { text-align: left; }
  .calc-intro .calc-illust { margin: 30px auto 0; }
  .section.calc > .tit_area { text-align: left; padding: 0 20px; margin-bottom: 24px; }
}
@media screen and (max-width:640px) {
  .section.calc { padding: var(--section-py-mo) 0; }
  /* NOTE: 계산기 인트로 본문은 모바일 2줄 wrap 목표로 별도 사이즈 (2026-05) */
  .calc-intro p { font-size: clamp(13px, 4vw, 17px); line-height: 1.55; }
  .calc-intro .calc-illust { width: 160px; height: 160px; background-size: 480px 480px; background-position: -160px -320px; margin: 20px auto 0; }
  .calc-panel { padding: 30px 28px; }
  .calc-grades { grid-template-columns: repeat(3, 1fr); }
  /* NOTE: 의도적 토큰 미적용 — 결과값/UI 컴포넌트 별도 관리 (2026-05) */
  .calc-result-value { font-size: 18px; }
  /* NOTE: 의도적 토큰 미적용 — 결과값/UI 컴포넌트 별도 관리 (2026-05) */
  .calc-result-row.year .calc-result-value { font-size: 20px; }
}

/* ============================================================
   신규 섹션 7: 최종 CTA (앱 다운로드)
   ============================================================ */
/* N1: PPT 13쪽 매칭 — 흰 배경 + 검정 텍스트 + 오렌지 둥근 다운로드 버튼 */
.section.cta-final {
  padding: var(--section-py) 0; text-align: center; position: relative;
  background: #ffffff;
}
.section.cta-final .tit_area h2 {
  color: var(--clr-text); font-size: 44px; line-height: 1.3;
  font-weight: var(--fw-extrabold);
}
.section.cta-final .tit_area .text {
  color: var(--clr-text); opacity: 1;
  font-size: 20px; margin-top: 16px; margin-bottom: 0;
  font-weight: var(--fw-medium);
}
.cta-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 50px auto 40px;  /* 60→50, 50→40 살짝 압축 */
  max-width: 1100px;
  padding: 0;
  list-style: none;
  text-align: center;
}
.cta-benefits li { color: var(--clr-text); }
.cta-benefits h3 {
  font-size: 22px; font-weight: var(--fw-bold); margin-bottom: 14px;
  color: var(--clr-text);
  font-family: var(--font-display);
}
.cta-benefits p {
  font-size: 15px; line-height: 1.6; color: var(--clr-accent-orange);
  font-weight: var(--fw-regular);    /* bold → regular (2026-05-11) */
}
@media screen and (max-width:640px) {
  /* M10: 모바일 갭 좁히기 (제목↔첫 카드 간격) */
  .cta-benefits { grid-template-columns: 1fr; gap: 20px; margin: var(--tit-to-body-mo) auto 28px; }
  .cta-benefits h3 { font-size: var(--fs-h3-mobile, 18px); margin-bottom: 8px; }
  .cta-benefits p { font-size: var(--fs-body-mobile, 14px); }
  .cta-icon { margin: 0 auto 8px; }
}
.cta-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}
/* C2: 흰 둥근 + 컬러 아이콘 + 검정 한글 + 화살표 (사용자 첨부 이미지) */
.cta-buttons a {
  display: inline-flex; align-items: center; gap: 12px;
  background: #ffffff; color: var(--clr-text);
  padding: 18px 32px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.08);
  font-family: var(--font-display);
  font-weight: var(--fw-bold); font-size: 17px;
  transition: 0.25s;
  min-width: 280px;
  justify-content: flex-start;
  text-align: left;
}
.cta-buttons a:hover {
  transform: translateY(-3px);
}
.cta-buttons a > span:first-of-type { flex: 1; }
.cta-buttons a .arrow { font-weight: var(--fw-bold); margin-left: 6px; flex-shrink: 0; }
.cta-buttons img { display: block; width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
@media screen and (max-width:640px) {
  .section.cta-final { padding: var(--section-py-mo) 0; }
  /* v4: CTA H2 + 부제 가운데 정렬 (모바일) */
  .section.cta-final .tit_area { text-align: center !important; }
  .section.cta-final .tit_area h2 { font-size: var(--fs-h2-mobile, 28px); text-align: center !important; }
  .section.cta-final .tit_area .text { font-size: var(--fs-h3-mobile, 18px); font-weight: var(--fw-medium); text-align: center !important; margin-top: var(--tit-to-text-mo); }    /* 카드 h3와 weight 통일 (ExtraBold), 2026-05-08 — PC 매핑 동일 (2026-05-11) */
  .cta-buttons {
    justify-content: center;   /* 버튼들도 가운데 */
  }
  .cta-buttons a {
    font-size: 16px; padding: 14px 22px;    /* 14 → 16 (CTA 다운로드 버튼 가독성, 2026-05-11) */
    min-width: 0; width: 100%; max-width: 330px;
    gap: 10px;
  }
  .cta-buttons img { width: 22px; height: 22px; }
}

/* ============================================================
   접근성 / utility
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .fadeinup, .fadeinleft, .fadeinright {
    opacity: 1 !important; transform: none !important;
    transition: none !important;
  }
  .main .image1 { animation: none !important; opacity: 1 !important; }
  .homrun .image6 { animation: none !important; }
}

/* ===== 11. 이벤트 (기획 슬라이드 12) — C6: 좌측 여백 + 카드 축소 ===== */
.section.event-promo { padding: var(--section-py) 40px; max-width: 1200px; margin: 0 auto; box-sizing: border-box; }
.section.event-promo .tit_area { position: relative; margin-bottom: 32px; }
.event-main-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.event-main-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-main-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.event-main-card .thum {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: #f5f5f5;
  max-width: 340px;  /* C6: 카드 너무 큰 것 축소 */
  margin: 0 auto;
}
.event-main-card .thum img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-main-card h3 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-main-card .date { margin-top: 8px; font-size: 14px; color: #888; }
@media screen and (max-width: 640px) {
  .section.event-promo { padding: 48px 20px; box-sizing: border-box; }
  .section.event-promo .tit_area { padding: 0; }
  .event-main-list { grid-template-columns: 1fr; gap: 16px; padding: 0; margin: var(--tit-to-body-mo) 0 0; }
  .event-main-card { width: 100%; box-sizing: border-box; }
  /* M9: 이벤트 카드 썸네일 좌우폭을 글자/날짜와 일치 (max-width 340 해제) */
  .event-main-card .thum { max-width: 100%; margin: 0; border-radius: 12px; }
  .event-main-card h3 { font-size: var(--fs-h3-mobile, 18px); }
  .event-main-card .date { font-size: var(--fs-caption-mobile, 13px); }
}

/* ===== 이벤트 섹션 배경 — calc(회)/question(흰) 다음 교차 회색, 2026-05-08 ===== */
.section.event-promo {
  position: relative;
}
.section.event-promo::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100vw; height: 100%;
  background-color: var(--clr-bg-soft);
  z-index: -1;
}

/* ===== FAQ 좌우 스크롤 (PC) — 1카드/뷰 + 옆 카드 살짝 ===== */
@media screen and (min-width: 641px) {
  /* v6: 이벤트 섹션과 동일 컨테이너 구조 — 카드 좌측 시작점 정확히 일치 */
  .section.question {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;        /* v9: padding-bottom 0 → 100 — 위·아래 섹션과 시각 분리 (2026-05-08) */
    box-sizing: border-box;
  }
  .section.question .box_area {
    max-width: 1080px;        /* 이벤트 .event-main-list와 동일 */
    margin: 40px auto 0;
    padding: 8px 0 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 24px;
  }
  /* spacer 제거 — box_area 자체가 이벤트 grid와 동일한 max-width/margin */
  .section.question .box_area::before,
  .section.question .box_area::after { display: none; }
  .section.question .box_area .qna_box {
    flex: 0 0 auto;
    width: 360px;             /* 이벤트 카드 폭과 동일 (1080/3) */
    min-width: 0;
    height: 260px;
    overflow: hidden;
    padding: 32px 28px;
    box-sizing: border-box;
  }
  .section.question .qna_box .quest {
    margin-bottom: 14px !important;
    font-size: 20px !important;                /* 16 → 20 */
    font-weight: 700 !important;
    line-height: 1.4 !important;
  }
  .section.question .qna_box .answer {
    font-size: 15px;                           /* 13 → 15 */
    line-height: 1.55;
    color: #4a4a4a;
  }
  .section.question .box_area::-webkit-scrollbar { height: 8px; }
  .section.question .box_area::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15); border-radius: 8px;
  }
}
@media screen and (max-width: 640px) {
  /* FAQ 모바일 — 위·아래 섹션과 시각 분리 (60→64, bottom 48→64), 2026-05-08 */
  .section.question { padding: 64px 0; }
  .section.question .tit_area { margin-bottom: var(--tit-to-body-mo); }    /* baseline 통일 (8→24), 2026-05-08 */
  .section.question .box_area {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    max-width: none;
    padding: 0 20px;
    margin-top: 0;
    gap: 12px;
  }
  .section.question .box_area::before,
  .section.question .box_area::after { display: none; }
  .section.question .box_area .qna_box {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex: 0 0 auto;
  }
  .section.question .dot_area { display: none; }
  .section.question .qna_box .quest { font-size: var(--fs-h3-mobile, 18px); }
  .section.question .qna_box .answer { font-size: var(--fs-body-mobile, 14px); }
}

/* ===== 모바일 calc 좌우 여백 최소화 — 패널 폭 최대 ===== */
@media screen and (max-width: 640px) {
  .calc-inner { padding: 0 8px; }
  .calc-panel { padding: 24px 14px; }
  .calc-grade { font-size: var(--fs-caption-mobile, 13px); }
  .calc-field-label { font-size: var(--fs-body-mobile, 14px); }
  /* NOTE: 의도적 토큰 미적용 — 결과값/UI 컴포넌트 별도 관리 (2026-05) */
  /* .calc-field-value: 20px 하드코딩 유지 */
  .calc-result-title { font-size: var(--fs-caption-mobile, 13px); }
}

/* ===== Section1 — 페인포인트 3카드 (PPT 슬라이드 2 그대로) ===== */
.section1 {
  height: auto !important;
  padding: var(--section-py) 0 !important;
  background: #fff;
}
.section1::after { display: none !important; }
.section1 .tit_area h2 {
  font-size: 44px;
  font-weight: 700;    /* PC H2 톤 통일 — Bold (2026-05-11) */
  color: #1a1a1a;
}
/* squiggle 강조 표시 제거됨 — 클래스는 인라인 텍스트로만 유지 */
.squiggle { display: inline; }

.section1 .pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 20px;
  list-style: none;
}
.section1 .pain-grid li {
  text-align: center;
}
.section1 .pain-img {
  width: 100%;
  aspect-ratio: 16 / 9;   /* PPT 원본 비율 */
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
}
.section1 .pain-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section1 .pain-grid h3 {
  margin-top: 28px;
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
}
.section1 .pain-grid p {
  margin-top: 18px;
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 1.55;
  color: var(--clr-primary-dark);
}

@media screen and (max-width: 1000px) {
  .section1 { padding: var(--section-py) 0 !important; }    /* bottom 60 → 80 통일 (2026-05-08) */
  .section1 .tit_area h2 { font-size: 32px; }
  .section1 .pain-grid { gap: 24px; margin-top: 50px; }
  .section1 .pain-grid h3 { font-size: 20px; margin-top: 20px; }
  .section1 .pain-grid p { font-size: 15px; margin-top: 12px; }
}
@media screen and (max-width: 640px) {
  .section1 { padding: var(--section-py-mo) 0 !important; height: auto !important; }
  .section1 .tit_area h2 { font-size: var(--fs-h2-mobile, 28px); }
  .section.solution3d .tit_area h2,
  .section.steps5     .tit_area h2,
  .section.expand8    .tit_area h2,
  .section.safety3    .tit_area h2,
  .section.persona    .tit_area h2,
  .section.calc       .tit_area h2,
  .section.event-promo .tit_area h2 { font-size: var(--fs-h2-mobile, 28px); }
  .section1 .pain-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: var(--tit-to-body-mo);    /* baseline 36px 통합, 2026-05-08 */
  }
  .section1 .pain-grid h3 { font-size: var(--fs-h3-mobile, 18px); font-weight: var(--fw-extrabold); }
  .section1 .pain-grid p { font-size: var(--fs-body-mobile, 14px); font-weight: var(--fw-regular); }    /* bold → regular (2026-05-11) */
}

/* ============================================================
   Step 4 — 글로벌 section padding 토큰 + alternating + 그림자
   ============================================================ */

/* G5: section-py 토큰 적용 */
.section.solution3d,
.section.steps5,
.section.expand8,
.section.safety3,
.section.persona,
.section.calc,
.section.event-promo,
.section.cta-final {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
@media screen and (max-width: 640px) {
  .section.solution3d,
  .section.steps5,
  .section.expand8,
  .section.safety3,
  .section.persona,
  .section.calc,
  .section.event-promo {
    padding-top: var(--section-py-mo);
    padding-bottom: var(--section-py-mo);
  }
}

/* alternating: 명시적 — nth-child는 wrap 자식 + container 자식 두 그룹으로 나뉘어 의도대로 안 매핑됨 (2026-05) */
.section.solution3d,
.section.demo,
.section.safety3,
.section.calc,
.section.event-promo {
  background: var(--clr-bg-soft);
}
.section.steps5,
.section.expand8,
.section.persona,
.section.question,
.section.banner,
.section.cta-final {
  background: #fff;
}

/* layout.css의 구형 section::after #f5f5f5 배경 무력화 */
.section1::after,
.section3::after,
.section.homrun::after { display: none !important; }

/* ============================================================
   Step 5 — 페인포인트/솔루션/시연 본문 weight 400→500
   ============================================================ */
.section1 .pain-grid p { font-weight: var(--fw-regular); }    /* bold → regular (2026-05-11) */
.solution3d-list p { font-weight: var(--fw-regular); }    /* bold → regular (2026-05-11) */
/* 시연(section2/section3/homrun) 텍스트 */
.section2 .tit_area .text,
.section3 .tit_area .text,
.section.homrun .tit_area .text { font-weight: var(--fw-regular); }

/* D1: PC 야구장 배경 이미지 (section2::before, section3::before) 제거 */
.section2::before,
.section2.bg_type2::before,
.section3::before { display: none !important; }
/* section2/3/homrun 고정 높이 해제 — 컨텐츠 기준 auto + padding 적용 */
.section2 { height: auto !important; min-height: 0 !important; padding: var(--section-py) 40px; }
.section3 { height: auto !important; min-height: 0 !important; padding: var(--section-py) 40px; text-align: center; }
.section.homrun { height: auto !important; min-height: 0 !important; padding: var(--section-py) 40px; text-align: center; }
/* section2/3/homrun 텍스트 color 토큰 적용 */
.section2 .tit_area h2,
.section3 .tit_area h2,
.section.homrun .tit_area h2 { color: var(--clr-text); font-weight: var(--fw-bold); }    /* PC H2 톤 통일 — Bold (2026-05-11) */
.section2 .tit_area .text,
.section3 .tit_area .text,
.section.homrun .tit_area .text { color: var(--clr-accent-orange); }
/* D2 — 시연 라인 아이콘 컨테이너 */
.demo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text);
  flex-shrink: 0;
}
.demo-icon svg { display: block; }
@media screen and (max-width: 640px) {
  .demo-icon svg { width: 64px; height: 64px; }
  .section2 { padding: var(--section-py-mo) 20px; }
  .section3 { padding: var(--section-py-mo) 20px; }
  .section.homrun { padding: var(--section-py-mo) 20px; }
}
/* Z2 — 안전성 라인 아이콘 컨테이너 */
.safety-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent-orange);
  margin-bottom: 20px;
}
.safety-icon svg { display: block; }
.safety3-list .ico { display: none !important; }

/* Step 6: 5스텝 캐러셀 임계값 1100→1024 — 위 섹션의 @media 1024px 블록에서 처리됨 */

/* ============================================================
   Step 7 — expand8 320px 1열 폴백 + safety3 배경 교체
   ============================================================ */

/* E1: expand8 현재 2×4 유지, 320px 이하만 1열 */
@media screen and (max-width: 359px) {
  .expand8-list { grid-template-columns: 1fr !important; }
}

/* U1: B2B 페르소나 중복 제목 숨김 */
.section.persona.b2b .tit_area { display: none; }
/* persona b2b 배경 통일 */
.section.persona.b2b::after { background-color: var(--clr-bg-soft); }

/* ============================================================
   Step 8 — CTA 3D 아이콘 스타일
   ============================================================ */
.cta-icon {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 20px;
}
@media screen and (max-width: 640px) {
  .cta-icon { width: 80px; height: 80px; margin-bottom: 14px; }
}

/* CTA 다운로드 버튼 min-width */
.cta-buttons a { min-width: var(--btn-download-min-w); justify-content: center; }

/* ============================================================
   Step 8 — 푸터 다크 네이비 (거울 selector — specificity 0,3,1 매치)
   ============================================================ */
.footer footer .footer_area { background: var(--clr-footer-bg); }
.footer footer .footer_area ul { color: var(--clr-footer-fg); }
.footer footer .footer_area ul li { color: var(--clr-footer-fg); }
.footer footer .footer_area ul li a { color: var(--clr-footer-fg); }
.footer footer .footer_area address { color: var(--clr-footer-fg); }
.footer footer .footer_area address p { color: var(--clr-footer-fg); line-height: 30px; }
.footer footer .footer_area address .mail a { color: var(--clr-footer-fg); }
.footer footer .footer_area address .copy { color: var(--clr-footer-fg); }
/* 푸터 전체 wrapping div 배경도 다크 네이비 */
.footer { background: var(--clr-footer-bg); }

/* ============================================================
   v4 — FAQ 사람 아이콘(person01/02) 완전 제거 (PC + 모바일)
   ============================================================ */
.section.question .qna_box .quest {
  padding-left: 0 !important;  /* layout.css 100px / 60px override */
  margin-bottom: 16px !important;
}
.section.question .qna_box .quest::before { display: none !important; }

/* ============================================================
   v3 — 모든 섹션 .tit_area 좌측 패딩 PC 40 통일 (사용자 "왼쪽 패딩 다 달러")
   ============================================================ */
@media screen and (min-width: 1001px) {
  .section .tit_area,
  .section1 .tit_area {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }
  /* event-promo는 자체가 max-width 1200 + padding 40 — tit_area는 padding 0 */
  .section.event-promo .tit_area {
    padding-left: 0;
    padding-right: 0;
  }
}

/* C7: 푸터 좌측 패딩 + 좌측 정렬 + 로고 2개 */
.footer footer .footer_area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  text-align: left;
  box-sizing: border-box;
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.footer-logo {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}
.footer-logo-pay { height: 36px; }
.footer-logo-corp { height: 24px; }
@media screen and (max-width: 640px) {
  .footer footer .footer_area { padding: 40px 24px 32px; font-size: var(--fs-caption-mobile, 13px); }
  .footer footer .footer_area address p { font-size: var(--fs-caption-mobile, 13px); line-height: 1.6; margin-bottom: 2px; }
  .footer footer .footer_area address .copy { margin-top: 14px; }
  .footer footer .footer_area ul li { font-size: var(--fs-caption-mobile, 13px); }
  .footer footer .footer_area ul.footer_link_in li:first-child { padding-left: 0; }
  .footer-logos { gap: 14px; margin-bottom: 24px; }
  .footer-logo-pay { height: 28px; }
  .footer-logo-corp { height: 20px; }
}

/* ============================================================
   묶음 2 — 시연 섹션 (.section.demo) 통합 + 2×2 그리드 (P2+C3+M3)
   ============================================================ */
.section.demo {
  padding: var(--section-py) 0;
  text-align: center;
}
.demo-grid {
  /* PC1: 좌우 밸런스 — max-width 1100→960, gap 60→80 (한의심 권장) */
  max-width: 960px;
  margin: 60px auto 0;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 80px;
}
.demo-item {
  display: flex;
  align-items: center;
  gap: 28px;
  text-align: left;
}
.demo-icon-img {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.demo-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: var(--fw-extrabold);
  color: var(--clr-text);
  margin: 0 0 8px;
  line-height: 1.3;
}
.demo-text p {
  font-size: 16px;
  font-weight: var(--fw-regular);    /* bold → regular (2026-05-11) */
  color: var(--clr-accent-orange);
  line-height: 1.6;
  margin: 0;
}
@media screen and (max-width: 1000px) {
  .demo-grid { grid-template-columns: 1fr; gap: 28px; padding: 0 24px; }
}
@media screen and (max-width: 640px) {
  /* v4: 시연 모바일 — 회색 영역 갭 더 축소 */
  .section.demo { padding: var(--section-py-mo) 0; }    /* 사용자 피드백2 "여백이 좁음" 반영, 32/24 → 48 복구 (2026-05-08) */
  .demo-grid { gap: 16px; padding: 0 20px; margin-top: var(--tit-to-body-mo); }   /* 24 → 16 */
  .demo-item {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
  .demo-icon-img { flex: 0 0 48px; width: 48px; height: 48px; }   /* 56→48 */
  .demo-text { width: 100%; }
  .demo-text h3 { font-size: var(--fs-h3-mobile, 18px); margin-bottom: 4px; font-weight: var(--fw-extrabold); }
  .demo-text p { font-size: var(--fs-body-mobile, 14px); line-height: var(--lh-normal, 1.5); }
}

/* ============================================================
   C8 — 우하단 플로팅 다운로드 버튼 (PC + 모바일 항시 노출)
   클릭 시 페이지 최상단 스크롤 (Hero 다운로드 버튼으로 유도)
   ============================================================ */
.float-download {
  position: fixed;
  right: 36px;
  bottom: 40px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 38px 22px 28px;  /* PC 더 키움 */
  border: none;
  border-radius: 100px;
  background: var(--clr-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 22px;  /* 18→22 */
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.float-download:hover {
  transform: translateY(-3px);
}
.float-download:active { transform: translateY(-1px); }
.float-download__logo {
  display: block;
  width: 64px;   /* PC 더 키움 34→64 (좌우 약 1.9배) */
  height: 44px;  /* PC 더 키움 34→44 (높이 약 1.3배) */
  object-fit: contain;
}
.float-download__text { line-height: 1; }
@media screen and (max-width: 640px) {
  /* C4: 모바일 — bottom 패딩 키움 + 강제 표시 */
  .float-download {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999 !important;
    right: 10px;        /* 20 → 10 (우측에 더 붙임) */
    bottom: 28px;                                     /* fallback */
    bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px));
    padding: 14px 20px 14px 16px;
    /* NOTE: 의도적 토큰 미적용 — UI 컴포넌트 별도 관리 (2026-05) */
    font-size: 15px;
    gap: 8px;
  }
  .float-download__logo { width: 36px; height: 24px; }
}

/* ============================================================
   묶음 1 — 모바일 글로벌 정리 (M5+M6+M7) + Hotfix
   - 모든 섹션 제목 크기 통일 + 가운데 정렬 + 단어 단위 줄바꿈
   - 좌우 여백 통일 (20px)
   - Hero(.main) / cta-final 풀블리드 / .section1 단독 클래스는 별도 처리
   ============================================================ */
@media screen and (max-width: 640px) {
  /* 제목 통일: 24px ExtraBold (+2), 가운데, 단어 단위 줄바꿈 */
  .section:not(.main):not(.cta-final) .tit_area h2 {
    font-size: var(--fs-h2-mobile, 28px);
    font-weight: var(--fw-bold);    /* PC 매핑 동일 — Bold 700 (2026-05-11) */
    color: var(--clr-text);
    text-align: center;
    line-height: var(--lh-snug, 1.35);
    word-break: keep-all;
    margin-bottom: 10px;
    /* 타이틀만 좌우 패딩 상쇄 — 화면 끝까지 사용 (2026-05-08) */
    margin-left: -16px;
    margin-right: -16px;
  }
  .section:not(.main):not(.cta-final):not(.steps5) .tit_area .text,
  .section:not(.main):not(.cta-final):not(.steps5) .tit_area p.text {
    text-align: center;
    font-size: var(--fs-body-mobile, 14px);
    line-height: var(--lh-normal, 1.5);
  }
  /* steps5 .text "미리보는 홈런페이" — 카드 h3와 동일 크기/weight (--fs-h3-mobile + ExtraBold), 2026-05-08 */
  /* 좌우 여백 통일 — 풀블리드 섹션은 자체 padding 유지 */
  .section:not(.main):not(.cta-final) {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  .section:not(.main):not(.cta-final) .tit_area {
    text-align: center;
    width: 100%;
  }
  /* M7+M8: "바로가기" 모바일에선 H2 아래 새 줄 + 우측 정렬 */
  .section .tit_area .go {
    position: static !important;
    display: block;
    text-align: right;
    margin-top: 20px;
    width: 100%;
    right: auto;
  }
  .section .tit_area .go p { padding-right: 18px; font-size: 15px; }
  /* .section1 (페인포인트)은 .section 클래스 단독 X — 별도 룰 */
  .section1 {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  .section1 .tit_area {
    text-align: center;
    width: 100%;
  }
  .section1 .tit_area h2 {
    font-size: var(--fs-h2-mobile, 28px);
    font-weight: var(--fw-bold);    /* PC 매핑 동일 — Bold 700 (2026-05-11) */
    color: var(--clr-text);
    text-align: center;
    line-height: var(--lh-snug, 1.35);
    word-break: keep-all;
    margin-bottom: 10px;
    /* 타이틀만 좌우 패딩 상쇄 — 화면 끝까지 사용 (2026-05-08) */
    margin-left: -16px;
    margin-right: -16px;
  }
  .section1 .tit_area .text {
    text-align: center;
    font-size: var(--fs-body-mobile, 14px);
    line-height: var(--lh-normal, 1.5);
  }
}

/* ============================================================
   Legal pages (이용약관 / 개인정보처리방침)
   ============================================================ */
.legal-page { padding: 40px 24px 60px; max-width: 800px; margin: 0 auto; box-sizing: border-box; color: var(--clr-text); font-family: var(--font-display); }
.legal-page h1 { font-size: 28px; font-weight: var(--fw-bold); margin-bottom: 8px; line-height: 1.3; }
.legal-page .legal-meta { font-size: 14px; color: var(--clr-text-mute, #666); margin-bottom: 28px; }
.legal-page h2 { font-size: 18px; font-weight: var(--fw-bold); margin: 36px 0 12px; line-height: 1.4; }
.legal-page h3 { font-size: 16px; font-weight: var(--fw-semibold); margin: 24px 0 10px; line-height: 1.4; }
.legal-page p { font-size: 15px; line-height: 1.75; margin: 0 0 14px; }
.legal-page ul { margin: 0 0 16px; padding-left: 20px; }
.legal-page ul li { font-size: 15px; line-height: 1.75; margin-bottom: 6px; list-style: disc; }
.legal-page strong { font-weight: var(--fw-bold); }
.legal-page .legal-intro { font-size: 15px; line-height: 1.75; margin-bottom: 28px; }
@media screen and (max-width:640px) {
  .legal-page { padding: 24px 16px 40px; }
  .legal-page h1 { font-size: 22px; }
  .legal-page h2 { font-size: 16px; margin: 28px 0 10px; }
  .legal-page h3 { font-size: 15px; }
  .legal-page p,
  .legal-page ul li,
  .legal-page .legal-intro { font-size: 14px; line-height: 1.7; }
}
