/* ===== 휴대폰 간격·크기 맞춤 (2026-10-04 형님 「간격이나 크기 등 수정하면 좋을 게 있는지 … 꼼꼼하게」 → 「푸터메일은 통일해주고」)
   767px 이하에서만 쓴다. 문구·순서·주소·제목·마크업은 그대로 두고 글자 크기와 누르는 범위만 고친다.
   원래 규칙은 각 파일에 그대로 있고 이 파일이 뒤에서 덮는다. 빼면 지금(10-04 15:15 운영) 모습으로 돌아간다.
   1) 효과 줄이기 — 버튼을 푸터 맨 아래 줄(개인정보처리방침·이용약관 옆)로 옮긴다(옮기는 것은 motion-explain.js 0번).
      떠 있던 버튼 자리 body 아래 62px(interaction-polish.css)와 푸터 밑 흰 띠 146px 가 없어진다
   2) 모바일 메인 작은 글자 — 측정 탭 8px·서비스 연결 카드 설명 9px·성장 흐름 설명 9~10px·넘기기 안내 10px·인사이트 분류 10px
   3) 하위 페이지 — 휴대폰에서 12~13px 로 줄던 설명 문장은 14px, 짧은 항목 이름은 13px(법률마케팅·개발·AI)
      원래 규칙이 좁은 화면에서만 줄이는 것은 같은 폭 조건으로만 덮는다(그보다 넓은 폭에서 오히려 작아지지 않게)
   4) 누르는 자리 — 보이는 모양은 그대로 두고 누르는 범위만 넓힌다(메뉴 버튼·법률 페이지 안 이동 줄·위치 표시·푸터 이메일) ===== */

