/* 다내요 — 사장님페이 톤의 블루 팔레트 + 모션 */
:root {
  --primary: #2f6bff;
  --primary-d: #1f55e0;
  --primary-50: #eef4ff;
  --primary-100: #dce8ff;
  --navy: #0b1f5c;
  --navy-2: #12308a;
  --ink: #191f28;
  --sub: #4e5968;
  --muted: #8b95a1;
  --line: #e5e8eb;
  --line-2: #f2f4f6;
  --bg: #fff;
  --bg-soft: #f4f6f9;
  --red: #f04452;
  --orange: #ff8a00;
  --green: #12b886;
  --yellow: #ffd43b;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 8px 24px rgba(17, 34, 85, 0.08);
  --shadow-lg: 0 18px 40px rgba(17, 34, 85, 0.16);
  --header-h: 58px;
  --nav-h: 66px;
  --app-max: 480px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #eef1f6;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
body.is-locked { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: none; background: none; cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.c-blue { color: var(--primary); }
.ico { flex-shrink: 0; }

/* ================================================================ 레이아웃 */
.app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--app-max);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(17, 34, 85, 0.04), 0 24px 64px rgba(17, 34, 85, 0.1);
}
.main { flex: 1; outline: none; }
.view-in { animation: viewIn 0.42s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } }
.pc-side { display: none; }
.pad { padding: 16px 18px 28px; }

/* ================================================================ 헤더 */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--header-h);
  padding: 0 14px 0 18px;
  background: #fff;
  border-bottom: 1px solid var(--line-2);
}
.logo { display: inline-flex; align-items: center; line-height: 1; }
.logo-word { font-size: 1.36rem; font-weight: 900; letter-spacing: -0.06em; color: #111; }
.logo-bolt { width: 15px; height: 22px; margin: 0 1px 0 2px; flex-shrink: 0; overflow: visible; animation: zap 5s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes zap { 0%, 84%, 100% { transform: none; } 88% { transform: translateY(-1px) rotate(-8deg) scale(1.14); } 92% { transform: rotate(4deg); } }
.header-actions { display: flex; gap: 2px; }
.icon-btn, .header-ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #333d4b; transition: background 0.2s;
}
.icon-btn:hover, .header-ico:hover { background: var(--bg-soft); }
.header--user .header__name { flex: 1; font-size: 1.05rem; }
.header--user .header__name b { font-weight: 800; }
.header-link { font-size: 0.88rem; color: var(--sub); padding: 8px 4px; }
.header--back { justify-content: flex-start; padding-left: 8px; }
.header-back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.header-back:hover { background: var(--bg-soft); }
.header__title { flex: 1; font-size: 1.08rem; font-weight: 800; }

/* ================================================================ 하단 도크 */
.dock {
  position: sticky;
  bottom: 0;
  z-index: 45;
  padding: 0 12px 10px;
  pointer-events: none;
}
.bottom-nav {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: var(--nav-h);
  padding: 6px 4px 8px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(17, 34, 85, 0.14), 0 0 0 1px rgba(17, 34, 85, 0.04);
}
.bottom-nav__item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 0.7rem; font-weight: 600; color: #b0b8c1; border-radius: 16px;
  transition: color 0.2s;
}
.bottom-nav__item svg { transition: transform 0.3s var(--ease); }
.bottom-nav__item.is-active { color: var(--primary); }
.bottom-nav__item.is-active svg { transform: translateY(-2px) scale(1.08); }
.bottom-nav__item.is-active::after {
  content: ""; position: absolute; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--primary);
  animation: pop 0.4s var(--ease);
}
.fab {
  pointer-events: auto;
  position: absolute;
  right: 22px;
  bottom: calc(var(--nav-h) + 24px);
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #4d86ff, var(--primary-d));
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.45);
  animation: bob 3s ease-in-out infinite;
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(47, 107, 255, 0.55); animation: ripple 2.4s ease-out infinite; pointer-events: none; }
.app[data-fab="off"] .fab { display: none; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.9; } 75%, 100% { transform: scale(1.55); opacity: 0; } }
@keyframes pop { from { transform: scale(0); } }

/* ================================================================ 등장 애니메이션 */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0ms); }
.rv.go { opacity: 1; transform: none; }

