/* 몰비서 공개면 — 랜딩(/) · 요금(/pricing, 비로그인) · 로그인 · 가입
   ─────────────────────────────────────────────────────────────────────────────
   표면 문법: 흰 면 + 1px 선 + 9px 모서리, 그림자 없음. 제목은 자간을 좁히고, 보조글은 회색,
   큰 숫자는 tabular-nums 에 '기준'을 붙인다. 장식 대신 정보로 면을 채운다.
   색·글자 크기·간격은 전부 static/style.css 토큰(var(--c-*), --fs-*, --s*)만 쓴다 — 새 색을 만들지 않는다.
   예외 두 개만 하드코딩한다: 카카오톡 대화창 배경(브랜드 팔레트가 아니라 '카톡이라는 사실'의 인용)과
   네이비 위 반투명 흰 선(토큰에 네이비 위 선 색이 없다).
   style.css 는 다른 팀 담당이라 고치지 않는다. 이 파일은 .pub 아래로만 스코프한다(앱 화면에 새지 않게). */

/* ── 바탕: base.html 의 main.wrap 폭·여백을 풀고, 공개면은 흰 바탕으로 ── */
.wrap.wrap--pub { max-width: none; padding: 0; }
body:has(.pub) { background: var(--c-surface); }

.pub {
  --pub-w: 1200px; --pub-gut: 24px; --pub-r: 9px; --pub-top-h: 60px;
  --pub-line-navy: rgba(255, 255, 255, .14);
  color: var(--c-ink);
}
.pub-in { max-width: var(--pub-w); margin: 0 auto; padding: 0 var(--pub-gut); }
/* style.css 의 h2 기본 여백(32/16)은 앱 화면의 문단 리듬이다 — 공개면 섹션 머리에서는 간격을 여기서 직접 잡는다 */
.pub h1, .pub h2, .pub h3 { margin: 0; }
.pub [id] { scroll-margin-top: calc(var(--pub-top-h) + var(--s4)); }
.pub .btn { border-radius: var(--r-sm); }
.pub .tnum, .pub .lp-pv-v, .pub .lp-pc-price b, .pub .lp-cw-v, .pub .lp-pv-wf-v, .pub .lp-mk-head span
  { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.pub .pos { color: var(--c-profit); } .pub .neg { color: var(--c-loss); }
.pub-nw { white-space: nowrap; }   /* 한 덩어리로 읽혀야 하는 구(버튼 이름·서술부)를 줄 끝에서 쪼개지 않는다 */

/* ── 런칭 공지 띠 — 헤더 위 한 줄. 과하지 않게: 네이비 바탕에 회색 글자, 제목만 흰색 ── */
.pub-strip { background: var(--c-navy); color: var(--c-on-navy-idle); font-size: var(--fs-13); line-height: var(--lh-13); }
.pub-strip .pub-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
                     gap: var(--s1) var(--s3); min-height: 40px; padding-top: var(--s2); padding-bottom: var(--s2);
                     text-align: center; }
.pub-strip b { color: var(--c-on-navy); font-weight: var(--fw-bold); }
.pub-strip a { color: var(--c-on-navy); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ── 헤더 (고정) ── */
.pub-top { position: sticky; top: 0; z-index: var(--z-topbar); background: var(--c-surface);
           border-bottom: 1px solid var(--c-line); }
.pub-top-in { display: flex; align-items: center; gap: var(--s6); height: var(--pub-top-h); }
.pub-brand { display: inline-flex; align-items: center; gap: var(--s2); flex: none;
             font-size: var(--fs-20); font-weight: var(--fw-black); letter-spacing: var(--ls-tight);
             color: var(--c-ink); }
.pub-brand b { color: var(--c-brand); font-weight: inherit; }
.pub-mark { width: 26px; height: 26px; flex: none; display: block; }
.pub-mark-bg { fill: var(--c-navy); }
.pub-mark-m { fill: var(--c-on-navy); }
.pub-mark-bar { fill: var(--c-brand); }
.pub-nav { display: flex; gap: var(--s1); }
.pub-nav a { display: inline-flex; align-items: center; height: var(--h-sm); padding: 0 var(--px-sm);
             border-radius: var(--r-sm); font-size: var(--fs-14); font-weight: var(--fw-semi); color: var(--c-sub);
             transition: color var(--t-1) var(--ease), background var(--t-1) var(--ease); }
.pub-nav a:hover { color: var(--c-ink); background: var(--c-surface-sunk); }
.pub-nav a[aria-current="page"] { color: var(--c-ink); background: var(--c-surface-sunk); }
.pub-acts { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.pub-login { display: inline-flex; align-items: center; height: var(--h-md); padding: 0 var(--px-sm);
             font-size: var(--fs-14); font-weight: var(--fw-semi); color: var(--c-ink); white-space: nowrap; }
.pub-login:hover { text-decoration: underline; text-underline-offset: 3px; }
.pub-top-cta { font-size: var(--fs-14); }

/* ── 공통 섹션 골격 ── */
.pub-sec { padding: 56px 0; background: var(--c-surface); border-top: 1px solid var(--c-line); }
.pub-sec--sunk { background: var(--c-bg); }
.pub-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4) var(--s8);
                flex-wrap: wrap; margin-bottom: var(--s6); }
