/* Ultivis 브랜드사이트 공통 스타일. 기준: landingpage.md (2장 토큰, 3장 컴포넌트, 10장 반응형)
   색·크기·간격은 :root 토큰만 씁니다. 컴포넌트 안에 hex 값을 직접 쓰지 않습니다. */
@font-face {
  font-family: "Pretendard Variable";
  /* Pretendard v1.3.9에서 영문·KS X 1001 한글 2,350자만 남긴 서브셋 */
  src: url("./fonts/PretendardVariable-KS.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  /* color */
  --ink: #0b0d1a;
  --brand: #4361ee;
  --brand-soft: #eef1ff;
  --highlight: #8ea2ff;
  --surface: #ffffff;
  --soft: #f3f4f8;
  --line: #e4e6ee;
  --text-2: #4a4f66;
  --text-3: #5b6075;
  --text-muted: #8a8fa8;
  --dark-text-1: #b9bed6;
  --dark-text-2: #a9adc6;
  --dark-line: #22264a;
  --footer-label: #6f7494;
  --footer-link: #e8eaf6;

  /* product accent: 라벨, 점, 단계 번호, 다이어그램 선에만 사용 */
  --agent: #4361ee;
  --vision: #ff6a4d;
  --iiot: #14b88f;

  /* blog category */
  --cat-cases: #4361ee;
  --cat-news: #c2410c;
  --cat-news-bg: #fff7f2;
  --cat-news-line: #f2d6c8;
  --cat-news-thumb: #ffe7da;
  --cat-news-ink: #7a2a0a;
  --cat-news-meta: #8a6a5a;
  --cat-news-lead: #6b5a50;
  --cat-news-dot: #e8551e;
  --cat-insights: #0e8a6b;
  --cat-insights-on-dark: #6ee7c4;

  /* 제품 화면 목업(SAMPLE) */
  --mock-frame: #11142a;
  --mock-screen: #1a1e3c;
  --mock-cell: #262b52;
  --mock-node: #151935;
  --mock-node-line: #2c3160;
  --mock-sheet-line: #eceef3;
  --mock-faint: #9da1b4;
  --mock-label: #c9cbe0;
  --state-danger: #b23a22;
  --state-danger-bg: #ffe6e0;
  --state-ok: #0b6b55;
  --state-ok-bg: #ddf5ee;
  --brand-tint: #dce2ff;
  --chat-bubble: #f1f2f7;
  --mark: #e4e9ff;
  --disabled: #b9bed6;
  --grid: rgba(255, 255, 255, 0.05);
  --outline-dark: rgba(255, 255, 255, 0.28);
  --header-bg: rgba(255, 255, 255, 0.92);

  /* font */
  --font-sans: "Pretendard Variable", "Pretendard", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* layout */
  --container: 1240px;
  --gutter: 24px;
  --section-gap: 136px;
  --header-h: 70px;

  /* radius */
  --r-pill: 999px;
  --r-xl: 28px;
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 12px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-active: 0 24px 50px -30px rgba(10, 12, 30, 0.6);
}
@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --section-gap: 80px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-x: hidden;
}
a {
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
img,
svg {
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.on-dark :focus-visible {
  outline-color: var(--highlight);
}
.container {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus {
  top: 16px;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 글자 단계 (2장) */
.t-display {
  margin: 0;
  font-size: clamp(40px, 7.2vw, 88px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.t-h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.t-h1s {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.t-h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.t-h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.t-h4 {
  margin: 0;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.t-lead {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-2);
}
.on-dark .t-lead {
  color: var(--dark-text-1);
}
.label {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand);
}
.on-dark .label {
  color: var(--highlight);
}
.section {
  padding-top: var(--section-gap);
}
.section-head .t-h2 {
  margin-top: 16px;
}
.section-head p {
  margin-top: 18px;
  max-width: 780px;
}
/* 문장 단위 줄바꿈: 넓은 화면에서만 문장마다 줄을 바꿉니다 */
@media (max-width: 767px) {
  .br-pc {
    display: none;
  }
}

/* 버튼 (3장 Button) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  height: 56px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand);
  color: var(--surface);
  font-weight: 800;
}
.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.on-dark .btn-secondary {
  border-color: var(--outline-dark);
  background: transparent;
  color: var(--surface);
}
.btn-sm {
  height: 42px;
  padding: 0 18px;
  font-size: 14.5px;
}
.btn-lg {
  height: 60px;
  padding: 0 30px;
  font-size: 17px;
}
.text-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--soft);
  font-size: 13px;
  font-weight: 600;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent, var(--brand));
}

/* 움직임 (2장 모션) */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}
@keyframes scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(var(--scan-distance, 250px));
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: -48;
  }
}
@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}
@keyframes gridmove {
  to {
    transform: translate(64px, 64px);
  }
}
.rise {
  animation: rise 0.85s var(--ease) both;
}
.rise-2 {
  animation-delay: 0.08s;
}
.rise-3 {
  animation-delay: 0.16s;
}
.rise-4 {
  animation-delay: 0.24s;
}
/* 스크롤 등장: motion.js가 화면에 들어온 요소에 .is-in을 붙입니다 */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.float {
  animation: float 6s ease-in-out infinite;
}
.lift {
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.lift:hover,
.lift:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-active);
}
.flow {
  stroke-dasharray: 6 10;
  animation: dash 1.1s linear infinite;
}
/* 화면 밖이거나 사용자가 멈춘 반복 모션 */
.is-paused,
.is-paused *,
.motion-off .loop,
.motion-off .loop * {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--outline-dark);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--dark-text-1);
  font-size: 13px;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .motion-toggle {
    display: none;
  }
}

