@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=Hahmlet:wght@500;600;700&display=swap");

/* Frontmark: 종이와 먹 바탕, 브랜드 색은 인장 붉은색 하나. 가게 인스타 영역만 코발트 */
:root {
  --paper: #f4f0e8; --sheet: #fbf9f4; --ink: #17181b; --t2: #55565c; --t3: #6c6b66;
  --line: rgba(23, 24, 27, .11); --seal: #b3321e; --cobalt: #2742d6;
  --sans: "Pretendard Variable", Pretendard, system-ui, sans-serif; --serif: "Hahmlet", "Noto Serif KR", serif;
  --r: 14px; --ease: cubic-bezier(.2, 0, 0, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.65; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }
::selection { background: rgba(179, 50, 30, .18); }
html { scrollbar-color: rgba(23, 24, 27, .3) transparent; }
input, textarea { caret-color: var(--seal); }

/* 머리 */
header { position: sticky; top: 0; z-index: 10; background: rgba(244, 240, 232, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 26px; width: auto; }
nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--t2); }
nav a { text-decoration: none; transition: color .15s var(--ease); }
nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s var(--ease), transform .1s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2c2d31; }
.btn-line { border-color: var(--line); background: transparent; }
.btn-line:hover { background: var(--sheet); }
header .btn { height: 38px; padding: 0 16px; font-size: 14px; }

