/* 첫 화면 개편 시안 v2 (2026-10-04) — build.py HOME_V2=1 일 때만 첫 화면에 붙는다. 색·글꼴은 site.css 토큰(디자인 A) 그대로
   순서: 첫 화면 → 상황 카드 → 운영자 블록 → 대표 도구 4개 → 자세한 사용법(5분) → 새 가이드·Q&A → 평가 */
.hm-hero .hm-lead { word-break: keep-all; }

/* ── 상황별 입구 «지금 어떤 일이 필요하세요?» ── */
.v2-sits { padding-bottom: 56px; }
.v2-sits .hm-in { position: relative; margin-top: -44px; }
.v2-sitbox { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 40px rgba(15, 42, 74, .10); padding: 30px clamp(18px, 3vw, 34px) 32px; }
.v2-sitbox h2 { margin: 0; font-size: clamp(24px, 2.8vw, 31px); line-height: 1.3; letter-spacing: -.035em; }
.v2-sitbox > p { margin: 6px 0 20px; color: var(--ink-2); font-size: 15.5px; word-break: keep-all; }
.v2-sitgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.v2-sit { display: flex; align-items: flex-start; gap: 14px; min-height: 108px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; }
.v2-sit:hover { transform: translateY(-2px); border-color: var(--orange); background: var(--orange-soft); box-shadow: 0 10px 24px rgba(15, 42, 74, .08); }
.v2-sit:focus-visible, .v2-row:focus-visible, .v2-tool:focus-visible, .v2-case:focus-visible, .v2-more a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.v2-si { flex: none; display: inline-flex; width: 46px; height: 46px; border-radius: 13px; align-items: center; justify-content: center; background: var(--orange-soft); color: var(--orange); transition: background .15s, color .15s; }
.v2-sit:hover .v2-si { background: var(--orange); color: #FFFFFF; }
.v2-st { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; align-self: stretch; }
.v2-st b { font-size: 17.5px; line-height: 1.45; letter-spacing: -.025em; word-break: keep-all; text-wrap: balance; }
.v2-sg { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: var(--accent); }

/* ── 운영자 블록 (상황 카드 바로 아래, 흰 바탕) ── */
.v2-op .hm-in { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: start; padding-block: 56px; }
.v2-kick { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: var(--orange-soft); color: var(--orange); font-size: 13.5px; font-weight: 800; }
.v2-op h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 34px); line-height: 1.3; letter-spacing: -.035em; word-break: keep-all; text-wrap: balance; }
.v2-opl > p:not([class]) { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; line-height: 1.8; word-break: keep-all; text-wrap: pretty; }
.v2-stats { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v2-stats li { padding: 14px 14px 13px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.v2-stats b { display: block; font-size: 25px; line-height: 1.25; letter-spacing: -.03em; color: var(--sec-ink); }
.v2-stats span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--ink-2); word-break: keep-all; }
.v2-oplinks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; font-size: 15px; font-weight: 700; }
.v2-oplinks a { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); text-decoration: none; }
.v2-oplinks a:hover { text-decoration: underline; }
.v2-opr h3 { margin: 6px 0 12px; font-size: 15px; font-weight: 800; color: var(--ink-3); letter-spacing: .01em; }
.v2-cases { display: grid; gap: 12px; }
.v2-case { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 17px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.v2-case:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 42, 74, .08); }
.v2-ch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px; }
.v2-ct { font-size: 13px; font-weight: 800; color: var(--orange); }
.v2-cg { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--accent); }
.v2-case b { font-size: 16px; line-height: 1.55; letter-spacing: -.02em; font-weight: 600; word-break: keep-all; }
.v2-opsrc { margin: 12px 2px 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; word-break: keep-all; }

