/* ============================================================
   웰니스 코쿤 : 슬림온 V1 — Landing Page
   Tokens are mirrored from the Figma design system (Color / Spacing / Radius collections).
   ============================================================ */

/* ---------- @font-face self-host ---------- */
@font-face { font-family: 'Noto Sans KR'; font-weight: 400; font-style: normal; font-display: swap; src: url('public/fonts/noto-sans-kr-400.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans KR'; font-weight: 500; font-style: normal; font-display: swap; src: url('public/fonts/noto-sans-kr-500.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans KR'; font-weight: 700; font-style: normal; font-display: swap; src: url('public/fonts/noto-sans-kr-700.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans KR'; font-weight: 900; font-style: normal; font-display: swap; src: url('public/fonts/noto-sans-kr-900.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('public/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('public/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('public/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('public/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 900; font-style: normal; font-display: swap; src: url('public/fonts/inter-900.woff2') format('woff2'); }

/* ---------- design tokens ---------- */
:root {
  /* === Figma 원본 토큰 그대로 (Primitives + Color collection) === */
  /* purple ramp */
  --purple-50:  #f4f0fa;
  --purple-100: #e5dcf2;
  --purple-200: #cbb7e3;
  --purple-300: #b09bd1;
  --purple-400: #9b82c5;
  --purple-500: #8668ba;
  --purple-600: #6f51a3;
  --purple-700: #5b3d92;
  --purple-800: #432c6c;
  --purple-900: #2a1c45;
  /* neutrals (Figma Primitives) */
  --white:      #ffffff;
  --offwhite:   #fcfcfe;
  --gray-100:   #eef0f5;
  --gray-200:   #dde0e8;
  --gray-300:   #c4c4c4;
  --gray-400:   #999999;
  --gray-500:   #757575;
  --gray-600:   #666666;
  --gray-700:   #4a4a4a;
  --gray-800:   #2b2b2b;
  --gray-900:   #141414;
  --black:      #000000;
  --yellow:     #fee034;
  /* semantic (Figma Color) */
  --bg-page:        #ffffff;
  --bg-section:     #fcfcfe;
  --bg-muted:       #f4f5fa;
  --bg-brand:       #8668ba;
  --text-primary:   #141414;
  --text-secondary: #666666;
  --text-muted:     #999999;
  --text-on-brand:  #ffffff;
  --border-soft:    #eef0f5;
  --border-strong:  #999999;
  --accent-default: #8668ba;
  --accent-deep:    #5b3d92;
  --accent-soft:    #e5dcf2;
  /* spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;
  /* radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --r-pill: 9999px;
  /* layout */
  --max-w: 1140px;
  --gutter: 24px;

  /* CM — elevation system (warm shadow, premium feel) */
  --shadow-1: 0 1px 2px rgba(80, 60, 30, 0.04), 0 1px 3px rgba(80, 60, 30, 0.03);
  --shadow-2: 0 4px 8px -2px rgba(80, 60, 30, 0.06), 0 2px 4px -1px rgba(80, 60, 30, 0.04);
  --shadow-3: 0 12px 24px -6px rgba(80, 60, 30, 0.10), 0 4px 8px -2px rgba(80, 60, 30, 0.05);
  --shadow-4: 0 24px 48px -12px rgba(80, 60, 30, 0.16), 0 8px 16px -4px rgba(80, 60, 30, 0.08);
  --shadow-purple: 0 12px 32px -8px rgba(91, 63, 187, 0.25);

  /* IX — motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.18s;
  --dur-base: 0.28s;
  --dur-slow: 0.5s;

  /* TY — display ramp (PD16 시니어 친화 upscale) */
  --fs-display: clamp(56px, 9vw, 108px);
  --fs-h1: clamp(36px, 4.5vw, 50px);
  --fs-h2: clamp(28px, 3.5vw, 36px);
  --fs-h3: clamp(20px, 2.4vw, 26px);
  --fs-eyebrow: 14px;
  --fs-body: 17px;
  --fs-body-sm: 15px;
  --fs-caption: 14px;
  --ls-eyebrow: 0.12em;
  --ls-display: -0.04em;
  --ls-h: -0.025em;
  --ls-body: -0.005em;
}

/* prefers-reduced-motion 존중 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: var(--fs-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea, button { font: inherit; }
strong { font-weight: 700; }
sup { font-size: 0.55em; vertical-align: super; line-height: 0; }

/* DS06 — keyboard a11y. mouse focus는 제거하되 keyboard focus는 항상 visible */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

.accent { color: var(--accent-deep); }

/* yellow highlight (text background) — viewport 진입 시 좌→우 draw */
.hl-yellow {
  background-image: linear-gradient(transparent 60%, rgba(254, 224, 52, 0.7) 60%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  padding: 0 2px;
  transition: background-size 0.9s var(--ease-out);
}
.hl-yellow.is-drawn { background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) {
  .hl-yellow { background-size: 100% 100%; transition: none; }
}

/* === 공용 불릿 리스트 (PD16 Tired User · TY05 hierarchy · TY07 white space) === */
.bullets {
  list-style: none;
  padding: 0;
  margin: var(--sp-8) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.bullets--center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-primary);
  font-weight: 500;
}
.bullets li::before {
  content: '∙';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--accent-default);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}
.bullets li strong {
  display: inline-block;
  position: relative;
  padding: 2px 12px;
  margin: 0 2px;
  color: var(--accent-deep);
  font-weight: 700;
  border-radius: 4px;
  background-image: linear-gradient(var(--gray-900), var(--gray-900));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size 0.7s var(--ease-out);
  white-space: nowrap;
  vertical-align: baseline;
}
.bullets li strong.is-drawn {
  background-size: 100% 100%;
  color: var(--white);                    /* 박스 fill 시작과 동시에 즉시 흰색 */
}
@media (prefers-reduced-motion: reduce) {
  .bullets li strong {
    background-size: 100% 100%;
    color: var(--white);
    transition: none;
  }
}

/* ---------- page layout ---------- */
.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-8) var(--gutter) var(--sp-20);
  display: flex;
  flex-direction: column;
  gap: 0;                    /* 1페이퍼: 섹션 간 gap 제거, 섹션 자체 padding 으로 호흡 */
}
.sec {
  background: transparent;   /* 1페이퍼: 카드 제거 */
  border-radius: 0;
  box-shadow: none;
  padding: var(--sp-16) var(--sp-6);
  position: relative;
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-slow) var(--ease-out);
  /* EX — scroll reveal initial state */
  opacity: 0;
  transform: translateY(28px);
}
.sec.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Intro 만 카드 유지 (다니엘 헤니 사진 = 카드 컴포지션) */
.sec--intro {
  background: var(--bg-section);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  padding: 0;                /* intro 내부 grid 가 자체 padding 처리 */
  margin: var(--sp-6) 0;
  transition: box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              opacity var(--dur-slow) var(--ease-out);
}
.sec--intro:hover { box-shadow: var(--shadow-3); }
.sec__inner { display: flex; gap: var(--sp-10); }

/* ============================================================
   01 HERO
   ============================================================ */
.sec--hero { padding: var(--sp-12) var(--sp-10); }
.sec--hero .sec__inner { align-items: stretch; gap: var(--sp-10); }
.hero__left { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; }
.hero__right { flex: 1.1; position: relative; display: flex; flex-direction: column; }
.hero__eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.hero__title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: var(--sp-3);
  flex-wrap: nowrap;
}
.hero__wordmark {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.hero__wordmark--brand { height: clamp(48px, 8vw, 96px); }
.hero__wordmark--v1    { height: clamp(40px, 7vw, 84px); }
.hero__tag {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  color: var(--text-secondary);
  margin-top: auto;
  text-transform: uppercase;
}
.hero__top-label {
  align-self: flex-end;
  font-size: 16px;
  color: var(--text-primary);
}
.hero__top-label strong { color: var(--accent-deep); font-weight: 700; }
.hero__divider {
  align-self: flex-end;
  width: 280px;
  margin: var(--sp-3) 0 var(--sp-8);
  border: 0;
  border-top: 1px solid var(--border-strong);
}
.hero__device {
  max-width: 520px;
  margin-left: auto;
  margin-top: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(80, 60, 30, 0.10)) drop-shadow(0 8px 16px rgba(91, 63, 187, 0.08));
  transition: transform var(--dur-slow) var(--ease-out);
}
.sec--hero:hover .hero__device {
  transform: translateY(-4px);
}

/* ============================================================
   02 INTRO
   ============================================================ */
.sec--intro {
  padding: 0;
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 0;
  min-height: 600px;
}
.intro__photo {
  position: relative;
  overflow: hidden;
  border-top-left-radius: var(--r-xl);
  border-bottom-left-radius: var(--r-xl);
  background: var(--gray-100);
}
.intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.intro__content {
  padding: var(--sp-12) var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.intro__eyebrow { color: var(--text-secondary); font-size: 16px; }
.intro__brand { display: flex; align-items: center; margin-bottom: var(--sp-4); }
.intro__brand-logo {
  width: auto;
  height: clamp(48px, 6vw, 72px);
  object-fit: contain;
  display: block;
}
.intro__body { font-size: 17px; color: var(--text-secondary); line-height: 1.85; max-width: 56ch; }  /* TY04 */
.intro__body--lead { color: var(--text-primary); font-size: 19px; line-height: 1.7; }
.intro__body--lead strong { color: var(--text-primary); }

/* ============================================================
   03 CATEGORY
   ============================================================ */
.cat__header { text-align: center; margin-bottom: var(--sp-10); }
.cat__eyebrow { color: var(--text-secondary); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.cat__title-pill {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: var(--fs-h3);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--accent-default);
  margin-top: var(--sp-4);
  box-shadow: 0 4px 16px -4px rgba(91, 63, 187, 0.15);
}
.cat__row { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--sp-6); }
.cat__card {
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.cat__card-title {
  display: inline-block;
  background: var(--bg-section);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--sp-6);
}
.cat__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.cat__item {
  background: var(--bg-section);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.cat__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.cat__item img { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.cat__item-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  white-space: nowrap;       /* 데스크탑/태블릿 그리드 폭에선 한 줄 유지 */
  line-height: 1.35;
}
.cat__item-sub { color: var(--text-secondary); font-size: 13px; margin-top: 4px; line-height: 1.5; }

.cat__card--right { display: flex; flex-direction: column; gap: var(--sp-4); }
.cat__card--right .cat__card-title { margin-bottom: var(--sp-3); }
.client {
  background: var(--bg-section);
  border-radius: var(--r-md);
  display: flex;
  overflow: hidden;
  flex: 1;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.client:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.client__img { width: 48%; height: 100%; min-height: 130px; object-fit: cover; }
.client__text { padding: var(--sp-4); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.client__eyebrow {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.client__name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.client__meta { font-weight: 500; font-size: 13px; }

/* ============================================================
   04 CORE POINTS
   ============================================================ */
.core__title { text-align: center; font-size: var(--fs-h2); letter-spacing: var(--ls-h); margin-bottom: var(--sp-10); }
.core__diagram {
  position: relative;
  width: 100%;
  max-width: 880px;
  aspect-ratio: 2 / 1;        /* 880x440 */
  margin: 0 auto;
  /* dashed hexagon outline as SVG bg. hexagon viewBox 360x312 → container 의 41% width 가운데 */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 312'><polygon points='90,0 270,0 360,156 270,312 90,312 0,156' fill='none' stroke='%236f51a3' stroke-width='2' stroke-dasharray='6 6' stroke-opacity='0.9'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 41% auto;
}
.core__center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 26%;          /* container 880 기준 약 229px */
  max-width: 240px;
  text-align: center;
  z-index: 3;
}
.core__center img { width: 100%; object-fit: contain; }
.core__center-label { font-weight: 500; font-size: 14px; margin-top: 4px; }
.core__benefit {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  z-index: 4;
}
.core__benefit img { width: 48px; height: 48px; object-fit: contain; }
/* 6각형 꼭짓점 pulse 포인트 원 — sonar ripple */
.core__dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-default);
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(134, 104, 186, 0.18);
}
.core__dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--accent-default);
  animation: core-pulse 2.2s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes core-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}
/* hexagon vertices in container 880x440 (background-size 41% = ~360x ~312 centered)
   horizontal offset = (100-41)/2 = 29.55%
   vertical offset   = ~14.55% (312/440=70.9%, (100-70.9)/2=14.55)
   vertices % (x = 29.55 + (vx/360)*41, y = 14.55 + (vy/312)*70.9): */
.core__dot--1 { top: 14.55%; left: 39.8%; }    /* top-left  (90,0)   */
.core__dot--2 { top: 14.55%; left: 60.2%; }    /* top-right (270,0)  */
.core__dot--3 { top: 50%;    left: 70.45%; }   /* right     (360,156)*/
.core__dot--4 { top: 85.45%; left: 60.2%; }    /* btm-right (270,312)*/
.core__dot--5 { top: 85.45%; left: 39.8%; }    /* btm-left  (90,312) */
.core__dot--6 { top: 50%;    left: 29.55%; }   /* left      (0,156)  */
.core__dot--1::after { animation-delay: 0s;    }
.core__dot--2::after { animation-delay: 0.35s; }
.core__dot--3::after { animation-delay: 0.7s;  }
.core__dot--4::after { animation-delay: 1.05s; }
.core__dot--5::after { animation-delay: 1.4s;  }
.core__dot--6::after { animation-delay: 1.75s; }

/* benefit labels surround the hexagon — container 880x440 안의 좌우 외곽에 배치.
   hex 좌측 vertex 가 29.55%·우측 70.45% 이므로 label 은 0~26% / 74~100% 영역. */
.core__benefit--tl {
  top: 10%; left: 0; width: 26%;
  justify-content: flex-end; padding-right: 4px;
}
.core__benefit--tr {
  top: 10%; right: 0; width: 26%;
  justify-content: flex-end; flex-direction: row-reverse; padding-left: 4px;
}
.core__benefit--ml {
  top: 50%; left: 0; width: 24%;
  transform: translateY(-50%);
  justify-content: flex-end; padding-right: 4px;
}
.core__benefit--mr {
  top: 50%; right: 0; width: 24%;
  transform: translateY(-50%);
  justify-content: flex-end; flex-direction: row-reverse; padding-left: 4px;
}
.core__benefit--bl {
  bottom: 10%; left: 0; width: 26%;
  justify-content: flex-end; padding-right: 4px;
}
.core__benefit--br {
  bottom: 10%; right: 0; width: 26%;
  justify-content: flex-end; flex-direction: row-reverse; padding-left: 4px;
}

/* ============================================================
   05 COMPARE
   ============================================================ */
.cmp__title { text-align: center; font-size: var(--fs-h2); letter-spacing: var(--ls-h); margin-bottom: var(--sp-10); line-height: 1.35; }
.cmp__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-6);
  align-items: stretch;
}
.cmp__card {
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.cmp__card--cocoon { box-shadow: var(--shadow-purple); }
.cmp__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.cmp__card--cocoon:hover { box-shadow: 0 16px 36px -8px rgba(91, 63, 187, 0.30); }
.cmp__label {
  background: var(--bg-section);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  align-self: flex-start;
}
.cmp__label--purple { background: var(--accent-soft); color: var(--accent-deep); }
.cmp__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;          /* video 도 block 으로 (img reset 미적용) */
  background: var(--bg-muted);  /* poster 로드 전 짧은 깜빡임 방지 */
}
.cmp__list { display: flex; flex-direction: column; gap: var(--sp-4); }
.cmp__list li { display: flex; gap: var(--sp-3); font-size: 16px; line-height: 1.75; }
.cmp__check { color: var(--text-muted); font-weight: 700; flex-shrink: 0; }
.cmp__check--purple { color: var(--accent-deep); }
.cmp__vs {
  align-self: center;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: var(--text-on-brand);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  width: 56px; height: 56px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-purple);
  letter-spacing: 0.04em;
}

