:root{--build-id:"a4335684-37c8-4e67-bb72-2b4cd2c32cc7";}
/* ======================
   Reset & Base Styles
   ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* C15 - 그린 색상 팔레트 */
  --primary: #15803d;
  --bg: #bbf7d0;
  --text: #14532d;
  --accent: #4ade80;
  --heading: #14532d;
  --link: #14532d;

  /* S11 - 여백 시스템 */
  --section-padding: 5.75rem 0;
  --container-max-width: 1350px;
  --gap: 3.75rem;

  /* H07 - 헤딩 스타일 */
  --h1-size: 2.5rem;
  --h1-weight: 700;
  --h1-line-height: 1.25;
  --h1-letter-spacing: 0.01em;
}

/* F8 - 폰트 스택 (중립형) */
body {
  font-family: system-ui, "Helvetica Neue", Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  background-color: var(--bg);
  color: var(--text);
}

/* ======================
   Typography
   ====================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  font-weight: var(--h1-weight);
  line-height: var(--h1-line-height);
  letter-spacing: var(--h1-letter-spacing);
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: calc(var(--h1-size) * 0.8);
}

h3 {
  font-size: calc(var(--h1-size) * 0.65);
}

p {
  margin-bottom: 1rem;
  line-height: 1.65;
}

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

a:hover {
  opacity: 0.7;
}

/* ======================
   Layout
   ====================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-padding);
}

/* ======================
   Skip Link (접근성)
   ====================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 4px 0;
}

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

/* ======================
   Header & Navigation (N15)
   ====================== */
header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  opacity: 0.9;
}

/* 햄버거 메뉴 (모바일) */
.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
  padding: 0.5rem;
}

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

nav ul li a {
  /* B07 - 버튼 스타일 (각진 보드) */
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

nav ul li a:hover,
nav ul li a[aria-current="page"] {
  background: var(--accent);
  color: var(--text);
  opacity: 1;
}

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

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

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

  nav ul {
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0.5rem;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    text-align: center;
    width: 100%;
  }
}

/* ======================
   Hero Section (L24 - 테크 히어로)
   ====================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 50px 50px;
  background-position: 0 0, 0 25px, 25px -25px, -25px 0px;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  opacity: 0.95;
}

/* ======================
   Buttons (B07 - 각진 보드)
   ====================== */
.btn {
  display: inline-block;
  padding: 1.5rem 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

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

.btn-secondary:hover {
  background: transparent;
  color: #fff;
  opacity: 1;
}

/* ======================
   Grid Systems (L24 - 6열 그리드)
   ====================== */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--gap);
  margin: 3rem 0;
}

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

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

/* ======================
   Cards (K07 - 테두리 강조)
   ====================== */
.card {
  border: 3px solid #000;
  border-radius: 0;
  padding: 2rem;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.card p {
  margin-bottom: 0.5rem;
}

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

/* ======================
   Sections
   ====================== */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--text);
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  border-left: 4px solid var(--primary);
  padding-left: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

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

.timeline-item h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* ======================
   Sticky CTA (L24)
   ====================== */
.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
}

.sticky-cta .btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .sticky-cta {
    bottom: 1rem;
    right: 1rem;
  }

  .sticky-cta .btn {
    padding: 1rem 2rem;
    font-size: 0.875rem;
  }
}

/* ======================
   Footer
   ====================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

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

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

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-bottom {
  max-width: var(--container-max-width);
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 1rem;
  font-size: 0.875rem;
}

/* ======================
   Accessibility (접근성)
   ====================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ======================
   Privacy/Terms Pages
   ====================== */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

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

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

/* ======================
   Contact Page Styles
   ====================== */
.contact-info {
  background: #fff;
  border: 3px solid #000;
  border-radius: 0;
  padding: 3rem;
  margin: 2rem 0;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-item p {
  font-size: 1.125rem;
  margin: 0;
}

/* ======================
   Responsive Design
   ====================== */
@media (max-width: 1024px) {
  :root {
    --h1-size: 2rem;
  }

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

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --h1-size: 1.75rem;
    --section-padding: 3rem 0;
    --gap: 2rem;
  }

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

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

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 0.875rem;
  }

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

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

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }
}

/* ======================
   SVG Styles
   ====================== */
.icon-svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ======================
   Text Balance
   ====================== */
h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}