@media (max-width: 767px) {
  /* 1) 효과 줄이기 */
  body { padding-bottom: 0; }
  html body .site-footer .cv-footer-bottom .rk-motion-toggle {
    position: relative; inset: auto; display: inline-flex; align-items: center; align-self: center; /* inset: 떠 있을 때 쓰던 right·bottom 12px 가 relative 에서 자리를 밀지 않게 */
    margin: 0; max-width: none; min-height: 32px; padding: 0 12px; transform: none;
    border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 38%, transparent); border-radius: 999px;
    background: transparent; box-shadow: none; color: inherit; font-size: 11px; line-height: 1; white-space: nowrap;
  }
  html body .site-footer .cv-footer-bottom .rk-motion-toggle[aria-pressed="true"] { background: color-mix(in srgb, currentColor 14%, transparent); }
  html body .site-footer .cv-footer-bottom .rk-motion-toggle::after { content: ""; position: absolute; inset: -6px -4px; }

  /* 2) 모바일 메인(m/) */
  /* 측정 탭(광고 카드 화면 선택): 8px·높이 34px → 12px·44px. 네 칸이 한 줄에 그대로 들어간다 */
  html body.rk-mobile-live-preview .st-mobile-measure-lab .mrc-controls button { font-size: 12px; min-height: 44px; padding: 7px 8px; }
  html body.rk-mobile-live-preview .st-mobile-measure-lab .mrc-controls .mrc-pause { min-width: 44px; }
  /* 서비스 연결 카드 설명: mobile-live-preview.css 가 !important 로 9px → 12px */
  html body.rk-mobile-live-preview .rk-brand-gate .service-card p { font-size: 12px !important; line-height: 1.4 !important; }
  /* 성장 흐름(ALL CONNECTED): 장면 설명·상태·조작 안내 9px → 11px, 단계 설명·보기 단추 10px → 12px */
  html body.rk-mobile-live-preview .rf-scene-note span,
  html body.rk-mobile-live-preview .rf-status > span,
  html body.rk-mobile-live-preview .rf-interaction-hint { font-size: 11px; }
  html body.rk-mobile-live-preview .rf-step small,
  html body.rk-mobile-live-preview .rf-views button { font-size: 12px; }
  /* 서비스 카드 넘기기 안내 10px → 12px */
  html body.rk-mobile-live-preview .rk-gd-root .gesture-note { font-size: 12px; }
  /* 인사이트 분류·읽는 시간 10px → 12px */
  html body.studio-home .je-journal .je-topics .je-topic-link > .je-topic-meta { font-size: 12px; }

  /* 3) 하위 페이지 본문 */
  /* 법률마케팅: 설명 문장 13px → 14px */
  html body .law-editorial .law-plan-grid dd,
  html body .le-question,
  html body .law-team-network article p,
  html body .law-editorial .law-editorial-rows p,
  html body .law-measure-main dd,
  html body .law-editorial .law-intake-flow p,
  html body .law-editorial .law-report-grid p,
  html body .law-studio .law-measure-notes p,
  html body .law-editorial .law-output-list dd,
  html body .law-plan-foot p { font-size: 14px; }
  /* 법률 안내 문장은 law-studio.css 가 !important 로 13px */
  html body .law-note { font-size: 14px !important; }
  /* 법률마케팅: 짧은 항목 이름 12px → 13px */
  html body .law-process span,
  html body .law-efficiency-grid b,
  html body .law-studio .law-journey strong { font-size: 13px; }
  /* 개발: 범위 목록 12px → 13px, 구조 예시 설명 12px → 14px */
  html body .dev-capability li { font-size: 13px; }
  html body .dev-map-status p { font-size: 14px; }
  /* AI: 사례 설명·본문 12~13px → 14px, 짧은 항목 12px → 13px */
  html body.ai-page .lab-cap-teaser,
  html body.ai-page .ax-case-detail p,
  html body.ai-page .ax-case-detail summary,
  html body.ai-page .lab-ax-measure p,
  html body .ai-studio .lab-control-grid p { font-size: 14px; }
  html body.ai-page .ax-case-note,
  html body.ai-page .lab-handover-items small,
  html body.ai-page .lab-agent-row span,
  html body.ai-page .lab-ax-shift span,
  html body .ai-studio .lab-rag-side p { font-size: 13px; }

  /* 4) 누르는 자리 — 보이지 않는 덧칸(::after)으로 누르는 범위만 넓힌다 */
  /* 법률 페이지 안 이동 줄: 보이는 높이 32px 그대로, 누르는 범위 44px(좌우는 옆 칸과 겹치지 않게 10px) */
  html body .law-jump-nav a { position: relative; }
  html body .law-jump-nav a::after { content: ""; position: absolute; inset: -6px -10px; }
  /* 위치 표시(홈 / …): 글자 자리는 그대로, 누르는 범위 위아래 44px */
  html body .page-hero .crumb a { display: inline-block; padding: 15px 12px; margin: -15px -12px; }
  /* 푸터 이메일: 위아래 12px 씩 */
  html body .cv-footer-business dd a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  /* 푸터 아래 줄 링크: 600px 이하에만 있던 44px 를 767px 까지 */
  html body .cv-footer-bottom a { min-height: 44px; }
  /* 모바일 메인 메뉴 버튼: 보이는 세 줄은 그대로, 누르는 폭 30px → 44px */
  html body.rk-mobile-live-preview .site-header.rk-hero-header .menu-toggle { position: relative; }
  html body.rk-mobile-live-preview .site-header.rk-hero-header .menu-toggle::after { content: ""; position: absolute; inset: 0 -7px; }
}
/* 하위 페이지 메뉴 버튼: 390px 이하에서 36px 로 줄던 것(benchmark-nav.css) → 누르는 폭 44px */
@media (max-width: 390px) {
  html body .rk-editorial-nav .menu-toggle { position: relative; }
  html body .rk-editorial-nav .menu-toggle::after { content: ""; position: absolute; inset: 0 -4px; }
}
/* 원래 규칙이 600·560·430px 이하에서만 줄이던 것은 같은 폭에서만 덮는다 */
@media (max-width: 740px) {
  html body .dev-jump a { font-size: 13px; }
}
@media (max-width: 600px) {
  html body .law-studio .law-compare p { font-size: 14px; }
  html body .lw-signal-card > strong { font-size: 13px; }
}
@media (max-width: 560px) {
  html body .law-efficiency-outcome strong { font-size: 13px; }
}
@media (max-width: 430px) {
  html body .dev-example-flow p { font-size: 13px; }
}
