/* test4 · BENTO — product-led modern SaaS
 * Geist + Noto Sans KR + Geist Mono · cool graphite · petrol #005680 → cerulean
 */

/* ================= 토큰 ================= */
:root {
  color-scheme: light;
  --bg: #f4f6f9; --bg-2: #eceff4; --fg: #0a0f17; --fg-2: #263142; --muted: #556072; --line: #dfe4eb; --line-2: #cdd5df;
  --surface: #ffffff; --surface-2: #f1f4f8; --surface-3: #e8edf3;
  --accent: #005680; --accent-2: #0a7db5; --accent-deep: #003f5f; --accent-fg: #ffffff; --accent-soft: rgba(0, 110, 160, .09);
  --cer: #1593cf; --ok: #0b7a52; --ok-soft: rgba(11, 122, 82, .1); --bad: #c0331d; --bad-soft: rgba(192, 51, 29, .1); --warn: #9a5b00; --warn-soft: rgba(176, 106, 0, .12);
  --gb-a: rgba(255, 255, 255, .9); --gb-b: rgba(10, 30, 60, .1);
  --shadow: 0 1px 1px rgba(10, 20, 40, .04), 0 8px 24px -12px rgba(10, 30, 60, .14);
  --shadow-lg: 0 2px 4px rgba(10, 20, 40, .04), 0 30px 80px -30px rgba(0, 50, 90, .3);
  --inner: inset 0 1px 0 rgba(255, 255, 255, .7);
  --glass: rgba(255, 255, 255, .72);
  --grid-line: rgba(10, 40, 80, .05);
  --term: #0c141e; --term-fg: #d3e1ee;

  --fs-bg: var(--bg); --fs-fg: var(--fg); --fs-muted: var(--muted); --fs-line: var(--line); --fs-surface: var(--surface); --fs-surface-2: var(--surface-2);
  --fs-accent: var(--accent); --fs-accent-fg: var(--accent-fg); --fs-plate: #ffffff;
  --fs-radius: 12px; --fs-wrap: 1280px; --fs-header-h: 76px;
  --fs-font-body: 'Geist', 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --fs-font-display: 'Geist', 'Noto Sans KR', system-ui, sans-serif;
  --fs-font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r-xl: 22px; --r-lg: 16px; --r-md: 12px; --r-sm: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #090c11; --bg-2: #0c1016; --fg: #e8edf4; --fg-2: #c4cdd9; --muted: #8b97a8; --line: #1b222d; --line-2: #283141;
    --surface: #0f141b; --surface-2: #141a23; --surface-3: #1a212c;
    --accent: #45b9ee; --accent-2: #7dd3fa; --accent-deep: #0b6c9c; --accent-fg: #03131d; --accent-soft: rgba(69, 185, 238, .12);
    --cer: #45b9ee; --ok: #3fd29a; --ok-soft: rgba(63, 210, 154, .12); --bad: #ff6e5a; --bad-soft: rgba(255, 110, 90, .13); --warn: #f2b552; --warn-soft: rgba(242, 181, 82, .13);
    --gb-a: rgba(140, 200, 240, .16); --gb-b: rgba(255, 255, 255, .03);
    --shadow: 0 1px 0 rgba(255, 255, 255, .02), 0 12px 32px -16px rgba(0, 0, 0, .6);
    --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02);
    --inner: inset 0 1px 0 rgba(255, 255, 255, .05);
    --glass: rgba(14, 19, 26, .72);
    --grid-line: rgba(140, 180, 220, .045);
    --term: #05080c; --term-fg: #cfe0ee;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090c11; --bg-2: #0c1016; --fg: #e8edf4; --fg-2: #c4cdd9; --muted: #8b97a8; --line: #1b222d; --line-2: #283141;
  --surface: #0f141b; --surface-2: #141a23; --surface-3: #1a212c;
  --accent: #45b9ee; --accent-2: #7dd3fa; --accent-deep: #0b6c9c; --accent-fg: #03131d; --accent-soft: rgba(69, 185, 238, .12);
  --cer: #45b9ee; --ok: #3fd29a; --ok-soft: rgba(63, 210, 154, .12); --bad: #ff6e5a; --bad-soft: rgba(255, 110, 90, .13); --warn: #f2b552; --warn-soft: rgba(242, 181, 82, .13);
  --gb-a: rgba(140, 200, 240, .16); --gb-b: rgba(255, 255, 255, .03);
  --shadow: 0 1px 0 rgba(255, 255, 255, .02), 0 12px 32px -16px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02);
  --inner: inset 0 1px 0 rgba(255, 255, 255, .05);
  --glass: rgba(14, 19, 26, .72);
  --grid-line: rgba(140, 180, 220, .045);
  --term: #05080c; --term-fg: #cfe0ee;
}

/* ================= 기본 ================= */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg); font-feature-settings: 'ss01', 'cv11'; text-rendering: optimizeLegibility; overflow-x: clip; }
html.lock { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--fs-font-display); text-wrap: balance; }
p { text-wrap: pretty; }
a { text-decoration: none; }
button { font: inherit; color: inherit; }
.ic { width: 18px; height: 18px; flex: none; }
.mark { width: 22px; height: 22px; color: var(--accent); flex: none; }
kbd { font-family: var(--fs-font-mono); font-size: 11px; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); line-height: 1.4; }
::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); }
.fs-skip { z-index: 200; }
#fs-main:focus { outline: none; }
.eb { font-family: var(--fs-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.005em; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn .ic { width: 16px; height: 16px; }
.btn-primary { background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 88%, white), var(--accent)); color: var(--accent-fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .15), 0 6px 18px -6px color-mix(in oklab, var(--accent) 60%, transparent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -8px color-mix(in oklab, var(--accent) 70%, transparent); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--fg); box-shadow: var(--inner); }
.btn-ghost:hover { border-color: color-mix(in oklab, var(--accent) 50%, var(--line-2)); }
.btn-s { min-height: 36px; font-size: 13px; padding: 0 14px; }
.lnk { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; min-height: 44px; }
.lnk .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.lnk:hover .ic { transform: translateX(3px); }
.sim-tag { font-family: var(--fs-font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); background: var(--warn-soft); padding: 2px 7px; border-radius: 5px; white-space: nowrap; }

/* ================= 헤더: 플로팅 아일랜드 ================= */
.hdr { position: sticky; top: 0; z-index: 60; height: var(--fs-header-h); padding: 12px var(--fs-gutter) 0 var(--fs-gutter-r); padding-top: calc(12px + env(safe-area-inset-top, 0px)); pointer-events: none; }
.island { pointer-events: auto; position: relative; max-width: 1240px; height: 52px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; border-radius: 16px;
  background: var(--glass); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 1px var(--line), var(--shadow); transition: box-shadow .3s, background .3s; }
.hdr.scrolled .island, .hdr.mega-open .island { box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--fs-font-display); font-weight: 500; font-size: 17px; letter-spacing: -.02em; color: var(--fg); min-height: 44px; flex: none; }
.brand b { font-weight: 700; }
.topnav { flex: 1; display: flex; justify-content: center; }
.topnav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.tn-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: none; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--fg-2); transition: background .15s, color .15s; }
.tn-btn svg { width: 9px; height: 6px; opacity: .55; transition: transform .2s; }
.tn-btn:hover, .tn.open .tn-btn { background: var(--surface-3); color: var(--fg); }
.tn.open .tn-btn svg { transform: rotate(180deg); }
.tn.cur .tn-btn { color: var(--accent); }
.isl-act { display: flex; align-items: center; gap: 4px; flex: none; }
.srch { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); cursor: pointer; font-size: 13.5px; min-width: 150px; box-shadow: var(--inner); }
.srch span { flex: 1; text-align: left; }
.srch:hover { border-color: color-mix(in oklab, var(--accent) 50%, var(--line-2)); color: var(--fg); }
.srch .ic { width: 15px; height: 15px; }
.lang, .thm, .burger { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: 9px; border: 0; background: none; cursor: pointer; color: var(--fg-2); font-family: var(--fs-font-mono); font-size: 12.5px; font-weight: 500; }
.lang:hover, .thm:hover, .burger:hover { background: var(--surface-3); color: var(--fg); }
.thm .ic { grid-area: 1 / 1; width: 17px; height: 17px; transition: opacity .25s, transform .35s var(--ease); }
.thm .ic:last-child { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="dark"] .thm .ic:first-child { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="dark"] .thm .ic:last-child { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .thm .ic:first-child { opacity: 0; transform: rotate(60deg) scale(.6); } :root:not([data-theme="light"]) .thm .ic:last-child { opacity: 1; transform: none; } }
.isl-cta { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 9px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 13.5px; margin-left: 4px; }
.isl-cta:hover { background: var(--accent); color: var(--accent-fg); }
.burger { display: none; }

/* 메가메뉴 */
.mega { position: absolute; left: 0; right: 0; top: calc(100% + 8px); border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg); padding: 10px; animation: megaIn .22s var(--ease); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px) scale(.99); } }
.mega-in { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 10px; }
.mega-side, .mega-feature { background: var(--surface-2); border-radius: 12px; padding: 18px; }
.mega-k { font-family: var(--fs-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.mega-groups, .mega-groups ul { list-style: none; margin: 0; padding: 0; }
.mega-groups > li > a { display: block; font-weight: 600; font-size: 14.5px; padding: 6px 0; color: var(--fg); }
.mega-groups ul { margin: 0 0 6px; border-left: 1px solid var(--line-2); padding-left: 12px; }
.mega-groups ul a { display: block; font-size: 13px; color: var(--muted); padding: 3px 0; }
.mega-groups a:hover { color: var(--accent); }
.mega-main { padding: 8px 8px 4px; }
.mega-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mcard { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; transition: background .15s; }
.mcard:hover { background: var(--surface-2); }
.mcard-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; flex: none; color: var(--accent); background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--inner); }
.mcard:hover .mcard-ic { background: var(--accent); color: var(--accent-fg); box-shadow: none; }
.mcard-t { display: flex; flex-direction: column; min-width: 0; }
.mcard-t b { font-size: 14px; font-weight: 600; color: var(--fg); line-height: 1.35; }
.mcard-t small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.mega-in-s { grid-template-columns: 300px minmax(0, 1fr); }
.mega-feature { display: flex; flex-direction: column; gap: 6px; color: var(--fg); }
.mf-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.mf-big { font-family: var(--fs-font-mono); font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.mega-feature small { color: var(--muted); font-size: 13px; }
.mf-link { color: var(--accent); font-weight: 600; font-size: 14px; margin-top: 8px; }
.mf-news b { font-size: 15px; line-height: 1.45; }
.mf-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; margin-bottom: 8px; background: var(--surface-3); }
.mf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega-cards-s .mcard-t small { font-family: var(--fs-font-mono); font-size: 11.5px; }

