@charset "UTF-8";
/* ==========================================================================
   주성회계법인 — Juseong Accounting Corporation
   디자인 시스템 / Design tokens + components

   색·타이포·간격은 전부 아래 :root 토큰에서 나옵니다.
   브랜드 색을 바꾸려면 --seal 한 줄만 고치면 사이트 전체가 따라옵니다.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 토큰
   -------------------------------------------------------------------------- */
:root {
  /* 색 — 첨부 사진의 오크·리넨·황동 톤 + 로고의 인장 붉은색 */
  --ink:        #17130f;   /* 따뜻한 먹색. 제목·푸터 */
  --ink-soft:   #2c2620;
  --paper:      #faf7f1;   /* 기본 바탕 */
  --linen:      #f0e9de;   /* 교차 섹션 바탕 */
  --linen-deep: #e7ded0;
  --seal:       #a01f27;   /* 인주(印朱) 붉은색 — 로고에서 가져온 단 하나의 강조색 */
  --seal-deep:  #7d1720;
  --brass:      #a98a4b;   /* 황동. 가는 선·작은 표식 */
  --brass-soft: #d8c9a8;
  --slate:      #6e6459;   /* 보조 텍스트 */
  --slate-soft: #918576;
  --line:       #ded3c2;   /* 헤어라인 */
  --line-soft:  #ebe3d6;

  /* 타이포 — Pretendard 한 종류로 통일한다.
     제목·본문·숫자를 굵기와 크기로만 구분해 사이트 전체 인상을 하나로 묶는다. */
  --f-body: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo",
            "Malgun Gothic", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-display: var(--f-body);
  --f-mono:    var(--f-body);

  /* 레이아웃 */
  --wrap:      1180px;
  --wrap-text: 760px;
  --nav-h:     72px;

  /* 간격 스케일 */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --radius: 2px;           /* 거의 각진 모서리 — 서류의 인상 */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   2. 리셋 & 기본
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;          /* 한글 단어 단위 줄바꿈 */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.035em;   /* 굵은 산세리프는 자간을 조여야 단단해 보인다 */
  margin: 0;
  text-wrap: balance;
}
h1, h2 { font-weight: 800; }

p { margin: 0; }

