/* 코치 추천 (lesson1) — Figma '코치 추천 · 레슨 레퍼럴' v2 프레임 기준.
   모바일 거터 24 · 섹션 48 / 데스크톱 섹션 80 · 본문 최대 1200. 기준폭 960px.
   보라(--join)는 CTA 버튼에만. 레슨생 KV 배경 보라는 퍼스트랠리 키비주얼(대표 지정). */
:root{--ink:#111;--paper:#fff;--mute:#707072;--line:#e5e5e5;--soft:#f7f7f7;--join:#5f0aff;--join-press:#4a00cc;--kv:#5f0df8;--yel:#ffe721;--dark:#0a0a0c;--kakao:#b2c7da;
--g:24px;--sec:48px;--max:1200px;--dock:89px;
--body:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,system-ui,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;
--ease:cubic-bezier(.16,.84,.3,1)}
@media (min-width:960px){:root{--g:80px;--sec:80px}}
@media (min-width:1360px){:root{--g:120px}}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--paper);color:var(--ink);font:400 16px/1.5 var(--body);letter-spacing:-.01em;-webkit-font-smoothing:antialiased;word-break:keep-all;overflow-wrap:break-word}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
button,input,textarea{font:inherit;color:inherit}
ul,ol{list-style:none}
figure{margin:0}
p{text-wrap:pretty}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--join);outline-offset:3px}
.skip-link{position:fixed;top:8px;left:24px;z-index:200;padding:12px 18px;background:var(--paper);transform:translateY(-150%)}
.skip-link:focus{transform:none}
.wrap{max-width:calc(var(--max) + var(--g) * 2);margin:0 auto;padding:0 var(--g)}
@media (max-width:959px){.d-only{display:none!important}}
@media (min-width:960px){.m-only{display:none!important}}

/* type */
.h2{font-size:24px;line-height:34px;font-weight:700;letter-spacing:-.02em}
.lead{margin-top:8px;font-size:15px;line-height:24px;color:var(--mute)}
@media (min-width:960px){.h2{font-size:36px;line-height:48px}.lead{margin-top:12px;font-size:18px;line-height:28px}}