.pub-kicker { font-size: var(--fs-13); font-weight: var(--fw-bold); color: var(--c-sub); margin-bottom: var(--s2); }
.pub-h2 { font-size: 28px; line-height: 1.3; letter-spacing: var(--ls-tight); font-weight: var(--fw-black); }
.pub-h3 { font-size: var(--fs-24); line-height: var(--lh-24); letter-spacing: var(--ls-tight); font-weight: var(--fw-black); }
.pub-sec-sub { margin-top: var(--s2); font-size: var(--fs-15); color: var(--c-sub); }
/* 오른쪽 위 '기준' 한 줄 — 이 섹션의 숫자·상태가 언제 무엇에서 온 건지 */
.pub-basis { font-size: var(--fs-12); line-height: var(--lh-12); color: var(--c-mute); text-align: right; }
.pub-fine { margin-top: var(--s4); font-size: var(--fs-13); color: var(--c-sub); line-height: 1.65; }

/* ══ 1. 히어로 ══ */
.pub-hero { background: var(--c-surface); }
.pub-hero-grid { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: var(--s12);
                 align-items: center; padding-top: 56px; padding-bottom: 64px; }
.pub-hero-copy { min-width: 0; }
.pub-eyebrow { display: inline-flex; align-items: center; gap: var(--s2);
               font-size: var(--fs-13); font-weight: var(--fw-bold); color: var(--c-sub); }
.pub-eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--c-navy); }
.pub-h1 { margin-top: var(--s4); font-size: var(--fs-40); line-height: 1.2; letter-spacing: var(--ls-tight);
          font-weight: var(--fw-black); }
.pub-lede { margin-top: var(--s6); font-size: var(--fs-17); line-height: 1.7; color: var(--c-sub); max-width: 30em; }
.pub-cta { margin-top: var(--s8); display: flex; gap: var(--s3); flex-wrap: wrap; }
.pub-note { margin-top: var(--s4); font-size: var(--fs-13); line-height: 1.6; color: var(--c-mute); }
.pub-ready { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--c-line);
             font-size: var(--fs-13); line-height: 1.6; color: var(--c-ink); font-weight: var(--fw-semi); }
.pub-ready span { color: var(--c-mute); font-weight: var(--fw-normal); margin-right: var(--s2); }

/* ── 제품 미리보기 — 실제 브리핑 화면의 축소판. 글자를 이미지로 굽지 않는다(선명·가벼움·접근성) ── */
.lp-pv { margin: 0; min-width: 0; }
.lp-pv-win { display: grid; grid-template-columns: 112px minmax(0, 1fr); border: 1px solid var(--c-line);
          border-radius: var(--pub-r); overflow: hidden; background: var(--c-bg);
          font-size: var(--fs-12); line-height: var(--lh-12); }
.lp-pv-side { background: var(--c-navy); color: var(--c-on-navy-idle); padding: var(--s4) var(--s2);
           display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-pv-brand { display: flex; align-items: center; gap: 6px; padding: 0 6px var(--s3);
            color: var(--c-on-navy); font-size: var(--fs-14); font-weight: var(--fw-black); letter-spacing: var(--ls-snug); }
.lp-pv-brand .pub-mark { width: 18px; height: 18px; }
.lp-pv-brand .lp-pv-mark-bg { fill: rgba(255, 255, 255, .12); }
.lp-pv-store { border: 1px solid var(--pub-line-navy); border-radius: 6px; padding: var(--s2); margin-bottom: var(--s2); }
.lp-pv-store b { display: block; color: var(--c-on-navy); font-size: var(--fs-12); font-weight: var(--fw-semi); }
.lp-pv-store small { display: block; margin-top: 2px; font-size: var(--fs-11); }
.lp-pv-sec { margin: var(--s2) 6px 2px; font-size: var(--fs-11); opacity: .8; }
.lp-pv-nav { padding: 6px; border-radius: 5px; font-size: var(--fs-12); }
.lp-pv-nav.on { background: rgba(255, 255, 255, .12); color: var(--c-on-navy); font-weight: var(--fw-semi); }
.lp-pv-main { min-width: 0; display: flex; flex-direction: column; }
.lp-pv-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
          background: var(--c-surface); border-bottom: 1px solid var(--c-line); padding: var(--s2) var(--s3);
          color: var(--c-mute); font-size: var(--fs-11); }
