/* ===== CLASSUP MEAL — 랜딩(마케팅) 전용 스타일 =====
   공유 베이스(style.css)의 토큰·컴포넌트를 재사용하고,
   랜딩에서만 쓰는 규칙을 여기에 둔다. (LANDING 소유) */
@import url('https://cdn.jsdelivr.net/gh/toss/tossface/dist/tossface.css');

/* 토스페이스 이모지 — 이모지만 .tf로 감싸 적용(숫자는 Pretendard 유지) */
.tf { font-family: 'Tossface', 'Pretendard', sans-serif; font-style: normal; font-weight: 400; line-height: 1; }

/* 넓은 히어로 랜딩 폭 — 한글 줄바꿈은 단어 단위(keep-all) */
.lp { max-width: 860px; margin: 0 auto; padding: 0 16px 96px; word-break: keep-all; }

/* 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── 히어로 ── */
.lp-hero {
  position: relative; margin-top: 18px; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: #1a1630; isolation: isolate;
}
.lp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.lp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(160deg, rgba(108,96,244,.86) 0%, rgba(53,70,200,.78) 45%, rgba(20,16,48,.62) 100%);
}
.lp-hero-in { position: relative; z-index: 2; padding: 40px 30px 36px; color: #fff; max-width: 560px; }
.lp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.32); color: #fff;
  font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 999px;
}
.lp-hero h1 {
  margin: 16px 0 10px; font-size: 40px; font-weight: 900; letter-spacing: -0.035em; line-height: 1.12;
  text-shadow: 0 3px 18px rgba(0,0,0,.28);
}
.lp-hero h1 .cy { color: #9af7e8; }
.lp-hero .tagline { margin: 0 0 8px; font-size: 18.5px; font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.35; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.lp-hero .lead { margin: 0; font-size: 17px; font-weight: 500; color: rgba(255,255,255,.94); line-height: 1.5; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
@media (max-width: 720px) { .lp-hero .tagline { font-size: 16.5px; } }
.lp-hero .lead b { color: #fff; font-weight: 800; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lp-cta .btn { padding: 13px 22px; font-size: 15.5px; }
.lp-cta .btn.on-hero { background: #fff; color: var(--brand-dark); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.lp-cta .btn.on-hero-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); box-shadow: none; }

/* ── 신뢰 스트립 ── */
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lp-trust .t { flex: 1 1 150px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px; box-shadow: var(--shadow); }
.lp-trust .t .n { font-size: 24px; font-weight: 900; color: var(--brand); letter-spacing: -0.02em; }
.lp-trust .t .l { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ── 섹션 제목 ── */
.lp-sec { margin-top: 40px; }
.lp-sec > h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; text-align: center; margin: 0 0 8px; line-height: 1.3; }
.lp-sec > .sub { text-align: center; color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0 auto 22px; max-width: 560px; }

/* ── 3단계 흐름 ── */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 16px; text-align: center; position: relative; }
.lp-step .e { font-size: 34px; display: block; }
.lp-step .no { display: inline-block; font-size: 12px; font-weight: 800; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 2px 10px; margin: 10px 0 6px; }
.lp-step b { display: block; font-size: 16.5px; letter-spacing: -0.02em; }
.lp-step span.d { display: block; font-size: 14px; color: var(--muted); margin-top: 5px; line-height: 1.6; }

/* ── 메뉴 프리뷰 ── */
.lp-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-food { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.lp-food img { width: 100%; height: 190px; object-fit: cover; display: block; }
.lp-food .b { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.lp-food .b .nm { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.lp-food .b .pr { font-weight: 800; font-size: 15px; color: var(--brand-dark); }
.lp-food.salad .b .pr { color: var(--salad); }

/* ── 특징 그리드 ── */
.lp-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lp-feat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; }
.lp-feat .e { font-size: 26px; }
.lp-feat b { display: block; font-size: 16.5px; letter-spacing: -0.02em; margin: 9px 0 5px; }
.lp-feat p { margin: 0; font-size: 14.5px; color: #55556a; line-height: 1.65; }

/* ── 대상별 카드 ── */
.lp-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.lp-whocard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px 18px; }

/* 메인 = 학원: 데스크톱 가운데(order 2) + 강조 / 모바일(버티컬)은 DOM 선두 */
@media (min-width: 721px) {
  .lp-who .lp-whocard.p { order: 1; }
  .lp-who .lp-whocard.main { order: 2; }
  .lp-who .lp-whocard.v { order: 3; }
  .lp-who .lp-whocard.main { transform: translateY(-10px); }
}
.lp-whocard.main { border: 2px solid var(--brand); box-shadow: 0 14px 34px rgba(108,96,244,.24); }
.lp-whocard.main .wv-wrap { background: var(--brand-soft); }
.mainflag { position: absolute; top: 12px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 5px;
  background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: -0.01em; padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(108,96,244,.4); }

/* 함께하는 학원 — 가로 흐름 마퀴 */
.acacount { display: inline-block; margin-top: 4px; font-size: 16.5px; font-weight: 800; color: var(--brand-dark); letter-spacing: -0.02em; }
.lp-marquee { position: relative; overflow: hidden; padding: 4px 0; display: flex; flex-direction: column; gap: 12px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lp-track { display: flex; gap: 12px; width: max-content; animation: lp-flow 48s linear infinite; }
.lp-track.alt { animation-direction: reverse; animation-duration: 56s; }
.lp-marquee:hover .lp-track { animation-play-state: paused; }
@keyframes lp-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lp-marquee .chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: 0 0 auto;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px;
  padding: 13px 22px; font-weight: 800; font-size: 16px; color: var(--brand-dark); letter-spacing: -0.02em; }
.lp-marquee .chip .tf { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .lp-track { animation: none; flex-wrap: wrap; } }

/* ── FAQ 아코디언 ── */
.lp-faq { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.lp-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.lp-faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 800; font-size: 15.5px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; margin-left: auto; font-size: 20px; font-weight: 700; color: var(--brand); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq .a { padding: 0 18px 16px; font-size: 14.5px; color: #45454f; line-height: 1.65; }
.lp-faq .a b { color: var(--brand-dark); }

/* ── 플로팅 CTA ── */
.lp-fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; gap: 10px;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  padding-bottom: env(safe-area-inset-bottom); }
.lp-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 800; font-size: 15px;
  padding: 13px 20px; border-radius: 999px; background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(108,96,244,.42); }
.fab-btn.ghost { background: #fff; color: var(--brand-dark); border: 1.5px solid #cfc8ff; box-shadow: 0 8px 20px rgba(28,28,40,.14); }
.fab-btn:active { transform: translateY(1px); }
@media (max-width: 560px) {
  .lp-fab { left: 12px; right: 12px; bottom: 12px; gap: 8px; }
  .lp-fab .fab-btn { flex: 1; justify-content: center; font-size: 15px; padding: 14px 12px; }
}

/* ── 도입 신청(apply) ── */
.req { color: var(--danger); font-weight: 800; margin-left: 2px; }
.inp-bad { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important; }
.ap-note { background: var(--cyan-soft); border: 1px solid #bfeee5; color: #12715f; border-radius: 12px; padding: 11px 14px; font-size: 13px; line-height: 1.55; margin-top: 12px; }
.ap-note b { color: #0e5f50; }
.ap-hero { position: relative; margin-top: 18px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; padding: 30px 26px; }
.ap-hero h1 { margin: 8px 0 6px; font-size: 27px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.2; }
.ap-hero p { margin: 0; font-size: 15px; opacity: .95; line-height: 1.55; }
.ap-hero .bd { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; }
.ap-tabs { display: flex; gap: 8px; margin-top: 16px; }
.ap-tabs button { flex: 1; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font-family: inherit; font-weight: 800; font-size: 15.5px; padding: 14px 10px; border-radius: 14px; cursor: pointer; transition: .12s; display: flex; align-items: center; justify-content: center; gap: 7px; }
.ap-tabs button.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); box-shadow: 0 4px 14px rgba(108,96,244,.18); }
.ap-pitch { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; margin-top: 14px; }
.ap-pitch .ap-vid { width: 200px; height: 150px; object-fit: cover; border-radius: 14px; background: var(--brand-soft); display: block; }
.ap-pitch h2 { margin: 0 0 6px; font-size: 19px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.3; }
.ap-pitch .lead { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.ap-pitch ul { margin: 0; padding-left: 18px; }
.ap-pitch li { font-size: 14px; line-height: 1.7; color: #45454f; }
.ap-pitch li b { color: var(--brand-dark); }
@media (max-width: 560px) { .ap-pitch { grid-template-columns: 1fr; } .ap-pitch .ap-vid { width: 100%; height: 190px; } }

/* ── 법적 고지(푸터) ── */
.lp-legal { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.75; }
.lp-legal b { color: #55556a; font-weight: 700; }
.lp-legal a { color: var(--muted); text-decoration: underline; }
.lp-legal .disc { margin: 9px auto 0; max-width: 580px; font-size: 11.5px; color: #9a9aa8; line-height: 1.6; }
.lp-whocard .tag { display: inline-block; font-size: 12px; font-weight: 800; color: #fff; background: var(--brand); border-radius: 999px; padding: 3px 11px; }
.lp-whocard.v .tag { background: var(--cyan); }
.lp-whocard.p .tag { background: var(--salad); }
.lp-whocard .wv-wrap { margin: -20px -18px 14px; border-radius: 18px 18px 0 0; overflow: hidden; background: #eceaf6; aspect-ratio: 1/1; }
.lp-whocard .wv { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-whocard.v .wv-wrap { background: var(--cyan-soft); }
.lp-whocard.p .wv-wrap { background: var(--salad-soft); }
.lp-whocard h3 { margin: 12px 0 6px; font-size: 17.5px; letter-spacing: -0.02em; line-height: 1.35; }
.lp-whocard .pain { font-size: 14.5px; color: var(--muted); margin: 0 0 10px; line-height: 1.55; }
.lp-whocard ul { margin: 0; padding-left: 17px; }
.lp-whocard li { font-size: 14.5px; line-height: 1.7; color: #45454f; margin-bottom: 3px; }
.lp-whocard li b { color: var(--brand-dark); }

/* ── 마감/최종 CTA ── */
.lp-final { margin-top: 44px; border-radius: 24px; padding: 40px 26px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); box-shadow: var(--shadow-lg); }
.lp-final h2 { margin: 0 0 8px; font-size: 25px; font-weight: 900; letter-spacing: -0.03em; }
.lp-final p { margin: 0 0 22px; font-size: 15px; opacity: .95; }
.lp-final .lp-cta { justify-content: center; }
.lp-final .btn.on-hero { background: #fff; color: var(--brand-dark); }
.lp-final .btn.on-hero-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); }

/* ── 안내 배너(학원 비판매 고지) ── */
.lp-note { margin-top: 16px; background: var(--brand-soft); border: 1px solid #d7d0ff; color: #40348f;
  border-radius: 14px; padding: 12px 15px; font-size: 13px; line-height: 1.55; text-align: center; }

/* ── 푸터 ── */
.lp-foot { margin-top: 40px; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.lp-foot a { color: var(--muted); font-weight: 600; }
.lp-foot .sep { margin: 0 6px; opacity: .5; }

/* ── 반응형 ── */
@media (max-width: 720px) {
  .lp-hero-in { padding: 32px 22px 28px; }
  .lp-hero h1 { font-size: 31px; }
  .lp-hero .lead { font-size: 15.5px; }
  .lp-who { grid-template-columns: 1fr; }
  /* 모바일: 카드 영상 16:9(가로) — 세로로 쭉 나열해도 모두 보이게 */
  .lp-whocard .wv-wrap { aspect-ratio: 16 / 9; }
  .lp-whocard.main { transform: none; }
}
@media (max-width: 560px) {
  .lp-steps { grid-template-columns: 1fr; }
  .lp-feats { grid-template-columns: 1fr; }
  .lp-menu { grid-template-columns: 1fr; }
  .lp-cta .btn { flex: 1 1 100%; }
}
