:root {
  --cem-ink: #111111;
  --cem-muted-a: #333333;   /* SecureAccess 계열 본문 회색 */
  --cem-muted-b: #565b62;   /* deviceTRUST 계열 본문 회색 */
  --cem-line: #cbd3db;
  --cem-blue-deep: #0b4198;   /* deviceTRUST 히어로와 동일한 남색 */
  --cem-blue-light: #c9ebfb;  /* SecureAccess 인트로 섹션과 동일한 하늘색 */
  --cem-blue-strong: #246cf2; /* deviceTRUST 문서 패널/탭/Tech Zone과 동일한 블루 */
  --cem-teal: #2b6678;        /* SecureAccess 버튼과 동일한 틸 */
  --cem-teal-hover: #1a45d3;
  --cem-max: 1200px;
}

.cem-page,
.cem-page *,
.cem-page *::before,
.cem-page *::after {
  box-sizing: border-box;
}

.cem-page {
  overflow: hidden;
  color: var(--cem-ink);
  font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
  word-break: keep-all;
}

.cem-page h1,
.cem-page h2,
.cem-page h3,
.cem-page p {
  margin-top: 0;
  letter-spacing: 0;
}

.cem-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.cem-container {
  width: min(var(--cem-max), calc(100% - 48px));
  margin: 0 auto;
}



.sa-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.sa-product-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 24px;
    font-size: 30px;
}

/* Product bar + sub nav (Overview / Resource Library) : UniconOS/SecurSpaces와 동일 구성 */
.cem-product-bar {
  border-top: 1px solid #cbd3db;
  background: #f3f3f3;
}

.cem-product-bar-inner {
  display: flex;
  align-items: center;
  min-height: 48px;
}

.cem-product-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.cem-product-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  color: #565b62;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.cem-product-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: '';
}

.cem-product-nav a.is-active {
  color: var(--cem-ink);
  font-weight: 700;
}

.cem-product-nav a.is-active::after {
  background: var(--cem-blue-strong);
}

/* Hero : Experience Insights 최종 확정본과 동일 규격(이미지 비율을 넓힌 버전) */
.cem-hero {
  color: #fff;
  background: var(--cem-blue-deep);
}

.cem-hero-inner {
  display: grid;
  min-height: 600px;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 70px;
  align-items: center;
}

.cem-hero-copy {
  max-width: 650px;
}

.cem-hero-copy h1 {
  margin: 0 0 28px;
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
}

.cem-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.75;
  word-break: keep-all;
}

.cem-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-radius: 4px;
}

/* Overview (light blue, illustration + copy) : Experience Insights/SecurSpaces의 -overview와 동일 규격 */
.cem-overview {
  background: var(--cem-blue-light);
}

.cem-overview-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: center;
  padding: 90px 0;
}

.cem-overview-media img {
  width: 100%;
  height: auto;
}

.cem-overview-copy p {
  margin: 0 0 22px;
  color: var(--cem-ink);
  font-size: 18px;
  line-height: 1.75;
  word-break: keep-all;
}

.cem-overview-copy p:last-child {
  margin-bottom: 0;
}

/* Platform : SecureAccess의 sa-overview(중앙정렬 카피 + 다이어그램) 구성을 그대로 따르고,
   그 아래 deviceTRUST의 dt-solution-row 그리드/구분선을 제목+문단만 있는 단순형으로 재사용 */
.cem-platform {
  padding: 100px 0;
  color: #000000;
  background: #fff;
}

.cem-platform-intro {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.cem-platform-intro h2 {
  margin: 0 0 26px;
  font-size: 36px;
  line-height: 1.3;
}

.cem-platform-intro p {
  margin: 0;
  color: var(--cem-muted-a);
  font-size: 18px;
  line-height: 1.7;
}

.cem-diagram-wrap {
  margin-top: 62px;
}

.cem-diagram-wrap img {
  width: min(100%, 780px);
  margin: 0 auto;
}

.cem-feature-rows {
  margin-top: 70px;
}

.cem-feature-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 70px;
  padding: 34px 0;
  border-bottom: 1px solid var(--cem-line);
}

.cem-feature-row:last-child {
  border-bottom: 0;
}

.cem-feature-row h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.cem-feature-row p {
  margin: 0;
  color: var(--cem-muted-b);
  font-size: 18px;
  line-height: 1.75;
}

/* Full-bleed banner : Experience Insights의 ei-banner와 동일 규격 */
.cem-banner img {
  display: block;
  width: 100%;
  height: min(520px, 46vw);
  object-fit: cover;
}

