:root{--build-id:"1dec62e3-d56a-43ab-8c2b-0de3761b4c4e";}
/* 전역 변수 - C36 색상 팔레트 */
:root {
  --primary: #18181b;
  --bg: #fafafa;
  --text: #09090b;
  --accent: #52525b;
  --heading: var(--text);
  --link: var(--text);
}

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

/* 타이포그래피 - T17 */
/* 시스템 폰트 통일 버전 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-weight: 700;
  color: var(--heading);
}


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

a:hover {
  opacity: 0.7;
}

/* 키보드 포커스 스타일 */
a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
label:focus:not(:focus-visible) {
  outline: none;
}

/* Skip to Content 링크 */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--bg);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

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

/* N07 네비게이션 - 상단 스크롤 + 좌측 로고 + 우측 메뉴 (드롭다운) + 햄버거 */
header {
  background-color: var(--bg);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

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

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

.menu-checkbox {
  display: none;
}

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

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

nav a {
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a[aria-current="page"]::after {
  width: 100%;
}

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

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-bottom: 1px solid #e5e7eb;
    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 2rem;
  }

  nav a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
  }
}

/* S11 여백 시스템 */
section {
  padding: 5.75rem 0;
}

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

.content-gap {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}

/* B03 버튼 스타일 */
.btn {
  display: inline-block;
  border-radius: 9999px;
  padding: 1.25rem 3rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: var(--primary);
  color: var(--bg);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

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

/* K13 카드 스타일 */
.card {
  border-radius: 0.5rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
  background-color: #ffffff;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

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

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

/* 히어로 섹션 */
.hero {
  text-align: center;
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--accent);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 섹션 스타일 */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

/* 리스트 스타일 */
.step-list {
  list-style: none;
  counter-reset: step-counter;
}

.step-list li {
  counter-increment: step-counter;
  margin-bottom: 2rem;
  padding-left: 3rem;
  position: relative;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* SVG 스타일 */
.icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}

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

.footer-content {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--bg);
  margin: 0 1rem;
}

.footer-info {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-copyright {
  opacity: 0.7;
  font-size: 0.875rem;
}

/* 문서 컨테이너 (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) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 0;
  }

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

  .btn {
    padding: 1rem 2rem;
  }

  .card {
    padding: 1.5rem;
  }
}