/* ============================================================
   06 MECHANISM
   ============================================================ */
.mech__header { text-align: left; margin-bottom: var(--sp-8); }
.mech__eyebrow { color: var(--text-secondary); font-weight: 600; font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.mech__title { font-size: var(--fs-h2); letter-spacing: var(--ls-h); margin: var(--sp-2) 0; }
.mech__sub { color: var(--text-secondary); font-weight: 500; font-size: 15px; }
.mech__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-8); align-items: stretch; }
.mech__col {
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.mech__col--left {
  background: transparent;
  border: none;
  padding: var(--sp-3) 0;
  display: flex;
  align-items: center;
}
.mech__col--right { background: var(--accent-soft); border: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.mech__col--center { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); }
.mech__col--center img { width: 100%; object-fit: contain; max-height: 320px; }
.mech__col--center .mech__bullets { width: 100%; margin-top: var(--sp-2); }
.mech__col-title { font-weight: 700; font-size: 16px; text-align: center; }
.mech__bullets { margin: 0; width: 100%; gap: var(--sp-5); }
.mech__bullets li { font-size: 15px; line-height: 1.6; }

.care-card {
  background: var(--bg-section);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  padding-right: 92px;             /* 우측 아이콘 자리 확보 */
  position: relative;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.care-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-2);
}
.care-card__num { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; color: var(--accent-deep); }
.care-card__icon {
  position: absolute;
  top: 50%;
  right: var(--sp-5);
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.care-card__title { font-weight: 700; font-size: 15px; margin-top: var(--sp-2); }
.care-card__body { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-top: 4px; }

/* ============================================================
   07 RESULTS
   ============================================================ */
.res__title { text-align: center; font-size: var(--fs-h2); letter-spacing: var(--ls-h); }
.res__sub { color: var(--text-secondary); font-weight: 500; font-size: 15px; margin: var(--sp-4) 0 var(--sp-8); text-align: center; }
/* 위쪽 사진 2단 + 아래쪽 메트릭 3단 */
.res__row { display: flex; flex-direction: column; gap: var(--sp-8); }
.res__people { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }

.person {
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: visible;       /* badge가 카드 위로 살짝 튀어나오도록 */
  margin-top: 16px;        /* badge 튀어나올 만큼 위쪽 여백 */
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  position: relative;
}
.person:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
/* badge가 카드 위로 튀어나올 수 있게 photos는 overflow visible */
.person__photos {
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}
.person__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
.person__photo { position: relative; margin: 0; aspect-ratio: 7/8; overflow: hidden; border-radius: var(--r-sm); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.person__photo-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--text-primary);
  color: var(--text-on-brand);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}
