/* ============================================================
   Nits 제품 페이지 — 2026-09 리디자인 레이어 (product-v3)
   shared → editorial-v1.css → product-v2.css 다음에 마지막으로 로드된다.
   <body> 클래스 문자열이 계약으로 고정돼 있어 기존 .nits-* 규칙이 그대로 살아 있다.
   충돌하는 셀렉터만 동등 이상 특이도(필요하면 !important)로 덮어쓴다.
   ============================================================ */

body.product-nits.nits-editorial {
  --nits-page: #ffffff;
  --nits-paper: #fefefe;
  --nits-ink: #111827;
  --nits-ink-soft: #374151;
  --nits-muted: #6b7280;
  --nits-faint: #6b7280;
  --nits-line: #e5e7eb;
  --nits-line-strong: #d1d5db;
  --nits-accent: #b45309;
  --nits-accent-on: #ffffff;
  --nits-ok: #046140;
  --nits-bad: #a4110b;
  --nits-soft: #f9fafb;
  --nits-soft-2: #f3f4f6;

  --bg: #ffffff;
  --surface: #fefefe;
  --surface-2: #f3f4f6;
  --surface-sunken: #f9fafb;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --accent: #b45309;
  --accent-ink: #92400e;
  --accent-soft: #fef3c7;
  --ok: #047857;
  --bad: #b91c1c;
  --radius: 16px;
  --radius-sm: 12px;

  --cx-page: #ffffff;
  --cx-head-bg: rgba(255, 255, 255, 0.85);
  --cx-chip: #f3f4f6;
  --cx-code: #f8fafc;
  --cx-faint: #6b7280;
  --cx-accent-tint: #fef3c7;
  --cx-accent-ink: #92400e;
  --cx-hero-grad: linear-gradient(165deg, #b45309 0%, #7c2d12 100%);
  --cx-hero-ink: #ffffff;
  --cx-hero-ink-soft: #ffffff;
  --cx-hero-veil: rgba(0, 0, 0, 0.22);
  --cx-hero-edge: rgba(255, 255, 255, 0.3);
  --cx-hero-highlight: radial-gradient(circle at 26% 16%, rgba(255, 255, 255, 0.08) 0, rgba(0, 0, 0, 0) 52%);
  --cx-btn-solid-bg: #ffffff;
  --cx-btn-solid-ink: #0f172a;
  --cx-onaccent: #ffffff;
  --cx-shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
  --cx-shadow-md: 0 10px 15px -3px rgba(17, 24, 39, 0.08), 0 4px 6px -4px rgba(17, 24, 39, 0.06);
  --cx-shadow-lg: 0 25px 50px -12px rgba(17, 24, 39, 0.25);
  --cx-wrap: 1152px;
  --cx-gutter: 32px;
}

html[data-resolved-theme="dark"] body.product-nits.nits-editorial {
  --nits-page: #020617;
  --nits-paper: #0f172a;
  --nits-ink: #f1f5f9;
  --nits-ink-soft: #cbd5e1;
  --nits-muted: #94a3b8;
  --nits-faint: #94a3b8;
  --nits-line: #1e293b;
  --nits-line-strong: #334155;
  --nits-accent: #fbbf24;
  --nits-accent-on: #1c1207;
  --nits-ok: #6ee7b7;
  --nits-bad: #fca5a5;
  --nits-soft: #0f172a;
  --nits-soft-2: #1e293b;

  --bg: #020617;
  --surface: #0f172a;
  --surface-2: #1e293b;
  --surface-sunken: #0f172a;
  --ink: #f1f5f9;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;
  --line: #1e293b;
  --line-strong: #334155;
  --accent: #fbbf24;
  --accent-ink: #fcd34d;
  --accent-soft: rgba(120, 53, 15, 0.5);
  --ok: #6ee7b7;
  --bad: #fca5a5;

  --cx-page: #020617;
  --cx-head-bg: rgba(15, 23, 42, 0.85);
  --cx-chip: #1e293b;
  --cx-code: #172033;
  --cx-faint: #94a3b8;
  --cx-accent-tint: rgba(120, 53, 15, 0.55);
  --cx-accent-ink: #fcd34d;
  --cx-hero-grad: linear-gradient(165deg, #92400e 0%, #431407 100%);
  --cx-hero-veil: rgba(0, 0, 0, 0.28);
  --cx-btn-solid-bg: #ffffff;
  --cx-btn-solid-ink: #0f172a;
  --cx-onaccent: #1c1207;
  --cx-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --cx-shadow-md: 0 10px 18px -6px rgba(0, 0, 0, 0.6);
  --cx-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
}

html[data-contrast="high"][data-resolved-theme="light"] body.product-nits.nits-editorial {
  --nits-page: #ffffff;
  --nits-paper: #ffffff;
  --nits-ink: #000000;
  --nits-ink-soft: #111111;
  --nits-muted: #111111;
  --nits-faint: #111111;
  --nits-line: #000000;
  --nits-line-strong: #000000;
  --nits-accent: #000000;
  --nits-accent-on: #ffffff;
  --nits-ok: #0b5c3b;
  --nits-bad: #8a0f0a;
  --nits-soft: #eeeeee;
  --nits-soft-2: #d7d7d7;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #eeeeee;
  --surface-sunken: #ffffff;
  --ink: #000000;
  --ink-soft: #111111;
  --muted: #111111;
  --line: #000000;
  --line-strong: #000000;
  --accent: #000000;
  --accent-ink: #111111;
  --accent-soft: #eeeeee;
  --ok: #0b5c3b;
  --bad: #8a0f0a;

  --cx-page: #ffffff;
  --cx-head-bg: #ffffff;
  --cx-chip: #eeeeee;
  --cx-code: #eeeeee;
  --cx-faint: #111111;
  --cx-accent-tint: #eeeeee;
  --cx-accent-ink: #111111;
  --cx-hero-grad: #ffffff;
  --cx-hero-ink: #000000;
  --cx-hero-ink-soft: #111111;
  --cx-hero-veil: #eeeeee;
  --cx-hero-edge: #000000;
  --cx-hero-highlight: none;
  --cx-btn-solid-bg: #000000;
  --cx-btn-solid-ink: #ffffff;
  --cx-onaccent: #ffffff;
  --cx-shadow-sm: none;
  --cx-shadow-md: none;
  --cx-shadow-lg: none;
}

html[data-contrast="high"][data-resolved-theme="dark"] body.product-nits.nits-editorial {
  --nits-page: #050607;
  --nits-paper: #0c1116;
  --nits-ink: #ffffff;
  --nits-ink-soft: #f0f3f6;
  --nits-muted: #d4dce6;
  --nits-faint: #d4dce6;
  --nits-line: #718096;
  --nits-line-strong: #f4d35e;
  --nits-accent: #ffd18a;
  --nits-accent-on: #050607;
  --nits-ok: #95ffd0;
  --nits-bad: #ffb4ae;
  --nits-soft: #101820;
  --nits-soft-2: #151c23;

  --bg: #050607;
  --surface: #0c1116;
  --surface-2: #151c23;
  --surface-sunken: #101820;
  --ink: #ffffff;
  --ink-soft: #f0f3f6;
  --muted: #d4dce6;
  --line: #718096;
  --line-strong: #f4d35e;
  --accent: #ffd18a;
  --accent-ink: #ffe0bd;
  --accent-soft: #2b1a0d;
  --ok: #95ffd0;
  --bad: #ffb4ae;

  --cx-page: #050607;
  --cx-head-bg: #050607;
  --cx-chip: #151c23;
  --cx-code: #101820;
  --cx-faint: #d4dce6;
  --cx-accent-tint: #2b1a0d;
  --cx-accent-ink: #ffd18a;
  --cx-hero-grad: #050607;
  --cx-hero-ink: #ffffff;
  --cx-hero-ink-soft: #f0f3f6;
  --cx-hero-veil: #101820;
  --cx-hero-edge: #f4d35e;
  --cx-hero-highlight: none;
  --cx-btn-solid-bg: #ffffff;
  --cx-btn-solid-ink: #050607;
  --cx-onaccent: #050607;
  --cx-shadow-sm: none;
  --cx-shadow-md: none;
  --cx-shadow-lg: none;
}

/* ---- 문서 기본 ---- */
body.product-nits.nits-editorial {
  background: var(--cx-page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
body.product-nits .skip-link { z-index: 70; }
body.product-nits main,
body.product-nits .foot {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* ============================================================
   헤더
   ============================================================ */
body.product-nits .cx-headbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--cx-head-bg);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
body.product-nits .cx-head {
  width: 100%;
  max-width: var(--cx-wrap);
  margin: 0 auto;
  padding: 0 var(--cx-gutter);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}
body.product-nits.nits-editorial a.nits-wordmark {
  gap: 10px;
  flex: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
body.product-nits.nits-editorial a.nits-wordmark img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: none;
}
body.product-nits .cx-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}
body.product-nits .cx-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}
body.product-nits .cx-menu a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
body.product-nits .cx-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: none;
}
body.product-nits.nits-editorial a.product-switch-link {
  border-right: 0;
  padding: 0 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
body.product-nits.nits-editorial a.product-switch-link:hover { color: var(--ink); }
body.product-nits .site-icon-button,
body.product-nits .display-options > summary.site-icon-button {
  width: 40px;
  height: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--cx-chip);
  color: var(--ink-soft);
  cursor: pointer;
  list-style: none;
}
body.product-nits .theme-toggle {
  background: var(--cx-chip);
  border-color: transparent;
  color: var(--ink-soft);
}
body.product-nits .site-icon-button svg { width: 20px; height: 20px; }
body.product-nits .display-options[open] > summary.site-icon-button {
  border-color: var(--line-strong);
  color: var(--ink);
}
body.product-nits .display-options .display-options-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  width: max-content;
  max-width: min(92vw, 440px);
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 45px rgba(17, 24, 39, 0.18);
}
html[data-contrast="high"] body.product-nits .display-options .display-options-panel {
  border-color: var(--line-strong);
  box-shadow: none;
}
body.product-nits.nits-editorial a.nits-head-download {
  min-height: 40px;
  gap: 6px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--cx-onaccent) !important;
  font-size: 13px;
  font-weight: 700;
}
body.product-nits.nits-editorial a.nits-head-download:hover { filter: brightness(1.06); }

