/* IAM ENTERTAINMENT — 색은 브랜드 가이드 4색 + 흰색만, 카톡 버튼만 예외
   첫 화면(헤더+히어로)만 지금 아임웹 홈페이지 디자인, 그 아래는 1차 시안 디자인 (2026-11-17 사용자) */
:root {
  --cream: #FFFAF4;
  --black: #000000;
  --gray: #7D756A;
  --beige: #C1AD94;
  --gold: #BEAD93;            /* 지금 홈페이지 'IAM' 글자색 */
  --white: #FFFFFF;
  --ink: #000000;
  --line: rgba(125, 117, 106, .22);
  --line-dark: rgba(193, 173, 148, .22);
  --kakao: #FEE500;
  --kakao-ink: #191600;
  --radius: 18px;
  --max: 1160px;
  --gutter: 20px;
  --header: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background: var(--cream); color: var(--ink);
  line-height: 1.6; letter-spacing: -0.01em; word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 시안 띠 */
.draft-bar { background: var(--beige); color: var(--black); font-size: 12px; text-align: center; padding: 6px 12px; font-weight: 600; }

/* 헤더 — 지금 홈페이지처럼 흰 바탕 */
.hd { position: sticky; top: 0; z-index: 50; height: var(--header); background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hd.scrolled { border-bottom-color: var(--line); }
.hd .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { width: auto; }
.hd .logo img { height: 30px; width: auto; }
.hd nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.hd nav a { color: #222; transition: color .15s; }
.hd nav a:hover, .hd nav a[aria-current="page"] { color: var(--gold); }
.hd .cta-sm { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; background: var(--black); color: var(--white) !important; font-size: 14px; font-weight: 600; }
.menu-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 700; transition: transform .15s, background .15s, color .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-light { background: var(--cream); color: var(--black); }
.btn-line { border: 1px solid currentColor; }
.btn-kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn-kakao svg { width: 20px; height: 20px; }
.btn-block { width: 100%; }

/* 섹션 공통 */
section { padding: 96px 0; }
.sec-dark { background: var(--black); color: var(--white); }
.sec-white { background: var(--white); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.sec-dark .eyebrow { color: var(--beige); }
.h2 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; }
.lead { margin-top: 16px; font-size: 17px; color: var(--gray); max-width: 640px; }
.sec-dark .lead { color: rgba(255, 255, 255, .66); }
.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; } .sec-head.center .lead { margin-left: auto; margin-right: auto; }
.accent { box-shadow: inset 0 -0.38em 0 rgba(193, 173, 148, .45); }
.sec-dark .accent { box-shadow: none; color: var(--beige); }

/* 첫 화면 — 지금 홈페이지(아임웹) 그대로 */
.hero { position: relative; padding: 0; background: #0a0806 var(--hero) center / cover no-repeat; color: var(--white); text-align: center; }
.hero .hero-in { min-height: min(600px, calc(100svh - var(--header) - 140px)); display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 96px; padding-bottom: 72px; }
.hero-top { font-size: clamp(19px, 2.4vw, 30px); color: #ececec; font-weight: 400; letter-spacing: -0.02em; }
.hero h1 { margin-top: 6px; font-size: clamp(32px, 4.8vw, 48px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.hero h1 span { color: var(--gold); }
.hero-sub { margin-top: 36px; font-size: clamp(14px, 1.5vw, 18px); line-height: 1.75; color: var(--white); }
.hero-sub span { display: block; }
.hero-sub.m, .hero-top br.mo { display: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stats > div { padding: 26px 8px; }
.stats b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.2; }
.stats .txt b { font-size: clamp(18px, 2.2vw, 26px); }
.stats span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.hero > .wrap:last-child { padding-bottom: 48px; }

/* 파트너 — CASTIK은 단독 제휴라 컬러로 강조 */
.partners { padding: 56px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.partners .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.partners .ttl { font-size: 14px; font-weight: 700; color: var(--gray); }
.partners ul { list-style: none; display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.partners li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.partners img { height: 40px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .8; }
.partners small { font-size: 11px; color: var(--gray); }
.partners li.hl { padding: 12px 18px; border: 1px solid var(--beige); border-radius: 14px; background: var(--cream); }
.partners li.hl img { filter: none; opacity: 1; }
.partners li.hl small { color: var(--black); font-weight: 700; }

/* CASTIK 단독 제휴 */
.castik-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.castik-logo { height: 44px; width: auto; margin-bottom: 22px; }
.castik-steps { list-style: none; counter-reset: c; display: grid; gap: 14px; }
.castik-steps li { position: relative; padding: 24px 24px 24px 76px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.castik-steps li::before { counter-increment: c; content: counter(c); position: absolute; left: 24px; top: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--black); color: var(--cream); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.castik:not(.sec-white) .castik-steps li { background: var(--white); }
.castik-steps b { font-size: 18px; }
.castik-steps p { margin-top: 4px; color: var(--gray); font-size: 15px; }


/* 이런 분께 */
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fit > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.fit b { display: block; font-size: 19px; margin-bottom: 8px; }
.fit p { color: var(--gray); font-size: 15px; }
.fit .chk { width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: var(--cream); display: grid; place-items: center; margin-bottom: 18px; font-size: 15px; }

/* 비교표 */
.cmp { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.cmp-row { display: grid; grid-template-columns: 160px 1fr 1.2fr; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line-dark); }
.cmp-row > div { padding: 22px 24px; font-size: 16px; }
.cmp-row .k { color: var(--beige); font-weight: 700; font-size: 14px; }
.cmp-row .o { color: rgba(255, 255, 255, .45); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.cmp-row .i { background: rgba(193, 173, 148, .12); font-weight: 700; }
.cmp-head > div { padding: 14px 24px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.cmp-head .i { color: var(--beige); }

/* 왜 IAM */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why > div { padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.why .n { font-size: 13px; font-weight: 800; color: var(--beige); letter-spacing: .1em; }
.why b { display: block; font-size: 20px; margin: 10px 0 8px; letter-spacing: -0.02em; }
.why p { color: var(--gray); }

/* 로드맵 */
.road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.road::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.road li { list-style: none; position: relative; padding: 0 20px 0 0; }
.road .dot { width: 45px; height: 45px; border-radius: 50%; background: var(--cream); border: 1px solid var(--beige); display: grid; place-items: center; font-weight: 800; font-size: 15px; position: relative; }
.road li:last-child .dot { background: var(--black); color: var(--cream); border-color: var(--black); }
.road .lv { margin-top: 22px; font-size: 13px; font-weight: 700; color: var(--gray); letter-spacing: .06em; }
.road .lv span { color: var(--beige); }
.road b { display: block; font-size: 20px; margin: 4px 0 8px; letter-spacing: -0.02em; }
.road p { color: var(--gray); font-size: 15px; }

/* 혜택 */
.ben { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ben > div { background: var(--cream); padding: 28px 22px; }
.ben .n { font-size: 13px; font-weight: 800; color: var(--beige); }
.ben b { display: block; font-size: 17px; line-height: 1.4; margin: 10px 0 6px; }
.ben p { color: var(--gray); font-size: 14px; line-height: 1.6; }

/* 크리에이터 */
.cr-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cr { position: relative; border-radius: 16px; overflow: hidden; background: #e9e1d7; aspect-ratio: 3 / 4; }
.cr img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cr:hover img { transform: scale(1.04); }
.cr figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: var(--white); }
.cr figcaption small { display: block; font-size: 11px; letter-spacing: .06em; opacity: .8; }
.cr figcaption b { font-size: 17px; }
.cr figcaption b span { font-weight: 500; opacity: .75; font-size: 13px; margin-left: 4px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chips button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 600; }
.chips button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.more-link { display: inline-flex; margin-top: 32px; font-weight: 700; box-shadow: inset 0 -2px 0 var(--beige); }

/* 진행 과정 — 한 줄 선 위에 픽토그램 */
.proc { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.proc::before { content: ''; position: absolute; left: 10%; right: 10%; top: 38px; height: 2px; background: var(--beige); }
.proc li { position: relative; text-align: center; padding: 0 6px; }
.proc .ic { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--white); border: 2px solid var(--beige); color: var(--black); }
.sec-white .proc .ic { background: var(--white); }
.proc li:last-child .ic { background: var(--black); border-color: var(--black); color: var(--cream); }
.proc .ic svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.proc .st { display: block; margin-top: 18px; font-size: 12px; font-weight: 800; color: var(--beige); letter-spacing: .1em; }
.proc b { display: block; margin-top: 4px; font-size: 18px; letter-spacing: -0.02em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 17px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gray); border-bottom: 2px solid var(--gray); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--gray); }

/* 블로그 가이드 */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s; }
.post:hover { transform: translateY(-3px); }
.post .th { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #efe7dc; }
.post .tx { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post .cat { font-size: 12px; font-weight: 700; color: var(--beige); }
.post b { font-size: 16px; line-height: 1.45; }
.post time { margin-top: auto; font-size: 13px; color: var(--gray); }

/* CTA 블록 */
.cta-block { text-align: center; }
.cta-block .h2 { margin-bottom: 14px; }
.cta-block ul { list-style: none; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 20px 0 34px; color: rgba(255, 255, 255, .75); font-size: 15px; }
.cta-block li::before { content: '✓ '; color: var(--beige); font-weight: 800; }
.cta-block .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 페이지 머리 */
.page-hd { padding: 72px 0 56px; }
.page-hd h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.2; font-weight: 800; letter-spacing: -0.035em; }
.page-hd p { margin-top: 16px; font-size: 18px; color: var(--gray); max-width: 680px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.values { display: grid; gap: 16px; }
.values > div { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.values b { display: block; font-size: 19px; margin-bottom: 6px; }
.values p { color: var(--gray); }
.quote { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.5; letter-spacing: -0.02em; }
.quote small { display: block; margin-top: 18px; font-size: 15px; color: var(--gray); font-weight: 500; }

/* About — 지금 홈페이지 About 구성(소개 그림·핵심가치·실적현황·파트너) */
.about-intro { padding: 80px 0 88px; }
.about-intro .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-intro h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.25; font-weight: 800; letter-spacing: -0.035em; }
.about-intro p { margin-top: 18px; font-size: 17px; color: var(--gray); max-width: 520px; }
.orbit { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / .92; margin-left: auto; }
.orbit .ring { position: absolute; left: 50%; top: 42%; width: 54%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from 200deg, var(--beige), #e9e1d7 35%, var(--gray) 70%, var(--beige)); display: grid; place-items: center; }
.orbit .ring::before { content: ''; position: absolute; inset: 12px; border-radius: 50%; background: var(--white); }
.orbit .ring img { position: relative; width: 42%; }
.orbit .tag { position: absolute; padding: 10px 22px; border-radius: 12px; background: var(--beige); color: var(--black); font-size: 14px; font-weight: 700; box-shadow: 0 6px 18px rgba(125, 117, 106, .18); white-space: nowrap; }
.orbit .live { left: 0; top: 40%; background: #4a4640; color: var(--white); }
.orbit .cr1 { left: 16%; top: 4%; }
.orbit .ac { right: 0; top: 14%; }
.orbit .md { right: 4%; top: 62%; }
.orbit figcaption span { display: block; }
.orbit figcaption br.mo { display: none; }
.orbit figcaption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 14px; color: var(--gray); background: var(--white); border-radius: 18px; padding: 12px 18px; border: 1px solid var(--line); }
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vals > div { padding: 22px 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; }
.vals .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: var(--cream); display: grid; place-items: center; }
.vals svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vals b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.vals p { grid-column: 1 / -1; margin-top: 10px; color: var(--gray); font-size: 15px; }
.rec { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.rec > div { padding: 30px 24px 8px 0; }
.rec > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.rec span { font-size: 13px; font-weight: 700; color: var(--beige); }
.rec b { display: block; margin: 8px 0 10px; font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.rec p { font-size: 14.5px; color: rgba(255, 255, 255, .66); }
.plogos { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.plogos li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 130px; padding: 16px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.plogos img { height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.plogos small { font-size: 12px; color: var(--gray); }
.plogos li.hl { border-color: var(--beige); box-shadow: inset 0 0 0 1px var(--beige); }
.plogos li.hl small { color: var(--black); font-weight: 700; }

/* 폼 */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.form-side { position: sticky; top: calc(var(--header) + 24px); }
.form-side ul { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.form-side li { display: flex; gap: 10px; font-weight: 600; }
.form-side li::before { content: '✓'; color: var(--beige); font-weight: 800; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 36px; }
.steps { display: flex; gap: 6px; margin-bottom: 28px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.steps i.on { background: var(--black); }
.step-ttl { font-size: 13px; font-weight: 700; color: var(--gray); margin-bottom: 4px; }
.step-h { font-size: 22px; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.02em; }
.fstep { display: none; } .fstep.on { display: block; }
.field { margin-bottom: 20px; }
.field > label, .field > .lbl { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field .opt { font-weight: 500; color: var(--gray); font-size: 12px; margin-left: 4px; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field input[type=number], .field textarea, .field select {
  width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; background: var(--cream); color: var(--black); outline: none; transition: border-color .15s, background .15s; }
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--black); background: var(--white); }
.field .err { display: none; color: #c0392b; font-size: 13px; margin-top: 6px; }
.field.bad .err { display: block; } .field.bad input { border-color: #c0392b; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); font-size: 15px; font-weight: 600; transition: all .15s; }
.pills input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.pills input:focus-visible + span { outline: 2px solid var(--beige); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--black); }
.agree a { text-decoration: underline; color: var(--gray); }
.policy-box { max-height: 130px; overflow: auto; background: var(--cream); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--gray); margin-bottom: 14px; }
.form-nav { display: flex; gap: 10px; margin-top: 28px; }
.form-nav .btn { flex: 1; }
.src-note { margin-top: 14px; font-size: 12px; color: var(--gray); text-align: center; }
.done { text-align: center; padding: 24px 0; display: none; }
.done.on { display: block; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--black); color: var(--cream); display: grid; place-items: center; margin: 0 auto 20px; font-size: 28px; }
.done h3 { font-size: 24px; margin-bottom: 10px; }
.done p { color: var(--gray); margin-bottom: 24px; }

/* 링크 페이지 */
.links-page { min-height: 100svh; background: var(--black); color: var(--white); display: flex; align-items: center; padding: 48px 0; }
.links-page .wrap { max-width: 460px; text-align: center; }
.links-page .logo img { height: 40px; margin: 0 auto 18px; }
.links-page p { color: rgba(255, 255, 255, .65); margin-bottom: 32px; font-size: 15px; }
.links-page .list { display: grid; gap: 12px; }
.links-page .list a { display: flex; align-items: center; justify-content: center; height: 58px; border-radius: 16px; font-weight: 700; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); }
.links-page .list a.main { background: var(--cream); color: var(--black); border-color: var(--cream); }
.links-page .list a.kakao { background: var(--kakao); color: var(--kakao-ink); border-color: var(--kakao); }

/* 개인정보처리방침 */
.doc { max-width: 760px; }
.doc h2 { font-size: 20px; margin: 36px 0 10px; }
.doc p, .doc li { color: #333; font-size: 15px; }
.doc ul { padding-left: 20px; display: grid; gap: 4px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--white); }
.todo { background: rgba(193, 173, 148, .35); padding: 0 4px; border-radius: 4px; }

/* 푸터 */
.ft { background: var(--black); color: rgba(255, 255, 255, .62); padding: 64px 0 120px; font-size: 14px; }
.ft .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.ft .logo img { height: 30px; margin-bottom: 14px; }
.ft .cols { display: flex; gap: 56px; flex-wrap: wrap; }
.ft .cols b { display: block; color: var(--white); margin-bottom: 12px; font-size: 13px; letter-spacing: .08em; }
.ft .cols a { display: block; margin-bottom: 8px; }
.ft .cols a:hover { color: var(--white); }
.ft .biz { padding-top: 24px; font-size: 12px; line-height: 1.9; }

/* 폰 고정 바 */
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); gap: 8px; }
.mbar .btn { flex: 1; height: 50px; font-size: 15px; }

/* 스크롤 등장 */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* 태블릿 */
@media (max-width: 1024px) {
  .ben { grid-template-columns: repeat(3, 1fr); }
  .vals { grid-template-columns: repeat(2, 1fr); }
  .rec { grid-template-columns: repeat(2, 1fr); }
  .rec > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .rec > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .plogos { grid-template-columns: repeat(3, 1fr); }
  .cr-grid { grid-template-columns: repeat(4, 1fr); }
  .road { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .road::before { display: none; }
  .castik-grid { gap: 40px; }
}
/* 폰 */
@media (max-width: 760px) {
  :root { --gutter: 16px; --header: 56px; }
  section { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .hd nav { display: none; position: fixed; top: var(--header); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); color: var(--black); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .hd nav.open { display: flex; }
  .hd nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .hd nav .cta-sm { margin-top: 12px; justify-content: center; height: 48px; border: 0; }
  .menu-btn { display: inline-flex; }
  .hd .logo img { height: 26px; }
  .hero { background-image: var(--hero-m); }
  .hero .hero-in { min-height: 0; padding-top: 88px; padding-bottom: 56px; }
  .hero-top { font-size: 17px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { margin-top: 24px; font-size: clamp(13px, 3.9vw, 16px); }
  .hero-sub.pc { display: none; }
  .hero-sub.m { display: block; }
  .hero-top br.mo { display: inline; }
  .hero-sub span { white-space: nowrap; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div { padding: 18px 6px; }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .stats > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .12); }
  .hero > .wrap:last-child { padding-bottom: 32px; }
  .castik-grid { grid-template-columns: 1fr; gap: 32px; }
  .castik-steps li { padding: 20px 18px 20px 66px; }
  .castik-steps li::before { left: 18px; top: 20px; }
  .partners li.hl { width: 100%; }
  .partners ul { gap: 20px 28px; justify-content: center; }
  .partners .row { justify-content: center; text-align: center; }
  .fit, .why, .posts, .about-grid, .form-wrap { grid-template-columns: 1fr; }
  .ben { grid-template-columns: 1fr 1fr; }
  .ben > div { padding: 18px 14px; }
  .ben .n { font-size: 11px; }
  .ben b { font-size: 15px; margin: 6px 0 4px; }
  .ben p { font-size: 12.5px; }
  .about-grid, .form-wrap { gap: 32px; }
  .about-intro { padding: 48px 0 56px; }
  .about-intro .wrap { grid-template-columns: 1fr; gap: 28px; }
  .orbit { margin: 0 auto; }
  .orbit .tag { padding: 7px 14px; font-size: 12px; }
  .orbit figcaption { font-size: 12.5px; padding: 10px 12px; }
  .orbit figcaption br.mo { display: inline; }
  .vals > div { padding: 18px; }
  .vals p { font-size: 14px; margin-top: 8px; }
  .vals { grid-template-columns: 1fr; }
  .rec > div { padding: 22px 12px 8px 0; }
  .rec > div + div { padding-left: 12px; }
  .plogos { grid-template-columns: 1fr 1fr; }
  .plogos li { height: 110px; }
  .form-side { position: static; order: 2; }
  .form-card { padding: 24px 20px; border-radius: 20px; }
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-row .k { grid-column: 1 / -1; padding: 16px 16px 0; }
  .cmp-row > div { padding: 10px 16px 16px; font-size: 15px; }
  .cmp-row .i { background: transparent; }
  .cmp-head { display: none !important; }
  .road { grid-template-columns: 1fr; row-gap: 0; }
  .road li { padding: 0 0 28px 64px; }
  .road li::before { content: ''; position: absolute; left: 22px; top: 45px; bottom: 0; width: 1px; background: var(--line); }
  .road li:last-child::before { display: none; }
  .road .dot { position: absolute; left: 0; top: 0; }
  .road .lv { margin-top: 10px; }
  .cr-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .proc::before { top: 26px; left: 10%; right: 10%; }
  .proc li { padding: 0 2px; }
  .proc .ic { width: 54px; height: 54px; border-width: 1.5px; }
  .proc .ic svg { width: 24px; height: 24px; }
  .proc .st { margin-top: 10px; font-size: 10px; letter-spacing: .04em; }
  .proc b { font-size: 13.5px; line-height: 1.35; }
  .two { grid-template-columns: 1fr 1fr; }
  .page-hd { padding: 48px 0 36px; }
  .mbar { display: flex; }
  .ft { padding-bottom: 130px; }
}

/* 흰 섹션 위 카드는 크림 바탕 */
.sec-white .why > div, .sec-white .values > div, .sec-white .fit > div, .sec-white .post { background: var(--cream); }
.sec-white .road .dot { background: var(--white); }
.sec-white .road li:last-child .dot { background: var(--black); }


/* 스팸 막기용 숨은 칸(사람에게는 안 보임) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
