/* ============================================================
   줍줍 디자인 시스템 v2
   KakaoBank-inspired · 무채색 베이스 + 블루 1포인트
   원리: 페이지의 대부분은 무채색. 색은 일러스트 블록 + 블루 액션에만.
   ------------------------------------------------------------
   TOKENS
   - 폰트: Pretendard
   - 그레이 램프: g10 #f6f6f6 → g100 #000
   - 포인트: 블루 #2563eb (액션/링크) · 코인 로고 골드 #f7b500
   - 라운드: 카드 20 · 인풋 14 · 알약 999
   - 타이포: 대제목 28/700 · 카드 20/600 · 본문 16/400 · 메타 14/600
   ============================================================ */

:root {
  /* base — ZOOP Design System (KakaoBank Reference) */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fafafa;   /* Surface Secondary */
  --surface-3: #f6f7f8;   /* Surface Tertiary */
  /* gray ramp */
  --g10: #f6f7f8; --g20: #e8e8e8; --g30: #c7c7cc; --g40: #999999;
  --g50: #888888; --g60: #666666; --g70: #444444; --g80: #333333;
  --g90: #222222; --g100: #000000;
  /* semantic ink */
  --ink: #111111;
  --ink-soft: #555555;
  --ink-faint: #8e8e93;
  --disabled: #c7c7cc;
  /* blue point — 일렉트릭 코발트 (힙·쨍) */
  --brand: #0052ff;
  --brand-deep: #0040cc;
  --brand-soft: #e8eeff;
  /* logo gold (브랜드 마크 전용) */
  --gold: #f7b500; --gold-deep: #e09500; --gold-soft: #fff4d6;
  /* money accent (계산 결과 강조) */
  --accent: #0f9d76; --accent-soft: #e7f5ef;
  /* lines */
  --line: #e8e8e8; --line-strong: #dddddd; --divider: #f3f4f6;
  /* misc */
  --bg-soft: #f6f7f8;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.05);
  --shadow: 0 10px 28px rgba(0,0,0,.08);
  /* radius: Small 8 · Medium 12(Input/Chip) · Large 16(Card) · XL 24 · Pill 999 */
  --radius: 16px; --radius-sm: 12px; --radius-xl: 24px; --pill: 999px;
  /* Layout — 카카오뱅크 블로그 실측 리듬에 맞춤 (콘텐츠 1185 · 거터 120 · 섹션 96) */
  --maxw: 1425px;
  --gutter: 120px;
  --section-y: 96px;
  --grid-col-gap: 24px;
  --grid-row-gap: 72px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

/* 헤드라인 디스플레이 폰트 — 문경감홍사과체 (무료, 눈누 CDN) */
@font-face {
  font-family: 'MungyeongGamhongApple';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2410-2@1.0/Mungyeong-Gamhong-Apple.woff2') format('woff2');
  font-weight: normal; font-style: normal; font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  line-height: 1.6; -webkit-font-smoothing: antialiased; letter-spacing: -0.018em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px)  { .wrap { padding: 0 40px; } }
@media (min-width: 1280px) { .wrap { padding: 0 var(--gutter); } }
/* 여백 리듬도 화면 폭에 따라 단계적으로 (카뱅: 데스크탑 100 → 태블릿 50) */
@media (max-width: 1279px) { :root { --section-y: 64px; --grid-row-gap: 56px; } }
@media (max-width: 720px)  { :root { --section-y: 48px; --grid-row-gap: 40px; --grid-col-gap: 18px; } }

/* editorial helpers */
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--brand); }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.22rem; letter-spacing: -0.04em; }
.brand .logo {
  width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe692, var(--gold) 56%, var(--gold-deep));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.45), 0 3px 8px rgba(200,140,0,.35);
  display: grid; place-items: center; color: #7a5300; font-size: 16px; font-weight: 900;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.brand:hover .logo { transform: translateY(-3px) rotate(-10deg); }
