/* =========================================================
   세무사CMS 안내센터 — Design System
   금융기관 + 전문 세무서비스 + B2B SaaS 톤.
   Bootstrap 기본 티가 나지 않도록 토큰과 컴포넌트를 직접 정의한다.
   ========================================================= */
:root {
  --navy: #071A33;
  --navy-light: #12345B;
  --navy-soft: #1B3F6B;
  --primary: #1769AA;
  --primary-600: #125A93;
  --primary-tint: #E8F1F9;
  --primary-tint-2: #D3E4F3;
  --accent: #169B74;
  --accent-tint: #E4F5EF;
  --warn: #B4690E;
  --warn-tint: #FDF3E3;
  --danger: #C0392B;
  --danger-tint: #FBEAE8;

  --bg: #F5F8FC;
  --surface: #FFFFFF;
  --text: #102033;
  --muted: #5D6B7A;
  --line: #DCE4ED;
  --line-soft: #EAF0F6;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 20px;
  --pill: 999px;

  --sh-sm: 0 1px 2px rgba(7, 26, 51, .06), 0 1px 3px rgba(7, 26, 51, .04);
  --sh: 0 6px 20px rgba(7, 26, 51, .07);
  --sh-lg: 0 18px 44px rgba(7, 26, 51, .12);
  --ease: cubic-bezier(.4, .2, .2, 1);

  /* Bootstrap 브리지 */
  --bs-primary: var(--primary);
  --bs-primary-rgb: 23, 105, 170;
  --bs-link-color-rgb: 23, 105, 170;
  --bs-link-hover-color-rgb: 18, 90, 147;
  --bs-body-color: var(--text);
  --bs-border-color: var(--line);
  --bs-body-bg: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               "Segoe UI", "Malgun Gothic", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
h1 { font-size: clamp(1.9rem, 4.8vw, 3rem); }
h2 { font-size: clamp(1.625rem, 3.4vw, 2.375rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-alt { background: var(--surface); }

.container { max-width: 1140px; }

.text-soft { color: var(--muted); }
.lead-2 { font-size: clamp(1rem, 2.4vw, 1.125rem); color: var(--muted); }

/* ---------- eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 700; letter-spacing: .02em;
  color: var(--primary); background: var(--primary-tint);
  padding: 6px 12px; border-radius: var(--pill);
}
.section-head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin: 14px 0 10px; }

/* ---------- navbar ---------- */
.site-nav {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
  padding: .55rem 0;
}
.site-nav.scrolled { border-color: var(--line); box-shadow: var(--sh-sm); }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.06rem; color: var(--navy); text-decoration: none;
  letter-spacing: -.02em;
}
.brand:hover { color: var(--navy); text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-light), var(--primary));
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 17px; height: 17px; }
.site-nav .nav-link {
  color: var(--text); font-weight: 600; font-size: .95rem;
  padding: .5rem .75rem; border-radius: var(--r-sm);
}
.site-nav .nav-link:hover { background: var(--primary-tint); color: var(--primary-600); }
.site-nav .nav-link.active { color: var(--primary); }
.nav-phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--navy); font-size: .92rem; white-space: nowrap;
}
.nav-phone:hover { color: var(--primary); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  border-radius: var(--r-sm); font-weight: 700; letter-spacing: -.01em;
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.btn-lg { padding: .8rem 1.5rem; font-size: 1rem; border-radius: 12px; }
.btn-primary {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 2px 8px rgba(23, 105, 170, .22);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-600); border-color: var(--primary-600);
  box-shadow: 0 4px 14px rgba(23, 105, 170, .28);
}
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); color: #fff; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary-tint-2); background: #fff; }
.btn-outline-primary:hover { background: var(--primary-tint); border-color: var(--primary); color: var(--primary-600); }
.btn-ghost { color: var(--navy); background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--primary-tint-2); color: var(--primary-600); }

/* ---------- cards ---------- */
.card-s {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; box-shadow: var(--sh-sm);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
  height: 100%;
}
.card-s:hover { box-shadow: var(--sh); border-color: var(--primary-tint-2); }
a.card-s:hover { transform: translateY(-2px); text-decoration: none; }
.card-s h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card-s p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 0; }

.card-flat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px 22px;
}

.icon-box {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--primary-tint); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.icon-box svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.9; }
.icon-box.green { background: var(--accent-tint); color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(168deg, #F7FAFD 0%, #EDF3FA 52%, #E6EEF8 100%);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(40px, 6vw, 80px) 0 clamp(44px, 6vw, 80px);
}
.hero h1 { margin-bottom: 16px; }
.hero-sub { font-size: clamp(1rem, 2.6vw, 1.12rem); color: var(--muted); max-width: 560px; }
.hero-note {
  margin-top: 22px; padding: 14px 16px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line);
  font-size: .93rem; color: var(--muted); line-height: 1.65;
}
.hero-media img { width: 100%; height: auto; border-radius: var(--r-lg); }
/* 원본은 3:2 가로 사진 — 좌측 인물과 우측 노트북 화면이 모두 남도록 자른다.
   좁은 PC(992~1199)는 세로로 너무 길어지면 노트북이 잘리므로 4:3 으로만 키운다. */
@media (min-width: 992px) {
  .hero-media .media-frame.mf-hero img {
    aspect-ratio: 4 / 3; object-fit: cover; object-position: 36% center;
  }
}
@media (min-width: 1200px) {
  .hero-media { display: flex; }
  .hero-media .media-frame.mf-hero { flex: 1; display: flex; }
  .hero-media .media-frame.mf-hero img { height: 100%; min-height: 440px; aspect-ratio: auto; }
}

/* 히어로 — 제휴 머리말(길어서 줄바꿈 허용) */
.eyebrow-trust { white-space: normal; line-height: 1.45; text-align: left; }