/* 스마트한 업무 환경 : deviceTRUST의 dt-benefit-grid와 동일 규격(3단, 가운데 정렬) */
.cem-benefits {
  padding: 100px 0;
  text-align: center;
  background: #f3f3f3;
}

.cem-benefits h2 {
  margin: 0 0 56px;
  font-size: 36px;
  line-height: 1.3;
}

.cem-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.cem-benefit-item img {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.cem-benefit-item h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.4;
}

.cem-benefit-item p {
  margin: 0 auto;
  max-width: 320px;
  color: var(--cem-muted-a);
  font-size: 18px;
  line-height: 1.7;
}

/* 다양한 운영체제(OS) 지원 : 좌측 정렬 3단 그리드(신규 구성, 나머지 타이포/여백 스케일은 동일하게 유지) */
.cem-os {
  padding: 100px 0;
}

.cem-os h2 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.3; text-align:center;
}

.cem-os-intro {
  margin: 0 0 56px;
  color: var(--cem-muted-a);
  font-size: 18px;
  line-height: 1.7; text-align:center;
}

.cem-os-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.cem-os-item img {
  width: 56px;
  height: 56px;
  margin: 0 0 16px;
  object-fit: contain;
}

.cem-os-item h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.cem-os-item p {
  margin: 0;
  color: var(--cem-muted-b);
  font-size: 18px;
  line-height: 1.75;
}

.cem-os-more {
  display: inline-block;
  margin-top: 40px;
  color: var(--cem-muted-a);
  font-size: 14px;
  text-decoration: underline;
}

/* 관련 상품 : SecureAccess resource-card 규격을 그대로 따르되 설명 문단을 포함한 단일 카드 */
.cem-related {
  padding: 0 0 100px;
}

.cem-related h2 {
  margin: 0 0 32px; text-align:center;
  font-size: 36px;
  line-height: 1.3;
}

.cem-related-card {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  color: var(--cem-ink);
  background: #f3f3f3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.cem-related-card img {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover; 
}

.cem-related-card > div {
  padding: 20px 28px;
}

.cem-related-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
}

.cem-related-card p {
  margin: 0 0 18px;
  color: var(--cem-muted-b);
  font-size: 18px;
  line-height: 1.7;
}

.cem-related-card a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cem-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* Tech zone : SecureAccess/deviceTRUST의 Tech Zone과 완전히 동일 규격(영문 타이틀) */
.cem-tech-zone {
  color: #fff;
  background: var(--cem-blue-strong);
}

.cem-tech-zone-inner {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
  padding: 70px 0;
  gap: 60px;
}

.cem-tech-zone h2 {
  margin: 0 0 18px;
  font-size: 36px;
}

.cem-tech-zone p {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 1.7;
}

.cem-tech-zone a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 26px;
  border-radius: 22px;
  color: #111111;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.cem-tech-zone img {
  width: min(30%, 310px);
  height: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .cem-hero-inner {
    min-height: 520px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 48px;
  }

  .cem-hero-copy h1 {
    font-size: 34px;
  }

  .cem-overview-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 0;
  }

  .cem-overview-media {
    max-width: 360px;
    margin: 0 auto;
  }

  .cem-feature-row {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 42px;
  }

  .cem-os-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .cem-container {
    width: min(100% - 32px, 620px);
  }

  .cem-product-bar-inner {
    min-height: 64px;
  }

  .cem-product-nav {
    gap: 20px;
  }

  .cem-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .cem-hero-copy {
    max-width: none;
  }

  .cem-hero-copy h1 {
    margin-bottom: 22px;
    font-size: 29px;
  }

  .cem-hero-copy p {
    font-size: 16px;
  }

  .cem-overview-inner {
    padding: 48px 0;
  }

  .cem-platform {
    padding: 60px 0;
  }

  .cem-platform-intro h2,
  .cem-benefits h2,
  .cem-os h2,
  .cem-related h2 {
    font-size: 26px;
  }

  .cem-diagram-wrap {
    margin-top: 40px;
  }

  .cem-feature-rows {
    margin-top: 44px;
  }

  .cem-feature-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 0;
  }

  .cem-benefits {
    padding: 60px 0;
  }

  .cem-benefits h2 {
    margin-bottom: 40px;
  }

  .cem-benefit-grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .cem-os {
    padding: 60px 0;
  }

  .cem-os-intro {
    margin-bottom: 36px;
  }

  .cem-os-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .cem-related {
    padding-bottom: 60px;
  }

  .cem-tech-zone-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 48px 0;
    gap: 28px;
  }

  .cem-tech-zone h2 {
    font-size: 28px;
  }

  .cem-tech-zone p {
    font-size: 16px;
  }

  .cem-tech-zone img {
    align-self: center;
    width: min(60%, 260px);
  }
}
