/* =====================================================================
   components.css · 30개 화면 공통 부품
   버튼 · 카드 · 영역 카드/태그 · 소사이어티 목록 행 · 탭 · 칩 · 지금 할 일 바 · 4단계 진행 표시
   폼 · 동의 · 표 · 알림 · 요약 수치 · 멤버십 카드 · 흐름 · 히어로
   ===================================================================== */

/* ---- 버튼 ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); padding: .6rem 1.25rem;
  border-radius: var(--radius-full); border: 1.5px solid transparent; font-weight: var(--fw-bold); font-size: var(--fs-sm);
  cursor: pointer; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background var(--transition), color var(--transition); }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-900); }
.btn--gold { background: var(--gold-grad); color: var(--navy-900); border-color: #b48d33; }
.btn--outline { background: #fff; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-100); }
.btn--ghost { background: transparent; color: var(--navy-800); }
.btn--ghost:hover { background: rgba(11,29,92,.06); }
.btn--danger { background: #fff; color: var(--color-danger); border-color: var(--color-danger); }
.btn--sm { padding: .4rem .9rem; font-size: var(--fs-xs); }
.btn--lg { padding: .85rem 2rem; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; }
.btn-row--end { justify-content: flex-end; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--color-link); cursor: pointer; font: inherit; }

/* ---- 카드 ---- */
.card { background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.card__body { padding: var(--sp-5); }
.card__title { font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--navy-800); margin-bottom: var(--sp-3); }
.card__title small { font-size: var(--fs-xs); color: var(--color-text-mute); font-weight: var(--fw-regular); margin-left: var(--sp-2); }
.card + .card { margin-top: var(--sp-4); }
.grid > .card + .card { margin-top: 0; }   /* 격자 안 카드는 위쪽 간격 없이 나란히 */
.card--flat { box-shadow: none; border: 1px solid var(--color-border); }
.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---- 영역(world) 색 변수 주입 ---- */
[data-world="grow"]     { --w: var(--w-grow);     --w-bg: var(--w-grow-bg); }
[data-world="create"]   { --w: var(--w-create);   --w-bg: var(--w-create-bg); }
[data-world="discover"] { --w: var(--w-discover); --w-bg: var(--w-discover-bg); }
[data-world="livewell"] { --w: var(--w-livewell); --w-bg: var(--w-livewell-bg); }
[data-world="connect"]  { --w: var(--w-connect);  --w-bg: var(--w-connect-bg); }
[data-world="change"]   { --w: var(--w-change);   --w-bg: var(--w-change-bg); }

.w-icon { width: 34px; height: 34px; flex: none; color: var(--w, var(--navy-800)); object-fit: contain; }
.w-icon--lg { width: 64px; height: 64px; }
.w-icon--sm, .world-pill .w-icon, td .w-icon, label .w-icon, .adm-worlds__item .w-icon { width: 20px; height: 20px; vertical-align: middle; }
.world-pill[aria-current="page"] .w-icon { background: #fff; border-radius: 50%; padding: 1px; }

/* 6개 영역 카드(랜딩) */
.world-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.world-card { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--w); color: inherit; }
.world-card:hover { text-decoration: none; box-shadow: var(--shadow-md); }
.world-card__name { font-weight: var(--fw-black); color: var(--w); font-size: var(--fs-md); }
.world-card__text { font-size: var(--fs-xs); color: var(--color-text-mute); }
.world-card__count { margin-left: auto; text-align: right; font-size: var(--fs-xs); color: var(--color-text-mute); line-height: 1.2; }
.world-card__count b { display: block; font-size: var(--fs-xl); color: var(--navy-900); }
.world-card__soon { margin-left: auto; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--gold-600); }