.lp-pv-bar i { font-style: normal; margin: 0 4px; color: var(--c-line-input); }
/* '예시 화면' 태그 — 경고색(앰버)은 '못 믿을 값' 표시에 쓰는 색이라 여기 맞다: 이 숫자는 실적이 아니다 */
.lp-pv-tag { flex: none; border: 1px solid var(--c-warn-line); background: var(--c-warn-tint); color: var(--c-warn-ink);
          border-radius: 4px; padding: 1px 6px; font-weight: var(--fw-bold); }
.lp-pv-body { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2); container-type: inline-size; }
.lp-pv-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2px var(--s2); flex-wrap: wrap; }
.lp-pv-title { font-size: var(--fs-15); font-weight: var(--fw-black); letter-spacing: var(--ls-snug); color: var(--c-ink); }
.lp-pv-basis { font-size: var(--fs-11); color: var(--c-mute); }
.lp-pv-sum { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr);
          background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 7px; }
.lp-pv-sum > div { padding: var(--s2) var(--s3); min-width: 0; }
.lp-pv-sum > div + div { border-left: 1px solid var(--c-line); }
.lp-pv-k { display: block; color: var(--c-mute); font-size: var(--fs-11); }
.lp-pv-v { display: block; margin: 2px 0 1px; font-size: 19px; line-height: 1.25; font-weight: var(--fw-bold);
        letter-spacing: -0.02em; white-space: nowrap; color: var(--c-ink); }
.lp-pv-v.pos { color: var(--c-profit); }
.lp-pv-v small { margin-left: 1px; font-size: var(--fs-11); font-weight: var(--fw-med); color: var(--c-mute); letter-spacing: 0; }
.lp-pv-b { display: block; font-size: var(--fs-11); line-height: 1.4; color: var(--c-mute); }
.lp-pv-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s2); }
.lp-pv-panel { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 7px;
            padding: var(--s2) var(--s3) var(--s3); min-width: 0; }
.lp-pv-ph { display: flex; justify-content: space-between; align-items: baseline;
         font-size: var(--fs-12); font-weight: var(--fw-bold); color: var(--c-ink); padding: 2px 0 6px;
         border-bottom: 1px solid var(--c-line-soft); }
.lp-pv-ph span { color: var(--c-mute); font-weight: var(--fw-normal); font-size: var(--fs-11); }
.lp-pv-todo { list-style: none; margin: 0; padding: 0; }
.lp-pv-todo li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
              gap: 2px var(--s2); padding: 7px 0; border-bottom: 1px solid var(--c-line-soft); }
.lp-pv-todo li:last-child { border-bottom: 0; padding-bottom: 0; }
.lp-pv-todo b { font-weight: var(--fw-semi); color: var(--c-ink); min-width: 0; }
.lp-pv-todo em { font-style: normal; font-weight: var(--fw-bold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-pv-todo small { grid-column: 1 / -1; color: var(--c-mute); font-size: var(--fs-11); line-height: 1.4; }
.lp-pv-chip { font-size: var(--fs-11); font-weight: var(--fw-bold); padding: 1px 6px; border-radius: 4px; white-space: nowrap;
           background: var(--c-surface-sunk); color: var(--c-sub); }
.lp-pv-chip--loss { background: var(--c-loss-tint); color: var(--c-loss); }
.lp-pv-chip--warn { background: var(--c-warn-tint); color: var(--c-warn-ink); }
/* 손익 폭포 — 앱(style.css ④ 5-2)과 같은 문법: 차감은 중립 회색, 색은 결론에만. 매출만 잉크 네이비 */
.lp-pv-wf { padding-top: 6px; }
.lp-pv-wf-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 64px; gap: 6px; align-items: center; padding: 2px 0; }
.lp-pv-wf-k { font-size: var(--fs-11); color: var(--c-sub); text-align: right; white-space: nowrap; }
.lp-pv-wf-track { position: relative; height: 14px; }
.lp-pv-wf-track i { position: absolute; top: 2px; height: 10px; min-width: 2px; border-radius: 2px; background: var(--c-line-input); }
.lp-pv-wf-row--start .lp-pv-wf-track i { background: var(--c-navy); }
.lp-pv-wf-row--result { margin-top: 3px; padding-top: 5px; border-top: 1px solid var(--c-line); }
.lp-pv-wf-row--result .lp-pv-wf-track i { background: var(--c-profit-solid); }
.lp-pv-wf-v { font-size: var(--fs-11); font-weight: var(--fw-bold); text-align: right; white-space: nowrap; }
.lp-pv-wf-row--result .lp-pv-wf-v { color: var(--c-profit); }
.lp-pv-cap { margin-top: var(--s2); font-size: var(--fs-12); line-height: 1.5; color: var(--c-mute); }
.lp-pv-cap b { color: var(--c-warn-ink); font-weight: var(--fw-bold); margin-right: 4px; }

/* 미리보기 칸이 좁아지면(태블릿·작은 노트북) 요약 띠를 2×2 로, 두 판을 세로로 */
@container (max-width: 540px) {
  .lp-pv-v { font-size: var(--fs-17); }
}
@container (max-width: 440px) {
  .lp-pv-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-pv-sum > div + div { border-left: 0; }
  .lp-pv-sum > div:nth-child(even) { border-left: 1px solid var(--c-line); }
  .lp-pv-sum > div:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .lp-pv-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ══ 2. 연결 마켓 ══ */
.lp-mk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--c-surface);
      border: 1px solid var(--c-line); border-radius: var(--pub-r); }
