/* HEYE one-shot. Dark stage, warm-white reading sections, Helvetica bold for display (as on heyerobotics.com), Geist for everything else. */
:root {
  --bg: #050608; --ink: #f2f4f7; --muted: #8b93a1; --line: rgba(255, 255, 255, .16);
  --paper: #ffffff; --paper-ink: #0a0a0a; --paper-muted: #6b6b6b; --paper-line: #e4e4e4;
  --safe: #a9c8ff; --accent: #eb9a7a;
  --display: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Noto Sans SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', sans-serif;
  --sans: 'Geist', 'PingFang SC', 'Noto Sans SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); }
a { color: inherit; text-decoration: none; }
b { font-weight: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.k { font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ln { padding-bottom: .06em; }
.arr { display: inline-block; transition: transform .35s var(--ease); }
a:hover .arr { transform: translate(3px, -3px); }
a.ghost:hover .arr { transform: translateY(3px); }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 20; height: 88px; display: flex; align-items: center; gap: clamp(16px, 2vw, 40px); padding: 0 clamp(18px, 3vw, 40px); transition: background .4s, color .4s; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.wordmark { font-family: var(--display); font-size: 34px; letter-spacing: -1px; font-weight: 750; line-height: 1; }
.wordmark > span { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 3.5px; font-weight: 500; margin-top: 7px; opacity: .8; }
.hd__nav { display: flex; gap: clamp(14px, 2vw, 28px); font-size: 14px; opacity: .82; white-space: nowrap; }
.hd__nav a:hover { opacity: 1; }
.lang { margin-left: auto; display: flex; align-items: center; flex-shrink: 0; white-space: nowrap; font-size: 13px; }
.lang button { padding: 6px 10px; opacity: .55; transition: opacity .25s; position: relative; }
.lang button + button::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 11px; transform: translateY(-50%); background: currentColor; opacity: .35; }
.lang button:hover, .lang button[aria-pressed="true"] { opacity: 1; }
.lang button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 5px; }
.hd__cta { margin-left: 18px; flex-shrink: 0; font-size: 14px; padding: 11px 16px; border-radius: 999px; background: #fff; color: #050608; display: inline-flex; gap: 8px; }
.hd--light { background: rgba(255, 255, 255, .92); color: var(--paper-ink); backdrop-filter: blur(14px); }
.hd--solid { background: rgba(5, 6, 8, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.hd--light .hd__cta { background: var(--paper-ink); color: var(--paper); }

/* ---------- Commercial entry: the offer appears before the illustrative story ---------- */
.offer-intro { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-height: 100svh; overflow: hidden; padding: clamp(142px, 18vh, 210px) clamp(24px, 5vw, 80px) 34px; background: var(--bg); }
.offer-intro::before { content: ''; position: absolute; z-index: -2; inset: 0; background: url('/assets/hero-industrial-v11.jpg') 62% 50% / cover no-repeat; opacity: .22; }
.offer-intro::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #050608 0%, rgba(5,6,8,.95) 40%, rgba(5,6,8,.38) 100%), linear-gradient(0deg, #050608 0%, transparent 30%); }
.offer-intro__inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .7fr); align-items: end; gap: clamp(44px, 7vw, 130px); width: min(100%, 1420px); margin: auto; }
.offer-intro__main { max-width: 900px; }
.offer-intro__main .k { color: #b5bdc7; }
.offer-intro h1 { margin-top: 24px; max-width: 940px; font: 600 clamp(50px, 5.7vw, 96px)/1.01 var(--display); letter-spacing: -.045em; }
.offer-intro__lead { max-width: 780px; margin-top: 28px; color: #d6dce2; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.48; }
.offer-intro__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; }
.offer-intro__status { margin-top: 24px; color: #aab4bf; font: 400 12px/1.5 var(--mono); }
.offer-intro__deliverables { padding: 4px 0 0 26px; border-left: 1px solid rgba(255,255,255,.32); background: linear-gradient(90deg, rgba(5,6,8,.46), transparent); }
.offer-intro__label { margin-bottom: 18px; color: #aab4bf; font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.offer-intro__deliverables > div { display: grid; grid-template-columns: 29px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18); }
.offer-intro__deliverables > div > span { grid-row: span 2; color: #aab4bf; font: 400 11px/1.5 var(--mono); }
.offer-intro__deliverables strong { font-size: 18px; line-height: 1.25; font-weight: 500; }
.offer-intro__deliverables > div > p { margin-top: 5px; color: #b6c0ca; font-size: 14px; line-height: 1.45; }
.offer-intro__secondary { position: relative; display: inline-flex; align-self: flex-start; gap: 12px; margin-top: 52px; color: #acb7c1; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 5px; }
.offer-intro__secondary:hover { color: #fff; border-color: #fff; }
@media (max-width: 1050px) { .offer-intro__inner { grid-template-columns: 1fr; gap: 45px; } .offer-intro__deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; border-left: 0; padding-left: 0; } .offer-intro__label { grid-column: 1 / -1; } }
@media (max-width: 700px) { .offer-intro { min-height: 100svh; padding: 128px 22px 34px; } .offer-intro::after { background: linear-gradient(90deg, rgba(5,6,8,.98), rgba(5,6,8,.68)), linear-gradient(0deg, #050608, transparent 45%); } .offer-intro h1 { font-size: clamp(38px, 9.5vw, 58px); line-height: 1.05; margin-top: 16px; } .offer-intro__lead { font-size: 16px; margin-top: 20px; } .offer-intro__actions { gap: 18px; margin-top: 24px; } .offer-intro__actions .btn { white-space: normal; } .offer-intro__status { margin-top: 20px; } .offer-intro__deliverables { display: block; } .offer-intro__label { margin-bottom: 8px; } .offer-intro__deliverables > div { padding: 12px 0; } .offer-intro__deliverables strong { font-size: 16px; } .offer-intro__secondary { margin-top: 32px; } }

/* ---------- The shot ---------- */
.shot { position: relative; height: 1150vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1700px; perspective-origin: 50% 40%; }
.rig { position: absolute; left: 50%; top: 0; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.layer { position: absolute; left: 0; top: 0; border-radius: 16px; overflow: hidden; transform-style: preserve-3d; will-change: transform, opacity; backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, .22); background: linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015) 45%, rgba(255, 255, 255, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .03), 0 40px 90px rgba(0, 0, 0, .55); }
.layer::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, rgba(255, 255, 255, .12), transparent 30%, transparent 70%, rgba(255, 255, 255, .05)); mix-blend-mode: screen; }
.layer canvas, .layer video, .layer img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.layer img, .layer video { object-fit: cover; }
.layer--hero, .layer--cloud { border-radius: 22px; }
.layer--hero img { object-position: 60% 50%; }
.layer--hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5, 6, 8, .78), rgba(5, 6, 8, .25) 55%, rgba(5, 6, 8, 0)), linear-gradient(0deg, rgba(5, 6, 8, .55), transparent 35%); }
.layer--cloud { background: radial-gradient(90% 90% at 65% 60%, #0d1520, #050608); }
.layer--photo video { object-fit: contain; background: #000; }
.layer--halo video { object-fit: contain; background: #000; }
.plat { position: absolute; left: 0; top: 0; z-index: 3; font: 500 17px/1.2 var(--sans); white-space: nowrap; opacity: 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .35); }
.plat i { display: block; margin-top: 6px; font-style: normal; font-weight: 400; font-size: 14px; color: var(--muted); }

.copy { position: absolute; left: 0; right: 0; margin-inline: auto; bottom: 9vh; width: min(720px, 88vw); text-align: center; opacity: 0; visibility: hidden; z-index: 2; }
.copy h2 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.8vw, 58px); letter-spacing: -.022em; line-height: 1.06; margin-top: 14px; }
.copy p:not(.k) { margin-top: 16px; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; color: #b9c0cb; }
.copy b { color: var(--ink); }
.copy--hero, .copy--left { left: clamp(28px, 6vw, 96px); right: auto; margin-inline: 0; top: auto; bottom: clamp(88px, 13vh, 150px); width: min(760px, 86vw); text-align: left; }
.copy--hero h2 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, min(7vw, 12.5vh), 112px); letter-spacing: -.045em; line-height: .98; margin-top: 18px; }
.copy--left h2 { font-size: clamp(40px, min(6vw, 11vh), 96px); letter-spacing: -.03em; line-height: 1; }
.copy--hero .lead, .copy--left .lead { max-width: 560px; font-size: clamp(15px, min(1.4vw, 2.4vh), 20px); color: #d8dde6; }
.copy--hero h2 { margin-top: clamp(10px, 2vh, 18px); } .copy--hero .lead { margin-top: clamp(10px, 2vh, 16px); }
html[lang="ko"] .copy--hero h2 { font-size: clamp(44px, 5.3vw, 80px); }
.hero__paths { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(14px, 2.5vh, 24px); }
.copy .hero__paths p { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 210px; font-size: 14px; line-height: 1.35; color: #e3e7ee; }
.copy .hero__paths b { font: 400 10px/1.3 var(--mono); letter-spacing: .1em; color: #abb6c6; }
.hero__paths span { max-width: 260px; }
.copy--left { width: min(520px, 86vw); }
.ctas { display: flex; align-items: center; gap: 22px; margin-top: clamp(16px, 3vh, 30px); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 999px; background: #fff; color: #050608; font-weight: 500; font-size: 15px; transition: transform .3s var(--ease), box-shadow .3s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 255, 255, .15); }
.ghost { font-size: 15px; display: inline-flex; gap: 8px; opacity: .85; }

.chapters { position: absolute; left: clamp(20px, 3vw, 40px); bottom: 22px; display: flex; gap: 4px; z-index: 3; }
.chapters button { font: 400 12px/1 var(--sans); color: #8b93a1; padding: 8px 10px 10px; border-bottom: 1px solid rgba(255, 255, 255, .14); transition: color .3s, border-color .3s; white-space: nowrap; }
.chapters button span { font-family: var(--mono); font-size: 10px; margin-right: 6px; opacity: .7; }
.chapters button.is-on, .chapters button:hover { color: #fff; border-color: #fff; }
.pause { position: absolute; right: clamp(20px, 3vw, 40px); bottom: 26px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #c3c9d3; }
.pause i { width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pause[aria-pressed="true"] i { width: 0; height: 0; border: solid transparent; border-width: 6px 0 6px 10px; border-left-color: currentColor; }

/* ---------- Statement ---------- */
.quote { position: relative; overflow: hidden; min-height: 130vh; display: grid; place-items: center; padding: 18vh clamp(20px, 7vw, 120px); }
.quote__field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); }
.quote__text { position: relative; z-index: 1; text-shadow: 0 0 28px #050506, 0 0 10px #050506; }
.quote__text { max-width: 1100px; font-size: clamp(30px, 3.9vw, 60px); font-weight: 400; letter-spacing: -.025em; line-height: 1.16; }
.quote__text em { font-style: normal; color: var(--accent); }

/* ---------- Reading sections ---------- */
.sec { padding: clamp(110px, 15vh, 170px) clamp(20px, 5vw, 80px) clamp(90px, 12vh, 140px); }
.sec > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.sec--light { background: var(--paper); color: var(--paper-ink); }
.sec--light .k { color: var(--paper-muted); }
.sec__head { text-align: center; max-width: 820px; margin-bottom: clamp(44px, 7vh, 72px); }
.sec__head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -.025em; line-height: 1.04; margin-top: 16px; }
.sec__head p:not(.k) { margin: 18px auto 0; max-width: 600px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.sec--light .sec__head p:not(.k) { color: var(--paper-muted); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); margin-bottom: 40px; }
.stats div { padding: 30px 28px; display: grid; gap: 10px; }
.stats div + div { border-left: 1px solid var(--paper-line); }
.stats b { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5vw, 72px); letter-spacing: -.04em; line-height: 1; }
.stats span { font-size: 14px; line-height: 1.45; color: var(--paper-muted); max-width: 240px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.col { padding: 30px; border-radius: 18px; background: #fff; border: 1px solid var(--paper-line); transition: transform .4s var(--ease), box-shadow .4s; }
.col:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .3); border-color: #0a0a0a; }
.col:nth-child(2) { transition-delay: .08s; } .col:nth-child(3) { transition-delay: .16s; }
.col .n { font: 400 12px/1 var(--mono); color: var(--paper-muted); }
.col h3 { margin-top: 20px; font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -.02em; }
.col ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.col li { font-size: 15px; line-height: 1.5; color: #333; padding-left: 16px; position: relative; }
.col li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 1px; background: currentColor; }
.more { display: block; width: max-content; margin: 40px auto 0; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------- Technology lab ---------- */
.lab { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: stretch; }
.lab__tabs { display: grid; gap: 8px; align-content: start; }
.lab__tabs button { text-align: left; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); color: var(--muted); transition: border-color .3s, background .3s, color .3s; }
.lab__tabs button b { display: block; font-weight: 500; font-size: 17px; color: var(--ink); }
.lab__tabs button span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; }
.lab__tabs button[aria-selected="true"] { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); color: #c3c9d3; }
.lab__stage { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0a0c10; aspect-ratio: 16 / 9; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.lab__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; filter: brightness(.72) saturate(.85); }
.lab[data-mode="vla"] .lab__img { opacity: 1; }
.lab__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab__chips { position: absolute; right: 14px; top: 12px; display: none; gap: 6px; }
.lab[data-mode="world"] .lab__chips, .lab:not([data-mode]) .lab__chips { display: flex; }
.lab__chips button { font: 400 12px/1 var(--mono); padding: 7px 10px; border-radius: 99px; border: 1px solid var(--line); background: rgba(5, 6, 8, .7); color: var(--muted); }
.lab__chips button[aria-pressed="true"] { color: #050608; background: var(--ink); border-color: var(--ink); }
.lab__stage figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 16px; padding: 20px 22px; background: linear-gradient(transparent, rgba(5, 6, 8, .94)); }
.lab__out { flex: 1; font-size: 18px; font-weight: 400; line-height: 1.45; min-height: 1.45em; }
.lab__src { font: 400 11px/1.4 var(--mono); color: var(--muted); max-width: 300px; text-align: right; }
.lab__replay { font: 400 12px/1 var(--mono); padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line); }

/* ---------- Industries: one word at a time ---------- */
.kin { position: relative; height: 340vh; }
.kin__sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: 88px clamp(20px, 5vw, 80px) 40px; }
.kin__copy { order: -1; }
.kin__list { list-style: none; margin-top: 26px; }
.kin__list li { padding: 6px 0; transition: opacity .5s var(--ease); opacity: .22; }
.kin__list li b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6vw, 92px); letter-spacing: -.03em; line-height: 1.02; transition: transform .6s var(--ease); transform-origin: left center; }
.kin__list li span { display: block; max-height: 0; overflow: hidden; font-size: 17px; color: #c3c9d3; transition: max-height .6s var(--ease), margin .6s var(--ease); }
.kin__list li.is-on { opacity: 1; }
.kin__list li.is-on span { max-height: 3em; margin-top: 10px; }
.kin__media { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.kin__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.kin__media img.is-on { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hd__nav { display: none; }
  .wordmark { font-size: 25px; } .wordmark > span { font-size: 7px; letter-spacing: 3.4px; margin-top: 6px; } .brand-mark { width: 27px; height: 27px; } .brand { gap: 10px; }
  .chapters { display: none; }
  .cols3, .lab, .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--paper-line); }
  .lab__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab__chips { left: 10px; right: 10px; top: auto; bottom: 64px; flex-wrap: wrap; }
  .lab__src { display: none; }
  .kin__sticky { grid-template-columns: 1fr; align-content: center; }
  .kin__copy { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .kin__media img, .kin__list li, .kin__list li span { transition: none; } }

/* Korean uses Pretendard first; Chinese headlines need a little less negative tracking. */
html[lang="ko"] { --sans: 'Pretendard Variable', Pretendard, 'Geist', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; --display: 'Pretendard Variable', Pretendard, 'Helvetica Neue', Helvetica, Arial, sans-serif; }
html[lang="zh-CN"] .copy h2, html[lang="zh-CN"] .copy--hero h2, html[lang="zh-CN"] .sec__head h2, html[lang="zh-CN"] .kin__list b { letter-spacing: -.02em; }
html[lang="ko"] .copy h2, html[lang="ko"] .copy--hero h2, html[lang="ko"] .sec__head h2, html[lang="ko"] .kin__list b { letter-spacing: -.03em; word-break: keep-all; }
@media (max-width: 900px) { .lang { font-size: 12px; } .lang button { padding: 6px 7px; } .hd__cta { display: none; } }
/* Line masks need room for descenders and for taller CJK glyphs. */
.split .ln-mask, [class*="-mask"] { padding-bottom: .1em; margin-bottom: -.1em; }
html[lang="zh-CN"] .copy--hero h2, html[lang="ko"] .copy--hero h2, html[lang="zh-CN"] .copy--left h2, html[lang="ko"] .copy--left h2 { line-height: 1.14; }
html[lang="zh-CN"] .copy h2, html[lang="ko"] .copy h2, html[lang="zh-CN"] .sec__head h2, html[lang="ko"] .sec__head h2, html[lang="zh-CN"] .end h2 { line-height: 1.16; }

/* ---------- Technology: layered panels, pulled apart as each row arrives ---------- */
.tx-pin { position: relative; }
.tx-tabs { position: relative; display: flex; gap: 6px; justify-content: center; margin: 0 auto 14px; max-width: 900px; padding-bottom: 14px; }
.tx-tabs button { flex: 1; text-align: left; padding: 10px 12px; color: #8b93a1; font-size: 14px; transition: color .3s; }
.tx-tabs button span { display: block; font: 400 11px/1 var(--mono); margin-bottom: 6px; opacity: .7; }
.tx-tabs button em { font-style: normal; }
.tx-tabs button[aria-selected="true"], .tx-tabs button:hover { color: #fff; }
.tx-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .16); }
.tx-bar i { position: absolute; left: 0; top: 0; height: 1px; width: 25%; background: #fff; transform: translateX(calc(var(--p, 0) * 300%)); }
.tx-viewport { overflow: hidden; }
.tx-list { display: flex; width: 400%; will-change: transform; }
.tx-list > .tx { flex: 0 0 25%; padding: 0 clamp(8px, 2vw, 32px); }
.tx { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 90px); }

.tx__art { position: relative; height: clamp(320px, 42vw, 520px); perspective: 1600px; }
.stack { position: absolute; inset: 0; transform-style: preserve-3d; --gap: 14; --ry: -26; animation: txFloat 9s ease-in-out infinite; }
.pane { position: absolute; left: 50%; top: 50%; width: min(70%, 420px); aspect-ratio: 420 / 300; margin: 0; transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateY(calc(var(--ry) * 1deg)) rotateX(10deg) translateZ(calc((var(--i) - 1.5) * var(--gap) * 2.4px)) translateX(calc((var(--i) - 1.5) * var(--gap) * 1.3px));
  border: 1px solid rgba(255, 255, 255, .42); border-radius: 18px; background: rgba(8, 10, 14, .18); overflow: hidden; transition: border-color .3s; }
.pane:nth-child(1) { --i: 0; opacity: .75; } .pane:nth-child(2) { --i: 1; } .pane:nth-child(3) { --i: 2; } .pane:nth-child(4) { --i: 3; }
.pane svg { width: 100%; height: 100%; display: block; fill: none; stroke-linecap: round; }
.pane--img { background: #111; border-color: rgba(255, 255, 255, .25); }
.pane--img img { width: 100%; height: 100%; object-fit: cover; opacity: .82; filter: grayscale(.25) contrast(1.05); }
.pane--frame { background: transparent; }
.ln line, .ln path, g.ln line { stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.ln--bright path, .ln--bright, path.ln--bright { stroke: rgba(255, 255, 255, .9); stroke-width: 1.3; }
.ln--bright circle { fill: #050608; stroke: #fff; stroke-width: 1.2; }
.mono { font: 400 10px/1 'Geist Mono', monospace; fill: rgba(255, 255, 255, .6); stroke: none; letter-spacing: .04em; }
.dot-safe { fill: var(--safe); stroke: none; }
.ring-acc { stroke: var(--accent); stroke-width: 1.6; }
.brk { stroke: rgba(255, 255, 255, .8); stroke-width: 1.4; }
.tok rect { stroke: rgba(255, 255, 255, .55); } .tok + text, .pane text.mono { fill: rgba(255, 255, 255, .75); }
.arrow-acc { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 6; } .x-acc { stroke: var(--accent); stroke-width: 2.4; }
.arrow-safe { stroke: var(--safe); stroke-width: 2; } .ok-safe { stroke: var(--safe); stroke-width: 2.4; }
.barrier { stroke: rgba(255, 255, 255, .7); stroke-width: 1.4; stroke-dasharray: 3 5; }
.bars rect { stroke: none; } .b-acc { fill: var(--accent); } .b-safe { fill: var(--safe); } .b-ink { fill: rgba(255, 255, 255, .75); }
.dots circle { fill: rgba(255, 255, 255, .55); } .dots--safe circle { fill: var(--safe); }
.tx__copy h3 { margin-top: 14px; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.025em; line-height: 1.06; }
.tx__copy p:not(.k) { margin-top: 16px; max-width: 460px; font-size: 17px; line-height: 1.6; color: #b9c0cb; }
@keyframes txFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
html.motion-paused .stack { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .stack { animation: none; --gap: 46; --ry: -32; } }
@media (max-width: 900px) { .tx { grid-template-columns: 1fr; } .tx__art { height: 280px; } .tx-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .tx-list > .tx { scroll-snap-align: center; } .tx-tabs button em { display: none; } }

/* the safety-agent console, inside its pane */
.console__body { padding: 12px 14px; display: grid; gap: 7px; align-content: start; font: 400 11.5px/1.4 'Geist Mono', monospace; color: #c9d0db; overflow: hidden; }
.console__line { display: grid; grid-template-columns: 46px 1fr; gap: 8px; }
.console__line b { font-weight: 400; color: #6b7382; }
.console__line.is-warn span { color: var(--accent); } .console__line.is-ok span { color: #e6e9ee; } .console__line.is-goal span { color: #fff; }

/* ---------- Pointer robot: inverts against whatever is beneath it ---------- */
.follower { position: fixed; inset: 0; pointer-events: none; z-index: 60; mix-blend-mode: difference; opacity: 0; transition: opacity .5s var(--ease); }
.follower.is-on { opacity: 1; }
.follower__bot, .follower__trail i { position: absolute; left: 0; top: 0; will-change: transform; }
.follower__bot svg { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; overflow: visible; }
.follower .body { fill: #fff; }
.follower .deck { fill: none; stroke: #000; stroke-width: 1.2; opacity: .55; }
.follower .wheels rect { fill: #fff; opacity: .75; }
.follower .lidar { fill: #000; }
.follower .lidar-dot { fill: #fff; }
.follower .cone { fill: #fff; opacity: .1; transform-origin: 0 0; transition: opacity .35s, transform .35s var(--ease); }
.follower.is-scanning .cone { opacity: .32; transform: scale(1.35); animation: scan 1.4s ease-in-out infinite; }
.follower__trail i { width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #fff; }
@keyframes scan { 0%, 100% { opacity: .18; } 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .follower { display: none; } }

/* ---------- Technology: things happening inside the layers ---------- */
.pane--img video { width: 100%; height: 100%; object-fit: cover; opacity: .85; filter: grayscale(.2); }
.mover { fill: #fff; stroke: none; } .mover--safe { fill: var(--safe); }
.fut { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLoop 6s cubic-bezier(.4, 0, .2, 1) infinite; animation-delay: calc(var(--k) * .35s); }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLoop 4.8s cubic-bezier(.4, 0, .2, 1) 1.2s infinite; }
@keyframes drawLoop { 0% { stroke-dashoffset: 1; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.flow { animation: flow 1.6s linear infinite; } @keyframes flow { to { stroke-dashoffset: -24; } }
.blink { animation: blink 4.8s ease-in-out infinite; } .blink-late { animation: blink 4.8s ease-in-out 1.8s infinite; }
@keyframes blink { 0%, 20% { opacity: 0; } 30%, 85% { opacity: 1; } 100% { opacity: 0; } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .55; } }
.grow rect { transform-box: fill-box; transform-origin: left center; animation: grow 5s cubic-bezier(.2, .7, .2, 1) infinite; }
.grow rect:nth-child(2) { animation-delay: .15s; } .grow rect:nth-child(3) { animation-delay: .3s; } .grow rect:nth-child(4) { animation-delay: .45s; } .grow rect:nth-child(5) { animation-delay: .6s; } .grow rect:nth-child(6) { animation-delay: .75s; }
@keyframes grow { 0% { transform: scaleX(.05); } 35%, 85% { transform: scaleX(1); } 100% { transform: scaleX(.05); } }
.scan { fill: var(--safe); opacity: .8; animation: sweep 3.6s linear infinite; }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(300px); } }
.twinkle circle { animation: twinkle 3.6s ease-in-out infinite; }
.twinkle circle:nth-child(5n+1) { animation-delay: .2s; } .twinkle circle:nth-child(5n+2) { animation-delay: .6s; } .twinkle circle:nth-child(5n+3) { animation-delay: 1s; } .twinkle circle:nth-child(5n+4) { animation-delay: 1.4s; } .twinkle circle:nth-child(5n) { animation-delay: 1.8s; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
html.motion-paused .tx * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .tx * { animation: none !important; } .fut, .draw { stroke-dashoffset: 0; } }

.mono--acc { fill: var(--accent); } .mono--safe { fill: var(--safe); }

.tx-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: -12px auto 18px; }
.tx-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); font-size: 16px; transition: background .25s, color .25s, opacity .25s; }
.tx-nav button:hover { background: #fff; color: #050608; }
.tx-nav button:disabled { opacity: .25; pointer-events: none; }
.tx-hint { font: 400 12px/1 var(--mono); color: #8b93a1; letter-spacing: .04em; }

/* ---------- The 135 variations ---------- */
.vgrid { margin: 0 0 clamp(40px, 6vh, 70px); }
.vgrid canvas { display: block; width: 100%; height: clamp(420px, 56vh, 560px); }
.vgrid figcaption { margin-top: 14px; max-width: 620px; font-size: 14px; line-height: 1.5; color: var(--paper-muted); }
@media (max-width: 700px) { .vgrid canvas { height: 520px; } }

/* ---------- The mark in points ---------- */
.pmark { position: relative; height: 100svh; min-height: 560px; background: radial-gradient(ellipse at 50% 48%, #142331 0, #0a121b 52%, #050608 100%); scroll-margin-top: 76px; }
.pmark canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Technology: a compact head, so the pinned stacks get the screen */
#technology { padding-top: clamp(80px, 10vh, 120px); }
#technology .sec__head { margin-bottom: clamp(24px, 4vh, 40px); }
#technology .sec__head h2 { font-size: clamp(34px, 3.8vw, 56px); }
#technology .sec__head p:not(.k) { margin-top: 10px; font-size: 16px; }

/* Careers: a short note after the contact */
.gh .careers-section--short { padding-top: 56px; padding-bottom: 64px; position: relative; }
.gh .careers-section--short::before { position: absolute; content: ''; height: 1px; background: #b1c1bb2b; left: var(--gutter); right: var(--gutter); top: 0; }
.gh .careers-section--short h2 { font-size: clamp(32px, 3.4vw, 52px); }

/* ---------- Focus: two directions over the signal surface ---------- */
.focus { display: block; min-height: 0; padding: clamp(120px, 18vh, 200px) clamp(20px, 5vw, 80px) clamp(100px, 14vh, 160px); background: #101a24; }
.focus .quote__field { opacity: .45; }
.focus__in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; }
.focus__head { max-width: 980px; margin-bottom: clamp(48px, 8vh, 88px); }
.focus__head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6vw, 96px); letter-spacing: -.03em; line-height: 1; margin-top: 18px; }
.focus__lead { margin-top: 24px; max-width: 760px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: #cbd4dc; }
.focus__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.focus__card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 610px; padding: 30px clamp(24px, 2.6vw, 40px) 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(29,43,57,.92); transition: border-color .65s, color .65s, transform .45s var(--ease); }
.focus__card::before { content: ''; position: absolute; z-index: 0; inset: 0; background: #f7f9fa; transform: scaleY(0); transform-origin: bottom; transition: transform .85s cubic-bezier(.22,.65,.24,1); pointer-events: none; }
.focus__card > * { position: relative; z-index: 1; }
.focus__card:hover, .focus__card:focus-within { transform: translateY(-5px); }
.focus__n { display: flex; justify-content: space-between; gap: 16px; font: 400 11px/1.4 var(--mono); letter-spacing: .075em; text-transform: uppercase; color: #a9b8c6; transition: color .65s; }
.focus__card h3 { margin-top: 58px; max-width: 530px; font-family: var(--display); font-weight: 500; font-size: clamp(32px, 3vw, 48px); letter-spacing: -.025em; line-height: 1.06; }
.focus__service { margin-top: 14px; font: 500 12px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #a9c8ff; transition: color .65s; }
.focus__body { margin-top: 24px; font-size: 16px; line-height: 1.55; color: #d0d8df; max-width: 520px; transition: color .65s; }
.focus__detail { margin-top: 28px; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.18); transition: border-color .65s; }
.focus__detail span { font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a9b8c6; transition: color .65s; }
.focus__detail p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: #d0d8df; transition: color .65s; }
.focus__outcome { margin-top: 24px; font-size: 14px; line-height: 1.45; color: #a9b8c6; transition: color .65s; }
.focus__link { align-self: flex-start; margin-top: auto; padding: 24px 0 6px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 500; }
.focus__cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 32px; padding: 12px 0 7px; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 500; }
.focus__card:hover::before, .focus__card:focus-within::before { transform: scaleY(1); }
.focus__card:hover, .focus__card:focus-within { color: #101820; border-color: #d7e0e5; }
.focus__card:hover .focus__n, .focus__card:focus-within .focus__n,
.focus__card:hover .focus__detail span, .focus__card:focus-within .focus__detail span,
.focus__card:hover .focus__outcome, .focus__card:focus-within .focus__outcome { color: #53616b; }
.focus__card:hover .focus__service, .focus__card:focus-within .focus__service { color: #344e67; }
.focus__card:hover .focus__body, .focus__card:focus-within .focus__body,
.focus__card:hover .focus__detail p, .focus__card:focus-within .focus__detail p { color: #283742; }
.focus__card:hover .focus__detail, .focus__card:focus-within .focus__detail { border-color: rgba(16,24,32,.2); }
#platform { background: #e3eaf0; color: #101820; }
#platform .k, #platform .sec__head p:not(.k) { color: #4f5d68; }
#platform .app { color: var(--ink); }
#technology { background: #15202a; }
.kin { background: #e9edef; color: #101820; }
.kin .k, .kin__tag { color: #596570; }
.kin__list li { opacity: .4; }
.kin__list li span { color: #43505b; }
.kin__list li[data-i="0"] .kin__tag { color: #344c62; }
.kin__media { border-color: #cad2d8; box-shadow: 0 32px 70px rgba(33,47,58,.14); }
.kin__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(16,24,32,.08); border-radius: inherit; }
.pilot__disclaimer { margin: -16px 0 34px; max-width: 760px; padding-left: 13px; border-left: 2px solid var(--accent); color: #51545a; font-size: 14px; line-height: 1.5; }
@media (max-width: 760px) { .layer--hero::before { background: linear-gradient(0deg, rgba(5,6,8,.93), rgba(5,6,8,.76) 42%, rgba(5,6,8,.08) 88%); } .hero__paths { gap: 10px 18px; } .copy .hero__paths p { min-width: 0; flex: 1 1 140px; font-size: 12px; } .copy--hero h2, html[lang="ko"] .copy--hero h2 { font-size: clamp(38px, 9.8vw, 56px); } .copy--hero { bottom: 80px; } .copy--hero .ctas { gap: 12px; } .copy--hero .ghost { font-size: 13px; } }
@media (max-width: 420px) and (max-height: 750px) { .copy--hero h2 { font-size: 36px; } .copy--hero .lead { font-size: 14px; } .copy .hero__paths p { font-size: 11px; } .copy--hero .ctas { margin-top: 12px; } .copy--hero .btn { padding: 11px 15px; font-size: 13px; } }
@media (max-width: 760px) { .pmark { min-height: 0; } .focus__grid { grid-template-columns: 1fr; } .focus__card { min-height: 0; padding: 26px 24px 30px; } .focus__card h3 { margin-top: 42px; } .focus__link { margin-top: 16px; } }
@media (hover: none) { .focus__card { color: #101820; border-color: #d7e0e5; } .focus__card::before { transform: scaleY(1); transition: none; } .focus__card .focus__n, .focus__card .focus__detail span, .focus__card .focus__outcome { color: #53616b; } .focus__card .focus__service { color: #344e67; } .focus__card .focus__body, .focus__card .focus__detail p { color: #283742; } .focus__card .focus__detail { border-color: rgba(16,24,32,.2); } }
@media (prefers-reduced-motion: reduce) { .focus__card::before, .focus__card, .focus__detail, .focus__outcome, .focus__n { transition: none; } }

/* ---------- Platform window: Prism, Lens (the working model), Halo ---------- */
.pf .sec__head { margin-left: auto; margin-right: auto; }
.app { max-width: 1320px; margin: 0 auto; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: #08090b; box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.app__bar { position: sticky; top: 88px; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 17px 17px 0 0; background: rgba(12,13,16,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.app__dots { display: flex; gap: 6px; } .app__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.app__tabs { display: flex; gap: 4px; padding: 3px; border-radius: 11px; background: rgba(255,255,255,.05); }
.app__tabs button { display: grid; gap: 2px; text-align: left; padding: 8px 16px; border-radius: 8px; color: var(--muted); transition: background .25s, color .25s; }
.app__tabs button b { font: 600 14px/1.1 var(--display); color: inherit; letter-spacing: -.01em; }
.app__tabs button span { font: 400 11px/1.2 var(--mono); }
.app__tabs button[aria-current="step"] { background: #fff; color: #0a0a0a; }
.app__tabs button:not([aria-current="step"]):hover { color: #fff; }
.app__scene { margin-left: auto; font: 400 12px/1 var(--mono); color: var(--muted); }
.app__pane { padding: clamp(16px, 2vw, 26px); min-height: 600px; }
.app__pane + .app__pane { border-top: 1px solid rgba(255,255,255,.12); padding-top: clamp(32px, 4vw, 56px); }
.app__k { font: 400 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.btn-line { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 13px; color: #fff; transition: border-color .25s, background .25s; }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.pill { display: inline-block; margin-left: 8px; padding: 3px 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 10px; letter-spacing: .06em; color: #d6dae0; vertical-align: 1px; }

/* Prism */
.pp { display: grid; grid-template-columns: minmax(240px, .8fr) 2fr; gap: clamp(16px, 2vw, 28px); min-height: 520px; }
.pp__seed { display: flex; flex-direction: column; gap: 12px; }
.pp__img { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.pp__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.pp__img figcaption { padding: 8px 10px; font: 400 11px/1.4 var(--mono); color: var(--muted); }
.pp__vars { display: grid; gap: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.1); }
.pp__vars div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.pp__vars dt { color: #c3c9d3; } .pp__vars dd { margin: 0; font-family: var(--mono); font-size: 13px; }
.pp__run { align-self: flex-start; margin-top: 6px; }
.pp__gen { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-width: 0; }
.pp__stats { display: flex; gap: clamp(20px, 4vw, 56px); }
.pp__stats div { display: grid; gap: 4px; } .pp__stats b { font: 500 clamp(36px, 4vw, 56px)/1 var(--display); letter-spacing: -.03em; }
.pp__stats .pp__f { color: rgb(235,154,122); } .pp__stats span { font-size: 13px; color: var(--muted); }
.pp__cv { width: 100%; height: 100%; min-height: 260px; display: block; }
.pp__clusters { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.pp__clusters.is-on { opacity: 1; transform: none; }
.pp__clusters li { display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.pp__ab { font: 400 12px/1 var(--mono); color: rgb(235,154,122); } .pp__name { font-size: 15px; } .pp__clusters b { font: 500 22px/1 var(--display); }
.pp__go { font-size: 13px; color: var(--muted); } .pp__go:hover { color: #fff; }

/* Lens: the working model */
.demo { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(16px, 2vw, 26px); }
.demo__view { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.demo__cv { width: 100%; aspect-ratio: 16 / 10.5; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: #050506; display: block; }
.demo__bar { display: flex; align-items: center; gap: 12px; }
.demo__play { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; color: #0a0a0a; font-size: 13px; font-weight: 500; }
.demo__play i { width: 0; height: 0; border: solid transparent; border-width: 5px 0 5px 8px; border-left-color: currentColor; }
.demo__time { flex: 1; accent-color: #fff; }
.demo__panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.demo__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; border-radius: 11px; background: rgba(255,255,255,.05); }
.demo__seg button { padding: 8px 6px; border-radius: 8px; font: 400 11.5px/1.25 var(--mono); color: var(--muted); white-space: pre-line; }
.demo__seg button[aria-pressed="true"] { background: #fff; color: #0a0a0a; }
.demo__slider { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; color: #c3c9d3; }
.demo__slider output { font: 400 13px/1.4 var(--mono); color: #fff; }
.demo__slider input { grid-column: 1 / -1; accent-color: #fff; width: 100%; }
.demo__verdict { margin: 6px 0 0; font: 500 clamp(22px, 2vw, 28px)/1.15 var(--display); letter-spacing: -.02em; }
.demo__verdict.is-fail { color: #fff; } .demo__verdict.is-fail::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; border: 2px solid #fff; vertical-align: 3px; }
.demo__verdict.is-pass::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: #fff; vertical-align: 3px; opacity: .6; }
.demo__rows { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.demo__rows div { padding: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; display: grid; gap: 4px; }
.demo__rows dt { font: 400 10.5px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; } .demo__rows dd { margin: 0; font: 500 17px/1 var(--display); }
.demo__map canvas { display: block; width: 100%; height: 132px; margin-top: 8px; cursor: pointer; }
.demo__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Halo */
.hp { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: clamp(16px, 2vw, 26px); }
.hp__view { position: relative; aspect-ratio: 1280 / 676; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #050506; }
.hp__view video, .hp__cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp__view video { filter: grayscale(1) contrast(1.05) brightness(.9); }
.hp__side { display: flex; flex-direction: column; gap: 14px; }
.hp__read { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hp__read > div { padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; display: grid; gap: 6px; }
.hp__read span { font: 400 10.5px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.hp__read b { font: 500 32px/1 var(--display); letter-spacing: -.02em; } .hp__read b.is-warn { color: rgb(235,154,122); }
.hp__read i { font: normal 400 12px/1 var(--mono); color: var(--muted); }
.hp__bar { display: block; height: 3px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.hp__bar i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.hp__log { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font: 400 12.5px/1.45 var(--mono); }
.hp__log li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); color: #c3c9d3; animation: logIn .4s ease; }
.hp__log li time { color: var(--muted); } .hp__log li.is-warn span { color: rgb(235,154,122); }
@keyframes logIn { from { opacity: 0; transform: translateY(-4px); } }
.hp__note { margin-top: auto; font-size: 12px; line-height: 1.5; color: var(--muted); }

@media (max-width: 900px) {
  .pp, .demo, .hp { grid-template-columns: 1fr; }
  .app__scene { display: none; }
  .app__tabs button { padding: 7px 10px; } .app__tabs button span { display: none; }
}

/* Phones: hero calls to action on one line each, and a darker base under the hero copy */
@media (max-width: 600px) {
  .ctas { flex-wrap: wrap; gap: 12px 18px; }
  .btn { padding: 12px 18px; font-size: 14px; white-space: nowrap; }
  .ghost { font-size: 14px; white-space: nowrap; }
  .layer--hero::after { content: ''; position: absolute; inset: 35% 0 0; z-index: 1; background: linear-gradient(180deg, rgba(5,6,8,0), rgba(5,6,8,.82) 55%); pointer-events: none; }
}

/* One case label, kept from the update to the retest */
.case-tag { position: absolute; left: clamp(20px, 3vw, 40px); top: 72px; z-index: 3; margin: 0; display: flex; gap: 10px; align-items: baseline; font: 400 11px/1 var(--mono); letter-spacing: .04em; color: rgba(255,255,255,.62); opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .4s; pointer-events: none; }
.case-tag.is-on { opacity: 1; transform: none; }
.case-tag b { font-weight: 500; color: #fff; text-transform: uppercase; letter-spacing: .1em; }
.case-tag__v { font-style: normal; color: rgba(255,255,255,.45); white-space: pre; }
@media (max-width: 760px) {
  .case-tag { top: 94px; left: auto; right: 14px; display: block; padding: 4px 8px; border-radius: 999px; background: rgba(5,6,8,.88); }
  .case-tag b, .case-tag [data-i18n="case.name"], .case-tag__v { display: none; }
}

/* Chapter strip: larger, easier to read and to hit */
.chapters button { font-size: 13px; color: #a6adb8; padding: 10px 12px 12px; }
.chapters button span { font-size: 11px; }
@media (max-width: 1100px) { .hd__cta { display: none; } }
@media (min-width: 901px) and (max-width: 1200px) {
  .chapters button { font-size: 12px; padding: 10px 8px 12px; }
}

/* Lens: the case under test, and what a build switch changed */
.demo__case { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 4px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; font: 400 12px/1.4 var(--mono); color: #c3c9d3; transition: border-color .6s, background .6s; }
.demo__case b { font-weight: 500; color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.demo__case-id { color: #fff; } .demo__case-g { color: rgb(235,154,122); }
.demo__case-v { flex-basis: 100%; font-style: normal; color: var(--muted); white-space: pre; }
.demo__case.is-new { animation: caseIn 1.6s ease; }
@keyframes caseIn { 0% { border-color: #fff; background: rgba(255,255,255,.08); } 100% { border-color: rgba(255,255,255,.12); background: transparent; } }
.demo__rows dd.is-changed { color: rgb(235,154,122); }
.demo__rows dd s { opacity: .55; text-decoration-thickness: 1px; font-size: .8em; }

@media (max-width: 600px) {
  .plat { white-space: normal; font-size: 13px; line-height: 1.2; }
  .plat i { white-space: normal; font-size: 11px; line-height: 1.3; margin-top: 4px; }
  .copy[data-ch="6"] h2 { font-size: 32px; line-height: 1.08; }
  .copy[data-ch="6"] p:not(.k) { font-size: 14px; line-height: 1.42; margin-top: 10px; }
  .copy[data-ch="6"] p.rt-open { font-size: 12px; gap: 6px 10px; margin-top: 8px; }
}

/* Technology on desktop: the arrows join the tab row, so the stacks and copy fit a 1280x720 screen */
@media (min-width: 901px) {
  .tx-tabs { margin-bottom: 8px; }
  .tx-nav { position: absolute; top: 6px; right: 0; margin: 0; gap: 8px; }
  .tx-nav button { width: 36px; height: 36px; }
  .tx-hint { display: none; }
  .tx__art { height: clamp(300px, min(40vw, 100vh - 230px), 520px); }
}

/* Where the numbers come from, and which industry is the case on this page */
.case-tag__src, .demo__case-src { font-style: normal; padding: 2px 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font: 400 10px/1.3 var(--mono); letter-spacing: .04em; color: rgba(255,255,255,.55); }
.kin__tag { display: block; margin-bottom: 6px; font: 400 11px/1 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #596570; }
.kin__list li[data-i="0"] .kin__tag { color: #344c62; }

/* Safety agents: a flat console window instead of a layered stack; the step chips follow the run */
.tx__art--flat { display: flex; align-items: center; perspective: none; }
.txf { width: 100%; margin: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: #08090b; overflow: hidden; }
.txf__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.1); background: #0c0d10; }
.txf__dots { display: flex; gap: 5px; } .txf__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); }
.txf__title { font: 400 12px/1 var(--mono); color: #c3c9d3; }
.txf__steps { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 4px; counter-reset: st; }
.txf__steps li { counter-increment: st; padding: 5px 9px; border-radius: 999px; font: 400 11px/1 var(--mono); color: var(--muted); transition: color .3s, background .3s; white-space: nowrap; }
.txf__steps li::before { content: counter(st) ' '; opacity: .6; }
.txf__steps li.is-done { color: #c3c9d3; }
.txf__steps li.is-on { background: #fff; color: #0a0a0a; }
.txf__console { min-height: clamp(260px, 30vw, 380px); padding: 16px 18px; font-size: 12.5px; gap: 9px; }
@media (max-width: 900px) { .txf__steps { display: none; } .txf__console { min-height: 240px; } }

/* Story progress and the way out to the platform */
.shot-progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 4; background: rgba(255,255,255,.08); pointer-events: none; }
.shot-progress i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.skip { position: absolute; right: clamp(150px, 13vw, 190px); bottom: 26px; z-index: 3; display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: #c3c9d3; padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,.3); }
.skip:hover { color: #fff; border-color: #fff; }
@media (max-width: 900px) { .skip { right: auto; left: 14px; } }
@media (min-width: 901px) and (max-width: 1200px) { .skip { display: none; } }

/* Retest: open a failure in Lens */
.copy p.rt-open { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 14px; font-size: 14px; }
.rt-open a { color: rgb(235,154,122); border-bottom: 1px solid rgba(235,154,122,.5); }
.rt-open a:hover { border-color: rgb(235,154,122); }

/* Lens: the first step */
.demo__hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 13px; color: #d6dae0; transition: opacity .4s, max-height .5s, padding .5s, margin .5s; max-height: 120px; overflow: hidden; }
.demo__try { padding: 7px 12px; border-radius: 999px; background: #fff; color: #0a0a0a; font-size: 12.5px; font-weight: 500; }
.demo__hint.is-done { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -12px; }

