.home-section h1,
.home-section h2,
.home-section h3,
.home-section p {
  margin: 0;
}


/* 홈 페이지만 바깥 여백 제거 */
#content-home {
  padding: 0;
}

.home-inner {
  width: min(1720px, calc(100% - 120px));
  margin: 0 auto;
  position: relative;
}

/* ============================= */
/* Home color system */
/* ============================= */
:root {
  --home-green: #006637;
  --home-blue: #036eb8;

  --home-white: #ffffff;
  --home-light: #f1f3f3;
  --home-gray: #f2f1f1;
  --home-dark: #414042;
  --home-red: #931e23;
  --home-black: #414042;
  --home-bg-soft: #f7f7f7;
  --home-text-muted: #717071;
}

#home-container {
  width: 100%;
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.home-section {
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  position: relative;
}

.home-section.is-active {
  opacity: 1;
}

.home-section.is-before,
.home-section.is-after {
  opacity: 1;
}

/* ============================= */
/* Home shared kicker */
/* ============================= */
.home-section-kicker {
  margin: 0 0 25px 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* ============================= */
/* Home shared title / desc */
/* ============================= */
.home-section-title {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 35px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--home-black);
}

.home-section-desc {
  margin: 18px 0 0 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #bbbdbf;
}


/* ============================= */
/* Home base layout */
/* ============================= */
#home-container {
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.home-section {
  width: 100%;
  position: relative;
}

/* ============================= */
/* HERO */
/* ============================= */
.home-hero {
  position: relative;
  min-height: clamp(520px, 72vh, 690px);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(to right,
      #ffffff 0%,
      #ffffff 50%,
      #f2f1f1 50%,
      #f2f1f1 100%);
}

.home-hero-visual {
  position: absolute;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.home-hero-visual img {
  width: 1900px;
  height: auto;
  max-width: none;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 30%,
      rgba(255, 255, 255, 0.94) 35%,
      rgba(255, 255, 255, 0.78) 42%,
      rgba(255, 255, 255, 0.22) 50%,
      rgba(255, 255, 255, 0) 55%);
}

.home-hero .home-inner {
  z-index: 3;
  min-height: inherit;
}

.home-hero-stage {
  position: relative;
  min-height: inherit;
  display: grid;
  grid-template-columns: 560px 0;
  align-items: center;
  column-gap: 0;
  margin-left: 120px;
}

.home-hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}



.home-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 30px;
  margin: 0 0 22px 0;
  border: 1.5px solid var(--home-blue);
  border-radius: 999px;
  background: #e8ecf7;
  color: var(--home-blue);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.home-hero-badge span {
  font-weight: 1000;
}

.home-hero-title {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 35px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #222;
  margin: 0;
}

.home-hero-desc {
  width: 460px;
  font-size: 17px;
  line-height: 1.5;
  color: #555;
  margin: 26px 0 0 0;
  letter-spacing: -0.03em;
}

.home-hero-bubble {
  margin: 32px 0 0 0;
  padding: 22px 30px;
  width: 470px;
  border: 1.5px solid var(--home-blue);
  border-radius: 28px;
  background: #e8ecf7;
}

.home-hero-bubble p {
  font-size: 17px;
  line-height: 1.30;
  color: var(--home-black);
  letter-spacing: -0.03em;
  margin: 0;
}

.home-hero-bubble p+p {
  margin-top: 15px;
}

.home-hero-bubble strong {
  color: var(--home-red);
  font-weight: 700;
}

.home-hero-bubble-label {
  font-weight: 600;
  color: var(--home-black);
}

/* ============================= */
/* Section 2 */
/* ============================= */
.home-problem {
  background: var(--home-dark);
  min-height: 600px;
  color: #ffffff;
}

.home-problem .home-inner {
  padding: 48px 0 34px 0;
}

.home-problem-wrap {
  width: 100%;
  margin: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 650px;
}

.home-problem-kicker {
  margin: 0 0 25px 0;
  color: rgba(255, 255, 255, 0.72);
}

.home-problem-title {
  color: #ffffff;
}

.home-problem-divider-text {
  margin-top: 20px;
  font-size: 35px;
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
}

.home-problem-cards {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  width: 1300px;
}