/* 헤더 (3장 Header) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
/* 흐림 효과는 가상 요소에 둡니다. 헤더에 직접 주면 고정 위치인 모바일 메뉴 패널이 헤더 안에 갇힙니다. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
}
.header-row {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 108px;
  height: 28px;
}
.main-nav {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin-left: auto;
}
/* 메뉴 버튼 칸을 헤더 높이만큼 늘려, 패널이 헤더 바로 아래에 붙게 합니다 */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  background: none;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.nav-trigger::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.6;
}
.nav-trigger[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(-135deg);
}
.nav-link:hover {
  background: var(--soft);
}
/* 열린 메뉴 버튼은 브랜드 색 바탕에 흰 글자 */
.nav-trigger[aria-expanded="true"] {
  background: var(--brand);
  color: var(--surface);
}
@media (hover: hover) and (min-width: 1024px) {
  .nav-item:hover > .nav-trigger {
    background: var(--brand);
    color: var(--surface);
  }
  .nav-item:hover > .mega[hidden] {
    display: block;
  }
}
.is-current {
  color: var(--brand);
  font-weight: 700;
}
.header-cta {
  flex: 0 0 auto;
  margin-left: 12px;
}
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  border: 1px dashed var(--disabled);
  border-top: 0;
  background: var(--surface);
  box-shadow: 0 24px 40px -28px rgba(10, 12, 30, 0.35);
}
/* 솔루션 패널은 넓어서 버튼 오른쪽 끝에 맞춰 엽니다 */
#mega-solutions {
  left: auto;
  right: 0;
}
.mega-grid {
  display: flex;
}
.mega-col {
  width: 250px;
}
.mega-col + .mega-col {
  border-left: 1px dashed var(--disabled);
}
.mega-head {
  margin: 0;
  padding: 14px 22px;
  border-bottom: 1px dashed var(--disabled);
  background: var(--soft);
  font-size: 14px;
  font-weight: 700;
}
.mega-list {
  margin: 0;
  padding: 8px 0 12px;
  list-style: none;
}
.mega-list a,
.mega-list .soon {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  font-size: 15.5px;
  text-decoration: none;
}
.mega-list a:hover,
.mega-list a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand);
}
.mega-list a[aria-current="page"] {
  color: var(--brand);
  font-weight: 700;
}
.mega-list .dot {
  width: 8px;
  height: 8px;
}
.soon {
  color: var(--text-3);
}
.soon small {
  margin-left: auto;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle span {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.menu-toggle span::before {
  top: -5px;
}
.menu-toggle span::after {
  top: 5px;
}
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  overflow-y: auto;
  padding: 16px var(--gutter) 32px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu details {
  border-bottom: 1px solid var(--line);
}
.mobile-menu summary,
.mobile-menu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu summary::after {
  content: "+";
  font-weight: 500;
  color: var(--text-3);
}
.mobile-menu details[open] > summary::after {
  content: "−";
}
.mobile-menu > a {
  border-bottom: 1px solid var(--line);
}
.m-list {
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
}
.m-list a,
.m-list .soon {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.m-products a {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.m-products b {
  display: flex;
  align-items: center;
  gap: 8px;
}
.m-products a > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}
.m-list a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
}
.mobile-menu .btn {
  margin-top: auto;
  width: 100%;
}
@media (max-width: 1023px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* 어두운 격자 배경 (홈 히어로, 제품 히어로) */
.dark-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--surface);
}
.grid-bg {
  position: absolute;
  inset: -64px 0 0 -64px;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridmove 8s linear infinite;
}
.dark-band > .container {
  position: relative;
}
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
}
.pulse-dot::before,
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent, var(--brand));
}
.pulse-dot::after {
  animation: pulse 1.8s ease-out infinite;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--outline-dark);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text-1);
}

