/* ===== 색상 (흰 배경 + 골드 포인트) ===== */
:root {
  --bg:       #ffffff;   /* 흰 배경 */
  --bg-soft:  #faf8f4;   /* 살짝 크림 톤 */
  --text:     #16181c;   /* 제목 */
  --body:     #35383e;   /* 본문 */
  --muted:    #8b9099;   /* 보조 */
  --gold:     #B8891F;   /* 골드 포인트 */
  --gold-2:   #d9a63a;   /* 밝은 골드 */
  --gold-bg:  #fbf3df;   /* 골드 배경 하이라이트 */
  --line:     #ececec;   /* 구분선 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--body);
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-bg); color: var(--gold); }

/* ===== 글 컨테이너 ===== */
.post {
  max-width: 680px;
  margin: 0 auto;
  padding: 84px 24px 96px;
}

/* ===== 글 머리 ===== */
.post-head {
  margin-bottom: 52px;
}
.post-title {
  color: var(--text);
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.035em;
}
.title-accent {
  color: var(--gold);
  background: linear-gradient(180deg, transparent 62%, var(--gold-bg) 62%);
  padding: 0 2px;
}
.head-line {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

/* ===== 본문 ===== */
.post-body p {
  font-size: 1.08rem;
  margin-bottom: 24px;
  color: var(--body);
}
.post-body strong { color: var(--text); font-weight: 700; }
.gold { color: var(--gold); }

/* 리드 문장 (첫 문단 강조) */
.lead {
  font-size: 1.28rem !important;
  line-height: 1.65;
  color: var(--text) !important;
  font-weight: 500;
  margin-bottom: 30px !important;
}
.lead mark {
  background: linear-gradient(180deg, transparent 55%, var(--gold-bg) 55%);
  color: var(--text);
  font-weight: 700;
  padding: 0 2px;
}

/* 본문 삽입 이미지 */
.inline-figure {
  margin: 34px 0;
}
.inline-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.inline-figure figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* 소제목 h2 (섹션) */
.post-body h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 56px 0 26px;
  line-height: 1.4;
}
.h2-index {
  flex: none;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  line-height: 1;
}

.post-body h3 {
  color: var(--text);
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ===== 무료 안내 인용문 (따옴표 강조) ===== */
.pull-quote {
  position: relative;
  margin: 20px 0 28px;
  padding: 14px 8px 8px;
  text-align: center;
}
.pull-quote::before,
.pull-quote::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.pull-quote::before { margin-bottom: 20px; }
.pull-quote::after  { margin-top: 20px; }
.pull-quote p {
  position: relative;
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.85;
  color: var(--text);
  font-weight: 500;
  padding: 0 14px;
}
/* 큰 따옴표 장식 */
.pull-quote p::before {
  content: "\201C";
  display: block;
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.1;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 22px;
}
.pull-quote p strong { color: var(--gold); }

/* ===== 얻게 될 것 (넘버 리스트) ===== */
.benefits { list-style: none; }
.benefits li {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.benefits li:first-child { border-top: none; padding-top: 4px; }
.b-num {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1.5px rgba(184,137,31,0.35);
}
.b-body h3 { margin-bottom: 6px; }
.b-body p { font-size: 1rem; margin: 0; color: var(--body); }

/* ===== 자료 신청 방법 (스텝) ===== */
.steps { list-style: none; }
.step {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 26px;
  margin-bottom: 18px;
  transition: box-shadow .25s, transform .25s;
}
.step:hover {
  box-shadow: 0 8px 26px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.step-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(184,137,31,0.3);
}
.step-title-group h3 {
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.45;
}
.step-title-group h3 em {
  color: var(--gold);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
}
.step-title-group p {
  font-size: 0.98rem !important;
  color: var(--body);
  margin: 0 !important;
  line-height: 1.7;
}

/* 이미지 자리(플레이스홀더) */
.step-media { margin: 20px 0 0; }
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 150px;
  background:
    repeating-linear-gradient(45deg, #fff, #fff 12px, #fbf7ee 12px, #fbf7ee 24px);
  border: 1.5px dashed #d8cba6;
  border-radius: 12px;
  color: var(--gold);
  text-align: center;
  padding: 24px 16px;
}
.ph-icon { font-size: 1.6rem; opacity: 0.8; }
.ph-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #a88a45;
  letter-spacing: 0.01em;
}
/* 실제 이미지로 교체 시 사용 */
.step-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* 유튜브 영상 바로보기 버튼 */
.step-action { margin-top: 18px; }
.yt-cta {
  text-align: center;
  margin: 32px 0 4px;
}
.yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF0000;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform .15s, box-shadow .2s, background .2s;
  box-shadow: 0 6px 18px rgba(255,0,0,0.22);
}
.yt-btn:hover {
  background: #e60000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,0,0,0.3);
}
.yt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.22);
  border-radius: 6px;
  font-size: 0.68rem;
  line-height: 1;
}

/* 얇은 구분선 */
.rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
  margin: 58px 0;
}

/* 퀀트 4조건 리스트 */
.quant-points {
  list-style: none;
  margin: 8px 0 24px;
}
.quant-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: 1.06rem;
}
.quant-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  transform: rotate(45deg);
}
.quant-points strong { color: var(--text); }

/* 마무리 문장 */
.closing {
  margin-top: 42px;
  padding: 22px 26px;
  background: var(--bg-soft);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  color: #565b62;
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ===== 글 꼬리 ===== */
.post-foot {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.foot-note {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== 반응형 ===== */
@media (max-width: 600px) {
  .post { padding: 60px 20px 76px; }
  .post-title { font-size: 2.2rem; }
  .lead { font-size: 1.14rem !important; }
  .post-body p, .quant-points li { font-size: 1.02rem; }
  .post-body h2 { font-size: 1.35rem; }
  .free-callout { padding: 20px 20px; }
}