.home-problem-card {
  min-height: 104px;
  padding: 18px 0;
  border: 1px solid rgba(216, 184, 111, 0.35);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-problem-card-icon {
  height: 50px;
  margin-bottom: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-problem-card-icon img {
  display: block;
  height: 40px;
  width: auto;
}

.home-problem-card-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: -0.03em;
  text-align: center;
}

.home-problem-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.home-problem-note {
  margin: 0;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: -0.03em;
}

.home-problem-summary {
  margin: 0;
  font-size: 35px;
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.home-problem-summary span {
  color: #dc2f74;
}



/* ============================= */
/* Section 3 */
/* ============================= */
.home-solution {
  background: var(--home-white);
  min-height: 760px;
}

.home-solution .home-inner {
  padding: 48px 0 60px 0;
}

.home-solution-wrap {
  width: 100%;
  margin: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-solution-kicker {
  color: var(--home-blue);
}

.home-solution-title {
  color: #222;
}

.home-solution-desc {
  margin-top: 22px !important;
  color: #bdbdbd;
}

.home-solution-desc span {
  color: #919397;
  font-weight: 700;
}

.home-solution-flow-box {
  width: 1240px;
  max-width: 1650px;
  margin: 34px auto 0;
  padding: 42px 48px 28px;
  border-radius: 36px;
  background: #efefef;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.home-solution-flow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.home-solution-step {
  width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.home-solution-step--highlight {
  width: 220px;
}

.home-solution-icon-box {
  width: 114px;
  height: 114px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 5px 15px rgba(26, 120, 152, 0.3);
}

.home-solution-icon-box img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.home-solution-icon-box--data {
  background: #9eacb8;
}

.home-solution-icon-box--analysis,
.home-solution-icon-box--diagnosis {
  background: #d8b76a;
}

.home-solution-icon-box--response {
  width: 136px;
  height: 136px;
  border-radius: 28px;
  background: linear-gradient(135deg, #37bb87 0%, #2eb18b 38%, #0f8fd2 100%);
  box-shadow: 0 5px 30px rgba(26, 120, 152, 0.5);
}

.home-solution-icon-box--response img {
  width: 78px;
  height: 78px;
}

.home-solution-step-label {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #666;
  text-align: center;
  word-break: keep-all;
}

.home-solution-step-label--highlight {
  margin-top: 16px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #46b584;
}

.home-solution-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  transform: translateY(-18px);
}

.home-solution-arrow img {
  display: block;
  width: 42px;
  height: auto;
}

.home-solution-box-divider {
  width: 100%;
  height: 2px;
  margin: 34px 0 26px;
  background: rgba(255, 255, 255, 0.7);
}

.home-solution-bottom-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-solution-bottom-text {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #666;
}

.home-solution-bottom-emphasis {
  margin: 12px 0 12px 0;
  font-size: 27px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--home-blue);
}

/* ============================= */
/* Section 4 */
/* ============================= */
.home-process {
  background: var(--home-light);
  min-height: 480px;
}

.home-process .home-inner {
  padding: 48px 0 70px 0;
}

.home-process-wrap {
  width: 100%;
  margin: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-process-kicker {
  color: var(--home-blue);
  margin-bottom: 25px;
}

.home-process-title {
  color: var(--home-black);
}

.home-process-desc {
  margin-top: 22px !important;
  color: #9f9f9f;
}



.home-process-grid {
  width: 1500px;
  max-width: 1500px;
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 38px;
  row-gap: 0;
  align-items: start;
  position: relative;
}

.home-metric-card {
  border: 2px solid var(--home-blue);
  border-radius: 34px;
  background: var(--home-white);
  overflow: hidden;
  box-sizing: border-box;
  align-self: start;
}

.home-metric-card-top {
  padding: 28px 26px 0 26px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.home-metric-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.home-metric-number {
  font-size: 35px;
  line-height: 1;
  font-weight: 800;
  color: var(--home-blue);
}

.home-metric-meta {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #8c8c8c;
}

.home-metric-title {
  margin: 8px 0 0 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--home-black);
}

.home-metric-summary {
  margin: 18px -26px 0 -26px;
  /* 좌우 padding 무시 */
  padding: 16px 14px 0 14px;
  background: var(--home-light);
  min-height: 220px;
  box-sizing: border-box;
  flex: none;
}

.home-metric-pill {
  width: 100%;
  min-height: 40px;
  border: 1.5px solid var(--home-blue);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--home-blue);
  background: #dfe6ef;
  box-sizing: border-box;
}

.home-metric-preview {
  margin-top: 16px;
  padding: 0 6px 22px;
}

.home-metric-preview-bubbles {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 25px !important;
  padding: 14px;
}

.home-metric-preview-bubbles span {
  display: block;
  position: relative;
  border-radius: 50%;
  background: #8e8e8e;
}

.home-metric-preview-bubbles span:first-child::after,
.home-metric-preview-bubbles span:last-child::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  height: 18px;
  border-left: 1.5px dashed #a8a8a8;
}

.home-metric-preview-bubbles span:nth-child(1) {
  width: 14px;
  height: 14px;
}

.home-metric-preview-bubbles span:nth-child(2) {
  width: 20px;
  height: 20px;
}

.home-metric-preview-bubbles span:nth-child(3) {
  width: 26px;
  height: 26px;
}

.home-metric-preview-bubbles span:nth-child(4) {
  width: 32px;
  height: 32px;
}

.home-metric-preview-bubbles span:nth-child(5) {
  width: 38px;
  height: 38px;
}

.home-metric-preview-bubbles span:nth-child(6) {
  width: 44px;
  height: 44px;
}

.home-metric-preview-bubbles span:nth-child(7) {
  width: 50px;
  height: 50px;
}

.home-metric-preview-labels {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  line-height: 1.0;
  color: #8a8a8a;
}

.home-metric-preview-labels span {
  width: 90px;
  text-align: center;
  font-weight: 500;
}

.home-metric-preview-labels span:first-child {
  transform: translateX(-25px);
}

.home-metric-preview-labels span:last-child {
  transform: translateX(10px);
}

.home-metric-checklist {
  margin: 40px 0 0 15px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
  line-height: 1.3;
  color: #8a8a8a;
}

.home-metric-checklist span {
  font-size: 20px;
  line-height: 1.5;
  color: var(--home-blue);
}

.home-metric-thresholds {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.home-metric-threshold-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.home-metric-threshold-item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 0;
  height: 18px;
  border-left: 1.5px dashed #b7b7b7;
  z-index: 0;
}

.home-metric-thresholds strong,
.home-metric-threshold-label,
.home-metric-threshold-desc {
  position: relative;
  z-index: 1;
  padding-left: 4px;
  padding-right: 4px;
}

.home-metric-thresholds strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  color: var(--home-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-metric-threshold-label {
  font-size: 17px;
  line-height: 1.0;
  font-weight: 700;
  margin-top: 20px;
  color: #7f7f7f;
}

.home-metric-threshold-desc {
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  color: #9a9a9a;
}

.home-metric-age-tags {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-metric-age-tags div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  line-height: 1.2;
  color: #7f7f7f;
}

.home-metric-age-tags span {
  min-width: 100px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #bfc9d0;
  color: var(--home-white);
  font-size: 17px;
  font-weight: 400;
  box-sizing: border-box;
}

.home-metric-toggle {
  width: 100%;
  height: 56px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home-metric-toggle-arrow {
  width: 80px;
  /* 크기 조절 */
  height: auto;
  display: block;
  transition: transform 0.28s ease;
}

.home-metric-card.is-open .home-metric-toggle-arrow {
  transform: rotate(180deg);
}

.home-metric-detail {
  min-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}

.home-metric-card.is-open .home-metric-detail {
  max-height: 400px;
}

.home-metric-detail-inner {
  padding: 0 18px 40px;
  text-align: left;
}

.home-metric-detail-caption {
  font-size: 17px;
  line-height: 1.2;
  color: #666;
}

.home-metric-flow {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.home-metric-chip-group {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}


.home-metric-chip-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.home-metric-chip {
  min-height: 30px;
  padding: 5px 14px;
  border-radius: 17px;
  background: #bfc9d0;
  color: var(--home-white);
  font-size: 17px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
}

.home-metric-connector {
  width: 2px;
  height: 16px;
  background: #d5dadd;
  display: none;
}

.home-metric-x {
  font-size: 22px;
  line-height: 1;
  color: #bfc9d0;
  font-weight: 600;
}

.home-metric-flow-arrow {
  width: 60px;
  height: 40px;
  margin: 10px auto;
  background: url("/assets/home/solution-arrow01.png") no-repeat center;
  background-size: contain;
  font-size: 0;
}

.home-metric-result-box {
  min-width: 120px;
  height: 130px;
  padding: 0;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #37bb87 0%, #2eb18b 38%, #0f8fd2 100%);
  box-shadow: 0 5px 30px rgba(26, 120, 152, 0.5);
  color: var(--home-white);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
  box-sizing: border-box;
}

.home-metric-compare {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.home-metric-compare>div {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

/* 비교식 */
.home-metric-compare-title {
  display: inline-block;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--home-blue);
  white-space: nowrap;
  white-space: nowrap;
  margin-top: 20px;
  padding-bottom: 0;
  border-bottom: 2px solid var(--home-blue);
}

/* 설명문 */
.home-metric-compare-desc {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.2;
  color: #989898;
  text-align: center;
  margin-bottom: 30px;
}

/* 강조 텍스트 */
.home-metric-compare .strong {
  font-size: 22px;
  color: var(--home-blue);
  font-weight: 800;
}

.home-process-data-link-wrap {
  width: 1500px;
  max-width: 1500px;
  margin: 26px auto 0;
  display: flex;
  justify-content: flex-start;
}

.home-process-data-link {
  border: 0;
  background: transparent;
  padding: 0 0 0 40px;
  position: relative;
  font-family: 'Pretendard', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--home-blue);
  cursor: pointer;
}

.home-process-data-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  background: url("/assets/home/solution-arrow03.png") no-repeat center;
  background-size: contain;
}


/* ============================= */
/* Data Guide Modal */
/* ============================= */

/*분석의 흐름*/

.data-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}

.data-guide-modal.is-open {
  display: block;
}

.data-guide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.data-guide-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1280px, calc(100vw - 160px));
  height: min(86vh, 900px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.data-guide-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--home-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* 바깥 흰색 버블 */
.data-guide-bubble {
  width: 100%;
  height: 100%;
  padding: 22px;
  border-radius: 34px 34px 0 34px;
  background: var(--home-white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
  position: relative;
}

/* 안쪽 회색 카드 */
.data-guide-card {
  position: absolute;
  top: 70px;
  left: 24px;
  right: 1px;
  bottom: 2px;

  border-radius: 24px 0 0 0;
  background: var(--home-bg-soft);

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ============================= */
/* Header */
/* ============================= */

.data-guide-header {
  padding: 34px 28px 18px 28px;
  flex: 0 0 auto;
}

.data-guide-title {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--home-dark);
}

/* ============================= */
/* Tabs */
/* ============================= */

.data-guide-tab-shell {
  flex: 0 0 auto;
  margin: 0 0 18px 0;
  padding: 0 28px;
}

.data-guide-tabs {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  border-bottom: 1px solid #d9d9d9;
}

.data-guide-tab {
  position: relative;
  height: 50px;
  padding: 18px 26px;
  border: 0;
  background: transparent;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #c8c8c8;
  white-space: nowrap;
  cursor: pointer;
}

.data-guide-tab.is-active {
  color: var(--home-blue);
  font-weight: 700;
}

.data-guide-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--home-blue);
}

/* ============================= */
/* Body */
/* ============================= */

.data-guide-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 0 0 28px;
  overflow: hidden;
}

/* ============================= */
/* Panel */
/* ============================= */

.data-guide-panel {
  display: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding-right: 10px;
  box-sizing: border-box;
}

.data-guide-panel.is-active {
  display: block;
}

/* ============================= */
/* Flow 탭 전용 */
/* ============================= */

.data-guide-text-block {
  margin-bottom: 24px;
}

.data-guide-description {
  margin: 0 0 0 20px;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--home-text-muted);
  word-break: keep-all;
}

