/* BlueRoboWorks site — tokens.css(brw-brand) 위에 얹는다. 새 색을 만들지 않는다. */

:root {
  --maxw: 1440px;
  --gut: clamp(16px, 4vw, 56px);
  --hdr: 68px;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 6px;
}
/* JetBrains Mono엔 한글·가나·한자가 없다 — 폴백이 고정폭 CJK로 떨어지지 않게 본문 서체를 끼운다 */
html:lang(ko) { --mono: "JetBrains Mono", "Pretendard Variable", "Pretendard", ui-monospace, Menlo, monospace; }
html:lang(ja) {
  --sans: "Pretendard Variable", "Pretendard", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Noto Sans JP", "Hiragino Sans", ui-monospace, monospace;
}
html:lang(zh-CN) {
  --sans: "Pretendard Variable", "Pretendard", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Noto Sans SC", "PingFang SC", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--plane); scroll-behavior: smooth; scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--plane); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; transition: background-color .4s, color .4s;
}
html:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }
html:lang(ja) body { line-break: strict; }
::selection { background: var(--acc); color: #fff; }
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); }
.dim { color: var(--ink3); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--plane); padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ── progress · header ───────────────────────── */
.prog { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; background: var(--acc); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hdr); transition: transform .6s var(--ease), background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hdr.scrolled {
  background: color-mix(in srgb, var(--plane) 80%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--rule);
}
.hdr.hide { transform: translateY(-100%); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; flex-shrink: 0; }
.wm { font-weight: 700; letter-spacing: -.01em; font-size: 19px; }
.wm b, .nm b, .ft-wm b { color: var(--acc); font-weight: inherit; }
.brand .ds { font-size: 10.5px; color: var(--ink3); letter-spacing: .02em; }
nav.main { margin-left: auto; display: flex; gap: 22px; }
nav.main a { font-size: 13.5px; color: var(--ink2); text-decoration: none; position: relative; padding: 4px 0; transition: color .2s; }
nav.main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
nav.main a:hover, nav.main a.act { color: var(--ink); }
nav.main a:hover::after, nav.main a.act::after { transform: scaleX(1); transform-origin: 0 50%; }
.tools { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.lang { display: flex; border: 1px solid var(--rule2); border-radius: 999px; padding: 2px; background: color-mix(in srgb, var(--plane) 60%, transparent); }
.lang a { font-family: var(--mono); font-size: 11px; padding: 5px 9px; border-radius: 999px; white-space: nowrap; text-decoration: none; color: var(--ink3); transition: color .2s, background-color .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--ink); color: var(--plane); }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule2); background: color-mix(in srgb, var(--plane) 60%, transparent); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .5s var(--ease); }
.icon-btn:hover { border-color: var(--ink3); }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme-btn .i-sun { display: none; }
[data-scheme="dark"] .theme-btn .i-sun { display: block; }
[data-scheme="dark"] .theme-btn .i-moon { display: none; }
.theme-btn:hover { transform: rotate(-25deg); }
.menu-btn { display: none; }
.bars { position: relative; width: 14px; height: 8px; }
.bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.bars i:first-child { top: 0; }
.bars i:last-child { top: 6.5px; }
.menu-open .bars i:first-child { top: 3.25px; transform: rotate(45deg); }
.menu-open .bars i:last-child { top: 3.25px; transform: rotate(-45deg); }

/* ── buttons ─────────────────────────────────── */
.btn {
  --bg: var(--acc); --fg: #fff; --hov: var(--ink); --hovfg: var(--plane);
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 14.5px; line-height: 1; text-decoration: none; cursor: pointer;
  transition: color .45s var(--ease), transform .5s var(--ease); will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hov); border-radius: inherit; transform: translateY(102%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--hovfg); }
.btn .arr { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { --bg: color-mix(in srgb, var(--plane) 70%, transparent); --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--rule2); }
.btn.ghost:hover .arr { transform: translateY(3px); }
.btn.sm { padding: 10px 15px; font-size: 13px; }
.btn.xl { padding: 26px 40px; font-size: clamp(17px, 1.6vw, 22px); }
.btn.is-pending { --bg: var(--surf3); --fg: var(--ink3); cursor: not-allowed; }
.btn.is-pending::before { display: none; }
.pending { font-size: 12px; color: var(--ink3); border: 1px dashed var(--rule2); padding: 6px 10px; border-radius: 4px; }

/* ── mobile nav ──────────────────────────────── */
.mnav { position: fixed; inset: 0; z-index: 55; background: var(--plane); padding-top: calc(var(--hdr) + 24px); clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden; }
.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a {
  display: flex; align-items: baseline; gap: 16px; text-decoration: none; font-size: clamp(30px, 8vw, 48px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.35; border-bottom: 1px solid var(--rule); padding: 8px 0;
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease);
}
.mnav nav a .mono { font-size: 12px; color: var(--ink3); font-weight: 400; letter-spacing: 0; }
.menu-open .mnav nav a { opacity: 1; transform: none; }
.menu-open .mnav nav a:nth-child(2) { transition-delay: .04s; } .menu-open .mnav nav a:nth-child(3) { transition-delay: .08s; }
.menu-open .mnav nav a:nth-child(4) { transition-delay: .12s; } .menu-open .mnav nav a:nth-child(5) { transition-delay: .16s; }
.menu-open .mnav nav a:nth-child(6) { transition-delay: .2s; } .menu-open .mnav nav a:nth-child(7) { transition-delay: .24s; }
.menu-open .mnav nav a:nth-child(8) { transition-delay: .28s; }
.menu-open body { overflow: hidden; }
.mnav .lang { width: fit-content; margin-top: 28px; }
.mnav .lang a { font-size: 13px; padding: 8px 14px; line-height: 1.2; }

/* ── reveal ──────────────────────────────────── */
.js [data-r] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].in { opacity: 1; transform: none; }

/* ── grid background ─────────────────────────── */
.grid-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.grid-bg::before {
  content: ""; position: absolute; inset: -1px;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 30%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 72% 30%, #000 10%, transparent 72%);
  opacity: .8;
}