/* CtaBand (3장) */
.cta-band-wrap {
  padding-top: var(--section-gap);
  padding-bottom: 104px;
}
.cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 56px 48px;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--surface);
}
.cta-band h2 {
  flex: 1 1 480px;
  margin: 0;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.cta-steps {
  margin: 14px 0 0;
  color: var(--dark-text-1);
}
@media (max-width: 767px) {
  .cta-band {
    padding: 36px 24px;
  }
  .cta-band .btn {
    width: 100%;
  }
}

/* 푸터 (3장 Footer) */
.site-footer {
  overflow: hidden;
  background: var(--ink);
  color: var(--dark-text-2);
}
.footer-cols {
  padding-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  font-size: 14.5px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col .label {
  font-size: 12px;
  color: var(--footer-label);
}
.footer-col a,
.footer-col span {
  color: var(--footer-link);
  text-decoration: none;
}
.footer-col a:hover {
  text-decoration: underline;
}
.footer-col .footer-plain {
  color: var(--dark-text-2);
}
.footer-col .footer-tel {
  color: var(--surface);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.footer-col .strong {
  font-weight: 700;
}
.footer-company {
  padding-top: 56px;
}
.site-footer .company-footer {
  color: var(--footer-label);
  border-top-color: var(--dark-line);
}
.site-footer .company-footer span + span::before {
  color: var(--dark-line);
}
.footer-wordmark {
  margin: 40px 0 -40px;
  font-size: clamp(96px, 21vw, 300px);
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: -0.07em;
  color: var(--brand);
  text-align: center;
  white-space: nowrap;
}

/* ───────── 홈 (4장) ───────── */
.home-hero .container {
  padding-top: 80px;
}
.home-hero h1 {
  margin-top: 26px;
  max-width: 1100px;
}
.home-hero h1 em {
  font-style: normal;
  color: var(--highlight);
}
.hero-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-top: 40px;
}
.hero-row .t-lead {
  max-width: 640px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-shots {
  margin-top: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.shot {
  min-width: 0;
  margin: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.shot-light {
  padding: 22px;
  background: var(--surface);
  color: var(--ink);
}
.shot-agent {
  flex: 1 1 340px;
  margin-top: 48px;
  min-height: 290px;
}
.shot-vision {
  flex: 1.3 1 400px;
  min-height: 350px;
  padding: 14px;
  background: var(--mock-frame);
  animation-delay: -2s;
}
.shot-iiot {
  flex: 1 1 320px;
  margin-top: 88px;
  min-height: 250px;
  animation-delay: -4s;
}
.motion-row {
  display: flex;
  justify-content: flex-end;
  padding: 16px 0;
}
.today-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.today-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--soft);
}
.today-card .label {
  font-size: 12.5px;
  color: var(--text-3);
}
.monitor-wall {
  height: 180px;
  padding: 8px;
  border-radius: 14px;
  background: var(--mock-screen);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.monitor-wall span {
  border-radius: 3px;
  background: var(--mock-cell);
}
.monitor-wall span:nth-child(3n) {
  opacity: 0.6;
}
.monitor-wall span:nth-child(4n + 1) {
  opacity: 0.8;
}
.monitor-wall span:nth-child(5n) {
  opacity: 0.5;
}
.sheet {
  height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
}
.sheet span {
  padding: 6px;
  border-right: 1px solid var(--mock-sheet-line);
  border-bottom: 1px solid var(--mock-sheet-line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mock-faint);
}
.why {
  margin-top: var(--section-gap);
  padding-block: var(--section-gap);
}
.why .t-h2 {
  max-width: 960px;
}
.why .t-lead {
  margin-top: 24px;
  max-width: 820px;
}
.diagram {
  margin: 56px 0 0;
  padding: 32px;
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
}
.diagram svg {
  display: block;
  width: 100%;
  height: auto;
}
.diagram .is-vertical {
  display: none;
}
@media (max-width: 767px) {
  .diagram {
    padding: 20px;
  }
  .diagram .is-horizontal {
    display: none;
  }
  .diagram .is-vertical {
    display: block;
    max-width: 360px;
    margin: 0 auto;
  }
}
.why-steps {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.why-step {
  padding: 28px;
  border: 1px solid var(--dark-line);
  border-radius: var(--r-md);
}
.why-step .label {
  font-size: 12px;
  color: var(--text-muted);
}
.why-step p {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.why-step.is-accent {
  border-color: var(--brand);
  background: var(--brand);
}
.why-step.is-accent .label {
  color: var(--surface);
}
.cards-3 {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.aud-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
  padding: 32px;
  border-radius: var(--r-lg);
}
.aud-card p {
  margin: 0;
  color: var(--text-2);
}
.aud-card.on-dark {
  background: var(--ink);
  color: var(--surface);
}
.aud-card.on-dark p {
  color: var(--dark-text-1);
}
.aud-soft {
  background: var(--soft);
}
.aud-plain {
  border: 1.5px solid var(--line);
}
.aud-card .btn {
  margin-top: auto;
  align-self: flex-start;
  height: 46px;
  padding: 0 20px;
  font-size: 15px;
}
.aud-soft .btn {
  background: var(--surface);
  color: var(--ink);
}
.aud-plain .btn {
  background: var(--ink);
  color: var(--surface);
}
.chip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip-list li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 440px;
  padding: 28px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-decoration: none;
}
.product-bar {
  width: 48px;
  height: 6px;
  border-radius: 3px;
  background: var(--accent);
}
.product-card .label {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-3);
}
.product-card h3 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.045em;
}
.product-card p {
  margin: 0;
  color: var(--text-2);
}
.product-card .chip-list {
  margin-top: auto;
}
.product-card .chip-list li {
  border: 0;
  background: var(--soft);
}

/* ───────── 제품 화면 목업 (SAMPLE) ───────── */
.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 6px 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.sample {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.mock-tag {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.mock-tag.is-agent {
  --accent: var(--agent);
  color: var(--surface);
}
.mock-tag.is-vision {
  --accent: var(--vision);
}
.mock-tag.is-iiot {
  --accent: var(--iiot);
}
.warn {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--state-danger-bg);
  color: var(--state-danger);
  font-size: 11.5px;
  font-weight: 700;
}
.ok {
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--state-ok-bg);
  color: var(--state-ok);
  font-size: 12px;
  font-weight: 700;
}
.chat-q {
  margin: 16px 0 0 40px;
  padding: 10px 14px;
  border-radius: 12px 12px 4px 12px;
  background: var(--chat-bubble);
  font-size: 14px;
}
.chat-a {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
}
.chat-a mark {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--mark);
  color: inherit;
}
.chat-src {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--text-3);
}
.cam {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--mock-screen);
  --scan-distance: 250px;
}
.cam-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 4%;
  height: 2px;
  background: var(--vision);
  box-shadow: 0 0 18px 4px rgba(255, 106, 77, 0.5);
  animation: scan 3.2s ease-in-out infinite alternate;
}
.cam-zone {
  position: absolute;
  left: 22%;
  top: 24%;
  width: 58%;
  height: 62%;
  border: 2px dashed var(--vision);
  border-radius: 6px;
  background: rgba(255, 106, 77, 0.12);
}
.cam-box {
  position: absolute;
  border: 2.5px solid var(--surface);
  border-radius: 5px;
}
.cam-box.is-alert {
  border-color: var(--vision);
}
.cam-label {
  position: absolute;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.cam-label.is-alert {
  background: var(--vision);
}
.cam-meta {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.cam-name {
  position: absolute;
  left: 10px;
  top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
}
.signal-name {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-3);
}
.signal-chart {
  display: block;
  width: 100%;
  height: 130px;
  margin-top: 6px;
}
.signal-chart .limit {
  stroke: var(--vision);
}
.signal-chart .line {
  stroke: var(--brand);
}

/* ───────── 제품 상세 (5장 P1~P9) ───────── */
.product-page {
  --accent: var(--brand);
}
.product-page[data-product="agent"] {
  --accent: var(--agent);
}
.product-page[data-product="vision"] {
  --accent: var(--vision);
}
.product-page[data-product="iiot"] {
  --accent: var(--iiot);
}
.p-hero .container {
  padding-top: 64px;
}
.p-hero-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.p-hero-copy {
  flex: 1 1 620px;
}
.p-hero-copy h1 {
  margin-top: 24px;
}
.p-hero-copy h1 em {
  font-style: normal;
  color: var(--highlight);
}
.p-hero-side {
  flex: 0 1 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.p-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--outline-dark);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
}
.p-screen {
  margin: 64px 0 0;
  padding: 18px 18px 0;
  border: 1px solid var(--dark-line);
  border-bottom: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--mock-frame);
}
.p-screen-body {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
}
.spec-band {
  border-top: 1px solid var(--dark-line);
}
.spec-band dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.spec-band dl > div {
  padding: 26px 20px 30px;
  border-left: 1px solid var(--dark-line);
}
.spec-band dt {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.spec-band dd {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--footer-link);
}
.sol-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}
.sol-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  padding: 30px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-decoration: none;
}
.sol-card .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-3);
}
.sol-card h3 {
  margin-top: auto;
}
.sol-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
}
.sol-card .more {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--brand);
}
.sol-card .soon-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-3);
}
.how {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.how-tabs {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.how-tab {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  border-radius: 18px;
  background: var(--soft);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s;
}
.how-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--surface);
}
.how-no {
  flex: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}
