:root{--build-id:"7db53f9d-3609-4c43-9fc4-69979f1855b7";}
/* 느이드22 비누 웹사이트 - 정적 HTML 전용 스타일 */

/* ===== 리셋 및 기본 설정 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== 색상 변수 (C15) ===== */
:root {
  --primary: #15803d;
  --bg: #bbf7d0;
  --text: #14532d;
  --accent: #4ade80;
  --heading: var(--text);
  --link: var(--text);
  --white: #ffffff;
  --gray-light: #f0fdf4;
  --gray-border: #86efac;
}

/* ===== 폰트 (F3: Windows Core) ===== */
body {
  font-family: "Segoe UI", "Malgun Gothic", "Noto Sans KR", -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background-color: var(--white);
}

/* ===== 헤딩 (H18 기반 clamp) ===== */
h1 {
  font-size: clamp(1.95rem, 2.5vw + 1rem, 2.95rem);
  font-weight: 670;
  line-height: 1.21;
  letter-spacing: -0.009em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.46rem, 1.875vw + 0.75rem, 2.21rem);
  font-weight: 670;
  line-height: 1.26;
  letter-spacing: -0.009em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.17rem, 1.5vw + 0.6rem, 1.77rem);
  font-weight: 570;
  line-height: 1.31;
  letter-spacing: -0.009em;
  color: var(--heading);
  margin-bottom: 1rem;
}

/* ===== 링크 ===== */
a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

a:focus-visible {
  outline: 3px solid var(--primary);
  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;
  font-weight: 600;
}

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

/* ===== 헤더 (N07: 상단 스크롤 + 드롭다운) ===== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
}

/* 햄버거 메뉴 (모바일) */
.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0;
  position: relative;
}

nav a:hover {
  color: var(--primary);
}

nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

/* 모바일 네비게이션 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

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

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

  nav li {
    width: 100%;
    text-align: center;
  }

  nav a {
    display: block;
    padding: 1rem 2rem;
  }
}

/* ===== 여백 시스템 (S05) ===== */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
}

.section-gap {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* ===== 버튼 (B18: 미니멀 언더라인) ===== */
.btn {
  border-bottom: 2px solid var(--primary);
  background: transparent;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--primary);
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ===== 카드 (K17: 미니멀 보더바텀) ===== */
.card {
  border-bottom: 2px solid var(--gray-border);
  padding: 2rem 0;
  transition: border-color 0.3s ease;
}

.card:hover {
  border-bottom-color: var(--primary);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text);
  line-height: 1.7;
}

/* ===== 그리드 레이아웃 ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

/* ===== 히어로 섹션 (L26: 미니멀리스트) ===== */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--gray-light) 100%);
  padding: 8rem 0 6rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.125rem;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ===== 체크리스트 스타일 (CS08) ===== */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.checklist li:hover {
  background: var(--bg);
}

.checklist li::before {
  content: "✓";
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== FAQ 스타일 ===== */
.faq-item {
  border-bottom: 2px solid var(--gray-border);
  padding: 2rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.faq-answer {
  color: var(--text);
  line-height: 1.7;
}

/* ===== 연락처 정보 ===== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--gray-light);
  padding: 2.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.contact-text {
  font-size: 1.125rem;
  color: var(--text);
}

/* ===== 푸터 ===== */
footer {
  background: var(--text);
  color: var(--white);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

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

/* ===== SVG 스타일 ===== */
.icon-svg {
  width: 48px;
  height: 48px;
  fill: var(--primary);
  margin-bottom: 1rem;
}

/* ===== 타임라인 스타일 ===== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-border);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

/* ===== 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 {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

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

  .hero {
    padding: 5rem 0 3rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact-info {
    padding: 1.5rem;
  }
}