.data-guide-emphasis {
  color: var(--home-blue);
  font-weight: 700;
}

.data-guide-image-wrap {
  width: 98%;
  height: calc(100% - 70px);
  min-height: 0;
  overflow: visible;
  border-radius: 24px;
  background: transparent;
  margin-bottom: 50px;
}

.data-guide-image-wrap--plain {
  padding: 0;
  background: transparent;
  overflow: visible;
  border-radius: 0;
}

.data-guide-image-wrap--plain img {
  display: block;
  width: 100%;
  height: auto;
}

.data-guide-flow-image {
  display: block;
  width: 100%;
  height: auto;
}

/* 다른 탭 스크롤 */
.data-guide-panel:not([data-panel="flow"]) {
  overflow-y: auto;
  padding-right: 6px;
}

/*출처전용 탭 설정*/
/* ============================= */
/* Data Guide - Source tab */
/* ============================= */

.data-guide-source-wrap {
  width: 100%;
}

.data-guide-source-box {
  margin-top: 18px;
  margin-right: 20px;
  padding: 22px 24px 26px;
  border: 1px solid var(--home-blue);
  border-radius: 28px;
  background: #ffffff;
  box-sizing: border-box;
}

.data-guide-source-table-block {
  margin-top: 24px;
}

.data-guide-source-subtitle--table {
  margin-top: 0;
  margin-bottom: 14px;
}