/* ---- 스킵 링크: a { color: inherit } 보다 높은 특이도로 대비를 되돌린다 ---- */
body.product-nits.nits-editorial a.skip-link {
  color: var(--bg);
  background: var(--ink);
}

/* ---- 그라데이션 위에서는 액센트 포커스 링이 배경과 같은 색이라 보이지 않는다 ---- */
body.product-nits .cx-hero :focus-visible,
body.product-nits .cx-cta :focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}
html[data-contrast="high"] body.product-nits .cx-hero :focus-visible,
html[data-contrast="high"] body.product-nits .cx-cta :focus-visible {
  outline: 3px solid var(--cx-hero-ink);
  outline-offset: 3px;
}
html[data-contrast="high"][data-resolved-theme="light"] body.product-nits .cx-hero :focus-visible,
html[data-contrast="high"][data-resolved-theme="light"] body.product-nits .cx-cta :focus-visible {
  outline-color: var(--cx-hero-ink);
}

/* ---- 스티키 헤더 아래로 앵커 대상이 숨지 않게 한다 ---- */
body.product-nits main,
body.product-nits .cx-hero,
body.product-nits .cx-section,
body.product-nits .cx-shotwrap,
body.product-nits .cx-release {
  scroll-margin-top: 80px;
}

/* ---- 한국어 블록 카피도 영어 쪽과 같은 블록 레이아웃을 쓰게 한다 ---- */
body.product-nits .copy-ko.copy-block { display: block; }