/* 히어로 — 제휴 사실 배지 */
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .9rem; font-weight: 700; color: var(--navy);
  background: #F3F7FC; border: 1px solid var(--line); padding: 3px 10px; border-radius: var(--pill);
}
.hero-facts li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}

/* 업무제휴 신뢰 구간 */
.trust-section { background: #fff; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 56px; }
.trust-logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin-top: 20px; padding: 14px 18px; width: fit-content; max-width: 100%;
  background: #F7FAFD; border: 1px solid var(--line); border-radius: var(--r);
}
.trust-logos img { width: auto; max-width: 200px; object-fit: contain; }
.trust-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tf-item {
  background: linear-gradient(160deg, #F4F8FD 0%, #EAF1FA 100%);
  border: 1px solid var(--primary-tint-2); border-radius: var(--r-lg);
  padding: 22px 18px; text-align: center;
}
.tf-num {
  display: block; font-size: clamp(1.9rem, 4.2vw, 2.5rem); font-weight: 900;
  letter-spacing: -.03em; line-height: 1.1; color: var(--navy);
}
.tf-num small { font-size: .45em; font-weight: 800; margin-left: 2px; color: var(--primary); }
.tf-label { display: block; margin-top: 8px; font-size: .97rem; color: var(--muted); line-height: 1.5; }
.trust-notice {
  margin-top: 12px; padding: 12px 16px; border-radius: var(--r-sm);
  background: #FBFCFE; border: 1px dashed var(--line);
  font-size: .9rem; color: var(--muted); line-height: 1.6;
  display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; align-items: center;
}
.trust-notice a { font-weight: 700; white-space: nowrap; }
@media (max-width: 575.98px) {
  .trust-facts { gap: 8px; }
  .tf-item { padding: 16px 8px; }
  .tf-label { font-size: .78rem; }
}

/* 히어로 — 공식 제휴 기관 로고 */
.hero-partners {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-soft);
}
.hero-partners img { width: auto; max-width: 200px; object-fit: contain; }
.hp-label {
  font-size: .8rem; font-weight: 700; color: var(--primary);
  background: var(--primary-tint); padding: 3px 10px; border-radius: var(--pill);
}
.hp-x { color: #A9B4C2; font-size: 1rem; font-weight: 600; }

/* 인라인 일러스트 — 업로드/생성 이미지가 없을 때 쓰는 기본 아트워크 */
.illust {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg);
  filter: drop-shadow(0 12px 30px rgba(7, 26, 51, .10));
}
.illust rect, .illust path, .illust circle, .illust ellipse { vector-effect: non-scaling-stroke; }
/* 다이어그램은 글자를 읽어야 하므로 그림자를 빼고 배경과 자연스럽게 붙인다. */
.illust-diagram {
  filter: none; border: 1px solid var(--line);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif;
}

