:root {
  --ns-text: #222222;
  --ns-muted: #565b62;
  --ns-line: #c9cdd2;
  --ns-teal: #00687b;
  --ns-teal-deep: #004f5e;
  --ns-gray-bg: #f3f3f3;
  --ns-blue-light: #b5e3ff;
  --ns-max: 1200px;
}

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

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

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

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

.ns-page ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.ns-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 26px;
  border: none;
  border-radius: 22px;
  color: var(--ns-teal);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.ns-btn:hover {
  opacity: 0.9;
}

.ns-btn.is-solid {
  color: #fff;
  background: var(--ns-teal);
}

.ns-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  color: var(--ns-teal);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

/* Product bar : um/uo의 88px/30px/600 규격 재사용, 실제 사이트 톤에 맞춰 흰 배경 */
.ns-product-bar {
  border-top: 1px solid #cbd3db;
  border-bottom: 1px solid var(--ns-line);
 background: #f3f3f3;
}

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

.ns-product-bar strong {
  font-size: inherit;
}

.ns-product-bar sup {
  font-size: 0.55em;
  vertical-align: super;
}

.ns-product-nav-inner {
/*   border-top: 1px solid var(--ns-line); */
}

.ns-product-nav {
  display: flex;
  gap: 32px;
  min-height: 52px;
  align-items: center;
}

.ns-product-nav a {
  position: relative;
  color: var(--ns-text);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;     height: 48px;     display: inline-flex;
    align-items: center;
}

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

.ns-product-nav a.active,
.ns-product-nav a:hover {
  font-weight: 700;
}

.ns-product-nav a.active::after {
    background: var(--ns-teal);
}

/* Hero : 실제 사이트 톤에 맞춘 흰 배경 히어로 */
.ns-hero {
  color: var(--ns-text);
  background: #fff;
}

.ns-hero-inner {
  display: grid;
  min-height: 480px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
  gap: 90px;
  align-items: center;
}

.ns-hero-copy {
  max-width: 620px;
}

.ns-hero-copy h1 {
  margin: 0 0 28px;
  color: var(--ns-text);
  font-size: 44px;
  line-height: 1.28;
}

.ns-hero-copy p {
  margin: 0 0 28px;
  color: var(--ns-muted);
  font-size: 18px;
  line-height: 1.75;
}

.ns-hero-media {
  display: flex;
  justify-content: center;
}

.ns-hero-media img {
  display: block;
  width: auto;
  max-width: 70%;
  height: auto;
}

/* Intro : 문제 제기 - 탭 인터페이스 (실제 사이트 tabs 패턴 재사용) */
.ns-intro {
  padding: 100px 0 100px;
  background: var(--ns-gray-bg);
}

.ns-intro-head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.ns-intro-head h2 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.35;
}

.ns-intro-head p {
  margin: 0;
  color: var(--ns-muted);
  font-size: 18px;
  line-height: 1.8;
}

.ns-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ns-line);
}

.ns-tab {
  position: relative;
  min-height: 62px;
  border: 0;
  color: var(--ns-text);
  background: transparent;
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
}

.ns-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
  content: '';
}

.ns-tab.is-active::after {
  background: var(--ns-teal);
}

.ns-tab:focus-visible {
  outline: 2px solid var(--ns-teal);
  outline-offset: -4px;
}

.ns-tab-panels {
  padding-top: 48px;
}

.ns-tab-panel[hidden] {
  display: none;
}

.ns-tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 64px;
  align-items: center;
}

.ns-tab-panel-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.ns-tab-panel p {
  margin: 0;
  color: var(--ns-muted);
  font-size: 18px;
  line-height: 1.8;
}

/* Announce : "알고 계셨나요?" 좌측 정렬 아이콘+텍스트 콜아웃 (실제 사이트 레이아웃 반영) */
.ns-announce {
  padding: 64px 0;
  background: var(--ns-blue-light);
}

.ns-announce-inner {
  display: flex;
  align-items: center;
  gap: 80px;
 
}

.ns-announce-icon {
  flex: none;
  width: 150px;
 /*  height: 72px; */
}

.ns-announce-copy {
  max-width: 720px;
}

.ns-announce-tag {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
}

.ns-announce p {
  margin: 0;
  color: var(--ns-text);
  font-size: 18px;
  line-height: 1.75;
}

