/* SNSAgent 회사 화면 v5 (서비스 소개 · 상품 고르기 · 가입 · 로그인) — doc/START/10_디자인방향.md v5
   설계사의 신청 페이지(가온금융서비스 예시)와 달리, 이것은 '우리 회사'의 얼굴이다.
   짙은 남색(잉크) 면 + 흰 면, 강조색은 기업 파랑 하나(어두운 면 위에서는 밝은 파랑). 숫자는 부풀리지 않고, 예시는 예시라고 쓴다.
   base.css 다음에 읽는다. */

:root {
  --ink-950: #070D1C;
  --ink-900: #0A1226;
  --ink-800: #111C36;
  --ink-700: #1A2747;
  --line-dark: rgba(255, 255, 255, .10);
  --line-dark-2: rgba(255, 255, 255, .16);
  --text-dark-2: #A9B6D3;       /* 어두운 면 위 보조 글자 (대비 7.9:1) */
  --accent-on-dark: #8DB0FF;    /* 어두운 면 위 강조 */
  --ok: #0F7A5C;
  --ok-bg: #E7F5EF;
  --shadow-card: 0 1px 2px rgba(10, 18, 38, .04), 0 8px 24px rgba(10, 18, 38, .06);
  --shadow-float: 0 24px 64px rgba(4, 10, 26, .45);
}

/* ---------- 머리 ---------- */
.sa-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(17, 24, 39, .07); }
.sa-header .in { max-width: 1240px; margin: 0 auto; padding: 0 28px; height: 72px; display: flex; align-items: center; gap: 22px; }
.sa-nav { display: flex; gap: 0; margin-right: auto; }
.sa-nav a { white-space: nowrap; padding: 10px 11px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sa-nav a:hover { background: var(--stone-2); }
.sa-nav a[aria-current="page"] { color: var(--brand); }
.sa-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sa-actions .btn { min-height: 46px; padding: 0 18px; font-size: .95rem; }
.sa-actions .tel { font-weight: 700; color: var(--ink); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.sa-header.dark { background: var(--ink-900); border-bottom-color: var(--line-dark); color: #fff; }
.sa-header.dark .sa-nav a, .sa-header.dark .tel { color: #DCE4F5; }
.sa-header.dark .sa-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.sa-header.dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.sa-header.dark .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.sa-header.dark .sa-logo small { color: var(--text-dark-2); }
@media (max-width: 1180px) { .sa-actions .tel { display: none; } }
@media (max-width: 1080px) { .sa-nav { display: none; } .sa-header .in { gap: 16px; justify-content: space-between; } }
@media (max-width: 560px) {
  .sa-header .in { padding: 0 16px; height: 64px; }
  .sa-actions .tel, .sa-actions .hide-sm { display: none; }
  .sa-logo small { display: none; }
}

/* ---------- 틀 ---------- */
.sx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 560px) { .sx-wrap { padding: 0 20px; } }
.sx-section { padding: 120px 0; }
.sx-section.tight { padding: 88px 0; }
.sx-section.gray { background: var(--ivory); }
.on-ink { background: var(--ink-900); color: #fff; }
.on-ink .muted, .on-ink .sx-lead { color: var(--text-dark-2); }
@media (max-width: 767px) { .sx-section { padding: 80px 0; } .sx-section.tight { padding: 64px 0; } }

.sx-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--brand); margin: 0 0 18px; }
.on-ink .sx-kicker { color: var(--accent-on-dark); }
.sx-h1 { font-size: clamp(2.3rem, 1.3rem + 3.3vw, 3.75rem); line-height: 1.16; letter-spacing: -0.045em; font-weight: 700; margin: 0 0 24px; }
.sx-h2 { font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.7rem); line-height: 1.24; letter-spacing: -0.04em; font-weight: 700; margin: 0 0 18px; }
.sx-h3 { font-size: 1.22rem; line-height: 1.42; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 8px; }
.sx-lead { font-size: 1.12rem; color: var(--slate); line-height: 1.75; margin: 0; max-width: 40em; }
.sx-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.sx-head .sx-h2 { margin: 0; }
@media (max-width: 900px) { .sx-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; } }
.accent { color: var(--brand); }
.on-ink .accent { color: var(--accent-on-dark); }

