/* 짠짠 웹사이트(2026-11-12). 앱과 같은 흰 바탕·먹색 글자, 색은 픽셀 그림·금액·꿀꿀이 말풍선 분홍에만.
   글꼴: Pretendard(CDN), 숫자 Ubuntu Mono, 꿀꿀이 말풍선 갈무리11(쓰는 글자만 뽑은 woff: python3 web/fonts.py).
   글자 크기는 모바일이 기본이고 데스크톱 값은 860px 미디어 쿼리에. 사이트도 앱처럼 늘 밝은 화면이다. */
@font-face { font-family: 'Galmuri11'; src: url('/fonts/galmuri11.woff?v=1') format('woff'); font-display: swap; }
@font-face { font-family: 'Ubuntu Mono'; font-weight: 400; src: url('/fonts/ubuntu-mono-400.woff?v=1') format('woff'); font-display: swap; }
@font-face { font-family: 'Ubuntu Mono'; font-weight: 700; src: url('/fonts/ubuntu-mono-700.woff?v=1') format('woff'); font-display: swap; }

:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --sub: #666666;
  --faint: #9C9C9C;
  --card: #F9F9F9;
  --field: #F4F4F4;
  --line: #ECECEC;
  --bubble: #FFF0F5;
  --pink: #F06A9F;
  --under: #2F6BFF;
  --over: #E5484D;
  --shadow: rgba(17, 17, 17, 0.16);
  --sans: Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --num: 'Ubuntu Mono', ui-monospace, Menlo, monospace;
  --pixel: 'Galmuri11', Pretendard, sans-serif;
  --pad: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--under); outline-offset: 3px; border-radius: 6px; }

/* ---- 공통 조각 ---- */
.pig { display: block; width: 28px; height: 28px; shape-rendering: crispEdges; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.bubble {
  margin: 0; padding: 8px 14px; border-radius: 16px 16px 16px 4px; background: var(--bubble); color: var(--ink);
  font-family: var(--pixel); font-size: 12px; line-height: 1.75;
  /* 앱과 같이 기기 픽셀 하나만큼 오른쪽에 한 번 더(한 단계 굵게, 흐림 없는 그림자). 화면 밀도마다 1/밀도 px. */
  text-shadow: 1px 0 0 var(--ink);
}
@media (min-resolution: 2dppx) { .bubble { text-shadow: 0.5px 0 0 var(--ink); } }
@media (min-resolution: 3dppx) { .bubble { text-shadow: 0.334px 0 0 var(--ink); } }
.say { display: flex; align-items: flex-end; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none;
}
.store svg { width: 16px; height: 20px; }
.phone { background: var(--ink); padding: 2.4%; border-radius: 15% / 6.9%; box-shadow: 0 30px 60px -24px var(--shadow); }
.phone img { display: block; width: 100%; height: auto; border-radius: 13% / 6%; }
.center { text-align: center; }

/* ---- 랜딩 ---- */
.lnav { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; padding: 18px var(--pad); }
.lnav nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; color: var(--sub); }
.lnav nav a { text-decoration: none; }
.h-xl { margin: 0; font-size: clamp(36px, 10vw, 68px); font-weight: 800; line-height: 1.12; letter-spacing: -0.04em; text-wrap: balance; }
.h-l { margin: 0; font-size: clamp(26px, 7vw, 40px); font-weight: 800; line-height: 1.22; letter-spacing: -0.035em; text-wrap: balance; }
.lede { margin: 14px 0 0; font-size: clamp(16px, 4.4vw, 20px); line-height: 1.5; color: var(--sub); text-wrap: balance; }

.hero { display: grid; justify-items: center; text-align: center; max-width: 1120px; margin: 0 auto; padding: 28px var(--pad) 72px; }
.hero .store { margin-top: 26px; }