.person__photo-label--after { background: var(--accent-deep); }
.person__badge {
  position: absolute;
  top: -16px;             /* 카드 외부 위로 — 사진 안 가림 */
  right: 16px;
  z-index: 3;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: var(--text-on-brand);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-purple);
  transition: transform var(--dur-base) var(--ease-out);
}
.person:hover .person__badge {
  transform: translateY(-2px) rotate(-2deg);
}
.person__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-section);
  padding: var(--sp-4);
  margin: var(--sp-3);
  border-radius: var(--r-md);
}
.person__stats > div { display: flex; flex-direction: column; gap: 4px; }
.person__stat-label { color: var(--text-secondary); font-weight: 500; font-size: 14px; }
.person__stat-value { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 20px; color: var(--accent-deep); }

.res__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.metric {
  background: var(--bg-section);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.metric:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.metric__label { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: var(--sp-2); color: var(--accent-deep); }
.metric__check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-deep); color: #fff; font-weight: 900; font-size: 13px; line-height: 1; }
.metric__compare { display: grid; grid-template-columns: 1fr 72px; align-items: center; gap: var(--sp-3); margin-top: var(--sp-3); }
.metric__bars { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.metric__bar-row { display: grid; grid-template-columns: 50px 1fr 36px; align-items: center; gap: var(--sp-2); }
.metric__bar-label { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
.metric__bar {
  position: relative;
  height: 22px;
  background: transparent;
  border-radius: 4px;
  overflow: visible;
  min-width: 0;
}
.metric__bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  min-width: 4px;
}
.metric__bar i[data-fill] {
  width: 0%;                                 /* JS 가 viewport 진입 시 data-fill % 로 transition */
  transition: width 1.3s var(--ease-out);
}
.metric__bar--before i { background: #c8c8d0; }
.metric__bar--after i { background: var(--accent-deep); }
.metric__bar-num {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  text-align: right;
}
.metric__delta { text-align: center; flex-shrink: 0; }
.metric__delta span { display: block; font-family: 'Inter', sans-serif; font-weight: 900; font-size: 24px; color: var(--accent-deep); letter-spacing: -0.02em; line-height: 1.1; }
.metric__delta small { font-weight: 700; font-size: 13px; color: var(--accent-deep); }

.res__note { color: var(--text-muted); font-size: 14px; margin-top: var(--sp-6); }

/* ============================================================
   08 AUTOSALES
   ============================================================ */
.auto__title { text-align: center; font-size: var(--fs-h2); letter-spacing: var(--ls-h); margin-bottom: var(--sp-8); }
.auto__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: var(--sp-4);
  align-items: stretch;
}
.auto__card {
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--sp-2);
  min-height: 240px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.auto__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.auto__card:hover .auto__circle {
  transform: scale(1.06);
}
.auto__circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  transition: transform var(--dur-base) var(--ease-out);
}
.auto__circle img { width: 40px; height: 40px; object-fit: contain; }
.auto__sub { color: var(--text-secondary); font-weight: 500; font-size: 14px; }
.auto__lead { font-weight: 700; font-size: 17px; }
.auto__photo { overflow: hidden; border-radius: var(--r-lg); }
.auto__photo img { width: 100%; height: 100%; object-fit: cover; }
/* .auto__body 폐기 — .bullets 로 대체 */