/* ============================================================
   히어로
   ============================================================ */
body.product-nits .cx-hero {
  position: relative;
  overflow: hidden;
  padding: 44px var(--cx-gutter) 190px;
  background: var(--cx-hero-grad);
  color: var(--cx-hero-ink);
}
html[data-contrast="high"] body.product-nits .cx-hero { border-bottom: 1px solid var(--line-strong); }
body.product-nits .cx-hero-glow {
  position: absolute;
  inset: 0;
  background: var(--cx-hero-highlight);
  pointer-events: none;
}
body.product-nits .cx-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--cx-wrap);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
body.product-nits.nits-editorial a.cx-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--cx-hero-ink-soft);
  font-size: 14px;
  font-weight: 600;
}
body.product-nits.nits-editorial a.cx-back svg { width: 16px; height: 16px; }
body.product-nits.nits-editorial a.cx-back:hover { color: var(--cx-hero-ink); }
body.product-nits .cx-hero-id {
  display: flex;
  align-items: center;
  gap: 24px;
}
body.product-nits .cx-hero-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  flex: none;
  border: 1px solid var(--cx-hero-edge);
  border-radius: var(--radius);
  background: var(--cx-hero-veil);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  overflow: hidden;
}
body.product-nits .cx-hero-icon img { width: 64px; height: 64px; display: block; }
body.product-nits .cx-hero-headline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
body.product-nits .cx-hero-pill {
  align-self: flex-start;
  padding: 5px 12px;
  border: 1px solid var(--cx-hero-edge);
  border-radius: 999px;
  background: var(--cx-hero-veil);
  color: var(--cx-hero-ink);
  font-size: 12px;
  font-weight: 700;
}
body.product-nits .cx-title {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cx-hero-ink);
  word-break: keep-all;
}
body.product-nits .cx-title-line { display: block; }
body.product-nits .cx-title-line.is-soft { color: var(--cx-hero-ink-soft); }
body.product-nits .cx-hero-lead {
  max-width: 40em;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--cx-hero-ink-soft);
  word-break: keep-all;
}
body.product-nits .cx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
body.product-nits.nits-editorial a.cx-btn-solid {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  background: var(--cx-btn-solid-bg);
  color: var(--cx-btn-solid-ink);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.product-nits.nits-editorial a.cx-btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -8px rgba(0, 0, 0, 0.3);
}
body.product-nits.nits-editorial a.cx-btn-solid svg { width: 18px; height: 18px; }
html[data-contrast="high"] body.product-nits.nits-editorial a.cx-btn-solid { box-shadow: 0 0 0 2px var(--line-strong); }
body.product-nits.nits-editorial a.cx-btn-glass {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--cx-hero-edge);
  border-radius: var(--radius-sm);
  background: var(--cx-hero-veil);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--cx-hero-ink);
  font-size: 15px;
  font-weight: 600;
}
body.product-nits.nits-editorial a.cx-btn-glass svg { width: 18px; height: 18px; }
body.product-nits.nits-editorial a.cx-btn-glass:hover { border-color: var(--cx-hero-ink); }
body.product-nits .cx-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  color: var(--cx-hero-ink-soft);
  font-size: 14px;
}
body.product-nits .cx-hero-count { color: var(--cx-hero-ink-soft); font-weight: 650; }