/* 영수증 데모: 앱 웰컴처럼 스캔 줄이 훑고 결과 시트가 올라온다. 쉬는 모습이 다 보이는 상태이고, 움직임은 .play일 때만. */
.demo { width: min(100%, 420px); margin-top: 44px; text-align: left; }
.cam { position: relative; height: 300px; border-radius: 32px; background: var(--field); overflow: hidden; }
.corner { position: absolute; width: 30px; height: 30px; border: 3.5px solid var(--ink); }
.corner.tl { top: 24px; left: 24px; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.corner.tr { top: 24px; right: 24px; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.corner.bl { bottom: 24px; left: 24px; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.corner.br { bottom: 24px; right: 24px; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.paper {
  position: absolute; left: 50%; top: 30px; width: 58%; padding: 20px 18px 30px;
  transform: translateX(-50%) rotate(-3deg); background: var(--bg); font-family: var(--num); font-size: 13px; line-height: 1.5;
  box-shadow: 0 12px 30px -10px var(--shadow);
}
.paper p { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.paper .p-store { justify-content: center; font-family: var(--sans); font-size: 15px; font-weight: 800; }
.paper .p-date { justify-content: center; color: var(--sub); font-size: 12px; }
.paper hr { border: 0; border-top: 1.5px dashed var(--ink); margin: 10px 0; }
.paper .p-total { font-weight: 700; font-size: 14px; }
.scan { position: absolute; left: -8%; right: -8%; top: 6%; height: 3px; background: var(--pink); box-shadow: 0 0 18px 4px var(--bubble); opacity: 0; }
.sheet { position: relative; margin: -96px 14px 0; padding: 20px; border-radius: 28px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px var(--shadow); }
.items { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.items li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; line-height: 1.35; }
.ico { width: 42px; height: 42px; border-radius: 13px; background: var(--card); display: grid; place-items: center; }
.ico svg { width: 26px; height: 26px; shape-rendering: crispEdges; }
.it { display: grid; font-size: 15px; font-weight: 700; }
.it small { font-size: 12px; font-weight: 500; color: var(--sub); }
.items b, .sum b { font-family: var(--num); font-weight: 700; font-size: 16px; }
.sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--sub); }
.sum b { color: var(--ink); font-size: 20px; }
.replay { margin-top: 16px; padding: 4px 8px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.demo.play .scan { animation: scan 1.5s ease-in-out 0.2s both; }
.demo.play .sheet { animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 1.5s both; }
.demo.play .items li { animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.demo.play .items li:nth-child(1) { animation-delay: 1.8s; }
.demo.play .items li:nth-child(2) { animation-delay: 1.95s; }
.demo.play .items li:nth-child(3) { animation-delay: 2.1s; }
@keyframes scan { 0% { top: 6%; opacity: 1; } 88% { top: 92%; opacity: 1; } 100% { top: 92%; opacity: 0; } }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

.trio-sec { display: grid; gap: 36px; max-width: 1120px; margin: 0 auto; padding: 16px var(--pad) 80px; }
.trio { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin: 0 -4px; scrollbar-width: none; }
.trio::-webkit-scrollbar { display: none; }
.trio figure { margin: 0; flex: 0 0 64%; scroll-snap-align: center; display: grid; gap: 16px; justify-items: center; }
.trio .phone { width: 100%; }
.trio figcaption { font-size: 16px; color: var(--sub); text-align: center; }
.trio figcaption b { color: var(--ink); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: -20px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--ink); }

.notify { display: grid; gap: 28px; justify-items: center; max-width: 1120px; margin: 0 auto; padding: 8px var(--pad) 88px; }
.notes { display: grid; gap: 10px; width: min(100%, 460px); }
.noti { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 22px; background: var(--field); text-align: left; line-height: 1.45; }
.noti-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--bubble); display: grid; place-items: center; }
.noti-ico .pig { width: 24px; height: 24px; }
.noti-h { display: flex; justify-content: space-between; margin: 0 0 2px; font-size: 13px; color: var(--sub); }
.noti-h b { color: var(--ink); }
.noti p:last-child { margin: 0; font-size: 15px; }

.final { display: grid; justify-items: center; gap: 4px; padding: 72px var(--pad) 80px; background: var(--card); text-align: center; }
.final .pig { width: 64px; height: 64px; }
.final-t { margin: 16px 0 0; font-size: clamp(26px, 7vw, 40px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; }
.final .lede { margin-top: 8px; }
.final .store { margin-top: 24px; }

/* ---- 문서(약관·처리방침·고객 지원·404) ---- */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }
header.top { padding: 20px 0 8px; }
.doc { padding: 16px 0 40px; }
.doc h1 { font-size: 28px; line-height: 1.3; letter-spacing: -0.03em; margin: 0 0 6px; font-weight: 800; }
.doc h2 { font-size: 19px; letter-spacing: -0.02em; margin: 36px 0 10px; font-weight: 800; }
.doc h3 { font-size: 16px; margin: 22px 0 6px; font-weight: 700; }
.doc p, .doc ul, .doc ol { margin: 0 0 12px; }
.doc ul, .doc ol { padding-left: 20px; }
.doc li { margin: 4px 0; }
.meta { color: var(--sub); font-size: 14px; margin-bottom: 24px; }
.note { background: var(--field); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.table { overflow-x: auto; margin: 8px 0 14px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
td:first-child { font-weight: 600; width: 28%; }
th { color: var(--sub); font-weight: 700; font-size: 13px; white-space: nowrap; }
.contact { font-size: 18px; font-weight: 800; }
.contact a { text-decoration: none; border-bottom: 2px solid var(--pink); }
.lost { display: grid; justify-items: start; gap: 6px; padding: 48px 0 80px; }
.lost .say { margin-bottom: 18px; }
.lost .pig { width: 48px; height: 48px; }
.lost .store { margin-top: 14px; }

/* ---- 아래 사업자 정보 ---- */
footer.biz { display: grid; gap: 2px; padding-top: 28px; padding-bottom: 40px; font-size: 12.5px; line-height: 1.7; color: var(--sub); border-top: 1px solid var(--line); }
footer.biz nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; color: var(--ink); font-size: 13px; }
footer.biz nav a { text-decoration: none; }
footer.biz span { display: inline-block; margin-right: 8px; }
.landing footer.biz { max-width: 1120px; border-top: 0; }

@media (hover: hover) and (pointer: fine) {
  .store:hover { background: #2B2B2B; }
  .lnav nav a:hover, footer.biz nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
}

@media (min-width: 860px) {
  :root { --pad: 40px; }
  .lnav { padding-top: 22px; }
  .hero { padding-top: 48px; }
  .trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; overflow: visible; padding: 0 40px; margin: 0; }
  .trio figure { flex: none; }
  .dots { display: none; }
  .doc { padding-top: 24px; }
  .doc h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo.play .scan, .demo.play .sheet, .demo.play .items li { animation: none; }
}