/* ── hero: 3D stage ──────────────────────────── */
.hero { position: relative; min-height: clamp(720px, 100svh, 1100px); display: flex; overflow: hidden; }
.stage3d { position: absolute; inset: 0; z-index: 0; }
.stage3d::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--plane) 0%, color-mix(in srgb, var(--plane) 86%, transparent) 24%, color-mix(in srgb, var(--plane) 30%, transparent) 42%, transparent 56%),
    linear-gradient(0deg, var(--plane) 0%, transparent 16%);
}
#gl, #hudl, .fb { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#gl { z-index: 1; opacity: 0; transition: opacity 1.2s var(--ease); }
.gl-ok #gl { opacity: 1; }
#hudl { z-index: 3; pointer-events: none; }
.fb { display: none; z-index: 1; }
.no-gl .fb { display: block; }
.no-gl #gl, .no-gl #hudl, .no-gl .pins, .no-gl .tele { display: none; }
.meter .tele { display: block; }
.no-gl .meter .tele { display: none; }
.pins { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.pins.off { display: none; }
.pin {
  position: absolute; left: 0; top: 0; margin-top: -13px; display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px 4px 5px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: color-mix(in srgb, var(--surf) 86%, transparent); border: 1px solid var(--rule2); color: var(--ink2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: .66; transition: color .4s, border-color .4s, opacity .4s; will-change: transform;
}
.pin i { font-style: normal; font-size: 9px; letter-spacing: .1em; font-weight: 700; padding: 2px 6px; border-radius: 999px; color: #fff; }
.pin.site i { background: var(--s2); }
.pin.robot i { background: var(--acc); }
.pin.on { opacity: 1; color: var(--ink); }
.pin.site.on { border-color: var(--s2); }
.pin.robot.on { border-color: var(--acc); }
.tele { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule2); line-height: 1.7; color: var(--ink2); }
.tele-k { display: flex; align-items: baseline; gap: 6px; font-size: 11.5px; color: var(--ink3); }
.tele-k b { color: var(--ink); font-weight: 700; }
.tele-k .mono { margin-left: auto; font-size: 10.5px; }
.tele .mono { font-size: 10.5px; white-space: pre; }
.meter {
  position: absolute; z-index: 5; right: var(--gut); bottom: 70px; width: 320px; padding: 14px 16px;
  border: 1px solid var(--rule2); border-radius: 10px; background: color-mix(in srgb, var(--surf) 84%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.m-top { display: flex; align-items: baseline; gap: 10px; font-size: 11.5px; }
.m-k { font-weight: 700; letter-spacing: .14em; color: var(--acc); }
.m-l { color: var(--ink2); flex: 1; }
.m-n { color: var(--ink); }
.m-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 11px 0; }
.m-bar i { height: 4px; border-radius: 2px; background: var(--rule2); transition: background-color .4s; }
.m-bar i.on { background: linear-gradient(90deg, var(--s2), var(--acc)); }
.m-bot { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; }
.m-s { color: var(--ink2); }
.m-v { color: var(--ink3); letter-spacing: .08em; font-weight: 600; transition: color .4s; opacity: .5; }
.meter.done .m-v { color: var(--good); opacity: 1; }
.meter.done .m-s { color: var(--ink); }
.stage-cap { position: absolute; z-index: 5; right: var(--gut); bottom: 26px; display: flex; gap: 12px; align-items: center; font-size: 11.5px; color: var(--ink3); }

.hero-in { position: relative; z-index: 6; display: flex; flex-direction: column; width: 100%; padding-top: calc(var(--hdr) + 28px); padding-bottom: 40px; pointer-events: none; }
.hero-in a, .hero-in .status { pointer-events: auto; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; max-width: min(760px, 58%); }
.eyebrow { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
.eyebrow .br { color: var(--acc); margin-right: 10px; }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--ink2); border: 1px solid var(--rule2); padding: 6px 12px 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--plane) 70%, transparent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.hero-main { display: flex; flex-direction: column; flex: 1; max-width: min(780px, 58%); margin-top: clamp(24px, 5vh, 64px); }
.display { font-size: clamp(56px, 8.4vw, 146px); line-height: .92; letter-spacing: -.055em; font-weight: 800; white-space: nowrap; }
html:lang(ko) .display { letter-spacing: -.06em; }
html:lang(ja) .display, html:lang(zh-CN) .display { font-size: clamp(52px, 7.4vw, 128px); letter-spacing: -.05em; }
.line { display: block; overflow: hidden; padding: .1em .06em .16em 0; margin: -.1em 0 -.16em; }
.line > span { display: inline-block; }
.js .line > span { transform: translateY(108%); transition: transform 1.4s var(--ease); }
.js .ready .line > span { transform: none; transition-delay: calc(var(--i, 0) * .1s); }
.lamp { display: inline-block; width: .16em; height: .16em; margin-left: .08em; vertical-align: .06em; background: var(--acc); border-radius: .02em; animation: lamp 1.8s steps(2, jump-none) infinite; }
@keyframes lamp { 50% { opacity: .2; } }
.hero-sub { margin-top: 30px; font-size: clamp(18px, 1.8vw, 26px); color: var(--ink3); letter-spacing: -.01em; }
.hero-sub:empty { display: none; }
.hero-copy { margin-top: auto; padding-top: clamp(28px, 5vh, 56px); max-width: 560px; }
.category { font-size: clamp(19px, 1.7vw, 25px); font-weight: 650; letter-spacing: -.025em; line-height: 1.35; margin-bottom: 16px; }
.lede { font-size: clamp(15px, 1.1vw, 17px); color: var(--ink2); }
.lede b { color: var(--ink); font-weight: 650; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* figure frame */
.fig { margin: 0; }
.fig-frame { position: relative; border: 1px solid var(--rule); border-radius: 4px; background: color-mix(in srgb, var(--surf) 72%, transparent); }
.corner { position: absolute; width: 12px; height: 12px; border-color: var(--ink3); border-style: solid; border-width: 0; }
.corner.tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 11.5px; color: var(--ink3); }

/* provenance chips — 모두 같은 크기. 시뮬을 실측보다 크게 그리지 않는다 */
.src { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--rule2); color: var(--ink2); white-space: nowrap; background: color-mix(in srgb, var(--plane) 60%, transparent); }
.src i { width: 18px; height: 0; border-top: 2px solid var(--ink2); }
.src-decl i { border-top-style: dotted; }
.src-rec i { border-top-width: 1px; }
.src-replay i { border-top-style: dashed; border-top-width: 1px; }
.src-sim i { border-top-style: dashed; }
.src-real i { border-top-width: 3px; border-color: var(--ink); }
.srcs { display: flex; flex-wrap: wrap; gap: 8px; }
.srcs .src .mono { color: var(--ink); }

/* ── marquee ─────────────────────────────────── */
.marquee { border-block: 1px solid var(--rule); overflow: hidden; padding: clamp(14px, 2vw, 26px) 0; user-select: none; }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-set { display: flex; align-items: center; flex-shrink: 0; }
.mq-item, .mq-sep { font-family: var(--mono); font-weight: 600; font-size: clamp(34px, 5.6vw, 84px); letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; padding: 0 .35em; }
.mq-item { color: transparent; -webkit-text-stroke: 1px var(--ink3); }
.mq-item.hl { color: var(--ink); -webkit-text-stroke: 0; }
.mq-sep { color: var(--rule2); font-weight: 400; }

/* ── sections ────────────────────────────────── */
.sec { position: relative; padding: clamp(96px, 13vw, 200px) 0; }
.sec + .sec { border-top: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 16px 24px; margin-bottom: clamp(48px, 6vw, 104px); }
.kick { display: flex; gap: 12px; align-items: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); padding-top: .9em; }
.kick .n { color: var(--ink3); font-family: var(--mono); }
.kick::after { content: ""; flex: 0 0 28px; height: 1px; background: var(--rule2); order: 1; }
.title { font-size: clamp(36px, 5.2vw, 84px); line-height: 1.04; letter-spacing: -.045em; font-weight: 750; text-wrap: balance; }
html:lang(ja) .title, html:lang(zh-CN) .title { letter-spacing: -.02em; line-height: 1.18; font-weight: 700; }
.sec-sub { margin-top: 22px; font-size: clamp(16px, 1.3vw, 19.5px); color: var(--ink2); max-width: 40em; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.item { position: relative; padding-top: 28px; }
.item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease) calc(var(--d, 0s) + .15s); }
.item.in::before, html:not(.js) .item::before { transform: scaleX(1); }
.idx { font-size: 11.5px; color: var(--ink3); letter-spacing: .06em; }
.item h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 700; letter-spacing: -.025em; line-height: 1.3; margin: 18px 0 12px; }
.item p { color: var(--ink2); }
.note { margin-top: 64px; font-size: 12.5px; color: var(--ink2); border-left: 2px solid var(--ink); padding: 2px 0 2px 14px; max-width: 60em; }
.srcline { margin-top: 10px; padding-left: 16px; font-size: 11.5px; color: var(--ink3); }