/* ── 대표 도구 4개 + 전체 도구 보기 ── */
.v2-tools .hm-in { padding-block: 56px 52px; }
.v2-tools .hm-sh { margin-bottom: 20px; }
.v2-tools .hm-sh p { word-break: keep-all; }
.v2-tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v2-tool { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.v2-tool:hover { transform: translateY(-2px); border-color: #B9C7DB; box-shadow: 0 10px 26px rgba(15, 42, 74, .08); }
.v2-ti { flex: none; display: inline-flex; width: 46px; height: 46px; border-radius: 13px; align-items: center; justify-content: center; background: var(--sec-bg); color: var(--accent); }
.v2-tt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.v2-tk { font-size: 12.5px; font-weight: 800; color: var(--orange); }
.v2-tool b { font-size: 18px; line-height: 1.4; letter-spacing: -.025em; word-break: keep-all; }
.v2-tool .td { font-size: 14px; line-height: 1.5; color: var(--ink-2); word-break: keep-all; }
.v2-tool .v2-chev { display: none; color: var(--ink-3); }
.v2-tool.main { background: linear-gradient(160deg, #FFF3EA, #FFE3D0); border-color: #FFD0B0; color: #0E1A2B; }
.v2-tool.main .v2-ti { background: var(--orange); color: #FFFFFF; }
.v2-tool.main .td { color: #6B4A33; }
.v2-more { margin: 22px 0 0; text-align: center; }
.v2-more a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--navy-2); color: var(--navy-2); font-weight: 800; font-size: 16px; text-decoration: none; }
.v2-more a:hover { background: var(--navy-2); color: #FFFFFF; }

/* ── 새 가이드 · Q&A ── */
.v2-news .hm-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.v2-news .hm-sh { margin-bottom: 14px; }
.v2-news .hm-sh h2 { font-size: clamp(22px, 2.4vw, 27px); }
.v2-news .hm-sh p { word-break: keep-all; }
.v2-news .recent { margin: 0; }
.v2-news .recent b { word-break: keep-all; }
.v2-row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 11px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.v2-ri { flex: none; display: inline-flex; width: 40px; height: 40px; border-radius: 11px; align-items: center; justify-content: center; }
.v2-rt { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.v2-rt b { font-size: 16px; line-height: 1.4; letter-spacing: -.02em; word-break: keep-all; }
.v2-rt span { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); word-break: keep-all; }
.v2-chev { color: var(--ink-3); }
.v2-ask { margin-top: 12px; background: var(--surface); border: 1px dashed var(--line); }
.v2-ask:hover { border-color: var(--orange); }
.v2-ask .v2-ri { background: var(--orange-soft); color: var(--orange); }

@media (max-width: 980px) {
  .v2-sitgrid { grid-template-columns: repeat(2, 1fr); }
  .v2-tgrid { grid-template-columns: repeat(2, 1fr); }
  .v2-op .hm-in, .v2-news .hm-in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .hm-hero .hm-prev { display: none; }   /* 휴대폰: 첫 화면 바로 아래에 상황 카드가 오도록 예시 그림은 넓은 화면에서만 */
  .hm-hero .hm-in { padding-block: 36px 72px; }
  .v2-sits { padding-bottom: 36px; }
  .v2-sitbox { padding: 22px 14px 16px; border-radius: 20px; }
  .v2-sitbox h2, .v2-sitbox > p { padding-inline: 4px; }
  .v2-sitbox > p { margin-bottom: 14px; }
  .v2-sitgrid { grid-template-columns: 1fr; gap: 10px; }
  .v2-sit { min-height: 0; padding: 14px; gap: 12px; align-items: center; }
  .v2-si { width: 42px; height: 42px; border-radius: 12px; }
  .v2-st { gap: 4px; }
  .v2-st b { font-size: 16.5px; }
  .v2-sg { font-size: 13.5px; }
  /* 운영자 블록: 휴대폰에서는 짧게 (나라 목록 생략, 사례 카드 좁게) */
  .v2-op .hm-in { padding-block: 40px; gap: 22px; }
  .v2-wide { display: none; }
  .v2-kick { margin-bottom: 10px; }
  .v2-op h2 { font-size: 24px; margin-bottom: 10px; }
  .v2-opl > p:not([class]) { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
  .v2-stats { gap: 8px; margin-bottom: 14px; }
  .v2-stats li { padding: 10px 10px 9px; }
  .v2-stats b { font-size: 20px; }
  .v2-stats span { font-size: 12px; }
  .v2-oplinks { font-size: 14px; gap: 6px 16px; }
  .v2-opr h3 { margin: 0 0 10px; }
  .v2-cases { gap: 8px; }
  .v2-case { padding: 12px 14px 13px; gap: 4px; border-radius: 14px; }
  .v2-case b { font-size: 14.5px; line-height: 1.55; }
  .v2-ct, .v2-cg { font-size: 12.5px; }
  .v2-opsrc { font-size: 12px; margin-top: 8px; }
  /* 대표 도구: 한 줄씩 */
  .v2-tools .hm-in { padding-block: 40px; }
  .v2-tgrid { grid-template-columns: 1fr; gap: 8px; }
  .v2-tool { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
  .v2-ti { width: 42px; height: 42px; border-radius: 12px; }
  .v2-tt { gap: 1px; }
  .v2-tool b { font-size: 16.5px; }
  .v2-tool .td { font-size: 13.5px; }
  .v2-tool .v2-chev { display: block; }
  .v2-more { margin-top: 14px; }
  .v2-more a { display: flex; width: 100%; box-sizing: border-box; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .v2-tool.main { background: linear-gradient(160deg, #3A2517, #2A1C12); border-color: #5C3A22; color: var(--ink); }
  :root:not([data-theme="light"]) .v2-tool.main .td { color: #FFC596; }
  :root:not([data-theme="light"]) .v2-more a { border-color: var(--accent); color: var(--accent); }
  :root:not([data-theme="light"]) .v2-more a:hover { background: var(--accent); color: var(--accent-ink); }
  :root:not([data-theme="light"]) .v2-sit:hover { border-color: var(--sec-line); }
}
:root[data-theme="dark"] .v2-tool.main { background: linear-gradient(160deg, #3A2517, #2A1C12); border-color: #5C3A22; color: var(--ink); }
:root[data-theme="dark"] .v2-tool.main .td { color: #FFC596; }
:root[data-theme="dark"] .v2-more a { border-color: var(--accent); color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .v2-sit, .v2-tool, .v2-case { transition: none; } .v2-sit:hover, .v2-tool:hover, .v2-case:hover { transform: none; } }

/* 10-04 3차: 3단계 안내 + 신뢰 영역 글씨 키움(모바일에서 확대 없이 읽히게) */
.v2-steps { padding-bottom: 8px; }
.v2-steps + .v2-vid { padding-top: 28px; }
.v2-steps h2 { margin: 0 0 16px; font-size: clamp(22px, 2.4vw, 27px); letter-spacing: -.03em; }
.v2-3s { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: none; }
.v2-3s a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 18px 16px; border-radius: 14px; background: var(--surface, #fff); border: 1px solid var(--line, #E2E8F0); text-decoration: none; color: inherit; }
.v2-3s a:hover { border-color: var(--orange); }
.v2-3s .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.v2-3s b { font-size: 17px; letter-spacing: -.02em; }
.v2-3s span:not(.n) { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; word-break: keep-all; }
.v2-stats span { font-size: 14px; }
.v2-ct, .v2-cg { font-size: 14px; }
.v2-case b { font-size: 16.5px; }
.v2-opsrc { font-size: 14px; }
@media (max-width: 640px) {
  .v2-3s { grid-template-columns: 1fr; gap: 10px; }
  .v2-3s a { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; padding: 14px 16px; }
  .v2-3s .n { margin: 0; }
  .v2-3s span:not(.n) { flex-basis: 100%; padding-left: 38px; font-size: 14px; }
  .v2-opl > p:not([class]) { font-size: 16px; }
  .v2-stats b { font-size: 21px; }
  .v2-stats span { font-size: 13.5px; }
  .v2-case b { font-size: 16px; }
  .v2-ct, .v2-cg { font-size: 13.5px; }
  .v2-opsrc { font-size: 13.5px; }
  .v2-oplinks { font-size: 15px; }
}
/* 10-04 4차: 3단계와 상세 사용법 사이 여백 줄임 */
.hm-sec.v2-steps > .hm-in { padding-bottom: 8px; }
.hm-sec.v2-steps + .hm-sec.v2-vid { padding-top: 0; }
.hm-sec.v2-steps + .hm-sec.v2-vid > .hm-in { padding-top: 28px; }

/* 2026-10-09 바이어핀 카드 — buyerpin.com 색(남색 #0A1122 + 라임 #C6F432) */
@media (min-width: 981px) { .v2-tgrid { grid-template-columns: repeat(5, 1fr); } }
.v2-tool.bp { background: linear-gradient(160deg, #1E2A47, #0A1122); border-color: #24345A; color: #FFFFFF; }
.v2-tool.bp:hover { border-color: #C6F432; box-shadow: 0 10px 26px rgba(10, 17, 34, .35); }
.v2-tool.bp .v2-ti { background: #C6F432; color: #081003; }
.v2-tool.bp .v2-tk { color: #C6F432; }
.v2-tool.bp .td { color: #B7C2DD; }
.v2-tool.bp .v2-chev { color: #C6F432; }