/* ============================================================
   09 SPEC + PRICING
   ============================================================ */
/* === Spec Hero (Image #16 style) === */
.spec__hero {
  margin: 0 auto;
  max-width: 720px;
  padding: var(--sp-12) var(--sp-16) var(--sp-12);
}
.spec__hero-photo {
  position: relative;
  padding: 60px 80px 80px;
}
.spec__hero-img-wrap {
  position: relative;
  width: 100%;
}
.spec__hero-img-wrap img {
  display: block;
  width: 100%;
  object-fit: contain;
}
.spec__hero-label {
  text-align: center;
  margin-top: var(--sp-8);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: var(--ls-h);
  color: var(--text-primary);
}

/* dimension annotations — thin line + end dots + text */
.spec__anno {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  white-space: nowrap;
  z-index: 2;
}
.spec__anno-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.spec__anno-line {
  height: 1px;
  background: var(--text-muted);
  opacity: 0.35;
  flex-grow: 1;
  min-width: 24px;
}
.spec__anno-text {
  padding: 0 8px;
  background: var(--bg-section);
}

/* D — top (horizontal full width) */
.spec__anno--d {
  top: 24px;
  left: 60px;
  right: 60px;
  justify-content: space-between;
}
.spec__anno--d .spec__anno-text { color: var(--text-secondary); font-weight: 600; }

