:root{--build-id:"98b9af5f-5581-4b4d-b9b9-67722a9eb5ac";}
/* 색상 시스템 - C21 */
:root {
  --primary: #d97706;
  --bg: #fffbeb;
  --text: #78350f;
  --accent: #92400e;
  --heading: var(--text);
  --link: var(--text);
}

/* 폰트 시스템 - F6 */
body {
  font-family: Roboto, system-ui, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}

/* 헤딩 시스템 - H11 */
h1 {
  font-size: 2.875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin: 0 0 1.5rem 0;
}

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

h3 {
  font-size: 1.84rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin: 0 0 1rem 0;
}

/* 섹션 시스템 - S03 */
section {
  padding: 6rem 0;
}

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

.gap {
  gap: 4rem;
}

/* 네비게이션 - N11: 상단 스크롤 + 중앙 로고 + 좌우 메뉴 (대칭) */
header {
  background: var(--bg);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-checkbox {
  display: none;
}

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

nav {
  display: flex;
  width: 100%;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  width: 100%;
  justify-content: space-between;
}

nav ul li:nth-child(1),
nav ul li:nth-child(2),
nav ul li:nth-child(3) {
  margin-right: auto;
}

nav ul li:nth-child(4),
nav ul li:nth-child(5),
nav ul li:nth-child(6) {
  margin-left: auto;
}

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

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

/* 버튼 - B11 */
.btn {
  border-radius: 0.375rem;
  padding: 0.875rem 1.75rem;
  font-weight: 500;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

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

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

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

/* 카드 - K11 */
.card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  border-top: 3px solid var(--primary);
  transition: transform 0.3s;
}

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

/* 레이아웃 - L26: 미니멀리스트 히어로 → 2열 → 타임라인 → 사이드CTA */
.hero {
  text-align: center;
  padding: 8rem 0 6rem;
  background: linear-gradient(180deg, var(--bg) 0%, #fef3c7 100%);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3rem;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: -2.7rem;
  top: 12px;
  width: 2px;
  height: calc(100% - 12px);
  background: var(--primary);
}

.timeline-item:last-child::after {
  display: none;
}

.side-cta {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 999;
}

/* 접근성 */
.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,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

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

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

/* 반응형 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 2rem;
  }

  .logo {
    position: static;
    transform: none;
  }

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

  nav ul li {
    margin: 0 !important;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(217, 151, 6, 0.2);
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .side-cta {
    position: static;
    margin-top: 3rem;
    text-align: center;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  section {
    padding: 4rem 0;
  }
}

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

.doc-container p {
  margin: 1.5rem 0;
}

.doc-container a {
  color: var(--primary);
  text-decoration: underline;
}