/* ---------- status badges (제공 조건 · 신선도) ---------- */
.badge-s {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .8rem; font-weight: 700; padding: 4px 10px;
  border-radius: var(--pill); border: 1px solid transparent; white-space: nowrap;
}
.badge-official { background: var(--accent-tint); color: #0F7355; border-color: #BFE7DA; }
.badge-conditional { background: var(--primary-tint); color: var(--primary-600); border-color: var(--primary-tint-2); }
.badge-apply { background: #EEF1F6; color: var(--navy-light); border-color: var(--line); }
.badge-check { background: var(--warn-tint); color: var(--warn); border-color: #F3DFBE; }
.badge-recheck { background: var(--danger-tint); color: var(--danger); border-color: #F1CFCA; }

.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-fresh { background: var(--accent); }
.dot-recheck { background: var(--warn); }
.dot-stale { background: var(--danger); }

/* ---------- answer block (AEO) ---------- */
.answer-card {
  background: var(--surface); border: 1px solid var(--primary-tint-2);
  border-left: 4px solid var(--primary);
  border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh-sm);
}
.answer-card .answer-label {
  font-size: .78rem; font-weight: 800; color: var(--primary);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; display: block;
}
.answer-card p { margin-bottom: 0; font-size: 1.02rem; line-height: 1.75; color: var(--text); }

/* ---------- steps ----------
   PC(≥992): 가로 단계형 + 화살표 / 태블릿: 3열 격자 / 모바일(<576): 세로 타임라인.
   좁은 본문 칼럼 안에서는 .step-flow-narrow 로 감싸 3열 격자로 둔다. */
.step-flow {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
}
.sf-item {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 16px 18px;
  box-shadow: var(--sh-sm);
}
.sf-no {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: .92rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
/* 다음 단계로 이어지는 화살표 */
.sf-item:not(:last-child)::after {
  content: ""; position: absolute; top: 30px; right: -12px; z-index: 1;
  width: 10px; height: 10px;
  border-top: 2px solid #9DB4CC; border-right: 2px solid #9DB4CC;
  transform: rotate(45deg);
}
.sf-body h3 { font-size: 1.125rem; margin: 0 0 6px; }
.sf-actor {
  display: inline-block; margin-bottom: 8px;
  font-size: .8rem; color: var(--primary); font-weight: 700;
  background: var(--primary-tint); padding: 2px 8px; border-radius: var(--pill);
}
.sf-body p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 0; }
.sf-body .sf-note {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: .9rem; color: var(--navy-soft);
}

.step-flow-narrow .step-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-flow-narrow .sf-item::after { display: none; }

@media (max-width: 991.98px) {
  .step-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-item::after { display: none; }
}
@media (max-width: 575.98px) {
  .step-flow, .step-flow-narrow .step-flow { grid-template-columns: 1fr; gap: 0; }
  .sf-item {
    display: grid; grid-template-columns: 32px 1fr; gap: 14px;
    background: transparent; border: 0; box-shadow: none; border-radius: 0;
    padding: 0 0 18px;
  }
  .sf-no { margin: 0; position: relative; z-index: 1; }
  /* 번호 사이를 잇는 세로선 */
  .sf-item:not(:last-child)::after {
    display: block; content: ""; position: absolute;
    top: 34px; bottom: 0; left: 15px; right: auto;
    width: 2px; height: auto; border: 0; transform: none;
    background: var(--primary-tint-2);
  }
  .sf-body h3 { margin-top: 4px; }
}

/* ---------- compare table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
table.compare { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; min-width: 560px; }
table.compare th, table.compare td { padding: 15px 18px; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
table.compare thead th {
  background: #F7FAFD; color: var(--navy); font-weight: 700; font-size: 1rem;
  position: sticky; top: 0;
}
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td.aspect { font-weight: 700; color: var(--navy); }
table.compare td.before { color: var(--muted); }
table.compare td.after { color: var(--text); }

/* 비교표 — 모바일에서는 행 하나를 카드 하나로 쌓는다(가로 스크롤 제거) */
@media (max-width: 767.98px) {
  .table-wrap.table-stack { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  table.compare-stack { min-width: 0; }
  table.compare-stack thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;   /* 화면에선 숨기고 스크린리더에는 남김 */
  }
  table.compare-stack, table.compare-stack tbody, table.compare-stack tr,
  table.compare-stack td { display: block; width: 100%; }
  table.compare-stack tbody { display: grid; gap: 12px; }
  table.compare-stack tr {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r); padding: 16px 18px; box-shadow: var(--sh-sm);
  }
  table.compare-stack td { border: 0; padding: 0; }
  table.compare-stack td.aspect {
    font-size: 1.02rem; color: var(--navy); margin-bottom: 12px;
  }
  table.compare-stack td[data-label]::before {
    content: attr(data-label);
    display: block; margin-bottom: 3px;
    font-size: .76rem; font-weight: 700; letter-spacing: .01em;
  }
  table.compare-stack td.before { color: var(--muted); font-size: .92rem; }
  table.compare-stack td.before::before { color: #8A97A8; }
  table.compare-stack td.after {
    margin-top: 10px; padding: 10px 12px; border-radius: 10px;
    background: var(--accent-tint); color: var(--text); font-size: .93rem; font-weight: 600;
  }
  table.compare-stack td.after::before { color: #0F7355; }

  /* 이름 + 구분 배지 + 설명 형태의 표(운영 주체·준비 서류) */
  table.stack-tagged tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px; align-items: start;
  }
  table.stack-tagged td.aspect { grid-column: 1; grid-row: 1; margin-bottom: 8px; }
  table.stack-tagged td.tag { grid-column: 2; grid-row: 1; width: auto; }
  table.stack-tagged td.desc {
    grid-column: 1 / -1; grid-row: 2;
    font-size: .93rem; color: var(--text); line-height: 1.65;
  }
}
table.compare td.desc { color: var(--text); }

/* ---------- diagnosis ---------- */
.diag-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.diag-item {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.diag-item:hover { border-color: var(--primary-tint-2); }
.diag-item input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.diag-item.checked { border-color: var(--primary); background: var(--primary-tint); }
.diag-item span { font-size: 1.06rem; font-weight: 600; color: var(--text); }
.diag-item small { display: block; font-size: .9rem; color: var(--muted); font-weight: 400; margin-top: 3px; }
#diagResult { display: none; }
#diagResult.show { display: block; }

/* ---------- promotion ---------- */
.promo-card {
  position: relative; height: 100%;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--r); padding: 24px 26px; color: #fff;
  box-shadow: var(--sh);
}
.promo-badge {
  display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .02em;
  background: rgba(255, 255, 255, .16); color: #CFE3F5;
  padding: 4px 11px; border-radius: var(--pill); margin-bottom: 12px;
}
.promo-benefit {
  font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 800; color: #fff;
  letter-spacing: -.02em; line-height: 1.35; margin-bottom: 8px;
}
.promo-target { font-size: .93rem; color: rgba(255, 255, 255, .82); line-height: 1.6; }
.promo-desc { font-size: .86rem; color: rgba(255, 255, 255, .62); margin-top: 6px; }

/* ---------- 사진 + 유리 알림 카드 ---------- */
.media-frame { position: relative; margin: 0; }
.media-frame img {
  display: block; width: 100%; height: 320px; object-fit: cover;
  border-radius: var(--r-lg); background: #E9EEF4;
  box-shadow: 0 10px 30px rgba(7, 26, 51, .10);
}
.media-frame.mf-sm img { height: 240px; }
.media-frame.mf-hero img { height: auto; aspect-ratio: 3 / 2; }
.media-frame.mf-fill { height: 100%; }
.media-frame.mf-fill img { height: 100%; min-height: 260px; }

.glass-note {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  max-width: calc(100% - 32px);
  padding: 9px 14px 9px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .76);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .65);
  box-shadow: 0 8px 24px rgba(7, 26, 51, .16);
  font-size: 14.5px; font-weight: 600; line-height: 1.35;
  color: var(--navy); letter-spacing: -.01em;
}
.gn-tr { top: 16px; right: 16px; }
.gn-tl { top: 16px; left: 16px; }
.gn-br { bottom: 16px; right: 16px; }
.gn-bl { bottom: 16px; left: 16px; }
.gn-ico {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.gn-ok { background: var(--accent); color: #fff; }
.gn-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin: 0 4px; }
.gn-warn { background: #E8590C; box-shadow: 0 0 0 4px rgba(232, 89, 12, .2); }
.gn-info { background: var(--primary); box-shadow: 0 0 0 4px rgba(23, 105, 170, .2); }
.gn-ex {
  flex: none; font-size: 11px; font-weight: 700; color: var(--muted);
  background: rgba(7, 26, 51, .07); padding: 1px 7px; border-radius: var(--pill);
}

/* 섹션 머리글(좌) + 사진(우) */
.section-split .section-head { max-width: none; }

/* 기능 — 사진과 좌우로 묶은 넓은 카드 */
.card-s.card-wide {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 0; overflow: hidden; height: 100%;
}
.card-wide:hover { text-decoration: none; }
.cw-body { padding: 22px; display: flex; flex-direction: column; }
.cw-more { margin-top: auto; padding-top: 12px; font-size: .88rem; font-weight: 700; color: var(--primary); }
.cw-media { min-height: 260px; }
.cw-media .media-frame img { border-radius: 0; box-shadow: none; }

@media (max-width: 767.98px) {
  .media-frame img, .media-frame.mf-sm img { height: 220px; }
  .media-frame.mf-hero img { height: auto; }
  /* 모바일: 카드를 사진 아래로 내려 인물·소품을 가리지 않는다 */
  .glass-note {
    position: relative; top: auto; right: auto; bottom: auto; left: auto;
    display: flex; width: fit-content; max-width: calc(100% - 24px);
    margin: -20px 12px 0; font-size: 14px; padding: 8px 12px 8px 9px;
  }
  .card-s.card-wide { grid-template-columns: 1fr; }
  .cw-media { min-height: 0; order: -1; }
  .media-frame.mf-fill img { height: 220px; min-height: 0; }
  .cw-media .glass-note { margin-bottom: 4px; }
}

/* 가이드 카드 썸네일 */
.card-s.card-thumb { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-thumb .thumb {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  display: block; background: #F7FAFD; border-bottom: 1px solid var(--line-soft);
}
.card-thumb > :not(.thumb) { margin-left: 22px; margin-right: 22px; }
.card-thumb > .eyebrow { margin-top: 20px; }
.card-thumb > p:last-child { margin-bottom: 22px; }

/* ---------- 목차(TOC) ---------- */
.toc {
  background: #F7FAFD; border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 22px;
}
.toc-label {
  display: block; font-size: .82rem; font-weight: 700; color: var(--muted);
  letter-spacing: .01em; margin-bottom: 10px;
}
.toc ol {
  margin: 0; padding-left: 1.1rem;
  columns: 2; column-gap: 28px; font-size: .94rem;
}
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--navy); font-weight: 600; }
.toc a:hover { color: var(--primary); }
@media (max-width: 575.98px) { .toc ol { columns: 1; } }

/* ---------- consult sidebar ---------- */
.consult-call {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-sm);
}
.cc-label { font-size: .93rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.cc-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: clamp(1.5rem, 4.4vw, 1.85rem); font-weight: 800; letter-spacing: -.02em;
  color: var(--navy); line-height: 1.2;
}
.cc-phone:hover { color: var(--primary); text-decoration: none; }
.cc-phone svg { color: var(--primary); flex: none; }
.cc-hours { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.cc-meta {
  list-style: none; padding: 16px 0 0; margin: 16px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid; gap: 6px; font-size: .93rem; color: var(--muted);
}
.cc-meta .cc-ext { font-size: .82rem; opacity: .85; line-height: 1.6; }

/* 진행 중인 혜택 — 사이드 패널형 */
.promo-panel {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--r-lg); padding: 22px 24px; color: #fff;
  box-shadow: var(--sh);
}
.pp-head {
  display: flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 14px;
}
.pp-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(22, 155, 116, .25);
}
.pp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pp-list li { display: grid; gap: 3px; }
.pp-benefit {
  font-size: 1.12rem; font-weight: 800; color: #fff; letter-spacing: -.01em; line-height: 1.4;
}
.pp-target { font-size: .93rem; color: rgba(255, 255, 255, .72); line-height: 1.6; }
.pp-note {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .8rem; color: rgba(255, 255, 255, .6); line-height: 1.6;
}