/* 버튼 (어두운 면) */
.btn-white { background: #fff; color: var(--ink-900); border-color: #fff; }
.btn-white:hover { background: #E9EEF9; border-color: #E9EEF9; }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-line-light:hover { background: rgba(255, 255, 255, .08); }
.btn .ph { font-size: 1.15em; }

/* ---------- 첫 화면 ---------- */
.sx-hero { position: relative; overflow: hidden; background: var(--ink-900); color: #fff; padding: 96px 0 112px; }
.sx-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 75% 70% at 70% 30%, #000 30%, transparent 75%);
}
.sx-hero::after { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -320px; background: radial-gradient(circle, rgba(47, 107, 255, .32), transparent 62%); pointer-events: none; }
.sx-hero .sx-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.sx-hero .sx-kicker { color: var(--accent-on-dark); }
.sx-hero .sx-lead { color: var(--text-dark-2); font-size: 1.16rem; margin-bottom: 36px; }
.sx-hero .btn-row .btn { min-height: 60px; padding: 0 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--text-dark-2); font-size: .95rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { color: var(--accent-on-dark); font-size: 1.15rem; }
@media (max-width: 1000px) { .sx-hero .sx-wrap { grid-template-columns: 1fr; gap: 48px; } .sx-hero { padding: 64px 0 80px; } }

/* 실시간 문의 기록 (예시 화면) */
.feed { position: relative; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border: 1px solid var(--line-dark-2); box-shadow: var(--shadow-float); padding: 22px; backdrop-filter: blur(6px); }
.feed-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.feed-head b { font-size: 1rem; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: #7EE2B8; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .18); }
.feed ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feed li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .055); border: 1px solid var(--line-dark); }
.feed li.is-new { background: rgba(47, 107, 255, .16); border-color: rgba(141, 176, 255, .45); }
.feed .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 1.2rem; color: #fff; }
.feed .who { font-weight: 700; font-size: .98rem; }
.feed .route { display: block; font-size: .84rem; color: var(--text-dark-2); margin-top: 2px; }
.feed .route b { color: #fff; font-weight: 600; }
.feed .t { font-size: .8rem; color: var(--text-dark-2); white-space: nowrap; }
.feed-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: .84rem; color: var(--text-dark-2); }
.feed-foot b { color: #fff; }
.feed-note { position: absolute; top: -12px; left: 22px; padding: 3px 10px; border-radius: var(--radius-xs); background: var(--ink-700); border: 1px solid var(--line-dark-2); font-size: .74rem; font-weight: 700; color: var(--text-dark-2); }
@media (prefers-reduced-motion: no-preference) {
  .feed li.is-new { animation: feed-in .6s cubic-bezier(.2, .8, .2, 1); }
  @keyframes feed-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}

/* ---------- 비교 표 ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: var(--hair); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.compare th, .compare td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: var(--hair); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .9rem; color: var(--slate); background: var(--ivory-2); font-weight: 700; }
.compare thead th.us { color: #fff; background: var(--brand-deep); }
.compare tbody th { font-weight: 700; width: 24%; }
.compare td.us { background: #F5F8FF; font-weight: 600; color: var(--ink); }
.compare td .ph { margin-right: 6px; vertical-align: -2px; }
.compare td .ph-x-circle { color: #9AA3B2; }
.compare td .ph-check-circle { color: var(--brand); }
@media (max-width: 760px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: var(--hair); }
  .compare tbody th { padding-bottom: 6px; border: 0; }
  .compare td { border: 0; padding-top: 6px; padding-bottom: 6px; }
  .compare td::before { content: attr(data-l); display: block; font-size: .78rem; font-weight: 700; color: var(--slate); }
  .compare td.us { margin-bottom: 14px; border-radius: var(--radius-sm); }
}

/* ---------- 하는 일 (세 가지) ---------- */
.parts { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.part { position: relative; display: flex; flex-direction: column; padding: 32px; background: var(--paper); border: var(--hair); border-radius: 16px; box-shadow: var(--shadow-card); }
.part .no { font-size: .85rem; font-weight: 700; color: var(--brand); margin-bottom: 14px; }
.part .lv { list-style: none; margin: 22px 0 0; padding: 0; border-top: var(--hair); }
.part .lv li { display: grid; grid-template-columns: 4.2em 1fr; gap: 10px; padding: 12px 0; border-bottom: var(--hair); font-size: .95rem; }
.part .lv li b { color: var(--slate); font-weight: 700; font-size: .86rem; }
.part .visual { margin: 0 0 24px; border-radius: 12px; overflow: hidden; background: var(--ivory); aspect-ratio: 16 / 10; position: relative; }
@media (max-width: 1000px) { .parts { grid-template-columns: 1fr; } }

/* 광고 견본 (사진 위 글자는 화면에서) */
.adm { container-type: inline-size; position: relative; overflow: hidden; border-radius: 12px; background: var(--brand-deep); }
.adm img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm .t { position: absolute; left: 7cqw; right: 7cqw; top: 8cqw; color: var(--brand-deep); }
.adm .t span { display: block; font-size: 3.8cqw; font-weight: 700; color: var(--brand); margin-bottom: 2cqw; }
.adm .t b { display: block; font-size: 7.4cqw; font-weight: 700; letter-spacing: -0.04em; line-height: 1.24; }
.adm .f { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 3.2cqw 7cqw; background: var(--brand-deep); color: #fff; font-size: 3.2cqw; font-weight: 700; }
.adm .f small { font-weight: 500; color: var(--on-dark); font-size: 2.6cqw; }
.ad-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; height: 100%; }
.ad-stack .adm { height: 100%; min-height: 0; }

/* 신청 페이지 견본 (휴대폰) */
.phone-mock { position: absolute; left: 50%; bottom: -14%; transform: translateX(-50%); width: 46%; aspect-ratio: 9 / 18; border-radius: 22px; background: #fff; border: 6px solid var(--ink-900); box-shadow: 0 18px 40px rgba(10, 18, 38, .22); overflow: hidden; }
.phone-mock .top { height: 30%; background: url("img/planner-portrait.jpg") 50% 22% / cover; }
.phone-mock .body { padding: 8% 9%; display: grid; gap: 6px; }
.phone-mock i { display: block; height: 6px; border-radius: 3px; background: var(--stone); }
.phone-mock i.s { width: 60%; }
.phone-mock i.in { height: 16px; border-radius: 4px; background: #fff; border: 1px solid var(--stone); }
.phone-mock i.b { height: 18px; border-radius: 4px; background: var(--brand); margin-top: 4px; }

/* 결과 보고 견본 */
.dash-mock { position: absolute; inset: 14px; border-radius: 10px; background: #fff; border: var(--hair); padding: 14px; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; font-size: .72rem; }
.dash-mock .kp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dash-mock .kp span { padding: 8px; border-radius: 6px; background: var(--ivory); color: var(--slate); }
.dash-mock .kp b { display: block; font-size: .95rem; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.dash-mock .row { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; align-items: center; color: var(--slate); }
.dash-mock .row i { display: block; height: 7px; border-radius: 4px; background: var(--brand); }
.dash-mock .rows { display: grid; gap: 6px; align-content: start; }

/* ---------- 결과 보고에서 보이는 것 ---------- */
.five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line-dark-2); border-radius: 16px; overflow: hidden; }
.five div { padding: 28px 24px; border-left: 1px solid var(--line-dark); }
.five div:first-child { border-left: 0; }
.five b { display: block; font-size: 1.5rem; letter-spacing: -0.03em; margin-bottom: 10px; color: #fff; }
.five p { margin: 0; color: var(--text-dark-2); font-size: .95rem; }
.five small { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-dark); color: var(--accent-on-dark); font-size: .84rem; font-weight: 600; }
@media (max-width: 1000px) { .five { grid-template-columns: 1fr 1fr; } .five div { border-left: 0; border-top: 1px solid var(--line-dark); } .five div:nth-child(-n+2) { border-top: 0; } .five div:nth-child(even) { border-left: 1px solid var(--line-dark); } }
@media (max-width: 560px) { .five { grid-template-columns: 1fr; } .five div { border-left: 0 !important; } .five div:nth-child(2) { border-top: 1px solid var(--line-dark); } }

/* ---------- 채널 ---------- */
.channels { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.channels li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--paper); border: var(--hair); font-weight: 700; }
.channels li i { font-size: 1.2rem; color: var(--brand); }

/* ---------- 진행 과정 ---------- */
.steps6 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps6::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-line)); }
.steps6 li { position: relative; padding-right: 18px; }
.steps6 .dot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--brand); color: var(--brand); font-size: 1.3rem; margin-bottom: 20px; }
.steps6 li:first-child .dot { background: var(--brand); color: #fff; }
.steps6 b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.steps6 p { margin: 0; font-size: .92rem; color: var(--slate); }
.steps6 small { display: block; margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--brand); }
@media (max-width: 1000px) {
  .steps6 { grid-template-columns: 1fr; gap: 0; }
  .steps6::before { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; background: var(--brand-line); }
  .steps6 li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 0 0 26px; }
  .steps6 .dot { margin: 0; }
}

