:root {
  --ink: #252a45;
  --muted: #68728b;
  --line: #dfe4f1;
  --paper: #fcfcff;
  --sage: #e9f7ff;
  --leaf: #4385d3;
  --leaf-dark: #2d68b8;
  --sand: #f4f2fc;
  --radius: 20px;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, a, input, select, textarea {
  font-family: inherit;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(48, 61, 111, .08);
  background: rgba(252, 252, 255, .95);
  backdrop-filter: blur(14px);
}
.header-row { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand, .footer-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 18px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #45afe5, #8071d5);
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 4px 10px rgba(69, 175, 229, 0.3);
}
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 30px; margin-left: auto; font-size: 15px; color: var(--muted); font-weight: 550; }
.main-nav a, .mobile-nav a { padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.main-nav a:hover, .main-nav .is-active, .mobile-nav .is-active { color: var(--leaf); border-color: var(--leaf); font-weight: 700; }

/* === 타이포그래피 서체 통일 (Pretendard 기반) === */
h1, h2, h3, p { overflow-wrap: anywhere; font-family: inherit; }
h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.18;
  font-size: clamp(38px, 4.8vw, 62px);
  color: var(--ink);
}
h2 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.28;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ink);
}
h3 {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.025em;
  line-height: 1.35;
}
p { line-height: 1.7; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(67, 133, 211, 0.22);
  box-shadow: 0 4px 14px rgba(67, 133, 211, 0.08);
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(67, 133, 211, 0.2);
  animation: pulseDot 2.2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

/* === 메인 인트로 히어로 섹션 === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
  background: linear-gradient(125deg, #e9f7ff 0%, #f6f4ff 52%, #eeeaff 100%);
  border-bottom: 1px solid rgba(101, 119, 202, 0.12);
}
.hero-ambient {
  position: absolute;
  inset: -40px;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center right;
  opacity: 0.18;
  filter: blur(44px);
  pointer-events: none;
  transform: scale(1.05);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 56px;
}
.hero-copy { position: relative; }
.hero-text {
  max-width: 510px;
  margin: 22px 0 0;
  color: #58647d;
  font-size: 17px;
  line-height: 1.7;
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.01em;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(67, 133, 211, 0.22);
}
.button-primary { color: white; background: var(--leaf); }
.button-primary:hover { background: var(--leaf-dark); }
.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: #b9c7e8;
  color: var(--leaf-dark);
}
.button-secondary:hover {
  background: white;
}

.hero-visual-col { position: relative; }
.hero-main-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 60px rgba(50, 77, 150, 0.16), 0 4px 18px rgba(50, 77, 150, 0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hero-main-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(50, 77, 150, 0.22);
}
.hero-main-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}
.hero-panel-overlay {
  padding: 24px 28px 26px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(101, 119, 202, 0.12);
}
.hero-panel-overlay .eyebrow {
  margin-bottom: 6px;
}
.quote {
  position: relative;
  margin: 0 0 16px;
  font-family: inherit;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.03em;
  color: var(--ink);
}
.pause-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}
.pause-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(67, 133, 211, 0.12);
  color: var(--leaf-dark);
  font-weight: 800;
  font-size: 12px;
}

/* === 서브페이지 히어로 섹션 (통일 배경 & 캐릭터) === */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 68px;
  background: linear-gradient(125deg, #edf6ff 0%, #f7f3ff 50%, #f0edff 100%);
  border-bottom: 1px solid rgba(101, 119, 202, 0.12);
}
.page-hero-ambient {
  position: absolute;
  inset: -30px;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center right;
  opacity: 0.16;
  filter: blur(40px);
  pointer-events: none;
  transform: scale(1.06);
}
.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 48px;
}
.page-hero-copy { position: relative; }
.page-hero-copy h1 {
  margin: 6px 0 14px;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
}
.page-hero-copy .hero-desc {
  max-width: 540px;
  margin: 0;
  color: #58647d;
  font-size: 16px;
  line-height: 1.65;
}
.page-hero-visual {
  display: flex;
  justify-content: flex-end;
}
.hero-char-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 48px rgba(50, 77, 150, 0.14), 0 4px 14px rgba(50, 77, 150, 0.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hero-char-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(50, 77, 150, 0.2);
}
.hero-char-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-char-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 40%, rgba(30, 40, 80, 0.12) 100%);
  pointer-events: none;
}