.how-tab span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.how-tab b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.how-tab small {
  font-size: 14.5px;
  opacity: 0.85;
}
.how-panels {
  flex: 2 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--ink);
}
.how-panel {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.how-panel[hidden] {
  display: none;
}
.mock-screen {
  position: relative;
  flex-grow: 1;
  min-height: 360px;
  overflow: hidden;
  padding: 24px;
  border-radius: 14px;
  background: var(--mock-screen);
  color: var(--ink);
  --scan-distance: 330px;
}
.mock-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 13.5px;
}
.mock-row small {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}
.mock-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  font-size: 13px;
}
.mock-card.is-float {
  position: absolute;
  right: 16px;
  top: 16px;
  width: min(240px, 60%);
}
.mock-card .mock-btn {
  padding: 6px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--surface);
  text-align: center;
  font-weight: 700;
}
.mock-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mock-big {
  margin-top: auto;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.mock-muted {
  font-size: 12px;
  color: var(--text-3);
}
.mock-zone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mock-zone polygon {
  fill: rgba(255, 106, 77, 0.16);
  stroke: var(--vision);
  stroke-width: 2;
  stroke-dasharray: 6 5;
}
.cams {
  flex: 2 1 560px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cams .cam {
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  --scan-distance: 140px;
}
.cams .cam.is-alert {
  outline: 2px solid var(--vision);
  outline-offset: -2px;
}
.alarm-side {
  flex: 1 1 300px;
  min-width: 0;
}
.alarm-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
}
.alarm-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.clip {
  position: relative;
  height: 96px;
  border-radius: 10px;
  background: var(--mock-screen);
}
.clip span {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--mock-label);
}
.clip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  opacity: 0.9;
  transform: translate(-50%, -50%);
}
.alarm-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}
.alarm-actions {
  display: flex;
  gap: 6px;
  font-size: 13px;
}
.alarm-actions span {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}
.alarm-actions span:first-child {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
}
.agent-screen {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px;
}
.agent-chat,
.agent-doc {
  padding: 20px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
}
.agent-doc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.agent-doc .doc-line {
  height: 8px;
  border-radius: 4px;
  background: var(--soft);
}
.agent-doc .doc-line.is-hit {
  height: auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--mark);
  font-size: 13px;
}
.iiot-screen {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.device {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
.device header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.device svg {
  width: 100%;
  height: 40px;
}
.device polyline {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
}
.device.is-warn {
  outline: 2px solid var(--vision);
  outline-offset: -2px;
}
.device.is-warn polyline {
  stroke: var(--vision);
}
.feature-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
  padding: 28px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
}
.feature-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.feature-card .label {
  font-size: 12px;
  color: var(--accent);
}
.provision {
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-3);
}
.feature-card h3 {
  margin-top: auto;
}
.feature-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
}
.arch {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--ink);
}
.diagram .node {
  fill: var(--mock-node);
  stroke: var(--mock-node-line);
}
.diagram .node-main {
  fill: var(--accent, var(--brand));
}
.diagram .node-out {
  fill: var(--surface);
}
.diagram .t-name {
  fill: var(--surface);
}
.diagram .t-sub {
  fill: var(--text-muted);
}
.diagram .t-on-light {
  fill: var(--ink);
}
.diagram .t-on-light-sub {
  fill: var(--text-3);
}
.diagram .wire {
  fill: none;
  stroke: var(--accent, var(--brand));
  stroke-width: 2.5;
}
.diagram .wire-out {
  stroke: var(--highlight);
}
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.two-col > :first-child {
  flex: 1 1 300px;
}
.two-col > :last-child {
  flex: 2 1 600px;
  min-width: 0;
}
.spec-table {
  margin: 0;
  border-top: 2px solid var(--ink);
}
.spec-table > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table dt {
  flex: 0 0 140px;
  font-size: 15.5px;
  font-weight: 800;
}
.spec-table dd {
  flex: 1 1 300px;
  margin: 0;
  color: var(--text-2);
}
@media (max-width: 767px) {
  .spec-table dt,
  .spec-table dd {
    flex-basis: 100%;
  }
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.faq details[open] summary::after {
  content: "−";
  background: var(--brand);
  color: var(--surface);
}
.faq details p {
  margin: 0 0 24px;
  color: var(--text-2);
}

/* ───────── 문의 (8장) ───────── */
.contact-page {
  background: var(--soft);
}
.contact {
  padding-top: 72px;
  padding-bottom: 104px;
}
.contact h1 {
  margin-top: 14px;
}
.contact .t-lead {
  margin-top: 16px;
}
.type-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.type-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  padding: 26px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.type-card:hover {
  transform: translateY(-3px);
}
.type-card[aria-checked="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow-active);
}
.select-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.select-top .label {
  font-size: 12.5px;
  color: inherit;
  opacity: 0.75;
}
.select-dot {
  width: 22px;
  height: 22px;
  border: 2px solid var(--disabled);
  border-radius: 50%;
}
.type-card[aria-checked="true"] .select-dot {
  border-color: var(--brand);
  background: var(--brand);
}
.type-card .t-h4 {
  margin-top: auto;
}
.type-card small {
  font-size: 15px;
  opacity: 0.82;
}
.contact-stack {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-card {
  padding: 40px;
  border-radius: var(--r-lg);
  background: var(--surface);
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
#contact-form[hidden],
.done[hidden] {
  display: none;
}
.form-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.form-head small,
.hint {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}
.questions {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.questions fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.questions legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 14.5px;
  font-weight: 700;
}
.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#contact-form hr {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 14px;
  font-weight: 700;
}
.field input,
.field textarea {
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 16px;
}
.field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  outline: 2px solid var(--brand);
  outline-offset: 0;
}
.field [aria-invalid="true"] {
  border-color: var(--state-danger);
}
.field-error {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--state-danger);
}
.field-error:empty {
  display: none;
}
.privacy-note {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--soft);
  font-size: 13px;
  color: var(--text-2);
}
.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14.5px;
  cursor: pointer;
}
.consent input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}
.honeypot {
  position: absolute;
  left: -9999px;
}
.mail-note {
  margin: -8px 0 0;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}
