/* ============================================================
   콜든타임 랜딩 — 스타일
   디자인 시스템: "단골 상담실 × 클린 블루"
   Wanted Sans · 흰 카드 on 쿨 그레이 · 3색 신호등 상태
   ============================================================ */

/* ---------- 토큰 ---------- */
:root {
  /* 브랜드 — data-theme 으로 덮어씀 */
  --brand: #2d64e8;
  --brand-deep: #1f4dc2;
  --brand-soft: #eaf0fd;

  /* 고정 — 의미색 (3색 신호등) */
  --amber: #e8590c;       /* 할 일 (사장님 차례) */
  --amber-soft: #fdefe6;
  --amber-deep: #9a3d08;
  --green: #13865c;       /* 끝남 */
  --green-soft: #e5f4ee;

  /* 중립 */
  --ink: #191f28;
  --sub: #4e5968;
  --mute: #8b95a1;
  --line: #e9edf1;
  --line-strong: #cbd3dc;
  --page: #f4f6f8;
  --card: #ffffff;
  --inverse: #12161c;

  /* 형태 */
  --r-card: 24px;
  --r-btn: 16px;
  --r-input: 14px;
  --r-chip: 999px;
  --shadow-card: 0 2px 4px rgba(25, 31, 40, 0.04), 0 12px 28px -16px rgba(25, 31, 40, 0.14);
  --shadow-float: 0 8px 20px rgba(25, 31, 40, 0.08), 0 30px 60px -28px rgba(25, 31, 40, 0.30);

  /* 타입 */
  --font: 'Wanted Sans Variable', 'Wanted Sans', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --font-mono: 'JetBrains Mono', 'D2Coding', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* 레이아웃 */
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ---------- 테마 ---------- */
html[data-theme='indigo'] { --brand: #4f46e5; --brand-deep: #3a32b8; --brand-soft: #ecebfd; }
html[data-theme='emerald'] { --brand: #0e8c7f; --brand-deep: #0a6b61; --brand-soft: #e0f3f0; }
html[data-theme='violet']  { --brand: #7c3aed; --brand-deep: #6022c9; --brand-soft: #f1e9fe; }

/* ---------- 폰트 스왑 ---------- */
html[data-font='pretendard'] { --font: 'Pretendard Variable', Pretendard, -apple-system, system-ui, sans-serif; }
html[data-font='noto']       { --font: 'Noto Sans KR', -apple-system, system-ui, sans-serif; }

/* ---------- 리셋 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--card);
  color: var(--ink);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
::selection { background: var(--brand-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- 브랜드 마크 ---------- */
.mark {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.mark .mark-body {
  position: absolute; inset: 0;
  border-radius: 42%;
  background: var(--brand);
  display: grid; place-items: center;
  color: #fff;
}
.mark .mark-tail {
  position: absolute;
  bottom: -10%; left: 16%;
  width: 20%; height: 20%;
  background: var(--brand);
  border-radius: 3px;
  transform: rotate(45deg);
}

.wordmark { display: flex; align-items: center; gap: 12px; }
.wordmark .wm-ko { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.wordmark .wm-en { font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--mute); margin-top: 3px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 56px; padding: 0 26px;
  border-radius: var(--r-btn);
  font-size: 17px; font-weight: 800; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.985); opacity: 0.9; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--brand) 60%, transparent); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-soft { background: var(--brand-soft); color: var(--brand-deep); }
.btn-soft:hover { background: color-mix(in srgb, var(--brand-soft) 70%, var(--brand) 12%); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-sm { height: 44px; font-size: 15px; padding: 0 18px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-lg { height: 62px; font-size: 18.5px; }
.btn:disabled { opacity: .55; cursor: default; box-shadow: none; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header[data-scrolled='true'] { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 15.5px; font-weight: 700; color: var(--sub); transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; }

/* ---------- 히어로 ---------- */
.hero { background: var(--card); padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 9vw, 110px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero-copy { max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 14px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--brand-deep); background: var(--brand-soft);
  padding: 8px 15px; border-radius: var(--r-chip);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.16;
  margin-top: 22px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--brand); }
.hero-sub {
  font-size: clamp(17px, 2.1vw, 21px);
  color: var(--sub); line-height: 1.62; margin-top: 22px; max-width: 30em;
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-reassure {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px;
  font-size: 14.5px; font-weight: 700; color: var(--mute);
}
.hero-reassure span { display: inline-flex; align-items: center; gap: 7px; }
.hero-reassure .ok { width: 16px; height: 16px; color: var(--green); }

/* 히어로 비주얼 영역 */
.hero-visual { position: relative; display: flex; justify-content: center; }

/* ---------- 폰 목업 ---------- */
.phone {
  position: relative;
  width: 320px; aspect-ratio: 320 / 660;
  background: #fff;
  border-radius: 46px;
  border: 11px solid #0e1116;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  flex-shrink: 0;
}
.phone-screen { position: absolute; inset: 0; background: var(--page); display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 108px; height: 26px; background: #0e1116; border-radius: 14px; z-index: 4; }
.phone-status { display: flex; justify-content: space-between; align-items: flex-end; padding: 14px 24px 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.phone-status > span { white-space: nowrap; flex-shrink: 0; }
.phone-status .sig { display: inline-flex; gap: 4px; align-items: center; }
.phone-status .bars { display: inline-flex; gap: 2px; align-items: flex-end; }
.phone-status .bars i { width: 3px; border-radius: 1px; background: currentColor; }
.phone-status .batt { width: 22px; height: 11px; border: 1.4px solid currentColor; border-radius: 3px; position: relative; opacity: .9; }
.phone-status .batt::after { content: ''; position: absolute; inset: 2px; right: 7px; background: currentColor; border-radius: 1px; }
.phone-body { flex: 1; padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }

/* 폰 안 인사 (말풍선) */
.greet { display: flex; gap: 11px; align-items: flex-start; padding: 4px 2px; }
.greet .gtxt { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.42; }
.greet .gsub { font-size: 12.5px; color: var(--mute); margin-top: 5px; font-weight: 700; }
.greet .gsub b { color: var(--brand); }

.mini-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); padding: 16px 17px; }
.todo-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--amber); }
.todo-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.mini-card .q { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.4; margin-top: 8px; }
.mini-card .qd { font-size: 13px; color: var(--sub); margin-top: 6px; line-height: 1.5; }
.mini-card .qbtns { display: flex; gap: 8px; margin-top: 14px; }
.mini-card .qbtns .b1 { flex: 1.5; height: 44px; border-radius: 13px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 800; }
.mini-card .qbtns .b2 { flex: 1; height: 44px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; font-size: 13.5px; font-weight: 800; }

.done-row { display: flex; gap: 11px; align-items: flex-start; }
.done-row .ck { width: 34px; height: 34px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; flex-shrink: 0; }
.done-row .dt { font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.done-row .dm { font-size: 11.5px; color: var(--mute); font-weight: 700; margin-top: 2px; }
.section-mini-label { font-size: 13px; font-weight: 800; color: var(--mute); padding: 0 4px; }

/* ---------- 대화 전사(transcript) ---------- */
.transcript {
  width: 360px; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-float);
  padding: 22px 22px 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.tr-head { display: flex; align-items: center; gap: 11px; padding-bottom: 6px; }
.tr-head .tt { font-size: 15px; font-weight: 800; white-space: nowrap; }
.tr-head .ts { font-size: 12.5px; color: var(--mute); font-weight: 700; white-space: nowrap; }
.tr-head > div { min-width: 0; }
.tr-live { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--amber); white-space: nowrap; }
.tr-live .blip { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: blip 1.4s ease-in-out infinite; }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.bubble {
  max-width: 80%; padding: 12px 15px; font-size: 14.5px; line-height: 1.5; font-weight: 600;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.bubble.show { opacity: 1; transform: none; }
.bubble.customer { align-self: flex-end; background: var(--inverse); color: #fff; border-radius: 18px 18px 6px 18px; }
.bubble.ai { align-self: flex-start; background: var(--page); color: var(--ink); border-radius: 6px 18px 18px 18px; display: flex; gap: 9px; align-items: flex-start; }
.bubble.ai .av { flex-shrink: 0; }
.tr-foot { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--green); padding-top: 4px; opacity: 0; transition: opacity .4s; }
.tr-foot.show { opacity: 1; }

/* 페르소나 아바타 */
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0; }
.avatar.lg { width: 64px; height: 64px; font-size: 26px; }
.av-young { background: #c79a4e; }   /* 미영 */
.av-yerin { background: #6f86c9; }    /* 예린 */
.av-juno  { background: #cb6a76; }    /* 준오 */
.av-hoseok{ background: #74a878; }    /* 호석 */

/* ---------- 섹션 공통 ---------- */
.section { padding-block: clamp(64px, 10vw, 120px); }
.section.tint { background: var(--page); }
.section-head { max-width: 640px; margin: 0 auto; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.kicker { font-size: 14.5px; font-weight: 800; color: var(--brand); letter-spacing: -0.01em; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin-top: 12px; text-wrap: balance; }
.section-head p { font-size: clamp(16px, 2vw, 19px); color: var(--sub); margin-top: 16px; line-height: 1.6; font-weight: 500; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 6vw, 64px); }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 30px 28px 32px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.step .step-no {
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-size: 18px; font-weight: 800;
}
.step h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.step p { font-size: 15.5px; color: var(--sub); line-height: 1.6; font-weight: 500; }
.step .step-icon { position: absolute; top: 30px; right: 28px; color: var(--brand); opacity: .9; }

/* ---------- 빌지 출력 섹션 ---------- */
.printer { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.printer-copy h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin-top: 12px; text-wrap: balance; }
.printer-copy p { font-size: clamp(16px, 2vw, 19px); color: var(--sub); margin-top: 18px; line-height: 1.62; font-weight: 500; }
.printer-points { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.printer-points li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 16px; font-weight: 600; color: var(--ink); }
.printer-points .ck { width: 26px; height: 26px; border-radius: 8px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }

.printer-stage { display: flex; justify-content: center; position: relative; }
.printer-machine {
  position: relative;
  width: 320px;
  background: linear-gradient(180deg, #2a3038, #1a1e24);
  border-radius: 26px 26px 18px 18px;
  padding: 22px 22px 0;
  box-shadow: var(--shadow-float);
}
.printer-machine .pm-top { display: flex; align-items: center; gap: 9px; padding-bottom: 16px; }
.printer-machine .pm-led { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.printer-machine .pm-name { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.printer-machine .pm-sub { color: rgba(255,255,255,.5); font-size: 11px; font-weight: 700; margin-left: auto; white-space: nowrap; }
.printer-slot { height: 8px; background: #0c0f13; border-radius: 6px 6px 0 0; box-shadow: inset 0 3px 6px rgba(0,0,0,.6); }

/* 빌지 영수증 */
.receipt {
  position: relative;
  width: 276px; margin: 0 auto; margin-top: -2px;
  background: #fdfdfb; color: #1c1c1c;
  font-family: var(--font-mono);
  padding: 24px 20px 30px;
  box-shadow: 0 18px 30px -20px rgba(0,0,0,.5);
  transform-origin: top center;
}
.receipt::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -11px; height: 12px;
  background:
    linear-gradient(135deg, transparent 50%, #fdfdfb 50%) repeat-x,
    linear-gradient(225deg, transparent 50%, #fdfdfb 50%) repeat-x;
  background-size: 14px 12px;
}
.receipt .rc-brand { text-align: center; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.receipt .rc-tag { text-align: center; font-size: 10.5px; color: #666; margin-top: 3px; letter-spacing: .04em; }
.receipt .rc-div { border-top: 1.5px dashed #bdbdbd; margin: 13px 0; }
.receipt .rc-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; line-height: 1.85; }
.receipt .rc-row > span { white-space: nowrap; }
.receipt .rc-row .q { color: #555; }
.receipt .rc-label { font-size: 10.5px; color: #777; }
.receipt .rc-strong { font-size: 13px; font-weight: 800; }
.receipt .rc-stamp { margin-top: 12px; text-align: center; font-size: 11px; font-weight: 800; color: var(--brand-deep); }
.receipt .rc-stamp .ai { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- 데모/전사 섹션 ---------- */
.demo { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 7vw, 80px); align-items: center; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: clamp(36px, 5vw, 52px) auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { margin-left: auto; flex-shrink: 0; width: 24px; height: 24px; color: var(--mute); transition: transform .25s ease; }
.faq-item[open] summary .plus { transform: rotate(45deg); color: var(--brand); }
.faq-item .faq-body { padding: 0 24px 24px; font-size: 16px; color: var(--sub); line-height: 1.7; font-weight: 500; }
.faq-item .faq-body b { color: var(--ink); font-weight: 700; }

/* ---------- 최종 CTA ---------- */
.cta-final { padding-block: clamp(56px, 9vw, 110px); }
.cta-card {
  position: relative;
  background: var(--inverse);
  border-radius: 32px;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 72px);
  overflow: hidden;
  text-align: center;
}
.cta-card .cta-glow { position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 680px; height: 480px; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 55%, transparent), transparent 72%); pointer-events: none; }
.cta-card .mark { margin: 0 auto; }
.cta-card h2 { position: relative; color: #fff; font-size: clamp(28px, 4.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.18; margin-top: 24px; text-wrap: balance; }
.cta-card h2 .accent { color: color-mix(in srgb, var(--brand) 55%, #fff); }
.cta-card .cta-sub { position: relative; color: rgba(255,255,255,.72); font-size: clamp(16px, 2vw, 19px); margin-top: 18px; font-weight: 500; }
.cta-actions { position: relative; display: flex; justify-content: center; margin-top: 32px; }
.cta-actions .btn { min-width: 260px; }
@media (max-width: 480px) { .cta-actions .btn { width: 100%; min-width: 0; } }

.waitlist { position: relative; display: flex; gap: 10px; max-width: 480px; margin: 32px auto 0; flex-wrap: wrap; justify-content: center; }
.waitlist .field {
  flex: 1; min-width: 220px; height: 58px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--r-btn);
  padding: 0 20px; color: #fff; font-size: 16.5px; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.waitlist .field::placeholder { color: rgba(255,255,255,.5); }
.waitlist .field:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,.12); }
.waitlist .btn { height: 58px; }
.cta-reassure { position: relative; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-top: 22px; font-size: 14.5px; font-weight: 700; color: rgba(255,255,255,.6); }
.cta-reassure span { display: inline-flex; align-items: center; gap: 7px; }
.cta-reassure .ok { color: color-mix(in srgb, var(--green) 70%, #fff); width: 16px; height: 16px; }

/* 신청 완료 상태 */
.waitlist-done {
  position: relative; max-width: 480px; margin: 32px auto 0;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--r-btn); padding: 22px 24px;
  display: flex; align-items: center; gap: 14px; text-align: left;
  animation: pop .3s ease;
}
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.waitlist-done .ck { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.waitlist-done .wd-t { color: #fff; font-size: 17px; font-weight: 800; }
.waitlist-done .wd-d { color: rgba(255,255,255,.65); font-size: 14px; font-weight: 600; margin-top: 2px; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--card); border-top: 1px solid var(--line); padding-block: 48px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot-meta { font-size: 13.5px; color: var(--mute); font-weight: 600; line-height: 1.7; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font-size: 14px; font-weight: 700; color: var(--sub); }
.foot-links a:hover { color: var(--ink); }
.foot-links .foot-sep { width: 1px; height: 14px; background: var(--line-strong); flex-shrink: 0; }

/* ---------- 스크롤 등장 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
/* 첫 페인트에 보이는 요소는 트랜지션 없이 즉시 노출 (캡처·저전력 환경 대비) */
html.reveal-init .reveal { transition: none !important; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ============================================================
   히어로 레이아웃 변형 (data-hero)
   ============================================================ */
/* centered: 텍스트 가운데 + 비주얼 아래 */
html[data-hero='centered'] .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: clamp(40px, 6vw, 64px); }
html[data-hero='centered'] .hero-copy { max-width: 720px; margin: 0 auto; }
html[data-hero='centered'] .hero-sub { margin-left: auto; margin-right: auto; }
html[data-hero='centered'] .hero-actions,
html[data-hero='centered'] .hero-reassure { justify-content: center; }
html[data-hero='centered'] .hero-visual { order: 2; }

/* transcript: 오른쪽 비주얼을 폰 대신 전사 카드로 */
html[data-hero='split'] .hero-visual .transcript-wrap,
html[data-hero='centered'] .hero-visual .transcript-wrap { display: none; }
html[data-hero='transcript'] .hero-visual .phone-wrap { display: none; }
html:not([data-hero='transcript']) .hero-visual .transcript-wrap { display: none; }

/* ============================================================
   데모 체험 모달 — 가게 검색 → 선택 → 전화 인증
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 19, 25, 0.55);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
  opacity: 0; transition: opacity .24s ease;
}
@media (min-width: 600px) { .modal-overlay { align-items: center; padding: 24px; } }
.modal-overlay[hidden] { display: none; }
.modal-overlay.in { opacity: 1; }

.modal {
  position: relative; width: 100%; max-width: 460px;
  background: var(--card);
  border-radius: 28px 28px 0 0;
  box-shadow: var(--shadow-float);
  display: flex; flex-direction: column;
  max-height: 92vh; overflow: hidden;
  transform: translateY(28px); transition: transform .28s cubic-bezier(.2,.8,.25,1);
}
@media (min-width: 600px) { .modal { border-radius: 28px; max-height: 88vh; } }
.modal-overlay.in .modal { transform: none; }

.modal-top { display: flex; align-items: center; gap: 8px; padding: 16px 18px 4px; flex-shrink: 0; }
.modal-top .modal-back, .modal-top .modal-close {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: var(--sub); transition: background .15s, color .15s;
}
.modal-top .modal-back:hover, .modal-top .modal-close:hover { background: var(--page); color: var(--ink); }
.modal-top .modal-close { margin-left: auto; }
.modal-progress { display: flex; gap: 6px; }
.modal-progress i { width: 22px; height: 5px; border-radius: 99px; background: var(--line); transition: background .25s; }
.modal-progress i.on { background: var(--brand); }

.modal-body { padding: 8px 26px 28px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 599px) { .modal-body { padding: 8px 20px 24px; } }

.mscreen { display: none; animation: mscreen-in .3s ease; }
.mscreen.active { display: block; }
@keyframes mscreen-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

.mscreen h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; margin-top: 6px; text-wrap: balance; }
.mscreen .msub { font-size: 15.5px; color: var(--sub); line-height: 1.6; margin-top: 10px; font-weight: 500; }

/* 검색 전 첫인사 (owner-app PlaceSearch — 검색어 입력 시 숨김) */
.search-greet { padding-top: 4px; }
.search-greet[hidden] { display: none; }
.greet-mark {
  position: relative; display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  color: #fff; margin-bottom: 18px;
}
.greet-mark .mark-body {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--brand); display: grid; place-items: center; color: #fff;
}
.greet-tail {
  position: absolute; bottom: -4px; left: 7px;
  width: 9px; height: 9px; background: var(--brand);
  border-radius: 2px; transform: rotate(45deg);
}
.search-greet h3 { margin-top: 0; }
.search-greet .msub { margin-top: 12px; }

/* 검색 필드 */
.search-field {
  display: flex; align-items: center; gap: 11px;
  background: var(--page); border: 2px solid var(--line); border-radius: var(--r-input);
  padding: 0 16px; height: 56px; margin-top: 18px;
  transition: border-color .15s, background .15s;
}
.search-field:focus-within { border-color: var(--brand); background: #fff; }
/* 검색 모드(검색어 있음) — owner-app: 굵은 브랜드 보더 + 돋보기 브랜드색 */
.search-field.is-active { border-color: var(--brand); background: #fff; }
.search-field.is-active > svg { color: var(--brand); }
.search-field svg { color: var(--mute); flex-shrink: 0; }
.search-field input { flex: 1; border: none; background: none; outline: none; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); }
.search-field input::placeholder { color: var(--mute); font-weight: 500; }
.search-note { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--mute); margin-top: 12px; }
.search-note .pin { width: 15px; height: 15px; color: var(--green); }

.results { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.result {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px;
  transition: border-color .15s, background .15s, transform .1s;
}
.result:hover { border-color: var(--brand); background: var(--brand-soft); }
.result:active { transform: scale(.99); }
.result .r-pin { width: 38px; height: 38px; border-radius: 11px; background: var(--page); color: var(--brand-deep); display: grid; place-items: center; flex-shrink: 0; }
.result:hover .r-pin { background: #fff; }
.result .r-name { font-size: 16.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result .r-name b { color: var(--brand-deep); }
.result .r-meta { font-size: 13.5px; color: var(--mute); font-weight: 600; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result .r-go { margin-left: auto; flex-shrink: 0; color: var(--mute); }
/* owner-app "여기예요" pill (행 우측) */
.result .r-here {
  margin-left: auto; flex-shrink: 0; white-space: nowrap;
  height: 38px; padding: 0 15px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep);
  display: inline-flex; align-items: center; font-size: 14px; font-weight: 800;
}
.results-empty { text-align: center; font-size: 14.5px; color: var(--mute); font-weight: 600; padding: 26px 0; line-height: 1.6; }

/* 결과 하단 안내 (owner-app) */
.results-note { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--mute); margin-top: 16px; line-height: 1.55; }

/* fallback row (owner-app: 검색결과에 우리 가게가 안 보일 때) */
.result-fallback {
  width: 100%; text-align: center; background: transparent; border: 1px dashed var(--line-strong);
  border-radius: 14px; padding: 13px 16px; font-size: 14px; font-weight: 700; color: var(--sub);
  transition: border-color .15s, color .15s;
}
.result-fallback:hover { border-color: var(--brand); color: var(--brand-deep); }

/* 검색 결과 로딩 스켈레톤 (owner-app 250ms 디바운스 구간) */
.results-skeleton {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 16px 20px;
}
.results-skeleton .sk-line { height: 18px; border-radius: 6px; background: linear-gradient(90deg, var(--line) 25%, var(--page) 37%, var(--line) 63%); background-size: 400% 100%; animation: sk-shimmer 1.3s ease infinite; }
.results-skeleton .sk-line + .sk-line { margin-top: 10px; }
@keyframes sk-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* 무결과 안내 카드 (owner-app NoResultGuide) */
.no-result { text-align: center; padding-top: 26px; }
.no-result .nr-ico { width: 76px; height: 76px; border-radius: 999px; background: #fff; border: 1px solid var(--line); display: inline-grid; place-items: center; color: var(--mute); }
.no-result .nr-t { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 16px; color: var(--ink); }
.no-result .nr-sub { font-size: 15px; color: var(--sub); line-height: 1.6; margin-top: 8px; font-weight: 500; }
.no-result-tips { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 6px 19px; text-align: left; }
.no-result-tips .nrt-row { display: flex; gap: 12px; padding: 12px 0; align-items: flex-start; }
.no-result-tips .nrt-row + .nrt-row { border-top: 1px solid var(--line); }
.no-result-tips .nrt-no { width: 26px; height: 26px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; font-size: 13.5px; font-weight: 800; flex-shrink: 0; }
.no-result-tips .nrt-t { font-size: 16px; font-weight: 800; color: var(--ink); }
.no-result-tips .nrt-d { font-size: 14px; color: var(--mute); font-weight: 600; margin-top: 2px; }
.no-result-banner { margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: var(--brand-soft); font-size: 13.5px; color: var(--brand-deep); font-weight: 700; line-height: 1.55; text-align: left; }

/* 선택된 가게 칩 */
.store-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--page); border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; margin-top: 16px;
}
.store-chip .r-pin { width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--brand-deep); display: grid; place-items: center; flex-shrink: 0; }
.store-chip .sc-name { font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-chip .sc-meta { font-size: 13px; color: var(--mute); font-weight: 600; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-chip .sc-change { margin-left: auto; font-size: 13.5px; font-weight: 800; color: var(--brand); flex-shrink: 0; white-space: nowrap; }

/* 안내(횟수 제한 설명) */
.note-card {
  background: var(--brand-soft); border-radius: 16px; padding: 16px 18px; margin-top: 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.note-card .nc-ico { width: 26px; height: 26px; border-radius: 8px; background: #fff; color: var(--brand-deep); display: grid; place-items: center; flex-shrink: 0; }
.note-card .nc-t { font-size: 15px; font-weight: 800; color: var(--brand-deep); }
.note-card .nc-d { font-size: 14px; color: #2c4a86; line-height: 1.6; margin-top: 4px; font-weight: 500; }
html[data-theme='emerald'] .note-card .nc-d { color: #0a5249; }
html[data-theme='indigo'] .note-card .nc-d { color: #2e2a7a; }
html[data-theme='violet'] .note-card .nc-d { color: #4a2c86; }

/* 인증 입력 */
.field-label { font-size: 14px; font-weight: 800; color: var(--sub); margin: 20px 4px 8px; }
.input-row { display: flex; gap: 9px; }
.text-input {
  flex: 1; min-width: 0; height: 56px; border: 2px solid var(--line); border-radius: var(--r-input);
  padding: 0 16px; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); background: #fff;
  transition: border-color .15s; letter-spacing: -0.01em;
}
.text-input::placeholder { font-weight: 500; color: var(--mute); letter-spacing: 0; }
.text-input:focus { outline: none; border-color: var(--brand); }
.text-input:disabled { background: var(--page); color: var(--sub); }
.text-input.code { letter-spacing: 0.35em; font-size: 19px; text-align: center; }
.input-row .btn { flex-shrink: 0; }
.field-help { font-size: 13.5px; color: var(--mute); font-weight: 600; margin: 9px 4px 0; line-height: 1.5; }
.field-help.warn { color: var(--amber); }
.code-group { display: none; }
.code-group.show { display: block; animation: mscreen-in .25s ease; }
.demo-hint { font-size: 12.5px; color: var(--mute); font-weight: 600; margin: 7px 4px 0; }

/* 완료 화면 */
.done-screen { text-align: center; padding: 12px 0 4px; }
.done-screen .done-ck { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 8px auto 0; }
.done-screen h3 { margin-top: 18px; }
.done-screen .done-copy { margin-top: 12px; }
.done-screen .done-copy + .done-copy { margin-top: 6px; }
.done-call { display: flex; align-items: center; gap: 13px; background: var(--page); border: 1px solid var(--line); border-radius: 16px; padding: 15px 18px; margin-top: 20px; text-align: left; }
.done-call .dc-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.done-call .dc-t { font-size: 14px; color: var(--mute); font-weight: 700; }
.done-call .dc-num { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin-top: 1px; }

body.modal-open { overflow: hidden; }

/* ---------- 정보 수집 중(스캔) 화면 ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
.spin-ico { width: 17px; height: 17px; border: 2.5px solid var(--line-strong); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }

.collect-store { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); padding: 14px 16px; margin-top: 8px; }
.collect-store .cs-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--page); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.collect-store .cs-name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.collect-store .cs-meta { font-size: 13px; color: var(--mute); font-weight: 600; margin-top: 2px; }
.collect-store .cs-scan { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; padding: 7px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); white-space: nowrap; }
/* owner-app: 완료 시 스캔 칩 자체가 사라진다 */
.mscreen[data-done] .cs-scan { display: none; }

.collect-prog { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 4px 9px; font-size: 14px; font-weight: 800; }
.collect-prog .cp-left { color: var(--mute); }
.mscreen[data-done] .collect-prog .cp-left { color: var(--green); }
.collect-prog .cp-right { color: var(--brand); }
.collect-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 0 4px 14px; }
.collect-bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .45s cubic-bezier(.3,.8,.3,1); }
/* 수집중 indeterminate 바 (owner-app onb-prog is-indeterminate) — 가짜 진행률 대신 불확정 스트라이프 */
.collect-bar.is-indeterminate i {
  width: 40%; transition: none;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: collect-indeterminate 1.15s ease-in-out infinite;
}
@keyframes collect-indeterminate {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 15px; min-height: 86px; display: flex; flex-direction: column; gap: 8px; }
.info-card .ic-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.info-card .ic-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: var(--sub); white-space: nowrap; }
.info-card .ic-label .ic-svg { color: var(--sub); flex-shrink: 0; }
.info-card[data-state="pending"] .ic-label { color: var(--mute); }
.info-card[data-state="pending"] .ic-label .ic-svg { color: var(--mute); }
.info-card .ic-value { min-width: 0; }
.info-card .ic-status { margin-left: auto; display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; }
.info-card .ic-value { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; line-height: 1.35; }
.ic-status .st-done, .ic-status .st-warn { display: none; }
.ic-status .st-done { color: var(--green); }
.ic-status .st-warn { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); color: #fff; font-size: 12px; font-weight: 900; line-height: 1; }
.info-card[data-state="pending"] .ic-value { color: var(--mute); font-weight: 600; }
.info-card[data-state="done"] .st-spin { display: none; }
.info-card[data-state="done"] .st-done { display: grid; }
.info-card[data-state="notfound"] { border-style: dashed; border-color: var(--amber); background: #fffaf5; }
.info-card[data-state="notfound"] .st-spin { display: none; }
.info-card[data-state="notfound"] .st-warn { display: grid; }
.info-card .nf-pill { display: inline-block; background: var(--amber-soft); color: var(--amber-deep); font-size: 12.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.info-card .nf-note { display: block; font-size: 12px; color: var(--amber); font-weight: 700; margin-top: 5px; }
/* 완료 시 카드가 살아나는 stagger (owner-app onb-pop) */
.mscreen[data-done] .info-card { animation: card-pop .34s cubic-bezier(.2,.8,.25,1) backwards; }
.mscreen[data-done] .info-card:nth-child(1) { animation-delay: 0s; }
.mscreen[data-done] .info-card:nth-child(2) { animation-delay: .08s; }
.mscreen[data-done] .info-card:nth-child(3) { animation-delay: .16s; }
.mscreen[data-done] .info-card:nth-child(4) { animation-delay: .24s; }
@keyframes card-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.collect-foot { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--mute); margin-top: 18px; }
.collect-foot .fdot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* 불릿 안내 (note-card) */
.note-list { margin: 7px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.note-list li { position: relative; padding-left: 15px; font-size: 13.5px; line-height: 1.55; font-weight: 600; }
.note-list li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .65; }

/* ---------- 정보 확인(confirm) 화면 — owner-app PlaceConfirm 경량 ---------- */
.confirm-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
/* 확인 카드(읽기 전용) — owner-app V2Card */
.v2-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 16px 18px; }
.v2-card .vc-label { font-size: 13px; font-weight: 800; color: var(--mute); letter-spacing: -0.01em; }
.v2-card .vc-body { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.v2-card .cf-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.v2-card .cf-row .cf-k { color: var(--sub); font-weight: 700; white-space: nowrap; }
.v2-card .cf-row .cf-v { text-align: right; font-weight: 800; }
.v2-card .cf-line { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.v2-card .cf-more { font-size: 13.5px; font-weight: 800; color: var(--brand); margin-top: 2px; }
.v2-card .cf-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.v2-card .cf-chip { display: inline-block; background: var(--page); border: 1px solid var(--line); color: var(--sub); font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }

/* 확인 카드 인라인 편집(owner-app PlaceConfirm 패리티) */
.v2-card .vc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v2-card .vc-edit { font-size: 13.5px; font-weight: 800; color: var(--brand); flex-shrink: 0; }
.v2-card .vc-edit:hover { color: var(--brand-deep); }
.v2-card .cf-rec { font-size: 11px; font-weight: 800; color: var(--brand-deep); background: var(--brand-soft); border-radius: 999px; padding: 2px 7px; margin-left: 6px; }
.v2-card .cf-more { align-self: flex-start; }
.edit-row { display: grid; grid-template-columns: 28px 1fr auto 1fr; gap: 7px; align-items: center; }
.edit-row .edit-wd { font-size: 14px; font-weight: 700; color: var(--sub); }
.edit-row .edit-dash { color: var(--mute); font-weight: 800; text-align: center; }
.edit-time { height: 44px; padding: 0 10px; font-size: 14px; }
.edit-menu { border-top: 1px solid var(--line); padding-top: 11px; display: flex; flex-direction: column; gap: 8px; }
.edit-menu:first-child { border-top: none; padding-top: 0; }
.edit-mname { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.edit-price { height: 46px; font-size: 15px; }
.edit-addr { height: 50px; font-size: 15px; }
.edit-rec { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; align-self: flex-start; }
.edit-rec input { width: 18px; height: 18px; }
.edit-actions { display: flex; gap: 8px; margin-top: 4px; }
.edit-actions button { height: 42px; padding: 0 20px; border-radius: 12px; font-size: 14.5px; font-weight: 800; }
.edit-save { background: var(--brand); color: #fff; }
.edit-cancel { background: var(--page); color: var(--sub); border: 1px solid var(--line); }

.confirm-foot { text-align: center; font-size: 13px; font-weight: 700; color: var(--mute); margin-top: 18px; }

/* 미상 게이트 카드(amber) — owner-app MissCard. collect notfound 팔레트(amber) 재사용 */
.miss-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.miss-list:empty { display: none; }
.miss-card { background: #fffaf5; border: 1px solid var(--amber); border-radius: 16px; padding: 16px 18px; }
.miss-card .mc-top { display: flex; align-items: center; gap: 9px; }
.miss-card .mc-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--amber-soft); color: var(--amber-deep); display: grid; place-items: center; flex-shrink: 0; }
.miss-card .mc-label { font-size: 15.5px; font-weight: 800; color: var(--amber-deep); }
.miss-card .mc-pill { margin-left: auto; flex-shrink: 0; background: var(--amber-soft); color: var(--amber-deep); font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.miss-card .mc-body { font-size: 14px; color: var(--amber-deep); line-height: 1.55; margin-top: 10px; font-weight: 600; }
.miss-card .mc-btn { width: 100%; margin-top: 13px; height: 48px; border-radius: 13px; background: var(--amber); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 15px; font-weight: 800; transition: background .15s, transform .1s; }
.miss-card .mc-btn:hover { background: var(--amber-deep); }
.miss-card .mc-btn:active { transform: scale(.99); }

/* ---------- 미상 입력 시트(bottom-sheet) — owner-app MissingInputSheet ---------- */
.miss-sheet { position: absolute; inset: 0; z-index: 10; display: flex; align-items: flex-end; justify-content: center; background: rgba(15,19,25,.4); animation: miss-fade .2s ease; }
.miss-sheet[hidden] { display: none; }
@keyframes miss-fade { from { opacity: 0; } to { opacity: 1; } }
.miss-sheet-panel { width: 100%; background: var(--card); border-radius: 24px 24px 0 0; padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); max-height: 90%; overflow-y: auto; box-shadow: 0 -8px 30px rgba(15,19,25,.18); animation: miss-up .26s cubic-bezier(.2,.8,.25,1); }
@media (min-width: 600px) { .miss-sheet { align-items: center; padding: 16px; } .miss-sheet-panel { border-radius: 24px; max-width: 420px; } }
@keyframes miss-up { from { transform: translateY(40px); opacity: .5; } to { transform: none; opacity: 1; } }
.miss-sheet-head { display: flex; align-items: center; gap: 8px; }
.miss-sheet-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.miss-sheet-close { margin-left: auto; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--sub); flex-shrink: 0; }
.miss-sheet-close:hover { background: var(--page); color: var(--ink); }
.miss-sheet-sub { font-size: 14.5px; color: var(--sub); line-height: 1.5; margin-top: 12px; font-weight: 500; }
.miss-questions { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.miss-q .mq-head { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.miss-q .mq-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--page); color: var(--sub); display: grid; place-items: center; flex-shrink: 0; }
.miss-q .mq-title { font-size: 18px; font-weight: 800; color: var(--ink); }
.miss-q .mq-hint { font-size: 13px; color: var(--mute); font-weight: 600; margin-top: 1px; }
.miss-q .mq-choices { display: flex; gap: 10px; }
.choice-btn { flex: 1; height: 60px; border-radius: 16px; font-size: 17px; font-weight: 700; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.choice-btn.sel { color: #fff; border-color: var(--ink); background: var(--ink); }
.choice-btn.sel.pos { border-color: var(--green); background: var(--green); }
.miss-sheet-foot { margin-top: 24px; }
.miss-hint { text-align: center; font-size: 13.5px; color: var(--mute); font-weight: 700; margin-bottom: 10px; }
.miss-hint[hidden] { display: none; }

/* ---------- 개인정보 수집·이용 동의 체크박스(verify) ---------- */
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; cursor: pointer; user-select: none; }
.consent-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent-row .consent-box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-strong); background: #fff; display: grid; place-items: center; color: transparent; flex-shrink: 0; margin-top: 1px; transition: background .15s, border-color .15s, color .15s; }
.consent-row input:checked + .consent-box { background: var(--brand); border-color: var(--brand); color: #fff; }
.consent-row input:focus-visible + .consent-box { outline: 2px solid var(--brand); outline-offset: 2px; }
.consent-row .consent-text { font-size: 14px; font-weight: 600; color: var(--sub); line-height: 1.5; }
.consent-row .consent-text a { color: var(--brand); font-weight: 700; text-decoration: underline; }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 640px; margin: 0 auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-reassure { justify-content: center; }
  .hero-visual { order: 2; margin-top: 8px; }
  .printer { grid-template-columns: 1fr; }
  .printer-copy { text-align: center; }
  .printer-points { max-width: 420px; margin-inline: auto; }
  .printer-points li { text-align: left; }
  .printer-copy .kicker { display: block; }
  .demo { grid-template-columns: 1fr; }
  .demo .section-head.left { text-align: center; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; color: var(--ink); }
  .header-cta { display: none; }
  .header-cta.show-mobile { display: inline-flex; }
  .waitlist { flex-direction: column; }
  .waitlist .field, .waitlist .btn { width: 100%; }
  .foot-links { gap: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .blip { animation: none !important; }
}
