/* Signal Inference v6: one calm page. Use-case buttons, the agent scene, a short "what we do", the launch email.
   Heat (violet → rose → ember → gold) marks AI work; ice blue marks every point where a person decides. */
@font-face { font-family: "Mona Sans"; src: url("fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900; font-stretch: 75% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mona Sans"; src: url("fonts/mona-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 900; font-stretch: 75% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono-latin-ext-500.woff2") format("woff2"); font-weight: 500; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono-latin-ext-600.woff2") format("woff2"); font-weight: 600; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }

:root {
  /* Layout: one dark world, deliberately single-theme. Wide engineered headings, mono instrument readouts. */
  --void: #07050E;
  --deep: #0C0918;
  --panel: #130E22;
  --panel-2: #1A1430;
  --edge: rgba(255, 226, 205, .10);
  --edge-2: rgba(255, 226, 205, .20);
  --text: #F7F1EA;
  --text-2: #C7BBD1;
  --text-3: #9C91AC;
  --violet: #A68BFF;
  --rose: #F25C7F;
  --ember: #FF9A5A;
  --gold: #FFCB80;
  --flare: #FFF1C9;
  --ice: #8FD8FF;
  --heat: linear-gradient(100deg, #6E2FD6 0%, #C23B97 32%, #F25C7F 56%, #FF9A5A 78%, #FFD58F 100%);
  --heat-soft: linear-gradient(100deg, rgba(110,47,214,.22), rgba(242,92,127,.18) 55%, rgba(255,154,90,.14));
  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gut: 28px;
  --r: 16px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--void); }
html.modal-open { overflow: hidden; }
body { margin: 0; background: var(--void); color: var(--text); font-family: var(--font); font-size: 16.5px; line-height: 1.6;
  font-stretch: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--void); }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--flare); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.approx { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 400; opacity: .7; margin-right: .12em; }

