/* ==========================================================================
   피부관리 루틴(skincareroutine.philosworld.com) 공통 스타일 — v3 리디자인
   컨셉: "PQ10 라인 데일리 리추얼 저널" — 40~60대 여성 타겟, 선명한 컬러감 + 프리미엄 톤
   무드: 하이엔드/프리미엄/모던/미니멀/에디토리얼

   [v3 — 사용자 직접 지시 반영]
   컬러: v2의 코랄+틸 듀얼 컬러 시스템(및 페이지마다 3~4개씩 있던 워시 섹션)이 "색이 너무 많다/
   뒤죽박죽"는 피드백을 받아 걷어냄. 포인트는 코랄(--point) 단 하나만 유지 — --point-dark(hover)/
   --point-deep(다크서피스)/--light(라이트틴트)는 별도 색상이 아니라 코랄 한 계열의 명도 변형이라
   "포인트 하나" 원칙을 안 어긴다. --second/--light-teal 계열은 전부 제거, --ink도 틸 흔적을 뺀
   순수 중성 다크로 재조정. 페이지당 컬러 배경 섹션도 3~4개→1~2개(대부분 FAQ 한 곳만)로 축소해
   "깔끔한데 포인트만 있는" 상태로 되돌림.
   폰트: 제목·본문 모두 SUIT Variable 하나로 통일(사용자 직접 지정). 형제사이트 HOMEAESTHETICS가
   이미 SUIT Variable을 쓰고 있어 폰트 자체는 겹치지만, 웨이트 스케일을 5단계(400/500/600/700/800)로
   실제로 분화해 화면상 위계·인상을 다르게 가져가는 것으로 차별화.
   ========================================================================== */

/* 폰트는 header.php의 <link>로 로드(성능— @import 이중로드 방지) */

:root {
  --white: #FFFFFF;
  --ink: #12141A;         /* 순수 중성 다크 (틸 흔적 제거) */
  --gray: #888888;
  /* 핑크톤 전환(사용자 직접 지시) — 시작값 #D98A96(더스티로즈)은 흰배경 텍스트/흰텍스트 버튼 채움
     둘 다 대비 2.6:1로 WCAG AA(4.5:1) 크게 미달해 실측 후 톤을 낮춤(로즈 방향·핑크 정체성은 유지).
     1차 조정값 #C24A63도 --paper(#F8FAF9) 위에서 4.50:1로 경계선상이라(반올림에 따라 미달 위험)
     여유를 두고 #BC4359로 재조정 — --paper 대비 4.90:1, --white 대비 5.14:1, 흰텍스트 버튼 채움
     기준으로도 5.14:1로 전 용도에서 AA 통과 */
  --point: #BC4359;       /* Rose — 유일한 포인트 컬러, UI 면적의 10% 이하 */
  --point-dark: #9E3850;  /* hover/강조 — point의 명도 변형, 흰텍스트 대비 6.7:1 */
  --point-deep: #5C2530;  /* point 톤온톤 딥셰이드 — 다크 서피스(푸터 등)용, 흰텍스트 대비 11.9:1 */
  --light: #FBEAEC;       /* point 톤온톤 라이트틴트 — 유일한 워시 배경색 */
  --paper: #F8FAF9;       /* 쿨뉴트럴 배경 */
  --line: rgba(18,20,26,.1);

  --text-on-light: var(--ink);
  --text-on-light-muted: #56605D;
  --text-on-dark: var(--white);
  --text-on-dark-muted: #D8CFC9;

  --radius: 2px;      /* 미니멀/에디토리얼 — 큰 라운드 없음, 최소한의 접점만 */
  --radius-pill: 999px;

  --container: 1280px;
  --px: clamp(1.25rem, 4vw, 2.5rem);
  --py: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(.25,1,.5,1);

  --font-head: 'SUIT Variable', 'Noto Sans KR', sans-serif;
  --font-body: 'SUIT Variable', 'Noto Sans KR', sans-serif;

  /* 웨이트 스케일 5단계 — 헤드/바디 두 단계로만 안 쓰고 실제로 분화 */
  --fw-regular: 400;  /* 본문 p */
  --fw-medium: 500;   /* 네비/보조 라벨 */
  --fw-semibold: 600; /* h3·h4, eyebrow, 강조(.text-strong), 버튼 */
  --fw-bold: 700;     /* h2 */
  --fw-black: 800;    /* h1, 워드마크 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 112.5%; overflow-x: hidden; } /* 18px 기준 */

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400; /* SUIT Variable 기본 인스턴스를 명시 고정 — 가변폰트가 웨이트 미지정시 흐리게 렌더되는 것 방지 */
  background: var(--paper);
  color: var(--text-on-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.75;
  cursor: auto;
}

body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

.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; }
.sr-only:focus { position: static; width: auto; height: auto; padding: 8px 16px; background: var(--point); color: var(--white); z-index: 999; }

