/* 브랜드테크랩 랜딩. 모바일 우선, 900px에서 데스크톱 레이아웃으로 넘어간다. */

:root {
  --ink: #14161A;
  --body: #3C4046;      /* 본문 */
  --muted: #5A5F68;     /* 보조 본문 */
  --muted-2: #6E6659;   /* 라벨·캡션 (흰 배경 대비 5.2:1) */
  --accent: #B0552A;    /* 텍스트용 강조 (흰 배경 대비 4.9:1) */
  --accent-bar: #C8622A;/* 면·그래프용 강조 */
  --cream: #F6F2EA;
  --line: #E4DCCE;
  --line-soft: #EFE9DD;
  --kakao: #FEE500;
  --kakao-ink: #191600;
  --serif: "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;   /* 한글 어절 단위 줄바꿈 */
  padding-bottom: 84px;   /* 고정 CTA 바 자리 */
}

h1, h2, h3 { font-family: var(--serif); margin: 0; letter-spacing: -0.01em; font-weight: 800; }
h1 { font-size: 31px; line-height: 1.42; text-wrap: pretty; }
h2 { font-size: 25px; line-height: 1.45; }
h3 { font-size: 19px; line-height: 1.5; }
h1 em { font-style: normal; color: var(--accent); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: #8A4020; }
strong { font-weight: 700; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section { padding: 48px 0 52px; }
.band { background: var(--cream); }
.hero { padding: 28px 0 40px; }
.lead { color: var(--body); margin-top: 10px; }
.note { font-size: 11px; line-height: 1.7; color: var(--muted-2); margin-top: 14px; }
.muted-sm { font-size: 12px; color: var(--muted-2); }
.accent { color: var(--accent); }

.eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.16em; font-weight: 600;
  color: var(--muted-2); margin-bottom: 10px;
}
.eyebrow .rule { width: 18px; height: 1px; background: var(--accent-bar); }

/* 히어로 증거 카드 */
.proof-card { margin: 0 0 22px; border: 1px solid var(--line); border-radius: 3px; padding: 20px 18px; }
.proof-card__head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted-2); }
.chart { display: flex; align-items: flex-end; gap: 5px; height: 116px; margin: 16px 0; }
.chart span { flex: 1; background: #E7D6BE; }
.chart span:nth-child(-n+3) { background: #F0EADE; }
.chart .hi { background: var(--accent-bar); }
.proof-card__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-top: 1px solid var(--line-soft); padding-top: 14px;
  font-size: 13px; color: var(--muted-2);
}
.proof-card__total strong { font-family: var(--serif); font-size: 25px; color: var(--ink); letter-spacing: -0.02em; }
.proof-card .note { margin-top: 10px; }

.stats { display: flex; gap: 8px; margin: 22px 0; }
.stats li { flex: 1; background: var(--cream); border-radius: 3px; padding: 14px 12px; }
.stats strong { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.stats span { display: block; font-size: 11px; line-height: 1.5; color: var(--muted-2); margin-top: 5px; }

/* CTA */
.cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 24px;
  background: var(--kakao); color: var(--kakao-ink);
  border-radius: 4px; font-size: 17px; font-weight: 700; text-decoration: none;
}
.cta:hover { background: #F2DA00; color: var(--kakao-ink); }
.cta--sm { min-height: 46px; padding: 0 18px; font-size: 15px; flex: none; }
.cta-note { font-size: 12px; line-height: 1.6; color: var(--muted-2); text-align: center; margin-top: 10px; }
.final .cta-note { color: #8E8A81; }

/* 체크리스트 */
.checks { display: flex; flex-direction: column; gap: 8px; }
.checks li {
  background: #fff; border: 1px solid #E9E1D3; border-radius: 3px; padding: 16px;
  padding-left: 48px; position: relative; line-height: 1.65;
}
.checks li::before {
  content: ""; position: absolute; left: 16px; top: 19px; width: 20px; height: 20px;
  background: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5 10 17.5 19 7' stroke='%23C8622A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.checks--plain li { background: none; border: 0; padding: 0 0 0 30px; }
.checks--plain li::before { left: 0; top: 2px; }

.quote { color: var(--muted); border-left: 2px solid var(--accent-bar); padding-left: 14px; margin-top: 18px; }

/* 2단 구성 */
.split { display: flex; flex-direction: column; gap: 22px; }
.split__head { display: flex; flex-direction: column; gap: 12px; color: var(--body); }

/* 증명 */
.grid-2, .grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 22px; }
.grid-2 figure { margin: 0; }
.grid-2 figcaption { font-size: 13px; line-height: 1.75; color: var(--muted); margin-top: 8px; }
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--cream); border: 1px dashed #CFC4AF; border-radius: 3px;
  min-height: 92px; padding: 16px; font-size: 12px; line-height: 1.7; color: var(--muted-2);
}
.ph--lg { min-height: 200px; font-size: 13px; }
.sub { margin-top: 30px; }

.card { border: 1px solid var(--line); border-radius: 3px; padding: 20px; color: var(--body); }
.card--flat { border: 0; background: var(--cream); }
.card > * + * { margin-top: 10px; }
.card__figure { font-family: var(--serif); font-size: 24px; font-weight: 800; color: var(--accent); line-height: 1.35; }
.card__label { font-size: 14px; color: var(--muted-2); margin-top: 4px; }
.card .ph { margin-top: 12px; }
.step { font-size: 11px; letter-spacing: 0.14em; font-weight: 600; color: var(--muted-2); }

/* 약력 */
.bio { counter-reset: bio; }
.bio li {
  counter-increment: bio; position: relative;
  padding: 14px 0 14px 34px; border-bottom: 1px solid #E1D9CB; line-height: 1.7;
}
.bio li:last-child { border-bottom: 0; }
.bio li::before {
  content: "0" counter(bio); position: absolute; left: 0; top: 14px;
  font-family: var(--serif); font-size: 14px; font-weight: 800; color: var(--accent-bar);
}

/* 매출 공식 */
.formula {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 3px; padding: 24px 16px; margin-top: 22px; text-align: center;
}
.formula div { display: flex; flex-direction: column; gap: 4px; }
.formula strong { font-family: var(--serif); font-size: 19px; }
.formula span { font-size: 11px; color: var(--muted-2); }
.formula .op { font-size: 18px; color: #7A7266; }
.formula p { flex-basis: 100%; font-size: 13px; line-height: 1.75; color: var(--muted); }

/* 커리큘럼 */
.curriculum { border-left: 1px solid #DDD3C2; padding-left: 20px; margin-top: 22px; }
.curriculum li { position: relative; padding-bottom: 24px; color: var(--body); }
.curriculum li:last-child { padding-bottom: 0; }
.curriculum li::before {
  content: ""; position: absolute; left: -26px; top: 6px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--accent-bar);
}
.curriculum .is-feedback::before { background: var(--ink); }
.curriculum h3 { margin: 6px 0 8px; }

.outcome { background: #fff; border: 1px solid #E9E1D3; border-radius: 3px; padding: 22px 20px; margin-top: 24px; }
.outcome h3 { margin-bottom: 14px; }

/* 가격 */
.price { border: 1px solid var(--ink); border-radius: 3px; padding: 26px 22px; }
.price__what { font-size: 14px; color: var(--muted-2); }
.price__amount { font-family: var(--serif); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; margin-top: 6px; }
.price__vat { font-size: 13px; color: var(--muted-2); }
.price dl { margin: 18px 0; border-top: 1px solid var(--line-soft); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.price dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price dt { font-size: 14px; color: var(--muted-2); }
.price dd { margin: 0; font-weight: 600; text-align: right; }
.callout { background: #FBF7EE; border: 1px solid #E9DFC9; border-radius: 3px; padding: 18px; line-height: 1.75; }

/* 마지막 CTA */
.final { background: var(--ink); color: var(--cream); }
.final h2 { font-size: 28px; line-height: 1.4; }
.final p { color: #B7B2A8; margin-top: 16px; }
.final .cta { margin-top: 20px; }

/* 푸터 */
footer { background: #0E1014; color: #8B857B; padding: 30px 0 36px; font-size: 12px; line-height: 1.9; }
footer p + p { margin-top: 12px; }
footer a { color: #B0AAA0; display: inline-block; padding: 15px 0; }  /* 터치 영역 확보 */
.footer__brand { font-size: 14px; font-weight: 700; color: #B7B2A8; }
.footer__copy { font-size: 11px; color: #8B857B; }

/* 하단 고정 CTA 바: 모바일에서 상시 노출 (설계서 4장 '상시' 행) */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
}
.sticky-bar__text { flex: 1; display: flex; flex-direction: column; line-height: 1.4; }
.sticky-bar__text strong { font-size: 13px; }
.sticky-bar__text span { font-size: 11px; color: var(--muted-2); }

/* 데스크톱 */
@media (min-width: 900px) {
  body { font-size: 16px; padding-bottom: 0; }
  .wrap { padding: 0 40px; }
  section { padding: 84px 0; }
  .hero { padding: 64px 0 76px; }
  h1 { font-size: 46px; line-height: 1.34; }
  h2 { font-size: 34px; line-height: 1.4; }
  h3 { font-size: 22px; }
  .final h2 { font-size: 40px; line-height: 1.35; }

  /* 히어로: 왼쪽 증거 카드가 전체 높이를 잡고, 오른쪽 항목이 한 행씩 쌓인다 */
  .hero .wrap { display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: 18px 56px; }
  .hero .wrap > * { min-width: 0; grid-column: 2; }
  .hero .eyebrow { grid-column: 1 / -1; margin-bottom: 16px; }
  .hero .proof-card { grid-column: 1; grid-row: 2 / 7; align-self: center; margin: 0; padding: 26px 24px; }
  .chart { height: 190px; gap: 8px; }
  .proof-card__total strong { font-size: 32px; }
  .hero h1 { grid-row: 2; }
  .hero .lead { grid-row: 3; margin-top: 0; }
  .hero .stats { grid-row: 4; margin: 4px 0 0; }
  .hero .cta { grid-row: 5; }
  .hero .cta-note { grid-row: 6; margin-top: 0; text-align: left; }

  .split { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
  .split--wide { grid-template-columns: minmax(0, 1fr) 420px; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ph--lg { min-height: 280px; }
  .card { padding: 26px; }
  .card__figure { font-size: 26px; }

  .formula { gap: 28px; padding: 36px; }
  .formula strong { font-size: 28px; }
  .formula span { font-size: 13px; }
  .formula p { flex-basis: auto; max-width: 260px; text-align: left; border-left: 1px solid var(--line); padding-left: 28px; }

  .curriculum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-left: 0; padding-left: 0; }
  .curriculum li { background: #fff; border: 1px solid #E9E1D3; border-top: 3px solid var(--accent-bar); border-radius: 3px; padding: 26px; }
  .curriculum li::before { display: none; }
  .curriculum .is-feedback { background: var(--ink); border-color: var(--ink); border-top-color: #E8A05C; color: #B7B2A8; }
  .curriculum .is-feedback h3 { color: var(--cream); }
  .curriculum .is-feedback .step { color: #A09A90; }
  .outcome { display: flex; align-items: center; gap: 40px; padding: 30px 34px; }
  .outcome h3 { margin: 0; flex: none; }
  .outcome .checks { flex-direction: row; gap: 28px; }

  .price { padding: 34px 30px; }
  .price__amount { font-size: 40px; }
  .final .wrap { max-width: 720px; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .final .cta { display: inline-flex; }
  footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
  footer p + p { margin-top: 0; }
  .footer__brand, .footer__biz { flex-basis: 100%; }
  .footer__brand { margin-bottom: 12px; }

  .sticky-bar { display: none; }
}

.formula-img { margin: 22px 0 0; max-width: 420px; }
.formula-img img { width: 100%; height: auto; }