.brand-logo { height: 56px; width: auto; display: block; transition: transform .22s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .brand-logo { transform: translateY(-2px); }
.site-footer .brand-logo { height: 58px; }

/* pill nav (카뱅 스타일) */
.pill-nav { display: inline-flex; background: var(--g10); border-radius: var(--pill); padding: 4px; }
.pill-nav a { padding: 9px 18px; border-radius: var(--pill); font-size: .9rem; font-weight: 600; color: var(--g60); transition: all .18s ease; }
.pill-nav a:hover { color: var(--ink); }
.pill-nav a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* 이전 텍스트형 네비(내부 페이지 호환) */
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { padding: 9px 14px; border-radius: var(--pill); font-size: .9rem; font-weight: 600; color: var(--g60); transition: all .16s ease; }
.nav-links a:hover { background: var(--g10); color: var(--ink); }
.nav-links a.cta { background: var(--brand); color: #fff; }
.nav-links a.cta:hover { background: var(--brand-deep); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--g10); display: grid; place-items: center; cursor: pointer; font-size: 17px; color: var(--ink); transition: background .16s; }
.icon-btn:hover { background: var(--g20); }

/* ---------- Buttons (알약형) ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: var(--pill);
  font-weight: 700; font-size: 1rem; font-family: inherit; cursor: pointer; border: 0; transition: transform .12s, background .16s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-dark { background: var(--g100); color: #fff; }
.btn-dark:hover { background: var(--g80); }
/* Size=Small — 헤더 CTA 등 밀도 높은 자리 (디자인 시스템 Button Small과 동일) */
.btn-sm { padding: 12px 20px; font-size: .94rem; }

/* ---------- Section rhythm ---------- */
section { padding: var(--section-y) 0; }
.section-lg { padding: var(--section-y) 0; }
.section-head { margin-bottom: 32px; }
.section-title { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; margin-top: 8px; line-height: 1.3; }
.section-sub { color: var(--ink-soft); margin-top: 8px; max-width: 56ch; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.row-head h2 { font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.03em; }
.row-head a { color: var(--ink-faint); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.row-head a:hover { color: var(--brand); }

/* 브레드크럼 바로 아래 오는 첫 섹션 — 위 여백만 좁힘 */
.section-first { padding-top: 32px; }
/* 히어로처럼 자체 여백을 가진 섹션 */
.section-flush { padding: 0; }
/* 안내 문구 박스 (진단 플로우 팁) */
.hint-box {
  margin-top: 12px; background: var(--surface-3); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: .8rem; color: var(--ink-soft);
}
/* 진단 위저드 상단 헤더 */
.wizard-head { text-align: left; padding-top: 32px; }
/* 배지형 아이브로 (진단 페이지 상단) */
.eyebrow-badge {
  display: inline-block; font-size: .78rem; font-weight: 700;
  color: var(--brand-deep); background: var(--brand-soft);
  padding: 6px 14px; border-radius: var(--pill);
}

/* ---------- Hero (내부 페이지 상단용, 무채색) ---------- */
.hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.hero .eyebrow { margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.045em; max-width: 16ch; }
.hero h1 .hl { color: var(--brand); }
.hero p { margin-top: 20px; max-width: 52ch; color: var(--ink-soft); font-size: 1.08rem; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 30px; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-meta .m b { display: block; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.hero-meta .m span { font-size: .84rem; color: var(--ink-faint); }

/* ---------- Vivid thumbnail (일러스트 자리) ---------- */
.thumb { border-radius: var(--radius); aspect-ratio: 16/11; position: relative; overflow: hidden;
  display: grid; place-items: center; text-align: center; transition: transform .22s ease; }
.thumb .ph-emoji { font-size: clamp(48px, 9vw, 84px); filter: drop-shadow(0 8px 16px rgba(0,0,0,.12)); }
.thumb .ph-word { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; letter-spacing: -0.03em; color: #22315e; }
/* "일러스트 자리" 칩 — 내부 작업용 표시라 방문자에게 숨김. 일러스트 확정되면 마크업째 제거할 것 */
.thumb .ph-tag { display: none; }
a:hover .thumb { transform: translateY(-4px); }
/* Illustration tint palette — 저채도 파스텔, 플랫 (ZOOP DS 5.1) */
.c-blue   { background: #dce8ff; }  /* Blue 200 */
.c-cyan   { background: #eef4ff; }  /* Blue 100 */
.c-mint   { background: #e7fbf8; }  /* Soft Mint */
.c-green  { background: #e8f8ed; }  /* Soft Green */
.c-purple { background: #f2eeff; }  /* Soft Lavender */
.c-coral  { background: #fff1e7; }  /* Soft Peach */
.c-yellow { background: #fff6e3; }  /* Soft Cream (팔레트 확장) */
.c-lavender { background: #f2eeff; } /* Soft Lavender */

/* ---------- 통합 히어로 (Figma 5:1113 — 누워서 1분)
   전체폭 일러스트 배경 + 좌측 텍스트 오버레이.
   기준 프레임 1032×442 → 모든 치수를 cqw(컨테이너 비율)로 환산해 폭에 맞춰 함께 축소. ---------- */
.hero-unified {
  position: relative; width: 100%; aspect-ratio: 1032 / 442;
  container-type: inline-size; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg img { position: absolute; width: 113.12%; height: auto; left: -9.32%; top: 0; max-width: none; }
.hero-copy {
  position: absolute; left: 10.56%; top: 13.12%; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 28px; gap: 2.713cqw;
}
.hero-head { display: flex; flex-direction: column; gap: 6px; gap: 0.581cqw; }
.hero-head .eyebrow2 { font-size: 20px; font-size: 1.938cqw; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.4; }
.hero-head h1 { font-family: 'MungyeongGamhongApple', var(--font); font-weight: 400;
  font-size: 40px; font-size: 3.876cqw; line-height: 1.1; color: var(--ink); letter-spacing: 0; }
.hero-lead { font-size: 24px; font-size: 2.326cqw; line-height: 1.4; color: var(--ink); font-weight: 400; }
.btn-hero { display: inline-flex; align-items: center; background: var(--brand); color: #fff;
  font-weight: 600; font-family: inherit; border-radius: var(--pill); border: 0; cursor: pointer;
  gap: 4px; gap: 0.388cqw;
  font-size: 18px; font-size: 1.744cqw;
  padding: 13px 15px; padding: 1.26cqw 1.453cqw;
  transition: background .16s, transform .12s; }
.btn-hero:hover { background: var(--brand-deep); }
.btn-hero:active { transform: translateY(1px); }
.btn-hero img { display: block; width: 16px; height: 16px; width: 1.55cqw; height: 1.55cqw; }

@media (max-width: 720px) {
  /* 모바일 (Figma 14:3 — iPhone 13 mini 375×416 기준)
     화면 끝까지 꽉 찬 일러스트 위에 텍스트 오버레이. .wrap 좌우 24px 패딩을 뚫고 full-bleed.
     560px를 넘으면 더 커지지 않고 가운데 정렬. */
  .hero-unified {
    --hero-w: min(calc(100% + 48px), 560px);
    width: var(--hero-w); margin-left: calc((100% - var(--hero-w)) / 2); margin-bottom: 10px;
    aspect-ratio: 375 / 416;
  }
  .hero-bg { left: 0; top: 25.24%; width: 120%; height: 74.76%; right: auto; bottom: auto; }
  .hero-bg img { width: 182.49%; height: auto; left: -76.37%; top: 0; }
  .hero-copy { left: 6.93%; top: 11.54%; gap: 20.379px; gap: 5.434cqw; }
  .hero-head { gap: 4.367px; gap: 1.164cqw; }
  .hero-head .eyebrow2 { font-size: 14px; font-size: 3.733cqw; }
  .hero-head h1 { font-size: 28px; font-size: 7.467cqw; }
  .hero-lead { font-size: 16px; font-size: 4.267cqw; }
  .btn-hero {
    background: rgba(0, 82, 255, 0.58);
    gap: 3.627px; gap: 0.967cqw;
    font-size: 18px; font-size: 4.8cqw;
    padding: 11.788px 13.601px; padding: 3.143cqw 3.627cqw;
  }
  .btn-hero:hover { background: rgba(0, 82, 255, 0.72); }
  .btn-hero img { width: 14.508px; height: 14.508px; width: 3.869cqw; height: 3.869cqw; }
}

/* feature (big hero card) */
.feature { display: block; }
.feature .thumb { aspect-ratio: 21/9; }
.feature-meta { margin-top: 22px; max-width: 60ch; }
.feature-meta .date { font-size: .84rem; color: var(--ink-faint); font-weight: 600; }
.feature-meta h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; letter-spacing: -0.035em; margin: 8px 0 10px; line-height: 1.24; }
.feature-meta p { color: var(--ink-soft); font-size: 1.02rem; }

/* post grid */
/* 1행 3개 기본 (콘텐츠 1185 기준 카드 379px) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px var(--grid-col-gap); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }

/* 카드 — 테두리 있는 흰 카드 + 인셋 썸네일 */
.post {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.post:hover { border-color: var(--line-strong); box-shadow: 0 6px 22px rgba(0,0,0,.05); }
.post .thumb { border-radius: 0; margin-bottom: 0; }
a.post:hover .thumb { transform: none; }
/* 썸네일 아래 텍스트 영역 — 래퍼 없이 형제들에 패딩 */
.post .date, .post h3, .post p.excerpt, .post .chips { padding-left: 22px; padding-right: 22px; }
.post .date { display: block; font-size: .875rem; color: var(--ink-faint); font-weight: 600; }
/* 썸네일 바로 뒤 요소가 위 여백을 담당 — .date가 없는 카드(카테고리)도 동일하게 */
.post .thumb + * { padding-top: 20px; }
.post h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.4; margin: 6px 0 0; }
.post p.excerpt { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; margin-top: 10px; }
.post > :last-child { padding-bottom: 24px; }

/* 모바일 — 2열 유지 + 카드 폭(375px에서 약 155px)에 맞춰 스케일 축소.
   .post 규칙과 특이도가 같으므로 반드시 그 아래에 둡니다. */
@media (max-width: 720px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 22px var(--grid-col-gap); }
  .post { border-radius: var(--radius-sm); }
  .post .date, .post h3, .post p.excerpt, .post .chips { padding-left: 13px; padding-right: 13px; }
  .post .date { padding-top: 12px; font-size: .75rem; }
  .post h3 { font-size: 1rem; line-height: 1.38; letter-spacing: -0.03em; margin-top: 3px; }
  .post p.excerpt {
    font-size: .8125rem; line-height: 1.55; margin-top: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .post .chips { gap: 7px; margin-top: 9px; }
  .post .chip { font-size: .75rem; }
  .post > :last-child { padding-bottom: 14px; }
  .post .thumb .ph-emoji { font-size: 34px; filter: none; }
}

/* chips / tags */
/* 해시태그 — 박스 없이 서브텍스트 아래 텍스트로 */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.chip { font-size: .875rem; font-weight: 600; color: var(--ink-faint); background: none; padding: 0; border-radius: 0; }
.chip::before { content: '#'; }
.chip.blue { color: var(--brand); background: none; }

/* ---------- Generic card ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .18s, transform .18s; display: flex; flex-direction: column; gap: 8px; }
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card .ico { font-size: 26px; }
.card h3 { font-size: 1.14rem; font-weight: 800; letter-spacing: -0.02em; }
.card p { color: var(--ink-soft); font-size: .92rem; }
.card .go { margin-top: auto; padding-top: 10px; color: var(--brand); font-weight: 700; font-size: .88rem; }

/* ---------- Trust strip — 색블록 대신 여백+헤어라인 (ZOOP DS 3.1) ---------- */
.trust { background: transparent; border-top: 1px solid var(--divider); border-bottom: 0; }
.trust-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust .t b { display: block; font-weight: 800; margin-bottom: 4px; }
.trust .t span { color: var(--ink-soft); font-size: .9rem; }
/* 타이틀 앞 인라인 아이콘 (이모지 자리를 대체) */
.trust-ill { width: 22px; height: 22px; display: inline-block; vertical-align: -5px; margin-right: 6px; }

/* ---------- Calculator ---------- */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calc-body { padding: 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.field .hint { font-weight: 500; color: var(--ink-faint); font-size: .82rem; margin-left: 6px; }
.field input[type="number"], .field input[type="date"], .field input[type="text"], .field select {
  width: 100%; padding: 12px 16px; font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); }
/* 경계 알림 — "조금만 더 채우면 얼마 더" */
.gap-alert { margin-top: 16px; border: 1px solid var(--brand); border-radius: var(--radius-sm);
  background: var(--brand-soft); padding: 14px 16px; text-align: left; }
.gap-alert b { display: block; color: var(--brand-deep); font-size: .92rem; margin-bottom: 4px; }
.gap-alert span { font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 88px; padding: 12px; border: 1.5px solid var(--line-strong); background: #fff; border-radius: var(--pill); font-family: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--g60); transition: all .15s; }
.seg button.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
.btn-calc { width: 100%; padding: 16px; border: 0; border-radius: var(--pill); background: var(--brand); color: #fff; font-size: 1.05rem; font-weight: 800; font-family: inherit; cursor: pointer; transition: background .15s, transform .12s; }
.btn-calc:hover { background: var(--brand-deep); }
.btn-calc:active { transform: translateY(1px); }
/* 계산 결과 — 컬러 블록 대신 여백과 타이포로 (진단 결과와 동일 규칙) */
.result { background: var(--surface-2); color: var(--ink); padding: 30px; display: none;
  border-top: 1px solid var(--line); text-align: center; }
.result.show { display: block; animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result .rlabel { font-size: .88rem; color: var(--ink-faint); }
.result .rbig { font-size: clamp(2.1rem, 7vw, 3rem); font-weight: 800; letter-spacing: -0.045em;
  color: var(--ink); line-height: 1.05; margin-top: 4px; }
.result .rbig small { font-size: 1rem; font-weight: 600; color: var(--ink-faint); margin-left: 6px; letter-spacing: -0.02em; }
.breakdown { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; text-align: left; }
.breakdown .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .93rem; }
.breakdown .row span:first-child { color: var(--ink-faint); }
.breakdown .row span:last-child { font-weight: 700; color: var(--ink); }
/* 결과 안 강조 링크 (중위소득 계산기 등) */
.result-cta { display: block; text-align: center; background: var(--brand); color: #fff;
  font-weight: 700; padding: 14px; border-radius: var(--pill); margin-top: 14px; }
.result-cta:hover { background: var(--brand-deep); }
.result-note { font-size: .88rem; color: var(--ink-soft); padding: 6px 0; line-height: 1.6; }

/* ---------- 진단 결과 리스트 — youth · senior · diagnose 공통 컴포넌트
   분류는 색이 아니라 텍스트로(태그는 중립 회색). 카드당 강조색은 '금액' 하나만. (ZOOP DS 3.1)
   페이지별 style 블록에 복사해 쓰지 말고 여기를 고치세요. ---------- */
.sec-h { display: flex; align-items: baseline; gap: 8px; margin: 30px 0 4px; }
.sec-h h2, .sec-h h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.sec-h .n { font-size: .82rem; color: var(--ink-faint); }
.sec-sub { font-size: .85rem; color: var(--ink-faint); margin-bottom: 12px; }

.bcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 10px; }
/* 제목 위 · 금액 아래로 세로 배치 (youth·senior·diagnose 공통) */
.bcard .top { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.bcard .nm { font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.45; }
.bcard .amt { font-weight: 700; font-size: 1.12rem; color: var(--brand); letter-spacing: -0.025em; line-height: 1.4; }
/* 금액이 아니라 안내 문구가 들어가는 자리 — 강조색을 쓰지 않는다 */
.bcard .amt.muted { color: var(--ink-faint); font-weight: 600; }

/* ── 결과 카드 접힘/펼침 (youth·senior·diagnose 공통) ─────────────────
   토글은 카드 하단 전폭 바 하나뿐입니다. 펼치면 카드가 1,000px 넘게
   길어지는데, 상단 모서리 버튼이면 접으려고 다시 위로 올라가야 합니다. */
.bcard { position: relative; }
.acc-bar {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 6px;
  margin-top: 14px; padding: 11px; min-height: 44px;   /* 터치 최소 권장 44px */
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--ink-soft);
  font-family: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; transition: all .15s;
}
.acc-bar svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.acc-bar:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.acc-bar .lbl-less { display: none; }
.bcard.open .acc-bar .lbl-more { display: none; }
.bcard.open .acc-bar .lbl-less { display: inline; }
.bcard.open .acc-bar svg { transform: rotate(180deg); }
.bcard .easy { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.bcard.open .easy { display: block; overflow: visible; }
.bcard .acc-body { display: none; }
.bcard.open .acc-body { display: block; animation: pop .25s ease; }

/* 신청 기간 — 상시가 아닌 '기간 한정'은 분류가 아니라 상태이므로 색을 씁니다 */
.bcard .tag.deadline { background: var(--gold-soft); color: var(--ink); font-weight: 700; }
.period-note { margin-top: 9px; font-size: .84rem; color: var(--ink-soft); padding-left: 11px; border-left: 2px solid var(--gold); }
.period-note b { color: var(--ink); font-weight: 700; }

/* 중복 수급 제한 */
.excl-note { margin-top: 9px; font-size: .84rem; color: var(--ink-soft); padding-left: 11px; border-left: 2px solid var(--line-strong); }
.excl-note b { color: var(--ink); font-weight: 700; }

/* 아코디언 본문에서 바로 이동 — 펼쳐야 보이는 층이라 포인트컬러 사용 */
.acc-link {
  display: flex; width: fit-content; align-items: center; gap: 5px;
  margin-top: 14px; padding: 8px 14px; border-radius: var(--pill);
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: .85rem; font-weight: 700; text-decoration: none; transition: background .15s, color .15s;
}
.acc-link:hover { background: var(--brand); color: #fff; }
.bcard .meta { display: flex; align-items: center; gap: 6px; margin-top: 11px; flex-wrap: wrap; }
/* 출처 링크 — 글자만 두면 높이가 20px라 모바일에서 오탭이 잦습니다.
   보이는 모습은 그대로 두고 위아래 여백으로 터치 영역만 44px로 키웁니다. */
.bcard .src { margin-left: auto; font-size: .86rem; color: var(--ink-faint); font-weight: 600;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.bcard .src:hover { color: var(--brand); }
/* 위아래 여백이 늘어난 만큼 메타 줄이 벌어지지 않게 상쇄 */
.bcard .meta { margin-top: 0; }
.tag { font-size: .8rem; font-weight: 500; padding: 5px 12px; border-radius: var(--pill); background: var(--surface-3); color: var(--g70); }
/* status:"check" — 공식 출처 재확인 전인 금액. 검증 끝나면 데이터에서 status만 지우면 사라짐 */
.tag.checking { background: var(--gold-soft); color: var(--gold-deep); }
.easy { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); line-height: 1.65; }

/* 자세히 보기 아코디언 */
.acc-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
  margin-top: 10px; padding: 9px; border: 0; border-radius: 10px; background: transparent;
  font-family: inherit; font-size: .84rem; font-weight: 600; color: var(--ink-faint); cursor: pointer; }
.acc-btn:hover { background: var(--surface-3); color: var(--ink); }
.acc-btn .arr { transition: transform .2s; font-size: .7rem; }
.acc-btn.open .arr { transform: rotate(180deg); }
.acc-body { display: none; margin-top: 4px; }
.acc-body.open { display: block; animation: pop .25s ease; }
.acc-row { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-top: 6px; }
.acc-row b { display: block; font-size: .84rem; color: var(--ink); margin-bottom: 3px; }
.acc-row span { font-size: .84rem; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Prose — 읽기 콘텐츠 폭 제한 720~760 (ZOOP DS 7) ---------- */
.prose { max-width: 760px; }
.calc { max-width: 760px; }
.prose h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; margin: 36px 0 12px; }
.prose h3 { font-size: 1.08rem; font-weight: 700; margin: 24px 0 8px; }
.prose p { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { margin: 0 0 14px 20px; color: var(--ink-soft); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--g10); font-weight: 700; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.callout { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 16px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 20px 0; font-size: .92rem; color: var(--ink-soft); }
.callout strong { color: var(--brand-deep); }
.disclaimer { font-size: .82rem; color: var(--ink-faint); background: var(--g10); padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 22px; border: 1px solid var(--line); }

/* 계산기 공통 안내 — 추정치이며 실제 심사 결과와 다를 수 있음.
   문구를 한 곳에서 관리하려고 클래스로 뺐습니다(계산기 8종 전부에 사용). */
.calc-notice {
  margin-top: 18px; padding: 15px 17px;
  background: var(--gold-soft); border: 1px solid #f0dfae;
  border-radius: var(--radius-sm);
  font-size: .86rem; line-height: 1.65; color: var(--ink-soft);
}
.calc-notice b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 3px; }
.calc-notice strong { color: var(--ink); font-weight: 700; }

/* 입력 필드 아래 보조 설명 */
.field-help { font-size: .8rem; color: var(--ink-faint); margin-top: 7px; line-height: 1.55; }

/* 금액 입력 — 자릿수 대신 한글로 읽어줍니다 */
.money-hint { min-height: 20px; margin-top: 7px; font-size: .9rem; font-weight: 700; color: var(--brand); letter-spacing: -0.02em; }
.money-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.money-chip {
  padding: 7px 13px; border-radius: var(--pill); border: 1px solid var(--line-strong);
  background: #fff; font-family: inherit; font-size: .82rem; font-weight: 700;
  color: var(--ink-soft); cursor: pointer; transition: all .15s;
}
.money-chip:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.money-chip.clear { color: var(--ink-faint); font-weight: 600; }
.money-chip.clear:hover { border-color: var(--line-strong); color: var(--ink); background: var(--g10); }

/* 신청 절차 단계 목록 */
.steps { margin: 14px 0 0; padding-left: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative; counter-increment: step;
  padding: 0 0 14px 38px; line-height: 1.7; color: var(--ink-soft);
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: .78rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.steps li:last-child { padding-bottom: 0; }
.steps li b { color: var(--ink); font-weight: 700; }

/* 조건이 안 맞거나 안 고른 것 — 기본은 접어두고 원하면 펼친다 (누락은 없되 결과는 좁게) */
.later-divider { margin: 40px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.later-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); font-family: inherit; font-size: .94rem; font-weight: 700;
  color: var(--ink-soft); cursor: pointer; text-align: left; transition: all .15s;
}
.later-toggle:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.later-toggle .arr { flex: none; font-size: .7rem; transition: transform .2s; }
.later-toggle.open .arr { transform: rotate(180deg); }
.later-body { display: none; margin-top: 10px; }
.later-body.open { display: block; animation: pop .25s ease; }

/* 자격 자가진단 — 실업급여처럼 '내가 되나?'가 먼저 궁금한 제도용 */
/* 자가진단으로 보내는 배너 — 계산기에서 '내가 되나?'를 먼저 묻는 자리 */
.check-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border: 1.5px solid var(--brand); border-radius: var(--radius); background: var(--brand-soft);
  padding: 22px 24px; margin-bottom: 24px; transition: background .16s, transform .12s;
}
.check-banner:hover { background: #dfe7ff; transform: translateY(-2px); }
.check-banner .cb-h { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.check-banner .cb-p { font-size: .9rem; line-height: 1.7; color: var(--ink-soft); margin-top: 6px; max-width: 52ch; }
.check-banner .cb-p b { color: var(--brand-deep); font-weight: 700; }
.check-banner .cb-go {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: var(--pill); background: var(--brand); color: #fff; font-weight: 700; font-size: .94rem;
}
@media (max-width: 720px) {
  .check-banner { padding: 18px 18px; gap: 14px; }
  .check-banner .cb-go { width: 100%; justify-content: center; }
}

.elig { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; margin-bottom: 24px; background: #fff; }
.eq { padding-top: 18px; border-top: 1px solid var(--divider); margin-bottom: 4px; }
.eq:first-of-type { border-top: 0; padding-top: 0; }
.eq-q { font-size: .98rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.eq-sub { font-size: .84rem; color: var(--ink-faint); line-height: 1.6; margin: 4px 0 10px; }
.eq-sub b { color: var(--ink-soft); font-weight: 700; }
.eq-seg { margin-bottom: 16px; }
.eq-seg.col { flex-direction: column; }
.eq-seg.col button { text-align: left; }
/* 결과 블록 — 테두리·강조선 없이 연회색 바탕과 여백만으로 구분합니다.
   판정 종류(가능성 높음/애매함/어려움)는 제목 문구가 명시하므로 색으로 또 구분하지 않습니다.
   ok·maybe·no 클래스는 JS가 붙이지만 색을 입히지 않는 게 의도된 상태입니다 (ZOOP DS §2). */
.elig-result { display: none; margin-top: 26px; padding: 26px 24px; border-radius: var(--radius-sm);
  background: var(--surface-2); }
.elig-result.show { display: block; animation: pop .3s ease; }
.elig-result p { font-size: .92rem; line-height: 1.75; color: var(--ink-soft); margin: 0 0 10px; }
.elig-result p:last-child { margin-bottom: 0; }
.elig-result b { color: var(--ink); font-weight: 700; }
.elig-result .er-cta { display: inline-block; margin-top: 6px; padding: 11px 18px; border-radius: var(--pill);
  background: var(--brand); color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; }
.elig-result .er-cta:hover { background: var(--brand-deep); }
@media (max-width: 720px) {
  .elig { padding: 20px 16px; }
  .elig-result { padding: 18px 16px; }
}

/* 결과 피드백 — "도움이 됐나요?" */
.feedback {
  margin-top: 34px; padding: 26px 22px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.fb-q { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin: 0 0 16px; letter-spacing: -0.02em; }
.fb-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fb-btn {
  padding: 12px 22px; border-radius: var(--pill); border: 1.5px solid var(--line-strong);
  background: #fff; font-family: inherit; font-size: .92rem; font-weight: 700;
  color: var(--ink-soft); cursor: pointer; transition: all .15s;
}
.fb-btn:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.fb-done { font-size: .95rem; line-height: 1.7; color: var(--ink-soft); }
.fb-done b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 3px; }
@media (max-width: 720px) {
  .feedback { margin-top: 26px; padding: 22px 16px; }
  .fb-q { font-size: .95rem; }
  .fb-btn { padding: 11px 16px; font-size: .87rem; }
}

/* 가져갈 서류 — 헛걸음 방지가 목적이라 체크리스트로 */
.doc-box { margin-top: 10px; padding: 13px 15px; background: var(--brand-soft); border-radius: 10px; }
.doc-box > b { display: block; font-size: .84rem; color: var(--brand-deep); font-weight: 700; margin-bottom: 8px; }
.doc-list { margin: 0; padding: 0; list-style: none; }
.doc-list li { position: relative; padding: 0 0 6px 20px; font-size: .84rem; line-height: 1.6; color: var(--ink-soft); }
.doc-list li::before {
  content: ''; position: absolute; left: 3px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.doc-list li:last-child { padding-bottom: 0; }
.doc-note { margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(0,82,255,.14); font-size: .8rem; line-height: 1.6; color: var(--ink-soft); }
.doc-note b { color: var(--brand-deep); font-weight: 700; }

/* 카드 안에 들어가는 축약형 절차 */
.step-box { margin-top: 12px; padding: 13px 15px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.step-box > b { display: block; font-size: .84rem; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.steps.sm li { padding: 0 0 9px 30px; font-size: .84rem; line-height: 1.6; }
.steps.sm li::before { width: 20px; height: 20px; font-size: .7rem; top: 2px; }

/* ---------- Ad / crumb / footer ---------- */
/* 광고 슬롯 — 애드센스 승인 전에는 완전히 숨김 (심사관에게 빈 광고 자리가 보이면 안 됨).
   승인 후: display:none 줄을 지우고 아래 주석의 원래 스타일로 되돌린 뒤 광고 코드를 넣을 것.
   .ad-slot { margin: 34px auto; max-width: 100%; min-height: 100px; display: grid; place-items: center;
     text-align: center; background: var(--g10); border: 1px dashed var(--line-strong);
     border-radius: var(--radius-sm); color: var(--ink-faint); font-size: .8rem; padding: 20px; } */
.ad-slot { display: none; }
.crumb { font-size: .82rem; color: var(--ink-faint); padding: 18px 0 0; }
.crumb a:hover { color: var(--brand); }
.site-footer { margin-top: 20px; border-top: 1px solid var(--divider); background: var(--surface-2); padding: 40px 0; font-size: .88rem; color: var(--ink-soft); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--brand); }
.foot-note { margin-top: 20px; font-size: .78rem; color: var(--ink-faint); line-height: 1.6; }
.center { text-align: center; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  /* 결과 카드 — 좁은 폭에서 제목·금액이 두 줄로 갈라지므로 간격과 크기를 조인다 */
  .bcard { padding: 14px 16px; }
  .bcard .top { row-gap: 2px; }
  .bcard .nm, .bcard .amt { font-size: .98rem; }
  .bcard .meta { margin-top: 8px; gap: 5px; }
  .bcard .tag { font-size: .75rem; padding: 4px 9px; }
  .bcard .src { font-size: .8rem; }
  .bcard .easy { font-size: .86rem; }
  .acc-bar { padding: 10px; font-size: .83rem; }
  .acc-link { font-size: .8rem; padding: 7px 12px; }
  .period-note, .excl-note, .bcard .cond { font-size: .8rem; }
  .sec-h { margin-top: 24px; }

  /* 모바일 내비 — 햄버거 없이 pill-nav를 둘째 줄로 내려 유지.
     (이전의 display:none + .nav-toggle 조합은 토글 마크업이 없어 내비가 통째로 사라졌음) */
  .nav { flex-wrap: wrap; height: auto; padding: 10px 0 12px; }
  .pill-nav { order: 3; width: 100%; }
  .pill-nav a { flex: 1; text-align: center; padding: 10px 8px; white-space: nowrap; }
  .hero { padding: 48px 0 34px; }
  .feature .thumb { aspect-ratio: 4/3; }
}