/* ---------- source / footnote ---------- */
.source-line {
  font-size: .88rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center;
}
.source-line a { color: var(--primary); }
.notice-box {
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 20px; font-size: .92rem; color: var(--muted);
  line-height: 1.7;
}
.notice-box strong { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 20px 52px 20px 22px; font-weight: 700; color: var(--navy); font-size: 1.08rem;
  position: relative; cursor: pointer;
}
.faq-q::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 1rem; display: none; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-card {
  background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg);
}
.cta-band .eyebrow { background: rgba(255,255,255,.12); color: #BFD9EE; }
.cta-band .text-soft { color: rgba(255, 255, 255, .78); }
.cta-band a.link-light { color: #BFD9EE; }

/* 모바일 하단 고정 CTA — 화면을 과도하게 가리지 않게 얇게 */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.sticky-cta .btn { flex: 1; padding: .7rem .5rem; font-size: .95rem; }
@media (max-width: 767.98px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 68px; }
}

/* ---------- form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 32px); }
.form-label { font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.form-control, .form-select {
  border-radius: var(--r-sm); border-color: var(--line); padding: .7rem .85rem; font-size: .97rem;
  background: #FCFDFE;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(23, 105, 170, .12); background: #fff;
}
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.req { color: var(--danger); font-weight: 700; }
.opt {
  font-size: .78rem; font-weight: 600; color: var(--muted);
  background: var(--line-soft); padding: 2px 7px; border-radius: var(--pill); margin-left: 4px;
}

/* 라벨은 항상 입력칸 위에 오도록 블록으로 고정 (인라인이면 textarea 옆으로 밀린다) */
.field .form-label { display: block; }
.field textarea.form-control { min-height: 132px; resize: vertical; }
.field-hint { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: .84rem; font-weight: 600; color: var(--danger); margin: 6px 0 0; }
.form-control.is-invalid, .form-select.is-invalid {
  border-color: var(--danger); background: #FFFBFB;
}
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .14); }