/* ── matching ────────────────────────────────── */
#matching .kick { margin-bottom: clamp(32px, 4vw, 56px); padding-top: 0; }
.stmt { font-size: clamp(40px, 7vw, 120px); line-height: 1.04; letter-spacing: -.05em; font-weight: 800; text-wrap: balance; }
html:lang(ja) .stmt, html:lang(zh-CN) .stmt { letter-spacing: -.03em; line-height: 1.15; }
.stmt-b { margin-top: .12em; }
.js .stmt .w, .js .ct-title .w { opacity: .12; transition: opacity .4s linear; }
.js .stmt .w.on, .js .ct-title .w.on { opacity: 1; }
.m-sub { margin-top: clamp(32px, 4vw, 56px); max-width: 46em; }

/* 매칭 도식 — 전진 경로(실선) 하나와 되먹임(점선) 하나. 되먹임 위에는 사람 확인 노드만 있다 */
.mloop { position: relative; margin: clamp(56px, 7vw, 104px) 0 0; padding: clamp(28px, 4vw, 60px) clamp(22px, 4.4vw, 68px) clamp(24px, 3vw, 44px); border: 1px solid var(--rule); border-radius: 4px; background: var(--surf); }
.ml-figcap { position: absolute; left: -1px; right: -1px; top: calc(100% + 10px); margin: 0; }
.ml { --lc: var(--ink3); --T: 8s; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ml-end { grid-row: 1; align-self: end; display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 32px); padding-bottom: 30px; }
.ml-id { display: flex; flex-direction: column; min-width: 0; }
.ml-cv { flex: none; width: clamp(200px, 23vw, 350px); height: auto; aspect-ratio: 4 / 3; }
.ml-end.site { grid-column: 1 / 3; }
.ml-end.robot { grid-column: 3 / 5; flex-direction: row-reverse; text-align: right; }
.ml-end.robot .ml-id { align-items: flex-end; }
@media (max-width: 1280px) and (min-width: 901px) {
  .ml-end, .ml-end.robot { flex-direction: column; }
  .ml-end.site { align-items: flex-start; }
  .ml-cv { width: min(100%, 30vw, 320px); }
}
.ml-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: var(--ink3); }
.ml-id b { font-size: clamp(30px, 3.3vw, 50px); line-height: 1.05; letter-spacing: -.045em; font-weight: 750; margin-top: 10px; }
html:lang(ja) .ml-id b, html:lang(zh-CN) .ml-id b { letter-spacing: -.02em; }
.ml-id small { font-size: 13px; color: var(--ink3); margin-top: 8px; }
.ml-step { --pc: var(--s2); grid-row: 3; padding: 20px 24px 0 0; }
.ml-step.fde { grid-column: 2; }
.ml-step.sim { --pc: var(--s4); grid-column: 3; }
.ml-step.deck { --pc: var(--s3); grid-column: 4; padding-right: 30px; }
.ml-step > span { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--pc); }
.ml-step p { font-size: clamp(17px, 1.45vw, 22px); font-weight: 650; letter-spacing: -.025em; line-height: 1.3; margin-top: 8px; }

.ml-rail { grid-row: 2; grid-column: 1 / -1; position: relative; height: 12px; }
.ml-line { position: absolute; left: 6px; right: 6px; top: 4.5px; height: 3px; overflow: hidden; background: linear-gradient(var(--ink2), var(--ink2)) center / 100% 1px no-repeat; }
.ml-beam { position: absolute; top: .5px; left: 0; width: 22%; height: 2px; border-radius: 2px; transform: translateX(-100%); background: linear-gradient(90deg, transparent, var(--ink)); opacity: 0; }
.ml-mk { --pc: var(--s2); position: absolute; top: .5px; width: 11px; height: 11px; border-radius: 50%; background: var(--surf); box-shadow: inset 0 0 0 1.5px var(--pc); }
.ml-mk.fde { left: 25%; }
.ml-mk.sim { --pc: var(--s4); left: 50%; }
.ml-mk.deck { --pc: var(--s3); left: 75%; }
.ml-mk.term { --pc: var(--ink); top: 0; width: 12px; height: 12px; border-radius: 2px; background: var(--ink); box-shadow: none; }
.ml-mk.site { left: 0; }
.ml-mk.robot { right: 0; }
.ml-arr { position: absolute; width: 6px; height: 6px; border: solid var(--ink2); border-width: 1px 1px 0 0; }
.ml-rail > .ml-arr { right: 21px; top: 3px; transform: rotate(45deg); }

