:root{--build-id:"bb7303fd-fc84-443a-a726-f6873152a6ae";}
/* ========================================
   가로세로43 도시락 - 스타일시트
   변수: L03, C09, T05, B05, N05, K05, S05, H05, F3, CS05
   ======================================== */

/* 색상 변수 (C09 - 그린) */
:root {
  --primary: #10b981;
  --bg: #f0fdf4;
  --text: #064e3b;
  --accent: #34d399;
  --heading: var(--text);
  --link: var(--text);
  --border: #e5e7eb;
  --white: #ffffff;
}

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

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

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

/* N05 - 상단 투명 + 좌측 로고 + 우측 메뉴+CTA */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(240, 253, 244, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1.25rem 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;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  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);
  border-bottom: 2px solid var(--primary);
}

/* B05 - 사각형 버튼 */
.btn {
  display: inline-block;
  border-radius: 0;
  padding: 1.25rem 3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn:hover,
.btn:focus {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

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

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

/* 햄버거 메뉴 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* S05 - 여백 시스템 */
section {
  padding: 7rem 2rem;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
}

/* H05 - 헤딩 스타일 */
h1 {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

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

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

p {
  margin-bottom: 1rem;
}

/* L03 - 중앙집중 히어로 */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;
  background: linear-gradient(135deg, var(--bg) 0%, #dcfce7 100%);
}

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

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: var(--text);
  opacity: 0.9;
}

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

/* K05 - 카드 스타일 */
.card {
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  background: var(--white);
  transition: all 0.3s;
}

.card:hover,
.card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

/* 그리드 레이아웃 */
.grid {
  display: grid;
  gap: 5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* 리스트형 섹션 */
.list-section {
  background: var(--white);
}

.list-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.list-item:last-child {
  border-bottom: none;
}

.list-icon {
  font-size: 2.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.list-content h3 {
  margin-bottom: 0.75rem;
}

/* 타임라인 */
.timeline {
  position: relative;
  padding-left: 3rem;
}

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

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

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

/* CS05 - 비교형 테이블 */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border: 2px solid var(--border);
}

.comparison-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}

.comparison-table tr:hover {
  background: var(--bg);
}

/* 사이드 CTA */
.side-cta {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 999;
}

/* 푸터 */
footer {
  background: var(--text);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

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

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

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover,
.footer-section a:focus {
  color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.footer-bottom {
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

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

/* 반응형 */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
  }

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

  .hamburger {
    display: flex;
  }

  h1 {
    font-size: 2.5rem;
  }

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

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .side-cta {
    right: 1rem;
    bottom: 1rem;
  }

  .comparison-table {
    font-size: 0.875rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
  }
}

/* 인라인 SVG 스타일 */
.icon-svg {
  width: 3rem;
  height: 3rem;
  fill: var(--primary);
}

.icon-svg-small {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}