/* ============================================================
   STAMPY — Warm Loyalty Stamp CRM (no-app)
   Design tokens · 따뜻한 단골/스탬프 정체성
============================================================ */
/* hidden 속성은 항상 숨김 — 오버레이/모달의 display 규칙이 [hidden]을 덮어써
   "닫아도 투명 레이어가 남아 클릭을 막는" 버그를 방지한다. */
[hidden] { display: none !important; }
:root {
  /* ---- standard design tokens (shared across stamp screens) ---- */
  --cream:      #fff8ef;   /* paper cream */
  --paper:      #ffffff;
  --ink:        #1f2a44;   /* ink navy */
  --ink-soft:   #6f6557;   /* warm soft ink */
  --line:       #ece6db;   /* warm hairline */

  --tangerine:  #ff7a45;   /* primary accent */
  --tangerine-d:#ef6230;
  --stamp-red:  #e63946;   /* stamp red */
  --mint:       #2dd4a7;   /* success mint */
  --amber:      #f0a830;   /* stars / amber */

  --r-sm:       10px;
  --r-md:       14px;
  --r-lg:       20px;
  --r-pill:     999px;

  --shadow-sm:  0 1px 3px rgba(31,42,68,.06);
  --shadow-md:  0 6px 20px rgba(31,42,68,.10);
  --shadow-lg:  0 16px 44px rgba(31,42,68,.16);
  --shadow-warm:0 12px 30px rgba(239,98,48,.18);

  --grad-warm:  linear-gradient(135deg, #ff9a5a, #ff7a45, #ef6230);

  /* ---- derived/companion tokens (kept for existing references) ---- */
  --cream-2:    #fdf0e2;   /* warmer panel */
  --card:       var(--paper);
  --stamp:      var(--stamp-red);
  --mint-d:     #1fa583;
  --muted:      #8a8170;   /* warm muted */
  --line-2:     #e6ddcf;   /* slightly stronger warm border */
  --paper-edge: #f2e4d2;

  --grad-hero:  radial-gradient(1100px 540px at 78% -8%, #ffe6cf 0%, rgba(255,230,207,0) 60%),
                radial-gradient(820px 460px at 8% 12%, #ffe9d8 0%, rgba(255,233,216,0) 55%);

  --r-card:     var(--r-lg);
  --r-btn:      12px;

  --shadow-phone: 0 36px 90px -28px rgba(31,42,68,.42), 0 10px 30px rgba(31,42,68,.16);

  --font:       Pretendard, -apple-system, "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
  --font-disp:  "Pretendard", system-ui, sans-serif;

  --ease:       .25s cubic-bezier(.4,0,.2,1);
  --bounce:     cubic-bezier(.34,1.56,.64,1);

  --demo-banner-h: 0px;   /* 상단 데모 배너 없음 → 스티키 오프셋 0 */
}

/* ============================================================
   DEMO NOTICE BANNER (public demo safety)
============================================================ */
.demo-banner {
  position: sticky; top: 0; z-index: 200;
  background: var(--ink);
  color: #fff8ef;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.demo-banner-inner {
  display: flex; align-items: center; gap: 12px;
  min-height: var(--demo-banner-h);
  padding-top: 6px; padding-bottom: 6px;
}
.demo-banner-text {
  margin: 0; flex: 1;
  font-size: .82rem; line-height: 1.4; color: #f3e9dc;
}
.demo-banner-text strong {
  color: #fff;
  background: var(--tangerine); color: #fff;
  padding: 1px 7px; border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 800; margin-right: 4px;
  white-space: nowrap;
}
.demo-banner-close {
  flex: none; width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
  border: none; border-radius: 8px;
  font-size: 1.15rem; line-height: 1; cursor: pointer;
  transition: background var(--ease);
}
.demo-banner-close:hover { background: var(--tangerine); }
@media (max-width: 600px) {
  .demo-banner-text { font-size: .76rem; }
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 2px; border-radius: 6px; }

/* ---- Korean line-break consistency (어절 단위 줄바꿈) ---- */
/* Break Korean only at word (space) boundaries, never mid-syllable;
   long URLs / latin tokens still wrap safely via overflow-wrap. */
body, p, h1, h2, h3, h4, li, blockquote, label, span, a, button, figcaption, div {
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* Balanced wrapping for headings/labels, pretty (no orphan) for body copy. */
h1, h2, h3, h4,
.eyebrow, .scr-title, .store-name, .c-title,
.testi-card blockquote, .step-card h3, .safety-card h3,
.proof-method-card h3, .value-panel h3, .faq-q > span:first-child,
.ts-item b, .ts-item span, .cr-tag, .vp-tag,
.value-list .v-text strong, .compare-row .cr-label .t,
/* newer content: tier card / accrual / promo / inquiry headings & labels */
.promo-title, .inquiry-heading, .accreq-tag, .inquiry-tag,
.tier-card-top, .accreq-state-txt b, .field label, .iq-field label,
.accreq-field label, .accreq-state-txt span {
  text-wrap: balance;
}
p, .lead, .scr-desc, .faq-a-inner, .pin-helper, .ps-note,
.daily-hint, .proof-foot-note, .voc-notice p, .welcome-msg,
.alimtalk-body, .review-voluntary-note, .footer-disclaimer,
.compliance p, .safety-card p, .proof-method-card p, .value-list .v-text span,
/* newer content: tier card / accrual / promo / inquiry body copy & notes */
.promo-body, .inquiry-sub, .iq-privacy, .accreq-desc, .accreq-foot,
.tier-prog-text, .tier-perk, .tier-perk span, .mypage-greet {
  text-wrap: pretty;
}
/* keep semantic short phrases on one line */
.nobr { white-space: nowrap; }

/* ============================================================
   LAYOUT & TYPE
============================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
section { padding: 104px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .04em;
  color: var(--tangerine-d); text-transform: uppercase;
  background: #fff3e7; border: 1px solid #ffd9bd;
  padding: 6px 14px; border-radius: var(--r-pill);
}
h1, h2, h3 { font-family: var(--font-disp); letter-spacing: -.025em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { margin: 16px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.lead { color: var(--ink-soft); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .98rem; padding: 14px 26px;
  border-radius: var(--r-btn); transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary { background: var(--grad-warm); color: #fff; box-shadow: var(--shadow-warm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); background: #18213a; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--tangerine); color: var(--tangerine-d); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.04rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ============================================================
   NAV
============================================================ */
#nav {
  position: sticky; top: var(--demo-banner-h); z-index: 100;
  background: rgba(255,248,239,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
#nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(31,42,68,.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad-warm);
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(239,98,48,.35);
  transform: rotate(-6deg);
}
.logo-text em { color: var(--tangerine-d); font-style: normal; }
/* 베타 표시 — 로고 옆 작은 칩. 서비스는 정상 운영하되 초기 단계임을 알린다.
   정식 단계로 넘어가면 이 규칙과 각 화면의 .beta-chip 요소를 함께 제거한다. */
.beta-chip {
  display: inline-block; margin-left: 7px; padding: 2px 7px;
  border-radius: var(--r-pill); border: 1px solid rgba(240,168,48,.32);
  background: rgba(240,168,48,.16); color: #a96f0a;
  font-size: .62rem; font-weight: 800; letter-spacing: .02em;
  vertical-align: middle; white-space: nowrap;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: .95rem; font-weight: 600; color: var(--ink-soft); transition: color var(--ease); }
.nav-links a:hover { color: var(--tangerine-d); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }
.nav-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(20,20,30,.28); opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* ============================================================
   HERO
============================================================ */
.hero { padding: 80px 0 64px; background: var(--grad-hero); overflow: hidden; position: relative; }
/* subtle paper grain texture for depth (pure CSS, no asset) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255,122,69,.05) 0, transparent 9px),
    radial-gradient(circle at 62% 72%, rgba(31,42,68,.035) 0, transparent 7px);
  background-size: 38px 38px, 46px 46px;
  opacity: .7;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin: 20px 0 18px; }
.hero-copy h1 .hl { color: var(--tangerine-d); position: relative; white-space: nowrap; }
.hero-copy h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 4px; height: 30%;
  background: #ffd9bd; border-radius: 4px; z-index: -1; opacity: .8;
}
.hero-copy .lead { font-size: 1.14rem; max-width: 500px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust .t-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.hero-trust svg { color: var(--mint-d); }
.hero-trust-note { margin-top: 10px; font-size: .74rem; line-height: 1.5; color: var(--muted); max-width: 500px; }
.no-app-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px;
  background: #fff; border: 1.5px dashed var(--tangerine); color: var(--tangerine-d);
  font-weight: 800; font-size: .88rem; padding: 7px 15px; border-radius: var(--r-pill);
}
/* audience disclosure chip — who this service is (and isn't) for */
.audience-chip {
  display: inline-block; margin-top: 16px; max-width: 480px;
  background: var(--cream-2); border: 1px solid var(--line-2); color: var(--ink-soft);
  font-size: .8rem; font-weight: 600; line-height: 1.6;
  padding: 9px 18px; border-radius: var(--r-md);
}

/* hero phone */
.hero-phone-wrap { display: grid; place-items: center; position: relative; }
.hero-glow { position: absolute; inset: -30px; background: radial-gradient(closest-side, rgba(255,122,69,.30), transparent 70%); filter: blur(10px); }

/* ambient cafe photo behind the phone (warm-blended) */
.hero-ambient {
  position: absolute; width: 280px; height: 340px; right: -6%; top: 2%;
  border-radius: 28px; overflow: hidden; transform: rotate(5deg);
  box-shadow: var(--shadow-lg); z-index: 0;
}
.hero-ambient img { width: 100%; height: 100%; object-fit: cover; }
.hero-ambient .ha-tint {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(255,154,90,.42), rgba(239,98,48,.34) 55%, rgba(31,42,68,.30));
  mix-blend-mode: multiply;
}
.hero-ambient::after {
  content: ""; position: absolute; inset: 0; border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.hero-ambient.img-off { background: var(--grad-warm); }
.hero-ambient.img-off img { display: none; }

/* floating proof chips */
.hero-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 11px;
  box-shadow: var(--shadow-md); animation: floaty 4.5s ease-in-out infinite;
}
.hero-float .hf-txt { display: flex; flex-direction: column; line-height: 1.2; }
.hero-float .hf-txt b { font-size: .9rem; font-weight: 800; color: var(--ink); }
.hero-float .hf-txt span { font-size: .72rem; color: var(--ink-soft); }
.hero-float .hf-emoji { font-size: 1.4rem; }
.hero-float .hf-ring { width: 34px; height: 34px; border-radius: 11px; background: #e8f9f3; display: grid; place-items: center; flex: none; }
.hf-1 { left: -8%; top: 20%; animation-delay: 0s; }
.hf-2 { right: -10%; bottom: 16%; animation-delay: 1.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ============================================================
   PHONE FRAME
============================================================ */
.phone {
  position: relative; width: 330px; height: 678px; border-radius: 46px;
  background: #11192e; padding: 13px; box-shadow: var(--shadow-phone);
  z-index: 1;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 26px; background: #11192e; border-radius: 0 0 16px 16px; z-index: 6;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: var(--cream); display: flex; flex-direction: column;
}
.phone-statusbar {
  height: 44px; flex: none; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 22px 7px; font-size: .72rem; font-weight: 700; color: var(--ink);
  background: var(--cream);
}
.phone-statusbar .sb-right { display: flex; gap: 5px; align-items: center; }
.phone-body { flex: 1; overflow: hidden; position: relative; }

/* ============================================================
   DEMO STEP SCREENS (inside phone)
============================================================ */
.screen {
  position: absolute; inset: 0; padding: 20px 20px 22px; overflow-y: auto;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateX(28px); pointer-events: none;
  transition: opacity .42s var(--ease), transform .42s var(--ease);
}
.screen.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.screen.prev { transform: translateX(-28px); }
.screen::-webkit-scrollbar { width: 0; }

.scr-brandbar { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.scr-brandbar .b-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-warm); display: grid; place-items: center; transform: rotate(-6deg); }
.scr-brandbar .b-name { font-weight: 800; font-size: .92rem; }

.store-card {
  text-align: center; padding: 22px 16px;
}
.store-emblem {
  width: 92px; height: 92px; margin: 6px auto 16px; border-radius: 26px;
  background: linear-gradient(135deg,#fff,#fdeede); border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  position: relative;
}
.store-emblem .store-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.store-emblem.has-photo .store-fallback { display: none; }
.store-emblem .ring { position: absolute; inset: -6px; border: 2px dashed #ffd0b0; border-radius: 30px; animation: spinslow 22s linear infinite; }
@keyframes spinslow { to { transform: rotate(360deg); } }
.store-name { font-family: var(--font-disp); font-weight: 800; font-size: 1.42rem; margin-bottom: 4px; }
.store-sub { color: var(--muted); font-size: .86rem; }
.welcome-msg {
  background: #fff3e7; border: 1px solid #ffd9bd; border-radius: 14px;
  padding: 13px 15px; margin: 18px 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.55;
}
.welcome-msg b { color: var(--tangerine-d); }

.scr-title { font-family: var(--font-disp); font-weight: 800; font-size: 1.26rem; margin-bottom: 6px; }
.scr-desc { color: var(--muted); font-size: .86rem; margin-bottom: 18px; line-height: 1.5; }
.scr-spacer { flex: 1; }

/* form */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 14px 14px; border-radius: 12px; border: 1.5px solid var(--line-2);
  font-size: 1rem; font-family: var(--font); background: #fff; color: var(--ink); transition: border-color var(--ease);
}
.field input:focus { outline: none; border-color: var(--tangerine); box-shadow: 0 0 0 3px rgba(255,122,69,.16); }
.consent {
  display: flex; gap: 9px; align-items: flex-start; font-size: .76rem; color: var(--muted);
  margin: 4px 0 16px; line-height: 1.5;
}
.consent input { margin-top: 3px; accent-color: var(--tangerine); width: 15px; height: 15px; flex: none; }
.consent a { color: var(--tangerine-d); font-weight: 700; text-decoration: underline; }
.consent-group { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 16px; }
.consent-group .consent { margin: 0; }
.consent-note { font-size: .72rem; color: var(--muted); line-height: 1.5; margin: 0; padding-left: 24px; }

/* NUMBER CONFIRM (typo guard, no SMS) */
.confirm-lead { text-align: center; font-size: .95rem; color: var(--ink-soft); margin: 6px 0 12px; line-height: 1.5; }
.confirm-lead b { color: var(--ink); }
.confirm-phone {
  text-align: center; font-size: 1.7rem; font-weight: 900; letter-spacing: .5px;
  color: var(--ink); background: #fff6ee; border: 1.5px solid var(--tangerine);
  border-radius: 14px; padding: 16px 10px; margin: 0 0 10px; word-break: keep-all;
}
.confirm-sub { text-align: center; font-size: .8rem; color: var(--muted); margin: 0 0 16px; line-height: 1.5; }
.confirm-actions { display: flex; gap: 9px; }
.confirm-actions .btn { margin: 0; width: auto; min-width: 0; }
.confirm-actions #editPhoneBtn { flex: 0 0 40%; }
.confirm-actions #confirmPhoneBtn { flex: 1; }

/* phone bottom button area */
.scr-foot { padding-top: 14px; }
.phone-progress { display: flex; gap: 5px; justify-content: center; margin-bottom: 14px; }
.phone-progress span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: all var(--ease); }
.phone-progress span.on { background: var(--tangerine); width: 20px; border-radius: 4px; }

/* ============================================================
   STAMP CARD (signature)
============================================================ */
.stampcard {
  background:
    radial-gradient(120% 80% at 50% -20%, #fff6ee 0%, #ffffff 60%);
  border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px 16px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.7);
  position: relative; overflow: hidden;
}
.stampcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 56px;
  background: var(--grad-warm); opacity: .12;
}
/* perforated coupon-style notch hint along the card */
.stampcard::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 44px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  opacity: .55; pointer-events: none;
}
.stampcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; position: relative; }
.stampcard-head .sc-store { font-weight: 800; font-size: .98rem; }
.stampcard-head .sc-goal { font-size: .76rem; color: var(--tangerine-d); font-weight: 700; background: #fff3e7; padding: 4px 10px; border-radius: var(--r-pill); }
.stamp-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; margin-bottom: 4px;
}
.stamp-slot {
  aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line-2);
  display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 38%, #fffdf9 0%, #fbf3e8 100%);
  box-shadow: inset 0 1px 2px rgba(31,42,68,.04);
}
.stamp-slot .num { font-size: .82rem; font-weight: 700; color: #cdbfae; transition: opacity var(--ease); }
.stamp-slot.reward { border-color: #ffd0b0; background: radial-gradient(circle at 50% 38%, #fff7ef 0%, #ffeada 100%); }
.stamp-slot.reward .num { color: var(--tangerine-d); }
/* intermediate milestone slot (다중 마일스톤 회차 마커) — distinct from the final reward slot */
.stamp-slot.milestone { border-color: #ffd0b0; border-style: solid; background: radial-gradient(circle at 50% 38%, #fffaf3 0%, #fff1de 100%); }
.stamp-slot.milestone .num { font-size: .92rem; }

/* 회차별 보상 라벨(항상 노출 — 마커 hover에 의존하지 않는 접근성 라벨) */
.milestone-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.milestone-chip {
  font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: var(--r-pill);
  background: #fbf3e8; color: var(--ink-soft); border: 1px solid var(--line-2);
}
.milestone-chip b { color: var(--tangerine-d); margin-right: 3px; }
.milestone-chip.reached { background: #fff3e7; border-color: #ffd0b0; color: var(--tangerine-d); }
.stamp-mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transform: scale(2.4) rotate(-18deg);
}
.stamp-slot.stamped .stamp-mark { animation: stampIn .5s var(--bounce) forwards; }
.stamp-slot.stamped .num { opacity: 0; }
.stamp-slot.stamped { border-color: transparent; background: transparent; }
@keyframes stampIn {
  0%   { opacity: 0; transform: scale(2.4) rotate(-18deg); }
  55%  { opacity: 1; transform: scale(.82) rotate(-7deg); }
  72%  { transform: scale(1.08) rotate(-7deg); }
  100% { opacity: 1; transform: scale(1) rotate(-7deg); }
}
/* the ink splat on impact */
.stamp-slot.stamped::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230,57,70,.22), transparent 72%);
  opacity: 0; animation: splat .5s ease-out forwards;
}
@keyframes splat {
  0% { opacity: 0; transform: scale(.4); }
  45% { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0; transform: scale(1.7); }
}
.stamp-just .stamp-ink { animation: stampIn .55s var(--bounce) forwards; }

