:root{--build-id:"47de0659-7b1f-4d0c-b04c-44dddf35b47e";}
/* 보루이라81 키보드 - 스타일시트 */
/* 변수: L26, C23, T01, B11, N03, K11, S03, H11, F2, CS11 */

/* ========== 색상 변수 (C23) ========== */
:root {
  --primary: #ec4899;
  --bg: #fdf2f8;
  --text: #831843;
  --accent: #f472b6;
  --heading: var(--text);
  --link: var(--text);
  --white: #ffffff;
  --gray-light: #f9fafb;
  --gray-border: #e5e7eb;
}

/* ========== 기본 리셋 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== 폰트 (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-color: var(--bg);
}

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

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

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--heading);
  margin-bottom: 1rem;
}

/* ========== 네비게이션 (N03: 상단 스크롤 + 우측 로고 + 좌측 메뉴) ========== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

nav {
  background-color: var(--white);
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
}

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

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

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

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: var(--text);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* ========== 섹션 (S03) ========== */
section {
  padding: 6rem 0;
}

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

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

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: #db2777;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--primary);
  color: var(--white);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

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

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

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

.side-cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 3rem;
  border-radius: 1rem;
  color: var(--white);
  margin-top: 4rem;
}

.side-cta-content {
  flex: 1;
}

.side-cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.side-cta p {
  color: var(--white);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .side-cta {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== 푸터 ========== */
footer {
  background-color: var(--text);
  color: var(--white);
  padding: 3rem 0 2rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

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

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover,
.footer-section a:focus {
  color: var(--white);
  text-decoration: underline;
}

.footer-links {
  list-style: none;
}

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

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

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

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

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

/* ========== 접근성 ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  section {
    padding: 4rem 0;
  }

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