:root{--build-id:"2121e78f-2256-4c4c-9d6d-5939db8ccb28";}
/* ========================================
   아이모나99 (mabi99.store) - styles.css
   변수 조합 52번: L22, C06, T03, B04, N07, K04, S07, H04, F4, CS04
   ======================================== */

/* === CSS 변수 (C06 색상) === */
:root {
  --primary: #1d4ed8;
  --bg: #eff6ff;
  --text: #1e3a8a;
  --accent: #3b82f6;
  --heading: var(--text);
  --link: var(--text);
}

/* === 전역 리셋 === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === Body 스타일 (F4: Windows Modern 폰트) === */
body {
  font-family: "Segoe UI Variable", "Malgun Gothic", "Noto Sans KR", Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  background-color: var(--bg);
  color: var(--text);
}

/* === 헤딩 스타일 (H04: 2.75rem 기본) === */
h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--heading);
}

h2 {
  font-size: clamp(1.625rem, 3.5vw, 2.0625rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--heading);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--heading);
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  opacity: 0.75;
}

a:focus-visible {
  outline: 3px solid #0066cc;
  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;
}

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

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

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

nav a {
  font-weight: 500;
  color: var(--text);
}

nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
}

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

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

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

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

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

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

  nav li {
    border-bottom: 1px solid #f0f0f0;
  }

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

/* === 메인 컨테이너 (S07: section 5.5rem, container 1250px, gap 3.25rem) === */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5.5rem 0;
}

/* === 히어로 섹션 (L22: 볼드 히어로) === */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 8rem 2rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
}

.hero-text {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* === 버튼 스타일 (B04: 라운드 + uppercase) === */
.cta-btn {
  display: inline-block;
  background-color: #fff;
  color: var(--primary);
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* === 인트로 섹션 === */
.intro-section {
  background-color: #fff;
}

.intro-section h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.intro-section p {
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

/* === 아이콘 그리드 섹션 (L22: 3열 아이콘) === */
.icons-section {
  background-color: var(--bg);
}

.icons-section h2 {
  margin-bottom: 3.25rem;
  text-align: center;
}

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

/* === 카드 스타일 (K04: 박스섀도우 + 라운드) === */
.icon-card {
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.icon svg {
  width: 48px;
  height: 48px;
}

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

/* === 스토리 섹션 (L22: 스토리 - 단계형 CS04) === */
.story-section {
  background-color: #fff;
}

.story-section h2 {
  margin-bottom: 3.25rem;
  text-align: center;
}

.step-content {
  max-width: 900px;
  margin: 0 auto;
}

.step-item {
  margin-bottom: 3rem;
}

.step-number {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-item h3 {
  margin-bottom: 0.75rem;
}

/* === CTA 섹션 === */
.cta-section {
  background-color: var(--bg);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1.5rem;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* === 페이지 히어로 (서브페이지용) === */
.page-hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.125rem;
  opacity: 0.95;
}

/* === 콘텐츠 섹션 === */
.content-section {
  background-color: #fff;
}

.content-section:nth-of-type(even) {
  background-color: var(--bg);
}

.content-section h2 {
  margin-bottom: 2rem;
}

/* === 후기 카드 === */
.review-card {
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.reviewer {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* === 연락처 정보 === */
.contact-info {
  background-color: var(--bg);
  padding: 2rem;
  border-radius: 0.75rem;
  margin: 2rem 0;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

/* === 문서 컨테이너 (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;
}

/* === 푸터 === */
footer {
  background-color: var(--primary);
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-container p {
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

footer a:hover {
  opacity: 0.8;
}

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