.stamp-progress-text { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 12px; }
.stamp-progress-text b { color: var(--tangerine-d); font-weight: 800; }

/* big stamping stage (step 3) */
.stamp-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; }
.stamp-hero-slot {
  width: 150px; height: 150px; border-radius: 50%; border: 3px dashed var(--line-2);
  display: grid; place-items: center; position: relative; margin: 6px 0 18px; background: #fffaf4;
}
.stamp-hero-slot .big-mark { opacity: 0; transform: scale(2.6) rotate(-20deg); }
.stamp-hero-slot.go .big-mark { animation: stampIn .55s var(--bounce) forwards; }
.stamp-hero-slot.go { border-color: transparent; }
.stamp-hero-slot.go::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230,57,70,.25), transparent 70%);
  animation: splat .6s ease-out forwards;
}
.stamp-rings { position: absolute; inset: -14px; }
.stamp-rings i {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--tangerine);
  opacity: 0;
}
.stamp-hero-slot.go .stamp-rings i { animation: ringPulse .7s ease-out forwards; }
.stamp-hero-slot.go .stamp-rings i:nth-child(2) { animation-delay: .12s; }
@keyframes ringPulse {
  0% { opacity: .6; transform: scale(.7); }
  100% { opacity: 0; transform: scale(1.5); }
}
.stamp-count-big { font-family: var(--font-disp); font-weight: 800; font-size: 2.4rem; color: var(--ink); line-height: 1; }
.stamp-count-big .of { color: var(--muted); font-size: 1.2rem; }
.confetti-dot { position: absolute; width: 9px; height: 9px; border-radius: 2px; opacity: 0; }