.done {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 0;
}
.done-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.done p {
  margin: 0;
  color: var(--text-2);
}
.done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.done-actions .btn {
  height: 44px;
  padding: 0 20px;
  font-size: 14.5px;
}
.next-steps {
  padding: 36px 40px;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--surface);
}
.next-steps .t-h3 {
  margin-top: 10px;
}
.next-steps ol {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 12px;
}
.next-steps li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--dark-line);
  border-radius: 16px;
}
.step-no {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--dark-line);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.next-steps li:first-child .step-no {
  background: var(--brand);
}
.next-steps li b {
  display: block;
  font-size: 16px;
}
.next-steps li span span {
  font-size: 14px;
  color: var(--dark-text-2);
}

/* ───────── 블로그 (7장) ───────── */
.blog-hero {
  padding-top: clamp(56px, 7vw, 88px);
}
.blog-hero h1 {
  margin-top: 16px;
  max-width: 960px;
}
.blog-hero .t-lead {
  margin-top: 24px;
  max-width: 780px;
}
.cat-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cat-card {
  --dot: var(--cat-cases);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 28px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}
.cat-card.cat-news {
  --dot: var(--cat-news-dot);
}
.cat-card.cat-insights {
  --dot: var(--iiot);
}
.cat-card[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow-active);
}
.cat-card .select-top .label {
  color: inherit;
}
.cat-card .dot {
  width: 12px;
  height: 12px;
  background: var(--dot);
}
.cat-card .t-h3 {
  margin-top: auto;
}
.cat-card small {
  font-size: 15px;
  opacity: 0.85;
}
.blog-feature {
  padding-top: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.feature-post {
  flex: 2 1 640px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--surface);
}
.feature-art {
  position: relative;
  flex: 1 1 320px;
  min-height: 340px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--brand);
}
.feature-art .label {
  font-size: 12px;
  color: var(--brand-tint);
}
.feature-big {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.feature-ring {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}
.feature-body {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
}
.feature-body .cat {
  font-size: 13px;
  font-weight: 700;
  color: var(--cat-insights-on-dark);
}
.feature-body p {
  margin: 0;
  font-size: 15px;
  color: var(--dark-text-1);
}
.feature-body .meta {
  margin-top: auto;
  font-size: 13px;
  color: var(--text-muted);
}
.brief-card {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  border: 1.5px solid var(--cat-news-line);
  border-radius: var(--r-xl);
  background: var(--cat-news-bg);
}
.brief-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brief-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brief-head .label {
  font-size: 11.5px;
  color: var(--cat-news);
}
.brief-lead {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--cat-news-lead);
}
.brief-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.brief-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid var(--cat-news-line);
}
.brief-list b {
  font-size: 15px;
}
.brief-list span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cat-news-meta);
}
.brief-more {
  margin-top: auto;
  padding-top: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cat-news);
  text-decoration: none;
}
.list-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.list-head h2 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.list-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--soft);
}
.cat-tabs button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.cat-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--surface);
}
.search {
  width: 220px;
  max-width: 100%;
  height: 46px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 16px;
}
.post-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.post-card {
  --thumb-bg: var(--cat-cases);
  --thumb-fg: var(--surface);
  --deco: rgba(255, 255, 255, 0.18);
  --cat-color: var(--cat-cases);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.post-card.cat-news {
  --thumb-bg: var(--cat-news-thumb);
  --thumb-fg: var(--cat-news-ink);
  --deco: rgba(232, 85, 30, 0.18);
  --cat-color: var(--cat-news);
}
.post-card.cat-insights {
  --thumb-bg: var(--ink);
  --deco: rgba(110, 231, 196, 0.22);
  --cat-color: var(--cat-insights);
}
.post-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--thumb-bg);
  color: var(--thumb-fg);
}
.post-thumb .label {
  font-size: 11.5px;
  color: inherit;
  opacity: 0.8;
}
.post-short {
  max-width: 75%;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.post-deco {
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--deco);
}
.post-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px 24px;
}
.post-body .cat {
  font-size: 13px;
  font-weight: 700;
  color: var(--cat-color);
}
.post-body h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.03em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.post-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 14.5px;
  color: var(--text-3);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.post-body .meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.post-empty {
  margin: 32px 0 0;
  color: var(--text-3);
}
.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.pager[hidden] {
  display: none;
}
.pager button {
  min-width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  cursor: pointer;
}
.pager button[aria-current="page"] {
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
}
.pager button:disabled {
  color: var(--disabled);
  cursor: default;
}

