/* 한자산네트웍스 매장 마케팅 통합 진단 랜딩 — 남색·골드 (힉스필드 시안 C + 포켓몬 딜러 랜딩 흐름) */
:root {
  --navy-0: #04122B; --navy: #061B3E; --navy-2: #0B2A5B; --navy-3: #13356E; --ink: #0F1B2D; --ink-2: #44526A; --ink-3: #5E6A7E;
  --gold: #E6AE3F; --gold-hi: #F4D27A; --gold-lo: #CC902B; --gold-grad: linear-gradient(135deg, #F7DC8C 0%, #E6AE3F 50%, #C98A26 100%);
  --sky: #E3F0FE; --sky-2: #F3F8FF; --line: #E3E8F0; --bg: #FFFFFF; --soft: #F5F7FB;
  --good: #12A150; --bad: #E5484D; --warn: #D97A00;
  --r: 20px; --r-s: 12px; --wrap: 1200px;
  --shadow: 0 2px 6px rgba(6, 27, 62, .05), 0 18px 40px rgba(6, 27, 62, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 17px; line-height: 1.6; letter-spacing: -0.02em; word-break: keep-all; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.25; text-wrap: balance; }
p, li, dd, summary { text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
/* 키보드 초점 — 밝은 바탕은 파랑, 남색 바탕은 금색 (어느 쪽이든 바탕 대비 3:1 넘게) */
:focus-visible { outline: 3px solid #2A62CC; outline-offset: 3px; }
.nav :focus-visible, .hero :focus-visible, .dark :focus-visible, .foot :focus-visible { outline-color: var(--gold-hi); }
.dark .form :focus-visible { outline-color: #2A62CC; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 800; letter-spacing: .08em; color: #2A62CC; }
.eyebrow.gold { color: var(--gold-hi); }
.eyebrow.center { text-align: center; }
.sec { padding: 120px 0; position: relative; }
.sec h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
.sec-lead { margin: 18px 0 0; color: var(--ink-2); font-size: 18px; line-height: 1.7; max-width: 40em; }
.dark { background: radial-gradient(1200px 600px at 80% -10%, #12376F 0%, transparent 60%), var(--navy); color: #fff; }
.dark .sec-lead { color: #B9C7DD; }
.hl { background: var(--gold-grad); color: #2B1B02; padding: 0 .18em; border-radius: 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-grad); color: #2B1B02; box-shadow: 0 8px 24px rgba(201, 138, 38, .35); }
.btn-gold:hover { box-shadow: 0 12px 30px rgba(201, 138, 38, .5); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* 상단 */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s, transform .4s cubic-bezier(.16, 1, .3, 1); }
.nav.solid { background: rgba(6, 27, 62, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav.hide { transform: translateY(-110%); }
.nav-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.nav-in { max-width: 1280px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: #fff; }
.logo-m { height: 40px; width: auto; }
.logo-w { height: 15px; width: auto; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { color: #D6E0EE; text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover, .nav-links a.on { color: #fff; background: rgba(255, 255, 255, .1); }

/* 히어로 */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff;
  background: radial-gradient(900px 600px at 72% 40%, #123B7C 0%, transparent 65%), radial-gradient(600px 400px at 10% 90%, #0E2D63 0%, transparent 70%), var(--navy); }
.hero-word { position: absolute; right: -1vw; top: 11vh; font-size: clamp(100px, 15vw, 250px); font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(244, 210, 122, .42); white-space: nowrap; user-select: none; pointer-events: none; font-family: "Pretendard Variable", Pretendard, sans-serif;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.hero-copy { position: relative; z-index: 2; }
/* 글 칸을 조금 넓혀 PC 에서 제목 둘째 줄이 한 줄에 들어가게 */
.hero-in { position: relative; max-width: 1280px; margin: 0 auto; padding: 120px 24px 80px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 900; line-height: 1.18; }
.hero h1 .ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.hero h1 .ln > span { display: block; }
.hero h1 .hl { line-height: 1.35; background-repeat: no-repeat; background-size: 100% 100%; }
/* 무료 마케팅 덤 — 버튼 바로 아래, 한 줄 띠로 눈에 띄게 */
.hero-perk { margin: 18px 0 0; display: inline-flex; vertical-align: top; align-items: center; gap: 12px; max-width: 100%; padding: 10px 18px 10px 10px; border-radius: 16px; background: rgba(244, 210, 122, .08); border: 1px solid rgba(244, 210, 122, .3); font-size: 17px; line-height: 1.6; color: #E6ECF5; }
.hero-perk b { flex: none; padding: 4px 12px; border-radius: 999px; background: rgba(244, 210, 122, .16); border: 1px solid rgba(244, 210, 122, .5); color: var(--gold-hi); font-size: 14px; }
.hero-lead { margin: 24px 0 0; font-size: 19px; line-height: 1.65; color: #C9D5E8; max-width: 30em; }
.hero-lead b { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-badges { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges li { display: flex; align-items: baseline; gap: 8px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.hero-badges b { font-size: 26px; font-weight: 900; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badges span { font-size: 14px; color: #C9D5E8; }
.hero-art { position: relative; justify-self: center; width: min(520px, 100%); }
.hero-art::before { content: ""; position: absolute; inset: 12% 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 210, 122, .28), transparent 70%); filter: blur(10px); }
.hero-art img { position: relative; width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.float-card { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.float-card b { font-weight: 800; }
/* 카드 1 은 제목 둘째 줄 옆에 붙지 않게 턱 높이로 */
.fc-1 { left: -6%; top: 36%; } .fc-2 { right: -8%; top: 46%; animation-delay: -1.6s; } .fc-3 { left: 2%; bottom: 14%; animation-delay: -3.2s; }
.dot { width: 9px; height: 9px; border-radius: 50%; position: relative; } .dot.ok { background: var(--good); } .dot.bad { background: var(--bad); } .dot.warn { background: var(--warn); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
.fc-2 .dot::after { animation-delay: -.8s; } .fc-3 .dot::after { animation-delay: -1.6s; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
/* GSAP 이 맡을 때 — 첫 화면은 그리기 전까지 숨기고, CSS 반복 움직임은 끈다 */
.motion [data-h], .motion .hero h1 .ln > span, .motion .float-card, .motion .hero-word { opacity: 0; }
.gs .float-card, .gs .marquee-track { animation: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; }
.scroll-cue::before { content: ""; position: absolute; inset: -6px -11px; } /* 누르는 칸 44px */
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-hi); animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* 띠 */
.marquee { background: var(--navy-0); border-top: 1px solid rgba(244, 210, 122, .25); border-bottom: 1px solid rgba(244, 210, 122, .25); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { padding: 18px 28px; color: var(--gold-hi); font-weight: 800; font-size: 17px; white-space: nowrap; }
.marquee span::after { content: "◆"; margin-left: 56px; font-size: 9px; color: rgba(244, 210, 122, .5); vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* 고민 */
.worry { background: linear-gradient(180deg, #fff 0%, var(--sky-2) 100%); }
.worry h2 { margin-bottom: 48px; }
.worry-stage { position: relative; display: grid; grid-template-columns: 1fr 340px 1fr; align-items: center; gap: 24px; }
.bubbles { display: contents; list-style: none; }
.bubbles li { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 22px; font-weight: 700; font-size: 17px; line-height: 1.6; box-shadow: var(--shadow); position: relative; }
.bubbles li:nth-child(odd) { grid-column: 1; border-bottom-right-radius: 6px; justify-self: end; }
.bubbles li:nth-child(even) { grid-column: 3; border-bottom-left-radius: 6px; justify-self: start; }
.bubbles li:nth-child(1), .bubbles li:nth-child(2) { grid-row: 1; } .bubbles li:nth-child(3), .bubbles li:nth-child(4) { grid-row: 2; } .bubbles li:nth-child(5), .bubbles li:nth-child(6) { grid-row: 3; }
.bubbles li:nth-child(3), .bubbles li:nth-child(4) { transform: translateX(var(--nudge, 0)); }
.bubbles li:nth-child(3) { --nudge: -24px; } .bubbles li:nth-child(4) { --nudge: 24px; }
.worry-img { grid-column: 2; grid-row: 1 / span 3; width: 340px; border-radius: 50%; background: var(--sky); }
.punch { margin: 72px 0 0; text-align: center; font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; color: var(--ink-2); line-height: 1.4; }
.punch b { color: var(--ink); background: linear-gradient(transparent 60%, rgba(244, 210, 122, .65) 60%) no-repeat 0 0 / 100% 100%; }

/* 진단 범위 — 그림은 조금 작게, 글 칸은 넓게 */
.scope .sec-lead { margin-bottom: 72px; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; margin-top: 88px; }
.row.rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.row:first-of-type { margin-top: 0; }
.row.rev .arch { order: 2; }
.scope .arch { max-width: 400px; }
.arch { background: var(--sky); border-radius: 260px 260px 28px 28px; overflow: hidden; aspect-ratio: 1 / 1.05; display: flex; align-items: flex-end; justify-content: center; box-shadow: var(--shadow); max-width: 460px; justify-self: center; width: 100%; }
.arch img { width: 100%; }
.num { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sky); color: #2A62CC; font-weight: 900; font-size: 14px; }
.row h3 { margin: 16px 0 16px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.row p { margin: 0; color: var(--ink-2); font-size: 18px; line-height: 1.7; max-width: 34em; }
.row p b { color: var(--ink); }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 15px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 15px; font-weight: 700; color: var(--ink-2); line-height: 1.4; }
.row .scope-cap { margin: 24px 0 0; font-size: 15px; font-weight: 700; color: var(--ink-3); }
.mini-table { margin-top: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; background: #fff; }
.mini-table div { padding: 12px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.mini-table div:last-child { border-right: 0; }
.mini-table span { color: var(--ink-3); font-weight: 700; }
.mini-table b { font-size: 16px; font-variant-numeric: tabular-nums; }
.mini-table .bad { background: #FDEDEE; color: #B4232A; }

/* SEO·AEO·GEO */
.ai h2 { max-width: 800px; }
.tri { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tri-card { position: relative; border-radius: var(--r); padding: 30px 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid rgba(244, 210, 122, .25); }
.tri-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(244, 210, 122, .16), transparent 60%); }
.tri-card:hover::after { opacity: 1; }
.tri-tag { margin: 0; display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(244, 210, 122, .14); color: var(--gold-hi); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.tri-card h3 { margin: 18px 0 8px; font-size: 26px; }
.tri-q { margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #DCE5F2; font-size: 17px; line-height: 1.6; text-wrap: balance; }
.tri-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tri-card li { padding-left: 28px; position: relative; color: #E6ECF5; font-size: 17px; line-height: 1.6; }
/* 세 카드가 나란할 때 태그·제목·질문·목록 줄을 맞춘다 — 질문이 두 줄로 감겨도 구분선이 같은 높이 */
@media (min-width: 861px) {
  .tri { row-gap: 0; }
  .tri-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
  .tri-tag { justify-self: start; }
}
.tri-card li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-grad); color: #2B1B02; font-size: 11px; font-weight: 900; display: grid; place-items: center; margin-top: 3px; }

/* 리포트 미리보기 */
.report { background: linear-gradient(180deg, var(--sky-2), #fff); }
.browser { position: relative; margin-top: 48px; border-radius: 18px; background: #fff; box-shadow: 0 40px 80px rgba(6, 27, 62, .18); border: 1px solid var(--line); overflow: hidden; }
.scanline { position: absolute; left: 0; right: 0; top: 44px; height: 46px; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(47, 107, 216, .1) 70%, rgba(47, 107, 216, .55) 96%, rgba(110, 168, 255, .9)); border-bottom: 2px solid #6EA8FF; box-shadow: 0 6px 18px rgba(47, 107, 216, .35); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #F1F4F9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #F5A3A3; } .browser-bar i:nth-child(2) { background: #F5D58A; } .browser-bar i:nth-child(3) { background: #9CDCAE; }
.browser-bar span { margin-left: 12px; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.rp { padding: 28px; display: grid; gap: 18px; background: var(--soft); }
.rp-head { display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1.4fr); gap: 28px; align-items: center; background: #fff; border-radius: 16px; padding: 22px 26px; border: 1px solid var(--line); }
.rp-store b { display: block; font-size: 22px; }
.rp-store span { color: var(--ink-3); font-size: 14px; }
.rp-ring { width: 130px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--v) * 1%), #EEF1F6 0); display: grid; place-items: center; position: relative; }
.rp-ring::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #fff; }
.rp-ring span { position: relative; text-align: center; line-height: 1; }
.rp-ring b { font-size: 40px; font-weight: 900; }
.rp-ring small { display: block; color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.rp-areas { display: grid; gap: 7px; }
.rp-areas div { display: grid; grid-template-columns: 80px 1fr 30px; gap: 10px; align-items: center; font-size: 14px; }
.rp-areas i { height: 7px; border-radius: 99px; background: linear-gradient(90deg, var(--gold-hi), var(--gold-lo)) 0 0 / var(--w) 100% no-repeat, #EEF1F6; }
.rp-areas b { text-align: right; }
.rp-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.rp-chips li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 4px; text-align: center; font-size: 14px; font-weight: 700; position: relative; line-height: 1.4; }
/* 상태 글자는 흰 바탕 대비 4.5:1 넘게 한 단계 진하게 */
.rp-chips li::after { content: "정상"; display: block; margin-top: 4px; font-size: 12px; color: #0F7A3D; opacity: var(--s, 1); }
.rp-chips .warn::after { content: "주의"; color: #A85A00; } .rp-chips .bad::after { content: "없음"; color: #C42B30; }
.rp-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.rp-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-size: 15px; }
.rp-box > b { display: block; margin-bottom: 12px; font-size: 16px; }
.rp-box.alert { border-color: #F5C2C4; background: linear-gradient(180deg, #FFF7F7, #fff); }
.rp-box.alert > b { color: #B4232A; }
.rp-box table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.rp-box th, .rp-box td { padding: 7px 6px; border-top: 1px solid #F0F2F6; text-align: left; }
.rp-box th { color: var(--ink-3); white-space: nowrap; }
.rp-box td.diff { background: #FDEDEE; color: #B4232A; font-weight: 800; }
.rp-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rp-gauges div { aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#2F6BD8 calc(var(--v) * 1%), #EEF1F6 0); display: grid; place-items: center; position: relative; }
.rp-gauges div::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.rp-gauges b, .rp-gauges span { position: relative; line-height: 1; }
.rp-gauges b { font-size: 20px; margin-top: -12px; } .rp-gauges span { position: absolute; bottom: 25%; font-size: 12px; color: var(--ink-3); font-weight: 800; }
.rp-box.rx ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.rp-box.rx li::marker { color: var(--gold-lo); font-weight: 900; }

/* 숫자 */
.stats { padding: 72px 0 80px; background: var(--navy); color: #fff; }
.stats-cap { margin: 0 0 40px; text-align: center; color: var(--gold-hi); font-size: 18px; font-weight: 800; }
.stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { text-align: center; padding: 12px 16px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(48px, 6vw, 76px); font-weight: 900; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; font-size: 18px; font-weight: 800; }
.stat small { display: block; margin-top: 6px; color: #A9BAD3; font-size: 15px; }

/* 실제 발견 */
.cases { background: #fff; }
.case-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); background: #fff; }
.case header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.case-tag { font-weight: 800; font-size: 17px; line-height: 1.4; }
.case-score { font-size: 38px; font-weight: 900; line-height: 1; color: var(--navy-3); }
.case-score small { font-size: 15px; color: var(--ink-3); }
.case ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.case li { font-size: 17px; line-height: 1.6; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; }
/* 빨강 = 고칠 곳, 초록 = 강점 */
.case em { flex: none; font-style: normal; font-size: 13px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: #FDEDEE; color: #B4232A; }
.case em.case-good { background: #E7F6EC; color: #0F7A3D; }

/* 진행 */
.steps { background: var(--soft); }
.step-list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; position: relative; }
.step-list::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: -22px; height: 3px; border-radius: 3px; background: var(--gold-grad); transform: scaleX(var(--p, 1)); transform-origin: 0 50%; }
.step-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; position: relative; }
.step-list li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold-hi); display: grid; place-items: center; font-weight: 900; z-index: 1; font-size: 14px; }
.step-list span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold-grad); color: #2B1B02; font-weight: 900; }
.step-list h3 { margin: 18px 0 8px; font-size: 21px; }
.step-list p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.65; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-call { margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.faq-call span { color: var(--ink-3); font-size: 15px; font-weight: 600; }
.tel { display: inline-flex; align-items: center; min-height: 44px; font-size: 28px; font-weight: 900; color: var(--navy-3); text-decoration: none; letter-spacing: -0.01em; }
.faq-kakao { margin-top: 12px; padding: 13px 22px; background: #FEE500; color: #191600; font-size: 16px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 800; font-size: 17px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 900; color: var(--navy-3); }
.faq-list details[open] summary::after { content: "−"; background: var(--gold-grad); color: #2B1B02; }
.faq-list details p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }

/* 신청 */
.apply-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.apply h2 { font-size: clamp(34px, 4.6vw, 56px); }
/* 진단하면 나오는 것 — 바로 · 이어서 · 결과를 보고 */
.apply-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; max-width: 34em; }
.apply-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #E6ECF5; font-size: 17px; line-height: 1.6; }
.apply-list b { color: var(--gold-hi); font-size: 15px; font-weight: 800; }
.apply-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.apply-points li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(244, 210, 122, .4); color: var(--gold-hi); font-weight: 700; font-size: 16px; }
.apply-img { width: 300px; margin-top: 36px; border-radius: 50%; background: var(--sky); }
.form, .done { background: #fff; color: var(--ink); border-radius: 24px; padding: 34px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.form h3 { font-size: 24px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.field em, .agree em { color: var(--bad); font-style: normal; }
.field small { color: var(--ink-3); font-weight: 500; }
.field textarea { resize: vertical; min-height: 84px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 15px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(230, 174, 63, .2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--bad); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agree { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 6px 0 8px; font-size: 15px; }
.agree label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.agree input { width: 18px; height: 18px; accent-color: var(--gold-lo); }
.link { border: 0; background: none; color: var(--navy-3); font-weight: 700; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.policy { background: var(--soft); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink-2); max-height: 220px; overflow: auto; white-space: pre-line; margin-bottom: 10px; }
.policy p { margin: 0; }
.form-msg { min-height: 1.4em; margin: 6px 0 10px; color: var(--bad); font-size: 14px; font-weight: 700; }
.form-note { margin: 12px 0 0; text-align: center; color: var(--ink-3); font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.done { text-align: center; }
.done img { width: 200px; margin: 0 auto 10px; border-radius: 50%; background: var(--sky); }
.done h3 { font-size: 28px; }
.done p { color: var(--ink-2); }

/* 하단 */
.foot { background: var(--navy-0); color: #8FA2BF; padding: 48px 0 110px; font-size: 14px; }
.foot-brand { margin-bottom: 20px; }
.foot-brand img { width: 136px; }
.foot-policy summary { cursor: pointer; color: #C9D5E8; text-decoration: underline; text-underline-offset: 3px; padding: 11px 0; }
.foot-policy p { white-space: pre-line; font-size: 14px; line-height: 1.7; color: #9FB1CC; max-width: 40em; background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 14px 16px; }
.foot p { margin: 0 0 10px; line-height: 1.8; }
.foot a { color: #C9D5E8; }
.foot p a[href^="tel"] { display: inline-block; padding: 10px 0; margin: -10px 0; } /* 누르는 칸 44px — 줄 높이는 그대로 */
.foot-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-links a { display: inline-block; padding: 10px 0; } /* 누르는 칸 44px */
.copy { color: #7A8DAD; }

/* 떠 있는 버튼 */
.fab { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; gap: 10px; justify-items: end; }
.fab a { text-decoration: none; display: grid; place-items: center; border-radius: 50%; font-weight: 900; box-shadow: 0 12px 28px rgba(0, 0, 0, .25); transition: transform .15s; }
.fab a:hover { transform: translateY(-3px); }
.fab-apply { width: 84px; height: 84px; background: var(--gold-grad); color: #2B1B02; font-size: 14px; line-height: 1.2; text-align: center; align-content: center; }
.fab-apply b { font-size: 17px; display: block; }
.fab-kakao { width: 64px; height: 64px; background: #FEE500; color: #191600; font-size: 12px; line-height: 1.3; align-content: center; }
.fab-kakao svg { width: 22px; height: 22px; fill: #191600; margin: 0 auto; }
.fab-top { width: 52px; height: 52px; background: var(--navy); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; }
.fab.scrolled .fab-top { opacity: 1; pointer-events: auto; }

/* 나타나기 */
/* GSAP 없을 때(app.js 가 html.io 를 붙인다) — 스크립트가 아예 없으면 처음부터 다 보인다 */
.io .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.io .reveal.in { opacity: 1; transform: none; }
.io .bubbles li.reveal.in:nth-child(3) { transform: translateX(-24px); } .io .bubbles li.reveal.in:nth-child(4) { transform: translateX(24px); }
@media (prefers-reduced-motion: reduce) { .io .reveal { opacity: 1; transform: none; transition: none; } .float-card, .marquee-track, .scroll-cue span, .dot::after { animation: none; } }

/* 반응형 */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .rp-chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rp-grid { grid-template-columns: 1fr 1fr; } .rp-box.alert { grid-column: 1 / -1; }
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step-list li::after, .step-list::before { display: none; }
}
@media (max-width: 860px) {
  .sec { padding: 88px 0; }
  .hero-in { grid-template-columns: 1fr; gap: 16px; padding-top: 92px; text-align: left; }
  .hero-art { width: min(320px, 72%); order: -1; }
  .hero-word { top: 84px; right: -4vw; font-size: 30vw; }
  .fc-1 { left: -10%; } .fc-2 { right: -12%; } .fc-3 { display: none; }
  .worry-stage { grid-template-columns: 1fr; justify-items: center; max-width: 480px; margin-inline: auto; }
  /* 말풍선은 대화처럼 좌우로 엇갈리고, 글은 늘 왼쪽 정렬 */
  .bubbles li { grid-column: 1 !important; grid-row: auto !important; transform: none !important; --nudge: 0; width: calc(100% - 32px); }
  .bubbles li:nth-child(odd) { justify-self: start; border-radius: 22px 22px 22px 6px; }
  .bubbles li:nth-child(even) { justify-self: end; border-radius: 22px 22px 6px 22px; }
  .worry-img { grid-column: 1; grid-row: 1; width: 240px; }
  .row, .row.rev { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
  .row.rev .arch { order: 0; }
  .scope .arch { max-width: 320px; }
  .tri { grid-template-columns: 1fr; }
  .rp-head { grid-template-columns: 1fr auto; } .rp-areas { grid-column: 1 / -1; }
  .stats-in { grid-template-columns: 1fr 1fr; row-gap: 32px; } .stat:nth-child(3) { border-left: 0; }
  .case-grid { grid-template-columns: 1fr; }
  .faq-in, .apply-in { grid-template-columns: 1fr; gap: 36px; }
  /* '무료 진단' 버튼으로 내려오면 입력칸이 바로 보이게 — 진단 칸은 설명 바로 아래, 안내 목록은 그 밑 */
  .apply-in { gap: 0; }
  .apply-copy { display: contents; }
  .apply-list, .apply-points { order: 1; }
  .apply .dg { margin-top: 28px; }
  .apply-list { margin-top: 32px; }
  .apply-img { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .sec { padding: 72px 0; }
  .wrap { padding: 0 16px; }
  .nav-in { padding: 12px 16px; }
  .nav .btn-sm { padding: 11px 15px; font-size: 14px; }
  .logo { gap: 8px; } .logo-m { height: 32px; } .logo-w { height: 11px; }
  /* 첫 화면에 큰 버튼까지 보이게 — 캐릭터는 가슴 위로 잘라 작게 */
  .hero-in { padding-top: 80px; }
  .hero-art { width: min(250px, 68%); }
  .hero-art img { aspect-ratio: 1; object-fit: cover; object-position: 50% 0; }
  .hero h1 { font-size: 34px; }
  .hero-lead { margin-top: 18px; font-size: 17px; }
  .hero-cta { margin-top: 26px; }
  .hero-cta .btn { width: 100%; }
  .hero-perk { display: flex; align-items: flex-start; padding: 12px 14px 12px 12px; font-size: 16px; }
  .hero-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
  .hero-badges li { flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; text-align: center; }
  .hero-badges b { font-size: 24px; line-height: 1.2; } .hero-badges span { font-size: 14px; line-height: 1.35; }
  .float-card { font-size: 13px; padding: 8px 11px; }
  .fc-1 { left: -26%; top: 50%; } .fc-2 { right: -26%; top: 74%; } /* 얼굴을 가리지 않게 어깨·태블릿 옆으로 */
  .sec h2 { font-size: 28px; }
  .scope .sec-lead { margin-bottom: 48px; }
  .scope .arch { max-width: 280px; }
  .row h3 { font-size: 24px; } .row p { font-size: 16px; }
  .chips li { padding: 7px 13px; font-size: 14px; }
  .mini-table { grid-template-columns: 1fr 1fr; } .mini-table div:nth-child(2) { border-right: 0; } .mini-table div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tri-card { padding: 26px 22px; } .tri-card li, .case li { font-size: 16px; }
  .rp { padding: 14px; } .rp-head { padding: 16px; gap: 14px; } .rp-ring { width: 100px; } .rp-ring b { font-size: 30px; }
  .rp-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rp-grid { grid-template-columns: 1fr; }
  /* 불일치 표: 줄 이름을 위로 올려 칸을 넓힌다 */
  .rp-box table, .rp-box tbody { display: block; }
  .rp-box tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #F0F2F6; }
  .rp-box th { grid-column: 1 / -1; padding-bottom: 0; border-top: 0; }
  .rp-box td { border-top: 0; }
  .stats { padding: 60px 0 64px; } .stats-cap { margin-bottom: 32px; font-size: 17px; }
  .stat { padding: 12px 6px; } .stat b { font-size: 46px; } .stat span { font-size: 16px; } .stat small { font-size: 14px; }
  .case { padding: 22px 20px; }
  .step-list { grid-template-columns: 1fr; }
  .step-list p, .faq-list details p { font-size: 16px; }
  .apply-list li { grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; font-size: 16px; }
  .form, .done { padding: 24px 18px; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .fab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .fab-apply { width: 72px; height: 72px; font-size: 13px; } .fab-apply b { font-size: 16px; }
  .fab-kakao { width: 58px; height: 58px; } .fab-top { width: 46px; height: 46px; }
  /* 휴대폰은 첫 화면 글자를 가리지 않게 — 내려간 뒤에 떠 있는 버튼을 보인다 */
  .fab:not(.scrolled) a { opacity: 0; pointer-events: none; }
}
@media (max-width: 1080px) { .step-list li:not(:last-child)::after { display: none; } }
.nw { white-space: nowrap; }
.fab a { transition: transform .15s, opacity .25s; }