::selection { background: var(--seal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.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;
}

.skip-link {
  position: absolute; left: 50%; top: 8px;
  transform: translate(-50%, -200%);
  background: var(--ink); color: var(--paper);
  padding: 10px 20px; z-index: 200; border-radius: var(--radius);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   3. 레이아웃 유틸
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--text { max-width: var(--wrap-text); }

/* .section 은 세로 여백만 담당. 배경은 수식어 클래스가 담당한다.
   (선택자 특이도 충돌을 피하려고 역할을 분리) */
.section { padding-block: var(--s9); }
.section.is-tight  { padding-block: var(--s8); }
.section.is-linen  { background: var(--linen); }
.section.is-ink    { background: var(--ink); color: var(--paper); }

.rule {
  height: 1px; border: 0; margin: 0;
  background: var(--line);
}

/* --------------------------------------------------------------------------
   4. 공통 조판 요소
   -------------------------------------------------------------------------- */

/* 붉은 눈썹 라벨(.eyebrow)은 전 페이지에서 걷어냈습니다.
   제목만 남기는 편이 깔끔하다는 판단이었습니다. 규칙도 함께 지웠으니
   되살리시려면 말씀해 주세요. */

/* 작은 회색 캡션 — 계산기의 "2026년 기준"처럼
   제목 아래에서 기준을 밝혀야 할 때만 씁니다. 붉은색을 쓰지 않습니다. */
.calc-basis {
  margin: 6px 0 var(--s6);
  font-size: 13px;
  color: var(--slate-soft);
  letter-spacing: -0.01em;
}

.h-display { font-size: clamp(30px, 4.4vw, 50px); }
.h-section  { font-size: clamp(26px, 3.2vw, 38px); }
.h-card     { font-size: 20px; }

.lede {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--slate);
  line-height: 1.9;
  margin-top: var(--s5);
}
.section.is-ink .lede { color: #c9bfb2; }

/* 숫자는 전부 모노스페이스 + 등폭 숫자로. 이 사이트의 성격을 만드는 규칙 */
.num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   5. 버튼
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .18s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn.is-seal { background: var(--seal); color: #fff; border-color: var(--seal); }
.btn.is-seal:hover { background: var(--seal-deep); border-color: var(--seal-deep); }

.btn.is-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.is-ink:hover { background: var(--ink-soft); }

.btn.is-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.is-ghost:hover { border-color: var(--ink); background: rgba(23,19,15,.04); }

.section.is-ink .btn.is-ghost { color: var(--paper); border-color: rgba(250,247,241,.32); }
.section.is-ink .btn.is-ghost:hover { border-color: var(--paper); background: rgba(250,247,241,.08); }

.btn.is-sm { padding: 10px 18px; font-size: 14px; }
.btn.is-block { width: 100%; }

/* 텍스트 링크 — 밑줄이 호버에 자라난다 */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--seal);
}
.link-arrow svg { transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. 로고
   -------------------------------------------------------------------------- */
/* 붉은 인장 + 상호. 검은 명패는 걷어내고 인장만 남겨
   페이지 톤을 유지하면서도 원본 로고의 표식이 보이게 한다. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}
.logo__seal {
  flex: none;
  width: 36px; height: 36px;
  background: var(--seal);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.04em;
  line-height: 1;
  border-radius: 2px;
}
.logo__txt { display: block; }
.logo__ko {
  display: block;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.05em;
  line-height: 1.2;
  transition: color .2s var(--ease);
}
.logo__en {
  display: block;
  color: var(--slate-soft);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.2;
  margin-top: 4px;
  white-space: nowrap;
}
.logo:hover .logo__ko { color: var(--seal); }

/* 푸터는 어두운 바탕이라 색을 뒤집는다 */
.site-footer .logo__ko { color: var(--paper); }
.site-footer .logo__en { color: #8d8579; }
.site-footer .logo:hover .logo__ko { color: #fff; }

/* --------------------------------------------------------------------------
   7. 헤더 / 내비게이션
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,241,.88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5);
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav__link:hover { color: var(--seal); }
.nav__link::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--seal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--seal); font-weight: 600; }
.nav__link.is-active::after { transform: scaleX(1); }

/* 하위 메뉴 — 마우스를 올리거나 키보드 포커스가 들어오면 펼쳐진다 */
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--nav-h);
}
.nav__item > .nav__link::before {
  /* 하위 메뉴가 있음을 알리는 작은 화살표 */
  content: "";
  position: absolute; left: 50%; bottom: 4px;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-right: 1.4px solid var(--slate-soft);
  border-bottom: 1.4px solid var(--slate-soft);
  transform: rotate(45deg) translateY(-1px);
  transition: border-color .2s var(--ease), opacity .2s var(--ease);
}
.nav__item:hover > .nav__link::before,
.nav__item:focus-within > .nav__link::before { opacity: 0; }

.nav__sub {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, -6px);
  min-width: 176px;
  margin-top: -1px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px -20px rgba(23,19,15,.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 20;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__sub a {
  display: block;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.nav__sub a:hover { background: var(--linen); color: var(--seal); }
.nav__sub a.is-active { color: var(--seal); font-weight: 600; }
.nav__sub a.is-soon { color: var(--slate-soft); }
.nav__sub a.is-soon::after {
  content: "준비 중";
  font-size: 11px;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--linen-deep);
  color: var(--slate);
}

.header-cta { display: flex; align-items: center; gap: 12px; }

/* 모바일 토글 */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block; width: 19px; height: 2px;
  background: var(--ink);
  transition: transform .26s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. 히어로
   -------------------------------------------------------------------------- */
/* 첫 화면은 스크롤 없이 한 화면을 채운다.
   svh 는 모바일 주소창이 접혔다 펴져도 높이가 튀지 않는 단위입니다.
   지원하지 않는 브라우저를 위해 vh 를 먼저 적어 둡니다. */
.hero {
  position: relative;
  background: var(--linen);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media picture { display: block; height: 100%; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;   /* 왼쪽 여백을 비워 문구 자리를 만든다 */
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    /* 아래쪽 — 카드가 놓일 자리를 눌러준다 */
    linear-gradient(0deg,
      rgba(250,247,241,.92) 0%,
      rgba(250,247,241,.55) 18%,
      rgba(250,247,241,0) 40%),
    /* 왼쪽 — 문구 자리 */
    linear-gradient(100deg,
      rgba(250,247,241,.97) 0%,
      rgba(250,247,241,.93) 26%,
      rgba(250,247,241,.55) 46%,
      rgba(250,247,241,0) 66%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex; align-items: center;
  padding-block: var(--s9) var(--s7);
}
.hero__copy { max-width: 560px; }
.hero__title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.26;
  letter-spacing: -0.035em;
}
.hero__title em {
  font-style: normal;
  color: var(--seal);
}
/* 제목 아래 서명 한 줄.
   크기는 본문(16.5px)과 제목(최대 56px)의 중간값으로 잡았습니다.
   제목이 clamp 로 줄었다 늘었다 하므로 여기도 같은 방식으로 따라갑니다. */
.hero__by {
  margin-top: var(--s5);
  font-size: clamp(24px, 2.9vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--slate);
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: var(--s7);
}

/* 첫 화면 아래쪽 — 이 사이트에만 있는 도구로 바로 보내는 카드 */
.hero__foot {
  position: relative;
  z-index: 1;
  padding-bottom: var(--s7);
}
.hero__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hcard {
  display: block;
  padding: var(--s5) var(--s6);
  border: 1px solid rgba(222,211,194,.9);
  border-radius: var(--radius);
  background: rgba(250,247,241,.86);
  backdrop-filter: blur(6px);
  transition: border-color .24s var(--ease), transform .24s var(--ease),
              background .24s var(--ease);
}
.hcard:hover {
  border-color: var(--seal);
  background: rgba(250,247,241,.97);
  transform: translateY(-3px);
}
.hcard__top {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 6px;
}
.hcard__title {
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.03em; color: var(--ink);
}
.hcard__badge {
  font-size: 11.5px; font-weight: 700;
  color: var(--seal);
  background: rgba(160,31,39,.09);
  border-radius: 3px;
  padding: 2px 6px;
  font-variant-numeric: tabular-nums;
}
.hcard__desc {
  font-size: 13.5px; line-height: 1.7; color: var(--slate);
}

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__inner { padding-block: var(--s8) var(--s6); }
  .hero__cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hcard { padding: var(--s4) var(--s5); }
  .hcard__desc { display: none; }   /* 좁은 화면에서는 제목만 */
}

/* 페이지 상단 배너(하위 페이지용) */
.pagehead {
  position: relative;
  background: var(--linen);
  border-bottom: 1px solid var(--line);
}
.pagehead__media { position: relative; }
.pagehead__media img {
  width: 100%; height: clamp(220px, 30vw, 320px);
  object-fit: cover; object-position: center 62%;
}
.pagehead__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(92deg,
    rgba(250,247,241,.96) 0%,
    rgba(250,247,241,.86) 34%,
    rgba(250,247,241,.35) 62%,
    rgba(250,247,241,.05) 100%);
}
.pagehead__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.pagehead__title { font-size: clamp(28px, 3.8vw, 42px); }
.pagehead__sub { color: var(--slate); margin-top: 10px; max-width: 46ch; }

/* 빵부스러기 */
.crumbs {
  font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--slate-soft);
  margin-bottom: 14px;
}
.crumbs a:hover { color: var(--seal); }

/* --------------------------------------------------------------------------
   9. 격자 & 카드
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--s6); }
.grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 헤드 + 본문 2열 (섹션 제목 왼쪽 고정) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s8);
  align-items: start;
}
.split.is-even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s6);
  transition: border-color .24s var(--ease), transform .24s var(--ease);
  height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--brass); transform: translateY(-3px); }
.card__kicker {
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--seal);
  margin-bottom: 12px;
}
.card__title { font-size: 19px; margin-bottom: 10px; }
.card__body { color: var(--slate); font-size: 15px; line-height: 1.85; }
.card__list {
  list-style: none; margin: var(--s5) 0 0; padding: 0;
  font-size: 14px; color: var(--slate);
}
.card__list li {
  position: relative; padding-left: 15px; margin-top: 7px;
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 5px; height: 1px; background: var(--brass);
}
.card__foot { margin-top: auto; padding-top: var(--s5); }

/* 사진이 들어간 카드 */
.card.has-media { padding: 0; overflow: hidden; }
.card.has-media img { width: 100%; height: 190px; object-fit: cover; }
.card__inner { padding: var(--s6); display: flex; flex-direction: column; flex: 1; }

/* --------------------------------------------------------------------------
   9-b. 서비스 타일 — 사진 위에 제목을 얹어 가로로 잇는다
   -------------------------------------------------------------------------- */
.svc-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.svc {
  position: relative;
  display: block;
  height: clamp(320px, 32vw, 440px);
  overflow: hidden;
  isolation: isolate;
}
.svc img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.svc__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(20,16,13,.40) 0%,
    rgba(20,16,13,.60) 45%,
    rgba(20,16,13,.72) 100%);
  transition: background .4s var(--ease);
}
.svc__body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  padding: var(--s5);
  text-align: center;
}
.svc__title {
  color: #fff;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.svc__arrow {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.svc__arrow svg { display: block; }
.svc:hover img { transform: scale(1.06); }
.svc:hover .svc__scrim { background: linear-gradient(180deg,
    rgba(20,16,13,.18) 0%, rgba(20,16,13,.42) 45%, rgba(20,16,13,.58) 100%); }
.svc:hover .svc__arrow { background: var(--seal); border-color: var(--seal); }
.svc:focus-visible { outline: 3px solid var(--seal); outline-offset: -3px; }

/* --------------------------------------------------------------------------
   9-b2. 단계 타일 — 홈의 가로 타일과 같은 얼굴을 세로로 쌓는다.
         화면 끝까지 가지 않고 본문 폭(.wrap) 안에 머문다.
   -------------------------------------------------------------------------- */
.step-stack { display: grid; gap: 4px; }

.step-tile {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
}
.step-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.step-tile__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(20,16,13,.82) 0%,
    rgba(20,16,13,.66) 46%,
    rgba(20,16,13,.42) 100%);
  transition: background .4s var(--ease);
}
.step-tile:hover img { transform: scale(1.04); }
.step-tile:hover .step-tile__scrim {
  background: linear-gradient(100deg,
    rgba(20,16,13,.76) 0%, rgba(20,16,13,.58) 46%, rgba(20,16,13,.34) 100%);
}

