/* 첫 화면 단어 카드 안내 (대표 11-19) — 사진 + 휴대폰 한 대 구조는 그대로,
   카드 화면 위에 번호(1~5)를 찍고 옆에 작은 범례 한 장으로 기능을 짚는다.
   번호 자리는 img/app/hero_card_sustainable.webp·hero_card_toeic.webp (아이폰 17 비율 1200×2608 캡처) 기준 백분율. */

.hero-phone .screen { position: relative; }
.hero-phone .screen img { aspect-ratio: 1200 / 2608; }

.hero-phone .pin {
  position: absolute; z-index: 2; transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: var(--white);
  font-size: 14px; font-weight: 900; line-height: 1;
  box-shadow: 0 0 0 2.5px var(--white), 0 6px 14px rgba(8, 24, 53, .28);
}
.hero-phone .p1 { left: 9%;  top: 12%; }   /* 단어 그림 */
.hero-phone .p2 { left: 93%; top: 38%; }   /* 단어 글자 · 다시 듣기 */
.hero-phone .p3 { left: 62%; top: 52.6%; } /* 발음 녹음 마이크 (단어 뜻 글자 아래) */
.hero-phone .p4 { left: 6%;  top: 44.5%; } /* 단어망 단추 (단어 글자 왼쪽 여백) */
.hero-phone .p5 { left: 6%;  top: 70.5%; } /* 어휘설명 */

.card-guide {
  position: absolute; right: 0; bottom: 0; z-index: 3;
  padding: 14px 18px 16px; border-radius: 22px;
  background: var(--white); box-shadow: 0 16px 34px rgba(8, 24, 53, .18);
}
.card-guide p { font-size: 13px; font-weight: 800; color: var(--muted); }
.card-guide ol { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.card-guide li {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 800; color: var(--navy); white-space: nowrap; text-align: left;
}
.card-guide b {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: var(--white); font-size: 12px; font-weight: 900;
}

@media (max-width: 480px) {
  .hero-phone .pin { width: 18px; height: 18px; font-size: 10px; box-shadow: 0 0 0 2px var(--white), 0 4px 10px rgba(8, 24, 53, .28); }
  .card-guide { padding: 9px 11px 10px; border-radius: 16px; }
  .card-guide p { font-size: 11px; }
  .card-guide ol { margin-top: 5px; gap: 4px; }
  .card-guide li { gap: 6px; font-size: 12px; }
  .card-guide b { width: 17px; height: 17px; font-size: 10px; }
}
/* 폭 320 안팎: 휴대폰이 위 부제목 글자를 덮지 않게 위 여백을 더 준다 (옛 배치부터 있던 겹침) */
@media (max-width: 340px) {
  .hero-visual { padding-top: 112px; }
}