/* 영역 태그(대표 = 채움, 연관 = 테두리) */
.wtags { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.wtag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: var(--radius-full); font-size: 10px; font-weight: var(--fw-bold);
  letter-spacing: .02em; border: 1px solid var(--w); color: var(--w); background: #fff; white-space: nowrap; }
.wtag--primary { background: var(--w); color: #fff; }

/* 영역 버튼(메인홈 Find Your People) · 영역 탭(03~08) */
.world-pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.world-pill { display: inline-flex; align-items: center; gap: 6px; padding: .4rem .9rem; border-radius: var(--radius-full); background: #fff;
  border: 1px solid var(--color-border); font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--navy-800); }
.world-pill:hover { text-decoration: none; border-color: var(--w); color: var(--w); }
.world-pill[aria-current="page"] { background: var(--w); border-color: var(--w); color: #fff; }

/* 영역 히어로(03~08) */
.world-hero { display: flex; align-items: center; gap: var(--sp-5); padding: var(--sp-6); border-radius: var(--radius-lg); background: var(--w-bg);
  border-top: 4px solid var(--w); box-shadow: var(--shadow-md); flex-wrap: wrap; }
.world-hero__class { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .12em; color: var(--gold-600); }
.world-hero__name { font-size: 2.6rem; font-weight: var(--fw-black); color: var(--w); line-height: 1.1; }
.world-hero__name span { color: var(--navy-900); font-size: .8em; margin-left: .3em; }
.world-hero__slogan { font-weight: var(--fw-bold); color: var(--navy-900); font-size: var(--fs-sm); margin-top: var(--sp-2); }
.world-hero__ko { font-size: var(--fs-sm); color: var(--color-text-mute); }
.world-hero__cta { margin-left: auto; }

/* ---- 소사이어티 목록 행 ---- */
.soc-list { display: grid; gap: var(--sp-3); }
.soc-row { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--w, var(--navy-800)); }
.soc-row__main { min-width: 0; flex: 1; }
.soc-row__name { font-weight: var(--fw-bold); color: var(--navy-900); display: block; }
.soc-row__name:hover { text-decoration: underline; }
.soc-row__tagline { font-size: var(--fs-xs); color: var(--color-text-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-row__meta { font-size: var(--fs-xs); color: var(--color-text-mute); white-space: nowrap; }
.soc-row__side { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.soc-row .w-icon { width: 30px; height: 30px; }
.soc-empty { padding: var(--sp-6); text-align: center; color: var(--color-text-mute); background: #fff; border-radius: var(--radius-md); }

.heart-btn { display: inline-flex; align-items: center; gap: 4px; padding: .3rem .7rem; border-radius: var(--radius-full); border: 1.5px solid var(--navy-800);
  background: #fff; color: var(--navy-800); font-size: var(--fs-xs); font-weight: var(--fw-bold); cursor: pointer; }
.heart-btn[aria-pressed="true"] { background: var(--navy-800); color: #fff; }
.inline-form { display: inline; margin: 0; }

/* ---- 탭 ---- */
.utabs { display: flex; gap: var(--sp-1); border-bottom: 1px solid var(--color-border); margin-bottom: var(--sp-4); overflow-x: auto; }
.utabs a { padding: var(--sp-3) var(--sp-4); font-weight: var(--fw-medium); color: var(--color-text-mute); white-space: nowrap; border-bottom: 3px solid transparent; font-size: var(--fs-sm); }
.utabs a:hover { color: var(--navy-800); text-decoration: none; }
.utabs a[aria-current="page"] { color: var(--navy-900); font-weight: var(--fw-bold); border-bottom-color: var(--w, var(--navy-800)); }
.utabs__end { margin-left: auto; align-self: center; font-size: var(--fs-sm); font-weight: var(--fw-bold); white-space: nowrap; }

.chips { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.chip { padding: .25rem .75rem; border-radius: var(--radius-full); border: 1px solid var(--color-border); background: #fff; font-size: var(--fs-xs); color: var(--gray-700); }
.chip:hover { text-decoration: none; border-color: var(--navy-800); }
.chip[aria-current="page"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* ---- 지금 할 일 바 ---- */
.todo { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3) var(--sp-5); border-radius: var(--radius-md); background: var(--gold-100);
  border: 1px solid #eedca8; border-left: 4px solid var(--gold-500); margin-bottom: var(--sp-5); }
.todo__label { font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--gold-700); white-space: nowrap; }
.todo__text { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--navy-900); flex: 1; }
.todo .btn { flex: none; }

/* ---- 4단계 진행 표시 ---- */
.stepper { display: flex; justify-content: center; gap: 0; list-style: none; padding: 0; margin: 0 auto var(--sp-5); max-width: 640px; }
.stepper li { flex: 1; text-align: center; position: relative; font-size: var(--fs-xs); color: var(--gray-400); }
.stepper li::before { content: attr(data-n); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0 auto 6px;
  border-radius: 50%; background: var(--gray-200); color: #fff; font-weight: var(--fw-bold); position: relative; z-index: 1; }
.stepper li + li::after { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: var(--gray-200); }
.stepper li.is-done::before { background: var(--gold-500); content: "✓"; }
.stepper li.is-done, .stepper li.is-current { color: var(--navy-900); font-weight: var(--fw-bold); }
.stepper li.is-current::before { background: var(--navy-800); }
.stepper li.is-done + li::after, .stepper li.is-current::after { background: var(--gold-500); }

/* ---- 폼 ---- */
.field { margin-bottom: var(--sp-4); }
.field__label { display: block; font-size: var(--fs-sm); font-weight: var(--fw-bold); margin-bottom: var(--sp-2); color: var(--navy-900); }
.field__label .req { color: var(--color-danger); margin-left: 2px; }
.field__help { font-size: var(--fs-xs); color: var(--color-text-mute); margin-top: var(--sp-1); }
.input, .select, .textarea { width: 100%; padding: .65rem .85rem; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); background: #fff; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy-700); outline: none; box-shadow: 0 0 0 3px rgba(27,44,112,.12); }
.textarea { min-height: 120px; resize: vertical; line-height: var(--lh-base); }
.input--inline { width: auto; display: inline-block; }
.input-row { display: flex; gap: var(--sp-2); }
.input-row .input { flex: 1; }
.search { display: flex; gap: var(--sp-2); align-items: center; }
.search .input { border-radius: var(--radius-full); padding-inline: 1.2rem; }
.choice-list { display: grid; gap: var(--sp-2); }
.choice { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; cursor: pointer; }
.choice:hover { border-color: var(--navy-700); }
.choice.is-disabled { opacity: .55; cursor: not-allowed; background: var(--color-surface-2, #f5f6f8); }
.choice.is-disabled:hover { border-color: var(--color-border); }
.choice input { margin-top: 4px; }
.choice__title { font-weight: var(--fw-bold); font-size: var(--fs-sm); color: var(--navy-900); }
.choice__desc { font-size: var(--fs-xs); color: var(--color-text-mute); }
.world-check { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.world-check label { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: #fff; cursor: pointer; font-weight: var(--fw-bold); font-size: var(--fs-sm); color: var(--w); }
.world-check input:checked + span { text-decoration: underline; }
.world-check label:has(input:checked) { border-color: var(--w); background: var(--w-bg); }

/* 동의 */
.agree { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--sp-4); background: #fff; }
.agree legend { font-weight: var(--fw-bold); font-size: var(--fs-sm); padding: 0 var(--sp-1); color: var(--navy-900); }
.agree__all { display: flex; gap: var(--sp-2); font-weight: var(--fw-bold); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--color-border); margin-bottom: var(--sp-3); }
.agree__item { display: flex; gap: var(--sp-2); align-items: flex-start; padding-block: var(--sp-2); font-size: var(--fs-sm); }
.agree__item input { margin-top: 4px; flex: none; }
.agree__tag { font-weight: var(--fw-bold); color: var(--color-danger); }
.agree__tag--opt { color: var(--color-text-mute); }
/* 「전문 보기」 아이콘 버튼(누르면 문서 팝업) */
.doc-btn { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 9px 2px 7px; border: 1px solid var(--navy-200, #c9d0e6); border-radius: 999px; background: #fff; color: var(--navy-800); font-size: 12px; font-weight: var(--fw-bold); line-height: 1.5; text-decoration: none; white-space: nowrap; vertical-align: 1px; transition: background var(--transition), border-color var(--transition); }
.doc-btn:hover, .doc-btn:focus-visible { background: var(--navy-100); border-color: var(--navy-800); text-decoration: none; }
.doc-btn svg { flex: none; }
.agree__detail { font-size: var(--fs-xs); color: var(--color-text-mute); background: var(--gray-50); border-radius: var(--radius-sm); padding: var(--sp-2) var(--sp-3); margin: 0 0 var(--sp-2) 1.6rem; max-height: 140px; overflow: auto; }

/* ---- 표·정의 목록 ---- */
.table { width: 100%; font-size: var(--fs-sm); }
.table th, .table td { padding: var(--sp-3); text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.table th { color: var(--color-text-mute); font-weight: var(--fw-medium); background: var(--gray-50); font-size: var(--fs-xs); }
.table tr.is-notice td { background: #fff8e6; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.dl { display: grid; grid-template-columns: 110px 1fr; font-size: var(--fs-sm); }
.dl dt, .dl dd { padding: var(--sp-2) 0; border-bottom: 1px solid var(--gray-100); }
.dl dt { color: var(--color-text-mute); }
.dl dd { font-weight: var(--fw-bold); margin: 0; }

/* ---- 알림·배지 ---- */
.alert { padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-md); border: 1px solid; font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.alert--info { background: var(--color-info-bg); border-color: #bcd6f2; color: var(--color-info); }
.alert--success { background: var(--color-success-bg); border-color: #bfe4cf; color: var(--color-success); }
.alert--warning { background: var(--color-warning-bg); border-color: #f0d9a8; color: var(--color-warning); }
.alert--danger { background: var(--color-danger-bg); border-color: #f3bcbc; color: var(--color-danger); }
.note { padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-md); background: var(--gold-100); border-left: 3px solid var(--gold-500); font-size: var(--fs-xs); color: var(--gold-700); }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: var(--radius-full); font-size: var(--fs-xs); font-weight: var(--fw-bold); background: var(--gray-100); color: var(--gray-700); white-space: nowrap; }
.badge--navy { background: var(--navy-800); color: #fff; }
.badge--gold { background: var(--gold-100); color: var(--gold-700); }
.circle-mark { display: inline-block; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--gold-700); white-space: nowrap; }
.badge--ok { background: var(--color-success-bg); color: var(--color-success); }
.badge--wait { background: var(--color-warning-bg); color: var(--color-warning); }
.badge--no { background: var(--color-danger-bg); color: var(--color-danger); }

/* ---- 요약 수치 ---- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); margin-bottom: var(--sp-5); }
.stat { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: var(--sp-4) var(--sp-5); }
.stat__label { font-size: var(--fs-xs); color: var(--color-text-mute); }
.stat__value { font-size: var(--fs-2xl); font-weight: var(--fw-black); color: var(--navy-800); margin-top: var(--sp-1); }
.stat:nth-child(2) .stat__value { color: var(--w-create); }
.stat:nth-child(3) .stat__value { color: var(--w-connect); }
.stat:nth-child(4) .stat__value { color: var(--color-danger); }

/* ---- 멤버십 카드(ALLIANCE · ADVISOR) ---- */
.mcard { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1.6 / 1; border-radius: 16px; padding: var(--sp-5); color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); box-shadow: var(--shadow-lg); }
.mcard--advisor { background: linear-gradient(135deg, #b48d33, #6e5214); }
.mcard__grade { font-size: var(--fs-xl); font-weight: var(--fw-black); letter-spacing: .14em; }
.mcard__org { font-size: var(--fs-xs); opacity: .8; letter-spacing: .1em; }
.mcard__name { position: absolute; left: var(--sp-5); bottom: var(--sp-5); font-size: var(--fs-lg); font-weight: var(--fw-bold); }
.mcard__no { position: absolute; right: var(--sp-5); bottom: var(--sp-5); font-size: var(--fs-xs); opacity: .8; font-variant-numeric: tabular-nums; }
.mcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 10px solid rgba(236,211,144,.35); }

/* ---- 등급 단계·흐름 ---- */
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.ladder__item { position: relative; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); padding: var(--sp-4); background: #fff; }
.ladder__item.is-current { border-color: var(--navy-800); background: var(--navy-100); }
.ladder__item.is-next { border-style: dashed; border-color: var(--gold-500); background: var(--gold-100); }
.ladder__tag { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 8px; border-radius: 999px; background: var(--navy-800); color: #fff; margin-bottom: var(--sp-2); }
.ladder__tag--next { background: var(--gold-700); }
.ladder.ladder--staff { grid-template-columns: 1fr; }   /* 운영위 계정 — 한 칸 */
.ladder__item h4 { font-size: var(--fs-sm); }
.ladder__item p { font-size: var(--fs-xs); color: var(--color-text-mute); margin-top: var(--sp-1); }
.flow { display: flex; gap: var(--sp-2); list-style: none; padding: 0; flex-wrap: wrap; }
.flow li { flex: 1; min-width: 120px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--sp-3); font-size: var(--fs-xs); text-align: center; position: relative; }
.flow li b { display: block; color: var(--navy-800); font-size: var(--fs-sm); }
.flow li.is-done { border-color: var(--gold-500); background: var(--gold-100); }
.flow li.is-current { border-color: var(--navy-800); background: var(--navy-100); }

/* ---- 히어로(랜딩·메인) ---- */
.hero { text-align: center; padding-block: var(--sp-8) var(--sp-6); }
.hero__eyebrow { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .3em; color: var(--gold-600); }
.hero__title { font-size: var(--fs-4xl); font-weight: var(--fw-black); color: var(--navy-900); margin-top: var(--sp-2); letter-spacing: -.01em; }
.hero__sub { font-size: var(--fs-lg); color: var(--gray-600); margin-top: var(--sp-2); }
.hero__ko { font-size: var(--fs-sm); color: var(--gray-600); margin-top: var(--sp-2); }
.hero__note { font-size: var(--fs-xs); color: var(--gold-700); font-weight: var(--fw-bold); }
.hero__search { display: flex; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-5); flex-wrap: wrap; }
.hero__search .input { width: min(100%, 420px); border-radius: var(--radius-full); padding-inline: 1.25rem; }
.band { margin-top: var(--sp-10); }
/* 섹션 제목 — 금색 짧은 밑줄로 제목과 내용을 나눔 · 제목/설명 아래 여백을 넉넉히 */
.band__title { position: relative; padding-bottom: var(--sp-3); font-size: var(--fs-2xl); font-weight: var(--fw-black); color: var(--navy-900); line-height: 1.3; }
.band__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--gold-500); }
.band__sub { color: var(--color-text-mute); margin-top: var(--sp-3); margin-bottom: var(--sp-5); }
.band__title + :not(.band__sub) { margin-top: var(--sp-5); }
.brandline { text-align: center; margin-top: var(--sp-8); font-weight: var(--fw-bold); color: var(--navy-800); }

/* ---- 소사이어티 헤더(11·25) ---- */
.soc-head { display: flex; align-items: center; gap: var(--sp-5); padding: var(--sp-5) var(--sp-6); background: var(--w-bg, #fff); border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 4px solid var(--w); flex-wrap: wrap; }
.soc-head--solo { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: #fff; }
.soc-head__eyebrow { font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--gold-700); letter-spacing: .06em; }
.soc-head__name { font-size: var(--fs-2xl); font-weight: var(--fw-black); color: var(--navy-900); }
.soc-head__side { margin-left: auto; text-align: right; font-size: var(--fs-xs); color: var(--color-text-mute); }
.soc-shell { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-bottom: var(--sp-5); }
.soc-shell .utabs { margin: 0; padding-inline: var(--sp-5); border-bottom: 0; }

/* 가입 규정 금액 박스 */
.amount-box { background: var(--w-bg, var(--gold-100)); border-radius: var(--radius-md); padding: var(--sp-4); margin-bottom: var(--sp-3); }
.amount-box small { font-size: var(--fs-xs); color: var(--color-text-mute); }
.amount-box b { display: block; font-size: var(--fs-2xl); font-weight: var(--fw-black); color: var(--w, var(--navy-800)); }

/* 게시판 */
.post-body { white-space: pre-wrap; line-height: 1.8; }
.comment { padding: var(--sp-3) 0; border-bottom: 1px solid var(--gray-100); font-size: var(--fs-sm); }
.comment__meta { font-size: var(--fs-xs); color: var(--color-text-mute); }
.tool-list { display: grid; gap: var(--sp-2); }

/* 페이지 이동 */
.more { display: block; text-align: center; padding: var(--sp-3); margin-top: var(--sp-3); background: #fff; border-radius: var(--radius-full); box-shadow: var(--shadow-sm); font-weight: var(--fw-bold); color: var(--navy-900); }
.more:hover { text-decoration: none; background: var(--gray-50); }
.bar-cta { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-top: var(--sp-5); flex-wrap: wrap; }
.bar-cta__text { flex: 1; font-size: var(--fs-sm); font-weight: var(--fw-bold); }
.bar-cta__text small { font-weight: var(--fw-regular); color: var(--color-text-mute); margin-left: var(--sp-2); }

/* 새 창 진행 예시(13·20) */
.mrm-preview { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.mrm-preview__bar { background: #0E766A; color: #fff; font-size: var(--fs-xs); padding: var(--sp-2) var(--sp-3); }
.mrm-preview ol { display: flex; list-style: none; padding: var(--sp-3); gap: var(--sp-2); flex-wrap: wrap; font-size: var(--fs-xs); }
.mrm-preview li { flex: 1; min-width: 110px; padding: var(--sp-2); background: #eef8f6; border-radius: var(--radius-sm); text-align: center; }

/* 자동 이동(17) */
.progress { height: 8px; border-radius: var(--radius-full); background: var(--gray-200); overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; background: var(--gold-500); transition: width 2.4s linear; }
.progress.is-run > span { width: 100%; }

/* 관리자 */
.admin-task td:last-child { text-align: right; }
.raw-mail { white-space: pre-wrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: var(--fs-xs); background: var(--gray-50); padding: var(--sp-3); border-radius: var(--radius-sm); max-height: 260px; overflow: auto; }

/* 인증 화면 */
.auth { padding-block: var(--sp-8); }
.auth__card { max-width: 520px; margin-inline: auto; }
.auth__title { font-size: var(--fs-2xl); font-weight: var(--fw-black); }
.auth__divider { display: flex; align-items: center; gap: var(--sp-3); color: var(--color-text-mute); font-size: var(--fs-xs); margin-block: var(--sp-4); }
.auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--color-border); }
.auth__links { text-align: center; font-size: var(--fs-sm); display: flex; gap: var(--sp-2); justify-content: center; }
.auth__inline { display: flex; gap: var(--sp-2); }
.social-btns { display: grid; gap: var(--sp-2); }
.social-btn { border-radius: var(--radius-md); padding: .8rem; font-size: var(--fs-sm); }
.social-btn--kakao { background: #FEE500; color: #191600; }
.social-btn--naver { background: #03C75A; color: #fff; }
.social-btn--google { background: #fff; color: #333; border-color: var(--gray-300); }

/* 정책 문서 */
.prose h2 { margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.prose p, .prose li { font-size: var(--fs-sm); line-height: 1.8; }
.prose ul, .prose ol { margin-block: var(--sp-2); }

/* ---- 반응형 ---- */
@media (max-width: 860px) {
  .grid--3, .grid--4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder, .world-check { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .world-cards, .ladder, .world-check { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .soc-row { flex-wrap: wrap; }
  .soc-row__side { width: 100%; justify-content: space-between; }
  .todo { flex-wrap: wrap; }
  .hero__title { font-size: 2.3rem; }
  .world-hero__cta, .soc-head__side { margin-left: 0; text-align: left; }
  .stepper li { font-size: 10px; }
}

/* 안내 카드 안 항목 목록(소개 「두 사이트, 하나의 계정」) */
.site-points { list-style: none; padding: 0; margin: var(--sp-3) 0 0; font-size: var(--fs-sm); color: var(--color-text); }
.site-points li { position: relative; padding-left: 14px; line-height: 1.6; }
.site-points li + li { margin-top: var(--sp-2); }
.site-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); }
.site-points b { color: var(--navy-800); }

/* 약관 · 동의 문서 「전문 보기」 팝업(js/app.js data-doc-popup) */
.doc-dlg { position: fixed; inset: 0; margin: auto; width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--radius-lg, 14px); box-shadow: 0 24px 60px rgba(7, 20, 71, .28); color: var(--color-text); background: #fff; }
.doc-dlg[open] { display: flex; flex-direction: column; }
.doc-dlg::backdrop { background: rgba(7, 20, 71, .55); }
.doc-dlg__head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--color-border); }
.doc-dlg__title { flex: 1 1 auto; margin: 0; font-size: var(--fs-lg, 1.125rem); color: var(--navy-800); }
.doc-dlg__x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 26px; line-height: 1; color: var(--gray-600, #555); cursor: pointer; }
.doc-dlg__x:hover { background: var(--gray-50, #f5f6f8); }
.doc-dlg__body { flex: 1 1 auto; overflow: auto; padding: var(--sp-5); font-size: var(--fs-sm); line-height: 1.75; overscroll-behavior: contain; }
.doc-dlg__body:focus { outline: none; }
.doc-dlg__body h2 { font-size: var(--fs-md, 1rem); margin: var(--sp-5) 0 var(--sp-2); }
.doc-dlg__body dt { font-weight: var(--fw-bold); margin-top: var(--sp-4); }
.doc-dlg__body dd { margin: var(--sp-1) 0 0; }
.doc-dlg__body table { width: 100%; border-collapse: collapse; font-size: var(--fs-xs); }
.doc-dlg__body th, .doc-dlg__body td { border: 1px solid var(--color-border); padding: 6px 8px; vertical-align: top; }
.doc-dlg__body .card { box-shadow: none; border: 0; }
.doc-dlg__body .card__body { padding: 0; }
.doc-dlg__foot { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3) var(--sp-5); border-top: 1px solid var(--color-border); background: var(--gray-50, #f7f8fa); border-radius: 0 0 var(--radius-lg, 14px) var(--radius-lg, 14px); }
.doc-dlg__sp { flex: 1 1 auto; }
html.doc-dlg-open { overflow: hidden; }   /* 팝업이 열려 있는 동안 뒤 화면은 스크롤 안 함 */
@media (max-width: 640px) {
  .doc-dlg { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .doc-dlg__foot { border-radius: 0; flex-wrap: wrap; }
  .doc-dlg__new { display: none; }
}

/* 랜딩 「시작은 3단계로」 — 단계마다 하는 일 · 바로가기(partials/start3.php) */
.start3 { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--sp-6); }
.start3__head { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.start3__title { font-weight: var(--fw-black); color: var(--navy-900); line-height: 1.3; font-size: var(--fs-lg, 1.125rem); }
.start3__lead { margin: 0; flex: 1 1 280px; color: var(--color-text-mute); font-size: var(--fs-sm); }
.start3__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); list-style: none; padding: 0; margin: 0; counter-reset: none; }
.start3__step { position: relative; display: flex; flex-direction: column; padding: var(--sp-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--gray-50, #f7f8fb); }
.start3__step + .start3__step::before { content: ""; position: absolute; left: calc(-1 * var(--sp-4) / 2 - 5px); top: 34px; width: 10px; height: 10px; border-top: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500); transform: rotate(45deg); }
.start3__no { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-800); color: #fff; align-items: center; justify-content: center; font-size: var(--fs-sm); font-weight: var(--fw-bold); }
.start3__step h3 { margin: var(--sp-3) 0 var(--sp-2); font-size: var(--fs-md, 1rem); color: var(--navy-900); }
.start3__step p { margin: 0 0 var(--sp-4); font-size: var(--fs-sm); line-height: 1.7; color: var(--color-text); flex: 1 1 auto; }
.start3__go { align-self: flex-start; font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--navy-800); text-decoration: none; border-bottom: 1.5px solid var(--gold-500); padding-bottom: 1px; }
.start3__go::after { content: " →"; }
.start3__go:hover { color: var(--gold-700); }
@media (max-width: 860px) {
  .start3 { padding: var(--sp-5); }
  .start3__steps { grid-template-columns: 1fr; gap: var(--sp-3); }
  .start3__step + .start3__step::before { left: 26px; top: calc(-1 * var(--sp-3) / 2 - 6px); transform: rotate(135deg); }
}

/* 오픈마인드 소개(/openmind) · 후원 안내(/donate) — 번호 단계 · 용어 · 후원 항목 · 자주 묻는 질문 */
.om-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); list-style: none; padding: 0; margin: 0; }
.om-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.om-steps li { display: flex; gap: var(--sp-3); align-items: flex-start; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--sp-5); }
.om-steps__no { flex: none; display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-800); color: #fff; align-items: center; justify-content: center; font-weight: var(--fw-bold); }
.om-steps h3 { margin: 4px 0 var(--sp-2); font-size: var(--fs-md, 1rem); color: var(--navy-900); }
.om-steps p { margin: 0; font-size: var(--fs-sm); line-height: 1.7; color: var(--color-text); }
.om-cta .btn-row { margin-top: var(--sp-4); }
.don-dl { display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-2) var(--sp-3); margin: 0; font-size: var(--fs-sm); line-height: 1.65; }
.don-dl dt { font-weight: var(--fw-bold); color: var(--gold-700); }
.don-dl dd { margin: 0; }
.don-faq details { border-bottom: 1px solid var(--color-border); padding: var(--sp-3) 0; }
.don-faq details:last-child { border-bottom: 0; }
.don-faq summary { cursor: pointer; font-weight: var(--fw-bold); color: var(--navy-800); list-style: none; }
.don-faq summary::-webkit-details-marker { display: none; }
.don-faq summary::before { content: "Q"; display: inline-block; width: 24px; color: var(--gold-600); font-weight: var(--fw-black); }
.don-faq details > div { margin: var(--sp-2) 0 0 24px; font-size: var(--fs-sm); line-height: 1.7; color: var(--color-text); }
@media (max-width: 860px) {
  .om-steps, .om-steps--4 { grid-template-columns: 1fr; gap: var(--sp-3); }
}

/* ── 후원 안내(/donate) ─────────────────────────────────────────────── */
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.don-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); list-style: none; padding: 0; margin: var(--sp-5) 0 0; }
.don-trust li { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.don-trust__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-100); color: var(--navy-800); }
.don-trust b { display: block; font-size: var(--fs-sm); color: var(--navy-900); }
.don-trust span:not(.don-trust__ic) { display: block; font-size: var(--fs-xs); color: var(--color-text-mute); margin-top: 2px; }

.don-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.don-card { display: flex; flex-direction: column; gap: var(--sp-5); padding: var(--sp-6); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border-top: 5px solid var(--navy-800); }
.don-card--gold { border-top-color: var(--gold-500); }
.don-card__head { display: flex; align-items: center; gap: var(--sp-4); }
.don-card__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); color: #fff; }
.don-card--gold .don-card__ic { background: var(--gold-grad); color: var(--navy-900); }
.don-card__kind { margin: 0; font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .04em; color: var(--gold-700); }
.don-card__title { margin: 2px 0 0; font-size: var(--fs-xl); font-weight: var(--fw-black); color: var(--navy-900); }
.don-card .don-dl { flex: 1 1 auto; }
.don-card .btn { margin-top: auto; }
.don-dl { display: grid; grid-template-columns: 72px 1fr; margin: 0; font-size: var(--fs-sm); line-height: 1.7; }
.don-dl dt, .don-dl dd { margin: 0; padding: var(--sp-3) 0; border-top: 1px solid var(--color-border); }
.don-dl dt:first-of-type, .don-dl dt:first-of-type + dd { border-top: 0; padding-top: 0; }
.don-dl dt { font-weight: var(--fw-bold); color: var(--gold-700); }

/* 진행 단계 — 단계 사이 화살표로 이어짐(모바일은 아래 방향) */
.don-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-8); list-style: none; padding: 0; margin: 0; counter-reset: none; }
.don-flow__step { position: relative; padding: var(--sp-5); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.don-flow__step + .don-flow__step::before { content: ""; position: absolute; top: 50%; left: calc(-1 * var(--sp-8) + 6px); width: calc(var(--sp-8) - 12px); height: 2px; background: var(--gold-500); transform: translateY(-50%); }
.don-flow__step + .don-flow__step::after { content: ""; position: absolute; top: 50%; left: -12px; width: 10px; height: 10px; border-top: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500); transform: translateY(-50%) rotate(45deg); }
.don-flow__no { display: inline-block; padding: 4px 10px; border-radius: var(--radius-full); background: var(--navy-800); color: #fff; font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .06em; }
.don-flow__step:last-child .don-flow__no { background: var(--gold-grad); color: var(--navy-900); }
.don-flow__step h3 { margin: var(--sp-3) 0 var(--sp-2); font-size: var(--fs-md); color: var(--navy-900); }
.don-flow__step p { margin: 0; font-size: var(--fs-sm); line-height: 1.7; color: var(--color-text); }

.don-info__title { display: flex; align-items: center; gap: var(--sp-2); margin: 0 0 var(--sp-2); font-size: var(--fs-lg); color: var(--navy-900); }
.don-info__ic { display: inline-flex; color: var(--gold-600); }

.don-ask { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; margin-top: var(--sp-10); padding: var(--sp-6) var(--sp-8); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; box-shadow: var(--shadow-lg); }
.don-ask h2 { margin: 0; font-size: var(--fs-xl); color: #fff; }
.don-ask p { margin: var(--sp-1) 0 0; font-size: var(--fs-sm); color: #c4cde6; }

@media (max-width: 960px) {
  .don-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
  .don-flow__step + .don-flow__step::before, .don-flow__step + .don-flow__step::after { display: none; }
}
@media (max-width: 760px) {
  .don-trust, .don-cards { grid-template-columns: 1fr; }
  .don-card { padding: var(--sp-5); }
  .don-flow { grid-template-columns: 1fr; gap: var(--sp-6); }
  .don-flow__step + .don-flow__step::before { display: block; top: calc(-1 * var(--sp-6) + 4px); left: 50%; width: 2px; height: calc(var(--sp-6) - 8px); transform: translateX(-50%); }
  .don-flow__step + .don-flow__step::after { display: block; top: -12px; left: 50%; transform: translateX(-50%) rotate(135deg); }
  .don-ask { padding: var(--sp-5); }
}

/* 소사이어티 활동 홈 「후원 현황」(partials/space_side.php) */
.fund__dl { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--sp-3); margin: 0; font-size: var(--fs-sm); }
.fund__dl dt { color: var(--color-text-mute); }
.fund__dl dd { margin: 0; text-align: right; font-weight: var(--fw-bold); color: var(--navy-900); }
.fund__bar { height: 10px; margin-top: var(--sp-4); border-radius: var(--radius-full); background: var(--navy-100); overflow: hidden; }
.fund__bar span { display: block; height: 100%; border-radius: inherit; background: var(--gold-grad); min-width: 4px; }
.fund__pct { margin: var(--sp-2) 0 0; font-size: var(--fs-sm); }
.fund__pct b { color: var(--gold-700); font-size: var(--fs-lg); }

/* ── 소사이어티 안내(/society) ───────────────────────────────────────── */
.sg-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); list-style: none; padding: 0; margin: var(--sp-5) 0 0; }
.sg-facts li { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.sg-facts__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-100); color: var(--navy-800); }
.sg-facts b { display: block; font-size: var(--fs-sm); color: var(--navy-900); }
.sg-facts span:not(.sg-facts__ic) { display: block; margin-top: 4px; font-size: var(--fs-xs); line-height: 1.6; color: var(--color-text-mute); }
.sg-pillars { margin-top: var(--sp-5); }
.sg-pillars h3 { margin: var(--sp-2) 0 var(--sp-2); font-size: var(--fs-md); color: var(--navy-900); }
.sg-pillars .card { border-top: 3px solid var(--gold-500); }

.sg-see { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.sg-see__col { padding: var(--sp-6); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border-top: 5px solid var(--gold-500); }
.sg-see__col--member { border-top-color: var(--navy-800); }
.sg-see__col header { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.sg-see__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-grad); color: var(--navy-900); }
.sg-see__col--member .sg-see__ic { background: var(--navy-800); color: #fff; }
.sg-see__who { margin: 0; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--gold-700); letter-spacing: .04em; }
.sg-see__col h3 { margin: 2px 0 0; font-size: var(--fs-lg); color: var(--navy-900); }

.sg-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
.sg-role { padding: var(--sp-5); background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.sg-role--gold { border-color: var(--gold-300); background: var(--gold-100); }
.sg-role__who { margin: var(--sp-3) 0 var(--sp-2); font-weight: var(--fw-bold); color: var(--navy-900); }
.sg-role p:last-child { margin: 0; font-size: var(--fs-sm); line-height: 1.7; color: var(--color-text); }

@media (max-width: 960px) { .sg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .sg-facts, .sg-see, .sg-roles { grid-template-columns: 1fr; }
  .sg-see__col { padding: var(--sp-5); }
}

/* ── 오픈마인드 소개(/openmind) ────────────────────────────────────── */
.om-hero { position: relative; overflow: hidden; margin-top: var(--sp-4); padding: var(--sp-10) var(--sp-8); border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(232, 200, 120, .28), transparent 42%), radial-gradient(circle at 10% 110%, rgba(255,255,255,.08), transparent 45%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); box-shadow: var(--shadow-lg); }
.om-hero::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 280px; height: 280px; border-radius: 50%; border: 2px solid rgba(232, 200, 120, .35); box-shadow: 0 0 0 26px rgba(232, 200, 120, .06), 0 0 0 60px rgba(232, 200, 120, .04); }
.om-hero__eyebrow { margin: 0; font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .14em; color: var(--gold-300); }
.om-hero__title { margin: var(--sp-3) 0 0; font-size: clamp(2rem, 4.2vw, 3rem); font-weight: var(--fw-black); line-height: 1.2; color: #fff; }
.om-hero__lead { position: relative; z-index: 1; max-width: 640px; margin: var(--sp-4) 0 0; font-size: var(--fs-md); line-height: 1.8; color: #d5dcef; }
.om-hero__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; margin: var(--sp-5) 0 0; }
.om-hero__chips li { padding: 6px 14px; border-radius: var(--radius-full); border: 1px solid rgba(232, 200, 120, .55); color: var(--gold-300); font-size: var(--fs-sm); font-weight: var(--fw-bold); background: rgba(255,255,255,.04); }

.om-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.om-pillar { padding: var(--sp-6); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border-top: 4px solid var(--gold-500); transition: transform var(--transition), box-shadow var(--transition); }
.om-pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.om-pillar__ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy-800); color: var(--gold-300); }
.om-pillar__en { margin: var(--sp-4) 0 0; font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .12em; color: var(--gold-700); }
.om-pillar h3 { margin: 4px 0 var(--sp-2); font-size: var(--fs-lg); color: var(--navy-900); }
.om-pillar p:last-child { margin: 0; font-size: var(--fs-sm); line-height: 1.75; color: var(--color-text-mute); }

.om-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.om-why__col { padding: var(--sp-6); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.om-why__col--crisis { border-left: 5px solid #b4453a; }
.om-why__col--change { border-left: 5px solid var(--gold-500); }
.om-why__col header { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.om-why__col h3 { margin: 0; font-size: var(--fs-lg); color: var(--navy-900); }
.om-why__ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.om-why__col--crisis .om-why__ic { background: #fbeceb; color: #b4453a; }
.om-why__col--change .om-why__ic { background: var(--gold-100); color: var(--gold-700); }
.om-why__list { list-style: none; padding: 0; margin: 0; }
.om-why__list li { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3) 0; border-top: 1px solid var(--color-border); }
.om-why__list li:first-child { border-top: 0; padding-top: 0; }
.om-why__list li > span { flex: none; display: inline-flex; color: var(--navy-700); margin-top: 2px; }
.om-why__list b { color: var(--navy-900); font-size: var(--fs-sm); }
.om-why__list p { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--color-text-mute); line-height: 1.6; }
.om-quote { margin: var(--sp-5) 0 0; padding: var(--sp-5) var(--sp-6); border-radius: var(--radius-md); background: var(--navy-100); border-left: 4px solid var(--navy-800); font-size: var(--fs-md); line-height: 1.7; color: var(--navy-900); }
.om-quote b { color: var(--navy-800); }

.don-flow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.om-page .don-flow__step { text-align: left; }
.om-page .don-flow__no { font-size: var(--fs-sm); padding: 6px 12px; }

.om-spirit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.om-spirit__card { padding: var(--sp-6); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border-top: 5px solid var(--navy-800); }
.om-spirit__card--gold { border-top-color: var(--gold-500); background: linear-gradient(180deg, #fffaf0, #fff 40%); }
.om-spirit__card header { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.om-spirit__card h3 { margin: 0; font-size: var(--fs-lg); color: var(--navy-900); }
.om-spirit__ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-800); color: #fff; }
.om-spirit__card--gold .om-spirit__ic { background: var(--gold-grad); color: var(--navy-900); }

@media (max-width: 960px) {
  .don-flow--3 { grid-template-columns: 1fr; gap: var(--sp-6); }
  .don-flow--3 .don-flow__step + .don-flow__step::before { display: block; top: calc(-1 * var(--sp-6) + 4px); left: 50%; width: 2px; height: calc(var(--sp-6) - 8px); transform: translateX(-50%); }
  .don-flow--3 .don-flow__step + .don-flow__step::after { display: block; top: -12px; left: 50%; transform: translateX(-50%) rotate(135deg); }
}
@media (max-width: 760px) {
  .om-hero { padding: var(--sp-8) var(--sp-5); }
  .om-pillars, .om-why, .om-spirit { grid-template-columns: 1fr; }
  .om-pillar, .om-why__col, .om-spirit__card { padding: var(--sp-5); }
}

/* ── 오픈마인드 소사이어티 소개(/about) ─────────────────────────────── */
.don-flow--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-6); }
.don-flow--5 .don-flow__step { padding: var(--sp-4); }
.don-flow--5 .don-flow__step + .don-flow__step::before { left: calc(-1 * var(--sp-6) + 6px); width: calc(var(--sp-6) - 12px); }
.ab-chain { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); list-style: none; padding: var(--sp-6); margin: var(--sp-6) 0 0;
  border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; }
.ab-chain li { position: relative; display: grid; justify-items: center; text-align: center; gap: 2px; }
.ab-chain li + li::before { content: "›"; position: absolute; left: calc(-1 * var(--sp-4) / 2 - 7px); top: 14px; font-size: 26px; line-height: 1; color: var(--gold-300); }
.ab-chain__ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(232, 200, 120, .14); border: 1.5px solid rgba(232, 200, 120, .6); color: var(--gold-300); margin-bottom: var(--sp-2); }
.ab-chain__en { margin: 0; font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .14em; color: var(--gold-300); }
.ab-chain b { font-size: var(--fs-md); color: #fff; }
.ab-chain span:not(.ab-chain__ic) { font-size: var(--fs-xs); color: #c4cde6; }
.ab-mean { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.ab-mean article { display: flex; gap: var(--sp-4); padding: var(--sp-5) var(--sp-6); background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.ab-mean__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-grad); color: var(--navy-900); }
.ab-mean h3 { margin: 2px 0 var(--sp-2); font-size: var(--fs-md); color: var(--navy-900); }
.ab-mean p { margin: 0; font-size: var(--fs-sm); line-height: 1.75; color: var(--color-text-mute); }
.ab-trust { margin-top: var(--sp-6); }
.ab-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
.ab-path { position: relative; display: flex; flex-direction: column; padding: var(--sp-6); background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.ab-path--gold { background: var(--gold-100); border-color: var(--gold-300); }
.ab-path.is-now { border: 2px solid var(--navy-800); box-shadow: var(--shadow-md); }
.ab-path__now { position: absolute; top: -11px; right: var(--sp-5); padding: 3px 10px; border-radius: var(--radius-full); background: var(--navy-800); color: var(--gold-300); font-size: 11px; font-weight: var(--fw-bold); }
.ab-path__step { margin: 0; font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .14em; color: var(--gold-700); }
.ab-path h3 { margin: 4px 0 var(--sp-2); font-size: var(--fs-lg); color: var(--navy-900); }
.ab-path > p:not(.ab-path__step) { flex: 1; margin: 0 0 var(--sp-4); font-size: var(--fs-sm); line-height: 1.75; color: var(--color-text); }
@media (max-width: 1100px) {
  .don-flow--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .don-flow--5 .don-flow__step:nth-child(4)::before, .don-flow--5 .don-flow__step:nth-child(4)::after { display: none; }
}
@media (max-width: 900px) {
  .ab-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-6); }
  .ab-chain li:nth-child(3)::before { display: none; }
  .ab-mean, .ab-paths { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .don-flow--5 { grid-template-columns: 1fr; gap: var(--sp-6); }
  .don-flow--5 .don-flow__step + .don-flow__step::before { display: block; top: calc(-1 * var(--sp-6) + 4px); left: 50%; width: 2px; height: calc(var(--sp-6) - 8px); transform: translateX(-50%); }
  .don-flow--5 .don-flow__step + .don-flow__step::after { display: block; top: -12px; left: 50%; transform: translateX(-50%) rotate(135deg); }
  .ab-mean article { padding: var(--sp-5); }
  .ab-path { padding: var(--sp-5); }
}
