/* ============================================
   K-Trust · Case Study Section
   임팩트 사례 발표 · 60세 · 120억 빌딩주 스토리
   ============================================ */

.case-section {
  padding: 140px 0 120px;
  background:
    radial-gradient(ellipse at 15% 8%, rgba(212, 175, 55, 0.08), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(26, 58, 82, 0.05), transparent 60%),
    var(--paper);
  position: relative;
  overflow: hidden;
}
.case-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 32px,
      rgba(26, 58, 82, 0.015) 32px,
      rgba(26, 58, 82, 0.015) 33px
    );
  pointer-events: none;
}
.case-section > .container { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════
   1. 오프닝 훅 · 숨 멎게 하는 첫 순간
   ═══════════════════════════════════════════════ */
.case-opener {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 100px;
}
.case-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding: 8px 18px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 2px;
}
.case-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.case-hook {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 54px;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  word-break: keep-all;
}
.case-hook .hook-line-1 {
  display: block;
  font-size: 0.62em;
  color: var(--ink-3);
  font-weight: 400;
  margin-bottom: 12px;
}
.case-hook .hook-line-2 {
  display: block;
  margin-bottom: 8px;
}
.case-hook .hook-line-2 em {
  font-style: normal;
  color: var(--gold-soft);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}
.case-hook .hook-line-3 {
  display: block;
  font-size: 0.75em;
  color: var(--ink-2);
  margin-top: 20px;
}
.case-hook .hook-line-3 em.danger {
  font-style: normal;
  color: #b03030;
  font-weight: 600;
  border-bottom: 2px solid #b03030;
  padding-bottom: 2px;
}

.case-hook-sub {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 20px;
  font-weight: 500;
}
.case-hook-sub strong {
  color: var(--navy);
  font-weight: 600;
}

/* ⭐ 팩트체크 완료 배지 · 강의 신뢰도 시그널 */
.case-fact-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
  padding: 10px 18px;
  background: rgba(30, 133, 88, 0.06);
  border: 1px solid rgba(30, 133, 88, 0.28);
  border-radius: 3px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
  text-align: left;
}
.cfc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #1e8558;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.cfc-text {
  font-family: var(--sans);
  letter-spacing: -0.005em;
}
.cfc-text strong {
  color: #145d3d;
  font-weight: 700;
  margin-right: 4px;
}

/* ═══════════════════════════════════════════════
   2. 프로필 카드
   ═══════════════════════════════════════════════ */