/* H — left (vertical) */
.spec__anno--h {
  left: 16px;
  top: 60px;
  bottom: 60px;
  flex-direction: column;
  width: 28px;
}
.spec__anno--h .spec__anno-line {
  width: 1px;
  height: auto;
  min-width: 0;          /* override 부모 min-width:24 */
  min-height: 32px;
  flex-grow: 1;
}
.spec__anno--h .spec__anno-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 8px 0;
  color: var(--text-secondary);
  font-weight: 600;
}

/* W — 우측 가운데 (수직 중앙) — kg와 분리 */
.spec__anno--w {
  top: 50%;
  right: 16px;
  bottom: auto;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--text-secondary);
}

/* 중량 — 하단 가운데 (W와 분리, H 좌측 라인과도 분리) */
.spec__anno--kg {
  bottom: 18px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
}

/* 구매자 브랜드 로고 부착 pin — BRAND 로고 위치 (가로 62% / 세로 43%) */
.spec__pin {
  position: absolute;
  top: 43%;
  left: 62%;
  z-index: 3;
  width: 0;
  height: 0;
}
.spec__pin-circle {
  position: absolute;
  top: -18px; left: -18px;
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent-default);
  border-radius: 50%;
  background: transparent;
  animation: pin-pulse 2s var(--ease-out) infinite;
}
.spec__pin-line {
  position: absolute;
  top: 0; left: 18px;
  width: 72px; height: 1px;
  background: var(--accent-default);
  transform-origin: left center;
  transform: rotate(-38deg);
}
.spec__pin-label {
  position: absolute;
  top: -78px; left: 80px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  white-space: nowrap;
}
.spec__pin-label strong {
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 15px;
  align-self: flex-start;
}
.spec__pin-label sup { color: var(--accent-deep); }
.spec__pin-label span:not(strong) {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  padding-left: 8px;
}
@keyframes pin-pulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(134, 104, 186, 0.35); }
  50% { transform: scale(1.08); opacity: 1; box-shadow: 0 0 0 8px rgba(134, 104, 186, 0); }
}

/* === Spec 하단 (variants 가로 — white + black) === */
.spec__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border-soft);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.spec__variant {
  margin: 0;
  text-align: center;
}
.spec__variant img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  transition: transform var(--dur-base) var(--ease-out);
}
.spec__variant:hover img { transform: translateY(-4px); }
.spec__variant figcaption {
  font-weight: 700;
  font-size: 15px;
  margin-top: var(--sp-3);
  color: var(--text-primary);
}

/* === 가격 (세로 가운데 정렬, 카드 없이 흐름에 자연스럽게) === */
.spec__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: var(--sp-10);
  padding: 0;
  background: transparent;
  border: none;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.spec__price-row { display: flex; align-items: baseline; gap: var(--sp-3); justify-content: center; }