/* 웨이트 스케일 5단계를 실제로 분화: h1=800/h2=700/h3·h4=600/eyebrow·버튼=600/본문=400 —
   전부 SUIT Variable 한 폰트라 이 웨이트 대비가 형제사이트(HOMEAESTHETICS, 동일 폰트 사용)와
   화면상 구별되는 유일한 지점이라 의도적으로 크게 벌림 */
h1 { font-family: var(--font-head); font-weight: var(--fw-black); line-height: 1.14; margin: 0; letter-spacing: -0.02em; color: var(--text-on-light); font-size: clamp(2.3rem, 6.2vw, 4.1rem); }
h2 { font-family: var(--font-head); font-weight: var(--fw-bold); line-height: 1.26; margin: 0; letter-spacing: -0.015em; color: var(--text-on-light); font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3, h4 { font-family: var(--font-body); font-weight: var(--fw-semibold); line-height: 1.32; margin: 0; letter-spacing: -0.005em; color: var(--text-on-light); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
strong, .text-strong { font-weight: var(--fw-semibold); }
/* 본문 가독성: measure(폭) 45-75ch 권장(philos_design_taxonomy/01 Manuscript Grid) 상한을 기본값으로
   강제 — 특정 컨테이너가 폭을 별도로 안 좁혀도 문단이 과하게 늘어지지 않게 하는 안전망.
   웨이트는 body에서 400 명시 고정, 자간은 본문에 별도로 걸지 않음(제목류만 -0.01~-0.02em) */
p { font-size: 1rem; line-height: 1.85; font-weight: 400; max-width: 68ch; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--point); outline-offset: 3px; border-radius: 1px; }

/* 의미단위 줄바꿈 */
.br-mobile { display: none; }
.br-desktop { display: inline; }
@media (max-width: 768px) {
  .br-mobile { display: inline; }
  .br-desktop { display: none; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--px); width: 100%; }
.section { padding: var(--py) 0; }
.section-alt { background: var(--light); } /* tonal-surface-separation: 코랄 워시 */
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--text-on-dark); }
.section-dark p { color: var(--text-on-dark-muted); }
.section-deep { background: var(--point-deep); color: var(--text-on-dark); } /* 코랄 톤온톤 다크 */
.section-deep h1, .section-deep h2, .section-deep h3 { color: var(--text-on-dark); }
.section-deep p { color: var(--text-on-dark-muted); }
.section-deep .stat-label { color: var(--text-on-dark-muted); }
.section-rule { border-top: 1px solid var(--line); } /* single-axis-rule-separation */

/* eyebrow: 볼드+올캡+와이드트래킹(제네릭 AI 라벨 패턴)을 걷어내고, 짧은 코랄 룰선 마커 + 문장부호
   케이스 그대로(강제 대문자 없음)로 대체 — 라벨이 "이건 이런 종류의 정보다"를 실제로 표시하게 한다 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: var(--fw-semibold);
  font-size: .82rem; letter-spacing: .01em; color: var(--point);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; display: inline-block; width: 18px; height: 2px; background: var(--point); }
/* 다크 서피스에서는 point(#C24A63) 텍스트가 2.5:1로 AA 미달 — light(라이트틴트)로 전환해 대비 확보 */
.section-dark .eyebrow, .section-deep .eyebrow { color: var(--light); }
.section-dark .eyebrow::before, .section-deep .eyebrow::before { background: currentColor; }

