/* 모톡 랜딩 (히어로 아래 섹션). 기획: 공감 → 이용 흐름 → 스크립트 비교 → 말하기 습관 → 포트폴리오 질문 → 모키 → 안심 → FAQ → 마지막 권유
   한 화면의 주인공은 히어로 하나. 아래 섹션은 회색 바탕 + 흰 카드로 조용하게. */

.l-sec { padding: 120px 0 0; background: var(--bg); }
.l-sec.l-last { padding-bottom: 120px; }
/* 상단 바·히어로와 같은 폭으로 맞춘다 */
.l-wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.l-narrow { max-width: 760px; }
.l-wrap.l-narrow { width: min(760px, 100% - 48px); }
.l-center { text-align: center; }
.l-kicker { margin: 0; font-size: 16px; font-weight: 700; color: var(--accent); letter-spacing: -0.01em; }
.l-h2 { margin: 12px 0 0; font-size: 44px; line-height: 1.28; font-weight: 800; letter-spacing: -0.045em; color: var(--ink); word-break: keep-all; }
.l-body { margin: 20px 0 0; font-size: 18px; line-height: 1.75; color: var(--ink-2); word-break: keep-all; }
.l-center .l-body { margin-left: auto; margin-right: auto; max-width: 520px; }
.l-card { background: var(--surface); border-radius: 28px; }

/* 2. 공감 */
.l-pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.l-pain { padding: 32px 32px 36px; }
.l-quote { display: block; height: 36px; font-size: 56px; line-height: 1; font-weight: 800; color: var(--grey-300); }
.l-pain p { margin: 16px 0 0; font-size: 20px; line-height: 1.65; color: var(--ink-2); word-break: keep-all; }
.l-pain b { color: var(--ink); }
.l-answer { margin: 32px 0 0; font-size: 20px; color: var(--ink-2); }
.l-answer b { color: var(--accent); }

/* 3. 이용 흐름 */
.l-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.l-step { padding: 28px 28px 32px; }
.l-step img { display: block; width: 132px; height: 132px; margin: 0 auto 18px; object-fit: contain; }
.l-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-weak); color: var(--accent); font-size: 14px; font-weight: 800; }
.l-step h3 { margin: 12px 0 0; font-size: 20px; letter-spacing: -0.03em; }
.l-step p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); word-break: keep-all; }

/* 4~6. 글 + 화면 예시 */
.l-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.l-split.reverse .l-split-text { order: 2; }

