/* ── the moment · 흑백 미니멀 (else.so 톤, 더 큰 임팩트) ───────────────── */
:root {
  --ink: #0b0b0b;
  --ink-2: #3a3a3a;
  --muted: #767676;        /* AA on white */
  --line: #e9e9e9;
  --bg: #ffffff;
  --bg-2: #f5f5f4;
  --accent: #3182f6;       /* 토스 블루 — 메인 포인트 컬러 */
  --accent-press: #1b64da;
  --on-accent: #ffffff;
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', system-ui, sans-serif;
  --s--1: clamp(0.8rem, 0.77rem + 0.12vw, 0.88rem);
  --s-0: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --s-1: clamp(1.15rem, 1.0rem + 0.6vw, 1.45rem);
  --s-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --s-3: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --s-4: clamp(3rem, 1.8rem + 6vw, 7rem);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--s-0); line-height: 1.6;
  letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  word-break: keep-all; overflow-wrap: break-word;   /* 한글 단어 단위 줄바꿈(깨짐 방지) */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; word-break: keep-all; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.eyebrow { font-size: var(--s--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.lead { color: var(--ink-2); font-size: var(--s-1); max-width: 56ch; }
.muted { color: var(--muted); }
.big-num { font-size: var(--s-4); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { font-weight: 800; font-size: var(--s-1); letter-spacing: -0.04em; }
.nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); font-size: var(--s--1); font-weight: 500; }
.nav a { color: var(--ink-2); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); }
/* nav 안의 버튼은 .nav a 색 규칙(특정도)이 이기지 않도록 명시 */
.nav a.btn--primary { color: var(--on-accent); }
.nav a.btn--primary:hover { color: var(--on-accent); }
.nav a.btn--ghost { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: var(--s--1); border: 1.5px solid var(--ink); transition: transform .12s, background .15s, color .15s; cursor: pointer; }
.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--primary:hover { transform: translateY(-1px); background: var(--accent-press); border-color: var(--accent-press); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--lg { padding: 16px 30px; font-size: var(--s-0); }

/* hero */
.hero { padding-block: clamp(48px, 9vw, 120px) clamp(36px, 6vw, 72px); }
.hero h1 { font-size: var(--s-3); white-space: pre-line; }
.hero .lead { margin-top: 22px; }
.hero .actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

/* hero — XL 임팩트 (업종 이해 · 진정성) */
.hero--xl { text-align: center; padding-block: clamp(64px, 11vw, 156px) clamp(28px, 4vw, 52px); }
.hero--xl h1 { font-size: var(--s-4); line-height: 0.96; letter-spacing: -0.05em; white-space: normal; }
.hero--xl .actions { justify-content: center; margin-top: 36px; }
.hero__lead { max-width: 46ch; margin: clamp(20px, 3vw, 30px) auto 0; color: var(--ink-2); font-size: var(--s-1); line-height: 1.55; }

/* category carousel — toss tmc-25 트랙 톤 */
.cat { margin-bottom: clamp(40px, 6vw, 76px); }
.cat__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cat__title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cat__title h3 { font-size: var(--s-1); letter-spacing: -0.035em; }
.cat__sub { color: var(--muted); font-size: var(--s--1); font-weight: 600; font-variant-numeric: tabular-nums; }
.cat__track { display: flex; gap: clamp(10px, 1.4vw, 16px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 4px; }
.cat__track::-webkit-scrollbar { display: none; }
.cat__track .card { flex: 0 0 clamp(158px, 44vw, 224px); scroll-snap-align: start; }
.cat__track .mcard { flex: 0 0 clamp(220px, 64vw, 300px); scroll-snap-align: start; }

/* mockup-forward card — 9:16 목업 native 비율. cover로 꽉 채움(9:16은 통째, 그 외는 채워 크롭) */
.mcard { display: block; border-radius: 16px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); transition: transform .18s, box-shadow .18s; }
.mcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(0,0,0,.5); }
.mcard__media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-2); }
.mcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease, transform .55s ease; }
/* 기본=2번째 목업(--b가 위에서 덮음), 호버 시 --b 사라져 1번째 목업(--a) 노출 */
.mcard__img--b { opacity: 1; }
.mcard:hover .mcard__img--b { opacity: 0; }
.mcard:hover .mcard__img { transform: scale(1.05); }
.mcard__body { padding: 14px 16px 17px; background: var(--bg); border-top: 1px solid var(--line); }
/* explore/find 그리드에서 찜 버튼 오버레이용 래퍼 */
.mcard-wrap { position: relative; }
.mcard__meta { display: block; font-size: var(--s--1); color: var(--muted); font-weight: 500; }
.mcard__title { display: block; font-size: var(--s-0); font-weight: 700; margin-top: 3px; letter-spacing: -0.02em; line-height: 1.3; }
.cat__foot { align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.cat__arrow { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; display: grid; place-items: center; font-size: 20px; line-height: 1; color: var(--ink); transition: border-color .14s, background .14s, opacity .14s; }
.cat__arrow:hover { border-color: var(--ink); background: var(--bg-2); }
.cat__arrow[disabled] { opacity: 0.28; cursor: default; }
.cat__arrow[disabled]:hover { border-color: var(--line); background: var(--bg); }
.cat__dots { display: flex; align-items: center; gap: 7px; }
.cat__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--line); border: none; padding: 0; cursor: pointer; transition: background .16s, width .16s; }
.cat__dot[aria-current='true'] { background: var(--ink); width: 22px; }

