:root{--build-id:"fe616100-e7ab-4070-9975-0bb9ab34adbe";}
/* 르이고드비 - 유산소운동 사이트 스타일 */

/* 색상 변수 (C14: 그린 계열) */
:root {
  --primary: #16a34a;
  --bg: #dcfce7;
  --text: #166534;
  --accent: #22c55e;
  --heading: var(--text);
  --link: var(--text);
}

/* 폰트 설정 (F5: Android Core) */
body {
  font-family: Roboto, "Noto Sans KR", "Malgun Gothic", "Segoe UI", -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);
  margin: 0;
  padding: 0;
}

/* 헤딩 스타일 (H13 기반 반응형 clamp) */
h1 {
  font-size: clamp(1.90rem, 2.4vw + 1rem, 2.90rem);
  font-weight: 660;
  line-height: 1.22;
  letter-spacing: -0.008em;
  color: var(--heading);
  margin: 0 0 1.5rem 0;
}

h2 {
  font-size: clamp(1.43rem, 1.8vw + 0.75rem, 2.18rem);
  font-weight: 660;
  line-height: 1.27;
  letter-spacing: -0.008em;
  color: var(--heading);
  margin: 0 0 1.25rem 0;
}

h3 {
  font-size: clamp(1.14rem, 1.44vw + 0.6rem, 1.74rem);
  font-weight: 560;
  line-height: 1.32;
  letter-spacing: -0.008em;
  color: var(--heading);
  margin: 0 0 1rem 0;
}

/* 링크 스타일 */
a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Skip to Content 링크 */
.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;
}

/* 컨테이너 (S11: 1350px) */
.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 섹션 여백 (S11: 5.75rem) */
section {
  padding: 5.75rem 0;
}

/* 헤더 (N07: 상단 스크롤 + 좌측 로고 + 우측 메뉴) */
header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 1350px;
  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);
}

.menu-checkbox {
  display: none;
}

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

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5rem;
}

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

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

/* 모바일 네비게이션 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

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

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

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

/* 버튼 스타일 (B18: 미니멀 언더라인) */
.btn {
  display: inline-block;
  border: none;
  border-bottom: 2px solid var(--primary);
  background: transparent;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* 카드 스타일 (K08: 대시 테두리) */
.card {
  border: 2px dashed #9ca3af;
  border-radius: 0.75rem;
  padding: 1.75rem;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 히어로 섹션 (L26: 미니멀리스트) */
.hero {
  background: linear-gradient(135deg, #fff 0%, var(--bg) 100%);
  text-align: center;
  padding: 7rem 0 5.75rem 0;
}

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

.hero p {
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: var(--text);
}

/* 2열 레이아웃 */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.75rem;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

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

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid #fff;
}

/* 사이드 CTA */
.side-cta {
  background-color: #fff;
  border-left: 4px solid var(--primary);
  padding: 2rem;
  border-radius: 0.5rem;
}

/* 푸터 */
footer {
  background-color: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 3rem 0 2rem 0;
  margin-top: 5.75rem;
}

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  font-size: 0.875rem;
}

.footer-info {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.75;
}

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

/* 유틸리티 클래스 */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 2rem;
}

/* SVG 아이콘 스타일 */
.icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}

.icon-large {
  width: 4rem;
  height: 4rem;
}

/* 반응형 이미지 */
img {
  max-width: 100%;
  height: auto;
}