/* 스크립트 비교 예시 */
.l-mock { padding: 32px; box-shadow: 0 24px 60px rgba(25, 31, 40, .06); }
.m-q { display: flex; gap: 12px; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); word-break: keep-all; }
.m-q span { flex: none; font-size: 14px; font-weight: 800; color: var(--grey-400); padding-top: 3px; }
.m-cmp { margin-top: 20px; padding: 20px 22px; background: var(--grey-50); border-radius: 18px; }
.m-cmp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.m-cmp-head b { font-size: 14px; color: var(--ink-2); }
.m-cmp-head span { font-size: 13px; color: var(--muted); }
.m-cmp-head em { font-style: normal; font-weight: 800; color: var(--ink); }
.m-terms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.m-terms span { padding: 6px 11px; border-radius: 9px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--grey-200); font-size: 13px; font-weight: 600; color: var(--grey-500); }
.m-terms span.hit { background: var(--good-weak); box-shadow: none; color: #028a54; }
.m-tip { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: #fff5ee; }
.m-tip img { flex: none; }
.m-tip b { display: block; font-size: 15px; color: var(--ink); }
.m-tip p { margin: 3px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* 말하기 습관 + 연습 카드 */
.l-habit { display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 24px; align-items: end; }
.l-stats { padding: 12px 28px; box-shadow: 0 24px 60px rgba(25, 31, 40, .06); }
.m-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; font-size: 16px; color: var(--ink-2); }
.m-row + .m-row { border-top: 1px solid var(--line); }
.m-row b { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--ink); white-space: nowrap; }
.m-row i { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 7px; }
.m-row i.ok { background: var(--good-weak); color: #028a54; }
.m-row i.down { background: var(--accent-weak); color: #c2410c; }
.l-share { display: block; width: 100%; border-radius: 20px; box-shadow: 0 24px 60px rgba(25, 31, 40, .22); rotate: 4deg; translate: 0 28px; }

/* 포트폴리오 질문 */
.l-tracks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.l-tracks span { padding: 9px 16px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.l-tracks span.on { background: var(--accent-weak); color: #c2410c; }
.l-tracks-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.l-qcards { display: grid; gap: 14px; }
.l-qcard { padding: 24px 28px; box-shadow: 0 16px 40px rgba(25, 31, 40, .05); }
.l-qcard:nth-child(2) { margin-left: 36px; }
.l-qcard:nth-child(3) { margin-left: 12px; }
.l-qcard p { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); word-break: keep-all; }
.l-qcard span { display: inline-block; margin-top: 10px; padding: 5px 10px; border-radius: 8px; background: var(--accent-weak); color: #c2410c; font-size: 13px; font-weight: 700; }

/* 7. 모키 */
.l-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.l-trio figure { margin: 0; padding: 32px 16px 28px; }
.l-trio img { display: block; width: 190px; height: 190px; margin: 0 auto; object-fit: contain; }
.l-trio figcaption { margin-top: 12px; font-size: 18px; font-weight: 700; }

/* 8. 안심 */
.l-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.l-trust .l-card { padding: 28px; }
.l-trust b { display: block; font-size: 18px; letter-spacing: -0.03em; }
.l-trust p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); word-break: keep-all; }

/* 9. FAQ */
.l-faq { margin-top: 40px; overflow: hidden; }
.l-faq details + details { border-top: 1px solid var(--line); }
.l-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: '+'; flex: none; font-size: 24px; font-weight: 400; color: var(--grey-400); transition: rotate .2s; }
.l-faq details[open] summary::after { rotate: 45deg; }
.l-faq summary:hover { background: var(--grey-50); }
.l-faq p { margin: 0; padding: 0 28px 24px; font-size: 16px; line-height: 1.75; color: var(--ink-2); word-break: keep-all; }

/* 10. 마지막 권유 + 푸터 */
.l-final { padding: 120px 0; background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(255, 90, 31, .28), transparent 70%), #17171c; color: #fff; }
.l-final-moki { display: block; width: 150px; margin: 0 auto 24px; filter: drop-shadow(0 20px 40px rgba(255, 90, 31, .35)); }
.l-final h2 { margin: 0 0 36px; font-size: 48px; line-height: 1.25; font-weight: 800; letter-spacing: -0.045em; }
.l-final-meta { margin: 16px 0 0; font-size: 14px; color: rgba(255, 255, 255, .5); }
.l-foot { padding: 36px 0 44px; background: #17171c; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .55); }
.l-foot-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.l-foot-logo .motok-logo { height: 20px; color: #fff; }
.l-foot p { margin: 10px 0 0; font-size: 14px; }
.l-foot nav { display: flex; gap: 24px; font-size: 14px; }
.l-foot a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.l-foot a:hover { color: #fff; }

@media (max-width: 960px) {
  .l-steps { grid-template-columns: repeat(2, 1fr); }
  .l-trust { grid-template-columns: repeat(2, 1fr); }
  .l-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .l-split.reverse .l-split-text { order: 0; }
}
@media (max-width: 640px) {
  .l-sec { padding-top: 80px; }
  .l-sec.l-last { padding-bottom: 80px; }
  .l-wrap, .l-wrap.l-narrow { width: calc(100% - 32px); }
  .l-h2 { font-size: 30px; }
  .l-body { font-size: 16px; }
  .l-pains, .l-trust { grid-template-columns: minmax(0, 1fr); }
  .l-trio { gap: 8px; margin-top: 32px; }
  .l-trio figure { padding: 18px 6px 16px; border-radius: 20px; }
  .l-trio figcaption { font-size: 13px; }
  .l-steps { gap: 10px; }
  .l-step { padding: 20px 18px 22px; }
  .l-step img { width: 88px; height: 88px; }
  .l-step h3 { font-size: 17px; }
  .l-pain p, .l-answer { font-size: 17px; }
  .l-mock { padding: 22px; }
  .l-habit { grid-template-columns: minmax(0, 1fr) 110px; gap: 14px; }
  .l-share { border-radius: 14px; translate: 0 16px; }
  .l-stats { padding: 6px 18px; }
  .m-row { padding: 16px 0; font-size: 14px; }
  .m-row b { flex-direction: column; align-items: flex-end; gap: 4px; font-size: 17px; }
  .l-qcard:nth-child(2), .l-qcard:nth-child(3) { margin-left: 0; }
  .l-trio img { width: 84px; height: 84px; }
  .l-final { padding: 80px 0; }
  .l-final h2 { font-size: 32px; }
  .l-foot-in { flex-direction: column; align-items: flex-start; }
}

.l-step img, .l-trio img { mix-blend-mode: multiply; }
.m-row i:not([class]) { background: var(--grey-100, #f2f4f6); color: var(--muted, #5b6573); font-weight: 600; }

/* ───────── 첫 화면 슬라이드 (1: 서비스 소개, 2: 7일 챌린지) ───────── */
.hero-slides { position: relative; display: grid; background: #0f0f13; }
.hs-slide { grid-area: 1 / 1; transition: opacity .7s ease, visibility .7s; }
.hs-slide:not(.is-on) { opacity: 0; visibility: hidden; pointer-events: none; }

.promo-slide { position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; color: #fff; background: #060d18; padding: 64px 0 88px; }
.ps-bg { position: absolute; inset: 0; z-index: -2; }
.ps-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.promo-slide::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,13,24,.92) 0%, rgba(6,13,24,.7) 32%, rgba(6,13,24,.1) 58%, transparent 70%), linear-gradient(0deg, rgba(6,13,24,.7) 0%, transparent 25%); }
.ps-in { width: min(1120px, 100% - 40px); margin: 0 auto; }
.ps-col { width: min(500px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.ps-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(6,13,24,.55); border: 1px solid rgba(170,210,255,.22); font-size: 13px; font-weight: 600; color: #d5e6fa; }
.ps-chip b { color: #ffcf5c; font-weight: 700; }
.ps-title { margin: 20px 0 0; width: 100%; }
.ps-title img { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.55)); }
.ps-copy { margin: 24px 0 0; font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.45; letter-spacing: -0.025em; }
.ps-copy span { display: block; margin-top: 8px; font-size: 17px; font-weight: 500; color: #a3b6cf; letter-spacing: -0.01em; }
.promo-slide .btn { margin-top: 30px; }

.hs-nav { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20,20,26,.7); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; overflow: hidden; }
.hs-btn { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.8); cursor: pointer; }
.hs-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.hs-count { min-width: 44px; text-align: center; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.hs-count b { color: #fff; }
.hs-progress { position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.hs-progress i { display: block; height: 100%; width: 0; background: var(--accent); }
.hs-progress i.run { animation: hsRun var(--hs-ms, 7000ms) linear forwards; }
.hero-slides.paused .hs-progress i.run { animation-play-state: paused; }
@keyframes hsRun { to { width: 100%; } }

/* 두 슬라이드는 같은 칸에 겹친다: 긴 쪽에 맞춰지므로 남는 공간은 위아래로 나눠 가운데 정렬 */
.hero-slides .kq-hero { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 760px) {
  /* 좁은 화면: 이미지를 배경으로 깔고 글은 아래에 얹어서 1번 슬라이드와 높이를 비슷하게 맞춘다 */
  .promo-slide { flex-direction: column; justify-content: flex-end; padding: 0 0 84px; }
  .ps-bg { bottom: auto; height: min(125vw, 600px); }
  .ps-bg img { object-position: 50% 25%; -webkit-mask: linear-gradient(180deg, #000 60%, transparent 96%); mask: linear-gradient(180deg, #000 60%, transparent 96%); }
  .promo-slide::before { background: linear-gradient(180deg, rgba(6,13,24,.5), transparent 14%); }
  .ps-in { padding-top: min(74vw, 420px); }
  .ps-title { margin-top: 14px; width: 84%; }
  .ps-col { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-slide { transition: none; }
  .hs-progress { display: none; }
}
.hero-slides .kq-hero { padding-bottom: 60px; }
.l-foot nav { flex-wrap: wrap; row-gap: 10px; }