/* ============================================================
   히어로에 겹치는 스크린샷
   ============================================================ */
body.product-nits .cx-shotwrap {
  position: relative;
  max-width: calc(var(--cx-wrap) + var(--cx-gutter) * 2);
  margin: -150px auto 0;
  padding: 0 var(--cx-gutter);
}
body.product-nits .cx-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--cx-shadow-lg);
}
body.product-nits .cx-shot img { display: block; width: 100%; height: auto; }
body.product-nits .cx-shot figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   섹션 공통
   ============================================================ */
body.product-nits .cx-section {
  max-width: calc(var(--cx-wrap) + var(--cx-gutter) * 2);
  margin: 0 auto;
  padding: 64px var(--cx-gutter) 0;
}
body.product-nits .cx-section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
body.product-nits .cx-section-head h2 {
  margin: 0;
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  word-break: keep-all;
}
body.product-nits .cx-section-head p {
  margin: 0;
  max-width: 44em;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  word-break: keep-all;
}

/* ---- 4개 사실 카드 ---- */
body.product-nits .cx-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
body.product-nits .cx-fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-sunken);
}
body.product-nits .cx-fact-icon { display: flex; color: var(--cx-accent-ink); }
body.product-nits .cx-fact-icon svg { width: 20px; height: 20px; }
body.product-nits .cx-fact-label { font-size: 12px; color: var(--muted); }
body.product-nits .cx-fact-value { font-size: 14px; font-weight: 700; color: var(--ink); word-break: keep-all; }

