:root {
  --primary: #7C4DB8;
  --primary-dark: #5E3A8C;
  --primary-light: #F3EDFA;
  --text: #222222;
  --sub: #666666;
  --border: #E5E5E5;
  --bg: #FFFFFF;
}

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

body {
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 헤더 */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.site-header .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}
.nav a {
  margin-left: 18px;
  font-size: 14px;
  color: var(--sub);
}
.nav a:hover { color: var(--primary); }

/* 히어로 (index) */
.hero {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 90px 20px 80px;
}
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: 2px; }
.hero .tagline { font-size: 19px; margin-top: 14px; opacity: 0.92; }
.hero .badge {
  display: inline-block;
  margin-top: 28px;
  padding: 8px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

/* 섹션 */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 20px;
}
.section h2 {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}
.section h2 .accent { color: var(--primary); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  background: #fff;
}
.feature .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--sub); }

.flow {
  counter-reset: step;
  max-width: 620px;
  margin: 0 auto;
}
.flow li {
  list-style: none;
  position: relative;
  padding: 0 0 26px 56px;
  font-size: 15px;
  color: var(--sub);
}
.flow li strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.flow li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.notice {
  background: var(--primary-light);
  border-radius: 16px;
  text-align: center;
  padding: 40px 24px;
}
.notice h2 { margin-bottom: 12px; }
.notice p { color: var(--sub); font-size: 15px; }
.notice .contact {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
}
.notice .contact:hover { background: var(--primary-dark); text-decoration: none; }

/* 문서 페이지 (privacy / terms) */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
.doc h1 {
  font-size: 28px;
  font-weight: 800;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 12px;
}
.doc .doc-meta { font-size: 13px; color: var(--sub); margin-bottom: 32px; }
.doc h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 40px 0 14px;
}
.doc h3 { font-size: 16px; font-weight: 700; margin: 26px 0 8px; }
.doc p { font-size: 15px; margin-bottom: 10px; }
.doc ol, .doc ul { padding-left: 22px; margin-bottom: 10px; }
.doc li { font-size: 15px; margin-bottom: 5px; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 14px;
}
.doc th, .doc td {
  border: 1px solid var(--border);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}
.doc th { background: var(--primary-light); font-weight: 700; white-space: nowrap; }
.doc .biz-list { list-style: none; padding-left: 0; }
.doc .biz-list li { margin-bottom: 3px; }

/* 푸터 (공통) */
.site-footer {
  border-top: 1px solid var(--border);
  background: #FAFAFA;
  padding: 32px 20px 40px;
}
.site-footer .inner {
  max-width: 960px;
  margin: 0 auto;
  font-size: 12.5px;
  color: var(--sub);
  line-height: 1.9;
}
.site-footer .links { margin-bottom: 10px; font-size: 13px; }
.site-footer .links a { color: var(--sub); font-weight: 700; margin-right: 16px; }
.site-footer .links a:hover { color: var(--primary); }
.site-footer .disclaimer { margin-top: 10px; }

/* 대표 시술 안내 · 결제·환불 안내 (index) */
.section h2.tight { margin-bottom: 14px; }
.section .lead {
  text-align: center;
  color: var(--sub);
  font-size: 14px;
  max-width: 640px;
  margin: 0 auto 32px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.menu-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  background: #fff;
}
.menu-card h3 { font-size: 17px; font-weight: 700; }
.menu-card .price { font-size: 26px; font-weight: 800; color: var(--primary); margin-top: 6px; }
.menu-card .duration { font-size: 13px; color: var(--sub); margin-bottom: 14px; }
.menu-card dl { font-size: 13.5px; color: var(--sub); line-height: 1.65; }
.menu-card dt { font-weight: 700; color: var(--text); margin-top: 10px; }
.menu-card dd { margin: 0; }

.pay-info {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  background: #fff;
}
.pay-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.pay-info ul { list-style: none; margin-bottom: 18px; }
.pay-info li { font-size: 14px; color: var(--sub); margin-bottom: 6px; }
.pay-info li strong { color: var(--text); margin-right: 6px; }
.pay-info .table-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pay-info .table-title a { font-weight: 400; font-size: 13px; }
.refund-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.refund-table th, .refund-table td {
  border: 1px solid var(--border);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}
.refund-table th { background: var(--primary-light); font-weight: 700; }
.refund-table td:first-child { width: 48%; }
.pay-info .pay-contact { font-size: 13.5px; color: var(--sub); }

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero { padding: 64px 20px 56px; }
  .section { padding: 48px 20px; }
}