/* 첫 화면 */
.hero { padding: 72px 0 40px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: 64px; line-height: 1.22; letter-spacing: -.03em; }
.hero .actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero p.lead { font-size: 20px; color: var(--t2); margin: 24px 0 0; max-width: 36em; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.pcard { position: relative; border-radius: 20px; overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: #fff; isolation: isolate; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.pcard:hover img { transform: scale(1.02); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.pcard.pro::before { background: linear-gradient(180deg, rgba(19,21,26,0) 30%, rgba(19,21,26,.92) 78%); }
.pcard.shop { color: var(--ink); }
.pcard.shop::before { background: linear-gradient(180deg, rgba(243,238,228,0) 30%, rgba(243,238,228,.95) 76%); }
.pcard .in { padding: 28px; }
.pcard .tag { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.pcard.pro .tag { color: #e9917c; }
.pcard.shop .tag { color: var(--cobalt); }
.pcard .tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.pcard h2 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.3; margin: 10px 0 8px; }
.pcard.pro h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
.pcard p { font-size: 16px; opacity: .82; }
.pcard .go { margin-top: 18px; font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }

/* 공통 섹션 */
section.block { padding: 96px 0; }
h2.title { font-family: var(--serif); font-size: 44px; line-height: 1.28; font-weight: 700; letter-spacing: -.025em; margin: 0 0 16px; }
p.sub { font-size: 18px; color: var(--t2); max-width: 36em; }

/* 상품 상세 */
.product { border-top: 1px solid var(--line); }
.product.pro { background: #131519; color: #efe8db; border: 0; }
.product.pro p.sub { color: rgba(239, 232, 219, .7); }
.product.shop h2.title { font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; }
.product.shop h2.title em { font-style: normal; color: var(--cobalt); }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.product.pro .points { border-color: rgba(239, 232, 219, .14); }
.points div { padding: 24px 28px 0 0; }
.points b { display: block; font-size: 19px; margin-bottom: 8px; letter-spacing: -.01em; }
.points span { font-size: 16px; opacity: .72; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.plan { border-radius: var(--r); padding: 26px 24px; background: var(--sheet); border: 1px solid var(--line); }
.product.pro .plan { background: #1c1f25; border-color: rgba(239, 232, 219, .1); }
.plan .nm { font-size: 15px; font-weight: 600; opacity: .7; }
.plan .pr { font-size: 30px; font-weight: 700; letter-spacing: -.03em; margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.plan .pr small { font-size: 15px; font-weight: 500; letter-spacing: 0; opacity: .7; }
.plan .meta { font-size: 15px; opacity: .7; }
.plan ul { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.product.pro .plan ul { border-color: rgba(239, 232, 219, .12); }
.plan li { font-size: 15px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.product.pro .plan li { border-color: rgba(239, 232, 219, .1); }
.plan.pick { border: 2px solid var(--seal); }
.product.shop .plan.pick { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.product.shop .plan.pick ul, .product.shop .plan.pick li { border-color: rgba(255, 255, 255, .22); }
.plan .badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }
.product.pro .plan .badge { background: var(--seal); color: #fff; }
.product.shop .plan .badge { background: #fff; color: var(--cobalt); }
.extra { margin-top: 14px; padding: 22px 24px; border-radius: var(--r); display: flex; justify-content: space-between; gap: 24px; align-items: center; background: #1c1f25; border: 1px solid rgba(239, 232, 219, .1); }
.extra p { font-size: 15px; opacity: .72; }
.extra b { font-size: 18px; }
.extra .amt { font-size: 24px; font-weight: 700; white-space: nowrap; }
.demos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.demos a { display: block; padding: 18px; border-radius: 12px; border: 1px solid rgba(239, 232, 219, .14); text-decoration: none; transition: background-color .15s var(--ease); }
.demos a:hover { background: #1c1f25; }
.demos b { display: block; font-size: 17px; }
.demos span { font-size: 14px; opacity: .65; }
.fine { margin-top: 24px; font-size: 14px; opacity: .65; }

/* 진행 방식 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border-top: 2px solid var(--ink); }
.steps div { padding: 22px 24px 0 0; }
.steps .n { font-size: 14px; font-weight: 700; color: var(--t3); }
.steps b { display: block; font-size: 20px; margin: 6px 0 6px; letter-spacing: -.02em; }
.steps span { font-size: 16px; color: var(--t2); }

/* 상담 신청 */
.contact { background: var(--sheet); border-top: 1px solid var(--line); }
.contact .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.promise { list-style: none; margin-top: 32px; }
.promise li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--t2); }
.promise b { color: var(--ink); font-weight: 600; }
form { display: grid; gap: 22px; }
fieldset { border: 0; }
legend, .f label { font-size: 15px; font-weight: 600; margin-bottom: 10px; display: block; }
.req { color: var(--seal); font-weight: 700; margin-left: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; transition: background-color .15s var(--ease), color .15s var(--ease); }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f input, .f textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid rgba(23, 24, 27, .25); padding: 8px 2px 10px; border-radius: 0; transition: border-color .15s var(--ease); }
.f input:focus, .f textarea:focus { outline: none; border-bottom-color: var(--ink); }
.f textarea { min-height: 96px; resize: vertical; }
.f small { display: block; font-size: 13px; color: var(--t3); margin-top: 6px; }
.agree { font-size: 14px; color: var(--t2); display: flex; gap: 10px; align-items: flex-start; }
.agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.agree a { color: var(--ink); }
.consent { font-size: 13px; color: var(--t3); background: var(--paper); border-radius: 10px; padding: 14px 16px; line-height: 1.6; }
.form-msg { font-size: 15px; min-height: 1.5em; }
.form-msg.err { color: var(--seal); }
.done { display: none; padding: 40px 32px; border-radius: var(--r); background: var(--paper); }
.done b { font-family: var(--serif); font-size: 26px; font-weight: 700; display: block; margin-bottom: 8px; }
.sent form { display: none; }
.sent .done { display: block; }
.hp { position: absolute; left: -9999px; }

/* 자주 묻는 질문 */
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-weight: 400; color: var(--t3); }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; color: var(--t2); font-size: 16px; max-width: 46em; }

footer { padding: 48px 0 64px; border-top: 1px solid var(--line); font-size: 13px; color: var(--t3); }
footer .logo img { height: 22px; margin-bottom: 18px; }
footer p { margin-bottom: 6px; }
footer a { color: var(--t2); }

@media (max-width: 880px) {
  nav { display: none; }
  header .btn { margin-left: auto; }
  .hero { padding: 40px 0 24px; }
  .hero h1 { font-size: 34px; }
  .pair, .points, .plans, .steps, .contact .grid, .row2 { grid-template-columns: 1fr; }
  .demos { grid-template-columns: 1fr 1fr; }
  .pcard { min-height: 0; justify-content: flex-start; }
  .pcard img { position: static; height: 240px; object-position: 72% 40%; }
  .pcard.pro { background: #131519; } .pcard.shop { background: #f3eee4; }
  .pcard::before { display: none; }

  section.block { padding: 64px 0; }
  h2.title { font-size: 30px; }
  .contact .grid { gap: 32px; }
  .extra { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
/* 대비 보정: 코발트·먹색 위 보조 글씨는 투명도 대신 밝은 색으로 */
.product.shop .plan.pick .nm, .product.shop .plan.pick .meta, .product.shop .plan.pick .pr small { opacity: 1; color: rgba(255, 255, 255, .9); }
.product.pro .fine, .product.pro .plan .meta, .product.pro .plan .nm, .product.pro .points span, .product.pro .extra p, .demos span { opacity: 1; color: rgba(239, 232, 219, .76); }
.fine, .plan .meta, .plan .nm, .points span { opacity: 1; color: var(--t2); }

/* ===== 첫 화면: 휴대폰 속 검색 장면 (이 페이지의 주인공) ===== */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy .lead { font-size: 20px; }
.stage { position: relative; margin: 0; background: var(--ink); border-radius: 24px; padding: 44px 24px 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(closest-side, rgba(244, 240, 232, .07), transparent); z-index: -1; }
.phone { width: 292px; height: 560px; border-radius: 46px; background: #050506; padding: 10px; box-shadow: 0 2px 0 rgba(255, 255, 255, .06) inset, 0 40px 60px -30px rgba(0, 0, 0, .8); }
.screen { position: relative; height: 100%; border-radius: 37px; background: #fff; overflow: hidden; color: #1b1c1f; font-size: 12px; }
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 6px; font-weight: 600; font-size: 13px; }
.sbar i { width: 22px; height: 10px; border: 1.5px solid #1b1c1f; border-radius: 3px; position: relative; }
.sbar i::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #1b1c1f; border-radius: 1px; }
.q { margin: 8px 14px 10px; height: 40px; border-radius: 12px; background: #f1f2f4; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: #6b6e75; }
.qt { color: #1b1c1f; font-size: 14px; font-weight: 500; white-space: nowrap; }
.caret { width: 1.5px; height: 16px; background: var(--seal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tabs { display: flex; gap: 14px; padding: 0 16px 8px; border-bottom: 1px solid #eceef1; color: #686b72; font-size: 12px; }
.tabs .on { color: #1b1c1f; font-weight: 700; box-shadow: 0 2px 0 #1b1c1f; padding-bottom: 6px; }
.res { position: absolute; left: 0; right: 0; top: 122px; padding: 14px 14px 0; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.res .src { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.res .src span { font-weight: 600; font-size: 12px; }
.res .src small { color: #686b72; font-size: 11px; }
.fav { width: 18px; height: 18px; border-radius: 5px; flex: none; }
.f-pro { background: #1f5f55; }
.f-shop { background: var(--cobalt); border-radius: 50%; }
.rt { display: block; font-size: 14px; line-height: 1.4; color: #1a3fb0; margin-bottom: 10px; font-weight: 600; }
.res img { width: 100%; border-radius: 12px; border: 1px solid #eceef1; }
.res-pro img { height: 250px; object-fit: cover; object-position: top; }
.res-shop img { height: 330px; object-fit: cover; object-position: top; }
.links { display: flex; gap: 6px; margin-top: 10px; }
.links span { font-size: 11px; padding: 5px 9px; border-radius: 999px; background: #f1f2f4; color: #3a3d44; }
.stage[data-k="pro"] .res-shop, .stage[data-k="shop"] .res-pro { opacity: 0; transform: translateY(12px); pointer-events: none; }
.switch { display: flex; gap: 6px; background: rgba(244, 240, 232, .08); padding: 4px; border-radius: 999px; }
.switch button { font: inherit; font-size: 14px; font-weight: 600; color: rgba(244, 240, 232, .72); background: transparent; border: 0; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.switch button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.switch button:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.stage figcaption { font-size: 12px; color: rgba(244, 240, 232, .6); }

/* 상품 섹션 안의 실물 장면 */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; margin-top: 64px; }
.feature h3 { font-family: var(--serif); font-size: 30px; line-height: 1.35; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.product.shop .feature h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -.03em; }
.feature p { font-size: 17px; opacity: .8; }
.feature img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }

@media (max-width: 880px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 32px; }
  .stage { padding: 32px 16px 20px; }
  .feature { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ===== 가게 인스타: 한눈에 보이는 납품물 ===== */
.ig-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ig-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.ig { width: 30px; height: 30px; flex: none; }
.deliver { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.deliver li { background: var(--sheet); border-radius: 14px; padding: 20px; display: grid; gap: 4px; }
.deliver svg { width: 26px; height: 26px; color: var(--cobalt); margin-bottom: 8px; }
.deliver b { font-size: 18px; letter-spacing: -.02em; }
.deliver span { font-size: 22px; font-weight: 800; color: var(--cobalt); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ig-stage { position: relative; display: grid; place-items: center; padding: 32px 0; }
.ig-stage::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 28px; background: var(--cobalt); z-index: 0; }
.phone2 { position: relative; z-index: 1; width: 270px; border-radius: 40px; background: #050506; padding: 9px; box-shadow: 0 40px 60px -30px rgba(10, 20, 80, .6); }
.phone2 img { width: 100%; height: 520px; object-fit: cover; object-position: top; border-radius: 32px; }
.float { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); font-size: 14px; }
.float b { display: block; font-size: 14px; }
.float small { color: var(--t2); font-size: 12px; }
.f1 { left: -4%; top: 22%; }
.f2 { right: -4%; bottom: 16%; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.ok { background: #2e9d5b; }
.dot.wait { background: #f0a020; }
.ig-badge { position: absolute; z-index: 2; right: 10%; top: 6%; width: 64px; height: 64px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .4); }
.ig-badge .ig { width: 44px; height: 44px; }
.promise-row { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
.promise-row li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); }
.promise-row svg { width: 24px; height: 24px; color: var(--cobalt); flex: none; margin-top: 2px; }
.promise-row b { display: block; font-size: 16px; }
.promise-row span { font-size: 14px; color: var(--t2); }
@media (max-width: 880px) {
  .ig-hero, .promise-row { grid-template-columns: 1fr; gap: 32px; }
  .f1 { left: 4px; top: 14%; } .f2 { right: 4px; bottom: 10%; } .float { padding: 10px 12px; max-width: 72%; } .float b { font-size: 13px; }
  .phone2 { width: 230px; } .phone2 img { height: 440px; }
}
/* 사무소 홈페이지는 상품이 둘 */
.extra .amt small { font-size: 14px; font-weight: 500; opacity: .76; margin-left: 4px; }
@media (min-width: 881px) { .plans.two { grid-template-columns: 1fr 1fr; } }
