/* 안녕 mockup-ko — 무드보드 디자인 시스템
   컬러: 크림 #FAF9F6 · 잉크 #111111 · 블루 #246BFD · 소프트블루 #EAF1FF */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #FAF9F6;
  --ink: #111111;
  --blue: #246BFD;
  --soft: #EAF1FF;
  --gray: #8a887f;
  --line: #eceae3;
  --card: #ffffff;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', sans-serif;
  background: #efede7; color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.page { max-width: 430px; margin: 0 auto; min-height: 100vh; background: var(--bg); padding-bottom: 96px; position: relative; box-shadow: 0 0 40px rgba(0,0,0,.08); }

/* ── 로고 (실물 이미지) ── */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 24px; display: block; }
.footlogo { height: 42px; margin: 0 auto 12px; display: block; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; position: sticky; top: 0; z-index: 10;
  background: rgba(250,249,246,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .back { font-size: 22px; text-decoration: none; color: var(--ink); font-weight: 700; margin-right: 10px; }
.top .navlink { font-size: 13px; font-weight: 800; color: var(--blue); text-decoration: none; }
.top .lgroup { display: flex; align-items: center; }

/* ── 히어로 ── */
.hero { padding: 34px 22px 0; }
.hero .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--blue); }
.hero h1 { font-size: 31px; font-weight: 900; letter-spacing: -0.8px; line-height: 1.28; margin-top: 10px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .sub { font-size: 15px; color: #4d4b44; margin-top: 12px; }
.hero .sub b { color: var(--ink); }
/* ── 히어로: 1:1 수업 화면 목업 (CSS 제품 비주얼) ── */
.heroapp { margin: 28px 20px 6px; position: relative; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* 뒤에 겹친 프레임 (무드보드 스택) */
.stackf { position: absolute; border-radius: 22px; animation: floaty 6s ease-in-out infinite; }
.stackf.sf1 { top: -12px; right: -8px; width: 62%; height: 55%; background: #111111; }
.stackf.sf2 { bottom: -10px; left: -10px; width: 48%; height: 45%; background: #fff; border: 1px solid var(--line); animation-delay: 1.4s; }

/* 메인 모션 윈도우 — 롤링 비디오 느낌 */
.mwin {
  position: relative; height: 340px; border-radius: 22px; overflow: hidden;
  background: #0d0d0f; box-shadow: 0 18px 44px rgba(17,17,17,.18);
}
.mwin .roll {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: rollfade 15s ease-in-out infinite;
  filter: saturate(.9) contrast(.96);
}
.mwin .roll.r2 { animation-delay: 5s; }
.mwin .roll.r3 { animation-delay: 10s; }
@keyframes rollfade {
  0% { opacity: 0; transform: scale(1.07); }
  4% { opacity: 1; }
  33% { opacity: 1; transform: scale(1); }
  41% { opacity: 0; }
  100% { opacity: 0; transform: scale(1); }
}
.mwin .mtop {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: flex; align-items: center; gap: 7px;
  color: #fff; font-size: 11.5px; font-weight: 800;
  background: rgba(17,17,17,.55); backdrop-filter: blur(4px);
  border-radius: 99px; padding: 6px 12px;
}
.mwin .mtop .rec { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: blink 1.6s infinite; }
.mwin .grain {
  position: absolute; inset: -20px; z-index: 2; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: overlay; animation: grainshift .35s steps(2) infinite;
}
@keyframes grainshift { 0% { transform: translate(0,0); } 50% { transform: translate(-5px,4px); } 100% { transform: translate(4px,-3px); } }

/* 타이핑 라인 */
.typebox {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  background: rgba(17,17,17,.72); backdrop-filter: blur(6px);
  border-radius: 14px; padding: 13px 16px; min-height: 48px;
  display: flex; align-items: center; color: #fff; font-size: 16px; font-weight: 800;
}
.typebox .caret { width: 2.5px; height: 20px; background: var(--blue); margin-left: 4px; flex-shrink: 0; animation: blink 1s steps(1) infinite; }
.fchip {
  position: absolute; background: #fff; border-radius: 12px;
  box-shadow: 0 10px 26px rgba(17,17,17,.16);
  font-size: 12px; font-weight: 800; padding: 9px 13px; color: var(--ink);
}
.fchip.f1 { top: -14px; right: 6px; transform: rotate(2deg); }
.fchip.f2 { bottom: -14px; left: 8px; transform: rotate(-2deg); }
.fchip .dotg { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-right: 5px; animation: blink 2s infinite; }

/* ── 섹션 공통 ── */
.sec { padding: 40px 22px 0; }
.sec .st { font-size: 21px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.35; }
.sec .st em { font-style: normal; color: var(--blue); }
.sec .sd { font-size: 13.5px; color: var(--gray); margin-top: 4px; }

/* ── 트랙 필터 ── */
.seg { display: flex; gap: 6px; margin-top: 14px; }
.seg button {
  flex: 1; border: 1.5px solid var(--line); background: var(--card);
  border-radius: 99px; padding: 9px 0; font-size: 13px; font-weight: 800;
  color: var(--gray); cursor: pointer; font-family: inherit;
}
.seg button.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.curation {
  margin-top: 12px; font-size: 12.5px; color: #1c3f8f; font-weight: 700;
  background: var(--soft); border-radius: 10px; padding: 10px 14px;
}

/* ── 튜터 카드 ── */
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.tcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  text-decoration: none; color: var(--ink); position: relative;
  display: flex; flex-direction: column;
  transition: transform .15s;
}
.tcard:active { transform: scale(.98); }
.tcard .photo { width: 100%; height: 155px; object-fit: cover; display: block; }
.tcard .photo-ph {
  width: 100%; height: 155px; background: var(--soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 12px; font-weight: 800;
}
.tcard .ti { padding: 11px 13px 13px; flex: 1; display: flex; flex-direction: column; }
.tcard .nm { font-size: 15.5px; font-weight: 900; display: flex; align-items: baseline; }
.tcard .nm small { font-weight: 600; color: var(--gray); font-size: 12px; margin-left: 3px; }
.tcard .nm .rate { margin-left: auto; font-size: 11.5px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.tcard .nm .rate i { font-style: normal; color: var(--gray); font-weight: 700; }
.tcard .hook {
  font-size: 12.5px; color: #4d4b44; margin-top: 2px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tcard .specs { margin-top: 7px; display: flex; flex-direction: column; gap: 3px; }
.tcard .specs div {
  font-size: 11.5px; font-weight: 800;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tcard .specs .t { color: #1c3f8f; }
.tcard .specs .c { color: var(--gray); }
.tcard .track {
  position: absolute; top: 10px; left: 10px;
  font-size: 10.5px; font-weight: 900; border-radius: 99px; padding: 4px 10px;
  box-shadow: 0 3px 10px rgba(17,17,17,.16);
}
.track.pro { background: var(--blue); color: #fff; }
.track.casual { background: #fff; color: var(--ink); }
.tcard .spec { font-size: 11.5px; color: #1c3f8f; font-weight: 800; margin-top: 5px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.tags span {
  font-size: 10.5px; font-weight: 800; color: #66645b;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px;
}
.tcard .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.tcard .left {
  display: inline-block;
  font-size: 11.5px; font-weight: 800; color: var(--blue);
  background: var(--soft); border-radius: 6px; padding: 3px 8px;
}
.tcard .left.hot { color: #c2410c; background: #fdeee3; }
.tcard .more { font-size: 11px; font-weight: 800; color: var(--gray); }

/* ── 상세: 스펙 박스 + 자기소개 토글 ── */
.specbox { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.specbox .srow {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 700;
}
.specbox .srow:last-child { border-bottom: none; }
.specbox .srow .ic { width: 22px; text-align: center; flex-shrink: 0; }
.specbox .srow .vok {
  margin-left: auto; font-size: 10.5px; font-weight: 900; color: #15803d;
  background: #e9f6ee; border-radius: 99px; padding: 3px 9px; white-space: nowrap;
}
details.intro { margin-top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
details.intro summary {
  list-style: none; cursor: pointer; padding: 13px 16px;
  font-size: 14px; font-weight: 800; display: flex; justify-content: space-between;
}
details.intro summary::-webkit-details-marker { display: none; }
details.intro summary::after { content: "펼치기 +"; color: var(--blue); font-size: 12px; font-weight: 800; }
details.intro[open] summary::after { content: "접기 –"; }
details.intro .body { padding: 0 16px 15px; font-size: 14px; color: #4d4b44; line-height: 1.7; }

/* ── 리뷰 ── */
.rvsum {
  margin-top: 14px; display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 17px;
}
.rvsum .big { font-size: 34px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.rvsum .stars { font-size: 13px; letter-spacing: 1px; }
.rvsum .cnt { font-size: 12px; color: var(--gray); font-weight: 700; margin-top: 2px; }
.rvlist { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.rv { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; }
.rv .rhead { display: flex; align-items: baseline; gap: 8px; }
.rv .rname { font-size: 13px; font-weight: 900; }
.rv .rstars { font-size: 11px; letter-spacing: 1px; }
.rv .rdate { margin-left: auto; font-size: 11px; color: var(--gray); font-weight: 600; }
.rv .rtext { font-size: 13px; color: #4d4b44; margin-top: 5px; line-height: 1.6; }

/* ── 진행 순서 ── */
.steps { margin-top: 16px; display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 14px; }
.step .rail { display: flex; flex-direction: column; align-items: center; }
.step .dot {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.step .bar { width: 2px; flex: 1; background: var(--line); min-height: 18px; }
.step:last-child .bar { display: none; }
.step .body { padding-bottom: 20px; }
.step .t { font-size: 15px; font-weight: 800; padding-top: 3px; }
.step .d { font-size: 13px; color: #66645b; margin-top: 2px; }
.step .d b { color: var(--ink); }

/* ── 가격 ── */
.pricewrap { margin-top: 16px; }
.pcompare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcol { border-radius: 16px; padding: 16px; }
.pcol.them { background: var(--card); border: 1px solid var(--line); color: var(--gray); }
.pcol.us { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.pcol .pn { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.pcol.us .pn { color: #9db9ff; }
.pcol .pv { font-size: 22px; font-weight: 900; margin-top: 4px; letter-spacing: -0.5px; }
.pcol .pd { font-size: 12px; margin-top: 6px; line-height: 1.5; }
.pcol.us .pd { color: #d7d5cd; }
.refund { margin-top: 10px; background: var(--soft); border-radius: 12px; padding: 12px 15px; font-size: 13px; font-weight: 700; color: #1c3f8f; }

/* ── FAQ ── */
.faq { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
details.qa { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
details.qa summary {
  list-style: none; cursor: pointer; padding: 13px 16px;
  font-size: 14px; font-weight: 800; display: flex; justify-content: space-between; gap: 10px;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--blue); font-weight: 900; }
details.qa[open] summary::after { content: "–"; }
details.qa .a { padding: 0 16px 14px; font-size: 13.5px; color: #4d4b44; }

/* ── 브랜드 푸터 ── */
.brandfoot { margin-top: 44px; padding: 30px 22px 34px; border-top: 1px solid var(--line); text-align: center; }
.brandfoot .motto { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--gray); }
.brandfoot .copy { font-size: 11.5px; color: #b3b1a8; margin-top: 8px; }

/* ── 스티키 CTA ── */
.cta-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; padding: 12px 16px 20px;
  background: linear-gradient(180deg, rgba(250,249,246,0), var(--bg) 42%);
  z-index: 20;
}
.btn {
  display: block; width: 100%; text-align: center; text-decoration: none;
  background: var(--blue); color: #fff; font-size: 16px; font-weight: 800;
  padding: 16px; border-radius: 14px; border: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(36,107,253,.28);
  font-family: inherit;
}
.btn:disabled, .btn.dis { background: #c9c7be; box-shadow: none; cursor: not-allowed; }
.btn.ink { background: var(--ink); box-shadow: none; }
.cta-note { text-align: center; font-size: 11.5px; color: var(--gray); margin-top: 7px; font-weight: 600; }

/* ── 튜터 상세 ── */
.hero-tutor img { width: 100%; display: block; }
.td { padding: 20px 22px 0; }
.td .nm { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; }
.td .nm small { font-size: 14px; color: var(--gray); font-weight: 600; margin-left: 4px; }
.td .quote {
  margin-top: 12px; padding: 14px 16px; background: var(--soft);
  border-radius: 12px; font-size: 14.5px; font-weight: 700; color: #1c3f8f; line-height: 1.55;
}
.td .bio { font-size: 14px; color: #4d4b44; margin-top: 12px; }
.badges { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.badges span { font-size: 11.5px; font-weight: 800; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px; color: #33322c; }
.video-ph {
  margin-top: 14px; height: 110px; border-radius: 12px; background: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; font-size: 13px; font-weight: 800;
}
.video-ph .play { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* ── 예약 위젯 (캘린들리 스타일) ── */
.livechip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800; color: #15803d;
  background: #e9f6ee; border-radius: 99px; padding: 5px 11px;
}
.livechip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: blink 2s infinite; }
.book { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 15px 15px 16px; }
.book .bhead { display: flex; align-items: center; justify-content: space-between; }
.book .bhead .tz { font-size: 11.5px; color: var(--gray); font-weight: 700; }
.days { display: flex; gap: 7px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.dayc {
  min-width: 60px; flex: 0 0 auto; text-align: center;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 0 8px;
  background: var(--bg); cursor: pointer;
}
.dayc .wd { font-size: 10.5px; color: var(--gray); font-weight: 800; }
.dayc .dt { font-size: 15px; font-weight: 900; margin-top: 1px; }
.dayc .n { font-size: 10px; font-weight: 800; color: var(--blue); margin-top: 3px; }
.dayc.off { opacity: .35; cursor: default; }
.dayc.sel { border-color: var(--blue); background: var(--soft); }
.dayc.sel .wd, .dayc.sel .dt { color: var(--blue); }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.time {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 0 10px;
  text-align: center; font-size: 14px; font-weight: 800;
  background: var(--card); cursor: pointer; color: var(--ink); font-family: inherit;
}
.time.sel { border-color: var(--blue); background: var(--soft); color: var(--blue); }
.time.full { color: #c6c4bb; cursor: not-allowed; background: var(--bg); font-weight: 700; }
.time.full small { display: block; font-size: 9.5px; font-weight: 800; margin-top: 1px; }
.notimes { grid-column: 1 / -1; text-align: center; color: var(--gray); font-size: 13px; padding: 16px 0; }

.pricebox {
  margin: 20px 22px 0; padding: 15px 17px; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.pricebox .l { font-size: 13.5px; font-weight: 800; }
.pricebox .l small { display: block; font-weight: 600; color: var(--gray); font-size: 12px; margin-top: 1px; }
.pricebox .p { font-size: 21px; font-weight: 900; color: var(--blue); }

/* ── 체크아웃 ── */
.box { margin: 14px 20px 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; }
.box .bt { font-size: 11.5px; font-weight: 900; color: var(--gray); letter-spacing: .08em; margin-bottom: 9px; }
.sumline { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.sumline b { font-weight: 800; }
.sumline.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-size: 16px; }
.sumline.total b { color: var(--blue); }
.field { margin-top: 10px; }
.field label { font-size: 12.5px; font-weight: 700; color: #33322c; display: block; margin-bottom: 4px; }
.field input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px; font-size: 15px; outline: none; background: var(--bg); font-family: inherit;
}
.field input:focus { border-color: var(--blue); background: #fff; }
.paym { display: flex; flex-direction: column; gap: 8px; }
.paym label {
  display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line);
  border-radius: 11px; padding: 12px 14px; font-size: 14px; font-weight: 700; cursor: pointer;
}
.paym label:has(input:checked) { border-color: var(--blue); background: var(--soft); }
.paym input { accent-color: var(--blue); }
.qr { margin-top: 14px; text-align: center; }
.qr .qr-ph {
  width: 150px; height: 150px; margin: 0 auto; border-radius: 12px;
  background: var(--soft); border: 1.5px dashed var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 12px; font-weight: 800;
}
.qr p { font-size: 12.5px; color: var(--gray); margin-top: 8px; }
.flownote { margin: 14px 20px 0; background: var(--soft); border-radius: 12px; padding: 13px 16px; }
.flownote .fn { font-size: 13px; font-weight: 700; color: #1c3f8f; padding: 2px 0; }

/* ── 완료 ── */
.done { text-align: center; padding: 60px 26px 10px; }
.done .ic {
  width: 68px; height: 68px; border-radius: 50%; background: var(--blue);
  color: #fff; font-size: 30px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  box-shadow: 0 8px 22px rgba(36,107,253,.3);
}
.done h1 { font-size: 23px; font-weight: 900; letter-spacing: -0.5px; }
.done p { font-size: 14.5px; color: #4d4b44; margin-top: 10px; }
.done p b { color: var(--ink); }
.timeline { margin: 26px 22px 0; text-align: left; }

footer.note { padding: 26px 20px; font-size: 11.5px; color: #b3b1a8; text-align: center; }

/* ══════════ 데스크톱 기반 홈 레이아웃 (index) ══════════ */
.page.home { max-width: none; box-shadow: none; padding-bottom: 0; }
.shell { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

.home .top { padding: 0; }
.home .topin {
  max-width: 1100px; margin: 0 auto; padding: 15px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.home .topnav { display: flex; align-items: center; gap: 20px; }
.home .navcta {
  background: #111216; color: #fff; text-decoration: none;
  border-radius: 99px; padding: 10px 20px; font-size: 13.5px; font-weight: 800;
  box-shadow: none;
}

.hero2 { padding: 60px 0 10px; }
.herogrid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hleft .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--blue); }
.hleft .th1 {
  font-size: clamp(34px, 4.4vw, 52px); font-weight: 900;
  letter-spacing: -1.2px; line-height: 1.24; margin-top: 14px;
  min-height: 3.75em;
}
.hleft .th1 em { font-style: normal; color: var(--blue); }
.caret2 {
  display: inline-block; width: 3px; height: .92em; background: var(--blue);
  margin-left: 5px; vertical-align: -.1em; animation: blink 1s steps(1) infinite;
}
.hleft .sub { font-size: 17.5px; color: #4d4b44; margin-top: 8px; }
.hcta { margin-top: 28px; }
.hcta .btn { display: inline-block; width: auto; padding: 16px 36px; font-size: 16.5px; }
.cta-note2 { font-size: 12.5px; color: var(--gray); margin-top: 10px; font-weight: 600; }

.home .mwin { height: 430px; }
.home .sec { padding: 56px 0 0; }
.home .sec .st { font-size: 27px; }
.home .tgrid { grid-template-columns: repeat(4, 1fr); }
.home .seg { max-width: 480px; }
.home .pricewrap, .home .faq, .home .steps { max-width: 760px; }
.home .brandfoot { margin-top: 70px; }
.home .cta-bar { display: none; }

@media (max-width: 880px) {
  .shell { padding: 0 20px; }
  .home .topin { padding: 14px 20px; }
  .home .navcta { display: none; }
  .hero2 { padding: 30px 0 0; }
  .herogrid { grid-template-columns: 1fr; gap: 34px; }
  .hleft .th1 { min-height: 3.7em; }
  .home .mwin { height: 330px; }
  .home .sec { padding: 42px 0 0; }
  .home .sec .st { font-size: 21px; }
  .home .tgrid { grid-template-columns: 1fr 1fr; }
  .home .cta-bar { display: block; }
  .page.home { padding-bottom: 96px; }
}

/* ══════════ 히어로 v5 — 고정 수업 이미지 + K-컬처 카피 캐러셀 ══════════ */
.home .topin { width: 100%; }

.hero3 {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 61px); display: flex; align-items: center;
  text-align: left; background: #f7f9fb;
}
.filmbg { position: absolute; inset: 0; z-index: 0; }
.hero-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center center; filter: saturate(.82) contrast(.96);
  opacity: 0; transition: opacity .34s ease; pointer-events: none;
}
.hero-image.is-active { opacity: 1; }
.filmwash {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(248,250,252,.98) 0%,
    rgba(248,250,252,.93) 32%,
    rgba(248,250,252,.5) 51%,
    rgba(248,250,252,.06) 72%,
    rgba(248,250,252,0) 100%);
}

.hero3in {
  position: relative; z-index: 2; width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 96px 48px 84px;
}
.hero-copy { max-width: 690px; }
.hero-kicker {
  font-size: 12px; font-weight: 800; letter-spacing: .18em;
  color: var(--blue); margin-bottom: 24px;
}
.livechip2 {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 800; color: #15803d;
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 8px 16px; box-shadow: 0 4px 14px rgba(17,17,17,.06);
}
.livechip2 i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: blink 2s infinite; }
.hero3 .th1 {
  font-size: clamp(46px, 4.7vw, 68px); font-weight: 650;
  letter-spacing: -2.8px; line-height: 1.08; margin-top: 0;
}
.headline-typing { display: block; }
.headline-typing {
  min-height: 2.16em; white-space: nowrap;
}
.hero3 .th1 em { font-style: normal; color: var(--blue); }
.type-caret {
  display: inline-block; width: 3px; height: .82em; margin-left: 7px;
  border-radius: 99px; background: var(--blue);
  vertical-align: -.04em; animation: blink 1s steps(1) infinite;
}
.hero-dots {
  display: flex; align-items: center; gap: 7px; height: 12px; margin-top: 7px;
}
.hero-dot {
  width: 22px; height: 4px; padding: 0; border: 0; border-radius: 99px;
  background: rgba(17,18,22,.18); cursor: pointer;
  transition: width .28s ease, background-color .28s ease;
}
.hero-dot.is-active { width: 38px; background: var(--blue); }
.hero-dot:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.hero3 .sub {
  max-width: 610px; min-height: 3.1em; margin-top: 18px;
  font-size: clamp(16px, 1.5vw, 19px); color: #45474d; line-height: 1.55;
}
.hbtns { display: flex; gap: 12px; justify-content: flex-start; margin-top: 28px; flex-wrap: wrap; }
.hbtns .btn {
  display: inline-block; width: auto; padding: 16px 30px; font-size: 15.5px;
  border-radius: 999px;
}
.hero3 .btn.main { background: #111216; box-shadow: none; }
.hbtns .btn.ghost2 {
  background: rgba(255,255,255,.72); color: var(--ink);
  border: 1px solid rgba(17,18,22,.12); box-shadow: none;
  backdrop-filter: blur(8px);
}
.hero3 .cta-note2 { margin-top: 15px; color: #62666d; }

/* 섹션 중앙 정렬 (안티그래비티 비율) */
.home .sec { max-width: 980px; margin: 0 auto; text-align: center; }
.home .sec .st { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -1px; }
.home .seg { max-width: 460px; margin-left: auto; margin-right: auto; }
.home .curation { display: inline-block; }
.home .tgrid { text-align: left; }
.home .pricewrap { max-width: 720px; margin-left: auto; margin-right: auto; }
.home .steps { max-width: 560px; margin-left: auto; margin-right: auto; text-align: left; }
.home .faq { max-width: 680px; margin-left: auto; margin-right: auto; text-align: left; }

@media (max-width: 880px) {
  .hero3 { min-height: calc(100svh - 57px); align-items: flex-start; }
  .hero-image { object-position: 72% center; }
  .filmwash {
    background:
      linear-gradient(180deg, rgba(248,250,252,.98) 0%, rgba(248,250,252,.9) 39%, rgba(248,250,252,.38) 67%, rgba(248,250,252,.08) 100%),
      linear-gradient(90deg, rgba(248,250,252,.42) 0%, rgba(248,250,252,0) 100%);
  }
  .hero3in { padding: 54px 22px 44px; }
  .hero-copy { max-width: 390px; }
  .hero-kicker { font-size: 10px; margin-bottom: 18px; }
  .hero3 .th1 { font-size: clamp(34px, 9.3vw, 44px); letter-spacing: -1.8px; }
  .headline-typing { min-height: 2.16em; white-space: nowrap; }
  .type-caret { width: 2.5px; margin-left: 5px; }
  .hero3 .sub { max-width: 315px; min-height: 4.65em; margin-top: 15px; font-size: 14.5px; }
  .hero-dots { margin-top: 3px; }
  .hbtns { margin-top: 22px; }
  .hbtns .btn { padding: 15px 24px; font-size: 15px; }
  .hbtns .btn.ghost2 { display: none; }
  .home .cta-bar {
    transition: opacity .24s ease, transform .24s ease;
  }
  .home .cta-bar.hero-hidden {
    opacity: 0; pointer-events: none;
    transform: translate(-50%, 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image, .hero-dot { transition: none; }
  .type-caret { display: none; }
  .pick-back, .pick-front, .pick-check, .pay-card, .pay-coin, .meet-screen, .meet-live {
    animation: none;
  }
}

/* ══════════ 키노트 스타일 섹션 ══════════ */
/* 거대 가격 */
.bigprice .pnum {
  font-size: clamp(72px, 11vw, 150px); font-weight: 800;
  letter-spacing: -5px; line-height: 1; margin-top: 26px; color: var(--ink);
}
.bigprice .psub { font-size: clamp(15px, 1.7vw, 19px); color: #66645b; margin-top: 18px; }

/* 진행 3컬럼 */
.steps3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 860px; margin: 40px auto 0;
}
.steps3 > div { text-align: center; }
.step3 {
  min-width: 0; padding: 10px 8px 4px;
  display: flex; flex-direction: column; align-items: center;
}
.step-visual {
  position: relative; width: 220px; height: 190px; margin-bottom: 24px;
  perspective: 900px; transform-style: preserve-3d;
}
.steps3 b { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--blue); }
.steps3 h3 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.5px; margin-top: 8px; }
.steps3 p { font-size: 14.5px; color: var(--gray); margin-top: 6px; }

/* 01 — 선생님 선택: 겹친 프로필 카드 */
.pick-shadow, .pay-shadow, .meet-shadow {
  position: absolute; left: 50%; bottom: 14px; width: 140px; height: 26px;
  border-radius: 50%; background: rgba(35,44,62,.14);
  filter: blur(14px); transform: translateX(-50%) rotateX(68deg);
}
.pick-sheet {
  position: absolute; left: 50%; top: 26px; width: 126px; height: 132px;
  border-radius: 26px; transform-style: preserve-3d;
}
.pick-back {
  background: linear-gradient(145deg, #dce8ff, #a9c6ff);
  box-shadow: 0 16px 32px rgba(36,107,253,.2);
  transform: translateX(-38%) rotateY(-18deg) rotateZ(8deg) translateZ(-18px);
  animation: pickBack 5.6s ease-in-out infinite;
}
.pick-front {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 20px; background: linear-gradient(150deg, #fff, #edf2f8);
  box-shadow: 0 20px 42px rgba(35,44,62,.2), inset 0 1px 0 rgba(255,255,255,.9);
  transform: translateX(-62%) rotateY(14deg) rotateZ(-5deg) translateZ(16px);
  animation: pickFront 5.6s ease-in-out infinite;
}
.pick-avatar {
  position: relative; overflow: hidden;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(145deg, #326fff, #9cbcff);
  box-shadow: inset -7px -8px 13px rgba(17,18,22,.12);
}
.pick-avatar::before {
  content: ""; position: absolute; left: 50%; top: 10px; width: 22px; height: 22px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 44% 42%, #f2d1bd 0 54%, #20242d 56% 72%, transparent 74%);
}
.pick-avatar::after {
  content: ""; position: absolute; left: 50%; bottom: -12px; width: 48px; height: 38px;
  transform: translateX(-50%); border-radius: 50% 50% 10px 10px; background: #151922;
}
.pick-line { height: 7px; margin-top: 14px; border-radius: 99px; background: #cbd2dc; }
.pick-line.line-long { width: 70px; }
.pick-line.line-short { width: 46px; margin-top: 8px; background: #e0e5ec; }
.pick-check {
  position: absolute; right: 28px; top: 24px; width: 44px; height: 44px;
  border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 20px; font-weight: 900;
  background: linear-gradient(145deg, #4f82ff, #1457ef);
  box-shadow: 0 12px 24px rgba(36,107,253,.35), inset 0 2px 2px rgba(255,255,255,.32);
  animation: checkFloat 3.8s ease-in-out infinite;
}

/* 02 — 결제: 카드와 코인 */
.pay-card {
  position: absolute; left: 50%; top: 40px; width: 154px; height: 102px;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(145deg, #17191f, #050609);
  box-shadow: 0 24px 42px rgba(17,18,22,.28), inset 0 1px 0 rgba(255,255,255,.2);
  transform: translateX(-50%) rotateX(14deg) rotateY(-14deg) rotateZ(5deg);
  animation: cardFloat 5.2s ease-in-out infinite;
}
.pay-card::after {
  content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%;
  right: -34px; bottom: -36px; background: rgba(36,107,253,.86);
}
.pay-chip {
  position: absolute; left: 22px; top: 26px; width: 32px; height: 24px;
  border-radius: 7px; background: linear-gradient(145deg, #f2f5fb, #9ba8bb);
  box-shadow: inset -3px -3px 5px rgba(17,18,22,.14);
}
.pay-mark {
  position: absolute; left: 22px; bottom: 22px; width: 58px; height: 7px;
  border-radius: 99px; background: rgba(255,255,255,.68);
}
.pay-coin {
  position: absolute; right: 26px; top: 17px; z-index: 2;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 27px; font-weight: 800;
  background: radial-gradient(circle at 35% 30%, #74a0ff, #246bfd 60%, #174fc3);
  border: 5px solid #d7e4ff;
  box-shadow: 0 14px 28px rgba(36,107,253,.35), inset -6px -7px 9px rgba(15,52,137,.32);
  animation: coinFloat 4s ease-in-out infinite;
}

/* 03 — 만남: 1:1 화상 수업 화면 */
.meet-screen {
  position: absolute; left: 50%; top: 25px; width: 164px; height: 108px;
  padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  border: 7px solid #111216; border-bottom-width: 10px; border-radius: 18px;
  background: #111216; box-shadow: 0 24px 40px rgba(17,18,22,.24);
  transform: translateX(-50%) rotateX(3deg) rotateY(10deg);
  animation: screenFloat 5.8s ease-in-out infinite;
}
.meet-person {
  position: relative; overflow: hidden; border-radius: 8px;
  background: linear-gradient(155deg, #e6edfa, #c8d9f9);
}
.meet-person.learner { background: linear-gradient(155deg, #f4f5f7, #d9dde4); }
.meet-person::before {
  content: ""; position: absolute; left: 50%; top: 20px; width: 28px; height: 28px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 44% 42%, #f2d1bd 0 52%, #20242d 54% 70%, transparent 72%);
}
.meet-person i {
  position: absolute; left: 50%; bottom: -16px; width: 58px; height: 63px;
  transform: translateX(-50%); border-radius: 50% 50% 12px 12px;
  background: #151922;
}
.meet-person.learner i { background: #eef1f6; }
.meet-live {
  position: absolute; left: 13px; top: 13px; width: 7px; height: 7px;
  border-radius: 50%; background: #2b72ff; box-shadow: 0 0 0 4px rgba(43,114,255,.18);
  animation: blink 1.8s ease-in-out infinite;
}
.meet-base {
  position: absolute; left: 50%; top: 136px; width: 188px; height: 18px;
  border-radius: 4px 4px 20px 20px; background: linear-gradient(180deg, #b7c0cd, #eef1f5);
  box-shadow: 0 12px 18px rgba(35,44,62,.18);
  transform: translateX(-50%) rotateY(10deg);
}

@keyframes pickBack {
  0%,100% { transform: translateX(-38%) rotateY(-18deg) rotateZ(8deg) translateY(0) translateZ(-18px); }
  50% { transform: translateX(-38%) rotateY(-12deg) rotateZ(5deg) translateY(-7px) translateZ(-18px); }
}
@keyframes pickFront {
  0%,100% { transform: translateX(-62%) rotateY(14deg) rotateZ(-5deg) translateY(0) translateZ(16px); }
  50% { transform: translateX(-62%) rotateY(9deg) rotateZ(-3deg) translateY(-10px) translateZ(16px); }
}
@keyframes checkFloat {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-9px) rotate(4deg); }
}
@keyframes cardFloat {
  0%,100% { transform: translateX(-50%) rotateX(14deg) rotateY(-14deg) rotateZ(5deg) translateY(0); }
  50% { transform: translateX(-50%) rotateX(9deg) rotateY(-7deg) rotateZ(2deg) translateY(-9px); }
}
@keyframes coinFloat {
  0%,100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-12px) rotateY(22deg); }
}
@keyframes screenFloat {
  0%,100% { transform: translateX(-50%) rotateX(3deg) rotateY(10deg) translateY(0); }
  50% { transform: translateX(-50%) rotateX(1deg) rotateY(5deg) translateY(-8px); }
}

/* 신뢰 바 — 스토리 대신 구조 */
.trustbar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 860px; margin: 64px auto 0; text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trustbar > div + div { border-left: 1px solid var(--line); }
.trustbar b { display: block; font-size: clamp(17px, 2vw, 22px); font-weight: 800; letter-spacing: -0.5px; }
.trustbar span { display: block; font-size: 13px; color: var(--gray); margin-top: 4px; font-weight: 600; }

/* 튜터 카드 — 데스크톱 여백 */
.home .tgrid { gap: 20px; margin-top: 34px; }
.home .tcard { border-radius: 18px; transition: transform .2s, box-shadow .2s; }
.home .tcard:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(17,17,17,.1); }
.home .tcard .photo, .home .tcard .photo-ph { height: 230px; }
.home .tcard .ti { padding: 14px 16px 16px; }
.home .seg { margin-top: 22px; }

@media (max-width: 880px) {
  .steps3 { grid-template-columns: 1fr; gap: 26px; margin-top: 26px; }
  .step3 { padding: 8px 0 20px; }
  .step-visual { margin-bottom: 12px; transform: scale(.92); }
  .trustbar { grid-template-columns: 1fr; gap: 18px; padding: 22px 0; margin-top: 44px; }
  .trustbar > div + div { border-left: none; }
  .home .tcard .photo, .home .tcard .photo-ph { height: 160px; }
  .bigprice .pnum { letter-spacing: -3px; }
}

/* ══════════ 신청 과정 — 2등신 3D 가이드 ══════════ */
.guide-steps {
  max-width: 940px;
  gap: 22px;
}
.guide-step {
  min-width: 0;
  text-align: center;
}
.guide-stage {
  position: relative;
  height: 300px;
  margin-bottom: 24px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #edf0f5;
  border-radius: 28px;
  background:
    radial-gradient(circle at 52% 28%, rgba(255,255,255,.96) 0 26%, rgba(255,255,255,0) 58%),
    linear-gradient(160deg, #fbfcfe 0%, #f2f5fa 100%);
}
.guide-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.9);
  pointer-events: none;
}
.guide-floor {
  position: absolute;
  left: 15%;
  right: 10%;
  bottom: 14px;
  height: 32px;
  border-radius: 50%;
  background: rgba(38,52,78,.12);
  filter: blur(14px);
  transform: scaleY(.46);
}
.guide-character {
  position: absolute;
  z-index: 3;
  left: -4%;
  bottom: -20px;
  width: 66%;
  height: 112%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 12px rgba(25,35,56,.13));
  transform-origin: 50% 88%;
  animation: guideBreath 6.2s ease-in-out infinite;
  animation-play-state: paused;
}
.guide-step--choose .guide-character {
  left: -4%;
  bottom: -29px;
  width: 67%;
}
.guide-step--pay .guide-character {
  left: -7%;
  width: 64%;
}
.guide-step--meet .guide-character {
  left: -7%;
  width: 65%;
}

/* 01 — 프로필 카드 선택 */
.guide-card {
  position: absolute;
  z-index: 2;
  right: 11%;
  top: 64px;
  width: 104px;
  height: 136px;
  padding: 12px 9px 10px;
  border-radius: 22px;
  background: linear-gradient(155deg, #fff 0%, #edf2fa 100%);
  box-shadow: 0 18px 34px rgba(32,50,83,.16), inset 0 1px 0 #fff;
  transform-origin: 70% 85%;
  animation: guideCardFront 6.2s cubic-bezier(.2,.8,.2,1) infinite;
  animation-play-state: paused;
}
.guide-card--back {
  right: 5%;
  top: 48px;
  background: linear-gradient(155deg, #dce8ff 0%, #a9c5ff 100%);
  transform: rotate(8deg) scale(.94);
  animation-name: guideCardBack;
}
.guide-avatar {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  object-position: center 32%;
  background: #f4f6fa;
  box-shadow: 0 5px 12px rgba(36,52,81,.12);
}
.guide-profile-name,
.guide-profile-tag {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.guide-profile-name {
  margin-top: 8px;
  color: #151922;
  font-size: 10px;
  line-height: 1.2;
}
.guide-profile-tag {
  margin-top: 4px;
  color: #697385;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.2;
}
.guide-check {
  position: absolute;
  z-index: 5;
  right: 6%;
  top: 40px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 5px solid #dce7ff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(36,107,253,.3);
  font-size: 18px;
  font-weight: 900;
  animation: guideCheck 6.2s cubic-bezier(.2,.8,.2,1) infinite;
  animation-play-state: paused;
}

/* 02 — 휴대폰 결제 */
.guide-phone {
  position: absolute;
  z-index: 2;
  right: 10%;
  top: 56px;
  width: 96px;
  height: 164px;
  padding: 34px 9px 10px;
  border: 7px solid #12151b;
  border-radius: 25px;
  color: #111216;
  background: linear-gradient(160deg, #fff 0%, #eef3fc 100%);
  box-shadow: 0 18px 34px rgba(22,31,50,.22);
  transform: rotate(4deg);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}
.guide-phone-notch {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 32px;
  height: 7px;
  border-radius: 99px;
  background: #111216;
  transform: translateX(-50%);
}
.guide-phone-screen {
  display: grid;
  justify-items: center;
  align-content: start;
  width: 100%;
  height: 100%;
}
.guide-phone small,
.guide-phone strong {
  display: block;
  position: relative;
  z-index: 1;
}
.guide-phone small {
  font-size: 9px;
  color: #77808f;
  font-weight: 800;
}
.guide-phone strong {
  margin-top: 5px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.guide-phone-status {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 17px auto 0;
  width: 64px;
  padding: 5px 0;
  border-radius: 99px;
  color: #fff;
  background: #111216;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.guide-phone-status i {
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  color: #111216;
  background: #fff;
  font-size: 8px;
  font-style: normal;
}
.guide-coin {
  position: absolute;
  z-index: 6;
  right: 5%;
  top: 28px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 5px solid #dce7ff;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 32% 27%, #74a0ff, #246bfd 64%, #1549b9);
  box-shadow: 0 12px 24px rgba(36,107,253,.3);
  font-size: 18px;
  font-weight: 900;
  animation: guideCoin 5.8s cubic-bezier(.2,.8,.2,1) infinite;
  animation-play-state: paused;
}
.guide-tap-ring {
  position: absolute;
  z-index: 7;
  right: 35%;
  top: 107px;
  width: 24px;
  height: 24px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  animation: guideTap 5.8s ease-out infinite;
  animation-play-state: paused;
}

/* 03 — 화상 수업 시작 */
.guide-laptop {
  position: absolute;
  z-index: 2;
  right: 3%;
  top: 78px;
  width: 134px;
  height: 116px;
  animation: guideLaptop 6s cubic-bezier(.2,.8,.2,1) infinite;
  animation-play-state: paused;
}
.guide-laptop-screen {
  position: relative;
  width: 128px;
  height: 92px;
  overflow: hidden;
  border: 7px solid #11151c;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(150deg, #eaf1ff 0%, #bfd2f7 100%);
  box-shadow: 0 18px 32px rgba(24,35,56,.22);
}
.guide-live-dot {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.14);
  animation: guideLive 1.8s ease-in-out infinite;
  animation-play-state: paused;
}
.guide-tutor-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(.9) contrast(.98);
}
.guide-laptop-screen small {
  position: absolute;
  right: 7px;
  bottom: 6px;
  color: #fff;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .08em;
}
.guide-laptop-base {
  width: 142px;
  height: 14px;
  margin: -1px 0 0 -7px;
  border-radius: 3px 3px 16px 16px;
  background: linear-gradient(180deg, #aeb8c7, #eef1f5);
  box-shadow: 0 9px 14px rgba(24,35,56,.16);
}
.guide-wave {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 54px;
  width: 24px;
  height: 40px;
  border-right: 3px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  animation: guideWave 2.2s ease-out infinite;
  animation-play-state: paused;
}
.guide-wave--two {
  left: 54%;
  width: 34px;
  height: 54px;
  top: 47px;
  animation-delay: .32s;
}

.guide-steps.is-playing .guide-character,
.guide-steps.is-playing .guide-card,
.guide-steps.is-playing .guide-check,
.guide-steps.is-playing .guide-coin,
.guide-steps.is-playing .guide-tap-ring,
.guide-steps.is-playing .guide-laptop,
.guide-steps.is-playing .guide-live-dot,
.guide-steps.is-playing .guide-wave {
  animation-play-state: running;
}

@keyframes guideBreath {
  0%, 100% { transform: scale(1) translateY(0); }
  48% { transform: scale(1.006) translateY(-2px); }
}
@keyframes guideCardFront {
  0%, 8% { transform: translate(5px, 2px) rotate(-1deg) scale(.98); opacity: 1; }
  20%, 78% { transform: translate(0, 0) rotate(-4deg) scale(1); opacity: 1; }
  90%, 100% { transform: translate(4px, -2px) rotate(-1deg) scale(.98); opacity: 1; }
}
@keyframes guideCardBack {
  0%, 8% { transform: translate(5px, 3px) rotate(11deg) scale(.92); opacity: 1; }
  20%, 78% { transform: translate(0, 0) rotate(8deg) scale(.94); opacity: 1; }
  90%, 100% { transform: translate(4px, -2px) rotate(11deg) scale(.92); opacity: 1; }
}
@keyframes guideCheck {
  0%, 34% { transform: scale(0) rotate(-18deg); opacity: 0; }
  44% { transform: scale(1.16) rotate(5deg); opacity: 1; }
  50%, 78% { transform: scale(1) rotate(0); opacity: 1; }
  88%, 100% { transform: scale(.7); opacity: 0; }
}
@keyframes guidePhone {
  0%, 16% { transform: translateY(4px) rotate(7deg) scale(.98); opacity: 1; }
  28%, 72% { transform: translateY(0) rotate(5deg) scale(1); opacity: 1; }
  78% { transform: translateY(2px) rotate(4deg) scale(.97); opacity: 1; }
  92%, 100% { transform: translateY(4px) rotate(7deg) scale(.98); opacity: 1; }
}
@keyframes guideCoin {
  0%, 22% { transform: translate(28px, -22px) scale(.65) rotateY(0); opacity: 0; }
  42% { transform: translate(-4px, 58px) scale(1) rotateY(180deg); opacity: 1; }
  58%, 72% { transform: translate(-12px, 76px) scale(.74) rotateY(360deg); opacity: 0; }
  100% { transform: translate(28px, -22px) scale(.65) rotateY(0); opacity: 0; }
}
@keyframes guideTap {
  0%, 38% { transform: scale(.3); opacity: 0; }
  45% { transform: scale(1); opacity: .9; }
  58%, 100% { transform: scale(2.3); opacity: 0; }
}
@keyframes guideLaptop {
  0%, 14% { transform: translateY(4px) rotateY(-4deg) scale(.98); opacity: 1; }
  28%, 78% { transform: translateY(0) rotateY(0) scale(1); opacity: 1; }
  92%, 100% { transform: translateY(4px) rotateY(-4deg) scale(.98); opacity: 1; }
}
@keyframes guideLive {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(34,197,94,.14); }
  50% { opacity: .55; box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
@keyframes guideWave {
  0% { transform: translateX(-8px) scale(.65); opacity: 0; }
  28% { opacity: .85; }
  70%, 100% { transform: translateX(8px) scale(1.18); opacity: 0; }
}

@media (max-width: 880px) {
  .guide-steps {
    gap: 38px;
  }
  .guide-step {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
  }
  .guide-stage {
    height: 310px;
    margin-bottom: 18px;
  }
  .guide-character {
    left: 0;
    width: 63%;
  }
  .guide-step--choose .guide-character {
    left: -1%;
    bottom: -31px;
    width: 64%;
  }
  .guide-step--pay .guide-character,
  .guide-step--meet .guide-character {
    left: -1%;
    width: 61%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-character,
  .guide-card,
  .guide-check,
  .guide-phone,
  .guide-coin,
  .guide-tap-ring,
  .guide-laptop,
  .guide-live-dot,
  .guide-wave {
    animation: none !important;
  }
}

/* ══════════ 카테고리 배지 + 소셜 로그인 ══════════ */
.seg.cats { flex-wrap: wrap; max-width: 640px; }
.seg.cats button { flex: 1 1 auto; padding: 9px 16px; }

.catbadge { background: #fff; color: var(--ink); }
.catbadge.c-kpop { background: #ffe4f1; color: #b41c6e; }
.catbadge.c-kcontent { background: #e8e2ff; color: #4c2fb8; }
.catbadge.c-biz { background: #e3eefc; color: #1c4f9c; }
.catbadge.c-beginner { background: #e2f5e8; color: #14713c; }

.authchip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 99px;
  padding: 8px 15px; font-size: 12.5px; font-weight: 800; color: var(--ink);
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.authchip.ghost { color: var(--gray); }

/* 로그인 모달 */
.lmodal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(17,17,17,.45); backdrop-filter: blur(4px);
  padding: 20px;
}
.lmodal.open { display: flex; }
.lcard {
  width: 100%; max-width: 360px; background: #fff; border-radius: 20px;
  padding: 30px 26px 18px; text-align: center;
  box-shadow: 0 24px 60px rgba(17,17,17,.25);
}
.lcard .llogo { height: 30px; margin: 0 auto 14px; display: block; }
.lcard .lt { font-size: 18px; font-weight: 900; letter-spacing: -0.4px; }
.lcard .ls { font-size: 13px; color: var(--gray); margin: 5px 0 20px; }
.sbtn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 13px; border-radius: 12px; margin-bottom: 9px;
  font-size: 14.5px; font-weight: 800; cursor: pointer; font-family: inherit;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.sbtn span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; flex-shrink: 0; }
.sbtn.g .gi { background: #fff; border: 1.5px solid #e3e3e3; color: #4285F4; }
.sbtn.z { background: #0068FF; border-color: #0068FF; color: #fff; }
.sbtn.z .zi { background: #fff; color: #0068FF; }
.sbtn.f { background: #1877F2; border-color: #1877F2; color: #fff; }
.sbtn.f .fi { background: #fff; color: #1877F2; }
.lclose { border: 0; background: transparent; color: var(--gray); font-size: 12.5px; font-weight: 700; cursor: pointer; margin-top: 6px; font-family: inherit; }
.lfoot { font-size: 11px; color: #b3b1a8; margin-top: 10px; }

/* ══════════ 테마 퍼스트 카테고리 카드 ══════════ */
.catgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.catcard {
  position: relative; height: 230px; border-radius: 20px; overflow: hidden; border: 0;
  background-size: cover; background-position: center; cursor: pointer; text-align: left;
  padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; font-family: inherit;
  transition: transform .25s, box-shadow .25s;
}
.catcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.04) 34%, rgba(10,10,12,.74));
}
.catcard > * { position: relative; z-index: 1; }
.catcard b { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: -0.5px; }
.catcard span { font-size: 13.5px; color: rgba(255,255,255,.88); font-weight: 600; margin-top: 2px; }
.catcard i {
  font-style: normal; margin-top: 12px; align-self: flex-start;
  font-size: 12px; font-weight: 800;
  background: rgba(255,255,255,.18); backdrop-filter: blur(4px);
  border-radius: 99px; padding: 5px 13px;
}
.catcard:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(17,17,17,.24); }
.catcard.on { outline: 3px solid var(--blue); outline-offset: 3px; }

.gridhead { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
#gridlabel { font-size: 16px; font-weight: 900; }
.ghall {
  border: 1.5px solid var(--line); background: #fff; border-radius: 99px;
  padding: 7px 15px; font-size: 12.5px; font-weight: 800; color: var(--gray);
  cursor: pointer; font-family: inherit;
}

@media (max-width: 880px) {
  .catgrid { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .catcard { height: 150px; padding: 16px; }
}

/* ── 프로모션 슬롯 ── */
.promobar {
  background: var(--ink); color: #fff; text-align: center;
  font-size: 12.5px; font-weight: 700; padding: 9px 14px;
}
.pnum .ptag {
  display: inline-block; vertical-align: middle; margin-left: 14px;
  font-size: 13px; font-weight: 800; letter-spacing: 0;
  background: var(--soft); color: #1c3f8f; border-radius: 99px; padding: 6px 14px;
}
.lcard .lpromo {
  margin: -8px 0 14px; font-size: 12.5px; font-weight: 800; color: #1c3f8f;
  background: var(--soft); border-radius: 8px; padding: 8px 12px;
}

/* ── 입장 팝업 (추천 튜터 + 가입 유도) ── */
.wcard { max-width: 380px; }
.wcard .lt em { font-style: normal; color: var(--blue); }
.wlist { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 14px; }
.wtutor {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg);
  padding: 10px 12px; cursor: pointer; font-family: inherit; text-align: left;
}
.wtutor:hover { border-color: var(--blue); background: var(--soft); }
.wtutor img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.wtutor .wi { flex: 1; min-width: 0; }
.wtutor .wi b { display: block; font-size: 14px; font-weight: 900; color: var(--ink); }
.wtutor .wi small { display: block; font-size: 11.5px; color: var(--gray); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtutor .wi i { display: inline-block; font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--blue); background: #fff; border-radius: 6px; padding: 2px 7px; margin-top: 4px; }
.wtutor .warr { color: var(--gray); font-weight: 900; }
.wcard .sbtn.wgo { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── 정원 카운터 (실슬롯 진실 기반) ── */
.capline { max-width: 460px; margin: 16px auto 0; }
.capline .ct { font-size: 13px; font-weight: 700; color: #66645b; }
.capline .ct b { color: var(--ink); }
.capline .cbar { height: 8px; border-radius: 99px; background: #eceae3; margin-top: 7px; overflow: hidden; }
.capline .cbar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .6s; }

/* ── 마감 패널 (대체 제안 + 웨이팅) ── */
.soldout-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 22px 22px; text-align: center;
}
.soldout-panel .so-emo { font-size: 40px; }
.soldout-panel .so-h { font-size: 19px; font-weight: 900; letter-spacing: -0.4px; margin-top: 10px; }
.soldout-panel .so-p { font-size: 13.5px; color: #66645b; margin-top: 8px; line-height: 1.65; }
.soldout-panel .so-sub { font-size: 13px; font-weight: 900; margin: 22px 0 4px; text-align: left; }
.soldout-panel .wlist { margin: 10px 0 6px; }
.waitbtn {
  width: 100%; margin-top: 8px; padding: 13px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-size: 14px; font-weight: 800; color: var(--ink); cursor: pointer; font-family: inherit;
}
.waitbtn:disabled { color: #14713c; background: #e2f5e8; border-color: #bfe6cd; cursor: default; }
.vq-note { margin-top: 10px; font-size: 12px; color: var(--gray); text-align: center; font-weight: 600; }