/* 모바일 드로어 */
.drawer { margin: 0; padding: 0; border: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: var(--bg); color: var(--fg); }
.drawer::backdrop { background: rgba(0, 0, 0, .4); }
.drawer[open] { animation: drIn .28s var(--ease); }
@keyframes drIn { from { opacity: 0; transform: translateY(-8px); } }
.dr-in { min-height: 100%; display: flex; flex-direction: column; gap: 14px; padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.dr-top { display: flex; align-items: center; justify-content: space-between; height: 52px; padding-left: 8px; }
.dr-x { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: var(--surface-2); border-radius: 12px; cursor: pointer; }
.dr-srch { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); text-align: left; font-size: 15px; cursor: pointer; }
.dr-sec { border-bottom: 1px solid var(--line); }
.dr-sec summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; cursor: pointer; }
.dr-sec summary::-webkit-details-marker { display: none; }
.dr-sec summary::after { content: "+"; font-family: var(--fs-font-mono); font-weight: 400; color: var(--muted); }
.dr-sec[open] summary::after { content: "−"; }
.dr-sec ul { list-style: none; margin: 0; padding: 0 8px 14px; }
.dr-sec li a { display: flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--fg-2); }
.dr-sec li ul { padding: 0 0 4px 14px; border-left: 1px solid var(--line-2); }
.dr-sec li ul a { font-size: 14.5px; color: var(--muted); min-height: 40px; }
.dr-foot { margin-top: auto; display: flex; gap: 8px; padding-top: 12px; }
.dr-foot .btn-primary { flex: 1; }
.dr-foot .thm { width: 48px; min-width: 48px; padding: 0; display: inline-grid; place-items: center; }

/* ⌘K 팔레트 */
.cmdk { margin: 0 auto; top: min(12vh, 120px); padding: 0; border: 0; background: none; width: min(640px, calc(100% - 24px)); max-height: 76vh; overflow: visible; color: var(--fg); }
.cmdk::backdrop { background: color-mix(in oklab, var(--bg) 50%, rgba(0, 0, 0, .45)); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cmdk[open] { animation: megaIn .2s var(--ease); }
.ck-panel { background: var(--surface); border-radius: 16px; box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; max-height: 76vh; }
.ck-in { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.ck-in input { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: none; color: var(--fg); font: inherit; font-size: 16px; }
.ck-in input::-webkit-search-cancel-button { display: none; }
.ck-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; }
.ck-g { font-family: var(--fs-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 10px 6px; }
.ck-list [role=option] { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; min-height: 48px; }
.ck-list [role=option] > .ic { width: 15px; height: 15px; color: var(--muted); opacity: 0; }
.ck-list [aria-selected=true] { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.ck-list [aria-selected=true] > .ic { opacity: 1; color: var(--accent); }
.ck-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--surface-2); color: var(--accent); flex: none; }
.ck-ic .ic { width: 16px; height: 16px; }
.ck-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ck-t b { font-weight: 550; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-t small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-empty { padding: 28px 12px; text-align: center; color: var(--muted); }
.ck-hint { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); font-family: var(--fs-font-mono); font-size: 11.5px; color: var(--muted); }

/* 브랜드 필름 */
.film { padding: 0; border: 0; background: none; width: min(1100px, calc(100% - 24px)); max-width: none; overflow: visible; }
.film::backdrop { background: rgba(3, 6, 10, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.film-in { position: relative; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 120px -20px #000; }
.film video { display: block; width: 100%; max-height: 82vh; aspect-ratio: 16 / 9; background: #000; }
.film-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 12px; border: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; }
@media (max-width: 760px) { .film video { aspect-ratio: 9 / 16; max-height: 80vh; } .film { width: min(440px, calc(100% - 24px)); } }

/* 시안 배지 */
.bdg { position: fixed; z-index: 70; left: max(12px, env(safe-area-inset-left, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 6px; font-family: var(--fs-font-mono); font-size: 11.5px; }
.bdg-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow); color: var(--fg-2); cursor: pointer; letter-spacing: .02em; }
.bdg-btn i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.bdg-nav { display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.bdg-nav[hidden] { display: none; }
.bdg-nav a { padding: 8px 10px; border-radius: 8px; color: var(--muted); white-space: nowrap; }
.bdg-nav a:hover { background: var(--surface-2); color: var(--fg); }
.bdg-nav a[aria-current] { background: var(--accent); color: var(--accent-fg); }

/* ================= 푸터 ================= */
.ftr { margin-top: 0; border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 calc(72px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.ft-top { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; }
.ft-motto { font-family: var(--fs-font-mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); margin: 18px 0 6px; }
.ft-since { color: var(--muted); margin: 0 0 14px; }
.ft-fb { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); min-height: 44px; }
.ft-fb:hover { color: var(--accent); }
.ft-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ft-map h2 { font-family: var(--fs-font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.ft-map ul { list-style: none; margin: 0; padding: 0; }
.ft-map li a { display: inline-block; padding: 4px 0; color: var(--fg-2); }
.ft-map li.sub a { color: var(--muted); font-size: 13px; padding-left: 10px; border-left: 1px solid var(--line-2); }
.ft-map a:hover { color: var(--accent); }
.ft-co { font-style: normal; display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.ft-co b { color: var(--fg); width: 100%; font-size: 14px; }
.ft-co a:hover { color: var(--accent); }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.ft-bot p { margin: 0; }
.ft-legal { display: flex; gap: 18px; }
.ft-legal a { color: var(--fg-2); }
.ft-legal b { font-weight: 600; }

/* ================= 홈 ================= */
.sec { padding: clamp(72px, 10vw, 140px) 0 0; }
.sh { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: clamp(32px, 4vw, 52px); max-width: 860px; }
.sh-t { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -.035em; font-weight: 600; margin: 0; }
.sh-t .dim { color: var(--muted); }
.sh-l { color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; margin: 18px 0 0; max-width: 62ch; }
.sh-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); padding-left: 12px; border-left: 2px solid var(--warn); max-width: 72ch; }
.sh-more { margin-top: 14px; }

/* 히어로 */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 0; overflow: clip; }
.hero-bg { position: absolute; inset: -76px 0 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(60% 45% at 72% 62%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 12px 6px 10px; border-radius: 999px; font-family: var(--fs-font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--fg-2); background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--inner); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.hero-t { margin: 0; font-size: clamp(42px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; }
.hero-t span { display: block; }
:lang(ko) .hero-t { letter-spacing: -.04em; line-height: 1.08; }
.hl { background: linear-gradient(100deg, var(--accent-deep) 0%, var(--accent) 45%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-lead { margin: 0; color: var(--fg-2); font-size: clamp(16px, 1.35vw, 17.5px); line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.film-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--fg-2); font-weight: 500; font-size: 14.5px; min-height: 44px; }
.film-btn small { font-family: var(--fs-font-mono); color: var(--muted); font-size: 12px; }
.film-btn-i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--shadow); color: var(--accent); transition: transform .2s var(--ease); }
.film-btn-i .ic { width: 14px; height: 14px; margin-left: 2px; }
.film-btn:hover .film-btn-i { transform: scale(1.08); }
.hero-motto { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 22px 0 0; font-size: 13px; color: var(--muted); }
.hero-motto span:first-child { font-family: var(--fs-font-mono); letter-spacing: .12em; font-size: 11.5px; color: var(--fg-2); }

/* 콘솔 창 */
.cw-wrap { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.cw-wrap::before { content: ""; position: absolute; inset: 6% 8% -4%; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 34%, transparent), transparent); filter: blur(40px); opacity: .55; z-index: -1; }
.cw { position: relative; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lg), var(--inner); overflow: hidden; font-size: 13px; }
.cw::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; background: linear-gradient(180deg, var(--gb-a), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.cw-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.cw-dots { display: flex; gap: 6px; }
.cw-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.cw-title { flex: 1; text-align: center; font-family: var(--fs-font-mono); font-size: 12px; color: var(--muted); }
.cw-body { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: 420px; }
.cw-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; background: color-mix(in oklab, var(--surface-2) 50%, var(--surface)); }
.cw-org { display: flex; align-items: center; gap: 8px; padding: 4px 8px 10px; font-weight: 600; font-size: 13px; }
.cw-org svg { width: 16px; height: 16px; color: var(--accent); }
.cw-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cw-side li { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 7px; color: var(--muted); font-size: 12.5px; }
.cw-side li i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .7; }
.cw-side li.on { background: var(--surface); color: var(--fg); box-shadow: 0 0 0 1px var(--line); }
.cw-side li.on i { border-color: var(--accent); background: var(--accent-soft); }
.cw-sidefoot { margin: auto 0 0; display: flex; align-items: center; gap: 8px; padding: 8px; font-family: var(--fs-font-mono); font-size: 11px; color: var(--muted); }
.cw-sidefoot i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.cw-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cw-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cw-kpi { padding: 12px 14px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 8px; }
.cw-kpi small { grid-column: 1 / -1; color: var(--muted); font-size: 11.5px; }
.cw-kpi b { font-family: var(--fs-font-mono); font-size: 22px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cw-kpi em { font-style: normal; font-family: var(--fs-font-mono); font-size: 10px; color: var(--warn); text-transform: uppercase; letter-spacing: .04em; }
.cw-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; flex: 1; }
.cw-panel { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.cw-panel header { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.cw-panel header span { font-family: var(--fs-font-mono); font-size: 10.5px; color: var(--muted); }
.cw-vulns ul { list-style: none; margin: 0; padding: 4px; }
.cw-vulns li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 76px; align-items: center; gap: 10px; padding: 8px; border-radius: 7px; transition: background .3s; }
.cw-vulns li.act { background: var(--accent-soft); }
.sev { font-family: var(--fs-font-mono); font-size: 9.5px; font-weight: 500; text-align: center; padding: 2px 0; border-radius: 4px; letter-spacing: .04em; }
.sev-crit { color: var(--bad); background: var(--bad-soft); }
.sev-high { color: var(--warn); background: var(--warn-soft); }
.sev-med { color: var(--accent); background: var(--accent-soft); }
.v-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.v-t { font-family: var(--fs-font-mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.v-s { font-family: var(--fs-font-mono); font-size: 10.5px; text-align: right; color: var(--muted); white-space: nowrap; }
.v-s[data-st=scan] { color: var(--warn); }
.v-s[data-st=cmd] { color: var(--accent); }
.v-s[data-st=done] { color: var(--ok); }
.cw-type { margin: 0; padding: 12px; font-family: var(--fs-font-mono); font-size: 11.5px; line-height: 1.75; white-space: pre-wrap; color: var(--fg-2); flex: 1; min-height: 150px; }
.cw-type.typing::after { content: ""; display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cw-traffic { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: end; }
.cw-traffic > span { font-family: var(--fs-font-mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.cw-bars { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.cw-bars i { flex: 1; height: 100%; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--accent), color-mix(in oklab, var(--accent) 20%, transparent)); transform-origin: bottom; opacity: .75; transition: transform .25s linear; }
.cw-toast { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--fg); color: var(--bg); box-shadow: var(--shadow-lg); transform: translateY(16px); opacity: 0; transition: transform .45s var(--ease), opacity .3s; max-width: calc(100% - 36px); }
.cw-toast.on { transform: none; opacity: 1; }
.cw-toast b { display: block; font-size: 13px; font-weight: 600; }
.cw-toast small { display: block; font-family: var(--fs-font-mono); font-size: 11px; opacity: .7; }
.cw-toast-i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--accent-fg); flex: none; }
.cw-toast-i svg { width: 14px; height: 14px; }
.cw-toast-ok { width: 18px; height: 18px; color: var(--ok); opacity: 0; transition: opacity .3s; }
.cw-toast.ok .cw-toast-ok { opacity: 1; }
.cw-toast-ok svg { width: 18px; height: 18px; }
:root[data-theme="dark"] .cw-toast-ok { color: #0b7a52; }

/* 세 가지 핵심 */
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.pl { position: relative; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.pl + .pl { border-left: 1px solid var(--line); }
.pl::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .6; }
.pl-top { display: flex; align-items: center; gap: 12px; }
.pl-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--accent); background: var(--accent-soft); }
.pl-k { font-family: var(--fs-font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--muted); }
.pl h3 { margin: 10px 0 0; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.35; letter-spacing: -.02em; font-weight: 600; }
.pl-n { display: block; font-family: var(--fs-font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--accent); margin-bottom: 6px; }
.pl p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; flex: 1; }

/* 벤토 */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; grid-auto-flow: dense; }
.tile { container-type: inline-size; position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow), var(--inner); isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(160deg, color-mix(in oklab, var(--accent) 38%, var(--line-2)) 0%, var(--line) 30%, var(--line) 70%, var(--line-2) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; background: radial-gradient(80% 60% at 100% 0%, var(--accent-soft), transparent 60%); opacity: 0; transition: opacity .6s; }
.tile.is-live::after { opacity: 1; }
.tile-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tile-k { font-family: var(--fs-font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--accent); font-weight: 500; }
.tile-t { margin: 0; font-size: clamp(19px, 1.65vw, 23px); line-height: 1.3; letter-spacing: -.025em; font-weight: 600; }
.tile-p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 62ch; }
.demo-viz { margin-top: 20px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tile-a { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; align-self: flex-start; font-size: 13.5px; font-weight: 600; color: var(--fg-2); min-height: 44px; position: relative; z-index: 2; }
.tile-a .ic { width: 15px; height: 15px; color: var(--accent); transition: transform .2s var(--ease); }
.tile-a:hover { color: var(--accent); }
.tile-a:hover .ic { transform: translateX(3px); }
.demo-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); font-family: var(--fs-font-mono); line-height: 1.5; }
.b-pipe { grid-column: span 8; }
.b-sdp { grid-column: span 4; }
.b-qrng { grid-column: span 5; }
.b-pqc { grid-column: span 7; }
.b-wiring { grid-column: span 7; }
.b-itu { grid-column: span 5; }
.b-zt { grid-column: span 7; }
.b-cti { grid-column: span 5; }
.b-wips { grid-column: span 6; }
.b-stat { grid-column: span 6; }
.tile-t .dim { color: var(--muted); }
.tile-how { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 64ch; }
.tile-how span { display: inline-block; margin-right: 8px; font-family: var(--fs-font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); padding: 1px 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-2); vertical-align: 1px; }
.try-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.try-row .demo-note { margin: 0; flex: 1 1 200px; }
.try { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px; border-radius: 10px; border: 0; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--accent-fg); background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 86%, white), var(--accent)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 14px -6px color-mix(in oklab, var(--accent) 70%, transparent); transition: transform .15s var(--ease); }
.try + .try { background: var(--surface); color: var(--fg); box-shadow: 0 0 0 1px var(--line-2), var(--inner); }
.try svg { width: 13px; height: 13px; flex: none; }
.try:hover { transform: translateY(-1px); }
.try:active { transform: translateY(1px) scale(.98); }
.tile:not(.touched) .try:first-child::after { content: ""; position: absolute; inset: -3px; border-radius: 12px; box-shadow: 0 0 0 1px var(--accent); opacity: 0; animation: tryHint 2.4s 1s infinite; pointer-events: none; }
@keyframes tryHint { 0% { opacity: .9; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.08); } }

