/* ==========================================================================
   OmniSight — additions.css  (style.css 다음에 불러온다)

   1. 토스식 UI 테마
      회색 배경 위 흰 카드, 테두리 없는 평평한 면, 둥근 사각 버튼, 회색 채움 칩·입력창,
      한 화면에 질문 하나씩 묻는 단계형 폼, 모바일 하단 고정 버튼.
      ※ 토스의 브랜드 색(블루)·서체는 쓰지 않고 OmniSight 틸 + Pretendard 위에 패턴만 적용했다.
   2. 새 페이지·섹션 컴포넌트 (ad-*)
   3. 단계형 폼 (t-*)

   색 대비: 본문 #191f28(16.6:1), 보조 #5c6774(흰 5.8:1·회색 5.2:1), 주 버튼 #087268(흰 글자 5.8:1),
           입력 테두리 #868f9b(3.3:1) — WCAG 2.2 AA 기준
   ========================================================================== */

:root {
  --ink: #191f28;
  --ink-2: #333d4b;
  --muted: #5c6774;
  --line: #e5e8eb;
  --soft: #f2f4f6;
  --bg: #ffffff;
  --accent: #087268;
  --accent-ink: #087268;
  --accent-soft: #e6f5f3;
  --radius: 24px;

  --t-primary: #087268;
  --t-primary-press: #065e56;
  --t-grey50: #f9fafb;
  --t-grey100: #f2f4f6;
  --t-grey200: #e5e8eb;
  --t-grey300: #d1d6db;
  --t-grey500: #868f9b;
  --t-grey700: #4e5968;
  --t-new: #8a4b00;
  --t-new-bg: #fff3e0;
  --t-red: #d22030;
}

/* ---------- 1. 토스식 테마: 기존 컴포넌트 덮어쓰기 ---------- */
body { color: var(--ink); }
.h-display, .h1, .h2 { letter-spacing: -0.035em; }
.lead { color: var(--t-grey700); }

