/* 옴니센스가드 공개 홈페이지. app.css 다음에 불러온다. 평면 색만 쓴다(그라데이션·그림자 없음). */
body.site {
  --bg: #ffffff;
  --panel: #ffffff;
  --tint: #f1f5fb;
  --line: #dfe4ec;
  --text: #101828;
  --muted: #566273;
  --navy: #0b1d3a;
  --navy-2: #132a50;
  --navy-line: #263d66;
  --navy-muted: #aab8cf;
  font-size: 16px;
  line-height: 1.65;
}
html { scroll-padding-top: 84px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--panel); padding: 8px 12px; border: 1px solid var(--line); }

/* 머리 */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--panel); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-nav { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; font-weight: 500; color: #2b3647; }
.site-nav a:hover { color: var(--brand); }
.site-head-actions { display: flex; gap: 8px; margin-left: auto; }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #e8eef8; }
.btn-line-light { border-color: #5c7099; color: #fff; }
.btn-line-light:hover { border-color: #fff; }
.btn-xl { height: 52px; padding: 0 26px; font-size: 16px; font-weight: 600; }

/* 첫 화면 */
.hero { background: var(--navy); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.hero-kicker { color: #8fb4f2; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(31px, 3.7vw, 48px); line-height: 1.28; font-weight: 700; letter-spacing: -0.025em; }
.hero-lead { margin-top: 22px; font-size: 17px; line-height: 1.75; color: var(--navy-muted); max-width: 520px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.mock-cap { margin-top: 10px; font-size: 12.5px; color: #7f90ad; text-align: right; }

/* 관제 화면 예시 (어두운 콘솔 색을 그대로 쓴다) */
.mock, .cpanel {
  --m-bg: #0e1116; --m-panel: #151a21; --m-panel-2: #1b212a; --m-line: #262e39; --m-text: #e4e8ee; --m-muted: #8b96a5;
  background: var(--m-bg); color: var(--m-text); border: 1px solid var(--m-line); border-radius: 8px; overflow: hidden;
  font-size: 12px; line-height: 1.4;
}
.hero .mock { border-color: #33466b; }
.mock-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; background: var(--m-panel); border-bottom: 1px solid var(--m-line); }
.mock-bar img { width: 16px; height: 16px; }
.mock-bar strong { font-weight: 600; font-size: 12.5px; }
.mock-live { margin-left: auto; color: var(--ok); font-size: 11.5px; }
.mock-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.mock-clock { color: var(--m-muted); font-size: 11.5px; }
.mock-body { display: grid; grid-template-columns: minmax(0, 1fr) 168px; }
.mock-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; }
.mtile { border: 1px solid var(--m-line); border-radius: 3px; background: var(--m-panel-2); overflow: hidden; min-width: 0; }
.mtile.lv-1 { border-color: var(--caution); }
.mtile.lv-2 { border-color: var(--warning); }
.mtile.lv-3 { border-color: var(--critical); }
.mtile-meta { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 6px; font-size: 10.5px; }
.mtile-meta i { font-style: normal; font-family: var(--mono); color: var(--m-muted); }
.mtile-meta span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mchip { flex: none; font-style: normal; height: 16px; padding: 0 5px; border-radius: 3px; border: 1px solid var(--m-line); font-size: 10px; font-weight: 600; line-height: 14px; color: var(--m-muted); white-space: nowrap; }
.mchip.lv-0 { border-color: var(--ok); color: var(--ok); }
.mchip.lv-1 { border-color: var(--caution); color: var(--caution); }
.mchip.lv-2 { background: var(--warning); border-color: var(--warning); color: #14100c; }
.mchip.lv-3 { background: var(--critical); border-color: var(--critical); color: #fff; }
.mchip-lg { height: 22px; padding: 0 8px; font-size: 12px; line-height: 20px; }
.mock-feed { border-left: 1px solid var(--m-line); background: var(--m-panel); }
.mock-feed h3 { height: 30px; padding: 0 10px; display: flex; align-items: center; font-size: 11.5px; font-weight: 600; border-bottom: 1px solid var(--m-line); }
.mock-feed li { display: grid; gap: 3px; padding: 8px 10px; border-bottom: 1px solid var(--m-line); font-size: 11px; }
.mock-feed li strong { font-weight: 500; display: flex; align-items: center; gap: 6px; }
.mock-feed li b { font-family: var(--mono); font-weight: 500; }
.mock-feed li small { color: var(--m-muted); font-size: 10.5px; }

.shot { position: relative; aspect-ratio: 16 / 9; background: #10161f; overflow: hidden; }
.shot svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shot-tag { position: absolute; left: 5px; bottom: 5px; padding: 0 5px; border-radius: 2px; background: #06080b; border: 1px solid #262e39; color: #c9d1dc; font-size: 10px; line-height: 16px; white-space: nowrap; }
.shot-tag b { font-family: var(--mono); font-weight: 500; color: #fff; margin-left: 3px; }
.shot-time { position: absolute; right: 5px; top: 5px; padding: 0 5px; border-radius: 2px; background: #06080b; color: #c9d1dc; font-family: var(--mono); font-size: 10.5px; line-height: 17px; }

/* 구획 공통 */
.sec { padding: 104px 0; }
.sec-tint { background: var(--tint); }
.sec-navy { background: var(--navy); color: #fff; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head h2, .split-text h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
.sec-head p { margin-top: 16px; font-size: 17px; color: var(--muted); }
.sec-navy .sec-head p { color: var(--navy-muted); }

/* 소개 */
.about-logo { width: 72px; height: 72px; margin: 0 auto 26px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; }
.facts > div { padding: 32px 28px; text-align: center; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 34px; line-height: 1.2; font-weight: 700; color: var(--brand); letter-spacing: -0.02em; }
.facts strong { display: block; margin-top: 10px; font-size: 16.5px; font-weight: 600; }
.facts span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }

/* 고민 → 해결 */
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pain { background: #fff; color: var(--text); border-radius: 10px; padding: 28px 24px 26px; display: flex; flex-direction: column; }
.pain h3 { font-size: 19px; line-height: 1.45; font-weight: 700; letter-spacing: -0.01em; min-height: 3em; }
.pain p { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: #364152; }
.pain p b { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--brand); }

/* 기능: 그림과 글을 번갈아 배치 */
.rows { display: grid; gap: 96px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.row:nth-child(even) .row-viz { order: 2; }
.row-viz { background: var(--tint); border-radius: 12px; padding: 36px; }
.row-text h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.4; font-weight: 700; letter-spacing: -0.02em; }
.row-text > p { margin-top: 16px; font-size: 16.5px; color: var(--muted); }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; color: #2b3647; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.48em; width: 11px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

.cpanel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 38px; padding: 0 14px; background: var(--m-panel); border-bottom: 1px solid var(--m-line); font-size: 12.5px; font-weight: 600; }
.cpanel-head small { font-weight: 400; color: var(--m-muted); font-size: 11.5px; }
.cverdict { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--critical); color: #fff; }
.cverdict strong { font-size: 22px; font-weight: 600; line-height: 1; }
.cverdict span { font-size: 13px; }
.cbars { padding: 8px 14px 12px; background: var(--m-panel); }
.cbars li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 36px; align-items: center; gap: 10px; padding: 6px 0; font-size: 12.5px; }
.cbars li.is-sub span { color: var(--m-muted); }
.cbars b { font-family: var(--mono); font-weight: 500; text-align: right; }
.cbar { height: 8px; background: var(--m-bg); border: 1px solid var(--m-line); border-radius: 2px; overflow: hidden; }
.cbar i { display: block; height: 100%; background: #5b98e6; }
.cbar i.is-high { background: var(--critical); }
.w94 { width: 94%; } .w31 { width: 31%; } .w8 { width: 8%; } .w5 { width: 5%; } .w6 { width: 6%; }

.cuts { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: var(--m-bg); }
.cpanel-foot { padding: 10px 14px; background: var(--m-panel); border-top: 1px solid var(--m-line); color: var(--m-muted); font-size: 11.5px; }

.cevent { background: var(--m-panel); }
.cevent-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.cevent-top strong { font-size: 13.5px; font-weight: 500; }
.cevent-top strong b { font-family: var(--mono); font-weight: 500; margin-left: 4px; }
.cevent-top small { margin-left: auto; color: var(--m-muted); font-size: 11.5px; text-align: right; }
.cevent-actions { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--m-line); }
.cbtn { height: 28px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--m-line); color: var(--m-text); font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; }
.cbtn.is-danger { border-color: var(--critical); color: var(--critical); }

.cprof li { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; background: var(--m-panel); border-bottom: 1px solid var(--m-line); font-size: 12.5px; }
.cprof li strong { font-weight: 600; }
.cprof li strong small { display: block; font-weight: 400; font-size: 11px; color: var(--m-muted); }
.cprof-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.cprof-tags span { padding: 1px 7px; border: 1px solid var(--m-line); border-radius: 3px; font-size: 11.5px; color: #c9d1dc; }
.cprof-state { font-size: 11.5px; color: var(--m-muted); }
.cprof li.is-on .cprof-state { color: var(--ok); }
.cthresh { display: flex; gap: 16px; flex-wrap: wrap; }
.cthresh b { font-family: var(--mono); font-weight: 500; color: var(--m-text); margin-left: 4px; }

/* 구성도 */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px 20px; margin-right: 28px; }
.flow li:last-child { margin-right: 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-top: 2px solid #8a98ad; border-right: 2px solid #8a98ad; transform: rotate(45deg); }
.flow small { display: block; font-family: var(--mono); font-size: 13px; color: var(--brand); margin-bottom: 10px; }
.flow strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.flow p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.flow-note { margin-top: 28px; text-align: center; font-size: 14.5px; color: var(--muted); }

/* 감지 항목 */
.detects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.detect { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.detect .shot-tag { font-size: 11.5px; line-height: 20px; padding: 0 7px; left: 8px; bottom: 8px; }
.detect-body { padding: 20px 20px 22px; }
.detect-body h3 { font-size: 18px; font-weight: 700; }
.detect-body p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* 적용 분야 */
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.field { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; }
.field h3 { font-size: 18px; font-weight: 700; }
.field p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.field ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.field li { padding: 2px 9px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; color: #364152; }

/* 자주 묻는 질문 */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 22px; font-weight: 400; color: var(--muted); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--brand); }
.faq details p { padding: 0 44px 24px 4px; font-size: 16px; color: var(--muted); }

/* 문의 */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.split-text p { margin-top: 16px; font-size: 17px; color: var(--navy-muted); }
.split-text .ticks li { color: #dbe4f3; }
.split-text .ticks li::before { border-color: #8fb4f2; }
.form { background: #fff; color: var(--text); border-radius: 12px; padding: 32px; display: grid; gap: 16px; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-in { display: grid; gap: 6px; }
.field-in label { font-size: 14px; font-weight: 600; }
.field-in label em { font-style: normal; color: var(--critical); margin-left: 2px; }
.form input[type="text"], .form textarea { width: 100%; padding: 0 13px; height: 46px; border: 1px solid #c9d1dc; border-radius: var(--radius); background: #fff; font: inherit; font-size: 15.5px; color: var(--text); }
.form textarea { height: 116px; padding: 11px 13px; resize: vertical; line-height: 1.55; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.agree { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: #364152; }
.agree input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand); }
.agree small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { padding: 12px 14px; border: 1px solid var(--ok); border-radius: var(--radius); color: #1c6b48; background: #eef8f3; font-size: 15px; font-weight: 500; }
.form-fail { padding: 12px 14px; border: 1px solid var(--critical); border-radius: var(--radius); color: #b02a2a; background: #fdf1f1; font-size: 15px; }

/* 바닥 */
.site-foot { background: #071428; color: #93a2ba; font-size: 14px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 48px; }
.site-foot .brand-text { color: #fff; }
.site-foot .brand-text small { color: #93a2ba; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot-links a:hover { color: #fff; }
.foot-note { width: 100%; padding-top: 22px; border-top: 1px solid #1a2a47; font-size: 13px; }

/* 반응형 */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 64px; padding-bottom: 64px; }
  .hero-lead { max-width: 640px; }
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain h3 { min-height: 0; }
  .detects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 520px; margin: 0 auto; }
  .flow li { margin-right: 0; }
  .flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -19px; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .row, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .row:nth-child(even) .row-viz { order: 0; }
  .rows { gap: 72px; }
}
@media (max-width: 720px) {
  .sec { padding: 68px 0; }
  .sec-head { margin-bottom: 36px; }
  .wrap { padding: 0 18px; }
  .site-head .wrap { height: 60px; gap: 12px; }
  .site-head .brand-text small { display: none; }
  .site-head-actions .btn-outline { display: none; }
  .mock-body { grid-template-columns: minmax(0, 1fr); }
  .mock-feed { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts > div { padding: 24px 20px; }
  .pains, .detects, .fields { grid-template-columns: minmax(0, 1fr); }
  .row-viz { padding: 18px; }
  .form { padding: 22px 18px; }
  .form-pair { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 16px; padding: 18px 2px; }
  .faq details p { padding-right: 8px; }
}