/* 7) 파이프라인 */
.pipe-btn { all: unset; box-sizing: border-box; display: block; width: 100%; height: 100%; cursor: pointer; }
.pipe-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.pipe-p { display: block; margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.pipe-s:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 50%, var(--line)); }
.pipe { --pp: 0; }
.pipe-rail { position: relative; height: 2px; margin: 6px 0 22px; background: var(--line-2); border-radius: 2px; }
.pipe-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--pp) * 100%); background: linear-gradient(90deg, var(--accent-deep), var(--accent)); border-radius: inherit; }
.pipe-dot { position: absolute; top: 50%; left: calc(var(--pp) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 16px var(--accent); }
.pipe-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pipe-s { padding: 14px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .35s, box-shadow .35s, transform .35s var(--ease); }
.pipe-s.on { background: var(--surface); box-shadow: inset 0 0 0 1px var(--accent), 0 8px 24px -12px color-mix(in oklab, var(--accent) 60%, transparent); transform: translateY(-2px); }
.pipe-n { font-family: var(--fs-font-mono); font-size: 11px; color: var(--muted); }
.pipe-s.done .pipe-n, .pipe-s.on .pipe-n { color: var(--accent); }
.pipe-s code { display: block; margin: 6px 0 6px; font-family: var(--fs-font-mono); font-size: 11.5px; color: var(--accent); letter-spacing: .02em; }
.pipe-s b { display: block; font-size: 15px; line-height: 1.35; letter-spacing: -.01em; }
.pipe-s p { margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.pipe-log { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: var(--term); color: var(--term-fg); box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--fs-font-mono); font-size: 12px; min-height: 40px; display: flex; align-items: center; overflow: hidden; }
.pipe-log code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipe-note { margin: 12px 0 0; font-size: 13px; color: var(--fg-2); font-weight: 500; }

/* 1) QRNG */
.q-wrap { display: flex; flex-direction: column; flex: 1; }
.q-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-family: var(--fs-font-mono); font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.q-ent b { color: var(--fg); font-weight: 500; font-size: 13px; font-variant-numeric: tabular-nums; }
.q-canvas { width: 100%; height: 110px; display: block; border-radius: 8px; }
.q-feed { display: flex; justify-content: center; gap: 4px; margin: 10px 0; }
.q-feed i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .3; }
.is-live .q-feed i { animation: feed 1.2s infinite; }
.q-feed i:nth-child(2) { animation-delay: .2s; } .q-feed i:nth-child(3) { animation-delay: .4s; }
@keyframes feed { 50% { opacity: 1; transform: translateY(3px); } }
.q-key { padding: 12px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.q-key-l { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); font-family: var(--fs-font-mono); margin-bottom: 8px; }
.q-key-l svg { width: 15px; height: 15px; color: var(--accent); }
.q-key code { display: flex; flex-wrap: wrap; gap: 2px 8px; font-family: var(--fs-font-mono); font-size: 12.5px; color: var(--fg-2); word-break: break-all; }
.q-key code .hl { color: var(--accent); background: none; -webkit-text-fill-color: currentColor; }