/* ============================================================
   MYPAGE (step 4) · COUPON · REDEEM · REVIEW
============================================================ */
.mypage-hello { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 11px; margin: 6px 0 2px; }
.mypage-hello .mypage-greet { flex: 1 1 auto; min-width: 0; }
.mypage-hello .tier-chip { flex: 0 0 auto; margin-left: auto; }
.mp-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; overflow: hidden;
  background: var(--grad-warm); box-shadow: 0 0 0 2px #fff, var(--shadow-sm); position: relative;
}
.mp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mp-avatar.av-off::after { content: "수"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; }
.mypage-greet { font-size: .84rem; color: var(--ink-soft); line-height: 1.4; }
.mypage-greet b { color: var(--ink); }
.mypage-tabs { display: flex; gap: 6px; margin: 14px 0 16px; background: #f4e8d8; padding: 4px; border-radius: 12px; }
.mypage-tabs button { flex: 1; padding: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); border-radius: 9px; transition: all var(--ease); }
.mypage-tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.coupon {
  display: flex; align-items: stretch;
  background: radial-gradient(120% 90% at 0% 0%, #fffaf4 0%, #ffffff 60%);
  border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow-md); position: relative;
}
.coupon-stub {
  width: 64px; flex: none; background: var(--grad-warm); color: #fff;
  display: grid; place-items: center; position: relative;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.18);
}
.coupon-stub::before, .coupon-stub::after { z-index: 2; }
.coupon-stub::before, .coupon-stub::after {
  content: ""; position: absolute; right: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--cream);
}
.coupon-stub::before { top: -6px; }
.coupon-stub::after { bottom: -6px; }
.coupon-body { flex: 1; padding: 12px 14px; }
.coupon-body .c-title { font-weight: 800; font-size: .96rem; }
.coupon-body .c-meta { font-size: .76rem; color: var(--muted); margin-top: 2px; }
.coupon-body .c-expire { font-size: .72rem; color: var(--stamp); font-weight: 700; margin-top: 5px; }
.coupon-use { align-self: center; margin-right: 12px; }