.lp-mk-col { padding: var(--s6); min-width: 0; }
.lp-mk-col + .lp-mk-col { border-left: 1px solid var(--c-line); }
.lp-mk-head { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-15); }
.lp-mk-head b { font-weight: var(--fw-bold); }
.lp-mk-head span { margin-left: auto; color: var(--c-mute); font-size: var(--fs-13); font-weight: var(--fw-semi); }
/* 색 점은 보조다 — 칸 제목 글자가 1차(색약: 흑자/적자·경고를 색만으로 구분하지 않는다) */
.lp-mk-dot { width: 8px; height: 8px; border-radius: var(--r-pill); flex: none; }
.lp-mk-col--ready .lp-mk-dot { background: var(--c-profit-solid); }
.lp-mk-col--beta .lp-mk-dot { background: var(--c-warn); }
.lp-mk-col--soon .lp-mk-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c-line-input); }
.lp-mk-col > p { margin-top: var(--s2); font-size: var(--fs-13); line-height: 1.6; color: var(--c-sub); }
.lp-mk-list { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.lp-mk-list li { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px var(--px-sm);
              border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-surface);
              font-size: var(--fs-14); font-weight: var(--fw-semi); color: var(--c-ink); }
.lp-mk-list small { font-size: var(--fs-11); font-weight: var(--fw-normal); color: var(--c-mute); }
.lp-mk-col--soon .lp-mk-list li { background: var(--c-surface-sunk); color: var(--c-sub); font-weight: var(--fw-med); }

/* ══ 3. 계산 방식 ══ */
.lp-calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s12); align-items: center; }
.lp-calc-copy { min-width: 0; }
.lp-calc-lede { margin-top: var(--s4); font-size: var(--fs-17); line-height: 1.7; color: var(--c-sub); }
.lp-calc-facts { list-style: none; margin: var(--s6) 0 0; padding: 0; border-top: 1px solid var(--c-line); }
.lp-calc-facts li { padding: var(--s3) 0; border-bottom: 1px solid var(--c-line); }
.lp-calc-facts b { display: block; font-size: var(--fs-15); font-weight: var(--fw-bold); }
.lp-calc-facts span { display: block; margin-top: 2px; font-size: var(--fs-13); color: var(--c-sub); line-height: 1.6; }
.lp-calc-chart { margin: 0; min-width: 0; background: var(--c-surface); border: 1px solid var(--c-line);
              border-radius: var(--pub-r); padding: var(--s6); }
.lp-calc-cap { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s1) var(--s3); flex-wrap: wrap;
            margin-bottom: var(--s6); }
.lp-calc-cap b { font-size: var(--fs-15); font-weight: var(--fw-bold); }
.lp-calc-cap span { font-size: var(--fs-12); color: var(--c-mute); }
.lp-cw-area { position: relative; height: 220px; margin-top: var(--s6); }
.lp-cw-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.lp-cw-bar { fill: var(--c-line-input); }
.lp-cw-bar--start { fill: var(--c-navy); }
.lp-cw-bar--result { fill: var(--c-profit-solid); }
.lp-cw-link { stroke: var(--c-line-input); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
/* 값 라벨 — 막대 윗변(--t %) 바로 위에 HTML 로 얹는다. 6칸 균등이라 x 는 --i 로 정해진다 */
.lp-cw-v { position: absolute; left: calc(var(--i) * 100% / 6); width: calc(100% / 6); top: calc(var(--t) * 1%);
        transform: translateY(-100%); padding-bottom: 4px; text-align: center;
        font-size: var(--fs-12); font-weight: var(--fw-bold); color: var(--c-sub); white-space: nowrap; }
.lp-cw-v--start { color: var(--c-ink); }
.lp-cw-v--result { color: var(--c-profit); font-size: var(--fs-13); }
.lp-cw-man { display: none; }
.lp-cw-labels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--c-ink);
             padding-top: var(--s2); }
.lp-cw-l { text-align: center; min-width: 0; }
.lp-cw-l b { display: block; font-size: var(--fs-13); font-weight: var(--fw-bold); }
.lp-cw-l small { display: block; margin-top: 1px; font-size: var(--fs-11); color: var(--c-mute); }
.lp-cw-l--result b { color: var(--c-profit); }
.lp-calc-sum { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--c-line-soft);
            font-size: var(--fs-13); color: var(--c-sub); font-variant-numeric: tabular-nums; line-height: 1.6; }