.ml-loop { grid-row: 2 / 6; grid-column: 1 / -1; position: relative; z-index: 0; margin: 6px 6px 15px; pointer-events: none;
  background:
    linear-gradient(var(--lc) 50%, transparent 0) 0 0 / 1px 8px repeat-y,
    linear-gradient(var(--lc) 50%, transparent 0) 100% 0 / 1px 8px repeat-y,
    linear-gradient(90deg, var(--lc) 50%, transparent 0) 0 100% / 8px 1px repeat-x; }
.ml-loop .ml-arr { border-color: var(--lc); }
.ml-loop .up { left: -2.5px; top: 30px; transform: rotate(-45deg); }
.ml-loop .down { right: -2.5px; top: 30px; transform: rotate(135deg); }

.ml-proof { grid-row: 4; grid-column: 2 / -1; position: relative; z-index: 1; display: flex; justify-content: center; margin: 40px 30px 0 0; }
.ml-proof::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 11px; margin-top: -5.5px; border: solid var(--ink3); border-width: 0 1px; background: linear-gradient(var(--ink3), var(--ink3)) center / 100% 1px no-repeat; }
.ml-proof > span { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px; padding: 0 18px; background: var(--surf); font-size: 15px; color: var(--ink); text-align: center; }
.ml-proof .mono, .ml-cap .mono { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: var(--ink3); }

.ml-gate { grid-row: 5; grid-column: 1 / -1; justify-self: center; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 30px; margin-top: 44px; padding: 0 15px 0 12px; border-radius: 999px; background: var(--ink); color: var(--plane); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 0 0 6px var(--surf); }
.ml-gate svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ml-cap { grid-row: 6; grid-column: 1 / -1; justify-self: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; margin-top: 16px; font-size: 13.5px; color: var(--ink2); text-align: center; }

/* 신호가 현장에서 로봇으로 한 번 지나가며 세 기술을 차례로 켜고, 되먹임 점선은 거꾸로 흐른다 */
.mloop.in .ml-beam, html:not(.js) .ml-beam { animation: ml-beam var(--T) linear infinite; }
.mloop.in .ml-mk, html:not(.js) .ml-mk { animation: var(--an, ml-hit) var(--T) linear infinite; animation-delay: calc(var(--T) * .5 * var(--f, 0)); }
.ml-mk.fde { --f: .25; } .ml-mk.sim { --f: .5; } .ml-mk.deck { --f: .75; } .ml-mk.robot { --f: 1; }
.mloop.in .ml-mk.site, html:not(.js) .ml-mk.site { animation: none; }
.mloop.in .ml-loop, html:not(.js) .ml-loop { animation: ml-march 1.1s linear infinite; }
@keyframes ml-beam { 0% { left: 0; opacity: 0; } 3% { opacity: 1; } 50% { left: 100%; opacity: 1; } 56%, 100% { left: 100%; opacity: 0; } } /* 50% — site.js ARRIVE 와 짝 */
@keyframes ml-hit {
  0% { background: var(--pc); box-shadow: inset 0 0 0 1.5px var(--pc), 0 0 0 0 color-mix(in srgb, var(--pc) 45%, transparent); }
  14% { background: var(--pc); box-shadow: inset 0 0 0 1.5px var(--pc), 0 0 0 9px transparent; }
  40% { background: var(--pc); }
  56%, 100% { background: var(--surf); box-shadow: inset 0 0 0 1.5px var(--pc), 0 0 0 0 transparent; }
}
.ml-mk.term { --an: ml-hit-t; }
@keyframes ml-hit-t { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 30%, transparent); } 16% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: none; } }
@keyframes ml-march { to { background-position: 0 -8px, 100% 8px, -8px 100%; } }

.cmp { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--ink); }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.7fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.cmp-row > span:first-child { font-size: 12.5px; color: var(--ink3); }
.cmp-row > span:nth-child(2) { color: var(--ink3); }
.cmp-row .us { color: var(--ink); font-weight: 650; }
.cmp-h > span { font-size: 12px !important; letter-spacing: .04em; font-weight: 600; color: var(--ink3); }
.cmp-h .us { color: var(--acc) !important; }

