/* =========================================================
   점마Pro 랜딩 — PC 기준 (본문 고정폭 900px · 2026-11-13에 800px → 980px → 900px)
   모바일(767px 이하)은 맨 아래 '모바일' @media 블록에서 덮어씀
   ========================================================= */

/* ---------- 1. 디자인 토큰 ---------- */
:root {
  /* 레이아웃 */
  --container: 900px;
  --container-narrow: 680px;
  --gutter: 20px;
  --header-h: 64px;
  --section-pad: 72px;       /* 섹션 아래 여백 */
  --section-pad-top: 92px;   /* 섹션 위 여백 (아래보다 조금 넉넉히) */

  /* ================================================================
     색 체계: 나전칠기 — 옻칠한 검정 위에 자개(진주층)를 박은 느낌
     · 밝은 면은 진주 흰색, 어두운 면은 옻칠 검정, 강조는 자개 무지갯빛
     · 회색은 모두 보랏빛이 아주 살짝 도는 진주 회색 (붉은 · 누런 기운 없음)
     ================================================================ */

  /* 글자 */
  --ink: #18171c;        /* 제목 · 본문 (먹색) */
  --ink-2: #4b4956;      /* 설명 글 */
  --ink-3: #8b8896;      /* 보조 글 · 날짜 · 아이콘 */

  /* 바탕 */
  --bg: #ffffff;         /* 페이지 기본 바탕 */
  --surface: #f9f9fa;    /* 연한 바탕: 교차 섹션 · 카드 · 상자 */
  --surface-2: #efedf2;  /* 한 단계 진한 바탕: 진행 막대 바탕 · 아이콘 칸 · 눌렀을 때 */

  /* 박스 */
  --box: #ffffff;        /* 흰 박스 (연한 바탕 위에 올리는 카드) */
  --box-line: #e7e4ec;   /* 박스 테두리 (1px) */
  --divider: #eeecf1;    /* 박스 안 구분선 */
  /* 박스 라운드: 바깥 박스 16 → 안쪽 8 → 그 안 4. 동그라미 · 알약 버튼은 999 */
  --radius-l: 16px;
  --radius-m: 8px;
  --radius-s: 4px;
  /* 박스 그림자: 진주빛(보라 기운) 그림자 */
  --shadow-card: 0 1px 2px rgba(40, 32, 70, .04), 0 8px 24px rgba(40, 32, 70, .07);
  --shadow-float: 0 2px 6px rgba(40, 32, 70, .05), 0 24px 48px rgba(40, 32, 70, .1);

  /* 어두운 면: 옻칠 검정 */
  --dark: #111015;       /* 어두운 섹션 · 툴팁 · 메뉴 */
  --dark-2: #0a090d;     /* 가장 어두운 면 · 푸터 · 표시 알약 */
  --dark-3: #1d1b23;     /* 어두운 면 위의 박스 */

  /* 강조: 자개 */
  --accent: #7a52c7;          /* 자개 보랏빛: 작은 강조 글씨 · 링크 */
  --accent-hover: #6440ad;
  --accent-on-dark: #d9c9ff;  /* 어두운 면 위 작은 강조 글씨 */
  /* 자개 채움: 진주 결 사진 + 무지갯빛 (버튼 · 번호 · 표시) */
  --pearl-fill:
    linear-gradient(120deg, rgba(255, 190, 230, .32), rgba(175, 225, 255, .32) 35%, rgba(205, 255, 225, .28) 65%, rgba(255, 228, 190, .32)),
    url("../img/pearl.webp") center / cover;
  /* 자개 글씨: 밝은 바탕용(진하게) · 어두운 바탕용(밝게) */
  --pearl-text: linear-gradient(100deg, #7a52c7 0%, #2b8fb0 38%, #c0507f 72%, #a8802a 100%);
  --pearl-text-dark: linear-gradient(100deg, #f1c9ff 0%, #a8e6ff 38%, #ffd0e4 72%, #ffe3ad 100%);
  /* 자개 선: 진행 막대 · 선택 테두리 */
  --pearl-line: linear-gradient(90deg, #c9a8ff, #9fe3ff 35%, #ffc4dc 70%, #ffe1a8);

  /* 예전 이름 (페이지 곳곳에서 쓰는 이름 → 위 색으로 연결) */
  --paper: var(--bg);
  --hanji: var(--surface);
  --hanji-2: var(--surface-2);
  --line: var(--box-line);
  --line-2: var(--divider);
  --accent-soft: var(--surface);

  /* 오행 (점마Pro 본체 팔레트) */
  --wood: #66a887;
  --fire: #d97370;
  --earth: #d2ae61;
  --metal: #b5b5b5;
  --water: #566a80;


  /* "Pretendard Variable" = 가변 서브셋 글꼴(scripts/build-site.mjs FONT_CSS) — 굵기 300~900을 한 파일로, 쓰인 글자 조각만 받아요 */
  --font: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* ---------- 2. 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-y: scroll;   /* 페이지 스크롤바는 언제나 보이게 (팝업을 열어도 화면이 움직이지 않게) */
  /* scroll-behavior: smooth 는 쓰지 않음 — 새로고침할 때 제자리로 '굴러가며' 돌아가서. 링크 이동만 main.js에서 부드럽게 */
  scroll-padding-top: calc(var(--header-h) + 24px);
}
.is-restoring body { visibility: hidden; }   /* 새로고침: 보던 자리로 옮길 때까지 잠깐 숨김 (main.js가 바로 풂) */

body {
  margin: 0;
  min-width: calc(var(--container) + var(--gutter) * 2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
em { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-s); }

/* ---------- 3. 레이아웃 ---------- */
.container { width: var(--container); margin: 0 auto; }
.container-narrow { width: var(--container-narrow); }

.section { padding: var(--section-pad-top) 0 var(--section-pad); }
.section-hanji { background: var(--hanji); }
/* 가격 섹션 바탕: 밝은 진주 회색 위에 자개 빛 세 가지(연보라 · 하늘 · 분홍)를 아주 옅게
   — 위쪽 끝만 흰색에서 서서히 이어져 앞 흰 섹션과 경계가 보이지 않음 */
.section.pricing {
  background:
    linear-gradient(180deg, #fff 0, rgba(255, 255, 255, 0) 180px),
    radial-gradient(60% 70% at 12% 18%, #f1eff6 0%, rgba(241, 239, 246, 0) 70%),
    radial-gradient(55% 65% at 88% 28%, #eef2f5 0%, rgba(238, 242, 245, 0) 70%),
    radial-gradient(65% 70% at 50% 100%, #f4f0f3 0%, rgba(244, 240, 243, 0) 70%),
    #f7f7f9;
}

.section-head { text-align: center; margin-bottom: 40px; }
.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.section-title em, .hero-title em, .final-title em { color: transparent; background: var(--pearl-text); -webkit-background-clip: text; background-clip: text; }
.section-sub { margin-top: 12px; font-size: 18px; color: var(--ink-2); }

/* 섹션 머리 표시: 검정 바탕 + 자개 글씨 (글씨는 span 안 그라데이션) */
.pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: var(--dark-2);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.pill > span {
  background: var(--pearl-text-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .15s, box-shadow .15s;
}
/* 자개 버튼: 진주 결 사진(assets/img/pearl.webp) + 무지갯빛 광택 + 흐르는 빛줄기
   — 버튼 종류(light · accent) 모두 같은 자개 바탕. 마우스를 올리면 빛줄기만 지나감 (위로 움직이지 않음) */
.btn-light,
.btn-accent,
.tour-bubble-next {
  border: 1px solid rgba(255, 255, 255, .75);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 60%) 120% 0 / 250% 100% no-repeat,
    linear-gradient(120deg, rgba(255, 190, 230, .32), rgba(175, 225, 255, .32) 35%, rgba(205, 255, 225, .28) 65%, rgba(255, 228, 190, .32)),
    url("../img/pearl.webp") center / cover;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(120, 110, 140, .18),
    0 0 0 1px rgba(0, 0, 0, .06),
    0 6px 18px rgba(0, 0, 0, .14);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  transition: background-position .7s ease, box-shadow .2s;
}
.btn-light:hover,
.btn-accent:hover,
.tour-bubble-next:hover {
  background-position: -20% 0, 0 0, center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(120, 110, 140, .18),
    0 0 0 1px rgba(0, 0, 0, .06),
    0 8px 24px rgba(0, 0, 0, .18);
}
.btn-lg { height: 56px; padding: 0 32px; font-size: 17px; }

/* 체크 문구 */
.checks {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-2);
}
.checks li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--accent);
  font-weight: 800;
}

/* 빈 이미지 자리: assets/img/placeholder.jpg (data-placeholder 붙은 곳을 실제 사진으로 교체) */

/* ---------- 6. 헤더: 위에 떠 있는 검정 알약 메뉴 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 0;            /* 자리를 차지하지 않고 히어로 사진 위에 떠 있음 */
}
.header-inner {
  position: relative;
  top: 12px;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 8px 0 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: var(--dark-2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);   /* 메뉴바 그림자: 은은하게 (2026-11-12 줄임) */
  transition: box-shadow .2s;
}
.header.is-scrolled .header-inner { box-shadow: 0 4px 12px rgba(0, 0, 0, .14); }

.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-type { width: auto; height: 20px; }

.gnb {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
}
.gnb a:hover { color: #fff; }
.gnb a[aria-current="page"] { color: #fff; font-weight: 700; }   /* 지금 보고 있는 페이지 (모든 페이지 같은 메뉴) */
.gnb a.gnb-bf { font-weight: 700; color: transparent; background: var(--pearl-text-dark); -webkit-background-clip: text; background-clip: text; }   /* 블랙프라이데이: 자개빛 글씨로 눈에 띄게 */
.gnb a.gnb-bf:hover { filter: brightness(1.15); }

.header-actions { display: flex; align-items: center; gap: 16px; }
/* 상단 장바구니 아이콘 + 담긴 개수 */
.cart-link { position: relative; display: inline-grid; flex: none; width: 40px; height: 40px; margin-right: -6px; place-items: center; border-radius: 50%; color: rgba(255, 255, 255, .86); }
.cart-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cart-link svg { display: block; width: 22px; height: 22px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: #e5484d; font-size: 10.5px; font-weight: 800; line-height: 17px; text-align: center; color: #fff; }
.cart-count[hidden] { display: none; }
/* 휴대폰 메뉴 버튼 (≡ → ×): PC에서는 숨김, 모바일 블록에서 보임 */
.gnb-toggle { display: none; position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; color: #fff; }
.gnb-toggle i,
.gnb-toggle i::before,
.gnb-toggle i::after { position: absolute; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
.gnb-toggle i { top: 50%; left: 50%; margin: -1px 0 0 -9px; }
.gnb-toggle i::before,
.gnb-toggle i::after { content: ""; left: 0; }
.gnb-toggle i::before { top: -6px; }
.gnb-toggle i::after { top: 6px; }
.is-menu-open .gnb-toggle i { background: transparent; }
.is-menu-open .gnb-toggle i::before { transform: translateY(6px) rotate(45deg); }
.is-menu-open .gnb-toggle i::after { transform: translateY(-6px) rotate(-45deg); }


/* ---------- 7. 히어로: ① 검정 바탕 → ② 프로그램(노트북) → ③ 산수화(위가 투명) + 맨 위에 글 ---------- */
.hero { text-align: center; }
.hero-photo {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 1392px;   /* 로고 두 줄 아래 검정 여백 약 80px */
  padding-top: 140px;
  color: #fff;
  background: #000;   /* ① 바탕: 검정 */
}
.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}
/* ① 바탕 그림: 원래 비율 그대로, 화면 폭의 1.25배로 가운데 맞춰 위에 붙임 (좌우 12.5%씩은 잘림)
   2000×1116 → 1440 폭이면 약 1780×995px. 그림 아래 끝이 앞 산수화 사이로 선처럼 보이지 않게 아래쪽을 검정으로 스르르 흐림 */
.hero-bg {
  right: auto;
  bottom: auto;
  left: -12.5%;
  z-index: 0;
  width: 125%;
  max-width: none;   /* 공통 img { max-width: 100% } 를 풀어야 110%가 됨 */
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
/* ① 위 덮개: #000000 10%로 전체를 어둡게 + 가장자리를 더 어둡게(비네트) → 바탕이 뒤로 물러나 보임 */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 45%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%),
    rgba(0, 0, 0, .1);
}
/* ③ 산수화: 아래에 붙여 높이 820px로 — 화면이 넓어지면 위(투명한 하늘)부터 잘림 */
.hero-front {
  top: auto;
  bottom: 89px;   /* 산 능선이 노트북 아래쪽에 오도록 (그 아래는 바탕 검정) */
  z-index: 3;
  height: 914px;   /* 2000×1269 그림을 1440px 폭에 맞춘 높이 */
  filter: drop-shadow(0 -18px 36px rgba(0, 0, 0, .9));  /* 산 윤곽을 따라 위로 그림자 → 노트북 위에 떠 보임 */
  will-change: transform;
}  /* 아래 검정 부분은 잘려도 바탕과 같아서 티 안 남 */

/* 글 (맨 위) */
.hero-copy { position: relative; z-index: 4; order: -1; }
/* 산수화 위: 사용자 사진(겹친 동그라미 5개) + 로고 줄 */
.hero-trust {
  position: absolute;
  top: 1086px;   /* 산수화 위 (노트북 바로 아래) */
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.proof-avatars { display: inline-flex; }
.proof-avatars img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: #222;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}
.proof-avatars img + img { margin-left: -12px; }
.proof-avatars + .trust-text { margin-top: -14px; }   /* 사진과 글은 붙여서 한 묶음으로 */
.trust-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
/* 로고 줄: 무한 반복으로 흐르고 양옆은 그라데이션으로 사라짐 */
.logo-marquee {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  max-width: 1280px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.marquee-row { display: flex; }
.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 72px;
  padding-right: 72px;   /* 복사본과의 간격도 같게 */
  animation: marquee 48s linear infinite;
}
.marquee-row.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 54s; }
.marquee-track img { width: auto; height: 28px; opacity: .8; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.hero-title {
  margin-top: 20px;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero-sub { margin-top: 18px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.hero-btn.btn-lg { height: 46px; margin-top: 28px; padding: 0 24px; font-size: 15px; }

/* ② 프로그램: 노트북 정면 */
.hero-stage { position: relative; z-index: 2; flex: 1; min-height: 480px; margin-top: 56px; }
.laptop {
  position: absolute;
  top: 0;
  left: 50%;
  width: 860px;
  transform: translateX(-50%);
}
/* 덮개: 스페이스 그레이 금속 테두리 (위쪽이 밝고 아래로 어두워지는 빛) */
.laptop-lid {
  position: relative;
  padding: 3px;
  border-radius: 26px 26px 10px 10px;
  background: linear-gradient(180deg, #8e9095 0%, #4b4d52 18%, #2c2d31 60%, #1d1e21 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    0 30px 70px rgba(0, 0, 0, .75),
    0 0 140px 20px rgba(0, 0, 0, .7);
}
/* 검정 유리 테두리 (아래쪽이 조금 더 두꺼움) */
.laptop-bezel {
  position: relative;
  padding: 16px 16px 26px;
  border-radius: 23px 23px 8px 8px;
  background: linear-gradient(180deg, #0d0d0e, #050505);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.laptop-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4b5a6b 0 25%, #12161b 45%, #050607 100%);
  box-shadow: 0 0 0 1px #1c1d20;
}
.laptop-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1440 / 900;
  border-radius: 4px;
  background: #000;
}
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; }
/* 화면 유리에 비친 빛 */
.laptop-glare {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .03) 32%, rgba(255, 255, 255, 0) 33%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 30%);
  pointer-events: none;
}
/* 데모 영상 버튼: 화면 가운데(조금 위) — 유튜브 재생 버튼 모양을 자개빛으로, 둘레에 퍼지는 빛 */
.hero-play {
  position: absolute;
  z-index: 2;
  top: 44%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  translate: -50% -50%;
}
.hero-play-icon {
  position: relative;
  width: 82px;
  height: 58px;
  border-radius: 18px;
  background: var(--pearl-fill);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset;
  transition: scale .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.hero-play-icon::before {   /* 재생 세모 */
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 22px;
  height: 24px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  translate: -50% -50%;
}
.hero-play-icon::after {   /* 둘레로 퍼지는 빛 */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  box-shadow: 0 0 0 2px rgba(217, 201, 255, .7);
  animation: hero-play-pulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes hero-play-pulse { from { opacity: .9; scale: 1; } to { opacity: 0; scale: 1.45; } }
.hero-play-label {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 9, 13, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.hero-play:hover .hero-play-icon,
.hero-play:focus-visible .hero-play-icon { scale: 1.08; box-shadow: 0 16px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .6) inset; }
.hero-play:focus-visible { outline: none; }
.hero-play:focus-visible .hero-play-label { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .hero-play-icon::after { animation: none; opacity: 0; } }

/* 경첩 */
.laptop-hinge {
  display: block;
  width: 92%;
  height: 7px;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, #0c0c0d, #2a2b2e 70%, #3b3c40);
}
/* 본체 (덮개보다 넓은 얇은 금속판) */
.laptop-base {
  position: relative;
  width: 118%;
  height: 18px;
  margin-left: -9%;
  border-radius: 2px 2px 18px 18px / 2px 2px 14px 14px;
  background: linear-gradient(180deg, #b9bbc0 0%, #8a8c91 22%, #55575c 70%, #2e2f33 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    0 18px 30px rgba(0, 0, 0, .7),
    0 40px 60px -10px rgba(0, 0, 0, .6);
}
/* 본체 앞쪽 손가락 홈 */
.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 130px;
  height: 7px;
  margin-left: -65px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #4a4c50, #6f7176);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .45);
}

/* 첫 화면 등장: 검정 빈 화면 → 바탕 그림 → 메뉴 → 글 → 산수화 → 프로그램 → 사진 · 로고 */
.js-intro .hero-bg,
.js-intro .hero-photo::before,
.js-intro .header-inner,
.js-intro .hero-copy > *,
.js-intro .hero-stage,
.js-intro .hero-front,
.js-intro .proof-avatars,
.js-intro .trust-text,
.js-intro .logo-marquee,
.js-intro .kakao-fab { opacity: 0; }

.intro-play .hero-bg { animation: intro-bg .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
.intro-play .hero-photo::before { animation: intro-fade .9s ease .1s both; }
.intro-play .header-inner { animation: intro-down .45s ease .5s both; }
.intro-play .hero-copy > :nth-child(1) { animation: intro-up .5s ease .6s both; }
.intro-play .hero-copy > :nth-child(2) { animation: intro-up .5s ease .7s both; }
.intro-play .hero-copy > :nth-child(3) { animation: intro-up .5s ease .8s both; }
.intro-play .hero-front { animation: intro-rise .8s cubic-bezier(.2, .7, .2, 1) .95s both; }   /* 산수화 먼저 */
.intro-play .hero-stage { animation: intro-up-lg .7s cubic-bezier(.2, .7, .2, 1) 1.3s both; }   /* 그다음 프로그램 */
/* 사진 · 로고 줄은 첫 화면 아래에 있어서, 순서가 된 뒤 화면에 들어올 때 나타남 (.is-in) */
.js-intro .hero-trust.is-in .proof-avatars { animation: intro-up .45s ease 0s both; }
.js-intro .hero-trust.is-in .trust-text { animation: intro-up .45s ease .08s both; }
.js-intro .hero-trust.is-in .logo-marquee { animation: intro-up .5s ease .15s both; }
.intro-play .kakao-fab { animation: intro-fade .4s ease 1.8s both; }
/* 상단 메뉴바는 이번 방문의 첫 페이지에서만 내려옴 — 다른 페이지로 넘어오면(head-seen) 처음부터 제자리 */
.js-intro.head-seen .header-inner { opacity: 1; }
.intro-play.head-seen .header-inner { animation: none; }
/* 점마Pro 첫 화면 순서: 바탕 → 산수화 → 노트북 화면(~2.0초) → 아이콘(재생 · 오른쪽 바로가기 · 카카오) → 툴팁('데모 영상 보기') */
.js-intro .hero-play-icon,
.js-intro .hero-play-label { opacity: 0; }
.intro-play .hero-play-icon { animation: hero-play-in .45s cubic-bezier(.2, 1.35, .35, 1) 2.05s both; }
.intro-play .hero-play-icon::after { animation-delay: 2.9s; }   /* 둘레 빛은 툴팁까지 나온 뒤부터 */
.intro-play .hero-play-label { animation: intro-up .4s ease 2.5s both; }
.intro-play:has(.hero-photo) .quick-nav { animation: intro-fade .4s ease 2.05s both; }
.intro-play:has(.hero-photo) .kakao-fab { animation: intro-fade .4s ease 2.05s both; }
@keyframes hero-play-in { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }   /* transform으로 — 마우스 올렸을 때 커지는 scale과 따로 움직임 */

/* transform을 이미 쓰는 요소(노트북 가운데 맞춤 · 산수화 스크롤)와 겹치지 않게 translate 속성으로 움직임 */
@keyframes intro-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-bg { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes intro-down { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }
@keyframes intro-up { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes intro-up-lg { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
@keyframes intro-rise { from { opacity: 0; translate: 0 120px; } to { opacity: 1; translate: 0 0; } }

/* 아래 섹션 나타나기: 화면에 들어올 때 한 번만 (새로고침하면 다시) */
.js-reveal .rv { opacity: 0; translate: 0 28px; }
.js-reveal .rv.is-in {
  opacity: 1;
  translate: 0 0;
  transition:
    opacity .8s ease var(--rv-delay, 0ms),
    translate .8s cubic-bezier(.2, .7, .2, 1) var(--rv-delay, 0ms);
}

/* 데모 고르기: [점마Pro | 점마궁합] — 흰 알약(thumb)이 좌우로 미끄러지고, 아래 데모 두 개가 한 줄로 서서 옆으로 넘어가요
   --demo-at = 지금 고른 데모 순서(0 · 1), main.js가 바꿔요 */
.demo-picker { --demo-at: 0; }
.demo-switch { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: 440px; max-width: 100%; margin: 0 auto 20px; padding: 4px; border-radius: 999px; background: #ebe9f0; }
.demo-switch-thumb {   /* 고른 쪽 알약 = 자개(진주 결 + 무지갯빛) — 자개 버튼과 같은 바탕 */
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px;
  background:
    linear-gradient(120deg, rgba(255, 190, 230, .32), rgba(175, 225, 255, .32) 35%, rgba(205, 255, 225, .28) 65%, rgba(255, 228, 190, .32)),
    url("../img/pearl.webp") center / cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(120, 110, 140, .18), 0 1px 2px rgba(40, 32, 70, .08), 0 6px 16px rgba(40, 32, 70, .12);
  transform: translateX(calc(var(--demo-at) * 100%)); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) {
  .demo-switch button:hover { color: var(--ink); }   /* 안 고른 쪽에 마우스를 올리면 글자만 진하게 */
}
.demo-switch button { position: relative; z-index: 1; height: 46px; padding: 0; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink-3); cursor: pointer; transition: color .3s; }
.demo-switch button[aria-selected="true"] { font-weight: 800; color: var(--ink); }
.demo-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-slides { overflow-x: clip; overflow-y: visible; }   /* 옆 데모는 잘라서 숨기고, 위아래 그림자는 그대로 */
.demo-track { display: flex; align-items: flex-start; transform: translateX(calc(var(--demo-at) * -100%)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.demo-track > .tour { flex: 0 0 100%; min-width: 0; }
@media (prefers-reduced-motion: reduce) {
  .demo-switch-thumb, .demo-track { transition: none; }
}

/* 데모 */
.demo {
  position: relative;
  margin-top: 0;   /* 둘러싸는 베이지 상자 없이 */
}

.demo-body { margin-top: 12px; }

/* 크롬 다크 모드 창 */
.browser {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #3c3c3f;
  border-radius: 10px;
  background: #1f2023;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .6), var(--shadow-float);
}
.chrome-tabs {
  display: flex;
  align-items: flex-end;
  height: 38px;
  padding: 0 10px 0 14px;
  background: #1f2023;
}
.chrome-lights { display: flex; gap: 8px; align-self: center; margin-right: 18px; }
.chrome-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25); }
.chrome-lights i:nth-child(2) { background: #febc2e; }
.chrome-lights i:nth-child(3) { background: #28c840; }
/* 크롬 탭 3개 (= 투어 3장). 지금 탭의 바탕은 indicator 하나가 좌우로 미끄러지며 옮겨감 */
.chrome-tablist { position: relative; display: flex; align-items: flex-end; height: 31px; }
.chrome-tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 31px;
  border-radius: 9px 9px 0 0;
  background: #35363a;
  transition: left .38s cubic-bezier(.65, 0, .35, 1), width .38s cubic-bezier(.65, 0, .35, 1);
}
/* 아래 양쪽이 바깥으로 휘어 툴바와 이어짐 */
.chrome-tab-indicator::before,
.chrome-tab-indicator::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 9px;
  height: 9px;
}
.chrome-tab-indicator::before { left: -9px; background: radial-gradient(circle at 0 0, transparent 9px, #35363a 9.5px); }
.chrome-tab-indicator::after { right: -9px; background: radial-gradient(circle at 100% 0, transparent 9px, #35363a 9.5px); }
.chrome-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 206px;
  height: 31px;
  padding: 0 10px 0 12px;
  border-radius: 9px 9px 0 0;
  color: #9aa0a6;
  font-size: 12px;
  text-align: left;
  transition: color .25s;
}
.chrome-tab:not(.is-active):hover { color: #e8eaed; }
/* 탭 사이 세로 구분선 (지금 탭 양옆은 숨김) */
.chrome-tab + .chrome-tab::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 1px;
  height: 14px;
  background: #4a4b4f;
  transition: opacity .25s;
}
.chrome-tab.is-active::before,
.chrome-tab.is-active + .chrome-tab::before { opacity: 0; }
.chrome-tab.is-active { color: #e8eaed; }
/* 숫자 배지가 파비콘 자리 (점마 아이콘은 탭 안에서 뺌) */
.chrome-tab b {
  flex: none;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #4a4b4f;
  color: #e8eaed;
  font-size: 10px;
  font-weight: 800;
}
.chrome-tab.is-active b { background: var(--pearl-fill); color: var(--ink); }
.chrome-tab span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* 제목 뒤 작은 설명 (원국·운성·신살 등) */
.chrome-tab small { margin-left: 6px; font-size: 10px; letter-spacing: -0.01em; color: #80868b; transition: color .25s; }
.chrome-tab.is-active small { color: rgba(232, 234, 237, .55); }
.chrome-tab-x { flex: none; font-size: 14px; font-style: normal; line-height: 1; color: #9aa0a6; }
.chrome-newtab { align-self: center; margin-left: 14px; font-size: 18px; line-height: 1; color: #9aa0a6; }
.chrome-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 10px;
  border-bottom: 1px solid #2a2b2e;
  background: #35363a;
}
.chrome-icons { display: flex; align-items: center; gap: 12px; color: #c4c7c5; }
.chrome-icons svg,
.chrome-omnibox svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chrome-icons circle { fill: currentColor; stroke: none; }
.chrome-omnibox {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 10px 0 6px;
  border-radius: 14px;
  background: #202124;
  color: #9aa0a6;
  font-size: 12.5px;
}
.chrome-chip { padding: 2px 8px; border-radius: 10px; background: #3c4043; color: #e8eaed; font-size: 11.5px; }
.chrome-url { flex: 1; overflow: hidden; color: #e8eaed; white-space: nowrap; text-overflow: ellipsis; }
.chrome-profile {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8ab4f8;
  color: #202124;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
/* 장면 투어 (실제 프로그램 화면 1440×900 캡처) */
.tour .tour-stage {
  position: relative;
  aspect-ratio: 1440 / 900;
  overflow: hidden;
  background: #0a0a0a;
}
.tour-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 새 화면: 지금 화면 위에 겹쳐 서서히 나타남 (깜빡임 없이 교체) */
.tour-img.is-next { opacity: 0; transition: opacity .22s ease; }
.tour-img.is-next.is-shown { opacity: 1; }
/* 세로로 긴 이미지(인쇄 결과): 위에서 아래로 천천히 내려감 */
.tour-img.is-tall { height: auto; object-fit: fill; will-change: transform; }

/* 마우스처럼 따라다니는 포인트 */
.tour-pointer {
  position: absolute;
  z-index: 6;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--pearl-fill);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .95), 0 0 14px rgba(200, 170, 255, .7), 0 3px 10px rgba(0, 0, 0, .4);
  pointer-events: none;
  transition: left .4s cubic-bezier(.65, 0, .35, 1), top .4s cubic-bezier(.65, 0, .35, 1), opacity .22s ease;
}
.tour-pointer.is-off { opacity: 0; }
.tour-pointer::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(214, 196, 255, .9);
  animation: tour-pulse 1.6s ease-out infinite;
}
@keyframes tour-pulse {
  from { transform: scale(1); opacity: .6; }
  to { transform: scale(2.8); opacity: 0; }
}

/* 검정 툴팁 — 포인트가 멈춘 뒤 그 자리에서 나타남 */
.tour-bubble {
  position: absolute;
  z-index: 2;
  width: max-content;   /* 문구 줄 길이에 맞춤 */
  min-width: 240px;
  max-width: 340px;
  padding: 13px 15px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-m);
  background: var(--dark);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(6px) scale(.97);
  transform-origin: top left;
  transition: opacity .22s ease, transform .22s ease;
}
.tour-bubble.is-in { opacity: 1; transform: none; }
.tour-bubble-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: transparent;
  background: var(--pearl-text-dark);
  -webkit-background-clip: text;
  background-clip: text;
}
.tour-bubble-desc {
  margin-top: 7px;
  white-space: pre-line; /* 문구의 줄바꿈 그대로 */
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
}
.tour-bubble-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
}
.tour-bubble-foot strong {
  flex: 1;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .45);
}
.tour-bubble-prev { font-size: 12px; color: rgba(255, 255, 255, .45); }
.tour-bubble-prev:hover { color: #fff; }
.tour-bubble-next {
  height: 28px;
  padding: 0 11px;
  border-radius: var(--radius-s);
  font-size: 12.5px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .chrome-tab-indicator { transition: none; }
  .tour-pointer, .tour-bubble, .tour-cover, .tour-img.is-next { transition: none; }
  .tour-pointer::after { animation: none; }
}

/* 시작 · 마지막 카드 */
.tour-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity .22s ease;
}
.tour-cover.is-off { opacity: 0; pointer-events: none; }
.tour-card {
  width: 560px;
  padding: 30px 32px 24px;
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-float);
  text-align: center;
}
.tour-card-title { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.tour-stats { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.tour-stats > i { font-style: normal; color: var(--ink-3); }
.tour-stat {
  flex: 1;
  padding: 14px 8px 13px;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  background: var(--hanji);
}
.tour-stat b { display: block; font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.tour-stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.tour-stat.is-key { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--pearl-line) border-box; }
.tour-stat.is-key b { color: transparent; background: var(--pearl-text); -webkit-background-clip: text; background-clip: text; }
.tour-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-s);
  font-size: 13.5px;
  text-align: left;
}
.tour-person > i {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}
.tour-person span { flex: 1; color: var(--ink-2); }
.tour-person b { color: var(--ink); }
.tour-person em {
  flex: none;
  padding: 3px 8px;
  border-radius: var(--radius-s);
  background: var(--pearl-fill);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.tour-start { height: 50px; margin-top: 22px; padding: 0 26px; font-size: 16px; }
.tour-meta { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.tour-end .tour-card { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 36px 32px 28px; }
.tour-restart {
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tour-restart:hover { color: var(--ink); }

/* 넘기기 */
.tour-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 14px auto 0;
}
.tour-nav {
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;   /* 완전히 둥근 동그라미 */
  background: #fff;
  font-size: 16px;
  transition: border-color .15s;
}
.tour-nav:hover:not(:disabled) { border-color: var(--ink-3); }
.tour-nav:disabled { opacity: .4; cursor: default; }
.tour-progress {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--hanji-2);
}
.tour-count {
  min-width: 52px;
  text-align: right;
  font: 13px ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink-3);
}
.tour-progress i { display: block; width: 0; height: 100%; background: var(--pearl-line); transition: width .3s; }

/* ---------- 7-2. 블랙프라이데이 — 일년에 단 한번 ----------
   검정 바탕 + 테두리만 있는 BLACK FRIDAY 무늬, 양 끝 모서리를 지나가는 자개 띠지(글씨가 흘러감),
   가운데 제목 · 가격 · 디지털 시계(위쪽만 빛나는 큰 원 = 지평선) */
@font-face {   /* 디지털 시계 숫자 (7세그먼트, 굵은 기울임) */
  font-family: "DSEG7";
  src: url("https://cdn.jsdelivr.net/npm/dseg@0.46.0/fonts/DSEG7-Classic/DSEG7Classic-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
.bf {
  position: relative;
  overflow: hidden;
  padding: 168px 0 156px;   /* 위아래 띠지(46px) 자리만큼 더 */
  color: #fff;
  text-align: center;
  background: #000;
}
/* 쌓는 순서: 바탕(검정 · 무늬) < 대각선 띠지(1) < 위아래 띠지(2) < 글 · 선물 · 시계 같은 개체들(3) */
.bf .container { position: relative; z-index: 3; }

/* 뒤 무늬: 세리프 이탤릭 BLACK FRIDAY 테두리 글자 줄 */
.bf-pattern {   /* 섹션 위부터 고르게 깔리다가, 선물 02 즈음부터 검정으로 스르르 사라짐 (--fade-at: main.js가 선물 02 위치로 정함) */
  position: absolute;
  inset: -10px 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--fade-at, 2200px) - 160px), transparent calc(var(--fade-at, 2200px) + 420px));
  mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--fade-at, 2200px) - 160px), transparent calc(var(--fade-at, 2200px) + 420px));
  display: flex;
  flex-direction: column;
  gap: 34px;
  overflow: hidden;
  align-items: center;
  pointer-events: none;
}
.bf-pattern p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 128px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .09);
}
.bf-pattern p:nth-child(even) { translate: -120px 0; }

/* 대각선 띠지: 자개 바탕에 검정 글씨가 계속 흘러감 (위는 왼쪽으로, 아래는 오른쪽으로).
   기울기 8° · 1500px 길이로 한 끝은 화면 옆으로, 다른 끝은 위 · 아래 띠지 밑으로 빠져서 잘린 끝이 안 보임.
   위 띠지: 왼쪽 화면 밖(약 200px 높이)에서 완만하게 올라가 x≈960px부터 위 띠지 밑으로 / 아래 띠지: 그 반대 */
.bf-tape {
  position: absolute;
  z-index: 1;
  width: 1500px;
  height: 50px;
  overflow: hidden;
  background: var(--pearl-fill);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .35);
  translate: -50% -50%;   /* top · left = 띠지 한가운데 자리 */
  rotate: -8deg;
}
.bf-tape.is-top { top: 100px; left: 575px; }
.bf-tape.is-bottom { top: calc(100% - 100px); left: calc(100% - 575px); }
.bf-tape-track { display: flex; width: max-content; height: 100%; align-items: center; animation: bf-tape 26s linear infinite; }
.bf-tape.is-bottom .bf-tape-track { animation-direction: reverse; }
.bf-tape-track span { font-size: 22px; font-weight: 900; letter-spacing: .01em; white-space: nowrap; color: var(--ink); }
@keyframes bf-tape { to { translate: -50% 0; } }

/* 섹션 시작 · 끝 띠지: 화면 폭 전체, 자개 바탕에 검정 글씨가 끝없이 흘러감 */
.bf-band {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  height: 46px;
  overflow: hidden;
  background: var(--pearl-fill);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .5);
}
.bf-band.is-start { top: 0; }
.bf-band.is-end { bottom: 0; }
.bf-band-track { display: flex; width: max-content; height: 100%; align-items: center; animation: bf-tape 40s linear infinite; }
.bf-band.is-end .bf-band-track { animation-direction: reverse; }
.bf-band-track span { font-size: 18px; font-weight: 900; letter-spacing: .02em; white-space: nowrap; color: var(--ink); }
.bf-band-track i { margin: 0 22px; font-size: 14px; font-style: normal; color: var(--accent); }
/* 블프 섹션이 페이지 맨 위일 때(점마Pro · 블랙프라이데이 페이지): 위 띠지 · 대각선 띠지를 떠 있는 메뉴바 아래로 내림 */
main > .bf:first-child { padding-top: 256px; }
main > .bf:first-child .bf-band.is-start { top: 88px; }
main > .bf:first-child .bf-tape.is-top { top: 215px; }   /* 대각선 띠지 오른쪽 끝이 위 띠지 밑으로 숨게 */

/* 제목: 일년에 단 한번 (+ 자개 스티커) / BLACK(테두리) FRIDAY(자개 글씨) */
.bf-title { display: grid; justify-items: center; gap: 4px; }
.bf-once { position: relative; font-size: 60px; font-weight: 900; line-height: 1.2; letter-spacing: -0.04em; }
.bf-sticker {
  position: absolute;
  top: -30px;
  right: -70px;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  clip-path: polygon(50.0% 0.0%, 56.6% 8.5%, 65.5% 2.4%, 69.1% 12.6%, 79.4% 9.5%, 79.7% 20.3%, 90.5% 20.6%, 87.4% 30.9%, 97.6% 34.5%, 91.5% 43.4%, 100.0% 50.0%, 91.5% 56.6%, 97.6% 65.5%, 87.4% 69.1%, 90.5% 79.4%, 79.7% 79.7%, 79.4% 90.5%, 69.1% 87.4%, 65.5% 97.6%, 56.6% 91.5%, 50.0% 100.0%, 43.4% 91.5%, 34.5% 97.6%, 30.9% 87.4%, 20.6% 90.5%, 20.3% 79.7%, 9.5% 79.4%, 12.6% 69.1%, 2.4% 65.5%, 8.5% 56.6%, 0.0% 50.0%, 8.5% 43.4%, 2.4% 34.5%, 12.6% 30.9%, 9.5% 20.6%, 20.3% 20.3%, 20.6% 9.5%, 30.9% 12.6%, 34.5% 2.4%, 43.4% 8.5%);
  background: var(--pearl-fill);
  color: var(--ink);
  font-size: 30px;
  font-style: normal;
  font-weight: 900;
  rotate: 14deg;
  animation: bf-sticker 3.2s ease-in-out infinite;
}
@keyframes bf-sticker { 0%, 100% { rotate: 14deg; scale: 1; } 50% { rotate: 2deg; scale: 1.06; } }
.bf-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 96px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.bf-name .is-line { color: transparent; -webkit-text-stroke: 2px var(--accent-on-dark); }
.bf-name .is-fill { padding-right: .08em; color: transparent; background: var(--pearl-text-dark); -webkit-background-clip: text; background-clip: text; }

/* 블랙프라이데이 특별 혜택 — 선물 꾸러미 2종 (BLACK FRIDAY 큰 글자 바로 아래에서 시작) */
.bf-gifts { margin-top: 88px; }
.bf-mark { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.bf-mark span { padding: 0 6px; color: var(--ink); background: var(--pearl-fill); }   /* 형광펜처럼 자개 띠 */
.bf-gift-title { margin-top: 14px; font-size: 44px; font-weight: 900; line-height: 1.3; letter-spacing: -0.04em; }
.bf-gift-title [data-placeholder] { color: transparent; background: var(--pearl-text-dark); -webkit-background-clip: text; background-clip: text; }
.bf-boxes { position: relative; display: flex; justify-content: center; gap: 4px; margin-top: 36px; }   /* 두 상자 윤곽 사이 약 11px — 닿지 않을 만큼만 */
.bf-box { display: grid; justify-items: center; gap: 6px; animation: bf-bob 3.6s ease-in-out infinite; }
.bf-box.is-2 { animation-delay: -1.8s; }
/* 자개 선물 상자 그림 (1: 검은 자개 · 2: 흰 자개) — 검정 바탕에서 묻히지 않게 뒤로 은은한 자개빛 */
.bf-box-img {
  width: 230px;
  height: auto;
  filter: drop-shadow(0 0 26px rgba(200, 185, 255, .32)) drop-shadow(0 16px 22px rgba(0, 0, 0, .55));
}
/* 서로 안쪽으로 기울여 엇갈린(크로스) 느낌 + 2번은 조금 아래로 */
.bf-box.is-1 .bf-box-img { rotate: 10deg; }
.bf-box.is-2 { margin-top: 40px; }
.bf-box.is-2 .bf-box-img { rotate: -10deg; }
.bf-box figcaption { font-size: 18px; font-weight: 800; color: rgba(255, 255, 255, .85); }
@keyframes bf-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.bf-spark {   /* 반짝이: 자개 별 */
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--pearl-fill);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: bf-twinkle 2.4s ease-in-out infinite;
}
.bf-spark { z-index: 1; }
.bf-spark.is-a { top: 0; left: 138px; }
.bf-spark.is-b { top: 44px; right: 122px; width: 34px; height: 34px; animation-delay: -.8s; }
.bf-spark.is-c { bottom: 46px; left: 150px; width: 18px; height: 18px; animation-delay: -1.6s; }
@keyframes bf-twinkle { 0%, 100% { scale: .7; opacity: .6; } 50% { scale: 1.1; opacity: 1; } }

/* 선물 01 · 02: 제목 + 위에 빛줄기 달린 자개 판 + 흰 카드 3×2 */
.bf-gift { margin-top: 120px; }
.bf-gift-pill { display: inline-block; padding: 9px 20px; border-radius: 999px; font-size: 16px; font-weight: 800; }
.bf-gift.is-1 .bf-gift-pill { background: #0c1321; box-shadow: inset 0 0 0 1px rgba(166, 179, 202, .45); color: #dfe7ff; }
.bf-gift.is-2 .bf-gift-pill { background: #f5f1ea; box-shadow: inset 0 0 0 1px #d6c9bf; color: #63564c; }
.bf-gift-lead { margin-top: 18px; font-size: 24px; font-weight: 600; color: rgba(255, 255, 255, .85); letter-spacing: -0.03em; }
.bf-gift-name { margin-top: 6px; font-size: 40px; font-weight: 900; letter-spacing: -0.04em; }
.bf-items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 92px;   /* 빛줄기 자리 */
  padding: 22px 12px 14px;
  border-radius: var(--radius-m);
  /* 선물 01 = 검은 자개 상자: 남색 옻칠 바탕 + 위에 자개 무지갯빛 띠 */
  background: linear-gradient(90deg, #c9b8ff, #9fe3ff 50%, #ffc4dc) top / 100% 8px no-repeat, linear-gradient(160deg, #1c2540, #0c1321);
  box-shadow: inset 0 0 0 1px rgba(166, 179, 202, .22);
  text-align: center;
  color: var(--ink);
}
/* 선물 02 = 흰 자개 상자: 상아색 바탕 + 파스텔 자개 띠 */
.bf-gift.is-2 .bf-items { background: linear-gradient(90deg, #ecc9d7, #cfe7e0 50%, #efdcc0) top / 100% 8px no-repeat, linear-gradient(160deg, #f8f4ee, #ebe2d8); box-shadow: none; }
.bf-gift.is-2 .bf-items li { box-shadow: 0 4px 14px rgba(125, 112, 103, .12), inset 0 0 0 1px #eee6dc; }
.bf-items::before {   /* 판 위 가운데 빛줄기 — 판 뒤에 깔려서 아래 끝이 자개 띠 밑으로 숨음 */
  content: "";
  position: absolute;
  z-index: -1;
  bottom: calc(100% - 12px);
  left: 50%;
  width: 120px;
  height: 60px;
  translate: -50% 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cg stroke='%23a6b3ca' stroke-width='9' stroke-linecap='butt'%3E%3Cpath d='M60 58V4M60 58L36 10M60 58L84 10M60 58L14 30M60 58L106 30'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.bf-gift.is-2 .bf-items::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cg stroke='%23d6c9bf' stroke-width='9' stroke-linecap='butt'%3E%3Cpath d='M60 58V4M60 58L36 10M60 58L84 10M60 58L14 30M60 58L106 30'/%3E%3C/g%3E%3C/svg%3E"); }
.bf-items li {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 16px 14px 0;
  border-radius: var(--radius-l);
  background: #fff;
}
.bf-items p { font-size: 13px; color: var(--ink-2); }
.bf-items h4 { font-size: 17px; font-weight: 900; letter-spacing: -0.03em; }
.bf-items h4 + p { margin-top: 4px; }
.bf-items img { display: block; width: 100%; margin-top: 14px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px 6px 0 0; }

/* 선물 카드 공통: 그림(책 표지 · 노션 · 프롬프트)이 카드 아래로 살짝 잘려 나가도록 아래 정렬 */
.bf-items li > .bf-book,
.bf-items h4 { word-break: keep-all; }

/* 선물 01 책 표지 그림 (실제 표지 이미지가 생기면 img로 바꿔 넣기) — 남색 옻칠 + 자개빛 글씨, 책등 */
.bf-book {
  --tint: #c9b8ff;
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 6px;
  width: 132px;
  height: 168px;
  margin-bottom: -40px;
  padding: 20px 14px 0 24px;
  border-radius: 3px 10px 10px 3px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .4) 0 8px, rgba(255, 255, 255, .14) 8px 10px, transparent 10px),
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--tint) 38%, transparent), transparent 62%),
    linear-gradient(160deg, #24305a, #0c1321);
  box-shadow: 0 14px 26px rgba(12, 19, 33, .35), inset 0 0 0 1px rgba(166, 179, 202, .28);
  rotate: -5deg;
  text-align: left;
}
.bf-items li > .bf-book { margin-top: 18px; translate: 0 18px; }
.bf-book small { font-size: 10px; font-weight: 700; letter-spacing: .02em; color: rgba(223, 231, 255, .7); }
.bf-book b { font-size: 21px; font-weight: 900; line-height: 1.2; letter-spacing: -0.04em; color: transparent; background: linear-gradient(100deg, #efe2ff, #b9ecff 55%, #ffd9ea); -webkit-background-clip: text; background-clip: text; }
.bf-book em { position: absolute; top: 18px; right: 12px; padding: 2px 6px; border-radius: 4px; background: var(--tint); color: #0c1321; font-size: 10px; font-style: normal; font-weight: 900; }
.bf-gift.is-1 .bf-items li { padding-top: 22px; }   /* 글씨 바로 아래 책 (빈칸 없이) */

.bf-plug { flex: none; width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: linear-gradient(160deg, #f5f1ea, #e3d7cc); fill: none; stroke: #63564c; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 선물 02: 왼쪽 카드 4개(프롬프트 3종 + 사주 플러그인) · 오른쪽 휴대폰 속 대화 */
.bf-items.bf-g2 { grid-template-columns: 1fr 290px; gap: 18px; padding: 30px 22px 22px; }
.g2-list { display: grid; grid-template-rows: repeat(4, 1fr); gap: 10px; }
.bf-g2 .g2-list li {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  text-align: left;
  transition: box-shadow .35s ease, background-color .35s ease;
}
.bf-g2 .g2-list li.is-on { background: #fffdf9; box-shadow: 0 8px 22px rgba(125, 112, 103, .2), inset 0 0 0 2px #a8998c; }   /* 지금 휴대폰에서 쓰는 것 */
.bf-g2 h4 { font-size: 18px; }
.g2-list p b { padding: 1px 6px; border-radius: 6px; background: #f3eee7; color: #63564c; font-weight: 800; }
.g2-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 45%, #fff), var(--tint));
  color: #63564c;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
}
.bf-g2 .bf-plug { width: 52px; height: 52px; padding: 13px; border-radius: 14px; }

/* 카드 오른쪽 빈자리에 뜨는 프롬프트 목록 10개 → 스크롤 → 복제 아이콘 (main.js) */
.bf-g2 .g2-list li > div:not(.g2-plist) { flex: none; }
.g2-plist {
  position: relative;
  flex: 1;
  align-self: stretch;
  min-width: 0;
  contain: size;   /* 목록 10줄 높이가 카드 높이를 늘리지 않게 — 카드 높이에 맞춰 보이는 만큼만 */
  margin: -6px -8px -6px 6px;
  overflow: hidden;
  border-radius: 12px;
  background: #faf6f0;
  box-shadow: inset 0 0 0 1px #eee6dc;
  opacity: 0;
  translate: 14px 0;
  transition: opacity .35s ease, translate .35s ease;
}
.g2-list li.is-list .g2-plist { opacity: 1; translate: 0 0; }
.g2-plist ol { list-style: none; transition: translate .8s cubic-bezier(.45, .05, .25, 1); }
.bf-gift.is-2 .g2-list .g2-plist li {   /* 바깥 카드 스타일이 섞이지 않게 */
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 10px;
  border-bottom: 1px solid #f1ebe4;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.bf-gift.is-2 .g2-list .g2-plist li.is-picked { background: #fff; }
.g2-plist i { flex: none; width: 16px; font-size: 10px; font-style: normal; font-weight: 900; color: #a8998c; }
.g2-plist .ph-pl { flex: 1; display: grid; gap: 4px; }
.g2-plist s { display: block; width: var(--w); height: 6px; border-radius: 99px; background: #ece4da; text-decoration: none; }
.g2-plist s:first-child { background: #d9ccbf; }
.g2-plist .ph-copy { scale: .86; }
.g2-copied { position: absolute; right: 8px; bottom: 7px; padding: 4px 9px; border-radius: 99px; background: #18171c; color: #fff; font-size: 10.5px; font-weight: 700; opacity: 0; translate: 0 4px; transition: opacity .25s, translate .25s; }
.g2-copied.is-on { opacity: 1; translate: 0 0; }

/* 휴대폰: 티타늄 테 + 검은 베젤 + 다이내믹 아일랜드 + 옆 버튼 + 홈 막대 */
.g2-phone {
  position: relative;
  align-self: center;
  height: 600px;
  padding: 3px;
  border-radius: 50px;
  background: linear-gradient(145deg, #4a4752, #1c1b21 40%, #34323a 70%, #18171c);   /* 금속 테 */
  box-shadow: 0 28px 56px rgba(99, 86, 76, .38), 0 6px 14px rgba(0, 0, 0, .18);
}
.g2-phone::before,
.g2-phone::after {   /* 옆 버튼: 왼쪽 음량 2개 · 오른쪽 전원 */
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #3a3840;
}
.g2-phone::before { top: 118px; left: -3px; height: 96px; box-shadow: 0 0 0 0 #3a3840; background: linear-gradient(#3a3840 0 40px, transparent 40px 56px, #3a3840 56px); }
.g2-phone::after { top: 150px; right: -3px; height: 70px; }
.ph-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 7px solid #0b0b0d;   /* 베젤 */
  border-radius: 47px;
  background: #fff;
  text-align: left;
}
.ph-island { position: absolute; z-index: 3; top: 9px; left: 50%; width: 82px; height: 24px; translate: -50% 0; border-radius: 99px; background: #0b0b0d; }
.ph-status { display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 4px 24px 0 28px; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.ph-icons { display: flex; align-items: center; gap: 5px; }
.ph-icons svg { width: 16px; height: 11px; fill: var(--ink); }
.ph-batt { position: relative; width: 23px; height: 11px; border-radius: 3.5px; box-shadow: inset 0 0 0 1px rgba(24, 23, 28, .45); }
.ph-batt::before { content: ""; position: absolute; inset: 2px 5px 2px 2px; border-radius: 1.5px; background: var(--ink); }
.ph-batt::after { content: ""; position: absolute; top: 3.5px; right: -2.5px; width: 1.5px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(24, 23, 28, .45); }

/* 채팅 앱 윗줄: 뒤로 · AI 로고 4개 겹침 · 채팅 · 더보기 */
/* 왼쪽 뒤로 · 가운데 AI 로고 · 오른쪽 더보기 */
.ph-head { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; padding: 8px 14px 10px; border-bottom: 1px solid #f1ebe4; font-size: 15px; }
.ph-title { display: flex; justify-content: center; align-items: center; gap: 8px; }
.ph-head b { font-weight: 800; }
.ph-back { width: 9px; height: 9px; margin-right: 2px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); rotate: 45deg; }
.ph-logos { display: flex; }
.ph-logos img {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #ebe4dc, 0 2px 6px rgba(0, 0, 0, .1);
}
.ph-logos img + img { margin-left: -8px; }
.ph-dots-more { justify-self: center; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); box-shadow: -7px 0 0 var(--ink), 7px 0 0 var(--ink); }
.ph-home { position: absolute; bottom: 7px; left: 50%; width: 110px; height: 4px; translate: -50% 0; border-radius: 99px; background: #18171c; }

.ph-chat { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; padding: 12px; transition: opacity .3s; }
.ph-chat.is-clearing { opacity: 0; }
.ph-msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 12px; line-height: 1.55; animation: ph-in .3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ph-in { from { opacity: 0; translate: 0 8px; } }
.ph-msg.is-me { align-self: flex-end; border-bottom-right-radius: 4px; background: #18171c; color: #fff; }
.ph-msg.is-ai { align-self: flex-start; width: 90%; border-bottom-left-radius: 4px; background: #f3eee7; color: var(--ink); }
.ph-msg.is-ai small { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 800; color: #7d7067; }
.ph-msg.is-dots { width: auto; display: flex; gap: 4px; padding: 12px 14px; }
.ph-msg.is-dots i { width: 6px; height: 6px; border-radius: 50%; background: #a8998c; animation: ph-dot 1s ease-in-out infinite; }
.ph-msg.is-dots i:nth-child(2) { animation-delay: .15s; }
.ph-msg.is-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ph-dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }
.ph-sub { display: block; margin-top: 11px; font-size: 11.5px; font-weight: 800; color: var(--ink); }   /* 답변 속 소제목 */
.ph-sk { display: block; width: var(--w); height: 7px; margin-top: 7px; border-radius: 99px; background: #e3d7cc; animation: ph-grow .45s ease-out both; transform-origin: left; }
@keyframes ph-grow { from { scale: 0 1; } }
.ph-chip { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 99px; background: var(--pearl-fill); color: var(--ink); font-size: 11px; font-weight: 800; }

.ph-copy { position: relative; flex: none; width: 28px; height: 28px; border-radius: 8px; background: #f3eee7; }
.ph-copy::before,
.ph-copy::after {   /* 복제 아이콘: 겹친 네모 두 개 */
  content: "";
  position: absolute;
  width: 9px;
  height: 11px;
  border: 1.6px solid #63564c;
  border-radius: 2.5px;
}
.ph-copy::before { top: 6px; left: 7px; }
.ph-copy::after { top: 9px; left: 10px; background: #f3eee7; }
.ph-copy.is-done { background: #18171c; }
.ph-copy.is-done::before { top: 8px; left: 9px; width: 10px; height: 6px; border: 0; border-bottom: 2px solid #fff; border-left: 2px solid #fff; border-radius: 0; rotate: -45deg; background: none; }
.ph-copy.is-done::after { display: none; }
/* 붙여넣기 말풍선 (입력창 위) · 손가락 누름 표시(선물 02 판 기준 자리) */
.ph-paste { position: absolute; z-index: 2; bottom: 74px; left: 22px; padding: 7px 12px; border-radius: 9px; background: #18171c; color: #fff; font-size: 11.5px; font-weight: 700; opacity: 0; scale: .9; transition: opacity .2s, scale .2s; }
.ph-paste::after { content: ""; position: absolute; top: 100%; left: 18px; border: 5px solid transparent; border-top-color: #18171c; }
.ph-paste.is-on { opacity: 1; scale: 1; }
.g2-tap { position: absolute; z-index: 5; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(24, 23, 28, .22); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); opacity: 0; pointer-events: none; }
.g2-tap.is-on { animation: ph-tap .4s ease-out; }
@keyframes ph-tap { 0% { opacity: 0; scale: .5; } 30% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.25; } }
.ph-msg.is-me .ph-sk { background: rgba(255, 255, 255, .28); }   /* 붙여 넣은 긴 프롬프트 본문 */

/* '/' 를 치면 뜨는 플러그인 목록 */
.ph-menu {
  position: absolute;
  right: 12px;
  bottom: 74px;
  left: 12px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16), inset 0 0 0 1px #f1ebe4;
  opacity: 0;
  translate: 0 8px;
  transition: opacity .25s ease, translate .25s ease;
  pointer-events: none;
}
.ph-menu.is-on { opacity: 1; translate: 0 0; }
.ph-menu p { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; font-size: 12px; transition: background-color .2s; }
.ph-menu b { font-weight: 800; }
.ph-menu span { color: var(--ink-3); }
.ph-menu.is-pick p { background: #f3eee7; }

/* 입력창 */
.ph-input { display: flex; align-items: center; gap: 6px; height: 44px; margin: 0 10px 22px; padding: 0 6px 0 12px; border-radius: 22px; background: #f3eee7; font-size: 12px; }
.ph-input .ph-chip { display: none; flex: none; }
.ph-input.has-chip .ph-chip { display: inline-flex; }
.ph-text { display: flex; flex: 0 1 auto; justify-content: flex-end; min-width: 0; overflow: hidden; white-space: nowrap; }   /* 길어지면 앞부분이 밀려나고 끝(방금 친 글자)이 보임 */
.ph-caret { flex: none; width: 1.5px; height: 15px; background: var(--ink); animation: ph-caret 1s steps(1) infinite; }
@keyframes ph-caret { 50% { opacity: 0; } }
.ph-send { flex: none; width: 30px; height: 30px; margin-left: auto; border-radius: 50%; background: #18171c; transition: scale .15s; }
.ph-send::before { content: ""; display: block; width: 8px; height: 8px; margin: 12px auto 0; border-top: 2px solid #fff; border-left: 2px solid #fff; rotate: 45deg; }
.ph-input.is-send .ph-send { scale: .85; }

/* 디지털 시계: 위쪽 테두리만 빛나는 큰 검정 원(지평선) 아래에 자개빛 숫자 */
.bf-timer { position: relative; margin-top: 150px; padding-top: 76px; }
.bf-timer::before {   /* 지름 760px 검정 원 + 빛나는 테두리. 원 꼭대기(120px)를 중심으로 한 납작한 타원만 보이고 나머지는 스르르 사라짐 */
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px;
  left: 50%;
  width: 920px;
  height: 480px;
  translate: -50% 0;
  background: radial-gradient(circle 450px at 50% 500px,
    #000 0 378px,
    rgba(255, 255, 255, .7) 380px,
    rgba(205, 190, 255, .45) 385px,
    rgba(160, 215, 255, .16) 404px,
    transparent 450px);
  -webkit-mask-image: radial-gradient(340px 105px at 50% 120px, #000 40%, transparent 100%);
  mask-image: radial-gradient(340px 105px at 50% 120px, #000 40%, transparent 100%);
}
.bf-timer::after {   /* 원 꼭대기에서 사방으로 퍼지는 은은한 빛 — 가장자리까지 투명해져서 경계선이 생기지 않음 (천천히 숨 쉬듯) */
  content: "";
  position: absolute;
  z-index: -2;
  top: -150px;
  left: 50%;
  width: 820px;
  height: 300px;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(205, 190, 255, .26), rgba(160, 215, 255, .09) 55%, transparent);
  animation: bf-glow 3.4s ease-in-out infinite alternate;
}
@keyframes bf-glow { from { opacity: .55; } to { opacity: 1; } }
.bf-clock { display: inline-flex; align-items: flex-start; gap: 10px; }
.bf-unit { display: grid; justify-items: center; gap: 18px; }
.bf-unit b,
.bf-clock > i {
  font-family: "DSEG7", ui-monospace, monospace;
  font-size: 88px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  background: linear-gradient(100deg, #efe2ff 0%, #b9ecff 55%, #ffd9ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(200, 185, 255, .6)) drop-shadow(0 0 2px rgba(255, 255, 255, .35));
}
.bf-clock > i { font-size: 74px; }
.bf-digits { position: relative; display: block; }
.bf-digits em {   /* 꺼진 칸: 모든 칸이 켜진 88을 아주 흐리게 깔아 둠 */
  position: absolute;
  inset: 0;
  font-family: "DSEG7", ui-monospace, monospace;
  font-size: 88px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  color: rgba(220, 210, 255, .045);
}
.bf-digits b { position: relative; display: block; }
.bf-unit small { font-size: 14px; font-weight: 700; letter-spacing: .22em; color: rgba(255, 255, 255, .6); }
.bf-cta { margin-top: 40px; }
.bf-timer.is-top { margin-top: 44px; padding-top: 0; isolation: isolate; }   /* 제목 밑 타임어택: 지평선 원 없이 숫자만 */
.bf-timer.is-top::before {   /* 뒤 무늬 글씨가 숫자에 겹쳐 보이지 않게, 시계 자리만 어둡게 — 가장자리는 스르르 풀려서 경계가 안 보여요 */
  content: "";
  position: absolute;
  inset: -48px -96px;
  z-index: -1;
  width: auto;
  height: auto;
  translate: none;
  -webkit-mask-image: none;
  mask-image: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .9) 52%, rgba(0, 0, 0, .55) 78%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.bf-timer.is-top::after { content: none; }
@media (prefers-reduced-motion: reduce) {
  .bf-tape-track, .bf-band-track, .bf-sticker, .bf-timer::after, .bf-box, .bf-spark, .ph-caret, .ph-msg, .ph-sk { animation: none; }
}

/* ---------- 8. 후기: 쏟아지는 키워드 + 후기 카드 3×2 ---------- */
.reviews { position: relative; overflow: hidden; }
.reviews > .container { position: relative; z-index: 1; }

/* 키워드 칩 더미 (전체 기능 섹션: 제목과 기능 카드 사이) */
.chip-pile {
  position: relative;
  height: 230px;
  margin: -4px auto 36px;
}
.chip-pile::after {   /* 바닥 그림자 */
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -10px;
  height: 22px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(40, 32, 70, .14), transparent 70%);
}
.chip {
  position: absolute;
  left: var(--x);
  bottom: var(--y);
  z-index: 1;
  padding: 7px 15px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: translateX(-50%) rotate(var(--r));
  box-shadow: 0 6px 14px rgba(40, 32, 70, .14);
}
.chip-l { font-size: 15px; padding: 9px 17px; }
.chip-m { font-size: 13.5px; }
.chip-s { font-size: 12px; padding: 6px 12px; border-radius: 8px; }
.chip-p { background: var(--pearl-fill); color: var(--ink); border: 1.5px solid var(--ink); }
.chip-d { background: var(--dark); color: #fff; border: 1.5px solid var(--dark); }
.chip-d { color: var(--accent-on-dark); }
.chip-w { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
/* 와르르 떨어지는 움직임 (화면에 들어오면 한 번) */
.js-reveal .chip-pile .chip { opacity: 0; }
.chip-pile.is-drop .chip { animation: chip-drop 1s cubic-bezier(.25, .8, .35, 1) var(--d) both; }
@keyframes chip-drop {
  0% { opacity: 0; transform: translateX(-50%) translateY(-420px) rotate(var(--r0)); }
  12% { opacity: 1; }
  62% { transform: translateX(-50%) translateY(0) rotate(var(--r)); }
  76% { transform: translateX(-50%) translateY(-14px) rotate(calc(var(--r) * .7)); }
  88% { transform: translateX(-50%) translateY(0) rotate(var(--r)); }
  94% { transform: translateX(-50%) translateY(-3px) rotate(var(--r)); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) rotate(var(--r)); }
}
/* 물리 낙하 (main.js + Matter.js): 칩마다 따로 상자 위쪽에서 들어와 떨어지고, 서로 부딪히며 와르르 쌓임.
   자리 · 기울기는 main.js가 매 프레임 transform으로 정함 (위의 --x/--y/--r 자리는 엔진이 없을 때만 씀) */
.chip-pile.is-physics { height: 300px; margin-top: -36px; overflow: hidden; }
.chip-pile.is-physics::after { bottom: 2px; }
.chip-pile.is-physics .chip {
  left: 0;
  top: 0;
  bottom: auto;
  opacity: 1;
  visibility: hidden;   /* 떨어지기 시작할 때 보임 */
  animation: none;
  transform: none;
  will-change: transform;
}

/* 후기 카드 */
.rc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rc {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  border: 1px solid var(--box-line);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.rc-q {
  height: 30px;
  font-size: 52px;
  font-weight: 900;
  line-height: .9;
  color: transparent;
  background: var(--pearl-text);
  -webkit-background-clip: text;
  background-clip: text;
}
/* 카드 위 사진: 카드 위 · 양옆 끝까지 꽉 채움 (위 모서리는 카드 둥글기를 따라 잘림, 아래는 직선).
   4:3으로 얼굴이 보이게 위쪽 기준 자르기. 따옴표는 사진 아래 글 영역 맨 위에 */
.rc:has(.rc-photo) { overflow: hidden; }
.rc-photo { margin: -22px -20px 0; }
.rc-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  background: var(--surface-2);
}
.rc-photo + .rc-q { margin-top: 22px; }
.rc-title { margin-top: 12px; font-size: 18px; font-weight: 800; line-height: 1.5; letter-spacing: -0.03em; }
.rc-title mark { padding: 0 2px; color: inherit; background: linear-gradient(transparent 50%, #e4dafa 50%, #d6eefa 78%, #f6dde9); }
.rc-body {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.rc-more { align-self: flex-start; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rc-more:hover { color: var(--accent); }
.rc-foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
  font-size: 12.5px;
  color: var(--ink-3);
}
.rc-more + .rc-foot { margin-top: 16px; }
.rc-foot b { font-weight: 700; color: var(--ink); }
.rc-more-wrap { margin-top: 28px; text-align: center; }

/* 뒤 배경: 후기 캡처 띠 (흐리게, 위로 갈수록 사라짐) */
.rc-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  height: 360px;
  overflow: hidden;
  opacity: .5;
  filter: blur(3px) saturate(.6);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  pointer-events: none;
}
.rc-strip img { flex: none; width: 200px; height: 100%; object-fit: cover; border-radius: var(--radius-m); }

/* ---------- 9. 이런 상황이라면 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }   /* 3열 1행 */
.pain-card {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 26px;
  border-radius: var(--radius-l);
  background: var(--hanji);
}
.pain-visual { display: flex; flex-direction: column; gap: 8px; height: 224px; }
/* 작은 화면들의 높이를 카드끼리 맞춤: 마지막 화면이 남는 높이를 채움 */
.pain-visual > .mock:last-child { flex: 1; display: flex; flex-direction: column; }
.pain-visual .mock-empty { flex: 1; justify-content: center; }

/* 상황 카드 속 화면 움직임: 화면에 들어오면 한 번 (알림 · 메시지 · 문자가 차례로 도착) */
.js-reveal .pain-card .mock-noti,
.js-reveal .pain-card .mock-editor-head,
.js-reveal .pain-card .mock-tabs,
.js-reveal .pain-card .mock-empty,
.js-reveal .pain-card .mock-msg,
.js-reveal .pain-card .mock-bubble { opacity: 0; translate: 0 10px; }
.pain-grid.is-play .pain-card :is(.mock-noti, .mock-editor-head, .mock-tabs, .mock-empty, .mock-msg, .mock-bubble) {
  animation: mock-in .5s cubic-bezier(.2, .7, .2, 1) var(--md, 0s) both;
}
@keyframes mock-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.pain-grid.is-play .pain-card .mock-bubble.is-dim { animation-name: mock-in-dim; }
@keyframes mock-in-dim { from { opacity: 0; translate: 0 10px; } to { opacity: .5; translate: 0 0; } }
/* 계속 움직이는 작은 신호: 그래프 그리는 중 · 안 읽은 메시지 */
.mock-empty i { animation: mock-wait 1.6s ease-in-out infinite; }
@keyframes mock-wait { 50% { border-color: #b9b3c7; background: #f6f4fa; } }
.pain-grid.is-play .mock-msg em { animation: mock-in .5s ease var(--md, 0s) both, mock-blink 1.8s ease-in-out calc(var(--md, 0s) + .6s) infinite; }
@keyframes mock-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  .mock-empty i, .pain-grid.is-play .mock-msg em { animation: none; }
}
.pain-card > h3 {
  margin: 16px 6px 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -0.03em;
}
.pain-card > p { margin: 10px 6px 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }

/* 상황 카드 속 작은 화면들 (알림 · 문서 · 메시지 · 문자) */
.mock {
  padding: 11px 12px;
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: 0 1px 2px rgba(40, 32, 70, .04), 0 6px 18px rgba(40, 32, 70, .07);
  font-size: 11.5px;
  color: var(--ink-2);
  white-space: nowrap;
}
.mock.is-dim { margin: 0 6px; opacity: .55; box-shadow: none; }
.mock-noti { display: flex; align-items: flex-start; gap: 9px; }
.mock-noti > div { flex: 1; min-width: 0; }
.mock-app {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-s);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.mock-top { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-3); }
.mock-title,
.mock-sub { overflow: hidden; text-overflow: ellipsis; }
.mock-title { margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--ink); }
.mock-sub { margin-top: 1px; font-size: 11px; color: var(--ink-3); }
.mock-editor-head { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--ink); }
.mock-editor-head i { width: 14px; height: 14px; border-radius: 4px; background: #3d7be0; }
.mock-tabs { display: flex; gap: 12px; margin-top: 9px; border-bottom: 1px solid var(--line-2); font-size: 11px; color: var(--ink-3); }
.mock-tabs span { padding-bottom: 5px; }
.mock-tabs .on { color: #3d7be0; font-weight: 700; box-shadow: inset 0 -2px #3d7be0; }
.mock-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 0 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
}
.mock-empty i { width: 42px; height: 22px; border: 1.5px dashed var(--line); border-radius: 5px; }
.mock-list-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; color: var(--ink); }
.mock-list-head time { font-size: 10.5px; font-weight: 400; color: var(--ink-3); }
.mock-msg { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.mock-msg > i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c); }
.mock-msg > div { flex: 1; min-width: 0; line-height: 1.35; }
.mock-msg b { display: block; font-size: 10.5px; color: var(--ink); }
.mock-msg b small { font-size: 9.5px; font-weight: 400; color: var(--ink-3); }
.mock-msg span { display: block; overflow: hidden; font-size: 10.5px; text-overflow: ellipsis; }
.mock-msg em { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #3b82f6; }
.mock-sms-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.mock-sms-head i { width: 18px; height: 18px; border-radius: 50%; background: #dcd9e2; }
.mock-sms-when { margin: 6px 0 2px; font-size: 10px; color: var(--ink-3); text-align: center; }
.mock-bubble {
  overflow: hidden;
  margin-top: 5px;
  padding: 6px 9px;
  border-radius: var(--radius-s);
  background: #f3f1f5;
  font-size: 10.5px;
  text-overflow: ellipsis;
}
.mock-bubble b { color: var(--ink); }
.mock-bubble.is-dim { opacity: .5; }

/* ---------- 10. 왜 오래 걸리는지 ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-col { display: flex; flex-direction: column; padding: 32px 24px 28px; border-radius: var(--radius-l); }
.why-label { font-size: 13.5px; color: var(--ink-3); }
.why-label i { margin: 0 6px; font-style: normal; }
.why-col h3 { margin-top: 10px; font-size: 22px; font-weight: 800; line-height: 1.35; letter-spacing: -0.03em; }
.why-desc { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* 지금: 도구 따로따로 */
.why-before { background: #f9f9fa; }
.why-list {
  position: relative;
  flex: 1;   /* 오른쪽 기록 상자와 위아래 끝이 맞게 남는 높이를 채우고, 줄은 고르게 나눠요 */
  display: flex;
  flex-direction: column;
  margin-top: 22px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
}
.why-list li + li::after {   /* 점선: 위 동그라미 가운데에서 이 줄 동그라미 가운데까지 (줄 높이가 바뀌어도 이어져요) */
  content: "";
  position: absolute;
  left: 5px;
  bottom: 50%;
  height: 100%;
  border-left: 1px dashed #d9d5e0;
}
.why-list li {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 13px 0 13px 22px;
  font-size: 14px;
}
.why-list li::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border: 1px solid #d2cedb;
  border-radius: 50%;
  background: #fff;
}
.why-list b { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.why-list span { color: var(--ink); }
.why-list em { font-size: 13px; font-style: normal; font-weight: 700; color: var(--accent); }
.why-list em::before { content: "✕"; margin-right: 4px; }
.why-foot {
  margin-top: 14px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius-m);
  background: var(--pearl-fill);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.why-quote { margin-top: auto; padding-top: 16px; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.why-quote-who { font-size: 12.5px; color: var(--ink-3); }
.why-before .why-quote-who { margin-bottom: 4px; }

/* 점마Pro: 한곳에 */
.why-after {
  color: #fff;
  background: linear-gradient(160deg, #18161d 0%, #221f2b 55%, #2f2a3d 100%);
}
.why-after .why-label { color: rgba(255, 255, 255, .55); }
.why-after .why-desc { color: rgba(255, 255, 255, .7); }
.why-record {
  margin-top: 22px;
  padding: 18px 20px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, .06);
}
.why-record-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.why-record-head b { font-size: 15px; font-weight: 700; }
.why-record-head span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--pearl-fill);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
}
.why-flow { position: relative; margin-top: 10px; }
.why-flow::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: rgba(255, 255, 255, .14);
}
.why-flow li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .85);
}
.why-flow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: #7d7a88;
}
.why-flow li:last-child { font-weight: 800; color: #fff; }
.why-flow li:last-child::before { background: var(--pearl-fill); box-shadow: 0 0 0 4px rgba(214, 196, 255, .25), 0 0 16px rgba(190, 220, 255, .6); }
.why-quote.is-dark { display: flex; align-items: flex-start; gap: 12px; color: #fff; }
.why-quote.is-dark img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.why-quote.is-dark .why-quote-who { margin-top: 4px; color: rgba(255, 255, 255, .5); }

/* ---------- 11. 핵심 기능 4단계 ---------- */
.step-nav {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  z-index: 10;
  display: flex;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 28px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}
.step-nav a {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  transition: background-color .15s, color .15s;
}
.step-nav a b { margin-right: 8px; }
.step-nav a:hover { color: var(--ink); }
.step-nav a.is-active { background: var(--ink); color: #fff; }

.feature-list { display: grid; gap: 12px; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 28px;
  padding: 32px 28px;
  border-radius: var(--radius-l);
  background: var(--hanji);
  scroll-margin-top: calc(var(--header-h) + 100px);
}
.feature-eyebrow { font-size: 14px; font-weight: 700; color: transparent; background: var(--pearl-text); -webkit-background-clip: text; background-clip: text; }
.feature h3 {
  margin-top: 12px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.feature-text > p { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.feature-quote {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-float);
}
.feature-quote img { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.feature-quote p { font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.feature-quote .feature-quote-who { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }

/* 실제 화면 + '데모 속 그 손님' 표시 */
.feature-media {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-m);
  background: #f9f9fa;
  box-shadow: inset 0 0 0 1px var(--box-line);   /* 카드와 같은 바탕이라 얇은 선으로 구분 */
}
.feature-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-s);
  background: #0a0a0a;
  box-shadow: var(--shadow-float);
}
.feature-badge {
  position: absolute;
  top: -14px;
  left: -14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: 0 10px 28px rgba(40, 32, 70, .16);
}
.feature-badge i {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pearl-fill);
  color: var(--ink);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}
.feature-badge span { display: flex; flex-direction: column; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.feature-badge small { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }

/* ---------- 12. 결과지 인쇄 ---------- */
.sheet-box {   /* 둘러싸는 상자 없이: 왼쪽 선택 버튼 + 오른쪽 예시 사진 (높이 같게) */
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 30px;   /* 사진 아래 설명 자리 */
}
.sheet-switch { display: flex; flex-direction: column; gap: 10px; }
.sheet-switch .sheet-option { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; }   /* 두 버튼이 사진 높이를 반씩 */
.sheet-preview .demo-panel { position: relative; }
.sheet-option {
  padding: 22px 24px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-l);   /* 이제 섹션의 바깥 박스 → 24 */
  background: #fff;
  text-align: left;
  transition: border-color .15s, background-color .15s;
}
.sheet-option:hover { border-color: var(--ink-3); }
/* 제목 위 추천 표시 */
.sheet-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.sheet-option.is-active .sheet-tag { background: var(--pearl-fill); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }   /* 고른 쪽은 자개 */
.sheet-option strong { display: block; font-size: 18px; font-weight: 800; }
.sheet-option small { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.sheet-option.is-active { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--pearl-line) border-box; }
.sheet-option.is-active strong { color: transparent; background: var(--pearl-text); -webkit-background-clip: text; background-clip: text; }
.sheet-img {
  width: 100%;
  aspect-ratio: 1284 / 802;
  border-radius: var(--radius-l);
  background: #fff;   /* 예시 사진 바탕: 흰색 */
}
.sheet-caption { position: absolute; top: 100%; left: 0; right: 0; margin-top: 12px; font-size: 13px; color: var(--ink-3); text-align: center; }   /* 높이 계산에서 빼서 사진 높이 = 버튼 높이 */

/* ---------- 13. 시작 방법 — 스크롤하면 오른쪽 화면이 바뀜 (어두운 섹션) ---------- */
.start {
  color: #fff;
  /* 맨 아래: 구름 산수화 바탕(bg-dark.webp, 화면에 고정) → 그 위: 원래 어두운 바탕을 80% 불투명으로 → 맨 위: 은은한 빛 */
  background: #000;
  position: relative; isolation: isolate; clip-path: inset(0);   /* 아래 고정 바탕 그림(::before)을 이 섹션 안에서만 보이게 */
}
/* 성능: 'background-attachment: fixed'는 스크롤할 때마다 큰 그림을 다시 그려서 끊겨요 → 화면에 고정된 레이어로 같은 모습 */
.start::before { content: ""; position: fixed; inset: 0; z-index: -2; background: url("../img/bg-dark.webp") center / cover no-repeat; pointer-events: none; }
.start::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(190, 170, 255, .16), transparent 70%),
    linear-gradient(180deg, rgba(10, 9, 13, .8) 0%, rgba(29, 27, 35, .8) 50%, rgba(10, 9, 13, .8) 100%); }
.start .section-title { color: #fff; }
.start .section-title em { color: transparent; background: var(--pearl-text-dark); -webkit-background-clip: text; background-clip: text; }
.start .section-sub { color: rgba(255, 255, 255, .7); }

/* 본문 고정폭(800) 안에서: 왼쪽 단계 글은 좁게, 오른쪽 화면은 최대한 크게 */
.flow {
  --flow-top: max(96px, calc(50vh - 200px));   /* 오른쪽 화면이 멈추는 높이 = 단계 글이 멈추는 높이 */
  display: grid;
  grid-template-columns: 258px 1fr;   /* 가장 긴 단계 제목이 한 줄에 들어가는 폭 */
  gap: 20px;
}

/* 왼쪽: 세로 단계 */
.flow-left { position: relative; }
.flow-left::before,
.flow-progress {
  content: "";
  position: absolute;
  left: 19px;
  width: 2px;
  border-radius: 2px;
}
.flow-left::before { top: 0; bottom: 0; background: rgba(255, 255, 255, .1); }
.flow-progress {
  top: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(201, 168, 255, .2), #c9a8ff 30%, #9fe3ff 60%, #ffc4dc 85%, #ffe1a8);
  /* 스크롤에 맞춰 바로 그려서 따로 움직임 없음 */
}
.flow-step {
  position: relative;
  z-index: 1;
  min-height: 52vh;
  cursor: pointer;
}
/* 단계 글: 오른쪽 화면 윗선 높이에 붙어 있다가, 다음 단계가 올라오면 밀려 올라감 */
/* 마지막 단계는 오른쪽 화면(+설명)이 다 보일 만큼 길게 — 짧으면 화면이 먼저 밀려 올라감 */
.flow-step:last-child { min-height: max(52vh, 480px); }
/* 마지막 단계 글은 오른쪽 화면(+설명)과 같은 높이로 잡아, 섹션이 끝날 때 둘이 함께 올라가게 */
.flow-step:last-child .flow-step-in { min-height: 349px; }   /* 오른쪽 화면 + 설명 높이 - 글 시작 간격 16 */
.flow-step-in {
  position: sticky;
  top: calc(var(--flow-top) + 16px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.flow-step b { margin-top: 18px; }   /* 동그라미를 단계 제목 줄에 맞춤 */
.flow-step b {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: var(--dark-3);
  color: rgba(255, 255, 255, .4);
  font-size: 15px;
  font-weight: 800;
  transition: background-color .35s, color .35s, box-shadow .35s, border-color .35s;
}
.flow-when { margin-top: 2px; font-size: 13.5px; color: rgba(255, 255, 255, .3); transition: color .35s; }
.flow-step h3 {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, .3);
  transition: color .35s;
}
.flow-meta { margin-top: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .22); transition: color .35s; }
.flow-step.is-done b { border-color: rgba(217, 201, 255, .5); color: var(--accent-on-dark); }
.flow-step.is-active b {
  border-color: rgba(255, 255, 255, .8);
  background: var(--pearl-fill);
  color: var(--ink);
  box-shadow: 0 0 0 6px rgba(200, 180, 255, .18), 0 0 28px rgba(170, 220, 255, .45);
}
.flow-step.is-active .flow-when { color: rgba(255, 255, 255, .6); }
.flow-step.is-active h3 { color: #fff; }
.flow-step.is-active .flow-meta { color: rgba(255, 255, 255, .6); }

/* 오른쪽: 따라오는 화면 */
.flow-sticky { position: sticky; top: var(--flow-top); }
.flow-screens {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-l);
  background: #0a0a0a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.flow-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
}
.flow-screen.is-active { opacity: 1; }
.flow-screen img { width: 100%; height: 100%; object-fit: cover; }
.flow-screen.is-paper { display: grid; place-items: center; padding: 28px; background: var(--hanji); color: var(--ink); }
.flow-caption { margin-top: 16px; font-size: 14.5px; color: rgba(255, 255, 255, .6); }

/* 폴더 구성 */
.folder-tree {
  width: 100%;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-card);
  font-size: 15px;
}
.ft-root { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.folder-tree ul { margin: 14px 0 0 9px; padding-left: 20px; border-left: 1.5px dashed var(--line); }
.folder-tree li { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.folder-tree li span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 600; }
.folder-tree li em { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.folder-tree li:first-child span { color: var(--accent); }
.ft-icon {
  flex: none;
  width: 16px;
  height: 20px;
  border: 1.5px solid var(--ink-3);
  border-radius: 3px;
  background: #fff;
}
.ft-icon.is-dir { width: 20px; height: 16px; border: 0; border-radius: 3px; background: var(--earth); }
.ft-icon.is-xlsx { border-color: var(--wood); background: rgba(102, 168, 135, .15); }

/* list.xlsx 표 */
.xl {
  width: 100%;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.xl-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid #e3e3e3;
  background: #f7f7f5;
  font-size: 12.5px;
}
.xl-bar span { margin-left: auto; font-size: 11.5px; color: var(--wood); font-weight: 600; }
.xl-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background:
    linear-gradient(#fff, #fff) 4px 4px / 8px 1px no-repeat,
    linear-gradient(#fff, #fff) 4px 8px / 8px 1px no-repeat,
    linear-gradient(#fff, #fff) 4px 12px / 8px 1px no-repeat,
    var(--wood);
}
.xl-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 11px; }
.xl-table th,
.xl-table td {
  overflow: hidden;
  padding: 6px 6px;
  border: 1px solid #e6e6e6;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
}
.xl-table th { background: #f4f4f2; color: #777; font-weight: 500; text-align: center; }
.xl-letters th { padding: 3px 6px; font-size: 10px; }
.xl-head th { color: var(--ink); font-weight: 700; background: #fafaf8; }
.xl-table td { color: var(--ink-2); }
.xl-table tr.is-new td { background: rgba(102, 168, 135, .14); color: var(--ink); font-weight: 600; }
.xl-table tr.is-new th { background: var(--wood); color: #fff; }

/* ---------- 14. 전체 기능 ---------- */
/* 기능 카드: 제목 · 설명은 가운데 위, 화면 이미지는 아래에서 카드 밖으로 잘려 나감 */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fgrid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 268px;   /* 화면 이미지 아래쪽이 카드 밖으로 잘려 나가도록 */
  overflow: hidden;
  padding: 30px 18px 0;
  border-radius: var(--radius-l);
  background: var(--surface);
  text-align: center;
}
.fgrid h3 { font-size: 18px; font-weight: 800; line-height: 1.35; letter-spacing: -0.03em; }
.fgrid p { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.fgrid img {
  flex: none;
  width: 88%;
  aspect-ratio: 1;
  margin-top: 24px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--box-line);
  border-bottom: 0;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  background: #0a0a0a;
  box-shadow: var(--shadow-float);
}

/* ---------- 15. 가격 ---------- */
/* 상품별 기능 비교표 (점마Pro · 점마궁합 · 점마세트) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-wrap { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; }
.cmp-hl { position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: 17%; border: 2.5px solid transparent; border-radius: var(--radius-l); pointer-events: none;   /* 추천 열 테두리: 자개색 띠만 남기고 안쪽은 비워요 */
  background: var(--pearl-fill) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
.cmp-price td b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.cmp-price td small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.cmp-price td:last-child b { color: var(--accent); }
.cmp-ticket td:nth-child(n+3) { font-size: 17px; font-weight: 800; color: var(--ink); }
.cmp-ticket td:last-child { color: var(--accent); }
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { padding: 20px 24px; border-top: 1px solid var(--line-2); text-align: left; vertical-align: middle; font-weight: 500; }
.cmp thead th { border-top: 0; padding-top: 22px; padding-bottom: 22px; background: #f6f7f8; font-weight: 800; color: var(--ink); }
.cmp tbody th { font-weight: 800; color: var(--ink); }
.cmp-g { width: 110px; }
.cmp-f { color: var(--ink-2); word-break: keep-all; }
.cmp th:nth-child(n+3), .cmp td:nth-child(n+3) { width: 17%; }
.cmp-badge { display: inline-block; margin-left: 6px; padding: 3px 8px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; vertical-align: 2px; }
.cmp-y, .cmp-n { display: inline-block; width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; background: #1fb866 center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.cmp-n { background-color: #f03e46; background-size: 11px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
@media (max-width: 640px) {
  .cmp { font-size: 13.5px; }
  .cmp-g { display: none; }
  .cmp th, .cmp td { padding: 14px 6px; }
  .cmp th:first-child + th, .cmp td.cmp-f { padding-left: 14px; }
  .cmp thead th { padding-top: 14px; padding-bottom: 14px; font-size: 13px; }
  .cmp th:nth-child(n+3), .cmp td:nth-child(n+3) { width: 19%; text-align: center; }
  .cmp-badge { display: block; width: fit-content; margin: 4px auto 0; padding: 2px 6px; font-size: 10.5px; }
  .cmp-y, .cmp-n { width: 20px; height: 20px; background-size: 12px; }
  .cmp-n { background-size: 9px; }
  .cmp-hl { width: 19%; }
  .cmp-price td b { font-size: 14.5px; }
  .cmp-price td small { font-size: 10.5px; }
    }

.compare {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
}
.compare-row {
  display: grid;
  grid-template-columns: 150px 1fr 210px;
  border-top: 1px solid var(--line-2);
  font-size: 16px;
}
.compare-row > span { display: flex; align-items: center; padding: 20px 28px; }
.compare-row > span:first-child { font-weight: 700; }
.compare-row > span:nth-child(2) { color: var(--ink-2); }
.compare-row > span:last-child { background: #f9f9fa; }
.compare-head { border-top: 0; background: #f9f9fa; }
.compare-head > span { padding-top: 16px; padding-bottom: 16px; font-size: 14px; color: var(--ink-3); }
.compare-head > span:first-child { font-weight: 700; }
.compare-head > span:last-child { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.compare-row > span.ok { color: var(--accent); font-weight: 700; }

.compare-total { border-top: 1px solid var(--line); font-weight: 700; }
.compare-total > span:nth-child(2) { font-weight: 500; }
.compare-row.compare-total > .price {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--pearl-fill);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.price strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.price small { margin-top: 2px; font-size: 13px; font-weight: 500; opacity: .85; }
.price s { margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--ink-3); text-decoration-thickness: 1px; }   /* 정가 (할인 중에만) */

/* 구매 옵션: 개인 · 궁합 / 세트 2가지 (PC 2열, 휴대폰 1열) — 세트는 보랏빛 테두리 */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.plan { display: grid; align-content: start; justify-items: start; gap: 4px; padding: 22px 24px; border: 1px solid var(--box-line); border-radius: var(--radius-l); background: #fff; }
.plan.is-set { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.plan p { margin: 0; }
.plan-name { font-size: 15px; font-weight: 800; color: var(--ink); }
.plan-note { font-size: 13px; color: var(--ink-3); }
.plan .plan-was { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.plan-was s { margin-right: 4px; font-weight: 500; color: var(--ink-3); text-decoration-thickness: 1px; }
.plan-price { font-size: 30px; font-weight: 900; line-height: 1.25; letter-spacing: -0.03em; color: var(--ink); }
.plan-price small { margin-left: 2px; font-size: 16px; font-weight: 700; }
.plan-month { font-size: 13.5px; color: var(--ink-2); }
.plan .plan-bonus { margin-top: 6px; padding: 3px 9px; border-radius: 6px; background: #f1f0f4; font-size: 12.5px; font-weight: 800; color: var(--ink); }
@media (max-width: 767px) {
  .plans { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .plan { padding: 18px; }
  .plan-price { font-size: 26px; }
}
.pricing-cta { margin-top: 28px; text-align: center; }

/* ---------- 16. 자주 묻는 질문 ---------- */
/* 질문마다 둥근 회색 카드 + 오른쪽 흰 동그라미 + */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list details { border-radius: var(--radius-l); background: #f9f9fa; transition: background-color .15s; }
.faq-list details:hover { background: #f2f2f4; }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 26px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details { overflow: hidden; }
/* + 아이콘: 글자가 아니라 선 두 개로 그려서 동그라미 정가운데에 */
.faq-list summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    #fff;
  transition: transform .3s ease;
}
.faq-list details[open]:not(.is-closing) summary::after { transform: rotate(45deg); }   /* + → × */
.faq-list details p {
  padding: 0 26px 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  transition: opacity .25s ease;
}
/* ---------- 업데이트 섹션: 지금까지 · 앞으로 ---------- */
.up-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }   /* 두 카드 높이 같게 */
.up-col { display: flex; flex-direction: column; }
.up-col {
  padding: 22px;
  border: 1px solid var(--box-line);
  border-radius: var(--radius-l);
  background: var(--surface);
}
.up-h { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.up-list {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--box-line);
  border-radius: var(--radius-m);
  background: #fff;
}
.up-list { display: flex; flex: 1; flex-direction: column; }   /* 남는 높이는 줄마다 고르게 나눔 */
.up-list li {
  display: flex;
  flex: 1 1 0;   /* 줄 높이를 모두 같게 */
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-2);
}
.up-list li + li { border-top: 1px solid var(--divider); }
.up-list span { flex: 1; }
.up-list b { font: 600 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-3); white-space: nowrap; }
/* 이미 나온 업데이트: 자개 체크 + 버전 */
.up-list.is-done li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2318171c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--pearl-fill);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.up-list.is-done li:last-child { color: var(--accent); font-weight: 700; }   /* 지금 버전: 글자 · 버전 번호 모두 보라 */
.up-list.is-done li:last-child b { color: var(--accent); }
/* 예정 업데이트: 번호 + 날짜 미정 */
.up-list.is-next i {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  color: var(--ink-3);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.up-list.is-next b { font-family: inherit; font-weight: 500; }
/* 아직 정해지지 않은 다음 업데이트 (스켈레톤) */
.up-list li.is-skel i { opacity: .55; }
.skel {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #eeecf2 0%, #f7f6fa 40%, #eeecf2 80%) 0 0 / 220% 100%;
  animation: skel-shine 1.6s ease-in-out infinite;
}
.skel-sm { width: 44px; }
@keyframes skel-shine { from { background-position: 120% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.up-note {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  background: var(--dark-2);
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 1.6;
}
.up-note strong { font-size: 17px; color: transparent; background: var(--pearl-text-dark); -webkit-background-clip: text; background-clip: text; }
.faq-list details.is-closing p,
.faq-list details.is-opening p { opacity: .0001; }
.faq-list details.is-opening.is-shown p { opacity: 1; }

/* ---------- 이런 분들에게 추천드려요 (업데이트 아래): 4 × 2 카드 ---------- */
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
/* 첫 줄: 체크 배지 + 유형 나란히 · 둘째 줄: 설명 (카드 왼쪽 끝부터) */
.rec-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  padding: 22px 18px 20px;
  border-radius: var(--radius-l);
  background: var(--surface);
}
.rec-grid li::before {   /* 진주빛 체크 배지 (업데이트 목록과 같은 모양, 조금 크게) */
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2318171c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--pearl-fill);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 2px 6px rgba(40, 32, 70, .1);
}
.rec-grid h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }
.rec-grid p { grid-column: 1 / -1; margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--ink-3); word-break: keep-all; }

/* ---------- 사업자용 안내 띠: 사주프로그램 커스텀 페이지로 (추천 대상 아래) ---------- */
.custom-cta { padding-top: 0; }
.custom-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 36px;
  border-radius: var(--radius-l);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(180, 170, 255, .22), transparent 60%),
    var(--dark);
  color: #fff;
  box-shadow: 0 18px 40px rgba(40, 32, 70, .18);
  transition: box-shadow .2s;
}
.custom-card:hover { box-shadow: 0 22px 48px rgba(40, 32, 70, .26); }
.custom-card .pill { margin-bottom: 12px; }
.custom-card h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.custom-card h2 em { color: transparent; background: var(--pearl-text-dark); -webkit-background-clip: text; background-clip: text; }
.custom-card p { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.custom-card .btn { flex: none; }

/* ---------- 17. 마지막 CTA ---------- */
.final-cta {
  padding: 96px 0;
  text-align: center;
  color: #fff;
  /* 시작 방법 섹션과 같은 구름 산수화 바탕(화면에 고정) 위에 원래 어두운 색(--dark #111015)을 80%로, 맨 위에 아래쪽 빛 */
  background: var(--dark);
  position: relative; isolation: isolate; clip-path: inset(0);
}
.final-cta::before { content: ""; position: fixed; inset: 0; z-index: -2; background: url("../img/bg-dark.webp") center / cover no-repeat; pointer-events: none; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 80% at 50% 120%, rgba(180, 170, 255, .35), rgba(150, 220, 255, .12) 45%, transparent 70%),
    linear-gradient(rgba(17, 16, 21, .8), rgba(17, 16, 21, .8)); }
.final-title { font-size: 52px; font-weight: 800; line-height: 1.25; letter-spacing: -0.04em; }
.final-cta .final-title em { color: transparent; background: var(--pearl-text-dark); -webkit-background-clip: text; background-clip: text; }
.final-sub { margin: 14px 0 28px; font-size: 18px; color: rgba(255, 255, 255, .7); }
.checks-dark li { color: rgba(255, 255, 255, .7); }
.checks-dark li::before { color: var(--accent-on-dark); }

/* ---------- 18. 푸터 ---------- */
.footer {
  padding: 56px 0 40px;
  background: var(--dark-2);
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
}
.footer-top { display: flex; justify-content: space-between; }
.footer .logo { color: #fff; }
.footer .logo img { height: 22px; }
.footer-brand p { margin-top: 8px; line-height: 1.7; }
.footer-brand .footer-tagline { margin-top: 22px; font-size: 16px; font-weight: 700; color: #fff; }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4, .footer-cols .footer-heading { margin-bottom: 16px; font-size: 14px; font-weight: 700; color: #fff; }
.footer-cols a { display: block; margin-bottom: 10px; }
.footer-cols a:hover { color: #fff; }

/* 사업자 정보 (눌러서 펼치기) */
/* 맨 아래 한 줄: [사업자 정보 ▾] · 개인정보처리방침 · 이용약관 · © — 사업자 정보는 열면 이 줄 아래에 */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: rgba(255, 255, 255, .4); }
.footer-bottom > a { color: rgba(255, 255, 255, .65); }
.footer-bottom > a:hover { color: #fff; }
.footer-bottom strong { font-weight: 700; }
.footer-biz-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.footer-biz-label { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .65); cursor: pointer; user-select: none; }
.footer-biz-label::after { content: "▾"; font-size: 11px; transition: transform .2s; }
.footer-biz-label:hover { color: #fff; }
.footer-biz-toggle:focus-visible + .footer-biz-label { outline: 2px solid rgba(214, 196, 255, .7); outline-offset: 3px; border-radius: 4px; }
.footer-biz-toggle:checked + .footer-biz-label::after { transform: rotate(180deg); }
.footer-biz-body { display: none; flex-basis: 100%; margin-top: 8px; line-height: 1.8; }
.footer-biz-toggle:checked ~ .footer-biz-body { display: block; }
/* 푸터 SNS 아이콘 (build-site.mjs footerSns — 주소가 있는 것만) — 메뉴(점마) 오른쪽에 세로 한 줄 */
.footer-sns { display: flex; flex-direction: column; gap: 10px; }
.footer-cols .footer-sns a { margin-bottom: 0; }
.footer-sns a { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75); transition: background-color .2s, color .2s; }
.footer-sns a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.footer-sns svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* ---------- 20. 정책 페이지 (개인정보처리방침 · 이용약관) ---------- */
.legal { padding: 140px 0 112px; }
.legal-eyebrow { font-size: 14px; font-weight: 700; color: transparent; background: var(--pearl-text); -webkit-background-clip: text; background-clip: text; }
.legal h1 { margin-top: 8px; font-size: 38px; font-weight: 800; letter-spacing: -0.035em; }
.legal-date { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.legal-intro { margin-top: 32px; padding: 20px 24px; border-radius: var(--radius-m); background: var(--hanji); }
.legal section { margin-top: 44px; }
.legal h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.legal h3 { margin-top: 20px; font-size: 16px; font-weight: 700; }
.legal p,
.legal li { font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.legal section > p { margin-top: 12px; }
.legal h3 + p,
.legal h3 + ul { margin-top: 6px; }
.legal-list { margin-top: 8px; }
.legal-list > li + li { margin-top: 4px; }
.legal-dash { margin-top: 6px; }
.legal-dash li { position: relative; padding-left: 14px; }
.legal-dash li::before { content: "-"; position: absolute; left: 0; color: var(--ink-3); }
.legal-box { margin-top: 16px; padding: 18px 22px; border-radius: var(--radius-m); background: var(--hanji); }
.legal-box-title { font-weight: 700; color: var(--ink); }
.legal-box-title:not(:first-child) { margin-top: 14px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }

/* 팝업 안에서 열릴 때 (iframe): 스크롤은 되고 스크롤바는 안 보이게 */
html.is-embed { scrollbar-width: none; overscroll-behavior: contain; }
html.is-embed::-webkit-scrollbar { display: none; }
.is-embed body { min-width: 0; }
.is-embed .header,
.is-embed .footer,
.is-embed .kakao-fab,
.is-embed .legal-eyebrow,
.is-embed .legal h1 { display: none; }
.is-embed .legal { padding: 22px 0 48px; }
.is-embed .legal .container { width: auto; padding: 0 28px; }
.is-embed .legal-date { margin-top: 0; }

/* 팝업 */
.legal-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 10, .55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.legal-modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(760px, calc(100vw - 32px));
  height: min(84vh, 900px);
  overflow: hidden;
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  animation: legal-in .22s ease;
}
@keyframes legal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.legal-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 28px;
  border-bottom: 1px solid var(--line);
}
.legal-modal-head h2 { flex: 1; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.legal-modal-link { font-size: 13px; color: var(--ink-3); }
.legal-modal-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--line-2);
  font-size: 22px;
  line-height: 1;
}
.legal-modal-close:hover { background: var(--hanji-2); }
.legal-modal-frame { flex: 1; width: 100%; border: 0; }

/* ---------- 21. 카카오톡 채널 문의 버튼 (오른쪽 아래 고정) ---------- */
.kakao-fab {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 150;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fee500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transition: box-shadow .15s;
}
.kakao-fab svg { width: 28px; height: 28px; fill: #191600; }
.kakao-fab:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .22); }
/* 화면 가운데 아래 알림(스낵바): 두 문장이 같은 자리에서 번갈아 아래에서 올라왔다 사라짐 */
.snackbar {
  position: fixed;
  right: 0;
  bottom: max(28px, env(safe-area-inset-bottom));
  left: 0;
  z-index: 140;
  display: grid;
  justify-items: center;
  pointer-events: none;
}
.snack-item {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(24, 23, 28, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .85);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  translate: 0 16px;
  transition: opacity .35s ease, translate .4s cubic-bezier(.2, .7, .2, 1);
}
.snack-item.is-on { opacity: 1; translate: 0 0; }
.snack-item b { font-weight: 800; color: transparent; background: var(--pearl-text-dark); -webkit-background-clip: text; background-clip: text; }
.snack-dot {   /* 지금 보는 중: 하늘빛 점이 퍼지듯 깜빡 */
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9fe3ff;
  position: relative;
}
/* 퍼지는 빛은 그림자 대신 동그라미를 키우며 흐리게 (흐림 바탕 위에서 매 프레임 다시 그리지 않게) · 알림이 떠 있을 때만 */
.snack-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(159, 227, 255, .6); opacity: 0; }
.snack-item.is-on .snack-dot::after { animation: snack-pulse 1.6s ease-out infinite; }
@keyframes snack-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.snack-icon { flex: none; width: 17px; height: 17px; fill: none; stroke: #d9c9ff; stroke-width: 1.8; stroke-linejoin: round; }
.is-modal-open .snackbar { display: none; }
@media (prefers-reduced-motion: reduce) {
  .snack-item { translate: 0 0; transition: opacity .2s; }
  .snack-item.is-on .snack-dot::after { animation: none; }
}
/* 버튼 왼쪽 말풍선 — 세 번째 섹션에 오면 main.js가 .is-tip을 붙였다가 5초 뒤 뗌 (누르면 카카오 채널로) */
.kakao-tip {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  padding: 12px 16px;
  border-radius: var(--radius-m);
  background: var(--ink);
  color: rgba(255, 255, 255, .75);
  font-size: 13.5px;
  line-height: 1.55;
  text-align: left;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  opacity: 0;
  translate: 8px -50%;
  pointer-events: none;
  transition: opacity .3s ease, translate .3s ease;
}
.kakao-tip b { font-weight: 700; color: #fff; }
.kakao-tip::after {   /* 버튼 쪽을 가리키는 꼬리 */
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: inherit;
  transform: translateY(-50%) rotate(45deg);
}
.kakao-fab.is-tip .kakao-tip { opacity: 1; translate: 0 -50%; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .kakao-tip { transition: none; } }
@media (max-width: 767px) {
  .kakao-fab {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }
  .kakao-tip { right: calc(100% + 12px); padding: 11px 14px; font-size: 13px; }   /* 휴대폰도 PC처럼 버튼 왼쪽 */
}

/* ---------- 22. 셀프 체크: 해당하는 문장을 눌러 개수 세기 ---------- */
.ck-grid { display: grid; gap: 12px; }
.ck-group {
  padding: 24px;
  border: 1px solid var(--box-line);
  border-radius: var(--radius-l);
  background: var(--surface);
}
.ck-gh { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.ck-num {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--dark-2);
  color: var(--accent-on-dark);
  font-size: 12.5px;
  font-weight: 800;
}
.ck-group ul { display: flex; flex-direction: column; gap: 8px; }
.ck-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--box-line);
  border-radius: var(--radius-m);
  background: #fff;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  transition: border-color .15s, background-color .15s, color .15s;
}
.ck-item:hover { border-color: var(--ink-3); }
.ck-box {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1.5px solid #cfcbd8;
  border-radius: 50%;
  background: #fff;
  transition: border-color .2s, background .2s;
}
.ck-box svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .25s; }
.ck-item[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(#f6f3fc, #f6f3fc) padding-box, var(--pearl-line) border-box;
  color: var(--ink);
  font-weight: 600;
}
.ck-item[aria-pressed="true"] .ck-box { border-color: rgba(255, 255, 255, .8); background: var(--pearl-fill); }
.ck-item[aria-pressed="true"] .ck-box svg { stroke-dashoffset: 0; }

/* 화면 아래에 따라다니는 개수 알약 */
.ck-pill {
  position: sticky;
  bottom: 100px;
  z-index: 5;
  width: fit-content;
  margin: 24px auto 0;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--dark-2);
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: background .3s, color .3s;
}
.ck-pill b {
  margin-right: 2px;
  font-size: 17px;
  font-weight: 800;
  color: transparent;
  background: var(--pearl-text-dark);
  -webkit-background-clip: text;
  background-clip: text;
}
.ck-pill { opacity: 0; translate: 0 12px; pointer-events: none; transition: background .3s, color .3s, opacity .3s, translate .3s; }
.ck-pill.is-on { opacity: 1; translate: 0 0; }   /* 체크 목록이 화면 가운데를 지날 때만 보임 */
.ck-pill.ok { background: var(--pearl-fill); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 8px 24px rgba(40, 32, 70, .18); }
.ck-pill.ok b { color: var(--ink); background: none; }

/* 결과 */
.ck-result { margin-top: 20px; text-align: center; }
.ck-count { display: flex; align-items: baseline; justify-content: center; gap: 6px; font-size: 14px; color: var(--ink-3); }
.ck-n { font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.ck-msg { margin-top: 10px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.ck-msg b { padding: 0 2px; color: var(--ink); background: linear-gradient(transparent 58%, #e6dcfa 58%); }
.ck-big { display: block; margin-bottom: 8px; font-size: 24px; font-weight: 800; line-height: 1.4; letter-spacing: -0.03em; color: var(--ink); }
.ck-cta { margin-top: 20px; }
.ck-cta[hidden] { display: none; }
.ck-result.hit { animation: ck-pop .45s ease; }
@keyframes ck-pop { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 100% { transform: scale(1); } }

/* ---------- 섹션 바로가기 (점마Pro · 라이선스): 본문(900px) 오른쪽 끝에서 50px 옆, 화면 세로 가운데 고정 ----------
   아이콘만 보이고, 마우스를 올리거나 키보드로 고르면 오른쪽에 이름 툴팁.
   지금 보는 섹션은 자개빛 동그라미(.quick-nav-ind)가 위아래로 미끄러지며 따라감 (main.js) */
.quick-nav {
  position: fixed;
  top: 50%;
  left: min(calc(50% + var(--container) / 2 + 50px), calc(100% - 72px));   /* 화면이 좁으면 오른쪽 끝 안쪽으로 */
  z-index: 120;
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(17, 16, 21, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  translate: 0 -50%;
}
.quick-nav a {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .6);
  transition: color .2s, background-color .2s;
}
.quick-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quick-nav a:hover,
.quick-nav a:focus-visible { color: #fff; background: rgba(255, 255, 255, .1); outline: none; }
.quick-nav a.is-active { color: var(--ink); }
.quick-nav a.is-active:hover { background: transparent; }
.quick-nav-ind {   /* 지금 섹션 표시: 아이콘 뒤 자개빛 동그라미 하나가 위아래로 이동 */
  position: absolute;
  top: 6px;
  left: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pearl-fill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transition: translate .5s cubic-bezier(.2, .8, .2, 1), opacity .25s ease;
}
.quick-nav-ind.is-on { opacity: 1; }
.quick-nav a::after,
.quick-nav a::before {   /* 툴팁: 이름 + 오른쪽 꼬리 */
  position: absolute;
  top: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, translate .18s ease;
}
.quick-nav a::after {
  content: attr(data-tip);
  left: calc(100% + 14px);
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  translate: -6px -50%;
}
.quick-nav a::before {
  content: "";
  left: calc(100% + 4px);
  border: 5px solid transparent;
  border-right-color: var(--ink);
  translate: -6px -50%;
}
.quick-nav a:hover::after, .quick-nav a:hover::before,
.quick-nav a:focus-visible::after, .quick-nav a:focus-visible::before { opacity: 1; translate: 0 -50%; }
.js-intro .quick-nav { opacity: 0; }
.intro-play .quick-nav { animation: intro-fade .4s ease 1.2s both; }
.is-modal-open .quick-nav { display: none; }
@media (prefers-reduced-motion: reduce) { .quick-nav a::after, .quick-nav a::before, .quick-nav-ind { transition: none; } }
/* ---------- 데모 영상 팝업 (점마Pro 첫 화면 노트북의 재생 버튼) ----------
   슬라이드: 가운데 영상 1개를 크게, 양옆 영상은 작게 살짝 보이게. 좌우로 밀면 넘어가요 (main.js)
   main.js가 슬라이드마다 --o(가운데에서 몇 칸 떨어졌는지), 끄는 동안 --drag(손가락이 움직인 거리)를 넣어 줘요 */
.video-modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; overflow: hidden; }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(5, 4, 8, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.video-modal-panel {
  --vw: min(1120px, 76vw, calc((100svh - 230px) * 16 / 9));   /* 가운데 영상 너비 (화면 높이에도 맞춤) */
  --k: .84;                                                    /* 양옆 영상 크기 */
  --step: calc(var(--vw) * (1 + var(--k)) / 2 + 24px);         /* 옆 영상까지 거리 = 영상 사이 24px */
  position: relative;
  width: 100%;
  pointer-events: none;   /* 영상 · 버튼 밖 빈 곳을 누르면 뒤 바탕이 받아서 닫혀요 */
  animation: video-rise .45s cubic-bezier(.2, .8, .2, 1);
}
.video-modal-panel > * { pointer-events: auto; }
@keyframes video-rise { from { opacity: 0; transform: translateY(32px); } }   /* 아래에서 올라오며 나타남 */
.video-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: var(--vw); margin: 0 auto 14px; }
.video-caption { overflow: hidden; min-width: 0; margin: 0; color: rgba(255, 255, 255, .92); font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.video-modal-close {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.video-modal-close:hover { background: rgba(255, 255, 255, .2); }
.video-stage { position: relative; height: calc(var(--vw) * 9 / 16); touch-action: none; -webkit-user-select: none; user-select: none; }
.video-slide {
  position: absolute;
  top: 0;
  left: calc(50% - var(--vw) / 2);
  width: var(--vw);
  opacity: .4;
  transform: translateX(calc(var(--o, 0) * var(--step) + var(--drag, 0px))) scale(var(--k));
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .4s;
}
.video-slide.is-active { z-index: 1; opacity: 1; transform: translateX(var(--drag, 0px)); }   /* 가운데: 원래 크기로 앞에 */
.video-slide.is-far { opacity: 0; pointer-events: none; }   /* 두 칸 이상 떨어진 영상은 숨김 */
.video-stage.is-dragging .video-slide { transition: none; }   /* 끄는 동안은 손가락을 바로 따라옴 */
@media (hover: hover) { .video-slide:not(.is-active, .is-far):hover { opacity: .62; } }
.video-frame { overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-l); background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
/* 재생 전에는 유튜브 표지 그림 + 재생 버튼 (그림 위라서 영상 위에서도 좌우로 밀 수 있어요) */
.video-thumb { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.video-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.video-thumb:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: -3px; }
.video-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 58px;
  border-radius: 18px;
  background: var(--pearl-fill);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset;
  translate: -50% -50%;
  transition: scale .25s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}
.video-thumb-play::before { content: ""; position: absolute; top: 50%; left: 52%; width: 22px; height: 24px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); translate: -50% -50%; }
.video-slide:not(.is-active) .video-thumb-play { opacity: 0; }   /* 옆 영상은 누르면 가운데로 와요 (재생은 가운데서) */
.video-slide.is-active .video-thumb:hover .video-thumb-play,
.video-slide.is-active .video-thumb:focus-visible .video-thumb-play { scale: 1.08; }
.video-nav { display: flex; align-items: center; justify-content: center; gap: 14px; width: max-content; margin: 20px auto 0; }
.video-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background .2s, opacity .2s; }
.video-arrow::before { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateX(-2px) rotate(45deg); }   /* 오른쪽 꺾쇠 */
.video-arrow.is-prev::before { transform: translateX(2px) rotate(-135deg); }                                                                  /* 왼쪽 꺾쇠 */
.video-arrow:not(:disabled):hover { background: rgba(255, 255, 255, .18); }
.video-arrow:disabled { opacity: .28; cursor: default; }
.video-dots { display: flex; }
.video-dot { display: grid; place-items: center; width: 22px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.video-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .35); transition: width .35s cubic-bezier(.2, .8, .2, 1), background .3s; }
.video-dot[aria-current="true"] { width: 40px; }
.video-dot[aria-current="true"]::before { width: 26px; background: #fff; }
.video-dot:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: -4px; border-radius: 999px; }
.video-modal.is-single .video-nav { display: none; }   /* 영상 1개: 넘길 게 없음 */
.video-modal-yt { display: block; width: max-content; margin: 12px auto 0; font-size: 13px; color: rgba(255, 255, 255, .6); text-decoration: underline; text-underline-offset: 3px; }
.video-modal-yt:hover { color: #fff; }
.video-modal-note { display: none; width: var(--vw); margin: 16px auto 0; padding: 10px 14px; border-radius: var(--radius-m); background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); font-size: 13.5px; text-align: center; }
.video-modal.is-local .video-modal-note { display: block; }   /* 파일로 연 미리보기에서만 */
@media (max-width: 767px) {
  .video-modal-panel { --vw: min(86vw, calc((100svh - 210px) * 16 / 9)); --k: .9; --step: calc(var(--vw) * (1 + var(--k)) / 2 + 8px); }   /* 휴대폰: 옆 영상이 가장자리에 살짝 */
  .video-caption { font-size: 14px; }
  .video-modal-close { width: 34px; height: 34px; font-size: 20px; }
  .video-thumb-play { width: 60px; height: 42px; border-radius: 14px; }
  .video-thumb-play::before { width: 16px; height: 18px; }
  .video-arrow { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-modal-panel { animation: none; }
  .video-slide, .video-dot, .video-dot::before { transition: none; }
}


/* ---------- 23. 9가지 명리학 → 점마Pro: 아홉 이론에서 빛줄기가 가운데로 모임 ----------
   곡선(.beam-svg 안 path)은 main.js가 카드 위치를 재서 그림. 빛은 화면에 보일 때만 흐름(.is-on) */
.theory { background: var(--bg); }
.beam {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  height: 440px;
  margin-top: 8px;
}
.beam-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; will-change: transform; }   /* 빛줄기만 따로 그려서 옆 카드 · 칩까지 매번 다시 그리지 않게 */
.beam-col { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; }
.beam-col.is-left { align-items: flex-start; }
.beam-col.is-right { align-items: flex-end; padding: 48px 0; }   /* 왼쪽 다섯 개 사이사이에 오도록 */
.beam-node {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;   /* 글자 길이에 맞춰요 */
  height: 52px;
  padding: 0 20px 0 6px;
  border: 1px solid var(--box-line);
  border-radius: 999px;
  background: var(--box);
  box-shadow: var(--shadow-card);
  font-size: 16px;
  letter-spacing: -0.02em;
}
.beam-col.is-right .beam-node { flex-direction: row-reverse; padding: 0 6px 0 20px; text-align: right; }
.beam-node b { flex: 1; font-weight: 700; color: var(--ink); white-space: nowrap; }
.beam-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0;
}
.beam-ic img { width: 28px; height: 28px; object-fit: contain; }

/* 가운데: 3D CPU 칩 (카페 대문의 칩과 같은 디자인) — 150 × 150 = 몸체 110 + 사방 핀 8개씩.
   몸체는 오른쪽 아래로 두께가 보이게 쌓고 위에 도톰한 판을 올려 로고를 새겼어요. 화면에 보일 때(.is-on)만 둥실 떠오르고, 빛이 닿을 때마다 자개 고리가 퍼져요 */
.beam-core { position: relative; z-index: 1; align-self: center; }   /* 칩이 정확히 가운데 — 이름은 칩 아래에 띄움 */
.beam-core-box { position: relative; display: block; width: 150px; height: 150px; }
.cpu-fit { position: absolute; left: 0; top: 0; width: 150px; height: 150px; transform-origin: 0 0; }   /* 휴대폰에서 이 한 겹만 줄여요 */
.cpu { position: absolute; inset: 0; transform: perspective(700px) rotateX(10deg) rotateY(-12deg); animation: cpu-float 4s ease-in-out infinite; animation-play-state: paused; }
.beam.is-on .cpu { animation-play-state: running; }
@keyframes cpu-float {
  0%, 100% { transform: perspective(700px) translateY(0) rotateX(10deg) rotateY(-12deg); }
  50% { transform: perspective(700px) translateY(-10px) rotateX(16deg) rotateY(-3deg); }
}
/* 핀 한 줄(위쪽)을 칩 가운데 기준으로 90도씩 돌려 네 변에 달아요 */
.cpu-pins { position: absolute; left: 25px; top: 5px; width: 100px; height: 19px; display: flex; justify-content: space-between; transform-origin: 50px 70px; }
.cpu-pins:nth-child(2) { transform: rotate(90deg); }
.cpu-pins:nth-child(3) { transform: rotate(180deg); }
.cpu-pins:nth-child(4) { transform: rotate(270deg); }
/* 핀 하나 = 바깥쪽 절반 검은 다리 + 몸체 쪽 은색 */
.cpu-pins i {
  position: relative;
  width: 7px;
  height: 100%;
  border-radius: 1.5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .15) 0, rgba(255, 255, 255, 0) 28%, rgba(0, 0, 0, .24) 36%, rgba(255, 255, 255, .18) 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .45) 100%),
    linear-gradient(90deg, #66666d 0%, #f5f5f8 38%, #c3c3c9 62%, #5e5e65 100%);
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, .35);
}
.cpu-pins i::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58%; border-radius: 1.5px; background: linear-gradient(90deg, #060607 0%, #4d4d53 36%, #1f1f23 62%, #040405 100%); }
.cpu-body {
  position: absolute;
  inset: 17px 23px 23px 17px;
  border-radius: 12px;
  background: linear-gradient(145deg, #505054 0%, #3b3b3e 45%, #2d2d30 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 1px 1px 0 #2b2b2e, 2px 2px 0 #28282b, 3px 3px 0 #252528, 4px 4px 0 #222225, 5px 5px 0 #1f1f22, 6px 6px 0 #1c1c1f, 8px 16px 26px rgba(20, 18, 30, .35);
}
.cpu-body::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  padding: 2px;
  background: var(--pearl-text-dark);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
}
.beam.is-on .cpu-body::before { animation: beam-ring 2.4s ease-out infinite; }
.cpu-plate {
  position: absolute;
  inset: 9px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #4b4b4f 0%, #3c3c3f 55%, #343437 100%);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .16), inset -1px -1px 0 rgba(0, 0, 0, .35), 1px 2px 3px rgba(0, 0, 0, .4), 2px 3px 0 rgba(0, 0, 0, .18);
}
.cpu-plate img { width: 62px; height: 62px; filter: drop-shadow(1px 1.5px .5px rgba(0, 0, 0, .6)) drop-shadow(0 0 4px rgba(255, 255, 255, .25)); }
.beam-core b {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: transparent;
  background: var(--pearl-text);
  -webkit-background-clip: text;
  background-clip: text;
}
@keyframes beam-ring {
  0% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.28); }
}

/* 곡선: 옅은 길 + 그 위를 흐르는 자개 빛 (pathLength=100 기준, 빛 길이 22) */
.beam-track { fill: none; stroke: var(--box-line); stroke-width: 2; }
.beam-flow {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 22 100;
  stroke-dashoffset: 22;
  animation: beam-flow var(--beam-dur, 3s) cubic-bezier(.3, .2, .45, 1) var(--beam-delay, 0s) infinite;   /* 카드에서 빠르게 나와 상자 앞에서 천천히 */
  animation-play-state: paused;
}
.beam.is-on .beam-flow { animation-play-state: running; }
@keyframes beam-flow { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) {
  .beam-flow { animation: none; stroke-dasharray: none; opacity: .5; }
  .cpu, .beam.is-on .cpu { animation: none; }
  .beam.is-on .cpu-body::before { animation: none; }
}

/* =========================================================
   모바일 (767px 이하) — 위 PC 규칙을 덮어씀. 본문은 화면 폭 - 좌우 16px
   (블로그 · 메인 · 강의 페이지는 site.css, 라이선스는 license.css 끝에도 모바일 블록이 있어요)
   ========================================================= */
@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --section-pad: 56px;
    --section-pad-top: 64px;
  }
  body { min-width: 0; }
  .container,
  .container-narrow { width: auto; margin-left: var(--gutter); margin-right: var(--gutter); }

  .section-head { margin-bottom: 28px; }
  .section-title { font-size: 27px; }
  .section-sub { font-size: 15.5px; }
  .pill { margin-bottom: 12px; padding: 6px 14px; font-size: 13px; }
  .btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
  .checks { flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }

  /* 헤더: 로고 · 문의하기 · 메뉴 버튼. 메뉴는 버튼을 누르면 알약 아래로 펼쳐짐 */
  .header-inner { top: 10px; height: 52px; padding: 0 6px 0 18px; }
  .header-inner > .logo { margin-right: auto; }
  .header-actions { gap: 4px; }
  .header-actions .btn { height: 36px; padding: 0 14px; font-size: 13px; }
  .cart-link { width: 36px; height: 36px; margin-right: 0; }
  .cart-link svg { width: 20px; height: 20px; }
  .cart-count { top: 1px; right: -1px; }
  .gnb-toggle { display: block; }
  .gnb {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    background: var(--dark-2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    font-size: 16px;
  }
  .header.is-menu-open .gnb { display: flex; }
  .gnb a { padding: 13px 16px; border-radius: 14px; }
  .gnb a[aria-current="page"] { background: rgba(255, 255, 255, .07); }
  .gnb a.gnb-bf { width: max-content; }
  .quick-nav { display: none; }

  /* 고정 그림 바탕은 휴대폰(특히 아이폰)에서 지원이 안 돼서 같이 흘러가게 */
  .start,
  .final-cta { background-attachment: scroll; }

  /* ---------- 점마Pro 첫 화면 ---------- */
  .hero-photo { min-height: 0; padding: 100px 0 64px; }
  .hero-bg { left: -60%; width: 220%; }
  .hero-title { margin-top: 0; font-size: 34px; line-height: 1.22; }
  .hero-sub { margin-top: 14px; font-size: 15.5px; }
  .hero-sub br { display: none; }
  .hero-btn.btn-lg { margin-top: 22px; }
  .hero-stage { flex: none; min-height: 0; height: calc((100vw - 62px) * .625 + 49px); margin-top: 40px; }
  .laptop { width: calc(100% - 40px); }
  .laptop-lid { border-radius: 14px 14px 6px 6px; }
  .laptop-bezel { padding: 8px 8px 14px; border-radius: 12px 12px 5px 5px; }
  .laptop-camera { top: 3px; width: 4px; height: 4px; margin-left: -2px; }
  .laptop-base { width: 112%; height: 14px; margin-left: -6%; }
  .laptop-notch { width: 70px; height: 5px; margin-left: -35px; }
  .hero-play-icon { width: 60px; height: 42px; border-radius: 13px; }
  .hero-play-icon::before { width: 16px; height: 18px; }
  .hero-play-icon::after { border-radius: 15px; }
  .hero-play-label { padding: 5px 11px; font-size: 12px; }
  .hero-front { bottom: 0; height: 560px; }
  .hero-trust { position: relative; top: auto; order: 3; gap: 24px; margin-top: 56px; }
  .proof-avatars img { width: 40px; height: 40px; }
  .proof-avatars img + img { margin-left: -10px; }
  .trust-text { font-size: 15px; }
  .logo-marquee { gap: 18px; }
  .marquee-track { gap: 40px; padding-right: 40px; }
  .marquee-track img { height: 22px; }

  /* ---------- 직접 눌러보는 데모 (크롬 창) ---------- */
  .chrome-tabs { height: 34px; padding: 0 6px 0 10px; }
  .chrome-lights { gap: 5px; margin-right: 10px; }
  .chrome-lights i { width: 9px; height: 9px; }
  .chrome-tablist { flex: 1; min-width: 0; height: 28px; }
  .chrome-tab-indicator { height: 28px; }
  .chrome-tab { flex: 1 1 0; width: auto; min-width: 0; height: 28px; gap: 5px; padding: 0 6px 0 8px; font-size: 11.5px; }
  .chrome-tab small,
  .chrome-tab-x,
  .chrome-newtab,
  .chrome-toolbar > .chrome-icons:last-child,
  .chrome-icons svg:nth-child(n+2),
  .chrome-omnibox > svg { display: none; }
  .chrome-tab b { width: 15px; height: 15px; }
  .chrome-toolbar { height: 34px; gap: 8px; padding: 0 8px; }
  .chrome-omnibox { height: 24px; font-size: 11px; }
  .chrome-chip { padding: 1px 6px; font-size: 10.5px; }
  .tour-card { width: calc(100% - 28px); padding: 16px 14px 14px; }
  .tour-card-title { font-size: 14.5px; }
  .tour-stats,
  .tour-person,
  .tour-meta { display: none; }
  .tour-start { height: 40px; margin-top: 12px; padding: 0 16px; font-size: 13.5px; }
  .tour-end .tour-card { gap: 10px; padding: 18px 14px 14px; }
  .tour-end .btn-lg { height: 42px; padding: 0 20px; font-size: 14px; }
  .tour-restart { font-size: 13px; }
  /* 설명 말풍선: 휴대폰에서는 화면 위가 아니라 크롬 창 아래 칸에 (main.js가 옮김) */
  .demo-body > .tour-bubble {
    position: relative;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 124px;
    margin-top: 10px;
    transform-origin: top center;
  }
  .demo-body > .tour-bubble[hidden] { display: block !important; visibility: hidden; }   /* 장면이 바뀌는 사이에도 자리를 지켜 아래가 흔들리지 않게 */
  .tour:not(.is-playing) .demo-body > .tour-bubble { display: none !important; }
  .tour-bubble-desc { font-size: 13.5px; }
  .tour-pointer { width: 12px; height: 12px; margin: -6px 0 0 -6px; }

  /* ---------- 9가지 명리학 → 점마Pro ---------- */
  .beam { height: 392px; }
  .beam-col.is-right { padding: 40px 0; }
  .beam-node { width: fit-content; height: 40px; gap: 5px; padding: 0 10px 0 4px; font-size: 12.5px; }
  .beam-col.is-right .beam-node { padding: 0 4px 0 10px; }
  .beam-ic { width: 30px; height: 30px; }
  .beam-ic img { width: 21px; height: 21px; }
  .beam-core-box { width: 90px; height: 90px; }
  .cpu-fit { scale: .6; }   /* 칩을 60%로 (150 → 90) */
  .beam-core b { top: calc(100% + 8px); font-size: 14px; }

  /* ---------- 블랙프라이데이 ---------- */
  .bf { padding: 164px 0 156px; }   /* 대각선 띠지가 제목 · 아래 링크를 가리지 않게 위아래를 넉넉히 */
  .bf-pattern { gap: 18px; }
  .bf-pattern p { font-size: 64px; }
  .bf-pattern p:nth-child(even) { translate: -60px 0; }
  .bf-tape { width: 900px; height: 38px; rotate: -10deg; }
  .bf-tape.is-top { top: 92px; left: 50%; }
  .bf-tape.is-bottom { top: calc(100% - 92px); left: 50%; }
  .bf-tape-track span { font-size: 16px; }
  .bf-band { height: 36px; }
  .bf-band-track span { font-size: 14px; }
  .bf-band-track i { margin: 0 14px; font-size: 12px; }
  main > .bf:first-child { padding-top: 236px; }
  main > .bf:first-child .bf-band.is-start { top: 74px; }
  main > .bf:first-child .bf-tape.is-top { top: 165px; }
  .bf-once { font-size: 34px; }
  .bf-sticker { top: -26px; right: -40px; width: 50px; height: 50px; font-size: 19px; }
  .bf-name { font-size: 46px; }
  .bf-gifts { margin-top: 56px; }
  .bf-mark { font-size: 16px; }
  .bf-gift-title { margin-top: 10px; font-size: 26px; }
  .bf-boxes { margin-top: 26px; }
  .bf-box-img { width: 136px; }
  .bf-box.is-2 { margin-top: 26px; }
  .bf-box figcaption { font-size: 14px; }
  .bf-spark.is-a { left: 12px; }
  .bf-spark.is-b { top: 30px; right: 10px; width: 26px; height: 26px; }
  .bf-spark.is-c { bottom: 40px; left: 26px; }
  .bf-gift { margin-top: 80px; }
  .bf-gift-pill { padding: 7px 16px; font-size: 14px; }
  .bf-gift-lead { margin-top: 14px; font-size: 16.5px; }
  .bf-gift-name { margin-top: 4px; font-size: 25px; }
  .bf-items { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 76px; padding: 20px 8px 10px; }
  .bf-items li { padding: 14px 10px 0; }
  .bf-items h4 { font-size: 15.5px; }
  .bf-items p { font-size: 12px; }
  .bf-book { width: 112px; height: 144px; padding: 16px 10px 0 20px; }
  .bf-book b { font-size: 17px; }
  .bf-items.bf-g2 { grid-template-columns: 1fr; gap: 20px; padding: 24px 10px 18px; }
  .bf-g2 .g2-list li { gap: 12px; padding: 12px 14px; }
  .g2-num,
  .bf-g2 .bf-plug { width: 42px; height: 42px; border-radius: 12px; font-size: 17px; }
  .bf-g2 .bf-plug { padding: 10px; }
  .bf-g2 h4 { font-size: 15.5px; }
  .g2-phone { justify-self: center; width: 272px; height: 540px; }
  .bf-timer { margin-top: 104px; padding-top: 48px; }
  .bf-timer::before {   /* PC 원을 0.6배로 */
    top: -72px;
    width: 552px;
    height: 288px;
    background: radial-gradient(circle 270px at 50% 300px,
      #000 0 227px,
      rgba(255, 255, 255, .7) 228px,
      rgba(205, 190, 255, .45) 231px,
      rgba(160, 215, 255, .16) 242px,
      transparent 270px);
    -webkit-mask-image: radial-gradient(204px 63px at 50% 72px, #000 40%, transparent 100%);
    mask-image: radial-gradient(204px 63px at 50% 72px, #000 40%, transparent 100%);
  }
  .bf-timer::after { top: -90px; width: 492px; height: 180px; }
  .bf-clock { gap: 4px; }
  .bf-unit { gap: 12px; }
  .bf-unit b,
  .bf-digits em { font-size: 38px; }
  .bf-clock > i { font-size: 32px; }
  .bf-unit small { font-size: 10px; letter-spacing: .14em; }
  .bf-cta { margin-top: 30px; }

  /* ---------- 후기: 카드는 옆으로 넘겨 보기 ---------- */
  .rc-grid {
    display: flex;
    gap: 12px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .rc-grid::-webkit-scrollbar { display: none; }
  .rc-grid > .rc { flex: 0 0 80%; scroll-snap-align: start; }
  .rc-strip img { width: 140px; }

  /* ---------- 이런 상황 · 셀프 체크 · 왜 오래 걸리는지 ---------- */
  .pain-grid { grid-template-columns: 1fr; }
  .ck-group { padding: 18px 14px; }
  .ck-gh { font-size: 17px; }
  .ck-item { padding: 12px; font-size: 14.5px; }
  .ck-big { font-size: 21px; }
  .ck-msg { font-size: 15px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-col { padding: 26px 18px 22px; }
  .why-col h3 { font-size: 20px; }
  .why-list li { grid-template-columns: 64px 1fr; row-gap: 2px; padding: 12px 0 12px 22px; }
  .why-list em { grid-column: 2; }

  /* ---------- 핵심 기능 4단계 ---------- */
  .step-nav { top: 72px; justify-content: space-between; width: 100%; margin-bottom: 20px; padding: 5px; }
  .step-nav a { padding: 9px 11px; font-size: 13.5px; white-space: nowrap; }
  .step-nav a b { margin-right: 4px; }
  .feature { grid-template-columns: 1fr; gap: 26px; padding: 26px 18px 20px; scroll-margin-top: 140px; }
  .feature h3 { font-size: 24px; }
  .feature-text > p { font-size: 15px; }
  .feature-media { padding: 14px; }
  .feature-badge { top: -16px; left: 10px; padding: 7px 12px 7px 7px; }
  .feature-badge i { width: 28px; height: 28px; font-size: 13px; }
  .feature-badge span { font-size: 13.5px; }

  /* ---------- 결과지 인쇄: 선택 버튼 둘을 위에 나란히 ---------- */
  .sheet-box { grid-template-columns: 1fr; gap: 12px; }
  .sheet-switch { flex-direction: row; }
  .sheet-option { padding: 14px 14px 13px; }
  .sheet-tag { margin-bottom: 8px; padding: 2px 8px; font-size: 11px; }
  .sheet-option strong { font-size: 15.5px; }
  .sheet-option small { font-size: 12.5px; }

  /* ---------- 시작 방법: 화면은 위에 붙어 있고 단계가 아래에서 지나감 ---------- */
  .flow { display: flex; flex-direction: column; gap: 0; }
  .flow-visual {
    position: sticky;
    top: 70px;
    z-index: 3;
    order: -1;
    margin: 0 calc(var(--gutter) * -1) 12px;
    padding: 8px var(--gutter) 12px;
    background: rgba(12, 11, 16, .96);
  }
  .flow-sticky { position: static; }
  .flow-caption { margin-top: 10px; font-size: 13px; }
  .flow-step { min-height: 30vh; }
  .flow-step:last-child { min-height: 34vh; }
  .flow-step:last-child .flow-step-in { min-height: 0; }
  .flow-step-in { position: static; }
  .flow-screen.is-paper { padding: 12px; }
  .folder-tree { padding: 12px 14px; font-size: 13px; }
  .folder-tree ul { margin-top: 6px; }
  .folder-tree li { padding: 5px 0; }
  .folder-tree li span { font-size: 12px; }
  .folder-tree li em { font-size: 11px; }

  /* ---------- 전체 기능 · 가격 · 질문 · 업데이트 · 추천 ---------- */
  .fgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fgrid li { height: 236px; padding: 22px 12px 0; }
  .fgrid h3 { font-size: 15.5px; }
  .fgrid p { font-size: 12.5px; }
  .fgrid img { margin-top: 16px; }
  .compare-row { grid-template-columns: 76px 1fr 112px; font-size: 14px; }
  .compare-row > span { padding: 14px 10px; }
  .compare-head > span { padding-top: 12px; padding-bottom: 12px; font-size: 12.5px; }
  .compare-total > span:nth-child(2) { font-size: 13px; }
  .price strong { font-size: 21px; }
  .price small,
  .price s { font-size: 11.5px; }
  .faq-list summary { gap: 14px; padding: 18px; font-size: 15.5px; }
  .faq-list summary::after { width: 28px; height: 28px; }
  .faq-list details p { padding: 0 18px 20px; font-size: 14.5px; }
  .up-grid { grid-template-columns: 1fr; }
  .up-col { padding: 18px 14px; }
  .up-list.is-next li.is-skel:nth-last-child(-n+3) { display: none; }   /* 한 줄로 쌓이면 높이를 맞출 필요가 없어서 빈 줄은 3개만 */
  .rec-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rec-grid li { column-gap: 8px; padding: 18px 14px 16px; }
  .rec-grid li::before { width: 24px; height: 24px; background-size: 14px, cover; }
  .rec-grid h3 { font-size: 15.5px; }
  .rec-grid p { margin-top: 10px; font-size: 12.5px; }
  .custom-card { flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px 22px; }
  .custom-card h2 { font-size: 22px; }
  .custom-card p { font-size: 14px; }

  /* ---------- 마지막 버튼 · 푸터 · 정책 ---------- */
  .final-cta { padding: 72px 0; }
  .final-title { font-size: 32px; }
  .final-sub { margin: 12px 0 24px; font-size: 15.5px; }
  .footer { padding: 44px 0 32px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-cols { flex-direction: column; gap: 20px; }   /* 휴대폰: 메뉴 한 줄 → SNS 아이콘 한 줄 (가로 정렬) */
  .footer-cols > div:not(.footer-sns) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
  .footer-cols > div:not(.footer-sns) .footer-heading { margin-bottom: 0; }
  .footer-cols > div:not(.footer-sns) a { margin-bottom: 0; }
  .footer-sns { flex-direction: row; gap: 12px; }
  .legal { padding: 100px 0 72px; }
  .legal h1 { font-size: 28px; }
  .legal-intro,
  .legal-box { padding: 16px; }
  .is-embed .legal .container { padding: 0 18px; }

  /* 화면 아래 알림: 카카오 버튼(오른쪽 아래)을 피해 왼쪽에, 길면 줄바꿈 */
  .snackbar { right: 80px; left: var(--gutter); bottom: max(22px, env(safe-area-inset-bottom)); justify-items: start; }
  .snack-item { max-width: 100%; padding: 10px 14px; font-size: 13px; white-space: normal; }
}

/* 태블릿 · 좁은 PC 창(768~939px): PC 배치 그대로, 본문 폭만 화면에 맞춤 (가로 스크롤 없이) */
@media (min-width: 768px) and (max-width: 939px) {
  body { min-width: 0; }
  .container { width: auto; margin-left: 16px; margin-right: 16px; }
  .container-narrow { width: auto; max-width: var(--container-narrow); }
  .container.container-narrow { margin-left: max(16px, calc((100% - var(--container-narrow)) / 2)); margin-right: max(16px, calc((100% - var(--container-narrow)) / 2)); }
  .quick-nav { display: none; }
}
/* 섹션 바로가기는 본문 오른쪽 옆에 자리가 있을 때만 — 1060px 미만이면 본문을 가려서 숨겨요 (본문 900px + 옆 여유) */
@media (max-width: 1059px) { .quick-nav { display: none; } }

/* ---------- 스크롤바 숨김: 스크롤은 그대로 되고(휠 · 트랙패드 · 터치 · 키보드), 막대만 안 보여요 ---------- */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }

/* ============================================================
   블랙프라이데이 새 섹션 (타임어택 밑): 가격 · 룰렛 · AI 에이전트 · 피클 · 후기
   원본 = content/partials/bf-extra.html
   ============================================================ */
.bfx { position: relative; isolation: isolate; --a0: #c9b8ff; --a1: #ffc4dc; --a2: #b8f0d8; --a3: #ffe1a8; margin: 72px auto 0; display: grid; gap: 132px; text-align: center; }
.bfx-block { width: 100%; max-width: 720px; margin: 0 auto; }
.bfx-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: rgba(255, 255, 255, .86); }
.bfx-eyebrow.is-pearl { border-color: rgba(255, 255, 255, .7); background: var(--pearl-fill); color: #18171c; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 4px 18px rgba(200, 190, 255, .18); }   /* 선물 01 · 02: 자개 버튼 */
.bfx-h { margin-top: 18px; font-size: 44px; font-weight: 900; line-height: 1.3; letter-spacing: -0.04em; }
.bfx-h em { font-style: normal; color: transparent; background: var(--pearl-text-dark); -webkit-background-clip: text; background-clip: text; }
.bfx-sub { margin-top: 16px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .72); word-break: keep-all; }
.bfx-quote { margin-top: 22px; font-size: 26px; font-weight: 800; line-height: 1.5; letter-spacing: -0.03em; word-break: keep-all; }
.bfx-fine { margin-top: 18px; font-size: 13.5px; line-height: 1.75; color: rgba(255, 255, 255, .5); word-break: keep-all; }
.bfx-label { display: inline-block; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .55); }
.bfx-cta { margin-top: 34px; }

/* 1. 가격 */
.bfx-period { margin-top: 18px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.bfx-period b { color: #fff; }
.bfx-pricecard { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; margin-top: 34px; text-align: left; }
.bfx-was, .bfx-now { display: grid; align-content: center; gap: 6px; padding: 28px 24px; border-radius: 22px; }
.bfx-was { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); }
.bfx-was-line { color: rgba(255, 255, 255, .45); font-size: 15px; }   /* 기존 가격: 취소선 없이 흐린 글씨 */
.bfx-was .bfx-was-total { font-size: 24px; font-weight: 800; }
.bfx-now { position: relative; border: 1px solid transparent; background: linear-gradient(#0b0b10, #0b0b10) padding-box, var(--pearl-fill) border-box; }
.bfx-badge { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--pearl-fill); color: #18171c; font-size: 13px; font-weight: 800; }
.bfx-now-price { font-size: 40px; font-weight: 900; line-height: 1.2; letter-spacing: -0.04em; }
.bfx-now small { font-size: 14px; color: rgba(255, 255, 255, .66); }
.bfx-notes { display: grid; gap: 10px; margin-top: 26px; padding: 0; list-style: none; text-align: left; }
.bfx-notes li { padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .8); word-break: keep-all; }
.bfx-notes b { display: block; margin-bottom: 2px; font-size: 14px; color: #fff; }

/* 2. 룰렛 */
.bfx-wheel { margin: 30px auto 26px; width: min(100%, 440px); }   /* 1:1 룰렛 그림: 원판과 핀만 (배경 투명)*/
.bfx-wheel img { display: block; width: 100%; height: auto; }
.bfx-form { margin: 0 auto; max-width: 560px; border: 2px solid rgba(255, 255, 255, .9); border-radius: 16px; overflow: hidden; text-align: left; background: rgba(255, 255, 255, .03); }
.bfx-form[hidden], .bfx-row[hidden] { display: none; }
.bfx-claim { margin-top: 18px; }
.bfx-row { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.bfx-key { display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-size: 15px; font-weight: 800; background: rgba(255, 255, 255, .06); border-right: 1px solid rgba(255, 255, 255, .22); }
.bfx-key i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #000; font-size: 12px; font-style: normal; }
.bfx-val { display: flex; align-items: center; padding: 10px 12px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.bfx-val-2 { gap: 8px; }
.bfx-val-addr { flex-direction: column; align-items: stretch; gap: 8px; }
.bfx-addr-top { display: flex; gap: 8px; }
.bfx-form input[type="text"], .bfx-form input[type="tel"], .bfx-form input[type="email"], .bfx-lookup input {
  width: 100%; min-width: 0; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .26); background: rgba(0, 0, 0, .5); color: #fff; font: inherit; font-size: 16px; }
.bfx-form input::placeholder, .bfx-lookup input::placeholder { color: rgba(255, 255, 255, .38); }
.bfx-form input:focus-visible, .bfx-lookup input:focus-visible { outline: 2px solid var(--a0); outline-offset: 1px; }
.bfx-form input[readonly] { color: rgba(255, 255, 255, .75); }
.bfx-prize { padding: 18px 16px; border-bottom: 1px solid rgba(255, 255, 255, .22); font-size: 20px; font-weight: 900; text-align: center; letter-spacing: -0.03em; background: rgba(200, 185, 255, .12); }
.bfx-agree { display: flex; gap: 10px; align-items: flex-start; padding: 16px; font-size: 14.5px; line-height: 1.6; cursor: pointer; }
.bfx-agree input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: #c9b8ff; }
.bfx-agree small { color: rgba(255, 255, 255, .55); font-size: 12.5px; }
.bfx-agree a { text-decoration: underline; text-underline-offset: 3px; }
.bfx-msg { padding: 0 16px; min-height: 22px; font-size: 14.5px; line-height: 1.6; color: #ffd0a8; }
.bfx-msg.is-ok { color: #b8f0d8; }
.bfx-btn { display: block; width: calc(100% - 32px); margin: 8px 16px 16px; padding: 16px; border: 0; border-radius: 12px; background: var(--pearl-fill); color: #18171c; font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
.bfx-btn:disabled { opacity: .55; cursor: default; }
.bfx-btn-sm { flex: none; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; color: #000; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.bfx-lookup { margin: 14px auto 0; max-width: 560px; font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.bfx-lookup summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.bfx-lookup form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 12px; }
.bfx-lookup .bfx-msg { grid-column: 1 / -1; padding: 0; text-align: left; }

/* 3. AI 에이전트 */
.bfx-swarm { margin: 34px auto 0; max-width: 640px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); background: #0d0c12; text-align: left; }
.sw-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .7); }
.sw-dots { display: flex; gap: 6px; }
.sw-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.sw-title { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-clock { display: flex; align-items: baseline; gap: 6px; }
.sw-clock small { font-size: 11.5px; color: rgba(255, 255, 255, .5); }
.sw-clock b { font-variant-numeric: tabular-nums; font-size: 18px; color: #fff; }
.sw-frame { display: block; width: 100%; aspect-ratio: 640 / 430; border: 0; background: #f4f3f8; }
.sw-note { padding: 0 16px 12px; font-size: 12px; color: rgba(255, 255, 255, .42); }
.bfx-agents li[data-a="0"] { --ac: var(--a0); }
.bfx-agents li[data-a="1"] { --ac: var(--a1); }
.bfx-agents li[data-a="2"] { --ac: var(--a2); }
.bfx-agents li[data-a="3"] { --ac: var(--a3); }
.bfx-agents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px auto 0; padding: 0; max-width: 640px; list-style: none; text-align: left; }
.bfx-agents li { display: grid; gap: 4px; padding: 18px 18px 18px 22px; border-radius: 16px; background: rgba(255, 255, 255, .05); border-left: 4px solid var(--ac); }
.bfx-agents b { font-size: 17px; }
.bfx-agents span { font-size: 14px; color: rgba(255, 255, 255, .62); }
.bfx-worth { display: inline-grid; gap: 4px; margin-top: 26px; padding: 18px 30px; border-radius: 22px; background: var(--pearl-fill); color: #18171c; }
.bfx-worth span { font-size: 14px; font-weight: 700; }
.bfx-worth b { font-size: 30px; font-weight: 900; letter-spacing: -0.04em; }
.bfx-how { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 30px auto 0; max-width: 640px; text-align: left; }
.bfx-how i { font-style: normal; font-size: 26px; color: rgba(255, 255, 255, .5); }
.bfx-how > div { height: 100%; padding: 20px; border-radius: 18px; }
.bfx-how p { margin-top: 8px; font-size: 15.5px; line-height: 1.65; word-break: keep-all; }
.how-old { border: 1px dashed rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .6); }
.how-new { border: 1px solid transparent; background: linear-gradient(#0b0b10, #0b0b10) padding-box, var(--pearl-fill) border-box; }
.how-new b { color: #fff; }

/* 4. 피클 */
.bfx-steps { display: grid; gap: 10px; margin: 28px auto 0; padding: 0; max-width: 560px; list-style: none; text-align: left; }
.bfx-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); font-size: 15.5px; line-height: 1.55; word-break: keep-all; }
.bfx-steps b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pearl-fill); color: #18171c; font-size: 14px; }
.bfx-pk { margin-top: 30px; }
.pk-tabs { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); --pk-at: 0; }
.pk-tabs-thumb {   /* 고른 쪽 = 자개 알약 (데모 고르기 알약과 같은 바탕) — --pk-at(0 · 1)만큼 옆으로 미끄러져요 */
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 2); border-radius: 999px;
  background:
    linear-gradient(120deg, rgba(255, 190, 230, .32), rgba(175, 225, 255, .32) 35%, rgba(205, 255, 225, .28) 65%, rgba(255, 228, 190, .32)),
    url("../img/pearl.webp") center / cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(120, 110, 140, .18), 0 6px 16px rgba(0, 0, 0, .25);
  transform: translateX(calc(var(--pk-at) * 100%)); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.pk-tabs button { position: relative; z-index: 1; padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .62); font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; transition: color .3s; }
.pk-tabs button[aria-selected="true"] { color: #18171c; }
.pk-tabs button:focus-visible { outline: 2px solid #c9b8ff; outline-offset: 2px; }
.pk-phone { touch-action: pan-y; }   /* 휴대폰 화면을 옆으로 밀어도 전화 ↔ 메시지가 바뀌어요 */
@media (prefers-reduced-motion: reduce) { .pk-tabs-thumb { transition: none; } }
/* 피클 앱 화면처럼 (예시 화면) — 흰 화면 · 파란 내 말풍선 · 통화 카드 · 전화 수신 알림 · 통화 화면
   순서: main.js '피클'이 .bfx-pk에 k1~k9 클래스를 차례로 붙여요 (전화 모드), 메시지 모드는 .is-msg */
.pk-phone { contain: paint; position: relative; display: flex; flex-direction: column; width: 320px; height: 660px; margin: 26px auto 0; padding: 14px 16px 16px; border-radius: 46px; background: #fff; color: #18171c; text-align: left; overflow: hidden;
  box-shadow: 0 0 0 7px #1d1c22, 0 0 0 8px #3b3a42, 0 30px 70px rgba(0, 0, 0, .55), 0 0 90px rgba(120, 170, 255, .14); }
.pk-status { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 0; font-size: 15px; }
.pk-status b { font-weight: 700; letter-spacing: -0.01em; }
.pk-sig { display: flex; gap: 5px; align-items: center; }
.pk-sig svg { width: auto; height: 11px; fill: currentColor; }
.pk-batt { position: relative; width: 22px; height: 11px; border-radius: 3px; background: currentColor; }
.pk-batt::after { content: ""; position: absolute; right: -3px; top: 3.5px; width: 2px; height: 4px; border-radius: 1px; background: currentColor; }
.pk-top { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 16px; }
.pk-round { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #ececf0, 0 6px 14px rgba(20, 20, 30, .07); font-size: 14px; font-weight: 600; }
.pk-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.pk-menu i { width: 16px; height: 2px; border-radius: 2px; background: #333; }
.pk-who { display: grid; justify-items: center; }
.pk-logo { width: 52px; min-width: 0; height: 52px; padding: 0; }
.pk-who b { position: relative; margin-top: -6px; padding: 4px 13px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #ececf0, 0 4px 10px rgba(20, 20, 30, .06); font-size: 14px; }
.pk-clover { display: block; width: 30px; height: 30px; background: url("../img/bf/pickle.webp") center / contain no-repeat; }   /* 피클 캐릭터 (사용자가 준 그림) */
.pk-logo .pk-clover { width: 40px; height: 40px; }
.pk-ring-av .pk-clover { width: 32px; height: 32px; }
.pk-chat { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 9px; min-height: 0; padding: 12px 0 14px; overflow: hidden; }
.pk-me { align-self: flex-end; max-width: 84%; padding: 10px 14px; border-radius: 18px; background: #2a72ff; color: #fff; font-size: 13.5px; line-height: 1.45; }
.pk-ai { align-self: flex-start; max-width: 92%; padding: 10px 14px; border-radius: 18px; background: #f2f2f5; font-size: 13.5px; line-height: 1.45; }
.pk-card { flex: none; padding: 7px; border-radius: 22px; background: #f2f2f5; }
.pk-card-head { display: flex; align-items: center; gap: 9px; padding: 4px 4px 9px; }
.pk-card-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: #e3e3e8; }
.pk-card-ic svg { width: 17px; height: 17px; fill: #111; }
.pk-card-title { display: grid; flex: 1; min-width: 0; }
.pk-card-title b { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-card-title small { font-size: 11px; color: #8a8a93; }
.pk-live { display: flex; align-items: center; gap: 4px; color: #3b86ee; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pk-wave { display: flex; align-items: center; gap: 2px; height: 14px; }
.pk-wave i { width: 2px; height: 13px; border-radius: 2px; background: #8fbaf3; transform: scaleY(.3); animation: pk-wave 1s ease-in-out infinite; }
.pk-wave i:nth-child(2) { animation-delay: .15s; } .pk-wave i:nth-child(3) { animation-delay: .3s; } .pk-wave i:nth-child(4) { animation-delay: .45s; } .pk-wave i:nth-child(5) { animation-delay: .6s; }
@keyframes pk-wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.pk-hang { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.pk-hang svg { width: 18px; height: 18px; fill: #e5312b; }
.pk-card-body { display: grid; min-height: 118px; padding: 14px; border-radius: 16px; background: #fff; }
.pk-wait, .pk-oncall { display: none; place-items: center; align-content: center; gap: 4px; text-align: center; }
.pk-wait b, .pk-oncall b { font-size: 13.5px; font-weight: 600; color: #7c7c86; }
.pk-wait small, .pk-oncall small { font-size: 11.5px; color: #b0b0b8; }
.pk-dots { display: flex; gap: 4px; margin-bottom: 4px; }
.pk-dots i { width: 5px; height: 5px; border-radius: 50%; background: #c9c9d0; animation: pk-dot 1.1s ease-in-out infinite; }
.pk-dots i:nth-child(2) { animation-delay: .18s; } .pk-dots i:nth-child(3) { animation-delay: .36s; }
.pk-dots.is-green i { background: #4fcf3e; }
@keyframes pk-dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }
.pk-done { display: none; gap: 8px; align-content: start; }
.pk-done b { font-size: 12px; font-weight: 600; color: #8a8a93; }
.pk-msgbody { display: grid; gap: 6px; align-content: end; }
.pk-said { justify-self: start; max-width: 92%; padding: 9px 12px; border-radius: 14px; background: #edf1f8; color: #333; font-size: 12.5px; line-height: 1.5; }
.pk-input { display: flex; flex: none; align-items: center; gap: 10px; height: 54px; padding: 0 6px 0 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #ececf0, 0 8px 20px rgba(20, 20, 30, .08); }
.pk-plus { font-size: 24px; font-weight: 300; line-height: 1; }
.pk-ph { flex: 1; color: #b4b4bc; font-size: 14px; }
.pk-mic { flex: none; width: 20px; height: 20px; fill: none; stroke: #222; stroke-width: 1.8; stroke-linecap: round; }
.pk-callbtn { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #111; }
.pk-callbtn svg { width: 18px; height: 18px; fill: #fff; }
.pk-nav { display: flex; flex: none; justify-content: space-between; margin: 14px 26px 0; padding: 6px; border-radius: 999px; box-shadow: 0 0 0 1px #ececf0, 0 6px 16px rgba(20, 20, 30, .06); }
.pk-nav span { display: grid; place-items: center; width: 54px; height: 40px; border-radius: 999px; }
.pk-nav span.on { background: #f0f0f3; }
.pk-nav svg { width: 21px; height: 21px; fill: none; stroke: #222; stroke-width: 1.9; stroke-linejoin: round; }
.pk-nav span.on svg { fill: #222; }
/* 전화 / 메시지 모드 */
.bfx-pk .t-msg { display: none; }
.bfx-pk.is-msg .t-msg { display: inline; }
.bfx-pk.is-msg .t-call { display: none; }
.bfx-pk.is-msg .t-call-f { display: none !important; }
.bfx-pk:not(.is-msg) .t-msg-f { display: none !important; }
/* 대화가 차례로 올라와요 */
.pk-chat > .s1, .pk-chat > .s2, .pk-chat > .s3, .pk-chat > .s4 { display: none; }
.bfx-pk.k1 .s1, .bfx-pk.k2 .s2, .bfx-pk.k3 .s3, .bfx-pk.k4 .s4 { display: block; animation: pk-in .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pk-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.bfx-pk.k3 .pk-msgbody .pk-said { animation: pk-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.bfx-pk.k3 .pk-msgbody .m1 { animation-delay: .3s; } .bfx-pk.k3 .pk-msgbody .m2 { animation-delay: .95s; } .bfx-pk.k3 .pk-msgbody .m3 { animation-delay: 1.6s; }
/* 통화 카드 몸통: 연결 대기 → 통화 중 → 마침 */
.bfx-pk.k3 .pk-wait { display: grid; }
.bfx-pk.k7 .pk-wait { display: none; }
.bfx-pk.k7 .pk-oncall { display: grid; }
.bfx-pk.k9 .pk-oncall { display: none; }
.bfx-pk.k9 .pk-done { display: grid; animation: pk-in .4s ease both; }
.bfx-pk.k9 .pk-live, .bfx-pk.k9 .pk-hang { display: none; }
/* 전화 수신 알림: 위에서 내려와요 */
.pk-ring { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 40px; background: #0d0d10; color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35); translate: 0 -140%; transition: translate .55s cubic-bezier(.2, .9, .25, 1.12); }
.bfx-pk.k5 .pk-ring { translate: 0 0; }
.bfx-pk.k7 .pk-ring { translate: 0 -140%; transition-duration: .3s; }
.pk-ring-av { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #2b2b33; }
.pk-ring-who { display: grid; flex: 1; min-width: 0; }
.pk-ring-who small { font-size: 11.5px; color: #a6a6b0; }
.pk-ring-who b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-ring-btn { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; transition: scale .15s; }
.pk-ring-btn svg { width: 22px; height: 22px; fill: #fff; }
.pk-ring-btn.is-no { background: #e5312b; }
.pk-ring-btn.is-ok { background: #33c75a; }
.pk-ring-btn.is-ok { position: relative; }
.pk-ring-btn.is-ok::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: rgba(51, 199, 90, .55); opacity: 0; }
.bfx-pk.k5 .pk-ring-btn.is-ok::after { animation: pk-ringing 1s ease-out infinite; }
.bfx-pk.k6 .pk-ring-btn.is-ok { scale: .84; }
.bfx-pk.k6 .pk-ring-btn.is-ok::after { animation: none; }
@keyframes pk-ringing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.45); opacity: 0; } }
/* 통화 화면 */
.pk-callui { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; padding: 14px 18px 26px; color: #fff; opacity: 0; pointer-events: none; transition: opacity .45s ease;
  background: radial-gradient(110% 70% at 15% 15%, rgba(140, 92, 44, .95), transparent 60%), radial-gradient(90% 70% at 85% 70%, rgba(118, 62, 26, .9), transparent 62%), linear-gradient(165deg, #5b4c3c, #403a52 58%, #2c3145); }
.pk-callui .pk-status { align-self: stretch; }
.bfx-pk.k7 .pk-callui { opacity: 1; }
.bfx-pk.k9 .pk-callui { opacity: 0; }
.pk-callui-time { margin-top: 40px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.pk-callui-name { margin-top: 4px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.pk-callui-sub { margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.pk-callui-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; align-self: stretch; margin-top: auto; text-align: center; }
.pk-callui-btns span { display: grid; justify-items: center; gap: 6px; font-size: 11.5px; }
.pk-callui-btns i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: scale .15s; }
.pk-callui-btns svg { width: 24px; height: 24px; fill: #fff; }
.pk-callui-btns svg .ln { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.pk-callui-btns .is-on i { background: #fff; }
.pk-callui-btns .is-on svg { fill: #111; } .pk-callui-btns .is-on svg .ln { stroke: #111; }
.pk-callui-btns .is-end i { background: #e5312b; box-shadow: none; }
.bfx-pk.k8 .pk-callui-btns .is-end i { scale: .84; }
@media (prefers-reduced-motion: reduce) {
  .pk-chat > .s1, .pk-chat > .s2, .pk-chat > .s3, .pk-chat > .s4 { display: block; animation: none; }
  .pk-wave i, .pk-dots i { animation: none; }
}
@media (max-width: 640px) { .pk-phone { width: 300px; height: 630px; } }

/* 5. 후기: 3열 세로 루프 (가운데 열은 반대로) */
/* 스토어 후기: 세 줄이 좌우로 흘러가요 (줄마다 방향을 엇갈리게). 본문 폭을 넘어 화면 끝까지, 양옆은 스르르 */
.bfx-rv { --rv-gap: 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--rv-gap); width: 100vw; margin: 48px 0 0 calc(50% - 50vw); overflow: hidden; text-align: left;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.rv-col { overflow: visible; }
.rv-track { display: flex; align-items: stretch; gap: var(--rv-gap); width: max-content; margin: 0; padding: 0; list-style: none; animation: rv-side 120s linear infinite; }
.rv-col.is-rev .rv-track { animation-direction: reverse; animation-duration: 135s; }
@keyframes rv-side { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--rv-gap) / 2)); } }
.rv-card { flex: none; width: 300px; display: grid; align-content: start; gap: 8px; padding: 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); }
.rv-gap { width: 0; }
.rv-prod { font-size: 12px; font-weight: 700; color: var(--a0); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-body { font-size: 14px; line-height: 1.65; word-break: keep-all; color: rgba(255, 255, 255, .88); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rv-meta { display: grid; gap: 2px; font-size: 11.5px; color: rgba(255, 255, 255, .45); }
.bfx-stories-title { margin-top: 56px; font-size: 20px; font-weight: 800; color: #fff; }
.bfx-stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; }
.bfx-stories .story { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; color: #fff; text-align: left;
  background: #1a191e; }
.story-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bfx-stories .story::before { content: ""; position: absolute; inset: 0 0 auto; height: 120px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0)); }   /* 이름이 그림 위에서도 읽히게 위쪽만 살짝 어둡게 */
.story-head { position: absolute; left: 12px; right: 12px; top: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.story-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; padding: 2.5px; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.story-avatar span { display: grid; place-items: end center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; border: 2.5px solid #fff; background: linear-gradient(145deg, #f7c9e8, #c6b6f6); }
.story-avatar.is-b span { background: linear-gradient(145deg, #c2f2df, #a6d6fb); }
.story-avatar.is-c span { background: linear-gradient(145deg, #ffe0b8, #ffbfa6); }
.story-avatar svg { width: 82%; height: 82%; fill: #fff; }
.story-name { flex: 1; min-width: 0; font-size: 17px; line-height: 22px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.story-name em { display: block; font-style: normal; font-weight: 500; font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, .7); }
.story-tag { flex: none; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 11.5px; font-weight: 800; }
.story-name { font-size: 13.5px; line-height: 18px; }

@media (max-width: 640px) {
  .bfx { gap: 96px; margin-top: 48px; }
  .bfx-h { font-size: 32px; }
  .bfx-sub { font-size: 15.5px; }
  .bfx-quote { font-size: 21px; }
  .bfx-pricecard { grid-template-columns: 1fr; }
  .bfx-now-price { font-size: 34px; }
  .bfx-row { grid-template-columns: 1fr; }
  .bfx-key { border-right: 0; padding: 10px 14px; }
  .bfx-lookup form { grid-template-columns: 1fr; }
  .bfx-agents { grid-template-columns: 1fr; }
  .bfx-how { grid-template-columns: 1fr; }
  .bfx-how i { transform: rotate(90deg); justify-self: center; }
  .bfx-rv { --rv-gap: 8px; }
  .rv-card { width: 230px; }
  .rv-card { padding: 10px; gap: 6px; border-radius: 12px; }
  .rv-prod { font-size: 10.5px; }
  .rv-body { font-size: 12px; line-height: 1.55; -webkit-line-clamp: 6; }
  .rv-meta { font-size: 10px; }
  .bfx-stories { gap: 8px; }
  .bfx-stories .story { border-radius: 16px; }
  .story-head { top: 10px; left: 7px; right: 7px; gap: 5px; }
  .story-avatar { width: 26px; height: 26px; padding: 1.5px; }
  .story-avatar span { border-width: 1.5px; }
  .story-name em, .story-tag { display: none; }
  .story-name { font-size: 11px; line-height: 14px; }
      }
@media (prefers-reduced-motion: reduce) {
  .rv-track, .pk-wave i { animation: none; }
}

/* 새 섹션 뒤에는 BLACK FRIDAY 글자 무늬가 비치지 않게 — 화면 폭 전체를 검정으로 덮어요 */
.bfx::before { content: ""; position: absolute; z-index: -1; top: -40px; bottom: -80px; left: 50%; width: 100vw; margin-left: -50vw; background: #000;
  -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 200px), transparent); mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 200px), transparent); }   /* 뒤 무늬 가림판: 위아래 끝은 스르르 풀어서 아래 시계 빛이 잘린 상자로 보이지 않게 */

/* 블랙프라이데이 새 섹션: 처음 나타날 때 — 모두 같은 '살짝 올라오며 나타남'(가볍게). 크기 변화 · 좌우 이동은 쓰지 않아요 (겹쳐 보이거나 끊겨 보이지 않게) */
.js-reveal .bfx .rv { translate: 0 20px; }
.js-reveal .bfx .rv.is-in { opacity: 1; translate: 0 0; transition: opacity .6s ease var(--rv-delay, 0ms), translate .7s cubic-bezier(.2, .7, .2, 1) var(--rv-delay, 0ms); }   /* 제자리로 '올라오면서' 나타나요 (translate를 꼭 0으로 — 안 그러면 다 나타난 뒤 툭 올라가요) */
@media (prefers-reduced-motion: reduce) { .js-reveal .bfx .rv { opacity: 1; translate: none; } }

.bf-gifts.bfx-giftintro { margin-top: 0; }

/* 블랙프라이데이: 룰렛 돌리기 버튼(링크) · 룰렛 페이지 */
.bfx-btn-link { display: block; max-width: 560px; margin: 0 auto; padding: 18px 16px; border-radius: 14px; background: var(--pearl-fill); color: #18171c; font-size: 18px; font-weight: 900; text-align: center; text-decoration: none; }
.bfx-btn-link:hover { filter: brightness(1.04); }
.bfr { padding: 140px 0 120px; color: #fff; text-align: center; background: #000; min-height: 100vh; }
.bfr .bfx { margin-top: 0; }
.bfx-back { margin-top: 26px; font-size: 14.5px; }
.bfx-back a { color: rgba(255, 255, 255, .6); text-decoration: underline; text-underline-offset: 3px; }

/* 뒤 무늬 글자는 사라지는 높이까지만 — 화면 밖 긴 영역을 그리지 않아서 스크롤이 가벼워져요 */
.bf-pattern { bottom: auto; height: calc(var(--fade-at, 2200px) + 460px); }
/* 후기 흐름은 화면에 있을 때만 움직여요 */
.bfx-rv.is-paused .rv-track { animation-play-state: paused; }
.rv-track { will-change: transform; }

/* ---------- 블랙프라이데이 새 섹션 다듬기 (2026-11-15) ---------- */
/* 폭: 안쪽 글자가 길어도 화면 밖으로 밀려나지 않게 (모바일에서 섹션 전체가 오른쪽으로 잘리던 문제) */
.bfx { grid-template-columns: minmax(0, 1fr); }
.bfx-block, .bfx-gifts, .bfx-stories > *, .rv-col { min-width: 0; }
.bfx-stories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bfx-pricecard { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: stretch; }   /* 두 상자 높이를 맞추고, 할인 상자는 글 폭만큼만 */
/* 기존 가격 → 할인 가격: 기존 가격 상자에서 화살표가 뻗어 나와 할인 가격 쪽으로 밀어요 (화살촉이 앞뒤로 반복) */
.bfx-pricecard { column-gap: 50px; }
.bfx-was { position: relative; z-index: 2; background: #0a0a0a; }
.bfx-now { padding: 26px 24px; border: 1px solid rgba(255, 255, 255, .85); background: var(--pearl-fill); color: #141318; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 40px rgba(200, 190, 255, .18); }   /* 할인 가격 상자: 자개 바탕 + 진한 글씨 */
.bfx-now .bfx-badge { background: #141318; color: #fff; }
.bfx-now small { color: rgba(20, 19, 24, .68); font-weight: 600; }
.bfx-now .bfx-now-price { font-size: 54px; line-height: 1.12; }
.bfx-now { z-index: 1; }
.bfx-push { position: absolute; left: calc(100% - 1px); top: 50%; width: 66px; height: 84px; margin-top: -42px; pointer-events: none; }
.bfx-push i { position: absolute; left: 0; top: 21px; width: 23px; height: 42px; border: solid rgba(255, 255, 255, .16); border-width: 1px 0; background: #0a0a0a; transform-origin: 0 50%; animation: bfx-push-shaft 1.3s cubic-bezier(.45, 0, .55, 1) infinite; }
.bfx-push svg { position: absolute; left: 22px; top: 0; width: 40px; height: 84px; overflow: visible; animation: bfx-push-head 1.3s cubic-bezier(.45, 0, .55, 1) infinite; }
.bfx-push .f { fill: #0a0a0a; }
.bfx-push .s { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; stroke-linejoin: round; }
@keyframes bfx-push-shaft { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.35); } }
@keyframes bfx-push-head { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .bfx-push i, .bfx-push svg { animation: none; } }
/* 할인 가격 상자는 오른쪽 정렬 */
.bfx-now { text-align: right; }
.bfx-now .bfx-badge { justify-self: end; }
/* 선물 꾸러미 소개: 다른 섹션과 같은 머리 모양 (알약 + 같은 크기 제목) */
.bfx-giftintro .bf-gift-title { margin-top: 18px; }
/* 반짝이가 선물 이름 글자에 겹치지 않게 */
.bfx-giftintro .bf-spark.is-c { bottom: 78px; left: 96px; }
/* 기존 방식 → 점마Pro: 두 상자 높이를 맞추고 글은 가운데 */
.bfx-how { align-items: stretch; }
.bfx-how > div { display: flex; flex-direction: column; justify-content: center; }
.bfx-how > i { align-self: center; }
.how-old p { color: rgba(255, 255, 255, .62); }
/* 머리글은 알약 → 제목 → 설명 순서로 차례차례 */
.js-reveal .bfx .bfx-h.rv { --rv-delay: 80ms; }
.js-reveal .bfx .bfx-sub.rv, .js-reveal .bfx .bfx-period.rv, .js-reveal .bfx .bfx-quote.rv { --rv-delay: 160ms; }
@media (max-width: 640px) {
  .bfx-pricecard { grid-template-columns: minmax(0, 1fr); }
  .bfx-pricecard { row-gap: 48px; }
  .bfx-now .bfx-now-price { font-size: 44px; }
  .bfx-push { left: 50%; top: calc(100% - 1px); margin-top: -42px; transform: rotate(90deg); transform-origin: 0 50%; }   /* 위아래로 쌓이면 아래를 가리켜요 */
  .bfx-giftintro .bf-gift-title { font-size: 32px; }
  .bfx-giftintro .bf-spark.is-c { bottom: 66px; left: 4px; }
  .bfx-stories .story-name { font-size: 10px; letter-spacing: -0.03em; }
  .bfx-giftintro .bf-boxes { gap: 22px; }
  .bfx-giftintro .bf-box { margin-left: 0; margin-right: 0; }   /* figure 기본 좌우 여백(40px)을 빼서 두 상자가 화면 안에 들어오게 */
  .bfx-giftintro .bf-box figcaption { width: 156px; font-size: 13px; line-height: 1.45; text-align: center; word-break: keep-all; }   /* 선물 이름이 세 줄로 쪼개지지 않게 */
}

/* 제목 속 강조(자개 글자)는 한 덩어리로 — '단 / 1분.'처럼 쪼개지지 않게 */
.bfx-h em { white-space: nowrap; }
@media (max-width: 640px) { .bfx-quote { font-size: 19px; } }

/* 성능: 화면 밖에 있는 섹션의 반복 움직임은 멈춰요 (main.js가 섹션마다 .is-offscreen을 붙였다 뗐다 해요) */
.is-offscreen, .is-offscreen *, .is-offscreen::before, .is-offscreen::after, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* 에이전트 카드: 캐릭터(구름) + 이름 — 캐릭터는 둥실둥실 (카드마다 박자를 조금씩 다르게) */
.bfx-agents li { grid-template-columns: 72px 1fr auto; align-items: center; column-gap: 14px; padding: 14px 18px 14px 14px; }
.bfx-agents li > div { display: grid; gap: 4px; min-width: 0; }
.ag-ic { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }   /* 그림 자체가 통통 튀는 움직이는 webp (agent-*-bounce.webp) */
.bfx-agents li[data-a="1"] .ag-ic { animation-delay: -.85s; }
.bfx-agents li[data-a="2"] .ag-ic { animation-delay: -1.7s; }
.bfx-agents li[data-a="3"] .ag-ic { animation-delay: -2.55s; }
@keyframes ag-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@media (max-width: 640px) { .bfx-agents li { grid-template-columns: 60px 1fr auto; } .ag-ic { width: 60px; height: 60px; } }
@media (prefers-reduced-motion: reduce) { .ag-ic { animation: none; } }
/* 카드 오른쪽: 위 결과지 연출에서 움직이는 그 커서와 같은 모양 · 같은 색 */
.ag-cur { width: 28px; height: 28px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.bfx-agents span { text-wrap: balance; line-height: 1.55; }   /* 설명이 두 줄일 때 한 단어만 넘어가지 않게 고르게 */
