/* 020101.css — AI(인공지능) / Athena
   수치는 design/020101_Athena.svg 를 브라우저 렌더한 1920×5374 기준 픽셀 실측.
   단일 줄 텍스트는 line-height:1 로 두어 잉크 박스 ≈ 라인 박스가 되게 하고,
   요소 간 여백은 실측 delta 를 그대로 margin 으로 넣는다.

   세로 좌표(아트보드)
     헤더             0 ~   64
     히어로          64 ~  736   (하단 1px #E8ECEF 구분선 737)
     핵심 구성      738 ~ 1413   (#FAFBFC, 하단 1px #E8ECEF 구분선 1414)
     주요 특징     1415 ~ 2123
     기대 효과     2124 ~ 2792   (#FAFBFC)
     활용 사례     2793 ~ 3506
     Athena 구성도 3507 ~ 4214   (#FAFBFC)
     고객사        4215 ~ 4538
     관련 솔루션   4539 ~ 5173   (#FAFBFC)
     푸터          5174 ~                                              */

/* ══ 히어로 ══════════════════════════════════════════════
   배지 top 160 / 일러스트 160~495 / 버튼 588~641 / 섹션 끝 736 */
.ath-hero {
  padding: 96px 0 95px; /* 헤더 64 + 96 = 배지 160 */
  border-bottom: 1px solid var(--color-card-line);
}

.ath-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter-pc);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.ath-hero__badge {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 15px; /* 실측 폭 103 */
  margin-bottom: 22px;
  border: 1px solid var(--color-primary);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1;
  color: var(--color-primary);
}

.ath-hero__title {
  font-size: 60px; /* "Athena" 실측 잉크 198×44 */
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.ath-hero__subtitle {
  margin-top: 35px; /* 타이틀 박스 하단 274 → 부제 잉크 310 */
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.4px;
  color: var(--color-text);
}

/* 본문 2문단. 줄 잉크 top 358·388 / 426·456·486·516 → 줄간격 30, 문단 간 8 */
.ath-hero__desc {
  margin-top: 21px; /* 부제 박스 하단 331 → 본문 잉크 358 */
  max-width: 580px; /* 시안 최대 줄 폭 582 (Chrome 이 조금 좁게 그림) */
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.25px;
  line-height: 30px;
  color: var(--color-text-sub);
}

.ath-hero__desc + .ath-hero__desc {
  margin-top: 8px;
}

/* 일러스트 : clipPath 프레임 520×336, 배치 1016~1535 × 160~495 */
.ath-hero__image {
  flex: none;
  margin: 0;
}

/* ── 버튼 : 선 173×54, radius 8, 텍스트 + 다운로드 아이콘 14, gap 9 ── */
.ath-actions {
  margin-top: 48px; /* 본문 마지막 줄 박스 하단 540 → 버튼 588 */
  display: flex;
  gap: 16px;
}

.ath-btn {
  width: 173px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-bg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
  transition: background-color .2s ease, border-color .2s ease;
}

.ath-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
}

/* ══ 섹션 공통 ═══════════════════════════════════════════
   섹션 top → eyebrow 잉크 83 / eyebrow → 제목 잉크 19 / 제목 → 본문 블록 53 */
.ath-section--alt {
  background: var(--color-bg-alt);
}

/* 시안에서 구분선이 그려진 섹션은 히어로와 핵심 구성 두 곳뿐이다 */
.ath-section--line {
  border-bottom: 1px solid var(--color-card-line);
}

.ath-section .section__inner {
  padding-top: 82px;
  padding-bottom: 80px;
}

/* 주요 특징 섹션만 시안에서 eyebrow 가 1px 위에 있다(다른 섹션은 전부 83, 이 섹션만 82).
   여기서 1px 을 흘리면 아래 30개 블록이 통째로 밀리므로 이 섹션에서 흡수한다 */
.ath-section--tight .section__inner {
  padding-top: 81px;
}

.ath-eyebrow {
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  color: var(--color-muted);
}