/* ================================================================ LIVE 보드 */
@font-face { font-family: "DSEG7"; src: url("../fonts/DSEG7Classic-Bold.woff2") format("woff2"); font-display: swap; }
.live {
  position: relative;
  overflow: hidden;
  margin: 12px 16px 0;
  padding: 11px 12px 13px;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(118deg, transparent 0 60%, rgba(255, 70, 140, 0.32) 60% 64%, transparent 64% 70%, rgba(255, 70, 140, 0.18) 70% 72%, transparent 72%),
    linear-gradient(118deg, transparent 0 8%, rgba(120, 190, 255, 0.22) 8% 12%, transparent 12%),
    linear-gradient(135deg, #0a2a9e 0%, #1f55e6 48%, #0b1f86 100%);
  box-shadow: 0 10px 24px rgba(17, 50, 170, 0.25);
}
.live::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: translateX(-120%);
  animation: liveSheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes liveSheen { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
.live__head { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 9px; }
.live__time { padding: 3px 11px; border-radius: 999px; background: rgba(4, 12, 50, 0.38); font-size: 0.68rem; font-weight: 600; letter-spacing: -0.01em; }
.live__badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: #ff2d55; font-weight: 900; font-size: 0.6rem; letter-spacing: 0.08em; }
.live__badge i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: dotBlink 1.2s ease-in-out infinite; }
@keyframes dotBlink { 50% { opacity: 0.2; } }
.live__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; }
.live__cell { display: flex; flex-direction: column; align-items: center; padding: 0 6px; }
.live__cell + .live__cell { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.live__label { font-size: 0.78rem; font-weight: 800; margin-bottom: 7px; letter-spacing: -0.02em; white-space: nowrap; }
.live__label b { color: #6ff0ff; }
.live__label b.is-coral { color: #ff8aa5; }
.led {
  position: relative;
  display: inline-block;
  padding: 7px 10px 6px;
  border-radius: 10px;
  background: linear-gradient(180deg, #050a26, #0a1240);
  font-family: "DSEG7", ui-monospace, monospace;
  font-size: 1.32rem;
  line-height: 1;
  font-weight: 700;
  border: 1.5px solid currentColor;
  white-space: nowrap;
}
.led__ghost { position: absolute; left: 10px; top: 7px; opacity: 0.1; }
.led__val { position: relative; }
.led__unit { position: relative; margin-left: 5px; font-family: var(--font); font-size: 0.62em; font-weight: 900; vertical-align: 0.12em; letter-spacing: -0.02em; }
.led--cyan { color: #43eeff; text-shadow: 0 0 8px rgba(67, 238, 255, 0.85); box-shadow: 0 0 14px rgba(43, 217, 255, 0.45), inset 0 0 14px rgba(43, 217, 255, 0.18); }
.led--coral { color: #ff4766; text-shadow: 0 0 8px rgba(255, 71, 102, 0.85); box-shadow: 0 0 14px rgba(255, 59, 92, 0.45), inset 0 0 14px rgba(255, 59, 92, 0.18); }
.live__cap { margin-top: 7px; font-size: 0.66rem; opacity: 0.82; white-space: nowrap; }
.live__cap b { color: #ff8aa5; font-weight: 800; }

/* ================================================================ 배너 캐러셀 */
.hero { padding: 12px 16px 6px; }
.hero__track { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); isolation: isolate; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.6s ease, transform 0.9s var(--ease); pointer-events: none; will-change: opacity, transform; }
.hero__slide.is-active { opacity: 1; transform: none; pointer-events: auto; z-index: 1; }
.hero__slide video { width: 100%; height: 100%; object-fit: cover; }
.hero__bar { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; position: relative; }
.hero__dots { display: flex; gap: 6px; }
.hero-dot { width: 7px; height: 7px; border-radius: 999px; background: #d1d6db; overflow: hidden; transition: width 0.35s var(--ease); position: relative; }
.hero-dot i { position: absolute; inset: 0; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active { width: 30px; }
.hero-dot.is-active i { animation: dotFill var(--ms, 5s) linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero__count { position: absolute; right: 2px; font-size: 0.72rem; color: var(--muted); }
.hero__count b { color: var(--ink); }

/* ================================================================ 공지 */
.notice { display: flex; align-items: center; gap: 10px; margin: 8px 16px 14px; padding: 11px 12px; background: var(--bg-soft); border-radius: 14px; }
.notice-tag { flex-shrink: 0; padding: 3px 9px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 800; }
.notice-body { flex: 1; min-width: 0; position: relative; height: 1.4em; overflow: hidden; }
.notice-text { position: absolute; inset: 0; font-size: 0.82rem; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(100%); transition: opacity 0.4s, transform 0.4s var(--ease); }
.notice-text.is-active { opacity: 1; transform: none; }
.notice-more { color: var(--muted); display: grid; }

/* ================================================================ 카테고리 */
.categories { padding: 2px 16px 22px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 4px 11px; border-radius: 16px;
  background: linear-gradient(180deg, #eef4ff, #e3ecff);
  font-size: 0.78rem; font-weight: 700; color: #333d4b;
  transition: transform 0.25s var(--ease);
}
.cat-item:hover, .cat-item:focus-visible { transform: translateY(-3px); }
.cat-item:hover .cat-icon { animation: jelly 0.6s var(--ease); }
.cat-item:active { transform: scale(0.96); }
.cat-icon, .doc-item__head img { width: 52px; height: 52px; object-fit: cover; border-radius: 15px; background: #fff; box-shadow: 0 4px 10px rgba(47, 107, 255, 0.16); }
.cat-icon { margin: 2px 0 4px; }
@keyframes jelly { 30% { transform: scale(1.14, 0.88); } 50% { transform: scale(0.92, 1.1); } 70% { transform: scale(1.05, 0.96); } 100% { transform: none; } }

/* ================================================================ 인터뷰 */
.stories { padding: 0 16px 24px; }
.story-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.story-visual { aspect-ratio: 16 / 9; background: #0b1f5c url("../vid/interview.jpg") center / cover; }
.story-visual video { width: 100%; height: 100%; object-fit: cover; }
.qbar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--primary); color: #fff; }
.qbar__badge { flex-shrink: 0; padding: 2px 8px; border-radius: 7px; background: #fff; color: var(--primary); font-size: 0.74rem; font-weight: 900; }
.qbar__q { flex: 1; min-width: 0; font-size: 0.84rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qbar__q.is-in { animation: slideIn 0.45s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(14px); } }
.qbar__pager { display: flex; align-items: center; gap: 2px; flex-shrink: 0; font-size: 0.74rem; }
.qbar__count { margin-right: 4px; opacity: 0.9; font-variant-numeric: tabular-nums; }
.qbar__btn { width: 26px; height: 26px; border-radius: 7px; color: #fff; font-size: 1.05rem; line-height: 1; }
.qbar__btn:hover { background: rgba(255, 255, 255, 0.18); }

/* ================================================================ 프로모션 */
.promo { position: relative; padding: 0 0 28px; }
.promo__track { display: flex; gap: 12px; padding: 4px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.promo__track::-webkit-scrollbar { display: none; }
.promo-card {
  position: relative; flex: 0 0 82%; scroll-snap-align: center; min-height: 168px; padding: 18px; border-radius: 20px; overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.promo-card:active { transform: scale(0.98); }
.promo-card h3 { position: relative; z-index: 1; font-size: 1.2rem; font-weight: 900; line-height: 1.32; letter-spacing: -0.03em; margin: 10px 0 6px; }
.promo-card p { position: relative; z-index: 1; font-size: 0.78rem; opacity: 0.8; }
.promo-card__tag { position: relative; z-index: 1; display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; background: rgba(255, 255, 255, 0.7); }
.promo-card img { position: absolute; right: -24px; bottom: -28px; width: 150px; border-radius: 18px; transform: rotate(-8deg); animation: float 4s ease-in-out infinite; }
.promo-card__ico { position: absolute; right: 18px; bottom: 16px; width: 82px; height: 82px; display: grid; place-items: center; border-radius: 24px; background: rgba(255, 255, 255, 0.55); animation: float 4s ease-in-out infinite; }
.promo-card--green { background: linear-gradient(140deg, #e3f9ee, #c4f0da); color: #0a5b3c; }
.promo-card--yellow { background: linear-gradient(140deg, #fff6d6, #ffe59a); color: #6b4a00; }
.promo-card--blue { background: linear-gradient(140deg, #e4edff, #c8d9ff); color: #12308a; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.promo__nav { display: flex; gap: 6px; padding: 8px 16px 0; }
.round-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--sub); font-size: 1.1rem; line-height: 1; }
.round-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ================================================================ 결제 흐름 · 보안 */
.process { padding: 10px 16px 30px; text-align: center; }
.section-title { font-size: 1.42rem; font-weight: 900; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 8px; }
.section-desc { font-size: 0.88rem; color: var(--sub); margin-bottom: 22px; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; margin-bottom: 26px; }
.process-card {
  position: relative; padding: 30px 12px 16px; border-radius: var(--radius); background: var(--primary-50); text-align: center;
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.process-card.on { background: #fff; box-shadow: 0 0 0 2px var(--primary), 0 14px 28px rgba(47, 107, 255, 0.18); transform: translateY(-4px); }
.process-num { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.76rem; font-weight: 900; box-shadow: 0 6px 14px rgba(47, 107, 255, 0.35); transition: transform 0.4s var(--ease); }
.process-card.on .process-num { transform: translateX(-50%) scale(1.15); }
.process-card h3 { font-size: 0.98rem; font-weight: 800; margin-bottom: 6px; }
.process-card p { font-size: 0.76rem; color: var(--sub); line-height: 1.45; }
.sec-list { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.sec-item { display: flex; gap: 12px; align-items: flex-start; padding: 15px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease); }
.sec-item:hover { border-color: var(--primary-100); box-shadow: var(--shadow); transform: translateX(3px); }
.sec-icon { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--primary-50); color: var(--primary); }
.sec-item h3 { font-size: 0.94rem; font-weight: 800; margin-bottom: 3px; }
.sec-item p { font-size: 0.8rem; color: var(--sub); line-height: 1.45; }

/* ================================================================ 상담 */
.support { padding: 26px 20px 34px; text-align: center; background: linear-gradient(180deg, #f5f8ff, #fff); }
.support-visual { position: relative; margin: 0 0 22px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.support-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; animation: kb 14s ease-in-out infinite alternate; will-change: transform; }
@keyframes kb { from { transform: scale(1.12) translate(2%, 1%); } to { transform: scale(1); } }
.chat-demo { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.bubble { max-width: 82%; padding: 9px 12px; border-radius: 16px; font-size: 0.8rem; line-height: 1.45; text-align: left; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
.bubble--me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.bubble--bot { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.chat-demo .bubble { opacity: 0; transform: translateY(10px) scale(0.95); }
.chat-demo.is-play .bubble--me { animation: bubbleIn 0.5s var(--ease) 0.3s forwards; }
.chat-demo.is-play .bubble--bot { animation: bubbleIn 0.5s var(--ease) 1.1s forwards; }
.chat-demo .bubble__txt { display: none; }
.chat-demo.is-play .typing { animation: hideAfter 0s 2.6s forwards; }
.chat-demo.is-play .bubble__txt { animation: showAfter 0s 2.6s forwards; }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }
@keyframes hideAfter { to { display: none; } }
@keyframes showAfter { to { display: inline; } }
.typing { display: inline-flex; gap: 4px; padding: 3px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b0b8c1; animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.support-title { font-size: 1.28rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.45; margin-bottom: 22px; }
.support-title em { font-style: normal; color: var(--primary); }
.support-list { display: inline-flex; flex-direction: column; gap: 12px; margin-bottom: 22px; text-align: left; }
.support-list li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; }
.support-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; color: #fff; }
.support-dot--bot { background: linear-gradient(145deg, #6aa0ff, var(--primary)); }
.support-dot--kakao { background: #fee500; color: #3c1e1e; }
.support-dot--call { background: linear-gradient(145deg, #34d399, #0ea371); }

/* ================================================================ 후기 */
.reviews { padding: 8px 0 30px; text-align: center; overflow: hidden; }
.reviews .section-desc { margin-bottom: 16px; }
.marquee { overflow: hidden; padding: 4px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 10px; width: max-content; animation: marq 36s linear infinite; will-change: transform; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 42s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee + .marquee { margin-top: 8px; }
.review-card { width: 250px; flex-shrink: 0; text-align: left; padding: 15px 16px; border-radius: var(--radius); background: var(--bg-soft); }
.review-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-name { font-weight: 800; font-size: 0.88rem; }
.stars { color: #ffb400; font-size: 0.78rem; letter-spacing: 1px; }
.review-card p { font-size: 0.82rem; color: var(--sub); line-height: 1.55; }

/* ================================================================ 앱 CTA */
.app-cta { padding: 4px 18px 34px; text-align: center; }
.store-btns { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.store-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 12px; background: #191f28; color: #fff; font-size: 0.82rem; font-weight: 700; }
.store-btn small { font-size: 0.62rem; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.16); font-weight: 600; }

/* ================================================================ 푸터 */
.api-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10000; overflow: hidden; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.api-progress.is-on { opacity: 1; }
.api-progress::before { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; border-radius: 3px; background: linear-gradient(90deg, #2f6bff, #00a8ff); animation: apiProgress 1.1s ease-in-out infinite; }
@keyframes apiProgress { from { left: -40%; } to { left: 100%; } }
.seo-intro { padding: 28px 20px; color: var(--sub); font-size: 0.86rem; line-height: 1.7; }
.seo-intro h1 { font-size: 1.15rem; color: var(--ink); margin-bottom: 10px; }
.seo-intro h2 { font-size: 0.95rem; color: var(--ink); margin: 16px 0 4px; }
.seo-intro nav { margin: 16px 0; }
.seo-intro a { color: var(--primary); }
.footer { padding: 30px 20px 30px; background: #fbfbfb; border-top: 1px solid #eef0f3; color: #868f9b; font-size: 0.74rem; line-height: 1.6; letter-spacing: -0.02em; }
.footer-brand { margin-bottom: 8px; }
.footer-brand .logo-word { font-size: 1.12rem; }
.footer-brand .logo-bolt { width: 12px; height: 18px; animation: none; }
.f-row { display: flex; flex-wrap: wrap; margin-left: -9px; }
.f-row li { position: relative; padding: 0 9px; margin-top: 6px; word-break: keep-all; }
.f-row li:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 4px; width: 1px; height: 10px; background: #d3d3d3; }
.f-row--contact li::after { display: none; }
.f-ico { display: inline-flex; align-items: center; gap: 5px; }
.f-ico .ico { color: #a5acb6; }
.f-check { margin-left: 4px; padding: 1px 6px; border: 1px solid #d3d7dd; border-radius: 4px; color: #6b7684; font-size: 0.66rem; background: #fff; }
.f-menu { display: flex; flex-wrap: wrap; margin: 20px 0 0 -9px; }
.f-menu a { position: relative; padding: 0 9px; margin-top: 6px; color: #6b7684; }
.f-menu a:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 4px; width: 1px; height: 10px; background: #d3d3d3; }
.f-menu a.is-strong { color: var(--ink); font-weight: 800; }
.f-copy { margin-top: 20px; font-size: 0.7rem; color: #a5acb6; }

/* ================================================================ 버튼 · 입력 */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 0 18px; border-radius: 14px; font-weight: 800; font-size: 0.94rem; white-space: nowrap;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s, opacity 0.2s; overflow: hidden;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(47, 107, 255, 0.25); }
.btn--primary:hover { background: var(--primary-d); }
.btn--line { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn--line:hover { background: var(--primary-50); }
.btn--sub { background: var(--bg-soft); color: #333d4b; min-height: 48px; font-weight: 700; font-size: 0.86rem; flex-shrink: 0; }
.btn--sub:hover { background: #e8ebef; }
.btn--warn { background: var(--orange); color: #fff; }
.btn--ghost { color: var(--muted); font-weight: 600; font-size: 0.86rem; }
.btn--sm { min-height: 34px; padding: 0 12px; border-radius: 10px; font-size: 0.8rem; }
.btn--xl { width: 100%; min-height: 56px; border-radius: 16px; font-size: 1.04rem; }
.btn--wide { width: 100%; margin-top: 10px; }
.btn--shine::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); animation: shine 3.4s ease-in-out infinite; }
@keyframes shine { 0%, 55% { transform: translateX(-160%); } 85%, 100% { transform: translateX(320%); } }
.btn.is-loading { color: transparent; }
.btn.is-loading::before { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #b0b8c1; border-top-color: var(--primary); animation: spin 0.7s linear infinite; }
.link-btn { color: var(--primary); font-size: 0.82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; padding: 2px; }
.link-btn--red { color: var(--red); text-decoration: none; }
.link { color: var(--sub); font-size: 0.84rem; }
.link--strong { color: var(--primary); font-weight: 800; }
.btn-row { display: flex; gap: 8px; margin-top: 14px; }
.btn-row .btn { flex: 1; }
.btn-row--sticky { margin-top: 16px; }
.btn-row--sticky .btn--primary:not(.is-ready) { background: #94b2ff; box-shadow: none; }

.field { margin-bottom: 14px; }
.field-label { display: block; font-size: 0.88rem; font-weight: 700; color: #333d4b; margin-bottom: 7px; }
.field-label em { font-style: normal; color: var(--primary); font-weight: 700; }
.field-label span { color: var(--muted); font-weight: 500; font-size: 0.8rem; }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font-size: 0.96rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none;
}
select.input { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238b95a1' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 34px; }
textarea.input { resize: vertical; min-height: 84px; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12); }
.input::placeholder { color: #b0b8c1; }
.input[readonly] { background: var(--bg-soft); }
.input--sm { min-height: 36px; padding: 6px 30px 6px 10px; font-size: 0.8rem; border-radius: 10px; }
.input--money { font-weight: 800; font-size: 1.05rem; }
.input--card { letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.input-row { display: flex; gap: 8px; }
.input-row + .input-row { margin-top: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.field-msg { margin-top: 7px; font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.field-msg.is-ok { color: var(--green); font-weight: 700; }
.field-msg.is-error { color: var(--red); font-weight: 600; }
.field-msg.is-warn { color: var(--orange); font-weight: 600; }
.field-help { margin-top: 6px; font-size: 0.76rem; color: var(--muted); }
.field-help--r { text-align: right; }
.field.is-error .input { border-color: var(--red); }
.field.is-verified .input { border-color: var(--green); background: #f3fcf8; }
.shake { animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #d1d6db; border-top-color: var(--primary); animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-tag { padding: 1px 6px; border-radius: 6px; background: #fff4d6; color: #8a5a00; font-weight: 800; font-size: 0.74rem; }

.chk { display: flex; align-items: flex-start; gap: 9px; font-size: 0.86rem; color: #333d4b; cursor: pointer; padding: 6px 0; }
.chk input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #d1d6db; background: #fff; margin-top: 0; transition: background 0.2s, border-color 0.2s; display: grid; place-items: center; cursor: pointer; }
.chk input::after { content: ""; width: 10px; height: 6px; border-left: 2.2px solid #fff; border-bottom: 2.2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.2s var(--ease); }
.chk input:checked { background: var(--primary); border-color: var(--primary); }
.chk input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.chk--inline { display: inline-flex; align-items: center; }
.chk--all { font-weight: 800; font-size: 0.94rem; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); margin-bottom: 4px; }
.chk--strong { font-weight: 800; }
.chk-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 0 14px; }
.consents { margin-bottom: 8px; }
.consent-body { font-size: 0.86rem; color: var(--sub); line-height: 1.75; }

.chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 8px; background: var(--primary-50); color: var(--primary); font-size: 0.74rem; font-weight: 800; }
.chip--sm { font-size: 0.68rem; padding: 2px 7px; }
.chip--btn { padding: 8px 12px; border-radius: 999px; font-size: 0.8rem; background: #fff; box-shadow: inset 0 0 0 1px var(--primary-100); }
.chip--btn:hover { background: var(--primary-50); }
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 7px; font-size: 0.7rem; font-weight: 800; white-space: nowrap; }
.badge--blue { background: var(--primary-50); color: var(--primary); }
.badge--green { background: #e3f9ee; color: #0a8a5c; }
.badge--orange { background: #fff1e0; color: #d46b00; }
.badge--red { background: #ffe9eb; color: #d92b3a; }
.badge--gray { background: var(--bg-soft); color: var(--muted); }
.badge--navy { background: var(--navy); color: #fff; }

.hint { font-size: 0.78rem; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.hint a { color: var(--primary); text-decoration: underline; }
.hint--box { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); color: var(--sub); margin: 0 0 14px; }
.hint--box .ico { color: var(--primary); margin-top: 1px; }
.note { font-size: 0.8rem; line-height: 1.6; padding: 11px 13px; border-radius: 12px; margin-top: 10px; }
.note--yellow { background: #fff8db; color: #6b5300; }

.empty { margin-top: 16px; padding: 46px 20px; border: 1.5px dashed #dfe3e8; border-radius: 20px; text-align: center; }
.empty__ico { display: inline-block; font-size: 2.2rem; margin-bottom: 10px; animation: float 3s ease-in-out infinite; }
.empty__t { font-size: 1rem; color: #333d4b; font-weight: 600; }
.empty__d { font-size: 0.84rem; color: var(--muted); margin-top: 6px; }
.empty .btn { margin-top: 16px; }

/* ================================================================ 탭 · 리스트 */
.tabs { position: sticky; top: var(--header-h); z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-bottom: 1px solid var(--line); }
.tabs__item { position: relative; text-align: center; padding: 14px 0 13px; font-size: 0.92rem; color: var(--sub); font-weight: 600; }
.tabs__item.is-active { color: var(--primary); font-weight: 800; }
.tabs__item.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; background: var(--primary); animation: tabLine 0.35s var(--ease); }
@keyframes tabLine { from { transform: scaleX(0); } }
.c-list, .p-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.c-card { border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: box-shadow 0.25s, transform 0.25s var(--ease); }
.c-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.c-card__link { display: block; padding: 15px 16px 10px; }
.c-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.c-card__title { font-size: 1rem; font-weight: 800; }
.c-card__meta { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.c-card__amt { font-size: 1.16rem; font-weight: 900; margin-top: 6px; letter-spacing: -0.02em; }
.c-card__foot { display: flex; align-items: center; gap: 8px; padding: 10px 16px 12px; border-top: 1px solid var(--line-2); }
.c-card__date { flex: 1; font-size: 0.74rem; color: var(--muted); }
.p-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 14px 15px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: background 0.2s; }
.p-row:hover { background: var(--bg-soft); }
.p-row__l { flex: 1; min-width: 0; }
.p-row__t { font-weight: 800; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-row__m { font-size: 0.74rem; color: var(--muted); margin-top: 3px; }
.p-row__r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.p-row__amt { font-weight: 900; font-size: 0.96rem; }
.range { display: flex; flex-direction: column; gap: 6px; }
.range__sep { color: var(--muted); padding-left: 4px; }
.count-line { margin-top: 6px; font-weight: 700; font-size: 0.92rem; }
.count-line b { color: var(--primary); }
.card-list { display: flex; flex-direction: column; gap: 12px; }
.mini-card__face { position: relative; aspect-ratio: 1.75; padding: 18px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #2f6bff, #0b1f5c); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.mini-card__face::after { content: ""; position: absolute; top: -40%; right: -20%; width: 70%; height: 140%; background: rgba(255, 255, 255, 0.08); transform: rotate(25deg); }
.mini-card__brand { font-weight: 900; letter-spacing: 0.04em; }
.mini-card__num { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
.mini-card__meta { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px 0; font-size: 0.78rem; color: var(--muted); }

/* ================================================================ 계약 등록 폼 */
.form-page { padding: 14px 18px 30px; }
.info-banner { padding: 15px 16px; border-radius: 16px; background: linear-gradient(135deg, #e8f0ff, #f3f7ff); margin-bottom: 14px; position: relative; overflow: hidden; }
.info-banner::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(47, 107, 255, 0.1); animation: blob 8s ease-in-out infinite alternate; }
@keyframes blob { to { transform: translate(-20px, 20px) scale(1.2); } }
.info-banner__t { display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink); font-size: 0.94rem; position: relative; z-index: 1; }
.info-banner__t .ico { color: var(--primary); }
.info-banner__d { font-size: 0.8rem; color: var(--sub); margin-top: 4px; position: relative; z-index: 1; }
.type-tabs { display: flex; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--primary); border-bottom: none; border-radius: 12px 12px 0 0; background: #f3f5f8; }
.type-tabs::-webkit-scrollbar { display: none; }
.type-tab { flex-shrink: 0; padding: 12px 14px; font-size: 0.86rem; color: var(--sub); font-weight: 600; position: relative; transition: color 0.2s, background 0.2s; }
.type-tab.is-active { color: var(--ink); font-weight: 900; background: #fff; }
.type-tab.is-active::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--primary); }
.type-docs { padding: 12px 14px 14px; border: 1px solid var(--primary); border-radius: 0 0 12px 12px; margin-bottom: 20px; }
.type-docs.is-pop { animation: docsPop 0.4s var(--ease); }
@keyframes docsPop { from { opacity: 0.3; transform: translateY(-4px); } }
.type-docs__n { font-size: 0.8rem; color: var(--sub); margin-bottom: 6px; }
.type-docs__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.doc-chip { padding: 5px 10px; border-radius: 8px; background: var(--primary-100); color: var(--primary-d); font-size: 0.8rem; font-weight: 700; }
.type-docs__note { font-size: 0.78rem; color: var(--sub); margin-top: 8px; }
.type-docs__note b { color: #b07a00; margin-right: 4px; }
.form-sec { font-size: 1.06rem; font-weight: 900; margin: 6px 0 14px; letter-spacing: -0.02em; }
.form-hr { border: none; height: 1px; background: var(--line); margin: 18px 0 18px; }
.sample-box { margin: -4px 0 16px; padding: 12px; border-radius: 14px; background: #fffaeb; border: 1px dashed #f1c75b; font-size: 0.78rem; color: #6b5300; }
.sample-box p { margin-bottom: 8px; }
.sample-acc { display: block; width: 100%; text-align: left; padding: 7px 10px; margin-top: 4px; border-radius: 9px; background: #fff; font-size: 0.78rem; color: #333d4b; }
.sample-acc:hover { background: #fff3c4; }
.kg-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 11px 12px; border-radius: 12px; background: #f4f6fb; border: 1px solid #e3e8f2; font-size: 0.78rem; line-height: 1.55; color: var(--sub); }
.kg-note .ico { flex-shrink: 0; margin-top: 1px; color: #8b95a1; }
.kg-note b { color: var(--ink); }
.kg-note__st { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 6px; background: #fff1e0; color: #c25e00; font-weight: 800; font-size: 0.72rem; }
.kg-note.is-live { background: #effaf4; border-color: #d3f0e1; }
.kg-note.is-live .ico { color: var(--green); }
.slot { border: 1.5px dashed #d1d6db; border-radius: 14px; padding: 11px 12px; margin-bottom: 8px; transition: border-color 0.25s, background 0.25s; }
.slot.is-done { border-style: solid; border-color: #9fe3c5; background: #f3fcf8; }
.slot__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.slot__name { display: flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 700; }
.slot__name em { font-style: normal; color: var(--primary); font-weight: 600; font-size: 0.76rem; }
.slot.is-done .slot__name .ico { color: var(--green); }
.slot__files { margin-top: 6px; }
.slot__files li { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--sub); padding: 3px 0; }
.slot__files span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot__files small { color: var(--muted); }
.slot__files .link-btn { color: var(--muted); display: grid; }
[data-slots].is-error .slot { border-color: var(--red); }
.note-list { margin: 8px 0 4px; font-size: 0.76rem; color: var(--muted); line-height: 1.7; }
.note-list li::before { content: "· "; }
.summary { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--bg-soft); }
.summary__t { font-weight: 900; margin-bottom: 8px; }
.summary__left { margin-top: 10px; font-size: 0.8rem; font-weight: 700; color: var(--primary); }
.form-error { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #ffe9eb; color: #d92b3a; font-size: 0.84rem; font-weight: 600; }

.dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; font-size: 0.88rem; }
.dl dt { color: var(--muted); }
.dl dd { text-align: right; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
.dl--sm { font-size: 0.82rem; gap: 7px 12px; }
.dl__strong { color: var(--primary); font-weight: 900 !important; font-size: 1.05em; }

/* ================================================================ 계약 상세 */
.detail > * + * { margin-top: 12px; }
.status-card { padding: 18px 16px; border-radius: 20px; background: linear-gradient(150deg, #f2f6ff, #fff); border: 1px solid var(--primary-100); }
.status-card--approved { background: linear-gradient(150deg, #ebfbf3, #fff); border-color: #c4f0da; }
.status-card--supplement { background: linear-gradient(150deg, #fff6eb, #fff); border-color: #ffe0b8; }
.status-card--rejected { background: linear-gradient(150deg, #fff0f1, #fff); border-color: #ffd0d5; }
.status-card__t { font-size: 1.18rem; font-weight: 900; }
.status-card__no { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.status-card__msg { font-size: 0.86rem; color: var(--sub); margin: 10px 0 14px; }
.stepper { display: flex; justify-content: space-between; position: relative; }
.stepper::before { content: ""; position: absolute; left: 16px; right: 16px; top: 13px; height: 2px; background: var(--line); }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.stepper__dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-size: 0.74rem; font-weight: 800; position: relative; z-index: 1; }
.stepper li.is-done .stepper__dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.stepper li.is-done { color: var(--ink); }
.stepper li.is-cur .stepper__dot { border-color: var(--primary); color: var(--primary); }
.stepper li.is-cur .stepper__dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(47, 107, 255, 0.5); animation: ripple 1.8s ease-out infinite; }
.stepper li.is-cur { color: var(--primary); font-weight: 800; }
.pay-progress { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.pay-progress__t { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.9rem; margin-bottom: 12px; }
.reason { padding: 14px; border-radius: 14px; font-size: 0.86rem; }
.reason__t { font-weight: 900; margin-bottom: 4px; }
.reason--warn { background: #fff1e0; color: #8a4b00; }
.reason--red { background: #ffe9eb; color: #a01f2c; }
.resubmit { padding: 14px; border-radius: 16px; border: 1px solid var(--line); }
.resubmit .input { margin: 6px 0 0; }
.info-card { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.info-card + .info-card { margin-top: 12px; }
.info-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.info-card__head .info-card__t { margin: 0; }
.info-card__t { font-size: 1rem; font-weight: 900; margin-bottom: 12px; }
.sub-title { font-size: 0.92rem; font-weight: 900; margin: 16px 0 10px; }
.info-card .sub-title:first-child { margin-top: 0; }
.file-list li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 0.84rem; flex-wrap: wrap; }
.file-list li .ico { color: var(--primary); }
.file-list__n { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list small { width: 100%; padding-left: 24px; color: var(--muted); font-size: 0.74rem; }
.timeline { position: relative; padding-left: 18px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 12px; }
.timeline__dot { position: absolute; left: -18px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2.5px solid var(--primary); }
.timeline li:first-child .timeline__dot { background: var(--primary); }
.timeline__t { font-size: 0.86rem; font-weight: 800; }
.timeline__memo { font-weight: 500; color: var(--sub); }
.timeline__m { font-size: 0.74rem; color: var(--muted); }

/* ================================================================ 결제 시트 */
.pay-sum { padding: 16px; border-radius: 18px; background: linear-gradient(140deg, #0b1f5c, #2f6bff); color: #fff; margin-bottom: 16px; }
.pay-sum__to { font-size: 0.82rem; opacity: 0.85; }
.pay-sum__total { font-size: 1.8rem; font-weight: 900; letter-spacing: -0.03em; margin: 2px 0 10px; }
.pay-sum .dl dt { color: rgba(255, 255, 255, 0.7); }
.card-preview { position: relative; aspect-ratio: 1.7; max-width: 300px; margin: 0 auto 16px; padding: 18px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #3d4b63, #191f28); display: grid; grid-template-rows: 1fr auto auto; box-shadow: var(--shadow-lg); transition: background 0.5s, transform 0.5s var(--ease); overflow: hidden; }
.card-preview::before { content: ""; position: absolute; left: 18px; top: 46px; width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #f8d77b, #d5a640); }
.card-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.16) 45%, transparent 60%); animation: shine 4s ease-in-out infinite; }
.card-preview.is-typing { background: linear-gradient(135deg, #2f6bff, #0b1f5c); transform: rotate(-1.5deg); }
.card-preview__brand { justify-self: end; font-weight: 900; letter-spacing: 0.05em; }
.card-preview__num { font-size: 1.12rem; font-weight: 700; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
.card-preview__exp { font-size: 0.8rem; opacity: 0.8; margin-top: 4px; }
.confirm-text { margin: 10px 0 4px; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); font-size: 0.8rem; line-height: 1.75; color: var(--sub); }
.confirm-text b { color: var(--ink); }
.pay-sheet .btn--xl { margin-top: 6px; }
.pay-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: -4px 0 16px; text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--sub); }
.pay-flow li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px; border-radius: 12px; background: var(--primary-50); }
.pay-flow b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.72rem; }

/* ================================================================ 시트 · 토스트 */
.layer { position: relative; z-index: 100; }
.sheet-wrap { position: fixed; inset: 0; z-index: 100; }
.sheet-dim { position: absolute; inset: 0; background: rgba(10, 18, 40, 0.5); opacity: 0; transition: opacity 0.28s; }
.sheet {
  position: absolute; bottom: 0; max-height: 88dvh; display: flex; flex-direction: column;
  background: #fff; border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform 0.32s var(--ease);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}
.sheet-wrap.is-on .sheet-dim { opacity: 1; }
.sheet-wrap.is-on .sheet { transform: none; }
.sheet-wrap--center .sheet { bottom: auto; top: 50%; border-radius: 22px; transform: translateY(-40%) scale(0.95); opacity: 0; transition: transform 0.28s var(--ease), opacity 0.2s; }
.sheet-wrap--center.is-on .sheet { transform: translateY(-50%); opacity: 1; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 8px; }
.sheet__head h2 { font-size: 1.12rem; font-weight: 900; }
.sheet__x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); }
.sheet__body { padding: 6px 18px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.sheet__msg { font-size: 0.92rem; color: var(--sub); line-height: 1.65; text-align: center; padding: 6px 0 4px; }
.sheet__msg b { color: var(--ink); }
.toast {
  position: fixed; bottom: calc(var(--nav-h) + 30px); z-index: 120; display: flex; justify-content: center; padding: 0 20px; pointer-events: none;
  opacity: 0; transform: translateY(16px); transition: opacity 0.25s, transform 0.3s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }
.toast span { padding: 12px 18px; border-radius: 14px; background: rgba(25, 31, 40, 0.92); color: #fff; font-size: 0.86rem; font-weight: 600; text-align: center; line-height: 1.5; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.toast--error span { background: rgba(217, 43, 58, 0.95); }
.done { text-align: center; padding: 6px 0; }
.done__ico { font-size: 2.6rem; display: inline-block; animation: pop 0.5s var(--ease); }
.done__t { font-size: 1.1rem; font-weight: 900; margin-top: 6px; }
.done__d { font-size: 0.86rem; color: var(--sub); margin: 6px 0 8px; }

/* ================================================================ 로그인 · 회원 */
.auth { padding: 20px 20px 30px; }
.auth__hero { position: relative; padding: 18px 0 24px; }
.auth__eyebrow { color: var(--primary); font-weight: 800; font-size: 0.92rem; }
.auth__title { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.3; margin-top: 4px; }
.auth__float { position: absolute; right: 4px; top: 8px; width: 120px; height: 100px; }
.float-card { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: #fff; box-shadow: 0 10px 20px rgba(47, 107, 255, 0.3); animation: float 3.6s ease-in-out infinite; }
.float-card--a { left: 0; top: 30px; background: var(--primary); }
.float-card--b { left: 52px; top: 0; background: #5b8cff; animation-delay: 0.6s; }
.float-card--c { left: 66px; top: 54px; background: var(--green); animation-delay: 1.2s; }
.auth__lead { font-size: 0.94rem; color: var(--sub); margin-bottom: 18px; line-height: 1.6; }
.auth__row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; color: var(--muted); font-size: 0.8rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sns { display: grid; gap: 8px; }
.sns__btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; border-radius: 14px; font-weight: 800; font-size: 0.96rem; transition: filter 0.2s; }
.sns__btn:hover { filter: brightness(0.97); }
.sns__btn--kakao { background: #fee500; color: #191919; }
.auth__foot { text-align: center; margin-top: 22px; font-size: 0.86rem; color: var(--sub); }
.mini-steps { display: flex; gap: 6px; margin-bottom: 20px; }
.mini-steps li { flex: 1; padding: 8px 0; text-align: center; font-size: 0.76rem; font-weight: 700; color: var(--muted); border-bottom: 3px solid var(--line); transition: color 0.3s, border-color 0.3s; }
.mini-steps li.is-cur { color: var(--primary); border-color: var(--primary); }
.mini-steps li.is-done { color: var(--ink); border-color: #9fbaff; }
.me-card { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); margin-bottom: 16px; }
.me-card__name { font-size: 1.08rem; font-weight: 900; }
.me-card__grade { font-size: 0.78rem; color: var(--muted); }
.me-card--guest { background: linear-gradient(135deg, var(--primary), #5b8cff); color: #fff; }
.me-card--guest .me-card__grade { color: rgba(255, 255, 255, 0.85); }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-list a, .menu-list button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 17px 4px; font-size: 0.96rem; font-weight: 600; color: #333d4b; text-align: left; transition: padding 0.2s, color 0.2s; }
.menu-list a:hover, .menu-list button:hover { padding-left: 10px; color: var(--primary); }
.menu-list .ico { color: #c4cad1; }
.menu-list--sm { margin-top: 18px; }
.menu-list--sm a, .menu-list--sm button { font-size: 0.88rem; color: var(--sub); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 6px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-size: 0.84rem; font-weight: 800; transition: transform 0.25s var(--ease); }
.tile:hover { transform: translateY(-3px); }
.tile__ico { font-size: 1.5rem; }
.tile b { color: var(--primary); font-size: 0.8rem; }
.coupon-list { display: flex; flex-direction: column; gap: 10px; }
.coupon { display: flex; border-radius: 16px; overflow: hidden; border: 1px solid var(--primary-100); }
.coupon__l { flex: 1; padding: 16px; }
.coupon__t { font-weight: 900; }
.coupon__d { font-size: 0.8rem; color: var(--sub); }
.coupon__m { font-size: 0.74rem; color: var(--muted); margin-top: 6px; }
.coupon__r { display: grid; place-items: center; width: 82px; background: var(--primary); color: #fff; font-weight: 800; font-size: 0.8rem; border-left: 2px dashed rgba(255, 255, 255, 0.6); }
.coupon.is-used { opacity: 0.5; }
.point-hero { padding: 26px; border-radius: 20px; background: linear-gradient(135deg, #ffd43b, #ffb400); color: #5a3d00; text-align: center; }
.point-hero__n { display: inline; font-size: 2.2rem; font-weight: 900; }
.consent-list { display: flex; flex-direction: column; gap: 12px; }
.consent-list__m { font-size: 0.8rem; color: var(--muted); }
.consent-list__ok { display: flex; align-items: center; gap: 4px; font-size: 0.84rem; font-weight: 700; margin-top: 8px; }
.sub-list { display: flex; flex-direction: column; gap: 10px; }
.sub-item { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); flex-wrap: wrap; }
.sub-item__l { flex: 1; min-width: 140px; }
.sub-item__t { font-weight: 800; font-size: 0.92rem; }
.sub-item__m { font-size: 0.78rem; color: var(--muted); }
.sub-item__r { display: flex; gap: 6px; align-items: center; }

/* ================================================================ 이용안내 · FAQ · 서류 */
.guide-hero { position: relative; overflow: hidden; padding: 26px 20px 30px; background: linear-gradient(135deg, var(--primary), #5b8cff); color: #fff; }
.guide-hero__t { font-size: 1.36rem; font-weight: 900; letter-spacing: -0.03em; }
.guide-hero__d { font-size: 0.86rem; opacity: 0.9; margin-top: 4px; }
.guide-hero__orb { position: absolute; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); animation: blob 7s ease-in-out infinite alternate; }
.guide-steps { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; margin-top: -10px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.guide-step { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); transition: border-color 0.25s, box-shadow 0.25s; }
.guide-step:hover { border-color: var(--primary-100); box-shadow: 0 8px 18px rgba(47, 107, 255, 0.1); }
.guide-step__n { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; font-size: 0.86rem; }
.guide-step.go .guide-step__n { animation: pop 0.5s var(--ease) calc(var(--d, 0ms) + 0.2s) both; }
.guide-step__b { flex: 1; }
.guide-step__b h3 { font-size: 0.94rem; font-weight: 800; }
.guide-step__b p { font-size: 0.76rem; color: var(--sub); margin-top: 2px; line-height: 1.45; }
.guide-step__i { color: #b0bfdc; }
.guide-cta { margin: 14px 0 6px; }
.block-title { font-size: 1.1rem; font-weight: 900; margin: 26px 0 12px; }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-cat { border-radius: 14px; background: var(--bg-soft); overflow: hidden; }
.faq-cat > summary { display: flex; align-items: center; gap: 8px; padding: 15px 16px; font-weight: 800; font-size: 0.9rem; cursor: pointer; list-style: none; }
.faq-cat > summary::-webkit-details-marker, .faq-q > summary::-webkit-details-marker { display: none; }
.faq-cat > summary span:first-child { flex: 1; }
.faq-cat__n { font-size: 0.74rem; color: var(--primary); }
.faq-cat__plus { position: relative; width: 12px; height: 12px; }
.faq-cat__plus::before, .faq-cat__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--sub); border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq-cat__plus::after { transform: rotate(90deg); }
.faq-cat[open] .faq-cat__plus::after { transform: rotate(0); }
.faq-cat__body { padding: 0 10px 10px; animation: viewIn 0.35s var(--ease); }
.faq-q { background: #fff; border-radius: 12px; margin-top: 6px; }
.faq-q > summary { padding: 13px 14px; font-size: 0.86rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; gap: 6px; }
.faq-q > summary b { color: var(--primary); }
.faq-a { padding: 0 14px 14px; font-size: 0.84rem; color: var(--sub); line-height: 1.65; animation: viewIn 0.3s var(--ease); }
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item a { display: block; padding: 14px; border-radius: 16px; border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s; }
.doc-item a:hover { border-color: var(--primary); box-shadow: 0 8px 18px rgba(47, 107, 255, 0.12); }
.doc-item__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.doc-item__head img { width: 36px; height: 36px; }
.doc-item__head h3 { flex: 1; font-size: 1rem; font-weight: 900; }
.doc-item__head .ico { color: #c4cad1; }
.doc-item__n { font-weight: 900; color: var(--primary); font-size: 0.86rem; }
.notice-list li { border-bottom: 1px solid var(--line); }
.notice-list a { display: block; padding: 16px 2px; }
.notice-list p { font-weight: 700; margin: 6px 0 2px; }
.notice-list small { color: var(--muted); }
.article h1 { font-size: 1.2rem; font-weight: 900; margin-top: 8px; }
.article__date { color: var(--muted); font-size: 0.8rem; margin: 4px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.article__body { font-size: 0.92rem; line-height: 1.75; color: #333d4b; min-height: 140px; }
.company-hero { padding: 34px 22px 30px; background: radial-gradient(260px 160px at 90% 10%, rgba(91, 140, 255, 0.5), transparent), linear-gradient(150deg, #0b1f5c, #1a3fb0); color: #fff; }
.company-hero__e { font-size: 0.74rem; letter-spacing: 0.2em; opacity: 0.7; }
.company-hero h1 { font-size: 1.6rem; font-weight: 900; line-height: 1.35; margin: 8px 0 12px; letter-spacing: -0.03em; }
.company-hero h1 em { font-style: normal; color: var(--yellow); }
.company-hero p { font-size: 0.88rem; opacity: 0.85; line-height: 1.65; }
.values { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.values li { padding: 16px; border-radius: 16px; background: var(--bg-soft); }
.values span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--primary); margin-bottom: 8px; }
.values h3 { font-weight: 900; font-size: 0.98rem; }
.values p { font-size: 0.82rem; color: var(--sub); }
.policy__ver { font-size: 0.78rem; color: var(--muted); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.policy__sec { padding: 12px 0; }
.policy__sec h3 { font-size: 0.94rem; font-weight: 900; margin-bottom: 6px; }
.policy__sec p { font-size: 0.86rem; color: var(--sub); line-height: 1.7; margin-bottom: 4px; }

/* 상담 시트 */
.chat-log { display: flex; flex-direction: column; gap: 8px; max-height: 36dvh; overflow-y: auto; padding: 12px; border-radius: 16px; background: #f1f4fa; margin-bottom: 12px; }
.chat-log .bubble { animation: bubbleIn 0.35s var(--ease) both; opacity: 0; transform: translateY(8px); box-shadow: none; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.support-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.support-ch__btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 14px; background: var(--bg-soft); font-weight: 800; font-size: 0.86rem; text-align: center; }
.support-ch__btn small { font-weight: 500; font-size: 0.7rem; color: var(--muted); }
.support-ch__btn--kakao { background: #fee500; color: #3c1e1e; }
.support-ch__btn--kakao small { color: #6b5a00; }
.callback { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ================================================================ PC 좌측 패널 */
.pc-hero { border-radius: 22px; overflow: hidden; margin-bottom: 14px; box-shadow: 0 10px 30px rgba(17, 34, 85, 0.14); background: var(--navy); }
.pc-interview { aspect-ratio: 16 / 9; background: var(--navy) url("../vid/interview.jpg") center / cover; }
.pc-interview video { width: 100%; height: 100%; object-fit: cover; }
.pc-hero .qbar { padding: 14px 18px; }
.pc-hero .qbar__q { font-size: 0.94rem; }
.pc-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: start; }
.pc-col { display: flex; flex-direction: column; gap: 10px; }
.pc-card { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--navy); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.pc-card img { width: 100%; height: 100%; object-fit: cover; }
.pc-card--tall { aspect-ratio: 185 / 276; }
.pc-card--sq { aspect-ratio: 1; }
.pc-card--mid { aspect-ratio: 185 / 200; }
.pc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 60, 0.62) 0%, transparent 50%, rgba(8, 20, 60, 0.2) 100%); pointer-events: none; }
.pc-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: 3; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: translateX(-160%); pointer-events: none; }
.pc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(17, 34, 85, 0.22); }
.pc-card:hover::before { animation: shine 1.2s ease forwards; }
.pc-card__text { position: absolute; left: 12px; top: 12px; right: 12px; z-index: 2; color: #fff; font-size: 0.84rem; font-weight: 800; line-height: 1.4; letter-spacing: -0.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
.pc-card__text em { display: block; margin-top: 6px; font-style: normal; color: var(--yellow); font-size: 0.72rem; }
.kb img { animation: kbA 16s ease-in-out infinite alternate; will-change: transform; backface-visibility: hidden; }
.kb--b img { animation-name: kbB; animation-duration: 18s; }
.kb--c img { animation-name: kbC; animation-duration: 14s; }
@keyframes kbA { from { transform: scale(1.18) translate(3%, 2%); } to { transform: scale(1.02) translate(-2%, -1%); } }
@keyframes kbB { from { transform: scale(1.02) translate(-3%, 0); } to { transform: scale(1.16) translate(3%, -2%); } }
@keyframes kbC { from { transform: scale(1.12) translate(0, 3%); } to { transform: scale(1.02) translate(0, -2%); } }
.coin { position: absolute; z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff1b0, #f5b400 60%, #c88a00); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); animation: coin 3.2s ease-in-out infinite; }
.coin::after { content: "₩"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.72rem; font-weight: 900; color: #8a5a00; }
.coin--1 { right: 14%; bottom: 18%; }
.coin--2 { right: 34%; bottom: 8%; animation-delay: 0.8s; width: 20px; height: 20px; }
.coin--3 { right: 8%; bottom: 40%; animation-delay: 1.6s; width: 18px; height: 18px; }
@keyframes coin { 0% { transform: translateY(20px) scale(0.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-60px) rotateY(360deg) scale(1); opacity: 0; } }

/* ================================================================ 반응형 */
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --app-max: 520px; }
}

@media (min-width: 1024px) {
  :root { --app-max: 440px; }
  body { background: radial-gradient(900px 500px at 20% 0%, rgba(47, 107, 255, 0.1), transparent 60%), #eef1f6; }
  .page-shell { display: flex; justify-content: center; align-items: flex-start; gap: 28px; padding: 0 24px; }
  .pc-side {
    display: block; position: sticky; top: 0; flex: 0 1 600px; min-width: 360px;
    height: 100dvh; overflow-y: auto; padding: 20px 4px 40px; scrollbar-width: none;
  }
  .pc-side::-webkit-scrollbar { display: none; }
  .app { flex: 0 0 var(--app-max); margin: 0; }
}

@media (min-width: 1280px) {
  :root { --app-max: 480px; }
  .page-shell { gap: 40px; }
}

@media (max-width: 360px) {
  .led { font-size: 1.08rem; padding: 6px 8px 5px; }
  .led__ghost { left: 8px; top: 6px; }
  .live__label { font-size: 0.72rem; }
  .grid2 { grid-template-columns: 1fr; }
  .cat-item { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
}