/* 버튼: 둥근 사각형, 누르면 살짝 작아짐 */
.btn { border-radius: 16px; letter-spacing: -0.02em; }
.btn:active { transform: scale(.96); }
.btn-sm { border-radius: 12px; min-height: 40px; }
.btn-primary, .btn-accent { background: var(--t-primary); color: #fff; border-color: transparent; }
.btn-ghost { background: var(--t-grey100); border-color: transparent; color: var(--ink-2); }
.bg-deep .btn-ghost, .cta-band .btn-ghost { background: rgba(255,255,255,.1); color: #fff; }
@media (hover: hover) {
  .btn-primary:hover, .btn-accent:hover { background: var(--t-primary-press); }
  .btn-ghost:hover { background: var(--t-grey200); }
  .bg-deep .btn-ghost:hover, .cta-band .btn-ghost:hover { background: rgba(255,255,255,.18); }
}

/* 헤더 메뉴: 7개 항목이 한 줄에 들어가도록 */
.nav-links a { color: var(--t-grey700); border-radius: 10px; }
.nav-links a.active { color: var(--ink); }
@media (max-width: 1240px) and (min-width: 1081px) {
  .nav-links a { padding: 8px 10px; font-size: 14.5px; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 1080px) {
  .mobile-menu { max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
}

/* 면: 선 대신 회색 배경과 흰 카드 */
.page-hero, .ph { border-bottom: 0; }
.bg-soft { background: var(--t-grey100); }
.card, .prog, .eff, .fmt, .tool, .trust > div, .line-col {
  border: 0;
  background: var(--t-grey50);
  border-radius: var(--radius);
  box-shadow: none;
}
.bg-soft .card, .bg-soft .prog, .bg-soft .eff, .bg-soft .fmt, .bg-soft .tool, .bg-soft .line-col { background: #fff; }
@media (hover: hover) {
  .card:hover, .prog:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(0, 27, 55, .18); }
}
.card:active, .prog:active { transform: scale(.98); }
.pd-spec, .ph-spec { border: 0; background: var(--t-grey200); border-radius: 20px; }
.cta-band { border-radius: 28px; }

/* 칩·필터: 회색 채움, 선택 시 진하게 */
.fchip { border: 0; background: var(--t-grey100); color: var(--t-grey700); border-radius: 12px; }
.fchip small { font-size: 12.5px; opacity: .7; margin-left: 2px; font-weight: 700; }
.fchip.on { background: var(--ink); color: #fff; }
@media (hover: hover) { .fchip:not(.on):hover { background: var(--t-grey200); border: 0; } }
.type-pills label { border: 0; background: var(--t-grey100); color: var(--ink-2); border-radius: 12px; }
.type-pills input:checked + label { background: var(--t-primary); color: #fff; }

/* 입력창: 넓고 편한 터치 영역, 포커스 시 틸 링 */
.form { border: 0; border-radius: 28px; box-shadow: 0 12px 40px -24px rgba(0, 27, 55, .2); }
.form label { color: var(--ink-2); }
.field { border-color: var(--t-grey500); border-radius: 14px; background: #fff; }
.field:focus { border-color: var(--t-primary); box-shadow: 0 0 0 3px rgba(8, 114, 104, .16); }
select.field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%234e5968' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.consent { border-radius: 16px; background: var(--t-grey50); }
:focus-visible { outline: 3px solid var(--t-primary); outline-offset: 2px; }

/* 접근성 보완 (원래 사이트에서 대비가 부족했던 곳) */
.foot-cols h5, .foot-bottom { color: #94a1b2; }
.vision-statement .fade { color: #868f9b; }
.sight-step { opacity: 1; }
.sight-step:not(.on) h3, .sight-step:not(.on) h4 { color: #868f9b; transition: color .6s var(--ease); }
.sight-step[data-sight="outsight"] .tag { color: #2459b8; }
.sight-step[data-sight="foresight"] .tag { color: #5b3fd0; }
.crumb span:not([aria-hidden]) { color: var(--muted); }
.fchip small { opacity: 1; color: var(--muted); }
.fchip.on small { color: #c9d1d9; }

/* FAQ: 목록형 */
.faq { border-top: 0; }
.faq details { border-bottom: 1px solid var(--t-grey200); }
.faq summary { font-size: 17.5px; padding: 22px 4px; }

/* ---------- 2. 새 컴포넌트 ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ad-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ad-new, .ad-draft, .ad-status {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px;
  font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: 0; white-space: nowrap; vertical-align: middle;
}
.ad-new { background: var(--t-new-bg); color: var(--t-new); }
.ad-draft { background: var(--t-grey100); color: var(--t-grey700); }
.bg-soft .ad-draft { background: #fff; }
.ad-status { background: var(--accent-soft); color: var(--accent-ink); }

.ad-buys { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ad-buy { font-size: 12.5px; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: var(--t-grey100); color: var(--t-grey700); }
.bg-soft .ad-buy { background: var(--t-grey50); }
.ad-buy.on { background: var(--accent-soft); color: var(--accent-ink); }

.ad-notice { margin: 0; padding: 18px 20px; border-radius: 16px; background: var(--accent-soft); color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.bg-soft .ad-notice { background: #fff; }
.ad-small { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 12px 0 0; }
.ad-hint { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }
.ad-err { font-size: 14px; font-weight: 600; color: var(--t-red); margin: 8px 0 0; }
.ad-opt { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.ad-done[hidden] { display: none !important; }

/* 홈: 누구를 위한 서비스 */
.ad-aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ad-aud-card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ad-aud-card h3 { margin: 4px 0 0; font-size: 22px; letter-spacing: -0.03em; }
.ad-aud-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ad-aud-card ul { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--t-grey200); display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.ad-aud-card .link-arrow { margin-top: auto; padding-top: 8px; color: var(--accent-ink); }
.ad-aud-card:active { transform: scale(.98); }
@media (hover: hover) { .ad-aud-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(0, 27, 55, .18); } }
.progs.ad-four-col { grid-template-columns: repeat(4, 1fr); }

/* 전체 프로그램: 검색·필터 */
.ad-filter { display: grid; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--t-grey50); margin-bottom: 28px; }
.ad-search .field { padding-left: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%234e5968' stroke-width='2'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m17 17-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center; }
.ad-filter .fchips { margin: 0; }
.ad-filter .fchip { background: #fff; }
.ad-filter .fchip.on { background: var(--ink); }
.ad-selects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ad-selects label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--t-grey700); }
.ad-only { margin: 0; font-size: 15px; }
.ad-result-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.ad-count { margin: 0; font-weight: 600; color: var(--ink-2); }
.ad-count b { color: var(--accent-ink); }
.ad-reset { border: 0; background: none; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ad-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 24px; border-radius: var(--radius); background: var(--t-grey100); margin-bottom: 28px; }
.ad-empty b { font-size: 20px; letter-spacing: -0.02em; }
.ad-empty span { color: var(--muted); max-width: 460px; }
.ad-empty .btn { margin-top: 8px; }
.ad-empty[hidden] { display: none; }

/* 개인 코칭: 시작 단계, 가격표, 안내 상자 */
.ad-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ad-step { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 20px; background: #fff; transition: transform .3s var(--ease); }
.ad-step:active { transform: scale(.98); }
.ad-step .n { font-size: 13px; font-weight: 800; color: var(--accent-ink); }
.ad-step b { font-size: 17px; letter-spacing: -0.02em; }
.ad-step span:last-child { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.ad-table-wrap { overflow-x: auto; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--t-grey200); }
.ad-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.ad-table th, .ad-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--t-grey200); vertical-align: top; }
.ad-table thead th { background: var(--t-grey50); font-size: 13.5px; color: var(--t-grey700); font-weight: 700; }
.ad-table tbody tr:last-child th, .ad-table tbody tr:last-child td { border-bottom: 0; }
.ad-table a { font-weight: 700; }
@media (hover: hover) { .ad-table a:hover { color: var(--accent-ink); text-decoration: underline; } }
.ad-callout { display: grid; gap: 8px; margin-top: 20px; padding: 22px 24px; border-radius: 20px; background: var(--t-grey100); font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.ad-callout b { font-size: 16px; color: var(--ink); }
.ad-callout .link-arrow { color: var(--accent-ink); }
.ad-side { display: grid; gap: 16px; align-content: start; }
.ad-side .ad-callout { margin-top: 0; }

/* 전문가 */
.ad-experts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.ad-expert { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: #fff; }
.ad-expert-top { display: flex; gap: 16px; align-items: center; }
.ad-expert-top h3 { margin: 6px 0 2px; font-size: 20px; letter-spacing: -0.02em; }
.ad-expert-top p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ad-avatar {
  flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 24px; font-weight: 800;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, white);
}
.ad-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-chips .chip { align-self: auto; }
.ad-expert-sum { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.ad-expert dl { margin: 0; display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--t-grey200); font-size: 14px; }
.ad-expert dl div { display: grid; grid-template-columns: 84px 1fr; gap: 8px; }
.ad-expert dt { color: var(--muted); font-weight: 600; }
.ad-expert dd { margin: 0; color: var(--ink-2); }
.ad-expert .link-arrow { margin-top: auto; color: var(--accent-ink); }
.effects.ad-four { grid-template-columns: repeat(4, 1fr); }
.ad-join { align-items: start; }

/* 기업: 도입 방식, 단계 목록 */
.ad-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ad-model { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; border-radius: var(--radius); background: var(--t-grey50); }
.ad-model h3 { margin: 4px 0 0; font-size: 22px; letter-spacing: -0.03em; }
.ad-model p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.ad-model .link-arrow { margin-top: auto; color: var(--accent-ink); }
.ad-flow { list-style: none; counter-reset: f; margin: 8px 0; padding: 0; display: grid; gap: 10px; }
.ad-flow li { counter-increment: f; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.ad-flow li::before { content: counter(f); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 800; }
.checklist.ad-x li::before { background: #fdecee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%23b4232f' stroke-width='2.2'%3E%3Cpath d='M2 2l6 6M8 2 2 8'/%3E%3C/svg%3E") center no-repeat; }
.ad-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; }
.ad-links .link-arrow { color: var(--accent-ink); }
.formats.ad-five { grid-template-columns: repeat(5, 1fr); }
.formats .fmt small { font-size: 13px; color: var(--accent-ink); margin-left: 4px; }
a.fmt { transition: transform .3s var(--ease); }
a.fmt:active { transform: scale(.98); }

/* 프로그램 상세: 목표, 비용, 정책 */
.ad-goals { grid-template-columns: 1fr; gap: 10px; }
.ad-goals .eff { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; padding: 20px 22px; }
.ad-goals .eff p { font-size: 16px; font-weight: 600; }
.ad-price { padding: 28px; border-radius: var(--radius); background: var(--t-grey50); }
.ad-price-v { margin: 12px 0 4px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.03em; }
.ad-price-m { margin: 0; color: var(--muted); font-size: 14.5px; }
.ad-price details { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #fff; font-size: 14.5px; }
.ad-price summary { cursor: pointer; font-weight: 700; color: var(--accent-ink); }
.ad-price details p { margin: 10px 0 0; color: var(--ink-2); line-height: 1.7; }
.ad-policy span { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.ad-buymodes { grid-template-columns: repeat(3, 1fr); }

/* 공개과정 */
.ad-courses { display: grid; gap: 16px; margin-top: 28px; }
.ad-course { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; padding: 32px; border-radius: var(--radius); background: var(--t-grey50); }
.ad-course h3 { margin: 12px 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.ad-course p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.ad-cohorts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.ad-cohort { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 18px; background: #fff; }
.ad-cohort div { display: grid; gap: 4px; }
.ad-cohort div > span:not(.ad-status):not(.ad-draft) { font-size: 14px; color: var(--muted); }
.ad-cohort .btn { flex: none; }

/* 인사이트 */
.ad-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ad-insight { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--t-grey50); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bg-soft .ad-insight { background: #fff; }
.ad-insight .chip { align-self: flex-start; }
.ad-insight b { font-size: 19px; letter-spacing: -0.025em; line-height: 1.45; }
.ad-insight > span:not(.chip) { color: var(--muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-insight small { margin-top: auto; padding-top: 8px; color: var(--muted); font-size: 13.5px; }
.ad-insight:active { transform: scale(.98); }
.ad-insight[hidden] { display: none; }
@media (hover: hover) { .ad-insight:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(0, 27, 55, .18); } }
.ad-prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.9; color: var(--ink-2); }
.ad-prose > * + * { margin-top: 1.1em; }
.ad-prose h2 { margin-top: 2em; font-size: 24px; color: var(--ink); letter-spacing: -0.03em; line-height: 1.4; }
.ad-prose ul, .ad-prose ol { padding-left: 1.3em; }
.ad-prose li + li { margin-top: .4em; }
.ad-prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--t-primary); color: var(--ink); font-weight: 600; }
.ad-article-head { max-width: 820px; }
.ad-faq-group { margin-top: 48px; scroll-margin-top: 100px; }
.ad-faq-group:first-of-type { margin-top: 32px; }

/* 신청서: 선택 상자, 회사 정보 */
.ad-choices { display: grid; gap: 10px; }
.ad-choice { display: flex !important; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--t-grey50); box-shadow: inset 0 0 0 1px var(--t-grey200); cursor: pointer; margin: 0 !important; font-weight: 500 !important; }
.ad-choice input { margin-top: 4px; accent-color: var(--t-primary); width: 18px; height: 18px; flex: none; }
.ad-choice small { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.ad-choice:has(input:checked) { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--t-primary); }
.ad-choice[hidden] { display: none !important; }
.ad-pinfo { margin-top: 14px; padding: 18px 20px; border-radius: 16px; background: var(--t-grey50); font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.ad-pinfo b { color: var(--ink); }
.ad-company[hidden] { display: none; }
.ad-company { margin-top: 20px; }

/* 예약: 날짜 칩 */
.ad-dates { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.ad-dates::-webkit-scrollbar { display: none; }
.ad-date {
  flex: none; display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 12px 8px; border: 0; border-radius: 16px;
  background: var(--t-grey100); color: var(--ink-2); font: inherit; cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.ad-date small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ad-date b { font-size: 20px; letter-spacing: -0.02em; }
.ad-date.sat small { color: #2459b8; }
.ad-date[aria-pressed="true"] { background: var(--t-primary); color: #fff; }
.ad-date[aria-pressed="true"] small { color: #d6f0ed; }
.ad-date:active { transform: scale(.95); }

/* 관리자 */
.ad-admin { min-width: 1080px; font-size: 14px; }
.ad-admin td { padding: 8px; }
.ad-admin .field { padding: 8px 10px; font-size: 14px; border-radius: 10px; min-height: 0; }
.ad-admin input[type="number"] { width: 90px; }
.ad-admin button { border: 0; background: var(--t-grey100); border-radius: 10px; width: 36px; height: 36px; cursor: pointer; }

/* ---------- 3. 토스식 단계형 폼 ---------- */
.t-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.t-head[hidden] { display: none; }
.t-progress { flex: 1; height: 4px; border-radius: 4px; background: var(--t-grey200); overflow: hidden; }
.t-progress i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--t-primary); transition: width .45s var(--ease); }
.t-step-count { font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.t-step { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
.t-q { display: block; padding: 0; margin: 0 0 20px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.4; color: var(--ink); outline: none; }
.t-sub { margin: -10px 0 20px; color: var(--muted); font-size: 15px; }
.t-label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.t-funnel.is-stepped .t-step { margin-bottom: 0; }
.t-funnel.is-stepped .t-step:not(.on) { display: none; }
.t-funnel.is-stepped .t-step.on { animation: tIn .35s var(--ease); }
@keyframes tIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* 단계형 폼 안의 단일 선택은 큰 목록 버튼으로 */
.type-pills.t-list { flex-direction: column; flex-wrap: nowrap; gap: 8px; }
.t-list label {
  width: 100%; min-height: 64px; padding: 14px 52px 14px 20px; justify-content: flex-start; position: relative;
  border-radius: 16px; background: var(--t-grey50); box-shadow: inset 0 0 0 1px var(--t-grey200); font-size: 17px; font-weight: 600; line-height: 1.4;
}
.t-list label small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--muted); }
.t-list label::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--t-grey300);
}
.t-list input:checked + label { background: var(--accent-soft); color: var(--ink); box-shadow: inset 0 0 0 2px var(--t-primary); }
.t-list input:checked + label small { color: var(--ink-2); }
.t-list input:checked + label::after {
  box-shadow: none;
  background: var(--t-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5'/%3E%3C/svg%3E") center no-repeat;
}

.t-summary { margin: 0 0 20px; padding: 6px 20px; border-radius: 16px; background: var(--t-grey50); display: grid; }
.t-summary:empty { display: none; }
.t-summary div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--t-grey200); font-size: 15px; }
.t-summary div:last-child { border-bottom: 0; }
.t-summary dt { color: var(--muted); font-weight: 600; }
.t-summary dd { margin: 0; color: var(--ink); font-weight: 600; word-break: keep-all; }

.t-nav { display: flex; gap: 8px; margin-top: 32px; }
.t-nav .btn { flex: 1; }
.t-nav .t-prev { flex: 0 0 auto; padding: 0 22px; }
.t-nav [hidden] { display: none; }

@media (max-width: 640px) {
  .t-funnel.is-stepped .t-nav {
    position: sticky; bottom: 0; z-index: 5; margin: 24px -24px -24px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
    background: linear-gradient(rgba(255,255,255,0), #fff 28%);
  }
  body:has(.t-funnel.is-stepped) .mobile-sticky,
  body:has(.t-funnel.is-stepped) .kakao-fab { display: none; }
}

/* 상단 소개와 본문 사이 여백을 줄여 핵심 내용이 먼저 보이게 */
.page-hero + section.section.tight { padding-top: 48px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .contact-grid > .ad-side { order: 2; }
  .ad-aud, .progs.ad-four-col, .ad-models, .ad-experts, .ad-insights, .effects.ad-four { grid-template-columns: 1fr 1fr; }
  .ad-steps { grid-template-columns: repeat(3, 1fr); }
  .ad-selects { grid-template-columns: 1fr 1fr; }
  .formats.ad-five { grid-template-columns: repeat(3, 1fr); }
  .ad-course { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .ad-aud, .progs.ad-four-col, .ad-models, .ad-experts, .ad-insights, .effects.ad-four, .ad-steps, .ad-selects, .formats.ad-five, .ad-buymodes { grid-template-columns: 1fr; }
  .ad-filter { padding: 18px; }
  .ad-course { padding: 24px; }
  .ad-cohort { flex-direction: column; align-items: stretch; }
  .ad-prose { font-size: 17px; }
  .t-summary div { grid-template-columns: 96px 1fr; }
  .form { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .t-funnel.is-stepped .t-step.on { animation: none; }
}