.ath-title {
  margin-top: 17px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  text-align: center;
  color: var(--color-text);
}

/* ══ 핵심 구성 ═══════════════════════════════════════════
   리드 잉크 917 / 표 상단선 960 ~ 하단선 1333
   헤더 행 35 + 본문 6행 × (55 + 구분선 1)
   바깥 테두리는 #D0D7DE, 행 구분선은 #E8ECEF 로 색이 다르다.
   마지막 행 구분선(1332)과 표 하단선(1333)이 겹쳐 2px 로 보이므로
   border-collapse 는 separate 로 둔다 (collapse 면 한 줄로 합쳐진다) */
.ath-lead {
  margin-top: 30px; /* 제목 박스 하단 887 → 리드 박스 917 */
  font-size: 18px;
  font-weight: 500; /* 700 으로 두면 잉크비 1.27 로 시안보다 훨씬 진하다 */
  line-height: 1;
  letter-spacing: -0.4px; /* 시안 잉크 폭 810 에 맞춘 값 */
  text-align: center;
  color: var(--color-text);
}

.ath-core {
  margin-top: 25px; /* 리드 박스 하단 935 → 표 상단선 960 */
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

/* 표 제목은 화면에서 감춘다 (시안에 없음) */
.ath-core__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ath-core__col--name {
  width: 242px; /* 모듈 텍스트 400 → 역할 텍스트 642 */
}

.ath-core th,
.ath-core td {
  padding-left: 16px; /* 표 좌단 384 → 텍스트 400 */
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-card-line);
}

.ath-core thead th {
  height: 36px; /* 선 제외 35 */
  font-size: 15px; /* 시안 잉크 27×15 실측 — 14 로 두면 2px 좁다 */
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-text-sub);
}

.ath-core tbody th,
.ath-core tbody td {
  height: 56px; /* 선 제외 55 */
  font-size: 18px;
  letter-spacing: -0.4px; /* 시안 줄 폭에 맞춘 값 */
  line-height: 26px;
}

/* 홀수 행만 흰 배경. 짝수 행은 섹션 배경(#FAFBFC)이 그대로 보인다 */
.ath-core tbody tr:nth-child(odd) {
  background: var(--color-bg);
}

.ath-core tbody th {
  font-weight: 700;
  color: var(--color-text);
}

.ath-core tbody td {
  font-weight: 400;
  color: var(--color-text-sub);
}

/* ══ 주요 특징 ═══════════════════════════════════════════
   카드 368 ×3 + gap 24 = 1152 / 행 높이 202 / 상단 1616 (2행은 2장) */