.ns-announce a {
  color: var(--ns-teal);
  font-weight: 700;
}

/* Platform positioning : 좌측 정렬 텍스트 (실제 페이지 레이아웃 반영) */
.ns-platform {
  padding: 100px 0;
  background: var(--ns-gray-bg);
}

.ns-platform-inner {
 /*  max-width: 860px; */
}

.ns-platform h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.35;
}

.ns-platform p {
  margin: 0;
  color: var(--ns-muted);
  font-size: 18px;
  line-height: 1.8;
}

.ns-platform strong {
  color: var(--ns-text);
}

/* Solutions : 5개 좌우 교차 행 */
.ns-solutions {
  padding: 100px 0 40px;
}

.ns-solutions-head {
  max-width: 820px;
  margin: 0 auto 20px;
  text-align: center;
}

.ns-solutions-head h2 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.35;
}

.ns-usecase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--ns-line);
}

.ns-usecase-row:last-child {
  border-bottom: 0;
}

.ns-usecase-row.is-reverse .ns-usecase-media {
  order: -1;
}

.ns-usecase-media img {
  border-radius: 8px;
}

.ns-usecase-copy h3 {
  margin: 0 0 16px;
  font-size: 23px;
  line-height: 1.4;
}

.ns-usecase-lead {
  margin: 0 0 16px;
  color: var(--ns-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.ns-usecase-copy p {
  margin: 0 0 16px;
  color: var(--ns-muted);
  font-size: 18px;
  line-height: 1.8;
}

.ns-usecase-copy p:last-child {
  margin-bottom: 0;
}

.ns-usecase-list {
  margin: 0 0 16px;
}

.ns-usecase-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--ns-muted);
  font-size: 18px;
  line-height: 1.7;
}

.ns-usecase-list li:last-child {
  margin-bottom: 0;
}

.ns-usecase-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ns-teal);
}

.ns-usecase-links li {
  margin: 0 0 10px;
}

.ns-usecase-links li:last-child {
  margin-bottom: 0;
}

.ns-usecase-links a {
  display: inline-flex;
  align-items: end;
  gap: 6px;
  color: var(--ns-teal);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

/* CTA : 하늘색 배경 배너 */
.ns-cta {
  padding: 100px 0;
  text-align: center;
  background: var(--ns-blue-light);
}

.ns-cta-inner {
 /*  max-width: 780px; */
  margin: 0 auto;
}

.ns-cta h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.35;
}

.ns-cta p {
  margin: 0 0 32px;
  color: var(--ns-text);
  font-size: 18px;
  line-height: 1.8;
}

/* Resources : 9개 카드 그리드 */
.ns-resources {
  padding: 100px 0;
  background: #fff;
}

.ns-resources-eyebrow {
  margin: 0 0 10px;
  color: var(--ns-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ns-resources-head {
 
  margin-bottom: 44px;
}

.ns-resources-head h2 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.35;
}

.ns-resources-head p {
  margin: 0;
  color: var(--ns-muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.ns-resource-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ns-gray-bg);
}

.ns-resource-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.ns-resource-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 190px;
  padding: 28px 28px 24px;
}

.ns-resource-tag {
  margin: 0 0 16px;
  color: var(--ns-muted);
  font-size: 13px;
  font-weight: 700;
}

.ns-resource-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
}

.ns-resource-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--ns-teal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

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

  .ns-usecase-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ns-usecase-row.is-reverse .ns-usecase-media {
    order: 0;
  }

  .ns-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

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

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

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

  .ns-intro,
  .ns-platform-inner {
    padding-top: 60px;
  }

  .ns-intro-head h2,
  .ns-solutions-head h2,
  .ns-platform h2,
  .ns-cta h2,
  .ns-resources-head h2 {
    font-size: 27px;
  }

  .ns-tab {
    font-size: 15px;
  }

  .ns-tab-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ns-announce-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .ns-announce-tag {
    font-size: 24px;
  }

  .ns-resource-grid {
    grid-template-columns: 1fr;
  }

  .ns-usecase-copy h3 {
    font-size: 21px;
  }

  .ns-solutions {
    padding-top: 60px;
  }

  .ns-cta {
    padding: 60px 0;
  }

  .ns-resources {
    padding: 60px 0;
  }
}

@media (max-width: 520px) {
  .ns-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}