/* ───────── 반응형 (10장) ───────── */
@media (max-width: 1023px) {
  .cards-3,
  .type-grid,
  .cat-grid,
  .post-grid,
  .feature-grid,
  .why-steps,
  .spec-band dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-hero-side {
    flex-basis: 100%;
  }
}
@media (max-width: 767px) {
  .cards-3,
  .type-grid,
  .cat-grid,
  .post-grid,
  .feature-grid,
  .why-steps,
  .today-grid,
  .spec-band dl,
  .field-grid,
  .agent-screen,
  .iiot-screen,
  .mock-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-hero .container {
    padding-top: 48px;
  }
  .hero-shots {
    margin-top: 48px;
  }
  .shot-agent,
  .shot-iiot {
    margin-top: 0;
  }
  .today-card,
  .aud-card,
  .form-card,
  .next-steps,
  .arch {
    padding: 24px;
  }
  .aud-card {
    min-height: 0;
  }
  .product-card {
    min-height: 0;
  }
  .p-hero .container {
    padding-top: 40px;
  }
  .p-screen {
    margin-top: 40px;
  }
  .hero-actions .btn,
  .p-hero-side .btn {
    flex: 1 1 auto;
  }
  .cams {
    flex-basis: 100%;
  }
  .search {
    width: 100%;
  }
}
.mock-head.is-tight {
  padding: 0;
}
.mock-half {
  max-width: 52%;
}
@media (max-width: 767px) {
  .mock-half {
    max-width: none;
  }
  .mock-card.is-float {
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    margin-top: 12px;
  }
  .mock-screen {
    min-height: 260px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
  }
}

/* 블로그: 링크 카드, 추천 글 자리, 브리핑 빈 상태 */
.feature-slot {
  flex: 2 1 640px;
  min-width: 0;
  display: flex;
}
.feature-slot .feature-post {
  flex: 1;
  text-decoration: none;
}
.post-card {
  text-decoration: none;
}
.brief-empty {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--cat-news-line);
  font-size: 15px;
  color: var(--cat-news-lead);
}
.brief-more + .brief-more {
  margin-top: 0;
  padding-top: 0;
}
.brief-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

