/* PUB-00_홈 · 로그인 전 — 피그마 사본 jgif7JZDVyB2H6d5EUqV7u · 데스크톱 2222:6405 · 모바일 375 2222:6621 (디자인 변경이력 V2 11.04 신규 · 2026-11-05)
   맨 위(인증 순서 3단계 + 로그인 카드)와 「베리북스가 처음인가요?」 띠만 이 파일 · 검색 · 추천 도서 · 다독회원 · 공지 · FAQ 는 STU-01 (pub-home-1014.css) 그대로
   개발(10046)도 같은 파일을 씀(디자인 폴더 css 가 먼저) */

/* ── 맨 위 ── */
.hg-top { padding-top: 64px; background: #fff; }
.hg-top__row { display: flex; gap: 48px; align-items: flex-start; }
.hg-steps-wrap { flex: 1 0 0; min-width: 0; }
.hg-lead { margin: 0 0 12px; font-size: 16px; font-weight: 500; line-height: 26px; letter-spacing: -0.08px; color: #444; }
.hg-title { margin: 0; padding-bottom: 16px; border-bottom: 1px solid #e8eeea;
            font-family: 'NanumSquare Neo', 'NanumSquareNeo', sans-serif; font-weight: 700; font-size: 24px; line-height: 34px; letter-spacing: -0.48px; color: #333; }
.hg-steps { display: flex; gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.hg-step { position: relative; flex: 1 0 0; min-width: 0; height: 300px; padding: 32px 24px; overflow: hidden; border-radius: 20px; box-sizing: border-box;
           display: flex; flex-direction: column; gap: 8px; }
.hg-step--level { background: linear-gradient(127.23deg, #fff 0%, #eaf8e6 83.333%); }
.hg-step--rr    { background: linear-gradient(127.23deg, #fff 0%, #e8eff9 83.333%); }
.hg-step--tr    { background: linear-gradient(127.23deg, #fff 0%, #efebf9 83.333%); }
.hg-step__no { margin: 0; font-size: 14px; font-weight: 500; line-height: 22px; letter-spacing: -0.07px; color: #228a4f; }
.hg-step--rr .hg-step__no { color: #3b76ba; }
.hg-step--tr .hg-step__no { color: #755dc0; }
.hg-step__name { margin: 0; font-family: 'NanumSquare Neo', 'NanumSquareNeo', sans-serif; font-weight: 700; font-size: 20px; line-height: 28px; letter-spacing: -0.4px; color: #333; }
.hg-step__desc { position: relative; z-index: 1; margin: 0; font-size: 14px; line-height: 22px; letter-spacing: -0.07px; color: #666; }
.hg-step__img { position: absolute; left: 92px; top: 164px; width: 128px; height: 128px; object-fit: contain; pointer-events: none; }
.hg-more { display: inline-block; margin-top: 24px; font-size: 16px; font-weight: 600; line-height: 26px; letter-spacing: -0.08px; color: #228a4f; cursor: pointer; }
.hg-more:hover { text-decoration: underline; }

/* 로그인 카드 — 3단계 카드와 위 끝을 맞춤(설명 · 제목 · 선 높이 113px) */
.hg-login { flex: none; width: 340px; height: 300px; margin-top: 113px; padding: 24px; box-sizing: border-box; border-radius: 20px; background: #f6f9f7;
            display: flex; flex-direction: column; gap: 16px; }
.hg-login__who { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #e8eeea; }
.hg-login__who p { margin: 0; font-size: 16px; line-height: 26px; letter-spacing: -0.08px; color: #444; }
.hg-login__avatar { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 999px; background: #d5e8d5; }
.hg-btn { display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 999px; box-sizing: border-box;
          font-size: 16px; line-height: 26px; letter-spacing: -0.08px; text-decoration: none; cursor: pointer; }
.hg-btn--primary { background: #228a4f; color: #fff; font-weight: 600; }
.hg-btn--primary:hover { background: #1c7643; }
.hg-btn--line { border: 1px solid #e8eeea; background: #fff; color: #666; }
.hg-btn--line:hover { border-color: #228a4f; color: #228a4f; }

/* ── 서비스 소개 안내 띠 ── */
.hg-intro { padding: 64px 0; background: #eaf8e6; }
.hg-intro__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hg-intro__title { margin: 0 0 8px; font-family: 'NanumSquare Neo', 'NanumSquareNeo', sans-serif; font-weight: 700; font-size: 24px; line-height: 34px; letter-spacing: -0.48px; color: #333; }
.hg-intro__desc { margin: 0; font-size: 16px; line-height: 26px; letter-spacing: -0.08px; color: #444; }
.hg-intro__btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid #e8eeea; border-radius: 999px;
                 background: #fff; font-size: 14px; line-height: 22px; letter-spacing: -0.07px; color: #666; white-space: nowrap; text-decoration: none; cursor: pointer; }
.hg-intro__btn:hover { border-color: #228a4f; color: #228a4f; }

/* ── 좁은 화면 — 피그마 모바일 375 (2222:6630): 단계 카드 세로(160 높이 · 그림 오른쪽) → 로그인 카드 → 「인증 방법 자세히」 ── */
@media (max-width: 960px) {
    .hg-top { padding-top: 32px; }
    .hg-top__row { flex-direction: column; align-items: stretch; gap: 12px; }
    .hg-steps-wrap { display: contents; }
    .hg-lead { order: 1; margin-bottom: 10px; font-size: 14px; line-height: 22px; color: #666; }
    .hg-title { order: 2; padding-bottom: 0; border-bottom: 0; font-size: 20px; line-height: 28px; letter-spacing: -0.4px; margin-bottom: 12px; }
    .hg-steps { order: 3; flex-direction: column; gap: 12px; margin: 0; }
    .hg-step { height: 160px; flex: none; }
    .hg-step--level { background: linear-gradient(154.47deg, #fff 0%, #eaf8e6 83.333%); }
    .hg-step--rr    { background: linear-gradient(154.47deg, #fff 0%, #e8eff9 83.333%); }
    .hg-step--tr    { background: linear-gradient(154.47deg, #fff 0%, #efebf9 83.333%); }
    .hg-step__img { left: auto; right: 12px; top: 24px; width: 112px; height: 112px; }
    .hg-login { order: 4; width: 100%; height: auto; margin-top: 0; }
    .hg-more { order: 5; margin-top: 4px; font-size: 14px; line-height: 22px; }
    .hg-intro { padding: 40px 0; }
    .hg-intro__row { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hg-intro__title { font-size: 20px; line-height: 28px; }
    .hg-intro__desc { font-size: 14px; line-height: 22px; }
}

/* ── 이달의 추천 도서가 아직 비어 있을 때 (PUB-00 DEV NOTE 「1번 결정」 · 로그인 전 · 후 같음) ── */
.hg-rec-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 24px; padding: 48px 24px; border-radius: 20px; background: #f6f9f7; text-align: center; }
.hg-rec-empty p { margin: 0; font-size: 16px; line-height: 26px; letter-spacing: -0.08px; color: #444; word-break: keep-all; }
.hg-rec-empty .hg-btn { padding: 0 28px; }

/* ── 디자인 변경이력 V2 11.04 추가 「섹션 제목 · 큰 숫자(다독회원 거리 · 권수 등) 굵기 650으로 통일(나눔스퀘어 네오)」 — 로그인 전 홈(PUB-00)만
      650 은 가변 글꼴로만 나오는데, 네이버 글꼴의 나눔스퀘어 네오 가변 파일(.woff · .woff2)은 크롬이 읽지 못함(CDN · 우리 서버 둘 다 시험 · 2026-11-05)
      → 쓸 수 있는 가장 가까운 굵기 Bold(700 · NanumSquareNeoBold)로 통일 · 지금 섹션 제목은 ExtraBold(800)
      로그인 후 메인 홈(STU-01)은 그대로(05 「새 기준」 시안이 검토 중) ── */
body:not([data-auth="member"]) :is(.hg-title, .hg-intro__title, .hm-h2, .h-board__title, .hm-pod__stats dd b) {
    font-family: 'NanumSquareNeoBold', 'NanumSquare Neo', 'NanumSquareNeo', sans-serif; font-weight: 700;
}