/* section head */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: var(--s-2); }

/* industry chips/grid */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ind-grid a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; transition: border-color .14s, background .14s; }
.ind-grid a:hover { border-color: var(--ink); background: var(--bg-2); }
.ind-grid .n { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { font-size: var(--s--1); font-weight: 500; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: var(--bg); transition: all .14s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current='page'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip .n { color: var(--muted); margin-left: 5px; font-variant-numeric: tabular-nums; }
.chip[aria-current='page'] .n { color: inherit; opacity: .7; }

/* work grid / cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(10px, 1.6vw, 18px); }

/* 와이드 리스트 — 가로폭 꽉, 다열, 넉넉한 여백 (explore/업종/find). 모바일 2열 */
.wrap-wide { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: var(--gut); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(150px, 42vw, 248px)), 1fr)); gap: clamp(14px, 1.9vw, 30px); }
.card { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .16s, box-shadow .16s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -20px rgba(0,0,0,.4); }
.card__media { aspect-ratio: 1; background: var(--bg-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 12px 14px 15px; }
.card__meta { font-size: var(--s--1); color: var(--muted); font-weight: 500; }
.card__title { font-size: var(--s-0); font-weight: 700; margin-top: 3px; letter-spacing: -0.02em; line-height: 1.3; }

/* detail */
.detail-head { display: grid; gap: 28px; padding-block: clamp(24px,5vw,56px); }
@media (min-width: 880px) { .detail-head { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; } }
.detail-hero { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; }
.detail-hero img { width: 100%; height: 100%; object-fit: contain; }
.detail-title { font-size: var(--s-2); margin: 12px 0 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.fact dt { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fact dd { margin: 0; font-weight: 700; }
.swatches { display: flex; gap: 6px; }
.swatch { width: 26px; height: 26px; border-radius: 6px; border: 1px solid rgba(0,0,0,.1); }
.gallery { display: grid; gap: clamp(20px,3vw,44px); grid-template-columns: 1fr; max-width: 1120px; margin: 22px auto 0; background: var(--gallery-bg, #f5f4f1); border-radius: 24px; padding: clamp(22px,4.5vw,64px); }
.gallery-item { margin: 0; display: flex; justify-content: center; }
.gallery-item img { width: 100%; max-width: 880px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
@media (max-width: 640px) {
  .gallery { background: none; border-radius: 0; padding: 0; gap: 10px; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
  .gallery-item img { border-radius: 0; border: none; max-width: 100%; }
}
.nav-arrows { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.nav-arrows a { flex: 1; min-width: 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .14s; }
.nav-arrows a:hover { border-color: var(--ink); }
.nav-arrows .nav-next { text-align: right; }
.nav-arrows .nav-dir { display: block; font-weight: 700; font-size: var(--s-0); }
.nav-arrows .nav-name { display: block; margin-top: 4px; color: var(--ink-2); font-size: var(--s--1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* CTA band */
.cta { background: var(--ink); color: var(--bg); border-radius: 18px; padding: clamp(32px,6vw,72px); text-align: center; }
.cta h2 { font-size: var(--s-2); margin-bottom: 12px; }
.cta p { color: color-mix(in srgb, var(--bg) 72%, transparent); margin-bottom: 26px; }
.cta .btn--primary { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta .btn--ghost { background: transparent; color: var(--bg); border-color: var(--bg); }
.cta .btn--ghost:hover { background: var(--bg); color: var(--ink); }

/* footer — 멀티컬럼 (업종·서비스·회사) */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 80px) 40px; margin-top: clamp(48px, 8vw, 96px); color: var(--ink-2); font-size: var(--s--1); background: var(--bg-2); }
.site-footer__in { display: grid; gap: clamp(24px, 3vw, 48px); grid-template-columns: 1.5fr repeat(4, 1fr); align-items: start; }
.site-footer__col .more { font-weight: 700; color: var(--ink); }
.site-footer__brand .brand { font-size: var(--s-1); }
.site-footer__tag { margin: 12px 0 18px; color: var(--muted); line-height: 1.6; }
.site-footer__h { font-weight: 700; color: var(--ink); margin-bottom: 14px; font-size: var(--s-0); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__col a { color: var(--ink-2); }
.site-footer__col a:hover { color: var(--ink); }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(32px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 860px) { .site-footer__in { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__in { grid-template-columns: 1fr; } }

/* pager */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 44px; }

/* taste finder — 가운데 정렬 컬럼 (좌측 쏠림 방지) */
.finder { max-width: min(1040px, 100%); margin-inline: auto; padding-inline: var(--gut); position: relative; }
.finder .step { margin-block: clamp(20px, 4vw, 40px); scroll-margin-top: 84px; }
.finder > .eyebrow { font-size: var(--s-0); letter-spacing: .14em; }
.step__h { font-size: var(--s-3); line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 10px; }
.step__sub { font-size: var(--s-0); color: var(--muted); margin: 0; }
.step-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 옵션 버튼 */
.opt-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.opt { padding: 15px 24px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; font-size: var(--s-1); cursor: pointer; background: var(--bg); transition: all .12s; }
.opt:hover { border-color: var(--ink); }
.opt.sel { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* 이름·소개 입력 */
.field { display: grid; gap: 12px; margin-top: 28px; max-width: 560px; }
.field input { width: 100%; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 14px; font-size: var(--s-1); font-family: inherit; color: var(--ink); background: var(--bg); transition: border-color .14s; }
.field input::placeholder { color: var(--muted); font-size: var(--s-0); }
.field input:focus { outline: none; border-color: var(--ink); }

/* 시드 — 선택 굵게 + 미선택 디밍 */
.seed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(140px, 15vw, 190px)),1fr)); gap: clamp(12px,1.4vw,18px); margin-top: 22px; }
/* 시드 그리드만 좌우 풀폭 (나머지는 가운데 컬럼) */
#s4 .seed-grid { width: 100vw; margin-left: calc(50% - 50vw); margin-top: clamp(28px, 4vw, 48px); padding-inline: var(--gut); }
.seed { border: 2px solid var(--line); border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--bg-2); aspect-ratio: 9 / 16; position: relative; transition: border-color .14s, opacity .14s, transform .12s; padding: 0; }
.seed img { width: 100%; height: 100%; object-fit: cover; }
.seed:hover { transform: translateY(-2px); }
.seed__check { display: none; }
/* 선택 = 토스 블루 포인트 (딤 없음 — 복수 선택) */
.seed.sel { border-color: var(--accent); border-width: 3px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 14px 32px -12px rgba(0,0,0,.4); }
.seed.sel img { transform: scale(1.04); transition: transform .2s; }
.seed .rank { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1.05rem; font-weight: 800; box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--accent) 60%, transparent); }

/* 타이핑 커서 */
.type-cursor::after { content: '▍'; margin-left: 2px; animation: blink 1s step-end infinite; color: var(--muted); font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }

/* 결과 — 가벼운 분석 인터랙션 → 본문 펼침 */
.diag { padding-block: clamp(24px, 5vw, 48px); }
.analyzing { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 360px; }
.analyzing.done { display: none; }
.analyzing__txt { font-size: var(--s-1); font-weight: 700; color: var(--ink); }
.analyzing__txt::after { content: ''; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { 0%{content:''} 25%{content:'·'} 50%{content:'··'} 75%{content:'···'} }
.analyzing__bar { height: 4px; border-radius: 999px; background: var(--bg-2); overflow: hidden; position: relative; }
.analyzing__bar::before { content: ''; position: absolute; inset: 0; width: 40%; border-radius: 999px; background: var(--ink); animation: sweep 1.1s ease-in-out infinite; }
@keyframes sweep { 0%{transform:translateX(-110%)} 100%{transform:translateX(310%)} }
.diag-body { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.diag-body.in { opacity: 1; transform: none; pointer-events: auto; }

/* 진단 verdict — 에디토리얼 판정(표 아님) */
.verdict { padding-block: clamp(20px, 5vw, 44px); }
.verdict__sw { display: flex; gap: 8px; margin-bottom: 18px; }
.verdict__sw span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.verdict__head { font-size: var(--s-3); line-height: 1.12; letter-spacing: -0.04em; }
.verdict__head em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 64%, color-mix(in srgb, var(--accent) 16%, transparent) 0); padding: 0 2px; }
.verdict__why { margin: 22px 0 0; font-size: var(--s-1); line-height: 1.7; color: var(--ink-2); max-width: 60ch; }
.verdict__why b { color: var(--ink); }
.verdict__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.verdict__tags span { font-size: var(--s--1); font-weight: 600; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }

.sec-h { font-size: var(--s-2); letter-spacing: -0.03em; margin: clamp(44px, 7vw, 76px) 0 6px; }
.sec-sub { color: var(--muted); font-size: var(--s--1); margin: 0 0 18px; }

/* 추천 카드 — 번호 배지 + 클릭 시 모달 */
.recs-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .recs-grid { grid-template-columns: 1fr 1fr; } }
.mcard.rec { width: 100%; cursor: pointer; font: inherit; text-align: left; padding: 0; }
.mcard.rec .mcard__media { position: relative; }
.rec__no { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: var(--s--1); font-weight: 700; color: var(--ink); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(4px); border-radius: 999px; padding: 5px 12px; }
.mcard__style { padding: 12px 15px 15px; background: var(--bg); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mcard__chip { font-size: var(--s--1); font-weight: 600; color: var(--ink-2); }
.rec__more { font-size: var(--s--1); font-weight: 600; color: var(--muted); }
.mcard.rec:hover .rec__more { color: var(--ink); }

/* 작업 노트 마퀴 (실데이터: 디자인 의도) */
.notes { margin-top: clamp(44px, 7vw, 76px); }
.notes__head { font-size: var(--s-1); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.notes__row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent); }
.notes__row::-webkit-scrollbar { display: none; }
.note-card { flex: 0 0 clamp(280px, 64vw, 340px); scroll-snap-align: start; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.note-card__head { display: flex; align-items: center; gap: 10px; }
.note-card__av { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; flex: none; font-size: var(--s-0); }
.note-card__id b { display: block; font-size: var(--s-0); line-height: 1.2; }
.note-card__id span { font-size: var(--s--1); color: var(--muted); }
.note-card__msg { margin: 14px 0; font-size: var(--s-0); line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.note-card__cover { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--bg-2); border-radius: 12px; margin-top: auto; padding: 10px; }

/* 페인포인트 → 확신 */
.assure { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr)); margin: 26px 0; }
.assure__item { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.assure__q { font-weight: 800; font-size: var(--s-0); color: var(--ink); }
.assure__a { margin-top: 8px; font-size: var(--s--1); line-height: 1.55; color: var(--ink-2); }

/* 추천 상세 모달 — 헤더 + 큰 이미지(좌, 스크롤) + 정보(우) */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(12px, 3vw, 36px); }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.modal__panel { position: relative; z-index: 1; background: var(--bg); border-radius: 22px; max-width: 1040px; width: 100%; max-height: 92vh; overflow: hidden; display: flex; flex-direction: column; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(18px, 2.5vw, 26px); border-bottom: 1px solid var(--line); flex: none; }
.modal__cat { font-weight: 700; font-size: var(--s-0); }
.modal__x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: 15px; flex: none; }
.modal__x:hover { background: var(--bg-2); }
.modal__body { display: grid; grid-template-columns: 1.5fr 1fr; min-height: 0; flex: 1; }
.recs-more { text-align: center; margin-top: 22px; }
@media (max-width: 760px) { .modal__body { grid-template-columns: 1fr; } }
.modal__media { background: var(--bg-2); padding: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.modal__media img { width: 100%; border-radius: 14px; display: block; }
.modal__info { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; border-left: 1px solid var(--line); overflow-y: auto; }
@media (max-width: 760px) { .modal__info { border-left: none; border-top: 1px solid var(--line); } .modal__media { max-height: 52vh; } }
.modal__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.modal__chips span { font-size: var(--s--1); font-weight: 700; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }
.modal__note { margin: 18px 0 28px; font-size: var(--s-0); line-height: 1.75; color: var(--ink-2); }
.modal__foot { margin-top: auto; }
.modal__foot .btn { width: 100%; justify-content: center; }
.modal__hint { text-align: center; color: var(--muted); font-size: var(--s--1); margin: 12px 0 0; }

/* 신뢰 band (실데이터) */
.proof { margin-top: clamp(28px, 5vw, 44px); text-align: center; font-size: var(--s-1); color: var(--ink-2); padding: clamp(20px,3vw,28px); background: var(--bg-2); border-radius: 16px; }
.proof b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* 체크아웃 — 다크 프리미엄 밴드 (감정 후킹 + 상품 2택) */
.checkout { margin-top: clamp(44px, 8vw, 92px); border-radius: 28px; padding: clamp(36px, 6vw, 76px) clamp(28px, 5vw, 64px); background: var(--ink); color: var(--bg); text-align: center; }
.checkout__h { font-size: var(--s-3); color: #fff; line-height: 1.14; letter-spacing: -0.04em; }
.checkout__sub { color: color-mix(in srgb, #fff 70%, transparent); margin: 18px auto 0; max-width: 46ch; font-size: var(--s-0); line-height: 1.65; }
.plan-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr)); margin: clamp(28px, 4vw, 40px) auto; max-width: 640px; text-align: left; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; text-align: left; border: 1.5px solid var(--line); border-radius: 18px; padding: 24px; background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color .14s, box-shadow .14s, transform .12s; }
.plan:hover { border-color: var(--ink); transform: translateY(-2px); }
.plan.sel { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.plan__name { font-weight: 800; font-size: var(--s-1); color: var(--ink); }
.plan__tag { font-size: var(--s--1); color: var(--muted); font-weight: 600; margin-top: 2px; }
.plan__price { font-weight: 800; font-size: var(--s-2); margin-top: 12px; color: var(--ink); letter-spacing: -0.02em; }
.plan__feat { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.plan__feat li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: var(--s--1); line-height: 1.45; }
.plan__feat li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--accent); }
.plan__badge { position: absolute; top: -12px; left: 22px; font-size: .72rem; font-weight: 700; color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: 4px 13px; }
.checkout__go { width: 100%; max-width: 460px; margin-inline: auto; justify-content: center; }
.checkout__fine { color: color-mix(in srgb, #fff 52%, transparent); font-size: var(--s--1); margin: 16px 0 0; text-align: center; }

/* 서비스 안내 */
.svc-notes { margin-top: clamp(28px, 5vw, 44px); display: grid; gap: 12px; }
.svc-note { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: var(--s--1); line-height: 1.6; }
.svc-note__i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--ink); }
.svc-note b { color: var(--ink); }

/* 재진단 */
.redo-bar { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(36px, 6vw, 60px); padding-top: clamp(28px, 5vw, 44px); border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--s-0); }