/* === 본문 공통 섹션 === */
.section { padding: 92px 0; }
.soft-section { background: var(--sand); }
.intro-section h2 { max-width: 600px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature-grid article {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 4px 15px rgba(50, 77, 150, .04);
}
.feature-grid span { color: var(--leaf); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.feature-grid h3 { margin-top: 19px; }
.feature-grid p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.journey-section { background: #fff; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.journey-card {
  padding: 29px;
  border: 1px solid #dfe5f4;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f5f8ff);
  box-shadow: 0 5px 18px rgba(50, 77, 150, .05);
}
.journey-number { color: var(--leaf); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.journey-card h3 { margin-top: 20px; }
.journey-card p { min-height: 72px; margin: 12px 0 20px; color: var(--muted); font-size: 14px; }
.journey-caption { display: block; padding-top: 14px; border-top: 1px solid var(--line); color: var(--leaf-dark); font-size: 12px; font-weight: 700; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); }
.text-link, .text-button { color: var(--leaf); font-weight: 750; font-size: 14px; }
.text-link:hover, .text-button:hover { text-decoration: underline; }
.card-grid { display: grid; gap: 23px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  overflow: hidden;
  border: 1px solid rgba(71, 90, 158, .12);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 4px 17px rgba(50, 77, 150, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-link { display: block; }
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px rgba(50, 77, 150, .13); }
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sage); }
.product-card > img { aspect-ratio: 1 / 1; }
.card-body { padding: 21px; }
.card-meta, .product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-meta { color: var(--muted); font-size: 12px; }
.card-meta span:first-child, .tag { color: #437bc6; font-weight: 750; }
.card h3 { margin-top: 12px; }
.card-body > p { min-height: 49px; margin: 10px 0 17px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.product-composition { min-height: 39px; margin: -5px 0 17px; color: #7a8298; font-size: 12px; line-height: 1.55; }
.card-detail { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.detail-link { display: inline-block; margin-top: 16px; color: var(--leaf-dark); font-size: 13px; font-weight: 750; }
.tag { display: inline-block; padding: 5px 9px; border-radius: 999px; background: #edf5ff; font-size: 12px; }
.product-bottom { padding-top: 2px; }
.product-bottom strong { font-size: 17px; }
.text-button { border: 0; background: transparent; padding: 5px 0; }
.store-teaser { align-items: center; padding-top: 84px; padding-bottom: 84px; border-bottom: 1px solid var(--line); }
.subscription-teaser { background: linear-gradient(110deg, #edf8ff, #f3efff); border-bottom: 1px solid #dde3f4; }
.home-start { padding-top: 84px; padding-bottom: 84px; }
.home-start-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 40px;
  border: 1px solid #dce5f5;
  border-radius: 26px;
  background: linear-gradient(120deg, #f4fbff, #f7f3ff);
}
.home-start-card > div:first-child { max-width: 680px; }
.home-start-card h2 { margin: 0 0 13px; font-size: clamp(26px, 3vw, 36px); }
.home-start-card p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; }
.home-start-card .button-row { flex: 0 0 auto; margin-top: 0; }

/* === 스토어 & 필터 === */
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  background: white;
  color: var(--muted);
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  transition: all .2s ease;
}
.filter-button:hover, .filter-button.is-selected {
  border-color: var(--leaf);
  background: var(--leaf);
  color: white;
}

/* === 스토어 선택 가이드 === */
.store-guide { padding: 78px 0; background: #f7f9ff; }
.store-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.store-guide-card { padding: 28px; border: 1px solid #dfe5f4; border-radius: var(--radius); background: white; }
.guide-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #edf5ff; color: var(--leaf-dark); font-size: 12px; font-weight: 800; }
.store-guide-card h3 { margin: 20px 0 11px; font-size: 19px; }
.store-guide-card p { min-height: 72px; margin: 0 0 19px; color: var(--muted); font-size: 14px; }

/* === 구독 플랜 === */
.subscription-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.subscription-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 5px 18px rgba(50, 77, 150, .05);
}
.subscription-card.is-featured {
  position: relative;
  border: 2px solid #6d8fe2;
  box-shadow: 0 16px 36px rgba(76, 105, 191, .15);
}
.subscription-card h2 {
  margin: 16px 0 10px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -.04em;
}
.subscription-card > p { min-height: 52px; margin: 0; color: var(--muted); font-size: 14px; }
.plan-price { display: grid; gap: 3px; margin: 24px 0 19px; }
.plan-price strong { color: var(--leaf-dark); font-size: 27px; letter-spacing: -.04em; }
.plan-price span { color: var(--muted); font-size: 13px; }
.subscription-card ul, .payment-summary ul {
  display: grid;
  gap: 10px;
  margin: 0 0 27px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.subscription-card li::before, .payment-summary li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--leaf);
  font-weight: 800;
}
.subscription-card .button { width: 100%; margin-top: auto; }
.subscription-guide { padding: 72px 0; background: #f7f9ff; }
.guide-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.guide-list { display: grid; gap: 17px; }
.guide-list p {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 18px;
  margin: 0;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.guide-list strong { color: var(--ink); }
.membership-steps { padding: 78px 0; background: #eef8ff; }
.membership-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.membership-step { padding: 28px; border: 1px solid #d9e7f4; border-radius: var(--radius); background: rgba(255,255,255,.82); }
.membership-step > span { color: var(--leaf); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.membership-step h3 { margin: 19px 0 10px; }
.membership-step p { margin: 0; color: var(--muted); font-size: 14px; }
.membership-faq { padding: 78px 0; background: white; }
.faq-list { display: grid; gap: 12px; max-width: 840px; }
.faq-list details { border: 1px solid var(--line); border-radius: 15px; background: #fbfcff; }
.faq-list summary { padding: 19px 22px; color: var(--ink); cursor: pointer; font-size: 15px; font-weight: 700; list-style-position: inside; }
.faq-list p { margin: 0; padding: 0 22px 20px 42px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* === 결제 레이아웃 === */
.payment-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: start; gap: 30px; }
.payment-summary { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.payment-summary h2 { margin: 0 0 15px; font-size: 25px; font-weight: 750; }
.payment-summary > p:not(.eyebrow) { margin: 0 0 22px; color: var(--muted); }
.payment-summary ul { margin-bottom: 0; }
.order-item-image { width: 100%; aspect-ratio: 16 / 9; margin: 4px 0 22px; border-radius: 13px; object-fit: cover; }
.payment-methods { margin-top: 30px; padding: 20px; border-radius: 13px; background: #f3f7ff; }
.payment-methods h3 { margin: 0 0 7px; font-size: 15px; }
.payment-methods p { margin: 0; color: var(--muted); font-size: 13px; }
.recurring-panel .agreement { display: flex; align-items: flex-start; gap: 8px; margin: 1px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.recurring-panel .agreement input { margin: 2px 0 0; accent-color: var(--leaf); }

/* === 상세 페이지 (스토어 & 아카데미) === */
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr); align-items: start; gap: 58px; }
.detail-image { overflow: hidden; border-radius: 24px; background: var(--sage); }
.detail-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.detail-copy { padding: 12px 0; }
.detail-copy h2 { margin: 17px 0 15px; font-size: clamp(30px, 3.5vw, 43px); font-weight: 750; letter-spacing: -.05em; }
.detail-lead { margin: 0; color: var(--muted); font-size: 16px; }
.detail-price { display: block; margin: 28px 0; color: var(--leaf-dark); font-size: 29px; letter-spacing: -.04em; }
.detail-composition { display: grid; gap: 7px; margin: 0 0 27px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.detail-composition b { color: var(--ink); }
.detail-copy .button { min-width: 220px; }
.detail-contact { margin: 17px 0 0; color: var(--muted); font-size: 12px; }
.detail-contact a { color: var(--leaf-dark); text-decoration: underline; }
.detail-content { padding: 76px 0; background: #f6f8ff; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.detail-grid article { padding: 27px; border: 1px solid #dfe5f4; border-radius: var(--radius); background: white; }
.detail-grid h2 { margin: 0 0 14px; font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
.detail-grid article > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; }

.academy-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr); align-items: start; gap: 58px; }
.academy-image { overflow: hidden; border-radius: 24px; background: var(--sage); }
.academy-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.academy-copy { padding: 12px 0; }
.academy-copy h2 { margin: 17px 0 15px; font-size: clamp(30px, 3.5vw, 43px); font-weight: 750; letter-spacing: -.05em; }
.course-facts { display: grid; gap: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.course-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.course-facts dt { color: var(--muted); }
.course-facts dd { margin: 0; color: var(--ink); line-height: 1.55; }
.academy-copy .button { min-width: 220px; }
.academy-content { padding: 76px 0; background: #f6f8ff; }
.academy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.academy-grid article { padding: 29px; border: 1px solid #dfe5f4; border-radius: var(--radius); background: white; }
.academy-grid h2 { margin: 0 0 20px; font-size: 21px; font-weight: 750; letter-spacing: -.03em; }
.academy-grid ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.academy-grid li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.academy-grid li span { color: var(--leaf-dark); font-weight: 800; font-size: 12px; }
.academy-grid article > p:not(.eyebrow) { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.academy-membership-guide { padding: 76px 0; background: #f7f9ff; }
.academy-membership-card { display: grid; grid-template-columns: 1.1fr .9fr auto; align-items: center; gap: 38px; padding: 34px; border: 1px solid #dfe5f4; border-radius: var(--radius); background: white; }
.academy-membership-card h2 { margin: 0 0 14px; font-size: clamp(25px, 3vw, 35px); }
.academy-membership-card > div > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; }
.academy-guide-list { display: grid; gap: 0; }
.academy-guide-list p { display: grid; gap: 4px; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.academy-guide-list p:first-child { border-top: 1px solid var(--line); }
.academy-guide-list strong { color: var(--ink); }
.academy-guide-list span { color: var(--muted); }
.academy-membership-card .button { white-space: nowrap; }

.checkout-panel { padding: 25px; border: 1px solid #d6def3; border-radius: var(--radius); background: linear-gradient(145deg, #f7fbff, #f6f2ff); }
.checkout-panel > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; color: var(--muted); font-size: 14px; }
.checkout-panel > div strong { color: var(--ink); }
.checkout-panel .total-line { margin-bottom: 20px; padding-top: 17px; border-top: 1px solid #d8dfef; color: var(--ink); font-weight: 750; }
.checkout-panel .total-line strong { color: var(--leaf-dark); font-size: 20px; }
.checkout-panel .button { width: 100%; }
.checkout-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

/* === 결제 안내 팝업 & 결과 페이지 === */
.payment-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(28, 38, 78, .58);
  backdrop-filter: blur(8px);
}
.payment-notice {
  position: relative;
  width: min(100%, 470px);
  padding: 34px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  background: white;
  box-shadow: 0 25px 80px rgba(25, 35, 75, .28);
}
.payment-notice h2 { margin: 0 0 12px; font-size: 25px; }
.payment-notice-message { margin: 0 0 25px; color: var(--muted); font-size: 14px; line-height: 1.7; white-space: pre-line; }
.payment-notice-confirm { width: 100%; }
.payment-notice.checkout-dialog { width: min(100%, 520px); max-height: min(92vh, 780px); overflow: auto; }
.guest-form { display: grid; gap: 12px; margin: 0; }
.guest-form label { display: grid; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 700; }
.guest-form input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.guest-form input:focus { outline: 2px solid rgba(67, 133, 211, .35); border-color: var(--leaf); }
.guest-form-error { margin: 0; color: #b42318; font-size: 13px; line-height: 1.5; }
.guest-form-error[hidden] { display: none; }
.checkout-dialog .payment-notice-message { margin-bottom: 18px; }
.payment-modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f3f6ff;
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
}
.payment-result-page { min-height: 67vh; display: grid; place-items: center; padding: 86px 0; }
.payment-result-card {
  width: min(100%, 720px);
  padding: 48px 42px;
  border: 1px solid #dce4f5;
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 55px rgba(50, 77, 150, .11);
  text-align: center;
}
.payment-result-card.is-fail { border-color: #f0d5d5; }
.result-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff3dc;
  color: #b36a00;
  font-size: 30px;
  font-weight: 800;
}
.result-icon.is-success { background: #e9f7ff; color: var(--leaf-dark); }
.payment-result-card h1 { margin: 0 0 17px; font-size: clamp(30px, 4vw, 46px); }
.result-message { max-width: 540px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.7; }
.result-code, .result-reference { margin: 17px 0 0; color: var(--muted); font-size: 12px; word-break: break-all; }
.result-summary { display: grid; gap: 0; margin: 30px auto 0; max-width: 500px; border-top: 1px solid var(--line); text-align: left; }
.result-summary div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.result-summary span { color: var(--muted); }
.result-summary strong { color: var(--ink); text-align: right; }
.result-note { max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.result-actions .button { min-width: 175px; }
.button:disabled { cursor: wait; opacity: .65; transform: none; }

.empty-page { min-height: 62vh; display: grid; place-content: center start; gap: 14px; padding: 80px 0; }
.empty-page p { margin: 0; color: var(--muted); }
.empty-page .button { width: fit-content; margin-top: 12px; }

/* === 푸터 & 토스트 === */
.site-footer { margin-top: 0; padding: 55px 0; background: linear-gradient(120deg, #202b53, #343260); color: #edf0ff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.15fr 1.35fr; gap: 35px; }
.footer-title { color: white; }
.footer-brand p { margin: 14px 0 0; color: #c4cdea; font-size: 14px; }
.footer-info, .footer-company { display: grid; align-content: start; gap: 7px; font-size: 13px; line-height: 1.6; color: #d1d8f1; }
.footer-info a { width: fit-content; color: white; font-weight: 650; }
.footer-info p, .footer-company p { margin: 0; }
.footer-marks { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; min-height: 64px; }
.footer-mark { display: block; height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 30;
  transform: translateX(-50%);
  padding: 13px 20px;
  border-radius: 999px;
  background: #303b71;
  color: white;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  font-size: 14px;
}

/* === 반응형 미디어 쿼리 === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-main-img { height: 280px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-visual { justify-content: flex-start; }
  .hero-char-card { max-width: 100%; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-company { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(237,240,255,.16); }
  .payment-layout, .guide-grid, .academy-detail, .academy-grid, .academy-membership-card { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 30px, 1160px); }
  .header-row { height: 64px; gap: 14px; }
  .brand { flex: 0 0 auto; gap: 6px; font-size: 15px; letter-spacing: -.01em; }
  .brand-mark { width: 26px; height: 26px; font-size: 13px; }
  .main-nav { flex: 1; justify-content: flex-end; gap: 15px; overflow-x: auto; white-space: nowrap; font-size: 13px; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { flex: 0 0 auto; }
  .hero { padding: 54px 0 58px; }
  .hero-main-img { height: 220px; }
  .hero-panel-overlay { padding: 18px 20px; }
  .page-hero { padding: 50px 0 46px; }
  .section { padding: 62px 0; }
  .feature-grid, .card-grid.three, .card-grid.four, .footer-grid, .subscription-grid, .detail-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .guide-list p { grid-template-columns: 1fr; gap: 4px; }
  .section-heading { display: grid; align-items: start; gap: 20px; }
  .home-start-card { align-items: flex-start; flex-direction: column; padding: 28px 22px; }
  .home-start-card .button-row { width: 100%; }
  .home-start-card .button { flex: 1 1 100%; }
  .journey-grid, .store-guide-grid, .membership-steps-grid { grid-template-columns: 1fr; }
  .card-body > p { min-height: auto; }
  .store-teaser { padding-top: 62px; padding-bottom: 62px; }
  .footer-company { grid-column: auto; }
  .footer-marks { min-height: 56px; }
  .footer-mark { height: 56px; }
  .payment-notice { padding: 26px 18px; }
  .payment-result-card { padding: 38px 22px; border-radius: 22px; }
  .payment-result-card h1 { font-size: 32px; }
  .result-summary div { align-items: flex-start; }
  .result-actions .button { width: 100%; }
  .academy-membership-card { padding: 25px 22px; }
  .academy-membership-card .button { width: 100%; }
}