.step-tile__body {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: var(--s5);
  min-height: 210px;
  padding: var(--s6) var(--s7);
}
.step-tile__no {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #d98a78;
  align-self: start;
  padding-top: 4px;
}
.step-tile__title {
  display: block;
  color: #fff;
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.step-tile__desc {
  display: block;
  color: #ddd3c8;
  font-size: 15.5px;
  line-height: 1.85;
  max-width: 52ch;
}
.step-tile__list {
  list-style: none;
  margin: var(--s4) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.step-tile__list li {
  font-size: 13px;
  color: #f0e9de;
  border: 1px solid rgba(240,233,222,.34);
  border-radius: 999px;
  padding: 5px 12px;
}

@media (max-width: 640px) {
  .step-tile, .step-tile__body { min-height: 0; }
  .step-tile__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: var(--s6) var(--s5);
  }
  .step-tile__no { padding-top: 0; }
  .step-tile__desc { font-size: 14.5px; }
}

/* --------------------------------------------------------------------------
   9-c. 프로필 사진
   -------------------------------------------------------------------------- */
.portrait {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.portrait img {
  width: 100%;
  display: block;
  /* 스튜디오 흰 배경을 종이 톤에 살짝 맞춘다 */
  filter: sepia(7%) saturate(97%);
}
.portrait figcaption {
  padding: 16px 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--slate);
  background: var(--paper);
}
.portrait figcaption strong { color: var(--ink); font-weight: 700; }

/* 리포트 화면 — 실제 발송되는 리포트를 그대로 보여주는 액자 */
.shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
  box-shadow: 0 20px 44px -30px rgba(23,19,15,.5);
}
.shot img { width: 100%; display: block; }
.shot figcaption {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.75;
}
.shot figcaption strong { color: var(--ink); font-weight: 700; }

