/* ============================================
   Reset & base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
               'Segoe UI', Roboto, sans-serif;
  color: #0f172a;
  background: #fff;
  overflow-x: clip;          /* CLAUDE.md: 가로 스크롤바 방지 */
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ============================================
   Design Stage (CLAUDE.md 패턴)
   ============================================ */
.design-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}
.design-stage {
  width: 1920px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  /* JS가 translate(-50%,-50%) scale(s) 설정 */
}

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: #ffe200;
}

/* --- Background layer (풀폭, scale 안 됨) --- */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-bg-yellow {
  position: absolute; inset: 0;
  background: #ffe200;
}
.hero-bg-photo {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-bg-photo img {
  position: absolute;
  /* 좌우 꽉차게 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
/* Image gradient — Figma 422:4793
   원본: x=0 y=199 / 1920×981 (hero 1920×1180 기준, 하단 정렬, 상단에서 16.86% 떨어짐)
   풀폭 + 비율 유지로 어느 뷰포트에서도 동일한 그라데이션 위치 */
.hero-bg-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 83.135%; /* 981 / 1180 */
  mix-blend-mode: multiply;
  background: linear-gradient(
    to top,
    rgba(56, 56, 56, 0.7) 20.544%,
    rgba(77, 76, 76, 0.3) 56.609%,
    rgba(116, 114, 114, 0) 92.633%
  );
}

/* ============================================
   GNB (1140 정렬 — viewport plane)
   ============================================ */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 80px;
  z-index: 100;
  background: #ffffff;
  overflow: hidden;
}
.gnb-inner {
  max-width: 1140px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Logo (Figma: 로고 99×32 + 사장님 25.6px Bold) --- */
.logo {
  position: relative;
  width: auto;
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8.5px;        /* Figma: ml-107.5 - logo width 99 = 8.5 */
  text-decoration: none;
}
.logo-group {
  position: relative;
  width: 97.344px;
  height: 29.683px;
  flex-shrink: 0;
}
.logo-piece { position: absolute; display: block; }
.logo-piece img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
}
/* inset 값은 Figma 그룹(97.344 × 29.683) 기준 백분율 그대로 */
.logo-p392 { inset: 63.62% 72.18% 0       0; }
.logo-p393 { inset: 2.24%  83.56% 43.31%  0; }
.logo-p394 { inset: 0      72.18% 40.42%  17.32%; }
.logo-p395 { inset: 2.31%  50.25% 3.46%   30.95%; }
.logo-p74  { inset: 0      0      2.31%   92.71%; }
.logo-p396 { inset: 0      32.96% 0       51.48%; }
.logo-p397 { inset: 2.31%  10.67% 3.47%   70.71%; }

/* --- Menu --- */
.gnb-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}
.gnb-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-weight: 600;
  font-size: 18px;
  line-height: 22.5px;
  color: #6b7280;
  white-space: nowrap;
  transition: color .15s ease;
}
.gnb-link:hover { color: #0f172a; }
.gnb-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #ffe200;
  color: #0f172a;
  font-weight: 700;
  font-size: 18px;
  line-height: 22.5px;
  white-space: nowrap;
}

/* ============================================
   Hero stage content (1920 좌표계 — scale 됨)
   ============================================ */
.hero-stage { height: 1180px; }

.hero-content {
  position: absolute;
  /* Nav(72) + gap(210) = 282px from stage top */
  top: 282px;
  /* 1920 stage 안에서 px 390 → content 시작 = 390 */
  left: 390px;
  right: 390px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
}

/* Hero heading — Figma 벡터 (624.85 × 190.176) */
.hero-heading {
  margin: 0;
  width: 624.85px;
  height: 190.176px;
  font-size: 0;
  line-height: 0;
}
.hero-heading img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-sub {
  margin: 0;
  width: 636px;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: -2px;
  color: #fff;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 72px;
  padding: 10px 12px 10px 28px;
  border-radius: 333px;
  background: #ffe200;
  color: #0f172a;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -2px;
  line-height: 1;
}
.hero-cta-icon {
  position: relative;
  width: 36px; height: 36px;
  overflow: hidden;
}
.hero-cta-icon img {
  position: absolute;
  inset: 20.83% 33.33%;
  width: 33.34%;
  height: 58.34%;
}

/* ============================================
   Scroll reveal (CLAUDE.md 패턴)
   ============================================ */
#hero [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#hero [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#hero .hero-heading[data-animate] { transition-delay: 0.10s; }
#hero .hero-sub[data-animate]     { transition-delay: 0.22s; }
#hero .hero-cta[data-animate]     { transition-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  #hero [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 1 — Testimonial carousel
   ============================================ */
#section1 {
  background: #f9fafb;
  /* 카드가 좌우 슬라이드 중 stage 밖으로 흘러도 잘리지 않도록 */
  overflow: visible;
}
#section1 .design-stage { height: 1080px; }

.s1-stage {
  /* Figma: padding 120px / 390px, gap 80px */
}
.s1-title {
  position: absolute;
  top: 120px;
  left: 390px;
  width: 1140px;
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.35;
  letter-spacing: -2px;
  color: #0f172a;
}

/* Cards viewport — Figma 원본: 시작 좌표 390, 폭 1530.
   overflow visible 로 두면 슬라이드 도중 stage 밖으로 나가도 잘림 없이 보임 */
.s1-cards-viewport {
  position: absolute;
  top: 330px;
  left: 390px;
  width: 1530px;
  height: 440px;
  overflow: visible;
  cursor: grab;
  touch-action: pan-y;       /* 가로 드래그 우선 — 페이지 세로 스크롤은 유지 */
}
.s1-cards-viewport:active { cursor: grabbing; }
.s1-cards-track {
  display: flex;
  gap: 20px;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Single card */
.t-card {
  position: relative;
  flex: 0 0 auto;
  width: 684px;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  background: #1a2128;
}
.t-card-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
  pointer-events: none;
}
.t-card-img img {
  position: absolute;
  max-width: none;
}
.t-card-gradient {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 684px;
  height: 188px;
  mix-blend-mode: multiply;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(
    to top,
    #383838 20.544%,
    rgba(77, 76, 76, 0.5) 56.609%,
    rgba(116, 114, 114, 0) 92.633%
  );
}
.t-card-title {
  position: absolute;
  left: 40px;
  top: 318px;     /* 334.5 - 34/2 (line height baseline) */
  margin: 0;
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -2px;
  color: #fff;
  white-space: nowrap;
}
.t-card-meta {
  position: absolute;
  left: 40px;
  top: 367px;
  margin: 0;
  width: 195px;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #fff;
}

