:root{--build-id:"6ef37e37-cc16-4e53-a130-3782a1a75c8f";}
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #16a34a;
  --bg: #dcfce7;
  --text: #166534;
  --accent: #22c55e;
  --heading: var(--text);
  --link: var(--text);
}

body {
  font-family: Roboto, system-ui, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background: var(--bg);
}

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

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

/* Header & Navigation (N11: 상단 스크롤 + 중앙 로고 + 좌우 메뉴 대칭) */
header {
  background: #fff;
  border-bottom: 2px solid var(--primary);
  padding: 1.25rem 0;
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.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 {
  display: flex;
  width: 100%;
}

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

nav ul:first-child {
  margin-right: auto;
}

nav ul:last-child {
  margin-left: auto;
}

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

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

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .logo {
    position: static;
    transform: none;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: left 0.3s;
    z-index: 1000;
    overflow-y: auto;
  }

  .menu-checkbox:checked ~ nav {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin: 0 !important;
  }

  nav ul:first-child {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
  }

  nav ul:last-child {
    padding-top: 1.5rem;
  }
}

/* Typography (H08) */
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3.375rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.53rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin-bottom: 1rem;
}

/* Container & Section (S07) */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
}

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

/* Button (B08: 사각형 + 그림자) */
.btn {
  display: inline-block;
  border-radius: 0;
  padding: 0.875rem 2rem;
  font-weight: 500;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

/* Card (K08: 점선 테두리) */
.card {
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  padding: 1.75rem;
  background: #fff;
}

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

/* Hero Section (L04: 비디오형 히어로) */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Accordion (L04) */
.accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  background: #fff;
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: "▼";
  font-size: 0.875rem;
  transition: transform 0.3s;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content-inner {
  padding: 0 1.5rem 1.5rem;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

/* Gallery (L04) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 1;
  background: #fff;
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Checklist (CS08) */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checklist li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 900;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Footer */
footer {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0 1.5rem;
  margin-top: 5.5rem;
}

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

.footer-section h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

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

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

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

.footer-section a:hover {
  color: #fff;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 4rem 0;
  }

  .card-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}