.spec__price-label { color: var(--text-secondary); font-weight: 500; font-size: 15px; }
.spec__price-strike { color: var(--text-muted); font-family: 'Inter', sans-serif; font-weight: 700; font-size: 22px; }
.spec__price-arrow { color: var(--text-secondary); font-weight: 700; font-size: 16px; margin-top: var(--sp-4); }
.spec__price-big {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 30px;
  color: var(--accent-deep);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: var(--sp-2);
}
.spec__ribbon {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #7e5ad8 0%, #5b3fbb 50%, #3e2580 100%);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  padding: 18px 32px;
  border-radius: var(--r-md);
  margin-top: var(--sp-4);
  box-shadow:
    0 10px 28px -8px rgba(91, 63, 187, 0.55),
    0 4px 12px -2px rgba(62, 37, 128, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: ribbon-pulse 2.4s ease-in-out infinite;
}
.spec__ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: ribbon-shine 3.2s ease-in-out infinite;
}
@keyframes ribbon-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 10px 28px -8px rgba(91, 63, 187, 0.55),
      0 4px 12px -2px rgba(62, 37, 128, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
  50% {
    transform: scale(1.04);
    box-shadow:
      0 14px 34px -6px rgba(91, 63, 187, 0.75),
      0 6px 16px -2px rgba(62, 37, 128, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
}
@keyframes ribbon-shine {
  0%   { left: -100%; }
  60%  { left: 140%; }
  100% { left: 140%; }
}
@media (prefers-reduced-motion: reduce) {
  .spec__ribbon { animation: none; }
  .spec__ribbon::before { display: none; }
}
.spec__price-note { color: var(--text-muted); font-size: 14px; margin-top: var(--sp-4); }

/* .spec__body 폐기 — .bullets.spec__bullets 로 대체 */
.spec__bullets { margin-top: var(--sp-10); }

/* ============================================================
   10 CONTACT
   ============================================================ */
.contact__header { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5); margin-bottom: var(--sp-10); }
.contact__title { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 56px; letter-spacing: -0.04em; }
.contact__intro { display: flex; flex-direction: column; gap: var(--sp-4); max-width: 640px; }
.contact__logo {
  width: auto;
  height: clamp(44px, 5vw, 64px);
  align-self: flex-start;
  object-fit: contain;
  display: block;
}
.contact__pill { align-self: flex-start; background: var(--accent-soft); color: var(--accent-deep); padding: 8px 12px; border-radius: var(--r-sm); font-weight: 700; font-size: 14px; }
.contact__sub { color: var(--text-secondary); font-size: 15px; line-height: 1.75; }

.contact__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-10); align-items: start; }
.contact__form { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
.field { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: var(--sp-4); }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea {
  background: var(--bg-section);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  width: 100%;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.field input:hover, .field select:hover, .field textarea:hover {
  border-color: var(--accent-default);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 4px rgba(91, 63, 187, 0.08);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 6l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}
.field--full { grid-template-columns: 130px 1fr; }
.field textarea { resize: vertical; min-height: 96px; }
.contact__agree {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 146px;
}
.contact__agree a { color: var(--accent-deep); }
.contact__submit {
  margin-left: 146px;
  background: var(--accent-deep);
  color: var(--text-on-brand);
  border: none;
  border-radius: var(--r-sm);
  padding: 16px var(--sp-6);
  font-weight: 700;
  font-size: 16px;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-purple);
}
.contact__submit:hover {
  background: var(--purple-800);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(91, 63, 187, 0.35);
}
.contact__submit:active {
  transform: translateY(0);
  box-shadow: var(--shadow-2);
}
.contact__photo img { width: 100%; max-width: 400px; object-fit: contain; }
.contact__notes { margin-top: var(--sp-8); }
.contact__notes p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ============================================================
   STICKY QUICK BAR + FLOATING DETAIL BUTTON + PRIVACY MODAL
   ⚠️ 모바일 스타일은 이 블록 내부의 자체 @media 로 격리 — 기존 RESPONSIVE 미디어쿼리 에 절대 침범 X
   ============================================================ */
:root { --qbar-h: 68px; }
body { padding-bottom: var(--qbar-h); }   /* 하단 sticky bar 자리 확보 */

.qbar {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--purple-600);
  box-shadow: 0 -6px 18px -4px rgba(80, 60, 30, 0.18);    /* 위쪽으로 그림자 */
  height: var(--qbar-h);
  display: flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-5);
}
.qbar__form {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: nowrap;
}
.qbar__field {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: var(--r-md);
  flex: 1 1 0;
  min-width: 0;
}
.qbar__field--name { max-width: 160px; }
.qbar__field--phone { max-width: 220px; }
.qbar__field--region { max-width: 180px; }
.qbar__field input, .qbar__field select {
  width: 100%;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0 var(--sp-4);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: var(--ls-body);
  border-radius: var(--r-md);
}
.qbar__field input::placeholder { color: var(--text-muted); font-weight: 400; }
.qbar__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%235b3d92' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.qbar__field input:focus-visible,
.qbar__field select:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.qbar__agree {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
}
.qbar__agree input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 2px solid var(--white);
  border-radius: 4px;
  background: transparent;
  margin: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out);
}
.qbar__agree input[type="checkbox"]:checked { background: var(--white); }
.qbar__agree input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 0;
  width: 5px; height: 10px;
  border: solid var(--purple-700);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.qbar__agree-more {
  background: none;
  border: 0;
  padding: 0;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.qbar__agree-more:hover { color: var(--yellow); }
.qbar__submit {
  flex-shrink: 0;
  height: 44px;
  padding: 0 var(--sp-6);
  background: var(--white);
  color: var(--purple-700);
  border: 0;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.qbar__submit:hover {
  background: var(--yellow);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.qbar__submit:active { transform: translateY(0); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Honeypot — 사람에게 안 보이고 봇만 채우는 함정 input */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Floating "상세 문의" */
.qfab {
  position: fixed;
  right: 24px;
  bottom: calc(var(--qbar-h) + 16px);    /* 하단 sticky bar 바로 위 */
  top: auto;
  transform: none;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  background: var(--purple-600);
  color: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-purple), var(--shadow-3);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-base) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  animation: qfab-pulse 2.6s var(--ease-in-out) infinite;
}
.qfab:hover {
  background: var(--purple-700);
  transform: scale(1.05);
}
.qfab.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
}
.qfab__text { display: inline-block; }
@keyframes qfab-pulse {
  0%, 100% { box-shadow: var(--shadow-purple), var(--shadow-3); }
  50% { box-shadow: 0 12px 32px -4px rgba(91, 63, 187, 0.45), var(--shadow-3); }
}
@media (prefers-reduced-motion: reduce) {
  .qfab { animation: none; }
}

/* Privacy modal */
.qmodal {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}
.qmodal[hidden] { display: none; }
.qmodal__backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 20, 30, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: qmodal-fade var(--dur-base) var(--ease-out);
}
.qmodal__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: qmodal-rise var(--dur-base) var(--ease-out);
}
@keyframes qmodal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qmodal-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.qmodal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--border-soft);
}
.qmodal__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.qmodal__close {
  width: 36px; height: 36px;
  border: 0;
  background: var(--gray-100);
  border-radius: var(--r-pill);
  font-size: 22px;
  line-height: 1;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out);
}
.qmodal__close:hover { background: var(--gray-200); }
.qmodal__body {
  padding: var(--sp-5) var(--sp-6);
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.qmodal__body strong { color: var(--text-primary); }
.qmodal__note {
  margin-top: var(--sp-3);
  font-size: 12px;
  color: var(--text-muted);
}
.qmodal__foot {
  padding: var(--sp-4) var(--sp-6) var(--sp-5);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: flex-end;
}
.qmodal__ok {
  height: 40px;
  padding: 0 var(--sp-6);
  background: var(--purple-600);
  color: var(--white);
  border: 0;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  transition: background var(--dur-fast) var(--ease-out);
}
.qmodal__ok:hover { background: var(--purple-700); }

/* Lightbox */
.lbox {
  position: fixed; inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}
.lbox[hidden] { display: none; }
.lbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.82);
  border: 0;
  cursor: zoom-out;
  animation: qmodal-fade var(--dur-base) var(--ease-out);
}
.lbox__img {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-4);
  animation: qmodal-rise var(--dur-base) var(--ease-out);
}
/* 인물 사진 확대 — 썸네일과 동일한 트리밍 유지 (얼굴 위쪽 컷) */
.lbox--person .lbox__img {
  width: min(560px, 88vw);
  height: min(700px, 84vh);
  max-width: 88vw;
  max-height: 84vh;
  object-fit: cover;
  object-position: center 78%;
}
.lbox__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border: 0;
  background: var(--white);
  border-radius: var(--r-pill);
  font-size: 24px;
  line-height: 1;
  color: var(--text-primary);
  cursor: pointer;
}
.lbox__close:hover { background: var(--yellow); }