/* history */
.history-item { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.history-item:last-child { border-bottom: none; }
.hi-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hi-icon.earn { background: #e8f9f3; color: var(--mint-d); }
.hi-icon.use { background: #ffeae6; color: var(--stamp); }
.hi-icon.review { background: #fff3e7; color: var(--tangerine-d); }
.hi-text { flex: 1; }
.hi-text .t { font-weight: 700; font-size: .88rem; }
.hi-text .d { font-size: .74rem; color: var(--muted); }
.hi-amt { font-weight: 800; font-size: .9rem; }
.hi-amt.plus { color: var(--mint-d); }
.hi-amt.minus { color: var(--stamp); }

/* redeem overlay */
.redeem-card { text-align: center; padding: 8px 4px; }
.redeem-coupon-name { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.pin-display {
  display: flex; gap: 10px; justify-content: center; margin: 22px 0 10px;
}
.pin-box {
  width: 50px; height: 62px; border-radius: 14px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-md);
}
.redeem-timer {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .85rem;
  color: var(--stamp); background: #ffeae6; padding: 7px 15px; border-radius: var(--r-pill); margin: 6px 0 4px;
}
.redeem-timer .ring-wrap { position: relative; width: 18px; height: 18px; }
.redeem-hint { font-size: .82rem; color: var(--muted); line-height: 1.5; margin-top: 10px; }
.staff-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 6px; }
.staff-keypad button {
  padding: 13px 0; border-radius: 12px; background: #fff; border: 1.5px solid var(--line-2);
  font-size: 1.2rem; font-weight: 700; transition: all var(--ease);
}
.staff-keypad button:active { background: #fff3e7; transform: scale(.95); }
.staff-keypad button.ko { color: var(--stamp); font-size: .82rem; }
.staff-prompt { text-align: center; font-size: .85rem; color: var(--ink-soft); margin-bottom: 4px; }
.staff-pin-dots { display: flex; gap: 10px; justify-content: center; margin: 12px 0; }
.staff-pin-dots span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); }
.staff-pin-dots span.on { background: var(--ink); border-color: var(--ink); }

/* success splash */
.redeem-done { text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.done-check {
  width: 96px; height: 96px; border-radius: 50%; background: #e8f9f3; display: grid; place-items: center; margin-bottom: 10px;
  animation: pop .5s var(--bounce);
}
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.done-check svg { color: var(--mint-d); }

/* review nudge — compliance-forward */
.review-card { text-align: center; padding: 4px; }
.review-illus { width: 96px; height: 96px; margin: 4px auto 14px; }
.stars { display: flex; gap: 6px; justify-content: center; margin: 12px 0; }
.stars button { color: #ead9c2; transition: transform var(--ease), color var(--ease), filter var(--ease); }
.stars button.on, .stars button:hover { color: var(--amber); transform: scale(1.12); filter: drop-shadow(0 3px 6px rgba(240,168,48,.32)); }
.disclosure-banner {
  display: flex; gap: 10px; text-align: left; align-items: flex-start;
  background: #fff8e8; border: 1.5px solid #ffe2a8; border-radius: 12px; padding: 12px 13px; margin: 16px 0 14px;
}
.disclosure-banner svg { flex: none; color: #d99100; margin-top: 1px; }
.disclosure-banner .db-text { font-size: .76rem; color: #7a5b00; line-height: 1.55; }
.disclosure-banner .db-text b { color: #5e4500; }
.disclosure-tag {
  display: inline-block; background: #fff3cd; border: 1px dashed #e0b500; color: #7a5b00;
  font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 7px; margin-bottom: 8px;
}
.review-voluntary-note { font-size: .74rem; color: var(--muted); line-height: 1.5; margin-top: 12px; }

/* ============================================================
   REVIEW BENEFIT DISCLOSURE (대가성 리뷰 · 광고 표시)
   - .rb-benefit-line: 혜택 문구, showDisclosure on/off와 무관하게 항상 노출.
   - .rb-disclosure: 배지·보조설명·스니펫 — showDisclosure=false면 owner-center 토글로 숨김.
   High-contrast, body-size-or-larger, no scroll needed, no fade/collapse.
============================================================ */
.review-benefit-block {
  text-align: left; margin: 14px 0; padding: 14px 15px;
  border-radius: 13px; border: 1.5px solid #e6a23c; background: #fff8ec;
}
.review-benefit-block .rb-benefit-line { font-size: .86rem; font-weight: 700; color: #3a2e1c; margin: 0 0 8px; }
.review-benefit-block .rb-disclosure[hidden] { display: none; }
.review-benefit-block .rb-badge {
  display: inline-block; font-size: .88rem; font-weight: 800; color: #fff;
  background: #d64545; padding: 5px 12px; border-radius: 999px; margin-bottom: 9px;
}
.review-benefit-block .rb-sub { font-size: .86rem; line-height: 1.55; color: #3a2e1c; margin: 0 0 10px; }
.review-benefit-block .rb-sub b { color: #b53a1f; }
.rb-snippet-row { display: flex; align-items: center; gap: 8px; }
.rb-snippet {
  flex: 1; min-width: 0; font-size: .82rem; font-family: inherit;
  background: #fff; border: 1px dashed #e0c9a0; border-radius: 8px;
  padding: 8px 10px; word-break: break-word; color: #3a2e1c;
}
.rb-copy-btn {
  flex: none; font-size: .8rem; font-weight: 700; padding: 8px 12px;
  border-radius: 8px; border: 1.5px solid #3a2e1c; background: #fff; color: #3a2e1c;
  transition: background var(--ease), color var(--ease);
}
.rb-copy-btn:hover { background: #3a2e1c; color: #fff; }

/* ---- entry from public-review screen into the PRIVATE anonymous VOC ---- */
.voc-entry { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); text-align: left; }
.voc-entry-label { display: block; font-size: .74rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.voc-entry-btn {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: #f4f6fb; border: 1.5px solid #dfe4ef; border-radius: 13px; padding: 12px 13px;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}
.voc-entry-btn:hover { border-color: var(--ink-soft); background: #eef1f8; transform: translateY(-1px); }
.voc-entry-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.voc-entry-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.voc-entry-txt .t { font-size: .9rem; font-weight: 700; color: var(--ink); }
.voc-entry-txt .d { font-size: .73rem; color: var(--muted); }
.voc-entry-arr { color: var(--ink-soft); font-weight: 800; flex: none; }

/* ============================================================
   PRIVATE ANONYMOUS VOC (사장님께 익명 후기)
   Intentionally calmer/ink-toned to stand apart from the warm
   amber "public Naver review" nudge — visual separation.
============================================================ */
.voc-private-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eef1f8; border: 1px solid #d6dded; color: var(--ink-soft);
  font-size: .72rem; font-weight: 800; padding: 5px 11px; border-radius: 8px; margin-bottom: 10px;
}
.voc-private-tag svg { color: var(--ink-soft); }
.voc-notice {
  background: #f5f7fb; border: 1.5px solid #e1e7f2; border-left: 4px solid var(--ink);
  border-radius: 12px; padding: 13px 14px; margin: 4px 0 16px;
}
.voc-notice p { font-size: .82rem; color: var(--ink-soft); line-height: 1.55; }
.voc-notice p b { color: var(--ink); }
.voc-notice p + p { margin-top: 5px; }
.voc-notice .voc-notice-warn { font-size: .76rem; color: var(--tangerine-d); font-weight: 600; }
.voc-field { margin-bottom: 15px; }
.voc-flabel { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.voc-flabel em { color: var(--muted); font-weight: 600; font-style: normal; font-size: .76rem; }
.voc-stars { justify-content: flex-start; gap: 8px; margin: 0; }
.voc-textarea {
  width: 100%; resize: none; font-family: var(--font); font-size: .9rem; line-height: 1.55;
  color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 11px 13px;
  transition: border-color var(--ease);
}
.voc-textarea:focus { outline: none; border-color: var(--tangerine); }
.voc-textarea::placeholder { color: #b6becc; }
.voc-count { display: block; text-align: right; font-size: .72rem; color: var(--muted); margin-top: 5px; }
.voc-consent {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 13px; margin-bottom: 16px;
  cursor: pointer; transition: border-color var(--ease), background var(--ease);
}
.voc-consent:has(input:checked) { border-color: var(--mint); background: #f1fbf7; }
.voc-consent input { margin-top: 2px; accent-color: var(--mint-d); width: 17px; height: 17px; flex: none; cursor: pointer; }
.voc-consent-body { display: flex; flex-direction: column; gap: 4px; }
.voc-consent-title { font-size: .82rem; font-weight: 700; color: var(--ink); }
.voc-consent-desc { font-size: .73rem; color: var(--muted); line-height: 1.5; }
.voc-skip {
  display: block; width: 100%; text-align: center; margin-top: 10px;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px;
}
.voc-skip:hover { color: var(--ink); }
.voc-foot-note { font-size: .73rem; color: var(--muted); line-height: 1.5; margin-top: 12px; text-align: center; }
.voc-thanks { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 12px; }
.voc-thanks .scr-desc { margin: 4px 0 16px; }
.voc-thanks-mk { color: var(--mint-d); font-weight: 600; }
.mypage-voc-btn { gap: 8px; }

/* toast inside phone */
.phone-toast {
  position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 20;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 13px 16px;
  display: flex; align-items: center; gap: 11px; box-shadow: var(--shadow-md);
  font-size: .85rem; font-weight: 600;
  transform: translateY(140%); opacity: 0; transition: transform .4s var(--bounce), opacity .3s;
}
.phone-toast.show { transform: translateY(0); opacity: 1; }
.phone-toast .pt-ico { width: 28px; height: 28px; border-radius: 8px; background: var(--mint); display: grid; place-items: center; flex: none; }

/* kakao alimtalk mock */
.alimtalk {
  background: linear-gradient(180deg, #fef6cf, #fdecae);
  border-radius: 16px; padding: 13px; border: 1px solid #f3e09a; margin-top: 8px;
  box-shadow: var(--shadow-sm);
}
.alimtalk-head { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800; color: #6b5a00; margin-bottom: 9px; }
.alimtalk-head .kbadge { background: #371d1e; color: #ffe600; font-size: .64rem; padding: 2px 7px; border-radius: 5px; letter-spacing: .02em; }
.alimtalk-body {
  background: #fff; border-radius: 4px 12px 12px 12px; padding: 12px 13px;
  font-size: .82rem; color: var(--ink-soft); line-height: 1.55; box-shadow: var(--shadow-sm);
}
.alimtalk-body b { color: var(--ink); }

/* ============================================================
   DEMO SECTION (controls around phone)
============================================================ */
/* overflow hidden: .demo-phone-wrap::before 글로우(inset -8% -14%)가 모바일에서 섹션 밖으로
   새면 문서 폭이 뷰포트보다 넓어져(실측 426px/390px) 고정 오버레이(프로모 팝업 등)가
   옆으로 밀린다 — .hero와 동일한 클리핑 처리. */
.demo { background: linear-gradient(180deg, #fff8ef 0%, #fdf0e2 100%); overflow: hidden; }
.demo-grid { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: center; }
.demo-phone-wrap { position: relative; }
.demo-phone-wrap::before {
  content: ""; position: absolute; inset: -8% -14%; z-index: 0;
  background: radial-gradient(closest-side, rgba(255,122,69,.18), transparent 72%);
  filter: blur(6px); pointer-events: none;
}
.demo-phone-wrap .phone { position: relative; z-index: 1; }
.demo-controls .step-list { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; }
.step-btn {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px;
  transition: all var(--ease); position: relative;
}
.step-btn:hover { border-color: var(--line-2); transform: translateX(3px); }
.step-btn.active { border-color: var(--tangerine); background: #fff6ee; box-shadow: var(--shadow-md); }
.step-btn .sb-num {
  width: 34px; height: 34px; border-radius: 11px; background: var(--cream-2); color: var(--tangerine-d);
  display: grid; place-items: center; font-weight: 800; font-size: .92rem; flex: none; transition: all var(--ease);
}
.step-btn.active .sb-num { background: var(--grad-warm); color: #fff; }
.step-btn .sb-done { display: none; }
.step-btn.done .sb-num { background: var(--mint); color: #fff; }
.step-btn .sb-info .t { font-weight: 700; font-size: .96rem; }
.step-btn .sb-info .d { font-size: .8rem; color: var(--muted); }
.demo-nav { display: flex; gap: 10px; margin-top: 22px; }
.demo-replay { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 700; color: var(--tangerine-d); margin-top: 16px; }

/* ---- demo "try-it" callout (always visible, no close) ---- */
.demo-callout {
  display: flex; align-items: flex-start; gap: 12px; text-align: left;
  max-width: 560px; margin: 22px auto 0;
  background: #fff6ee; border: 1.5px dashed var(--tangerine);
  border-radius: var(--r-md); padding: 13px 16px;
  box-shadow: var(--shadow-sm);
}
.demo-callout-badge {
  flex: none; display: inline-flex; align-items: center;
  background: var(--grad-warm); color: #fff;
  font-size: .8rem; font-weight: 800; white-space: nowrap;
  padding: 6px 12px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-warm);
}
.demo-callout p { font-size: .88rem; color: var(--ink-soft); line-height: 1.55; margin: 1px 0 0; }
.demo-callout p b { color: var(--tangerine-d); }

/* ---- sandbox frame around the interactive phone ---- */
.demo-sandbox {
  padding: 18px; border-radius: 28px;
  border: 2px dashed #f0c6a6;
  background:
    repeating-linear-gradient(45deg, rgba(255,122,69,.045) 0 12px, transparent 12px 24px),
    #fffaf4;
}
.demo-sandbox .demo-ribbon {
  position: absolute; z-index: 4; top: 14px; left: -34px;
  transform: rotate(-45deg);
  background: var(--ink); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em;
  padding: 5px 40px; box-shadow: var(--shadow-md); pointer-events: none;
}
@media (max-width: 480px) {
  .demo-callout { flex-direction: column; gap: 9px; padding: 12px 14px; }
  .demo-sandbox { padding: 12px; border-radius: 22px; }
  .demo-sandbox .demo-ribbon { top: 10px; left: -36px; padding: 4px 40px; font-size: .66rem; }
}

/* accrual-request: same sandbox treatment so it reads as a demo, not a live feature */
.accreq-sandbox { position: relative; max-width: 560px; margin: 0 auto; overflow: visible; }
.accreq-sandbox .accreq-card { max-width: none; margin: 0; }

/* ============================================================
   SERVICE INTRO — merged flow (2-step loop / lead & outro lines)
   .steps3 now holds 2 cards only (see #value); centered, capped width
   so the grid doesn't leave a lopsided empty 3rd column.
============================================================ */
.block-lead {
  text-align: center; max-width: 520px; margin: 0 auto 24px;
  font-size: 1.02rem; font-weight: 700; color: var(--ink);
}
.section-outro {
  text-align: center; max-width: 560px; margin: 44px auto 0;
  font-size: 1.05rem; font-weight: 700; color: var(--ink-soft);
}
.steps3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 640px; margin: 0 auto; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 26px;
  position: relative; transition: transform var(--ease), box-shadow var(--ease);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-card .sc-num {
  position: absolute; top: 22px; right: 24px; font-family: var(--font-disp); font-weight: 800;
  font-size: 2.6rem; color: var(--cream-2); line-height: 1;
}
.step-card .sc-ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #fff3e7, #ffe6d2); display: grid; place-items: center;
  margin-bottom: 18px; color: var(--tangerine-d); box-shadow: inset 0 0 0 1px rgba(255,122,69,.12);
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: .94rem; color: var(--ink-soft); }
.step-connector { display: none; }

/* ============================================================
   DUAL VALUE
============================================================ */
.dual { background: var(--cream-2); }
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.value-panel {
  background: #fff; border-radius: var(--r-card); padding: 36px 32px; border: 1px solid var(--line);
}
.value-panel .vp-tag {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .85rem;
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 20px;
}
.value-panel.owner .vp-tag { background: var(--ink); color: #fff; }
.value-panel.guest .vp-tag { background: #fff3e7; color: var(--tangerine-d); }
.value-panel h3 { font-size: 1.4rem; margin-bottom: 18px; }
.value-list { display: flex; flex-direction: column; gap: 15px; }
.value-list li { display: flex; gap: 12px; align-items: flex-start; }
.value-list .v-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.owner .v-ico { background: #eef1f8; color: var(--ink); }
.guest .v-ico { background: #e8f9f3; color: var(--mint-d); }
.value-list .v-text strong { display: block; font-size: .98rem; margin-bottom: 2px; }
.value-list .v-text span { font-size: .86rem; color: var(--ink-soft); }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testi { background: linear-gradient(180deg, #fff8ef 0%, #fdf0e2 100%); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex; flex-direction: column;
}
.testi-card::before {
  content: "\201C"; position: absolute; top: 10px; right: 22px;
  font-family: Georgia, serif; font-size: 4rem; line-height: 1; color: #ffe2c9;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi-stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 14px; }
.testi-stars .dim { color: #ead9c2; }
.testi-card blockquote {
  font-size: .98rem; line-height: 1.68; color: var(--ink); font-weight: 500; flex: 1;
}
.testi-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--grad-warm); box-shadow: 0 0 0 2px #fff, var(--shadow-sm); position: relative;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-avatar.av-off::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.1rem; }
.t-who { display: flex; flex-direction: column; line-height: 1.35; }
.t-who b { font-size: .92rem; font-weight: 800; color: var(--ink); }
.t-who span { font-size: .78rem; color: var(--ink-soft); }

.testi-stat {
  display: flex; align-items: center; justify-content: center; gap: 36px; margin-top: 44px;
  background: var(--ink); border-radius: var(--r-lg); padding: 28px 32px; color: #fff; flex-wrap: wrap;
}
.testi-stat .ts-item { text-align: center; }
.testi-stat .ts-item b { display: block; font-family: var(--font-disp); font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1; }
.testi-stat .ts-item span { font-size: .82rem; color: #c3cbdc; margin-top: 6px; display: block; }
.testi-stat .ts-divider { width: 1px; height: 38px; background: rgba(255,255,255,.16); }

/* ============================================================
   NO-APP HIGHLIGHT
============================================================ */
.noapp { background: var(--ink); color: #fff; overflow: hidden; }
.noapp .container { position: relative; }
.noapp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.noapp h2 { color: #fff; margin: 16px 0 18px; }
.noapp .eyebrow { background: rgba(255,122,69,.16); border-color: rgba(255,122,69,.3); color: #ffb38a; }
.noapp .lead { color: #c3cbdc; font-size: 1.08rem; }
.noapp-compare { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.compare-row {
  display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px 18px;
}
.compare-row .cr-label { flex: 1; }
.compare-row .cr-label .t { font-weight: 700; font-size: .96rem; }
.compare-row .cr-label .d { font-size: .8rem; color: #97a1b8; }
.compare-row .cr-bad { color: #ff8a7a; }
.compare-row .cr-good { color: var(--mint); }
.compare-row .cr-tag { font-size: .78rem; font-weight: 800; padding: 5px 12px; border-radius: var(--r-pill); white-space: nowrap; }
.compare-row .cr-tag.bad { background: rgba(230,57,70,.16); color: #ff8a7a; }
.compare-row .cr-tag.good { background: rgba(45,212,167,.16); color: var(--mint); }

/* compliance callout */
.compliance {
  background: linear-gradient(135deg, #fffaf2, #fff3e7); border: 1px solid #ffd9bd;
  border-radius: var(--r-card); padding: 36px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
}
.compliance .cmp-shield { width: 70px; height: 70px; border-radius: 20px; background: var(--grad-warm); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-md); }
.compliance h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--ink); }
.compliance p { color: var(--ink-soft); font-size: .96rem; }
.compliance .cmp-points { display: flex; gap: 20px; margin-top: 14px; flex-wrap: wrap; }
.compliance .cmp-points span { display: flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.compliance .cmp-points svg { color: var(--mint-d); }

/* ============================================================
   PRICING
============================================================ */
.pricing-card {
  max-width: 620px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-md);
  padding: 40px 40px 36px; text-align: center;
}
.pc-head { margin-bottom: 24px; }
.pc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .02em;
  color: var(--tangerine-d); background: #fff3e7; border: 1px solid #ffd9bd;
  padding: 5px 14px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.pc-price { display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pc-free { font-size: 1.1rem; font-weight: 700; color: var(--ink-soft); }
.pc-arrow { font-size: 1.1rem; color: var(--muted); }
.pc-amount { display: flex; align-items: baseline; justify-content: center; gap: 6px 12px; flex-wrap: wrap; }
.pc-sale-badge {
  display: inline-flex; align-items: center;
  font-size: .72rem; font-weight: 800; letter-spacing: .01em;
  color: #fff; background: var(--mint-d);
  padding: 3px 10px; border-radius: var(--r-pill); white-space: nowrap;
}
.pc-regular s {
  font-size: .92rem; font-weight: 600; color: var(--muted);
  text-decoration: line-through; text-decoration-thickness: 1.5px;
}
.pc-promo { font-family: var(--font-disp); font-size: 2.3rem; font-weight: 800; color: var(--tangerine-d); }
.pc-promo-terms { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
.pc-list {
  text-align: left; margin: 28px 0; padding: 22px 24px;
  background: var(--cream); border-radius: var(--r-md); display: grid; gap: 13px;
}
.pc-list li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--ink); line-height: 1.55; }
.pc-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--mint-d); font-weight: 800; font-size: .95rem;
}
.pc-note { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }

/* ============================================================
   FAQ
============================================================ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; text-align: left; font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq-q .fq-ico { width: 30px; height: 30px; border-radius: 9px; background: #fff3e7; color: var(--tangerine-d); display: grid; place-items: center; flex: none; transition: transform var(--ease); }
.faq-item.open .fq-ico { transform: rotate(45deg); background: var(--grad-warm); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 4px 22px; color: var(--ink-soft); font-size: .96rem; line-height: 1.7; }

/* ============================================================
   CTA
============================================================ */
/* ---- CTA band: layered warm gradient + brand stamp-motif watermark (self-contained, no external assets) ---- */
.cta-band {
  background:
    radial-gradient(560px 300px at 14% -14%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(480px 320px at 102% 116%, rgba(31,42,68,.30), transparent 58%),
    var(--grad-warm);
  color: #fff;
  border-radius: 28px;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 44px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.14);
}
/* punch-card dot grid, faded toward the edges — echoes the stamp card's punch pattern */
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.55) 1.6px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(560px 360px at 50% 8%, #000 0%, transparent 74%);
          mask-image: radial-gradient(560px 360px at 50% 8%, #000 0%, transparent 74%);
  opacity: .16;
}
/* one refined ring, grounding the bottom-right corner (replaces the old twin dashed circles) */
.cta-band::after {
  content: "";
  position: absolute; z-index: 0; pointer-events: none;
  width: 300px; height: 300px; right: -110px; bottom: -140px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.22);
}
/* large faint "ink stamp" watermark — literalizes "도장처럼 모으세요", reuses the site's check-stamp mark */
.cta-stampmark {
  position: absolute; z-index: 0; pointer-events: none;
  top: -30px; right: -14px; width: 190px; height: 190px;
  opacity: .13;
  transform: rotate(-12deg);
}
.cta-stampmark svg { display: block; width: 100%; height: 100%; }
/* supplementary brand-motif illustrations — coffee cup, mini stamp-card, sparkles, second ring.
   Purely decorative: absolutely positioned within the band, always behind text (z-index 0),
   clipped by .cta-band's own overflow:hidden so nothing can push the box wider than its box. */
.cta-illustrations { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cta-ill { position: absolute; display: block; }
.cta-ill--ring2 { width: 130px; height: 130px; top: -34px; left: -30px; opacity: .16; }
.cta-ill--cup { width: 58px; height: auto; top: 30px; left: 7%; opacity: .24; transform: rotate(-9deg); }
.cta-ill--card { width: 108px; height: auto; bottom: 22px; left: 5%; opacity: .22; transform: rotate(6deg); }
.cta-ill--spark1 { width: 22px; height: 22px; top: 16%; right: 28%; opacity: .6; }
.cta-ill--spark2 { width: 15px; height: 15px; top: 64%; left: 14%; opacity: .55; }
.cta-ill--spark3 { width: 18px; height: 18px; bottom: 12%; right: 10%; opacity: .55; }
.cta-band h2 { color: #fff; position: relative; z-index: 1; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.08rem; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-band .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.38); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.cta-band .btn-white { background: var(--ink); color: #fff; box-shadow: 0 10px 26px rgba(15,20,35,.4); }
.cta-band .btn-white:hover { transform: translateY(-3px); background: #18213a; box-shadow: 0 14px 34px rgba(15,20,35,.48); }
.cta-note { margin-top: 18px; font-size: .85rem; color: rgba(255,255,255,.82); position: relative; z-index: 1; }
.cta-trust { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-trust-item { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: var(--r-pill); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cta-trust-item svg { flex: none; }

/* ============================================================
   FOOTER
============================================================ */
footer { background: var(--ink); color: #c3cbdc; padding: 64px 0 32px; }
/* 4 columns: brand + 제품/정책/고객 */
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; max-width: 280px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: .92rem; font-weight: 700; margin-bottom: 16px; font-family: var(--font); }
.footer-col a { display: block; font-size: .88rem; color: #97a1b8; margin-bottom: 10px; transition: color var(--ease); }
.footer-col a:hover { color: var(--tangerine); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: #7a8298; }
.footer-disclaimer { background: rgba(255,255,255,.04); border-radius: 12px; padding: 14px 18px; margin-bottom: 32px; font-size: .8rem; color: #97a1b8; line-height: 1.6; }
.footer-disclaimer b { color: #c3cbdc; }
.footer-company { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-company-logo { width: 140px; height: auto; opacity: .8; }
.footer-company span { font-size: .76rem; color: #7a8298; }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ============================================================
   LANDING PATHS (screen 1 — earn vs lookup)
============================================================ */
.landing-paths { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.path-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 14px 14px;
  transition: all var(--ease);
}
.path-btn:hover { border-color: var(--tangerine); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.path-btn.primary { background: var(--grad-warm); border-color: transparent; color: #fff; box-shadow: var(--shadow-md); }
.path-btn .path-ico { width: 40px; height: 40px; border-radius: 11px; background: #fff3e7; color: var(--tangerine-d); display: grid; place-items: center; flex: none; }
.path-btn.primary .path-ico { background: rgba(255,255,255,.22); color: #fff; }
.path-btn .path-txt { flex: 1; }
.path-btn .path-txt .t { display: block; font-weight: 800; font-size: .96rem; }
.path-btn .path-txt .d { display: block; font-size: .76rem; color: var(--muted); }
.path-btn.primary .path-txt .d { color: rgba(255,255,255,.85); }
.path-btn .path-arr { font-weight: 800; opacity: .7; }

/* ============================================================
   CUSTOMER PIN (setup / lookup / redeem self-verify)
============================================================ */
.secure-flag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800;
  color: var(--mint-d); background: #e8f9f3; border: 1px solid #bfeede;
  padding: 4px 11px; border-radius: var(--r-pill); margin-bottom: 10px;
}
.secure-flag.center { display: inline-flex; margin: 8px 0 8px; }
.secure-flag.alt { color: var(--ink); background: #eef1f8; border-color: #d6def0; }
.pin-dots { display: flex; gap: 12px; justify-content: center; margin: 14px 0 8px; }
.pin-dots.customer span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); transition: all var(--ease); }
.pin-dots.customer span.on { background: var(--tangerine); border-color: var(--tangerine); transform: scale(1.05); }
.pin-dots.customer.err span { border-color: var(--stamp); animation: shake .4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }
.pin-helper { text-align: center; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.pin-helper b { color: var(--ink); }
.pin-helper.err { color: var(--stamp); font-weight: 700; }
.pin-demo-hint { text-align: center; font-size: .74rem; color: var(--muted); margin-top: 12px; }
.pin-demo-hint b { color: var(--tangerine-d); }
.num-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 4px; }
.num-keypad button {
  padding: 13px 0; border-radius: 12px; background: #fff; border: 1.5px solid var(--line-2);
  font-size: 1.2rem; font-weight: 700; transition: all var(--ease);
}
.num-keypad button:active { background: #fff3e7; transform: scale(.95); }
.num-keypad button.ko { color: var(--tangerine-d); font-size: .82rem; }

/* locked state (5 fails) */
.locked-card { text-align: center; padding: 18px 6px; }
.locked-ico { width: 78px; height: 78px; margin: 6px auto 14px; border-radius: 50%; background: #ffeae6; color: var(--stamp); display: grid; place-items: center; }
.locked-card .scr-desc { margin-bottom: 16px; }

/* ============================================================
   VISIT PROOF (earn eligibility) — switcher + 3 methods
============================================================ */
/* demo switcher (in controls) */
.proof-switch { margin: 18px 0 4px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.proof-switch .ps-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .03em; color: var(--muted); text-transform: uppercase; margin-bottom: 9px; }
.ps-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ps-btn { padding: 9px 4px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: .82rem; color: var(--ink-soft); transition: all var(--ease); }
.ps-btn:hover { border-color: var(--tangerine); color: var(--tangerine-d); }
.ps-btn.active { background: var(--grad-warm); border-color: transparent; color: #fff; box-shadow: var(--shadow-sm); }
.ps-note { font-size: .76rem; color: var(--muted); margin-top: 9px; line-height: 1.5; }

/* in-phone method tabs */
.proof-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 16px; }
.proof-tabs button { padding: 8px 2px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: .8rem; color: var(--ink-soft); transition: all var(--ease); }
.proof-tabs button.on { background: #fff6ee; border-color: var(--tangerine); color: var(--tangerine-d); }

/* method A: GPS radar */
.geo-card { background: var(--cream); border: 1.5px solid var(--line); border-radius: 16px; padding: 22px 16px; text-align: center; }
.geo-radar { position: relative; width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #fff3e7 100%); border: 1.5px solid var(--line-2); overflow: hidden; }
.geo-radar i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1.5px solid #ffd0b0; }
.geo-radar i:nth-child(3) { width: 56%; height: 56%; }
.geo-radar i:nth-child(4) { width: 86%; height: 86%; }
.geo-radar.scan::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,122,69,.35), transparent 32%); animation: radarspin 1.1s linear infinite; }
@keyframes radarspin { to { transform: rotate(360deg); } }
.geo-dot { position: absolute; border-radius: 50%; }
.geo-dot.store { width: 14px; height: 14px; background: var(--tangerine); left: 50%; top: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 4px rgba(255,122,69,.18); }
.geo-dot.me { width: 12px; height: 12px; background: var(--ink); left: 50%; top: 50%; transform: translate(-50%,-50%); transition: all .6s var(--ease); }
.geo-radar.far .geo-dot.me { left: 86%; top: 18%; }
.geo-status { font-size: .85rem; color: var(--ink-soft); line-height: 1.5; }
.geo-status b { color: var(--ink); }
.geo-toggle { display: flex; gap: 9px; align-items: flex-start; font-size: .78rem; color: var(--muted); margin: 14px 0; line-height: 1.5; }
.geo-toggle input { margin-top: 2px; accent-color: var(--stamp); width: 15px; height: 15px; flex: none; }
.geo-privacy { font-size: .72rem; color: var(--muted); line-height: 1.55; margin-top: 9px; text-align: center; word-break: keep-all; }

/* method B: receipt */
.receipt-photo { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1.5px dashed var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color var(--ease); margin-bottom: 4px; }
.receipt-photo:hover { border-color: var(--tangerine); }
.receipt-photo .rp-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--cream-2); color: var(--tangerine-d); display: grid; place-items: center; flex: none; }
.receipt-photo .rp-txt { font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.receipt-photo .rp-txt em { font-style: normal; color: var(--muted); font-weight: 500; }
.receipt-photo.has-file { border-style: solid; border-color: var(--mint); background: #f1fbf7; }

/* method C: daily code */
.daily-hint { font-size: .85rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: 6px; }
.daily-hint b { color: var(--tangerine-d); }

/* shared proof reject */
.proof-reject { display: flex; align-items: flex-start; gap: 11px; background: #ffeae6; border: 1.5px solid #ffc6bb; border-radius: 12px; padding: 12px 14px; margin: 12px 0 4px; animation: pop .3s var(--bounce); }
.proof-reject .pr-ico { color: var(--stamp); flex: none; margin-top: 1px; }
.proof-reject b { display: block; color: var(--stamp); font-size: .9rem; }
.proof-reject span { font-size: .82rem; color: var(--ink-soft); line-height: 1.45; }
.proof-foot-note { font-size: .76rem; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.5; }
.proof-foot-note b { color: var(--ink); }

/* landing proof method cards (safety section) */
.proof-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-method-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 22px; position: relative; transition: transform var(--ease), box-shadow var(--ease); }
.proof-method-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.proof-method-card .pm-key { position: absolute; top: 18px; right: 20px; font-family: var(--font-disp); font-weight: 800; font-size: 1.7rem; color: var(--cream-2); line-height: 1; }
.proof-method-card .pm-ico { width: 52px; height: 52px; border-radius: 15px; background: #fff3e7; color: var(--tangerine-d); display: grid; place-items: center; margin-bottom: 16px; }
.proof-method-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.proof-method-card p { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 12px; }
.proof-method-card .pm-why { display: inline-block; font-size: .76rem; font-weight: 700; color: var(--mint-d); background: #e8f9f3; border: 1px solid #bfeede; padding: 4px 11px; border-radius: var(--r-pill); }
.proof-method-card .pm-why b { color: var(--mint-d); }
.safety-note.alt { background: #fff; color: var(--ink-soft); border: 1.5px solid var(--line); }
.safety-note.alt .sn-ico { background: #fff3e7; color: var(--tangerine-d); }
.safety-note.alt p b { color: var(--ink); }

/* ============================================================
   SAFETY SECTION (coupon-use safeguards)
============================================================ */
.safety { background: linear-gradient(180deg, #fdf0e2 0%, #fff8ef 100%); }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.safety-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 22px;
  position: relative; transition: transform var(--ease), box-shadow var(--ease);
}
.safety-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.safety-card .sf-num {
  position: absolute; top: 18px; right: 20px; font-family: var(--font-disp); font-weight: 800;
  font-size: 2rem; color: var(--cream-2); line-height: 1;
}
.safety-card .sf-ico { width: 52px; height: 52px; border-radius: 15px; background: #e8f9f3; color: var(--mint-d); display: grid; place-items: center; margin-bottom: 16px; }
.safety-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.safety-card p { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
.safety-card p b { color: var(--tangerine-d); }
.safety-note {
  display: flex; align-items: center; gap: 14px; margin-top: 26px;
  background: var(--ink); color: #d8deec; border-radius: 16px; padding: 18px 22px;
}
.safety-note .sn-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(45,212,167,.18); color: var(--mint); display: grid; place-items: center; flex: none; }
.safety-note p { font-size: .92rem; line-height: 1.6; }
.safety-note p b { color: #fff; }

/* ============================================================
   OWNER DASHBOARD PREVIEW (compact taste of the owner center)
============================================================ */
.owner-preview { background: var(--cream-2); padding: 80px 0; }
.op-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.op-copy h2 { margin: 14px 0 14px; }
.op-lead { color: var(--ink-soft); font-size: 1.04rem; max-width: 440px; }
.op-feats { display: flex; flex-direction: column; gap: 11px; margin: 22px 0 26px; }
.op-feats li { display: flex; align-items: center; gap: 11px; font-size: .94rem; color: var(--ink-soft); }
.op-feats li b { color: var(--ink); font-weight: 700; }
.op-feats .opf-ico {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 1.02rem; box-shadow: var(--shadow-sm);
}
.op-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.op-note { margin-top: 16px; font-size: .85rem; color: var(--muted); }

/* compact static dashboard board */
.op-board {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.opb-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08);
}
.opb-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); flex: none; }
.opb-dot:first-child { background: var(--tangerine); }
.opb-title { margin-left: 8px; font-size: .8rem; font-weight: 700; color: #d8deec; }
.opb-body { padding: 18px 18px 20px; }
.opb-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.opb-kpi {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px 10px; text-align: center;
}
.opb-kpi-label { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 5px; }
.opb-kpi-val { font-family: var(--font-disp); font-size: 1.18rem; font-weight: 800; color: var(--ink); line-height: 1; }
.opb-list-head { font-size: .8rem; font-weight: 800; color: var(--ink-soft); margin-bottom: 8px; }
.opb-list { display: flex; flex-direction: column; }
.opb-list li { display: flex; align-items: center; gap: 11px; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.opb-list li:last-child { border-bottom: none; }
.opb-av {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: var(--grad-warm); color: #fff; font-size: .82rem; font-weight: 800;
  display: grid; place-items: center;
}
.opb-who { flex: 1; display: flex; flex-direction: column; line-height: 1.3; font-size: .88rem; color: var(--ink); }
.opb-who b { font-weight: 800; }
.opb-who span { font-size: .74rem; color: var(--muted); }
.opb-amt { flex: none; font-size: .82rem; font-weight: 800; color: var(--mint-d); background: #e8f9f3; border-radius: var(--r-pill); padding: 4px 10px; }
.opb-amt.use { color: var(--stamp); background: #ffeae6; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 980px) {
  section { padding: 80px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-phone-wrap { order: -1; }
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .demo-controls { order: 2; }
  .demo-phone-wrap { order: 1; display: grid; place-items: center; }
  .dual-grid, .noapp-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hero-ambient { display: none; }
  .hero-float { display: none; }
  .proof-method-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream, #fff8ef); border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(31,42,68,.14);
    padding: 6px 0; max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; font-size: 1rem; }
  .nav-links a:hover { background: rgba(31,42,68,.04); color: var(--tangerine-d); }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line-2); }
  .compliance { grid-template-columns: 1fr; text-align: center; }
  .compliance .cmp-shield { margin: 0 auto; }
  .compliance .cmp-points { justify-content: center; }
  .op-grid { grid-template-columns: 1fr; gap: 36px; }
  .op-board { order: -1; max-width: 460px; }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .steps3 { grid-template-columns: 1fr; }
  /* long VERBATIM headline: relax forced single-line so it wraps at word
     boundaries instead of overflowing the viewport horizontally */
  .value-head .nobr { white-space: normal; }
  .safety-grid { grid-template-columns: 1fr; }
  .safety-note { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-actions .btn-ghost { display: none; }
  .cta-band { max-width: none; padding: 40px 22px 36px; }
  .cta-band::after { width: 220px; height: 220px; right: -90px; bottom: -110px; }
  .cta-stampmark { width: 130px; height: 130px; top: -18px; right: -10px; opacity: .11; }
  .cta-ill--ring2 { width: 90px; height: 90px; top: -22px; left: -20px; }
  .cta-ill--cup { width: 38px; top: 16px; left: 4%; }
  .cta-ill--card { width: 74px; bottom: 14px; left: 3%; }
  .cta-ill--spark1 { width: 15px; height: 15px; top: 10%; right: 20%; }
  .cta-ill--spark2 { width: 11px; height: 11px; top: 60%; left: 8%; }
  .cta-ill--spark3 { width: 13px; height: 13px; bottom: 8%; right: 6%; }
  .pricing-card { padding: 28px 22px; }
  .pc-promo { font-size: 2rem; }
  .hero-cta .btn { flex: 1; }
  .owner-preview { padding: 56px 0; }
  .opb-kpis { grid-template-columns: repeat(2, 1fr); }
  .op-cta .btn { flex: 1; }
}
@media (max-width: 380px) {
  .phone { width: 300px; height: 616px; }
}

/* smooth scroll only for users who have not requested reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .store-emblem .ring { animation: none; }
}

/* ============================================================
   PROMO POPUP (customer · owner-configurable via localStorage)
============================================================ */
.promo-overlay {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center; padding: 24px;
  background: rgba(31,42,68,.5); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.promo-overlay.show { opacity: 1; }
.promo-modal {
  position: relative; width: 100%; max-width: 380px;
  background: var(--paper); border-radius: var(--r-lg);
  padding: 30px 26px 24px; text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.97); transition: transform .35s var(--bounce);
  border-top: 5px solid var(--tangerine);
}
.promo-overlay.show .promo-modal { transform: translateY(0) scale(1); }
.promo-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 10px; background: #f4eee4; color: var(--ink-soft);
  font-size: 1.4rem; line-height: 1; transition: background var(--ease), color var(--ease);
}
.promo-close:hover { background: var(--tangerine); color: #fff; }
.promo-badge {
  display: inline-block; margin-bottom: 12px;
  background: #fff3e7; border: 1px solid #ffd9bd; color: var(--tangerine-d);
  font-size: .76rem; font-weight: 800; letter-spacing: .02em;
  padding: 5px 13px; border-radius: var(--r-pill);
}
.promo-title { font-family: var(--font-disp); font-weight: 800; font-size: 1.4rem; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.promo-body { font-size: .96rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 22px; }
.promo-cta { margin-bottom: 4px; }
.promo-dismiss {
  display: inline-block; margin-top: 12px;
  font-size: .82rem; font-weight: 600; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.promo-dismiss:hover { color: var(--ink-soft); }

/* themes (warm default · ink · mint) */
.promo-modal[data-theme="warm"] { border-top-color: var(--tangerine); }
.promo-modal[data-theme="warm"] .promo-badge { background: #fff3e7; border-color: #ffd9bd; color: var(--tangerine-d); }
.promo-modal[data-theme="ink"] { border-top-color: var(--ink); }
.promo-modal[data-theme="ink"] .promo-badge { background: #eef1f8; border-color: #d6def0; color: var(--ink); }
.promo-modal[data-theme="ink"] .promo-cta { background: var(--ink); box-shadow: none; }
.promo-modal[data-theme="ink"] .promo-cta:hover { background: #18213a; box-shadow: var(--shadow-md); }
.promo-modal[data-theme="mint"] { border-top-color: var(--mint-d); }
.promo-modal[data-theme="mint"] .promo-badge { background: #e8f9f3; border-color: #bfeede; color: var(--mint-d); }
.promo-modal[data-theme="mint"] .promo-cta { background: linear-gradient(135deg, #3ce0b6, var(--mint-d)); box-shadow: 0 12px 30px rgba(31,165,131,.22); }

/* ============================================================
   1:1 INQUIRY — floating button + modal
============================================================ */
.inquiry-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 320;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: var(--r-pill);
  background: var(--grad-warm); color: #fff; font-weight: 800; font-size: .94rem;
  box-shadow: var(--shadow-warm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.inquiry-fab:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.inquiry-fab svg { flex: none; }

.inquiry-overlay {
  position: fixed; inset: 0; z-index: 420;
  display: grid; place-items: center; padding: 24px;
  background: rgba(31,42,68,.5); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.inquiry-overlay.show { opacity: 1; }
.inquiry-modal {
  position: relative; width: 100%; max-width: 440px;
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--paper); border-radius: var(--r-lg);
  padding: 30px 28px 26px; box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.97); transition: transform .35s var(--bounce);
}
.inquiry-overlay.show .inquiry-modal { transform: translateY(0) scale(1); }
.inquiry-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 10px; background: #f4eee4; color: var(--ink-soft);
  font-size: 1.4rem; line-height: 1; transition: background var(--ease), color var(--ease);
}
.inquiry-close:hover { background: var(--tangerine); color: #fff; }
.inquiry-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff3e7; border: 1px solid #ffd9bd; color: var(--tangerine-d);
  font-size: .74rem; font-weight: 800; padding: 5px 11px; border-radius: 8px; margin-bottom: 10px;
}
.inquiry-heading { font-family: var(--font-disp); font-weight: 800; font-size: 1.32rem; color: var(--ink); margin-bottom: 6px; }
.inquiry-sub { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: 18px; }

.iq-field { margin-bottom: 14px; }
.iq-field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.iq-field .iq-req { color: var(--stamp); }
.iq-field input, .iq-field select, .iq-field textarea {
  width: 100%; padding: 12px 13px; border-radius: 12px; border: 1.5px solid var(--line-2);
  font-size: .96rem; font-family: var(--font); background: #fff; color: var(--ink);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.iq-field textarea { resize: vertical; line-height: 1.55; min-height: 96px; }
.iq-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236f6557' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px;
}
.iq-field input:focus, .iq-field select:focus, .iq-field textarea:focus {
  outline: none; border-color: var(--tangerine); box-shadow: 0 0 0 3px rgba(255,122,69,.16);
}
.iq-field input.invalid, .iq-field textarea.invalid { border-color: var(--stamp); box-shadow: 0 0 0 3px rgba(230,57,70,.14); }
.iq-err { display: block; font-size: .76rem; color: var(--stamp); font-weight: 600; margin-top: 6px; }
.iq-privacy { font-size: .76rem; color: var(--muted); line-height: 1.5; margin: 4px 0 16px; }
.iq-privacy b { color: var(--ink-soft); }

.inquiry-thanks { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 16px 4px 8px; }
.inquiry-thanks .inquiry-heading { margin: 6px 0 4px; }
.inquiry-thanks .inquiry-sub { margin-bottom: 18px; }

/* ============================================================
   PAGE-LEVEL TOAST (promo/inquiry — distinct from in-phone toast)
============================================================ */
.page-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 440;
  transform: translateX(-50%) translateY(140%);
  display: inline-flex; align-items: center; gap: 11px; max-width: calc(100vw - 40px);
  background: var(--ink); color: #fff; border-radius: 14px; padding: 13px 18px;
  box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600; line-height: 1.45;
  opacity: 0; transition: transform .42s var(--bounce), opacity .3s;
}
.page-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.page-toast .pt-ico { width: 26px; height: 26px; border-radius: 8px; background: var(--mint); display: grid; place-items: center; flex: none; }

@media (max-width: 480px) {
  .inquiry-fab { right: 16px; bottom: 16px; padding: 12px 16px; font-size: .9rem; }
  .promo-modal { padding: 28px 20px 22px; }
  .inquiry-modal { padding: 26px 20px 22px; }
  .page-toast { bottom: 84px; }
}

/* ============================================================
   MEMBERSHIP TIER (단골 등급) — customer-facing, reads stampy-tiers
   color is supplied inline (per-tier) via --tier var; layout only here
============================================================ */
/* compact badge: emoji + name, tinted with the tier color */
.tier-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px; border-radius: var(--r-pill);
  font-size: .74rem; font-weight: 800; line-height: 1; white-space: nowrap;
  color: var(--tier, var(--ink));
  background: color-mix(in srgb, var(--tier, var(--ink)) 12%, #fff);
  border: 1.5px solid color-mix(in srgb, var(--tier, var(--ink)) 32%, #fff);
}
.tier-chip .tc-emoji { font-size: .92rem; }
/* tiny variant for the hero stamp-card header */
.tier-chip-mini { padding: 3px 9px 3px 7px; font-size: .68rem; }
.tier-chip-mini .tc-emoji { font-size: .82rem; }
/* fallback for browsers without color-mix(): solid-ish tint via opacity layer */
@supports not (background: color-mix(in srgb, red 10%, white)) {
  .tier-chip { background: #fff; border-color: var(--tier, var(--ink)); }
}

/* tier summary card inside mypage "스탬프" tab */
.tier-card {
  border: 1.5px solid color-mix(in srgb, var(--tier, var(--ink)) 26%, var(--line));
  border-radius: var(--r-md);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tier, var(--ink)) 7%, #fff) 0%, #fff 60%);
  padding: 14px 15px; margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
@supports not (background: color-mix(in srgb, red 10%, white)) {
  .tier-card { background: #fff; border-color: var(--line-2); }
}
.tier-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.tier-card-top .tier-chip { font-size: .8rem; padding: 5px 12px 5px 9px; }
.tier-visits { font-size: .76rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.tier-visits b { color: var(--ink); font-size: .9rem; }
/* progress to next tier */
.tier-prog { margin-top: 2px; }
.tier-prog-bar {
  height: 8px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--tier, var(--ink)) 14%, #f1ece2);
  overflow: hidden;
}
@supports not (background: color-mix(in srgb, red 10%, white)) {
  .tier-prog-bar { background: #f1ece2; }
}
.tier-prog-fill {
  height: 100%; border-radius: var(--r-pill);
  background: var(--tier, var(--ink));
  width: 0%; transition: width .6s var(--ease);
}
.tier-prog-text { font-size: .76rem; color: var(--ink-soft); margin-top: 7px; line-height: 1.45; }
.tier-prog-text b { color: var(--tier, var(--ink)); font-weight: 800; }
.tier-prog-text.is-top { color: var(--tier, var(--ink)); font-weight: 700; }
/* perk line */
.tier-perk {
  display: flex; align-items: flex-start; gap: 7px;
  margin-top: 11px; padding-top: 11px;
  border-top: 1px dashed color-mix(in srgb, var(--tier, var(--ink)) 24%, var(--line));
  font-size: .8rem; color: var(--ink-soft); line-height: 1.5;
}
@supports not (border-top: 1px dashed color-mix(in srgb, red 10%, white)) {
  .tier-perk { border-top-color: var(--line); }
}
.tier-perk .tp-ico { color: var(--tier, var(--ink)); flex: none; margin-top: 1px; font-size: .88rem; }
.tier-perk b { color: var(--ink); font-weight: 700; }

/* ============================================================
   ACCRUAL REQUEST (customer → owner counter queue)
   reads/writes stampy-accrual-requests, realtime via storage event
============================================================ */
.accreq { padding: 72px 0; }
.accreq-card {
  max-width: 520px; margin: 0 auto;
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-md);
  padding: 26px 24px; box-shadow: var(--shadow-md);
}
.accreq-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px 6px 10px; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 800; letter-spacing: -.01em;
  background: var(--cream-2); color: var(--tangerine-d);
}
.accreq-tag svg { color: var(--tangerine-d); }
.accreq-desc { margin: 14px 0 16px; font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }
.accreq-desc b { color: var(--ink); }
.accreq-field { margin-bottom: 14px; }
.accreq-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.accreq-field input {
  width: 100%; padding: 13px 15px; border-radius: var(--r-input, 12px);
  border: 1.5px solid var(--line-2); font-size: 1.1rem; letter-spacing: .18em; font-weight: 700;
  font-family: var(--font); background: #fff; color: var(--ink);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.accreq-field input:focus { outline: none; border-color: var(--tangerine); box-shadow: 0 0 0 3px rgba(255,122,69,.16); }
.accreq-field input.invalid { border-color: #e0463a; box-shadow: 0 0 0 3px rgba(224,70,58,.14); }
.accreq-err { display: block; margin-top: 6px; font-size: .8rem; font-weight: 600; color: #c8362c; }
.accreq-foot { margin-top: 14px; font-size: .8rem; color: var(--ink-soft); line-height: 1.55; }
.accreq-foot b { color: var(--ink); }

/* status panel */
.accreq-status { display: flex; flex-direction: column; gap: 14px; }
.accreq-state {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 16px; border-radius: var(--r-md);
  border: 1.5px solid var(--line-2); background: var(--cream);
}
.accreq-state[data-state="ok"] { border-color: #bfe7d4; background: #effaf4; }
.accreq-state[data-state="no"] { border-color: #f1cfca; background: #fcf1ef; }
.accreq-state-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.accreq-state-txt b { font-size: 1.02rem; font-weight: 800; color: var(--ink); word-break: keep-all; }
.accreq-state-txt span { font-size: .84rem; color: var(--ink-soft); line-height: 1.5; word-break: keep-all; }
.accreq-state-txt span b { font-size: inherit; color: var(--ink); }
.accreq-state[data-state="ok"] .accreq-state-txt b { color: #157a52; }
.accreq-state[data-state="no"] .accreq-state-txt b { color: #b23a2e; }

/* waiting spinner (reuses brand tangerine) */
.accreq-spinner {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  border: 3px solid var(--line-2); border-top-color: var(--tangerine);
  animation: accreqSpin .8s linear infinite;
}
@keyframes accreqSpin { to { transform: rotate(360deg); } }

/* light celebration pulse on approval */
.accreq-state.accreq-pop { animation: accreqPop .5s var(--bounce, cubic-bezier(.34,1.56,.64,1)); }
@keyframes accreqPop { 0% { transform: scale(1); } 40% { transform: scale(1.025); } 100% { transform: scale(1); } }

.accreq-again {
  align-self: flex-start;
  font-size: .85rem; font-weight: 700; color: var(--tangerine-d);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
  background: none; border: none; padding: 2px 0;
}
.accreq-again:hover { color: var(--tangerine); }

@media (max-width: 480px) {
  .accreq { padding: 52px 0; }
  .accreq-card { padding: 22px 18px; }
}

/* respect reduced motion: stop spinner/pulse animation */
@media (prefers-reduced-motion: reduce) {
  .accreq-spinner { animation: none; }
  .accreq-state.accreq-pop { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════
 터치 기기 탭 타깃 최소 44px (WCAG 2.5.5 / Apple HIG)
   ──────────────────────────────────────────────────────────────────────
   실측(iPhone 12): 별점 라디오 30x33 · 영수증/쿠폰 버튼 31~35px · 체크박스 15px.
   별점은 손님이 매장에서 실제로 누르는 컨트롤이고 5개가 gap 6px 로 붙어 있어
   옆 별을 잘못 누르기 가장 쉬운 자리다. 별 아이콘(30px SVG)은 그대로 두고
   버튼 상자만 44px 로 키운다 — 별 크기가 커지면 카드 레이아웃이 밀린다.
   체크박스는 label 이 탭 영역이라 여기서 다루지 않는다.
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px), (pointer: coarse) {
  .stars button {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ps-btn,
  .kbtn,
  .cbtn {
    min-height: 44px;
  }
}


/* 폰 목업 안이지만 **실제로 동작하는 탭**이다
   (proof-tabs: role="tab"·data-proof, mypage-tabs: data-tab). 손님이 데모에서
   직접 눌러 보는 자리라 장식이 아니다. 그 밖에 btn-sm·nav-toggle·demo-replay 도
   기준 미달이었다(37~42px, demo-replay 는 16px). */
@media (max-width: 900px), (pointer: coarse) {
  .proof-tabs button,
  .mypage-tabs button,
  .btn-sm,
  .demo-replay {
    min-height: 44px;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }
}


/* voc-skip("건너뛰기 — 후기는 선택 사항") 높이 15px.
   후기를 쓰지 않고 넘어가는 유일한 출구라, 못 누르면 손님이 화면에 갇힌다. */
@media (max-width: 900px), (pointer: coarse) {
  .voc-skip {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