.data-guide-source-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  border-radius: 20px;
  background: var(--home-white);
  box-sizing: border-box;
}

.data-guide-source-subtitle {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--home-text-muted);
}

.data-guide-source-subtitle--table {
  margin-top: 26px;
  margin-bottom: 14px;
}

.data-guide-source-item {
  margin: 8px 0 18px 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--home-text-muted);
  word-break: keep-all;
}

.data-guide-source-item:last-of-type {
  margin-bottom: 0;
}

.data-guide-source-item strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--home-dark);
}

.data-guide-source-table-wrap {
  width: 100%;
  margin-top: 10px;
  min-height: 120px;
}

/* 표가 들어갈 자리 */
#data-guide-source-table {
  width: 100%;
}

/* source 탭 설명문은 분석의 흐름 탭과 동일하게 */
[data-panel="source"] .data-guide-description {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--home-text-muted);
  margin-left: 10px;
}

/* source 탭 안에서만 스크롤 */
[data-panel="source"] {
  overflow-y: auto;
  padding-right: 14px;
  box-sizing: border-box;
}

/* ============================= */
/* Data Guide - Source image */
/* ============================= */
.data-guide-source-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 2px;
}

.data-guide-source-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 6px 0 6px;
  margin-right: 20px;
}

.data-btn {
  padding: 2px 10px;

  font-size: 14px;
  font-weight: 400;

  text-decoration: none;
  color: var(--home-text-muted);

  border: 1px solid #dcdcdc;
  background: #ffffff;

  border-radius: 0;
  /* 라운드 제거 */
  transition: none;
}