/* 사진 + 약력표 2열 */
.bio {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: var(--s8);
  align-items: start;
}
@media (max-width: 900px) {
  .bio { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .bio .portrait { max-width: 330px; }
}

/* --------------------------------------------------------------------------
   10. 순서가 있는 절차 (실제 순서를 가진 내용에만 사용)
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: var(--s5) 0 var(--s5) 62px;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: calc(var(--s5) + 4px);
  font-size: 14px; font-weight: 700;
  color: var(--seal);
  letter-spacing: -0.01em;
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--slate); font-size: 15px; }

/* --------------------------------------------------------------------------
   11. 지표 / 표
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stats div {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s6) var(--s5);
}
.stats dt {
  font-size: 13px; color: var(--slate);
  letter-spacing: -0.01em;
}
.stats dd {
  margin: 8px 0 0;
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--ink);
}
.stats dd small { font-size: 15px; color: var(--brass); margin-left: 6px; letter-spacing: -0.01em; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; min-width: 0; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 420px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.data th, table.data td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}
table.data tbody tr:last-child th,
table.data tbody tr:last-child td { border-bottom: 0; }

/* 머리글 — 작고 흐린 대신, 진하고 또렷하게 */
table.data thead th {
  background: var(--linen);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
/* 본문 좌측 항목명 */
table.data tbody th {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
  width: 34%;
}
/* 숫자 칸 — 오른쪽 정렬, 굵게, 자릿수 고정 */
table.data td.n, table.data th.n {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}
table.data tbody td.n {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
table.data tbody tr:hover { background: rgba(160,31,39,.035); }

/* 요금표처럼 좌측이 구간, 우측이 금액인 표 */
table.data.is-rate tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* 보수표 — 기본 보수 아래에 초과분 요율을 한 줄 더 붙인다 */
.fee {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.fee__add {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
table.data td.n .fee__add { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   12. 폼
   -------------------------------------------------------------------------- */
.field { display: block; margin-bottom: var(--s5); }
.field__label {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 13.5px; font-weight: 600;
  margin-bottom: 8px;
}
.field__label .req { color: var(--seal); font-size: 12px; }
.field__hint { font-size: 12.5px; color: var(--slate-soft); font-weight: 400; margin-left: auto; }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--brass); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--seal);
  box-shadow: 0 0 0 3px rgba(160,31,39,.12);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6459' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
/* 금액 입력칸은 숫자를 오른쪽으로 */
.input.is-amount {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-right: 46px;
}
.field.has-unit { position: relative; }
.field.has-unit .unit {
  position: absolute; right: 15px; bottom: 14px;
  font-size: 13px; color: var(--slate-soft);
  pointer-events: none;
}

.checkline {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--slate);
  line-height: 1.7;
}
.checkline input[type="checkbox"] {
  margin: 5px 0 0; accent-color: var(--seal);
  width: 16px; height: 16px; flex: none;
}

.form-note {
  font-size: 13px; color: var(--slate-soft);
  margin-top: var(--s5); line-height: 1.8;
}

.form-status {
  margin-top: var(--s5);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  display: none;
}
.form-status.is-shown { display: block; }
.form-status.is-ok   { background: rgba(169,138,75,.12); border: 1px solid var(--brass); color: var(--ink); }
.form-status.is-err  { background: rgba(160,31,39,.08);  border: 1px solid var(--seal);  color: var(--seal-deep); }

/* --------------------------------------------------------------------------
   13. 세금계산기 — 이 사이트의 signature
       결과는 '전표'로 인쇄되고, 마지막에 인장이 찍힌다.
   -------------------------------------------------------------------------- */
.calc-tabs {
  display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s7);
}
.calc-tab {
  position: relative;
  padding: 14px 20px;
  background: none; border: 0;
  font-size: 15px; font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.calc-tab:hover { color: var(--ink); }
.calc-tab[aria-selected="true"] { color: var(--seal); font-weight: 700; }
.calc-tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 2px; background: var(--seal);
}

.calc-panel[hidden] { display: none; }
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: var(--s8);
  align-items: start;
}

/* 전표 */
.slip {
  /* sticky 는 인장(.seal-stamp)의 절대위치 기준점 역할도 겸한다.
     overflow:hidden 은 인장이 찍히기 직전 확대 상태가 전표 밖으로 삐져나가
     가로 스크롤을 만드는 것을 막는다. */
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 31px,
      rgba(169,138,75,.13) 31px 32px
    ),
    var(--linen);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s6) var(--s6) var(--s8);
  box-shadow: 0 1px 0 var(--linen-deep), 0 18px 40px -28px rgba(23,19,15,.4);
}
/* 전표 상단의 절취선 */
.slip::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg,
    var(--brass) 0 6px, transparent 6px 12px);
  opacity: .5;
}
.slip__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s5);
}
.slip__title { font-size: 17px; }
.slip__meta {
  font-size: 12.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--slate-soft);
}
.slip__row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  font-size: 14.5px;
}
.slip__row dt { color: var(--slate); }
.slip__row dd {
  margin: 0;
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  white-space: nowrap;
}
.slip__row.is-sub dt, .slip__row.is-sub dd { color: var(--slate-soft); font-size: 13.5px; }
.slip__row.is-total {
  margin-top: var(--s5); padding-top: var(--s5);
  border-top: 1px solid var(--ink);
  align-items: baseline;
}
.slip__row.is-total dt { color: var(--ink); font-weight: 600; font-size: 15px; }
.slip__row.is-total dd {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  color: var(--seal);
}
.slip__row.is-total dd small { font-size: 15px; font-weight: 400; margin-left: 3px; color: var(--slate); }
.slip__empty {
  color: var(--slate-soft); font-size: 14px;
  padding: var(--s7) 0; text-align: center; line-height: 1.9;
}
.slip__foot {
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--slate-soft); line-height: 1.75;
}

