/*
 * 왔니 브랜드 디자인 시스템 (소개·로그인 등 공개 화면용, 접두사 wm- = wani marketing)
 * 계획서: BRAND_SITE_PLAN.md · 쇼케이스: /wani-component/brand/
 * 규칙: 색·간격·글자 크기는 아래 토큰만 쓴다. 관리 화면(Bootstrap)의 --bs-* 와 섞지 않는다.
 * 기본 색은 기존 --bs-primary(#003A7F)와 같은 계열이라 관리 화면과 한 브랜드로 읽힌다.
 */

/* ───────── 1. 토큰 ───────── */
:root {
	/* 브랜드 */
	--wm-navy-900: #001a3d;
	--wm-navy-800: #00275a;
	--wm-navy-700: #003a7f;      /* 기본 브랜드 색 = --bs-primary */
	--wm-navy-500: #2f6bb8;
	--wm-navy-100: #e6ebf2;
	--wm-navy-50:  #f3f6fa;
	--wm-accent:   #ffb938;      /* 따뜻한 한마디 - 강조 점·배지 */
	--wm-accent-soft: #fff3d6;
	--wm-mint:     #1fb8a2;      /* 보조 포인트 */

	/* 글자·면 */
	--wm-ink:      #14181f;
	--wm-ink-2:    #4a5160;
	--wm-ink-3:    #7a8190;
	--wm-line:     #e3e6ec;
	--wm-bg:       #ffffff;
	--wm-bg-soft:  #f6f8fb;
	--wm-bg-dark:  var(--wm-navy-900);
	--wm-on-dark:  #ffffff;
	--wm-on-dark-2: rgba(255, 255, 255, .72);

	/* 글자 */
	--wm-font: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
	--wm-fs-display: clamp(2.5rem, 5.4vw, 4.5rem);   /* 히어로 제목 */
	--wm-fs-h2: clamp(1.875rem, 3.4vw, 3rem);
	--wm-fs-h3: clamp(1.375rem, 2vw, 1.75rem);
	--wm-fs-lead: clamp(1.0625rem, 1.5vw, 1.25rem);
	--wm-fs-body: 1rem;
	--wm-fs-small: .875rem;
	--wm-lh-tight: 1.15;
	--wm-lh-body: 1.65;

	/* 간격(8px 기준) */
	--wm-s1: .5rem;  --wm-s2: 1rem;  --wm-s3: 1.5rem;  --wm-s4: 2rem;
	--wm-s5: 3rem;   --wm-s6: 4.5rem; --wm-s7: 6.5rem;
	--wm-section-y: clamp(4rem, 9vw, 7.5rem);
	--wm-container: 1200px;
	--wm-gutter: clamp(1rem, 4vw, 2rem);

	/* 모양 */
	--wm-r-sm: 8px;  --wm-r-md: 14px;  --wm-r-lg: 24px;  --wm-r-pill: 999px;
	--wm-shadow-1: 0 1px 2px rgba(10, 20, 40, .06), 0 2px 8px rgba(10, 20, 40, .06);
	--wm-shadow-2: 0 10px 30px rgba(10, 20, 40, .12);
	--wm-shadow-3: 0 30px 80px rgba(0, 26, 61, .25);   /* 제품 화면 그림자 */
	--wm-ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
	:root[data-wm-theme="auto"] {
		--wm-ink: #f1f3f7; --wm-ink-2: #b9bfcc; --wm-ink-3: #8a91a1;
		--wm-line: #2a3140; --wm-bg: #0d1118; --wm-bg-soft: #141a24;
		--wm-navy-100: #17243a; --wm-navy-50: #101a2a;
	}
}

/*
 * 이음 판: 구조·간격·모양은 왔니와 같고 색만 이음 브랜드(#062e85 계열)로 바꾼다.
 * 쓰는 법: <html class="wm-theme-eum"> (도메인이 e-um.org 계열일 때 서버가 정적 판을 골라 준다)
 */