.lp-calc-sum b { font-weight: var(--fw-bold); }

/* ══ 4. 몰비서가 하는 일 — 한 판 안의 행 ══ */
.lp-pr { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--pub-r); overflow: hidden; }
.lp-pr-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s8);
          padding: var(--s6); border-top: 1px solid var(--c-line); }
.lp-pr-row:first-child { border-top: 0; }
.lp-pr-head { padding-top: var(--s3); padding-bottom: var(--s3); background: var(--c-surface-sunk);
           font-size: var(--fs-12); font-weight: var(--fw-semi); color: var(--c-mute); }
.lp-pr-q { font-size: var(--fs-17); line-height: 1.5; font-weight: var(--fw-bold); letter-spacing: var(--ls-snug); }
.lp-pr-a { font-size: var(--fs-15); line-height: 1.7; color: var(--c-ink); }
.lp-pr-l { font-size: var(--fs-13); line-height: 1.65; color: var(--c-sub); }

/* ══ 5. 시작하기 ══ */
.lp-steps { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s12); align-items: center; }
.lp-steps-copy { min-width: 0; }
.lp-st { list-style: none; margin: var(--s6) 0 var(--s6); padding: 0; }
.lp-st li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s4); padding: var(--s4) 0;
         border-top: 1px solid var(--c-line); }
.lp-st li:last-child { border-bottom: 1px solid var(--c-line); }
.lp-st-n { width: 32px; height: 32px; border-radius: var(--r-pill); border: 1px solid var(--c-line-input);
        display: grid; place-items: center; font-size: var(--fs-14); font-weight: var(--fw-bold);
        font-variant-numeric: tabular-nums; }
.lp-st b { display: block; font-size: var(--fs-17); line-height: var(--lh-17); font-weight: var(--fw-bold); }
.lp-st p { margin-top: var(--s1); font-size: var(--fs-15); line-height: 1.65; color: var(--c-sub); }
.lp-st small { display: block; margin-top: var(--s1); font-size: var(--fs-12); color: var(--c-mute); }
/* 카카오톡 — 대화창 색은 브랜드 팔레트가 아니라 '카톡이라는 사실'의 인용이라 하드코딩한다 */
.lp-kk { margin: 0; min-width: 0; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--pub-r);
      padding: var(--s6); }
.lp-kk-chat { background: #B2C7DA; border-radius: 12px; padding: var(--s4); max-width: 380px; margin: 0 auto; }
.lp-kk-from { font-size: var(--fs-12); font-weight: var(--fw-bold); color: #39424C; margin-bottom: 6px; }
.lp-kk-msg { background: var(--c-surface); border-radius: 4px 14px 14px 14px; padding: var(--s3) var(--s4);
          font-size: var(--fs-13); line-height: 1.75; color: var(--c-ink); }
.lp-kk-time { margin-top: 4px; font-size: var(--fs-11); color: #39424C; }
.lp-kk figcaption { margin-top: var(--s3); text-align: center; font-size: var(--fs-12); color: var(--c-mute); }

/* ══ 6. 요금 ══ */
.lp-pc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--c-surface);
      border: 1px solid var(--c-line); border-radius: var(--pub-r); }
.lp-pc-plan { padding: var(--s8); border-right: 1px solid var(--c-line); min-width: 0; }
.lp-pc-name { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-17); font-weight: var(--fw-black); }
.lp-pc-badge { font-size: var(--fs-12); font-weight: var(--fw-bold); color: var(--c-sub); border: 1px solid var(--c-line);
            border-radius: 4px; padding: 1px 6px; }
.lp-pc-price { margin-top: var(--s4); letter-spacing: var(--ls-tight); }
.lp-pc-price b { font-size: var(--fs-40); line-height: var(--lh-40); font-weight: var(--fw-black); }
.lp-pc-price small { margin-left: 4px; font-size: var(--fs-17); font-weight: var(--fw-semi); color: var(--c-sub); letter-spacing: 0; }
.lp-pc-vat { margin-top: var(--s1); font-size: var(--fs-13); color: var(--c-sub); }
.lp-pc-promo { margin-top: var(--s4); padding: var(--s3) var(--s4); background: var(--c-surface-sunk);
            border: 1px solid var(--c-line); border-radius: 7px; font-size: var(--fs-14); line-height: 1.55; }
.lp-pc-promo b { display: block; font-weight: var(--fw-bold); }
.lp-pc-promo span { display: block; margin-top: 2px; font-size: var(--fs-12); color: var(--c-sub); }
.lp-pc-plan .btn { margin-top: var(--s6); }
.lp-pc-trial { margin-top: var(--s2); text-align: center; font-size: var(--fs-12); color: var(--c-mute); }
.lp-pc-body { padding: var(--s8); min-width: 0; }
.lp-pc-h { font-size: var(--fs-13); font-weight: var(--fw-bold); color: var(--c-mute); margin-bottom: var(--s2); }
.lp-pc-list { list-style: none; margin: 0 0 var(--s6); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
           gap: var(--s2) var(--s6); }