/* logo */
.logo{display:block;width:84px;line-height:0}.logo svg{display:block;width:100%;height:auto}
.logo--white svg path[fill="#5f0aff"]{fill:#fff}
@media (min-width:960px){.logo{width:104px}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;height:56px;padding:0 28px;border-radius:999px;border:0;font-size:17px;line-height:24px;font-weight:500;letter-spacing:-.01em;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .15s,transform .1s,opacity .15s}
.btn:active{transform:scale(.98)}
.btn--join{background:var(--join);color:#fff}.btn--join:hover{background:var(--join-press)}
.btn--join:disabled,.btn--join[aria-disabled="true"]{background:#c9c9cc;cursor:default;transform:none}
.btn--white{background:#fff;color:var(--ink);font-weight:700}
.btn--line{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.btn--block{display:flex;width:100%}
.txt{background:none;border:0;padding:4px 2px;font-size:15px;line-height:22px;font-weight:500;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* hero */
.hero{position:relative;overflow:hidden;color:#fff}
.hero--kv{background:var(--kv) var(--grain) repeat;background-size:256px}
.hero--dark{background:var(--dark)}
.hero__in{position:relative;max-width:calc(var(--max) + var(--g) * 2);margin:0 auto;padding:18px var(--g) 0;display:flex;flex-direction:column}
.hero__copy{position:relative;z-index:1;margin-top:24px}
.hero__h1{display:flex;flex-direction:column;gap:2px;font-weight:500}
.hero__lead{font-size:22px;line-height:32px;font-weight:500}
/* '스매시페이 3만원'이 360px 폰에서도 한 줄에 들어가게 폭에 맞춰 줄인다 */
.hero__big{font-size:min(44px,11.2vw);line-height:1.27;font-weight:900;color:var(--yel);letter-spacing:-.03em}
.hero__sub{margin-top:10px;font-size:15px;line-height:23px}
.hero__top{position:relative;z-index:1}
.hero picture{display:block}
/* 폰 첫 화면에서 신뢰 문구가 하단 버튼에 반쯤 가리지 않게 KV를 조금 올린다 (KV 위쪽은 코트 바탕이라 글과 겹쳐도 티가 안 남). */
.hero__people{display:block;width:100%;height:auto;margin-top:4px}
@media (min-width:520px) and (max-width:959px){.hero__people{max-height:560px;object-fit:cover;object-position:70% 100%}}
.hero__h1--dark{font-size:30px;line-height:40px;font-weight:700;margin-top:14px}
.hero__offer{margin-top:10px;font-size:18px;line-height:26px;font-weight:700;color:var(--yel)}
.hero__sub--dim{color:#c9c9ce}
.ribbon{display:inline-flex;max-width:100%;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.16);font-size:14px;line-height:20px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 코치 KV(모바일): 머리 위 여백이 있는 컷을 비율 그대로 쓰고, 위쪽을 검정 배경에 녹여 잘린 경계가 보이지 않게 한다. */
.hero__photo{display:block;width:100%;height:auto;aspect-ratio:1170/817;object-fit:cover;object-position:50% 100%;margin-top:4px;-webkit-mask-image:linear-gradient(180deg,transparent,#000 22%);mask-image:linear-gradient(180deg,transparent,#000 22%)}
@media (min-width:520px) and (max-width:959px){.hero__photo{max-height:620px}}
@media (min-width:960px){
 .hero__in{min-height:640px;padding-top:36px;padding-bottom:0}
 .hero__copy{margin:auto 0;padding:56px 0 96px;max-width:560px}
 .hero__lead{font-size:clamp(28px,2.6vw,36px);line-height:1.35}
 .hero__big{font-size:clamp(56px,5.2vw,76px);line-height:1.15}
 .hero__sub{margin-top:18px;font-size:18px;line-height:28px}
 .hero--kv .btn{margin-top:32px}
 /* KV는 섹션 오른쪽 끝에 붙인다. 높이는 사람이 카피와 겹치지 않을 만큼만 (빈 왼쪽은 배경색에 녹임). */
 .hero__people,.hero__photo{position:absolute;right:0;bottom:0;width:auto;max-width:none;margin:0}
 .hero__people{height:min(100%,calc((100vw - var(--g) - 520px) * .786));-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%);mask-image:linear-gradient(90deg,transparent,#000 30%)}
 .hero__photo{height:min(100%,calc((60vw - var(--g) - 30px) * .96));aspect-ratio:auto;object-fit:cover;-webkit-mask-image:linear-gradient(90deg,transparent,#000 35%),linear-gradient(180deg,transparent,#000 10%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 35%),linear-gradient(180deg,transparent,#000 10%);mask-composite:intersect}
 .hero__h1--dark{font-size:clamp(40px,4vw,56px);line-height:1.25;margin-top:20px}
 .hero__offer{margin-top:16px;font-size:24px;line-height:34px}
 .hero__cta{margin-top:32px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
 .hero__help{font-size:15px;line-height:22px;color:#c9c9ce}
}
@media (min-width:1440px){.hero__people{height:100%}}

/* trust line */
.ribbon__nick{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ribbon__rest{flex:none}
.trust{padding:10px var(--g);font-size:14px;line-height:20px;font-weight:500;color:var(--mute);text-align:center;border-bottom:1px solid var(--line)}
@media (min-width:960px){.trust{padding:22px var(--g);font-size:16px;line-height:24px}}

/* sections */
.sec{padding-top:var(--sec)}
.sec:last-of-type{padding-bottom:var(--sec)}

/* 히어로 스매시페이 카드: 앱 스매시페이 내역 한 줄 (X pay · 코치 추천 이벤트 · +30,000원). 사진 아래쪽에만 얹는다 */
.ptoast{position:absolute;z-index:2;left:var(--g);bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(calc(100% - var(--g) * 2),420px);padding:14px 18px 14px 16px;border-radius:18px;background:#fff;color:#222226;box-shadow:0 10px 28px rgba(26,0,77,.22)}
.ptoast__l{display:flex;flex-direction:column;gap:6px;min-width:0}
.ptoast__logo{display:block;width:68px;height:24px}
.ptoast__sub{overflow:hidden;font-size:13px;line-height:18px;color:#75737d;white-space:nowrap;text-overflow:ellipsis}
.ptoast__amt{flex:none;font-size:24px;line-height:32px;font-weight:800;color:#27ad75;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
@media (min-width:960px){.ptoast{left:auto;right:14vw;bottom:40px;width:380px}}

/* 참여 방법 (timeline) */
.tl{margin-top:24px}
.tl__step{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:16px;padding-bottom:32px}
.tl__step:last-child{padding-bottom:0}
.tl__step:not(:last-child)::before{content:"";position:absolute;left:13px;top:34px;bottom:6px;width:2px;background:var(--line)}
.tl__n{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;font-size:14px;line-height:1;font-weight:700}
.tl__body h3{font-size:17px;line-height:26px;font-weight:700;margin-top:1px}
.tl__body p{margin-top:4px;font-size:15px;line-height:24px;color:var(--mute)}
.tl__body .mock{margin-top:14px}
@media (min-width:960px){
 .how__in{display:grid;grid-template-columns:minmax(0,1fr) 560px;gap:80px;align-items:start}
 .how__head{position:sticky;top:48px}
 .tl{margin-top:0}
 .tl__body h3{font-size:19px;line-height:28px}.tl__body p{font-size:16px;line-height:26px}
}
/* 웹도 앱처럼 흰 바탕 — 회색 띠를 두면 위아래 회색 카드(나도 좋고·직접 보내기 어렵다면)와 겹쳐 섹션이 뭉개져 보인다. */

/* mocks (illustrations; small type is part of the picture) */
.mock{max-width:320px}
.mock--kakao{padding:16px 14px;border-radius:16px;background:var(--kakao)}
.mk__row{display:flex;gap:8px;align-items:flex-start}
.mk__av{flex:none;width:32px;height:32px;border-radius:12px;background:#8ea4b8}
.mk__msg{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.mk__name{font-size:14px;line-height:20px;color:#3c4a57}
.mk__bubble{padding:9px 12px;border-radius:12px;background:#fff;font-size:14px;line-height:21px}
.mk__card{border-radius:12px;background:#fff;overflow:hidden}
.mk__card img{width:100%;aspect-ratio:1200/630;object-fit:cover}
.mk__text{display:flex;flex-direction:column;gap:2px;padding:10px 12px 12px;font-size:14px;line-height:20px;color:var(--mute)}
.mk__text strong{font-size:15px;line-height:22px;color:var(--ink)}
.mk__url{color:#4a6fa5}
.mm__from{display:flex;align-items:center;gap:8px;font-size:14px;line-height:20px;font-weight:500}
.mm__from img{width:28px;height:28px;border-radius:8px}
.mm__card{margin-top:10px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:20px;border-radius:16px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.08);text-align:center}
.mm__icon{width:52px;height:52px;border-radius:14px;margin-bottom:8px}
.mm__card strong{font-size:16px;line-height:24px}
.mm__card span{font-size:14px;line-height:20px;color:var(--mute)}
.mm__btn{display:block;width:100%;margin-top:10px;padding:10px;border-radius:8px;background:var(--ink);color:#fff!important;font-weight:500}

/* 카톡으로 알려주기 */
.tell{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:20px;border-radius:16px;background:var(--soft)}
.tell__t{font-size:17px;line-height:26px;font-weight:700}
.tell p{margin-top:6px;font-size:15px;line-height:24px;color:var(--mute)}
.tell .btn{height:48px;padding:0 22px;font-size:15px}
@media (min-width:960px){.tell{flex-direction:row;align-items:center;justify-content:space-between;gap:40px;padding:32px 40px;border-radius:20px}.tell__t{font-size:22px;line-height:32px}.tell p{font-size:17px;line-height:26px}}

/* FAQ */
.faq{margin-top:12px;border-bottom:1px solid var(--line)}
.faq details{border-top:1px solid var(--line)}
.faq details:first-child{border-top:0}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;font-size:16px;line-height:24px;font-weight:500;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:8px;height:8px;margin-right:6px;border-right:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);transform:translateY(-3px) rotate(45deg);transition:transform .2s var(--ease)}
.faq details[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.faq details p{padding:0 0 18px;font-size:15px;line-height:24px;color:var(--mute)}
@media (min-width:960px){.faq__in{display:grid;grid-template-columns:360px minmax(0,1fr);gap:48px;align-items:start}.faq{margin-top:0}.faq summary{font-size:18px;line-height:28px;padding:22px 0}.faq details p{font-size:16px;line-height:26px}}

/* 유의사항 */
.notes{padding-bottom:var(--sec)}
.notes__t{font-size:15px;line-height:22px;font-weight:700}
.notes ul{margin-top:10px;display:flex;flex-direction:column;gap:4px}
.notes li{position:relative;padding-left:12px;font-size:14px;line-height:22px;color:var(--mute)}
.notes li::before{content:"·";position:absolute;left:0}
@media (min-width:960px){.notes__t{font-size:16px}.notes li{font-size:15px;line-height:24px}}

/* desktop closing band */
.end{padding:var(--sec) 0;background:var(--soft);text-align:center}
.end .btn{margin-top:28px}

/* footer + dock */
.foot{padding:24px 0;background:var(--soft);border-top:1px solid var(--line)}
.foot p{font-size:14px;line-height:20px;color:var(--mute)}
.page-lesson1 .foot,.page-lesson1_coach .foot,.page-lesson1_coach2 .foot{background:#fff}
.dock{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:12px var(--g) calc(16px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line)}
.dock__help{margin-top:8px;font-size:14px;line-height:20px;color:var(--mute);text-align:center}
@media (max-width:959px){body{padding-bottom:calc(var(--dock) + env(safe-area-inset-bottom))}.page-lesson1,.page-lesson1_coach,.page-lesson1_coach2{--dock:117px}}

/* 코치: 실데이터 */
.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.stats>div{display:flex;flex-direction:column;gap:2px;padding:18px 16px;border-radius:16px;background:var(--soft)}
.stats strong{font-size:26px;line-height:34px;font-weight:900;letter-spacing:-.02em}
.stats span{font-size:14px;line-height:20px;color:var(--mute)}
.real__sub{margin-top:28px;font-size:17px;line-height:26px;font-weight:700}
/* 지금 많이 예약되는 레슨 캐러셀 (폰: 옆으로 넘기기 + 1 / 7, PC: 3장 + ‹ ›) */
.lc{margin-top:36px}
.lc__bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.lc__bar .real__sub{margin-top:0}
.lc__count{flex:none;font-size:14px;line-height:20px;color:var(--mute);font-variant-numeric:tabular-nums}
.lc__count b{color:var(--ink);font-weight:700}
.lc__list{display:flex;gap:12px;margin:14px calc(var(--g) * -1) 0;padding:0 var(--g) 4px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 var(--g);scrollbar-width:none;overscroll-behavior-x:contain}
.lc__list::-webkit-scrollbar{display:none}
.lc__card{flex:0 0 78%;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column}
.lc__ph{position:relative;aspect-ratio:13/12;border-radius:16px;overflow:hidden;background:var(--soft)}
.lc__ph img{display:block;width:100%;height:100%;object-fit:cover}
.lc__rank{position:absolute;left:12px;top:12px;padding:4px 10px;border-radius:999px;background:#fff;font-size:13px;line-height:18px;font-weight:700;box-shadow:0 1px 4px rgba(0,0,0,.14)}
.lc__t{margin:2px 0 2px;font-size:16px;line-height:24px;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lc__court{margin-top:12px;font-size:14px;line-height:20px;color:var(--mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lc__price{font-size:14px;line-height:20px;color:var(--mute)}
.lc__stat{margin-top:6px;font-size:14px;line-height:20px}
.lc__stat strong{font-weight:700}
.lc .src{margin-top:16px}
.lc__nav{gap:8px}
.lc__btn{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:#fff;display:grid;place-items:center;cursor:pointer;transition:opacity .2s,box-shadow .2s}
.lc__btn:hover:not(:disabled){box-shadow:0 2px 8px rgba(0,0,0,.12)}
.lc__btn:disabled{opacity:.35;cursor:default}
.src{margin-top:10px;font-size:14px;line-height:20px;color:var(--mute)}
@media (min-width:960px){
 .real__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:48px;align-items:end}
 .stats{margin-top:32px;gap:16px}.real__head .stats{margin-top:0}
 .lc{margin-top:64px}
 .lc__nav{display:flex}
 .lc__list{margin:20px 0 0;padding:0 0 4px;gap:24px;scroll-padding:0}
 .lc__card{flex-basis:calc((100% - 48px) / 3)}
 .lc__t{font-size:18px;line-height:26px}
 .lc__court{margin-top:16px}
 .lc__court,.lc__price,.lc__stat{font-size:15px;line-height:22px}.stats>div{padding:24px}.stats strong{font-size:36px;line-height:46px}.stats span{font-size:16px;line-height:24px}
 .real__sub{margin-top:40px;font-size:20px}
}

/* 코치: 리뷰 (에어비앤비 숙소 리뷰 구성) */
.rv__score{display:flex;align-items:center;gap:14px;margin-top:20px}
.rv__score strong{font-size:56px;line-height:60px;font-weight:900;letter-spacing:-.04em}
.rv__score div{display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:20px;color:var(--mute)}
.rv__stars{color:var(--ink);letter-spacing:1px;font-size:14px}
.rv__kw{display:flex;flex-direction:column;gap:6px;margin-top:16px}
.rv__kw li{display:grid;grid-template-columns:12px minmax(0,1fr) 32px;align-items:center;gap:10px;font-size:13px;line-height:18px;color:var(--mute)}
.rv__kw i{display:block;height:4px;border-radius:2px;background:var(--line);overflow:hidden}
.rv__kw b{display:block;height:100%;border-radius:2px;background:var(--ink)}
.rv__kw em{font-style:normal;text-align:right}
.rv__kt{margin-top:28px;font-size:16px;line-height:24px;font-weight:700}
.rv__kw{gap:12px}
.rv__kw li{grid-template-columns:minmax(0,1fr) 40px;row-gap:6px;font-size:15px;line-height:22px;color:var(--ink)}
.rv__kw i{grid-column:1/-1;grid-row:2}
.rv__kw em{grid-row:1;grid-column:2;color:var(--mute)}
.rv__main{margin-top:32px}
.rv__list{display:flex;gap:12px;margin:0 calc(var(--g) * -1);padding:0 var(--g) 4px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 var(--g);scrollbar-width:none}
.rv__list::-webkit-scrollbar{display:none}
.rv__card{flex:0 0 82%;scroll-snap-align:start;display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid var(--line);border-radius:16px}
.rv__who{display:flex;align-items:center;gap:10px}
.rv__av{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#c4c4c8}
.rv__who div{display:flex;flex-direction:column}
.rv__who strong{font-size:15px;line-height:22px;font-weight:700}
.rv__who span{font-size:13px;line-height:18px;color:var(--mute)}
.rv__meta{font-size:13px;line-height:18px;color:var(--mute)}
.rv__text{font-size:15px;line-height:24px}
@media (min-width:960px){
 .rv__in{display:grid;grid-template-columns:340px minmax(0,1fr);gap:80px;align-items:start}
 .rv__score{margin-top:28px}.rv__score strong{font-size:72px;line-height:76px}.rv__score div{font-size:15px}
 .rv__main{margin-top:0}
 .rv__list{display:grid;grid-template-columns:1fr 1fr;gap:40px 48px;margin:0;padding:0;overflow:visible}
 .rv__card{padding:0;border:0;border-radius:0}
 .rv__text{font-size:16px;line-height:26px}
 .rv .src{margin-top:32px}
}

/* 코치: 등록 3단계 (에어비앤비 '호스팅 시작하기') — 단계마다 그림: 카톡 심볼 · 앱 레슨 등록 화면 · 스매시 참가 메시지 */
.st__list{margin-top:8px}
.st__list li{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:14px;padding:24px 0;border-bottom:1px solid var(--line)}
.st__list li:last-child{border-bottom:0}
.st__n{font-size:18px;line-height:24px;font-weight:700}
.st__list h3{font-size:17px;line-height:24px;font-weight:700}
.st__list p{margin-top:4px;font-size:15px;line-height:23px;color:var(--mute)}
.st__vis{grid-column:2;margin-top:16px;height:184px;border-radius:16px;background:var(--soft);overflow:hidden;display:flex;justify-content:center}
.st__vis--kakao{align-items:center}
.st__vis--kakao svg{width:76px;height:76px;border-radius:20px;box-shadow:0 10px 24px rgba(60,30,30,.18)}
.st__vis--shot{align-items:flex-start;padding:18px 18px 0}
.st__vis--shot img{width:min(100%,264px);border-radius:12px 12px 0 0;background:#fff;box-shadow:0 0 0 1px var(--line),0 10px 28px rgba(0,0,0,.08)}
.st__bar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
@media (max-width:959px){
 .st__list{position:relative;display:flex;gap:12px;margin:20px calc(var(--g) * -1) 0;padding:0 var(--g) 4px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 var(--g);scrollbar-width:none;overscroll-behavior-x:contain}
 .st__list::-webkit-scrollbar{display:none}
 .st__list li,.st__list li:last-child{flex:0 0 82%;min-width:0;scroll-snap-align:center;display:flex;flex-direction:column;padding:20px;border:1px solid var(--line);border-radius:20px}
 .st__n{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;font-size:14px;line-height:1}
 .st__txt{margin:12px 0 16px}
 .st__vis{margin-top:auto}
 .js-anim .st__list .st__vis,.js-anim .st__list li.in .st__vis{transform:none}
}
/* PC: 폰과 같은 카드 3장을 한 줄로 (바로 위 '스매시에서 레슨하면'처럼 제목 가운데 · 카드 3장). 앱 화면은 크게, 거의 한 화면이 다 보이게 */
@media (min-width:960px){
 .st__bar{justify-content:center}
 .st__t{text-align:center}
 .st__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:40px}
 .st__list li,.st__list li:last-child{display:flex;flex-direction:column;min-width:0;padding:28px;border:1px solid var(--line);border-radius:24px}
 .st__n{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;font-size:15px;line-height:1}
 .st__txt{margin:16px 0 24px}
 .st__list h3{font-size:22px;line-height:30px}.st__list p{margin-top:6px;font-size:16px;line-height:25px}
 .st__vis{margin-top:auto;height:320px;border-radius:18px}
 .st__vis--kakao svg{width:104px;height:104px;border-radius:26px}
 .st__vis--shot{padding:28px 24px 0}
 .st__vis--shot img{width:min(100%,280px)}
}
@media (min-width:960px) and (max-width:1199px){.st__list li,.st__list li:last-child{padding:24px}.st__vis--shot{padding:24px 14px 0}}

/* 코치: 스매시에서 레슨하면 · 레슨생: 나도 좋고, 코치님도 좋아요 (같은 카드) */
.goods{background:var(--soft);padding-bottom:var(--sec);margin-top:var(--sec)}
.goods--first{margin-top:0} /* 레슨생: 신뢰 줄 바로 아래 회색 띠 */
/* 스매시에서 레슨하면: 카드마다 앱 컴포넌트로 다시 그린 그림 + 제목 한 줄 + 설명 한 줄. 폰은 세로로 쌓아 3장이 다 보이게 */
.gd{display:flex;flex-direction:column;gap:16px;margin-top:20px}
.gd__card{display:flex;flex-direction:column;gap:16px;padding:12px 12px 20px;border-radius:20px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.06);overflow:hidden}
.gd__vis{position:relative;height:232px;border-radius:14px;background:var(--soft);overflow:hidden}
.gd__avs{display:flex}
.gd__av{display:block;width:28px;height:28px;border-radius:50%;object-fit:cover;background:#c4c4c8;box-shadow:0 0 0 2px #fff}
.gd__av+.gd__av{margin-left:-6px}
.gd__av--open{background:#fff;box-shadow:inset 0 0 0 1.5px #c4c4c8,0 0 0 2px #fff}
.gd__cnt{flex:none;padding:2px 6px;border-radius:6px;background:var(--soft);font-size:14px;line-height:20px;font-weight:500}
/* ① 코치의 하루: 기존 레슨 사이 비는 시간에 연 스매시 레슨 */
.gd__vis--day{padding:16px 18px}
.dy{display:flex;flex-direction:column;gap:8px}
.dy__row{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;column-gap:8px}
.dy__t{font-size:14px;line-height:20px;color:var(--mute);font-variant-numeric:tabular-nums}
.dy__row--new .dy__t{align-self:start;padding-top:11px;color:var(--ink);font-weight:700}
.dy__b{display:flex;align-items:center;height:34px;padding:0 12px;border-radius:10px;background:#e9e9ec;font-size:14px;line-height:20px;color:var(--mute)}
.dy__b--new{flex-direction:column;align-items:flex-start;gap:6px;height:auto;padding:10px 12px 12px;background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink),0 8px 20px rgba(0,0,0,.08)}
.dy__tag{padding:2px 8px;border-radius:999px;background:var(--ink);color:#fff;font-size:14px;line-height:20px;font-weight:700}
.dy__line{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}
.dy__ttl{font-size:16px;line-height:22px;font-weight:700}
/* ② 예약 1위 레슨이 다 차면 */
.gd__vis--calc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}
.gd__chip{padding:4px 10px;border-radius:999px;background:#fff;font-size:14px;line-height:20px;font-weight:500}
.gd__people{display:flex;align-items:center;gap:10px}
.gd__vis--calc .gd__av{width:40px;height:40px;box-shadow:0 0 0 2px var(--soft)}
.gd__vis--calc .gd__av+.gd__av{margin-left:-8px}
.gd__vis--calc .gd__cnt{background:#fff}
.gd__eq{font-size:15px;line-height:22px;color:var(--mute)}
.gd__sum{font-size:36px;line-height:44px;font-weight:700;letter-spacing:-.02em}
.gd__sum[data-count]{font-variant-numeric:tabular-nums}
/* 레슨생 ① 스매시페이 적립: 앱 '스매시페이' 화면 구성 — X pay 로고 · 잔액 · 코치 추천 이벤트 +30,000원 (앱과 같은 초록 #27ad75) */
.gd__vis--pay{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:0 14px}
.pw{display:flex;flex-direction:column;gap:12px;width:min(100%,280px);padding:16px 18px;border-radius:16px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.06);color:#222226}
.pw__logo{display:block;width:68px;height:24px}
.pw__bal{display:block;margin-top:-4px;font-size:26px;line-height:34px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.pw__row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #eee}
.pw__l,.pw__r{display:flex;flex-direction:column;gap:2px;min-width:0}
.pw__r{flex:none;align-items:flex-end}
.pw b{overflow:hidden;font-size:15px;line-height:22px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}
.pw__r b{font-size:16px;color:#27ad75;font-variant-numeric:tabular-nums}
.pw i{font-style:normal;font-size:13px;line-height:18px;color:#75737d;white-space:nowrap}
/* ③ 레슨 탭: 1위 레슨 카드가 맨 위 (실데이터) */
.gd__vis--tab{padding:18px 18px 0}
.tb{height:100%;padding:14px 14px 0;border-radius:14px 14px 0 0;background:#fff;box-shadow:0 0 0 1px var(--line),0 10px 28px rgba(0,0,0,.08)}
.tb__tabs{display:flex;align-items:center;gap:10px;font-size:20px;line-height:28px;font-weight:700;color:#c9c9ce}
.tb__tabs b{color:var(--ink)}
.tb__tabs i{width:1px;height:14px;background:var(--line)}
.tb__head{display:flex;justify-content:space-between;margin-top:12px;font-size:14px;line-height:20px}
.tb__head span+span{color:var(--mute)}
.tb__card{display:flex;gap:12px;margin-top:10px;padding:10px;border-radius:12px;box-shadow:0 0 0 1px var(--line)}
.tb__card img{flex:none;width:80px;height:80px;border-radius:8px;object-fit:cover}
.tb__card div{display:flex;flex-direction:column;min-width:0}
.tb__court,.tb__meta{overflow:hidden;font-size:14px;line-height:20px;color:var(--mute);white-space:nowrap;text-overflow:ellipsis}
.tb__t{overflow:hidden;font-size:15px;line-height:21px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}
/* 작은 폰(SE 등): 태그·레슨 카드가 한 줄에 들어가게 여백만 줄인다 */
@media (max-width:360px){
 .gd__vis--day{padding:16px 14px}
 .dy__row{grid-template-columns:40px minmax(0,1fr);column-gap:6px}
 .dy__tag{white-space:nowrap}
 .gd__vis--tab{padding:14px 12px 0}
 .tb{padding:12px 10px 0}
 .tb__card img{width:60px;height:60px}
}
.gd__txt{padding:0 12px}
.gd__txt h3{font-size:17px;line-height:24px;font-weight:700}
.gd__txt p{margin-top:4px;font-size:15px;line-height:23px;color:var(--mute)}
@media (min-width:960px){
 .goods .h2{text-align:center}
 .gd{flex-direction:row;gap:24px;margin-top:40px}
 .gd__card{flex:1;min-width:0;gap:20px;padding:12px 12px 28px}
 .gd__vis{height:264px}
 .gd__vis--day{padding:22px 20px}
 .dy{gap:10px}
 .gd__vis--calc{gap:10px}
 .gd__vis--calc .gd__av{width:44px;height:44px}
 .gd__eq{font-size:16px;line-height:24px}
 .gd__sum{font-size:44px;line-height:52px}
 .gd__vis--tab{padding:24px 20px 0}
 .gd__txt{padding:0 16px}
 .gd__txt h3{font-size:20px;line-height:30px}
 .gd__txt p{font-size:16px;line-height:25px}
}

/* share sheet */
.sheet{position:fixed;inset:0;bottom:var(--kb,0px);z-index:100;display:flex;align-items:flex-end;justify-content:center}
.sheet[hidden]{display:none}
.sheet__dim{position:fixed;inset:0;background:rgba(0,0,0,.5);animation:fade .2s ease-out}
.sheet__box{--sp:24px;position:relative;width:100%;max-height:calc(var(--vvh,100dvh) - 24px);overflow:hidden;padding:12px var(--sp) calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fff;display:flex;flex-direction:column;gap:14px;animation:up .28s var(--ease)}
.sheet__grab{align-self:center;width:40px;height:4px;border-radius:2px;background:#d0d0d0}
.sheet__x{position:absolute;top:14px;right:16px;z-index:2;width:36px;height:36px;border:0;border-radius:50%;background:var(--soft);display:grid;place-items:center;cursor:pointer}
.sheet__x::after{content:"";position:absolute;inset:-4px}
.sheet__t{font-size:20px;line-height:28px;font-weight:700;padding-right:44px}
.sheet__p{margin-top:-8px;font-size:15px;line-height:22px;color:var(--mute)}
.field{display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:20px;font-weight:500}
.field input,.field textarea{width:100%;padding:14px 16px;border:1px solid #ddd;border-radius:12px;background:#fff;font-size:16px;line-height:24px;font-weight:400;resize:vertical}
.field textarea{background:var(--soft);border-color:transparent}
.sheet__link{display:flex;margin-top:-6px;font-size:14px;line-height:20px;color:#4a6fa5;white-space:nowrap}
.sheet__host{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.sheet__ref{flex:0 0 auto;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.field__hint{margin-top:-6px;font-size:14px;line-height:20px;color:#d92d20}
.field__hint[hidden]{display:none}
/* 입력 칸 포커스는 검정 (보라는 CTA에만). */
.field input:focus-visible,.field textarea:focus-visible{outline-color:var(--ink);outline-offset:2px}
.sheet .txt{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;white-space:nowrap}
.sheet__alt{display:flex;justify-content:center;gap:16px}
.sheet__main{display:flex;flex-direction:column;gap:14px;flex:1 1 auto;min-height:0}
.sheet__body{display:flex;flex-direction:column;gap:14px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:10px;margin:-6px calc(-1 * var(--sp)) 0;padding:6px var(--sp) 4px}
.sheet__foot{display:flex;flex-direction:column;gap:14px;flex:none}
/* 키보드가 올라와 있으면 보조 링크는 접어 입력 칸 자리를 넓힌다. */
.sheet.is-kb .sheet__alt,.sheet.is-kb .sheet__grab{display:none}
/* 키보드가 떠 있으면 닫기 X 아래에서 본문이 시작해, 스크롤돼도 X가 입력 칸 위에 겹치지 않는다. */
.sheet.is-kb .sheet__x{top:8px}
.sheet.is-kb .sheet__body{margin-top:32px}
/* 작은 폰(키보드 위로 보이는 높이 300px 미만)은 X 띠를 두지 않고 입력 칸·보내기 버튼에 자리를 다 준다. 닫기는 키보드를 내리면 다시 보인다. */
.sheet.is-tight .sheet__x{display:none}
.sheet.is-tight .sheet__body{margin-top:-6px}
/* 시트가 짧아져도 줄이 찌그러지지 않고 스크롤된다. */
.sheet__body>*,.sheet__done>*{flex-shrink:0}
.sheet__main[hidden],.sheet__done[hidden]{display:none}
.sheet__done{display:flex;flex-direction:column;align-items:center;gap:12px;overflow-y:auto;padding:16px 0 4px;text-align:center}
.sheet__done .sheet__t{padding-right:0}
.sheet__done .sheet__p{margin-top:-4px;max-width:340px}
.sheet__done .btn{margin-top:12px}
.done__icon{width:60px;height:60px;border-radius:50%;background:var(--soft);display:grid;place-items:center;animation:pop .35s var(--ease)}
.done__note{font-size:13px;line-height:18px;color:var(--mute)}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
@media (min-width:960px){.sheet{align-items:center;padding:24px}.sheet__box{--sp:36px;width:520px;border-radius:24px;padding:36px 36px 28px}.sheet__grab{display:none}}
@keyframes fade{from{opacity:0}}@keyframes up{from{transform:translateY(24px);opacity:0}}

/* toast */
.toast{position:fixed;left:50%;bottom:calc(var(--dock) + 16px + env(safe-area-inset-bottom));z-index:150;transform:translateX(-50%);width:max-content;max-width:calc(100% - 48px);padding:12px 18px;border-radius:12px;background:rgba(17,17,17,.92);color:#fff;font-size:15px;line-height:22px;text-align:center}
.toast[hidden]{display:none}
@media (min-width:960px){.toast{bottom:40px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* 스크롤 효과: 내릴 때마다 하나씩 나타난다 (motion.js가 js-anim을 켜고, 움직임 줄이기 설정이면 켜지 않는다). */
.js-anim [data-r]{opacity:0;transform:translate3d(0,var(--rise,24px),0);transition:opacity .7s var(--ease),transform .7s var(--ease)}
@media (max-width:959px){:root{--rise:36px}}
.js-anim [data-r="img"]{transform:scale(1.04);transition:opacity 1s var(--ease),transform 1.6s var(--ease)}
.js-anim [data-r].in{opacity:1;transform:none}
/* 가로로 넘기는 카드 줄(인기 레슨·리뷰) 안 카드는 제자리 페이드인만. 아래에서 올라오면 줄이 세로로 넘쳐 첫 스와이프·스크롤 때 출렁인다(NYC OPEN 규칙). */
.js-anim [data-r-group] [data-r]{transform:none;transition:opacity .7s var(--ease)}
.lc__list{position:relative;overflow-y:hidden}
/* 폰에서 넘긴 카드는 가운데에 멈춰 앞·뒤 카드가 양쪽에 같은 폭으로 보인다(NYC OPEN과 같은 보기, 2026-11-03 대표 요청).
   첫 카드는 왼쪽 거터, 마지막 카드는 오른쪽 거터에 붙는다(스크롤 끝에서 자연히 멈춤). 한쪽에만 얇은 조각이 보이면 안 된다. */
@media (max-width:959px){.rv__list{overflow-y:hidden}.lc__card,.rv__card{scroll-snap-align:center}}
.js-anim .tl__step:not(:last-child)::before{transform:scaleY(0);transform-origin:top;transition:transform .9s .3s var(--ease)}
.js-anim .tl__step.in::before{transform:none}
.js-anim .tl__step .mock,.js-anim .st__vis{opacity:0;transform:translate3d(0,14px,0) scale(.98);transition:opacity .6s .3s var(--ease),transform .6s .3s var(--ease)}
.js-anim .tl__step.in .mock,.js-anim li.in .st__vis{opacity:1;transform:none}
.js-anim .rv__kw b{transform:scaleX(0);transform-origin:left;transition:transform 1.1s var(--ease)}
.js-anim .rv__sum.in b{transform:none}
.rv__kw li:nth-child(2) b{transition-delay:.08s}
.rv__kw li:nth-child(3) b{transition-delay:.16s}
.rv__kw li:nth-child(4) b{transition-delay:.24s}
.rv__kw b{transition-delay:.3s}
/* 블록 안에서도 하나씩: 나도 좋고 두 칸, 실데이터 숫자, 인기 레슨 순위, 자주 묻는 질문이 차례로 올라온다. */
.js-anim .both>div,.js-anim .stats>div,.js-anim .rank>li,.js-anim .faq>details{opacity:0;transform:translate3d(0,16px,0);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.js-anim .both.in>div,.js-anim .stats.in>div,.js-anim .rank.in>li,.js-anim .faq.in>details{opacity:1;transform:none}
.js-anim :is(.both,.stats,.rank,.faq).in>:nth-child(2){transition-delay:.15s}.js-anim :is(.both,.stats,.rank,.faq).in>:nth-child(3){transition-delay:.3s}.js-anim :is(.both,.stats,.rank,.faq).in>:nth-child(4){transition-delay:.45s}
@media (prefers-reduced-motion:reduce){
 .js-anim [data-r],.js-anim .tl__step .mock,.js-anim .st__vis,.js-anim .both>div,.js-anim .stats>div,.js-anim .rank>li,.js-anim .faq>details{opacity:1;transform:none;transition:none}
 .js-anim .tl__step::before,.js-anim .rv__kw b{transform:none;transition:none}
}