/* 인장 — 계산이 끝나면 찍힌다 */
.seal-stamp {
  position: absolute;
  right: 26px; bottom: 22px;
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border: 2.5px solid var(--seal);
  border-radius: 3px;
  color: var(--seal);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.05;
  text-align: center;
  letter-spacing: .02em;
  gap: 3px;
  opacity: 0;
  transform: rotate(-14deg) scale(1.9);
  pointer-events: none;
}
.seal-stamp__sub {
  font-family: var(--f-body);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.seal-stamp.is-stamped {
  animation: stamp .42s var(--ease) forwards;
}
@keyframes stamp {
  0%   { opacity: 0;   transform: rotate(-14deg) scale(1.9); }
  60%  { opacity: .95; transform: rotate(-14deg) scale(.94); }
  100% { opacity: .82; transform: rotate(-14deg) scale(1); }
}

.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s5); }
.calc-fields .is-full { grid-column: 1 / -1; }
.calc-actions { display: flex; gap: 12px; margin-top: var(--s4); }

.calc-note {
  margin-top: var(--s7);
  padding: var(--s5) var(--s6);
  background: var(--linen);
  border-left: 2px solid var(--brass);
  font-size: 13.5px; color: var(--slate); line-height: 1.85;
}
.calc-note strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   14. 칼럼
   -------------------------------------------------------------------------- */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-item { border-bottom: 1px solid var(--line); }
.post-item:first-child { border-top: 1px solid var(--line); }
.post-item a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title go" "excerpt go";
  gap: 7px var(--s6);
  align-items: center;
  padding: var(--s6) var(--s5) var(--s6) 0;
  transition: background .2s var(--ease), padding-left .22s var(--ease);
}
.post-item a:hover { background: rgba(160,31,39,.04); padding-left: var(--s4); }
.post-item a:hover .post-item__title { color: var(--seal); }
.post-item a:hover .post-item__go { color: var(--seal); border-color: var(--seal); }