/* 2) PQC */
.pq { display: flex; flex-direction: column; flex: 1; }
.pq-row { display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; gap: 12px; }
.pq-node { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); min-width: 132px; transition: box-shadow .4s; }
.pq-dev { display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--muted); }
.pq-dev b { font-family: var(--fs-font-mono); color: var(--fg); font-size: 15px; font-weight: 500; }
.pq-ss small { display: block; font-size: 10.5px; color: var(--muted); font-family: var(--fs-font-mono); }
.pq-ss code { font-family: var(--fs-font-mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.pq.mb .pq-b .pq-ss code, .pq.ma .pq-a .pq-ss code { color: var(--ok); }
.pq.ma .pq-node { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ok) 60%, transparent); }
.pq-track { position: relative; height: 56px; }
.pq-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background-image: linear-gradient(90deg, var(--line-2) 50%, transparent 50%); background-size: 8px 1px; }
.pq-tunnel { position: absolute; left: 0; right: 0; top: 50%; height: 14px; margin-top: -7px; border-radius: 99px; background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 30%, transparent), color-mix(in oklab, var(--accent) 55%, transparent), color-mix(in oklab, var(--accent) 30%, transparent)); box-shadow: 0 0 22px color-mix(in oklab, var(--accent) 50%, transparent), inset 0 0 0 1px var(--accent); opacity: 0; transform: scaleX(.2); transition: opacity .5s, transform .6s var(--ease); }
.pq.tun .pq-tunnel { opacity: 1; transform: none; }
.pq-pkt { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: 0; transition: opacity .2s; }
.pq-pkt.on { opacity: 1; }
.pq-pkt i { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.pq-pkt.ct i { background: var(--warn); box-shadow: 0 0 14px var(--warn); }
.pq-pkt em { position: absolute; top: -22px; font-style: normal; font-family: var(--fs-font-mono); font-size: 11px; color: var(--fg-2); }
.pq-flow { position: absolute; inset: 50% 0 auto; height: 0; opacity: 0; transition: opacity .4s; }
.pq.tun .pq-flow { opacity: 1; }
.pq-flow i { position: absolute; top: -2px; width: 4px; height: 4px; border-radius: 1px; background: #fff; opacity: .9; animation: flow 1.8s linear infinite; }
.pq-flow i:nth-child(2n) { animation-direction: reverse; top: 1px; }
.pq-flow i:nth-child(2) { animation-delay: -.3s; } .pq-flow i:nth-child(3) { animation-delay: -.6s; } .pq-flow i:nth-child(4) { animation-delay: -.9s; } .pq-flow i:nth-child(5) { animation-delay: -1.2s; } .pq-flow i:nth-child(6) { animation-delay: -1.5s; }
@keyframes flow { from { left: 2%; } to { left: 97%; } }
.pq-lock { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; display: grid; place-items: center; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--accent); color: var(--accent); opacity: 0; transform: scale(.6); transition: opacity .3s .2s, transform .4s var(--ease) .2s; }
.pq-lock svg { width: 14px; height: 14px; }
.pq.tun .pq-lock { opacity: 1; transform: none; }
.pq-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.pq-steps li { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); padding: 6px 0; transition: color .3s; font-family: var(--fs-font-mono); font-size: 12px; }
.pq-steps li span { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 11px; }
.pq-steps li.done { color: var(--fg-2); }
.pq-steps li.done span { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.pq-steps li.on { color: var(--fg); }
.pq-steps li.on span { background: var(--accent); color: var(--accent-fg); box-shadow: none; }

/* 3) MFA */
.mfa { flex: 1; display: grid; place-items: center; padding: 6px 0; }
.mfa-card { width: 100%; max-width: 320px; border-radius: 16px; padding: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); display: flex; flex-direction: column; gap: 14px; transition: box-shadow .4s; }
.mfa.ok .mfa-card { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ok) 70%, transparent), 0 10px 30px -14px color-mix(in oklab, var(--ok) 60%, transparent); }
.mfa-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mfa-app { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fs-font-mono); font-size: 11px; color: var(--muted); }
.mfa-app svg { width: 13px; height: 13px; color: var(--accent); }
.mfa-state { font-family: var(--fs-font-mono); font-size: 11px; padding: 3px 8px; border-radius: 99px; background: var(--surface-3); color: var(--muted); }
.mfa-state[data-s=verifying] { background: var(--warn-soft); color: var(--warn); }
.mfa-state[data-s=ok] { background: var(--ok-soft); color: var(--ok); }
.mfa-req b { display: block; font-size: 16px; letter-spacing: -.01em; }
.mfa-req small { font-family: var(--fs-font-mono); font-size: 11.5px; color: var(--muted); }
.mfa-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 10px; background: var(--surface-3); }
.mfa-tabs button { min-height: 36px; border: 0; border-radius: 8px; background: none; cursor: pointer; font-family: var(--fs-font-mono); font-size: 12px; color: var(--muted); }
.mfa-tabs button[aria-pressed=true] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 0 0 1px var(--line); }
.mfa-pane { min-height: 92px; display: grid; }
.mfa-otp, .mfa-fido { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; transition: opacity .3s; }
.mfa[data-m=otp] .mfa-fido, .mfa[data-m=fido] .mfa-otp { opacity: 0; visibility: hidden; }
.mfa-hint { font-size: 12.5px; color: var(--muted); }
.mfa-otp { position: relative; }
.mfa-digits { display: flex; gap: 6px; }
.mfa-digits i { display: grid; place-items: center; width: 32px; height: 40px; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-style: normal; font-family: var(--fs-font-mono); font-size: 18px; transition: box-shadow .2s; }
.mfa-digits i.f { box-shadow: inset 0 0 0 1px var(--accent); }
.mfa-ring { position: absolute; right: 0; top: 0; width: 22px; height: 22px; transform: rotate(-90deg); }
.mfa-ring circle { fill: none; stroke: var(--line-2); stroke-width: 3; }
.mfa-ring .r { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: 0; }
.mfa-keyc { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--accent); }
.mfa-keyc svg { width: 26px; height: 26px; }
.mfa-pulse { position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 0 var(--accent); }
.mfa.touch .mfa-pulse { animation: pulse 1s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
.mfa-res { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line-2); }
.mfa-res svg { width: 16px; height: 16px; flex: none; color: var(--line-2); transition: color .3s; }
.mfa.ok .mfa-res { color: var(--fg); }
.mfa.ok .mfa-res svg { color: var(--ok); }