/* 블로그 글 상세 (blog/{slug}.html) */
.post {
  max-width: calc(800px + var(--gutter) * 2);
  padding-top: 56px;
}
.post-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-3);
  text-decoration: none;
}
.post-back:hover {
  color: var(--brand);
}
.post-head {
  margin-top: 16px;
}
.post-head .post-cat {
  font-size: 14px;
  font-weight: 700;
  color: var(--cat-cases);
}
.post-cat.cat-news {
  color: var(--cat-news);
}
.post-cat.cat-insights {
  color: var(--cat-insights);
}
.post-head h1 {
  margin-top: 12px;
}
.post-head .t-lead {
  margin-top: 18px;
}
.post-meta {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-3);
}
.post-cover {
  --thumb-bg: var(--cat-cases);
  --thumb-fg: var(--surface);
  --deco: rgba(255, 255, 255, 0.18);
  position: relative;
  aspect-ratio: 16 / 7;
  margin-top: 36px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--thumb-bg);
  color: var(--thumb-fg);
}
.post-cover.cat-news {
  --thumb-bg: var(--cat-news-thumb);
  --thumb-fg: var(--cat-news-ink);
  --deco: rgba(232, 85, 30, 0.18);
}
.post-cover.cat-insights {
  --thumb-bg: var(--ink);
  --deco: rgba(110, 231, 196, 0.22);
}
.post-cover .label {
  color: inherit;
  opacity: 0.8;
}
.post-cover-title {
  max-width: 70%;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.post-cover .post-deco {
  width: 220px;
  height: 220px;
  right: -60px;
  top: -60px;
}
.article-body {
  margin-top: 40px;
  padding: 0;
  display: block;
  font-size: 17px;
  line-height: 1.8;
}
.article-body h2 {
  margin: 44px 0 0;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.035em;
}
.article-body p,
.article-body ul {
  margin: 14px 0 0;
  color: var(--text-2);
}
.article-body ul {
  padding-left: 22px;
}
.article-body li + li {
  margin-top: 6px;
}
.article-body a {
  color: var(--brand);
  font-weight: 700;
}

/* 블로그 글: 도입 요약, 인용, 핵심 문장, 그림, 요약, FAQ, 관련 제품 */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
}
.post-tags .post-cat {
  font-family: var(--font-sans);
}
.post-lead {
  margin: 36px 0 0;
  padding: 24px 28px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--soft);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}
.post-quote {
  margin: 20px 0 0;
  padding: 0;
}
.post-quote p {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.article-body .post-key {
  margin: 28px 0 0;
  padding: 18px 22px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}
.article-body ol {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--text-2);
}
.article-body b {
  color: var(--ink);
}
.post-fig {
  margin: 32px 0 0;
}
.post-fig figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-3);
  text-align: center;
}
.post-diagram {
  margin: 0;
  padding: 24px;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--ink);
}
.diagram .t-step {
  fill: var(--highlight);
  font-family: var(--font-mono);
  font-weight: 500;
}
.diagram .arrow {
  fill: var(--highlight);
}
.post-diagram .wire {
  stroke: var(--highlight);
  stroke-width: 2;
}
.fig-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.fig-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}
.fig-table th,
.fig-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.fig-table thead th {
  background: var(--ink);
  color: var(--surface);
  font-size: 14px;
  font-weight: 700;
}
.fig-table tbody th {
  background: var(--soft);
  font-weight: 700;
  white-space: nowrap;
}
.fig-table tbody tr:last-child th,
.fig-table tbody tr:last-child td {
  border-bottom: 0;
}
.fig-table td {
  color: var(--text-2);
}
.fig-cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.fig-cards li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.fig-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand);
}
.fig-cards b {
  font-size: 18px;
  letter-spacing: -0.03em;
}
.fig-cards li > span:last-child {
  font-size: 15px;
  color: var(--text-2);
}
.fig-matrix {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 10px;
}
.fig-axis {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
}
.fig-axis-y {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: right;
}
.fig-axis-x {
  grid-column: 2;
  text-align: right;
}
.fig-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.fig-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 130px;
  padding: 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--soft);
}
.fig-cell b {
  font-size: 17px;
}
.fig-cell span {
  font-size: 14.5px;
  color: var(--text-2);
}
.fig-cell.is-key {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--surface);
}
.fig-cell.is-key span {
  color: var(--brand-tint);
}
.post-summary,
.post-faq,
.post-related {
  margin-top: 56px;
}
.post-summary h2,
.post-faq h2,
.post-related h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.post-summary ul {
  margin: 16px 0 0;
  padding: 24px 28px 24px 46px;
  border-radius: var(--r-lg);
  background: var(--soft);
  font-size: 16.5px;
  line-height: 1.75;
}
.post-summary li + li {
  margin-top: 8px;
}
.post-faq .faq {
  margin-top: 8px;
}
.post-faq summary {
  font-size: 17.5px;
}
.post-faq .faq a {
  color: var(--brand);
  font-weight: 700;
}
.post-related-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px;
}
.post-related-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
}
.post-related-list span:last-child {
  grid-column: 2;
  font-size: 13.5px;
  color: var(--text-3);
}
@media (max-width: 767px) {
  .post-lead {
    padding: 18px 20px;
    font-size: 17px;
  }
  .post-diagram {
    padding: 18px;
  }
  .fig-cards,
  .fig-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fig-matrix {
    grid-template-columns: 1fr;
  }
  .fig-axis-y {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
  }
  .fig-axis-x {
    grid-column: 1;
    text-align: left;
  }
}