/* ---------- 유틸리티 (반복 인라인 style 제거용) ---------- */
.u-narrow { max-width: 900px; }
.u-narrow-sm { max-width: 780px; }
.u-narrow-xs { max-width: 760px; }
.link-accent { color: var(--point); font-weight: 600; }
.mb-14 { margin-bottom: 14px; }
.mt-10 { margin-top: 10px; }
.u-center { justify-content: center; }
/* u-copy/u-product-copy는 카드 캡션이 아니라 실제로 읽히는 본문 문단이라 muted(#56605D)가 아닌
   text-on-light(진한 잉크)로 — muted는 아래 caption류(section-head 서브카피/카드설명/proc-desc/
   stat-label)에만 한정한다 */
.u-copy { font-size: 1.06rem; line-height: 1.85; color: var(--text-on-light); }
.u-product-copy { color: var(--text-on-light); font-size: 1.05rem; line-height: 1.8; margin-bottom: 24px; }
.u-radius-clip { border-radius: var(--radius); overflow: hidden; }
.u-product-grid { align-items: center; max-width: 920px; margin: 0 auto; }
.u-heading-gap { margin: 16px 0 20px; }
.u-emph { color: var(--text-on-light); }
.badge-solid { background: var(--point); color: var(--white); }
.card-pad { padding: 28px; }
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head p:not(.eyebrow) { color: var(--text-on-light-muted); margin-top: 12px; font-size: 1.05rem; }
.section-dark .section-head p:not(.eyebrow) { color: var(--text-on-dark-muted); }

/* ---------- 버튼 ----------
   채움형 CTA(.btn-primary/.btn-gold)는 사용자가 직접 지정한 레퍼런스(ic.weddialand.com CTA)를
   반영해 그라디언트+컬러 섀도를 쓴다 — philos_site_build_prompt.md의 "box-shadow 전면 미사용"
   원칙의 유일한 예외(사용자 명시 지시). 카드 등 다른 요소에는 이 예외를 확장하지 않는다 */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-size: .92rem; font-weight: var(--fw-semibold); border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; white-space: nowrap; }
.btn-primary, .btn-gold {
  background: linear-gradient(135deg, var(--point) 0%, var(--point-dark) 100%);
  color: var(--white);
  padding: 18px 36px;
  box-shadow: 0 12px 30px -14px rgba(188,67,89,.45);
}
.btn-primary::after, .btn-gold::after { content: '→'; transition: transform .2s var(--ease); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover, .btn-gold:hover { box-shadow: 0 16px 36px -14px rgba(188,67,89,.6); transform: translateY(-1px); }
  .btn-primary:hover::after, .btn-gold:hover::after { transform: translateX(3px); }
  .btn-line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
}
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn:active { transform: scale(.97); }

/* ---------- 플로팅 CTA (1025px+ 전용 — 그 이하는 #mob-bar가 동일 역할을 담당) ---------- */
/* 원래 769px+였으나, 900px 같은 좁은 데스크톱/태블릿 폭에서는 .container가 뷰포트 가장자리까지
   거의 꽉 차서 fixed 위치의 이 버튼이 본문 텍스트(예: asym-grid 우측 컬럼) 위에 그대로 겹쳐버리는
   실제 버그가 있었다. --container(1280px) max-width 근처인 1025px부터는 컨테이너 좌우로 실제
   여백이 생겨 겹칠 일이 없으므로 그 지점부터만 노출한다 */
/* 원래 텍스트 필(202x59px) 형태였으나, 스크롤하면서 프로세스 스텝 번호·본문 문단 같은 실제
   콘텐츠와 겹치는 게 확인됐다(충돌 표면이 넓은 게 원인) — 평소엔 56px 원형 아이콘만 노출해
   충돌 표면을 최소화하고, hover 시에만 텍스트가 옆으로 펼쳐지는 방식으로 전환 */
.float-cta { display: none; }
@media (min-width: 1025px) {
  .float-cta {
    display: inline-flex; position: fixed; right: 28px; bottom: 28px; z-index: 260;
    align-items: center; height: 56px; width: 56px; padding: 0 18px; border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--point) 0%, var(--point-dark) 100%);
    color: var(--white); font-size: .86rem; font-weight: var(--fw-semibold);
    box-shadow: 0 14px 32px -12px rgba(188,67,89,.5);
    overflow: hidden; white-space: nowrap;
    transition: width .3s var(--ease), box-shadow .2s, transform .2s;
  }
  .float-cta-icon { flex: none; display: flex; }
  .float-cta-text { opacity: 0; margin-left: 0; transition: opacity .2s var(--ease), margin-left .3s var(--ease); }
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .float-cta:hover {
    width: 230px; box-shadow: 0 18px 38px -12px rgba(188,67,89,.65); transform: translateY(-2px);
  }
  .float-cta:hover .float-cta-text { opacity: 1; margin-left: 10px; }
}
.float-cta:active { transform: scale(.97); }

