:root{--build-id:"39c34557-c1b0-49ad-9cfe-57eb92b0cf74";}
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* C37: 중성 다크 */
  --primary: #27272a;
  --bg: #f4f4f5;
  --text: #18181b;
  --accent: #71717a;
  --heading: var(--text);
  --link: var(--text);
}

/* 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;
  color: var(--text);
  background: var(--bg);
}

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

/* S03: 여백 시스템 */
section {
  padding: 6rem 0;
}

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

.gap-section {
  gap: 4rem;
}

/* N03: 네비게이션 - 상단 스크롤 + 우측 로고 + 좌측 메뉴 */
header {
  background: var(--bg);
  border-bottom: 1px solid #e4e4e7;
  position: sticky;
  top: 0;
  z-index: 50;
}

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

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

.menu-checkbox {
  display: none;
}

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

nav {
  order: 1;
}

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

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

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

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

/* H19: 헤딩 스타일 */
h1 {
  font-size: clamp(2.5rem, 5vw, 4.125rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3.094rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.32rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* B19: 버튼 스타일 */
.btn {
  display: inline-block;
  border-radius: 0.375rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
  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;
}

/* K19: 카드 스타일 */
.card {
  border-radius: 0.25rem;
  background: #f9fafb;
  padding: 1.5rem;
  transition: transform 0.2s;
}

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

/* L20: 레이아웃 구조 */
.hero {
  background: linear-gradient(135deg, #fafafa 0%, #f4f4f5 100%);
  padding: 8rem 0 6rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.process-map {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.process-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.cta-bottom {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}

.cta-bottom h2 {
  color: #fff;
}

.cta-bottom .btn {
  background: #fff;
  color: var(--primary);
}

.cta-bottom .btn:hover {
  background: var(--bg);
}

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

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

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

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
}

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

.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

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

/* 유틸리티 */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

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

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

  .cta-bottom {
    padding: 3rem 0;
  }
}