:root{--build-id:"1e31e835-0f5b-485a-80c2-ad62f81d6b04";}
/* 기본 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS 변수 - C06 블루 팔레트 */
:root {
  --primary: #1d4ed8;
  --bg: #eff6ff;
  --text: #1e3a8a;
  --accent: #3b82f6;
  --heading: var(--text);
  --link: var(--text);
  --white: #ffffff;
  --border: #dbeafe;
}

/* F4 폰트 스택 - Windows Modern */
body {
  font-family: "Segoe UI Variable", "Malgun Gothic", "Noto Sans KR", Arial, 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: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

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

/* 헤더 - N07 스타일 */
header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  transition: box-shadow 0.3s;
}

header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-checkbox {
  display: none;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

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

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

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

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

/* H04 헤딩 스타일 */
h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--heading);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--heading);
  margin-bottom: 0.875rem;
}

/* S07 섹션 여백 */
section {
  padding: 5.5rem 0;
}

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

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

/* B04 버튼 스타일 */
.btn {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}

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

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

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

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

/* K04 카드 스타일 */
.card {
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 1.75rem;
  background-color: var(--white);
  transition: all 0.3s;
}

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

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

/* 히어로 섹션 - L22 볼드 스타일 */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--white) 100%);
  padding: 7rem 0 6rem;
  text-align: center;
}

.hero h1 {
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 아이콘 박스 */
.icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 2rem;
}

/* 단계 번호 - CS04 스타일 */
.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* FAQ 스타일 */
.faq-item {
  background-color: var(--white);
  border-radius: 0.75rem;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.faq-question {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.faq-answer {
  color: var(--text);
  line-height: 1.7;
}

/* 후기 카드 */
.testimonial-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* 연락처 정보 */
.contact-info {
  background-color: var(--white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
}

/* 푸터 */
footer {
  background-color: var(--white);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

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

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

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-copyright {
  color: #64748b;
  font-size: 0.875rem;
}

/* Privacy/Terms 문서 스타일 */
.doc-container {
  max-width: 800px;
  margin: 5rem auto;
  padding: 2rem;
  text-align: center;
}

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

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

.doc-container a {
  color: var(--primary);
  text-decoration: underline;
}

/* 접근성 - 키보드 포커스 */
a:focus-visible,
input:focus-visible,
label:focus-visible,
.btn:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

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

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

  nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  nav ul li:last-child {
    border-bottom: none;
  }

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

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

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  section {
    padding: 3.5rem 0;
  }

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

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

  .header-container {
    padding: 1rem 1.25rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}