/* ---------- 헤더 ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 300; background: rgba(248,250,249,.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--px); }
.hdr-logo { display: flex; align-items: center; gap: 12px; }
.hdr-logo-img { display: block; }
.hdr-logo-sub { font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .08em; color: var(--text-on-light-muted); padding-left: 12px; border-left: 1px solid var(--line); }
.hdr-nav { display: flex; gap: 32px; }
.hdr-nav a { font-size: .88rem; font-weight: 500; color: var(--text-on-light); transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .hdr-nav a:hover { color: var(--point); } }
.hdr-right { display: flex; align-items: center; gap: 20px; }
.hdr-shop { font-size: .82rem; font-weight: 600; padding: 10px 18px; background: var(--ink); color: var(--white); border-radius: var(--radius); }
@media (hover: hover) and (pointer: fine) { .hdr-shop:hover { background: var(--point); } }
.hdr-burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 44px; height: 44px; margin-right: -10px; } /* 탭 타겟 44px 확보 */
.hdr-burger-icon { width: 20px; height: 2px; background: var(--ink); }

#mob-overlay { display: none; position: fixed; inset: 0; background: rgba(15,15,15,.5); z-index: 350; }
#mob-overlay.open { display: block; }
#mob-nav { position: fixed; top: 0; right: -100%; width: 78%; max-width: 340px; height: 100%; background: var(--white); z-index: 400; padding: 90px 28px 28px; transition: right .3s var(--ease); overflow-y: auto; }
#mob-nav.open { right: 0; }
#mob-nav a { display: block; padding: 16px 4px; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .hdr-nav { display: none; }
  .hdr-burger { display: flex; }
}
@media (max-width: 480px) { .hdr-shop { display: none; } }

/* ---------- 히어로 (split-hero, 60/40) ---------- */
/* 시그니처 장치: PQ10을 직접 가리키는 대형 "10" 워터마크 — 코랄 톤온톤(point→point-dark)
   그라디언트, 포인트 컬러 한 계열 안에서만 표현. 제네릭 장식이 아니라 브랜드(PQ10) 자체를
   가리키는 유일한 요소, 히어로에 1회만 등장 */
.hero { padding: 148px 0 var(--py); position: relative; overflow: hidden; }
.hero::before {
  content: '10';
  position: absolute; top: 6%; right: 2%; z-index: 0;
  font-family: var(--font-head); font-weight: var(--fw-black); font-size: clamp(9rem, 22vw, 20rem);
  line-height: 1; pointer-events: none; user-select: none;
  background: linear-gradient(135deg, var(--point) 0%, var(--point-dark) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .14;
}
@supports not (background-clip: text) { .hero::before { color: var(--point); opacity: .07; } }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 6fr 5fr; gap: 64px; } }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .hero-sub { font-size: 1.1rem; color: var(--text-on-light-muted); max-width: 480px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }
/* contrast-scrim: 미디어 하단에만 국소 그라데이션 — 전면 오버레이 금지 */
.hero-media-frame::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, rgba(15,15,15,0) 0%, rgba(15,15,15,.55) 100%); pointer-events: none; }
.hero-media-tag { position: absolute; left: 20px; bottom: 20px; z-index: 2; color: var(--white); font-weight: 600; font-size: .9rem; letter-spacing: .04em; }

/* ---------- 마퀴 ---------- */
.marquee-band { background: var(--ink); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; padding: 0 28px; color: var(--text-on-dark-muted); font-family: var(--font-head); font-weight: var(--fw-semibold); font-size: 1.05rem; white-space: nowrap; }
.marquee-track span::after { content: '•'; margin-left: 28px; color: var(--point); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (max-width: 768px) { .marquee-track { animation-duration: 40s; } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Asymmetric Two-up (60/40) — Philosophy 성격 섹션 ---------- */
.asym-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .asym-grid { grid-template-columns: 3fr 2fr; gap: 72px; align-items: center; } }
.asym-grid.reverse { }
@media (min-width: 900px) { .asym-grid.reverse { grid-template-columns: 2fr 3fr; } }
.asym-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.asym-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 카드 그리드 ---------- */
.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dp-g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.dp-g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.dp-stat3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; text-align: center; }
@media (max-width: 900px) { .dp-g3, .dp-g4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) { .dp-g2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dp-g3, .dp-g4 { grid-template-columns: 1fr; } .dp-stat3 { grid-template-columns: 1fr; gap: 20px; } }