/* ---- 기능 카드 ---- */
body.product-nits .cx-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
body.product-nits .cx-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--cx-shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
body.product-nits .cx-feature:hover { border-color: var(--line-strong); box-shadow: var(--cx-shadow-md); }
body.product-nits .cx-feature-top { display: flex; align-items: center; justify-content: space-between; }
body.product-nits .cx-feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--cx-accent-tint);
  color: var(--cx-accent-ink);
}
body.product-nits .cx-feature-icon svg { width: 22px; height: 22px; }
body.product-nits .cx-feature-num { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
body.product-nits .cx-feature h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  word-break: keep-all;
}
body.product-nits .cx-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  word-break: keep-all;
}

/* ---- 2단 스크린샷 섹션 ---- */
body.product-nits .cx-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: center;
}
body.product-nits .cx-split.is-reverse { grid-template-columns: 7fr 5fr; }
body.product-nits .cx-split.is-reverse .cx-split-copy { order: 2; }
body.product-nits .cx-split-copy { display: flex; flex-direction: column; gap: 14px; }
body.product-nits .cx-split-copy h2 {
  margin: 0;
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  word-break: keep-all;
}
body.product-nits .cx-split-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  word-break: keep-all;
}
body.product-nits .cx-split-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--cx-shadow-md);
}
body.product-nits .cx-split-shot img { display: block; width: 100%; height: auto; }

/* ---- 안전 원칙 2×2 ---- */
body.product-nits .cx-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body.product-nits .cx-principle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
body.product-nits .cx-principle-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--cx-accent-tint);
  color: var(--cx-accent-ink);
}
body.product-nits .cx-principle-icon svg { width: 20px; height: 20px; }
body.product-nits .cx-principle-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body.product-nits .cx-principle-copy strong { font-size: 14px; font-weight: 700; color: var(--ink); }
body.product-nits .cx-principle-copy > span { font-size: 13px; color: var(--muted); word-break: keep-all; }

/* ---- CTA 배너 ---- */
body.product-nits .cx-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 52px 40px;
  border-radius: 24px;
  background: var(--cx-hero-grad);
  color: var(--cx-hero-ink);
  text-align: center;
}
html[data-contrast="high"] body.product-nits .cx-cta { border: 1px solid var(--line-strong); }
body.product-nits .cx-cta-glow { position: absolute; inset: 0; background: var(--cx-hero-highlight); pointer-events: none; }
body.product-nits .cx-cta h2 {
  position: relative;
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cx-hero-ink);
  word-break: keep-all;
}
body.product-nits .cx-cta p {
  position: relative;
  margin: 0;
  font-size: 15px;
  color: var(--cx-hero-ink-soft);
  word-break: keep-all;
}
body.product-nits.nits-editorial .cx-cta a.cx-btn-solid { position: relative; margin-top: 6px; }

