/* 루핀엔터테인먼트 공식 사이트 초안
   미감 방향: 어두운 무대 위의 따뜻한 조명, 굵은 한글 타이포, 영상이 주인공 */
:root {
  --ink: #14101F;
  --ink-2: #1D1830;
  --ink-line: rgba(251, 245, 238, .14);
  --cream: #FBF5EE;
  --cream-dim: rgba(251, 245, 238, .74);
  --accent: #DC7350;
  --earth: #B4522F;
  --earth-ink: #3E322B;
  --radius: 14px;
  --dock-h: 64px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--font); font-size: 17px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--ink); padding: 10px 14px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* 상단 */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.draft-tag { font-size: 12px; color: var(--cream-dim); border: 1px solid var(--ink-line); padding: 4px 10px; border-radius: 999px; }

/* 공통 */
.s { position: relative; padding: 96px 0; }
.wrap { width: min(100% - 44px, 620px); margin: 0 auto; }
.wrap-wide { width: min(100% - 44px, 960px); margin: 0 auto; }
.display { font-size: clamp(30px, 8.6vw, 54px); line-height: 1.22; font-weight: 800; letter-spacing: -.035em; margin: 0 0 18px; }
.display .line { display: block; }
.lead { font-size: clamp(21px, 5.6vw, 30px); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; margin: 28px 0 0; }
.note { font-size: 17px; color: var(--cream-dim); margin: 0; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin: 0 0 10px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-main { background: var(--accent); color: var(--ink); }
.btn-main:hover { background: #E3866A; }
.btn-block { width: 100%; }

/* 자리 표시 */
.slot { position: relative; border: 2px dashed rgba(251, 245, 238, .32); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--cream-dim); font-size: 14px; padding: 12px; overflow: hidden; background: rgba(251, 245, 238, .03); }
.slot.has-img { border: 0; padding: 0; background: none; }
.slot img { width: 100%; height: 100%; object-fit: cover; }

/* 1. 첫 화면 */
.s-hero { padding: 0; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,16,31,.92) 0%, rgba(20,16,31,.35) 26%, rgba(20,16,31,0) 42%, rgba(20,16,31,0) 62%, rgba(20,16,31,.88) 86%, var(--ink) 100%); }
body[data-hero="C"] .hero-shade { background: linear-gradient(180deg, rgba(20,16,31,.55) 0%, rgba(20,16,31,0) 30%, rgba(20,16,31,0) 66%, rgba(20,16,31,.9) 90%, var(--ink) 100%); }
.hero-copy { position: relative; z-index: 2; width: min(100% - 44px, 620px); margin: 0 auto; padding-bottom: calc(var(--dock-h) + 28px); }
.hero-copy .display { font-size: clamp(30px, 8.3vw, 72px); text-shadow: 0 2px 24px rgba(0,0,0,.45); }
/* 모자이크(C)는 위쪽이 비어 있으므로 문구를 위로 */
body[data-hero="C"] .s-hero { align-items: flex-start; }
body[data-hero="C"] .hero-copy { padding-top: 92px; padding-bottom: 0; }

/* 2. 대표 */
.ceo-photo .slot-portrait { aspect-ratio: 4 / 5; width: 100%; margin-bottom: 32px; }
.career { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 0; color: var(--cream-dim); font-size: 15px; }
.career li { white-space: nowrap; }
.career li:not(:last-child)::after { content: "·"; margin: 0 9px; color: var(--accent); }
.tarot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 28px; }
.slot-small { aspect-ratio: 3 / 4; font-size: 11px; padding: 6px; }