/* 시드 단계 플로팅 액션 바 (Toss풍 하단 바) */
.float-wrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; padding: 18px var(--gut) clamp(18px, 3vw, 30px); pointer-events: none; background: linear-gradient(to top, var(--bg) 42%, transparent); }
.float-wrap { gap: 10px; }
.float-back { pointer-events: auto; background: var(--bg); }
.float-cta { pointer-events: auto; min-width: 240px; justify-content: center; font-size: var(--s-0); padding: 18px 34px; box-shadow: 0 18px 44px -12px color-mix(in srgb, var(--accent) 55%, rgba(0,0,0,.4)); }
.float-cta:hover { transform: translateY(-2px); }
#s4 { padding-bottom: 120px; }
.fav-btn { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); border: none; cursor: pointer; font-size: 16px; display: grid; place-items: center; }
.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ── 반응형 ─────────────────────────────────────────────── */
@media (max-width: 700px) {
  .section { padding-block: clamp(40px, 10vw, 64px); }
  .section-head { margin-bottom: 20px; }
  .cat { margin-bottom: clamp(32px, 9vw, 48px); }
  .detail-title { font-size: var(--s-1); }
}
@media (max-width: 560px) {
  .nav { gap: 14px; font-size: .82rem; }
  .nav .btn--primary { padding: 8px 14px !important; }
  .hero--xl .actions, .hero .actions { flex-direction: column; align-items: center; }
  .hero--xl .actions .btn, .hero .actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}