.wm-theme-eum {
	/* 군선교 이음 로고의 색: 군복 느낌의 짙은 남색(#203048)·청록(#20a0c0)·금색(#c89840)·올리브(#485848) */
	--wm-navy-900: #141f30;
	--wm-navy-800: #1b2a40;
	--wm-navy-700: #203048;
	--wm-navy-500: #1a89a8;      /* 청록(로고의 e) - 어두운 면 위 뱃지 */
	--wm-navy-100: #e5ebf2;
	--wm-navy-50:  #f2f5f9;
	--wm-accent:   #c89840;      /* 금색(로고의 음) */
	--wm-accent-soft: #f6ecd8;
	--wm-mint:     #20a0c0;
	--wm-olive:    #485848;
}
.wm-theme-eum .wm-badge { color: #7a5a14; }
.wm-theme-eum .wm-input:focus { box-shadow: 0 0 0 4px rgba(32, 48, 72, .18); }
.wm-theme-eum .wm-auth__brand { background: linear-gradient(160deg, var(--wm-navy-800), var(--wm-navy-900) 62%, #263528); }   /* 군복 올리브 기운 */
.wm-theme-eum .wm-hero { background: radial-gradient(1200px 500px at 80% -10%, #dfe9ee, transparent 70%), var(--wm-bg); }
.wm-theme-eum .wm-footer { background: var(--wm-navy-900); }

/* ───────── 2. 바탕 ───────── */
.wm { font-family: var(--wm-font); color: var(--wm-ink); background: var(--wm-bg); line-height: var(--wm-lh-body); -webkit-font-smoothing: antialiased; }
.wm *, .wm *::before, .wm *::after { box-sizing: border-box; }
:where(.wm) a { color: inherit; }   /* 낮은 우선순위 - 버튼 글자색을 덮지 않게 */
body.wm > main, body.wm > header, body.wm > footer { margin: 0 !important; padding: 0 !important; width: auto !important; max-width: none !important; }   /* 관리 화면 공용 CSS 의 main 여백 제거 */
.wm img { max-width: 100%; display: block; }
.wm-container { width: 100%; max-width: var(--wm-container); margin: 0 auto; padding: 0 var(--wm-gutter); }
.wm-section { padding: var(--wm-section-y) 0; }
.wm-section--soft { background: var(--wm-bg-soft); }
.wm-section--dark { background: var(--wm-bg-dark); color: var(--wm-on-dark); }
.wm-section--dark .wm-lead { color: var(--wm-on-dark-2); }

/* ───────── 3. 글자 ───────── */
.wm-display { font-size: var(--wm-fs-display); line-height: var(--wm-lh-tight); font-weight: 800; letter-spacing: -.03em; margin: 0; word-break: keep-all; }
.wm-h2 { font-size: var(--wm-fs-h2); line-height: 1.2; font-weight: 800; letter-spacing: -.025em; margin: 0 0 var(--wm-s2); word-break: keep-all; }
.wm-h3 { font-size: var(--wm-fs-h3); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; margin: 0 0 var(--wm-s1); word-break: keep-all; }
.wm-lead { font-size: var(--wm-fs-lead); color: var(--wm-ink-2); margin: var(--wm-s2) 0 0; word-break: keep-all; }
.wm-eyebrow { display: inline-block; padding: .3rem .95rem; border-radius: var(--wm-r-pill); background: var(--wm-navy-700); color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .02em; line-height: 1.3; margin-bottom: var(--wm-s2); }   /* 구역 머리말은 뱃지 */
.wm-section--dark .wm-eyebrow, .wm-auth__brand .wm-eyebrow { background: var(--wm-navy-500); color: #fff; }
.wm-text-center { text-align: center; }
.wm-text-center .wm-lead { margin-left: auto; margin-right: auto; max-width: 40rem; }

/* ───────── 4. 버튼 (알약 모양, 높이 세 단계) ───────── */
.wm-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 48px; padding: 0 1.5rem; border-radius: var(--wm-r-pill); border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s var(--wm-ease), background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.wm-btn:hover { transform: translateY(-1px); }
.wm-btn:focus-visible { outline: 3px solid var(--wm-accent); outline-offset: 2px; }
.wm-btn--primary { background: var(--wm-navy-700); color: #fff; }
.wm-btn--primary:hover { background: var(--wm-navy-800); box-shadow: var(--wm-shadow-2); }
.wm-btn--secondary { background: transparent; color: var(--wm-navy-700); border-color: var(--wm-navy-700); }
.wm-btn--secondary:hover { background: var(--wm-navy-50); }
.wm-btn--accent { background: var(--wm-accent); color: var(--wm-navy-900); }
.wm-btn--accent:hover { box-shadow: var(--wm-shadow-2); }
.wm-btn--ghost { background: transparent; color: var(--wm-ink); padding: 0 1rem; }
.wm-btn--ghost:hover { background: var(--wm-bg-soft); transform: none; }
.wm-section--dark .wm-btn--secondary { color: #fff; border-color: rgba(255, 255, 255, .6); }
.wm-section--dark .wm-btn--secondary:hover { background: rgba(255, 255, 255, .08); }
.wm-btn--sm { height: 38px; padding: 0 1.1rem; font-size: .9rem; }
.wm-btn--lg { height: 58px; padding: 0 2rem; font-size: 1.0625rem; }
.wm-btn--block { width: 100%; }
.wm-link-arrow { font-weight: 700; color: var(--wm-navy-700); text-decoration: none; }
.wm-link-arrow::after { content: ' →'; transition: margin .15s; }
.wm-link-arrow:hover::after { margin-left: 4px; }
.wm-section--dark .wm-link-arrow { color: var(--wm-accent); }

/* ───────── 5. 상단 내비게이션 ───────── */
.wm-nav { display: block; height: auto; /* 관리 화면 공용 CSS 의 header { height: 60px; display: flex } 를 덮는다 */ position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--wm-line); }
.wm-nav__inner { display: flex; align-items: center; gap: var(--wm-s3); height: 68px; }
.wm-nav__logo { display: flex; align-items: center; font-weight: 800; font-size: 1.375rem; color: var(--wm-navy-700); text-decoration: none; letter-spacing: -.03em; }
.wm-nav__menu { display: flex; gap: .25rem; list-style: none; margin: 0 0 0 var(--wm-s2); padding: 0; }
.wm-nav__menu a { display: block; padding: .5rem .7rem; border-radius: var(--wm-r-sm); font-weight: 600; color: var(--wm-ink-2); text-decoration: none; }
.wm-nav__menu a:hover, .wm-nav__menu a[aria-current="page"] { color: var(--wm-navy-700); background: var(--wm-navy-50); }
.wm-nav__actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.wm-nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 1040px) {
	.wm-nav__menu, .wm-nav__actions { display: none; }
	.wm-nav__toggle { display: block; }
	.wm-nav.is-open .wm-nav__inner { flex-wrap: wrap; height: auto; min-height: 68px; padding-bottom: var(--wm-s2); }
	.wm-nav.is-open .wm-nav__menu { display: flex; flex-direction: column; width: 100%; order: 3; margin: 0; }
	.wm-nav.is-open .wm-nav__actions { display: flex; flex-wrap: wrap; width: 100%; order: 4; margin: 0; padding-top: var(--wm-s1); }
}

/* ───────── 6. 히어로 ───────── */
.wm-hero { padding: clamp(3rem, 8vw, 6rem) 0 var(--wm-s5); background: radial-gradient(1200px 500px at 80% -10%, var(--wm-navy-100), transparent 70%), var(--wm-bg); }
.wm-hero__copy { max-width: 48rem; margin: 0 auto; text-align: center; }   /* 소개 맨 위는 가운데 정렬 */
.wm-hero__copy .wm-lead { margin-left: auto; margin-right: auto; max-width: 40rem; }
.wm-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--wm-s2); margin-top: var(--wm-s4); }
.wm-hero__shot { margin-top: var(--wm-s5); }

/* 제품 화면 틀: 화면 캡처를 창 모양으로 감싼다 */
.wm-shot { border-radius: var(--wm-r-lg); background: #fff; border: 1px solid var(--wm-line); box-shadow: var(--wm-shadow-3); overflow: hidden; }
.wm-shot__bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--wm-bg-soft); border-bottom: 1px solid var(--wm-line); }
.wm-shot__bar i { width: 12px; height: 12px; border-radius: 50%; background: #d4d9e2; }
.wm-shot__bar i:nth-child(1) { background: #ff5f57; }
.wm-shot__bar i:nth-child(2) { background: #febc2e; }
.wm-shot__bar i:nth-child(3) { background: #28c840; }
.wm-shot__body { padding: var(--wm-s3); min-height: 220px; }
.wm-shot--phone { max-width: 300px; border-radius: 36px; border: 8px solid var(--wm-navy-900); }
.wm-shot--phone .wm-shot__bar { display: none; }

/* ───────── 7. 기능 블록 (글 + 제품 화면, 좌우 교차) ───────── */
.wm-feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.wm-feature--reverse > .wm-feature__media { order: -1; }
.wm-feature__copy .wm-lead { margin-bottom: var(--wm-s3); }
.wm-feature + .wm-feature { margin-top: var(--wm-section-y); }
.wm-badge { display: inline-block; padding: .2rem .7rem; border-radius: var(--wm-r-pill); background: var(--wm-accent-soft); color: #8a5a00; font-size: var(--wm-fs-small); font-weight: 700; margin-bottom: var(--wm-s2); }
@media (max-width: 860px) {
	.wm-feature { grid-template-columns: 1fr; }
	.wm-feature--reverse > .wm-feature__media { order: 0; }
}

/* ───────── 8. 카드 격자 (요약 3칸·블로그형) ───────── */
.wm-grid { display: grid; gap: var(--wm-s3); grid-template-columns: repeat(3, 1fr); margin-top: var(--wm-s5); }
.wm-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .wm-grid, .wm-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wm-grid, .wm-grid--4 { grid-template-columns: 1fr; } }
.wm-card { background: var(--wm-bg); border: 1px solid var(--wm-line); border-radius: var(--wm-r-lg); padding: var(--wm-s4); transition: transform .2s var(--wm-ease), box-shadow .2s; }
.wm-card:hover { transform: translateY(-4px); box-shadow: var(--wm-shadow-2); }
.wm-card__icon { width: 52px; height: 52px; border-radius: var(--wm-r-md); display: grid; place-items: center; background: var(--wm-navy-100); color: var(--wm-navy-700); font-size: 1.5rem; margin-bottom: var(--wm-s2); }
.wm-card p { color: var(--wm-ink-2); margin: 0; }
.wm-text-center .wm-card__icon { margin-left: auto; margin-right: auto; }   /* 가운데 정렬 구역에서는 아이콘도 가운데 */

/* ───────── 9. 자주 묻는 질문 (details 로 만들어 스크립트가 필요 없다) ───────── */
.wm-faq { max-width: 52rem; margin: var(--wm-s5) auto 0; }
.wm-faq details { border-bottom: 1px solid var(--wm-line); }
.wm-faq summary { list-style: none; cursor: pointer; padding: var(--wm-s3) 0; font-weight: 700; font-size: 1.125rem; display: flex; justify-content: space-between; gap: var(--wm-s2); }
.wm-faq summary::-webkit-details-marker { display: none; }
.wm-faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--wm-navy-700); transition: transform .2s; }
.wm-faq details[open] summary::after { transform: rotate(45deg); }
.wm-faq details > div { padding: 0 0 var(--wm-s3); color: var(--wm-ink-2); }

/* ───────── 10. 하단 행동 유도 띠 ───────── */
.wm-cta { text-align: center; }
.wm-cta .wm-hero__cta { justify-content: center; }

/* ───────── 11. 푸터 ───────── */
.wm-footer { background: var(--wm-navy-900); color: var(--wm-on-dark-2); padding: var(--wm-s6) 0 var(--wm-s4); font-size: var(--wm-fs-small); }
.wm-footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--wm-s4); }
.wm-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 var(--wm-s2); }
.wm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.wm-footer a { text-decoration: none; }
.wm-footer a:hover { color: #fff; }
.wm-footer__biz { margin-top: var(--wm-s4); padding-top: var(--wm-s3); border-top: 1px solid rgba(255, 255, 255, .12); line-height: 1.7; }
.wm-footer__biz p { margin: 0 0 .4rem; color: #fff; }
.wm-footer__biz ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 1.4rem; }
.wm-footer__biz li { word-break: keep-all; }
.wm-footer__biz li span { color: rgba(255, 255, 255, .5); margin-right: .45rem; }
@media (max-width: 700px) { .wm-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ───────── 12. 로그인 전용 페이지 (둘로 나뉜 화면: 왼쪽 브랜드 / 오른쪽 입력) ───────── */
.wm-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.wm-auth__brand { background: linear-gradient(160deg, var(--wm-navy-800), var(--wm-navy-900)); color: #fff; padding: var(--wm-s5); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.wm-auth__brand::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: var(--wm-accent); opacity: .16; }
.wm-auth__brand .wm-display { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.wm-auth__main { display: flex; flex-direction: column; justify-content: center; padding: var(--wm-s5) var(--wm-gutter); }
.wm-auth__box { width: 100%; max-width: 400px; margin: 0 auto; }
.wm-auth__box h1 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 var(--wm-s1); }
.wm-auth__sub { color: var(--wm-ink-2); margin: 0 0 var(--wm-s4); word-break: keep-all; }
.wm-social { display: grid; gap: .6rem; }
.wm-btn--social { background: #fff; color: var(--wm-ink); border-color: var(--wm-line); font-weight: 600; justify-content: flex-start; padding: 0 1.25rem; }
.wm-btn--social:hover { background: var(--wm-bg-soft); }
.wm-btn--social .wm-social__dot { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.wm-divider { display: flex; align-items: center; gap: var(--wm-s2); margin: var(--wm-s3) 0; color: var(--wm-ink-3); font-size: var(--wm-fs-small); }
.wm-divider::before, .wm-divider::after { content: ''; flex: 1; height: 1px; background: var(--wm-line); }
.wm-field { display: grid; gap: .4rem; margin-bottom: var(--wm-s2); }
.wm-field label { font-weight: 600; font-size: var(--wm-fs-small); }
.wm-input { height: 48px; padding: 0 1rem; border: 1.5px solid var(--wm-line); border-radius: var(--wm-r-md); font: inherit; background: var(--wm-bg); color: var(--wm-ink); }
.wm-input:focus { outline: none; border-color: var(--wm-navy-700); box-shadow: 0 0 0 4px rgba(0, 58, 127, .15); }
.wm-auth__foot { margin-top: var(--wm-s3); text-align: center; color: var(--wm-ink-2); font-size: var(--wm-fs-small); }
/* 휴대폰에서는 왼쪽 브랜드 면이 없으니 로고를 입력 칸 위에 둔다 */
.wm-auth__mlogo { display: none; margin-bottom: var(--wm-s4); }
.wm-auth__mlogo img { height: 34px; }
@media (max-width: 860px) {
	.wm-auth__mlogo { display: inline-block; }
	.wm-auth { grid-template-columns: 1fr; }
	.wm-auth__brand { display: none; }   /* 휴대폰에서는 입력 칸이 먼저 */
}

/* ───────── 13. 움직임 줄이기 ───────── */
@media (prefers-reduced-motion: reduce) {
	.wm *, .wm *::before, .wm *::after { transition: none !important; animation: none !important; }
}

/* 사용할 수 없는 버튼(소셜 로그인 설정 미완료 등) */
.wm-btn.disabled, .wm-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }


/* ───────── 14. 소개 페이지 보조 부품 ───────── */
html { scroll-behavior: smooth; }
.wm [id] { scroll-margin-top: 84px; }                       /* sticky 내비에 가리지 않게 */
.wm-shot img { display: block; width: 100%; height: auto; }
.wm-shot--flat { box-shadow: var(--wm-shadow-2); }
.wm-list { list-style: none; margin: 0 0 var(--wm-s3); padding: 0; display: grid; gap: .55rem; }
.wm-list li { position: relative; padding-left: 1.5rem; color: var(--wm-ink-2); word-break: keep-all; }
.wm-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--wm-accent); }
.wm-section--dark .wm-list li { color: var(--wm-on-dark-2); }
.wm-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: var(--wm-s4); }
.wm-chip { padding: .5rem 1rem; border-radius: var(--wm-r-pill); background: var(--wm-bg); border: 1px solid var(--wm-line); font-weight: 600; font-size: .95rem; color: var(--wm-ink-2); }
.wm-stat { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; color: var(--wm-accent); line-height: 1; }
.wm-section--dark .wm-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.wm-section--dark .wm-card p, .wm-section--dark .wm-card li { color: var(--wm-on-dark-2); }
.wm-section--dark .wm-card__icon { background: rgba(255, 255, 255, .12); color: var(--wm-accent); }
.wm-section--dark .wm-card:hover { box-shadow: none; }

/* 요금제 카드 */
.wm-plans { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--wm-s2); margin-top: var(--wm-s5); }
@media (max-width: 1100px) { .wm-plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .wm-plans { grid-template-columns: repeat(2, 1fr); } }
.wm-plan { border: 1px solid var(--wm-line); border-radius: var(--wm-r-lg); padding: var(--wm-s3) var(--wm-s2); background: var(--wm-bg); text-align: center; display: flex; flex-direction: column; gap: .35rem; }
.wm-plan b { font-size: 1.05rem; }
.wm-plan .wm-plan__price { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--wm-navy-700); }
.wm-plan small { color: var(--wm-ink-3); word-break: keep-all; }
.wm-plan--free { background: var(--wm-accent-soft); border-color: transparent; }
.wm-note { margin: var(--wm-s3) auto 0; max-width: 52rem; text-align: center; color: var(--wm-ink-2); font-size: var(--wm-fs-small); word-break: keep-all; }
.wm-table-wrap { overflow-x: auto; margin-top: var(--wm-s3); }
.wm-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.wm-table th, .wm-table td { padding: .65rem .8rem; border-bottom: 1px solid var(--wm-line); text-align: center; word-break: keep-all; }
.wm-table th:first-child, .wm-table td:first-child { text-align: left; font-weight: 600; }
.wm-table thead th { background: var(--wm-bg-soft); }
.wm-more { max-width: 52rem; margin: var(--wm-s4) auto 0; }

/* 스크롤 등장(스크립트가 .wm-js 를 html 에 달아 준 때만 숨겨 둔다 - 스크립트가 없어도 내용이 보이게) */
.wm-js .wm-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--wm-ease), transform .6s var(--wm-ease); }
.wm-js .wm-reveal.is-in { opacity: 1; transform: none; }


