:root{--build-id:"b17b8126-a0e6-49f9-95f8-0f58cd4e7d36";}
/* =================================================================
   로이나라93 - 콩나물 사이트 스타일
   변수: L04, C15, T02, B07, N15, K07, S07, H07, F8, CS07
   ================================================================= */

/* [1] CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* [2] 색상 변수 (C15 - 그린) */
:root {
  --primary: #15803d;
  --bg: #bbf7d0;
  --text: #14532d;
  --accent: #4ade80;
  --heading: #14532d;
  --link: #14532d;
  --white: #ffffff;
}

/* [3] 폰트 (F8 - Neutral Fallback) + T02 (Pretendard/IBM Plex Mono) */
body {
  font-family: system-ui, "Helvetica Neue", Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  background: var(--bg);
  color: var(--text);
}

code,
pre {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-weight: 400;
}

/* [4] 헤딩 (H07) */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--heading);
}

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

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.005em;
  color: var(--heading);
}

/* [5] 링크 */
a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

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

/* [7] 헤더 (N15 - 상단 스크롤 + 버튼형 메뉴) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 50;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

header.scrolled {
  transform: translateY(0);
}

.header-container {
  max-width: 1250px;
  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;
  color: var(--primary);
}

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

header nav a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

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

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

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

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

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

  header nav a {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--bg);
  }
}

/* [8] 컨테이너 (S07) */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5.5rem 0;
}

.section-gap {
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
}

/* [9] 버튼 (B07 - 직각, 대담한 스타일) */
.btn {
  display: inline-block;
  border-radius: 0;
  padding: 1.5rem 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

/* [10] 카드 (K07 - 검은 테두리) */
.card {
  border: 3px solid #000;
  border-radius: 0;
  padding: 2rem;
  background: var(--white);
  transition: transform 0.3s ease;
}

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

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 1rem;
}

/* [11] Grid 레이아웃 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3.25rem;
}

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

/* [12] Hero 섹션 (L04 - 비디오형) */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  padding: 8rem 2rem 5.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* [13] 아코디언 */
.accordion-item {
  border: 3px solid #000;
  margin-bottom: 1rem;
  background: var(--white);
}

.accordion-header {
  padding: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: var(--bg);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
  padding: 1.5rem;
  max-height: 500px;
}

/* [14] 타임라인 (CS07) */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
}

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

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

.timeline-item h3 {
  margin-bottom: 0.5rem;
}

/* [15] Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

footer a {
  color: var(--white);
}

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* [16] Privacy/Terms 페이지 */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 2rem;
  text-align: center;
}

.doc-container h1 {
  margin-bottom: 2rem;
}

.doc-container p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* [17] Contact 페이지 */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 3px solid #000;
  background: var(--white);
}

.contact-item svg {
  width: 2rem;
  height: 2rem;
  fill: var(--primary);
}

/* [18] 반응형 */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 6rem 1rem 3rem;
  }

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

  .btn {
    padding: 1rem 2rem;
  }

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

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

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

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

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