/* 4) GW Zero Trust */
.zt { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; padding: 6px 0; }
.zt-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.zt-wires .w { fill: none; stroke: var(--line-2); stroke-width: 1.5; transition: stroke .4s; }
.zt-wires .w-off { stroke-dasharray: 3 4; opacity: .7; }
.zt-wires .w.lit { stroke: var(--accent); stroke-width: 2; filter: drop-shadow(0 0 4px color-mix(in oklab, var(--accent) 70%, transparent)); }
.zt-wires .w.try { stroke: var(--bad); stroke-dasharray: 4 3; }
.zt-dot { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); transition: opacity .2s; }
.zt-dot.bad { fill: var(--bad); filter: drop-shadow(0 0 6px var(--bad)); }
.zt-col { position: relative; display: flex; flex-direction: column; gap: 10px; z-index: 1; min-width: 0; }
.zt-n { position: relative; padding: 10px 12px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); min-width: 0; }
.zt-n b { display: block; font-size: 12.5px; line-height: 1.35; font-weight: 600; }
.zt-n small { display: block; font-size: 11px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.zt-ic { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.zt-ic svg { width: 12px; height: 12px; }
.zt-u1 .zt-ic { background: var(--ok); color: #fff; }
.zt-u2 .zt-ic { background: var(--bad); color: #fff; }
.zt-gw, .zt-farm { background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 45%, var(--line-2)), var(--shadow); padding: 14px; }
.zt-gw b, .zt-farm b { color: var(--accent); font-family: var(--fs-font-mono); font-weight: 500; font-size: 12px; }
.zt-badge { position: absolute; left: 50%; top: -11px; transform: translateX(-50%) scale(.8); padding: 2px 8px; border-radius: 99px; background: var(--bad); color: #fff; font-family: var(--fs-font-mono); font-size: 10.5px; opacity: 0; transition: opacity .25s, transform .3s var(--ease); white-space: nowrap; }
.zt.blk .zt-badge { opacity: 1; transform: translateX(-50%) scale(1); }
.zt-svcs .zt-n { padding: 7px 10px; }
.zt-svc:not(.auth) { opacity: .55; box-shadow: inset 0 0 0 1px var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 6px, var(--surface-2) 6px 7px); }
.zt-svc.auth { transition: box-shadow .3s; }
.zt.s0on .zt-svc.auth { box-shadow: inset 0 0 0 1px var(--ok), 0 0 18px -6px var(--ok); }
.zt.s0on .zt-svc.auth small { color: var(--ok); }

/* 5) Throughput */
.tp { flex: 1; display: flex; flex-direction: column; }
.tp-g { position: relative; max-width: 360px; width: 100%; margin: 0 auto; }
.tp-g svg { display: block; width: 100%; height: auto; overflow: visible; }
.tp-ticks line { stroke: var(--line-2); stroke-width: 1; }
.tp-ticks line.maj { stroke: var(--muted); stroke-width: 1.5; }
.tp-bg { fill: none; stroke: var(--surface-3); stroke-width: 12; stroke-linecap: round; }
.tp-val { fill: none; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 8px color-mix(in oklab, var(--accent) 50%, transparent)); }
.tp-read { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.tp-read b { font-family: var(--fs-font-mono); font-size: clamp(32px, 4vw, 44px); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tp-read span { font-family: var(--fs-font-mono); font-size: 13px; color: var(--muted); }
.tp-scale { display: flex; justify-content: space-between; font-family: var(--fs-font-mono); font-size: 10.5px; color: var(--muted); margin-top: 6px; padding: 0 2%; }
.tp-cores { margin-top: 14px; }
.tp-cores small { font-family: var(--fs-font-mono); font-size: 11px; color: var(--muted); }
.tp-bars { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; height: 30px; margin-top: 8px; align-items: end; }
.tp-bars i { height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-deep)); transform-origin: bottom; transition: transform .18s linear; opacity: .85; }

/* 6) WIPS */
.wp { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.wp-radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 260px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, var(--surface-2), var(--surface)); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.wp-ring { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.wp-ring.r1 { inset: 16%; } .wp-ring.r2 { inset: 32%; } .wp-ring.r3 { inset: 46%; }
.wp-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in oklab, var(--accent) 40%, transparent), transparent 70deg); -webkit-mask: radial-gradient(circle, #000 70%, transparent 71%); mask: radial-gradient(circle, #000 70%, transparent 71%); }
.wp-sensor { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.wp-ap { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.wp-ap.rogue { background: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.wp-ap.rogue em { position: absolute; right: 14px; top: -6px; font-style: normal; font-family: var(--fs-font-mono); font-size: 10px; white-space: nowrap; color: var(--bad); }
.wp.rg .wp-ap.rogue { opacity: 1; transform: none; }
.wp.det .wp-ap.rogue { animation: pulseR 1s infinite; }
.wp.blk .wp-ap.rogue { animation: none; background: var(--muted); box-shadow: 0 0 0 3px var(--surface-3); }
.wp.blk .wp-ap.rogue::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 2px; margin-top: -1px; background: var(--bad); transform: rotate(-45deg); }
.wp.blk .wp-ap.rogue em { color: var(--muted); text-decoration: line-through; }
@keyframes pulseR { 50% { box-shadow: 0 0 0 9px var(--bad-soft); } }
.wp-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wp-timer { padding: 14px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.wp-timer small { width: 100%; font-family: var(--fs-font-mono); font-size: 11px; color: var(--muted); }
.wp-timer b { font-family: var(--fs-font-mono); font-size: 32px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wp-timer span { font-family: var(--fs-font-mono); color: var(--muted); }
.wp-under { margin-left: auto; font-style: normal; font-family: var(--fs-font-mono); font-size: 11px; padding: 3px 8px; border-radius: 99px; background: var(--surface-3); color: var(--muted); transition: background .3s, color .3s; }
.wp.blk .wp-under { background: var(--ok-soft); color: var(--ok); }
.wp.blk .wp-timer { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ok) 50%, transparent); }
.wp-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wp-log li { position: relative; padding-left: 18px; font-size: 13px; color: var(--muted); opacity: .45; transition: opacity .3s, color .3s; margin: 0; }
.wp-log li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.wp-log li.on { opacity: 1; color: var(--fg); }
.wp-log li.on::before { background: var(--bad); box-shadow: none; }
.wp-log li[data-l="2"].on::before { background: var(--ok); }
.wp-log small { display: block; font-family: var(--fs-font-mono); font-size: 11px; color: var(--muted); }
.wp-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 11.5px; color: var(--muted); }
.wp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.wp-legend i { width: 8px; height: 8px; border-radius: 50%; }
.lg-a { background: var(--ok); } .lg-r { background: var(--bad); }

/* 8) 99.22% */
.b-stat { background: linear-gradient(160deg, var(--surface) 40%, color-mix(in oklab, var(--accent) 6%, var(--surface))); }
.st { display: flex; flex-direction: column; flex: 1; }
.st-num { display: flex; align-items: baseline; gap: 4px; margin: 0; line-height: 1; }
.st-num b { font-family: var(--fs-font-mono); font-size: clamp(56px, 7vw, 96px); font-weight: 500; letter-spacing: -.06em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--fg), color-mix(in oklab, var(--fg) 55%, var(--accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-num span { font-family: var(--fs-font-mono); font-size: clamp(24px, 3vw, 36px); color: var(--accent); }
.st-l { margin: 10px 0 0; font-weight: 600; font-size: 16px; }
.st-src { margin: 6px 0 18px; font-family: var(--fs-font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }
.st .tile-t { font-size: 18px; }
.st-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--fg-2); font-size: 13.5px; line-height: 1.6; }
.st-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 0; }
.st-links a { color: var(--accent); font-weight: 600; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }


/* SDP 先인증 後접속 */
.sdp { flex: 1; display: flex; flex-direction: column; }
.sdp-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18px, .6fr) auto minmax(18px, .6fr) minmax(0, 1fr); align-items: center; }
.sdp-n { position: relative; padding: 10px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: box-shadow .35s, opacity .35s; }
.sdp-n b { font-size: 12.5px; line-height: 1.3; }
.sdp-ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--accent); }
.sdp-ic svg { width: 14px; height: 14px; }
.sdp-mfa { display: flex; gap: 4px; }
.sdp-mfa em { font-style: normal; font-family: var(--fs-font-mono); font-size: 10px; padding: 1px 5px; border-radius: 4px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.sdp[data-mode=otp] .sdp-mfa [data-m=otp], .sdp[data-mode=fido] .sdp-mfa [data-m=fido] { color: var(--accent-fg); background: var(--accent); box-shadow: none; }
.sdp-otp { font-family: var(--fs-font-mono); font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.sdp[data-ph="1"] .sdp-c { box-shadow: inset 0 0 0 1px var(--warn); }
.sdp[data-ph="1"] .sdp-otp { color: var(--warn); }
.sdp[data-ph="2"] .sdp-c, .sdp[data-ph="3"] .sdp-c, .sdp[data-ph="4"] .sdp-c { box-shadow: inset 0 0 0 1px var(--ok); }
.sdp[data-ph="2"] .sdp-otp, .sdp[data-ph="3"] .sdp-otp, .sdp[data-ph="4"] .sdp-otp { color: var(--ok); }
.sdp-s { opacity: .5; border: 1px dashed var(--line-2); box-shadow: none; }
.sdp[data-ph="3"] .sdp-s, .sdp[data-ph="4"] .sdp-s { opacity: 1; border-color: transparent; box-shadow: inset 0 0 0 1px var(--ok), 0 0 18px -6px var(--ok); }
.sdp-st { font-family: var(--fs-font-mono); font-size: 10.5px; color: var(--muted); }
.sdp[data-ph="5"] .sdp-st { color: var(--bad); }
.sdp-lane { position: relative; height: 40px; }
.sdp-wire { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.sdp[data-ph="4"] .sdp-wire { height: 6px; margin-top: -3px; border-radius: 6px; background: color-mix(in oklab, var(--accent) 40%, transparent); box-shadow: 0 0 10px color-mix(in oklab, var(--accent) 50%, transparent); }
.sdp-pkt { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); font-family: var(--fs-font-mono); font-size: 9px; font-weight: 500; padding: 2px 4px; border-radius: 4px; background: var(--accent); color: var(--accent-fg); opacity: 0; }
.sdp[data-ph="2"] .sdp-pkt { opacity: 1; }
.sdp-lane2 .sdp-pkt { display: none; }
.sdp-tls { position: absolute; inset: 50% 0 auto; opacity: 0; }
.sdp[data-ph="4"] .sdp-tls { opacity: 1; }
.sdp-tls i { position: absolute; top: -2px; width: 4px; height: 4px; border-radius: 1px; background: #fff; animation: flow 1.4s linear infinite; }
.sdp-tls i:nth-child(2) { animation-delay: -.35s; } .sdp-tls i:nth-child(3) { animation-delay: -.7s; } .sdp-tls i:nth-child(4) { animation-delay: -1.05s; }
.sdp-gate { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sdp-gate small { font-family: var(--fs-font-mono); font-size: 9.5px; color: var(--muted); white-space: nowrap; }
.sdp-bar { width: 10px; height: 52px; border-radius: 4px; background: repeating-linear-gradient(180deg, var(--bad) 0 6px, color-mix(in oklab, var(--bad) 30%, transparent) 6px 10px); transform-origin: top; transition: transform .45s var(--ease), background .3s; }
.sdp[data-ph="3"] .sdp-bar, .sdp[data-ph="4"] .sdp-bar { transform: scaleY(.18); background: var(--ok); }
.sdp-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.sdp-steps li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); padding: 3px 0; margin: 0; }
.sdp-steps li span { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--fs-font-mono); font-size: 10.5px; }
.sdp-steps li.done { color: var(--fg-2); } .sdp-steps li.done span { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.sdp-steps li.on { color: var(--fg); font-weight: 600; } .sdp-steps li.on span { background: var(--accent); color: var(--accent-fg); box-shadow: none; }
.sdp-mode { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-3); }
.sdp-mode button { min-height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: none; cursor: pointer; font-family: var(--fs-font-mono); font-size: 11.5px; color: var(--muted); }
.sdp-mode button[aria-pressed=true] { background: var(--surface); color: var(--fg); box-shadow: 0 0 0 1px var(--line); }

/* Virtual Wiring */
.vw { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.vw-ten { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vw-ten small, .vw-lib small { font-family: var(--fs-font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.vw-ten button { min-height: 34px; padding: 0 10px; border-radius: 8px; border: 0; cursor: pointer; font-family: var(--fs-font-mono); font-size: 11.5px; background: var(--surface-2); color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line); }
.vw-ten button[aria-pressed=true] { background: var(--fg); color: var(--bg); box-shadow: none; }
.vw-stage { position: relative; flex: 1; display: flex; align-items: center; padding: 24px 14px 20px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 16px 16px; }
.vw-chain { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.vw-chain li { position: relative; margin: 0; }
.vw-chain li + li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 22px; height: 1px; background: var(--line-2); }
.vw-chain .io { font-family: var(--fs-font-mono); font-size: 11px; color: var(--muted); padding: 8px 6px; }
.vw-chain button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 8px; border-radius: 10px; border: 0; cursor: pointer; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); font-family: var(--fs-font-mono); font-size: 12.5px; color: var(--fg); transition: box-shadow .2s, transform .2s var(--ease); }
.vw-chain button span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--surface-3); font-size: 10.5px; color: var(--muted); }
.vw-chain button:hover { box-shadow: inset 0 0 0 1px var(--bad), var(--shadow); }
.vw-chain li.on button { box-shadow: inset 0 0 0 1px var(--accent), 0 0 18px -4px color-mix(in oklab, var(--accent) 70%, transparent); transform: translateY(-1px); }
.vw-chain li.on button span { background: var(--accent); color: var(--accent-fg); }
.vw-chain li.on.io { color: var(--accent); }
.vw-pkt { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 0 12px var(--accent); pointer-events: none; z-index: 2; opacity: .9; }
.vw-fns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vw-fns button { min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px dashed var(--line-2); background: none; cursor: pointer; font-family: var(--fs-font-mono); font-size: 12px; color: var(--fg-2); }
.vw-fns button:hover:not(:disabled) { border-style: solid; border-color: var(--accent); color: var(--accent); }
.vw-fns button:disabled { opacity: .35; cursor: default; }
.vw .demo-note { margin: 0; }