/* 개인정보 동의 — 내부 스크롤 없이 전체가 보이도록 */
.consent {
  border: 1px solid var(--line); border-radius: var(--r);
  background: #FAFCFE; overflow: hidden;
}
.consent-body { padding: 18px 20px; font-size: .86rem; color: var(--muted); line-height: 1.7; }
.consent-body b { color: var(--navy); font-size: .92rem; display: block; margin-bottom: 10px; }
.consent-body dl {
  display: grid; grid-template-columns: 82px 1fr; gap: 6px 12px; margin: 0 0 10px;
}
.consent-body dt { font-weight: 700; color: var(--ink-2, var(--text)); opacity: .85; }
.consent-body dd { margin: 0; }
.consent-check {
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 14px 20px;
  background: #fff; border-top: 1px solid var(--line);
}
.consent-check .form-check-input {
  width: 20px; height: 20px; margin: 0; flex: none; cursor: pointer;
}
.consent-check .form-check-label {
  margin: 0; font-size: .93rem; font-weight: 600; color: var(--text); cursor: pointer;
}
.submit-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* ---------- article ---------- */
.article-body { font-size: 1.02rem; line-height: 1.85; color: #23324A; }
.article-body h2 { margin: 2.2rem 0 .9rem; font-size: 1.4rem; }
.article-body h3 { margin: 1.7rem 0 .7rem; font-size: 1.13rem; }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { padding-left: 1.2rem; margin-bottom: 1.1rem; }
.article-body li { margin-bottom: .45rem; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--r); }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; font-size: .95rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; }
.article-body th { background: #F7FAFD; color: var(--navy); }
.article-meta { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: .84rem; color: var(--muted); padding: 14px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs span + span::before { content: "›"; margin: 0 7px; opacity: .6; }

/* ---------- footer ---------- */
footer.site { background: var(--navy); color: rgba(255, 255, 255, .72); }
footer.site a { color: rgba(255, 255, 255, .78); }
footer.site a:hover { color: #fff; text-decoration: none; }
footer.site .fw-bold { color: #fff; }

/* ---------- utilities ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--pill);
  padding: 7px 14px; font-size: .88rem; font-weight: 600; color: var(--navy);
}
.chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }
.visually-hidden-focusable:focus { position: static !important; }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding: 12px 0 6px; }
  .site-nav .nav-link { padding: .6rem .5rem; }
}

/* 운영 주체 표 — 로고가 있으면 이름 앞에 작게 표시 */
.partner-logo { display: block; width: auto; max-width: 200px; object-fit: contain; margin-bottom: 6px; }

/* =========================================================
   기획 검토 반영 (v15) — 비용 혜택 강조 · 레이아웃 정리
   ========================================================= */

/* 히어로 — 비용 혜택 띠 */
.hero-promo {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 20px; padding: 10px 14px; max-width: 560px;
  background: #fff; border: 1px solid #BFE7DA; border-radius: 14px;
  box-shadow: 0 4px 14px rgba(22, 155, 116, .10);
  color: var(--navy); text-decoration: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.hero-promo:hover { text-decoration: none; color: var(--navy); border-color: var(--accent); box-shadow: 0 6px 18px rgba(22, 155, 116, .18); }
.hpr-badge {
  flex: none; font-size: .76rem; font-weight: 800; color: #fff;
  background: var(--accent); padding: 3px 10px; border-radius: var(--pill);
}
.hpr-text { flex: 1 1 auto; font-size: 1.04rem; line-height: 1.45; }
.hpr-text b { font-weight: 800; color: #0F7355; }
.hpr-more { font-size: .9rem; color: var(--muted); margin-left: 4px; white-space: nowrap; }
.hpr-go { flex: none; font-weight: 800; color: var(--accent); }

/* 비용 혜택 구간 */
.promo-section { background: linear-gradient(180deg, #FFFFFF 0%, #F0F8F4 100%); border-bottom: 1px solid var(--line-soft); }
/* 상단 고정 메뉴에 가리지 않도록 앵커 이동 위치를 내린다 */
#promotions { scroll-margin-top: 56px; }
.eyebrow-accent { color: #0F7355; background: var(--accent-tint); }
.promo-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: var(--r-lg); padding: 28px 30px; color: #fff; box-shadow: var(--sh-lg);
}
.promo-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 155, 116, .45), rgba(22, 155, 116, 0) 70%);
}
.ph-badge {
  display: inline-block; font-size: .8rem; font-weight: 800;
  background: var(--accent); color: #fff; padding: 4px 12px; border-radius: var(--pill);
}
.ph-benefit {
  font-size: clamp(2rem, 5.4vw, 2.9rem); font-weight: 900; letter-spacing: -.03em;
  line-height: 1.15; margin: 14px 0 8px; color: #fff; position: relative;
}
.ph-target { font-size: 1rem; color: rgba(255, 255, 255, .82); position: relative; }
.ph-until { font-size: .86rem; color: rgba(255, 255, 255, .62); margin-top: 6px; }
.promo-rows {
  list-style: none; margin: 12px 0 0; padding: 4px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}
.promo-rows li {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4px 18px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.promo-rows li:last-child { border-bottom: 0; }
.pr-benefit { font-size: 1.18rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; line-height: 1.4; }
.pr-target { font-size: .95rem; color: var(--muted); line-height: 1.55; }
.pr-badge {
  display: block; width: fit-content; margin-bottom: 3px;
  font-size: .72rem; font-weight: 800; color: #0F7355;
  background: var(--accent-tint); padding: 1px 8px; border-radius: var(--pill);
}
@media (max-width: 575.98px) {
  .promo-hero { padding: 22px 22px; }
  .promo-rows { padding: 2px 18px; }
  .promo-rows li { grid-template-columns: 1fr; }
}

/* 케이스별 혜택 확인 */
.benefit-check {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 28px); box-shadow: var(--sh);
  display: grid; gap: 18px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.bc-head { grid-column: 1 / -1; }
.bc-title { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.bc-sub { margin: 2px 0 0; font-size: .97rem; color: var(--muted); }
.bc-options { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.bc-opt {
  display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #FBFCFE;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.bc-opt:hover { border-color: #9FD9C6; }
.bc-opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.bc-opt b { display: block; font-size: 1.05rem; color: var(--navy); line-height: 1.45; }
.bc-opt small { display: block; font-size: .875rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.bc-opt.checked { border-color: var(--accent); background: var(--accent-tint); }
.bc-result {
  border-radius: 14px; background: #F4FAF7; border: 1px dashed #9FD9C6;
  padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: center;
}
.bc-empty { margin: 0; color: var(--muted); font-size: 1rem; }
.bc-label { font-size: .8rem; font-weight: 800; color: #0F7355; margin-bottom: 8px; }
.bc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bc-list li {
  position: relative; padding-left: 26px;
  font-size: 1.1rem; font-weight: 800; color: var(--navy); line-height: 1.45;
}
.bc-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
}
.bc-list li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 9px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg);
}
.bc-note { margin: 10px 0 0; font-size: .875rem; color: var(--muted); }
@media (max-width: 991.98px) {
  .benefit-check { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .bc-options { grid-template-columns: 1fr; }
}

/* 상단 메뉴 — 비용 혜택 */
.site-nav .nav-link.nav-promo { color: #0F7355; }
.site-nav .nav-link.nav-promo:hover { background: var(--accent-tint); color: #0F7355; }

/* 하단 CTA — 혜택 한 줄 */
.cta-promo {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin: 0 auto 16px; padding: 8px 16px; border-radius: 14px;
  background: rgba(22, 155, 116, .16); border: 1px solid rgba(22, 155, 116, .45);
  color: #D5F2E8; font-size: .98rem; font-weight: 600; text-decoration: none;
}
.cta-promo:hover { color: #fff; text-decoration: none; background: rgba(22, 155, 116, .26); }
.cp-badge { font-size: .74rem; font-weight: 800; background: var(--accent); color: #fff; padding: 2px 9px; border-radius: var(--pill); }
.cta-band .btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.cta-band .btn-light:hover { background: var(--primary-tint); border-color: var(--primary-tint); color: var(--primary-600); }

/* 상담 페이지 — 혜택 */
.consult-promo-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.cps-chip {
  font-size: .9rem; color: var(--navy); background: var(--accent-tint);
  border: 1px solid #BFE7DA; padding: 4px 10px; border-radius: var(--pill);
}
.cps-chip b { color: #0F7355; }
.pp-badge {
  justify-self: start; font-size: .72rem; font-weight: 800; color: #fff;
  background: var(--accent); padding: 2px 9px; border-radius: var(--pill); margin-bottom: 2px;
}
.cc-meta .cc-join { margin-top: 6px; font-size: .86rem; line-height: 1.6; }
.cc-meta .cc-join span { font-size: .78rem; opacity: .8; }

/* 홈 기능 격자 — 마지막 '전체 보기' 카드 */
.card-s.card-more {
  display: flex; flex-direction: column; justify-content: center;
  background: var(--primary-tint); border-color: var(--primary-tint-2);
  text-decoration: none;
}
.card-more .cm-title { font-size: 1.1rem; font-weight: 800; color: var(--primary-600); }
.card-more .cm-sub { font-size: .9rem; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.card-more .cm-arrow { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-top: 10px; transition: transform .15s var(--ease); }
.card-more:hover .cm-arrow { transform: translateX(4px); }

/* 도입 전 확인사항 — 카드 6장 대신 한 장 안의 목록 */
.check-list {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 22px;
}
.check-row { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.check-row:last-child { border-bottom: 0; }
.cr-title { font-weight: 700; color: var(--navy); font-size: 1.06rem; }
.cr-desc { font-size: .97rem; color: var(--muted); line-height: 1.6; }

/* 기능 목록 페이지 — 가로형 카드 */
.card-s.fl-card { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; }
.fl-card .icon-box { flex: none; margin-bottom: 0; }
.fl-body { min-width: 0; }
.fl-group { display: block; font-size: .84rem; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.fl-card h2 { font-size: 1.25rem; margin: 0 0 6px; }
.fl-card p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 0; }
.fl-more { display: inline-block; margin-top: 8px; font-size: .93rem; font-weight: 700; color: var(--primary); }

/* 기능 상세 — 설명용 그림은 본문보다 크지 않게 */
.feature-visual {
  margin-left: 0; margin-right: 0; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center;
}
.feature-visual img { width: 100%; max-width: 440px; height: auto; border-radius: var(--r); }

/* 모바일 — 긴 목록 압축 */
@media (max-width: 767.98px) {
  .diag-grid:not(.expanded) .diag-extra { display: none; }
  .diag-item { padding: 12px 14px; }
  .diag-item span { font-size: 1rem; line-height: 1.55; }

  .feat-grid .card-s:not(.card-wide) { padding: 16px 14px; }
  .feat-grid .icon-box { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 10px; }
  .feat-grid .icon-box svg { width: 18px; height: 18px; }
  .feat-grid .card-s h3 { font-size: 1.06rem; line-height: 1.4; }
  .feat-grid .card-s p { font-size: .92rem; line-height: 1.6; }
  .feat-grid .cw-body p { font-size: 1rem; }
}

/* =========================================================
   편집 디자인 전환 (v21) — '템플릿·AI 느낌' 줄이기
   - 알약 라벨 → 선 하나 붙은 글자 라벨
   - 둥근 모서리·그림자·그라데이션 축소(금융기관 톤)
   - 구간마다 다른 배치: 남색 혜택 띠 / 숫자 / 사진 교차 / 관리 화면 / 단계 / 2단 FAQ
   ========================================================= */
:root {
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 14px;
  --sh-sm: 0 1px 0 rgba(7, 26, 51, .04);
  --sh: 0 2px 10px rgba(7, 26, 51, .06);
  --sh-lg: 0 10px 28px rgba(7, 26, 51, .12);
}

/* 라벨: 배경 없는 글자 + 앞줄 */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; padding: 0; border-radius: 0;
  font-size: .875rem; font-weight: 800; letter-spacing: .03em; color: var(--primary);
  margin: 0;
}
.eyebrow::before, .kicker::before {
  content: ""; width: 18px; height: 2px; background: currentColor; flex: none;
}
.kicker-trust {
  color: var(--navy-soft); font-weight: 700; letter-spacing: 0;
  line-height: 1.5; margin-bottom: 14px; align-items: flex-start;
}
.kicker-trust::before { margin-top: .7em; background: var(--primary); }
.eyebrow-trust { white-space: normal; }
.card-thumb > .eyebrow, .card-s .eyebrow { font-size: .8rem; }
.card-s .eyebrow::before { width: 12px; }

/* 평평한 면 */
.hero { background: #F2F6FA; }
a.card-s:hover { transform: none; }
.hero-promo { box-shadow: none; }
.cta-card { background: rgba(255, 255, 255, .04); }
.cta-band .eyebrow { background: none; color: #9FC3E6; }
.promo-panel { background: var(--navy); }

/* 구간 머리: 제목(좌) + 설명(우) */
.split-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 48px; align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.split-head h2 { margin: 0; }
.split-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
@media (max-width: 767.98px) {
  .split-head { grid-template-columns: 1fr; }
}

/* 비용 혜택 — 남색 띠 */
.promo-section { background: var(--navy); color: #fff; border-bottom: 0; }
.promo-section h2 { color: #fff; }
.promo-section .lead-2, .promo-section .text-soft { color: rgba(255, 255, 255, .72); }
.promo-section .eyebrow, .promo-section .eyebrow-accent { color: #7FD8B8; background: none; }
.promo-section .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.promo-section .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: #fff; }
.promo-hero {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: none;
}
.promo-hero::after { display: none; }
.promo-rows { background: transparent; border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.promo-rows li { border-bottom-color: rgba(255, 255, 255, .1); }
.pr-benefit { color: #fff; }
.pr-target { color: rgba(255, 255, 255, .66); }
.pr-badge { background: rgba(22, 155, 116, .22); color: #9BE3C7; }
.benefit-check { box-shadow: none; border: 0; }

/* 업무제휴 — 숫자 */
.trust-section .eyebrow { margin-bottom: 4px; }
.tf-item {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--primary);
  border-radius: 4px; text-align: left; padding: 20px 20px 18px;
}
.tf-num { color: var(--navy); }

/* 이런 일이 반복된다면 — 사진 교차 */
.story-rows { display: grid; }
.story-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.story-row:first-child { padding-top: 0; }
.story-row:last-child { border-bottom: 0; padding-bottom: 0; }
.story-row.is-reverse .story-media { order: 2; }
.story-row.no-media { grid-template-columns: 1fr; }
.story-media .media-frame img { height: 340px; box-shadow: none; }
.story-no {
  display: block; font-size: 2.6rem; font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--primary); letter-spacing: -.02em;
  margin-bottom: 14px;
}
.story-problem {
  font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 800; color: var(--navy);
  line-height: 1.4; letter-spacing: -.02em; margin: 0 0 14px;
}
.story-body h3 {
  display: inline-block; font-size: .95rem; font-weight: 800; color: var(--primary);
  background: var(--primary-tint); padding: 3px 10px; border-radius: 4px; margin: 0 0 12px;
}
.story-body p:not(.story-problem) { color: #35475C; font-size: 1.05rem; line-height: 1.8; }
.story-link { display: inline-block; margin-top: 6px; font-weight: 700; }
@media (max-width: 767.98px) {
  .story-row { grid-template-columns: 1fr; }
  .story-row.is-reverse .story-media { order: 0; }
  .story-media .media-frame img { height: 220px; }
  .story-no { font-size: 2rem; }
}

/* 세무포털 세무사CMS 화면 재현 (예시) */
.portal {
  position: relative; background: #fff; border: 1px solid #C9D5E3; border-radius: 8px;
  overflow: hidden; box-shadow: var(--sh-lg); font-size: 14px; line-height: 1.5;
}
.portal-sample {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  font-size: 12px; font-weight: 700; color: #7A5B00; background: #FFF4CC;
  border: 1px solid #F0DC8C; padding: 2px 9px; border-radius: 4px;
}
.portal-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap;
  padding: 16px 22px 12px;
}
.pt-brand { display: flex; align-items: baseline; gap: 10px; }
.pt-brand b { font-size: 22px; font-weight: 900; color: #1C4E8A; letter-spacing: -.03em; }
.pt-brand span { font-size: 16px; font-weight: 700; color: #4A5A6C; }
.pt-util { font-size: 12.5px; color: #55657A; margin-right: 150px; }
.pt-util b { color: #1C4E8A; }
.portal-gnb {
  display: flex; background: #0E6CB8; overflow-x: auto; scrollbar-width: none;
}
.portal-gnb::-webkit-scrollbar { display: none; }
.pg-tab {
  flex: 1 0 auto; border: 0; background: transparent; color: #fff;
  font-size: 15px; font-weight: 800; padding: 13px 18px; cursor: pointer; white-space: nowrap;
}
.pg-tab:hover { background: rgba(255, 255, 255, .1); }
.pg-tab.is-active { background: #0A5696; box-shadow: inset 0 -3px 0 #FFD34E; }
.portal-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: #fff; }
.portal-side { padding: 16px 14px; border-right: 1px solid #E3E9F0; background: #FAFBFD; }
.ps-user {
  border: 1px solid #DDE4EC; background: #fff; padding: 12px; font-size: 12.5px; color: #4A5A6C;
}
.ps-user span { display: block; color: #7A8898; }
.ps-user b { color: #1B2A3B; }
.ps-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.ps-quick span {
  display: grid; justify-items: center; gap: 6px; padding: 12px 4px;
  border: 1px solid #DDE4EC; background: #fff; font-size: 12.5px; font-weight: 700; color: #1B2A3B;
}
.q-ico { width: 26px; height: 22px; border-radius: 4px; background: #CFE0F2; border: 2px solid #3B78B8; }
.ps-links { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.ps-links li {
  border: 1px solid #DDE4EC; background: #fff; padding: 9px 10px; font-size: 12.5px; font-weight: 700; color: #1B2A3B;
}
.ps-links li::after { content: "›"; float: right; color: #7A8898; }
.portal-main { padding: 18px 22px 20px; min-width: 0; }
.pm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 18px; }
.pm-grid > div { min-width: 0; }  /* 넓은 표가 칸을 밀어내지 않고 자기 상자 안에서 가로 스크롤 */
.pm-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 800; color: #1B2A3B; margin: 0 0 8px;
}
.pm-title::before { content: ""; width: 5px; height: 5px; background: #0E6CB8; }
.pm-title-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.pm-period { font-size: 12px; color: #55657A; margin-bottom: 8px; }
.pm-period em { font-style: normal; color: #fff; background: #0E6CB8; padding: 2px 8px; border-radius: 3px; margin-left: 4px; }
.pm-scroll { overflow-x: auto; }
.pm-table { width: 100%; border-collapse: collapse; border-top: 2px solid #1B2A3B; font-size: 13px; }
.pm-table th { background: #F3F6FA; font-weight: 700; color: #1B2A3B; padding: 8px 6px; text-align: center; border-bottom: 1px solid #DDE4EC; }
.pm-table td { padding: 8px 6px; text-align: center; border-bottom: 1px solid #EDF1F5; color: #3A4A5C; white-space: nowrap; }
.pm-table td.num { text-align: right; padding-right: 12px; color: #D6382F; font-weight: 700; }
.pm-table tr.sum td { font-weight: 800; color: #1B2A3B; background: #FAFBFD; }
.pm-table tr.sum td.num { color: #1B2A3B; }
.pm-pay { min-width: 520px; }
.pm-help { font-size: 12px; color: #7A8898; margin: 8px 0 0; }
.pm-notice { list-style: none; margin: 0; padding: 0; border-top: 2px solid #1B2A3B; }
.pm-notice li { display: flex; gap: 14px; padding: 8px 6px; border-bottom: 1px solid #EDF1F5; font-size: 13px; color: #3A4A5C; }
.pm-notice li span { width: 20px; text-align: center; color: #7A8898; }
.pm-bill {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid #E3E9F0;
}
.pm-bill p { margin: 0; font-size: 12.5px; color: #55657A; max-width: 560px; }
.pm-btn { background: #1C4E8A; color: #fff; font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 3px; white-space: nowrap; }
.pm-lead { font-size: 14px; color: #4A5A6C; margin: 0 0 12px; }
.pm-submenu {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px;
}
.pm-submenu li {
  border: 1px solid #DDE4EC; background: #FAFBFD; padding: 10px 12px;
  font-size: 13.5px; font-weight: 700; color: #1B2A3B;
}
.pm-submenu li::before { content: "›"; color: #0E6CB8; margin-right: 6px; }
.pm-formula {
  margin: 14px 0 0; padding: 10px 14px; background: #F2F6FA; border-left: 4px solid #169B74;
  font-size: 14px; color: #1B2A3B;
}
.console-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 16px; padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px;
}
.cl-text { display: grid; gap: 4px; min-width: 0; }
.cl-tag { font-size: .8rem; font-weight: 800; color: #0F7355; }
.cl-text b { color: var(--navy); font-size: 1.05rem; }
.cl-text span:not(.cl-tag) { color: var(--muted); font-size: .95rem; }
.console-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 14px;
}
.console-foot p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 991.98px) {
  .portal-body { grid-template-columns: 1fr; }
  .portal-side { display: none; }
  .pm-grid { grid-template-columns: minmax(0, 1fr); }
  .pt-util { margin-right: 0; }
}
@media (max-width: 575.98px) {
  .portal-sample { position: static; display: block; margin: 10px 12px 0; width: fit-content; }
  .portal-top { padding: 10px 14px; }
  .pt-util { display: none; }
  .pg-tab { flex: 0 0 auto; font-size: 14px; padding: 11px 14px; }
  .portal-main { padding: 14px; }
  .pm-bill .pm-btn { width: 100%; text-align: center; }
}

/* /tax-cms/ — 어떤 사무소에 맞나요 */
.fit-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.fit-list li { position: relative; padding-left: 22px; color: #35475C; }
.fit-list li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.fit-checks { margin: 12px 0 0; }
.fit-checks dt { font-weight: 800; color: var(--navy); margin-top: 10px; }
.fit-checks dd { margin: 2px 0 0; color: var(--muted); }

/* /features/ — 수납 문제 점검 */
.diag-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(20px, 3vw, 28px); margin-bottom: 8px;
}
.diag-head { margin-bottom: 16px; }
.diag-result { background: #F5F8FB; border-radius: 8px; padding: 16px 18px; }
.diag-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.diag-links li { display: grid; gap: 2px; }
.diag-links li[hidden] { display: none; }
.diag-links a, .diag-links b { font-weight: 800; }
.diag-links span { color: var(--muted); font-size: .95rem; }

/* 기능 상세 본문 — 계산식 */
.article-body .formula {
  background: #F2F6FA; border-left: 4px solid var(--primary);
  padding: 12px 16px; border-radius: 4px; font-size: 1.05rem; color: var(--navy);
}