/* 벤토 그리드(bento-grid) — 균일 4열 카드 반복(dp-g4) 대신 첫 카드를 2배 면적으로 키워 "이게 시작점"
   이라는 위계를 부여한다. 홈 카테고리 쇼케이스 전용 — 17페이지 전체가 같은 균일그리드로 안 보이게
   하는 그리드 리듬 장치 (philos_design_taxonomy/01 bento-grid) */
/* 8개 카테고리 = 4열 x 정확히 2행. 이전엔 첫 카드만 2배폭(span 2)이라 9칸이 필요해 3번째 줄에
   카드 1개가 고아로 남았다 — 균일 4열로 고정해 8개가 정확히 2행에 맞아떨어지게 한다 */
.bento-cat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .bento-cat { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento-cat { grid-template-columns: 1fr; } }

.card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
@media (hover: hover) and (pointer: fine) { .card:hover { border-color: var(--point); } }
.card-body { padding: 22px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--text-on-light-muted); font-size: .94rem; margin: 0; }

.link-card-img-wrap { aspect-ratio: 4/3; overflow: hidden; background: var(--light); }
.link-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .link-card:hover .link-card-img { transform: scale(1.04); } }
.link-card.shop-card { background: var(--ink); border-color: var(--ink); }
.link-card.shop-card .card-body h3 { color: var(--white); }
.link-card.shop-card .card-body p { color: var(--text-on-dark-muted); }

.card-badges { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) { .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; } }
.badge { display: inline-block; padding: 5px 12px; font-size: .74rem; font-weight: 600; letter-spacing: .04em; background: var(--light); color: var(--point-dark); border-radius: var(--radius-pill); }

/* ---------- 오해와 진실 (Myth & Truth) — FAQ(실무형 질문)와 톤을 분리한 통념 교정 섹션 ---------- */
.mt-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.mt-item:first-child { border-top: 1px solid var(--line); }
.mt-myth, .mt-truth { display: flex; gap: 10px; align-items: baseline; margin: 0; }
.mt-myth { color: var(--text-on-light-muted); font-size: .95rem; margin-bottom: 8px; }
.mt-truth { color: var(--text-on-light); font-size: 1rem; }
.mt-tag { flex: none; font-weight: var(--fw-semibold); font-size: .78rem; padding: 3px 10px; border-radius: var(--radius-pill); }
.mt-myth .mt-tag { color: var(--gray); background: var(--paper); border: 1px solid var(--line); }
.mt-truth .mt-tag { color: var(--point-dark); background: var(--light); }

/* ---------- 체크리스트 ---------- */
.checklist li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.checklist li:first-child { border-top: 1px solid var(--line); }
.chk-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--point); color: var(--white); font-size: .7rem; display: flex; align-items: center; justify-content: center; margin-top: 2px; }

/* ---------- 프로세스(연결선 — .proc-step 자체에 그림, gap 미사용) ---------- */
.proc-list { display: flex; }
.proc-step { flex: 1; position: relative; padding: 0 14px; text-align: center; }
.proc-step:not(:last-child)::after { content: ''; position: absolute; top: 24px; left: 50%; width: 100%; height: 1px; background: var(--line); z-index: 0; }
.proc-num { position: relative; z-index: 1; margin: 0 auto 16px; width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: var(--fw-semibold); }
.proc-step p { font-weight: 600; margin: 0 0 4px; }
.proc-desc { font-size: .84rem; color: var(--text-on-light-muted); }
@media (max-width: 768px) {
  .proc-list { flex-direction: column; gap: 10px; }
  .proc-step { padding: 24px 0; }
  .proc-step::after { display: none; }
}

/* ---------- 표 ---------- */
.table-wrap { overflow-x: auto; }
.dp-table { min-width: 480px; }
.dp-table th, .dp-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
.dp-table th { font-family: var(--font-body); font-weight: var(--fw-semibold); background: var(--light); }