/* Navigation arrows */
.s1-nav {
  position: absolute;
  top: 850px;
  left: 390px;
  display: flex;
  align-items: center;
  gap: 0;
}
.s1-nav-btn {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.s1-nav-btn:disabled { cursor: not-allowed; }
.s1-nav-icon {
  display: block;
  width: 30px;
  height: 30px;
  background-color: #1a2128;
  -webkit-mask-image: url('./arrow-up.svg');
  mask-image: url('./arrow-up.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 30px 30px;
  mask-size: 30px 30px;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}
.s1-nav-prev .s1-nav-icon { transform: rotate(-90deg); }
.s1-nav-next .s1-nav-icon { transform: rotate(90deg); }
.s1-nav-btn:disabled .s1-nav-icon { background-color: #d9d9d9; }

/* Reveal */
#section1 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section1 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section1 .s1-title[data-animate]          { transition-delay: 0.10s; }
#section1 .s1-cards-viewport[data-animate] { transition-delay: 0.22s; }
#section1 .s1-nav[data-animate]            { transition-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  #section1 [data-animate] { opacity: 1; transform: none; transition: none; }
  .s1-cards-track { transition: none; }
}

/* ============================================
   SECTION 2 — 착한 배달앱 먹깨비
   Stage 1920 × 2822
   ============================================ */
#section2 { background: #ffffff; }
#section2 .design-stage { height: 2822px; }

/* Title */
.s2-title {
  position: absolute;
  top: 175px;
  /* Figma: left calc(16.67% + 70px) ≈ 390 in 1920 stage */
  left: calc(16.67% + 70px);
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.35;
  letter-spacing: -1px;
  color: #1a2128;
  white-space: nowrap;
}
.s2-title > span { display: block; }
.s2-title-accent { color: #0059ff; }

/* Rows */
.s2-row {
  position: absolute;
  left: 390px;
  width: 1140px;
  height: 600px;
  display: flex;
  align-items: center;
}
.s2-row-1 { top: 334px;  gap: 175px; }   /* Container1 */
.s2-row-3 { top: 2098px; gap: 272px; }   /* Container3 */

/* Full-bleed gray band (Container2) — 회색 배경은 .s2-band-bg 가 viewport plane에서 처리.
   .s2-band 는 stage 안에서 컨텐츠 좌표(top 1058)만 잡음 */
.s2-band {
  position: absolute;
  top: 1058px;
  left: 0;
  right: 0;
  height: 916px;
  background: transparent;
}
/* 풀폭 회색 배경 — viewport plane (JS가 top/height 동기화) */
.s2-band-bg {
  position: absolute;
  left: 0;
  right: 0;
  background: #f9fafb;
  pointer-events: none;
  z-index: 0;
}
#section2 .design-stage { z-index: 1; }
.s2-band-inner {
  position: absolute;
  top: 158px;
  left: 390px;
  width: 1099px;
  height: 600px;
  display: flex;
  align-items: center;
  gap: 97px;
}

/* Text block */
.s2-text {
  display: flex;
  flex-direction: column;
  gap: 36px;
  white-space: nowrap;
}
.s2-subtitle {
  margin: 0;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: -2px;
  color: #1a2128;
}
.s2-desc {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #6b7684;
}

/* Images */
.s2-img {
  width: 556px;
  height: 600px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 24px;
  position: relative;
}
.s2-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reveal */
#section2 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section2 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section2 .s2-title[data-animate] { transition-delay: 0.05s; }
#section2 .s2-row[data-animate],
#section2 .s2-band[data-animate] { transition-delay: 0.15s; }

@media (prefers-reduced-motion: reduce) {
  #section2 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 3 — 전국 가맹점 현황
   Stage 1920 × 1080, container 세로 중앙 정렬
   ============================================ */
#section3 { background: #ffffff; }
/* Figma 원본 1080 + Section2 와의 갭(258) = 1338. 내부 컨텐츠는 원래 위치(top 298)를 유지하도록 +258 만큼 아래로. */
#section3 .design-stage { height: 1338px; }

.s3-container {
  position: absolute;
  top: 458px;       /* Figma y 200 + Section2 갭 258 */
  left: 390px;
  width: 1140px;
  display: flex;
  flex-direction: column;
  gap: 31px;
  align-items: flex-start;
}

.s3-header {
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;     /* Figma 명시값 */
  letter-spacing: -0.96px;
  color: #1a2128;
  white-space: nowrap;
}
.s3-accent { color: #0059ff; }

.s3-sub {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: flex-end;
}
.s3-date {
  margin: 0;
  width: 100%;
  text-align: right;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  color: #6b7684;
}

.s3-info-row {
  display: flex;
  gap: 17px;
  width: 100%;
}
.s3-img {
  flex: 0 0 369px;
  height: 268px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.s3-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reveal */
#section3 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section3 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section3 .s3-header[data-animate] { transition-delay: 0.10s; }
#section3 .s3-sub[data-animate]    { transition-delay: 0.22s; }

@media (prefers-reduced-motion: reduce) {
  #section3 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 4 — 입점 혜택 (2×2 카드)
   Figma stage 1920 × 1374. Section3 와 갭 436 흡수 → 1810
   ============================================ */
#section4 { background: #ffffff; }
#section4 .design-stage { height: 1810px; }

/* Title */
.s4-container {
  position: absolute;
  top: 556px;             /* 120 + 436 (gap from section3) */
  left: 390px;
  width: 1140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.s4-title {
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;
  letter-spacing: -0.96px;
  color: #1a2128;
  white-space: nowrap;
}

/* Cards (2×2) — top: 336/806 + 436 = 772 / 1242 */
.s4-card {
  position: absolute;
  width: 560px;
  height: 448px;
  border-radius: 24px;
  overflow: hidden;
  background: #e2e2e2;
}
.s4-card-1 { top: 772px;  left: 390px; }
.s4-card-2 { top: 772px;  left: 970px; }
.s4-card-3 { top: 1242px; left: 390px; }
.s4-card-4 { top: 1242px; left: 970px; }

.s4-card-img {
  position: absolute;
  inset: 0;
}
.s4-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s4-card-text {
  position: absolute;
  left: 40px;
  top: 310px;
  margin: 0;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.35;
  letter-spacing: -2px;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: opacity .25s ease;
  z-index: 2;
}

/* Hover state — 다크 오버레이 + 설명 텍스트 */
.s4-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 1;
}
.s4-card-desc {
  position: absolute;
  left: 40px;
  top: 309px;
  right: 40px;        /* 우측 여백 — 텍스트 자동 줄바꿈 */
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 2;
}
.s4-card:hover .s4-card-overlay,
.s4-card:focus-within .s4-card-overlay { opacity: 1; }
.s4-card:hover .s4-card-desc,
.s4-card:focus-within .s4-card-desc    { opacity: 1; }
.s4-card:hover .s4-card-text,
.s4-card:focus-within .s4-card-text    { opacity: 0; }

/* Reveal */
#section4 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section4 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section4 .s4-container[data-animate] { transition-delay: 0.06s; }
#section4 .s4-card-1[data-animate]    { transition-delay: 0.18s; }
#section4 .s4-card-2[data-animate]    { transition-delay: 0.26s; }
#section4 .s4-card-3[data-animate]    { transition-delay: 0.34s; }
#section4 .s4-card-4[data-animate]    { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  #section4 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 5 — 입점 과정 4 STEP + CTA
   Figma stage 1920 × 940. Section4 와 갭 86 흡수 → 1026
   ============================================ */
#section5 { background: #f9fafb; }
#section5 .design-stage { height: 1026px; }

.s5-heading {
  position: absolute;
  top: 318px;       /* 232 + 86 */
  left: 390px;
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;
  letter-spacing: -0.96px;
  color: #1a2128;
  white-space: nowrap;
}

/* Step Cards — 270×270, 흰색, rounded 24 */
.s5-step {
  position: absolute;
  top: 466px;       /* 380 + 86 */
  width: 270px;
  height: 270px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
}
.s5-step-1 { left: 390px; }
.s5-step-2 { left: 680px; }
.s5-step-3 { left: 970px; }
.s5-step-4 { left: 1260px; }

.s5-step-num {
  position: absolute;
  left: 29px;
  top: 25px;
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -1px;
  color: #0537c8;
  white-space: nowrap;
}
.s5-step-title {
  position: absolute;
  left: 29px;
  top: 65px;
  margin: 0;
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -1px;
  color: #0f172a;
  white-space: nowrap;
}
.s5-step-icon {
  position: absolute;
  right: 28px;
  bottom: 32px;
  width: 100px;
  height: 100px;
}
.s5-step-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA — dark pill */
.s5-cta {
  position: absolute;
  top: 787px;       /* 701 + 86 */
  left: 385px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 72px;
  padding: 10px 12px 10px 28px;
  border-radius: 333px;
  background: #1a2128;
  color: #ffffff;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -2px;
  line-height: 1;
}
.s5-cta-icon {
  position: relative;
  width: 36px;
  height: 36px;
  overflow: hidden;
}
.s5-cta-icon img {
  position: absolute;
  inset: 20.83% 33.33%;
  width: 33.34%;
  height: 58.34%;
}

/* Reveal */
#section5 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section5 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section5 .s5-heading[data-animate]   { transition-delay: 0.05s; }
#section5 .s5-step-1[data-animate]    { transition-delay: 0.15s; }
#section5 .s5-step-2[data-animate]    { transition-delay: 0.22s; }
#section5 .s5-step-3[data-animate]    { transition-delay: 0.29s; }
#section5 .s5-step-4[data-animate]    { transition-delay: 0.36s; }
#section5 .s5-cta[data-animate]       { transition-delay: 0.46s; }

@media (prefers-reduced-motion: reduce) {
  #section5 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 6 — 사장님 앱 / POS 설치 카드
   Figma stage 1920 × 1225. Section5 와 갭 268 흡수 → 1493
   ============================================ */
#section6 { background: #ffffff; }
#section6 .design-stage { height: 1493px; }

/* 컨텐츠 세로 중앙 정렬:
   total = heading(136) + gap(60) + cards(646) = 842
   stage(1493) - 842 = 651 → top padding 325.5
   heading top: 325, cards top: 325 + 136 + 60 = 521 */
.s6-heading {
  position: absolute;
  top: 325px;
  left: 390px;
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;
  letter-spacing: -0.96px;
  color: #1a2128;
  white-space: nowrap;
}

/* Cards 560×646 */
.s6-card {
  position: absolute;
  top: 521px;
  width: 560px;
  height: 646px;
  background: #f9fafb;
  border-radius: 24px;
  overflow: hidden;
}
.s6-card-app { left: 390px; }
.s6-card-pos { left: 970px; }

.s6-card-text {
  position: absolute;
  top: 60px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  white-space: nowrap;
}
.s6-card-title {
  margin: 0;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: -2px;
  color: #1a2128;
}
.s6-card-desc {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #4e5968;
}

/* Dark pill button (small) */
.s6-card-btn {
  position: absolute;
  top: 252px;
  left: 40px;
  height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a2128;
  border-radius: 333px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  white-space: nowrap;
  z-index: 3;
}
.s6-card-btn-icon {
  position: relative;
  width: 24px;
  height: 24px;
}
.s6-card-btn-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Card 1 — phone image + bottom fade */
.s6-card-phone {
  position: absolute;
  top: 324px;
  left: 265px;
  width: 226.796px;
  height: 459.198px;
  z-index: 1;
}
.s6-card-phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s6-card-phone-fade {
  position: absolute;
  left: 0;
  top: 564px;
  width: 560px;
  height: 82px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(
    to bottom,
    rgba(249, 250, 251, 0) 14.634%,
    rgba(249, 250, 251, 0.9) 81.707%
  );
  z-index: 2;
}

/* Card 2 — monitor image (이미지가 frame보다 큼, 일부 잘림) */
.s6-card-monitor {
  position: absolute;
  top: 359.59px;
  left: 162.68px;
  width: 357px;
  height: 245.537px;
  overflow: hidden;
  z-index: 1;
}
.s6-card-monitor img {
  position: absolute;
  left: -11.95%;
  top: -29.65%;
  width: 123.89%;
  height: 179.95%;
  max-width: none;
}

/* Reveal */
#section6 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section6 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section6 .s6-heading[data-animate]   { transition-delay: 0.05s; }
#section6 .s6-card-app[data-animate]  { transition-delay: 0.18s; }
#section6 .s6-card-pos[data-animate]  { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  #section6 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 7 — 자주 묻는 질문 (Accordion)
   Figma stage 1920 × 912. Section6 와 갭 80 흡수 → 992
   ============================================ */
#section7 {
  background: #f9fafb;
  /* .design-section 기본 min-height:100vh 를 덮어써서 Figma 912 만큼만 차지하도록 */
  min-height: 0;
}
/* Stage: Figma 원본 912 + 아코디언 펼침 시 컨텐츠 따라 자라는 flow 레이아웃 */
#section7 .design-stage {
  height: auto;
  min-height: 912px;
  padding: 120px 390px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* 스테이지를 섹션 상단에 앵커링 — 컨텐츠가 자라도 위로 밀려 올라가지 않고 아래로만 자람 */
  top: 0;
  transform-origin: top center;
}

.s7-heading {
  position: static;
  margin: 0 0 80px 0;            /* heading 하단 → qna-group 까지 80 */
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;
  letter-spacing: -2px;
  color: #1a2128;
  white-space: nowrap;
}

.s7-qna-group {
  position: static;
  width: 1140px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Single QnA */
.qna {
  width: 100%;
  background: #f2f4f6;
  border-radius: 16px;
  overflow: hidden;
}
.qna-question {
  width: 100%;
  height: 80px;
  padding: 0 40px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.qna-q-text {
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -1px;
  color: #1a2128;
  white-space: nowrap;
}
.qna-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.qna-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.qna.is-open .qna-icon {
  transform: rotate(45deg);   /* + → × */
}

/* Answer — max-height 트랜지션 (모든 브라우저에서 부드럽게 동작) */
.qna-answer {
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  transition: max-height .4s cubic-bezier(0.22, 1, 0.36, 1);
}
.qna-answer-inner p {
  margin: 0;
  padding: 40px;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.75;
  color: #6b7684;
}
.qna.is-open .qna-answer {
  max-height: 600px;  /* 가장 긴 답변이 충분히 들어가는 값 */
}

/* Reveal */
#section7 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section7 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section7 .s7-heading[data-animate]   { transition-delay: 0.05s; }
#section7 .s7-qna-group[data-animate] { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  #section7 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 8 — CTA 풀폭 배경
   Figma stage 1920 × 662. Section7 와 갭 156 흡수 → 818
   ============================================ */
#section8 {
  position: relative;
  background: #1a1a1a;
  overflow: hidden;
  min-height: 0;
}
.s8-bg {
  position: absolute;
  inset: -32px 0 0 0;       /* Figma Frame300: top -30, h 724 (section 662 보다 큼) */
  pointer-events: none;
  overflow: hidden;
}
.s8-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s8-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

#section8 .design-stage { height: 818px; }

.s8-content {
  position: absolute;
  top: 286px;          /* 130 + 156 */
  left: 390px;
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
}
.s8-title {
  margin: 0;
  font-weight: 700;
  font-size: 68px;
  line-height: 1.2;
  letter-spacing: -2px;
  color: #fff;
}
.s8-sub {
  margin: 0;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #fff;
  opacity: 0.6;
}
.s8-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 72px;
  padding: 10px 12px 10px 28px;
  border-radius: 333px;
  background: #ffe200;
  color: #0f172a;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -2px;
  line-height: 1;
}
.s8-cta-icon {
  position: relative;
  width: 36px;
  height: 36px;
  overflow: hidden;
}
.s8-cta-icon img {
  position: absolute;
  inset: 20.83% 33.33%;
  width: 33.34%;
  height: 58.34%;
}

#section8 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section8 [data-animate].in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  #section8 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   FOOTER — Figma stage 1920 × 480
   ============================================ */
#footer {
  background: #e5e8eb;
  min-height: 0;
}
#footer .design-stage { height: 480px; }

/* Logo (81 × 26, 작은 버전 — GNB 100×32 와 동일한 SVG 재사용) */
.footer-logo {
  position: absolute;
  top: 60px;
  left: 390px;
  display: block;
  width: 81px;
  height: 26px;
}
.footer-logo .logo-group {
  position: absolute;
  width: 78.848px;
  height: 24.044px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translate(0.05px, -0.44px);
}

/* 3 columns */
.footer-cols {
  position: absolute;
  top: 125px;
  left: 390px;
  width: 920px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.footer-col-1 { width: 307px; display: flex; flex-direction: column; gap: 24px; }
.footer-col-2 { width: 137px; }
.footer-col-3 { width: 316px; }

.footer-col-title {
  margin: 0 0 12px 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 20.16px;
  color: #333d4b;
}
.footer-col-2 .footer-col-title,
.footer-col-3 .footer-col-title {
  margin: 0 0 11.58px 0;
}
.footer-col-text {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.75;
  color: #6b7684;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-list li,
.footer-list a {
  font-weight: 500;
  font-size: 14px;
  line-height: 20.16px;
  color: #6b7684;
}

/* Social icons (48 × 48, 3개, gap 12 — Figma 좌표 left 0/60/120) */
.footer-social {
  position: absolute;
  top: 372px;
  left: 390px;
  display: flex;
  gap: 12px;
}
.footer-social-icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}
.footer-social-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ============================================
   MODAL 1 — 사장님 앱 다운로드
   ============================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s ease;
}
.modal-backdrop[hidden] { display: none; }
.modal-backdrop.is-open { opacity: 1; }
body.modal-open { overflow: hidden; }

.modal {
  position: relative;
  width: 600px;
  max-width: 100%;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(8px);
  transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-backdrop.is-open .modal { transform: translateY(0); }

/* Header (110 tall) */
.modal-header {
  position: relative;
  padding: 48px 48px 24px;
  display: flex;
  align-items: center;
  background: #fff;
}
.modal-title {
  margin: 0;
  flex: 1;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: #1a2128;
}
.modal-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 333px;
  background: #f2f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal-close-x {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
}
.modal-close-x img {
  position: absolute;
  inset: 20.83%;
  width: 58.34%;
  height: 58.34%;
  display: block;
}

/* Body (340 tall) */
.modal-body {
  padding: 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.modal-qr-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
}
.modal-qr {
  width: 156px;
  height: 156px;
  position: relative;
  overflow: hidden;
}
.modal-qr img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.modal-qr-text {
  margin: 0;
  width: 100%;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  color: #4e5968;
}

/* Store buttons (App Store + Google Play) */
.store-btns {
  display: flex;
  gap: 10.697px;
  align-items: center;
}
.store-btn {
  position: relative;
  width: 198.652px;
  height: 55.775px;
  background: #1a2128;
  border-radius: 290.206px;
  overflow: hidden;
  display: block;
}
/* App Store */
.store-icon-apple {
  position: absolute;
  inset: 23.45% 69.55% 25.85% 18.57%;
}
.store-icon-apple img { width: 100%; height: 100%; display: block; }

.store-text-small {
  position: absolute;
  inset: 24.13% 19.4% 62% 36.24%;
}
.store-text-small img { width: 100%; height: 100%; display: block; }

.store-text-big {
  position: absolute;
  inset: 46.87% 18.86% 18.53% 35.52%;
}
.store-text-big img { width: 100%; height: 100%; display: block; }

/* Google Play — Figma: -rotate-180 -scale-x-100 = scaleY(-1) (상하반전) */
.store-google-img {
  position: absolute;
  inset: 25.12% 16.4% 20.19% 16.67%;
  display: block;
  transform: scaleY(-1);
}
.store-google-img img { width: 100%; height: 100%; display: block; }

.modal-footer-spacer { height: 40px; }

/* ---------------- Modal2: POS 설치 ---------------- */
.modal2-body {
  padding: 48px 48px 24px;
  gap: 24px;
  align-items: center;
}
.pos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 316px;
  height: 72px;
  padding: 16px 16px 16px 28px;
  border-radius: 99.558px;
  white-space: nowrap;
}
.pos-btn-primary    { background: #1a2128; }
.pos-btn-secondary  { background: #f9fafb; }

.pos-btn-logo {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  position: relative;
}
.pos-btn-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos-btn-text {
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -1px;
  color: #fff;
}
.pos-btn-text-muted { color: #4e5968; }

/* Arrow icon — mask-based, rotated 180° (down arrow) */
.pos-btn-arrow {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  transform: rotate(180deg);
  -webkit-mask-image: url('./arrow-up-28.svg');
  mask-image: url('./arrow-up-28.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 28px 28px;
  mask-size: 28px 28px;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}
.pos-btn-arrow-light { background-color: #ffffff; }
.pos-btn-arrow-dark  { background-color: #4e5968; opacity: 0.6; }

.pos-note {
  margin: 0;
  width: 100%;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  color: #4e5968;
}

/* ---------------- Modal: 입점 신청 시작하기 ---------------- */
.modal-application-body {
  padding: 24px 48px;
  gap: 32px;
  align-items: flex-start;
}
.ma-desc {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #6b7684;
}
.ma-field-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.ma-label {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.44px;
  color: #0f172a;
}
.ma-field {
  width: 504px;
  max-width: 100%;
  height: 62px;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.ma-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.44px;
  color: #1a2128;
  padding: 10px 0;
}
.ma-field input::placeholder {
  color: #b0b8c1;
  opacity: 1;
}
.ma-field:focus-within {
  border-color: #1a2128;
}
.ma-error {
  margin: 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
  color: #ff0000;
}
.ma-error[hidden] { display: none; }
.ma-cta {
  width: 100%;
  height: 68px;
  min-height: 56px;
  padding: 2px 28px;
  border: 0;
  border-radius: 10px;
  background: #ffe200;
  color: #262630;
  font-weight: 700;
  font-size: 22px;
  cursor: pointer;
}
.ma-cta.is-loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: wait;
}
.ma-cta:hover { filter: brightness(0.95); }
.ma-cta-row { width: 100%; display: contents; }
.ma-call-cta { display: none; }

/* duplication state */
.ma-duplication {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}
.ma-duplication[hidden] { display: none; }
.ma-dup-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}
.ma-dup-info-icon { width: 24px; height: 24px; flex-shrink: 0; }
.ma-dup-info-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
}
.ma-dup-info-strong { font-weight: 600; color: #ff0000; }
.ma-dup-info-sub { font-weight: 400; color: #4e5968; }

.ma-dup-account {
  display: flex;
  gap: 8px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
  color: #0f172a;
  width: 100%;
}
.ma-dup-account-label { font-weight: 500; }
.ma-dup-account-value { font-weight: 600; flex: 1; }

.ma-dup-divider {
  height: 1px;
  width: 100%;
  background: #e5e8eb;
}

.ma-dup-cc { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.ma-dup-cc-title {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  color: #0f172a;
  line-height: 1.5;
}
.ma-dup-cc-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}
.ma-dup-cc-row {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 18px;
  line-height: 1.5;
  color: #4e5968;
}
.ma-dup-cc-key { font-weight: 400; min-width: 60px; }
.ma-dup-cc-val { font-weight: 500; }

/* ================================================================
   Application Page (application-step1.html)
   ================================================================ */
.app-page {
  margin: 0;
  background: #f9fafb;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px;        /* fixed GNB */
}

/* GNB: 기존 .gnb 그대로 사용, 로고에 '사장님' 태그만 추가 */
.gnb-app .gnb-inner {
  padding: 0 24px;
  box-sizing: border-box;
}
.logo-app {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-app .logo-group {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  flex-shrink: 0;
}
.logo-app-tag {
  font-weight: 700;
  font-size: 25.6px;
  line-height: 1;
  color: #262630;
  letter-spacing: -0.5px;
}

/* Main */
.app-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
}
.app-card {
  background: #ffffff;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;          /* Figma: Welcome Section children gap-[16px] */
}

.app-welcome {
  padding: 60px 20px 24px;
}
.app-welcome-title {
  margin: 0;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: -0.8px;
  color: #0f172a;
}

.app-tabs-wrap { padding: 8px 20px; }
.app-tabs {
  background: #f2f4f6;
  border-radius: 333px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}
.app-tab {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 333px;
  background: #f2f4f6;
  color: #8b95a1;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.36px;
}
.app-tab.is-active {
  background: #ffe200;
  color: #0f172a;
}
.app-tab-step {
  background: #ffffff;
  color: #0537c8;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.32px;
  border-radius: 333px;
  padding: 0 8px;
  height: 24px;
  display: inline-flex;
  align-items: center;
}
.app-tab-chev {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-form {
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  /* Figma Form Container gap: step1 = 32px, step2 = 40px */
}
.app-page-step1 .app-form { gap: 32px; }
.app-page-step2 .app-form { gap: 40px; }

/* 카드가 액션바까지 흰색으로 이어지고, 마지막 컨텐츠 아래로 60px + 액션바 높이만큼 스크롤 가능 */
.app-card {
  min-height: calc(100vh - 80px);
  padding-bottom: calc(92px + 60px);
  box-sizing: border-box;
}
.app-section {
  display: flex;
  flex-direction: column;
  gap: 20px;          /* Figma: Form Section gap-[20px] (title↔divider↔fields) */
  padding: 20px 0;    /* Figma: py-[20px] */
}
.app-section-title {
  margin: 0;
  padding: 0 20px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: #0f172a;
}
.app-section-divider {
  margin: 0 20px;     /* gap 처리는 .app-section gap이 담당 */
  height: 1px;
  background: #e5e8eb;
}

.app-row {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  align-items: flex-start;
}
/* Figma: Form Section Fields Container gap-[32px] (row↔row)
   부모(.app-section) gap-20 위에 12 추가 = 32 */
.app-row + .app-row { margin-top: 12px; }
.app-field {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-field-half { max-width: 410px; }

.app-label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.32px;
  color: #4e5968;
}
.app-input,
.app-select {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: #0f172a;
  box-sizing: border-box;
  outline: none;
}
.app-input::placeholder { color: #8b95a1; }
.app-input:focus,
.app-select:focus { border-color: #1a2128; }

.app-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.app-suffix-btn {
  height: 48px;
  min-width: 80px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.28px;
  color: #4e5968;
  cursor: pointer;
}
.app-suffix-btn:hover { background: #f9fafb; }

.app-help {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: #8b95a1;
}
.app-field-error {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: #ff0000;
}
.app-field-error[hidden] { display: none; }
.app-field.is-error .app-input,
.app-field.is-error .app-select { border-color: #ff0000; }

/* 중복확인 결과 메시지 (Figma Field Container_Confirm / Error) */
.app-field-dup-error {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: #ff0000;
}
.app-field-dup-error[hidden] { display: none; }
.app-field-confirm {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: #0059ff;
}
.app-field-confirm[hidden] { display: none; }

/* step2 — 한 줄 전체를 차지하는 필드 */
.app-field-full { flex: 1 0 100%; max-width: none; }
.app-label-optional { color: #8b95a1; font-weight: 500; margin-left: 4px; }

/* step2 — 주소 그룹 (input 들 세로 stack) */
.app-addr-input { margin-top: 12px; }
.app-addr-coord {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.app-addr-coord .app-input { flex: 1; }

/* step2 — 매장 업종 추가 선택 */
.app-cat-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

/* step2 — 체크박스 공통 */
.app-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 0;
}
.app-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 1.8px solid #e5e8eb;
  border-radius: 4.8px;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin: 0;
}
.app-checkbox:checked {
  background: #ffe200;
  border-color: #ffe200;
}
.app-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #0f172a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.app-checkbox-sm {
  width: 20px;
  height: 20px;
  border-width: 1.5px;
  border-radius: 4px;
}
.app-checkbox-sm:checked::after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-width: 0 1.6px 1.6px 0;
}
.app-checkbox-lg {
  width: 24px;
  height: 24px;
}
.app-checkbox-label {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.32px;
  color: #4e5968;
}
.app-checkbox-label-sm {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.28px;
  color: #6b7684;
}
.app-checkbox-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.app-checkbox-grid-4 .app-checkbox-row { flex: 1 0 0; min-width: 0; }
.app-checkbox-grid .app-checkbox-row { min-width: 194px; }

/* step2 — 약관 동의 */
.app-terms {
  margin-top: 20px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-terms-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.app-terms-all-label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.32px;
  color: #6b7684;
}
.app-terms-divider {
  height: 1px;
  background: #f2f4f6;
  width: 100%;
}
.app-terms-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.app-term-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  align-self: flex-start;
}
.app-term-row .app-checkbox {
  width: 20px;
  height: 20px;
  border-width: 1.5px;
  border-radius: 4px;
}
.app-term-row .app-checkbox:checked::after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-width: 0 1.6px 1.6px 0;
}
.app-term-label {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.28px;
  color: #6b7684;
}
.app-term-chev {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}
.app-terms.is-error .app-checkbox { border-color: #ff0000; }

/* SignatureSign (약관 전체 동의 시 노출) */
.app-signature-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 8px;
}
.app-signature-group[hidden] { display: none; }
.app-signature-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  width: 100%;
}
.app-signature-label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.32px;
  color: #4e5968;
}
.app-signature-pad {
  width: 100%;
  max-width: 420px;
}
.app-signature-pad canvas {
  width: 100%;
  height: 120px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  display: block;
  touch-action: none;
  cursor: crosshair;
}
.app-signature-clear {
  align-self: flex-start;
  min-height: 32px;
  min-width: 52px;
  padding: 2px 10px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.24px;
  color: #4e5968;
  cursor: pointer;
}
.app-signature-clear:hover { background: #f9fafb; }

/* ================================================================
   Application Success (application-success.html)
   ================================================================ */
.app-page-success { padding-bottom: 0; }
.app-main-success {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  background: #ffffff;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  box-sizing: border-box;
}
.app-success {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
  justify-content: center;
}
.app-success-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.app-success-mascot {
  width: 147.65px;
  height: 197.813px;
  object-fit: contain;
}
.app-success-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.app-success-title {
  margin: 0;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: -0.64px;
  color: #0f172a;
}
.app-success-sub {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: #4e5968;
}
.app-success-info {
  background: #f9fafb;
  border-radius: 8px;
  padding: 20px;
  width: 412px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-success-row {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 18px;
  line-height: 1.5;
  color: #4e5968;
}
.app-success-key { font-weight: 400; min-width: 48px; }
.app-success-val { font-weight: 500; }
.app-success-actions {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.app-success-btn {
  width: 200px;
  min-height: 56px;
  padding: 2px 28px;
  border-radius: 10px;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #262630;
  cursor: pointer;
  box-sizing: border-box;
}
.app-success-btn-secondary {
  background: #ffffff;
  border: 1px solid #eaeaea;
  font-weight: 600;
}
.app-success-btn-primary {
  background: #ffe200;
  border: 0;
  font-weight: 700;
}
.app-success-btn-primary:hover,
.app-success-btn-secondary:hover { filter: brightness(0.97); }


.app-file {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 2px 10px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.24px;
  color: #4e5968;
  cursor: pointer;
}
.app-file-btn:hover { background: #f9fafb; }
.app-file-name {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.24px;
  color: #8b95a1;
}

.app-select-wrap {
  position: relative;
}
.app-select {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  padding-right: 40px;
  cursor: pointer;
}
.app-select-chev {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: inline-flex;
}

/* 하단 스크롤 고정 Action Button Container */
.app-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-top: 1px solid #e5e8eb;
  z-index: 50;
  display: flex;
  justify-content: center;
}
.app-actions-inner {
  width: 100%;
  max-width: 920px;
  padding: 16px 40px 20px;
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}
.app-next-btn {
  width: 200px;
  min-height: 56px;
  padding: 2px 28px;
  background: #ffe200;
  color: #262630;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}
.app-next-btn:hover { filter: brightness(0.95); }

@media (max-width: 720px) {
  .app-row { flex-direction: column; }
  .gnb-app .gnb-menu { gap: 4px; }
  .gnb-app .gnb-link,
  .gnb-app .gnb-cta { padding: 0 8px; font-size: 14px; }
  .app-welcome-title { font-size: 28px; }
}

/* ================================================================
   Mobile (≤768px) — m_store
   ================================================================ */
/* 기본 상태: 모바일 전용 요소는 데스크탑에서 숨김 */
/* 사장님 텍스트 (Figma: Bold 25.6px) — 데스크탑/모바일 모두 노출 */
.logo-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 25.6px;
  line-height: 1;
  color: #262630;
  letter-spacing: -0.5px;
}
.gnb-hamburger { display: none; }
.m-hero { display: none; }
.m-section1 { display: none; }
.m-section2-1 { display: none; }
.m-section2-2 { display: none; }
.m-section2-3 { display: none; }
.m-section3 { display: none; }
.m-section4 { display: none; }
.m-section5 { display: none; }
.m-section6 { display: none; }
.m-section7 { display: none; }
.m-section8 { display: none; }
.m-footer { display: none; }
.m-gnb-menu { display: none; }
.ma-label-mobile { display: none; }
.m-app-steps-wrap { display: none; }
.m-only { display: none; }
.app-prev-btn { display: none; }

@media (max-width: 768px) {
  body { overflow-x: clip; }
  /* iOS Safari 입력 포커스 시 자동 확대 방지 (font-size ≥ 16px) */
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea {
    font-size: 16px;
  }

  /* ===== 모바일 스크롤 페이드인 ===== */
  .m-hero [data-animate],
  .m-section1 [data-animate],
  .m-section2-1 [data-animate],
  .m-section2-2 [data-animate],
  .m-section2-3 [data-animate],
  .m-section3 [data-animate],
  .m-section4 [data-animate],
  .m-section5 [data-animate],
  .m-section6 [data-animate],
  .m-section7 [data-animate],
  .m-section8 [data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 0.9s ease-out,
      transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .m-hero [data-animate].in-view,
  .m-section1 [data-animate].in-view,
  .m-section2-1 [data-animate].in-view,
  .m-section2-2 [data-animate].in-view,
  .m-section2-3 [data-animate].in-view,
  .m-section3 [data-animate].in-view,
  .m-section4 [data-animate].in-view,
  .m-section5 [data-animate].in-view,
  .m-section6 [data-animate].in-view,
  .m-section7 [data-animate].in-view,
  .m-section8 [data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
  }
  /* 카드 컨테이너 안 카드들: stagger */
  .m-s1-cards > .m-s1-card[data-animate]:nth-child(1),
  .m-s4-cards > .m-s4-card[data-animate]:nth-child(1),
  .m-s5-steps > .m-s5-step[data-animate]:nth-child(1),
  .m-s6-cards > .m-s6-card[data-animate]:nth-child(1),
  .m-s7-list > .m-s7-item[data-animate]:nth-child(1) { transition-delay: 0.06s; }
  .m-s1-cards > .m-s1-card[data-animate]:nth-child(2),
  .m-s4-cards > .m-s4-card[data-animate]:nth-child(2),
  .m-s5-steps > .m-s5-step[data-animate]:nth-child(2),
  .m-s6-cards > .m-s6-card[data-animate]:nth-child(2),
  .m-s7-list > .m-s7-item[data-animate]:nth-child(2) { transition-delay: 0.14s; }
  .m-s1-cards > .m-s1-card[data-animate]:nth-child(3),
  .m-s4-cards > .m-s4-card[data-animate]:nth-child(3),
  .m-s5-steps > .m-s5-step[data-animate]:nth-child(3),
  .m-s7-list > .m-s7-item[data-animate]:nth-child(3) { transition-delay: 0.22s; }
  .m-s1-cards > .m-s1-card[data-animate]:nth-child(4),
  .m-s4-cards > .m-s4-card[data-animate]:nth-child(4),
  .m-s5-steps > .m-s5-step[data-animate]:nth-child(4),
  .m-s7-list > .m-s7-item[data-animate]:nth-child(4) { transition-delay: 0.3s; }
  .m-s7-list > .m-s7-item[data-animate]:nth-child(5) { transition-delay: 0.38s; }

  /* prefers-reduced-motion 대응 */
  @media (prefers-reduced-motion: reduce) {
    .m-hero [data-animate],
    .m-section1 [data-animate],
    .m-section2-1 [data-animate],
    .m-section2-2 [data-animate],
    .m-section2-3 [data-animate],
    .m-section3 [data-animate],
    .m-section4 [data-animate],
    .m-section5 [data-animate],
    .m-section6 [data-animate],
    .m-section7 [data-animate],
    .m-section8 [data-animate] {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* ===== m_GNB (375×58, white) ===== */
  .gnb {
    height: 58px;
    background: #ffffff;
  }
  .gnb-inner {
    height: 58px;
    padding: 0 24px;
    box-sizing: border-box;
    max-width: none;
  }
  .gnb-menu { display: none; }

  /* 로고 옆 '사장님' 태그 */
  .logo { display: inline-flex; align-items: center; gap: 8px; width: auto; height: 20px; }
  .logo-group {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 60.84px;
    height: 18.552px;
    flex-shrink: 0;
  }
  .logo-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: #262630;
    letter-spacing: -0.3px;
  }

  /* 햄버거 메뉴 (Figma Menu 아이콘) — 시각 24×24, 터치 영역 48×48 */
  .gnb-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    margin: -12px;        /* 시각 위치는 24×24 그대로 유지 */
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
  }
  .gnb-hamburger svg { display: block; width: 24px; height: 24px; }
  .gnb-hamburger .gnb-hamburger-x { display: none; }
  body.is-menu-open .gnb-hamburger .gnb-hamburger-bars { display: none; }
  body.is-menu-open .gnb-hamburger .gnb-hamburger-x { display: block; }

  /* ===== GNB_list (햄버거 메뉴 열림 패널 — 컨텐츠만큼만 아래로 펼침) ===== */
  .m-gnb-menu {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 99;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  .m-gnb-menu[hidden] { display: none; }
  .m-gnb-item {
    height: 56px;
    padding: 0 24px;
    background: #ffffff;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: -0.32px;
    color: #0f172a;
    text-decoration: none;
    flex-shrink: 0;
  }

  /* ===== m_modal_application_default — 모바일 bottom sheet ===== */
  #modal-application.modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  #modal-application .modal {
    width: 100%;
    max-width: 100%;
    max-height: 80vh;     /* 최대 80vh까지만 — 컨텐츠가 적으면 그만큼만 차지 */
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    display: flex;
    flex-direction: column;
  }
  #modal-application.is-open .modal { transform: translateY(0); }
  /* Header: pt-16, 닫기 버튼만 노출 (제목은 별도 row로 이동) */
  #modal-application .modal-header {
    padding: 16px 20px 0;
    display: block;
    background: #ffffff;
    min-height: 37px;
  }
  /* 모바일에서 제목은 .ma-desc 위에 배치되도록 modal-body 안에 가상 카드로 이동 */
  #modal-application .modal-title {
    margin: 0;
    padding: 0 20px;
    font-weight: 700;
    font-size: 22px;
    line-height: normal;
    color: #000000;
  }
  /* 닫기 버튼: 24×24 라운드, top 13, right 12 */
  #modal-application .modal-close {
    position: absolute;
    top: 13px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f2f4f6;
  }
  #modal-application .modal-close-x {
    width: 16px;
    height: 16px;
  }

  /* Body: 패딩 제거 + 컨텐츠 크기로 시작, max-height 초과 시 내부 스크롤 */
  #modal-application .modal-body.modal-application-body {
    padding: 0;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;   /* 데스크탑 center 상속 차단 */
    background: #ffffff;
    flex: 0 1 auto;                /* 컨텐츠 크기 기준, max-height 도달 시만 shrink */
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #modal-application .modal-header { flex: 0 0 auto; }
  /* 제목 노출 위치 변경: header 아래 별도 row */
  #modal-application .modal-header { padding-bottom: 0; }
  /* 모바일에서 제목 row를 body 최상단으로 옮긴 효과: header가 닫기만 들고, title은 body 첫 줄로 보이게
     기존 마크업이라 CSS만으로 제목을 body 위로 옮길 수 없으므로 header를 column으로 두고 title을 위에 배치 */
  #modal-application .modal-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 0;
    position: relative;
  }
  #modal-application .modal-title { margin-top: 21px; }

  /* 설명 */
  #modal-application .ma-desc {
    margin: 0;
    padding: 16px 20px 20px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #6b7684;
  }
  /* 필드 그룹 */
  #modal-application .ma-field-group {
    padding: 12px 20px;
    gap: 8px;
  }
  #modal-application .ma-label { display: none; }
  #modal-application .ma-label-mobile {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: -0.32px;
    color: #0f172a;
  }
  #modal-application .ma-field {
    width: 100%;
    max-width: none;
    height: 48px;
    padding: 0 16px;
  }
  #modal-application .ma-field input {
    font-size: 16px;
    padding: 10px 0;
    letter-spacing: -0.32px;
  }
  #modal-application .ma-field input::placeholder {
    font-size: 16px;
    letter-spacing: -0.32px;
  }
  #modal-application .ma-error {
    font-size: 14px;
    line-height: 1.5;
  }

  /* 조회하기 CTA */
  #modal-application .ma-cta {
    margin: 24px 20px 20px;
    width: calc(100% - 40px);
    height: 56px;
    min-height: 56px;
    padding: 2px 28px;
    font-size: 18px;
    border-radius: 10px;
  }
  /* X 아이콘은 데스크탑과 동일한 inset 20.83%/58.34% 패턴 유지 (16×16 컨테이너 안에 9.33×9.33로 렌더링됨) */
  /* footer-spacer 비활성화 */
  #modal-application .modal-footer-spacer { display: none; }

  /* 중복(duplication) / 정보 박스 모바일 스타일 */
  #modal-application .ma-duplication {
    padding: 0 20px 16px;
    gap: 16px;
  }
  #modal-application .ma-dup-info {
    padding: 20px;
    gap: 10px;
    align-items: flex-start;
    background: #f9fafb;
    border-radius: 8px;
  }
  #modal-application .ma-dup-info-icon {
    width: 20px;
    height: 20px;
  }
  #modal-application .ma-dup-info-text {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.28px;
  }
  #modal-application .ma-dup-info-strong {
    font-weight: 600;
    color: #eb1701;
    font-size: 14px;
  }
  #modal-application .ma-dup-info-sub {
    font-weight: 400;
    color: #4e5968;
    font-size: 14px;
  }
  /* 등록된 아이디 — text-14, gap-8 */
  #modal-application .ma-dup-account {
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.28px;
    color: #0f172a;
  }
  #modal-application .ma-dup-account-label { font-weight: 500; }
  #modal-application .ma-dup-account-value { font-weight: 600; }
  /* divider */
  #modal-application .ma-dup-divider { background: #e5e8eb; }

  /* 고객센터 */
  #modal-application .ma-dup-cc { gap: 8px; }
  #modal-application .ma-dup-cc-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: -0.32px;
    color: #0f172a;
  }
  #modal-application .ma-dup-cc-box {
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    gap: 4px;
  }
  #modal-application .ma-dup-cc-row {
    font-size: 14px;
    line-height: 1.5;
    color: #4e5968;
    gap: 20px;
  }

  /* CTA row: dup 상태일 때 2개 버튼이 좌우 배치되도록 + 하단 sticky 고정 */
  #modal-application .ma-cta-row {
    display: flex;
    gap: 10px;
    padding: 16px 20px 20px;
    width: auto;
    position: sticky;
    bottom: 0;
    background: #ffffff;
    z-index: 2;
    box-shadow: 0 -8px 16px -8px rgba(0, 0, 0, 0.04);
  }
  /* 기본(non-dup) 상태에서는 단일 버튼만 노출 */
  #modal-application .ma-cta {
    margin: 0;
    width: 100%;
    flex: 1 0 0;
    height: 56px;
    min-height: 56px;
    padding: 2px 28px;
    font-size: 18px;
    border-radius: 10px;
  }
  /* dup 상태: 조회하기 → outline, 전화 연결하기 노출 */
  #modal-application.is-dup .ma-cta {
    background: #ffffff;
    border: 1px solid #eaeaea;
    color: #262630;
  }
  #modal-application.is-dup .ma-call-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 0;
    min-height: 56px;
    padding: 2px 28px;
    background: #ffe200;
    color: #262630;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
  }

  /* ===== m_hero (375×580) ===== */
  #hero {
    height: 580px !important;
    min-height: 580px !important;
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  /* 데스크탑 배경 / stage 비활성화 */
  #hero .hero-bg,
  #hero .hero-stage { display: none; }

  /* 모바일 hero 배경 + 컨텐츠 컨테이너 */
  .m-hero {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #ffffff;
  }
  /* Figma Rectangle 1037 image fill — h-full, left -86.2%, width 233.21% */
  .m-hero-bg {
    position: absolute;
    top: 0;
    height: 100%;
    left: -86.2%;
    width: 233.21%;
    max-width: none;
    display: block;
    pointer-events: none;
  }
  /* Image gradient: y=295, h=285 */
  .m-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 295px;
    height: 285px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.65) 100%
    );
    pointer-events: none;
  }

  .m-hero-heading {
    position: absolute;
    left: 22.72px;
    top: 327.85px;
    width: 247.03px;
    height: 78.46px;
    margin: 0;
    z-index: 2;
  }
  .m-hero-heading img {
    width: 100%;
    height: 100%;
    display: block;
  }
  .m-hero-sub {
    position: absolute;
    left: 20px;
    top: 422px;
    width: 335px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.3px;
    z-index: 2;
  }
  /* Button container (Figma 406:2068) — 108×34, pill, ffe200, gap 2, py-5 px-12 */
  .m-hero-cta {
    position: absolute;
    left: 20px;
    top: 490px;
    width: 108px;
    height: 34px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 5px 12px;
    background: #ffe200;
    color: #0f172a;
    border-radius: 333px;
    text-decoration: none;
    z-index: 2;
  }
  .m-hero-cta-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 13.198px;
    line-height: 1;
    letter-spacing: -0.9427px;
    text-align: center;
    color: #0f172a;
    white-space: nowrap;
  }
  .m-hero-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    overflow: hidden;
    flex-shrink: 0;
  }
  /* Figma vector inset 20.83% 33.33% — 16×16 컨테이너 안의 5.33×9.33 SVG 위치 */
  .m-hero-cta-icon img {
    display: block;
    width: 33.34%;
    height: 58.34%;
    margin: 20.83% 33.33%;
  }

  /* 데스크탑 섹션·푸터 모두 숨김 (m_* 모바일 섹션이 대체) */
  #section1,
  #section2,
  #section3,
  #section4,
  #section5,
  #section6,
  #section7,
  #section8,
  #footer { display: none !important; }

  /* ===== m_section1 (375 width, 카드 가로 스크롤) ===== */
  .m-section1 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 0;
    background: #ffffff;
  }
  .m-s1-title {
    margin: 0;
    padding: 0 24px;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #0f172a;
  }
  .m-s1-cards {
    display: flex;
    gap: 10px;
    padding: 0 24px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .m-s1-cards::-webkit-scrollbar { display: none; }

  .m-s1-card {
    position: relative;
    flex-shrink: 0;
    width: 256px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    background: #dfdfdf;
  }
  .m-s1-card-bg {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
  }
  .m-s1-card-img {
    position: absolute;
    top: 0;
    height: 100%;
    max-width: none;
    display: block;
    pointer-events: none;
  }
  /* Figma 카드별 image-fill 트랜스폼 */
  .m-s1-card-img[data-pos="card1"] { left: -54.85%; width: 246.09%; }
  .m-s1-card-img[data-pos="card2"] { left: -77.9%;  width: 246.09%; }
  .m-s1-card-img[data-pos="card3"] { left: -72.97%; width: 216.49%; }
  .m-s1-card-img[data-pos="card4"] { left: -65.01%; width: 221.83%; }

  /* Testimonial Background — 하단 다크 그라데이션 (mix-blend-multiply, w 275, h 148) */
  .m-s1-card-shade {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 275px;
    height: 148px;
    background: linear-gradient(
      0deg,
      #383838 20.544%,
      rgba(77, 76, 76, 0.5) 56.609%,
      rgba(116, 114, 114, 0) 92.633%
    );
    mix-blend-mode: multiply;
    pointer-events: none;
  }

  .m-s1-card-text {
    position: absolute;
    left: 20px;
    bottom: 28px;
    width: 199px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #ffffff;
    z-index: 2;
  }
  .m-s1-card-title {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: normal;
    letter-spacing: -0.4px;
  }
  .m-s1-card-sub {
    margin: 0;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.3px;
  }

  /* ===== m_Section2-1 ===== */
  .m-section2-1 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 24px;
    background: #ffffff;
  }
  .m-s2-title {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -1px;
    color: #1a2128;
  }
  .m-s2-title-line1 { color: #1a2128; }
  .m-s2-title-line2 { color: #0059ff; }

  .m-s2-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  .m-s2-image {
    width: 100%;
    aspect-ratio: 1112 / 1200;
    overflow: hidden;
    border-radius: 12px;
  }
  .m-s2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .m-s2-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .m-s2-text-title {
    margin: 0;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -0.44px;
    color: #1a2128;
  }
  .m-s2-text-desc {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.32px;
    color: #6b7684;
  }

  /* ===== m_Section2-2 (회색 배경, 헤더 없음) ===== */
  .m-section2-2 {
    display: flex;
    flex-direction: column;
    padding: 60px 24px;
    background: #f9fafb;
  }
  .m-section2-2 .m-s2-image {
    aspect-ratio: 327 / 352;
  }

  /* ===== m_Section2-3 (단골 만들기, 흰 배경, 헤더 없음) ===== */
  .m-section2-3 {
    display: flex;
    flex-direction: column;
    padding: 60px 24px;
    background: #ffffff;
  }
  .m-s2-3-image {
    aspect-ratio: auto;
    height: 352px;
    width: 100%;
  }

  /* ===== m_Section2-3 (가맹점 통계) ===== */
  .m-section3 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 0;
    background: #ffffff;
    align-items: center;
  }
  .m-s3-title {
    margin: 0;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #1a2128;
  }
  .m-s3-title-num { color: #0059ff; }

  .m-s3-sub {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .m-s3-note {
    margin: 0;
    width: 100%;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7684;
    text-align: right;
  }
  .m-s3-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .m-s3-card {
    position: relative;
    height: 148px;
    border-radius: 16px;
    background: #f9fafb;
    overflow: hidden;
  }
  .m-s3-card-text {
    position: absolute;
    left: 20px;
    top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
  }
  .m-s3-card-label {
    margin: 0;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -1px;
    color: #4e5968;
    white-space: nowrap;
  }
  .m-s3-card-value {
    margin: 0;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -2px;
    white-space: nowrap;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .m-s3-card[data-card="fee"] .m-s3-card-value {
    background-image: linear-gradient(141.848deg, #0f172a 24.991%, #ffa800 139.58%);
  }
  .m-s3-card[data-card="users"] .m-s3-card-value {
    background-image: linear-gradient(120.867deg, #0f172a 8.3069%, #7bd4fa 170.01%);
  }
  .m-s3-card[data-card="gmv"] .m-s3-card-value {
    background-image: linear-gradient(114.381deg, #0f172a 5.3561%, #f68062 169.33%);
  }
  .m-s3-card-img {
    position: absolute;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
  }
  .m-s3-card[data-card="fee"] .m-s3-card-img {
    width: 112px; height: 112px;
    right: -22.83px; bottom: -23px;
  }
  .m-s3-card[data-card="users"] .m-s3-card-img {
    width: 112px; height: 112px;
    right: -22.83px; bottom: -10px;
  }
  .m-s3-card[data-card="gmv"] .m-s3-card-img {
    width: 123px; height: 90px;
    right: -19px; bottom: -15px;
  }

  /* ===== m_Section4 (입점 혜택 카드 4개) ===== */
  .m-section4 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 24px;
    background: #ffffff;
    align-items: flex-start;
  }
  .m-s4-title {
    margin: 0;
    width: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #1a2128;
  }
  .m-s4-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .m-s4-card {
    position: relative;
    width: 100%;
    height: 248px;
    border-radius: 16px;
    background: #e2e2e2;
    overflow: hidden;
  }
  .m-s4-card-imgwrap {
    position: absolute;
    overflow: hidden;
  }
  .m-s4-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
  }

  /* card1: 이미지 aspect 327/334, top calc(50%+22px) translate-y -50% */
  .m-s4-card[data-card="c1"] .m-s4-card-imgwrap {
    left: 0; right: 0;
    aspect-ratio: 327 / 334;
    top: calc(50% + 22px);
    transform: translateY(-50%);
  }
  /* card1 extra inner shade (image 내부 추가 그라데이션) */
  .m-s4-card[data-card="c1"] .m-s4-card-imgshade {
    position: absolute;
    left: -8.5px;
    top: 298.35px;
    width: 576px;
    height: 214px;
    backdrop-filter: blur(5.65px);
    -webkit-backdrop-filter: blur(5.65px);
    background: linear-gradient(180deg, rgba(172,179,165,0) 0%, #8b8b8b 100%);
    pointer-events: none;
  }

  /* card2: aspect 328/544, top calc(50%-78px) translate-y -50% */
  .m-s4-card[data-card="c2"] .m-s4-card-imgwrap {
    left: 0; right: -1px;
    aspect-ratio: 328 / 544;
    top: calc(50% - 78px);
    transform: translateY(-50%);
  }

  /* card3: aspect 466/574, left -69 right -70, top calc(50%-57px) */
  .m-s4-card[data-card="c3"] .m-s4-card-imgwrap {
    left: -69px; right: -70px;
    aspect-ratio: 466 / 574;
    top: calc(50% - 57px);
    transform: translateY(-50%);
  }

  /* card4: aspect 327/327, top calc(50%+25.5px) */
  .m-s4-card[data-card="c4"] .m-s4-card-imgwrap {
    left: 0; right: 0;
    aspect-ratio: 327 / 327;
    top: calc(50% + 25.5px);
    transform: translateY(-50%);
  }

  /* 하단 컬러 틴트 그라데이션 (블러 분리) */
  .m-s4-card-shade {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    pointer-events: none;
  }
  .m-s4-card[data-card="c1"] .m-s4-card-shade {
    height: 92px;
    background: linear-gradient(180deg, rgba(172,179,165,0) 0%, #8b8b8b 100%);
  }
  .m-s4-card[data-card="c2"] .m-s4-card-shade {
    height: 76px;
    background: linear-gradient(180deg, rgba(208,215,111,0) 0%, #9ca33c 100%);
  }
  .m-s4-card[data-card="c3"] .m-s4-card-shade {
    height: 82px;
    background: linear-gradient(180deg, rgba(139,132,109,0) 0%, #8b846d 100%);
  }
  .m-s4-card[data-card="c4"] .m-s4-card-shade {
    height: 79px;
    background: linear-gradient(180deg, rgba(96,96,96,0) 0%, #606060 100%);
  }

  /* Progressive blur — 6 레이어 누적, 위에서 아래로 점진적으로 강해짐 */
  .m-s4-card-pblur {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    pointer-events: none;
  }
  .m-s4-card-pblur > div {
    position: absolute;
    inset: 0;
  }
  /* 각 레이어 blur = max / sqrt(6) ≈ max * 0.4082 — 누적 시 sqrt(sum-of-squares) ≈ max */
  .m-s4-card-pblur > div:nth-child(1) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16.67%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16.67%);
  }
  .m-s4-card-pblur > div:nth-child(2) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 16.67%, #000 33.33%);
    mask-image: linear-gradient(180deg, transparent 16.67%, #000 33.33%);
  }
  .m-s4-card-pblur > div:nth-child(3) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 33.33%, #000 50%);
    mask-image: linear-gradient(180deg, transparent 33.33%, #000 50%);
  }
  .m-s4-card-pblur > div:nth-child(4) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 50%, #000 66.67%);
    mask-image: linear-gradient(180deg, transparent 50%, #000 66.67%);
  }
  .m-s4-card-pblur > div:nth-child(5) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 66.67%, #000 83.33%);
    mask-image: linear-gradient(180deg, transparent 66.67%, #000 83.33%);
  }
  .m-s4-card-pblur > div:nth-child(6) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 83.33%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 83.33%, #000 100%);
  }

  /* 카드별 progressive blur 영역 높이 + 최대 강도 */
  .m-s4-card[data-card="c1"] .m-s4-card-pblur { height: 92px; --pb-max: 5.65px; }
  .m-s4-card[data-card="c2"] .m-s4-card-pblur { height: 76px; --pb-max: 7.85px; }
  .m-s4-card[data-card="c3"] .m-s4-card-pblur { height: 82px; --pb-max: 5.65px; }
  .m-s4-card[data-card="c4"] .m-s4-card-pblur { height: 79px; --pb-max: 7.2px; }

  .m-s4-card-title {
    position: absolute;
    left: 20px;
    bottom: 20px;
    margin: 0;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -0.66px;
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    z-index: 2;
  }

  .m-s4-card-plus {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    border-radius: 333px;
    background: rgba(0, 0, 0, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 2;
  }
  .m-s4-card-plus svg {
    opacity: 0.8;
    width: 12px;
    height: 12px;
    transition: transform 0.25s ease;
  }

  /* Card open state — 어두운 오버레이 + 설명 + X 버튼 */
  .m-s4-card { cursor: pointer; }
  .m-s4-card-dim {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }
  .m-s4-card-desc {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: calc(100% - 40px);
    max-width: 287px;
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -1px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 2;
  }
  .m-s4-card.is-open .m-s4-card-dim { opacity: 1; }
  .m-s4-card.is-open .m-s4-card-desc { opacity: 1; }
  .m-s4-card.is-open .m-s4-card-title { opacity: 0; }
  .m-s4-card.is-open .m-s4-card-plus svg { transform: rotate(45deg); }
  .m-s4-card.is-open .m-s4-card-pblur,
  .m-s4-card.is-open .m-s4-card-shade { opacity: 0; }
  .m-s4-card-title { transition: opacity 0.25s ease; }
  .m-s4-card-pblur, .m-s4-card-shade { transition: opacity 0.25s ease; }

  /* ===== m_Section5 (입점 과정 STEP) ===== */
  .m-section5 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 24px;
    background: #f9fafb;
    align-items: flex-start;
  }
  .m-s5-title {
    margin: 0;
    width: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #1a2128;
  }
  .m-s5-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .m-s5-step {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 20px 40px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .m-s5-step-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 96px;
  }
  .m-s5-step-num {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -1px;
    color: #0537c8;
  }
  .m-s5-step-label {
    margin: 0;
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -1px;
    color: #0f172a;
  }
  .m-s5-step-icon {
    width: 68px;
    height: 68px;
    object-fit: cover;
    flex-shrink: 0;
  }

  /* CTA 다크 pill 버튼 (h-48, bg #1a2128, gap-4, pl-28 pr-12) */
  .m-s5-cta-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .m-s5-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 48px;
    padding: 10px 12px 10px 28px;
    background: #1a2128;
    border-radius: 333px;
    text-decoration: none;
    box-sizing: border-box;
  }
  .m-s5-cta-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #ffffff;
    white-space: nowrap;
  }
  .m-s5-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .m-s5-cta-icon img {
    display: block;
    width: 33.34%;
    height: 58.34%;
    margin: 20.83% 33.33%;
  }

  /* ===== m_Section6 (관리 툴 다운로드) ===== */
  .m-section6 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 24px;
    background: #ffffff;
    align-items: flex-start;
  }
  .m-s6-title {
    margin: 0;
    width: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #1a2128;
  }
  .m-s6-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .m-s6-card {
    position: relative;
    width: 100%;
    background: #f9fafb;
    border-radius: 24px;
    overflow: hidden;
  }
  .m-s6-card[data-card="app"] { height: 422px; }
  .m-s6-card[data-card="pos"] { height: 381px; }

  .m-s6-card-text {
    position: absolute;
    left: 20px;
    top: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
    white-space: nowrap;
  }
  .m-s6-card-title {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -0.4px;
    color: #1a2128;
  }
  .m-s6-card-desc {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.42px;
    color: #4e5968;
  }

  .m-s6-card-btn {
    position: absolute;
    left: 20px;
    top: 141px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 333px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: -0.28px;
    color: #ffffff;
    box-sizing: border-box;
    z-index: 2;
  }
  .m-s6-card-btn-active {
    background: #1a2128;
    padding: 10px 8px 10px 20px;
  }
  .m-s6-card-btn-disabled {
    background: #d0d0d0;
    padding: 10px 20px;
    cursor: default;
  }
  .m-s6-card-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .m-s6-card-btn-icon img {
    display: block;
    width: 33.34%;
    height: 58.34%;
    margin: 20.83% 33.33%;
  }

  /* App 카드: 폰 이미지 + 하단 그라데이션 */
  .m-s6-card-img-phone {
    position: absolute;
    right: 18px;
    bottom: -70px;
    width: 154px;
    height: 312px;
    object-fit: cover;
    pointer-events: none;
  }
  .m-s6-card-fade {
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 82px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background: linear-gradient(180deg, rgba(249, 250, 251, 0) 14.634%, rgba(249, 250, 251, 0.9) 81.707%);
    pointer-events: none;
  }

  /* POS 카드: 모니터 이미지 (Figma overflow-hidden + 내부 절대 좌표) */
  .m-s6-card-img-monitor-wrap {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 206px;
    height: 142px;
    overflow: hidden;
    pointer-events: none;
  }
  .m-s6-card-img-monitor {
    position: absolute;
    left: -11.95%;
    top: -29.65%;
    width: 123.89%;
    height: 179.95%;
    max-width: none;
    object-fit: cover;
  }

  /* ===== m_Section7 (자주 묻는 질문) ===== */
  .m-section7 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 24px;
    background: #f9fafb;
    align-items: flex-start;
  }
  .m-s7-title {
    margin: 0;
    width: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #1a2128;
  }
  .m-s7-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .m-s7-item {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
  }
  .m-s7-q {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    background: #f2f4f6;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-sizing: border-box;
    text-align: left;
    font-family: inherit;
  }
  .m-s7-q-icon img { transition: transform 0.2s ease; }
  .m-s7-item.is-open .m-s7-q-icon img { transform: rotate(45deg); }
  .m-s7-a {
    background: #ffffff;
    padding: 16px;
    display: none;
  }
  .m-s7-item.is-open .m-s7-a { display: block; }
  .m-s7-a p {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.28px;
    color: #6b7684;
  }
  .m-s7-q-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #1a2128;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-s7-q-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-s7-q-icon img {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* ===== m_Section8 (CTA 배너) ===== */
  .m-section8 {
    display: block;
    position: relative;
    width: 100%;
    height: 330px;
    background: #f9fafb;
    overflow: hidden;
  }
  .m-s8-bg {
    position: absolute;
    width: 874px;
    height: 330px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
  }
  .m-s8-bg img {
    position: absolute;
    top: 0.04%;
    left: 0.01%;
    width: 115.92%;
    height: 144.67%;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
  }
  .m-s8-bg-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
  }
  .m-s8-content {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    z-index: 2;
  }
  .m-s8-title {
    margin: 0;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -2px;
    color: #ffffff;
    text-align: center;
  }
  .m-s8-sub {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.48px;
    color: #ffffff;
    opacity: 0.6;
    text-align: center;
  }
  .m-s8-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 48px;
    padding: 10px 12px 10px 28px;
    background: #ffe200;
    border-radius: 333px;
    text-decoration: none;
    box-sizing: border-box;
  }
  .m-s8-cta-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #0f172a;
    white-space: nowrap;
  }
  .m-s8-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .m-s8-cta-icon img {
    display: block;
    width: 33.34%;
    height: 58.34%;
    margin: 20.83% 33.33%;
  }

  /* ===== m_Footer ===== */
  .m-footer {
    display: block;
    background: #e5e8eb;
    padding: 60px 24px;
  }
  .m-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }
  /* 로고 사이즈 (81x26) — m_Footer 전용 */
  .m-footer-logo {
    position: relative;
    width: 81px;
    height: 26px;
    display: block;
    flex-shrink: 0;
    overflow: hidden;
  }
  .m-footer-logo .logo-group {
    position: absolute;
    width: 78.848px;
    height: 24.044px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translate(0.05px, -0.44px);
  }
  .m-footer-logo .logo-piece { position: absolute; display: block; }
  .m-footer-logo .logo-piece img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    max-width: none;
  }

  .m-footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }
  .m-footer-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  /* 약관/문의 섹션은 gap-12 */
  .m-footer-section:not(:first-of-type) { gap: 12px; }
  .m-footer-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .m-footer-h {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    line-height: 20.16px;
    color: #333d4b;
  }
  .m-footer-p {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.75;
    color: #6b7684;
  }
  .m-footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .m-footer-list li {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7684;
    white-space: nowrap;
  }
  .m-footer-list-tight li { line-height: 20.16px; }

  .m-footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .m-footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
  }
  .m-footer-social img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ===== m_page_application_step1 — 모바일 입점 신청 STEP 01 ===== */
  /* body 상단 padding: 모바일 GNB 58 (데스크탑 80 → 모바일 58) */
  .app-page { padding-top: 58px; }

  /* Welcome 헤딩: 22px Bold, line 1.5, tracking -0.44, 2줄 */
  .app-welcome { padding: 20px; }
  .app-welcome-title {
    font-size: 22px !important;
    line-height: 1.5;
    letter-spacing: -0.44px;
  }

  /* 데스크탑 STEP 탭을 모바일 사이즈로 (32h, 14px) — 1-2 원형 인디케이터는 더 이상 사용 안 함 */
  .m-app-steps-wrap { display: none; }
  .app-tabs-wrap { display: block; padding: 8px 20px; box-sizing: border-box; }
  .app-tab {
    height: 32px;
    padding: 0 16px;
    gap: 0;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.28px;
  }
  .app-tab.is-active { font-weight: 700; }
  /* STEP 01 pill 숨김 (모바일에선 라벨만 노출) */
  .app-tab .app-tab-step { display: none; }
  .app-tab-chev svg { width: 20px; height: 20px; }

  /* 카드 컨테이너: 풀너비, 좌우 padding 제거 */
  .app-main { max-width: none; }
  .app-card {
    padding: 0;
    gap: 0;
    min-height: 0;
    padding-bottom: 0;
  }

  /* form gap 제거 — 섹션 사이는 오로지 8px 분리바로만 */
  .app-form { gap: 0 !important; }
  /* 섹션: py-20, gap-20 (title↔fields), 사이에 8px #f9fafb 분리바 */
  .app-section {
    padding: 20px 0 !important;
    gap: 20px !important;
    background: #ffffff;
  }
  .app-section + .app-section {
    border-top: 8px solid #f9fafb;
  }
  /* 섹션 제목 18px Bold */
  .app-section-title {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.36px;
    padding: 0 20px;
  }
  /* 섹션 hairline divider 숨김 */
  .app-section-divider { display: none; }

  /* 폼 필드 그룹: gap-32 */
  /* row→row 간격: flex gap 20 + margin 12 = 32 (Figma 사양) */
  .app-fields,
  .app-section > .app-row + .app-row { margin-top: 12px !important; }

  /* row: 단일 컬럼, padding 0 */
  .app-row {
    flex-direction: column;
    padding: 0 !important;
    gap: 32px !important;
  }
  /* field 자체에 좌우 padding 20 → 인풋이 자연스럽게 100% (overflow 없음) */
  .app-field {
    width: 100%;
    gap: 8px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  /* 라벨/help/에러는 field padding 위에 4px 추가 → 총 24px inset */
  .app-label,
  .app-field-error,
  .app-field-dup-error,
  .app-field-confirm,
  .app-help { padding: 0 4px; }

  /* 인풋/select/wrap은 margin 0, width 100%로 자연스럽게 채워짐 */
  .app-input,
  .app-select { margin: 0; box-sizing: border-box; }
  .app-input-row,
  .app-file,
  .app-select-wrap { margin: 0; width: 100%; }

  /* 중복확인 버튼 80x48 */
  .app-suffix-btn { width: 80px; height: 48px; flex-shrink: 0; }

  /* 파일 업로드 — field padding 사용, 추가 padding 없음 */
  .app-file { padding: 0; }
  .app-file-btn {
    min-height: 32px;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 12px;
    letter-spacing: -0.24px;
    gap: 6px;
  }

  /* 모바일 전용 필드 노출 */
  .m-only { display: flex !important; }

  /* 하단 액션 바 (모바일: 스크롤 고정 해제, 컨텐츠 흐름에 자연스럽게 위치) */
  .app-actions {
    position: static;
    height: auto;
    padding: 16px 20px 20px;
    background: #ffffff;
    border-top: 0;
  }
  .app-actions-inner {
    padding: 0;
    width: 100%;
    max-width: none;
    justify-content: stretch;
  }
  .app-next-btn {
    width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 2px 28px;
    background: #ffe200;
    color: #262630;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
  }

  /* ===== m_page_application_success — 모바일 입점 완료 ===== */
  .app-page-success { padding-top: 58px; }
  .app-main-success {
    min-height: calc(100vh - 58px);
    padding: 20px 0 116px;
    align-items: center;
    justify-content: center;
  }
  .app-success { gap: 20px; }
  .app-success-head { gap: 20px; }
  .app-success-mascot {
    width: 127px;
    height: 170.146px;
  }
  .app-success-text { gap: 8px; }
  .app-success-title {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: -0.48px;
  }
  .app-success-sub {
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.3px;
  }
  /* 정보 박스 — 풀너비 (px-28) */
  .app-success-info {
    width: auto;
    margin: 0 28px;
    padding: 20px;
    gap: 8px;
  }
  .app-success-row {
    font-size: 15px;
    line-height: 1.5;
    gap: 20px;
  }
  /* 하단 액션 버튼: 좌(추가 신청) outline / 우(홈으로 이동) 노랑, 동등 분할 풀너비 */
  .app-success-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    gap: 10px;
    background: #ffffff;
    z-index: 50;
  }
  .app-success-btn {
    width: auto;
    flex: 1 0 0;
    height: 56px;
  }
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 10050;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: calc(100% - 40px);
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
  animation: appToastIn 0.22s ease-out;
}

