:root{--build-id:"0ccc6946-af5f-446e-bd32-4cf839e0da4e";}
/* 기본 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS 변수 - C19 레드 계열 */
:root {
  --primary: #ef4444;
  --bg: #fef2f2;
  --text: #7f1d1d;
  --accent: #f87171;
  --heading: #7f1d1d;
  --link: #7f1d1d;
}

/* F1 폰트 스택 */
body {
  font-family: -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  background-color: var(--bg);
  color: var(--text);
}

/* 접근성 - Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
}

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

/* N01 네비게이션 - 상단 고정 + 좌측 로고 + 우측 메뉴 + 햄버거 */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 50;
}

nav {
  max-width: 1280px;
  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);
  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[aria-current="page"] {
  color: var(--primary);
}

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

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

/* S01 섹션 여백 */
section {
  padding: 5rem 0;
}

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

/* H09 헤딩 스타일 */
h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-style: italic;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

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

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

/* B09 버튼 스타일 */
.btn {
  display: inline-block;
  border-radius: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

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

.btn:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* K09 카드 스타일 */
.card {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s;
}

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

/* L25 레이아웃 - 카드 그리드 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

/* 히어로 섹션 */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* CS09 요약형 박스 */
.summary-box {
  background: #fff;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

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

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-list li {
  padding-left: 1.5rem;
  position: relative;
}

.summary-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* FAQ 섹션 */
.faq-item {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
}

.faq-question {
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

/* 풀폭 CTA */
.cta-full {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.cta-full h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

/* 푸터 */
footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--link);
  text-decoration: none;
}

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

/* 반응형 */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  section {
    padding: 3rem 0;
  }

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

/* 인라인 SVG 스타일 */
.icon-svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

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

/* 키보드 포커스 */
a:focus,
button:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}