/* ---------- FAQ 아코디언 ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; padding: 22px 4px; font-size: 1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.faq-q .icon { transition: transform .3s var(--ease); color: var(--point); font-weight: 400; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease); padding: 0 4px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 4px 22px; }
.faq-a p { color: var(--text-on-light); margin: 0; } /* 답변 본문은 실제 읽히는 콘텐츠라 muted 아닌 진한 잉크 */

/* ---------- 인증/판매처 리스트 (Access 대체 섹션) ---------- */
.auth-row { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.auth-row:first-child { border-top: 1px solid var(--line); }
.auth-row span { font-weight: 600; color: var(--text-on-light-muted); font-size: .88rem; }
.auth-row p { margin: 0; }
@media (max-width: 600px) { .auth-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- CTA 밴드 ---------- */
.cta-band { text-align: center; padding: 64px var(--px); background: var(--light); border-radius: var(--radius); }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-on-light-muted); margin: 0 auto 30px; max-width: 52ch; } /* 짧은 서브카피(캡션 성격) — muted 유지하되 폭은 별도로 좁혀 중앙정렬이 실제로 좁게 잡히게 함 */

/* ---------- 통계/신뢰 ---------- */
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); color: var(--point); line-height: 1; margin-bottom: 10px; }
.section-dark .stat-num, .section-deep .stat-num { color: var(--light); } /* 다크 서피스 AA 대비 확보(2.5:1→10:1+) */
.stat-label { font-size: .88rem; color: var(--text-on-light-muted); }
.section-dark .stat-label { color: var(--text-on-dark-muted); }

/* ---------- 컴포넌트별 리빌 애니메이션 (design-motion-principles 감사 반영) ----------
   원칙: 컴포넌트 성격마다 다른 물리 — 텍스트는 y축 이동만(빠른 가독 우선), 이미지는
   scale+blur(materializing, Jakub 레시피), 카드그리드는 페이지당 "단 하나의" stagger 모먼트만
   (anti-checklist: 한 화면에 stagger 리스트 2개 이상이면 슬롭 판정 — 카드그리드 stagger는 페이지당
   1곳만 쓴다). 헤딩(.section-head)은 motion-on-mount 금지 규칙 유지, 즉시 노출 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease) .08s, transform .6s var(--ease) .08s; }
.reveal-right.in { opacity: 1; transform: none; }
.section-head.reveal { opacity: 1; transform: none; transition: none; }

/* 이미지 전용 — scale+blur "포커스가 맞아가는" 진입 (한 컴포넌트 유형에만 한정 사용) */
.reveal-img { opacity: 0; transform: scale(1.045); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.reveal-img.in { opacity: 1; transform: none; filter: blur(0); }

/* 제품피처 블록(이미지+텍스트 페어) — 부모 하나에 동일 reveal을 걸지 않고 자식별로 물리를 분리:
   이미지는 scale+blur, 텍스트는 translateY만 */
.reveal-img-pair > .link-card-img-wrap { opacity: 0; transform: scale(1.045); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.reveal-img-pair > *:not(.link-card-img-wrap) { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease) .1s, transform .6s var(--ease) .1s; }
.reveal-img-pair.in > .link-card-img-wrap { opacity: 1; transform: none; filter: blur(0); }
.reveal-img-pair.in > *:not(.link-card-img-wrap) { opacity: 1; transform: none; }

/* 카드그리드 stagger — 순수 CSS nth-child 지연, 페이지당 1곳(카테고리 쇼케이스 또는 관련링크
   그리드 중 하나)에만 적용 */
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 420ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 490ms; }

