@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --red: #DE3229; --red-d: #C4231E; --red-l: #F04A3E; --red-xl: #FF7A68; --red-soft: #FDECEA; --red-mist: #FFF6F4;
  --ink: #16181D; --ink2: #34373F; --sub: #686D7A; --faint: #A2A6B0;
  --line: #ECECEF; --gray: #F6F6F8; --gray2: #EFEFF2; --white: #fff;
  --r: 18px; --max: 1200px;
  --shadow: 0 2px 6px rgba(22,24,29,.04), 0 18px 40px rgba(22,24,29,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', sans-serif; color: var(--ink); background: #fff; font-size: 17px; line-height: 1.6; letter-spacing: -0.015em; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
.num, .en { font-family: 'Outfit', 'Pretendard Variable', sans-serif; letter-spacing: -0.02em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.ic { display: inline-flex; width: 1em; height: 1em; flex: none; }
.ic svg { width: 100%; height: 100%; }
[hidden] { display: none !important; }

/* 헤더 */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hd.scrolled { border-bottom-color: var(--line); }
.hd .wrap { display: flex; align-items: center; height: 72px; gap: 36px; }
.hd .logo img { height: 36px; }
.hd nav { display: flex; gap: 34px; margin: 0 auto; font-weight: 600; font-size: 16.5px; color: var(--ink2); }
.hd nav a:hover { color: var(--red); }
.hd .menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: var(--gray); border-radius: 12px; font-size: 20px; place-items: center; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 14px; border: 0; background: var(--gray2); color: var(--ink); font-weight: 700; font-size: 17px; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(222,50,41,.28); }
.btn.red:hover { background: var(--red-d); }
.btn.ink { background: var(--ink); color: #fff; }
.btn.line { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.sm { height: 40px; padding: 0 16px; border-radius: 11px; font-size: 16px; }
.btn.lg { height: 58px; padding: 0 30px; font-size: 17px; border-radius: 16px; }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn .ic { font-size: 18px; }

/* 공통 섹션 */
section { padding: 110px 0; }
.eyebrow { display: block; color: var(--red); font-weight: 600; font-size: 16.5px; margin-bottom: 8px; }
h2.title { font-size: 40px; line-height: 1.25; margin: 0; font-weight: 800; letter-spacing: -0.035em; }
.head { margin-bottom: 40px; }

/* 히어로 */
.hero { padding: 56px 0 0; }
.hero-top { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.hero-top > * { min-width: 0; }
/* 스크립트가 채우기 전 자리 맡기 (첫 화면 밀림 방지) */
header.hd:empty { height: 73px; }
.hero-vis:empty { aspect-ratio: 16 / 9; border-radius: 22px; background: var(--gray); }
.hero #calc:empty { min-height: 217px; margin-top: 48px; border-radius: 24px; background: var(--ink); }
@media (max-width: 1080px) { .hero #calc:empty { min-height: 324px; } }
.pill { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--red-soft); color: var(--red); font-weight: 700; font-size: 15.5px; margin-bottom: 22px; }
.hero h1 { font-size: 56px; line-height: 1.2; margin: 0; font-weight: 800; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero h1 .wm { display: block; height: 1.7em; width: auto; margin-top: 0.3em; }
/* 피피티? 피프티! — 글자가 하나씩 튀어나오고, 둘째 줄 '피'가 '프'로 바뀌며 '!'가 튐 */
.hero h1.qa { font-family: 'Gasoek One', 'Pretendard Variable', sans-serif; font-weight: 400; font-size: 92px; line-height: 1.12; letter-spacing: -0.02em; }
.hero h1.qa > span { display: block; white-space: nowrap; }
.hero h1.qa .q { color: var(--ink); }
.hero h1.qa .a { color: var(--red); }
.qa b { display: inline-block; font-weight: inherit; opacity: 0; transform: translateY(40%) scale(.9); animation: qaPop .5s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay: calc(var(--i) * 70ms + var(--d, 0ms)); }
.qa .a { --d: 650ms; }
.qa .roll { position: relative; vertical-align: bottom; }
.qa .roll i { display: block; font-style: normal; }
.qa .roll i:first-child { animation: qaRollOut .22s ease-in forwards 1.5s; }
.qa .roll i + i { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(70%); animation: qaRollIn .32s cubic-bezier(.3,1.3,.5,1) forwards 1.72s; }
.qa .bang { transform-origin: 50% 90%; animation: qaPop .5s cubic-bezier(.2,1.4,.4,1) forwards, qaBang .6s cubic-bezier(.3,1.6,.5,1) 1.95s; animation-delay: calc(var(--i) * 70ms + var(--d, 0ms)), 1.95s; }
@keyframes qaPop { to { opacity: 1; transform: none; } }
@keyframes qaRollOut { to { transform: translateY(-70%); opacity: 0; } }
@keyframes qaRollIn { to { transform: translateY(0); opacity: 1; } }
@keyframes qaBang { 0% { transform: none; } 40% { transform: scale(1.35) rotate(8deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .qa b, .qa .roll i, .qa .bang { animation: none !important; opacity: 1 !important; transform: none !important; }
  .qa .roll i:first-child { display: none; }
  .qa .roll i + i { position: static; }
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.show { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--gray); box-shadow: 0 2px 6px rgba(22,24,29,.06), 0 30px 60px rgba(22,24,29,.14); }
.show img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.show img.on { opacity: 1; }
.show .cap { position: absolute; left: 16px; bottom: 16px; background: rgba(22,24,29,.78); color: #fff; border-radius: 10px; padding: 7px 12px; font-size: 14.5px; display: flex; gap: 8px; }
.show .cap span { color: rgba(255,255,255,.62); }
.show .cap span:empty { display: none; }
.show .dots { position: absolute; right: 18px; bottom: 22px; display: flex; gap: 6px; }
.show .dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.6); cursor: pointer; transition: width .25s, background .25s; }
.show .dots i.on { width: 22px; background: #fff; }

/* 장수 계산 띠 */
.calc { margin-top: 48px; background: var(--ink); color: #fff; border-radius: 24px; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.calc-k { font-size: 15.5px; color: rgba(255,255,255,.6); font-weight: 600; margin-bottom: 10px; }
.calc-k small { color: rgba(255,255,255,.4); font-weight: 500; margin-left: 6px; font-size: 14.5px; }
.pages { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chipbtn { height: 44px; min-width: 64px; padding: 0 14px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); font-weight: 700; font-size: 16.5px; color: #fff; cursor: pointer; transition: background .15s, color .15s; }
.chipbtn:hover { background: rgba(255,255,255,.14); }
.chipbtn.on { background: #fff; color: var(--ink); }
.stepper { display: inline-flex; align-items: center; background: rgba(255,255,255,.08); border-radius: 12px; height: 44px; margin-left: 6px; }
.stepper button { width: 40px; height: 44px; border: 0; background: none; font-size: 16.5px; display: grid; place-items: center; cursor: pointer; color: #fff; }
.stepper input { width: 52px; text-align: center; border: 0; background: none; color: #fff; font-weight: 800; font-size: 17px; outline: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-r { display: flex; align-items: center; justify-content: flex-end; gap: 28px; margin-left: auto; }
.calc-sum { text-align: right; }
.calc .price { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.calc .price small { font-size: 18px; font-weight: 600; margin-left: 2px; }
.calc .price .q { font-family: 'Pretendard Variable', sans-serif; font-size: 32px; }

/* 히어로 그림: 슬라이드 묶음 (도형만, 외곽선 없음) */
.deck { position: relative; aspect-ratio: 1 / 0.86; }
.deck .blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.deck .b1 { width: 74%; aspect-ratio: 1; right: -8%; top: 2%; background: radial-gradient(circle at 30% 30%, var(--red-xl), var(--red) 55%, var(--red-d)); opacity: .95; }
.deck .b2 { width: 22%; aspect-ratio: 1; left: 2%; bottom: 6%; background: var(--red-soft); }
.slide { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 2px 6px rgba(22,24,29,.06), 0 24px 48px rgba(22,24,29,.14); overflow: hidden; aspect-ratio: 16 / 9; }
.slide.s1 { width: 64%; left: 0; top: 8%; transform: rotate(-3deg); }
.slide.s2 { width: 64%; left: 32%; top: 42%; transform: rotate(2deg); }
.slide.s3 { width: 40%; left: 56%; top: 0; transform: rotate(6deg); }
.sl-pad { position: absolute; inset: 9% 8%; }
.sl-bar { height: 8%; border-radius: 99px; background: var(--ink); width: 46%; }
.sl-sub { height: 5%; border-radius: 99px; background: var(--gray2); width: 64%; margin-top: 4%; }
.sl-chart { position: absolute; left: 0; right: 40%; bottom: 0; height: 56%; display: flex; align-items: flex-end; gap: 7%; }
.sl-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--gray2); }
.sl-chart i.hl { background: var(--red); }
.sl-pie { position: absolute; right: 0; bottom: 4%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--red) 0 38%, var(--red-xl) 38% 58%, var(--gray2) 58% 100%); }
.sl-pie::after { content: ''; position: absolute; inset: 28%; border-radius: 50%; background: #fff; }
.sl-cards { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.sl-cards i { border-radius: 10px; background: var(--red-mist); position: relative; }
.sl-cards i::before { content: ''; position: absolute; left: 14%; top: 16%; width: 26%; aspect-ratio: 1; border-radius: 30%; background: var(--red); }
.sl-cards i::after { content: ''; position: absolute; left: 14%; right: 18%; bottom: 18%; height: 9%; border-radius: 99px; background: var(--gray2); }
.slide.s3 .sl-big { position: absolute; inset: 0; display: grid; place-items: center; background: var(--red); }
.slide.s3 .sl-big img { width: 26%; }

/* 포트폴리오 */
.pf-note { color: var(--faint); font-size: 15px; margin-top: 10px; }
.tabs-pf { display: flex; gap: 8px; flex-wrap: wrap; margin: -12px 0 28px; }
.tabs-pf:empty { display: none; }
.tabs-pf button { height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--gray); font-weight: 700; font-size: 16px; color: var(--ink2); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.tabs-pf button span { font-size: 14.5px; color: var(--faint); }
.tabs-pf button.on { background: var(--ink); color: #fff; }
.tabs-pf button.on span { color: rgba(255,255,255,.55); }
.pf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 22px; }
.pf.two { grid-template-columns: repeat(2, 1fr); }
.pf .it { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; min-width: 0; }
.pf .th { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--gray); box-shadow: 0 1px 3px rgba(22,24,29,.06), 0 8px 24px rgba(22,24,29,.07); }
.pf .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pf .it:hover .th img { transform: scale(1.03); }
.pf .cl { margin: 14px 2px 0; color: var(--red); font-size: 15px; font-weight: 700; }
.pf .cl:empty { display: none; }
.pf h3 { margin: 14px 2px 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.more { text-align: center; margin-top: 44px; }
.lb-pf { position: fixed; inset: 0; z-index: 60; background: rgba(14,15,19,.92); display: grid; place-items: center; padding: 24px; }
.lb-in { width: min(1200px, 100%); }
.lb-top { display: flex; align-items: center; gap: 16px; color: #fff; margin-bottom: 14px; }
.lb-top span { color: rgba(255,255,255,.6); font-size: 15.5px; margin-right: 10px; }
.lb-top b { font-size: 17px; }
.lb-top em { margin-left: auto; font-style: normal; color: rgba(255,255,255,.6); }
.lb-top .x { width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 18px; }
.lb-st { position: relative; }
.lb-st img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 12px; }
.lb-st .nv { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(22,24,29,.6); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 20px; }
.lb-st .pv { left: 12px; } .lb-st .nx { right: 12px; }

/* 가격안내 */
/* 클라이언트 */
.faq-sec + .clients { padding-top: 0; }
.cl-mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.cl-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: clMq var(--dur, 40s) linear infinite; }
.cl-track li { flex: 0 0 auto; display: flex; align-items: center; height: 48px; padding: 0 52px; }
.cl-track img { display: block; height: calc(var(--h, 24) * 1px); width: auto; transform: translateY(calc(var(--y, 0) * 1px)); }
.cl-tx { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink2); white-space: nowrap; }
.cl-mq:hover .cl-track { animation-play-state: paused; }
@keyframes clMq { to { transform: translateX(var(--to, -50%)); } }
@media (max-width: 720px) { .cl-track li { height: 40px; padding: 0 32px; } .cl-track img { height: calc(var(--h, 24) * .9px); transform: translateY(calc(var(--y, 0) * .9px)); } .cl-tx { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .cl-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; } .cl-track li[aria-hidden] { display: none; } }

/* 그 외 작업 */
.others { background: var(--gray); }
.others + .faq-sec { padding-top: 110px; }
.oth { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 14px; }
.oth .it { background: #fff; border-radius: var(--r); padding: 14px 14px 22px; }
.oth .mk { background: var(--gray); }
.oth h3 { margin: 0 6px; font-size: 18px; font-weight: 800; }
.oth .mk-web .pp { width: 72%; max-width: 176px; aspect-ratio: 16 / 10; padding: 26px 14px 0; overflow: hidden; }
.oth .mk-web .bar { position: absolute; left: 0; right: 0; top: 0; height: 15px; background: var(--gray2); display: flex; gap: 4px; align-items: center; padding: 0 8px; }
.oth .mk-web .bar i { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.oth .mk-web u { width: 58%; }
.oth .mk-web s { width: 74%; }
.oth .mk-web .cd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.oth .mk-web .cd i { height: 24px; border-radius: 4px; background: var(--gray2); }
.oth .mk-web b { display: block; width: 30%; height: 11px; border-radius: 4px; background: var(--red); margin-top: 9px; }
.oth .mk-app .pp { width: 74px; height: 112px; border-radius: 15px; padding: 19px 9px 0; }
.oth .mk-app .nt { position: absolute; left: 50%; top: 7px; width: 22px; height: 5px; border-radius: 99px; background: var(--gray2); transform: translateX(-50%); }
.oth .mk-app u { width: 64%; height: 6px; }
.oth .mk-app s { width: 88%; height: 4px; }
.oth .mk-app .ls { display: grid; gap: 5px; margin-top: 9px; }
.oth .mk-app .ls i { height: 13px; border-radius: 4px; background: var(--gray2); }
.oth .mk-app .ls i:first-child { background: var(--red-soft); }
.oth .mk-app b { position: absolute; left: 9px; right: 9px; bottom: 9px; height: 12px; border-radius: 4px; background: var(--red); }
.mk-motion .pp { width: 72%; max-width: 176px; aspect-ratio: 16 / 9; padding: 0; }
.mk-motion b { position: absolute; left: 50%; top: 42%; width: min(32px, 22%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--red); }
.mk-motion b::before { content: ''; position: absolute; inset: 30% 26% 30% 38%; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.mk-motion .tl { position: absolute; left: 12px; right: 12px; bottom: 11px; height: 5px; border-radius: 99px; background: var(--gray2); }
.mk-motion .tl i { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; border-radius: 99px; background: var(--red); }
.mk-motion .tl i::after { content: ''; position: absolute; right: -5px; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(22,24,29,.25); }
.mk-leaflet .fold { display: flex; width: 64%; max-width: 168px; height: 64%; filter: drop-shadow(0 8px 14px rgba(22,24,29,.12)); }
.mk-leaflet .fold i { flex: 1; background: #fff; position: relative; }
.mk-leaflet .fold i:nth-child(1) { transform: skewY(5deg); border-radius: 6px 0 0 6px; }
.mk-leaflet .fold i:nth-child(3) { transform: skewY(-5deg); border-radius: 0 6px 6px 0; }
.mk-leaflet .fold i:nth-child(2) { background: #FAFAFB; }
.mk-leaflet .fold i::before { content: ''; position: absolute; left: 18%; right: 18%; top: 16%; height: 30%; border-radius: 4px; background: var(--gray2); }
.mk-leaflet .fold i:nth-child(1)::before { background: var(--red); }
.mk-leaflet .fold i::after { content: ''; position: absolute; left: 18%; right: 30%; top: 56%; height: 5px; border-radius: 99px; background: var(--gray2); box-shadow: 0 10px 0 var(--gray2); }
.oth > :nth-child(2) { --d: .12s; } .oth > :nth-child(3) { --d: .24s; } .oth > :nth-child(4) { --d: .36s; } .oth > :nth-child(5) { --d: .48s; }
html.mo .oth .mk > * { opacity: 0; }
html.mo .oth.rv-on .mk > * { animation: rvPop .7s var(--ezb) calc(var(--d, 0s) + .25s) both; }
@media (max-width: 1080px) { .oth { grid-template-columns: repeat(2, 1fr); } .oth > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 720px) { .oth { gap: 10px; } .oth h3 { font-size: 16px; } .others + .faq-sec { padding-top: 80px; } }

.pricing { background: var(--gray); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { background: #fff; border-radius: 22px; padding: 30px 26px 26px; display: flex; flex-direction: column; }
.plan .pg { font-weight: 800; font-size: 18px; }
.plan .pg span { color: var(--red); }
.bd { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 6px; background: var(--red); color: #fff; font-style: normal; font-size: 13.5px; font-weight: 700; line-height: 1.3; vertical-align: 2px; }
.chipbtn .bd { margin-left: 6px; padding: 2px 6px; font-size: 12.5px; vertical-align: 1px; }
.plan .pp { font-size: 36px; font-weight: 700; margin: 10px 0 22px; letter-spacing: -0.03em; line-height: 1.1; }
.plan .pp small { font-size: 17px; font-weight: 600; margin-left: 2px; }
.plan .pp em { font-style: normal; font-family: 'Pretendard Variable', sans-serif; font-size: 17px; font-weight: 600; color: var(--sub); margin-left: 6px; }
.plan .vat { color: var(--faint); font-size: 15px; margin: -16px 0 20px; }
.plan .ex { list-style: none; padding: 16px 18px; margin: 0; background: var(--gray); border-radius: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 16px; }
.plan .ex li { display: flex; justify-content: space-between; gap: 10px; }
.plan .ex span { color: var(--sub); }
.plan .ex b { font-weight: 700; }
.plan dl { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; font-size: 16px; }
.plan dt { color: var(--sub); }
.plan dd { margin: 0; font-weight: 600; text-align: right; }
.plan .btn { margin-top: auto; }
.plans-extra { list-style: none; padding: 22px 26px; margin: 16px 0 0; background: #fff; border-radius: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; font-size: 16px; color: var(--ink2); }
.plans-extra li { display: flex; gap: 10px; align-items: center; }
.plans-extra li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex: none; }
.plans-note { color: var(--sub); margin: 20px 0 0; font-size: 15.5px; line-height: 1.8; text-align: center; }

/* 진행안내 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { background: var(--gray); border-radius: var(--r); padding: 14px 14px 22px; }
.step .n { display: block; font-size: 15.5px; font-weight: 700; color: var(--red); margin: 0 6px 2px; }
.step h3 { margin: 0 6px; font-size: 18px; font-weight: 800; }
.mk { height: 132px; border-radius: 12px; background: #fff; position: relative; display: grid; place-items: center; margin-bottom: 20px; overflow: hidden; }
.mk .pp { background: #fff; border-radius: 8px; box-shadow: 0 2px 4px rgba(22,24,29,.05), 0 10px 22px rgba(22,24,29,.10); padding: 12px; position: relative; }
.mk u { display: block; height: 7px; width: 46%; border-radius: 99px; background: var(--ink); }
.mk s { display: block; height: 5px; width: 66%; border-radius: 99px; background: var(--gray2); margin-top: 5px; }
.mk-form .pp { width: 60%; display: grid; gap: 6px; }
.mk-form i { height: 11px; border-radius: 4px; background: var(--gray2); }
.mk-form b { height: 15px; width: 52%; border-radius: 5px; background: var(--red); margin-top: 3px; }
.mk-cal .pp { width: 62%; }
.mk-cal .g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 9px; }
.mk-cal .g i { aspect-ratio: 1; border-radius: 3px; background: var(--gray2); }
.mk-cal .g i.on { background: var(--red); }
.mk-slide .pp, .mk-rev .pp { width: 70%; aspect-ratio: 16 / 9; }
.mk-slide .c { display: flex; align-items: flex-end; gap: 6px; height: 44%; margin-top: 8%; }
.mk-slide .c i { flex: 1; border-radius: 3px 3px 1px 1px; background: var(--gray2); }
.mk-slide .c i.on { background: var(--red); }
.mk-rev .pp em { position: absolute; right: -9px; top: -9px; width: 24px; height: 24px; border-radius: 50% 50% 50% 5px; background: var(--red); color: #fff; font-style: normal; font-size: 13.5px; font-weight: 800; display: grid; place-items: center; }
.mk-rev .bub { position: absolute; right: 9%; bottom: 14px; width: 48%; height: 24px; border-radius: 8px; background: #fff; box-shadow: 0 6px 16px rgba(22,24,29,.14); }
.mk-rev .bub::before { content: ''; position: absolute; left: 10px; right: 30%; top: 9px; height: 6px; border-radius: 99px; background: var(--red-soft); }
.mk-file .pp { width: 62px; height: 78px; padding: 14px 10px; display: grid; align-content: start; gap: 5px; }
.mk-file .pp::before, .mk-file .pp::after { content: ''; height: 5px; border-radius: 99px; background: var(--gray2); }
.mk-file .pp b { position: absolute; left: -12px; bottom: 12px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 7px; border-radius: 5px; letter-spacing: .02em; }

/* 자주 묻는 질문 */
.faq-sec { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.faq-grid .head { position: sticky; top: 112px; margin: 0; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--gray); border: 1px solid transparent; border-radius: 18px; transition: background .2s, border-color .2s, box-shadow .2s; }
.faq details:hover { background: var(--gray2); }
.faq details[open] { background: #fff; border-color: var(--line); box-shadow: 0 10px 30px rgba(22,24,29,.06); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; padding: 22px 24px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .no { color: var(--faint); font-size: 16.5px; font-weight: 600; transition: color .2s; }
.faq details[open] .no { color: var(--red); }
.faq .pm { position: relative; width: 32px; height: 32px; border-radius: 50%; background: #fff; transition: transform .25s, background .2s; }
.faq .pm::before, .faq .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink2); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { transform: rotate(45deg); background: var(--red); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq .a { padding: 0 24px 24px 68px; color: var(--sub); font-size: 17px; }
.faq .a p { margin: 0; }
.faq .a p + p { margin-top: 8px; }
.faq .a dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
.faq .a dt { font-weight: 600; color: var(--ink2); }
.faq .a dd { margin: 0; }
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; block-size: calc-size(auto, size); }
}

/* 의뢰 띠 */
.cta { padding: 0 0 110px; }
.cta .box { border-radius: 28px; padding: 48px 56px; background: linear-gradient(135deg, var(--red-xl) 0%, var(--red) 46%, var(--red-d) 100%); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta .box::after { content: ''; position: absolute; right: -80px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta h2 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -0.035em; }
.cta .btn { background: #fff; color: var(--red); position: relative; z-index: 1; }

/* 푸터 */
.ft { background: var(--gray); padding: 56px 0 64px; color: var(--sub); font-size: 15.5px; }
.ft .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ft .brand img { height: auto; margin-bottom: 8px; }
.ft .info { display: flex; flex-wrap: wrap; gap: 4px 16px; max-width: 640px; }
.ft nav { display: flex; gap: 20px; font-weight: 600; color: var(--ink2); }

/* 폼 페이지 공통 */
.page { padding: 56px 0 120px; background: var(--gray); min-height: calc(100vh - 72px); }
.page h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; margin: 0 0 8px; line-height: 1.25; }
.page .lead { margin-bottom: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.form-grid.one { grid-template-columns: 1fr; }
.card .calc { margin: 4px 0 22px; }
.card .calc .calc-r { width: 100%; }
.card { background: #fff; border-radius: 22px; padding: 34px; box-shadow: 0 2px 6px rgba(22,24,29,.03); }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 20px; margin: 0 0 20px; font-weight: 800; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: block; margin-bottom: 18px; }
.fld > span { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; color: var(--ink2); }
.fld > span i { color: var(--red); font-style: normal; margin-left: 2px; }
.in { width: 100%; height: 52px; border: 0; border-radius: 13px; background: var(--gray); padding: 0 16px; font-size: 17px; outline: none; transition: background .15s, box-shadow .15s; }
textarea.in { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.in:focus { background: #fff; box-shadow: 0 0 0 2px var(--red) inset; }
.radios { display: flex; gap: 8px; flex-wrap: wrap; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; pointer-events: none; }
.radios span { display: inline-flex; align-items: center; height: 46px; padding: 0 18px; border-radius: 12px; background: var(--gray); font-weight: 700; font-size: 16.5px; cursor: pointer; color: var(--ink2); }
.radios input:checked + span { background: var(--ink); color: #fff; }
.drop { border-radius: 16px; background: var(--gray); padding: 26px; text-align: center; transition: background .15s; cursor: pointer; }
.drop.over { background: var(--red-soft); }
.drop .ic { font-size: 34px; color: var(--faint); margin-bottom: 6px; }
.drop b { display: block; font-size: 17px; }
.drop small { color: var(--faint); }
.flist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.flist li { display: flex; align-items: center; gap: 10px; background: var(--gray); border-radius: 11px; padding: 10px 12px; font-size: 16px; }
.flist li .ic { color: var(--red); }
.flist li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flist li em { color: var(--faint); font-style: normal; font-size: 14.5px; }
.flist li button { border: 0; background: none; color: var(--faint); cursor: pointer; display: grid; place-items: center; }
.agree { display: flex; gap: 12px; align-items: flex-start; background: var(--gray); border-radius: 14px; padding: 16px; font-size: 15.5px; color: var(--sub); }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.agree b { color: var(--ink); }
.summary { position: sticky; top: 96px; }
.summary .big { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 2px; }
.summary .sub { color: var(--sub); font-size: 16px; }
.summary .note { color: var(--faint); font-size: 15px; }
.summary .note dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 18px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15.5px; }
.summary .note dt { color: var(--sub); }
.summary .note dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.err { background: #FDECEC; color: #B4262B; border-radius: 12px; padding: 12px 14px; font-size: 16px; margin-bottom: 16px; }
.okbox { text-align: center; padding: 56px 34px; }
.okbox > .ic { font-size: 56px; color: var(--red); margin-bottom: 14px; display: inline-block; }
.okbox h2 { font-size: 28px; margin: 0 0 8px; }
.okbox p { color: var(--sub); margin: 0 0 6px; }
.okbox .code { display: inline-block; margin-top: 14px; background: var(--gray); border-radius: 12px; padding: 10px 18px; font-weight: 800; font-size: 20px; letter-spacing: .04em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.progress { height: 6px; border-radius: 99px; background: var(--gray2); overflow: hidden; margin-top: 14px; }
.progress i { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s; }

/* 반응형 */
@media (max-width: 1080px) {
  .faq-grid { grid-template-columns: 220px 1fr; gap: 40px; }
  .hero-top { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 48px; }
  .hero h1.qa { font-size: 76px; }
  .deck { max-width: 560px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pf { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  section { padding: 80px 0; }
  .hd nav { display: none; }
  .hd nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 20px 24px; gap: 16px; border-bottom: 1px solid var(--line); }
  .hd .menu-btn { display: grid; }
  .hd .wrap > .btn { display: none; }
  .hero { padding: 32px 0 0; }
  .hero h1 { font-size: 38px; margin-bottom: 28px; }
  .hero h1.qa { font-size: 58px; }
  .hero-btns .btn { flex: 1; }
  .show .cap { display: none; }
  .show .dots { left: 0; right: 0; justify-content: center; bottom: 14px; }
  .calc { padding: 22px 20px; margin-top: 36px; }
  .stepper { margin-left: 0; }
  .calc-r { width: 100%; justify-content: flex-end; gap: 16px; }
  .calc .price { font-size: 34px; }
  h2.title { font-size: 30px; }
  .head { margin-bottom: 28px; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq-grid .head { position: static; margin-bottom: 28px; }
  .faq-grid .head br { display: none; }
  .faq summary { grid-template-columns: 34px 1fr 28px; padding: 18px; font-size: 17px; }
  .faq .pm { width: 28px; height: 28px; }
  .faq .a { padding: 0 18px 20px 52px; }
  .faq .a dl { grid-template-columns: 1fr; gap: 2px; }
  .faq .a dd + dt { margin-top: 8px; }
  .plans, .pf, .plans-extra { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta .box { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .cta h2 { font-size: 28px; }
  .lb-top b { font-size: 16.5px; }
  .row2 { grid-template-columns: 1fr; }
  .card { padding: 24px; }
}
.ft .info + .info { margin-top: 4px; }
.ft .biz { margin-left: 6px; padding: 1px 7px; border: 1px solid var(--line, #d9d9de); border-radius: 4px; font-size: 13.5px; }
.ft nav b { font-weight: 700; color: var(--ink); }
.ft:empty { display: none; }

/* ===== 움직임 — html.mo는 첫 화면에서, 움직임 줄이기 설정이 아닐 때만 붙음 ===== */
:root { --ez: cubic-bezier(.2,.8,.2,1); --ezb: cubic-bezier(.3,1.45,.5,1); --rv: 36px; }
@keyframes rvUp { from { opacity: 0; translate: 0 var(--rv); } to { opacity: 1; translate: none; } }
@keyframes rvPop { from { opacity: 0; scale: .92; translate: 0 calc(var(--rv) * .7); } to { opacity: 1; scale: none; translate: none; } }
@keyframes rvFade { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; scale: .4; } }
@keyframes barX { from { scale: 0 1; } }
@keyframes barY { from { scale: 1 0; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes riseIn { from { opacity: 0; translate: 0 12px; } }
@keyframes slideL { from { opacity: 0; translate: -18px 0; } }

/* 스크롤 등장 */
html.mo [data-rv] { opacity: 0; }
html.mo [data-rv].rv-on { animation: rvUp .9s var(--ez) var(--rd, 0s) both; }
html.mo [data-rvg] > * { opacity: 0; }
html.mo [data-rvg].rv-on > * { animation: rvUp .85s var(--ez) var(--d, 0s) both; }
html.mo .plans.rv-on > * { animation-name: rvPop; }
[data-rvg] > :nth-child(2) { --d: .08s; } [data-rvg] > :nth-child(3) { --d: .16s; } [data-rvg] > :nth-child(4) { --d: .24s; }
[data-rvg] > :nth-child(5) { --d: .32s; } [data-rvg] > :nth-child(6) { --d: .4s; } [data-rvg] > :nth-child(7) { --d: .48s; }
[data-rvg] > :nth-child(8) { --d: .56s; } [data-rvg] > :nth-child(9) { --d: .64s; } [data-rvg] > :nth-child(n+10) { --d: .7s; }
.steps > :nth-child(2) { --d: .12s; } .steps > :nth-child(3) { --d: .24s; } .steps > :nth-child(4) { --d: .36s; } .steps > :nth-child(5) { --d: .48s; }

/* 진행 방식: 카드가 뜬 뒤 안의 그림이 차례로 그려짐 */
html.mo .steps .mk .pp { opacity: 0; }
html.mo .steps.rv-on .mk .pp { animation: rvPop .7s var(--ezb) calc(var(--d, 0s) + .25s) both; }
html.mo .steps.rv-on .mk-form i { transform-origin: left center; animation: barX .5s var(--ez) calc(var(--d, 0s) + .55s + var(--j, 0) * .09s) both; }
.mk-form i:nth-child(2) { --j: 1; } .mk-form i:nth-child(3) { --j: 2; }
html.mo .steps.rv-on .mk-form b { animation: popIn .55s var(--ezb) calc(var(--d, 0s) + .9s) both; }
html.mo .steps.rv-on .mk-cal .g { animation: wipe .6s var(--ez) calc(var(--d, 0s) + .5s) both; }
html.mo .steps.rv-on .mk-cal .g i.on { animation: popIn .5s var(--ezb) calc(var(--d, 0s) + 1s) both; }
html.mo .steps.rv-on .mk-slide .c i { transform-origin: center bottom; animation: barY .6s var(--ezb) calc(var(--d, 0s) + .55s + var(--j, 0) * .08s) both; }
.mk-slide .c i:nth-child(2) { --j: 1; } .mk-slide .c i:nth-child(3) { --j: 2; } .mk-slide .c i:nth-child(4) { --j: 3; }
html.mo .steps.rv-on .mk-rev em { animation: popIn .55s var(--ezb) calc(var(--d, 0s) + .7s) both; }
html.mo .steps.rv-on .mk-rev .bub { animation: riseIn .5s var(--ez) calc(var(--d, 0s) + .85s) both; }
html.mo .steps.rv-on .mk-file .pp b { animation: slideL .5s var(--ezb) calc(var(--d, 0s) + .7s) both; }

/* 첫 화면: 그림·계산기 순서대로 등장, 슬라이드는 날아와서 둥실 */
@keyframes blobIn { from { opacity: 0; scale: .3; } }
@keyframes slIn { from { opacity: 0; translate: var(--fx, 0) var(--fy, 40px); scale: .88; } }
@keyframes slFloat { from { translate: 0 0; } to { translate: 0 var(--fl, -8px); } }
html.mo .hero-vis { animation: rvUp 1s var(--ez) .35s both; }
html.mo .hero #calc { animation: rvUp .9s var(--ez) .75s both; }
html.mo .deck .b1 { animation: blobIn 1.2s var(--ezb) .45s both; }
html.mo .deck .b2 { animation: blobIn 1s var(--ezb) .8s both; }
html.mo .deck .s1 { --fx: -70px; --fy: 24px; --fl: -7px; animation: slIn .95s var(--ezb) .6s both, slFloat 4.6s ease-in-out 1.7s infinite alternate; }
html.mo .deck .s2 { --fx: 50px; --fy: 70px; --fl: -10px; animation: slIn .95s var(--ezb) .75s both, slFloat 5.2s ease-in-out 1.9s infinite alternate; }
html.mo .deck .s3 { --fx: 60px; --fy: -60px; --fl: 8px; animation: slIn .95s var(--ezb) .9s both, slFloat 5.8s ease-in-out 2.1s infinite alternate; }
html.mo .deck .sl-chart i { transform-origin: center bottom; animation: barY .7s var(--ezb) both; animation-delay: calc(1.25s + var(--j, 0) * .09s); }
.sl-chart i:nth-child(2) { --j: 1; } .sl-chart i:nth-child(3) { --j: 2; } .sl-chart i:nth-child(4) { --j: 3; }
html.mo .deck .sl-pie { animation: popIn .7s var(--ezb) 1.55s both; }
html.mo .deck .sl-cards i { animation: rvPop .6s var(--ezb) both; animation-delay: calc(1.35s + var(--j, 0) * .1s); }
.sl-cards i:nth-child(2) { --j: 1; } .sl-cards i:nth-child(3) { --j: 2; }
.hero-vis > * { transform: perspective(1100px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .6s var(--ez); }
.deck .b1 { translate: calc(var(--mx, 0) * -18px) calc(var(--my, 0) * -14px); transition: translate .6s var(--ez); }
/* '!'가 가끔 한 번씩 튐 */
@keyframes qaIdle { 0%, 88%, 100% { transform: none; } 92% { transform: scale(1.18) rotate(10deg); } 96% { transform: scale(.96) rotate(-5deg); } }
html.mo .qa .bang { animation: qaPop .5s cubic-bezier(.2,1.4,.4,1) forwards, qaBang .6s cubic-bezier(.3,1.6,.5,1) 1.95s, qaIdle 6s ease-in-out 4s infinite; animation-delay: calc(var(--i) * 70ms + var(--d, 0ms)), 1.95s, 4s; }

/* 헤더: 내릴 때 숨고 올릴 때 나타남 · 진행선 */
.hd { transition: border-color .2s, transform .4s var(--ez); }
html.mo .hd.hide { transform: translateY(-100%); }
html.mo .hd .btn.red { transition: transform .15s, background .15s, box-shadow .3s; }
html.mo .hd.hide .btn.red { box-shadow: none; }
@keyframes kb { from { scale: 1.07; } }
html.mo .show img.on { animation: kb 6s cubic-bezier(.25,.6,.3,1) both; }
html.mo .hd::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform-origin: left center; transform: scaleX(var(--sp, 0)); }

/* 누르는 느낌 · 버튼 빛 */
.btn:active { transform: scale(.97); }
.chipbtn { transition: background .15s, color .15s, transform .15s var(--ezb); }
.chipbtn:active { transform: scale(.93); }
.btn.red { position: relative; overflow: hidden; isolation: isolate; }
.btn.red::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-20deg); pointer-events: none; opacity: 0; }
@keyframes shine { from { left: -60%; opacity: 1; } to { left: 130%; opacity: 1; } }
@media (hover: hover) {
  .btn.red:hover::after { animation: shine .85s var(--ez); }
  .plan { transition: transform .4s var(--ez), box-shadow .4s var(--ez); }
  .plan:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(22,24,29,.10); }
  .step { transition: transform .4s var(--ez); }
  .step:hover { transform: translateY(-4px); }
}
/* 계산기 금액 바뀔 때 */
@keyframes bump { from { scale: 1.07; } }
.calc .price.bump { animation: bump .4s var(--ezb); transform-origin: right center; }

/* 자주 묻는 질문 · 크게 보기 */
@keyframes faqA { from { opacity: 0; translate: 0 -8px; } }
html.mo .faq details[open] .a { animation: faqA .45s var(--ez) both; }
@keyframes lbImg { from { opacity: 0; scale: .96; } }
html.mo .lb-pf:not([hidden]) { animation: rvFade .25s ease both; }
html.mo .lb-st img { animation: lbImg .45s var(--ez) both; }

@media (max-width: 720px) { :root { --rv: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .btn.red::after, .calc .price.bump { animation: none !important; }
  .hd, .plan, .step, .hero-vis > *, .deck .b1 { transition: none !important; }
}

/* 모바일 하단 계산기 바 */
.cbar { display: none; }
@media (max-width: 720px) {
  .hero #calc { display: none; }
  .hero { padding-bottom: 8px; }
  .cbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 0 10px calc(10px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
  .cbar-in { pointer-events: auto; background: var(--ink); color: #fff; border-radius: 20px; padding: 10px; display: grid; gap: 10px; box-shadow: 0 10px 30px rgba(22,24,29,.28); }
  .cbar-sel { display: grid; grid-template-columns: 1.55fr 1fr; gap: 8px; }
  .cbar select { width: 100%; min-width: 0; height: 44px; border: 0; border-radius: 12px; padding: 0 32px 0 14px; font: inherit; font-size: 16px; font-weight: 700; color: #fff; background: rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 15px; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; outline: none; }
  .cbar select:focus-visible { box-shadow: 0 0 0 2px var(--red) inset; }
  .cbar select option { color: var(--ink); background: #fff; }
  .cbar-sum { display: flex; align-items: center; gap: 12px; padding-left: 4px; }
  .cbar .price { margin-right: auto; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; transform-origin: left center; }
  .cbar .price small { font-size: 15px; font-weight: 600; margin-left: 2px; }
  .cbar .price em { font-style: normal; font-family: 'Pretendard Variable', sans-serif; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.45); margin-left: 8px; letter-spacing: 0; }
  .cbar .btn { height: 46px; padding: 0 22px; border-radius: 13px; }
  .has-cbar .ft { padding-bottom: calc(64px + 128px + env(safe-area-inset-bottom, 0px)); }
  @keyframes cbarIn { from { translate: 0 130%; } }
  html.mo .cbar-in { animation: cbarIn .7s var(--ezb) 1.1s both; }
}

/* 첫 화면 문구: 두 줄은 왼쪽 맞춤, 묶음은 가운데 */
.hero-txt { display: flex; justify-content: center; }
.hero h1.qa { text-align: left; }

/* 계산기 금액: 'VAT 별도'를 금액 왼쪽에 */
.calc-sum { display: flex; align-items: baseline; gap: 12px; text-align: left; }
.calc-vat { font-size: 15.5px; font-weight: 600; color: rgba(255,255,255,.5); white-space: nowrap; }

/* 날짜 고르기 (희망 마감일) */
.dpk { position: relative; }
.dpk-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; font: inherit; font-size: 17px; color: var(--faint); }
.dpk.has .dpk-btn { color: var(--ink); font-weight: 600; }
.dpk-btn .ic { font-size: 20px; color: var(--faint); transition: color .15s; }
.dpk.open .dpk-btn { background: #fff; box-shadow: 0 0 0 2px var(--red) inset; }
.dpk.open .dpk-btn .ic, .dpk.has .dpk-btn .ic { color: var(--red); }
.dpk-pop { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 100%; min-width: 300px; background: #fff; border-radius: 18px; padding: 14px 14px 12px; box-shadow: 0 2px 6px rgba(22,24,29,.06), 0 18px 44px rgba(22,24,29,.16); animation: dpkIn .22s cubic-bezier(.2,.8,.2,1); }
@keyframes dpkIn { from { opacity: 0; translate: 0 -6px; } }
.dpk-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dpk-hd b { font-size: 16.5px; font-weight: 800; }
.dpk-nav { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--gray); color: var(--ink2); display: grid; place-items: center; cursor: pointer; font-size: 15px; }
.dpk-nav:disabled { opacity: .35; cursor: default; }
.dpk-wd, .dpk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.dpk-wd span { font-size: 13px; font-weight: 600; color: var(--faint); padding: 6px 0; }
.dpk-grid button { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background .12s; }
.dpk-grid button:hover { background: var(--gray); }
.dpk .sun { color: var(--red); }
.dpk-grid button.now { box-shadow: inset 0 0 0 1.5px var(--line); }
.dpk-grid button.on { background: var(--red); color: #fff; box-shadow: none; }
.dpk-grid button:disabled { color: #CDD0D6; cursor: default; background: none; }
@media (max-width: 720px) { .dpk { max-width: none; } }

/* 작은 첨부 칸 (수정요청 · 관리자) */
.drop.sm { padding: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.drop.sm .ic { font-size: 20px; margin: 0; }
.drop.sm b { font-size: 15.5px; display: inline; }

/* 계산기 — 모바일은 상품 · 장수를 목록에서 고름 (의뢰하기 페이지) */
.calc-m { display: none; }
@media (max-width: 720px) {
  .calc .calc-p, .calc .calc-l { display: none; }
  .calc-m { display: grid; grid-template-columns: 1.55fr 1fr; gap: 8px; width: 100%; }
  .calc-m select { width: 100%; min-width: 0; height: 46px; border: 0; border-radius: 12px; padding: 0 32px 0 14px; font: inherit; font-size: 16px; font-weight: 700; color: #fff; background: rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 15px; -webkit-appearance: none; appearance: none; outline: none; }
  .calc-m select option { color: var(--ink); background: #fff; }
  .card .calc { gap: 16px; }
}

/* 헤더 — 로그인 · 내 의뢰 */
.hd-acc { font-weight: 600; font-size: 16px; color: var(--ink2); margin-right: -14px; white-space: nowrap; }
.hd-acc:hover { color: var(--red); }
.hd nav .nav-acc { display: none; }
@media (max-width: 720px) { .hd-acc { display: none; } .hd nav.open .nav-acc { display: block; } }

/* 로그인 */
.auth-page .wrap { display: flex; justify-content: center; }
.card.auth { width: 100%; max-width: 440px; margin-top: 24px; padding: 44px 36px 38px; text-align: center; }
.card.auth h1 { font-size: 28px; margin: 0 0 28px; }
.card.auth form { text-align: left; }
.auth-logo { display: block; width: 60px; height: 60px; margin: 0 auto 20px; }
.auth-g { width: 100%; gap: 12px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.auth-g:hover { background: var(--gray); }
.auth-g.ink { background: var(--ink); color: #fff; box-shadow: none; }
.auth-note { color: var(--sub); margin: 0; }
@media (max-width: 720px) { .card.auth { padding: 36px 22px 30px; margin-top: 8px; } }

/* 내 의뢰 */
.my-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.my-head h1 { margin: 0; }
.my-who { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--sub); font-size: 15.5px; flex-wrap: wrap; }
.my-who span { margin-right: 6px; }
.ord { background: #fff; border-radius: 22px; padding: 26px 28px; margin-bottom: 14px; box-shadow: 0 2px 6px rgba(22,24,29,.03); }
.ord-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ord-top b { font-size: 18px; font-weight: 800; }
.ord-top .no { color: var(--faint); font-size: 14.5px; font-weight: 600; }
.ord-st { margin-left: auto; font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: var(--red-soft); color: var(--red-d); }
.ord-st.done { background: #E6F5EC; color: #1E8A4C; }
.ord-st.cancel { background: var(--gray2); color: var(--sub); }
.ord-bar { height: 10px; border-radius: 99px; background: var(--gray2); overflow: hidden; margin: 22px 0 10px; }
.ord-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--red-xl), var(--red)); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.ord-steps { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--faint); }
.ord-steps .on { color: var(--ink); }
.ord-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; color: var(--sub); font-size: 15px; }
.ord-meta b { color: var(--ink); font-weight: 600; }
.my-empty { text-align: center; padding: 56px 24px; }
.my-empty h2 { margin: 0 0 20px; font-size: 22px; }
@media (max-width: 720px) { .my-who { margin-left: 0; width: 100%; } .my-who span { width: 100%; margin: 0 0 4px; } .ord { padding: 22px 20px; } }

/* 로그인 팝업 — 모바일은 아래에서 올라오는 시트 */
.lm { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; overflow-y: auto; background: rgba(14,15,19,.48); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: lmFade .2s ease both; }
.lm.out { animation: lmFadeOut .2s ease both; }
.lm-card { position: relative; margin: 0 !important; max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: 0 24px 64px rgba(14,15,19,.28); animation: lmPop .34s cubic-bezier(.2,.8,.2,1) both; }
.lm-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--gray); color: var(--ink2); display: grid; place-items: center; cursor: pointer; font-size: 15px; }
.lm-x:hover { background: var(--gray2); }
@keyframes lmFade { from { opacity: 0; } }
@keyframes lmFadeOut { to { opacity: 0; } }
@keyframes lmPop { from { opacity: 0; translate: 0 18px; scale: .97; } }
@keyframes lmSheet { from { translate: 0 100%; } }
@media (max-width: 720px) {
  .lm { place-items: end center; padding: 0; }
  .lm-card { max-width: none !important; border-radius: 24px 24px 0 0; max-height: 92vh; padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); animation-name: lmSheet; animation-duration: .38s; }
}
@media (prefers-reduced-motion: reduce) { .lm, .lm-card { animation: none !important; } }

/* 의뢰서: 그 외 작업은 장수 없이 별도 견적 */
.calc.is-other .calc-l { display: none; }
.calc.is-other .calc-m { grid-template-columns: 1fr; }
.calc.is-other .calc-m select[data-r="mpages"] { display: none; }
/* 알림 팝업 (긴급 디자인 안내) */
.al-card { width: 100%; max-width: 380px; text-align: center; padding: 34px 30px 28px; }
.al-card h3 { margin: 0 0 24px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.al-card .btn { width: 100%; }
.calc.is-other .calc-vat { display: none; }

/* 첫 화면: 피프티 회사소개 표지 — 오른쪽 작업물 카드가 비스듬한 평면 위로 흐름 */
.show.flow { background: #DE3229; --k: .25; }
.flow .fl-stage { position: absolute; inset: 0; }
.show.flow img { position: static; opacity: 1; width: auto; height: auto; transition: none; object-fit: fill; inset: auto; }
.show.flow .fl-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.show.flow .fl-top { position: absolute; left: 0; top: 0; width: 56.25%; height: 100%; }
.flow .fl-plane { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; transform: translate(calc(1000px * var(--k)), calc(-333.3px * var(--k))) matrix(.92, .345, -.483, .851, 0, 0); }
.flow .fl-col { position: absolute; left: calc(var(--x) * var(--k) * 1px); top: calc(-300px * var(--k)); width: calc(333.3px * var(--k)); }
.flow .fl-track { display: flow-root; animation: flflow var(--dur) linear infinite; animation-delay: var(--del); will-change: transform; }
.flow .fl-col[data-rev] .fl-track { animation-direction: reverse; }
.show.flow .fl-track img { display: block; width: calc(333.3px * var(--k)); height: calc(187.5px * var(--k)); margin-bottom: calc(23.3px * var(--k)); border-radius: calc(6px * var(--k)); box-shadow: 0 calc(12px * var(--k)) calc(26px * var(--k)) rgba(110, 14, 9, .32); }
@keyframes flflow { to { transform: translateY(-50%); } }
@media (hover: none), (pointer: coarse) { .hero-vis > * { transform: none; transition: none; } }
@media (prefers-reduced-motion: reduce) { .flow .fl-track { animation: none; } }

/* ── 모바일 · 태블릿 정리: 메뉴는 1000px 아래에서 접기(글자 줄바꿈 금지), 디자인 예시 탭은 같은 폭 칸 ── */
.hd nav a, .hd-acc { white-space: nowrap; }
@media (max-width: 1000px) {
  .hd nav { display: none; }
  .hd nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 20px 24px; gap: 16px; border-bottom: 1px solid var(--line); }
  .hd .menu-btn { display: grid; }
  .hd-acc { display: none; }
  .hd nav.open .nav-acc { display: block; }
}
@media (min-width: 721px) and (max-width: 1000px) {
  .hd .wrap > .btn { margin-left: auto; }
  .hd .wrap > .btn + .menu-btn { margin-left: 0; }
}
@media (max-width: 720px) {
  .tabs-pf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tabs-pf button { justify-content: center; padding: 0 6px; font-size: 15px; gap: 5px; }
  .tabs-pf button span { font-size: 13.5px; }
}
/* 제작비용 아래 안내: 2칸 · 가운데 정렬 */
.plans-extra { max-width: 820px; margin-left: auto; margin-right: auto; }

/* 계산기 합계: 'VAT 별도'는 금액 바로 왼쪽에 붙임 — 모바일만 'VAT 별도' 왼쪽 끝 · 금액 오른쪽 끝 */
@media (max-width: 720px) { .calc-r { width: 100%; } .calc-r .calc-sum { flex: 1; justify-content: space-between; } }

/* 요금 카드: 금액은 오른쪽 정렬, 'VAT 별도'는 금액 바로 왼쪽 */
.plan .prow { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; margin: 18px 0 22px; }
.plan .prow .pp { margin: 0; }
.plan .prow .vat { margin: 0; font-size: 15px; font-weight: 600; color: var(--faint); white-space: nowrap; }
/* 제작비용 아래 안내 4개: 같은 폭 칸 · 체크 · 굵기 맞춤 */
.plans-extra { max-width: none; padding: 0; background: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; }
.plans-extra li { background: #fff; border-radius: 16px; padding: 18px 20px; gap: 10px; align-items: center; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.plans-extra li::before { width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 1080px) { .plans-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .plans-extra { grid-template-columns: 1fr; gap: 0; background: #fff; border-radius: 18px; padding: 6px 18px; } .plans-extra li { background: none; border-radius: 0; padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--line); } .plans-extra li:last-child { border-bottom: 0; } }

/* 제작비용 하단: 한 줄 */
.plans-extra { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; background: #fff; border-radius: 18px; padding: 20px 36px; }
.plans-extra li { background: none; border-radius: 0; padding: 0; white-space: nowrap; }
@media (max-width: 1080px) { .plans-extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px 28px; } }
@media (max-width: 720px) { .plans-extra { grid-template-columns: 1fr; gap: 0; padding: 6px 18px; } .plans-extra li { padding: 14px 0; } }

/* 모바일 하단 바: 의뢰하기 → 화살표 버튼 */
.cbar .btn.cbar-go { flex: none; width: 56px; padding: 0; }
.cbar .btn.cbar-go .ic { font-size: 24px; }
/* 모바일 하단 바: VAT 별도는 금액 왼쪽 · 아래선 맞춤 */
.cbar .price em { margin: 0 8px 0 0; }

/* 평생 할인 (회원별 10% · 20%) */
.calc-amt { display: flex; align-items: baseline; gap: 12px; }
.calc-dc { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.calc-dc[hidden], .cbar-dc[hidden] { display: none; }
.calc-dc b { background: var(--red); color: #fff; border-radius: 99px; padding: 3px 10px; font-size: 13px; font-weight: 700; }
.calc-dc s { color: rgba(255,255,255,.45); }
.cbar-dc { flex: none; background: var(--red); color: #fff; border-radius: 99px; padding: 4px 9px; font-size: 13px; font-weight: 700; white-space: nowrap; margin-right: -4px; }
.pdc { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 16px 0 -10px; font-size: 14.5px; }
.pdc b { background: var(--red-soft); color: var(--red); border-radius: 99px; padding: 3px 10px; font-size: 13px; font-weight: 700; }
.pdc s { color: var(--faint); }
@media (max-width: 720px) { .calc-dc s { display: none; } }
.cbar-dc:not([hidden]) + .price { font-size: 24px; }
.cbar-sum .btn { flex: none; }
.cbar-in { grid-template-columns: minmax(0, 1fr); }
.cbar-sum { min-width: 0; }
/* 관리 — 회원 */
.mem-top { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; }
.mem-top span { color: var(--sub); }
.mem-top .in { margin-left: auto; max-width: 320px; height: 42px; background: #fff; }
.mem { display: grid; grid-template-columns: 1.1fr 2fr auto; align-items: center; gap: 16px; background: #fff; border-radius: 16px; padding: 16px 20px; margin-bottom: 8px; }
.mem-who b { display: block; font-size: 16px; }
.mem-who span, .mem-meta { color: var(--sub); font-size: 14.5px; }
.mem-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.seg { display: inline-flex; background: var(--gray); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { height: 34px; min-width: 56px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; font-size: 14.5px; color: var(--ink2); cursor: pointer; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(22,24,29,.12); }
.seg button.on:not([data-r="0"]) { background: var(--red); color: #fff; box-shadow: none; }
.seg.busy { opacity: .5; pointer-events: none; }
.mdc { color: var(--red); font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 20px; font-weight: 600; font-size: 15px; box-shadow: 0 12px 30px rgba(22,24,29,.25); display: flex; gap: 10px; align-items: center; }
.toast i { width: 20px; height: 20px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-style: normal; font-size: 12px; }
@media (max-width: 720px) { .mem { grid-template-columns: 1fr; gap: 10px; } .mem-top { flex-wrap: wrap; } .mem-top .in { max-width: none; margin-left: 0; width: 100%; } }
.mem-f button { min-width: 0; padding: 0 14px; }
.mem-f button.on, .mem-f button.on:not([data-r="0"]) { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(22,24,29,.12); }
.mem-f button b { font-weight: inherit; }
.qrb { display: inline-block; margin: 4px 0 0 6px; vertical-align: 1px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--red); background: var(--red-soft); border-radius: 99px; padding: 3px 9px; }
/* 관리 — QR */
.qr-new { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 4px 0 14px; }
.qr-new .in { height: 46px; background: #fff; width: 240px; }
.qr-new #qNo { width: 150px; }
.qr-new .btn { height: 46px; }
.qr-new #qTpl { margin-left: auto; }
.qrc { display: grid; grid-template-columns: 76px 1fr auto auto; align-items: center; gap: 18px; background: #fff; border-radius: 16px; padding: 14px 20px 14px 14px; margin-bottom: 8px; }
.qr-img svg { display: block; width: 76px; height: 76px; }
.qr-info b { display: block; font-size: 18px; letter-spacing: .02em; }
.qr-info span { display: block; color: var(--sub); font-size: 14.5px; }
.qr-info .qr-when { font-size: 13px; color: var(--faint); }
.qr-cnt { text-align: center; min-width: 56px; }
.qr-cnt b { display: block; font-size: 22px; line-height: 1.1; }
.qr-cnt span { color: var(--sub); font-size: 13px; }
.qr-dl { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) { .qr-new .in, .qr-new #qNo { width: 100%; } .qr-new .btn { flex: 1; } .qr-new .btn.line { margin-left: 0; } .qrc { grid-template-columns: 64px 1fr auto; } .qr-img svg { width: 64px; height: 64px; } .qr-dl { grid-column: 1 / -1; justify-content: stretch; } .qr-dl .btn { flex: 1; } }
.qr-del { width: 40px; padding: 0; color: var(--sub); }
.qr-del:hover { color: var(--red); }
@media (max-width: 720px) { .qr-dl .qr-del { flex: none; width: 46px; } }
/* 관리 — 삭제 · 취소 */
.rq-del { width: 38px; height: 38px; padding: 0; color: var(--sub); }
.rq-del:hover { color: var(--red); }
.rq.is-cancel > *:not(.top) { opacity: .45; }
.rq.is-cancel .top b { opacity: .45; text-decoration: line-through; }

/* 모바일 · 터치 기기: 스크롤 깜빡임 방지 — 헤더 블러 · 숨김 · 진행선 끔, 고정 바 · 흐르는 로고는 별도 층 */
@media (hover: none), (max-width: 720px) {
  .hd { background: rgba(255,255,255,.97); -webkit-backdrop-filter: none; backdrop-filter: none; transition: border-color .2s; }
  html.mo .hd.hide { transform: none; }
  html.mo .hd::after { display: none; }
  .cbar { transform: translateZ(0); }
}
.cl-track { will-change: transform; }

/* 첫 화면 제목: 등장이 끝나면 글자를 고정 (애니메이션 층을 없애 스크롤 중 글자 사라짐 방지), 느낌표 반복은 마우스 기기만 */
.qa.qa-end b, .qa.qa-end .roll i { animation: none; opacity: 1; transform: none; }
html .qa.qa-end .bang { animation: none; opacity: 1; transform: none; }
.qa.qa-end .roll i:first-child { display: none; }
.qa.qa-end .roll i + i { position: static; }
@media (hover: hover) and (pointer: fine) { html.mo .qa.qa-end .bang { animation: qaIdle 6s ease-in-out 1.5s infinite; } }
/* 흐르는 작업물: 화면 밖이면 멈춤 */
.flow.paused .fl-track { animation-play-state: paused; }
.show.flow { contain: paint; }