.post-item__title {
  grid-area: title;
  font-weight: 700; font-size: 20px;
  letter-spacing: -0.035em;
  transition: color .2s var(--ease);
}
.post-item__excerpt {
  grid-area: excerpt;
  color: var(--slate); font-size: 15px; line-height: 1.75;
}
.post-item__go {
  grid-area: go;
  align-self: center;
  font-size: 13px; font-weight: 600;
  color: var(--slate-soft);
  border: 1px solid var(--line);
  padding: 7px 15px; border-radius: 999px;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.post-byline {
  margin-top: var(--s6);
  font-size: 14px; font-weight: 600;
  color: var(--slate-soft);
}

/* 본문 */
.prose { font-size: 16.5px; line-height: 1.95; color: var(--ink-soft); }
.prose > * + * { margin-top: var(--s5); }
.prose h2 { font-size: 24px; margin-top: var(--s8); }
.prose h3 { font-size: 19px; margin-top: var(--s7); }
.prose ul, .prose ol { padding-left: 20px; }
.prose li + li { margin-top: 8px; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose blockquote {
  margin: var(--s7) 0;
  padding: var(--s5) var(--s6);
  border-left: 2px solid var(--seal);
  background: var(--linen);
  font-size: 15.5px;
}
.prose table {
  width: 100%; border-collapse: collapse; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.prose th, .prose td { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose thead th {
  background: var(--linen);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink);
}
.prose tbody td:first-child { font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------------------
   14-b. 정책자금 공고 목록 (자동 수집)
   -------------------------------------------------------------------------- */
/* 검색 — 공고가 수백 건이면 필터만으로는 원하는 것을 못 찾는다 */
.pf-search {
  position: relative;
  margin-bottom: var(--s6);
}
.pf-search input {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 46px 15px 46px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pf-search input::placeholder { color: var(--slate-soft); }
.pf-search input:focus {
  outline: none;
  border-color: var(--seal);
  box-shadow: 0 0 0 3px rgba(160,31,39,.10);
}
.pf-search__icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--slate-soft);
  pointer-events: none;
}
.pf-search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--linen-deep);
  color: var(--slate);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.pf-search__clear:hover { background: var(--seal); color: #fff; }
.pf-search.has-value .pf-search__clear { display: grid; }

.pf-item mark {
  background: rgba(160,31,39,.14);
  color: inherit;
  font-weight: 700;
  border-radius: 2px;
  padding: 0 1px;
}

.pf-filter { margin-bottom: var(--s7); }
.pf-filter__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.pf-filter__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  margin-right: 4px;
  min-width: 32px;
}
.pf-chip {
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.pf-chip:hover { border-color: var(--brass); color: var(--ink); }
.pf-chip[aria-pressed="true"] {
  background: var(--seal);
  border-color: var(--seal);
  color: #fff;
  font-weight: 600;
}

.pf-count { font-size: 13.5px; font-weight: 600; color: var(--slate); }
.pf-updated { font-size: 13px; color: var(--slate-soft); }

.pf-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pf-item { border-bottom: 1px solid var(--line); }
.pf-item a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s6);
  align-items: start;
  padding: var(--s5) var(--s4) var(--s5) 0;
  transition: background .2s var(--ease), padding-left .22s var(--ease);
}
.pf-item a:hover { background: rgba(160,31,39,.04); padding-left: var(--s4); }
.pf-item a:hover .pf-item__title { color: var(--seal); }

.pf-item__title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.5;
  transition: color .2s var(--ease);
}
.pf-item__desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  /* 두 줄까지만 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pf-item__meta {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--slate-soft);
}
.pf-item__meta i { font-style: normal; margin: 0 5px; color: var(--line); }
.pf-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--seal);
  background: rgba(160,31,39,.08);
  border: 1px solid rgba(160,31,39,.22);
  border-radius: 3px;
  padding: 2px 7px;
}
.pf-chip b { font-weight: 700; margin-left: 3px; opacity: .75; }

.pf-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  white-space: nowrap;
}
.pf-item__period {
  font-size: 12.5px;
  color: var(--slate-soft);
  font-variant-numeric: tabular-nums;
}
.pf-dday {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--slate);
}
.pf-dday.is-urgent { background: var(--seal); border-color: var(--seal); color: #fff; }
.pf-dday.is-open   { background: var(--linen); border-color: var(--linen-deep); color: var(--ink); }
.pf-dday.is-closed { color: var(--slate-soft); }

.pf-empty {
  padding: var(--s8) 0;
  text-align: center;
  color: var(--slate-soft);
  font-size: 14.5px;
}

@media (max-width: 640px) {
  .pf-item a {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-right: 0;
  }
  .pf-item__side { flex-direction: row; align-items: center; gap: 10px; }
  .pf-item__title { font-size: 16px; }
  .pf-filter__label { width: 100%; margin-bottom: 2px; }
}

/* 기관 바로가기 — 소진공·중진공은 공고만으로 조건을 알 수 없어 원 사이트로 보낸다 */
.org-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s5);
  padding: var(--s6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .24s var(--ease), transform .24s var(--ease);
}
.org-link:hover { border-color: var(--brass); transform: translateY(-3px); }
.org-link:hover .org-link__name { color: var(--seal); }
.org-link__name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color .2s var(--ease);
}
.org-link__for {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--seal);
  margin-bottom: 7px;
}
.org-link__body {
  display: block;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--slate);
}
.org-link__go {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate-soft);
  white-space: nowrap;
}
.org-link:hover .org-link__go { color: var(--seal); }

/* 흐름 아래 단서 — calc-note 와 나란히 두면 좌측 선이 겹쳐 보인다 */
.flow-caveat {
  margin-top: var(--s6);
  font-size: 13px;
  line-height: 1.8;
  color: var(--slate-soft);
}

/* 연간 흐름 — 날짜 캘린더 대신 "보통 이 시기" 안내 */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s5);
  counter-reset: flow;
}
.flow li {
  position: relative;
  padding-top: var(--s6);
  border-top: 2px solid var(--line);
}
.flow li.is-now { border-top-color: var(--seal); }
.flow li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--linen-deep);
}
.flow li.is-now::before { background: var(--seal); }
.flow__when {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--seal);
  margin-bottom: 7px;
  font-variant-numeric: tabular-nums;
}
.flow__what {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 9px;
  line-height: 1.5;
}
.flow__desc { font-size: 14px; line-height: 1.8; color: var(--slate); }

