:root{--build-id:"1ae331bc-5941-4dac-b980-5e8053e54422";}
/* 리셋 및 기본 설정 */
* {
  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;
  background: #f3e8ff;
  color: #6b21a8;
}

/* C30 색상 팔레트 */
:root {
  --primary: #7e22ce;
  --bg: #f3e8ff;
  --text: #6b21a8;
  --accent: #9333ea;
  --heading: #6b21a8;
  --link: #6b21a8;
}

/* 접근성: 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;
}

/* 키보드 포커스 스타일 */
a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* N03: 상단 스크롤 + 우측 로고 + 좌측 메뉴 */
header {
  background: rgba(126, 34, 206, 0.95);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  order: 2;
}

.menu-checkbox {
  display: none;
}

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

nav {
  order: 1;
}

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

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

nav a:hover,
nav a[aria-current="page"] {
  opacity: 0.8;
  text-decoration: underline;
}

/* 모바일 메뉴 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(126, 34, 206, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

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

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

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

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

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

/* S07: 섹션 여백 */
section {
  padding: 5.5rem 0;
}

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

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

/* B16: 버튼 스타일 */
.btn {
  display: inline-block;
  border-radius: 0.5rem 0 0.5rem 0;
  padding: 1.125rem 2.25rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* K16: 카드 스타일 */
.card {
  border-radius: 0.75rem;
  border: 1px solid var(--primary);
  padding: 1.5rem;
  transform: rotate(-1deg);
  background: #fff;
  transition: all 0.3s;
}

.card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 8px 16px rgba(126, 34, 206, 0.2);
}

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

/* Hero 섹션 */
.hero {
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
  padding: 8rem 0 6rem;
  text-align: center;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

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

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

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

  .container {
    padding: 0 1rem;
  }

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

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Privacy/Terms 페이지 */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.doc-container p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* 인라인 SVG 스타일 */
.icon-svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

/* 리스트 스타일 */
ul {
  list-style: none;
  padding-left: 0;
}

li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* 테이블 스타일 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(126, 34, 206, 0.2);
}

th {
  background: rgba(126, 34, 206, 0.1);
  font-weight: 700;
}

/* FAQ 스타일 */
.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
}

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

.faq-answer {
  line-height: 1.8;
}

/* 연락처 정보 */
.contact-info {
  background: #fff;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 2px solid var(--primary);
  margin: 2rem 0;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.contact-info strong {
  color: var(--primary);
  font-weight: 700;
}