.app-toast.is-success {
  background: #111827;
}

.app-toast.is-error {
  background: #dc2626;
}

.app-toast.is-info {
  background: #2563eb;
}

.app-toast[hidden] {
  display: none;
}

@keyframes appToastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.app-address-modal {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(5px);
}

.app-address-modal[hidden] {
  display: none;
}

.app-address-panel {
  width: min(560px, 100%);
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  animation: appAddressModalIn 0.2s ease-out;
}

.app-address-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #eef2f7;
}

.app-address-title {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-address-desc {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.app-address-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 22px;
  line-height: 36px;
  cursor: pointer;
}

.app-address-close:hover {
  background: #e5e7eb;
}

.app-address-body {
  height: 470px;
  padding: 10px;
  background: #f8fafc;
  box-sizing: border-box;
}

#sp_zip_wrap {
  width: 100%;
  height: 100% !important;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  box-sizing: border-box;
}

@keyframes appAddressModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .app-address-modal {
    align-items: flex-end;
    padding: 0;
  }

  .app-address-panel {
    width: 100%;
    border-radius: 22px 22px 0 0;
  }

  .app-address-body {
    height: min(470px, calc(100vh - 112px));
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }
}

.app-term-panel {
  max-width: 720px;
}

.app-term-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.app-term-content {
  color: #333d4b;
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.app-term-content p {
  margin: 0 0 12px;
}

@media (max-width: 768px) {
  #app-term-modal.app-address-modal {
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  #app-term-modal .app-term-panel {
    width: 100%;
    max-height: calc(100vh - 32px);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
  }

  #app-term-modal .app-term-body {
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100vh - 132px);
  }

  .app-term-content {
    font-size: 14px;
    line-height: 1.7;
  }
}