.data-btn:hover {
  background: #ffffff;
}

.data-guide-source-image {
  background: var(--home-white);
  overflow: hidden;
  padding: 0 0 20px 0;
}

/* 스크롤 영역 */
.data-guide-source-scroll {
  overflow: auto;
  padding: 0 15px 0 0;
}

/* 이미지 */
.data-guide-source-image img {
  display: block;
  width: 100%;
  height: auto;
}

.data-guide-source-image img {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================= */
/* Section 5 */
/* ============================= */
.home-chart {
  background: var(--home-white);
  min-height: 920px;
}

.home-chart .home-inner {
  padding: 52px 0 80px 0;
}

.home-chart-wrap {
  width: 100%;
  margin: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-chart-kicker {
  color: var(--home-blue);
  margin-bottom: 26px;
}

.home-chart-title {
  color: var(--home-black);
  line-height: 1.3;
}

.home-chart-desc {
  margin-top: 22px !important;
  color: #9f9f9f;
}

.home-chart-desc span {
  font-weight: 700;
}

.home-chart-category {
  width: 1350px;
  max-width: 100%;
  margin: 38px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.home-chart-category-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 15px;
}

.home-chart-category-label {
  /* 크기 */
  height: 42px;
  padding: 0 22px;
  width: 190px;

  /* 레이아웃 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;

  /* 스타일 (section4 기준) */
  background: #e8eff8;
  border: 1.5px solid var(--home-blue);
  border-radius: 999px;

  /* 텍스트 */
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--home-blue);
}

.home-chart-category-track {
  min-height: 42px;
  padding: 0 18px;
  width: 1200px;
  border: 1.5px solid #9cc3e6;
  border-radius: 999px;
  background: #fbfbfb;

  display: grid;
  /*민간텍스트 위치조정*/
  grid-template-columns: 1fr 400px;
  align-items: center;
  box-sizing: border-box;
}

.home-chart-note {
  width: 100%;
  max-width: 1380px;
  /* category랑 맞춤 */
  margin-top: 4px !important;
  font-size: 14px;
  line-height: 1.4;
  color: var(--home-blue);
  text-align: right;
  letter-spacing: -0.5px;
}

.home-chart-group--public {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-self: start;
  /* 왼쪽 고정 */
}

.home-chart-group--private {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-self: end;
  /* 오른쪽 끝으로 이동 */
  text-align: right;
}

.home-chart-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.home-chart-group-tag {
  margin-right: 8px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #8f8f8f;
  white-space: nowrap;
}

.home-chart-facility {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #a4a7ab;
  cursor: pointer;
  white-space: nowrap;
}

.home-chart-group .home-chart-facility+.home-chart-facility::before {
  content: "|";
  display: inline-block;
  margin: 0 8px;
  color: #c9cacc;
  font-weight: 300;
}

/* 민간: 반대로 */
.home-chart-group--private .home-chart-facility::after {
  content: "|";
  margin: 0 8px;
}

.home-chart-group--private .home-chart-facility:last-child::after {
  content: "";
}

.home-chart-facility.is-active {
  color: var(--home-blue);
  font-weight: 700;
}

.home-chart-stage {
  width: 100%;
  min-height: 470px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  align-items: center;
}

.home-chart-side {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-chart-side--prev,
.home-chart-side--next {
  justify-content: center;
}

.home-chart-side-label {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: #d0d2d4;
  white-space: nowrap;
  pointer-events: none;
}

/* 왼쪽(이전 시설) → 화살표 쪽(오른쪽) 정렬 */
.home-chart-side--prev .home-chart-side-label {
  text-align: right;
}

/* 오른쪽(다음 시설) → 화살표 쪽(왼쪽) 정렬 */
.home-chart-side--next .home-chart-side-label {
  text-align: left;
}

.home-chart-nav {
  width: 44px;
  height: 120px;
  border: 0;
  background: transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.home-chart-side--prev .home-chart-nav {
  right: 18px;
}

.home-chart-side--next .home-chart-nav {
  left: 18px;
}

.home-chart-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 60px solid transparent;
  border-bottom: 60px solid transparent;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-chart-nav--prev::before {
  border-right: 42px solid #b9bcc0;
  border-left: 0;
}

.home-chart-nav--next::before {
  border-left: 42px solid #b9bcc0;
  border-right: 0;
}

.home-chart-nav:hover::before {
  opacity: 1;
  transform: scale(1.03);
}

.home-chart-viewer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.home-chart-figure-title {
  margin-bottom: 15px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: #d0d2d4;
}

.home-chart-figure-frame {
  width: 100%;
  max-width: 880px;
  height: 420px;
  border-radius: 24px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-chart-figure-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 450px;
  border-radius: 24px;
  background: transparent;
  overflow: hidden;
}

.home-chart-figure-frame img {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.26s ease;
}

.home-chart-image.is-entering {
  opacity: 0;
}

.home-chart-image.is-visible {
  opacity: 1;
}

.home-chart-image.is-leaving {
  opacity: 0;
}

/* 그래프 미삽입 상태 placeholder */
.home-chart-figure-frame:empty::before {
  content: "Stata 그래프 이미지 영역";
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #d0d2d4;
}

/* 반응형 */
@media (max-width: 1500px) {
  .home-chart-category {
    width: 100%;
  }

  .home-chart-stage {
    grid-template-columns: 170px minmax(0, 1fr) 170px;
  }

  .home-chart-side-label {
    font-size: 22px;
  }
}

@media (max-width: 1100px) {
  .home-chart-category-row {
    grid-template-columns: 1fr;
  }

  .home-chart-stage {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .home-chart-side {
    justify-content: center;
  }

  .home-chart-side--prev {
    order: 2;
  }

  .home-chart-viewer {
    order: 1;
  }

  .home-chart-side--next {
    order: 3;
  }
}

/* ============================= */
/* Section 6 */
/* ============================= */
.home-service {
  background: var(--home-light);
  min-height: 620px;
}

.home-service-kicker {
  color: var(--home-blue);
}

.home-service .home-inner {
  padding: 52px 0 80px 0;
}

.home-service-desc {
  margin-top: 22px !important;
  color: #9f9f9f;
}

.home-service-wrap {
  width: 100%;
  margin: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 카드 그리드 */
.home-service-card-grid {
  width: 1240px;
  max-width: 1650px;
  margin: 35px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* 카드 */
.home-service-card {
  border-radius: 45px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 4px solid transparent;
  position: relative;
}

/* 상단 */
.home-service-card-head {
  padding: 30px 28px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
}


.home-service-card-head {
  border-bottom: 1.5px solid #e3e3e3;
}

.home-service-card-icon img {
  width: 60px;
}

.home-service-card-title-group {
  text-align: left;
}

.home-service-card-title {
  font-size: 29px;
  font-weight: 700;
  color: var(--home-black);
}

.home-service-card-range {
  font-size: 20px;
  color: #9a9a9a;
  margin-top: 0;
}

/* 본문 */
.home-service-card-body {
  padding: 28px;
  height: 40px;
  text-align: left;
  background: #f3f3f3;
  border-top: 1.5px solid #e3e3e3;
  flex: 1;
}

.home-service-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-service-card-list li {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #7f7f7f;
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}

/* 체크 아이콘 */
.home-service-card-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  font-weight: 300;
  color: var(--home-blue);
}

/* 하단 */
.home-service-card-footer {
  margin-top: auto;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 28px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #fff;
  border-radius: 0 0 36px 36px;
}

.home-service-card--shortage {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(230deg, #ffffff, #006637) border-box;
  border: 4px solid transparent;
}

.home-service-card--surplus {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(230deg, #ffffff, #e6007e) border-box;
  border: 4px solid transparent;
}

.home-service-card--fit {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(230deg, #ffffff, #b3c0ba) border-box;
  border: 4px solid transparent;
}

/* 색상 */
.home-service-card--shortage .home-service-card-footer {
  background: var(--home-green);
}

.home-service-card--fit .home-service-card-footer {
  background: #b3c0ba;
}

.home-service-card--surplus .home-service-card-footer {
  background: #dc2f74;
}

/* 반응형 */
@media (max-width: 1200px) {
  .home-service-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* Section 7 */
/* top + middle + floating footer card */
/* ============================= */
.home-cta {
  background: var(--home-white);
  min-height: auto;
}

.home-cta-top {
  background: var(--home-white);
  height: 420px;
}

.home-cta-middle {
  background: var(--home-light);
}

.home-cta-top .home-inner,
.home-cta-middle .home-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1500px;
}

.home-cta-top-inner {
  width: 100%;
  max-width: 1650px;
  padding: 30px 0 34px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-cta-kicker {
  color: var(--home-blue);
  margin-bottom: 20px;
}

.home-cta-title {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 35px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--home-black);
}

.home-cta-service-buttons {
  margin-top: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 6vw, 120px);
  flex-wrap: nowrap;
  width: 100%;
}

.home-cta-service-btn {
  width: clamp(180px, 24vw, 300px);
  height: clamp(56px, 5.2vw, 75px);
  padding: 0 clamp(20px, 3.2vw, 50px);
  border: 0;
  border-radius: 14px;
  background: var(--home-green);
  color: var(--home-white);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 400;
  letter-spacing: -0.05em;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
  flex: 0 1 auto;
}

.home-cta-service-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.home-cta-middle .home-inner {
  position: relative;
  width: 100%;
  max-width: 1900px;
  padding: 56px 0 250px 0;
}

.home-cta-middle-inner {
  width: 100%;
  max-width: 1650px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.home-cta-middle-title {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 38px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--home-black);
  margin-top: 50px !important;
}

.home-cta-middle-desc {
  margin-top: 17px !important;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #a7a9ac;
}

.home-cta-contact-btn {
  margin-top: 50px;
  min-width: 300px;
  height: 75px;
  padding: 0 50px;
  border: 0;
  border-radius: 14px;
  background: var(--home-blue);
  color: var(--home-white);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.05em;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.home-cta-contact-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* 회색 버블 카드 */
.home-footer-card {
  position: absolute;
  left: 50%;
  bottom: -120px;
  transform: translateX(-50%);
  width: min(1580px, calc(100% - 120px));
  min-height: 240px;
  padding: 44px 56px;
  background: var(--home-dark);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
  z-index: 2;
  border-radius: 36px 36px 0 0;
}

.home-footer-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.home-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-footer-logo {
  width: 160px;
  /* 적당히 키움 */
  height: auto;
  display: block;
}

.home-footer-brand-text {
  font-size: 38px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.home-footer-info {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.62);
}

.home-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}

.home-footer-heading {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

.home-footer-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #ffffff;
  cursor: pointer;
}

.home-footer-link:hover {
  opacity: 0.8;
}

@media (max-width: 1200px) {
  .home-cta-service-buttons {
    gap: 18px;
  }

  .home-cta-middle .home-inner {
    padding-bottom: 320px;
  }

  .home-footer-card {
    width: calc(100% - 60px);
    padding: 36px 32px;
    flex-direction: column;
    gap: 32px;
    bottom: -150px;
  }

  .home-footer-right {
    align-items: flex-start;
    text-align: left;
  }
}