/* Language switching: only the active language is rendered (hidden from screen readers too). */
html[lang="en"] [data-lang="cs"], html[lang="cs"] [data-lang="en"] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ember); color: var(--void); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.kicker, .eyebrow { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mono { font-family: var(--mono); }

/* ---------- header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(7, 5, 14, .72);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--edge); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex: none; }
.brand .mark { width: 30px; height: 30px; }
.wm { font-size: 17px; letter-spacing: -0.01em; font-stretch: 112%; white-space: nowrap; }
.wm b { font-weight: 750; }
.wm span { font-weight: 380; color: var(--text-2); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.lang { display: flex; border: 1px solid var(--edge-2); border-radius: 999px; padding: 3px; flex: none; }
.lang a { color: var(--text-2); text-decoration: none; font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .08em;
  padding: 6px 11px; border-radius: 999px; min-width: 42px; text-align: center; }
.lang a[aria-current="true"] { background: var(--text); color: var(--void); }
.lang a:not([aria-current="true"]):hover { color: var(--text); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border-radius: 12px;
  border: 1px solid transparent; font-weight: 650; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .2s ease; }
.btn .ico { width: 19px; height: 19px; stroke-width: 2.1; }
.btn:hover { transform: translateY(-1px); }
.btn-p { background: var(--ember); color: #1A0A05; box-shadow: 0 10px 34px -12px rgba(255, 154, 90, .65); }
.btn-p:hover { background: var(--gold); color: #1A0A05; }
.btn-g { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--edge-2); }
.btn-g:hover { border-color: rgba(255, 226, 205, .4); background: rgba(255, 255, 255, .07); color: var(--text); }
.btn-s { min-height: 40px; padding: 9px 14px; font-size: 14.5px; border-radius: 10px; }
.btn[aria-pressed="true"] { background: rgba(143, 216, 255, .12); color: var(--ice); border-color: rgba(143, 216, 255, .45); box-shadow: none; }
.ib { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--edge); background: rgba(255, 255, 255, .03);
  color: var(--text-2); cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.ib:hover { color: var(--text); border-color: var(--edge-2); background: rgba(255, 255, 255, .07); }
.ib .ico { width: 19px; height: 19px; }


/* ---------- sections */
.sec { position: relative; padding-block: 104px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; margin-bottom: 36px; }
.sec-head .kicker { grid-column: 1 / -1; margin-bottom: -6px; }
.sec h2 { font-size: clamp(28px, 3.1vw, 40px); font-stretch: 112%; font-weight: 740; letter-spacing: -0.022em; max-width: 24ch; }
.lead { font-size: 18px; color: var(--text-2); max-width: 44em; grid-column: 1 / -1; }

.noscript { padding: 16px; border-radius: 12px; border: 1px solid var(--edge); color: var(--text-2); margin-bottom: 16px; }

/* ---------- launch */
.launch { position: relative; overflow: hidden; isolation: isolate; padding-block: 96px; background: var(--void); }
.launch::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 85% 50%, rgba(255, 154, 90, .3), transparent 60%), radial-gradient(70% 120% at 15% 60%, rgba(110, 47, 214, .35), transparent 60%), radial-gradient(50% 80% at 50% 0%, rgba(242, 92, 127, .22), transparent 70%); }
.launch-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.launch h2 { font-size: clamp(30px, 3.6vw, 46px); font-stretch: 116%; font-weight: 760; letter-spacing: -0.028em; }
.launch p.lead { margin-top: 16px; font-size: 18px; color: var(--text-2); max-width: 36em; }
.launch-card { padding: 24px; border-radius: 20px; border: 1px solid var(--edge-2); background: rgba(13, 9, 25, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; gap: 14px; }
.launch-plan { display: none; padding: 12px 14px; border-radius: 12px; background: rgba(143, 216, 255, .07); border: 1px solid rgba(143, 216, 255, .28); color: var(--ice); font-size: 14.5px; }
.launch-plan.on { display: block; }
.addr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; color: var(--text-2); }
.addr code { font-family: var(--mono); font-size: 14px; color: var(--text); user-select: all; }
.small { font-size: 13px; color: var(--text-3); line-height: 1.55; }
.small a { color: var(--text-2); }

/* ---------- privacy + footer */
.privacy { padding-block: 56px; border-top: 1px solid var(--edge); background: var(--deep); }
.privacy h2 { font-size: 20px; font-stretch: 110%; margin-bottom: 12px; }
.privacy p { color: var(--text-2); font-size: 15px; max-width: 64em; margin-top: 8px; }
.privacy strong { color: var(--text); font-weight: 600; }
.foot { padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--edge); background: var(--void); color: var(--text-3); font-size: 14.5px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-in > div { text-align: right; line-height: 1.8; }
.foot p:first-child { color: var(--text); font-weight: 600; }
.foot a { color: var(--text-2); }
body.has-tray .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }

.toast { position: fixed; z-index: 90; left: 50%; top: calc(80px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -10px); padding: 10px 16px; border-radius: 12px;
  background: var(--text); color: var(--void); font-weight: 600; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================================================
   Hero scene (assets/agent.js): the WebGL table with a crisp DOM overlay: station labels projected from 3D, the
   approval banner, the run clock. Heat = AI work, ice = a person's decision, rose = alarm, green = verified.
   ========================================================================================================== */
/* the agent's log */
.hx-logw { border-top: 1px solid var(--edge); }
.hx-logh { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--edge); }
.hx-logk { display: flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text); font-weight: 600; }
.hx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 3px rgba(255, 154, 90, .16), 0 0 12px var(--ember); }
.hx.is-without .hx-dot { background: var(--rose); box-shadow: 0 0 0 3px rgba(242, 92, 127, .16), 0 0 12px var(--rose); }
.hx-st { font-family: var(--mono); font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-st.m-work { color: var(--gold); }
.hx-st.m-wait { color: var(--ice); }
.hx-st.m-off { color: #FF8DA6; }
.hx-log { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; margin: 0; padding: 4px 0 2px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px); mask-image: linear-gradient(to bottom, transparent 0, #000 14px); }
.hx-log::-webkit-scrollbar { display: none; }
.hx-ln { display: grid; grid-template-columns: 40px 84px minmax(0, 1fr); gap: 0 8px; align-items: baseline; padding: 5px 0; border-top: 1px solid rgba(255, 226, 205, .05); animation: hxLn .4s ease-out both; }
.hx-ln:first-child { border-top: 0; }
.hx-log.is-long .hx-ln { grid-template-columns: 80px 84px minmax(0, 1fr); }
.hx-ln time { font-family: var(--mono); font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hx-tag { justify-self: start; font-family: var(--mono); font-weight: 600; font-size: 9.5px; letter-spacing: .07em; line-height: 1.5; padding: 1px 6px; border-radius: 5px; border: 1px solid; white-space: nowrap; }
.hx-txt { font-size: 13.2px; line-height: 1.42; color: var(--text-2); }
.hx-ln.is-typing .hx-txt::after { content: ""; display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--ember); animation: hxCaret .9s steps(2) infinite; }
@keyframes hxCaret { 50% { opacity: 0; } }
@keyframes hxLn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.t-ev .hx-tag, .t-chg .hx-tag, .t-miss .hx-tag, .t-cmp .hx-tag { color: #FF97AD; border-color: rgba(242, 92, 127, .55); background: rgba(242, 92, 127, .1); }
.t-tool .hx-tag { color: #CDBDFF; border-color: rgba(166, 139, 255, .42); background: rgba(166, 139, 255, .08); }
.t-sus .hx-tag { color: var(--ember); border-color: rgba(255, 154, 90, .7); border-style: dashed; }
.t-ver .hx-tag, .t-done .hx-tag { color: #1A0F05; background: var(--gold); border-color: var(--gold); }
.t-draft .hx-tag { color: var(--flare); border-color: rgba(255, 203, 128, .45); background: rgba(255, 154, 90, .12); }
.t-wait .hx-tag { color: var(--ice); border-color: rgba(143, 216, 255, .65); border-style: dashed; background: rgba(143, 216, 255, .06); }
.t-ok .hx-tag { color: #05131D; background: var(--ice); border-color: var(--ice); }
.t-no .hx-tag { color: var(--ice); border-color: rgba(143, 216, 255, .35); }
.t-stall .hx-tag { color: var(--text-3); border-color: var(--edge-2); }
.t-fix .hx-tag { color: var(--gold); border-color: rgba(255, 203, 128, .5); }
.t-sum .hx-tag { color: #fff; background: var(--rose); border-color: var(--rose); }
.t-ver .hx-txt, .t-done .hx-txt, .t-sum .hx-txt { color: var(--text); }
.t-ok .hx-txt { color: #CDEEFF; }
.t-wait .hx-txt { color: var(--text); }

/* the run clock and controls */
.hx-k { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hx-lapse { padding: 2px 8px; border-radius: 99px; background: rgba(143, 216, 255, .12); border: 1px solid rgba(143, 216, 255, .35); color: var(--ice); letter-spacing: .1em; opacity: 0; transition: opacity .3s ease; }
.hx-clock.is-lapse .hx-lapse { opacity: 1; }
.hx-c { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; margin-top: 2px; font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.hx-day { font-size: 13px; color: var(--text-2); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.hx-time { font-size: 30px; line-height: 1.1; letter-spacing: .02em; color: var(--text); text-shadow: 0 0 24px rgba(255, 154, 90, .25); }
.hx-clock.is-lapse .hx-time { color: var(--ice); text-shadow: 0 0 24px rgba(143, 216, 255, .35); }
.hx-who { margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.hx-ctl { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hx-mode { display: inline-flex; padding: 3px; border-radius: 12px; border: 1px solid var(--edge-2); background: rgba(7, 5, 14, .66); }
.hx-mode button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 13px; border: 0; border-radius: 9px; background: transparent; color: var(--text-3); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: color .2s, background-color .2s, box-shadow .2s; }
.hx-mode button i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; }
.hx-mode button:hover { color: var(--text); }
#hx-m-w[aria-pressed="true"] { color: var(--text); background: rgba(255, 154, 90, .14); box-shadow: inset 0 0 0 1px rgba(255, 154, 90, .6); }
#hx-m-w[aria-pressed="true"] i { background: var(--ember); opacity: 1; box-shadow: 0 0 8px var(--ember); }
#hx-m-o[aria-pressed="true"] { color: var(--text); background: rgba(242, 92, 127, .14); box-shadow: inset 0 0 0 1px rgba(242, 92, 127, .6); }
#hx-m-o[aria-pressed="true"] i { background: var(--rose); opacity: 1; box-shadow: 0 0 8px var(--rose); }
.hx-ctl .ib { width: 40px; height: 40px; background: rgba(7, 5, 14, .66); }
.hx-full { min-height: 40px; }

/* station chips, placed by agent.js at each station's floor position */
.hx-chip { position: absolute; left: 0; top: 0; width: 0; height: 0; transform: translate3d(-9999px, 0, 0); transition: opacity .5s ease; will-change: transform; }
.hx-chip-in { position: absolute; left: 0; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; pointer-events: auto; transition: opacity .5s ease; }
.hx-chip-b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 8px; border-radius: 999px; border: 1px solid rgba(255, 226, 205, .17); background: rgba(10, 7, 20, .82);
  color: var(--text); font-weight: 600; font-size: 12.5px; line-height: 1.25; white-space: nowrap; cursor: help; box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .9);
  transition: border-color .35s ease, box-shadow .35s ease, background-color .35s ease; }
.hx-chip-b .ico { width: 15px; height: 15px; color: #B9A6FF; }
.hx-chip-s { font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; color: var(--text-3); white-space: nowrap; min-height: 13px; text-shadow: 0 1px 6px #000, 0 0 12px #07050E; }
.k-human .hx-chip-b .ico { color: var(--ice); }
.k-out .hx-chip-b .ico, .k-mem .hx-chip-b .ico { color: var(--gold); }
.s-alarm .hx-chip-b { border-color: rgba(242, 92, 127, .8); box-shadow: 0 0 0 3px rgba(242, 92, 127, .15), 0 8px 28px -10px rgba(242, 92, 127, .7); }
.s-alarm .hx-chip-s { color: #FF97AD; }
.s-active .hx-chip-b { border-color: rgba(255, 154, 90, .85); box-shadow: 0 0 0 3px rgba(255, 154, 90, .15), 0 8px 28px -10px rgba(255, 154, 90, .7); }
.s-active .hx-chip-s { color: var(--gold); }
.s-sus .hx-chip-b { border-style: dashed; border-color: rgba(255, 154, 90, .75); }
.s-sus .hx-chip-s { color: var(--ember); }
.s-done .hx-chip-b { border-color: rgba(255, 203, 128, .55); }
.s-done .hx-chip-s { color: var(--gold); }
.s-wait .hx-chip-b { border-style: dashed; border-color: rgba(143, 216, 255, .75); box-shadow: 0 0 0 3px rgba(143, 216, 255, .12); }
.s-wait .hx-chip-s, .s-ok .hx-chip-s { color: var(--ice); }
.s-ok .hx-chip-b { border-color: var(--ice); box-shadow: 0 0 0 3px rgba(143, 216, 255, .18), 0 8px 28px -10px rgba(143, 216, 255, .7); }
.s-off .hx-chip-in { opacity: .4; }
.hx-pop { position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 5; width: 232px; padding: 10px 12px; border-radius: 12px; background: rgba(22, 16, 38, .97); border: 1px solid var(--edge-2);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .95); font-size: 12.5px; line-height: 1.45; color: var(--text-2); text-align: left; white-space: normal;
  opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity .18s ease, transform .18s ease, visibility .18s; pointer-events: none; }
.hx-pop-k { display: block; margin-bottom: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hx-chip.is-pop { z-index: 4; }
.hx-chip.is-pop .hx-pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .hx-chip-in:hover .hx-pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .hx-chip:hover { z-index: 4; } }

/* the tag that follows the agent */
.hx-ag { position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; margin: 0; pointer-events: none; transition: opacity .4s ease; will-change: transform; transform: translate3d(-9999px, 0, 0); }
.hx-ag-in { position: absolute; left: 0; bottom: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 99px;
  background: rgba(10, 7, 20, .55); border: 1px solid rgba(255, 203, 128, .22); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.hx-ag-in i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px var(--ember); }
.hx-ag-in b { color: var(--flare); font-weight: 600; }
.hx-ag.m-wait .hx-ag-in i { background: var(--ice); box-shadow: 0 0 8px var(--ice); }
.hx-ag.m-sleep .hx-ag-in i { background: var(--text-3); box-shadow: none; }


/* the numbers band */
.hx-band { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 18px; border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(16, 11, 32, .86), rgba(10, 7, 20, .8)); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); overflow: hidden; }
.hx-bl { display: flex; flex-direction: column; min-width: 0; }
.hx-kpis { display: grid; grid-template-columns: 1.25fr 1fr 1fr; flex: 1; }
.hx-kfoot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 18px 8px; border-top: 1px solid var(--edge); }
.hx-kfoot .hx-note { flex: 1; min-width: 0; }
.hk { min-width: 0; padding: 12px 18px 11px; }
.hk + .hk { border-left: 1px solid var(--edge); }
.hk-k { margin-bottom: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--gold); }
.hk-r { display: grid; grid-template-columns: 68px minmax(0, 1fr); grid-template-areas: "l v" ". s" "b b"; column-gap: 8px; align-items: baseline; }
.hk-r + .hk-r { margin-top: 5px; }
.hk-l { grid-area: l; font-size: 11.5px; color: var(--text-3); line-height: 1.3; }
.hk-v { grid-area: v; font-family: var(--mono); font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--flare); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-r.o .hk-v { font-size: 15px; color: #FF97AD; }
.hk-s { grid-area: s; min-width: 0; font-size: 11px; color: var(--text-3); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-s:empty { display: none; }
.hk-bar { grid-area: b; display: block; height: 5px; margin-top: 5px; border-radius: 99px; background: rgba(255, 226, 205, .08); overflow: hidden; }
.hk-bar i { display: block; height: 100%; border-radius: inherit; background: var(--heat); transform-origin: left center; transform: scaleX(.02); transition: transform .3s linear; }
.hk-r.o .hk-bar i { background: linear-gradient(90deg, #A62E57, var(--rose)); }
.hk.is-live-w .hk-r.w .hk-v, .hk.is-live-o .hk-r.o .hk-v { text-shadow: 0 0 18px currentColor; }
.hx-note { font-size: 11px; line-height: 1.4; color: var(--text-3); }


@media (prefers-reduced-motion: reduce) {
  .hx-ln { animation: hxFade .5s ease both; }
  .hx-ln.is-typing .hx-txt::after { animation: none; }
}
@keyframes hxFade { from { opacity: 0; } to { opacity: 1; } }

/* the approval moment: the scene dims around the person who decides */
.hx-scene::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .7s ease;
  background: radial-gradient(420px 320px at var(--fx, 75%) var(--fy, 60%), transparent 0, rgba(7, 5, 14, .5) 70%); }
.hx.is-asking .hx-scene::after { opacity: 1; }
.hx.is-asking .hx-chip:not(.k-human) .hx-chip-in { opacity: .38; }
.t-chk .hx-tag { color: var(--text-3); border-color: rgba(255, 226, 205, .16); }
.t-chk .hx-txt { color: var(--text-3); }
.hx.is-p .hx-ag { display: none; }

/* ===== v5 (2026-10-19): solid stations. Their chips become labels under the shapes (button + access popover kept, pill dropped) */
.hx-chip-in { gap: 1px; }
.hx-chip-b { gap: 0; padding: 2px 7px; border: 0; border-radius: 6px; background: none; box-shadow: none; font-weight: 650; font-size: 12.5px; letter-spacing: .005em;
  text-shadow: 0 1px 10px #000, 0 0 3px #000, 0 0 18px rgba(7, 5, 14, .9); }
.hx-chip-b .ico { display: none; }
.hx-chip-b:hover, .hx-chip.is-pop .hx-chip-b { background: rgba(10, 7, 20, .62); }
.hx-chip-b:focus-visible { outline: 2px solid var(--ice); outline-offset: 1px; }
.s-alarm .hx-chip-b, .s-active .hx-chip-b, .s-sus .hx-chip-b, .s-done .hx-chip-b, .s-wait .hx-chip-b, .s-ok .hx-chip-b { border: 0; box-shadow: none; }
.s-alarm .hx-chip-s { color: #FF7A85; }
.s-done .hx-chip-s { color: #7EE8B4; }
.k-out.s-done .hx-chip-s { color: var(--gold); }
.k-human.s-done .hx-chip-s { color: var(--ice); }
/* quiet labels for scenery and props (decorative; the log carries the facts) */
.hx-lb { position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; margin: 0; pointer-events: none; opacity: 0; transform: translate3d(-9999px, 0, 0); transition: opacity .45s ease; will-change: transform; }
.hx-lb b, .hx-lb i { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; text-align: center; text-shadow: 0 1px 8px #000, 0 0 3px #000; }
.hx-lb b { top: 0; font-weight: 600; font-size: 11.5px; color: var(--text-2); }
.hx-lb i { top: 16px; font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: .02em; color: var(--text-3); }
.hx.is-asking .hx-lb { opacity: .35 !important; }
/* verified is green in the log too, so the scene and the log speak the same colours */
.t-ver .hx-tag { color: #04150C; background: #5FE3A1; border-color: #5FE3A1; }

/* ==========================================================================================================
   v6 layout (owner feedback 2026-10-19): title, four use-case buttons, the scene full width under them, one caption
   line, the numbers, the full log folded away. Then a short "what we do" and the launch email.
   ========================================================================================================== */
.hx { position: relative; overflow-x: clip; padding-top: 30px; border-bottom: 1px solid var(--edge);
  background: radial-gradient(70% 50% at 50% 62%, rgba(194, 59, 151, .15), transparent 72%), radial-gradient(45% 40% at 12% 8%, rgba(110, 47, 214, .18), transparent 70%), var(--void); }
.hx-head { text-align: center; }
.hx-head .eyebrow { margin-bottom: 12px; }
.hx h1 { font-size: clamp(30px, 3.3vw, 46px); font-stretch: 112%; font-weight: 760; line-height: 1.06; letter-spacing: -0.027em; }
.hx h1 .l1, .hx h1 .l2 { display: inline; }
.hx h1 .l2 { color: var(--ice); }
.hx .sub { margin: 12px auto 0; max-width: 40em; font-size: 16.5px; line-height: 1.5; color: var(--text-2); }

.hx-runs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 1000px; margin: 22px auto 0; }
.hx-run { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 11px; align-items: center; text-align: left;
  min-height: 58px; padding: 8px 14px 8px 10px; border-radius: 14px; border: 1px solid var(--edge-2); background: rgba(16, 11, 30, .72); color: var(--text); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.hx-run .ico { grid-row: span 2; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255, 154, 90, .1); color: var(--gold); box-sizing: border-box; transition: background-color .2s, color .2s; }
.hx-run-t { font-weight: 680; font-size: 16px; line-height: 1.2; }
.hx-run-a { font-size: 13px; color: var(--text-3); line-height: 1.3; }
.hx-run:hover { border-color: rgba(255, 203, 128, .45); }
.hx-run[aria-pressed="true"] { border-color: var(--ember); background: rgba(255, 154, 90, .11); box-shadow: 0 0 0 3px rgba(255, 154, 90, .08); }
.hx-run[aria-pressed="true"] .ico { background: var(--ember); color: #1A0A05; }
.hx-run[aria-pressed="true"] .hx-run-a { color: var(--text-2); }

.hx-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 16px; }
.hx-clock { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; min-width: 0; }
.hx-who { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.hx-c { justify-content: flex-start; gap: 8px; margin: 0; }
.hx-clock:not(.is-lapse) .hx-lapse { display: none; }
.hx-time { font-size: 20px; text-shadow: none; }
.hx-day { font-size: 12px; }
.hx-lapse { align-self: center; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.hx-ctl { margin: 0; flex-wrap: nowrap; }

.hx-scene { position: relative; isolation: isolate; height: clamp(400px, calc(100svh - 458px), 620px); }
.hx-scene .hx-cv { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }
.hx-stage { position: absolute; inset: 0; pointer-events: none; }
.hx-scene::after { z-index: 1; }

.hx-below { padding-bottom: 44px; }
.hx-now { display: flex; align-items: baseline; justify-content: center; gap: 10px; max-width: 820px; min-height: 48px; margin: 2px auto 18px; text-align: left; transition: opacity .3s ease; }
.hx-now .hx-tag { flex: none; }
.hx-now .hx-txt { font-size: 15.5px; line-height: 1.5; color: var(--text); }
.hx-now:not(.is-in) { opacity: 0; }
.hx-now.is-new { animation: hxLn .45s ease-out both; }

.hx-band { border-radius: 16px; background: rgba(13, 9, 25, .6); box-shadow: none; }
.hx-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hk { padding: 14px 20px 13px; }
.hx-kfoot { padding: 8px 20px 9px; }

.hx-logw { margin-top: 12px; border: 1px solid var(--edge); border-radius: 14px; background: rgba(13, 9, 25, .5); }
.hx-logw > summary { list-style: none; cursor: pointer; padding: 11px 16px; border-bottom: 0; }
.hx-logw > summary::-webkit-details-marker { display: none; }
.hx-logw > summary .hx-st { margin-left: auto; }
.hx-logw > summary .ico { width: 17px; height: 17px; color: var(--text-3); transform: rotate(180deg); transition: transform .2s ease; }
.hx-logw[open] > summary { border-bottom: 1px solid var(--edge); }
.hx-logw[open] > summary .ico { transform: none; }
.hx-logw > summary:hover .hx-logk { color: var(--gold); }
.hx-logw .hx-log { max-height: 360px; padding: 4px 16px 8px; -webkit-mask-image: none; mask-image: none; }

/* calmer scene labels: names stay, status lines only where something is happening */
.hx-chip.s-idle .hx-chip-s, .hx-chip.s-off .hx-chip-s, .hx-chip.s-done:not(.k-out) .hx-chip-s { visibility: hidden; }
.hx-chip.s-idle .hx-chip-b { color: var(--text-2); }
.hx-lb i { display: none; }
.hx-lb b { color: var(--text-3); }
.hx-ag { display: none; }

/* what we do */
.svc { border-bottom: 1px solid var(--edge); background: var(--void); padding-block: 88px; }
.svc-head { max-width: 760px; margin-bottom: 34px; }
.svc-head .kicker { margin-bottom: 14px; }
.svc .lead { margin-top: 16px; }
.svc-l { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.svc-l li { padding: 22px 20px 22px; border-radius: 16px; border: 1px solid var(--edge); background: linear-gradient(180deg, rgba(26, 20, 48, .7), rgba(13, 9, 25, .6)); }
.svc-l .ico { width: 38px; height: 38px; padding: 8px; border-radius: 11px; color: var(--gold); background: rgba(255, 154, 90, .1); box-sizing: border-box; }
.svc-l h3 { margin: 16px 0 6px; font-size: 18px; font-stretch: 108%; }
.svc-l p { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.svc-p { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; }
.svc-p li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); }
.svc-p .ico { width: 18px; height: 18px; color: var(--ice); stroke-width: 2.2; }

/* ---------- responsive */
@media (max-width: 1180px) {
  .svc-l { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .svc-l li { grid-column: span 2; }
  .svc-l li:nth-child(4), .svc-l li:nth-child(5) { grid-column: span 3; }
}
@media (max-width: 1079px) {
  .launch-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hx-runs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hx { padding-top: 26px; }
  .hx-head { text-align: left; }
  .hx h1 { font-size: clamp(28px, 8vw, 36px); }
  .hx h1 .l1, .hx h1 .l2 { display: block; }
  .hx .sub { margin-left: 0; font-size: 15px; }
  .hx-runs { gap: 8px; margin-top: 20px; }
  .hx-run { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; row-gap: 3px; align-content: start; min-height: 0; padding: 10px 11px 11px; }
  .hx-run .ico { grid-row: auto; width: 26px; height: 26px; padding: 5px; border-radius: 8px; }
  .hx-run-a { grid-column: 1 / -1; }
  .hx-run-t { font-size: 15px; }
  .hx-run-a { font-size: 12.5px; }
  .hx-top { flex-direction: column; align-items: stretch; margin-top: 18px; }
  .hx-clock { gap: 2px 10px; }
  .hx-who { flex-basis: 100%; font-size: 14px; }
  .hx-ctl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .hx-ctl .hx-mode { display: grid; grid-template-columns: 1fr 1fr; }
  .hx-mode button { justify-content: center; }
  .hx-ctl .hx-full { grid-column: 1 / -1; }
  .hx-scene { height: clamp(420px, 122vw, 560px); }
  .hx-now { justify-content: flex-start; flex-direction: column; gap: 4px; min-height: 76px; margin: 4px 0 14px; }
  .hx-now .hx-txt { font-size: 15px; }
  .hx-kpis { grid-template-columns: minmax(0, 1fr); }
  .hk + .hk { border-left: 0; border-top: 1px solid var(--edge); }
  .hk { padding: 12px 16px; }
  .hx-kfoot { padding: 8px 16px 10px; }
  .hx-logw > summary { padding: 11px 14px; }
  .hx-logw .hx-log { padding: 4px 14px 8px; }
  .hx-ln { grid-template-columns: 38px minmax(0, 1fr); grid-template-areas: "t g" ". x"; }
  .hx-log.is-long .hx-ln { grid-template-columns: 80px minmax(0, 1fr); }
  .hx-ln time { grid-area: t; } .hx-ln .hx-tag { grid-area: g; } .hx-ln .hx-txt { grid-area: x; margin-top: 2px; font-size: 13.5px; }
  .hx-chip-b { font-size: 11.5px; padding: 2px 5px; }
  .hx-chip-s { font-size: 10px; }
  .hx-lb b { font-size: 10.5px; }
  .svc { padding-block: 64px; }
  .svc-l { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .svc-l li, .svc-l li:nth-child(4), .svc-l li:nth-child(5) { grid-column: auto; }
  .svc-l li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 18px 16px; }
  .svc-l .ico { grid-row: span 2; }
  .svc-l h3 { margin: 6px 0 4px; font-size: 17px; }
  .svc-p { flex-direction: column; gap: 10px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .top-in { height: 58px; gap: 12px; }
  .wm { font-size: 15.5px; }
  .brand .mark { width: 26px; height: 26px; }
  .launch { padding-block: 64px; }
  .launch-card { padding: 18px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot-in > div { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .top, .skip, .hx-scene, .hx-top { display: none !important; }
}