/* ---- 배포 정보 / 검증 ---- */
body.product-nits .cx-release {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-margin-top: 92px;
}
body.product-nits .cx-release-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-sunken);
}
body.product-nits .cx-filename {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}
body.product-nits .cx-release-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}
body.product-nits .cx-release-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
body.product-nits .cx-release-fact { display: flex; flex-direction: column; gap: 4px; }
body.product-nits .cx-release-fact dt { font-size: 12px; color: var(--muted); font-weight: 500; }
body.product-nits .cx-release-fact dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}
body.product-nits .cx-verify-block { display: flex; flex-direction: column; gap: 6px; }
body.product-nits .cx-verify-label { margin: 0; font-size: 12px; color: var(--muted); }
body.product-nits .cx-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cx-code);
}
body.product-nits .cx-hash,
body.product-nits .cx-code-row code {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  word-break: break-all;
}
body.product-nits .cx-code-row.is-terminal { border-color: transparent; background: #0b1220; }
body.product-nits .cx-code-row.is-terminal code { color: #e2e8f0; }
html[data-contrast="high"] body.product-nits .cx-code-row.is-terminal {
  border-color: var(--line-strong);
  background: #000000;
}
html[data-contrast="high"] body.product-nits .cx-code-row.is-terminal code { color: #ffffff; }
body.product-nits .cx-copy {
  flex: none;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--cx-accent-ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
body.product-nits .cx-code-row.is-terminal .cx-copy { color: #cbd5e1; }
html[data-contrast="high"] body.product-nits .cx-code-row.is-terminal .cx-copy { color: #ffffff; }
body.product-nits .cx-copy:hover { background: var(--cx-accent-tint); color: var(--cx-accent-ink); }
body.product-nits .cx-verify-file {
  gap: 10px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}
body.product-nits .cx-verify-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  word-break: keep-all;
}
body.product-nits .file-picker {
  min-height: 0;
  border-radius: var(--radius-sm);
  border-color: var(--line-strong);
  background: var(--surface-sunken);
  color: var(--muted);
}

/* ---- FAQ ---- */
body.product-nits .cx-faq-section { padding-bottom: 88px; }
body.product-nits .nits-faq { border-top: 0; }
body.product-nits .cx-faq { display: flex; flex-direction: column; gap: 12px; }
body.product-nits .nits-faq .faq-item,
body.product-nits .faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
body.product-nits .nits-faq .faq-item summary,
body.product-nits .faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  word-break: keep-all;
}
body.product-nits .nits-faq .faq-item summary::after { color: var(--cx-accent-ink); }
body.product-nits .nits-faq .faq-item p,
body.product-nits .faq-item p {
  max-width: none;
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  word-break: keep-all;
}

/* ============================================================
   푸터
   ============================================================ */
body.product-nits .foot {
  display: block;
  padding: 48px var(--cx-gutter) 40px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  background: var(--cx-page);
  color: var(--muted);
  font-size: 14px;
}
body.product-nits .cx-foot {
  max-width: var(--cx-wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
body.product-nits .cx-foot-brand { display: flex; flex-direction: column; gap: 14px; }
body.product-nits .cx-foot-mark { display: inline-flex; align-items: center; gap: 10px; }
body.product-nits .cx-foot-mark img { width: 32px; height: 32px; border-radius: 8px; }
body.product-nits .cx-foot-name { font-size: 17px; font-weight: 700; color: var(--ink); }
body.product-nits .cx-foot-blurb {
  max-width: 320px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  word-break: keep-all;
}
body.product-nits .cx-foot-col { display: flex; flex-direction: column; gap: 12px; }
body.product-nits .cx-foot-title { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--ink); }
body.product-nits .cx-foot-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin-left: 0;
  max-width: 100%;
}
body.product-nits .cx-foot-list { gap: 2px; margin-block: -6px; }
body.product-nits .cx-foot-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
body.product-nits .cx-foot-list a:hover { color: var(--ink); text-decoration: underline; }
body.product-nits .foot-contact { white-space: normal; overflow-wrap: anywhere; }
body.product-nits .cx-foot-base {
  max-width: var(--cx-wrap);
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ============================================================
   큰 글자 모드
   ============================================================ */
html[data-text-size="large"] body.product-nits.nits-editorial { font-size: 17.5px; }
html[data-text-size="large"] body.product-nits .cx-hero-lead { font-size: clamp(17px, 1.6vw, 21.5px); }
html[data-text-size="large"] body.product-nits .cx-hero-meta,
html[data-text-size="large"] body.product-nits.nits-editorial a.cx-back,
html[data-text-size="large"] body.product-nits.nits-editorial a.cx-btn-solid,
html[data-text-size="large"] body.product-nits.nits-editorial a.cx-btn-glass,
html[data-text-size="large"] body.product-nits .cx-section-head p,
html[data-text-size="large"] body.product-nits .cx-split-copy p { font-size: 16.5px; }
html[data-text-size="large"] body.product-nits .cx-feature p,
html[data-text-size="large"] body.product-nits .cx-fact-value,
html[data-text-size="large"] body.product-nits .cx-principle-copy strong,
html[data-text-size="large"] body.product-nits .cx-principle-copy > span,
html[data-text-size="large"] body.product-nits .cx-verify-note,
html[data-text-size="large"] body.product-nits .cx-release-fact dd,
html[data-text-size="large"] body.product-nits .cx-shot figcaption,
html[data-text-size="large"] body.product-nits .nits-faq .faq-item p,
html[data-text-size="large"] body.product-nits .cx-menu a,
html[data-text-size="large"] body.product-nits .cx-foot-list a,
html[data-text-size="large"] body.product-nits .cx-foot-blurb,
html[data-text-size="large"] body.product-nits .cx-foot-base { font-size: 15.5px; }
html[data-text-size="large"] body.product-nits .cx-fact-label,
html[data-text-size="large"] body.product-nits .cx-feature-num,
html[data-text-size="large"] body.product-nits .cx-hero-pill,
html[data-text-size="large"] body.product-nits .cx-verify-label,
html[data-text-size="large"] body.product-nits .cx-release-fact dt { font-size: 14px; }
html[data-text-size="large"] body.product-nits .cx-feature h3,
html[data-text-size="large"] body.product-nits .nits-faq .faq-item summary,
html[data-text-size="large"] body.product-nits .cx-foot-title { font-size: 17px; }
html[data-text-size="large"] body.product-nits.nits-editorial a.nits-head-download { font-size: 15px; }
html[data-text-size="large"] body.product-nits .cx-hash,
html[data-text-size="large"] body.product-nits .cx-code-row code,
html[data-text-size="large"] body.product-nits .cx-filename { font-size: 13.5px; }

/* ============================================================
   고대비 모드
   ============================================================ */
html[data-contrast="high"] body.product-nits .cx-feature,
html[data-contrast="high"] body.product-nits .cx-fact,
html[data-contrast="high"] body.product-nits .cx-principle,
html[data-contrast="high"] body.product-nits .cx-shot,
html[data-contrast="high"] body.product-nits .cx-split-shot,
html[data-contrast="high"] body.product-nits .cx-release,
html[data-contrast="high"] body.product-nits .faq-item,
html[data-contrast="high"] body.product-nits .cx-code-row {
  border-color: var(--line-strong);
  box-shadow: none;
}
html[data-contrast="high"] body.product-nits .cx-hero-pill,
html[data-contrast="high"] body.product-nits.nits-editorial a.cx-btn-glass {
  border-color: var(--line-strong);
  background: var(--cx-hero-veil);
}
html[data-contrast="high"] body.product-nits .cx-menu a,
html[data-contrast="high"] body.product-nits .cx-foot-list a,
html[data-contrast="high"] body.product-nits.nits-editorial a.product-switch-link { color: var(--ink); }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 1080px) {
  body.product-nits .cx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.product-nits .cx-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.product-nits .cx-release-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body.product-nits { --cx-gutter: 24px; }
  /* 섹션 내비는 모바일에서 사라지면 안 되므로, 헤더 아래 가로 스크롤 줄로 내린다. */
  body.product-nits .cx-head {
    flex-wrap: wrap;
    row-gap: 0;
    min-height: 0;
    padding-top: 8px;
  }
  body.product-nits.nits-editorial a.nits-wordmark { order: 1; }
  body.product-nits .cx-actions { order: 2; }
  body.product-nits .cx-menu {
    order: 3;
    flex: 0 0 auto;
    width: calc(100% + var(--cx-gutter) * 2);
    gap: 6px;
    margin: 0 calc(var(--cx-gutter) * -1);
    padding: 2px var(--cx-gutter) 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.product-nits .cx-menu::-webkit-scrollbar { display: none; }
  body.product-nits .cx-menu a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--cx-chip);
  }
  body.product-nits main,
  body.product-nits .cx-hero,
  body.product-nits .cx-section,
  body.product-nits .cx-shotwrap,
  body.product-nits .cx-release {
    scroll-margin-top: 130px;
  }
  body.product-nits .cx-hero { padding-bottom: 170px; }
  body.product-nits .cx-split,
  body.product-nits .cx-split.is-reverse { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.product-nits .cx-split.is-reverse .cx-split-copy { order: 0; }
  body.product-nits .cx-feature-grid { grid-template-columns: minmax(0, 1fr); }
  body.product-nits .cx-foot { grid-template-columns: 1fr 1fr; gap: 28px; }
  body.product-nits .cx-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body.product-nits { --cx-gutter: 16px; }
  body.product-nits .cx-head { gap: 10px; min-height: 60px; }
  body.product-nits .site-icon-button,
  body.product-nits .display-options > summary.site-icon-button {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }
  body.product-nits .display-options .display-options-panel,
  body.product-nits .display-options .mode-toolbar {
    position: fixed;
    top: 122px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    justify-content: flex-start;
  }
  body.product-nits .cx-hero { padding: 24px var(--cx-gutter) 130px; }
  body.product-nits .cx-hero-inner { gap: 20px; }
  body.product-nits .cx-hero-id { gap: 16px; align-items: flex-start; }
  body.product-nits .cx-hero-icon { width: 64px; height: 64px; }
  body.product-nits .cx-hero-icon img { width: 46px; height: 46px; }
  body.product-nits .cx-hero-actions > a { width: 100%; justify-content: center; }
  body.product-nits .cx-shotwrap { margin-top: -100px; }
  body.product-nits .cx-section { padding-top: 48px; }
  body.product-nits .cx-facts,
  body.product-nits .cx-principles,
  body.product-nits .cx-release-facts { grid-template-columns: minmax(0, 1fr); }
  body.product-nits .cx-cta { padding: 36px 22px; }
  body.product-nits .cx-code-row { flex-direction: column; align-items: stretch; gap: 8px; }
  body.product-nits .cx-copy { align-self: flex-end; }
  body.product-nits .foot { margin-top: 56px; padding-top: 36px; }
  body.product-nits .cx-foot { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.product-nits .cx-foot-base { margin-top: 28px; padding-top: 20px; }
}
@media (max-width: 900px) {
  /* product-v2.css 가 ≤900px 에서 라벨을 숨기고 ::after 로 "DMG" 를 넣는다.
     v3 의 font-size 를 그대로 두면 라벨과 ::after 가 동시에 보이므로 함께 축약한다. */
  body.product-nits.nits-editorial a.nits-head-download {
    min-height: 44px;
    gap: 0;
    padding-inline: 12px;
    font-size: 0;
  }
  body.product-nits.nits-editorial a.nits-head-download::after { font-size: 12px; font-weight: 700; }
  html[data-text-size="large"] body.product-nits.nits-editorial a.nits-head-download::after { font-size: 15px; }
}
@media (max-width: 560px) {
  body.product-nits.nits-editorial a.product-switch-link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.product-nits,
  body.product-nits * { transition: none !important; animation: none !important; }
}

/* 결과가 비어 있을 때 카드 안에 빈 줄이 남지 않게 한다. */
body.product-nits .verify-result:empty { min-height: 0; margin-top: 0; }