.lp-pc-list--one { grid-template-columns: minmax(0, 1fr); }
.lp-pc-list li { position: relative; padding-left: var(--s4); font-size: var(--fs-14); line-height: 1.6; }
/* 체크 이모지 금지 — 점 하나면 목록이라는 것은 이미 전달된다 */
.lp-pc-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px;
                      border-radius: var(--r-pill); background: var(--c-navy); }
.lp-pc-list b { font-weight: var(--fw-bold); }
.pub-more { font-size: var(--fs-14); font-weight: var(--fw-bold); color: var(--c-brand); }
.pub-more::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px;
                   border-top: 2px solid currentColor; border-right: 2px solid currentColor;
                   transform: translateY(-2px) rotate(45deg); }
.pub-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── 자주 묻는 질문 — 접힌 게 기본. 질문 목록이 먼저 보여야 '내 질문이 있나'를 한 번에 판단한다 ── */
.lp-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s12); margin-top: 48px; }
.lp-faq-side p { margin-top: var(--s3); font-size: var(--fs-14); line-height: 1.65; color: var(--c-sub); }
.lp-faq-list { border-top: 1px solid var(--c-line); }
.lp-faq-list details { border-bottom: 1px solid var(--c-line); }
.lp-faq-list summary { position: relative; cursor: pointer; list-style: none; padding: var(--s4) 40px var(--s4) 0;
                    font-size: var(--fs-17); line-height: var(--lh-17); font-weight: var(--fw-bold); }
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px;
                           border-right: 2px solid var(--c-line-input); border-bottom: 2px solid var(--c-line-input);
                           transform: translateY(-75%) rotate(45deg); transition: transform var(--t-2) var(--ease); }
.lp-faq-list details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.lp-faq-list summary:hover { color: var(--c-brand-hi); }
.lp-faq-list details > p { padding: 0 0 var(--s3); font-size: var(--fs-15); line-height: 1.75; color: var(--c-sub); }
.lp-faq-list details > p:last-child { padding-bottom: var(--s4); }
.lp-faq-mk { margin: 0 0 var(--s3); display: grid; gap: var(--s1); font-size: var(--fs-14); }
.lp-faq-mk div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s2); }
.lp-faq-mk dt { color: var(--c-mute); }
.lp-faq-mk dd { margin: 0; color: var(--c-ink); }

/* ══ 7. 마지막 CTA — 잉크 네이비 ══ */
.pub-final { background: var(--c-navy); color: var(--c-on-navy); padding: 56px 0; text-align: center; }
.pub-final h2 { font-size: 28px; line-height: 1.3; letter-spacing: var(--ls-tight); font-weight: var(--fw-black); }
.pub-final-facts { list-style: none; margin: var(--s6) 0 var(--s8); padding: 0; display: flex; justify-content: center;
                   flex-wrap: wrap; gap: var(--s2) var(--s6); font-size: var(--fs-15); color: var(--c-on-navy-idle); }
.pub-final-facts li { position: relative; padding-left: var(--s4); }
.pub-final-facts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px;
                              border-radius: var(--r-pill); background: var(--c-brand-mark); }
.pub-final-cta { display: flex; justify-content: center; gap: var(--s3); flex-wrap: wrap; }
.pub-final .btn { border-color: var(--pub-line-navy); }
.pub-btn-line { background: transparent; color: var(--c-on-navy); border-color: rgba(255, 255, 255, .4) !important; }
.pub-btn-line:hover { background: rgba(255, 255, 255, .08); }

/* ── 푸터 ── */
.pub-foot { background: var(--c-surface); border-top: 1px solid var(--c-line); padding: var(--s8) 0 var(--s12);
            font-size: var(--fs-13); color: var(--c-sub); }
.pub-foot-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
                flex-wrap: wrap; padding-bottom: var(--s4); margin-bottom: var(--s4); border-bottom: 1px solid var(--c-line); }
.pub-brand--sm { font-size: var(--fs-17); }
.pub-brand--sm .pub-mark { width: 22px; height: 22px; }
.pub-foot-nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.pub-foot-nav a { color: var(--c-sub); }
.pub-foot-nav a:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.pub-foot-nav b { font-weight: var(--fw-bold); color: var(--c-ink); }
.pub-foot .cap { display: block; margin-top: var(--s1); font-size: var(--fs-12); line-height: 1.6; }
.pub-foot .bizfoot { margin-top: var(--s1); }