.ath-feature {
  margin-top: 53px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 상 24 / 하 23. 시안 실측이 비대칭이다 (아이콘 top 1641, 본문 박스 하단 1794, 카드 하단 1817) */
.ath-feature__item {
  padding: 24px 24px 23px;
  border: 1px solid var(--color-card-line);
  border-radius: 12px;
  background: var(--color-bg);
}

.ath-feature__icon {
  display: block;
  width: 48px;
  height: 48px;
}

.ath-feature__name {
  display: block;
  margin-top: 21px; /* 아이콘 하단 1689 → 이름 잉크 1711 */
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.ath-feature__desc {
  max-width: 312px; /* 시안 최대 줄 폭 311 — 318 로 두면 줄바꿈 지점이 달라진다 */
  word-break: keep-all; /* 시안은 모든 줄이 어절 경계에서 끊긴다 */
  margin-top: 14px; /* 이름 박스 하단 1732 → 본문 박스 1746 (잉크 1750) */
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 24px;
  color: var(--color-text-sub);
}

/* ══ 기대 효과 ═══════════════════════════════════════════
   2열 552 + gap 48 / 3행 / 항목 136 + 구분선 1 = 137 */
.ath-benefit {
  margin-top: 29px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
}

.ath-benefit__item {
  display: flex;
  align-items: flex-start;
  padding: 29px 0 23px;
  border-bottom: 1px solid var(--color-card-line);
}

.ath-benefit__num {
  flex: none;
  width: 68px; /* 번호 잉크 x386 → 제목 x452 */
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #d1d9f3;
}

.ath-benefit__body {
  display: block;
}

.ath-benefit__name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.ath-benefit__desc {
  display: block;
  max-width: 458px; /* 시안 최대 줄 폭 449 */
  margin-top: 14px; /* 제목 잉크 하단 1675 → 설명 잉크 1695 */
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.3px; /* 시안 줄 폭(449)에 맞춘 값 */
  word-break: keep-all; /* 시안은 모든 줄이 어절 경계에서 끊긴다 */
  line-height: 24px;
  color: var(--color-text); /* 이 섹션만 본문색이 진하다 (시안 실측 #1A1F2E) */
}

/* ══ 활용 사례 ═══════════════════════════════════════════
   카드 564 ×2 + gap 24 / 카드 높이 128 / padding 32 */
.ath-case {
  margin-top: 53px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* 상 36 / 하 30. 좌우만 32 (시안 실측: 제목 잉크 top 3033, 박스 top 3032) */
.ath-case__item {
  padding: 36px 32px 30px;
  border: 1px solid var(--color-card-line);
  border-radius: 12px;
  background: var(--color-bg);
}

.ath-case__name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.ath-case__desc {
  margin-top: 14px; /* 제목 박스 하단 3054 → 본문 박스 3068 (잉크 3072) */
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 24px;
  color: var(--color-text-sub);
}

/* ══ Athena 구성도 ═══════════════════════════════════════
   패널 1152×426 (3709~4134), 다이어그램 1150×424 */
.ath-arch {
  margin-top: 53px;
  border: 1px solid var(--color-card-line);
  border-radius: 11px; /* 12 로 두면 모서리 안티에일리어싱이 시안과 1행 어긋난다 */
  background: var(--color-bg);
}

.ath-arch__image {
  display: block;
  width: 100%;
  height: auto;
}

/* ══ 고객사 ══════════════════════════════════════════════
   칩 높이 42 / gap 17 / 1행 중앙 정렬 (4417~4458) */
.ath-client {
  margin-top: 53px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 17px;
  row-gap: 16px;
}

.ath-client__item {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--color-card-line);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.3px;
  color: var(--color-text-sub);
}

/* ══ 관련 솔루션 ═════════════════════════════════════════
   카드 368 ×3 + gap 24 / 카드 높이 274 (4741~5014) */
.ath-solution {
  margin-top: 53px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ath-solution__item {
  padding: 32px;
  border: 1px solid var(--color-card-line);
  border-radius: 12px;
  background: var(--color-bg);
}

.ath-solution__icon {
  display: block;
  width: 48px;
  height: 48px;
}

.ath-solution__name {
  display: block;
  margin-top: 22px; /* 아이콘 하단 4092 → 제목 잉크 4116 */
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

/* 3열이 되면서 카드 내부 폭이 302 로 줄어 별도 max-width 가 필요 없다
   (시안 최대 줄 폭 295 < 302) */
.ath-solution__desc {
  word-break: keep-all; /* 시안은 모든 줄이 어절 경계에서 끊긴다 */
  margin-top: 11px; /* 제목 잉크 하단 4862 → 본문 잉크 4883 */
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 28px;
  color: var(--color-text-sub);
}

.ath-solution__link {
  margin-top: 26px; /* 본문 박스 하단 4200 → 링크 잉크 4233 */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}

.ath-solution__link:hover {
  text-decoration: underline;
}

.ath-cta .section__inner {
  padding-bottom: 159px; /* 카드 하단 5014 → 푸터 5174 */
}

/* ══ 태블릿 ══════════════════════════════════════════════
   모바일 시안이 없으므로 1단 스택 + 좌우 여백 규칙을 따른다 */
@media (max-width: 1023px) {
  .ath-hero {
    padding: 64px 0;
  }

  .ath-hero__inner {
    flex-direction: column;
    gap: 48px;
  }

  .ath-hero__image {
    width: 100%;
    max-width: 520px;
    height: auto;
  }

  .ath-hero__desc {
    max-width: none;
  }

  /* 시안의 <br> 은 문장 경계라 좁은 폭에서도 살린다.
     숨기면 '차별화하고고객의' 처럼 두 문장이 붙는다 */

  .ath-section .section__inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .ath-cta .section__inner {
    padding-bottom: 100px;
  }

  .ath-lead {
    margin-top: 24px;
    line-height: 28px;
  }

  .ath-core {
    margin-top: 24px;
  }

  .ath-feature {
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
  }

  .ath-feature__desc,
  .ath-benefit__desc,
  .ath-solution__desc {
    max-width: none;
  }

  .ath-case,
  .ath-solution {
    margin-top: 40px;
  }

  .ath-solution {
    grid-template-columns: repeat(2, 1fr);
  }

  .ath-benefit {
    margin-top: 24px;
    grid-template-columns: 1fr;
  }

  .ath-arch,
  .ath-client {
    margin-top: 40px;
  }

  /* 2열이 좁아지면 제목이 낱글자로 끊긴다. 어절 단위로만 넘긴다 */
  .ath-feature__name,
  .ath-case__name,
  .ath-benefit__name,
  .ath-solution__name {
    word-break: keep-all;
  }
}

/* ══ 모바일 ══════════════════════════════════════════════ */
@media (max-width: 767px) {
  .ath-hero {
    padding: 48px 0;
  }

  /* .section__inner 와 좌우 여백을 맞춘다 */
  .ath-hero__inner {
    padding: 0 var(--gutter-mo);
  }

  .ath-hero__title {
    font-size: 36px;
  }

  .ath-hero__subtitle {
    margin-top: 20px;
    font-size: 18px;
  }

  .ath-hero__desc {
    margin-top: 18px;
    font-size: 15px;
    line-height: 26px;
  }

  .ath-actions {
    margin-top: 32px;
  }

  .ath-title {
    margin-top: 14px;
    font-size: 24px;
  }

  .ath-section .section__inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .ath-cta .section__inner {
    padding-bottom: 64px;
  }

  .ath-lead {
    font-size: 15px;
    line-height: 24px;
    text-align: left;
  }

  /* 2열 표는 375 폭에서 모듈명 열(242)이 들어가지 않는다.
     행마다 모듈명 위 / 역할 아래로 쌓는다 */
  .ath-core thead {
    display: none;
  }

  .ath-core tbody tr,
  .ath-core tbody th,
  .ath-core tbody td {
    display: block;
    width: auto;
    height: auto;
  }

  .ath-core tbody th {
    padding: 16px 16px 0;
    border-bottom: 0;
    font-size: 15px;
  }

  .ath-core tbody td {
    padding: 6px 16px 16px;
    font-size: 14px;
    line-height: 22px;
  }

  .ath-feature,
  .ath-case,
  .ath-solution {
    grid-template-columns: 1fr;
  }

  .ath-feature__item,
  .ath-case__item,
  .ath-solution__item {
    padding: 20px;
  }

  .ath-feature__name,
  .ath-case__name,
  .ath-benefit__name,
  .ath-solution__name {
    font-size: 18px;
  }

  .ath-feature__desc,
  .ath-case__desc,
  .ath-benefit__desc,
  .ath-solution__desc {
    font-size: 15px;
    line-height: 24px;
  }

  .ath-benefit__item {
    padding: 20px 0;
  }

  .ath-benefit__num {
    width: 52px;
    font-size: 32px;
  }

  /* 구성도는 가로로 긴 다이어그램이라 그대로 줄이면 글자가 안 보인다.
     최소 폭을 두고 패널 안에서만 가로로 흐르게 한다 */
  .ath-arch {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ath-arch__image {
    width: 720px;
    max-width: none;
  }

  .ath-client__item {
    height: 38px;
    padding: 0 18px;
    font-size: 15px;
  }
}
