:root{--build-id:"e04cb12b-dcdf-440e-9a6a-ebeb5f93f63c";}
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* C20: 레드 계열 */
  --primary: #dc2626;
  --bg: #fee2e2;
  --text: #991b1b;
  --accent: #ef4444;
  --heading: var(--text);
  --link: var(--text);
}

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

/* H10: 헤딩 스타일 - clamp 반응형 */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.625rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.015em;
  color: var(--heading);
  margin-bottom: 0.875rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.969rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

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

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

/* N05: 상단 투명 + 좌측 로고 + 우측 메뉴+CTA (인라인) + 햄버거 */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(153, 27, 27, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.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 ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  position: relative;
}

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

nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

/* S09: 섹션 여백 */
section {
  padding: 6.5rem 0;
}

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

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

/* L05: 슬라이드형 히어로 + 탭 구조 + 2열 그리드 + 스티키CTA */
.hero {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
  padding: 8rem 0 6rem;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.hero p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--text);
  opacity: 0.9;
}

/* B10: 버튼 스타일 */
.cta-button {
  display: inline-block;
  border-radius: 0.75rem;
  padding: 1.125rem 2.25rem;
  font-weight: 700;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-button:hover {
  background: transparent;
  color: var(--primary);
  opacity: 1;
}

.cta-button-outline {
  display: inline-block;
  border-radius: 0.75rem;
  padding: 1.125rem 2.25rem;
  font-weight: 700;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-button-outline:hover {
  background: var(--primary);
  color: #fff;
  opacity: 1;
}

/* K10: 카드 스타일 */
.card {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* 2열 그리드 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* 3열 그리드 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* 탭 구조 */
.tabs {
  margin-bottom: 3rem;
}

.tab-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  list-style: none;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-button.active {
  background: var(--primary);
  color: #fff;
}

/* Footer */
footer {
  background: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(153, 27, 27, 0.1);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
  font-size: 0.95rem;
  line-height: 1.8;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(153, 27, 27, 0.1);
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* SVG 스타일 */
.icon-svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: block;
}

/* 문서 컨테이너 (Privacy/Terms) */
.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: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    border-bottom: 1px solid rgba(153, 27, 27, 0.1);
  }

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

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

  nav li {
    width: 100%;
    border-bottom: 1px solid rgba(153, 27, 27, 0.1);
  }

  nav a {
    display: block;
    padding: 1rem 0;
  }

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

  section {
    padding: 3rem 0;
  }

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

  .footer-info {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-container {
    padding: 1rem;
  }

  .cta-button,
  .cta-button-outline {
    padding: 1rem 1.75rem;
    font-size: 0.9rem;
  }
}