:root{--build-id:"29672d6e-6ef5-46c4-aaab-ec43138e07fd";}
/* F7 시스템 폰트 - Neutral Core */
:root {
  --primary: #18181b;
  --bg: #fafafa;
  --text: #09090b;
  --accent: #52525b;
  --heading: var(--text);
  --link: var(--text);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, "Noto Sans KR", "Malgun Gothic", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background: var(--bg);
}

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

/* N13: 상단 투명 + 좌측 메뉴 + 중앙 로고 + 우측 CTA */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid rgba(9, 9, 11, 0.1);
}

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

.header-left {
  flex: 1;
}

.header-center {
  flex: 0 0 auto;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

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: 600;
}

/* B18: 미니멀 버튼 */
.cta-button {
  background: transparent;
  color: var(--primary);
  border: none;
  border-bottom: 2px solid var(--primary);
  padding: 0.5rem 0;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.cta-button:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* 햄버거 메뉴 */
.menu-checkbox {
  display: none;
}

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

/* S05: section 7rem, container 1500px, gap 5rem */
main {
  padding-top: 5rem;
}

section {
  padding: 7rem 2rem;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
}

/* H18: font-size 2.75rem, font-weight 600, line-height 1.25 */
h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--heading);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.005em;
  color: var(--heading);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

/* K18: 미니멀 카드 */
.card {
  background: transparent;
  border-left: 3px solid var(--primary);
  padding: 1.5rem 0 1.5rem 1.5rem;
  margin-bottom: 2rem;
  transition: border-color 0.3s;
}

.card:hover {
  border-left-color: var(--accent);
}

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

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

/* 푸터 */
footer {
  background: var(--primary);
  color: #fafafa;
  padding: 3rem 2rem 2rem;
  text-align: center;
}

footer p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

footer a {
  color: #fafafa;
  text-decoration: none;
  transition: opacity 0.2s;
}

footer a:hover {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

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

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

  .header-container {
    flex-wrap: wrap;
  }

  .header-left nav {
    display: none;
  }

  .header-center {
    order: -1;
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .menu-checkbox:checked ~ .header-left nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.98);
    padding: 2rem;
    border-bottom: 1px solid rgba(9, 9, 11, 0.1);
  }

  .menu-checkbox:checked ~ .header-left nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

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

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

.icon {
  display: inline-block;
  margin-right: 0.5rem;
}