/* ITU 노드 */
.tp-nodes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.tp-node { padding: 10px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.tp-nh { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; }
.tp-nh em { font-style: normal; font-family: var(--fs-font-mono); font-size: 10.5px; color: var(--ok); }
.tp .tp-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; height: 26px; margin-top: 8px; align-items: end; }
.tp.failed .tp-node[data-n="1"] { box-shadow: inset 0 0 0 1px var(--bad); }
.tp.failed .tp-node[data-n="1"] em { color: var(--bad); }
.tp.failed .tp-node[data-n="2"] { box-shadow: inset 0 0 0 1px var(--ok), 0 0 18px -8px var(--ok); }
.tp-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 12px 0 0; font-size: 12.5px; min-height: 20px; }
.tp-up small { font-family: var(--fs-font-mono); font-size: 10.5px; color: var(--muted); }
.tp-up b { font-family: var(--fs-font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.tp-msg { color: var(--ok); font-weight: 500; }
.tp.patching .tp-msg { color: var(--warn); }
.tp.patching .tp-g { animation: patchPulse .6s ease-in-out infinite alternate; }
@keyframes patchPulse { to { filter: drop-shadow(0 0 10px color-mix(in oklab, var(--warn) 60%, transparent)); } }

/* CTI */
.ct { flex: 1; display: flex; flex-direction: column; }
.ct-nums { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.ct-nums div { background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column-reverse; gap: 2px; }
.ct-nums dt { font-size: 12px; color: var(--muted); }
.ct-nums dd { margin: 0; }
.ct-nums b { font-family: var(--fs-font-mono); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ct-reg { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.ct-reg span { font-size: 12px; padding: 3px 9px; border-radius: 99px; background: var(--bad-soft); color: var(--bad); }
.ct-q { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--term); color: var(--term-fg); box-shadow: inset 0 0 0 1px var(--line-2); min-height: 64px; }
.ct-ip { font-family: var(--fs-font-mono); font-size: 12.5px; }
.ct-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.ct-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.ct.scan .ct-bar i { width: 100%; transition: width 1.2s linear; }
.ct.hit .ct-bar i { width: 100%; background: var(--bad); }
.ct-res { grid-column: 1 / -1; font-size: 12.5px; font-weight: 500; min-height: 1.4em; }
.ct.hit .ct-res { color: #ff8a78; }

/* 파인더 */
.fd-box { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.fd-box .sh-t { font-size: clamp(28px, 3.4vw, 42px); }
.fd-opts { display: grid; gap: 6px; margin-top: 24px; }
.fd-opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 12px; border: 0; cursor: pointer; text-align: left; font-size: 15.5px; font-weight: 500; background: var(--surface-2); color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, box-shadow .15s; }
.fd-opt:hover { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); }
.fd-opt[aria-checked=true] { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--accent), 0 6px 20px -10px color-mix(in oklab, var(--accent) 60%, transparent); }
.fd-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--accent); }
.fd-opt[aria-checked=true] .fd-ic { background: var(--accent); color: var(--accent-fg); box-shadow: none; }
.fd-ic .ic { width: 16px; height: 16px; }
.fd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fd-item { margin: 0; animation: fdIn .45s var(--ease) both; animation-delay: var(--d); }
@keyframes fdIn { from { opacity: 0; transform: translateY(8px); } }
.fd-item a { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.fd-item a:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.fd-rank { font-family: var(--fs-font-mono); font-size: 12px; color: var(--muted); padding-top: 10px; }
.fd-pic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--accent); }
.fd-body b { display: block; font-size: 16.5px; letter-spacing: -.015em; }
.fd-body small { display: block; color: var(--accent); font-size: 13.5px; font-weight: 500; }
.fd-body ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.fd-body li { position: relative; padding-left: 16px; font-size: 14px; color: var(--fg-2); margin: 0; line-height: 1.55; }
.fd-body li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); opacity: .7; }
.fd-go { color: var(--muted); padding-top: 10px; }
.fd-item a:hover .fd-go { color: var(--accent); }
.q-key.flash { animation: keyFlash .6s var(--ease); }
@keyframes keyFlash { from { box-shadow: inset 0 0 0 1px var(--accent), 0 0 24px -4px var(--accent); } }

/* 제품 라인업 */
.ln-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 9px; border: 0; background: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .15s, color .15s; }
.chip span { font-family: var(--fs-font-mono); font-size: 11px; opacity: .7; }
.chip:hover { color: var(--fg); }
.chip[aria-pressed=true] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--line-2); }
.ln-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.pc[hidden] { display: none; }
.pc a { position: relative; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--inner); transition: box-shadow .25s, transform .25s var(--ease); }
.pc a:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 55%, var(--line)), var(--shadow); }
.pc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--accent); }
.pc a:hover .pc-ic { background: var(--accent); color: var(--accent-fg); box-shadow: none; }
.pc-short { font-family: var(--fs-font-mono); font-size: 12px; color: var(--muted); }
.pc-name { font-weight: 650; font-size: 17px; letter-spacing: -.02em; line-height: 1.3; }
.pc-title { font-size: 14px; color: var(--accent); font-weight: 500; }
.pc-desc { font-size: 14px; color: var(--muted); line-height: 1.65; flex: 1; margin-top: 4px; }
.pc-tag { font-family: var(--fs-font-mono); font-size: 11px; color: var(--fg-2); padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); }
.pc-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--fg-2); }
.pc-more .ic { width: 14px; height: 14px; color: var(--accent); }

/* 헤리티지 */
.hr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hr-copy .sh-t { font-size: clamp(28px, 3.6vw, 46px); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.fact { background: var(--surface); padding: 22px; display: flex; flex-direction: column-reverse; gap: 8px; }
.fact dd { margin: 0; font-family: var(--fs-font-mono); font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; color: var(--fg); }
.fact dt { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.line { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 28px 0 0; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); position: relative; }
.line::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, var(--accent-2)); border-radius: 2px; }
.line li { position: relative; padding-right: 16px; margin: 0; }
.line li::before { content: ""; position: absolute; left: 0; top: -34px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--accent); }
.line li:first-child::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.line li:last-child::before { background: var(--accent-2); box-shadow: 0 0 0 5px var(--accent-soft); }
.line b { display: block; font-family: var(--fs-font-mono); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; }
.line li:first-child b { font-size: clamp(40px, 5vw, 64px); color: var(--accent); line-height: 1; }
.line span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 28ch; }
.hr-hist { margin: 20px 0 0; }

