/* ===========================================================================
   달비 공개 페이지 (랜딩 · 소개 · 요금 · 로그인 · 약관 · 오류)
   dalbi.css 의 토큰과 '작업 화면 말투' 부품(.sel .cur .frame-name .t-hl .band-* .paper)만 쓴다.
   여기서 새 색을 만들지 말 것.

   2026-10-17 '피그마 작업 화면' 판. 섹션마다 다른 원색 면, 종이 물건(요청서·영수증·스티커·문서),
   명조 제목 안에 굵은 고딕 낱말. 같은 구성을 한 화면에서 두 번 쓰지 않는다.
     랜딩  선택 상자 히어로 / 먹 수치 띠 / 코발트 영수증 / 라일락 프레임+연결선 / 페인트 칩 / 라임 스티커 / 표 / 먹 FAQ / 토마토 마감
     소개  머리 선언 / 초안 vs 라임 종이(.vs) / 라일락 번호 스택(.layer) / 스타일 줄 목록 / 먹 정직 목록(.nots) / 토마토 마감
     요금  선택 상자 큰 숫자(.bigprice) / 색 칩 띠(.strip) / 표 / 대비 2열 / 먹 FAQ / 토마토 마감
     로그인 색 면 + 스티커 메모 / 폼    약관  라일락 캔버스 위 문서 한 장    오류  토마토 면 + 선택된 코드 번호
   =========================================================================== */

.sec-soft { background: var(--bg-soft); }
.sec-head { max-width: 60ch; }
.sec-head .h2 { margin-top: 10px; }