/* ---------- 요금 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 34px 30px; border-radius: 18px; background: var(--paper); border: var(--hair); box-shadow: var(--shadow-card); }
.plan.rec { background: var(--ink-900); color: #fff; border-color: var(--ink-900); box-shadow: var(--shadow-float); transform: translateY(-10px); }
.plan .tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--stone-2); margin-bottom: 18px; }
.plan.rec .tag { background: var(--brand); color: #fff; }
.plan .price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.045em; margin: 6px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.plan .vat { font-size: .86rem; color: var(--slate); margin: 0 0 22px; }
.plan.rec .vat, .plan.rec .muted { color: var(--text-dark-2); }
.plan ul { list-style: none; margin: 0 0 28px; padding: 22px 0 0; border-top: var(--hair); display: grid; gap: 12px; font-size: .96rem; }
.plan.rec ul { border-top-color: var(--line-dark-2); }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.plan li i { color: var(--brand); font-size: 1.15rem; margin-top: 3px; }
.plan.rec li i { color: var(--accent-on-dark); }
.plan .btn { margin-top: auto; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; } .plan.rec { transform: none; order: -1; } }
/* 선택 상품: 언론 보도 (기록 34) */
.addon-strip { margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 18px; background: #FFF8EE; border: 1px solid #F3D9B1; }
.addon-strip .k { margin: 0; font-size: .82rem; font-weight: 800; color: #9A4A00; }
.addon-strip h3 { margin: 2px 0 4px; }
.addon-strip p { margin: 0; color: var(--slate); }
.addon-strip .pr { color: var(--ink); font-weight: 800; }
@media (max-width: 760px) { .addon-strip { grid-template-columns: 1fr; } .addon-strip .btn { justify-self: start; } }

/* ---------- 믿을 수 있는 이유 ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust div { padding: 28px; border-radius: 16px; background: var(--paper); border: var(--hair); }
.trust i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); font-size: 1.5rem; margin-bottom: 18px; }
.trust p { margin: 0; color: var(--slate); font-size: .95rem; }
@media (max-width: 1000px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* ---------- 자주 묻는 질문 ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 4px; font-size: 1.08rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 24px; padding: 0 4px; color: var(--slate); max-width: 52em; }

/* ---------- 마지막 권유 ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; background: var(--ink-900); color: #fff; padding: 72px 64px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -280px; background: radial-gradient(circle, rgba(47, 107, 255, .35), transparent 65%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .sx-h2 { margin: 0 0 10px; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; padding: 48px 28px; } }

/* ---------- 바닥 ---------- */
.sa-footer { background: var(--ink-950); color: var(--text-dark-2); padding: 64px 0 48px; font-size: .9rem; }
.sa-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.sa-footer h4 { margin: 0 0 14px; color: #fff; font-size: .92rem; }
.sa-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sa-footer a { color: var(--text-dark-2); text-decoration: none; }
.sa-footer a:hover { color: #fff; }
.sa-footer .legal-line { padding-top: 28px; line-height: 1.8; font-size: .82rem; }
.sa-footer .legal-line strong { color: #fff; }
.sa-footer .sa-logo { color: #fff; margin-bottom: 14px; }
@media (max-width: 900px) { .sa-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- 단계 표시 (가입) ---------- */
.stepper { display: flex; gap: 8px; list-style: none; margin: 0 0 32px; padding: 0; counter-reset: st; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--paper); border: var(--hair); font-weight: 700; font-size: .92rem; color: var(--slate); }
.stepper li::before { counter-increment: st; content: counter(st); width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; display: grid; place-items: center; background: var(--stone-2); font-size: .82rem; }
.stepper li[aria-current="step"] { border-color: var(--brand); color: var(--ink); }
.stepper li[aria-current="step"]::before { background: var(--brand); color: #fff; }
.stepper li.done::before { content: "✓"; background: var(--ok-bg); color: var(--ok); }
.stepper li, .stepper li::before { transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.motion .stepper li.done::before { animation: sa-popin .5s var(--ease-back) both; }
.motion .stepper li[aria-current="step"] { animation: su-step .6s var(--ease); }
@keyframes su-step { from { box-shadow: 0 0 0 0 rgba(26, 79, 186, .35); } to { box-shadow: 0 0 0 8px rgba(26, 79, 186, 0); } }
@media (max-width: 560px) { .stepper li { padding: 10px; font-size: 0; gap: 0; justify-content: center; } .stepper li::before { font-size: .82rem; } }

/* 주문 요약 (오른쪽에 붙는 칸) */
.order { position: sticky; top: 96px; padding: 28px; border-radius: 16px; background: var(--paper); border: var(--hair); box-shadow: var(--shadow-card); }
.order h2 { font-size: 1.05rem; margin: 0 0 18px; }
.order dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; margin: 0; font-size: .95rem; }
.order dt { color: var(--slate); }
.order dd { margin: 0; text-align: right; font-weight: 600; }
.order .sum { margin-top: 16px; padding-top: 16px; border-top: var(--hair); display: flex; justify-content: space-between; align-items: baseline; }
.order .sum b { font-size: 1.8rem; letter-spacing: -0.04em; }
.order .note { margin: 14px 0 0; font-size: .84rem; color: var(--slate); }
.secure { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ivory); font-size: .85rem; color: var(--slate); }
.secure i { color: var(--ok); font-size: 1.2rem; }

/* ---------- 움직임 (회사 소개 · html.motion 일 때만) ---------- */
html.motion { scroll-behavior: smooth; scroll-padding-top: 84px; }
.sa-header { transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
/* 첫 화면: 빛이 천천히 흐르고, 실시간 점이 잔잔히 */
.motion .sx-hero::after { animation: sx-drift 18s ease-in-out infinite alternate; }
@keyframes sx-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-90px, 70px) scale(1.12); } }
.motion .live-dot::before { animation: sx-live 2.2s ease-out infinite; }
@keyframes sx-live { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } }
.motion .feed.m-enter { animation: sx-float-in 1.1s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes sx-float-in { from { opacity: 0; transform: perspective(1200px) translateY(46px) rotateX(10deg) scale(.96); } to { opacity: 1; transform: none; } }
.feed .spend { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 8px; }
.feed .spend i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #3D6FD6, #8DB0FF); transform-origin: left; }
.motion .feed .spend i { animation: sa-grow-x 1.6s var(--ease) 1.1s both; }
.feed-foot { flex-wrap: wrap; }
.feed-foot .spend { flex: 1 0 100%; margin-top: 2px; }
/* 비교 표: 줄이 차례로, 체크가 톡 */
.motion .compare.rv:not(.is-in) tbody tr { opacity: 0; transform: translateY(12px); }
.motion .compare tbody tr { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.motion .compare tbody tr:nth-child(2) { transition-delay: 90ms; } .motion .compare tbody tr:nth-child(3) { transition-delay: 180ms; }
.motion .compare tbody tr:nth-child(4) { transition-delay: 270ms; } .motion .compare tbody tr:nth-child(5) { transition-delay: 360ms; }
.motion .compare tbody tr:nth-child(6) { transition-delay: 450ms; }
.motion .compare.is-in td.us .ph-check-circle { display: inline-block; animation: sa-popin .55s var(--ease-back) both; }
.motion .compare.is-in tr:nth-child(1) td.us .ph { animation-delay: .35s; } .motion .compare.is-in tr:nth-child(2) td.us .ph { animation-delay: .44s; }
.motion .compare.is-in tr:nth-child(3) td.us .ph { animation-delay: .53s; } .motion .compare.is-in tr:nth-child(4) td.us .ph { animation-delay: .62s; }
.motion .compare.is-in tr:nth-child(5) td.us .ph { animation-delay: .71s; } .motion .compare.is-in tr:nth-child(6) td.us .ph { animation-delay: .8s; }
/* 하는 일: 광고 견본이 양옆에서, 휴대폰이 아래에서, 결과 보고 막대가 차오름 */
.part { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.part:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(15, 46, 110, .14); }
.motion .part .ad-stack .adm, .motion .part .phone-mock, .motion .part .dash-mock .row i, .motion .part .dash-mock .kp span { transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--rd, 0ms) + 200ms); }
.motion .part.rv:not(.is-in) .ad-stack .adm:first-child { opacity: 0; transform: translateX(-30px) rotate(-4deg); }
.motion .part.rv:not(.is-in) .ad-stack .adm:last-child { opacity: 0; transform: translateX(30px) rotate(4deg); }
.motion .part.rv:not(.is-in) .phone-mock { opacity: 0; transform: translate(-50%, 40%); }
.motion .part .dash-mock .row i { transform-origin: left; transition-duration: 1.2s; }
.motion .part.rv:not(.is-in) .dash-mock .row i { transform: scaleX(0); }
.motion .part.rv:not(.is-in) .dash-mock .kp span { opacity: 0; transform: translateY(8px); }
.motion .part .dash-mock .kp span:nth-child(2), .motion .part .dash-mock .row:nth-child(2) i { transition-delay: calc(var(--rd, 0ms) + 320ms); }
.motion .part .dash-mock .kp span:nth-child(3), .motion .part .dash-mock .row:nth-child(3) i { transition-delay: calc(var(--rd, 0ms) + 440ms); }
.part .visual img, .ad-stack .adm img { transition: transform .8s var(--ease); }
.part:hover .ad-stack .adm img { transform: scale(1.05); }
/* 광고하는 곳: 알약이 톡 */
.motion .channels li.rv:not(.is-in) { transform: translateY(14px) scale(.9); }
.channels li { transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease); }
.channels li:hover { border-color: var(--brand-line); box-shadow: 0 8px 20px rgba(26, 79, 186, .12); transform: translateY(-2px); }
/* 진행 과정: 선이 그어지고 점이 차례로 켜짐 */
.motion .steps6::before { transform-origin: left center; transition: transform 1.8s var(--ease-in-out) .15s; }
.motion .steps6.rv-group:not(.is-in)::before { transform: scaleX(0); }
.motion .steps6 .dot { transition: transform .6s var(--ease-back), background-color .4s ease, color .4s ease; transition-delay: calc(var(--rd, 0ms) + 120ms); }
.motion .steps6 li.rv:not(.is-in) .dot { transform: scale(.3); }
@media (max-width: 1000px) {
  .motion .steps6::before { transform-origin: center top; }
  .motion .steps6.rv-group:not(.is-in)::before { transform: scaleY(0); }
}
/* 요금: 추천 칸은 떠 있는 채로, 지나갈 때 빛이 한 번 */
.plan { position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(15, 46, 110, .16); }
.plan.rec:hover { transform: translateY(-16px); }
.motion .plan.rec.rv:not(.is-in) { transform: translateY(18px); }
.motion .plan.rec.rv.is-in { transform: translateY(-10px); }
.plan.rec::after { content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent); transform: translateX(-120%) rotate(8deg); pointer-events: none; }
.motion .plan.rec.is-in::after { animation: sx-shine 1.6s var(--ease-in-out) 1s both; }
@keyframes sx-shine { to { transform: translateX(520%) rotate(8deg); } }
/* 안심: 아이콘이 톡 */
.motion .trust > div i { transition: transform .6s var(--ease-back); transition-delay: calc(var(--rd, 0ms) + 200ms); }
.motion .trust > div.rv:not(.is-in) i { transform: scale(.3) rotate(-20deg); }
.trust > div { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.trust > div:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 46, 110, .1); }
/* 자주 묻는 질문: + 가 − 로 돌며 */
.faq summary::after { transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:hover { color: var(--brand); }
/* 마지막 띠: 빛이 한 번 */
.cta-band { position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: -50% auto -50% -50%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .1), transparent); transform: translateX(-100%) rotate(10deg); pointer-events: none; }
.motion .cta-band.is-in::after { animation: sx-shine 1.8s var(--ease-in-out) .6s both; }
