@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500&display=swap');

/* Layout: 피그마 'MMI LOVE 시안 3 · 그로스형_결혼 고민'의 흐름(히어로 → 숫자 → POINT 01·02 → WHY 비교표 → 사례 → 진행 → 후기 → 상담사 → 요금 → FAQ → 마무리)을
   반짝이는 우주 배경 위에 얹음. 흰/회색 구간은 살짝 밝은 반투명 패널로 바꾸고, 강조색은 MMI 핑크 */
:root {
  --bg: #000;
  --panel: rgba(255, 255, 255, .035);
  --card: #111115;
  --text: #f2f2f2;
  --sub: rgba(242, 242, 242, .68);
  --faint: rgba(242, 242, 242, .42);
  --line: rgba(242, 242, 242, .12);
  --pink: #FF5A86;
  --pink-d: #e8436f;
  --pink-soft: rgba(255, 90, 134, .22);
  --glow: rgba(186, 150, 255, .28);
  --serif: 'Noto Serif KR', AppleMyungjo, Batang, serif;
  --sans: Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid var(--pink); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.wrap.narrow { max-width: 920px; }
.thin { font-weight: 300; }
.fine { margin-top: 20px; font-size: 13px; line-height: 1.7; color: var(--faint); }
.todo { color: var(--pink); }

/* 본문 구간 색: 피그마처럼 흰색(.light)·회색(.panel)·검정(.dark)을 번갈아 씀. 히어로만 투명해서 별 배경이 보임 */
.light, .panel { --text: #121212; --sub: #4c4d54; --faint: #91939d; --line: #e7e9eb; --card: #fff; --slot: #dae1ea; --slot-ink: #6b7280; --input: #fff; --badge-ink: #fff; color: var(--text); }
.light { background: #fff; }
.panel { background: #f2f4f6; }
.dark { --text: #f2f2f2; --sub: rgba(242, 242, 242, .68); --faint: rgba(242, 242, 242, .42); --line: rgba(242, 242, 242, .14); --card: #222226; --slot: #27282f; --slot-ink: rgba(242, 242, 242, .55); background: #191919; color: var(--text); }

/* 헤더 */
.header { position: sticky; top: 0; z-index: 30; background: #fff; color: #121212; border-bottom: 1px solid #e7e9eb; }
.header-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.nav { display: flex; gap: 28px; font-size: 14px; color: #333; }
.nav a:hover { color: var(--pink); }
.nav i { font-style: normal; display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 4px; border-radius: 3px; background: var(--pink); color: #fff; font-size: 9px; font-weight: 800; vertical-align: 2px; }
.nav-cta { display: none; font-size: 14px; color: #333; }

/* 버튼 */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; background: rgba(242, 242, 242, .1); color: var(--text); font-size: 16px; font-weight: 700; transition: background .25s, box-shadow .25s, transform .25s; }
.button.pink { background: var(--pink); color: #fff; }
.button:hover { transform: translateY(-1px); box-shadow: 0 0 28px rgba(255, 90, 134, .45); }
.button.pink:hover { background: var(--pink-d); }
.replay { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--faint); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

/* 공통 머리글 */
.section { padding: 120px 0; }
.badge { display: inline-block; padding: 3px 10px; background: var(--text); color: var(--badge-ink, #000); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.badge.pink { background: var(--pink); color: #fff; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; line-height: 1.38; letter-spacing: -.02em; margin-top: 16px; }
h2 em, h3 em { font-style: normal; color: var(--pink); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split-head > div:last-child { padding-top: 36px; color: var(--sub); }
.mark { margin-top: 16px; color: var(--text); font-weight: 700; }
.mark { background: linear-gradient(transparent 55%, var(--pink-soft) 55%); display: inline; }
.center-head { text-align: center; margin-bottom: 56px; }

/* 이미지 자리 */
.slot { position: relative; display: grid; place-items: center; background: var(--slot, rgba(255, 255, 255, .05)); border: 1px solid var(--line); color: var(--slot-ink, var(--faint)); font-size: 14px; text-align: center; padding: 16px; }
.slot small { position: absolute; left: 10px; bottom: 8px; font-size: 11px; color: var(--faint); }
.slot.glow { box-shadow: none; }

/* 히어로 */
.hero { position: relative; min-height: calc(100svh - 64px); display: flex; align-items: center; text-align: center; padding: 80px 0 120px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; line-height: 1.3; letter-spacing: -.03em; }
.hero-sub { margin: 24px auto 0; max-width: 640px; color: var(--sub); font-size: 17px; }
.hero .button { margin-top: 36px; }
.scroll { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; color: var(--faint); }
.scroll i { width: 1px; height: 48px; background: linear-gradient(var(--faint), transparent); }

/* 숫자 */
.stats { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 40px 24px 28px; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.stats-grid div:last-child { border-right: 0; }
.stats-grid span { font-size: 14px; color: var(--sub); }
.stats-grid b { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.stats-grid small { font-size: 13px; color: var(--faint); }
.stats .fine { margin-top: 4px; }

/* POINT 01: 고민 카드 (가운데 정렬, 3 + 2 배치) */
.worry { background: radial-gradient(120% 70% at 50% 115%, rgba(255, 90, 134, .38), transparent 62%), linear-gradient(#0e0e12, #1b1218); }
.worry .center-head { margin-bottom: 48px; }
.worries { list-style: none; margin: 0 auto; padding: 0; max-width: 1060px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.worries li { flex: 0 1 calc((100% - 32px) / 3); padding: 30px 20px; text-align: center; font-size: 17px; line-height: 1.6; color: rgba(242, 242, 242, .72); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); border-radius: 8px; }
.worries b { color: #fff; font-weight: 700; }
.worry-answer { margin-top: 88px; text-align: center; font-size: clamp(21px, 2.6vw, 30px); font-weight: 700; line-height: 1.55; letter-spacing: -.02em; }
.worry-answer b { color: #fff; }
.worry-answer em { font-style: normal; color: var(--pink); }
.chevrons { display: block; width: 20px; height: 28px; margin: 36px auto 0; color: rgba(242, 242, 242, .6); }

/* POINT 02: 느낌 → 진단 → 해석 */
.meta-view { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.meta-view li { position: relative; background: var(--card); border: 1px solid var(--line); padding: 32px 28px 34px; }
.meta-view li + li::before { content: ''; position: absolute; left: -29px; top: 50%; width: 18px; height: 18px; border-top: 2px solid var(--faint); border-right: 2px solid var(--faint); transform: translateY(-50%) rotate(45deg); }
.meta-view li:first-child { background: transparent; border-style: dashed; color: var(--sub); }
.meta-view li.on { background: #191919; border-color: #191919; color: #f2f2f2; box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.mv-no { font-size: 13px; font-weight: 700; color: var(--faint); }
.meta-view .on .mv-no { color: var(--pink); }
.meta-view h3 { margin-top: 10px; font-size: 21px; font-weight: 800; }
.meta-view p { margin-top: 10px; font-size: 15px; color: var(--sub); }
.meta-view .on p { color: rgba(242, 242, 242, .72); }
.test-spec { margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--text); border-bottom: 1px solid var(--line); }
.test-spec div { padding: 22px 20px; border-right: 1px solid var(--line); }
.test-spec div:last-child { border-right: 0; }
.test-spec dt { font-size: 13px; color: var(--faint); }
.test-spec dd { margin: 6px 0 0; font-size: 18px; font-weight: 800; line-height: 1.45; }

/* POINT 03: 진단으로 파악하는 것 */
.insight { background: #fff0f4; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.insight > *, .ring { min-width: 0; }
.rings { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ring { position: relative; aspect-ratio: 1; border-radius: 50%; border: 5px solid #f490ac; display: grid; place-content: center; text-align: center; padding: 24px; }
.ring b { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: #fff0f4; padding: 0 12px; color: var(--pink); font-size: 19px; font-weight: 800; white-space: nowrap; }
.ring ul { list-style: none; margin: 0; padding: 0; font-size: 16px; font-weight: 600; line-height: 1.85; }
.ring small { display: block; margin-top: -6px; font-size: 12px; color: var(--pink); font-weight: 700; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; background: #fff; border-radius: 14px; padding: 18px 20px 18px 68px; font-size: 16px; line-height: 1.6; box-shadow: 0 2px 10px rgba(255, 90, 134, .07); }
.checks li::before { content: ''; position: absolute; left: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--pink); }
.checks li::after { content: ''; position: absolute; left: 30px; top: 50%; width: 10px; height: 5px; margin-top: -5px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); }
.checks b { font-weight: 800; }

/* WHY */
.table-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 16px; border-bottom: 1px solid var(--line); text-align: center; color: var(--sub); font-weight: 400; }
.compare thead th { font-weight: 700; color: var(--text); padding: 18px 16px; }
.compare tbody th { text-align: left; color: var(--text); font-weight: 600; }
.compare .hl { background: rgba(255, 255, 255, .06); color: var(--text); font-weight: 700; }
.compare thead .hl { background: var(--pink); color: #fff; }
.axes { margin-top: 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.report-shot { margin: 0; padding: 24px 20px; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.report-shot img { display: block; width: 100%; height: auto; }
.axes h3 { font-size: 22px; font-weight: 800; line-height: 1.45; }
.axes-copy { margin-top: 18px; color: var(--sub); }
.axis-list { margin: 24px 0 0; border-top: 2px solid var(--line); }
.axis-list div { display: grid; grid-template-columns: 96px 1fr; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.axis-list dt { color: var(--pink); font-weight: 700; }
.axis-list dd { margin: 0; color: var(--sub); }

/* 사례 */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--card); border: 1px solid var(--line); }
.case-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.case-body { padding: 22px 20px 24px; }
.meta { font-size: 13px; color: var(--faint); }
.case h3 { margin-top: 6px; font-size: 18px; font-weight: 800; line-height: 1.45; }
.case dl { margin: 14px 0 0; }
.case dl div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.case dt { font-weight: 700; }
.case dd { margin: 0; color: var(--sub); }
.case .change dt { color: #fff; background: var(--pink); justify-self: start; padding: 0 6px; font-size: 13px; }
.case .change dd { color: var(--text); font-weight: 700; }

/* 진행 */
/* PROCESS: 진단 → 해석 상담 흐름 + 상담사 */
.lead { margin-top: 18px; color: var(--sub); font-size: 16px; }
.process { max-width: 640px; margin: 0 auto; }
.flow { background: #fff; color: #121212; border-radius: 20px; overflow: hidden; }
.flow-head { background: #f07ea0; color: #fff; text-align: center; font-size: 21px; font-weight: 800; padding: 20px 16px; }
.flow-body { padding: 32px 28px 28px; }
.flow-body h3 { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--pink); font-size: 20px; font-weight: 800; }
.flow-body h3 + .flow-steps { margin-top: 16px; }
.flow-steps + h3 { margin-top: 36px; }
.time { font-size: 14px; font-weight: 700; color: var(--pink); background: #fff0f4; border-radius: 8px; padding: 3px 10px; }
.time::before { content: '◷ '; }
.time.todo::before { content: ''; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.flow-steps li { position: relative; background: #fdeef3; border-radius: 10px; padding: 16px 18px; text-align: center; font-size: 16px; font-weight: 500; }
.flow-steps li + li::before { content: ''; position: absolute; left: 50%; top: -23px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.flow-steps li + li::after { content: ''; position: absolute; left: 50%; top: -12px; margin-left: -7px; border: 7px solid transparent; border-top: 9px solid #f07ea0; border-bottom: 0; }
.flow-steps b { font-weight: 800; }
.flow-note { margin-top: 28px; text-align: center; font-size: 13px; color: #6b7280; }

/* 후기 */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video { display: grid; gap: 6px; text-align: left; }
.video .slot { aspect-ratio: 16 / 9; place-items: center; }
.v-label { position: absolute; left: 16px; top: 12px; font-size: 13px; }
.play { width: 44px; height: 30px; border-radius: 8px; background: var(--pink); position: relative; }
.play::after { content: ''; position: absolute; left: 18px; top: 9px; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.video b { margin-top: 10px; font-size: 17px; }
.video > span { font-size: 13px; color: var(--faint); }
.video .thumb { overflow: hidden; padding: 0; border: 0; }
.video .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video .thumb .play { position: absolute; z-index: 1; left: 16px; bottom: 16px; }
.video:hover .thumb img { transform: scale(1.04); }
.video:hover .slot { border-color: rgba(255, 90, 134, .6); }
.kakao-head { display: flex; align-items: center; gap: 12px; margin: 72px 0 20px; }
.kakao-head h3 { font-size: 22px; font-weight: 700; }
.kakao { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* 카카오톡 대화 화면 목업 */
.kt { margin: 0; overflow: hidden; border-radius: 22px; background: #bacee0; border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 14px 34px rgba(30, 40, 60, .14); font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', Pretendard, sans-serif; color: #000; letter-spacing: -.01em; display: flex; flex-direction: column; }
.kt-status { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 2px; font-size: 12px; font-weight: 700; }
.kt-sys { width: 42px; height: 9px; background: linear-gradient(90deg, #000 0 14px, transparent 14px 18px, #000 18px 30px, transparent 30px 33px) 0 0 / 100% 100% no-repeat; border-radius: 2px; }
.kt-top { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; font-size: 14px; }
.kt-top b { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kt-back { width: 9px; height: 9px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); margin-left: 4px; }
.kt-icons { width: 40px; height: 14px; background: radial-gradient(circle at 6px 6px, transparent 4px, #000 4px 5.6px, transparent 6px) 0 0 / 20px 14px no-repeat, linear-gradient(#000, #000) 28px 2px / 12px 1.6px no-repeat, linear-gradient(#000, #000) 28px 6px / 12px 1.6px no-repeat, linear-gradient(#000, #000) 28px 10px / 12px 1.6px no-repeat; }
.kt-room { flex: 1; padding: 4px 10px 16px; display: flex; flex-direction: column; gap: 5px; }
.kt-date { align-self: center; margin: 2px 0 8px; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .14); color: #fff; font-size: 10.5px; }
.kt-row { display: flex; align-items: flex-end; gap: 4px; }
.kt-row.in { position: relative; padding-left: 40px; }
.kt-row.in.first { margin-top: 4px; padding-top: 17px; }
.kt-row.out { justify-content: flex-end; margin-top: 4px; }
.kt-av { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 13px; background: var(--av) radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .85) 0 6px, transparent 6.5px), var(--av); }
.kt-av { background: radial-gradient(circle at 50% 36%, rgba(255, 255, 255, .9) 0 6px, transparent 6.5px), radial-gradient(ellipse 11px 8px at 50% 100%, rgba(255, 255, 255, .9) 0 100%, transparent 100%), var(--av); }
.kt-name { position: absolute; left: 40px; top: 0; font-size: 11px; font-weight: 400; color: #333; }
.kt-bubble { max-width: 76%; padding: 7px 10px; border-radius: 12px; background: #fff; font-size: 12.5px; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.kt-row.in.first .kt-bubble { border-top-left-radius: 3px; }
.kt-row.out .kt-bubble { background: #fee500; border-top-right-radius: 3px; }
.kt time { flex-shrink: 0; font-size: 9.5px; color: #4a5560; }
.kt-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 14px; background: #fff; }
.kt-plus { width: 22px; height: 22px; background: linear-gradient(#999, #999) center / 12px 1.6px no-repeat, linear-gradient(#999, #999) center / 1.6px 12px no-repeat; }
.kt-field { flex: 1; height: 30px; border-radius: 15px; background: #f2f2f2; }
.kt-send { font-size: 15px; color: #999; font-weight: 700; }

/* 상담사 */
.counselor { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.counselor .portrait-frame { max-width: 440px; justify-self: end; width: 100%; }
.bio { margin-top: 24px; color: var(--sub); }
.bio b { display: block; margin-bottom: 6px; color: var(--text); font-size: 17px; }
.career { margin: 32px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.career h3 { padding-bottom: 10px; border-bottom: 2px solid var(--text); font-size: 16px; font-weight: 800; }
.career ul { list-style: none; margin: 0; padding: 0; }
.career li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--sub); }
.career li span { color: var(--pink); font-weight: 700; font-size: 13px; }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 8 / 9; object-fit: contain; }
.profile { margin: 28px 0 32px; border-top: 1px solid var(--line); }
.profile div { display: grid; grid-template-columns: 72px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.profile dt { font-weight: 700; }
.profile dd { margin: 0; color: var(--sub); }
.profile dd.todo { color: var(--pink); }
.portrait-frame { position: relative; background: var(--pink); padding: 32px; }
.portrait-frame .slot { aspect-ratio: 4 / 5; background: rgba(0, 0, 0, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.portrait-frame .slot small { color: rgba(255, 255, 255, .7); }
.name-tag { position: absolute; right: -8px; bottom: 24px; background: #fff; color: #000; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); padding: 8px 16px; font-size: 26px; display: flex; gap: 8px; align-items: baseline; }
.name-tag small { font-size: 12px; color: #777; }

/* 진단 신청: 진행 흐름 → 상품 요약 + 신청·결제 폼 */
.journey { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.journey::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 22px; height: 1px; background: var(--line); }
.journey li { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; }
.journey b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--faint); font-size: 14px; margin-bottom: 8px; }
.journey .now b { background: var(--pink); border-color: var(--pink); color: #fff; }
.journey strong { font-size: 16px; }
.journey span { font-size: 13px; color: var(--faint); }
.apply-box { display: grid; grid-template-columns: 1fr 1.4fr; background: var(--card); border: 1px solid var(--line); }
.product { padding: 32px 28px; background: #191919; color: #f2f2f2; display: grid; align-content: start; gap: 10px; }
.product .meta { color: rgba(242, 242, 242, .55); }
.product h3 { font-size: 22px; font-weight: 800; }
.product-price { font-size: 16px; }
.product-price b { font-size: 38px; font-weight: 800; color: var(--pink); margin-right: 2px; }
.product ul { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(242, 242, 242, .14); display: grid; gap: 10px; font-size: 15px; color: rgba(242, 242, 242, .8); }
.product li::before { content: '✓'; color: var(--pink); margin-right: 8px; font-weight: 800; }
.product .fine { color: rgba(242, 242, 242, .45); }
.apply-form { padding: 32px 28px; display: grid; gap: 18px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; padding: 0; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field small { font-weight: 400; color: var(--faint); margin-left: 6px; }
.field input[type="text"], .field input:not([type]), .field input[type="tel"] { width: 100%; height: 48px; padding: 0 14px; background: var(--input, #000); border: 1px solid var(--line); color: var(--text); font-size: 16px; }
.field input::placeholder { color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips label { margin: 0; font-weight: 500; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); background: #fff; font-size: 15px; transition: border-color .2s, background .2s; }
.chips input:checked + span { border-color: var(--pink); background: var(--pink-soft); color: var(--text); font-weight: 700; }
.chips input:focus-visible + span { outline: 1px solid var(--pink); outline-offset: 2px; }
.agree { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sub); }
.agree input { width: 16px; height: 16px; accent-color: var(--pink); }
.apply-form .submit { width: 100%; }
.apply-form .fine { margin-top: 0; }

/* FAQ */
.faq-list { border-top: 2px solid var(--text); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; position: relative; padding: 20px 40px 20px 6px; cursor: pointer; font-size: 17px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { font-style: normal; font-weight: 800; margin-right: 18px; }
.faq-list summary::after { content: '+'; position: absolute; right: 8px; top: 18px; color: var(--faint); font-size: 20px; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 6px 22px 42px; color: var(--sub); font-size: 15px; }

/* 마무리 */
.final { padding: 120px 0; text-align: center; background: #0b0b0b; }
.final h2 { margin-top: 0; font-size: clamp(28px, 4vw, 42px); }
/* 마무리 제목: 두 문구가 번갈아 나옴 */
.rotator { display: grid; }
.rot { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .7s, transform .7s; }
.rot.on { opacity: 1; transform: none; }
.final-sub { margin: 14px 0 40px; color: var(--sub); }
.final-steps { list-style: none; margin: 48px auto 44px; padding: 0; max-width: 960px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; font-size: 14px; color: var(--sub); }
.final-steps li { display: grid; justify-items: center; gap: 12px; }
.final-steps b { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); color: var(--pink); }

/* 푸터 */
.footer { padding: 48px 0 120px; background: #1a1a1a; font-size: 13px; color: var(--faint); }
.footer .logo { color: var(--text); font-size: 17px; }
.biz { margin-top: 16px; line-height: 1.8; }
.foot-links { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { color: var(--sub); }

/* 하단 고정 버튼 */
/* 하단 할인 바: 히어로·신청 폼이 보일 때는 숨김 */
.floating-cta { position: fixed; z-index: 25; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); width: min(1200px, calc(100% - 32px)); transform: translate(-50%, 16px); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 12px 12px 32px; border-radius: 14px; background: var(--pink); color: #fff; box-shadow: 0 12px 32px rgba(255, 90, 134, .35); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.floating-cta.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.floating-cta p { font-size: 19px; line-height: 1.5; }
.floating-cta b { font-weight: 800; }
.off { display: inline-block; vertical-align: middle; margin: 0 8px; min-width: 104px; line-height: 43px; text-align: center; border: 1.5px solid #fff; border-radius: 4px; background: #d93a66; font-size: 24px; font-weight: 800; }
.floating-cta .button { display: block; line-height: 52px; min-height: 52px; padding: 0 40px; border-radius: 10px; background: #c72e58; color: #fff; white-space: nowrap; }
.floating-cta .button:hover { background: #a92149; box-shadow: none; }

/* 대화상자 */
dialog { width: calc(100% - 32px); max-width: 480px; max-height: 90svh; overflow: auto; padding: 40px 28px 32px; border: 1px solid var(--line); background: #111114; color: var(--text); text-align: center; }
dialog::backdrop { background: rgba(0, 0, 0, .75); backdrop-filter: blur(6px); }
dialog h2 { font-size: 24px; margin-top: 0; }
.close-dialog { position: absolute; top: 10px; right: 16px; background: none; border: 0; font-size: 26px; color: var(--faint); }
.payment-summary { margin: 24px 0 0; text-align: left; border-top: 1px solid var(--line); }
.payment-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.payment-summary dt { color: var(--faint); }
.payment-summary dd { margin: 0; overflow-wrap: anywhere; }
.pg-placeholder { margin-top: 20px; padding: 20px; border: 1px dashed var(--line); color: var(--sub); font-size: 15px; }
.pg-placeholder span { display: block; font-size: 13px; color: var(--faint); }
dialog .button { width: 100%; margin-top: 20px; }
.dialog-copy { margin-top: 16px; color: var(--sub); }
#complete-step .after-pay { list-style: none; text-align: left; margin: 20px 0 0; padding: 0; counter-reset: a; display: grid; gap: 12px; }
.after-pay li { counter-increment: a; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; }
.after-pay li::before { content: counter(a); grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 12px; font-weight: 800; }
.after-pay b { font-size: 15px; }
.after-pay span { font-size: 13px; color: var(--faint); }
.media-slot { aspect-ratio: 16 / 9; margin-top: 24px; }

/* 우주 배경: 화면 뒤에 고정된 별 캔버스. 도입부가 열리면 도입부 안으로 옮겨 감 */
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

/* 도입부: 검은 화면, 가운데 명조 한 문장, 화면을 눌러서 넘김 */
dialog.intro-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #000; overflow: hidden; z-index: 100; }
.intro-dialog::backdrop { background: #000; backdrop-filter: none; }
.intro-shell { position: relative; height: 100%; max-width: 480px; margin: 0 auto; display: grid; grid-template-rows: auto 1fr auto; padding: 18px max(20px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-bottom)); }
.intro-header { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 3; }
#intro-back, #intro-skip { background: none; border: 0; padding: 8px 4px; color: rgba(242, 242, 242, .55); }
#intro-back { font-size: 22px; line-height: 1; }
#intro-back:disabled { visibility: hidden; }
#intro-skip { font-size: 14px; }
.intro-stage { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 0; }
/* 장면 영상: 배경을 검정으로 눌러 둔 영상을 screen 합성해 선만 별 배경 위에 보이게 함.
   도입부 안에서는 별을 맨 뒤(z-index -1)에 두고, 합성이 별과 섞이도록 상위에 쌓임 맥락을 만들지 않음 */
.intro-dialog #stars { z-index: -1; }
.intro-visual { display: none; position: relative; width: min(250px, 50vw); aspect-ratio: 9 / 16; margin-bottom: 24px; }
.intro-visual video { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.intro-dialog[data-step="4"] .intro-visual, .intro-dialog[data-step="6"] .intro-visual { display: block; }
.intro-dialog[data-step="4"] .iv-full, .intro-dialog[data-step="6"] .iv-ending { display: block; }
.intro-content { text-align: center; position: relative; z-index: 1; pointer-events: none; }
#intro-sentence { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 5.2vw, 25px); line-height: 1.75; letter-spacing: .01em; white-space: pre-line; color: var(--text); }
#intro-tap { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; z-index: 2; }
/* 화면 전체가 누르는 영역이라 포커스 테두리를 그리지 않음 */
#intro-tap:focus, #intro-tap:focus-visible { outline: none; }
.intro-choices { display: grid; gap: 12px; margin-top: 40px; pointer-events: auto; position: relative; z-index: 3; }
.intro-choices button, #intro-next { min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1px solid rgba(242, 242, 242, .28); background: rgba(242, 242, 242, .1); font-size: 16px; transition: background .25s, border-color .25s, box-shadow .25s, transform .25s; }
.intro-choices button:hover, #intro-next:hover { background: rgba(242, 242, 242, .2); border-color: rgba(233, 179, 198, .75); box-shadow: 0 0 24px rgba(233, 179, 198, .35); transform: translateY(-1px); }
#intro-next { margin-top: 40px; pointer-events: auto; position: relative; z-index: 3; }
#intro-hint { text-align: center; font-family: var(--serif); font-size: 12px; letter-spacing: .1em; color: rgba(242, 242, 242, .45); }

/* 태블릿 이하 */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-cta { display: block; }
  .section { padding: 88px 0; }
  .worries li { flex-basis: calc((100% - 16px) / 2); }
  .split-head, .axes, .counselor, .insight { grid-template-columns: 1fr; gap: 20px; }
  .split-head > div:last-child { padding-top: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid div:nth-child(2) { border-right: 0; }
  .stats-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cases, .videos { grid-template-columns: 1fr; }
  .meta-view { grid-template-columns: 1fr; gap: 36px; }
  .meta-view li + li::before { left: 50%; top: -28px; transform: translateX(-50%) rotate(135deg); }
  .test-spec { grid-template-columns: 1fr 1fr; }
  .test-spec div:nth-child(2) { border-right: 0; }
  .test-spec div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .insight { padding: 40px 24px; }
  .kakao { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 4px 24px 20px; }
  .kt { flex: 0 0 280px; scroll-snap-align: center; }
  .name-tag { right: 12px; }
  .counselor .portrait-frame { justify-self: start; max-width: 420px; }
  .career { grid-template-columns: 1fr; gap: 28px; }
  .final-steps { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .apply-box { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .worries li { flex-basis: 100%; padding: 22px 16px; font-size: 16px; }
  .worry-answer { margin-top: 56px; }
  .worry-answer br { display: none; }
  .journey { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .journey::before { display: none; }
  .hero-sub { font-size: 16px; }
  .rings { gap: 14px; }
  .floating-cta { padding: 10px 10px 10px 16px; gap: 10px; }
  .floating-cta p { font-size: 14px; }
  .off { min-width: 0; line-height: 28px; margin: 0 4px; padding: 0 7px; font-size: 16px; }
  .floating-cta .button { line-height: 44px; min-height: 44px; padding: 0 14px; font-size: 14px; }
  .floating-cta .long { display: none; }
  .ring { border-width: 4px; padding: 10px; }
  .ring b { font-size: 16px; }
  .ring ul { font-size: 12.5px; line-height: 1.6; }
  .ring small { margin-top: -3px; font-size: 10px; }
  .checks li { padding: 16px 16px 16px 58px; font-size: 15px; }
  .checks li::before { left: 16px; }
  .checks li::after { left: 26px; }
  .lead br { display: none; }
  .flow-body { padding: 28px 16px 22px; }
  .flow-steps li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