/* 섹션 머리 번호 '01 —' 같은 것 대신 작은 한글 한 줄 + 가로선 */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ===========================================================================
   랜딩 시안 (2026-11-06) - Replo(replo.app) 레퍼런스(대표 선택). body.rp 안에서만 적용된다(다른 화면은 아직 이전 판).
   ---------------------------------------------------------------------------
   검은 바탕 + 크림색 글자(= 달비 종이색 #FFF8EC). 버튼은 알약(크림 채움 / 어두운 테두리).
   제목 안 강조 낱말은 같은 Pretendard 의 가는 굵기(.rp-soft) - 한글 이탤릭 세리프가 없어서 굵기 대비로 바꿨다.
   첫 화면은 제작 화면 창(메뉴 | 제작 채팅 | 미리보기), 기능은 왼쪽 글 + 아코디언 / 오른쪽 카드 콜라주(좌우 번갈아).
   글자 규칙(대표 지정): Pretendard 하나 · 자간 -0.03em · 크기는 짝수 px 만, 최소 12px ·
     두 줄 이상 되는 글은 line-height 1.5, 한 줄짜리(버튼 · 라벨 · 숫자)는 normal. 홀수 px · clamp() 금지.
   =========================================================================== */
body.rp {
  --cream: #FFF8EC;
  --bg: #000000;
  --bg-soft: #0E0E0D;
  --bg-sunken: #161614;
  --surface: #111110;
  --surface-2: #1B1B19;
  --ink: var(--cream);
  --ink-soft: rgba(255, 248, 236, .66);
  --ink-faint: rgba(255, 248, 236, .44);
  --line: rgba(255, 248, 236, .12);
  --line-strong: rgba(255, 248, 236, .24);
  --accent: var(--cream);
  --accent-on: #000000;
  --accent-line: rgba(255, 248, 236, .4);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-display: var(--font);
  font-family: var(--font);
  font-size: 16px; line-height: 1.5; letter-spacing: -.03em;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body.rp :is(button, input, select, textarea) { letter-spacing: inherit; font-family: inherit; }
body.rp dd { margin: 0; }
body.rp :is(.btn, .link, .hd-nav a, .hd-logo, .pt-badge, .badge, .chip, kbd, .rp-pill, .rp-tab) { line-height: normal; }

/* 공용 부품(dalbi.css)을 검은 판 글자 규칙으로 - 회원 화면(2026-11-07)도 이 판이라 여기 한 곳에 둔다. */
body.rp .display { font-size: 56px; line-height: 1.5; letter-spacing: -.04em; }
body.rp .h1 { font-size: 40px; line-height: 1.5; letter-spacing: -.04em; }
body.rp .h2 { font-size: 32px; line-height: 1.5; letter-spacing: -.04em; }
body.rp .h3 { font-size: 20px; line-height: 1.5; letter-spacing: -.03em; font-weight: 600; }
body.rp .lead { font-size: 18px; line-height: 1.5; }
body.rp .body { line-height: 1.5; }
body.rp .small { font-size: 14px; }
body.rp .tiny { font-size: 12px; }
body.rp .eyebrow, body.rp .frame-name { font-size: 14px; }
body.rp .btn.btn-sm { font-size: 14px; }
body.rp .btn.btn-lg { font-size: 18px; }
body.rp :is(.btn-ghost, .btn-quiet):hover { --btn-bg: rgba(255, 248, 236, .08); }
body.rp .btn-danger:hover { --btn-bg: rgba(255, 107, 91, .22); }
body.rp .badge { font-size: 12px; line-height: normal; background: rgba(255, 248, 236, .06); }
body.rp .chip { font-size: 14px; }
body.rp .chip.is-on { background: var(--cream); color: #000000; }
body.rp :is(.select, .textarea) { border-radius: 12px; font-size: 16px; background-color: var(--surface); }
body.rp .textarea { line-height: 1.5; }
body.rp .toast { font-size: 14px; }
body.rp .cur em { font-size: 12px; }
body.rp .empty p { line-height: 1.5; }
body.rp .pt-badge { font-size: 14px; background: transparent; border-color: var(--line-strong); color: var(--ink); }

/* 머리줄 · 바닥줄 */
body.rp .hd { background: #000000; border-bottom: 0; }
body.rp .hd-logo { font-size: 18px; color: var(--ink); }
body.rp .hd-nav a { font-size: 16px; color: var(--ink); }
body.rp .hd-nav a:hover { color: var(--ink-soft); }
body.rp .btn { font-size: 16px; border-radius: 999px; }
body.rp .btn-quiet { color: var(--ink); background: transparent; border-color: transparent; }
body.rp .btn-primary { --btn-bg: var(--cream); --btn-ink: #000000; border-color: var(--cream); }
body.rp .btn-primary:hover { --btn-bg: #FFFFFF; }
body.rp .hd-sheet { background: var(--surface); border-color: var(--line); }
body.rp .ft { background: #000000; border-top: 1px solid var(--line); color: var(--ink-soft); }
body.rp .ft .tiny { font-size: 12px; }
body.rp .ft .small, body.rp .ft a, body.rp .ft h4 { font-size: 14px; }
body.rp .ft h4 { color: var(--ink); }
body.rp .ft a { color: var(--ink-soft); }
body.rp .ft a:hover { color: var(--ink); }
body.rp .ft .ft-biz a { font-size: inherit; }

.rp-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 40px; }
.rp-center { text-align: center; }
.rp-center .rp-p { margin-inline: auto; }

/* 글자 */
.rp-title { font-size: 64px; font-weight: 600; line-height: 1.5; letter-spacing: -.04em; }
.rp-h2 { font-size: 40px; font-weight: 600; line-height: 1.5; letter-spacing: -.04em; }
.rp-h3 { margin-top: 96px; font-size: 20px; font-weight: 600; line-height: normal; }
.rp-soft { font-weight: 200; }
.rp-sub { max-width: 40ch; margin: 20px auto 0; font-size: 20px; color: var(--ink-soft); }
.rp-p { max-width: 44ch; margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.rp-fine { margin-top: 16px; font-size: 14px; color: var(--ink-faint); }

/* 알약 버튼 */
.rp-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.rp-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #000000; color: var(--ink);
  font-size: 18px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.rp-pill:hover { border-color: var(--cream); }
.rp-pill.is-cream { background: var(--cream); color: #000000; border-color: var(--cream); }
.rp-pill.is-cream:hover { background: #FFFFFF; }
.rp-pill.is-sm { height: 36px; padding: 0 16px; font-size: 14px; }
:is(.rp-pill, .rp-tab, .rp-round, .rp-acc summary):focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* ---------------- 첫 화면 ---------------- */
.rp-hero { padding: 112px 0 120px; overflow: hidden; }
/* 히어로 양옆 사진 카드 */
.rp-hero { position: relative; }
.rp-hero > .rp-wrap { position: relative; z-index: 1; }
.rp-float { position: absolute; inset: 40px 0 auto; height: 560px; max-width: 1440px; margin: 0 auto; pointer-events: none; }
.rp-fc { position: absolute; margin: 0; padding: 6px 6px 0; border-radius: 12px; background: #FFFFFF; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.rp-fc img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.rp-fc figcaption { padding: 6px 4px 8px; font-size: 12px; font-weight: 600; line-height: normal; color: rgba(23, 23, 28, .6); }
.rp-fc.is-l1 { left: 4%;  top: 0;     width: 160px; rotate: -5deg; }
.rp-fc.is-l2 { left: 13%; top: 216px; width: 136px; rotate: 4deg; }
.rp-fc.is-l3 { left: 3%;  top: 368px; width: 112px; rotate: -2deg; }
.rp-fc.is-r1 { right: 5%;  top: 0;     width: 144px; rotate: 5deg; }
.rp-fc.is-r2 { right: 12%; top: 184px; width: 168px; rotate: -4deg; }
.rp-fc.is-r3 { right: 3%;  top: 376px; width: 112px; rotate: 3deg; }
/* 선택 상자 + 커서 이름표 - 평소엔 숨어 있다가 차례가 오면 2초 보인다 */
.rp-fc-sel { position: absolute; inset: -4px; border: 1.5px solid #4D63FF; border-radius: 14px; opacity: 0; }
.rp-fc-sel i { position: absolute; width: 8px; height: 8px; background: #FFFFFF; border: 1.5px solid #4D63FF; }
.rp-fc-sel i:nth-child(1) { top: -5px; left: -5px; } .rp-fc-sel i:nth-child(2) { top: -5px; right: -5px; }
.rp-fc-sel i:nth-child(3) { bottom: -5px; left: -5px; } .rp-fc-sel i:nth-child(4) { bottom: -5px; right: -5px; }
.rp-fc-sel em { position: absolute; right: -36px; bottom: -30px; display: flex; align-items: flex-start; font-style: normal; }
.rp-fc-sel em .ic { width: 20px; height: 20px; color: #FFFFFF; fill: #4D63FF; }
.rp-fc-sel em::after { content: "달비"; }
.rp-fc-sel em { font-size: 0; }
.rp-fc-sel em::after { margin: 14px 0 0 -2px; padding: 2px 8px; border-radius: 6px; background: #4D63FF; color: #FFFFFF; font-size: 12px; font-weight: 700; line-height: normal; }
@media (prefers-reduced-motion: no-preference) {
  .rp-fc { animation: rp-bob calc(6s + var(--k) * .7s) ease-in-out infinite alternate; animation-delay: calc(var(--k) * -1.3s); }
  .rp-fc-sel { animation: rp-pick 12s infinite; animation-delay: calc(var(--k) * 2s); }
  .rp-fc { transition: scale .3s; }
}
@keyframes rp-bob { from { translate: 0 -8px; } to { translate: 0 8px; } }
@keyframes rp-pick { 0% { opacity: 0; scale: 1.06; } 2%, 15% { opacity: 1; scale: 1; } 17%, 100% { opacity: 0; scale: 1; } }
@media (max-width: 1240px) {
  .rp-fc.is-l2, .rp-fc.is-r2 { display: none; }
  .rp-fc.is-l1, .rp-fc.is-r1 { width: 120px; }
}
/* 좁은 화면: 제목 위에 작은 카드 4장을 한 줄로(양옆에 둘 자리가 없다) */
@media (max-width: 960px) {
  .rp-float { position: relative; inset: auto; height: auto; display: flex; justify-content: center; gap: 12px; margin: 0 auto 40px; padding-top: 8px; }
  .rp-fc, .rp-fc.is-l1, .rp-fc.is-l2, .rp-fc.is-r1, .rp-fc.is-r2 { position: relative; inset: auto; display: block; width: 76px; padding: 4px 4px 0; border-radius: 10px; }
  .rp-fc.is-l3, .rp-fc.is-r3 { display: none; }
  .rp-fc figcaption { padding: 4px 2px 6px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rp-fc-sel em { right: -24px; bottom: -26px; }
}

.rp-demo { position: relative; margin-top: 72px; }
.rp-tabs { display: flex; gap: 4px; margin-left: 24px; }
.rp-tab {
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 12px;
  border: 1px solid transparent; border-bottom: 0; border-radius: 12px 12px 0 0; background: transparent;
  color: var(--ink-faint); font-size: 16px; font-weight: 600; cursor: pointer;
}
.rp-tab img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; opacity: .6; }
.rp-tab:hover { color: var(--ink-soft); }
.rp-tab.is-on { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.rp-tab.is-on img { opacity: 1; }

.rp-win {
  display: grid; grid-template-columns: 200px 320px minmax(0, 1fr); height: 600px;
  border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; background: var(--surface);
  font-size: 14px; line-height: normal; color: var(--ink-soft);
}
.rp-win .ic { width: 16px; height: 16px; }
.rp-side { display: flex; flex-direction: column; gap: 2px; padding: 20px 12px; border-right: 1px solid var(--line); }
.rp-side-k { margin: 16px 10px 6px; font-size: 12px; color: var(--ink-faint); }
.rp-side-k:first-child { margin-top: 0; }
.rp-side span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.rp-side span.is-on { background: var(--surface-2); color: var(--ink); }
.rp-side-item { font-size: 12px; }
.rp-side-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); }
.rp-side-item.is-on::before { background: #CDF24B; }

.rp-chat { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-right: 1px solid var(--line); min-width: 0; }
.rp-chat-head { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); }
.rp-bubble { align-self: flex-end; max-width: 92%; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); color: var(--ink); line-height: 1.5; }
.rp-steps { display: grid; gap: 14px; }
.rp-steps li { position: relative; padding-left: 30px; color: var(--ink-faint); transition: color .3s; }
.rp-steps li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); box-sizing: border-box;
}
.rp-steps li b { display: block; font-weight: 600; }
.rp-steps li small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-faint); }
.rp-steps li.is-now { color: var(--ink); }
.rp-steps li.is-now::before { border-color: var(--cream); border-top-color: transparent; animation: rp-spin .8s linear infinite; }
.rp-steps li.is-done { color: var(--ink); }
.rp-steps li.is-done::before {
  border: 0; background: var(--cream);
}
.rp-steps li.is-done::after {
  content: ""; position: absolute; left: 6px; top: 4px; width: 5px; height: 8px;
  border: solid #000; border-width: 0 2px 2px 0; rotate: 45deg;
}
@keyframes rp-spin { to { rotate: 360deg; } }
.rp-chat-foot { line-height: 1.5; color: var(--ink-soft); }
.rp-input {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 8px 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--ink-faint);
}
.rp-input span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); color: #000000; }

/* 미리보기 - 상세페이지가 천천히 아래로 흐른다 */
.rp-view { display: flex; flex-direction: column; min-width: 0; background: #0A0A09; }
.rp-view-bar { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.rp-view-url { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: var(--surface-2); }
.rp-view-btn { padding: 8px 14px; border-radius: 8px; background: var(--cream); color: #000000; font-weight: 600; }
.rp-view-frame { position: relative; flex: 1; overflow: hidden; }
.rp-page {
  position: absolute; inset: 20px 0 0; width: 380px; margin: 0 auto; overflow: hidden;
  background: #FFFFFF; color: #17171C; border-radius: 4px 4px 0 0;
  opacity: 0; transition: opacity .5s;
}
.rp-page.is-on { opacity: 1; }
.rp-pg-scroll { animation: rp-scroll 16s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes rp-scroll { 0%, 12% { translate: 0 0; } 100% { translate: 0 calc(-100% + var(--frame, 528px)); } }   /* --frame = 미리보기 칸 높이 - 위 여백 */
.rp-pg-hero { padding: 32px 28px 0; background: var(--tone); }
.rp-pg-k { font-size: 12px; font-weight: 700; line-height: normal; color: var(--pg-ink); }
.rp-pg-hero h3 { margin-top: 6px; font-size: 28px; font-weight: 800; line-height: 1.5; }
.rp-pg-hero img { display: block; max-width: none; width: calc(100% + 56px); height: 280px; margin: 20px -28px 0; object-fit: cover; }
.rp-pg-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 24px 20px; }
.rp-pg-points div { padding: 14px 8px; border-radius: 8px; background: var(--tone); text-align: center; }
.rp-pg-points small { display: block; font-size: 12px; line-height: normal; color: rgba(23, 23, 28, .6); }
.rp-pg-points b { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; line-height: normal; color: var(--pg-ink); }
.rp-pg-cut { padding: 8px 28px 28px; text-align: center; }
.rp-pg-cut img { display: block; width: 72%; height: auto; margin: 0 auto; }
.rp-pg-cut p { margin-top: 12px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.rp-pg-table { width: calc(100% - 40px); margin: 0 20px 32px; border-top: 2px solid #17171C; font-size: 12px; line-height: normal; }
.rp-pg-table th, .rp-pg-table td { padding: 10px 6px; border-bottom: 1px solid rgba(23, 23, 28, .12); text-align: left; }
.rp-pg-table th { width: 30%; color: rgba(23, 23, 28, .6); font-weight: 600; }

/* 붙여 둔 메모 */
.rp-note {
  position: absolute; z-index: 2; left: -8px; top: 160px; width: 220px; padding: 14px 16px;
  border-radius: 12px; background: #FFE27A; color: #17171C; rotate: -3deg;
  box-shadow: 0 18px 48px -12px rgba(0, 0, 0, .6); font-size: 14px; line-height: 1.5;
}
.rp-note-k { font-size: 12px; font-weight: 700; line-height: normal; color: rgba(23, 23, 28, .6); margin-bottom: 4px; }

/* ---------------- 기능 구역 ---------------- */
.rp-sec { padding: 120px 0; }
.rp-row { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; gap: 80px; }
.rp-row.is-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.rp-row.is-flip .rp-copy { order: 2; }
.rp-acc { margin-top: 40px; border-top: 1px solid var(--line); }
.rp-acc details { border-bottom: 1px solid var(--line); }
.rp-acc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0;
  list-style: none; cursor: pointer; font-size: 18px; font-weight: 500; line-height: normal; color: var(--ink-soft);
}
.rp-acc summary::-webkit-details-marker { display: none; }
.rp-acc summary::after { content: "+"; font-size: 20px; font-weight: 300; color: var(--ink-faint); }
.rp-acc details[open] summary { color: var(--ink); }
.rp-acc details[open] summary::after { content: "−"; color: #FF6B5B; }
.rp-acc details p { padding: 0 0 24px; font-size: 16px; color: var(--ink-soft); }

/* 카드 콜라주 - 흰 카드 몇 장을 살짝 기울여 겹친다(±3deg 안) */
.rp-collage { position: relative; min-height: 480px; }
.rp-card {
  position: absolute; padding: 16px; border-radius: 12px; background: #FFFFFF; color: #17171C;
  font-size: 14px; line-height: normal; box-shadow: 0 18px 48px -16px rgba(0, 0, 0, .7);
}
.rp-card img { display: block; }
.rp-card-k { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; font-size: 12px; font-weight: 700; color: rgba(23, 23, 28, .56); }
.rp-card-k small { font-size: 12px; font-weight: 500; }
.rp-card-k b { color: #2B45FF; }
.rp-c-brief { top: 0; left: 0; width: 320px; rotate: -2deg; }
.rp-c-line { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(23, 23, 28, .08); }
.rp-c-line em { font-style: normal; color: rgba(23, 23, 28, .5); }
.rp-c-photos { top: 24px; right: 0; width: 300px; rotate: 2deg; }
.rp-c-photos div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rp-c-photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.rp-c-order { top: 200px; left: 40px; width: 260px; rotate: 1deg; }
.rp-c-order ol { display: grid; gap: 4px; }
.rp-c-order li { display: flex; gap: 10px; padding: 7px 10px; border-radius: 6px; background: #F4F4F6; }
.rp-c-order li span { width: 14px; color: rgba(23, 23, 28, .4); font-size: 12px; }
.rp-c-excel { top: 230px; right: 20px; width: 280px; rotate: -2deg; }
.rp-xl { display: grid; grid-template-columns: 28px 1fr; border-top: 1px solid rgba(23, 23, 28, .12); border-left: 1px solid rgba(23, 23, 28, .12); }
.rp-xl span { padding: 8px; border-right: 1px solid rgba(23, 23, 28, .12); border-bottom: 1px solid rgba(23, 23, 28, .12); }
.rp-xl span:nth-child(odd) { background: #F4F4F6; color: rgba(23, 23, 28, .5); text-align: center; }

.rp-col-edit { min-height: 520px; }
.rp-c-canvas { top: 0; left: 0; right: 80px; padding: 0; overflow: hidden; background: #161614; color: var(--ink); }
.rp-opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
.rp-opts span { display: flex; gap: 6px; padding: 6px 10px; border-radius: 6px; background: #22221F; }
.rp-opts em { font-style: normal; color: var(--ink-faint); }
.rp-c-stage { display: grid; place-items: center; padding: 32px 24px 40px; }
.rp-c-block { position: relative; width: 300px; background: #FFF1DC; color: #17171C; }
.rp-c-block img { width: 100%; height: 160px; object-fit: cover; }
.rp-c-txt { position: relative; padding: 16px 20px 20px; }
.rp-c-txt small { font-size: 12px; font-weight: 700; color: #B4541E; }
.rp-c-txt b { display: block; margin-top: 4px; font-size: 24px; font-weight: 800; line-height: 1.5; transform-origin: top left; }
.rp-sel { position: absolute; inset: 34px 14px 14px; border: 1.5px solid #2B45FF; pointer-events: none; transform-origin: top left; }
.rp-sel i { position: absolute; width: 8px; height: 8px; background: #FFFFFF; border: 1.5px solid #2B45FF; }
.rp-sel i:nth-child(1) { top: -5px; left: -5px; } .rp-sel i:nth-child(2) { top: -5px; right: -5px; }
.rp-sel i:nth-child(3) { bottom: -5px; left: -5px; } .rp-sel i:nth-child(4) { bottom: -5px; right: -5px; }
.rp-size { position: absolute; left: 50%; bottom: -26px; translate: -50% 0; display: grid; padding: 2px 6px; background: #2B45FF; color: #FFFFFF; font-size: 12px; font-style: normal; font-weight: 600; }
.rp-size span { grid-area: 1 / 1; }
.rp-size span + span { opacity: 0; }
.rp-drag { position: absolute; right: -14px; bottom: -18px; color: #FFFFFF; }
.rp-drag .ic { width: 20px; height: 20px; fill: #2B45FF; }
.rp-c-msg { right: 0; bottom: 0; width: 280px; rotate: 2deg; }
.rp-c-say { padding: 12px 14px; border-radius: 12px; background: #2B45FF; color: #FFFFFF; line-height: 1.5; }
.rp-c-done { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: #1F7A58; }
.rp-c-done .ic { width: 16px; height: 16px; }

/* 구성 템플릿 벽 - 기울인 격자 */
.rp-wall { position: relative; height: 520px; overflow: hidden; border-radius: 16px; }
.rp-wall::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 64px 32px #000000; pointer-events: none; }
.rp-wall-in {
  position: absolute; inset: -120px -160px; display: grid; grid-template-columns: repeat(5, 180px); gap: 16px;
  rotate: -12deg; transform: perspective(1400px) rotateX(18deg);
}
.rp-tp { overflow: hidden; border-radius: 10px; background: #FFFFFF; color: #17171C; font-size: 12px; line-height: normal; }
.rp-tp-hero { height: 96px; padding: 12px; background: var(--tone); display: flex; align-items: flex-end; }
.rp-tp-hero b { font-size: 14px; font-weight: 800; }
.tone-cobalt .rp-tp-hero b { color: #FFFFFF; }
.rp-tp-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid rgba(23, 23, 28, .08); color: rgba(23, 23, 28, .64); }
.rp-tp-row span { width: 20px; height: 6px; border-radius: 2px; background: rgba(23, 23, 28, .16); }
.tone-tomato { --tone: var(--tomato); } .tone-sun { --tone: var(--sun); } .tone-lilac { --tone: var(--lilac); }
.tone-pink { --tone: var(--pink); } .tone-cobalt { --tone: var(--cobalt); } .tone-lime { --tone: var(--lime); }

.rp-tp-hero { position: relative; overflow: hidden; }
.rp-tp-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-tp-hero:has(img) { height: 140px; }
.rp-tp-hero:has(img) b { position: relative; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .64); color: var(--cream); }

/* 분위기 사진 한 장(소개 머리) */
.rp-wide { margin-top: 64px; }
.rp-wide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }

/* 마감 - 배경 사진 위 글자 */
.rp-close.has-photo { position: relative; overflow: hidden; isolation: isolate; }
.rp-close-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.rp-close.has-photo .rp-wrap { position: relative; }

/* 예시 넘김판 */
.rp-car-nav { display: flex; justify-content: flex-end; gap: 8px; margin: 48px 0 20px; }
.rp-round { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: #000000; color: var(--ink); cursor: pointer; }
.rp-round:hover { border-color: var(--cream); }
.rp-round .ic { width: 18px; height: 18px; }
.rp-round[data-rp-car="-1"] .ic { rotate: 180deg; }
.rp-car { display: grid; grid-auto-flow: column; grid-auto-columns: 360px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rp-car::-webkit-scrollbar { display: none; }
.rp-use { scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.rp-use-ph { position: relative; height: 240px; }
.rp-use-ph img { width: 100%; height: 100%; object-fit: cover; }
.rp-use-ph span { position: absolute; left: 12px; top: 12px; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: var(--cream); font-size: 12px; line-height: normal; }
.rp-use-body { padding: 20px; }
.rp-use .rp-card-k { color: var(--ink-faint); }
.rp-use-brief { min-height: 96px; font-size: 16px; color: var(--ink); }
.rp-use .rp-pill { margin-top: 16px; }
.rp-use.is-own { display: flex; align-items: flex-end; background: #161614; }

/* 원본 받기 카드 */
.rp-c-bill { position: relative; width: min(100%, 520px); margin: 0 auto; padding: 24px; rotate: -1deg; }
.rp-lens { display: grid; gap: 6px; }
.rp-lens li { display: grid; grid-template-columns: 76px minmax(0, 1fr) 64px; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; }
.rp-lens li.is-on { background: #F4F4F6; outline: 1.5px solid #2B45FF; }
.rp-lens span { color: rgba(23, 23, 28, .6); }
.rp-lens i { display: block; width: var(--w); height: 8px; border-radius: 4px; background: #17171C; }
.rp-lens li.is-on i { background: #2B45FF; }
.rp-lens b { text-align: right; font-weight: 700; }
.rp-c-total { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(23, 23, 28, .1); }
.rp-c-total .rp-pill { background: #17171C; color: #FFFFFF; border-color: #17171C; }

/* 충전 표 */
body.rp .ptable { border-top: 1px solid var(--line-strong); margin-top: 16px; }
body.rp .ptable th { font-size: 12px; }
body.rp .ptable td.name, body.rp .ptable td.won { font-size: 16px; }
body.rp .ptable td.pt { font-size: 24px; line-height: normal; }
body.rp .ptable td.pt small, body.rp .ptable td.per { font-size: 14px; }
body.rp .ptable td.bonus { color: #CDF24B; }
body.rp .ptable tbody tr:hover { background: rgba(255, 248, 236, .04); }
body.rp .ptable .tag { rotate: 0deg; border-radius: 999px; background: var(--cream); color: #000000; font-size: 12px; }

/* FAQ */
.rp-faq { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 48px; }
body.rp .faq { margin-top: 0; border-top-color: var(--line); }
body.rp .faq summary { font-size: 18px; font-weight: 500; line-height: 1.5; }
body.rp .faq summary::after { font-size: 20px; }
body.rp .faq details[open] summary::after { color: #FF6B5B; }
body.rp .faq summary:hover { color: var(--ink); }
body.rp .faq .faq-a { font-size: 16px; line-height: 1.5; }
body.rp .gal { margin-top: 48px; }
body.rp .gal-item { border: 1px solid var(--line-strong); border-radius: 12px; }

/* 마감 */
.rp-close { padding: 160px 0 176px; }

/* 움직임: 단계 04 손잡이 끌기 */
@media (prefers-reduced-motion: no-preference) {
  .rp-c-txt b, .rp-sel { animation: rp-grow 4s cubic-bezier(.6, 0, .2, 1) infinite; }
  .rp-size span { animation: rp-size-a 4s infinite; }
  .rp-size span + span { animation-name: rp-size-b; }
}
@keyframes rp-grow { 0%, 20% { scale: 1; } 45%, 80% { scale: 1.12; } 100% { scale: 1; } }
@keyframes rp-size-a { 0%, 30% { opacity: 1; } 34%, 86% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes rp-size-b { 0%, 30% { opacity: 0; } 34%, 86% { opacity: 1; } 90%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rp-pg-scroll, .rp-steps li.is-now::before { animation: none; }
  .rp-page { transition: none; }
}

/* ---------------- 좁은 화면 ---------------- */
@media (max-width: 1100px) {
  .rp-win { grid-template-columns: 280px minmax(0, 1fr); }
  .rp-side { display: none; }
  .rp-row, .rp-row.is-flip { grid-template-columns: 1fr; gap: 56px; }
  .rp-row.is-flip .rp-copy { order: 0; }
  .rp-faq { grid-template-columns: 1fr; gap: 24px; }
  .rp-note { display: none; }
}
@media (max-width: 760px) {
  .rp-wrap { padding-inline: 16px; }
  .rp-hero { padding: 64px 0 80px; }
  .rp-title { font-size: 36px; }
  .rp-h2 { font-size: 28px; }
  .rp-sub, .rp-p { font-size: 16px; }
  .rp-pill { height: 44px; padding: 0 20px; font-size: 16px; }
  .rp-demo { margin-top: 48px; }
  .rp-tabs { margin-left: 0; overflow-x: auto; scrollbar-width: none; }
  .rp-tab { flex: none; height: 48px; padding-right: 14px; font-size: 14px; }
  .rp-tab img { width: 24px; height: 24px; }
  .rp-win { grid-template-columns: 1fr; height: auto; }
  .rp-chat { border-right: 0; border-bottom: 1px solid var(--line); }
  .rp-input { margin-top: 0; }
  .rp-view-frame { flex: none; height: 480px; }
  .rp-page { --frame: 460px; }
  .rp-page { width: calc(100% - 32px); }
  .rp-sec { padding: 80px 0; }
  .rp-acc summary { font-size: 16px; }
  .rp-collage { min-height: 0; display: grid; gap: 12px; }
  .rp-card { position: relative; inset: auto; width: auto; rotate: 0deg; }
  .rp-c-canvas { right: auto; }
  .rp-c-block { width: 100%; max-width: 300px; }
  .rp-wall { height: 360px; }
  .rp-car { grid-auto-columns: 280px; }
  .rp-close { padding: 96px 0 112px; }
  .rp-wide { margin-top: 40px; }
  .rp-wide img { border-radius: 12px; }
  .rp-close-bg { opacity: .5; }
}


/* ---------------- 공개 화면 공용(소개 · 요금 · 로그인 · 약관 · 갤러리 · 오류) - Replo 판 ---------------- */
body.rp { --accent-dim: rgba(255, 248, 236, .12); --danger: #FF6B5B; }
.rp-kicker { font-size: 14px; font-weight: 600; line-height: normal; color: var(--ink-faint); }
.rp-kicker + .rp-title, .rp-kicker + .rp-h2 { margin-top: 12px; }
.rp-head { padding: 112px 0 72px; }
.rp-sec.is-tight { padding-top: 24px; }
.rp-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: 40px; }
.rp-split .rp-p { margin-top: 0; padding-bottom: 8px; }

/* 세 칸 */
.rp-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.rp-trio > div { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.rp-trio .rp-card-k { color: var(--ink-faint); }
.rp-trio b { display: block; font-size: 24px; font-weight: 600; line-height: normal; }
.rp-trio p:last-child { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* 두 카드 - 오른쪽(.is-on)이 크림 */
.rp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.rp-duo > div { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.rp-duo .rp-card-k { color: var(--ink-faint); }
.rp-duo b { display: block; font-size: 28px; font-weight: 600; line-height: normal; }
.rp-duo ul { display: grid; gap: 10px; margin-top: 24px; }
.rp-duo li { position: relative; padding-left: 20px; font-size: 16px; color: var(--ink-soft); }
.rp-duo li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1.5px; background: currentColor; }
.rp-duo > .is-on { background: var(--cream); border-color: var(--cream); color: #000000; }
.rp-duo > .is-on .rp-card-k { color: rgba(0, 0, 0, .5); }
.rp-duo > .is-on li { color: rgba(0, 0, 0, .72); }

/* 번호 목록(실제 순서에만) */
.rp-nums { border-top: 1px solid var(--line); }
.rp-nums li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rp-nums span { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.rp-nums b { display: block; font-size: 20px; font-weight: 600; line-height: normal; }
.rp-nums p { margin-top: 8px; font-size: 16px; color: var(--ink-soft); }

/* 스타일 카드 */
.rp-styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rp-styles li { display: grid; gap: 4px; }
.rp-sw { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--sw); }
.rp-sw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rp-styles b { margin-top: 12px; font-size: 16px; font-weight: 600; line-height: normal; }
.rp-styles p { font-size: 14px; color: var(--ink-soft); }

/* 정직 목록 - 접지 않는다 */
.rp-nots { display: grid; gap: 12px; }
.rp-nots > div { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.rp-nots b { display: block; font-size: 18px; font-weight: 600; line-height: normal; }
.rp-nots p { margin-top: 8px; font-size: 16px; color: var(--ink-soft); }

/* 요금 화면 길이 카드(기울이지 않는다) */
.rp-c-bill.is-flat { position: relative; rotate: 0deg; width: 100%; }
.rp-c-bill.is-flat .rp-lens li { grid-template-columns: 76px minmax(0, 1fr) 64px 80px; }
.rp-lens small { text-align: right; font-size: 12px; color: rgba(23, 23, 28, .5); }

/* 로그인 · 가입 · 가입 완료 */
body.rp .auth-side { border-right: 1px solid var(--line); background: var(--surface); color: var(--ink); --ink-soft: rgba(255, 248, 236, .66); }
body.rp .auth-side .h1 { font-size: 40px; font-weight: 600; line-height: 1.5; letter-spacing: -.04em; }
body.rp .auth-side .lead { font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
body.rp .auth-side ul { margin-top: 32px; gap: 8px; }
body.rp .auth-side li { padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); rotate: 0deg; box-shadow: none; margin-left: 0; font-size: 14px; font-weight: 500; }
.auth-demo { position: relative; width: 240px; margin-top: 40px; overflow: hidden; border-radius: 12px; background: #FFF1DC; color: #17171C; rotate: -2deg; box-shadow: 0 18px 48px -16px rgba(0, 0, 0, .7); }
.auth-demo img { display: block; width: 100%; height: 140px; object-fit: cover; }
.auth-demo p { padding: 12px 16px 16px; font-size: 16px; font-weight: 800; line-height: normal; }
.auth-demo small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: rgba(23, 23, 28, .5); }
body.rp .auth-dog { right: 48px; bottom: 40px; width: 64px; }
body.rp .auth-head h1 { font-size: 32px; font-weight: 600; line-height: normal; letter-spacing: -.04em; }
body.rp .auth-head p { font-size: 16px; line-height: 1.5; }
body.rp .auth-head .frame-name { font-size: 14px; color: var(--ink-faint); }
body.rp .sso-btn { border-radius: 999px; font-size: 16px; font-weight: 600; padding: 14px 20px; }
body.rp .sso-btn[disabled] { color: var(--ink-faint); }
body.rp .auth-terms, body.rp .auth-or { font-size: 12px; line-height: 1.5; }
body.rp .auth-switch { font-size: 14px; }
body.rp .auth-switch a { color: var(--ink); text-decoration-color: var(--ink-faint); }
body.rp .field > label { font-size: 14px; }
body.rp .field .hint, body.rp .field .err { font-size: 12px; line-height: 1.5; }
body.rp .input { border-radius: 12px; font-size: 16px; background: var(--surface); }
body.rp .check span { font-size: 14px; line-height: 1.5; }
body.rp .btn-block { height: 52px; font-size: 16px; font-weight: 600; }
body.rp .me-head, body.rp .det-kv { border-color: var(--line); }

/* 약관 - 검은 바탕 위 크림 종이 한 장 */
body.rp .doc { background: #000000; padding: 72px 0 120px; }
body.rp .doc > .wrap > .frame-name { color: var(--ink-faint); font-size: 14px; }
body.rp .doc-sheet {
  --ink: #17171C; --ink-soft: rgba(23, 23, 28, .74); --ink-faint: rgba(23, 23, 28, .5); --line: rgba(23, 23, 28, .12);
  background: var(--cream); color: #17171C; border: 0; border-radius: 16px; box-shadow: none;
}
body.rp .doc .h1 { font-size: 32px; font-weight: 700; line-height: normal; }
body.rp .doc h2 { font-size: 18px; font-weight: 700; }
body.rp .doc p, body.rp .doc li { font-size: 16px; line-height: 1.5; }
body.rp .doc li::before { background: #17171C; }
body.rp .doc-note { border: 0; border-radius: 12px; background: #FFE27A; }
body.rp .doc-note .small { font-size: 14px; line-height: 1.5; }

/* 갤러리 한 건 */
body.rp .gv { padding: 72px 0 120px; }
body.rp .gv-shot { border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
body.rp .gv-title { font-size: 28px; font-weight: 600; line-height: 1.5; letter-spacing: -.04em; }
body.rp .gv-side .frame-name, body.rp .gv-side .tiny { font-size: 14px; color: var(--ink-faint); }
body.rp .gv-side .body { font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

/* 오류 */
body.rp .errpage { background: #000000; color: var(--ink); }
body.rp .errpage img { width: 72px; margin-bottom: 32px; }
body.rp .errpage .code { font-size: 120px; font-weight: 200; line-height: normal; letter-spacing: -.04em; }
body.rp .err-msg { margin-top: 8px; font-size: 24px; font-weight: 600; line-height: 1.5; }

@media (max-width: 1100px) {
  .rp-styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rp-head { padding: 64px 0 48px; }
  .rp-trio, .rp-duo { grid-template-columns: 1fr; }
  .rp-duo > div { padding: 24px; }
  .rp-duo b { font-size: 24px; }
  .rp-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-c-bill.is-flat .rp-lens li { grid-template-columns: 64px minmax(0, 1fr) 56px; }
  .rp-c-bill.is-flat .rp-lens small { display: none; }
  body.rp .doc-sheet { padding: 32px 20px; }
  body.rp .errpage .code { font-size: 80px; }
}


/* 전후 비교 슬라이더. 손잡이를 끌면 왼쪽은 마킹본, 오른쪽은 원본.
   JS 는 --p 만 바꾼다(dalbi.js initCompare). JS 가 없어도 기본 52% 로 둘 다 보인다. */
.cmp { --p: 52%; position: relative; overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-sunken); margin-bottom: 40px; }
.cmp:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.cmp-shot { position: relative; aspect-ratio: 16 / 10; }
.cmp-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp-top { clip-path: inset(0 0 0 var(--p)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; z-index: 2; background: var(--accent); pointer-events: none; }
.cmp-knob {
  position: absolute; top: 50%; left: var(--p); translate: -50% -50%; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-on); pointer-events: none;
}
.cmp-range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.cmp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 40px; height: 40px; }
.cmp-range::-moz-range-thumb { width: 40px; height: 40px; border: 0; }
.cmp-tag {
  position: absolute; top: 14px; z-index: 2; padding: 5px 10px;
  font-size: .78rem; font-weight: 700; background: var(--bg); border: 1px solid var(--line-strong); color: var(--ink);
}
.cmp-tag.is-l { left: 14px; }
.cmp-tag.is-r { right: 14px; color: var(--accent); border-color: var(--accent-line); }
.cmp-hint { margin: -28px 0 36px; font-size: .84rem; color: var(--ink-faint); }


/* ===========================================================================
   공용 - 충전 상품 표(랜딩 · 요금). 모바일에서는 한 상품이 한 덩이로 쌓인다.
   =========================================================================== */
.ptable { margin-top: 40px; border-top: 2px solid var(--ink); }
.ptable th, .ptable td { text-align: left; padding: 18px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable th { font-size: .82rem; font-weight: 600; color: var(--ink-faint); }
.ptable th:first-child, .ptable td:first-child { padding-left: 0; }
.ptable th:last-child, .ptable td:last-child { padding-right: 0; text-align: right; }
.ptable td.name { font-weight: 700; }
.ptable td.pt { font-size: 1.75rem; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; }
.ptable td.pt small { font-size: .78rem; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); margin-left: 2px; }
.ptable td.bonus { color: var(--accent); font-weight: 700; }
.ptable td.won { font-weight: 700; font-size: 1.05rem; }
.ptable td.per { color: var(--ink-soft); font-size: .9rem; }
.ptable tbody tr:hover { background: rgba(205, 242, 75, .3); }
/* 배지는 붙여 놓은 꼬리표 - 알약 아님 */
.ptable .tag {
  display: inline-block; margin-left: 8px; padding: 3px 8px; vertical-align: 2px; rotate: -4deg;
  background: var(--tomato); color: var(--coal); font-size: .74rem; font-weight: 800; font-style: normal;
}
@media (max-width: 680px) {
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .ptable td { display: block; padding: 0; border: 0; text-align: left !important; }
  .ptable td.name { grid-column: 1 / -1; }
  .ptable td::before { content: attr(data-th); display: block; font-size: .76rem; color: var(--ink-faint); font-weight: 600; margin-bottom: 2px; }
  .ptable td.name::before { display: none; }
}

/* 요금: 차감 기준 - 색 칩 세 장을 이어 붙인 띠 */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--coal); color: var(--coal); }
.strip > div { padding: 30px 28px 32px; }
.strip > div:nth-child(1) { background: var(--sun); }
.strip > div:nth-child(2) { background: var(--lilac); border-left: 1.5px solid var(--coal); }
.strip > div:nth-child(3) { background: var(--lime); border-left: 1.5px solid var(--coal); }
.strip b { display: block; margin-bottom: 10px; font-size: .9rem; font-weight: 700; color: rgba(26, 21, 17, .72); }
.strip p { font-size: 1.5rem; font-weight: 900; line-height: 1.3; letter-spacing: -.03em; }
.strip p small { display: block; margin-top: 8px; font-size: .86rem; font-weight: 600; line-height: 1.6; letter-spacing: 0; color: rgba(26, 21, 17, .78); }
@media (max-width: 760px) {
  .strip { grid-template-columns: 1fr; }
  .strip > div:nth-child(n + 2) { border-left: 0; border-top: 1.5px solid var(--coal); }
}

/* 요금 히어로: 선택 상자에 담긴 큰 숫자 */
.bigprice { display: flex; align-items: flex-end; gap: 12px 28px; flex-wrap: wrap; margin-top: 44px; }
.bigprice .sel { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.08; margin-bottom: .55em; }
.bigprice-note { padding-bottom: 1.6rem; max-width: 34ch; font-size: 1rem; color: var(--ink-soft); }

/* ===========================================================================
   공용 - FAQ 아코디언. 표시는 + 와 − 글자. 색 면(.band-*) 안에서도 토큰으로 읽힌다.
   =========================================================================== */
.faq { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--ink-faint); }
.faq details[open] summary::after { content: "−"; color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq .faq-a { padding: 0 0 24px; color: var(--ink-soft); line-height: 1.85; max-width: 72ch; }

/* 소개 · 요금 마감 - 토마토 면 가운데 한 덩이. 몽이는 가만히 있는다. */
.close { padding: 96px 0; text-align: center; background: var(--tomato); color: var(--coal); }
.close img { width: 120px; margin: 0 auto 22px; }
.close h2 { margin-bottom: 14px; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.close p { max-width: 44ch; margin-inline: auto; color: rgba(26, 21, 17, .8); }
.close .btn { margin-top: 28px; }

/* 공개 갤러리 (설정에서 켠 경우에만 노출) */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.gal-item { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1.5px solid var(--coal); background: var(--bg-sunken); }
.gal-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
a.gal-item { display: block; }
a.gal-item:hover, a.gal-item:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.gal-tag { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: var(--coal); color: var(--paper); font-size: .74rem; font-weight: 700; }

/* 공개 갤러리 한 건(/gallery/<seq>) - 왼쪽 결과물 조각을 빈틈없이 이어 그리고, 오른쪽에 짧은 설명 + 가입. */
.gv { padding: 48px 0 96px; }
.gv-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.gv-shot { width: 100%; margin: 0 auto; border: 1.5px solid var(--coal); background: var(--bg-sunken); }
.gv-shot img { display: block; width: 100%; height: auto; }
.gv-side { position: sticky; top: calc(var(--header-h) + 24px); }
.gv-title { margin-top: 10px; font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.3; }
@media (max-width: 900px) {
  .gv-in { grid-template-columns: 1fr; }
  .gv-side { position: static; order: -1; }
}

/* ===========================================================================
   소개 · 요금 공용 가족
   =========================================================================== */
/* 머리 선언 - 프레임 이름 + 큰 제목. 스티커 낱말(.t-hl)이 한 군데 붙는다. */
.page-head { padding: 72px 0 64px; }
.page-head .display { margin-top: 18px; max-width: 18ch; }
.page-head .lead { margin-top: 24px; }

/* 대비 2열 - 왼쪽은 점선 초안, 오른쪽은 라임 종이 한 장. 줄 긋기(.is-old)는 '예전 방식' 목록에만 -
   요금 화면의 왼쪽은 '무료' 목록이라 그으면 '안 된다'로 읽힌다. */
.vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
.vs-col { padding: 28px 28px 30px; border: 1.5px dashed var(--line-strong); }
.vs-col .eyebrow { margin-bottom: 8px; }
.vs-col h3 { margin-bottom: 16px; font-size: 1.45rem; font-weight: 900; letter-spacing: -.02em; }
.vs-col li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-soft); line-height: 1.7; }
.vs-col li::before { content: "–"; position: absolute; left: 2px; color: var(--ink-faint); font-weight: 800; }
.vs-col.is-old li::before { content: "×"; color: var(--tomato); }
.vs-col.is-old li { text-decoration: line-through; text-decoration-color: rgba(255, 91, 46, .7); text-decoration-thickness: 1.5px; }
.vs-col.is-on { background: var(--lime); border: 1.5px solid var(--coal); rotate: .8deg; color: var(--coal); }
.vs-col.is-on .eyebrow { color: rgba(26, 21, 17, .7); }
.vs-col.is-on li { color: var(--coal); border-top-color: rgba(26, 21, 17, .18); }
.vs-col.is-on li::before { content: "○"; color: var(--coal); font-size: .8em; top: 12px; }

/* 번호 세로 스택(라일락 면 위) - 숫자는 굵은 고딕, 토마토 */
.layer { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-top: 1.5px solid var(--coal); }
.layer:last-child { border-bottom: 1.5px solid var(--coal); }
.layer-no { font-size: 3.4rem; font-weight: 900; line-height: .9; letter-spacing: -.05em; color: var(--tomato); font-variant-numeric: tabular-nums; }
.layer h3 { font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em; }
@media (max-width: 620px) { .layer { grid-template-columns: 1fr; gap: 10px; } }

/* 스타일 줄 목록(소개) - 견본은 먹색 테두리 칩 */
.styles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 40px; border-top: 1px solid var(--line-strong); }
.styles > div { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.styles .sw { width: 52px; height: 52px; background: var(--sw); border: 1.5px solid var(--coal); flex: none; }
.styles .sw.has-shot { width: 56px; height: 72px; overflow: hidden; position: relative; background: var(--bg-sunken); }
.styles .sw.has-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.styles b { display: block; margin-bottom: 4px; font-weight: 800; }
.styles p { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 760px) { .styles { grid-template-columns: 1fr; } }

/* 정직 목록(먹색 면 위) - 숨기지 않고 다 펼쳐 둔다 */
.nots { border-top: 1px solid var(--line-strong); }
.nots > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 16px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.nots h3 { font-size: 1.08rem; font-weight: 800; }
.nots h3::before { content: "× "; color: var(--tomato); }
.nots p { color: var(--ink-soft); line-height: 1.8; font-size: .95rem; }
@media (max-width: 680px) { .nots > div { grid-template-columns: 1fr; gap: 8px; } }

.page-band { padding: 96px 0; }
@media (max-width: 720px) { .page-band { padding: 72px 0; } .page-head { padding: 48px 0 44px; } }

/* ===========================================================================
   로그인 / 가입 / 가입 완료 - 왼쪽은 색 면 + 스티커 메모 세 장, 오른쪽은 폼
   색: 로그인 토마토 · 가입 코발트 · 가입 완료 라임(기본). 900px 아래에서는 왼쪽을 접는다.
   =========================================================================== */
.auth { min-height: calc(100dvh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  position: sticky; top: var(--header-h); align-self: start;
  height: calc(100dvh - var(--header-h)); overflow: hidden;
  padding: 72px 64px; display: flex; flex-direction: column; justify-content: center;
  border-right: 1.5px solid var(--coal); background: var(--lime); color: var(--coal);
  --ink-soft: rgba(26, 21, 17, .78);
}
.auth-side.band-tomato { background: var(--tomato); }
.auth-side.band-cobalt { background: var(--cobalt); color: var(--paper); --ink-soft: rgba(255, 248, 236, .82); }
.auth-side .h1 { max-width: 16ch; margin-bottom: 20px; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.auth-side .lead { max-width: 34ch; }
.auth-side ul { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; max-width: 34ch; }
.auth-side li {
  padding: 14px 18px; font-size: .93rem; font-weight: 700; line-height: 1.5;
  background: var(--n, var(--paper)); color: var(--coal); rotate: var(--r, 0deg);
  box-shadow: 0 1px 1px rgba(26, 21, 17, .14), 0 12px 20px -12px rgba(26, 21, 17, .45);
}
.auth-side li:nth-child(1) { --n: var(--sun); --r: -1.6deg; }
.auth-side li:nth-child(2) { --n: var(--pink); --r: 1.2deg; margin-left: 28px; }
.auth-side li:nth-child(3) { --n: var(--paper); --r: -.6deg; margin-left: 8px; }
.auth-dog { position: absolute; right: 44px; bottom: -6px; width: 150px; height: auto; }

.auth-main { display: grid; place-items: center; padding: 56px 24px; }
.auth-box { width: 100%; max-width: 400px; }
.auth-head { margin-bottom: 28px; }
.auth-head .frame-name { margin-bottom: 10px; }
.auth-head h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.auth-head p { color: var(--ink-soft); font-size: .94rem; }

.sso { display: flex; flex-direction: column; gap: 8px; }
.sso-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 13px 20px; border-radius: var(--r-btn);
  font-weight: 700; font-size: .95rem; border: 1px solid transparent;
  transition: filter .15s var(--ease);
}
.sso-btn:hover { filter: brightness(.97); }
.sso-btn .ic { width: 20px; height: 20px; }
/* 각 서비스의 공식 버튼 색. 알아볼 수 있어야 하므로 브랜드 색을 유지한다
   (이 세 가지만 예외다 - 다른 곳에서 브랜드 색을 쓰지 말 것). */
.sso-google { background: #FFFFFF; color: #1F1F1F; border-color: var(--line-strong); }
.sso-naver { background: #03C75A; color: #FFFFFF; }
.sso-instagram { background: linear-gradient(95deg, #F9CE34, #EE2A7B 48%, #6228D7); color: #FFFFFF; }
/* 준비 중(.env 에 키가 없는 provider). 색을 벗겨 '지금은 못 쓰는 것'으로 읽히게 한다. */
.sso-btn[disabled] { background: transparent; color: var(--ink-faint); border: 1px dashed var(--line-strong); opacity: 1; pointer-events: none; }

.auth-terms { margin-top: 12px; font-size: .78rem; line-height: 1.6; color: var(--ink-faint); }
.auth-or { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--ink-faint); font-size: .82rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.auth-switch { text-align: center; margin-top: 22px; font-size: .9rem; color: var(--ink-soft); }
.auth-switch a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--tomato); }
.auth-err {
  padding: 12px 14px; border-radius: var(--r-input); margin-bottom: 20px;
  background: var(--danger-dim); color: var(--danger); font-size: .88rem; font-weight: 600;
  border: 1px solid rgba(200, 56, 31, .3);
}
.auth .check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth-side { display: none; }
  .auth-main { padding: 44px 20px 72px; }
}

/* ===========================================================================
   약관 / 처리방침 - 라일락 캔버스 위에 흰 문서 한 장(피그마 프레임처럼 이름이 위에 붙는다)
   =========================================================================== */
.doc { padding: 56px 0 96px; background: var(--lilac); }
.doc > .wrap > .frame-name { margin-bottom: 10px; color: var(--coal); }
.doc-sheet { padding: 56px 56px 60px; }
.doc h2 { margin: 40px 0 12px; font-size: 1.15rem; font-weight: 800; }
.doc h2:first-of-type { margin-top: 28px; }
.doc p, .doc li { color: var(--ink-soft); line-height: 1.85; }
.doc ul { margin: 10px 0 0 4px; }
.doc li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.doc li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 1.5px; background: var(--tomato); }
.doc-note { margin-top: 24px; padding: 16px 20px; background: var(--sun); border: 1.5px solid var(--coal); }
.doc-note b { color: var(--coal); }
.doc-note p { color: var(--coal); }
.doc-note a { color: var(--coal); text-decoration: underline; text-underline-offset: 3px; }
/* 처리방침의 항목 표(국외 이전 등). 좁은 화면에선 dt 위 / dd 아래로 쌓인다. */
.doc-dl { display: grid; grid-template-columns: 9em 1fr; margin-top: 14px; border-top: 1px solid var(--line); }
.doc-dl dt, .doc-dl dd { padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.7; }
.doc-dl dt { color: var(--ink-faint); font-size: .9rem; }
.doc-dl dd { color: var(--ink-soft); }
@media (max-width: 560px) {
  .doc { padding: 32px 0 64px; }
  .doc-sheet { padding: 28px 20px 32px; }
  .doc-dl { grid-template-columns: 1fr; }
  .doc-dl dt { padding-bottom: 0; border-bottom: 0; }
}

/* ===========================================================================
   오류 - 토마토 면, 코드 번호가 '선택된' 상태로 크게
   =========================================================================== */
.errpage { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.errpage img { width: 120px; margin: 0 auto 28px; }
.errpage .code { font-size: clamp(4.5rem, 14vw, 8rem); line-height: 1; }
.errpage .code .sel { margin: 0 0 .5em; }
.errpage .btn-ghost { border-color: rgba(26, 21, 17, .5); }


/* ---------------- 누끼 · AI 피팅 메인(templates/home.html, 2026-11-20) - 위 Replo 부품에 붙는 것만 ---------------- */
/* 첫 화면 AI 피팅 창: 가운데 = 올린 사진 + 진행 단계, 오른쪽 = 만든 사진 격자 */
.rp-fit-src { margin: 0; padding: 8px; border-radius: 12px; background: var(--surface-2); }
.rp-fit-src img { display: block; width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }
.rp-fit-src figcaption { padding: 8px 4px 0; font-size: 12px; color: var(--ink-faint); }
.rp-fit-grid { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; min-height: 0; }
.rp-fit-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: #1B1B19; }
.rp-fit-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rp-fit-grid figcaption { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .64); color: var(--cream); font-size: 12px; line-height: normal; }

/* 사진 카드 콜라주 - 흰 카드 넷(±3deg 안) */
.rp-ph { padding: 10px; }
.rp-ph .rp-card-k { margin-bottom: 8px; }
.rp-ph img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.rp-ph.is-a { top: 0; left: 0; width: 200px; rotate: -2deg; }
.rp-ph.is-b { top: 40px; left: 36%; width: 240px; rotate: 2deg; z-index: 1; }
.rp-ph.is-c { top: 8px; right: 0; width: 180px; rotate: -1deg; }
.rp-ph.is-d { top: 300px; left: 4%; width: 190px; rotate: 1deg; z-index: 2; }
.rp-collage:has(.rp-ph) { min-height: 640px; }
.rp-col-cut .rp-ph.is-a { width: 260px; }
.rp-col-cut .rp-ph.is-b { top: 60px; left: auto; right: 0; width: 280px; }
.rp-col-cut { min-height: 480px; }
.rp-ph img.is-clear { background: repeating-conic-gradient(#E9E6E1 0 25%, #FFFFFF 0 50%) 0 0 / 16px 16px; object-fit: contain; }
.rp-cta-left { justify-content: flex-start; }

/* 한 장 모자이크(shop3 구성) - 올린 사진 한 장 + 그 한 장에서 나온 컷. 위 덩어리 4칸 x 4줄, 아래는 종류마다 한 줄 */
.rp-mos { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; grid-template-rows: repeat(4, 140px); gap: 8px; }
.rp-mos figure, .rp-mos-row figure { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: #1B1B19; }
.rp-mos img, .rp-mos-row img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.rp-mos figcaption, .rp-mos-row figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .6);
  color: var(--cream); font-size: 12px; line-height: normal;
}
.rp-mos-src { grid-area: 1 / 1 / 5 / 2; }
.rp-mos-src img { object-position: 50% 50%; }
.rp-mos-src figcaption { top: 12px; bottom: auto; left: 12px; background: var(--cream); color: #000000; font-weight: 700; }
.rp-mos-big { grid-area: 1 / 2 / 5 / 3; }
.rp-mos-count { grid-area: 1 / 3 / 3 / 4; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-radius: 8px; background: var(--cream); color: #000000; }
.rp-mos-count b { font-size: 56px; font-weight: 800; line-height: normal; letter-spacing: -.04em; }
.rp-mos-count b small { margin-left: 2px; font-size: 28px; }
.rp-mos-count span { margin-top: 4px; font-size: 14px; font-weight: 600; }
.rp-mos-a { grid-area: 1 / 4 / 3 / 5; } .rp-mos-b { grid-area: 3 / 3 / 5 / 4; } .rp-mos-c { grid-area: 3 / 4 / 5 / 5; }
.rp-mos-row { display: grid; grid-template-columns: 160px repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.rp-mos-row figure { aspect-ratio: 3 / 4; }
.rp-mos-k { display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.rp-mos-k b { font-size: 40px; font-weight: 800; line-height: normal; color: var(--cream); }
.rp-mos-k span { margin-top: 4px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.rp-mos-k a { margin-top: 4px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.rp-mos-k a:hover { color: var(--ink); }

/* 룩북 줄 머리 */
.rp-film { margin-top: 40px; }
.rp-film:first-of-type { margin-top: 0; }
.rp-film-k { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; line-height: normal; }
.rp-film-k b { font-size: 18px; font-weight: 600; }
.rp-film-k > span { font-size: 14px; color: var(--ink-faint); }

/* 모델 얼굴 벽 - 상반신 컷 10칸 x 2줄 */
.rp-faces { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.rp-faces img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: #1B1B19; }
.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.rp-chips span { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 14px; line-height: normal; color: var(--ink-soft); }

@media (max-width: 760px) {
  .rp-fit-src img { height: 160px; }
  .rp-fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-fit-grid figure { aspect-ratio: 3 / 4; }
  .rp-collage:has(.rp-ph), .rp-col-cut { min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-ph.is-a, .rp-ph.is-b, .rp-ph.is-c, .rp-ph.is-d, .rp-col-cut .rp-ph.is-a, .rp-col-cut .rp-ph.is-b { position: relative; inset: auto; width: auto; rotate: 0deg; }
  .rp-mos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 180px; }
  .rp-mos-src { grid-area: auto / auto / span 2 / auto; } .rp-mos-big { grid-area: auto / auto / span 2 / auto; }
  .rp-mos-count, .rp-mos-a, .rp-mos-b, .rp-mos-c { grid-area: auto; }
  .rp-mos-count b { font-size: 40px; }
  .rp-mos-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-mos-k { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 10px; padding: 12px 14px; }
  .rp-mos-k b { font-size: 28px; }
  .rp-faces { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------------- Leonardo.ai 구성(2026-11-21 대표 선택) - templates/home.html 의 lo-* ----------------
   거대한 원색 글자 · 화면 폭 사진 슬라이드 · 큰 낱말 깔린 기능 줄 · 탭 격자. 판(검정 · Pretendard)은 그대로.
   글자는 휘지 않는다(Leonardo 의 휘는 글자 · 날아다니는 사진은 스크롤 연동이라 달비 금지 목록). 면 하나에 원색 하나. */
.lo-c-cobalt { color: #5468FF; } .lo-c-sun { color: var(--sun); } .lo-c-lime { color: var(--lime); }
.lo-c-lilac { color: var(--lilac); } .lo-c-tomato { color: var(--tomato); } .lo-c-pink { color: var(--pink); }
.lo-giant {
  margin: 0; overflow: hidden; white-space: nowrap; text-align: center; font-size: 208px; font-weight: 900;
  line-height: normal; letter-spacing: -.05em; user-select: none;
}
.lo-under { margin: -8px 0 28px; }
.lo-giant-s { margin: 0 0 8px; font-size: 120px; font-weight: 900; line-height: normal; letter-spacing: -.05em; }
.lo-h1 { font-size: 48px; font-weight: 800; line-height: 1.5; letter-spacing: -.03em; }
.lo-h2 { font-size: 40px; font-weight: 800; line-height: 1.5; letter-spacing: -.03em; }
.lo-h3 { font-size: 32px; font-weight: 800; line-height: 1.5; letter-spacing: -.03em; }
.lo-sub { max-width: 34ch; margin: 16px auto 0; font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.lo-p { max-width: 36ch; margin-top: 16px; font-size: 18px; line-height: 1.5; color: var(--ink-soft); }

/* 첫 화면 - 위 · 아래 거대한 글자, 가운데 제목 + 가만히 놓인 결과 사진 넷 */
.lo-hero { padding: 56px 0 40px; overflow: hidden; }
.lo-hero-mid { position: relative; max-width: 1280px; min-height: 480px; margin: 0 auto; padding: 0 40px; display: grid; place-items: center; }
.lo-hero-copy { position: relative; z-index: 1; text-align: center; }
.lo-hph { position: absolute; margin: 0; width: 176px; }
.lo-hph img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; border-radius: 12px; }
.lo-hph figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-faint); line-height: normal; }
.lo-hph.is-1 { left: 40px; top: 8px; } .lo-hph.is-2 { left: 200px; bottom: 0; width: 144px; }
.lo-hph.is-3 { right: 40px; top: 24px; } .lo-hph.is-4 { right: 216px; bottom: 0; width: 144px; }

/* 화면 폭 슬라이드 - 직접 넘김(화살표 · 스와이프), 자동으로 넘어가지 않는다 */
.lo-sec { padding: 64px 0 120px; }
.lo-slide { position: relative; }
.lo-slide-in { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 16px; }
.lo-slide-in::-webkit-scrollbar, .lo-film-in::-webkit-scrollbar { display: none; }
.lo-slide-it { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.lo-slide-it img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; }
.lo-slide-it figcaption {
  position: absolute; left: 24px; bottom: 24px; display: flex; align-items: baseline; gap: 10px; padding: 10px 16px;
  border-radius: 8px; background: rgba(0, 0, 0, .56); color: var(--cream); font-size: 14px; line-height: normal;
}
.lo-slide-it figcaption b { font-size: 18px; font-weight: 700; }
.lo-arrow {
  position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 52px; height: 52px;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .56); color: var(--cream); cursor: pointer;
}
.lo-arrow:hover { background: #000000; }
.lo-arrow .ic { width: 22px; height: 22px; }
.lo-arrow.is-prev { left: 16px; } .lo-arrow.is-next { right: 16px; }
.lo-demo { margin-top: 64px; }

/* 기능 줄 - 왼쪽 글, 오른쪽 큰 사진 + 뒤에 거대한 낱말(is-flip 은 좌우 바꿈) */
.lo-feat { padding: 88px 0; overflow: hidden; }
.lo-feat-in { position: relative; display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 48px; }
.lo-feat.is-flip .lo-feat-copy { order: 2; }
.lo-feat-copy { position: relative; z-index: 1; }
.lo-feat-art { padding-top: 216px; }   /* 낱말은 줄 전체(.lo-feat-in) 기준 - 긴 영문 낱말이 사진 칸보다 넓다 */
.lo-word {
  position: absolute; top: 0; right: 40px; z-index: 0; margin: 0; white-space: nowrap; font-size: 232px; font-weight: 900;
  line-height: normal; letter-spacing: -.05em; user-select: none;
}
.lo-feat.is-flip .lo-word { right: auto; left: 40px; }
.lo-word.is-long { font-size: 168px; }
.lo-feat-ph { position: relative; z-index: 1; width: 64%; margin: 0 0 0 auto; }
.lo-feat.is-flip .lo-feat-ph { margin: 0 auto 0 0; }
.lo-feat-ph img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 12px; background: #1B1B19; }
.lo-feat-ph.is-png img { object-fit: contain; background: repeating-conic-gradient(#E9E6E1 0 25%, #FFFFFF 0 50%) 0 0 / 20px 20px; }
.lo-feat-ph figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-faint); line-height: normal; }

/* 옷 네 벌 탭 - 라디오(스크립트 없음) */
.lo-tab-in { position: absolute; opacity: 0; pointer-events: none; }
.lo-tab-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lo-tab { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 16px; line-height: normal; color: var(--ink-soft); cursor: pointer; }
.lo-tab:hover { border-color: var(--cream); color: var(--ink); }
.lo-tab-panel { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#lo-tab-1:checked ~ .lo-tab-panel.is-1, #lo-tab-2:checked ~ .lo-tab-panel.is-2,
#lo-tab-3:checked ~ .lo-tab-panel.is-3, #lo-tab-4:checked ~ .lo-tab-panel.is-4 { display: grid; }
#lo-tab-1:checked ~ .lo-tab-bar label[for="lo-tab-1"], #lo-tab-2:checked ~ .lo-tab-bar label[for="lo-tab-2"],
#lo-tab-3:checked ~ .lo-tab-bar label[for="lo-tab-3"], #lo-tab-4:checked ~ .lo-tab-bar label[for="lo-tab-4"] { background: var(--cream); border-color: var(--cream); color: #000000; }
.lo-tab-in:focus-visible + .lo-tab-in, .lo-tab-in:focus-visible ~ .lo-tab-bar { outline: 0; }
.lo-tab-panel figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 8px; background: #1B1B19; }
.lo-tab-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.lo-tab-panel figure.is-src img { object-position: 50% 50%; }
.lo-tab-panel figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: var(--cream); font-size: 12px; line-height: normal; }
.lo-tab-panel figure.is-src figcaption { background: var(--cream); color: #000000; font-weight: 700; }

/* 룩북 줄 - 장소마다 컷 전부, 높이를 맞추고 원래 비율대로 옆으로 넘긴다 */
.lo-film-nav { display: flex; gap: 8px; margin-left: auto; }
.lo-film-nav .rp-round { width: 40px; height: 40px; }
.lo-film-in { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lo-film-in img { flex: 0 0 auto; height: 440px; width: auto; min-width: 240px; border-radius: 8px; scroll-snap-align: start; background: #1B1B19; }

/* 마감 - 위 · 아래 거대한 글자 */
.lo-close { padding: 40px 0 24px; overflow: hidden; }
.lo-close .rp-wrap { padding-block: 40px; }

/* 스크롤 움직임(html.lo-motion - 스크립트가 켜고, 동작 줄이기면 안 켠다). 꺼져 있으면 위 정지 화면 그대로. */
.lo-fly { display: none; }
.lo-motion .lo-hero + .lo-sec { position: relative; z-index: 3; margin-top: -70vh; }
.lo-motion .lo-hero { height: 330vh; padding: 0; overflow: visible; }
.lo-motion .lo-stage {
  position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.lo-motion .lo-giant, .lo-motion .lo-hph, .lo-motion .lo-hero-copy { will-change: transform, opacity; }
.lo-motion .lo-hero-mid { width: 100%; min-height: 360px; }
.lo-motion .lo-stage .lo-giant { font-size: 176px; }
.lo-motion .lo-fly { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.lo-motion .lo-fly img {
  position: absolute; left: 50%; top: 50%; width: 260px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%;
  border-radius: 12px; opacity: 0; transform: translate(-50%, -50%) scale(.15); will-change: transform, opacity;
}
.lo-motion [data-lo-grow] { transform-origin: 50% 0; will-change: transform; }
.lo-motion .lo-word { transform-origin: 50% 100%; will-change: transform, opacity; }
.lo-motion .lo-feat-ph { will-change: transform; }
.lo-motion [data-lo-rise] > * {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms);
}
.lo-motion [data-lo-rise].is-in > * { opacity: 1; transform: none; }

@media (max-width: 1200px) {
  .lo-giant { font-size: 152px; }
  .lo-word { font-size: 176px; }
  .lo-word.is-long { font-size: 128px; }
  .lo-hph.is-2, .lo-hph.is-4 { display: none; }
  .lo-motion .lo-stage .lo-giant { font-size: 136px; }
}
@media (max-width: 760px) {
  .lo-giant { font-size: 56px; }
  .lo-giant-s { font-size: 48px; }
  .lo-h1 { font-size: 32px; } .lo-h2 { font-size: 28px; } .lo-h3 { font-size: 24px; }
  .lo-hero-mid { min-height: 0; padding: 24px 16px; }
  .lo-hph { display: none; }
  .lo-slide-it img { aspect-ratio: 4 / 5; }
  .lo-slide-it figcaption { left: 12px; bottom: 12px; }
  .lo-arrow { width: 40px; height: 40px; }
  .lo-feat { padding: 56px 0; }
  .lo-feat-in { grid-template-columns: 1fr; gap: 24px; }
  .lo-feat.is-flip .lo-feat-copy { order: 0; }
  .lo-feat-art { position: relative; padding-top: 112px; }
  .lo-word { right: -8px; } .lo-feat.is-flip .lo-word { left: -8px; }
  .lo-word { font-size: 88px; }
  .lo-word.is-long { font-size: 64px; }
  .lo-feat-ph { width: 84%; }
  .lo-tab-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lo-film-in img { height: 320px; min-width: 180px; }
  .lo-motion .lo-hero { height: 260vh; }
  .lo-motion .lo-hero + .lo-sec { margin-top: -60vh; }
  .lo-motion .lo-hero-mid { min-height: 0; }
  .lo-motion .lo-fly img { width: 150px; }
  .lo-motion .lo-stage .lo-giant { font-size: 56px; }
}


/* 메인 '고른 컷으로 상세페이지까지'(home.html #lookpage) - 실제 결과의 윗부분을 세로로 길게. 데스크톱 3칸 x 2줄, 폰에선 옆으로 넘김. */
.lo-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.lo-pages figure { margin: 0; }
.lo-page-in { display: block; position: relative; aspect-ratio: 3 / 5; overflow: hidden; border-radius: 12px; background: #1B1B19; }
.lo-page-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lo-pages figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-faint); line-height: normal; }
.lo-pages figcaption b { display: block; margin-bottom: 2px; font-size: 16px; font-weight: 600; color: var(--ink); }
@media (max-width: 780px) {
  .lo-pages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; }
  .lo-pages::-webkit-scrollbar { display: none; }
  .lo-pages figure { flex: 0 0 64%; scroll-snap-align: start; }
}

/* 메인 룩북 상세페이지 '한 편 전체 보기'(2026-11-23) - 긴 페이지 한 장을 창 안에서 천천히 내려 보여 준다(html.lo-motion 일 때만 움직임,
   transform 만 - 메인 움직임 예외 안). 움직임이 꺼져 있으면 창 안을 직접 스크롤한다. */
.lo-pfeat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; margin-top: 40px; }
.lo-pfeat-win { position: relative; height: 640px; overflow-y: auto; border-radius: 16px; background: #1B1B19; scrollbar-width: none; }
.lo-pfeat-win::-webkit-scrollbar { display: none; }
.lo-pfeat-win img { display: block; width: 100%; height: auto; }
.lo-motion .lo-pfeat-win { overflow: hidden; }
.lo-motion .lo-pfeat-win img { animation: lo-pfeat-pan 36s ease-in-out infinite alternate; }
.lo-motion .lo-pfeat-win:hover img { animation-play-state: paused; }
@keyframes lo-pfeat-pan { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(calc(-100% + 640px)); } }
.lo-pfeat-copy b { display: block; margin: 8px 0 12px; font-size: 28px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.lo-pfeat-copy p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-dim, var(--ink)); }
.lo-pfeat-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.lo-pfeat-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: normal; color: var(--ink); }
.lo-pfeat-list span { flex: 0 0 48px; color: var(--ink-faint); }
.lo-pchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.lo-pchips span { padding: 8px 14px; border: 1px solid var(--line-strong, var(--line)); border-radius: 999px; font-size: 14px; line-height: normal; color: var(--ink); }
@media (max-width: 780px) {
  .lo-pfeat { grid-template-columns: 1fr; gap: 20px; }
  .lo-pfeat-win { height: 480px; }
  @keyframes lo-pfeat-pan { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(calc(-100% + 480px)); } }
  .lo-pfeat-copy b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .lo-pfeat-win img { animation: none !important; } }

/* ---------------- 제품 소개 페이지(product.html, 2026-11-23) - 메인 부품을 쓰고 새로 만든 건 아래 넷뿐 ---------------- */
.pd-hero { padding-top: 72px; }
.pd-crumb { display: flex; gap: 8px; margin-bottom: 24px; font-size: 14px; line-height: normal; color: var(--ink-faint); }
.pd-crumb a { color: var(--ink-soft); }
.pd-crumb a:hover { color: var(--ink); }
.pd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pd-grid.is-few { grid-template-columns: repeat(2, minmax(0, 340px)); }
.pd-grid figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 8px; background: #1B1B19; }
.pd-grid.is-tall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-grid.is-tall figure { aspect-ratio: 3 / 5; }
.pd-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.pd-grid.is-tall img { object-position: 50% 0; }
.pd-grid figure.is-src img { object-position: 50% 50%; }
.pd-grid figure.is-png { background: repeating-conic-gradient(#3A3A37 0 25%, #2A2A28 0 50%) 0 0 / 24px 24px; }
.pd-grid figure.is-png img { object-fit: contain; padding: 16px; }
.pd-grid figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: var(--cream); font-size: 12px; line-height: normal; }
.pd-grid figure.is-src figcaption { background: var(--cream); color: #000000; font-weight: 700; }
.pd-prices { border-top: 1px solid var(--line); }
.pd-prices li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; line-height: normal; }
.pd-links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.pd-links a { display: block; color: var(--ink); }
.pd-link-ph { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 8px; background: #1B1B19; }
.pd-link-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: scale .3s; }
.pd-links a:hover .pd-link-ph img { scale: 1.04; }
.pd-links b { display: block; margin-top: 10px; font-size: 16px; font-weight: 600; line-height: normal; }
@media (max-width: 1100px) { .pd-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .pd-hero { padding-top: 40px; }
  .pd-grid, .pd-grid.is-tall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-grid.is-few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-prices li { font-size: 18px; }
  .pd-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
