/* ==========================================================================
   Meatwin 하위 페이지 공용 스타일 - index.html 의 히어로/기능 소개 디자인과 통일
   - .mw-sub-hero      : 상단 소개 영역 (밝은 배경 + 점무늬 + 은은한 빛)
   - .mw-sub-section   : 본문 섹션 (--light 흰색 / --brand 남색 교차)
   ========================================================================== */

:root {
  --mw-sub-navy: #475a8e;   /* 메인 기능 소개 반전 블록과 같은 남색 */
  --mw-sub-blue: #2563eb;
}

.mw-sub-hero, .mw-sub-section { letter-spacing: -0.02em; box-sizing: border-box; }
.mw-sub-hero *, .mw-sub-section * { box-sizing: border-box; }
.mw-sub-hero p, .mw-sub-section p { margin: 0; }
.mw-sub-hero ul, .mw-sub-section ul { margin: 0; padding: 0; list-style: none; }
.mw-sub-hero h1, .mw-sub-hero h2, .mw-sub-hero h3,
.mw-sub-section h2, .mw-sub-section h3 { font-family: 'Noto Sans KR', sans-serif !important; } /* mw-style.css 의 Roboto 강제 지정 회피 */

.mw-sub-inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }

/* ---------- 상단 소개 영역 ---------- */
.mw-sub-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 24px 96px; /* 고정 헤더(68px) 보정 */
  background: #f8fafc;
  text-align: center;
}
.mw-sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.22) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 55%, transparent 100%);
  pointer-events: none;
}
.mw-sub-hero::after {
  content: "";
  position: absolute;
  top: -12%;
  right: 6%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.mw-sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  font-size: 14px;
  font-weight: 700;
  color: #1d4ed8;
}
.mw-sub-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.mw-sub-title {
  margin: 20px 0 16px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.mw-sub-title em {
  font-style: normal;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mw-sub-desc { font-size: 17px; line-height: 1.7; color: #475569; }

/* ---------- 본문 섹션 ---------- */
.mw-sub-section { position: relative; overflow: hidden; padding: 96px 24px; }
.mw-sub-section--light { background: #ffffff; color: #0f172a; }
.mw-sub-section--brand { background: var(--mw-sub-navy); color: #ffffff; }
.mw-sub-section--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
}
.mw-sub-head { text-align: center; margin-bottom: 52px; }
.mw-sub-eyebrow { display: inline-block; margin-bottom: 12px !important; font-size: 15px; font-weight: 700; color: var(--mw-sub-blue); }
.mw-sub-section--brand .mw-sub-eyebrow { color: #93c5fd; }
.mw-sub-heading { margin: 0; font-size: 34px; font-weight: 700; line-height: 1.35; letter-spacing: -0.03em; color: inherit; }
.mw-sub-heading em { font-style: normal; color: var(--mw-sub-blue); }
.mw-sub-section--brand .mw-sub-heading em { color: #7dd3fc; }

/* ---------- 앱 다운로드 카드 ---------- */
.mw-app-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 24px; margin-top: 52px; }
.mw-app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 32px 36px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mw-app-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -24px rgba(15, 23, 42, 0.3); }
.mw-app-card__icon { width: 88px; height: 88px; border-radius: 50%; }
.mw-app-card__name { margin: 20px 0 8px; font-size: 26px; font-weight: 700; color: #0f172a; }
.mw-app-card__desc { font-size: 15px; line-height: 1.6; color: #64748b; }
.mw-app-card__store { display: inline-block; margin-top: 24px; transition: opacity 0.2s ease; }
.mw-app-card__store:hover { opacity: 0.85; }
.mw-app-card__store img { display: block; height: 46px; width: auto; }

/* ---------- 이용 가이드 단계 ---------- */
.mw-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.mw-step {
  position: relative;
  padding: 28px 24px 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mw-step + .mw-step::before { /* 단계 사이 화살표 */
  content: "";
  position: absolute;
  top: 50%;
  left: -16px;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(255, 255, 255, 0.45);
  border-right: 2px solid rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) rotate(45deg);
}
.mw-step__num { font-size: 13px; font-weight: 700; color: #93c5fd; }
.mw-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 14px 0 18px;
  border-radius: 14px;
  background: rgba(125, 211, 252, 0.15);
  color: #7dd3fc;
}
.mw-step__icon svg { width: 26px; height: 26px; }
.mw-step__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.4; color: #ffffff; }
.mw-step__desc { font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, 0.72); }

/* ---------- 기능 소개 카드 ---------- */
.mw-feature-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mw-feature-card {
  padding: 32px 24px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.mw-feature-card:hover { transform: translateY(-4px); background: #ffffff; box-shadow: 0 24px 50px -24px rgba(15, 23, 42, 0.25); }
.mw-feature-card img { display: block; width: 80px; height: 64px; object-fit: contain; margin: 0 auto 18px; } /* 아이콘 높이 통일 */
.mw-feature-card__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #0f172a; }
.mw-feature-card__desc { font-size: 14px; line-height: 1.65; color: #64748b; }

/* ---------- 반응형 ---------- */
@media (max-width: 800px) {
  .mw-sub-hero { padding: 112px 20px 72px; }
  .mw-sub-title { font-size: 34px; }
  .mw-sub-section { padding: 72px 20px; }
  .mw-sub-heading { font-size: 28px; }
  .mw-steps, .mw-feature-cards { grid-template-columns: repeat(2, 1fr); }
  .mw-step:nth-child(odd)::before { display: none; }
}
@media (max-width: 600px) {
  .mw-sub-hero { padding: 96px 16px 56px; }
  .mw-sub-title { font-size: 28px; }
  .mw-sub-desc { font-size: 15px; }
  .mw-sub-desc br { display: none; }
  .mw-sub-section { padding: 56px 16px; }
  .mw-sub-head { margin-bottom: 32px; }
  .mw-sub-heading { font-size: 24px; }
  .mw-app-cards { grid-template-columns: 1fr; margin-top: 36px; }
  .mw-steps, .mw-feature-cards { grid-template-columns: 1fr; gap: 14px; }
  .mw-step::before { display: none; }
  .mw-feature-card { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; align-items: center; padding: 20px; text-align: left; }
  .mw-feature-card img { grid-row: span 2; width: 56px; height: 48px; margin: 0; }
  .mw-feature-card__title { margin: 0 0 4px; }
}

/* ==========================================================================
   게시판형 카드 (공지사항 등): 알약 탭 + 펼침 목록
   ========================================================================== */
.mw-sub-section--board { padding-top: 0; background: #f8fafc; }
.mw-board {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 32px 36px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 30px 70px -30px rgba(15, 23, 42, 0.25);
}

/* 알약 탭 (CSS 라디오 탭: 입력 id 와 패널 id 를 짝지어 사용) */
.mw-board__tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.mw-board__tablist { display: inline-grid; grid-auto-flow: column; gap: 6px; padding: 6px; margin-bottom: 20px; border-radius: 14px; background: #f1f5f9; }
.mw-board__tablist label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.mw-board__tablist label:hover { color: #1d4ed8; }
.mw-board__panel { display: none; }
#mw-ntab-1:checked ~ .mw-board__tablist label[for="mw-ntab-1"],
#mw-ntab-2:checked ~ .mw-board__tablist label[for="mw-ntab-2"] { background: #ffffff; color: #1d4ed8; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); }
#mw-ntab-1:checked ~ #mw-npanel-1,
#mw-ntab-2:checked ~ #mw-npanel-2 { display: block; }

/* 펼침 목록 */
.mw-acc { border-top: 1px solid #e2e8f0; }
.mw-acc__item { border-bottom: 1px solid #e2e8f0; }
.mw-acc__q {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 20px 6px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.mw-acc__q:hover { color: #1d4ed8; border-bottom: 0; }
.mw-acc__title { flex: 1 1 auto; min-width: 0; }
.mw-acc__new {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  vertical-align: 2px;
}
.mw-acc__date { flex: 0 0 auto; font-size: 13px; font-weight: 500; color: #94a3b8; white-space: nowrap; }
.mw-acc__chev {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin: 0 4px 4px 4px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.mw-acc__item.is-open .mw-acc__chev { transform: rotate(-135deg); margin-bottom: -4px; border-color: #1d4ed8; }
.mw-acc__item.is-open .mw-acc__q { color: #1d4ed8; }
.mw-acc__a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease-out; }
.mw-acc__body {
  margin: 0 0 18px !important;
  padding: 20px 22px;
  border-radius: 14px;
  background: #f8fafc;
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
}
.mw-acc__empty { padding: 48px 0; text-align: center; font-size: 15px; color: #94a3b8; }

@media (max-width: 600px) {
  .mw-board { padding: 18px 16px 24px; border-radius: 18px; }
  .mw-board__tablist { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .mw-board__tablist label { padding: 0 8px; font-size: 14px; }
  .mw-acc__q { flex-wrap: wrap; gap: 4px 10px; padding: 16px 2px; font-size: 15px; }
  .mw-acc__title { flex-basis: calc(100% - 30px); }
  .mw-acc__chev { order: 2; }
  .mw-acc__date { order: 3; flex-basis: 100%; }
  .mw-acc__body { padding: 16px; font-size: 14px; }
}

/* ==========================================================================
   하단 안내 + 버튼 (CTA)
   ========================================================================== */
.mw-sub-cta { text-align: center; }
.mw-sub-cta .mw-sub-desc { margin-top: 12px !important; }
.mw-sub-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
a.mw-sub-btn, a.mw-sub-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
a.mw-sub-btn:hover { transform: translateY(-1px); }
a.mw-sub-btn--primary { color: #ffffff; background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%); box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.55); }
a.mw-sub-btn--ghost { color: #1e293b; background: #ffffff; border: 1px solid #cbd5e1; }
a.mw-sub-btn--ghost:hover { background: #f1f5f9; }

/* 일러스트를 흰 카드에 담아 남색/흰색 배경 모두에서 사용 */
.mw-illust { padding: 28px; border-radius: 24px; background: #ffffff; border: 1px solid #e2e8f0; box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.3); }
.mw-illust img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .mw-illust { padding: 16px; border-radius: 18px; } }
/* 기능 소개 블록(feature-sections.css)에서 기능 카드 없이 설명으로 끝나는 경우 아래 여백 제거 */
.mw-feat__text > .mw-feat__desc:last-child { margin-bottom: 0 !important; }

/* ==========================================================================
   카드 안 입력 양식 (고객센터 1:1 문의 등)
   ========================================================================== */
.mw-form__intro { margin-bottom: 24px !important; padding: 16px 18px; border-radius: 14px; background: #eff6ff; border: 1px solid #dbeafe; font-size: 14px; line-height: 1.7; color: #1e3a8a; }
.mw-form__section { margin: 28px 0 14px; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; font-family: 'Noto Sans KR', sans-serif !important; font-size: 17px; font-weight: 700; color: #0f172a; }
.mw-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.mw-form__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #334155; }
.mw-form__label .req { margin-left: 2px; color: #ef4444; }
/* mw-style.css 의 input[type=text] { border: solid } 보다 우선 */
.mw-board input.mw-form__input,
.mw-board textarea.mw-form__textarea {
  display: block;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  font-family: inherit;
  font-size: 15px;
  color: #0f172a;
  box-shadow: none;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.mw-board input.mw-form__input { height: 52px; padding: 0 16px; }
.mw-board textarea.mw-form__textarea { min-height: 200px; padding: 14px 16px; line-height: 1.7; resize: vertical; margin: 0; }
.mw-board input.mw-form__input:focus,
.mw-board textarea.mw-form__textarea:focus { border-color: #2563eb; background: #ffffff; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.mw-form__agree-box { padding: 16px 18px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 13px; line-height: 1.75; color: #475569; }
.mw-form__check { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 600; color: #334155; cursor: pointer; }
.mw-form__check input { width: 18px; height: 18px; margin: 0; accent-color: #2563eb; }
.mw-board a.mw-form__submit { display: flex; width: 100%; height: 56px; margin-top: 28px; }

@media (max-width: 600px) {
  .mw-form__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   문서형 카드 (개인정보 보호정책 / 이용약관 등)
   ========================================================================== */
.mw-legal {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 56px 52px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 30px 70px -30px rgba(15, 23, 42, 0.25);
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
  word-break: keep-all;
}
.mw-legal__toc {
  margin-bottom: 12px !important;
  padding: 20px 22px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.mw-legal__toc strong { display: block; margin-bottom: 10px; font-size: 14px; color: #0f172a; }
.mw-legal__toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.mw-legal__toc a, .mw-legal__toc a:visited { font-size: 14px; color: #475569; text-decoration: none; }
.mw-legal__toc a:hover { color: #1d4ed8; text-decoration: underline; }
.mw-legal__toc a span { display: inline-block; min-width: 22px; font-weight: 700; color: #2563eb; }

.mw-legal h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 40px 0 14px;
  padding-top: 8px;
  scroll-margin-top: 90px; /* 고정 헤더 아래로 이동 */
  font-family: 'Noto Sans KR', sans-serif !important;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
}
.mw-legal h2 .no {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 9px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 14px;
}
.mw-legal p { margin: 0 0 10px !important; }
.mw-legal h3 { margin: 18px 0 6px; font-family: 'Noto Sans KR', sans-serif !important; font-size: 15px; font-weight: 700; color: #1e293b; }
.mw-legal ul { margin: 0 0 12px; padding: 0; list-style: none; }
.mw-legal ul li { position: relative; padding-left: 16px; }
.mw-legal ul li::before { content: ""; position: absolute; left: 4px; top: 0.85em; width: 5px; height: 5px; border-radius: 50%; background: #94a3b8; }
.mw-legal dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 12px; }
.mw-legal dt { font-weight: 700; color: #1e293b; }
.mw-legal dd { margin: 0; }
.mw-legal__box { margin: 12px 0 !important; padding: 14px 18px; border-radius: 12px; background: #eff6ff; border: 1px solid #dbeafe; color: #1e3a8a; }
.mw-legal__box a, .mw-legal__box a:visited { color: #1d4ed8; font-weight: 700; }

@media (max-width: 600px) {
  .mw-legal { padding: 24px 18px 32px; border-radius: 18px; font-size: 14px; }
  .mw-legal__toc ol { grid-template-columns: 1fr; }
  .mw-legal h2 { margin-top: 32px; font-size: 17px; }
}

/* ==========================================================================
   요금제 카드 (mw-payment.html)
   ========================================================================== */
.mw-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.mw-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 32px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #b6c2d2;
  box-shadow: 0 24px 60px -32px rgba(15, 23, 42, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mw-plan:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -28px rgba(15, 23, 42, 0.3); }
.mw-plan--featured { border: 2px solid #1d4ed8; box-shadow: 0 30px 70px -28px rgba(37, 99, 235, 0.45); }
.mw-plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--mw-sub-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.mw-sub-section .mw-plan__name { margin: 0; font-family: 'Noto Sans KR', sans-serif !important; font-size: 22px; font-weight: 800; letter-spacing: 0.04em; color: #0f172a; }
.mw-plan--featured .mw-plan__name { color: var(--mw-sub-blue); }
.mw-plan__summary { margin-top: 6px !important; font-size: 14px; line-height: 1.6; color: #64748b; }
.mw-plan__price { display: flex; align-items: baseline; gap: 4px; margin: 22px 0 !important; padding-bottom: 22px; border-bottom: 1px solid #e2e8f0; color: #0f172a; }
.mw-plan__price strong { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.mw-plan__price span { font-size: 15px; color: #64748b; }
.mw-sub-section .mw-plan__list { flex: 1; margin-bottom: 28px; }
.mw-plan__list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.6; color: #334155; }
.mw-plan__list li + li { margin-top: 10px; }
.mw-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dbeafe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.mw-plan a.mw-sub-btn { width: 100%; }

/* 좁은 PC(801~1100px): 3열이 화면을 넘지 않도록 여백·가격 글자 축소 */
@media (min-width: 801px) and (max-width: 1100px) {
  .mw-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .mw-plan { padding: 32px 20px 28px; }
  .mw-plan__price strong { font-size: 32px; }
}

@media (max-width: 800px) {
  .mw-plans { grid-template-columns: 1fr; max-width: 480px; gap: 28px; }
}

/* 이용 가이드 2줄 순환형 (mw-payment.html) : 윗줄 → 오른쪽 아래 → 아랫줄 ← → 왼쪽 위로, 시계방향
   PC 에서만 적용, 태블릿/모바일은 기본 .mw-steps 순서대로 표시 */
@media (min-width: 801px) {
  .mw-steps--loop { row-gap: 48px; }
  .mw-steps--loop .mw-step:nth-child(5) { grid-area: 2 / 4; }
  .mw-steps--loop .mw-step:nth-child(6) { grid-area: 2 / 3; }
  .mw-steps--loop .mw-step:nth-child(7) { grid-area: 2 / 2; }
  .mw-steps--loop .mw-step:nth-child(8) { grid-area: 2 / 1; }
  .mw-steps--loop .mw-step:nth-child(5)::before { top: -30px; left: 50%; transform: translateX(-50%) rotate(135deg); }      /* ↓ */
  .mw-steps--loop .mw-step:nth-child(n+6)::before { left: auto; right: -16px; transform: translateY(-50%) rotate(-135deg); } /* ← */
  .mw-steps--loop .mw-step:nth-child(8)::after {                                                                            /* ↑ STEP 01 로 */
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 2px solid rgba(255, 255, 255, 0.45);
    border-right: 2px solid rgba(255, 255, 255, 0.45);
    transform: translateX(-50%) rotate(-45deg);
  }
}