/* ── inverted stage: 기술 ─────────────────────── */
.inv {
  --plane: #0a0d11; --surf: #10141a; --surf2: #161b22; --surf3: #1e242c;
  --ink: #eef2f7; --ink2: #b4bdc9; --ink3: #7f8a97; --rule: #1d232b; --rule2: #2a323c;
  --acc: #3d86ff; --accw: rgba(61, 134, 255, .12);
  --s2: #f0793a; --s3: #22b884; --s4: #9d8cff;
  --good: #34c274; --warn: #f2b43c; --serious: #f08a5d; --crit: #f25552; --ring: rgba(255, 255, 255, .065);
  background: var(--plane); color: var(--ink); color-scheme: dark; overflow: clip;
}
[data-scheme="dark"] .inv { --plane: #05070a; --surf: #0c1015; --rule: #171c23; }
.sec.inv, .sec.inv + .sec { border-top: 0; }
.inv .grid-bg::before { -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 8%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 80% 40% at 50% 8%, #000 10%, transparent 70%); }
.inv .wrap { position: relative; }
.rail {
  position: sticky; top: 14px; z-index: 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  margin-bottom: 24px; padding: 6px; border: 1px solid var(--rule2); border-radius: 14px;
  background: color-mix(in srgb, var(--plane) 82%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.rail a { --pc: var(--s2); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; padding: 10px 14px; border-radius: 9px; text-decoration: none; color: var(--ink2); overflow: hidden; transition: background-color .3s; }
.rail a.sim { --pc: var(--s4); }
.rail a.deck { --pc: var(--s3); }
.rail a > span { grid-row: span 2; font-size: 11px; color: var(--pc); padding-top: 3px; }
.rail a b { font-size: 14px; color: var(--ink); font-weight: 600; }
.rail a small { font-size: 12px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail a i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--pc); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease), opacity .4s; }
.rail a:hover { background: var(--surf); }
.rail a.act { background: var(--surf2); }
.rail a.act i, .rail a.past i { transform: scaleX(1); }
.rail a.past i { opacity: .35; }

.pillar { --pc: var(--s2); position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding: clamp(72px, 11vh, 128px) 0; border-top: 1px solid var(--rule); min-height: min(88vh, 980px); }
.pillar.sim { --pc: var(--s4); }
.pillar.deck { --pc: var(--s3); }
.pillar.sim .pl-text { order: 2; }
.pl-wm {
  position: absolute; top: .1em; right: -.03em; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--mono); font-weight: 700; font-size: clamp(120px, 21vw, 360px); line-height: .8; letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--pc) 38%, transparent);
}
.pillar.sim .pl-wm { right: auto; left: -.03em; }
.pl-text, .pl-fig { position: relative; z-index: 1; }
.pl-code { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--pc); }
.pl-title { font-size: clamp(34px, 3.8vw, 58px); line-height: 1.08; letter-spacing: -.04em; font-weight: 750; margin-top: 16px; }
html:lang(ja) .pl-title, html:lang(zh-CN) .pl-title { letter-spacing: -.02em; line-height: 1.2; }
.pl-en { font-size: 13px; color: var(--ink3); margin-top: 10px; letter-spacing: .04em; }
.pl-lead { font-size: clamp(19px, 1.6vw, 24px); font-weight: 650; margin-top: 26px; letter-spacing: -.02em; }
.pl-body { color: var(--ink2); margin-top: 14px; font-size: 15.5px; line-height: 1.78; }
.pl-pts { margin-top: 22px; border-top: 1px solid var(--rule2); }
.pl-pts li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--rule2); font-size: 14px; }
.pl-pts li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border: 1.5px solid var(--pc); border-radius: 1px; transform: rotate(45deg); }
.pl-out { margin-top: 20px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.pl-out .label { margin: 0; color: var(--pc); font-weight: 700; }
.pl-out .mono { font-size: 13px; }
.pl-fig .fig-frame { aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--surf) 88%, transparent); border-color: var(--rule2); box-shadow: 0 40px 120px -40px color-mix(in srgb, var(--pc) 28%, transparent); }
.pl-fig .fig-frame::before { content: ""; position: absolute; left: -1px; top: -1px; width: 72px; height: 2px; background: var(--pc); z-index: 1; }
.pl-fig canvas { width: 100%; height: 100%; display: block; }
.ptag { --pc: var(--s2); font-size: 10px; letter-spacing: .08em; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--pc); color: var(--pc); font-weight: 700; }
.ptag.sim { --pc: var(--s4); }
.ptag.deck { --pc: var(--s3); }

/* ── cards ───────────────────────────────────── */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; }
.card { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 28px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surf); overflow: hidden; transition: border-color .4s, transform .7s var(--ease), opacity 1s var(--ease); }
.card + .card::before { content: "+"; position: absolute; left: -12px; top: 50%; z-index: 2; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 18px; color: var(--ink3); }
.card:hover { border-color: var(--ink3); transform: translateY(-6px); }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accw), transparent 45%); }
.spot:hover::after { opacity: 1; }
.card-top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink3); }
.card-top .id { border: 1px solid var(--rule2); border-radius: 4px; padding: 2px 7px; color: var(--ink2); }
.ico { width: 76px; height: 76px; margin: 48px 0 auto; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.js .draw path, .js .draw circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--d, 0s) + .3s); }
.js .in .draw path, .js .in .draw circle { stroke-dashoffset: 0; }
.js .draw path[stroke-dasharray="3 4"] { stroke-dasharray: 3 4; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s calc(var(--d, 0s) + 1.2s); }
.js .in .draw path[stroke-dasharray="3 4"] { opacity: 1; }
.card h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 750; letter-spacing: -.035em; margin: 40px 0 12px; }
.card p { color: var(--ink2); font-size: 15px; }

/* ── pipeline ────────────────────────────────── */
.pipe { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); }
.pipe-left { position: sticky; top: calc(var(--hdr) + 32px); align-self: start; }
.pipe-left .title { margin-top: 20px; }
.counter-wrap { margin-top: clamp(40px, 6vh, 80px); }
.counter { display: flex; align-items: baseline; gap: 18px; line-height: .9; }
.cnum { font-size: clamp(88px, 11vw, 188px); font-weight: 600; letter-spacing: -.06em; display: inline-block; }
.cname { font-size: clamp(16px, 1.5vw, 22px); letter-spacing: .1em; color: var(--ink2); display: inline-block; }
.ticks { display: flex; gap: 6px; margin-top: 24px; }
.ticks li { flex: 1; height: 3px; background: var(--rule2); border-radius: 2px; transition: background-color .5s; }
.ticks li.on { background: var(--ink); }
.ticks li.g.on { background: var(--acc); }
.stg { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 40px 0; border-top: 1px solid var(--rule); transition: opacity .6s var(--ease); }
.js .stg { opacity: .3; }
.js .stg.act, .js .stg.seen { opacity: 1; }
.stg .code { font-size: 13px; color: var(--ink3); padding-top: 10px; }
.stg h3 { font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; letter-spacing: .06em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stg p { color: var(--ink2); margin: 10px 0 16px; max-width: 34em; }
.actor { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; border: 1px solid var(--rule2); border-radius: 999px; padding: 4px 11px; color: var(--ink2); }
.actor::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.stg.gate { background: var(--ink); color: var(--plane); border: 0; border-radius: var(--r); padding: 40px 28px; margin: 16px -28px; }
.stg.gate .code { color: color-mix(in srgb, var(--plane) 55%, transparent); }
.stg.gate p { color: color-mix(in srgb, var(--plane) 76%, transparent); }
.stamp { font-size: 11px; letter-spacing: .14em; border: 1.5px solid currentColor; padding: 3px 8px; border-radius: 3px; transform: rotate(-4deg); display: inline-block; }
.actor.human { background: var(--plane); color: var(--ink); border-color: var(--plane); font-weight: 600; }
.actor.human::before { display: none; }
.actor.human svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.sig { width: min(320px, 100%); height: auto; margin-top: 22px; fill: none; stroke: var(--plane); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sig .sig-line { stroke-width: 1; opacity: .4; }
.js .sig path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-io); }
.js .stg.gate.seen .sig path { stroke-dashoffset: 0; }
.stg.twin { border-top-style: dashed; }

