:root{--build-id:"90512681-5f8c-4425-ac3a-2157d8ded268";}
/* ========================================
   카에모라54 립스틱 사이트 스타일시트
   변수: L14, C16, T22, B08, N03, K08, S03, H08, F2, CS08
   ======================================== */

/* CSS 변수 정의 (C16) */
:root {
  --primary: #65a30d;
  --bg: #f7fee7;
  --text: #365314;
  --accent: #3f6212;
  --heading: var(--text);
  --link: var(--text);
  --border: #9ca3af;
  --card-bg: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* 리셋 및 기본 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* F2: Apple Wide 폰트 스택 */
body {
  font-family: -apple-system, "Noto Sans KR", "Malgun Gothic", "Segoe UI", Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background-color: var(--bg);
}

/* H08: 헤딩 스타일 */
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3.375rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--heading);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

a:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* N03: 네비게이션 (상단 스크롤 + 우측 로고 + 좌측 메뉴) */
header {
  background-color: var(--card-bg);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px var(--shadow);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  order: 2;
}

nav {
  order: 1;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

nav a:hover,
nav a[aria-current="page"] {
  border-bottom-color: var(--primary);
}

/* 햄버거 메뉴 */
.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  order: 1;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border-bottom: 2px solid var(--primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-checkbox:checked ~ nav {
    max-height: 400px;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 2rem;
  }

  nav a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }
}

/* S03: 섹션 여백 */
section {
  padding: 6rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* L14: 풀스크린 히어로 */
.hero-fullscreen {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg) 0%, #ecfccb 100%);
  padding: 4rem 2rem;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-visual {
  flex: 1;
  max-width: 400px;
}

.hero-visual svg {
  width: 100%;
  height: auto;
}

@media (max-width: 968px) {
  .hero-fullscreen {
    flex-direction: column;
    text-align: center;
  }
}

/* B08: 버튼 스타일 */
.cta-button {
  display: inline-block;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 0;
  padding: 0.875rem 2rem;
  font-weight: 500;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 1.5rem;
}

.cta-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.inline-cta {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.25rem;
  margin-top: 2rem;
}

/* CS08: 체크리스트형 */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  margin-top: 3rem;
}

.checklist-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-icon {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 900;
}

.checklist-item h3,
.checklist-item h4 {
  margin-bottom: 0.5rem;
}

/* K08: 카드 스타일 */
.comparison-grid,
.color-grid,
.situation-grid,
.tip-cards,
.review-grid,
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  margin-top: 3rem;
}

.comparison-card,
.color-card,
.situation-card,
.tip-card,
.review-card,
.step-card {
  border: 2px dashed var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  background-color: var(--card-bg);
  transition: transform 0.3s ease;
}

.comparison-card:hover,
.color-card:hover,
.situation-card:hover,
.tip-card:hover,
.review-card:hover,
.step-card:hover {
  transform: translateY(-4px);
}

.comparison-visual svg,
.color-swatch {
  width: 100%;
  height: 150px;
  margin-bottom: 1rem;
}

.color-swatch {
  border-radius: 0.5rem;
  border: 2px solid var(--border);
}

/* 리스트 섹션 */
.list-section {
  background-color: var(--card-bg);
}

/* 비포애프터 섹션 */
.before-after-section {
  background: linear-gradient(135deg, #ecfccb 0%, var(--bg) 100%);
}

/* 사용 가이드 */
.guide-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.guide-step {
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0.5rem;
}

.step-number {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.125rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* 컬러 팔레트 */
.color-palette {
  background-color: var(--card-bg);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

/* CTA 섹션 */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
}

.cta-section h2,
.cta-section p {
  color: #ffffff;
}

.cta-section .cta-button {
  background-color: #ffffff;
  color: var(--primary);
}

/* 페이지 히어로 */
.page-hero {
  background: linear-gradient(135deg, var(--bg) 0%, #ecfccb 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 600;
}

/* 컨텐츠 섹션 */
.content-section {
  background-color: var(--card-bg);
}

.content-section.alt-bg {
  background-color: var(--bg);
}

.content-block {
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.checklist-section {
  margin-top: 4rem;
}

/* 프로세스 스텝 */
.step-icon {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 900;
  display: block;
  margin-bottom: 1rem;
}

/* CTA 인라인 */
.cta-inline {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background-color: var(--bg);
  border-radius: 0.75rem;
}

.cta-inline p {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* 혜택 리스트 */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--bg);
  border-radius: 0.5rem;
}

.benefit-icon {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 900;
}

/* 컬러 팁 */
.color-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.color-tip-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.color-badge {
  width: 100%;
  height: 80px;
  border-radius: 0.5rem;
  border: 2px solid var(--border);
}

/* 후기 */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg);
}

.reviewer-name {
  font-weight: 700;
  color: var(--primary);
}

.review-rating {
  color: #f59e0b;
  font-size: 1.125rem;
}

.review-text {
  line-height: 1.75;
}

/* 스토리 섹션 */
.story-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.story-card {
  padding: 2rem;
  background-color: var(--bg);
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
}

.story-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* 연락처 */
.contact-info {
  margin-bottom: 4rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--bg);
  border-radius: 0.75rem;
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary);
}

.contact-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-desc {
  font-size: 0.9375rem;
  color: var(--accent);
  margin-top: 0.5rem;
}

.inquiry-guide {
  margin-bottom: 4rem;
}

/* FAQ */
.faq-section {
  margin-top: 4rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {
  padding: 1.5rem;
  background-color: var(--bg);
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
}

.faq-item h3 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.faq-item p {
  margin-bottom: 0;
  line-height: 1.75;
}

.contact-emphasis {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.125rem;
}

/* Footer */
footer {
  background-color: var(--text);
  color: #ffffff;
  padding: 3rem 2rem 1.5rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #d1d5db;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #d1d5db;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact p {
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
}

/* 문서 컨테이너 (Privacy/Terms) */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.doc-container h1 {
  margin-bottom: 2rem;
}

.doc-container p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.doc-container a {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.25rem;
}

/* 반응형 */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .checklist-grid,
  .comparison-grid,
  .color-grid,
  .situation-grid,
  .tip-cards,
  .review-grid,
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-fullscreen {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}