/* Zoomable thumbnails — cursor + slight hover hint */
.is-zoomable { cursor: zoom-in; transition: transform var(--dur-fast) var(--ease-out); }
.is-zoomable:hover { transform: scale(1.02); }

/* anchor jump 시 sticky qbar 에 가리지 않도록 */
.sec { scroll-margin-top: calc(var(--qbar-h) + 16px); }

/* ⚠️ 격리된 모바일 미디어쿼리 — sticky bar/FAB 모바일 전용. 다른 sec 에 영향 X */
@media (max-width: 720px) {
  :root { --qbar-h: 132px; }
  .qbar { padding: var(--sp-2) var(--sp-3); }
  .qbar__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "name phone"
      "region region"
      "agree submit";
    gap: 6px;
    align-items: center;
  }
  .qbar__field { max-width: none !important; }
  .qbar__field--name { grid-area: name; }
  .qbar__field--phone { grid-area: phone; }
  .qbar__field--region { grid-area: region; }
  .qbar__field input, .qbar__field select { height: 36px; font-size: 13px; padding: 0 var(--sp-3); }
  .qbar__agree { grid-area: agree; font-size: 11px; gap: 4px; }
  .qbar__agree input[type="checkbox"] { width: 14px; height: 14px; }
  .qbar__agree-more { font-size: 11px; }
  .qbar__submit { grid-area: submit; height: 36px; padding: 0 var(--sp-4); font-size: 13px; }
  .qfab {
    width: 64px; height: 64px;
    right: 12px;
    bottom: calc(var(--qbar-h) + 12px);
    font-size: 15px;
    border-radius: 16px;
  }
  .qfab:hover { transform: scale(1.05); }
  .qfab.is-hidden { transform: translateX(16px); }
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  :root { --gutter: 16px; }
  .sec { padding: var(--sp-8) var(--sp-6); }
  .hero__title { font-size: 72px; }
  .hero__eyebrow { font-size: 24px; }
  .cat__row { grid-template-columns: 1fr; }
  .mech__row { grid-template-columns: 1fr; }
  .res__metrics { grid-template-columns: repeat(3, 1fr); }
  .spec__bottom { grid-template-columns: 1fr 1fr; }
  .spec__pin-label { left: 72px; }
  .auto__row { grid-template-columns: 1fr 1fr; }
  .auto__photo { grid-column: 1 / -1; }
  /* core diagram은 데스크탑 % 좌표 그대로 유지. tablet 폭에서도 자동 스케일 */
  .core__benefit img { width: 40px; height: 40px; }
  .core__benefit { font-size: 14px; gap: var(--sp-2); }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 720px) {
  :root { --gutter: 12px; --max-w: 100%; }
  .page { padding: var(--sp-4) var(--gutter) var(--sp-10); gap: var(--sp-4); }
  .sec { padding: var(--sp-6) var(--sp-5); border-radius: var(--r-lg); }

  /* Hero */
  .sec--hero { padding: var(--sp-8) var(--sp-4); }
  .sec--hero .sec__inner { flex-direction: column; gap: var(--sp-6); }
  /* 데스크탑 좌우 분할용 min-height/space-between 가 모바일 column 에선 빈 공간 만듦 → reset */
  .hero__left { min-height: 0; justify-content: flex-start; gap: var(--sp-4); }
  .hero__title { font-size: 56px; margin-top: var(--sp-2); flex-wrap: wrap; gap: 12px; }
  .hero__wordmark--brand { height: 40px; }   /* 504×91 비율 → 너비 ~221px */
  .hero__wordmark--v1    { height: 32px; }   /* 94×65 비율 → 너비 ~46px */
  .hero__tag { margin-top: 0; }
  .hero__eyebrow { font-size: 20px; }
  .hero__top-label { align-self: flex-start; font-size: 15px; }
  .hero__divider { align-self: flex-start; width: 180px; }
  .hero__device { max-width: 100%; }

  /* Intro */
  .sec--intro { grid-template-columns: 1fr; }
  .intro__photo { aspect-ratio: 4/3; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .intro__content { padding: var(--sp-6) var(--sp-5); }
  .intro__brand-name { font-size: 40px; }

  /* Category */
  .cat__list { grid-template-columns: 1fr; }

  /* Core Points — 모바일에서도 육각형 유지 (요청 사항) */
  .core__title { font-size: 20px; }
  .core__diagram {
    /* 데스크탑 % 좌표(880×440) 그대로, 폭만 100%로 자동 스케일 */
    aspect-ratio: 880 / 480;
    background-size: 38% auto;
  }
  .core__center {
    width: 32%;
  }
  .core__center img { width: 100%; }
  .core__center-label { font-size: 10px; line-height: 1.2; }
  .core__benefit {
    flex-direction: column !important;
    gap: 2px !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    width: 28% !important;
    text-align: center;
  }
  .core__benefit img { width: 32px; height: 32px; }
  .core__benefit span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    letter-spacing: -0.02em;
  }
  .core__benefit--tl { top: 4%; left: 1%; }
  .core__benefit--tr { top: 4%; right: 1%; }
  .core__benefit--ml { top: 50%; left: 0; }
  .core__benefit--mr { top: 50%; right: 0; }
  .core__benefit--bl { bottom: 4%; left: 1%; }
  .core__benefit--br { bottom: 4%; right: 1%; }
  .core__dot { width: 8px; height: 8px; }

  /* Compare — 모바일에서도 가로 배치 유지 (요청 사항) */
  .cmp__title { font-size: 20px; }
  .cmp__row { grid-template-columns: 1fr auto 1fr; gap: var(--sp-2); }
  .cmp__card { padding: var(--sp-3); gap: var(--sp-2); border-radius: var(--r-md); }
  .cmp__label { font-size: 12px; padding: 4px 8px; }
  .cmp__img { height: 110px; }
  .cmp__list li { font-size: 12px; line-height: 1.5; gap: 4px; }
  .cmp__list { gap: var(--sp-2); }
  .cmp__vs {
    width: 36px; height: 36px;
    font-size: 12px;
    align-self: center;
  }

  /* Mechanism */
  .mech__title { font-size: 22px; }
  .mech__row { grid-template-columns: 1fr; }

  /* Results */
  .res__title { font-size: 20px; }
  .res__people { grid-template-columns: 1fr; }
  .res__metrics { grid-template-columns: 1fr; }
  .person__photos { grid-template-columns: 1fr 1fr; }
  .person__badge { top: auto; bottom: 8px; right: 8px; font-size: 14px; padding: 5px 9px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
  .person:hover .person__badge { transform: none; }

  /* AutoSales */
  .auto__title { font-size: 20px; }
  .auto__row { grid-template-columns: 1fr 1fr; }
  .auto__photo { grid-column: 1 / -1; min-height: 180px; }

  /* Spec */
  .spec__devices { grid-template-columns: 1fr; }
  .spec__variants { flex-direction: row; }
  .spec__bottom { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .spec__variant img { max-height: 130px; }
  .spec__price-big { font-size: 26px; }
  .spec__ribbon { font-size: 18px; padding: 14px 24px; }
  .spec__dim { display: none; }
  .spec__custom { right: 8px; }
  /* Spec hero 모바일 — annotation line/dot 숨기고 텍스트만 외곽 4면에 깔끔히 + pin 라벨 축소 */
  .spec__hero { padding: var(--sp-8) var(--sp-3) var(--sp-6); max-width: 100%; }
  .spec__hero-photo { padding: 32px 24px 60px; }   /* 좌우 padding 절충 (12 너무 크고 32 너무 작아 → 24) */
  .spec__anno { font-size: 12px; gap: 0; }
  .spec__anno-dot, .spec__anno-line { display: none; }
  .spec__anno-text { padding: 2px 6px; background: rgba(255,255,255,0.92); border-radius: 4px; }
  /* D — 상단 가운데 */
  .spec__anno--d { top: 4px; left: 0; right: 0; justify-content: center; }
  /* H — 좌측 세로 가운데 */
  .spec__anno--h {
    left: 0; top: 50%; bottom: auto;
    transform: translateY(-50%);
    width: auto; height: auto; flex-direction: column;
  }
  .spec__anno--h .spec__anno-text { padding: 0; }
  /* W — 우측 가운데 */
  .spec__anno--w {
    right: 0; top: 50%; bottom: auto;
    transform: translateY(-50%);
  }
  /* 중량 — 하단 가운데 (기기와 분리) */
  .spec__anno--kg {
    bottom: 10px; left: 50%; right: auto;
    transform: translateX(-50%);
    font-size: 12px;
  }
  /* pin 라벨 축소 */
  .spec__pin-line { width: 48px; }
  .spec__pin-label { top: -54px; left: 56px; }
  .spec__pin-label strong { font-size: 11px; padding: 2px 6px; }
  .spec__pin-label span:not(strong) { font-size: 11px; padding-left: 4px; }
  .spec__pin-circle { width: 28px; height: 28px; top: -14px; left: -14px; }

  /* Contact */
  .contact__header { flex-direction: column; align-items: flex-start; }
  .contact__title { font-size: 36px; }
  .contact__row { grid-template-columns: 1fr; }
  .field { grid-template-columns: 1fr; gap: var(--sp-2); }
  .field--full { grid-template-columns: 1fr; }
  .contact__agree, .contact__submit { margin-left: 0; }
  .contact__photo { display: none; }
}