/* ── evidence ────────────────────────────────── */
#evidence .cards3 { margin-bottom: clamp(64px, 8vw, 120px); }
.ev { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.princ li { padding: 26px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; }
.princ .idx { grid-row: span 2; padding-top: 5px; }
.princ h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.princ p { color: var(--ink2); font-size: 15px; margin-top: 6px; }
.ev-right { position: sticky; top: calc(var(--hdr) + 32px); }
.chart-frame { padding: clamp(8px, 1.5vw, 18px); }
#sprt { width: 100%; height: auto; overflow: visible; }
#sprt text { font-family: var(--mono); font-size: 12px; fill: var(--ink3); }
#sprt text.l { font-family: var(--sans); font-size: 12.5px; }
#sprt .grid { stroke: var(--rule); stroke-width: 1; }
#sprt .zero { stroke: var(--rule2); stroke-width: 1; }
#sprt .bA { stroke: var(--good); stroke-width: 1.5; stroke-dasharray: 6 5; }
#sprt .bB { stroke: var(--crit); stroke-width: 1.5; stroke-dasharray: 6 5; }
#sprt text.tA { fill: var(--good); }
#sprt text.tB { fill: var(--crit); }
#sprt .walk { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
#sprt .head { fill: var(--ink); }
#sprt .done { fill: var(--good); }
#sprt .ring { fill: none; stroke: var(--good); stroke-width: 1.5; }
#sprt text.tDone { fill: var(--good); font-weight: 600; }
.srcs-wrap { margin-top: 28px; }

/* ── boundary ────────────────────────────────── */
.bnd-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.bnd-list article { border-top: 1px solid var(--ink); padding-top: 22px; }
.bnd-list .big { display: block; font-size: clamp(40px, 4vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.bnd-list h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 22px 0 8px; line-height: 1.35; }
.bnd-list p { color: var(--ink2); font-size: 15px; }
.diagram { margin-top: clamp(56px, 7vw, 104px); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(20px, 3vw, 44px); background: var(--surf); }
.dg-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(48px, .7fr) minmax(0, 1fr) minmax(64px, .9fr) minmax(0, 1fr); align-items: center; }
.node { border: 1px solid var(--rule2); border-radius: var(--r); padding: 18px; background: var(--plane); position: relative; z-index: 1; }
.node h4 { font-size: 12.5px; letter-spacing: .06em; font-weight: 600; }
.node small { font-size: 13px; color: var(--ink3); }
.wire { position: relative; height: 1px; background: var(--rule2); }
.pk { --dur: 3.6s; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; animation: flow var(--dur) linear infinite; animation-delay: calc(var(--k) * var(--dur) / -5); opacity: 0; }
.pk.raw { background: var(--ink); }
.pk.meta { background: var(--plane); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pk.stop { animation-name: stop; }
.pk.static { position: static; display: inline-block; margin: 0 8px 0 0; animation: none; opacity: 1; vertical-align: -1px; }
@keyframes flow { 0% { left: 0; opacity: 0; } 8%, 88% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes stop { 0% { left: 0; opacity: 0; transform: scale(1); } 8% { opacity: 1; } 46% { left: calc(50% - 14px); opacity: 1; transform: scale(1); } 60%, 100% { left: calc(50% - 14px); opacity: 0; transform: scale(.2); } }
.bline { position: absolute; left: 50%; top: -64px; bottom: -64px; border-left: 1.5px dashed var(--ink); }
.blabel { position: absolute; top: -26px; left: 0; transform: translateX(-50%); white-space: nowrap; font-size: 11px; letter-spacing: .06em; background: var(--surf); padding: 2px 6px; }
.dg-lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 56px; }
.dg-list ul { display: flex; flex-wrap: wrap; gap: 6px; }
.dg-list li { font-size: 13px; border-radius: 999px; padding: 5px 11px; }
.dg-list.stay li { background: var(--ink); color: var(--plane); }
.dg-list.pass li { border: 1px solid var(--rule2); color: var(--ink2); }
.legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; font-size: 11.5px; color: var(--ink3); }

/* ── fit ─────────────────────────────────────── */
.fit { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.q { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 28px 0 32px; min-width: 0; }
.q legend { display: flex; align-items: baseline; gap: 14px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.02em; padding: 0; float: left; width: 100%; }
.q legend + * { clear: both; }
.q p { color: var(--ink2); font-size: 15px; margin: 10px 0 18px; padding-top: 6px; }
.ax { font-size: 13px; font-weight: 600; width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; letter-spacing: 0; }
.ycount { margin-left: auto; font-size: 13px; color: var(--ink3); font-weight: 400; }
.ycount.ok { color: var(--ink); }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--rule2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--ink2); padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: background-color .3s, color .3s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--plane); }
.chks { display: flex; flex-wrap: wrap; gap: 8px; }
.chk { display: inline-flex; gap: 9px; align-items: center; border: 1px solid var(--rule2); background: transparent; border-radius: 999px; padding: 9px 15px; cursor: pointer; font-size: 14px; color: var(--ink2); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.chk .mono { font-size: 11px; color: var(--ink3); }
.chk:hover { border-color: var(--ink3); }
.chk:active { transform: scale(.97); }
.chk[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--plane); }
.chk[aria-pressed="true"] .mono { color: color-mix(in srgb, var(--plane) 60%, transparent); }
.fit-form .note { margin-top: 12px; }
.res { --rc: var(--ink); position: sticky; top: calc(var(--hdr) + 32px); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(22px, 2.4vw, 36px); background: var(--surf); }
.res[data-q="BEACHHEAD"] { --rc: var(--good); }
.res[data-q="BEACHHEAD_C"] { --rc: var(--warn); }
.res[data-q="HORIZON"] { --rc: var(--s4); }
.res[data-q="DEAD"] { --rc: var(--serious); }
.res[data-q="FUTURE"] { --rc: var(--ink2); }
.res[data-q="OUT"] { --rc: var(--ink3); }
.quad { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 1.7; margin: 34px 0 30px; border-left: 1px solid var(--ink3); border-bottom: 1px solid var(--ink3); }
.qc { position: relative; border-right: 1px dashed var(--rule2); border-top: 1px dashed var(--rule2); transition: background-color .5s; }
.qc span { position: absolute; left: 10px; top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--ink3); transition: color .4s; }
.qc.on { background: color-mix(in srgb, var(--rc) 12%, transparent); }
.qc.on span { color: var(--rc); }
.qdot { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--rc); left: 75%; top: 25%; transition: left .9s var(--ease), top .9s var(--ease), background-color .4s, box-shadow .4s; box-shadow: 0 0 0 6px color-mix(in srgb, var(--rc) 18%, transparent); }
.res[data-q="HORIZON"] .qdot { background: transparent; box-shadow: inset 0 0 0 2px var(--rc), 0 0 0 6px color-mix(in srgb, var(--rc) 14%, transparent); }
.axl { position: absolute; font-size: 10.5px; color: var(--ink3); white-space: nowrap; }
.axl-x { right: 0; bottom: -22px; }
.axl-y { left: 0; top: -22px; }
.rcode { font-size: clamp(34px, 4vw, 58px); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--rc); transition: color .4s; min-height: 1em; }
.rtitle { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.02em; margin-top: 18px; }
.rbody { color: var(--ink2); margin-top: 8px; }