@media (max-width: 460px) {
  /* 좁은 화면에서 헤더 넘침 방지 — 소개는 숨김(전체작업·검색·취향찾기 유지) */
  .nav a[href="/about"] { display: none; }
}

/* ── MOMENTUS STUDIO 대시보드 보강 (Mark 테마 위에) ───────────────── */
.studio-bar { position: sticky; top: 60px; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 12px var(--gut); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.studio-bar .grp { display: flex; gap: 7px; align-items: center; }
.studio-bar .lbl { font-size: var(--s--1); color: var(--muted); font-weight: 600; }
.eg-head { margin: clamp(36px,5vw,60px) 0 4px; }
.eg-head h2 { font-size: var(--s-2); letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.eg-head .ref { font-size: var(--s--1); font-weight: 600; color: var(--accent); background: color-mix(in srgb,var(--accent) 10%,transparent); padding: 3px 10px; border-radius: 999px; }
.eg-head .cnt { font-size: var(--s-0); color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.eg-head p { color: var(--muted); font-size: var(--s--1); margin: 6px 0 16px; }
.dcard__media { aspect-ratio: 1; background: var(--bg-2); cursor: zoom-in; overflow: hidden; }
.dcard__media img { width: 100%; height: 100%; object-fit: contain; }
.dcard__body { padding: 12px 14px 14px; }
.dcard__name { font-weight: 800; font-size: var(--s-0); letter-spacing: -0.02em; }
.dcard__fam { font-size: var(--s--1); color: var(--muted); margin: 1px 0 9px; }
.dcard select { width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; font: 600 var(--s--1)/1 var(--font); color: var(--ink); background: var(--bg); margin-bottom: 6px; cursor: pointer; }
.dcard select:hover { border-color: var(--ink); }
.tag { font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; display: inline-block; margin: 3px 4px 0 0; }
.tag--dupe { } .tag--dirty { background: #fef3c7; color: #b45309; }
.tag--st { color: #fff; }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: clamp(16px,2vw,24px); overflow-y: auto; }
.modal__grid figure { margin: 0; }
.modal__grid figcaption { font-size: var(--s--1); color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.modal__grid img { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