/* ══ 공개 폼(로그인·가입) ══ */
.lp-auth { display: grid; grid-template-columns: minmax(0, 440px); justify-content: center; padding: 56px 0 72px; }
.lp-auth--split { grid-template-columns: minmax(0, 460px) minmax(0, 400px); gap: var(--s8); align-items: start; }
.lp-auth-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--pub-r); padding: var(--s8); min-width: 0; }
.lp-auth-h { font-size: var(--fs-24); line-height: var(--lh-24); letter-spacing: var(--ls-tight); font-weight: var(--fw-black); }
.lp-auth-h .lp-auth-brand { color: var(--c-brand); font-weight: inherit; }
.lp-auth-lede { margin: var(--s2) 0 var(--s6); font-size: var(--fs-14); line-height: 1.65; color: var(--c-sub); }
.lp-auth-card form { margin-top: var(--s6); }
.lp-auth-lede + form { margin-top: 0; }
.lp-auth-card .field label { font-size: var(--fs-13); color: var(--c-ink); }
/* 폼 컨트롤은 16px 아래로 내리지 않는다 — iOS 사파리가 16px 미만 입력에 자동 확대를 건다 */
.lp-auth-card input { border-radius: var(--r-sm); font-size: var(--fs-17); }
.lp-auth-card .btn { margin-top: var(--s2); }
.lp-auth-note { margin-top: var(--s4); text-align: center; font-size: var(--fs-14); color: var(--c-sub); }
.lp-auth-note a, .lp-auth-fine a { color: var(--c-brand); text-decoration: underline; text-underline-offset: 3px; }
.lp-auth-fine { margin-top: var(--s2); text-align: center; font-size: var(--fs-12); line-height: 1.6; color: var(--c-mute); }
.lp-auth-after { margin-top: var(--s4); text-align: center; font-size: var(--fs-13); line-height: 1.6; color: var(--c-sub); }
.lp-auth-side { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--pub-r); padding: var(--s6); min-width: 0; }
.lp-auth-side h2 { font-size: var(--fs-17); line-height: var(--lh-17); font-weight: var(--fw-black); letter-spacing: var(--ls-snug); }
.lp-auth-side .lp-st { margin: var(--s3) 0 var(--s4); }
.lp-auth-side .lp-st li { gap: var(--s3); padding: var(--s3) 0; grid-template-columns: 26px minmax(0, 1fr); }
.lp-auth-side .lp-st-n { width: 26px; height: 26px; font-size: var(--fs-12); background: var(--c-surface); }
.lp-auth-side .lp-st b { font-size: var(--fs-15); }
.lp-auth-side .lp-st p { font-size: var(--fs-13); }
.lp-auth-side-k { font-size: var(--fs-12); font-weight: var(--fw-bold); color: var(--c-mute); margin-top: var(--s4); }
.lp-auth-side-v { margin-top: 2px; font-size: var(--fs-14); font-weight: var(--fw-semi); line-height: 1.6; }
.lp-auth-side-v span { color: var(--c-mute); font-weight: var(--fw-normal); }

/* ══ 요금 화면(비로그인) — 앱 컴포넌트(.card·.rows·.tbl-wrap)를 공개면 표면으로 ══ */
.pub-page { padding-top: 40px; padding-bottom: 72px; }
.pub-page .page-head h1 { font-size: var(--fs-32); line-height: 1.25; letter-spacing: var(--ls-tight); }
.pub-page .page-head .sub { font-size: var(--fs-15); }
.pub-page .card, .pub-page .rows, .pub-page .tbl-wrap, .pub-page .banner { box-shadow: none; border-radius: var(--pub-r); }
.pub-page h2 { font-size: var(--fs-24); line-height: var(--lh-24); letter-spacing: var(--ls-tight); margin: 56px 0 var(--s4); }
.pub-page .price-lede { margin-top: var(--s6); }
.pub-page .price-lede > .rows { margin-top: 0; }   /* style.css 의 .card + .rows 간격이 옆 칸 카드와 윗선을 어긋나게 한다 */

/* ══ 태블릿 ══ */
@media (max-width: 1080px) {
  .pub-hero-grid { gap: var(--s8); }
  .lp-calc, .lp-steps { gap: var(--s8); }
  .lp-pr-row { gap: var(--s6); }
}
@media (max-width: 960px) {
  .pub-hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 48px; }
  .pub-lede { max-width: none; }
  .lp-calc, .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-mk { grid-template-columns: minmax(0, 1fr); }
  .lp-mk-col + .lp-mk-col { border-left: 0; border-top: 1px solid var(--c-line); }
  .lp-pc { grid-template-columns: minmax(0, 1fr); }
  .lp-pc-plan { border-right: 0; border-bottom: 1px solid var(--c-line); }
  .lp-faq { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .lp-auth--split { grid-template-columns: minmax(0, 520px); justify-content: center; }
}
@media (max-width: 860px) {
  .pub-nav { display: none; }
}