/* 3. 데리고 다닌다 */
.s-together { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.reel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px 22px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.reel::-webkit-scrollbar { display: none; }
.reel-card { flex: 0 0 76%; max-width: 340px; margin: 0; scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.reel-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.reel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.reel-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(251,245,238,.3); }
.reel-dots span.on { background: var(--accent); width: 22px; border-radius: 4px; }
@media (min-width: 900px) { .reel { justify-content: center; } .reel-card { flex-basis: 300px; } }

/* 4. 증거 */
.kakao { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 30px; }
.slot-kakao { aspect-ratio: 9 / 16; }
.kakao .slot-kakao:nth-child(even) { transform: translateY(26px); }
.reviews { display: grid; gap: 12px; margin-top: 56px; }
.review { margin: 0; min-height: 96px; }
.review p { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.review cite { font-style: normal; color: var(--cream-dim); font-size: 14px; }

/* 5. 시크릿 노트 (크림) */
.s-secret { background: var(--cream); color: var(--earth-ink); text-align: center; }
.s-secret em { color: var(--earth); }
.s-secret .note { color: #6B5A4E; }
.notebook { width: 180px; margin: 0 auto 30px; filter: drop-shadow(0 18px 30px rgba(62,50,43,.25)); }

/* 6. 수익 구조 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.cmp { padding: 20px 16px; border-radius: var(--radius); border: 1px solid var(--ink-line); }
.cmp-title { font-size: 14px; font-weight: 700; margin: 0 0 14px; color: var(--cream-dim); }
.cmp ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.cmp li { font-size: 16px; font-weight: 600; }
.cmp-common li { color: var(--cream-dim); }
.cmp-common li + li::before { content: "+ "; color: var(--cream-dim); }
.cmp-foot { margin: 0; font-size: 15px; font-weight: 700; padding-top: 12px; border-top: 1px dashed var(--ink-line); }
.cmp-loopin { border-color: var(--accent); background: rgba(220,115,80,.08); }
.cmp-loopin .cmp-title { color: var(--accent); }

/* 7. 팀 */
.team-videos { display: grid; gap: 10px; margin-top: 32px; }
.team-videos figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.team-videos video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9 / 16; }
.team-main video { aspect-ratio: 4 / 5; }
.team-subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 900px) { .team-videos { grid-template-columns: 1.4fr 1fr; align-items: start; } .team-main video { aspect-ratio: 9 / 16; } .team-subs { grid-template-columns: 1fr 1fr; } }
.hosts { display: flex; gap: 12px; overflow-x: auto; padding: 28px 22px 4px; scroll-snap-type: x proximity; scrollbar-width: none; }
.hosts::-webkit-scrollbar { display: none; }
.host { flex: 0 0 120px; margin: 0; scroll-snap-align: start; }
.slot-host { aspect-ratio: 3 / 4; font-size: 12px; }
.host figcaption { margin-top: 8px; font-size: 14px; color: var(--cream-dim); text-align: center; }
@media (min-width: 900px) { .hosts { justify-content: center; } }

/* 8. 혜택 */
.perk-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink-line); }
.perk-list li { display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--ink-line); }
.perk-no { grid-row: span 2; color: var(--accent); font-weight: 800; font-size: 18px; }
.perk-list strong { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.perk-text { color: var(--cream-dim); font-size: 16px; }

/* 9. 지원 */
.s-apply { background: linear-gradient(180deg, var(--ink) 0%, #1F1726 100%); }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; counter-reset: s; }
.steps li { text-align: center; font-size: 14px; font-weight: 600; position: relative; padding-top: 44px; }
.steps li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--ink); z-index: 1; }
.steps li + li::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: rgba(220,115,80,.45); }
.faq { margin-top: 56px; }
.faq-title, .form-title { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.faq details { border-bottom: 1px solid var(--ink-line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; font-size: 17px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--accent); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--cream-dim); }
.form { margin-top: 56px; padding: 26px 20px; border-radius: 18px; background: rgba(251,245,238,.05); border: 1px solid var(--ink-line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--cream-dim); font-size: 13px; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(251,245,238,.25); background: var(--ink); color: var(--cream); font: inherit; font-size: 16px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(251,245,238,.45); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: #FFB59A; }
.field-err { color: #FFB59A; font-size: 14px; margin: 6px 0 0; }
.check + .field-err { margin: -12px 0 14px; }
.draft-banner { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--accent); color: var(--cream); font-size: 15px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 6px 0 18px; min-height: 44px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-error { color: #FFB59A; font-size: 15px; margin: 0 0 14px; }
.form-done { margin: 16px 0 0; padding: 14px; border-radius: 10px; background: rgba(220,115,80,.14); border: 1px solid var(--accent); font-size: 15px; }
.contact-alt { margin-top: 36px; display: grid; gap: 8px; }
.contact-alt p { margin: 0 0 4px; color: var(--cream-dim); }
.contact-alt a { font-weight: 700; min-height: 44px; display: flex; align-items: center; }

/* 바닥글 */
.footer { padding: 48px 22px 40px; border-top: 1px solid var(--ink-line); color: var(--cream-dim); font-size: 14px; text-align: center; }
.footer p { margin: 0 0 6px; }
.foot-brand { color: var(--cream); font-weight: 800; font-size: 20px; margin-bottom: 14px !important; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 16px 0 !important; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
.foot-small { font-size: 12px; opacity: .8; }

/* 바닥 고정 지원 버튼 */
.dock { position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40; width: min(100% - 32px, 420px); min-height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: opacity .25s, transform .25s; }
.dock.hide { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); }

/* PC */
@media (min-width: 900px) {
  /* 세로 영상은 가운데 기둥으로, 양옆은 무대 어둠 */
  body:not([data-hero="D"]) .s-hero { background: radial-gradient(ellipse at 50% 60%, #2a2033 0%, var(--ink) 70%); }
  body:not([data-hero="D"]) .hero-video { left: auto; right: max(6%, calc(50% - 620px)); width: auto; height: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
  body:not([data-hero="D"]) .hero-copy .display { max-width: 46%; }
  body:not([data-hero="D"]) .hero-shade { background: linear-gradient(180deg, rgba(20,16,31,.6) 0%, rgba(20,16,31,0) 30%, rgba(20,16,31,0) 60%, rgba(20,16,31,.92) 92%, var(--ink) 100%); }
  .hero-copy { width: min(100% - 80px, 1100px); }
  body:not([data-hero="C"]) .hero-copy { padding-bottom: 72px; }
  .s { padding: 140px 0; }
  .ceo-photo .slot-portrait { max-width: 420px; }
  .kakao { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 첫 화면 D: 화면 전체 배경 영상 ===== */
body[data-hero="D"] .s-hero { align-items: flex-end; }
body[data-hero="D"] .hero-shade { background:
  linear-gradient(180deg, rgba(20,16,31,.78) 0%, rgba(20,16,31,.25) 22%, rgba(20,16,31,.18) 45%, rgba(20,16,31,.72) 70%, rgba(20,16,31,.94) 88%, var(--ink) 100%); }
body[data-hero="D"] .hero-copy { width: min(100% - 32px, 620px); padding-bottom: calc(var(--dock-h) + 108px); }
body[data-hero="D"] .hero-copy .line { white-space: nowrap; }
body[data-hero="D"] .hero-copy .display { font-size: min(8.9vw, 104px); line-height: 1.12; font-weight: 900; letter-spacing: -.045em; text-shadow: 0 2px 30px rgba(0,0,0,.55); }
@media (min-width: 900px) {
  body[data-hero="D"] .hero-copy { width: min(100% - 120px, 1240px); padding-bottom: 120px; }
  body[data-hero="D"] .hero-shade { background:
    linear-gradient(90deg, rgba(20,16,31,.82) 0%, rgba(20,16,31,.45) 45%, rgba(20,16,31,.1) 75%),
    linear-gradient(180deg, rgba(20,16,31,.5) 0%, rgba(20,16,31,0) 25%, rgba(20,16,31,0) 70%, var(--ink) 100%); }
}
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: calc(var(--dock-h) + 34px); transform: translateX(-50%); font-size: 12px; letter-spacing: .12em; color: var(--cream-dim); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 44px; }
.scroll-cue span { width: 1px; height: 22px; background: var(--cream-dim); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) { .scroll-cue { bottom: 84px; } }

/* 영상 정지/재생 버튼 */
figure { position: relative; }
.vid-toggle { position: absolute; z-index: 4; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(251,245,238,.4); background: rgba(20,16,31,.55); color: var(--cream); font-size: 13px; cursor: pointer; display: grid; place-items: center; }
.vid-toggle.is-paused { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.hero-toggle { right: 16px; bottom: calc(var(--dock-h) + 76px); }
@media (min-width: 900px) { .hero-toggle { bottom: 24px; right: 24px; } }

/* 동작 줄이기 */
.reduce .scroll-cue span { animation: none; }
/* ===== 시안 공용: 임시 표시, 시안 띠, 카톡 모형 ===== */
.sian-banner { position: relative; z-index: 60; background: #FFD7A8; color: #2A1A10; font-size: 13px; font-weight: 700; text-align: center; padding: 8px 12px; }
body.clean .sian-banner, body.clean .temp { display: none; }
.temp { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 6px; border-radius: 4px; background: #FFD7A8; color: #2A1A10; letter-spacing: 0; vertical-align: middle; }
.has-temp { position: relative; }
.has-temp > .temp { position: absolute; top: 8px; left: 8px; z-index: 3; }
.slot.has-img > .slot-label { display: none; }

.chat { position: relative; border-radius: 18px; background: #B2C7D9; padding: 14px 12px 16px; color: #1B1B1B; font-size: 14px; line-height: 1.45; display: flex; flex-direction: column; gap: 8px; min-height: 100%; }
.chat-head { font-size: 12px; font-weight: 700; color: #3A4A58; margin: 0 0 2px; padding-left: 2px; }
.chat .b { max-width: 88%; padding: 9px 11px; border-radius: 4px 14px 14px 14px; background: #fff; align-self: flex-start; }
.chat .b.me { align-self: flex-end; background: #FEE500; border-radius: 14px 4px 14px 14px; }
.chat .who { font-size: 11px; color: #3A4A58; margin: 2px 0 -4px 2px; }
.review-text { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.review-by { font-size: 13px; color: var(--cream-dim); font-style: normal; }
/* ===== 시안 공용 블록 ===== */
.vbox { margin: 0; }
.vbox video { display: block; width: 100%; }
.tarot { grid-template-columns: 1fr 1fr; gap: 10px; }
.tarot-card { margin: 0; padding: 30px 14px 14px; border-radius: 12px; background: rgba(251,245,238,.06); border: 1px solid var(--ink-line); font-size: 14px; position: relative; }
.tarot-card p { margin: 0 0 8px; line-height: 1.5; }
.tarot-card cite { font-style: normal; font-size: 12px; color: var(--cream-dim); }
.kakao { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 30px -22px 0; padding: 0 22px 6px; scrollbar-width: none; }
.kakao::-webkit-scrollbar { display: none; }
.kakao .chat { flex: 0 0 78%; max-width: 320px; scroll-snap-align: start; padding-top: 34px; }
.kakao .chat > .temp { top: 10px; left: 10px; }
@media (min-width: 900px) { .kakao { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 30px 0 0; padding: 0; } .kakao .chat { max-width: none; } }
.review { padding: 34px 18px 18px; border-radius: 14px; border: 1px solid var(--ink-line); background: rgba(251,245,238,.04); position: relative; }
.review > .temp { top: 10px; left: 12px; }
/* 영상 띠: 세로 조각 5개 영상을 원래 비율(16:9) 그대로 보여 줘 얼굴이 잘리지 않게 함 */
.ribbon { position: relative; padding: 0 0 56px; background: var(--ink); }
.ribbon .vbox { width: min(100%, 1280px); margin: 0 auto; position: static; }
.ribbon video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.ribbon .vid-toggle { right: max(12px, calc(50% - 628px)); bottom: 6px; }
.ceo-photo.has-temp > .temp, .host.has-temp > .temp { top: 8px; left: 8px; }
.slot-portrait.has-img img, .slot-host.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-portrait.has-img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.slot-host.has-img { aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; }
.topbar a.brand { text-decoration: none; }
.sian .topbar { top: 33px; }
@media (min-width: 900px) { .ceo-grid { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: start; width: min(100% - 80px, 1040px); } .ceo-grid .ceo-photo .slot-portrait { max-width: none; margin: 0; } }
/* 세로 영상이 가로가 넓은 태블릿에서 잘릴 때 얼굴(위쪽)을 우선 */
.hero-video { object-position: center 28%; }

/* ===== 시크릿 노트: 흐리게 깔린 가짜 앱 화면(장식, 실제 루핀노트 화면 아님) ===== */
.s-secret { position: relative; overflow: hidden; min-height: 92svh; display: flex; align-items: center; padding: 96px 0; }
.fakeapp { position: absolute; inset: -40px; filter: blur(8px); opacity: 1; pointer-events: none; transition: filter .9s ease; }
.fa-scroll { animation: fa-flow 38s linear infinite; }
@keyframes fa-flow { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.fa-screen { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 20px; min-height: 100svh; background: #EFE4D7; color: #3E322B; font-family: var(--font); }
.fa-side { background: #E2D1C0; border-radius: 16px; padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; }
.fa-logo { width: 34px; height: 34px; border-radius: 10px; background: #B4522F; }
.fa-menu { display: block; height: 12px; border-radius: 6px; background: #BFA592; }
.fa-main { display: flex; flex-direction: column; gap: 14px; }
.fa-hello { display: flex; flex-direction: column; gap: 8px; padding: 6px 4px; }
.fa-h1 { font-size: 26px; font-weight: 800; }
.sk { display: block; height: 12px; border-radius: 6px; background: #BFA592; margin: 8px 0; }
.fa-t { font-size: 13px; font-weight: 700; color: #8A6E5C; }
.fa-missions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fa-card, .fa-chart, .fa-progress, .fa-memo, .fa-talk { background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 6px 18px rgba(62,50,43,.16); }
.fa-check { display: block; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #D9C7B6; margin-bottom: 8px; }
.fa-check.on { background: #B4522F; border-color: #B4522F; }
.fa-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.fa-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 10px; }
.fa-bars i { flex: 1; background: #E5A27F; border-radius: 6px 6px 0 0; }
.fa-bars i:nth-child(6) { background: #B4522F; }
.fa-pbar { height: 12px; border-radius: 6px; background: #EFE3D6; margin-top: 14px; overflow: hidden; }
.fa-pbar i { display: block; height: 100%; background: #B4522F; border-radius: 6px; }
.fa-talk { display: flex; flex-direction: column; gap: 10px; }
.fa-bub { display: block; height: 34px; width: 70%; border-radius: 4px 14px 14px 14px; background: #EFE3D6; }
.fa-bub.me { align-self: flex-end; background: #F4C9B3; border-radius: 14px 4px 14px 14px; width: 55%; }
@media (min-width: 900px) { .fa-screen { grid-template-columns: 200px 1fr; padding: 28px 8%; } .fa-missions { grid-template-columns: repeat(4, 1fr); } }
.secret-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(251,245,238,0) 0%, rgba(251,245,238,.12) 50%, rgba(62,50,43,.45) 100%); }
.secret-copy { position: relative; z-index: 2; text-align: center; }
.secret-veil { display: inline-block; padding: 30px 22px 26px; border-radius: 22px; background: rgba(251,245,238,.9); box-shadow: 0 20px 50px rgba(62,50,43,.18); }
.s-secret .secret-veil .display { color: #3E322B; }
.s-secret .lock { width: 44px; height: 52px; margin: 0 auto 14px; display: block; }
.lock-shackle { transform-origin: 36px 24px; transition: transform .35s ease; }
/* 화면에 들어올 때: 살짝 선명해졌다가 자물쇠가 찰칵 잠기며 다시 흐려짐 (1회) */
.s-secret.peek .fakeapp { animation: fa-peek 2.2s ease 1; }
@keyframes fa-peek { 0% { filter: blur(8px); } 40% { filter: blur(4.5px); } 70% { filter: blur(4.5px); } 100% { filter: blur(8px); } }
.s-secret.peek .lock-shackle { animation: lock-snap 2.2s ease 1; }
@keyframes lock-snap { 0%, 45% { transform: translateY(-6px) rotate(-14deg); } 60% { transform: translateY(1px); } 70%, 100% { transform: none; } }
.s-secret.peek .lock { animation: lock-bump 2.2s ease 1; }
@keyframes lock-bump { 0%, 58% { transform: none; } 64% { transform: scale(1.12); } 74%, 100% { transform: none; } }
.reduce .fa-scroll, .reduce .s-secret.peek .fakeapp, .reduce .s-secret.peek .lock, .reduce .s-secret.peek .lock-shackle { animation: none; }
.notebook { display: none; }
.temp-inline { font-size: 10px; font-weight: 700; background: #FFD7A8; color: #2A1A10; border-radius: 3px; padding: 1px 4px; margin-left: 4px; vertical-align: middle; }
.chat .b, .chat .who, .chat .chat-head { margin: 0; }
.chat { gap: 7px; }
.kakao { align-items: flex-start; }

@media (min-width: 900px) { .s-proof .wrap { width: min(100% - 80px, 1120px); } .s-proof .reviews { grid-template-columns: repeat(3, 1fr); } }

/* ===== 화면 6: 수익 구조 그림 비교 (숫자·금액 없음) ===== */
.compare2 { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 760px) { .compare2 { grid-template-columns: 1fr 1fr; gap: 24px; } .money-wrap { width: min(100% - 80px, 980px); } }
.m-fig { margin: 0; padding: 14px 14px 16px; border-radius: 18px; border: 1px solid var(--ink-line); }
.m-fig-common { --m: #8C8698; background: rgba(251,245,238,.03); }
.m-fig-loopin { --m: var(--accent); border-color: var(--accent); background: rgba(220,115,80,.07); }
.m-svg { display: block; width: 100%; height: auto; max-height: 34svh; }
.m-fig figcaption { margin-top: 6px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.m-fig figcaption b { display: block; font-size: 13px; letter-spacing: .04em; color: var(--m); margin-bottom: 2px; }
.m-fig figcaption small { display: block; font-size: 13px; font-weight: 500; color: var(--cream-dim); margin-top: 2px; }
.m-fig-common figcaption { color: var(--cream-dim); }
/* 흔한 방식 */
.m-target { stroke: #CFC8D8; stroke-width: 2; stroke-dasharray: 6 6; }
.m-track { fill: rgba(140,134,152,.18); stroke: rgba(140,134,152,.45); stroke-width: 1.5; }
.m-fill { fill: #8C8698; transform-box: fill-box; transform-origin: 50% 100%; }
.m-fill-2 { transform: scaleY(.86); }
.m-ok circle { fill: #8C8698; } .m-ok path, .m-no path { fill: none; stroke: #14101F; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.m-no circle { fill: #F2A48A; }
.m-gap { fill: none; stroke: #F2A48A; stroke-width: 2.5; stroke-dasharray: 4 3; }
.m-lab { fill: var(--cream-dim); font-size: 13px; font-weight: 700; text-anchor: middle; font-family: var(--font); }
.m-link { stroke: #8C8698; stroke-width: 3; stroke-dasharray: 4 4; }
.m-box rect { fill: #4A4456; stroke: #8C8698; stroke-width: 2; }
.m-box path { stroke: #8C8698; stroke-width: 4; stroke-linecap: round; }
.m-box circle { fill: #8C8698; }
/* 루핀 방식 */
.m-step rect { fill: rgba(251,245,238,.06); stroke: rgba(220,115,80,.45); stroke-width: 1.5; stroke-dasharray: 4 3; }
.m-step.on rect { fill: var(--accent); stroke: var(--accent); stroke-dasharray: none; }
.m-star path { fill: #FFE7A3; stroke: #14101F; stroke-width: 1.2; }
.m-path2 { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 7 6; stroke-linecap: round; }
.m-q circle { fill: #FBF5EE; stroke: var(--accent); stroke-width: 2.5; }
.m-q path { stroke: #B4522F; stroke-width: 3; stroke-linecap: round; } .m-q rect { fill: #B4522F; }

/* 움직임: 화면에 들어오면 1회 (동작 줄이기·JS 없음이면 완성된 정지 그림 그대로) */
.compare2.ready .m-fill { transform: scaleY(0); }
.compare2.ready .m-ok, .compare2.ready .m-no, .compare2.ready .m-gap, .compare2.ready .m-star, .compare2.ready .m-q { opacity: 0; }
.compare2.ready .m-box { opacity: 1; }
.compare2.ready .m-step.on rect { fill: rgba(251,245,238,.06); }
.compare2.ready .m-path2 { stroke-dashoffset: 420; stroke-dasharray: 420; }
.compare2.play .m-fill-0 { animation: m-up 0.7s ease .1s forwards; }
.compare2.play .m-fill-1 { animation: m-up 0.7s ease .55s forwards; }
.compare2.play .m-fill-2 { animation: m-short 1.1s ease 1s forwards; }
.compare2.play .m-ok-0 { animation: m-pop .3s ease .8s forwards; }
.compare2.play .m-ok-1 { animation: m-pop .3s ease 1.25s forwards; }
.compare2.play .m-no, .compare2.play .m-gap { animation: m-pop .3s ease 2.15s forwards; }
.compare2.play .m-box { animation: m-dim .6s ease 2.4s forwards; }
.compare2.play .m-step-0.on rect { animation: m-light .35s ease .4s forwards; }
.compare2.play .m-step-1.on rect { animation: m-light .35s ease .9s forwards; }
.compare2.play .m-step-2.on rect { animation: m-light .35s ease 1.4s forwards; }
.compare2.play .m-step-0 .m-star { animation: m-pop .3s ease .6s forwards; }
.compare2.play .m-step-1 .m-star { animation: m-pop .3s ease 1.1s forwards; }
.compare2.play .m-step-2 .m-star { animation: m-pop .3s ease 1.6s forwards; }
.compare2.play .m-path2 { animation: m-draw 1.2s ease 2.2s forwards; }
.compare2.play .m-q { animation: m-pop .35s ease 3.3s forwards; }
@keyframes m-up { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes m-short { from { transform: scaleY(0); } 85% { transform: scaleY(.88); } to { transform: scaleY(.86); } }
@keyframes m-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes m-dim { to { opacity: .45; } }
@keyframes m-light { to { fill: var(--accent); } }
@keyframes m-draw { to { stroke-dashoffset: 0; } }
.m-ok, .m-no, .m-star, .m-q, .m-gap { transform-box: fill-box; transform-origin: center; }
.m-box { opacity: .45; }
/* 밝은 시안(4)용 */
.v4 .m-fig-common { --m: #6F6878; background: #fff; border-color: rgba(20,16,31,.14); }
.v4 .m-fig-loopin { --m: var(--earth); border-color: var(--earth); background: rgba(180,82,47,.06); }
.v4 .compare2 { --accent: var(--earth); }
.v4 .m-lab, .v4 .m-fig figcaption small, .v4 .m-fig-common figcaption { fill: #5A4A40; color: #5A4A40; }
.v4 .m-step rect { fill: #fff; } .v4 .m-ok path, .v4 .m-no path { stroke: #fff; }
/* 화면 6 보강: 무엇을 비교하는지(성과급) 보이게 */
.m-cap { fill: var(--cream-dim); font-size: 12px; font-weight: 600; font-family: var(--font); }
.m-wire { stroke: #8C8698; stroke-width: 3; fill: none; stroke-linecap: round; }
.m-boxlab { fill: #C9C3D2; font-size: 15px; font-weight: 800; text-anchor: middle; font-family: var(--font); }
.m-chk circle { fill: var(--accent); } .m-chk path { fill: none; stroke: #14101F; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-chk { transform-box: fill-box; transform-origin: center; }
.m-axis { stroke: rgba(251,245,238,.45); stroke-width: 2; fill: none; }
.m-brace { stroke: var(--accent); stroke-width: 2; fill: none; }
.m-brace2 { stroke: rgba(220,115,80,.5); stroke-dasharray: 4 3; }
.m-tag { fill: var(--accent); font-size: 15px; font-weight: 800; text-anchor: middle; font-family: var(--font); }
.m-cap[text-anchor="end"] { text-anchor: end; }
.m-more { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 10px 0 0; }
.m-path2svg { width: 120px; height: 40px; flex: none; }
.m-fig figcaption small { margin-top: 4px; }
.compare2.ready .m-chk { opacity: 0; }
.compare2.play .m-chk-0 { animation: m-pop .3s ease .6s forwards; }
.compare2.play .m-chk-1 { animation: m-pop .3s ease 1.1s forwards; }
.compare2.play .m-chk-2 { animation: m-pop .3s ease 1.6s forwards; }
.compare2.play .m-path2 { animation: m-draw 1s ease 2.6s forwards; }
.compare2.play .m-q { animation: m-pop .35s ease 3.5s forwards; }
.v4 .m-cap { fill: #5A4A40; } .v4 .m-boxlab { fill: #5A4A40; } .v4 .m-axis { stroke: rgba(20,16,31,.35); }
.v4 .m-chk path { stroke: #fff; } .v4 .m-wire { stroke: #8C8698; }

/* 휴대폰·태블릿: 피드백 카드 띠 — 카드 한 장이 온전히 보이고 다음 카드는 가장자리만 살짝 */
@media (max-width: 899px) {
  .kakao { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 22px; margin: 26px -22px 0; padding: 0 22px 4px; align-items: stretch; scrollbar-width: none; }
  .kakao .chat { flex: 0 0 calc(100% - 10px); max-width: none; scroll-snap-align: start; min-height: 0; }
}
.chat .b { word-break: keep-all; overflow-wrap: anywhere; overflow: visible; }
.kakao-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.kakao-dots { display: flex; gap: 2px; }
.kakao-dots button { width: 28px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.kakao-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(251,245,238,.35); transition: width .2s; }
.kakao-dots button[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--accent); }
.kakao-hint { font-size: 13px; color: var(--cream-dim); }
.kakao-hint::after { content: ' →'; }
@media (min-width: 900px) { .kakao-nav { display: none; } }
.v4 .kakao-dots button::before { background: rgba(20,16,31,.25); } .v4 .kakao-dots button[aria-current="true"]::before { background: var(--earth); } .v4 .kakao-hint { color: #5A4A40; }
.s-proof .reviews { margin-bottom: 24px; }
@media (min-width: 600px) and (max-width: 899px) { .kakao .chat { flex-basis: calc((100% - 22px) / 2); } }

/* 시안 1 휴대폰 격자(4칸): 칸이 좌우로 고르게 잘리게 가운데 기준, 제목·버튼 뒤는 더 어둡게 */
body[data-hero-mode="grid"] .hero-video { object-position: center center; }
body[data-hero-mode="grid"] .hero-shade { background: linear-gradient(180deg, rgba(20,16,31,.7) 0%, rgba(20,16,31,.15) 14%, rgba(20,16,31,0) 30%, rgba(20,16,31,.35) 44%, rgba(20,16,31,.86) 60%, rgba(20,16,31,.95) 80%, var(--ink) 100%); }

/* 시안 1 휴대폰: 몽타주 한 파일 + 가로 스와이프(세로 스크롤은 그대로). 컷 수만큼 진행 막대 */
body[data-hero-mode="mont"] .s-hero { touch-action: pan-y; }
body[data-hero-mode="mont"] .hero-video { object-position: center 30%; transition: transform .12s ease-out, filter .12s ease-out; }
body[data-hero-mode="mont"] .hero-video { animation: mont-hint 1.1s ease 1.6s 1 both; }
@keyframes mont-hint { 0%, 100% { transform: none; } 35% { transform: translateX(-16px); } 65% { transform: translateX(4px); } }
.s-hero.jump-l .hero-video { transform: translateX(-18px); filter: brightness(1.35); animation: none; }
.s-hero.jump-r .hero-video { transform: translateX(18px); filter: brightness(1.35); animation: none; }
.reduce body[data-hero-mode="mont"] .hero-video, .reduce .hero-video { animation: none; }
.reel-bars { position: absolute; z-index: 3; left: 22px; right: 22px; top: 50px; display: flex; gap: 4px; pointer-events: none; }
.reel-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(251,245,238,.35); overflow: hidden; }
.reel-bars i { display: block; height: 100%; width: 0; background: var(--cream); }
@keyframes reelbar { from { width: 0; } to { width: 100%; } }

/* 로고(L∞pin 그림): 비율 유지, 색·모양 변형 없음. 상단 휴대폰 28px, PC 34px. 바닥글은 조금 작게 */
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand .logo-img, .topbar .logo-img { height: 28px; width: auto; display: block; }
.foot-brand .logo-img { height: 24px; width: auto; display: block; margin: 0 auto 6px; }
@media (min-width: 900px) { .brand .logo-img, .topbar .logo-img { height: 34px; } .foot-brand .logo-img { height: 28px; } }

/* 호스트 카드의 틱톡 연결 표시 */
.host-tt { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--accent); }
.host-link { display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
.host-link:hover .host-tt { text-decoration: underline; }

/* 통합안 «호스트 소개»: 휴대폰은 한 장씩 옆으로(한 장 온전히 + 다음 카드 살짝), PC는 4열 */
.s-hosts .hosts-sub { margin: 10px 0 0; font-size: 14px; color: var(--cream-dim); }
.hgrid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 22px; padding: 26px 22px 4px; scrollbar-width: none; }
.hgrid::-webkit-scrollbar { display: none; }
.hcard { position: relative; flex: 0 0 calc(100% - 54px); max-width: 420px; scroll-snap-align: start; border-radius: 22px; overflow: hidden; background: #1E1828; display: flex; flex-direction: column; }
.hcard .temp { position: absolute; top: 12px; left: 12px; z-index: 2; }
.hc-media { aspect-ratio: 4 / 5; background: #000; }
.hc-media img, .hc-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.hc-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.hc-name { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.hc-line { margin: 0 0 8px; font-size: 15px; color: var(--cream-dim); }
.hc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 800; text-decoration: none; }
.hc-btn.is-off { background: rgba(251,245,238,.08); color: var(--cream-dim); font-weight: 600; cursor: default; }
.hgrid-nav { display: flex; align-items: center; justify-content: space-between; width: min(100% - 44px, 620px); margin: 14px auto 0; }
.hgrid-dots { display: flex; }
.hgrid-dots button { width: 28px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.hgrid-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(251,245,238,.3); transition: width .2s; }
.hgrid-dots button[aria-current="true"]::before { width: 22px; background: var(--accent); }
@media (min-width: 600px) and (max-width: 899px) { .hcard { flex-basis: calc((100% - 22px) / 2); max-width: none; } }
@media (min-width: 900px) {
  .hgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; overflow: visible; width: min(100% - 120px, 1240px); margin: 0 auto; padding: 34px 0 0; }
  .hcard { max-width: none; }
  .hgrid-nav { display: none; }
}
/* 통합안: 팀 화면의 작은 얼굴 동그라미는 «호스트 소개» 카드로 대신 */
.v6 .s-team .hosts { display: none; }
.v6 main > .s-hosts { justify-content: flex-start; padding-top: 80px; }
.hc-nophoto { width: 100%; height: 100%; display: grid; place-items: center; color: var(--cream-dim); font-size: 15px; background: repeating-linear-gradient(135deg, #1E1828 0 14px, #231C2F 14px 28px); }
.hc-media { position: relative; overflow: hidden; }
.hc-media img, .hc-media video, .hc-media .hc-nophoto { position: absolute; inset: 0; }