/* 뉴스룸 */
.newsroom .sh { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.newsroom .sh .eb { grid-column: 1 / -1; }
.newsroom .sh-more { grid-row: 2; grid-column: 2; margin: 0; }
.nw-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 12px; }
.nw a { height: 100%; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
.nw a:hover { box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 50%, var(--line)), var(--shadow); transform: translateY(-2px); }
.nw-th { display: block; aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.nw-th img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.nw a:hover .nw-th img { transform: scale(1.04); }
.nw-ph { display: grid; place-items: center; height: 100%; }
.nw-ph .mark { width: 36px; height: 36px; opacity: .4; }
.nw-b { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.nw-b time { font-family: var(--fs-font-mono); font-size: 11.5px; color: var(--muted); }
.nw-b b { font-size: 15px; line-height: 1.45; font-weight: 600; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-lead { grid-column: span 2; grid-row: span 2; }
.nw-lead .nw-b { padding: 20px 22px 24px; }
.nw-lead .nw-b b { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; }
.nw-ex { font-size: 14px; color: var(--muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.press { margin-top: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); padding: 6px 20px; }
.press-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.press-h h3 { margin: 0; font-size: 16px; font-weight: 600; }
.press ul { list-style: none; margin: 0; padding: 0; }
.press li + li { border-top: 1px solid var(--line); }
.press li a { display: grid; grid-template-columns: 100px minmax(0, 1fr) 18px; gap: 16px; align-items: center; padding: 14px 0; min-height: 52px; }
.press time { font-family: var(--fs-font-mono); font-size: 12px; color: var(--muted); }
.press b { font-weight: 500; font-size: 15px; }
.press li a .ic { width: 16px; height: 16px; color: var(--muted); transition: transform .2s, color .2s; }
.press li a:hover b { color: var(--accent); }
.press li a:hover .ic { color: var(--accent); transform: translateX(3px); }

/* 다운로드 */
.dl-box { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.dl-box .sh-t { font-size: clamp(26px, 3vw, 38px); }
.dl-box .btn { margin-top: 22px; }
.dl-covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.dl-covers a { display: flex; flex-direction: column; gap: 6px; }
.dl-cv { display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); transition: transform .3s var(--ease); }
.dl-cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-covers a:hover .dl-cv { transform: translateY(-4px) rotate(-1deg); }
.dl-covers b { font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.dl-covers small { font-family: var(--fs-font-mono); font-size: 11px; color: var(--muted); }

/* CTA */
.cta { padding-bottom: clamp(72px, 10vw, 140px); }
.cta-box { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 72px); background: #071019; color: #eef4fa; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), var(--shadow-lg); }
.cta-box .sh-l { color: #a8b6c6; }
.cta-box > .mark { width: 34px; height: 34px; color: #45b9ee; margin-bottom: 24px; }
.cta-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(50% 70% at 90% 100%, rgba(69, 185, 238, .35), transparent 70%), radial-gradient(40% 60% at 0% 0%, rgba(0, 86, 128, .5), transparent 70%),
  linear-gradient(rgba(140, 180, 220, .06) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(140, 180, 220, .06) 1px, transparent 1px) 0 0 / 40px 40px; }
.cta-box > *:not(.cta-glow) { position: relative; }
.cta-t { margin: 0; font-size: clamp(32px, 5vw, 64px); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; }
.cta-box .hl { background: linear-gradient(100deg, #45b9ee, #9ee0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-box .btn-primary { --accent: #45b9ee; --accent-fg: #03131d; }
.cta-box .btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #eef4fa; box-shadow: none; }

/* 리빌 */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ================= 하위 페이지: 문서형 3단 ================= */
.ph { position: relative; padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.ph .fs-crumbs { font-family: var(--fs-font-mono); font-size: 12px; margin-bottom: 18px; }
.ph .fs-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11.5px; }
.ph .fs-eyebrow em { font-style: normal; padding: 1px 8px; border-radius: 99px; background: var(--accent-soft); letter-spacing: 0; }
.ph .fs-page-title { font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.ph-article .fs-page-title { font-size: clamp(24px, 3.2vw, 38px); }
.ph .fs-page-lead { color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); max-width: 70ch; }
.ph-article .fs-page-lead { font-family: var(--fs-font-mono); font-size: 13px; }

.docs { --side-w: 248px; --toc-w: 220px; }
.docs-side.empty { display: none; }
.ds-in { padding: 28px 0; }
.ds-k { font-family: var(--fs-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; padding: 0 10px; }
.docs-side ul { list-style: none; margin: 0; padding: 0; }
.docs-side li { margin: 0; }
.docs-side a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--fg-2); line-height: 1.4; }
.docs-side a:hover { background: var(--surface-2); color: var(--fg); }
.docs-side a[aria-current=page] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.docs-side li ul { margin: 2px 0 6px 14px; padding-left: 8px; border-left: 1px solid var(--line-2); }
.docs-side li ul a { font-size: 13px; color: var(--muted); padding: 5px 10px; }
.ds-search { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 20px; min-height: 40px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-size: 13px; cursor: pointer; }
.ds-search kbd { margin-left: auto; }
.ds-search .ic { width: 15px; height: 15px; }
.toc-in { padding: 28px 0; }
.toc-k { font-family: var(--fs-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc-tg { display: none; }
.toc-l { list-style: none; margin: 0 0 24px; padding: 0; border-left: 1px solid var(--line-2); }
.toc-l li { margin: 0; }
.toc-l a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: 13px; color: var(--muted); line-height: 1.45; }
.toc-l .l3 a { padding-left: 26px; font-size: 12.5px; }
.toc-l a:hover { color: var(--fg); }
.toc-l a.on { color: var(--accent); border-left-color: var(--accent); }
.toc-help { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13px; }
.toc-help b { font-size: 14px; }
.toc-help span { font-family: var(--fs-font-mono); font-size: 12px; color: var(--muted); }
.toc-help .btn { align-self: flex-start; margin-top: 4px; }
.toc-top { border: 0; background: none; padding: 6px 0 0; text-align: left; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.toc-top:hover { color: var(--accent); }

@media (min-width: 1180px) {
  .docs { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr) var(--toc-w); column-gap: 40px; max-width: 1480px; margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-left, 0px)); align-items: start; }
  .docs > .fs-subnav { display: none; }
  .docs > .docs-side { grid-column: 1; grid-row: 1 / span 3; align-self: stretch; border-right: 1px solid var(--line); padding-right: 16px; }
  .docs > .docs-side .ds-in, .docs > .docs-toc .toc-in { position: sticky; top: var(--fs-header-h); max-height: calc(100vh - var(--fs-header-h)); overflow-y: auto; scrollbar-width: thin; }
  .docs > .ph { grid-column: 2; grid-row: 1; }
  .docs > .docs-content { grid-column: 2; grid-row: 2; }
  .docs > .docs-toc { grid-column: 3; grid-row: 1 / span 3; align-self: stretch; }
  .docs .ph .fs-wrap, .docs > .docs-content { max-width: none; padding-left: 0; padding-right: 0; }
  .docs > .fs-article-wrap { max-width: 860px; }
  .docs .fs-legacy .sub-tab-menu, .docs .fs-legacy .prod-tab-menu, .docs .fs-legacy .his-tab-menu { top: var(--fs-header-h); }
  .docs .docs-side.empty + * { grid-column: 1 / 3; }
  .docs:has(.docs-side.empty) > .ph, .docs:has(.docs-side.empty) > .docs-content { grid-column: 1 / 3; }
}
@media (max-width: 1179.98px) {
  .docs-side { display: none; }
  .docs-toc { max-width: var(--fs-wrap); margin: 0 auto; padding: 16px var(--fs-gutter-r) 0 var(--fs-gutter); }
  .docs-toc .toc-in { padding: 0; }
  .docs-toc .toc-k, .docs-toc .toc-help { display: none; }
  .docs-toc.no-toc { display: none; }
  .toc-tg { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 500; }
  .toc-tg svg { width: 10px; height: 6px; transition: transform .2s; }
  .toc-tg[aria-expanded=true] svg { transform: rotate(180deg); }
  .toc-l { display: none; margin: 8px 0 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
  .docs-toc.open .toc-l { display: block; }
  .toc-l a { border-left: 0; padding: 9px 4px; }
  .toc-l .l3 a { padding-left: 18px; }
}

/* 공통 하위 메뉴 재정의 */
.fs-subnav { top: calc(var(--fs-header-h) - 2px); background: color-mix(in oklab, var(--bg) 88%, transparent); }
.fs-subnav a[aria-current="page"] { background: var(--fg); color: var(--bg); }

/* ---------- 원본 콘텐츠 재정리 ---------- */
.fs-legacy-wrap { padding-top: clamp(24px, 3.5vw, 40px); }
.fs-legacy { color: var(--fg-2); font-size: 15.5px; line-height: 1.75; }
.fs-legacy h3, .fs-legacy .doc-title { font-weight: 600; letter-spacing: -.03em; font-size: clamp(22px, 2.4vw, 30px); padding-top: 4px; }
.fs-legacy h4, .fs-legacy .doc-tit { font-weight: 600; font-size: clamp(17px, 1.6vw, 19px); display: flex; align-items: center; gap: 10px; }
.fs-legacy h4::before, .fs-legacy .doc-tit::before { content: ""; width: 3px; height: 1em; border-radius: 2px; background: var(--accent); flex: none; }
.fs-legacy .tit { color: var(--fg); letter-spacing: -.015em; }
.fs-legacy .section { padding-top: clamp(28px, 4vw, 44px); }
.fs-legacy .sub-tab-menu, .fs-legacy .prod-tab-menu, .fs-legacy .his-tab-menu { margin-top: 28px; }
.fs-legacy .sub-tab-menu a { border-radius: 8px; background: var(--surface); font-family: var(--fs-font-body); font-size: 13.5px; color: var(--fg-2); min-height: 36px; display: flex; align-items: center; }
.fs-legacy .prod-head { padding: clamp(18px, 3vw, 32px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.fs-legacy .prod-head .cnt { color: var(--fg-2); }
.fs-legacy .prod-img-txt { margin-top: 24px; }
.fs-legacy .prod-img-txt .tit { letter-spacing: -.025em; }
.fs-legacy .prod-img-txt .txt li { font-size: 14.5px; background: var(--surface); box-shadow: var(--inner); }
.fs-legacy .arc-cnt li, .fs-legacy .service-cnt li, .fs-legacy .business-area li { border-radius: 12px; box-shadow: var(--inner); }
.fs-legacy .arc-cnt .info { font-size: 14px; }
.fs-table-scroll { border-radius: 12px; box-shadow: var(--shadow); }
.fs-legacy table { font-size: 13.5px; }
.fs-legacy th { font-family: var(--fs-font-body); font-size: 12.5px; letter-spacing: .01em; color: var(--fg); }
.fs-legacy td { color: var(--fg-2); }
.fs-legacy tbody tr:hover td { background: var(--surface-2); }
.fs-legacy .pic img, .fs-legacy .img img, .fs-legacy p > img, .fs-legacy .group > p > img { box-shadow: 0 0 0 1px var(--line); }
/* 무선: 제품소개 카드 */
.fs-legacy .prod-intro > ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.fs-legacy .prod-intro > ul > li { margin: 0; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.fs-legacy .prod-intro .cnt-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.fs-legacy .prod-intro .cnt .img img { background: var(--fs-plate); padding: 8px; border-radius: 10px; }
.fs-legacy .prod-intro .name { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.fs-legacy .dot-list, .fs-legacy .dot-list ul { list-style: none; padding: 0; margin: 0; }
.fs-legacy .wireless-img { margin-top: 24px; }
/* 연혁 */
.fs-legacy .history-head { padding: 0 0 8px; }
.fs-legacy .history-head .top { font-family: var(--fs-font-mono); font-size: 12px; letter-spacing: .06em; color: var(--accent); }
.fs-legacy .history .row { position: relative; padding: 24px 0 24px 0; border-top: 1px solid var(--line); }
.fs-legacy .history .col { grid-template-columns: minmax(80px, 140px) minmax(0, 1fr); }
.fs-legacy .history .year { font-family: var(--fs-font-mono); font-weight: 500; letter-spacing: -.04em; font-size: clamp(26px, 3vw, 36px); }
.fs-legacy .history li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.fs-legacy .history li:last-child { border-bottom: 0; }
.fs-legacy .history .month { font-family: var(--fs-font-mono); font-size: 13px; padding-top: 2px; }
/* 상담 */
.fs-legacy .pro-support > ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; grid-column: 1 / -1; }
.fs-legacy .pro-support > ul > li { margin: 0; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--inner); display: flex; flex-direction: column; gap: 10px; }
.fs-legacy .pro-support .icon-wrap { display: flex; gap: 12px; align-items: flex-start; }
.fs-legacy .pro-support .icon-wrap .icon img { width: 40px; height: 40px; object-fit: contain; }
.fs-legacy .pro-support dl { margin: 0; }
.fs-legacy .pro-support dt { font-weight: 700; color: var(--fg); font-size: 16px; }
.fs-legacy .pro-support dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.fs-legacy .pro-support .col { padding-top: 10px; border-top: 1px solid var(--line); }
.fs-legacy .pro-support .col + .col { padding-top: 0; border-top: 0; }
.fs-legacy .pro-support .icon1, .fs-legacy .pro-support .icon2, .fs-legacy .pro-support-box .icon1, .fs-legacy .pro-support-box .icon2, .fs-legacy .pro-support-box i { display: none; }
.fs-legacy .tel, .fs-legacy .mail { color: var(--fg); }
.fs-legacy .tel .bar { display: inline-block; width: 1px; height: 10px; background: var(--line-2); margin: 0 6px; }
.fs-legacy .tel .txt { font-family: var(--fs-font-body); color: var(--muted); font-size: 12.5px; }
.fs-legacy .pro-support-box > ul { list-style: none; padding: 0; margin: 0; display: contents; }
.fs-legacy .pro-support-box > ul > li { margin: 0; }
.fs-legacy .pro-support-box .box { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 8px; }
.fs-legacy .pro-support-box .doc-title { font-size: 20px; margin-bottom: 12px; }

/* 게시판 · 기사 · 다운로드 */
.fs-board .fs-posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.fs-post a { border: 0; box-shadow: 0 0 0 1px var(--line); border-radius: var(--r-lg); }
.fs-post a:hover { box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 50%, var(--line)), var(--shadow); }
.fs-post-title { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.fs-pager a { border-radius: 9px; font-family: var(--fs-font-mono); font-size: 13px; min-width: 44px; height: 44px; }
.fs-pager a[aria-current="page"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.fs-board-count { font-family: var(--fs-font-mono); font-size: 12.5px; }
.fs-article { font-size: 16.5px; color: var(--fg-2); }
.fs-article-list { border-radius: 9px; }
.fs-article-nav a:not(.fs-article-list) { padding: 12px 14px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.fs-dl { border: 0; box-shadow: 0 0 0 1px var(--line); border-radius: var(--r-lg); grid-template-columns: 96px minmax(0, 1fr); }
.fs-dl-body strong { font-size: 17px; letter-spacing: -.015em; }
.fs-dl-file { border-radius: 8px; min-height: 40px; background: var(--surface-2); border-color: transparent; }
.fs-dl-file:hover { border-color: var(--accent); }
.fs-files { border: 0; box-shadow: 0 0 0 1px var(--line); }

/* ================= 반응형 ================= */
@media (max-width: 1180px) {
  .topnav .tn-btn { padding: 0 9px; font-size: 14px; }
  .srch { min-width: 0; }
  .srch span, .srch kbd { display: none; }
  .b-pipe { grid-column: span 12; }
  .b-sdp { grid-column: span 6; } .b-qrng { grid-column: span 6; }
  .b-pqc { grid-column: span 12; }
  .b-wiring { grid-column: span 12; }
  .b-itu { grid-column: span 6; } .b-cti { grid-column: span 6; }
  .b-zt { grid-column: span 12; }
  .b-wips { grid-column: span 12; } .b-stat { grid-column: span 12; }
  .fd-box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  :root { --fs-header-h: 68px; }
  .island { height: 48px; padding: 0 4px 0 12px; }
  .topnav, .isl-cta, .isl-act .lang, .isl-act > .thm { display: none; }
  .isl-act { margin-left: auto; }
  .burger { display: inline-grid; width: 44px; height: 44px; }
  .srch { width: 44px; height: 44px; padding: 0; justify-content: center; border: 0; background: none; box-shadow: none; color: var(--fg-2); }
  .srch .ic { width: 18px; height: 18px; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .pl-grid { grid-template-columns: 1fr; }
  .pl + .pl { border-left: 0; border-top: 1px solid var(--line); }
  .hr-grid { grid-template-columns: 1fr; }
  .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nw-lead { grid-row: auto; }
  .dl-box { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .ft-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cw-body { grid-template-columns: 1fr; }
  .cw-side { display: none; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bento > .tile { grid-column: auto; }
  .tile { border-radius: 18px; }
  .pipe-steps { grid-template-columns: 1fr; gap: 8px; }
  .pipe-rail { display: none; }
  .pipe-s { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; }
  .pipe-s > * { grid-column: 2; }
  .pipe-s .pipe-n { grid-column: 1; grid-row: 1 / span 4; padding-top: 1px; }
  .pipe-s code { margin-top: 0; }
  .cw-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .cw-kpi { padding: 10px; grid-template-columns: 1fr; }
  .cw-kpi b { font-size: 17px; }
  .cw-kpi small { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cw-grid { grid-template-columns: 1fr; }
  .cw-vulns li { grid-template-columns: 40px minmax(0, 1fr) 64px; }
  .cw-vulns .v-t { display: none; }
  .cw-vulns li:nth-child(n+4) { display: none; }
  .cw-body { min-height: 0; }
  .cw-main { padding: 12px; }
  .cw-type { min-height: 168px; font-size: 11px; }
  .cw-traffic > span { display: none; }
  .cw-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .cw-title { font-size: 11px; text-align: left; }
  .hero-motto { flex-direction: column; }
  .nw-grid { grid-template-columns: 1fr; }
  .nw-lead { grid-column: auto; }
  .nw:not(.nw-lead) a { flex-direction: row; }
  .nw:not(.nw-lead) .nw-th { width: 112px; flex: none; aspect-ratio: auto; min-height: 84px; }
  .nw:not(.nw-lead) .nw-b { padding: 12px 14px; }
  .nw:not(.nw-lead) .nw-b b { font-size: 14px; -webkit-line-clamp: 3; }
  .newsroom .sh { grid-template-columns: 1fr; }
  .newsroom .sh-more { grid-row: auto; grid-column: auto; margin-top: 10px; }
  .press li a { grid-template-columns: minmax(0, 1fr) 18px; gap: 4px 12px; }
  .press time { grid-column: 1; }
  .press b { grid-column: 1; }
  .press li a .ic { grid-column: 2; grid-row: 1 / span 2; }
  .dl-covers { grid-template-columns: repeat(5, 132px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: calc(-1 * var(--fs-gutter-r)); padding-right: var(--fs-gutter-r); scrollbar-width: none; }
  .dl-covers li { scroll-snap-align: start; }
  .line { grid-template-columns: 1fr; gap: 22px; padding: 0 0 0 28px; }
  .line::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent-deep), var(--accent-2)); }
  .line li::before { left: -28px; top: 6px; }
  .line li:first-child::before { top: 18px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 16px; }
  .ln-bar { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--fs-gutter-r)); border-radius: 12px 0 0 12px; }
  .chip { flex: none; }
  .ln-grid { grid-template-columns: 1fr; }
  .ft-map { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .wp { grid-template-columns: 1fr; }
  .fd-opts { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--fs-gutter-r)); padding-right: var(--fs-gutter-r); }
  .fd-opt { flex: none; min-height: 48px; }
  .fd-item a { grid-template-columns: auto minmax(0, 1fr); padding: 14px; gap: 12px; }
  .fd-rank, .fd-go { display: none; }
  .wp-radar { max-width: 220px; }
  .cta-box { border-radius: 20px; }
  .hero-cta .btn { flex: 1 1 auto; }
}
@container (max-width: 520px) {
  .zt { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .zt-users { grid-column: 1 / -1; flex-direction: row; }
  .zt-users .zt-n { flex: 1; }
  .zt > .zt-col:nth-of-type(2), .zt > .zt-col:nth-of-type(3) { grid-column: 1 / -1; padding: 0 12%; }
  .zt-svcs { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .pq-row { grid-template-columns: minmax(0, 1fr) minmax(44px, .5fr) minmax(0, 1fr); gap: 8px; }
  .pq-node { min-width: 0; padding: 10px; }
  .pq-ss code { font-size: 11.5px; }
  .sdp-row { grid-template-columns: minmax(0, 1fr) 14px auto 14px minmax(0, 1fr); }
  .sdp-gate small { display: none; }
  .pq-steps { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero-t { font-size: clamp(36px, 10.4vw, 44px); }
  .mfa-digits i { width: 28px; height: 36px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
}
.fs-legacy .tit br, .fs-legacy .cnt br, .fs-legacy .txt br, .fs-legacy .info br { display: none; }
/* 히어로: 제목은 전체 폭, 리드·CTA는 아래 두 열 */
.hero-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 36px); }
.hero-side { display: grid; grid-template-columns: minmax(0, 620px) auto; justify-content: space-between; align-items: end; gap: 12px 48px; }
.hero-side .hero-lead { grid-row: 1 / span 2; }
.hero-side .hero-cta { margin-top: 0; justify-content: flex-end; }
.hero-side .film-btn { margin-top: 0; justify-self: end; }
@media (max-width: 960px) {
  .hero-side { grid-template-columns: minmax(0, 1fr); }
  .hero-side .hero-lead { grid-row: auto; }
  .hero-side .hero-cta { justify-content: flex-start; margin-top: 8px; }
  .hero-side .film-btn { justify-self: start; }
}