/* ══ 모바일 (390px 기준 검수) ══ */
@media (max-width: 720px) {
  .pub { --pub-gut: 16px; --pub-top-h: 56px; }
  .pub-strip { font-size: var(--fs-12); }
  /* 모바일은 flex 를 풀어 한 문단으로 흘린다 — [요금 안내]가 제 줄을 따로 먹지 않게 */
  .pub-strip .pub-in { display: block; text-align: left; min-height: 0; }
  .pub-strip .pub-in > * + * { margin-left: 6px; }
  .pub-top-in { gap: var(--s2); }
  .pub-brand { font-size: var(--fs-17); }
  .pub-mark { width: 22px; height: 22px; }
  .pub-login { padding: 0 var(--s2); }
  .pub-top-cta { height: 36px; padding: 0 var(--s3); font-size: var(--fs-14); }

  .pub-hero-grid { padding-top: 28px; padding-bottom: 40px; gap: var(--s8); }
  .pub-h1 { font-size: var(--fs-32); line-height: 1.22; margin-top: var(--s3); }
  .pub-lede { margin-top: var(--s4); font-size: var(--fs-15); }
  .pub-cta { margin-top: var(--s6); gap: var(--s2); }
  .pub-cta .btn { flex: 1 1 auto; }
  .pub-cta .btn:first-child { flex-grow: 2; }
  .pub-note { margin-top: var(--s3); font-size: var(--fs-12); }
  .pub-ready { margin-top: var(--s4); padding-top: var(--s3); }

  /* 미리보기 — 사이드바는 위 네이비 띠로 눕힌다 */
  .lp-pv-win { grid-template-columns: minmax(0, 1fr); }
  .lp-pv-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 4px; padding: var(--s2) var(--s3); }
  .lp-pv-brand { padding: 0 var(--s2) 0 0; }
  .lp-pv-store, .lp-pv-sec { display: none; }
  .lp-pv-nav { padding: 4px 6px; font-size: var(--fs-11); }
  .lp-pv-body { padding: var(--s2); }
  .lp-pv-v { font-size: var(--fs-17); }

  .pub-sec { padding: 48px 0; }
  .pub-sec-head { margin-bottom: var(--s4); }
  .pub-h2 { font-size: var(--fs-24); line-height: 1.3; }
  .pub-h3 { font-size: var(--fs-20); line-height: var(--lh-20); }
  .pub-basis { text-align: left; }
  .lp-mk-col { padding: var(--s4); }

  .lp-calc-lede { font-size: var(--fs-15); }
  .lp-calc-chart { padding: var(--s4); }
  .lp-calc-cap { margin-bottom: var(--s4); }
  .lp-cw-area { height: 170px; margin-top: var(--s6); }
  .lp-cw-full { display: none; }
  .lp-cw-man { display: inline; }
  .lp-cw-v { font-size: var(--fs-11); }
  .lp-cw-v--result { font-size: var(--fs-12); }
  .lp-cw-l b { font-size: var(--fs-12); }
  .lp-cw-l small { display: none; }

  .lp-pr-row { grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding: var(--s4); }
  .lp-pr-head { display: none; }
  .lp-pr-row:nth-child(2) { border-top: 0; }
  .lp-pr-q { font-size: var(--fs-15); }
  .lp-pr-a { font-size: var(--fs-14); }
  .lp-pr-l { padding-top: var(--s2); border-top: 1px dashed var(--c-line); }

  .lp-st b { font-size: var(--fs-15); }
  .lp-st p { font-size: var(--fs-14); }
  .lp-kk { padding: var(--s4); }
  .lp-steps-copy > .btn { width: 100%; }

  .lp-pc-plan, .lp-pc-body { padding: var(--s4); }
  .lp-pc-price b { font-size: var(--fs-32); line-height: var(--lh-32); }
  .lp-pc-list { grid-template-columns: minmax(0, 1fr); }
  .lp-faq { margin-top: 48px; }
  .lp-faq-list summary { font-size: var(--fs-15); line-height: var(--lh-15); }
  .lp-faq-list details > p { font-size: var(--fs-14); }

  .pub-final { padding: 48px 0; }
  .pub-final h2 { font-size: var(--fs-24); }
  .pub-final-facts { flex-direction: column; align-items: center; gap: var(--s1); font-size: var(--fs-14); }
  /* 플로팅 [문의하기](base.html)가 우하단에 떠 있다 — 푸터 마지막 줄이 가려지지 않게 */
  .pub-foot { padding-bottom: 104px; }

  .lp-auth { padding: var(--s6) 0 var(--s8); }
  .lp-auth-card { padding: var(--s6) var(--s4); }
  .lp-auth-side { padding: var(--s4); }
  .pub-page { padding-top: var(--s6); padding-bottom: var(--s8); }
  .pub-page .page-head h1 { font-size: var(--fs-24); }
  .pub-page h2 { font-size: var(--fs-20); margin-top: 40px; }
}
/* 320px 급 기기에서만 헤더 [로그인]을 접는다 — 로그인은 마지막 CTA 옆에도 있다 */
@media (max-width: 340px) {
  .pub-login { display: none; }
}
