:root{--build-id:"0ad67333-44d2-47fe-afb0-d55cfa8d7738";}
/* 색상 팔레트 C14 */
:root {
  --primary: #16a34a;
  --bg: #dcfce7;
  --text: #166534;
  --accent: #22c55e;
  --heading: var(--text);
  --link: var(--text);
}

/* 타이포그래피 T16 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 타이포그래피 — 시스템 폰트 통일 */
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);
}


/* 여백 시스템 S08 */
section {
  padding: 3rem 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gap {
  gap: 1.5rem;
}

/* 네비게이션 N14 */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.menu-checkbox {
  display: none;
}

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

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

nav a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

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

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

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

/* 카드 스타일 K08 */
.card {
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  padding: 1.75rem;
  background: #fff;
  transition: transform 0.2s;
}

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

/* 레이아웃 L27 */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 3.5rem;
}

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

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

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

.timeline-item::before {
  content: "●";
  position: absolute;
  left: -2.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}

/* Footer */
footer {
  background: #fff;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #e5e7eb;
  margin-top: 3rem;
}

footer a {
  color: var(--link);
  text-decoration: none;
  margin: 0 0.5rem;
}

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

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

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

/* 문서 페이지 */
.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) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

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

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

  nav li {
    border-bottom: 1px solid #f3f4f6;
  }

  nav a {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: none;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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