/* ── company ─────────────────────────────────── */
.co { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.co-body > p { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink2); line-height: 1.8; }
.honest { margin-top: 40px; border: 1px dashed var(--rule2); border-radius: var(--r); padding: 24px; }
.ly { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding: 22px 0; }
.ly .nm { line-height: 1; }
.l1 .nm { font-size: clamp(34px, 4vw, 60px); font-weight: 700; letter-spacing: -.02em; }
.l2 .nm { font-size: clamp(22px, 2.3vw, 34px); font-weight: 600; letter-spacing: .08em; }
.l3 .nm { font-size: clamp(17px, 1.7vw, 24px); font-weight: 600; letter-spacing: .08em; }
.ly .role { text-align: right; font-size: 14px; color: var(--ink2); }
.ly .role .label { display: block; margin-bottom: 2px; }
.acr { display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--rule); padding-top: 18px; font-size: 13px; color: var(--ink3); letter-spacing: .04em; }
.acr b { color: var(--ink); font-weight: 600; }
.rb { margin-top: 10px; font-size: 13px; color: var(--ink3); }

/* ── contact ─────────────────────────────────── */
.contact { overflow: hidden; }
.contact .grid-bg::before { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 20%, #000 5%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 85% 20%, #000 5%, transparent 70%); }
.contact .wrap { position: relative; }
.contact .kick { padding-top: 0; }
.ct-title { font-size: clamp(44px, 8.4vw, 148px); line-height: 1; letter-spacing: -.055em; font-weight: 800; margin: 28px 0 0; text-wrap: balance; }
html:lang(ja) .ct-title, html:lang(zh-CN) .ct-title { letter-spacing: -.03em; line-height: 1.12; }
.ct-grid { margin-top: clamp(56px, 7vw, 104px); }
.ct-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: clamp(56px, 7vw, 96px); }

/* ── footer ──────────────────────────────────── */
.ftr { border-top: 1px solid var(--rule); padding: 64px 0 28px; overflow: hidden; }
.ft-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) auto; gap: 28px; align-items: start; font-size: 14px; }
.ft-desc { font-weight: 650; }
.ft-lang { display: flex; flex-direction: column; gap: 4px; }
.ft-lang a { text-decoration: none; color: var(--ink2); width: fit-content; }
.ft-lang a:hover, .ft-lang a[aria-current] { color: var(--ink); }
.ft-lang a[aria-current]::before { content: "● "; font-size: 8px; vertical-align: 2px; color: var(--acc); }
.ft-note { font-size: 13px; }
.ft-top { text-decoration: none; font-size: 12px; color: var(--ink2); }
.ft-top:hover { color: var(--ink); }
.ft-wm { margin-top: clamp(56px, 8vw, 120px); line-height: .78; white-space: nowrap; }
.ft-wm-in { display: inline-block; font-weight: 800; letter-spacing: -.055em; font-size: 12vw; color: transparent; -webkit-text-stroke: 1.2px var(--ink3); transition: color .8s var(--ease), -webkit-text-stroke-color .8s; }
.ft-wm-in b { color: var(--acc); -webkit-text-stroke: 0; }
.ft-wm:hover .ft-wm-in { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.copy { margin-top: 24px; font-size: 11.5px; color: var(--ink3); }

/* ── theme transition ────────────────────────── */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }

/* ── responsive ──────────────────────────────── */
@media (max-width: 1180px) {
  nav.main { display: none; }
  .tools { margin-left: auto; }
  .menu-btn { display: grid; }
  .bnd-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tele { display: none; }
}
@media (max-width: 1180px) and (min-width: 901px) { .meter { width: 280px; } }
@media (max-width: 900px) {
  .hero { flex-direction: column; min-height: 0; }
  .stage3d { position: relative; order: 2; inset: auto; height: clamp(460px, 128vw, 680px); }
  .stage3d::after { background: linear-gradient(180deg, var(--plane) 0%, transparent 12%), linear-gradient(0deg, var(--plane) 0%, transparent 22%); }
  .hero-in { order: 1; padding-bottom: 0; }
  .hero-top, .hero-main { max-width: none; }
  .display { white-space: normal; }
  .meter { left: var(--gut); right: var(--gut); width: auto; bottom: 54px; padding: 10px 14px; }
  .meter .tele { display: none; }
  .stage-cap { left: var(--gut); bottom: 16px; justify-content: space-between; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .kick { padding-top: 0; }
  .pipe, .ev, .fit, .co { grid-template-columns: minmax(0, 1fr); }
  .cols3, .cols4, .cards3 { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .card + .card::before { left: 50%; top: -12px; }
  .ico { margin: 32px 0 0; }
  .pipe-left, .ev-right, .res { position: static; }
  .counter-wrap { display: none; }
  .js .stg { opacity: 1; }
  .stg.gate { margin-inline: 0; padding-inline: 20px; }
  .mloop { margin-bottom: 84px; } /* 캡션이 두 줄로 접혀도 아래 표와 겹치지 않게 */
  .ml { grid-template-columns: minmax(0, 1fr); }
  .ml-rail, .ml-loop { display: none; }
  .ml .ml-end, .ml .ml-step { grid-column: 1; grid-row: auto; align-self: auto; flex-direction: column; align-items: flex-start; gap: 16px; text-align: left; position: relative; margin: 0; padding: 0 0 30px 30px;
    background: linear-gradient(var(--ink2), var(--ink2)) 5.5px 0 / 1px 100% no-repeat; }
  .ml .ml-end.site { background-position: 5.5px 12px; }
  .ml .ml-end.robot { padding-bottom: 0; background-size: 1px 12px; }
  .ml-end::before, .ml-step::before { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; border-radius: 2px; background: var(--ink); }
  .ml-step::before { left: .5px; width: 11px; height: 11px; border-radius: 50%; background: var(--surf); box-shadow: inset 0 0 0 1.5px var(--pc); }
  .ml-id b { margin-top: 6px; }
  .ml .robot .ml-id { align-items: flex-start; }
  .ml-cv { width: min(100%, 300px); }
  .ml-proof { grid-column: 1; grid-row: auto; justify-content: flex-start; margin: 36px 0 0; padding-top: 14px; border-top: 1px solid var(--rule2); }
  .ml-proof::before { display: none; }
  .ml-proof > span { flex-direction: column; align-items: flex-start; gap: 4px; padding: 0; text-align: left; }
  .ml-gate { grid-row: auto; justify-self: start; margin-top: 28px; box-shadow: none; }
  .ml-cap { grid-row: auto; justify-self: start; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 12px; text-align: left; }
  .cmp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-row > span:first-child { grid-column: 1 / -1; }
  .cmp-h > span:first-child { display: none; }
  .rail small { display: none; }
  .rail a { padding: 8px 10px; column-gap: 8px; }
  .rail a b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pillar { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 64px 0; }
  .pillar.sim .pl-text { order: 0; }
  .pl-wm { font-size: 34vw; top: .2em; }
  .pl-fig .fig-frame { aspect-ratio: 4 / 3.6; }
  .dg-row { grid-template-columns: minmax(0, 1fr); }
  .wire { width: 1px; height: 72px; margin: 0 auto; }
  .pk { left: 50%; top: 0; margin: 0 0 0 -4px; animation-name: flowY; }
  .pk.stop { animation-name: stopY; }
  .bline { left: -64px; right: -64px; top: 50%; bottom: auto; border-left: 0; border-top: 1.5px dashed var(--ink); }
  .blabel { top: -12px; left: auto; right: 64px; transform: none; }
  .dg-lists { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .ft-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@keyframes flowY { 0% { top: 0; opacity: 0; } 8%, 88% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
@keyframes stopY { 0% { top: 0; opacity: 0; transform: scale(1); } 8% { opacity: 1; } 46% { top: calc(50% - 14px); opacity: 1; transform: scale(1); } 60%, 100% { top: calc(50% - 14px); opacity: 0; transform: scale(.2); } }
@media (max-width: 600px) {
  :root { --hdr: 60px; }
  .brand .wm { font-size: 17px; }
  .brand .ds { font-size: 9.5px; }
  .hdr-cta { display: none; }
  .tools > .lang { display: none; }
  .stg, .stg.gate { grid-template-columns: 36px minmax(0, 1fr); }
  .bnd-list { grid-template-columns: minmax(0, 1fr); }
  .ft-row { grid-template-columns: minmax(0, 1fr); }
  .btn.xl { padding: 20px 28px; }
  .m-l { display: none; }
}
@media (max-width: 380px) { .tools { gap: 6px; } .icon-btn { width: 32px; height: 32px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-r], .js .line > span { opacity: 1; transform: none; }
  .js .stmt .w, .js .ct-title .w { opacity: 1; }
  .pk:not(.static) { display: none; }
}

/* ── HUD cursor — 차이 혼합으로 라이트·다크·반전 무대 모두에서 보인다 ── */
html.has-cur, html.has-cur * { cursor: none !important; }
.cur { position: fixed; inset: 0 auto auto 0; z-index: 90; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.cur.on { opacity: 1; }
.cur-dot, .cur-ring, .cur-lab { position: absolute; left: 0; top: 0; will-change: transform; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; transition: opacity .2s; }
.cur-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid #fff; border-radius: 50%;
  transition: width .26s var(--ease), height .26s var(--ease), margin .26s var(--ease), border-radius .26s var(--ease), background-color .2s, border-style 0s;
}
.cur-ring i { position: absolute; background: #fff; transition: opacity .2s, transform .26s var(--ease); }
.cur-ring i:nth-child(1) { left: 50%; top: -7px; width: 1px; height: 5px; }
.cur-ring i:nth-child(2) { left: 50%; bottom: -7px; width: 1px; height: 5px; }
.cur-ring i:nth-child(3) { top: 50%; left: -7px; width: 5px; height: 1px; }
.cur-ring i:nth-child(4) { top: 50%; right: -7px; width: 5px; height: 1px; }
.cur-lab { margin: 24px 0 0 26px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: #fff; white-space: nowrap; opacity: 0; transition: opacity .25s; }
.cur[data-mode="link"] .cur-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: #fff; }
.cur[data-mode="link"] .cur-ring i, .cur[data-mode="link"] .cur-dot { opacity: 0; }
.cur[data-mode="probe"] .cur-ring { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 3px; border-color: transparent;
  background:
    linear-gradient(#fff, #fff) 0 0 / 10px 1px no-repeat, linear-gradient(#fff, #fff) 0 0 / 1px 10px no-repeat,
    linear-gradient(#fff, #fff) 100% 0 / 10px 1px no-repeat, linear-gradient(#fff, #fff) 100% 0 / 1px 10px no-repeat,
    linear-gradient(#fff, #fff) 0 100% / 10px 1px no-repeat, linear-gradient(#fff, #fff) 0 100% / 1px 10px no-repeat,
    linear-gradient(#fff, #fff) 100% 100% / 10px 1px no-repeat, linear-gradient(#fff, #fff) 100% 100% / 1px 10px no-repeat; }
.cur[data-mode="probe"] .cur-ring i:nth-child(1), .cur[data-mode="probe"] .cur-ring i:nth-child(2) { height: 12px; }
.cur[data-mode="probe"] .cur-ring i:nth-child(1) { top: -14px; } .cur[data-mode="probe"] .cur-ring i:nth-child(2) { bottom: -14px; }
.cur[data-mode="probe"] .cur-ring i:nth-child(3), .cur[data-mode="probe"] .cur-ring i:nth-child(4) { width: 12px; }
.cur[data-mode="probe"] .cur-ring i:nth-child(3) { left: -14px; } .cur[data-mode="probe"] .cur-ring i:nth-child(4) { right: -14px; }
.cur[data-mode="fig"] .cur-ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-style: dashed; }
.cur[data-mode="fig"] .cur-ring i { opacity: 0; }
.cur[data-mode="probe"] .cur-lab, .cur[data-mode="fig"] .cur-lab { opacity: .9; }
.cur.down .cur-ring i { transform: scale(1.8); }
.cur.down[data-mode="link"] .cur-ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; }

/* 번역되는 UI 라벨은 본문 서체 — 모노는 수치·식별자·단계명에만 */
.eyebrow, .brand .ds, .status, .kick, figcaption, .actor, .legend, .pending, .blabel, .rb, .ft-top, .note, .m-l, .m-s, .stage-cap { font-family: var(--sans); }
.kick .n, .src, .stamp, .eyebrow .br { font-family: var(--mono); }