.case-profile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 48px 56px;
  margin-bottom: 100px;
  box-shadow: 0 40px 80px -30px rgba(15, 38, 55, 0.12);
  position: relative;
  overflow: hidden;
}
.case-profile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.profile-avatar {
  flex-shrink: 0;
}
.avatar-inner {
  width: 88px; height: 88px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  box-shadow: 0 12px 32px -8px rgba(15, 38, 55, 0.4);
}
.avatar-mark {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.profile-meta { flex: 1; }
.profile-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.profile-name {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 6px;
}
.profile-age {
  font-size: 20px;
  color: var(--ink-3);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 4px;
}
.profile-family {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* 자산 카드 3개 */
.profile-assets {
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.asset-card {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px 22px;
  border-radius: 3px;
  position: relative;
  transition: all 220ms ease;
}
.asset-card.asset-primary {
  background: linear-gradient(180deg, #fdf9ee 0%, #fbf5e0 100%);
  border-color: rgba(212, 175, 55, 0.35);
}
.asset-card.asset-total {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--paper);
}
.asset-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.asset-card.asset-total .asset-label { color: rgba(251, 250, 247, 0.6); }
.asset-value {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 500;
}
.asset-card.asset-primary .asset-value { color: var(--gold-soft); }
.asset-card.asset-total .asset-value { color: var(--gold-light); }
.asset-value strong { font-weight: 600; }
.asset-unit {
  font-size: 16px;
  color: var(--ink-3);
  font-weight: 500;
  margin-left: 4px;
  font-family: var(--sans);
}
.asset-card.asset-total .asset-unit { color: rgba(251, 250, 247, 0.6); }
.asset-detail {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.asset-card.asset-total .asset-detail { color: rgba(251, 250, 247, 0.5); }
.asset-detail strong {
  color: var(--navy);
  font-weight: 600;
}
.asset-card.asset-total .asset-detail strong { color: var(--gold-light); }
.asset-divider {
  display: flex;
  align-items: center;
  color: var(--ink-4);
  font-size: 24px;
  font-family: var(--mono);
  font-weight: 300;
  padding: 0 4px;
}

/* ═══════════════════════════════════════════════
   3. 5가지 걱정
   ═══════════════════════════════════════════════ */
.case-worries {
  margin-bottom: 100px;
}
.worries-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.worries-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.worries-title {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.35;
  font-weight: 500;
  margin: 0;
}
.worries-title .serif em {
  font-style: normal;
  color: var(--gold-soft);
}

.worries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.worry-card {
  background: white;
  border: 1px solid var(--line);
  padding: 32px 28px 28px;
  border-radius: 3px;
  transition: all 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.worry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 40%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.worry-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -12px rgba(26, 58, 82, 0.12);
}
.worry-card:hover::before { transform: scaleY(1); }

.worry-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold-soft);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  font-weight: 700;
}
.worry-icon {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
}
.worry-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.4;
}
.worry-desc {
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.8;
  margin: 0;
  white-space: pre-line;
  font-weight: 450;
}

/* ═══════════════════════════════════════════════
   4. 교수님 명언 인용구
   ═══════════════════════════════════════════════ */
.case-quote {
  max-width: 860px;
  margin: 0 auto 100px;
  padding: 56px 48px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper);
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(15, 38, 55, 0.35);
}
.case-quote::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.case-quote::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15), transparent 60%);
  pointer-events: none;
}
.quote-closing {
  background: linear-gradient(180deg, #0f2637 0%, #0a1520 100%);
}

.quote-mark {
  font-size: 80px;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 20px;
  font-weight: 400;
  opacity: 0.8;
}
.quote-body {
  font-size: 32px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 36px;
  font-weight: 400;
  word-break: keep-all;
}
.quote-body em {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 500;
}
.quote-emphasis {
  display: block;
  font-size: 0.82em;
  color: rgba(251, 250, 247, 0.85);
  margin-top: 12px;
  font-style: italic;
}
.quote-author {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--gold-light);
  font-size: 14px;
}
.author-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.author-name {
  font-family: var(--serif);
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--paper);
}
.author-name em {
  font-style: italic;
  color: var(--gold-light);
  font-size: 12px;
  margin-left: 6px;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════
   5. 시나리오 A/B/C 비교
   ═══════════════════════════════════════════════ */
.case-scenarios { margin-bottom: 0; }  /* 3층 스택과 딱 붙임 */
.scenarios-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.scenarios-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.scenarios-title {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.35;
  font-weight: 500;
  margin: 0 0 20px;
}
.scenarios-title em {
  font-style: normal;
  color: var(--gold-soft);
}
.scenarios-sub {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0;
}
.scenarios-sub strong {
  color: var(--navy);
  font-weight: 600;
}

/* 탭 스위처 */
.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.scenario-tab {
  background: white;
  border: 1.5px solid var(--line);
  padding: 20px 24px;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: all 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  font-family: var(--sans);
  position: relative;
  overflow: hidden;
}
.scenario-tab:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(26, 58, 82, 0.15);
}
.scenario-tab.is-active {
  border-color: var(--navy);
  box-shadow: 0 12px 32px -8px rgba(15, 38, 55, 0.25);
  transform: translateY(-2px);
}
.scenario-tab.is-active.tone-crimson { border-color: #b03030; box-shadow: 0 12px 32px -8px rgba(176, 48, 48, 0.25); }
.scenario-tab.is-active.tone-amber { border-color: #d4a520; box-shadow: 0 12px 32px -8px rgba(212, 165, 32, 0.25); }
.scenario-tab.is-active.tone-emerald { border-color: #1e8558; box-shadow: 0 12px 32px -8px rgba(30, 133, 88, 0.25); }

.tab-code {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--ink-4);
  line-height: 1;
  font-weight: 500;
  transition: color 220ms;
  flex-shrink: 0;
}
.scenario-tab.is-active .tab-code { color: var(--navy); }
.scenario-tab.is-active.tone-crimson .tab-code { color: #b03030; }
.scenario-tab.is-active.tone-amber .tab-code { color: #a68010; }
.scenario-tab.is-active.tone-emerald .tab-code { color: #1e8558; }

.tab-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.tab-badge {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--mono);
}
.tab-title {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* 시나리오 상세 패널 */
.scenario-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 48px 56px 32px;   /* 하단 padding 축소 */
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(15, 38, 55, 0.15);
  animation: panelFade 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes panelFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.scenario-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--ink-3);
}
.scenario-panel.tone-crimson::before { background: linear-gradient(90deg, #b03030 0%, #d24545 100%); }
.scenario-panel.tone-amber::before { background: linear-gradient(90deg, #d4a520 0%, #e8c045 100%); }
.scenario-panel.tone-emerald::before { background: linear-gradient(90deg, #1e8558 0%, #2eab73 100%); }

/* 패널 헤더 */
.panel-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.panel-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.panel-code-letter {
  font-family: var(--serif);
  font-size: 68px;
  line-height: 1;
  font-weight: 500;
  color: var(--navy);
}
.tone-crimson .panel-code-letter { color: #b03030; }
.tone-amber .panel-code-letter { color: #a68010; }
.tone-emerald .panel-code-letter { color: #1e8558; }
.panel-code-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-weight: 600;
}

.panel-title-block { padding-top: 8px; }
.panel-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--mono);
  border-radius: 2px;
  margin-bottom: 12px;
}
.tone-crimson .panel-badge { background: rgba(176, 48, 48, 0.12); color: #8a1e1e; border: 1px solid rgba(176, 48, 48, 0.3); }
.tone-amber .panel-badge { background: rgba(212, 165, 32, 0.15); color: #7a5c08; border: 1px solid rgba(212, 165, 32, 0.35); }
.tone-emerald .panel-badge { background: rgba(30, 133, 88, 0.12); color: #145d3d; border: 1px solid rgba(30, 133, 88, 0.3); }

.panel-title {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.35;
  font-weight: 500;
  margin: 0 0 8px;
}
.panel-subtitle {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}

.panel-verdict {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  border-radius: 2px;
  font-weight: 700;
  white-space: nowrap;
  align-self: start;
}
.tone-crimson .panel-verdict { background: rgba(176, 48, 48, 0.08); color: #8a1e1e; border: 1px solid rgba(176, 48, 48, 0.3); }
.tone-amber .panel-verdict { background: rgba(212, 165, 32, 0.1); color: #7a5c08; border: 1px solid rgba(212, 165, 32, 0.35); }
.tone-emerald .panel-verdict { background: rgba(30, 133, 88, 0.08); color: #145d3d; border: 1px solid rgba(30, 133, 88, 0.3); }

/* 스토리 타임라인 */
.story-timeline {
  margin-bottom: 40px;
  position: relative;
}
.story-timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.story-node {
  display: grid;
  grid-template-columns: 88px auto 1fr;
  gap: 24px;
  padding: 14px 0;
  position: relative;
  align-items: start;
}
.story-node::after {
  content: '';
  position: absolute;
  left: 92px;
  top: 22px;
  width: 18px;
  height: 18px;
  background: white;
  border: 2px solid var(--ink-3);
  border-radius: 50%;
  box-shadow: 0 0 0 4px white;
}
.tone-crimson .story-node::after { border-color: #b03030; }
.tone-amber .story-node::after { border-color: #d4a520; }
.tone-emerald .story-node::after { border-color: #1e8558; }

.story-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 4px;
  text-align: right;
}
.story-content {
  padding-left: 24px;
}
.story-event {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 6px;
}
.story-note {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
  font-style: italic;
}

/* 결과 카드 */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.outcome-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 20px;
  border-radius: 3px;
  text-align: center;
}
.outcome-card.tone-danger {
  background: rgba(176, 48, 48, 0.04);
  border-color: rgba(176, 48, 48, 0.25);
}
.outcome-card.tone-warn {
  background: rgba(212, 165, 32, 0.05);
  border-color: rgba(212, 165, 32, 0.3);
}
.outcome-card.tone-good {
  background: rgba(30, 133, 88, 0.05);
  border-color: rgba(30, 133, 88, 0.3);
}
.outcome-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  min-height: 28px;
}
.outcome-value {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.outcome-card.tone-danger .outcome-value { color: #8a1e1e; }
.outcome-card.tone-warn .outcome-value { color: #7a5c08; }
.outcome-card.tone-good .outcome-value { color: #145d3d; }
.outcome-unit {
  font-size: 14px;
  color: var(--ink-3);
  margin-left: 4px;
  font-family: var(--sans);
  font-weight: 500;
}
.outcome-card.tone-danger .outcome-unit,
.outcome-card.tone-warn .outcome-unit,
.outcome-card.tone-good .outcome-unit { color: inherit; opacity: 0.7; }

/* 시나리오 인용 */
.scenario-quote {
  background: var(--paper);
  border-left: 3px solid var(--gold);
  padding: 24px 32px;
  position: relative;
}
.sq-mark {
  position: absolute;
  top: -8px; left: 24px;
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  opacity: 0.4;
}
.sq-body {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.75;
  font-family: var(--serif);
  font-style: italic;
  padding-left: 24px;
}

/* ═══════════════════════════════════════════════
   6. K-신탁 구조 다이어그램 (C시나리오 확장)
   ═══════════════════════════════════════════════ */
.case-structure {
  margin: 0 0 8px;
  padding: 20px 0 16px;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.04) 0%, transparent 100%);
  border-radius: 4px;
}
.structure-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}
.structure-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.structure-title {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
  line-height: 1.35;
}
.structure-title em {
  font-style: normal;
  color: var(--gold-soft);
}

.structure-layers {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══════════════════════════════════════════════
   K-신탁의 법적 뼈대 (전체 폭 가로 매핑 카드)
   · quote-closing 인용문 아래에 배치
   · reveal 클래스 없음 · 즉시 표시
   ═══════════════════════════════════════════════ */
.legal-foundation {
  max-width: 1160px;
  margin: 8px auto 16px;
  padding: 40px 48px 40px;
  background:
    linear-gradient(180deg, #fbfaf7 0%, #ffffff 100%);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(15, 38, 55, 0.15),
    0 12px 24px -12px rgba(15, 38, 55, 0.08);
  /* 강제로 즉시 표시 · reveal opacity 이슈 방어 */
  opacity: 1 !important;
  transform: none !important;
  display: block !important;
  visibility: visible !important;
}
.legal-foundation::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 240px; height: 240px;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 60%);
  pointer-events: none;
}

/* 헤더 */
.lf-head {
  text-align: center;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}
.lf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 8px 18px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 2px;
}
.lf-icon {
  font-size: 18px;
  line-height: 1;
}
.lf-title {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--navy-deep);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.lf-title em {
  font-style: normal;
  color: var(--gold-soft);
}
.lf-lead {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 720px;
  font-weight: 450;
}
.lf-lead strong {
  color: var(--navy);
  font-weight: 700;
}
.lf-lead-sub {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
  font-family: var(--mono);
  letter-spacing: 0.02em;
  white-space: nowrap;         /* 한 줄로 마무리 · "다." 줄바꿈 방지 */
  word-break: keep-all;
}
/* 모바일에선 자연스럽게 줄바꿈 허용 */
@media (max-width: 900px) {
  .lf-lead-sub {
    white-space: normal;
    font-size: 13px;
  }
}

/* 4가지 재산 · 가로 4열 카드 */
.lf-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.lf-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px 20px 22px;
  text-align: center;
  transition: all 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.lf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--navy);
  transition: background 220ms ease;
}
.lf-card-01::before { background: var(--navy); }
.lf-card-02::before { background: var(--gold); }
.lf-card-03::before { background: var(--navy); }
.lf-card-04::before { background: linear-gradient(90deg, var(--gold) 50%, transparent 50%);
  background-size: 12px 3px; }
.lf-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(26, 58, 82, 0.15);
}
.lf-card-badge {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-soft);
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 2px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.lf-card-icon {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 14px;
}
.lf-card-name {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.lf-card-sub {
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 14px;
  min-height: 18px;
}
/* ⭐ 법조항 배지 · 강화된 가독성 */
.lf-card-law {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: 3px;
  display: inline-block;
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.1);
}
.lf-card-law strong {
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 14px;
  margin-left: 2px;
}

/* 3대 법률 근거 (가로 3열) */
.lf-foundation {
  background: rgba(26, 58, 82, 0.03);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  padding: 20px 24px 22px;
  border-radius: 0 2px 2px 0;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.lf-foundation-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lf-foundation-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lf-fdn-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 2px;
  flex-wrap: wrap;
}
.lf-fdn-code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold-soft);
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 2px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.lf-fdn-name {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lf-fdn-desc {
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
}

/* 결론 · 브랜드 서명 */
.lf-conclusion {
  text-align: center;
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  font-weight: 500;
  z-index: 1;
}
.lf-conclusion::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.lf-conclusion em {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 700;
  margin-left: 4px;
}
.lf-conclusion-mark {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 32px;
  line-height: 0;
  margin-right: 6px;
  vertical-align: -12px;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════
   ⭐ Layer 03 통합 · 자녀별 분배 계획 (교수님 지시 2026-08-21)
   3층 스택 유지 · Layer 03 안에 · 번호 없이 통합
   ═══════════════════════════════════════════════ */
.layer-heir-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  position: relative;
}
.lhb-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.lhb-title-gold {
  font-family: var(--serif);
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.lhb-title-sub {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.lhb-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  padding: 3px 10px;
  border: 1px solid var(--gold);
  background: rgba(212, 175, 55, 0.05);
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 700;
}
.lhb-desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0 0 14px;
  font-weight: 500;
}
.lhb-desc strong {
  color: var(--navy);
  font-weight: 700;
}

/* ⚠️ Layer 4 · 사용 안 함 (Layer 03 안으로 통합됨) · CSS만 남김 */
.layer-4 {
  border-left: 4px solid var(--gold) !important;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.04) 0%, white 30%) !important;
}
.layer-4 .layer-num {
  color: var(--gold-soft);
}
.layer-heir {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0 18px;
  padding: 14px 16px;
  background: var(--paper-2);
  border-radius: 3px;
  border: 1px dashed var(--line);
}
.heir-item {
  text-align: center;
  padding: 10px 8px;
  background: white;
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
  border-radius: 2px;
}
.heir-item-spouse {
  border-top: 2px solid var(--gold);
  background: rgba(212, 175, 55, 0.05);
}
.heir-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.heir-value {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy-deep);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.heir-item-spouse .heir-value { color: var(--gold-soft); }

/* ═══════════════════════════════════════════════
   ⭐ 오프닝 훅 · 상승률 시나리오 비교 (2026-08-21)
   ═══════════════════════════════════════════════ */
.hook-scenarios {
  max-width: 780px;
  margin: 36px auto 20px;
  padding: 24px 28px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 3px;
  position: relative;
}
.hook-scenarios::before {
  content: '';
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.hs-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 18px;
}
.hs-label strong {
  color: var(--navy-deep);
  letter-spacing: -0.005em;
  font-weight: 700;
}
.hs-label-mark {
  font-size: 14px;
  vertical-align: -1px;
  margin-right: 4px;
}
.hs-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}
.hs-card {
  flex: 1;
  min-width: 0;
  padding: 16px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 3px;
  text-align: center;
  transition: all 220ms;
}
.hs-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -6px rgba(15, 38, 55, 0.15);
}
.hs-card-safe { border-top: 3px solid #4a90a4; }
.hs-card-mid  { border-top: 3px solid var(--gold-soft); background: rgba(212, 175, 55, 0.04); }
.hs-card-danger { border-top: 3px solid #c14545; background: rgba(193, 69, 69, 0.04); }
.hs-card-rate {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.hs-card-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.hs-card-value {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hs-card-value span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-left: 2px;
}
.hs-card-value-danger { color: #c14545; }
.hs-arrow {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-soft);
  font-weight: 300;
  padding: 0 2px;
  flex-shrink: 0;
}
.hs-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 10px 14px;
  background: rgba(193, 69, 69, 0.04);
  border-left: 2px solid #c14545;
  border-radius: 0 2px 2px 0;
  font-weight: 500;
  line-height: 1.6;
}
.hs-tag strong {
  color: #a13030;
  font-weight: 700;
}

/* 반응형 · hook-scenarios */
@media (max-width: 900px) {
  .hook-scenarios { padding: 20px 22px; margin: 28px auto 16px; }
  .hs-grid { gap: 6px; }
  .hs-card { padding: 12px 8px; }
  .hs-card-value { font-size: 22px; }
  .hs-arrow { font-size: 18px; }
  .hs-tag { font-size: 11px; padding: 8px 12px; }
  
  .layer-heir { grid-template-columns: repeat(2, 1fr); }
  .heir-value { font-size: 18px; }
}
@media (max-width: 640px) {
  .hook-scenarios { padding: 16px 14px; }
  .hs-label { font-size: 10px; margin-bottom: 12px; }
  .hs-grid { flex-wrap: wrap; gap: 8px; }
  .hs-arrow { display: none; }
  .hs-card { flex: 1 1 30%; padding: 12px 8px; }
  .hs-card-value { font-size: 18px; }
  .hs-tag { font-size: 10.5px; letter-spacing: 0; }
  
  .layer-heir { grid-template-columns: repeat(2, 1fr); padding: 10px 12px; }
  .heir-value { font-size: 16px; }
}

/* ═══════════════════════════════════════════════
   ⭐ 실제 납부 세액 비교 · 4단계 논리 (교수님 통찰 2026-08-21)
   22억 → 17억 → 11억 → 5억 · 통장의 현금 5억
   ═══════════════════════════════════════════════ */
.tax-comparison {
  margin: 48px 0 60px;
  padding: 56px 48px 48px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 24px 48px -20px rgba(15, 38, 55, 0.15);
}
.tax-comparison::before {
  content: '';
  position: absolute;
  top: -3px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}

/* 헤더 · 개요 */
.tcx-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.tcx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 2px;
  margin-bottom: 22px;
}
.tcx-icon {
  font-size: 14px;
  line-height: 1;
}
/* ⭐ tc-title · 배경 대비 강화 (교수님 지시 2026-08-21)
   기본 텍스트 · 진한 네이비 (배경에 파묻히지 않게)
   강조 텍스트 · 골드 (핵심 시선 각인) */
.tcx-title {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy-deep) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0 0 14px;
}
.tcx-title em {
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 800;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 3px;
}
/* ⭐ strong · "현금 5.5억 원" · 골드 컬러 (교수님 지시 2026-08-21) */
.tcx-title strong {
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 800;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 3px;
}
.tcx-lead {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0;
  font-weight: 500;
}
.tcx-lead strong {
  color: var(--navy);
  font-weight: 700;
}
.tcx-lead-sub {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* 4단계 논리 사슬 */
.tcx-chain {
  max-width: 640px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

/* 각 단계 · 카드 */
.tcx-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 3px;
  position: relative;
  background: white;
  transition: all 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tcx-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(15, 38, 55, 0.12);
}

/* Step Number */
.tcx-step-num {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step Body */
.tcx-step-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.tcx-step-label {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  font-weight: 600;
}
.tcx-step-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy-deep);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.tcx-step-value strong {
  font-weight: 700;
  color: var(--navy-deep);
}
.tcx-step-formula {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  line-height: 1.55;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
  font-weight: 500;
}
.tcx-step-formula em {
  font-style: normal;
  color: var(--navy);
  font-weight: 700;
}

/* Step Variants */

/* Step 01 · Danger (그냥 증여) */
.tcx-step-danger {
  border-left: 4px solid #c14545;
  background: linear-gradient(90deg, rgba(193, 69, 69, 0.03) 0%, white 40%);
}
.tcx-step-danger .tcx-step-num { color: #c14545; }
.tcx-step-danger .tcx-step-value strong { color: #c14545; }

/* Step 02 · Success (정기금 평가) */
.tcx-step-success {
  border-left: 4px solid #1e8558;
  background: linear-gradient(90deg, rgba(30, 133, 88, 0.03) 0%, white 40%);
}
.tcx-step-success .tcx-step-num { color: #1e8558; }
.tcx-step-success .tcx-step-value strong { color: #1e8558; }

/* Step 03 · Neutral (과세표준 절감) */
.tcx-step-neutral {
  border-left: 4px solid var(--navy);
  background: linear-gradient(90deg, rgba(26, 58, 82, 0.03) 0%, white 40%);
}
.tcx-step-neutral .tcx-step-num { color: var(--navy); }
.tcx-step-neutral .tcx-step-value strong { color: var(--navy); }

/* Step 04 · CROWN (통장의 현금 5억) - 최고 강조 */
.tcx-step-crown {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, rgba(212, 175, 55, 0.04) 100%);
  box-shadow: 
    0 24px 48px -16px rgba(212, 175, 55, 0.35),
    0 0 0 4px rgba(212, 175, 55, 0.08);
  transform: scale(1.02);
  margin-top: 8px;
}
.tcx-step-crown:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 
    0 32px 64px -16px rgba(212, 175, 55, 0.45),
    0 0 0 6px rgba(212, 175, 55, 0.12);
}
.tcx-step-crown .tcx-step-num {
  color: var(--gold-soft);
  font-size: 48px;
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}
.tcx-step-crown .tcx-step-label {
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.tcx-step-crown .tcx-step-value {
  font-size: 30px;
  color: var(--navy-deep);
}
.tcx-step-crown .tcx-step-value strong {
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 34px;
}
.tcx-step-crown .tcx-step-formula {
  background: rgba(212, 175, 55, 0.08);
  padding: 8px 12px;
  border-top: none;
  border-left: 2px solid var(--gold);
  margin-top: 6px;
  border-radius: 0 2px 2px 0;
}
.tcx-step-crown-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--navy-deep);
  padding: 4px 12px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 6px 16px -4px rgba(212, 175, 55, 0.55);
}

/* 화살표 */
.tcx-arrow {
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink-3);
  line-height: 1;
  padding: 12px 0;
  font-weight: 300;
}
.tcx-arrow-gold {
  color: var(--gold);
  font-size: 36px;
  font-weight: 400;
  padding: 16px 0;
}

/* 인사이트 · 브랜드 서명 */
.tcx-insight {
  max-width: 640px;
  margin: 40px auto 32px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper);
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.tcx-insight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.tcx-insight-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
}
.tcx-insight-body {
  flex: 1;
}
.tcx-insight-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--paper);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 6px;
}
.tcx-insight-title strong {
  color: var(--gold-light);
  font-weight: 700;
}
.tcx-insight-sub {
  font-family: var(--serif);
  font-size: 16px;
  color: rgba(251, 250, 247, 0.85);
  line-height: 1.6;
  font-weight: 500;
}
.tcx-insight-sub em {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 700;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 1px;
}

/* 법적 근거 */
.tcx-legal {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 2px 2px 0;
}
.tcx-legal-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.tcx-legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.tcx-legal-item {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.tcx-legal-item strong {
  color: var(--navy);
  font-weight: 700;
}

/* 태블릿 (900px 이하) */
@media (max-width: 900px) {
  .tax-comparison {
    padding: 40px 28px 36px;
    margin: 32px 0 40px;
  }
  .tcx-title { font-size: 26px; }
  .tcx-lead { font-size: 14.5px; }
  .tcx-step {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 20px 22px;
  }
  .tcx-step-num { font-size: 34px; }
  .tcx-step-crown .tcx-step-num { font-size: 40px; }
  .tcx-step-value { font-size: 20px; }
  .tcx-step-crown .tcx-step-value { font-size: 26px; }
  .tcx-step-crown .tcx-step-value strong { font-size: 30px; }
  .tcx-insight { padding: 22px 24px; gap: 16px; }
  .tcx-insight-icon { font-size: 26px; }
  .tcx-insight-title { font-size: 16px; }
  .tcx-insight-sub { font-size: 14.5px; }
}

/* 스마트폰 (640px 이하) */
@media (max-width: 640px) {
  .tax-comparison {
    padding: 32px 18px 28px;
    margin: 24px 0 32px;
  }
  .tcx-eyebrow { font-size: 10px; padding: 5px 12px; letter-spacing: 0.18em; }
  .tcx-title { font-size: 22px; line-height: 1.4; }
  .tcx-lead { font-size: 13.5px; }
  .tcx-lead-sub { font-size: 11px; }
  .tcx-chain { margin-bottom: 28px; }
  .tcx-step {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 16px 16px;
  }
  .tcx-step-num { font-size: 28px; }
  .tcx-step-label { font-size: 12px; }
  .tcx-step-value { font-size: 17px; }
  .tcx-step-formula { font-size: 11px; }
  .tcx-step-crown {
    transform: scale(1);
    padding: 20px 18px;
  }
  .tcx-step-crown:hover { transform: scale(1) translateY(-2px); }
  .tcx-step-crown .tcx-step-num { font-size: 32px; }
  .tcx-step-crown .tcx-step-value { font-size: 22px; }
  .tcx-step-crown .tcx-step-value strong { font-size: 26px; }
  .tcx-step-crown-badge { font-size: 9px; padding: 3px 10px; letter-spacing: 0.1em; }
  .tcx-arrow { font-size: 22px; padding: 8px 0; }
  .tcx-arrow-gold { font-size: 28px; padding: 12px 0; }
  .tcx-insight {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px;
    gap: 12px;
  }
  .tcx-insight-title { font-size: 15px; }
  .tcx-insight-sub { font-size: 13.5px; }
  .tcx-legal { padding: 16px 18px; }
  .tcx-legal-list { gap: 6px 12px; }
  .tcx-legal-item { font-size: 11px; }
}

.layer {
  background: white;
  border: 1px solid var(--line);
  padding: 32px 40px;
  border-radius: 3px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
  transition: all 280ms ease;
}
.layer:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 40px -14px rgba(26, 58, 82, 0.15);
  transform: translateX(4px);
}
.layer::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
}
.layer-1::before { background: var(--navy); }
.layer-2::before { background: var(--gold); }
.layer-3::before { background: linear-gradient(180deg, var(--navy) 0%, var(--gold) 100%); }

.layer-num {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--gold-soft);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.layer-body {}
.layer-title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.layer-title strong {
  color: var(--gold-soft);
  font-weight: 600;
}

/* ⭐ K-신탁원부 설계 · 골드 강조 (교수님 요청 2026-08-18) */
.layer-title-gold {
  font-family: var(--serif);
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.layer-title-sub {
  font-family: var(--serif);
  font-size: 0.85em;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.layer-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  padding: 3px 10px;
  border: 1px solid var(--gold);
  background: rgba(212, 175, 55, 0.05);
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 700;
}
.layer-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
  margin: 0 0 16px;
}
.layer-desc strong {
  color: var(--navy);
  font-weight: 600;
}
.layer-legal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: var(--paper-2);
  border-left: 2px solid var(--gold-soft);
  border-radius: 0 2px 2px 0;
}
.legal-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  text-transform: uppercase;
  font-weight: 700;
}
.legal-body {
  font-size: 12px;
  color: var(--ink-2);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.layer-connector {
  text-align: center;
  font-size: 20px;
  color: var(--gold);
  margin: 8px 0;
  font-family: var(--mono);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   7. 실무 관리 포인트
   ═══════════════════════════════════════════════ */
.case-practice {
  margin-bottom: 100px;
}
.practice-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.practice-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.practice-title {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.4;
  font-weight: 500;
  margin: 0;
  word-break: keep-all;
}
.practice-title em {
  font-style: normal;
  color: var(--gold-soft);
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.practice-card {
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 32px 28px 28px;
  border-radius: 0 0 3px 3px;
  transition: all 220ms ease;
}
.practice-card:hover {
  border-color: var(--gold);
  border-top-color: var(--gold);
  box-shadow: 0 16px 32px -12px rgba(26, 58, 82, 0.12);
  transform: translateY(-3px);
}
.practice-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-soft);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  font-weight: 700;
}
.practice-title-sm {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 1.4;
}
.practice-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 2px;
  border: 1px dashed var(--line);
}
.flow-node {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--navy-deep);
  background: white;
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.flow-arrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
}
.practice-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0;
}
.practice-desc strong {
  color: var(--navy);
  font-weight: 600;
}
.practice-tag {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  padding: 8px 14px;
  background: var(--paper-2);
  border-left: 3px solid var(--gold-soft);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   8. CTA 최종 액션
   ═══════════════════════════════════════════════ */
.case-cta {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  padding: 72px 56px;
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.case-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 4px;
  background: var(--gold);
}
.cta-title {
  font-size: 40px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.35;
  font-weight: 500;
  margin: 0 0 20px;
  word-break: keep-all;
}
.cta-title em {
  font-style: normal;
  color: var(--gold-soft);
}
.cta-sub {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 48px;
}
.cta-sub strong {
  color: var(--navy);
  font-weight: 600;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.cta-btn {
  flex: 1 1 320px;
  max-width: 380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border-radius: 3px;
  transition: all 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  text-decoration: none;
  text-align: left;
}
.cta-primary {
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 12px 28px -8px rgba(15, 38, 55, 0.35);
}
.cta-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -8px rgba(15, 38, 55, 0.45);
}
.cta-secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
}
.cta-secondary:hover {
  border-color: var(--gold);
  background: var(--paper);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(26, 58, 82, 0.18);
}

.cta-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.cta-lead {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  opacity: 0.7;
  text-transform: uppercase;
  font-weight: 600;
}
.cta-primary .cta-lead { color: var(--gold-light); opacity: 1; }
.cta-main {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cta-note {
  font-size: 12px;
  opacity: 0.7;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.cta-arrow {
  font-size: 24px;
  transition: transform 220ms ease;
  flex-shrink: 0;
}
.cta-btn:hover .cta-arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════
   반응형 · 태블릿 (900px 이하)
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .case-section { padding: 100px 0 80px; }
  .case-hook { font-size: 40px; }
  .case-hook-sub { font-size: 15px; }

  .case-profile { padding: 40px 32px; margin-bottom: 80px; }
  .profile-name { font-size: 28px; }
  .profile-assets { flex-direction: column; }
  .asset-card { flex: none; }
  .asset-divider { transform: rotate(90deg); align-self: center; padding: 4px 0; }

  .worries-title { font-size: 32px; }
  .worries-grid { grid-template-columns: 1fr; }

  .case-quote { padding: 40px 32px; margin-bottom: 80px; }
  .quote-body { font-size: 24px; }

  .scenarios-title { font-size: 32px; }
  .scenario-tabs { grid-template-columns: 1fr; gap: 10px; }
  .tab-code { font-size: 32px; }

  .scenario-panel { padding: 36px 28px; }
  .panel-header {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }
  .panel-code { flex-direction: row; align-items: baseline; gap: 12px; }
  .panel-code-letter { font-size: 44px; }
  .panel-title { font-size: 24px; }

  .story-timeline::before { left: 80px; }
  .story-node { grid-template-columns: 68px auto 1fr; gap: 16px; }
  .story-node::after { left: 72px; }
  .story-time { font-size: 10px; }
  .story-event { font-size: 15px; }

  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-value { font-size: 22px; }

  .structure-title { font-size: 28px; }
  .layer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 24px;
  }
  .layer-title { font-size: 20px; }

  /* 법적 뼈대 · 태블릿 */
  .legal-foundation {
    padding: 40px 28px 32px;
    margin: 40px auto 60px;
  }
  .lf-title { font-size: 28px; }
  .lf-lead { font-size: 15px; }
  .lf-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lf-foundation-list { grid-template-columns: 1fr; }
  .lf-conclusion { font-size: 17px; padding: 20px 24px; }

  .practice-title { font-size: 26px; }
  .practice-grid { grid-template-columns: 1fr; }

  .case-cta { padding: 56px 32px; }
  .cta-title { font-size: 30px; }
  .cta-actions { flex-direction: column; }
  .cta-btn { flex: none; max-width: none; }
}

/* ═══════════════════════════════════════════════
   반응형 · 스마트폰 (640px 이하)
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  .case-section { padding: 72px 0 60px; }
  .case-eyebrow { font-size: 10px; padding: 6px 14px; letter-spacing: 0.2em; }
  .case-hook { font-size: 30px; line-height: 1.35; }
  .case-hook .hook-line-1 { font-size: 0.6em; }
  .case-hook-sub { font-size: 14px; }

  .case-profile { padding: 32px 20px; margin-bottom: 60px; }
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .avatar-inner { width: 68px; height: 68px; }
  .avatar-mark { font-size: 16px; }
  .profile-name { font-size: 24px; }
  .profile-age { font-size: 16px; }
  .profile-family { font-size: 14px; }

  .asset-card { padding: 20px 18px; }
  .asset-value { font-size: 32px; }
  .asset-unit { font-size: 14px; }

  .case-opener { margin-bottom: 60px; }
  .case-worries { margin-bottom: 60px; }
  .worries-head { margin-bottom: 32px; }
  .worries-title { font-size: 24px; }
  .worry-card { padding: 24px 22px; }
  .worry-title { font-size: 18px; }
  .worry-desc { font-size: 13px; }

  .case-quote { padding: 32px 24px; margin-bottom: 60px; }
  .quote-mark { font-size: 56px; }
  .quote-body { font-size: 20px; }
  .quote-body br { display: none; }
  .quote-emphasis { display: block; margin-top: 12px; }

  .scenarios-head { margin-bottom: 32px; }
  .scenarios-title { font-size: 26px; }
  .scenarios-sub { font-size: 14px; }

  .scenario-tab { padding: 16px 18px; gap: 12px; }
  .tab-code { font-size: 28px; }
  .tab-title { font-size: 13px; }
  .tab-badge { font-size: 9px; }

  .scenario-panel { padding: 28px 20px; }
  .panel-code-letter { font-size: 36px; }
  .panel-title { font-size: 20px; }
  .panel-subtitle { font-size: 13px; }
  .panel-verdict { font-size: 10px; padding: 6px 10px; }

  .story-timeline::before { left: 60px; }
  .story-node { grid-template-columns: 52px auto 1fr; gap: 12px; padding: 10px 0; }
  .story-node::after { left: 54px; width: 14px; height: 14px; }
  .story-time { font-size: 9px; }
  .story-event { font-size: 14px; }
  .story-note { font-size: 12px; }
  .story-content { padding-left: 16px; }

  .outcomes-grid { grid-template-columns: 1fr; gap: 10px; }
  .outcome-card { padding: 18px 16px; text-align: left; }
  .outcome-label { min-height: 0; margin-bottom: 8px; }
  .outcome-value { font-size: 20px; }

  .scenario-quote { padding: 20px 24px; }
  .sq-body { font-size: 14px; padding-left: 20px; }

  .case-structure { padding: 40px 0; margin: 40px 0 60px; }
  .structure-head { margin-bottom: 32px; }
  .structure-title { font-size: 22px; }
  .layer { padding: 24px 20px; }
  .layer-title { font-size: 17px; }
  .layer-tag { font-size: 9px; letter-spacing: 0.14em; }
  .layer-desc { font-size: 14px; }

  /* 법적 뼈대 · 스마트폰 */
  .legal-foundation {
    padding: 32px 20px 24px;
    margin: 32px 12px 40px;
  }
  .lf-eyebrow { font-size: 10px; letter-spacing: 0.2em; padding: 6px 12px; }
  .lf-title { font-size: 22px; }
  .lf-lead { font-size: 14px; }
  .lf-cards { grid-template-columns: 1fr; gap: 10px; }
  .lf-card { padding: 20px 18px 18px; }
  .lf-card-icon { font-size: 32px; }
  .lf-card-name { font-size: 16px; }
  .lf-foundation { padding: 16px 18px; }
  .lf-fdn-item { padding: 6px 10px; gap: 6px; }
  .lf-conclusion { font-size: 15px; padding: 16px 18px; }
  .lf-conclusion-mark { font-size: 22px; vertical-align: -8px; }

  .case-practice { margin-bottom: 60px; }
  .practice-head { margin-bottom: 32px; }
  .practice-title { font-size: 22px; }
  .practice-card { padding: 24px 22px; }
  .practice-title-sm { font-size: 17px; }
  .practice-desc { font-size: 13px; }
  .flow-node { font-size: 10px; }

  .case-cta { padding: 40px 24px; }
  .cta-title { font-size: 24px; }
  .cta-sub { font-size: 14px; margin-bottom: 32px; }
  .cta-btn { padding: 20px 22px; }
  .cta-main { font-size: 16px; }
  .cta-note { font-size: 11px; }
}

/* 아주 작은 화면 */
@media (max-width: 400px) {
  .case-hook { font-size: 26px; }
  .quote-body { font-size: 18px; }
  .scenarios-title { font-size: 22px; }
  .cta-title { font-size: 22px; }
}