/* 히어로 — 스크롤 트리거 아님, 페이지 로드시 즉시 진입(orientation 목적). eyebrow→h1→sub→cta 순
   내러티브 순서로 stagger. animation-fill-mode:backwards로 지연 중 깜빡임 방지 */
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-media-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: scale(1); } }
.hero-copy .eyebrow, .hero-copy h1, .hero-copy .hero-sub, .hero-copy .hero-cta {
  opacity: 0; animation: hero-in .6s var(--ease) both;
}
.hero-copy .eyebrow { animation-delay: .05s; }
.hero-copy h1 { animation-delay: .16s; }
.hero-copy .hero-sub { animation-delay: .34s; }
.hero-copy .hero-cta { animation-delay: .48s; }
.hero-media { animation: hero-media-in .8s var(--ease) .2s both; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-img, .reveal-stagger > *, .reveal-img-pair > *, .faq-a { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; max-height: none !important; }
  .hero-copy .eyebrow, .hero-copy h1, .hero-copy .hero-sub, .hero-copy .hero-cta, .hero-media { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- 푸터 (에디토리얼 초대형 워드마크 + 얇은 룰선 구획) ----------
   배경은 --point-deep(코랄 톤온톤 다크) — 별도 색상이 아니라 point 한 계열의 명도 변형이라
   "포인트 하나" 원칙 유지. 구조는 그대로(사업자정보/바로가기/카테고리 3블록, content_rules
   고정) — 시각 처리만: 대형 워드마크 배너 → 룰선 → 3열(단일축 괘선으로 구분) → 룰선 → 저작권 바 */
.footer { background: var(--point-deep); color: var(--text-on-dark); }
.footer-brand-band { padding: 64px 0 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-wordmark { font-family: var(--font-head); font-weight: var(--fw-black); font-size: clamp(3rem, 11vw, 8.5rem); line-height: .92; color: var(--white); letter-spacing: -0.02em; margin: 0; }
.footer-wordmark span { color: var(--light); } /* --point-deep 다크배경 위 — point는 2.5:1로 대형텍스트 기준(3:1)도 미달, light로 대체 */
.footer-tagline { margin-top: 14px; font-size: .92rem; color: var(--text-on-dark-muted); letter-spacing: .04em; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 0; } .footer-grid > div { padding: 0 40px; border-inline-start: 1px solid rgba(255,255,255,.14); } .footer-grid > div:first-child { padding-inline-start: 0; border-inline-start: none; } }
.footer h4 { font-family: var(--font-body); font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; color: var(--text-on-dark-muted); margin-bottom: 16px; }
.footer-biz p { font-size: .86rem; color: var(--text-on-dark-muted); margin: 6px 0; }
.footer-links a, .footer-cats a { display: block; padding: 6px 0; font-size: .92rem; color: var(--text-on-dark-muted); transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover, .footer-cats a:hover { color: var(--light); } } /* footer는 --point-deep 다크 배경 — point 자체는 2.5:1로 AA 미달, light로 대체 */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 22px var(--px); text-align: center; font-size: .78rem; color: var(--text-on-dark-muted); letter-spacing: .04em; }

/* ---------- 모바일 스티키 바 ---------- */
#mob-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 250; padding: 12px 16px; background: var(--white); border-top: 1px solid var(--line); }
/* 1024px까지 확장(원래 768px) — 900px류 태블릿 폭에서는 컨테이너가 뷰포트 가장자리까지 꽉 차서
   플로팅 CTA(다음 블록, 769px+ 전용이었음)가 본문 텍스트와 겹치는 버그가 있었다. mob-bar와
   플로팅 CTA의 경계를 1024px로 맞춰 겹치는 구간 자체를 없앤다 */
@media (max-width: 1024px) { #mob-bar { display: block; } body { padding-bottom: 72px; } }

/* ---------- 히어로 싱글(상세페이지) ---------- */
.hero-single { position: relative; padding: 168px 0 88px; background-size: cover; background-position: center; }
.hero-single::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,250,249,.94) 0%, rgba(248,250,249,.7) 55%, rgba(248,250,249,.94) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge { display: inline-block; padding: 6px 14px; background: var(--ink); color: var(--white); font-size: .76rem; font-weight: 600; letter-spacing: .08em; border-radius: var(--radius-pill); margin-bottom: 18px; }

/* padding-left/right만 지정(shorthand padding 금지) — .hdr-inner처럼 .container를 같이 쓰면서
   세로 패딩을 따로 주는 요소가 있으면, shorthand는 그 세로값까지 0으로 덮어써 버린다(실제 버그:
   모바일 헤더 높이가 26px로 짜부라짐 원인이었음) */
@media (max-width: 1024px) { .container { padding-left: 28px; padding-right: 28px; } }

/* 히어로 바로 아래 대표 이미지 */
.top-media-section { padding: 40px 0 0; }
.top-media { margin: 0; max-width: 960px; margin-inline: auto; }
.top-media-img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 12px; }
@media (max-width: 768px) { .top-media-section { padding: 24px 0 0; } .top-media-img { max-height: 320px; } }
