/* A안 '더 보기' 페이지(more.html) — 홈에서 다 못 넣은 내용. 색·글꼴·곡선은 base.css 토큰, 장면 칸은 proposal.css 의 .pa-panels·.pa-panel 을 그대로 쓴다.
   모든 선택자는 mo- 로 시작하거나 body.mo 아래. 휴대폰(860px 아래)은 따로 짠다. 동작 줄이기면 마지막 모습으로. */

/* ───────── 첫 화면 ───────── */
.mo-hero { padding: 64px 0 96px; background: linear-gradient(180deg, #eaf1fd 0%, var(--cream) 88%); }
.mo-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 22vw, 300px); gap: 40px; align-items: end; }
.mo-back { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 28px; font-size: 15px; font-weight: 600; color: var(--grey); text-decoration: none; }
.mo-back:hover { color: var(--ink); }
.mo-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mo-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.mo-hero .eyebrow { background: #fff; }
.mo-hero .sec-d { max-width: 38em; }
.mo-jump { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mo-jump a { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair), 0 1px 2px rgba(17, 17, 16, .04); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; transition: box-shadow .2s, color .2s; }
.mo-jump a:hover { color: var(--cobalt); box-shadow: inset 0 0 0 1.5px rgba(22, 89, 239, .35); }
.mo-hero-char { width: 100%; height: auto; margin-bottom: -40px; }
@media (prefers-reduced-motion: no-preference) { .mo-hero-char { animation: float-bob 4.6s ease-in-out infinite; } }

/* ───────── 구간 공통 ───────── */
.mo-sec { padding: 120px 0; }
.mo-korea { background: #fff; }
.mo-create { background: var(--cream); }
.mo-box { margin-top: 48px; }
.mo-box + .mo-box { margin-top: 20px; }
.mo-create .mo-box { background: #eef2f8; }
.pa-panel.mo-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
.pa-panel.mo-flip > .pa-panel-copy { order: 2; }
.mo-sub { margin: 72px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.mo-korea .pa-svc { margin-top: 18px; }
.mo-sec [id] { scroll-margin-top: 84px; }
.mo #korea, .mo #create, .mo #people, .mo #ways, .mo #faq { scroll-margin-top: 0; }

/* ───────── 업종별 하루: 줄마다 맡긴 말 → 점선 → 받은 결과 ───────── */
.mo-js .pa-times > li .pa-tq, .mo-js .pa-times > li .pa-when { opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .5s var(--glide); }
.mo-js .pa-times > li::after { transform: scaleX(0); transform-origin: left; transition: transform .55s var(--glide) .25s; }
.mo-js .pa-times > li > .pa-out { opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .35s .6s, transform .5s var(--spring) .6s; }
.mo-js .pa-times > li.go .pa-tq, .mo-js .pa-times > li.go .pa-when { opacity: 1; transform: none; }
.mo-js .pa-times > li.go::after { transform: none; }
.mo-js .pa-times > li.go > .pa-out { opacity: 1; transform: none; }
.mo .pa-times > li > .pa-out .pa-ft { position: relative; }
.mo .pa-times > li > .pa-out .pa-ft::after { content: ""; position: absolute; right: -6px; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2L10 5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: 0 0 0 2px #fff; transform: scale(0); transition: transform .4s var(--spring) .9s; }
.mo .pa-times > li.go > .pa-out .pa-ft::after, .mo:not(.mo-js) .pa-times > li > .pa-out .pa-ft::after { transform: none; }

/* ───────── 쓰는 방법 4가지: 칸마다 작은 화면이 6초마다 한 번씩 움직인다 ───────── */
.mo-ways { background: #fff; }
.mo-ways-grid { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mo-ways-grid > li { display: grid; align-content: start; gap: 4px; padding: 12px 12px 22px; border-radius: 24px; background: #fff; box-shadow: var(--card-shadow), inset 0 0 0 1px var(--hair); }
.mo-ways-grid > li > b { margin-top: 14px; padding: 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.mo-ways-grid > li > span { padding: 0 8px; font-size: 15px; line-height: 1.6; color: var(--grey); }
.mo-wui { position: relative; display: grid; align-content: center; gap: 8px; height: 168px; padding: 16px; border-radius: 16px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.mo-wui p { margin: 0; }

/* 앱에서 대화로: 입력 칸에 글자가 쳐지고 보내면 파일이 붙는다 */
.mo-w-comp { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px 0 13px; border-radius: 13px; background: #fff; box-shadow: inset 0 0 0 1px #d9d9de; font-size: 14px; color: var(--ink); }
.mo-w-type { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; clip-path: inset(0 0 0 0); }
.mo-w-send { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 10V2M2.5 5.5L6 2l3.5 3.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.mo-w-file { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; }
.mo-w-file .pa-ft, .mo-w-doc .pa-ft { min-width: 40px; height: 22px; font-size: 11px; }

/* 텔레그램: 내 말 → 봇 답 → 파일 */
.mo-w-tg .mo-wui { background: linear-gradient(180deg, #d7e8d0, #cbe0c2); gap: 6px; }
.mo-w-me, .mo-w-bot { width: fit-content; max-width: 92%; padding: 6px 10px; border-radius: 12px; font-size: 13px; line-height: 1.45; color: #111; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.mo-w-me { justify-self: end; background: #e1fec6; border-bottom-right-radius: 4px; }
.mo-w-bot { background: #fff; border-bottom-left-radius: 4px; }
.mo-w-doc { display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* 예약: 켜짐 스위치와 다음 실행 */
.mo-w-sch { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink); }
.mo-w-sch > i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.mo-w-sw { margin-left: auto; position: relative; width: 38px; height: 22px; border-radius: 11px; background: var(--success); }
.mo-w-sw::after { content: ""; position: absolute; top: 2px; left: 18px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.mo-w-when { font-size: 14px; font-weight: 700; color: var(--ink); }
.mo-w-next { font-size: 13px; color: var(--grey); }
.mo-w-cal .mo-wui { padding: 18px 20px; background: #fff; }

/* 목소리: 파형과 받아 적은 말 */
.mo-w-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 52px; }
.mo-w-mic { flex: none; width: 40px; height: 40px; margin-right: 10px; border-radius: 50%; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='7.5' y='2.5' width='5' height='9' rx='2.5' fill='none' stroke='%23fff' stroke-width='1.7'/%3E%3Cpath d='M4.5 9.5a5.5 5.5 0 0 0 11 0M10 15v2.5' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 0 0 6px rgba(22, 89, 239, .12); }
.mo-w-wave i { width: 4px; height: 30px; border-radius: 2px; background: var(--cobalt); opacity: .75; transform: scaleY(.3); }
.mo-w-said { justify-self: center; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mo-fine { margin-top: 18px; }

/* 움직임(화면에 들어온 칸만, 6초마다 되풀이) */
@media (prefers-reduced-motion: no-preference) {
  .mo-ways-grid > li.in .mo-w-type { animation: mo-type 6s steps(14) infinite; }
  .mo-ways-grid > li.in .mo-w-send { animation: mo-send 6s var(--spring) infinite; }
  .mo-ways-grid > li.in .mo-w-file { animation: mo-pop 6s var(--glide) infinite; --at: 42%; }
  .mo-ways-grid > li.in .mo-w-me { animation: mo-pop1 6s var(--glide) infinite; }
  .mo-ways-grid > li.in .mo-w-bot:not(.mo-w-doc) { animation: mo-pop2 6s var(--glide) infinite; }
  .mo-ways-grid > li.in .mo-w-doc { animation: mo-pop3 6s var(--glide) infinite; }
  .mo-ways-grid > li.in .mo-w-sw { animation: mo-sw 6s var(--glide) infinite; }
  .mo-ways-grid > li.in .mo-w-sw::after { animation: mo-knob 6s var(--spring) infinite; }
  .mo-ways-grid > li.in .mo-w-next { animation: mo-pop2 6s var(--glide) infinite; }
  .mo-ways-grid > li.in .mo-w-wave i { animation: mo-wave 1.1s ease-in-out infinite; }
  .mo-ways-grid > li.in .mo-w-wave i:nth-child(3n) { animation-delay: -.35s; }
  .mo-ways-grid > li.in .mo-w-wave i:nth-child(3n+1) { animation-delay: -.7s; }
  .mo-ways-grid > li.in .mo-w-wave i:nth-child(4n) { animation-duration: .9s; }
  .mo-ways-grid > li.in .mo-w-said { animation: mo-said 6s steps(16) infinite; }
}
@keyframes mo-type { 0%, 3% { clip-path: inset(0 100% 0 0); } 26%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes mo-send { 0%, 28% { transform: scale(1); background-color: #c7c7cc; } 30% { transform: scale(.82); background-color: var(--cobalt); } 36%, 100% { transform: scale(1); background-color: var(--cobalt); } }
@keyframes mo-pop { 0%, 33% { opacity: 0; transform: translateY(8px); } 40%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mo-pop1 { 0%, 2% { opacity: 0; transform: translateY(8px); } 8%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mo-pop2 { 0%, 12% { opacity: 0; transform: translateY(8px); } 18%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mo-pop3 { 0%, 24% { opacity: 0; transform: translateY(8px); } 30%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mo-sw { 0%, 6% { background-color: #d1d1d6; } 12%, 100% { background-color: var(--success); } }
@keyframes mo-knob { 0%, 6% { left: 2px; } 14%, 100% { left: 18px; } }
@keyframes mo-wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes mo-said { 0%, 4% { clip-path: inset(0 100% 0 0); } 36%, 100% { clip-path: inset(0 0 0 0); } }

/* ───────── 신청 ───────── */
.mo .apply { background: linear-gradient(180deg, #eaf1fd, var(--cream) 50%); }
.mo-apply-char { width: 150px; height: auto; }
@media (prefers-reduced-motion: no-preference) { .mo-apply-char { animation: float-bob 4s ease-in-out infinite; } }

/* ───────── 중간 너비 ───────── */
@media (min-width: 861px) and (max-width: 1300px) {
  .pa-panel.mo-flip { grid-template-columns: minmax(0, 1fr); }
  .pa-panel.mo-flip > .pa-panel-copy { order: 0; }
}
@media (max-width: 1180px) {
  .mo-ways-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────── 휴대폰: 한 장씩, 큰 글자 ───────── */
@media (max-width: 860px) {
  .mo-hero { padding: 36px 0 64px; }
  .mo-hero-in { grid-template-columns: 1fr; gap: 0; }
  .mo-hero-char { display: none; }
  .mo-back { margin-bottom: 20px; }
  .mo-jump { margin-top: 26px; gap: 6px; }
  .mo-jump a { height: 38px; padding: 0 13px; font-size: 14.5px; }
  .mo-sec { padding: 84px 0; }
  .mo-box { margin-top: 32px; }
  .pa-panel.mo-flip { grid-template-columns: 1fr; }
  .pa-panel.mo-flip > .pa-panel-copy { order: 0; }
  .mo-sub { margin-top: 52px; font-size: 19px; }
  .mo-ways-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .mo-wui { height: 148px; }
  .mo-ways-grid > li > b { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .mo-js .pa-times > li .pa-tq, .mo-js .pa-times > li .pa-when, .mo-js .pa-times > li::after, .mo-js .pa-times > li > .pa-out, .mo .pa-times .pa-ft::after { transition: none; }
}
