/* 멤버십 구매 페이지: 밝은 톤의 등급 카드, 혜택 띠, 이용 순서 */
.ms-hero { background: linear-gradient(135deg, #e9f5ff 0%, #fff7e6 55%, #fdeff6 100%); border-radius: 0 0 36px 36px; padding: 3.5rem 0 4.5rem; text-align: center; }
.ms-hero .ms-kicker { display: inline-block; padding: .35rem .9rem; border-radius: 999px; background: #fff; color: var(--blue); font-weight: 800; font-size: .8rem; letter-spacing: .08em; box-shadow: 0 4px 14px rgba(6, 56, 108, .08); }
.ms-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; letter-spacing: -.05em; margin: 1rem 0 .75rem; color: var(--ink); }
.ms-hero p { color: #5d6b7c; max-width: 640px; margin: 0 auto; line-height: 1.7; }
.ms-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.5rem; }
.ms-perks span { background: #fff; border-radius: 999px; padding: .55rem 1rem; font-weight: 700; font-size: .9rem; box-shadow: 0 4px 14px rgba(6, 56, 108, .08); }

.ms-notice { max-width: 920px; margin: -2rem auto 1.5rem; position: relative; z-index: 2; }

.ms-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
@media (max-width: 1199px) { .ms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ms-grid { grid-template-columns: 1fr; } }

.ms-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; border: 1px solid #e7ecf2; box-shadow: 0 10px 28px rgba(6, 56, 108, .08); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.ms-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(6, 56, 108, .14); }
.ms-card.is-popular { border: 2px solid #f0b429; box-shadow: 0 16px 40px rgba(240, 180, 41, .28); }
.ms-card.is-current { border: 2px solid var(--blue); }
.ms-ribbon { position: absolute; top: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: .2rem .7rem; border-radius: 0 0 10px 10px; background: #f0b429; color: #3b2a00; font-size: .68rem; font-weight: 900; letter-spacing: .06em; }
.ms-ribbon.current { background: var(--blue); color: #fff; }

.ms-head { padding: 1.9rem 1.25rem 1.2rem; text-align: center; }
.ms-icon { font-size: 1.9rem; line-height: 1; height: 2.2rem; }
.ms-name { font-size: 1.2rem; font-weight: 900; letter-spacing: -.03em; margin: .55rem 0 .15rem; }
.ms-tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; opacity: .7; }
.tone-mint .ms-head { background: linear-gradient(180deg, #dcf5e8, #f3fbf7); }
.tone-sky .ms-head { background: linear-gradient(180deg, #ddefff, #f3f9ff); }
.tone-gold .ms-head { background: linear-gradient(180deg, #ffe9b8, #fff8e6); }
.tone-lilac .ms-head { background: linear-gradient(180deg, #ebe2ff, #f7f3ff); }
.tone-premium .ms-head { background: linear-gradient(135deg, #ffd88a, #ffb3c7 60%, #c9b6ff); }
.tone-premium .ms-tag { opacity: .85; }

.ms-body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.ms-price small { display: block; color: #7b8794; font-size: .75rem; }
.ms-price strong { font-size: 1.55rem; font-weight: 900; letter-spacing: -.03em; }
.ms-rows { list-style: none; padding: 0; margin: 1rem 0; font-size: .84rem; }
.ms-rows li { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem 0; border-bottom: 1px dashed #e7ecf2; }
.ms-rows li span { color: #6b7785; white-space: nowrap; }
.ms-rows li b { text-align: right; font-weight: 700; }
.ms-rows li b.hot { color: #e2780e; }
.ms-total { margin-top: auto; text-align: center; padding: .9rem .5rem; border-radius: 14px; background: #f6f9fc; }
.ms-total small { display: block; color: #7b8794; font-size: .74rem; }
.ms-total strong { display: block; white-space: nowrap; font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 900; color: #e2780e; letter-spacing: -.02em; }
.ms-cta { display: block; width: 100%; margin-top: .9rem; padding: .8rem; border-radius: 14px; border: 0; font-weight: 800; text-align: center; text-decoration: none; background: var(--navy); color: #fff; transition: transform .15s, background .15s; }
.ms-cta:hover { background: #052a50; color: #fff; transform: scale(1.02); }
.is-popular .ms-cta, .tone-premium .ms-cta { background: linear-gradient(90deg, #f0b429, #e2780e); color: #fff; }
.ms-cta.is-off { background: #eef2f6; color: #8a96a3; cursor: default; transform: none; }
.ms-diff { margin-top: .75rem; text-align: center; font-size: .8rem; font-weight: 700; color: var(--blue); }

.ms-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 767px) { .ms-steps { grid-template-columns: 1fr; } }
.ms-step { background: #fff; border: 1px solid #e7ecf2; border-radius: 18px; padding: 1.25rem; }
.ms-step b { display: inline-flex; width: 2rem; height: 2rem; border-radius: 50%; align-items: center; justify-content: center; background: #e9f5ff; color: var(--blue); font-weight: 900; margin-bottom: .6rem; }
.ms-step h3 { font-size: 1rem; font-weight: 800; margin-bottom: .3rem; }
.ms-step p { color: #6b7785; font-size: .86rem; margin: 0; }
.ms-info { background: #f8fafc; border: 1px solid #e7ecf2; border-radius: 18px; padding: 1.25rem 1.4rem; font-size: .88rem; color: #4a5866; }
.ms-order { max-width: 640px; margin: 0 auto; border: 2px solid #f0b429; border-radius: 22px; box-shadow: 0 16px 40px rgba(240, 180, 41, .18); }
.ms-rows li.stack { flex-direction: column; gap: .15rem; }
.ms-rows li.stack b { text-align: left; }
.ms-rows li:not(.stack) b { white-space: nowrap; }
.ms-hero h1, .ms-hero p, .ms-step p, .ms-info p { word-break: keep-all; }
@media (max-width: 767px) { .ms-hero { padding: 2.25rem 0 3.5rem; } .ms-hero h1 { font-size: 1.75rem; } .ms-perks span { font-size: .8rem; padding: .45rem .8rem; } }