/* ───────── 17. 주요기능 블록(PC 화면 + 앞에 겹친 휴대폰 화면) ───────── */
.wm-feature__title { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.2; font-weight: 800; letter-spacing: -.025em; margin: 0 0 var(--wm-s2); word-break: keep-all; }
.wm-features-all .wm-feature + .wm-feature { margin-top: clamp(3.5rem, 7vw, 6rem); }
.wm-devices { position: relative; padding-bottom: 1.8rem; }
.wm-devices .wm-shot--phone.wm-devices__phone { position: absolute; left: -5%; bottom: 0; width: 25%; max-width: 150px; min-width: 96px; border: 5px solid var(--wm-navy-900); border-radius: 20px; box-shadow: var(--wm-shadow-3); background: #fff; z-index: 2; }
.wm-feature--reverse .wm-devices .wm-shot--phone.wm-devices__phone { left: auto; right: -5%; }
.wm-devices .wm-shot--phone img { border-radius: 14px; }
@media (max-width: 860px) {
	.wm-devices .wm-shot--phone.wm-devices__phone, .wm-feature--reverse .wm-devices .wm-shot--phone.wm-devices__phone { left: auto; right: 2%; }
}

/* ───────── 18. 보안 구역(항목 36개) ───────── */
.wm-sec { margin-top: var(--wm-s5); display: grid; gap: var(--wm-s5); }
.wm-sec__title { display: flex; align-items: center; gap: .7rem; font-size: 1.25rem; font-weight: 800; margin: 0 0 var(--wm-s2); color: #fff; }
.wm-sec__count { font-size: .9rem; font-weight: 800; padding: .1rem .7rem; border-radius: var(--wm-r-pill); background: var(--wm-accent); color: var(--wm-navy-900); }
.wm-sec__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--wm-s2); }
@media (max-width: 960px) { .wm-sec__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wm-sec__grid { grid-template-columns: 1fr; } }
.wm-sec__item { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--wm-r-md); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.wm-sec__item > .bi { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--wm-accent); font-size: 1.1rem; }
.wm-sec__item b { display: block; color: #fff; font-size: .98rem; margin-bottom: .2rem; word-break: keep-all; }
.wm-sec__item p { margin: 0; color: var(--wm-on-dark-2); font-size: .875rem; line-height: 1.55; word-break: keep-all; }

/* 앱 내려받기 줄 */
.wm-store { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-top: var(--wm-s3); }
.wm-store small { color: var(--wm-ink-3); }
.wm-section--dark .wm-store small { color: var(--wm-on-dark-2); }


/* ───────── 19. 말풍선(툴팁): data-wm-tip="문구" - 마우스를 올리거나 키보드로 초점이 오면 아래에 뜬다 ───────── */
[data-wm-tip] { position: relative; }
[data-wm-tip]::after { content: attr(data-wm-tip); position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -4px); padding: .5rem .85rem; border-radius: var(--wm-r-sm); background: var(--wm-navy-900); color: #fff; font-size: .8rem; font-weight: 600; line-height: 1.4; white-space: nowrap; box-shadow: var(--wm-shadow-2); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, transform .15s, visibility .15s; z-index: 70; }
[data-wm-tip]::before { content: ''; position: absolute; top: calc(100% + 4px); left: 50%; margin-left: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--wm-navy-900); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, visibility .15s; z-index: 70; }
[data-wm-tip]:hover::after, [data-wm-tip]:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
[data-wm-tip]:hover::before, [data-wm-tip]:focus-visible::before { opacity: 1; visibility: visible; }
.wm-section--dark [data-wm-tip]::after { background: #fff; color: var(--wm-navy-900); }
.wm-section--dark [data-wm-tip]::before { border-bottom-color: #fff; }

/* 이음 로고는 어두운 면 위에서도 원래 색 그대로 쓰도록 흰 판에 올린다 */
.wm-logo-plate { display: inline-flex; align-items: center; background: #fff; border-radius: var(--wm-r-md); padding: .45rem .8rem; }
.wm-logo-plate img { display: block; width: auto; }
.wm-logo-plate--sm { padding: .3rem .6rem; border-radius: var(--wm-r-sm); margin-bottom: .3rem; }


/* ───────── 20. 숫자 줄·순서 목록·그림 카드 (시연 안내 화면 등) ───────── */
.wm-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--wm-s2); margin-top: var(--wm-s5); text-align: center; }
@media (max-width: 760px) { .wm-numbers { grid-template-columns: repeat(2, 1fr); } }
.wm-numbers > div { padding: var(--wm-s3) var(--wm-s2); border-radius: var(--wm-r-lg); background: var(--wm-bg); border: 1px solid var(--wm-line); }
.wm-numbers strong { display: block; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--wm-navy-700); line-height: 1.2; }
.wm-numbers span { color: var(--wm-ink-2); }
.wm-steps { list-style: none; margin: var(--wm-s5) auto 0; padding: 0; max-width: 52rem; display: grid; gap: var(--wm-s2); }
.wm-steps li { display: flex; gap: var(--wm-s3); padding: var(--wm-s3); border-radius: var(--wm-r-lg); background: var(--wm-bg); border: 1px solid var(--wm-line); }
.wm-steps .no { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--wm-navy-700); color: #fff; display: grid; place-items: center; font-weight: 800; }
.wm-steps h3 { margin: 0 0 .3rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.wm-steps p { margin: 0; color: var(--wm-ink-2); word-break: keep-all; }
.wm-steps .where { display: block; margin-top: .4rem; font-size: var(--wm-fs-small); color: var(--wm-ink-3); }
.wm-card__img { background: var(--wm-bg-soft); border-radius: var(--wm-r-md); padding: .8rem; height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--wm-s2); }
.wm-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wm-card h3.wm-h3 { font-size: 1.15rem; }
.wm-checks { list-style: none; margin: var(--wm-s3) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; color: var(--wm-ink-2); font-size: var(--wm-fs-small); }
.wm-checks li::before { content: '\F26E'; font-family: 'bootstrap-icons'; color: var(--wm-navy-700); margin-right: .4rem; }
.wm-error { color: #c8171d; font-size: var(--wm-fs-small); min-height: 1.4em; margin-top: .6rem; text-align: center; }
.wm-btn:disabled { opacity: .6; cursor: wait; transform: none; }