/* 제품 페이지: 함께 읽으면 좋은 글 */
.rel-posts {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.rel-post {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-decoration: none;
}
.rel-post .label {
  font-size: 12.5px;
  color: var(--text-3);
}
.rel-post p {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
}
.rel-post .more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--brand);
}
@media (max-width: 1023px) {
  .rel-posts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ───────── 솔루션 상세 (6장 S0~S10). 히어로·FAQ·CtaBand는 제품 상세 스타일을 같이 씁니다 ───────── */
.s-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
}
.s-crumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--footer-label);
}
.s-crumb a {
  text-decoration: none;
}
.s-crumb a:hover {
  text-decoration: underline;
}
.s-crumb [aria-current="page"] {
  font-weight: 700;
  color: var(--surface);
}
.prob-grid,
.scene-grid,
.prod-links,
.case-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.prob-card,
.case-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  padding: 28px;
  border-radius: var(--r-md);
  background: var(--soft);
}
.prob-card .label {
  color: var(--accent);
}
.prob-card h3 {
  margin-top: auto;
}
.prob-card p,
.scene-card p,
.prod-link p {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
}
/* 근거 수치 띠: 수치 → 설명 → 출처 순서로 보입니다 */
.stat-band {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--surface);
}
.stat-band > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px;
  border-left: 1px solid var(--dark-line);
}
.stat-band > div:first-child {
  border-left: 0;
}
.stat-band dt {
  order: 2;
  font-size: 15px;
  font-weight: 700;
  color: var(--footer-link);
}
.stat-band dd {
  display: contents;
}
.stat-band b {
  order: 1;
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--highlight);
}
.stat-band small {
  order: 3;
  font-size: 12.5px;
  color: var(--dark-text-2);
}
.scene-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 26px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
}
.scene-card h3,
.scene-card p {
  padding-inline: 12px;
}
.scene-card h3 {
  margin-top: 8px;
}
.scene {
  overflow: hidden;
  border-radius: 14px;
  background: var(--mock-frame);
}
.scene .cam {
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}
.mini-doc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 16 / 10;
  padding: 18px;
  background: var(--mock-screen);
  font-size: 13px;
}
.mini-doc > span:not(.warn):not(.ok) {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface);
}
.mini-doc .warn,
.mini-doc .ok {
  align-self: flex-start;
}
.mini-doc u {
  text-decoration-style: dotted;
  color: var(--text-3);
}
.mini-doc.is-qr {
  flex-direction: row;
  align-items: center;
}
.mini-doc.is-qr > span:last-child {
  flex: 1;
}
.mini-doc small {
  color: var(--text-3);
}
.qr {
  flex: 0 0 64px;
  height: 64px;
  border: 6px solid var(--surface);
  border-radius: 8px;
  background:
    conic-gradient(var(--ink) 25%, var(--surface) 0 50%, var(--ink) 0 75%, var(--surface) 0) 0 0 / 13px 13px;
}
.mini-doc .zone-row {
  background: var(--surface);
}
.zone-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 13px;
}
.zone-bar {
  height: 8px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: var(--line);
}
.zone-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}
.sop-doc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
}
.sop-doc header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.sop-step {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--soft);
  font-size: 13.5px;
}
.sop-step > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sop-step small {
  font-size: 12px;
  color: var(--text-3);
}
.sop-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.sop-fill {
  padding: 10px 12px;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  font-size: 13px;
}
.sop-fill span {
  color: var(--text-3);
}
/* S4 주요 기능: 대표 화면의 번호와 기능 목록 번호를 맞춥니다 */
.f-layout {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.f-screen {
  flex: 3 1 520px;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--ink);
}
.f-screen-alarm {
  position: relative;
  padding: 40px;
  border-radius: 14px;
  background: var(--mock-screen);
}
.f-screen-alarm .alarm-card,
.f-screen-alarm .sop-doc {
  max-width: 460px;
  margin: 0 auto;
}
.f-mark,
.f-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}
.f-mark {
  position: absolute;
  box-shadow: 0 0 0 4px var(--mock-screen);
}
.f-mark.is-inline {
  position: static;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  font-size: 11.5px;
  box-shadow: none;
}
.mock-card .f-mark.is-inline {
  align-self: flex-start;
}
.f-list {
  flex: 2 1 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.f-list li {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--soft);
}
.f-no {
  flex: 0 0 28px;
}
.f-list li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  color: var(--text-2);
}
.f-list b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.adopt-steps {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.adopt-steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--soft);
}
.adopt-steps .label {
  color: var(--text-3);
}
.adopt-steps b {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.adopt-steps p {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
}
.flow-diagram figcaption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--dark-text-2);
}
.diagram .node-opt {
  stroke: var(--text-muted);
  stroke-dasharray: 6 5;
}
.diagram .wire-opt {
  stroke-dasharray: 4 6;
  opacity: 0.6;
}
.diagram .t-head {
  font-family: var(--font-mono);
  fill: var(--dark-text-2);
}
.prod-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 30px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
}
.prod-link .label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
}
.prod-link .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.prod-link h3 {
  margin-top: auto;
}
.prod-link .more {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--brand);
}
.case-card dl {
  margin: 0;
}
.case-card dt {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-3);
}
.case-card dd {
  margin: 2px 0 0;
}
@media (max-width: 1023px) {
  .adopt-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .adopt-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat-band > div {
    border-left: 0;
    border-top: 1px solid var(--dark-line);
  }
  .stat-band > div:first-child {
    border-top: 0;
  }
  .f-screen-alarm {
    padding: 16px;
  }
  .f-mark:not(.is-inline) {
    display: none;
  }
  .prob-card,
  .adopt-steps li,
  .prod-link {
    min-height: 0;
    padding: 24px;
  }
}