/* 준비 안내 — 정책자금 심사는 결산 재무제표를 본다 */
.ahead {
  border-left: 3px solid var(--seal);
  padding: var(--s2) 0 var(--s2) var(--s6);
  margin-top: var(--s8);
}
.ahead strong { color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .org-link { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .org-link__go { text-align: right; }
}

/* --------------------------------------------------------------------------
   15. 요금
   -------------------------------------------------------------------------- */
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s7) var(--s6);
  background: var(--paper);
  display: flex; flex-direction: column; height: 100%;
  transition: border-color .24s var(--ease);
}
.plan:hover { border-color: var(--brass); }
.plan.is-featured { border-color: var(--ink); border-width: 1px; box-shadow: 0 0 0 1px var(--ink); }
.plan__badge {
  align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
  background: var(--seal); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: var(--s4);
}
.plan__name { font-size: 21px; }
.plan__for { color: var(--slate); font-size: 14px; margin-top: 8px; }
.plan__price {
  margin: var(--s6) 0 0;
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.plan__price small { font-size: 14px; color: var(--slate); font-weight: 400; letter-spacing: 0; }
.plan__unit { font-size: 12.5px; color: var(--slate-soft); margin-top: 6px; }
.plan__list {
  list-style: none; margin: var(--s6) 0 0; padding: var(--s6) 0 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--slate);
}
.plan__list li { position: relative; padding-left: 22px; margin-top: 11px; line-height: 1.7; }
.plan__list li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--seal);
  border-bottom: 1.5px solid var(--seal);
  transform: rotate(-45deg);
}
.plan__list li.is-off { color: var(--slate-soft); }
.plan__list li.is-off::before {
  border: 0; width: 9px; height: 1.5px; background: var(--line);
  transform: none; top: 12px;
}
.plan__foot { margin-top: auto; padding-top: var(--s7); }

/* --------------------------------------------------------------------------
   16. 문답 (아코디언)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5);
  padding: var(--s5) 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600; font-size: 16px;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--seal); }
.faq summary::after {
  content: ""; flex: none;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--brass);
  border-bottom: 1.5px solid var(--brass);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .26s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { padding: 0 0 var(--s6); color: var(--slate); font-size: 15px; max-width: 68ch; }

/* --------------------------------------------------------------------------
   17. 푸터
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #a9a096;
  padding-block: var(--s9) var(--s6);
  font-size: 14px;
}
.site-footer a:hover { color: var(--paper); }
.site-footer .is-muted { color: #8d8579; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--s7);
  padding-bottom: var(--s8);
  border-bottom: 1px solid rgba(250,247,241,.13);
}
.footer-col h4 {
  font-size: 13.5px; font-weight: 700; letter-spacing: -0.02em;
  color: #d3cbc1;
  margin-bottom: var(--s5);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 11px; }
.footer-info { margin-top: var(--s5); line-height: 1.9; font-size: 13.5px; }
.footer-info .num { color: var(--paper); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s5);
  align-items: center; justify-content: space-between;
  padding-top: var(--s6);
  font-size: 12.5px;
  color: #7d756b;
}
.footer-legal { display: flex; gap: var(--s5); flex-wrap: wrap; }

/* 하단 고정 문의 바 (모바일) */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-bar .btn { flex: 1; padding: 13px 10px; font-size: 14px; }
/* 어두운 바 위에서는 외곽선 버튼의 글자색을 뒤집어야 보인다 */
.mobile-bar .btn.is-ghost { color: var(--paper); border-color: rgba(250,247,241,.34); }
.mobile-bar .btn.is-ghost:hover { border-color: var(--paper); background: rgba(250,247,241,.08); }

/* --------------------------------------------------------------------------
   18. 등장 애니메이션 (동작 최소화 설정 존중)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .seal-stamp.is-stamped { opacity: .82; transform: rotate(-14deg) scale(1); }
}

/* --------------------------------------------------------------------------
   19. 반응형
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__link { padding: 10px 10px; font-size: 14.5px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }

  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s5) 24px calc(var(--s9) + 60px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link {
    padding: 17px 0;
    font-size: 18px;
    font-family: var(--f-display);
    font-weight: 700;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link::after { display: none; }

  /* 좁은 화면에서는 hover 가 없으므로 하위 메뉴를 처음부터 펼쳐 둔다 */
  .nav__item { display: block; height: auto; position: static; }
  .nav__item > .nav__link::before { display: none; }
  .nav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav__sub a {
    padding: 14px 0 14px 18px;
    font-size: 16px;
    font-weight: 500;
    color: var(--slate);
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .nav__sub a:hover { background: transparent; }
  .nav__sub a.is-soon::after { margin-left: 6px; }
  .header-cta .btn { display: none; }

  .grid.is-3, .grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.is-even { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7); }

  .calc-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  /* 좁은 화면에서는 고정하지 않는다. 다만 static 으로 두면 인장(.seal-stamp)이
     기준 박스를 잃고 overflow:hidden 을 빠져나가므로 relative 를 유지한다. */
  .slip { position: relative; top: auto; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
}

