:root{--build-id:"0c5766fc-361e-45de-9e9c-980f56d41e1a";}
/* ================================
   리셋 스타일
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ================================
   CSS 변수 (C29: 퍼플 팔레트)
================================ */
:root {
  --primary: #9333ea;
  --bg: #faf5ff;
  --text: #581c87;
  --accent: #a855f7;
  --heading: var(--text);
  --link: var(--text);
  --white: #ffffff;
  --gray-light: #f3f4f6;
  --gray: #e5e7eb;
  --gray-dark: #9ca3af;
}

/* ================================
   타이포그래피 (F8 + H15)
================================ */
body {
  font-family: system-ui, "Helvetica Neue", Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background-color: var(--bg);
}

h1 {
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.68rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.005em;
  color: var(--heading);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

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

/* ================================
   헤더 (N15: 상단 스크롤 + 버튼형 메뉴)
================================ */
header {
  background-color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

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

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

/* 메뉴 체크박스 (모바일용) */
.menu-checkbox {
  display: none;
}

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

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

nav ul li a {
  padding: 0.625rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 2rem;
  background-color: transparent;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a[aria-current="page"] {
  background-color: var(--primary);
  color: var(--white);
}

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

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

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

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

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    text-align: center;
  }
}

/* ================================
   섹션 (S03: 6rem 0, 1400px, 4rem gap)
================================ */
section {
  padding: 6rem 0;
}

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

.section-gap {
  margin-bottom: 4rem;
}

/* ================================
   버튼 (B15: 2rem radius, dashed)
================================ */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  font-weight: 600;
  border: 2px dashed var(--primary);
  background-color: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ================================
   카드 (K15: 2rem radius, 1px border)
================================ */
.card {
  border-radius: 2rem;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--gray);
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.15);
  transform: translateY(-4px);
}

/* ================================
   레이아웃 (L08: 분할 스크린)
================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 500px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* 3열 그리드 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* 비교표 */
.comparison-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* 하단 CTA */
.cta-bottom {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 2rem;
}

.cta-bottom h2,
.cta-bottom p {
  color: var(--white);
}

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

footer a {
  color: var(--white);
}

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

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

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ================================
   반응형
================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .comparison-table {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.625rem;
  }

  h3 {
    font-size: 1.375rem;
  }

  section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }
}

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