:root{--build-id:"5240e4b0-c0f3-424e-b3eb-dd1a6bd2ffdd";}
/* 폰트: F6 (Android Global) */
:root {
  --primary: #16a34a;
  --bg: #dcfce7;
  --text: #166534;
  --accent: #22c55e;
  --heading: var(--text);
  --link: var(--text);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Roboto, system-ui, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
}

h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-style: italic;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 접근성: 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;
}

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

a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
label:focus:not(:focus-visible) {
  outline: none;
}

/* 헤더: N07 (상단 스크롤 + 좌측 로고 + 우측 메뉴 드롭다운 + 햄버거) */
header {
  background: var(--primary);
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.logo:hover {
  text-decoration: none;
}

.menu-checkbox {
  display: none;
}

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

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

nav a {
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

nav a:hover,
nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* 모바일 네비게이션 */
@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;
  }

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

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

  nav a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* 메인 컨테이너 */
main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 섹션: S05 (7rem 0, gap 5rem) */
section {
  padding: 7rem 0;
}

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

/* 버튼: B11 (0.375rem, 0.875rem 1.75rem, 500) */
.cta-button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border-radius: 0.375rem;
  padding: 0.875rem 1.75rem;
  font-weight: 500;
  text-align: center;
  transition: background 0.3s;
}

.cta-button:hover {
  background: var(--accent);
  text-decoration: none;
}

/* 카드: K16 (0.75rem, border, 1.5rem, rotate) */
.card {
  border-radius: 0.75rem;
  border: 1px solid var(--primary);
  padding: 1.5rem;
  background: #fff;
  transform: rotate(-1deg);
  transition: transform 0.3s;
}

.card:hover {
  transform: rotate(0deg);
}

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

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

/* Hero 섹션 */
.hero {
  text-align: center;
  padding: 5rem 0;
}

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 리스트 스타일 */
.step-list {
  list-style: none;
  counter-reset: step-counter;
}

.step-list li {
  counter-increment: step-counter;
  margin-bottom: 2rem;
  padding-left: 3rem;
  position: relative;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

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

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

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #fff;
  margin: 0 1rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact {
  margin-bottom: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* 문서 컨테이너 (privacy, terms) */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 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) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 4rem 0;
  }

  .section-inner {
    gap: 3rem;
  }

  .hero {
    padding: 3rem 0;
  }

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