@media (max-width: 640px) {
  .section { padding-block: var(--s8); }
  .section.is-tight { padding-block: var(--s7); }
  .wrap { padding-inline: 20px; }

  .grid.is-2, .grid.is-3, .grid.is-4 { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .svc-row { grid-template-columns: minmax(0, 1fr); }
  .svc { height: 240px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero__media img { height: clamp(460px, 74vh, 660px); object-position: center 40%; }
  .hero__scrim {
    background: linear-gradient(178deg,
      rgba(250,247,241,.95) 0%,
      rgba(250,247,241,.82) 34%,
      rgba(250,247,241,.5) 62%,
      rgba(250,247,241,.28) 100%);
  }
  .hero__inner { align-items: flex-start; padding-top: var(--s8); }
  .hero__actions { margin-top: var(--s6); }
  .hero__actions .btn { flex: 1 1 100%; }

  .calc-fields { grid-template-columns: minmax(0, 1fr); }
  .post-item a {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "excerpt" "go";
    gap: 8px;
  }
  .post-item__go { justify-self: start; margin-top: 4px; }
  .post-item__title { font-size: 18px; }

  .logo { gap: 9px; }
  .logo__seal { width: 31px; height: 31px; font-size: 12px; }
  .logo__ko { font-size: 17px; }
  .logo__en { font-size: 8.5px; letter-spacing: .02em; }

  .footer-top { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .slip { padding: var(--s5) var(--s5) var(--s8); }
  .seal-stamp { right: 18px; bottom: 18px; width: 54px; height: 54px; font-size: 13px; }
}

/* --------------------------------------------------------------------------
   20. 인쇄 (계산 결과를 그대로 뽑을 수 있게)
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .mobile-bar, .calc-tabs,
  .calc-form, .hero, .pagehead, .calc-note { display: none !important; }
  body { background: #fff; padding: 0; }
  .slip { border: 1px solid #999; box-shadow: none; background: #fff; position: relative; top: auto; }
  .seal-stamp { opacity: .82 !important; }
}

/* --------------------------------------------------------------------------
   20. 리포트 슬라이드 — 홈 화면 중단
       외부 라이브러리 없이 직접 만들었습니다. 사이트의 다른 스크립트와 같은 방식입니다.
       동작은 assets/js/report-slider.js 에 있습니다.
   -------------------------------------------------------------------------- */
.rslide { position: relative; }
.rslide__viewport { overflow: hidden; }
.rslide__track {
  display: flex;
  transition: transform .55s var(--ease);
  will-change: transform;
}
.rslide__item {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: var(--s8);
  align-items: center;
}

/* 왼쪽 설명 카드 */
.rslide__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: var(--s7) var(--s7) var(--s8);
}
.rslide__title {
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: var(--s6);
}
.rslide__feats { list-style: none; margin: 0 0 var(--s6); padding: 0; }
.rslide__feats li {
  position: relative;
  padding-left: 27px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 11px;
}
.rslide__feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 17px; height: 17px;
  border-radius: 3px;
  background: var(--seal);
}
.rslide__feats li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 7px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.rslide__desc {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--slate);
}

/* 오른쪽 화면 이미지 */
.rslide__shot { display: block; }
.rslide__shot img {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

/* 점 */
.rslide__dots {
  display: flex;
  gap: 8px;
  margin-top: var(--s7);
}
.rslide__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--linen-deep);
  cursor: pointer;
  transition: width .3s var(--ease), background .3s var(--ease);
}
.rslide__dot:hover { background: var(--brass-soft); }
.rslide__dot[aria-selected="true"] {
  width: 30px;
  background: var(--seal);
}

@media (max-width: 900px) {
  /* 좁은 화면에서는 설명 카드와 화면 이미지가 위아래로 놓입니다.
     둘이 한눈에 들어와야 해서 카드 안쪽 여백과 줄 간격을 함께 좁힙니다. */
  .rslide__item {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s4);
  }
  .rslide__card { padding: var(--s5) var(--s5) var(--s6); }
  .rslide__title {
    font-size: 19px;
    margin-bottom: var(--s5);
  }
  .rslide__feats { margin-bottom: var(--s5); }
  .rslide__feats li {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 7px;
  }
  .rslide__desc { font-size: 14px; line-height: 1.72; }
  .rslide__shot img { max-width: 440px; }
  .rslide__dots { justify-content: center; margin-top: var(--s5); }
}

/* --------------------------------------------------------------------------
   21. 카카오톡 상담 버튼
       카카오 노란색은 워낙 눈에 익어서 그대로 씁니다.
       대신 로고를 흉내내지 않고 일반 말풍선 아이콘만 씁니다.
   -------------------------------------------------------------------------- */
.btn.is-kakao {
  background: #FEE500;
  color: #191600;
  border-color: #FEE500;
}
.btn.is-kakao:hover { background: #F2DA00; border-color: #F2DA00; }
.btn.is-kakao svg { flex: none; }

/* 어두운 배경(푸터·먹색 섹션)에서 쓰는 글자 링크 */
.kakao-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.kakao-link::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #FEE500;
  flex: none;
}
