:root{--build-id:"9fd15dac-6e12-4d3c-bf49-bb46be170836";}
/* 므이케파 - 유산소운동 사이트 */
/* 패턴: L27, C18, T16, B03, N14, K13, S05, H04, F6, CS19 */

:root {
  /* C18: 오렌지 팔레트 */
  --primary: #ea580c;
  --bg: #ffedd5;
  --text: #7c2d12;
  --accent: #f97316;
  --heading: var(--text);
  --link: var(--text);
}

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

/* F6: Android Global 폰트 스택 */
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);
}

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

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

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

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

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

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

/* N14: 상단 고정 + 좌측 로고 + 우측 메뉴 (언더라인) + 햄버거 */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 237, 213, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(124, 45, 18, 0.1);
}

.header-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1rem 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(--primary);
}

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

nav a {
  position: relative;
  padding-bottom: 0.25rem;
  font-weight: 500;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

nav a:hover::after,
nav a[aria-current="page"]::after {
  width: 100%;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    border-bottom: 1px solid rgba(124, 45, 18, 0.1);
  }

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

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

/* S05: 여백 시스템 */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
}

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

/* B03: 버튼 스타일 */
.btn {
  display: inline-block;
  border-radius: 9999px;
  padding: 1.25rem 3rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: var(--primary);
  color: #fff;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: #fff;
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* K13: 카드 스타일 */
.card {
  border-radius: 0.5rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
  background: #fff;
  transition: all 0.3s;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
}

/* L27: 임팩트 히어로 + 4열 + 케이스 + 버튼그룹CTA */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  padding-top: 5rem;
}

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

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

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

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

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

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

.text-center {
  text-align: center;
}

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

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

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

footer {
  background: #fff;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(124, 45, 18, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 45, 18, 0.1);
  font-size: 0.875rem;
  opacity: 0.7;
}

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

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

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

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 1rem 2rem;
  }
}