:root{--build-id:"587470f6-19ec-4ecb-9245-b7eacdfadd38";}
/* ========================================
   비우이모84 - 백팩 사이트 스타일시트
   변수: L04, C16, T17, B08, N03, K08, S07, H08, F2, CS08
   ======================================== */

/* CSS 변수 정의 - C16 */
:root {
  --primary: #65a30d;
  --bg: #f7fee7;
  --text: #365314;
  --accent: #3f6212;
  --heading: var(--text);
  --link: var(--text);
  --light-bg: #fefce8;
  --border: #d9f99d;
}

/* F2: Apple Wide 폰트 스택 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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.75rem, 3.5vw, 3.15rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

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

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

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: var(--light-bg);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

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

.menu-checkbox {
  display: none;
}

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

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

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

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

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

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

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

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

  nav li {
    border-bottom: 1px solid var(--border);
  }

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

/* S07: Section 간격 */
section {
  padding: 5.5rem 0;
}

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

/* Hero Section - L04: 비디오형 히어로 */
.hero-section {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--bg) 100%);
  padding: 6rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 800px;
  color: var(--text);
}

.hero-visual {
  margin-top: 2rem;
}

/* Intro Section */
.intro-section {
  background: var(--light-bg);
}

.visual-grid {
  display: flex;
  justify-content: center;
  gap: 3.25rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

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

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

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

/* K08: border: 2px dashed */
.checklist-card {
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  padding: 1.75rem;
  background: var(--light-bg);
}

/* L04: 아코디언 */
.accordion-wrapper {
  margin-top: 2rem;
}

.accordion-item {
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  background: var(--light-bg);
}

.accordion-item summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  list-style: none;
  user-select: none;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 0.75rem;
  transition: transform 0.3s;
}

.accordion-item[open] summary::before {
  transform: rotate(90deg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text);
}

/* L04: 갤러리 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.25rem;
  margin-top: 2rem;
}

.gallery-item {
  text-align: center;
  padding: 2rem;
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  background: var(--light-bg);
}

.gallery-icon {
  margin-bottom: 1.5rem;
}

/* B08: 사각 버튼 with shadow */
.cta-button {
  display: inline-block;
  border-radius: 0;
  padding: 0.875rem 2rem;
  font-weight: 500;
  background: var(--primary);
  color: var(--bg);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.cta-section {
  text-align: center;
  background: var(--light-bg);
}

.cta-section p {
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--bg) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-intro {
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 1rem;
}

/* Content Section */
.content-section {
  background: var(--bg);
}

.content-section:nth-child(even) {
  background: var(--light-bg);
}

.content-section p {
  margin-bottom: 1.5rem;
}

/* Info List */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.info-text h3 {
  margin-bottom: 0.5rem;
}

/* Benefit Grid */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.25rem;
  margin-top: 2rem;
}

.benefit-card {
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  padding: 1.75rem;
  background: var(--light-bg);
  text-align: center;
}

.benefit-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Tips Checklist */
.tips-checklist {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.tip-item {
  display: flex;
  gap: 1.5rem;
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  padding: 1.75rem;
  background: var(--light-bg);
}

.tip-icon {
  font-size: 1.75rem;
  color: var(--primary);
  flex-shrink: 0;
  font-weight: 900;
}

.tip-content h3 {
  margin-bottom: 0.75rem;
}

/* Guide Cards */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.25rem;
  margin-top: 2rem;
}

.guide-card {
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  padding: 1.75rem;
  background: var(--light-bg);
}

.guide-card h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guide-list li {
  padding-left: 1.5rem;
  position: relative;
}

.guide-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}

.guide-visual {
  margin-top: 2rem;
  text-align: center;
}

/* Contact */
.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3.25rem;
}

.contact-info {
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  padding: 1.75rem;
  background: var(--light-bg);
}

.info-block {
  margin-bottom: 1.5rem;
}

.info-label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-desc p {
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--bg);
  padding: 2rem 0;
  margin-top: 4rem;
}

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

footer nav {
  display: flex;
  gap: 2rem;
}

footer a {
  color: var(--bg);
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* 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;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .visual-grid {
    gap: 2rem;
  }

  .checklist-grid,
  .gallery-grid,
  .benefit-grid,
  .guide-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  footer nav {
    flex-direction: column;
    gap: 1rem;
  }
}