Files
zeekay 9268cde9c9 Sign in on hanzo.ai; serve the build's files under /assets
Sign-in is hanzo.ai's own page again: Log in, Sign up and every link to
them go to hanzo.ai/login and /signup, which the edge serves from the
app. hanzo.ai's /_next is the app's for those pages, so this build's
own files move to /assets/_next (assetPrefix, and `build` moves
out/_next under out/assets).

Claude-Session: https://claude.ai/code/session_015XYKLix9PSyn6Jw2HWKprk
2026-11-09 05:54:17 -08:00

510 lines
45 KiB
CSS

/* Metrics (Cloud 3), on the deck (MASTER ยง3). Grey only: the series differ by weight and dash; ink is the one that
matters. Nothing floats over anything: the toolbar sits beside the title, the traces beside the chart. Every part
below is this page's own (no shared chapter rail, console or prompt styles). */
/* one solid fill per screen (PLAN 0.9): the header's "Try Hanzo" stays outlined on this page, the page's ask is solid */
html:has(main.mt) header[data-slot=masthead] a[href='https://hanzo.ai/signup'] { background-color: transparent; color: var(--foreground); box-shadow: inset 0 0 0 1px var(--border, rgba(0, 0, 0, .14)); }
@media (hover: hover) { html:has(main.mt) header[data-slot=masthead] a[href='https://hanzo.ai/signup']:hover { background-color: rgba(0, 0, 0, .05); box-shadow: inset 0 0 0 1px var(--ink); } }
/* hero: title, lede and ask left (8), the query toolbar right (5); then one flat tile: chart (8) | traces (5) */
.mt-hero { padding: clamp(32px, 4vw, 56px) 0 clamp(32px, 3vw, 48px); }
.mt-top { display: grid; grid-template-columns: 8fr 5fr; gap: 12px clamp(24px, 4vw, 56px); align-items: end; }
.mt-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.mt-sub { color: var(--muted); }
.mt-lead .lx-cta { margin-top: 8px; }
.mt-tool { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'host pause' 'q pause' 'split split' 'legend legend'; gap: 10px 12px; align-items: center; padding: 18px 20px; border-radius: 24px; background: #f5f5f5; }
.mt-host { grid-area: host; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #525252; }
.mt-q { grid-area: q; font: 500 15px/1.3 var(--mono); color: var(--ink); }
.mt-pause { grid-area: pause; justify-self: end; }
.mt-split { grid-area: split; justify-self: start; display: inline-flex; padding: 3px; border-radius: 999px; background: #ededed; }
.mt-split button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font: 500 13px/1 var(--mono); color: #525252; cursor: pointer; transition: color .15s cubic-bezier(0, 0, .2, 1), background-color .3s cubic-bezier(.4, 0, .2, 1), box-shadow .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); touch-action: manipulation; }
.mt-split { position: relative; display: inline-grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mt-split::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 999px; background: #fff; transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.mt-split button { position: relative; }
.mt-split button[aria-pressed='true'] { color: var(--ink); }
.mt-split button:active { transform: scale(.97); transition-duration: .09s; }
.mt-legend { grid-area: legend; display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; font: 500 13px/1 var(--mono); color: #525252; }
.mt-legend li { display: inline-flex; align-items: center; gap: 7px; transition: color .15s cubic-bezier(0, 0, .2, 1); }
.mt-legend i { width: 16px; height: 0; border-top: 2.5px solid #0a0a0a; }
.mt-legend .s0 { color: var(--ink); }
.mt-legend .s1 i { border-top: 1.5px dashed #525252; }
.mt-legend .s2 i { border-top: 1.5px dotted #737373; }
/* the series under the crosshair is named in the legend (the hover says something, nothing floats) */
.mt-legend li.hl { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mt-stage { display: grid; grid-template-columns: 8fr 5fr; margin-top: clamp(24px, 3vw, 40px); border-radius: 24px; background: #f5f5f5; overflow: hidden; }
.mt-field:active { transform: none !important; }
.mt-field { position: relative; display: block; width: 100%; height: clamp(300px, 30vw, 400px); padding: 0; border: 0; background: none; color: #0a0a0a; cursor: crosshair; touch-action: manipulation; container-type: inline-size; overflow: hidden; }
/* the plot: drawn once, two windows wide; one CSS transform slides it left a window per loop (no path is rewritten) */
.mt-plot { position: absolute; inset: 24px 0 0; width: 100%; height: calc(100% - 24px); overflow: hidden; display: block; }
.mt-plot path:not(.fill), .mt-plot line { vector-effect: non-scaling-stroke; fill: none; }
.mt-plot .fill { stroke: none; }
.mt-plot .grid { stroke: rgba(0, 0, 0, .06); stroke-width: 1; }
.mt-slide { animation-name: mt-slide; animation-timing-function: linear; animation-iteration-count: infinite; will-change: transform; }
@keyframes mt-slide { from { transform: translateX(0); } to { transform: translateX(-100px); } }
.mt-plot path { transition: stroke-width .2s cubic-bezier(0, 0, .2, 1), stroke .2s cubic-bezier(0, 0, .2, 1); }
.mt-field .s0 { stroke: #0a0a0a; stroke-width: 2.6; stroke-linejoin: round; }
.mt-field .s1 { stroke: #525252; stroke-width: 1.5; stroke-dasharray: 6 5; }
.mt-field .s2 { stroke: #a3a3a3; stroke-width: 1.5; stroke-dasharray: 1.5 4; stroke-linecap: round; }
.mt-field .mt-plot { animation: mt-draw 1.4s cubic-bezier(.16, 1, .3, 1) both .1s; }
@keyframes mt-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.stop .mt-slide, .stop .mt-mark, .stop .mt-land, .stop .mt-svc-s b { animation-play-state: paused; }
/* the spike mark: a dashed cursor and the flag; it rides its spike left with the line while the traces are open */
.mt-mark { position: absolute; z-index: 2; top: 0; bottom: 0; width: 0; pointer-events: none; }
.mt-mark.ride { animation: mt-ride 3s linear forwards; }
@keyframes mt-ride { to { transform: translateX(var(--ride)); } }
.mt-cur { position: absolute; top: 56px; bottom: 0; left: 0; border-left: 1px dashed #0a0a0a; opacity: 0; transition: opacity .3s cubic-bezier(0, 0, .2, 1); }
.mt-mark.on .mt-cur { opacity: .5; }
.mt-flag { position: absolute; top: 18px; left: 0; display: inline-flex; align-items: center; gap: 7px; transform: translate(-50%, 8px); opacity: 0; padding: 8px 12px; border-radius: 999px; background: #0a0a0a; color: #fff; font: 500 13px/1 var(--mono); white-space: nowrap; transition: opacity .3s cubic-bezier(0, 0, .2, 1), transform .4s cubic-bezier(.16, 1, .3, 1); }
.mt-flag.on { opacity: 1; transform: translate(-50%, 0); }
/* the crosshair: a hairline and a dot that read the line under a fine pointer (no label follows the pointer) */
.mt-x { position: absolute; z-index: 2; top: 24px; bottom: 0; left: 0; width: 1px; background: rgba(0, 0, 0, .25); opacity: 0; transition: opacity .15s cubic-bezier(0, 0, .2, 1); pointer-events: none; }
.mt-x[data-on] { opacity: 1; }
.mt-x i { position: absolute; top: -6px; left: -6px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2.5px #0a0a0a; transition: transform .15s linear; }
/* the traces: beside the chart, in the same tile, opening when the spike lands */
.mt-traces { padding: 28px 28px 28px 24px; border-left: 1px solid rgba(0, 0, 0, .1); display: flex; flex-direction: column; justify-content: center; }
.mt-tk { margin: 0 0 18px; font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #525252; }
.mt-tk b { color: var(--ink); font-weight: 600; }
.mt-fall { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mt-fall li { display: grid; grid-template-columns: 136px 1fr; align-items: center; gap: 14px; height: 26px; font: 500 13px/1 var(--mono); color: #525252; transition: color .3s cubic-bezier(0, 0, .2, 1); }
.mt-sb { position: relative; height: 10px; border-radius: 3px; background: #e4e4e7; }
.mt-sb b { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: #a3a3a3; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 60ms), background-color .3s cubic-bezier(0, 0, .2, 1); }
.mt-fall li:nth-child(2) b, .mt-fall li:nth-child(4) b { background: #0a0a0a; }
.mt-traces.on .mt-fall li { color: var(--ink); }
.mt-traces.on .mt-sb b { transform: scaleX(1); }
/* between spikes the last traces rest, dimmed, never blank */
.mt-traces.rest .mt-sb b { transform: scaleX(1); background: #d4d4d4; transition-delay: 0s; }
.mt-traces.rest .mt-fall li { color: #737373; }
/* ---------- the chapters: this page's own scene (desktop pins; under 900px every chapter stacks) ---------- */
.mt-ch { position: relative; }
.mt-ch-stick { padding: clamp(40px, 6vw, 96px) 0; }
.mt-ch-grid { display: grid; grid-template-columns: 5fr 8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mt-ch-copy { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.mt-ch-steps { display: grid; gap: 56px; }
.mt-ch-obj { position: relative; min-width: 0; }
.mt-ch-it { margin: 0; font-weight: 497; font-size: 44px; line-height: 1.04; letter-spacing: -.035em; color: var(--ink); max-width: 13ch; text-wrap: balance; }
.mt-ch-il { margin: 20px 0 0; font-size: 20px; line-height: 1.45; letter-spacing: -.01em; color: var(--muted); max-width: 34ch; text-wrap: pretty; }
.mt-ch-t { margin: 0; font-weight: 497; font-size: 32px; line-height: 1.1; letter-spacing: -.025em; color: var(--ink); max-width: 16ch; text-wrap: balance; }
.mt-ch-k { margin-top: 12px; color: var(--faint); }
.mt-ch-d { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
/* pinned: one chapter on at a time; the others fade out, then leave (inert in the markup, hidden once faded) */
.mt-ch[data-pin] { height: calc(var(--n) * 60svh + 100svh); }
.mt-ch[data-pin] .mt-ch-stick { position: sticky; top: 0; height: 100svh; padding: 0; display: flex; align-items: center; overflow: hidden; }
.mt-ch[data-pin] .mt-ch-grid { padding-top: 56px; }
.mt-ch[data-pin] .mt-ch-steps { gap: 0; }
.mt-ch[data-pin] .mt-ch-step { grid-area: 1 / 1; transition: opacity .4s cubic-bezier(0, 0, .2, 1), transform .5s cubic-bezier(.16, 1, .3, 1), visibility 0s, scale 0s; }
/* once faded, a hidden chapter also folds to nothing (scale, which leaves the layout alone) so no probe or pointer finds it */
.mt-ch[data-pin] .mt-ch-step[data-at='past'], .mt-ch[data-pin] .mt-ch-step[data-at='next'] { opacity: 0; visibility: hidden; scale: 0; pointer-events: none; transition: opacity .3s cubic-bezier(0, 0, .2, 1), transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s .3s, scale 0s .4s; }
.mt-ch[data-pin] .mt-ch-step[data-at='past'] { transform: translateY(-24px); }
.mt-ch[data-pin] .mt-ch-step[data-at='next'] { transform: translateY(24px); }
/* the rail: numbered ticks; the one on fills while its chapter plays */
.mt-ch-rail { display: flex; gap: 6px; }
.mt-ch:not([data-pin]) .mt-ch-rail { display: none; }
.mt-ch-rail button { width: 52px; height: 48px; border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; color: var(--faint); font: 500 12px/1 var(--mono); letter-spacing: .08em; transition: color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); touch-action: manipulation; }
.mt-ch-rail button[data-at='past'] { color: #737373; }
.mt-ch-rail button[aria-current] { color: var(--ink); }
.mt-ch-rail button:active { transform: scale(.97); transition-duration: .09s; }
.mt-ch-rail i { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: #d4d4d4; overflow: hidden; }
.mt-ch-rail i::after { content: ''; position: absolute; inset: 0; border-radius: 3px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.mt-ch-rail button[data-at='past'] i::after { transform: scaleX(1); background: #737373; }
.mt-ch-rail button[aria-current] i::after { animation: mt-fill 3.2s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes mt-fill { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
.mt-ch-rail i { transition: transform .15s cubic-bezier(0, 0, .2, 1); transform-origin: 50% 100%; }
@media (hover: hover) {
.mt-ch-rail button:hover i { transform: scaleY(1.67); }
.mt-ch-rail button:not([aria-current]):hover { color: var(--ink); }
.mt-ch-rail button:not([aria-current]):hover i::after { transform: scaleX(.5); background: var(--ink); }
}
/* the chapters' table: outlined, not raised; each chapter plays its states once as it arrives (data-beat) */
.mt-tab { background: #fff; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); overflow: hidden; }
.mt-tab-bar { position: relative; display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 22px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.mt-dots { display: inline-flex; gap: 7px; }
.mt-dots i { width: 11px; height: 11px; border-radius: 50%; background: #e4e4e7; }
.mt-store { font: 500 13px/1 var(--mono); color: var(--ink); }
.mt-chip { margin-left: auto; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: #0a0a0a; color: #fff; font: 500 13px/1 var(--mono); opacity: 0; transform: translateY(6px) scale(.92); transition: opacity .3s cubic-bezier(0, 0, .2, 1), transform .4s cubic-bezier(.16, 1, .3, 1); }
.mt-chip.on { opacity: 1; transform: none; }
.mt-chip:not(.on) { position: absolute; right: 22px; visibility: hidden; }
.mt-tab-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 24px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.mt-tab-q code { font: 500 14px/1.4 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.mt-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.mt-pills i { font: 500 13px/1 var(--mono); font-style: normal; padding: 8px 11px; border-radius: 6px; background: #f2f2f2; color: var(--ink); animation: mt-in .3s cubic-bezier(.16, 1, .3, 1) both; }
.mt-pills i:nth-child(2) { animation-delay: .06s; }
.mt-pills i:nth-child(3) { animation-delay: .12s; }
.mt-mode { flex: none; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); animation: mt-in .3s cubic-bezier(.16, 1, .3, 1); }
@keyframes mt-in { from { opacity: 0; transform: translateY(6px); } }
.mt-grid { padding: 6px 0 10px; }
.mt-row { display: grid; grid-template-columns: 96px 1.8fr .9fr .6fr 1fr .6fr; align-items: center; gap: 12px; height: 48px; padding: 0 24px; font: 500 14px/1 var(--mono); color: #737373; white-space: nowrap; transition: opacity .4s cubic-bezier(0, 0, .2, 1), background-color .3s cubic-bezier(0, 0, .2, 1); }
.mt-row + .mt-row { border-top: 1px solid rgba(0, 0, 0, .1); }
.mt-row.head { height: 40px; font-size: 12px; color: #737373; letter-spacing: .14em; text-transform: uppercase; }
.mt-row > span { overflow: hidden; text-overflow: ellipsis; transition: color .3s cubic-bezier(0, 0, .2, 1); }
.mt-row .lit { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mt-row.hot { color: var(--ink); }
.mt-row.gone { opacity: .2; }
.mt-row.spike { background: #f5f5f5; }
.c-kind { display: inline-flex; align-items: center; gap: 9px; }
.c-kind i { flex: none; width: 9px; height: 9px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.mt-row.hot .c-kind i { transform: scale(1.25); }
.k-metric { background: #0a0a0a; border-radius: 50%; }
.k-trace { border: 2px solid #0a0a0a; border-radius: 50%; }
.k-log { background: #a3a3a3; border-radius: 2px; }
.c-value b { display: block; height: 7px; width: 100%; border-radius: 4px; background: #d4d4d4; transform-origin: 0 50%; transition: transform .6s cubic-bezier(.16, 1, .3, 1), background-color .3s cubic-bezier(0, 0, .2, 1); }
.mt-row.hot .c-value b { background: #0a0a0a; }
.mt-tab[data-step='0'] .mt-row.hot .c-kind { font-weight: 700; }
/* Label check (chapter three): under the words, ticking per-route then per-tenant by itself until you tap one */
.mt-lab { margin-top: 24px; display: grid; gap: 16px; }
.mt-lab-c { display: flex; gap: 8px; flex-wrap: wrap; }
.mt-lab-c button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .14); background: #fff; font: 500 14px/1 var(--mono); color: #525252; cursor: pointer; transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), border-color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); touch-action: manipulation; }
.mt-lab-c button[aria-pressed='true'] { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mt-lab-c button:active { transform: scale(.97); transition-duration: .09s; }
.mt-lab-r { margin: 0; display: grid; gap: 10px; }
.mt-lab-r div { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, .1); max-width: 440px; }
.mt-lab-r dt { font-size: 15px; color: #525252; }
.mt-lab-r dd { margin: 0; font: 500 15px/1.3 var(--mono); color: var(--ink); text-align: right; }
/* ---------- the black room: the prompt (5) and Metrics' own console, its chart set dark (8) ---------- */
.mt-send { padding: clamp(72px, 9vw, 144px) 0; }
.mt-send-grid { --g: clamp(32px, 5vw, 72px); position: relative; display: grid; grid-template-columns: 5fr 8fr; gap: var(--g); align-items: center; }
.mt-send-l { min-width: 0; }
.mt-send-l .lx-headline { margin-bottom: 32px; }
.mt-paste-t { margin: 0; font-size: 17px; font-weight: 560; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.mt-paste-d { margin: 8px 0 20px; max-width: 40ch; font-size: 16px; line-height: 1.55; color: var(--muted); }
.mt-paste-box { border-radius: 20px; background: #0a0a0a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); overflow: hidden; }
.mt-paste-bar { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mt-paste-k { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; white-space: nowrap; }
.mt-api { margin-right: auto; min-width: 0; padding: 6px 9px; border-radius: 8px; background: #171717; font: 500 13px/1 var(--mono); color: #d4d4d4; overflow-wrap: anywhere; }
.mt-api i { font-style: normal; margin-right: 6px; color: #a3a3a3; }
.mt-copy .x-copy { min-width: 44px; min-height: 44px; justify-content: center; background: #171717; border-color: rgba(255, 255, 255, .14); color: #d4d4d4; transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1); }
.mt-paste-code { margin: 0; padding: 20px 22px 24px; font: 400 15px/1.6 var(--mono); color: #e4e4e7; white-space: pre-wrap; word-break: break-word; }
.mt-caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: -3px; background: #fafafa; animation: mt-blink 1.1s steps(1) infinite; }
@keyframes mt-blink { 50% { opacity: 0; } }
/* the wire: each sent query crosses it once (0.9 s), then lands on the line */
.mt-wire { position: absolute; top: 50%; left: calc((100% - var(--g)) * 5 / 13); width: var(--g); height: 1px; background: rgba(255, 255, 255, .22); }
.mt-wire b { position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: #fafafa; opacity: 0; }
.mt-wire b.go { animation: mt-send .9s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes mt-send { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 90% { transform: translateX(var(--g)); opacity: 1; } 100% { transform: translateX(var(--g)); opacity: 0; } }
.mt-send-r { min-width: 0; }
.mt-con { border-radius: 20px; background: #0a0a0a; color: #fafafa; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.mt-con-bar { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 12px 0 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mt-con .mt-dots i { background: #262626; }
.mt-con-title { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 500 14px/1 var(--mono); color: #a3a3a3; text-decoration: none; transition: color .15s cubic-bezier(0, 0, .2, 1), background-color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); touch-action: manipulation; }
.mt-con-title:active { transform: scale(.97); transition-duration: .09s; }
.mt-con-body { display: grid; grid-template-columns: 56px minmax(0, 1fr); }
.mt-con-side { display: flex; flex-direction: column; gap: 4px; padding: 8px 6px; border-right: 1px solid rgba(255, 255, 255, .1); }
.mt-con-ico { position: relative; display: grid; place-items: center; height: 44px; border-radius: 10px; color: #a3a3a3; transition: color .15s cubic-bezier(0, 0, .2, 1), background-color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); touch-action: manipulation; }
.mt-con-ico.on { color: #fafafa; background: #171717; }
.mt-con-ico:active { transform: scale(.97); transition-duration: .09s; }
.mt-tip { position: absolute; z-index: 3; left: calc(100% + 10px); top: 50%; padding: 7px 10px; border-radius: 8px; background: #fafafa; color: #0a0a0a; font: 500 14px/1 var(--sans); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-4px, -50%); transition: opacity .2s cubic-bezier(0, 0, .2, 1), transform .3s cubic-bezier(.16, 1, .3, 1); }
.mt-con-ico:focus-visible .mt-tip { opacity: 1; transform: translate(0, -50%); }
.mt-con-main { min-width: 0; display: grid; gap: 14px; padding: 16px 18px 18px; }
.mt-rfield { position: relative; display: block; width: 100%; height: clamp(168px, 13vw, 200px); padding: 0; border: 0; border-radius: 12px; background: #0f0f0f; color: #fafafa; cursor: pointer; container-type: inline-size; overflow: hidden; touch-action: manipulation; transition: box-shadow .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); }
.mt-rfield:active { transform: scale(.99); transition-duration: .09s; }
.mt-rfield .mt-plot { inset: 0; height: 100%; }
.mt-rfield .grid { stroke: rgba(255, 255, 255, .07); }
.mt-rfield .s0 { stroke: #fafafa; stroke-width: 2.4; stroke-linejoin: round; }
.mt-rfield .s1 { stroke: #a3a3a3; stroke-width: 1.5; stroke-dasharray: 6 5; }
.mt-rfield .s2 { stroke: #737373; stroke-width: 1.5; stroke-dasharray: 1.5 4; stroke-linecap: round; }
.mt-rfield .s3 { stroke: #525252; stroke-width: 1.5; stroke-dasharray: 12 4; }
.mt-rfield .hl:not(.s0) { stroke: #fafafa; stroke-width: 2.4; }
/* the query lands where the line is, then rides it left */
.mt-land { position: absolute; z-index: 2; width: 0; height: 0; pointer-events: none; }
.mt-land i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fafafa; box-shadow: 0 0 0 5px rgba(250, 250, 250, .16); animation: mt-hit .5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes mt-hit { from { transform: scale(2.6); opacity: 0; } }
.mt-land-f { position: absolute; left: 0; bottom: 18px; transform: translateX(-50%); padding: 7px 11px; border-radius: 999px; background: #fafafa; color: #0a0a0a; font: 500 13px/1 var(--mono); white-space: nowrap; animation: mt-in .4s cubic-bezier(.16, 1, .3, 1) .15s both; }
.mt-land.ride { animation: mt-ride-f 6s linear forwards; }
@keyframes mt-ride-f { 85% { opacity: 1; } to { transform: translateX(var(--ride)); opacity: 0; } }
.mt-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
.mt-svc button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #fafafa; font: 400 14px/1 var(--mono); text-align: left; cursor: pointer; transition: background-color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); touch-action: manipulation; }
.mt-svc button[aria-pressed='true'] { background: #171717; }
.mt-svc button:active { transform: scale(.97); transition-duration: .09s; }
.mt-svc-l { flex: none; width: 16px; height: 0; border-top: 2.5px solid #fafafa; }
.mt-svc-l.s1 { border-top: 1.5px dashed #a3a3a3; }
.mt-svc-l.s2 { border-top: 1.5px dotted #737373; }
.mt-svc-l.s3 { border-top: 1.5px dashed #525252; }
.mt-svc-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-svc-s { display: inline-flex; align-items: center; font: 400 14px/1 var(--sans); color: #a3a3a3; }
.mt-svc-s b { width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; border: 2px solid currentColor; animation: mt-fill-dot 1.6s cubic-bezier(.4, 0, .2, 1) infinite alternate; }
@keyframes mt-fill-dot { from { box-shadow: inset 0 0 0 0 currentColor; } to { box-shadow: inset 0 0 0 4px currentColor; } }
@keyframes mt-spin { to { transform: rotate(360deg); } }
.mt-con-cap { min-height: 44px; }
.mt-con-cap p { margin: 0; padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 14px; line-height: 1.4; color: #d4d4d4; animation: mt-in .3s cubic-bezier(.16, 1, .3, 1); }
.mt-con-tr { padding: 4px 4px 0; }
.mt-con-tr .mt-tk { margin-bottom: 12px; color: #a3a3a3; }
.mt-con-tr .mt-tk b { color: #fafafa; }
.mt-con-tr .mt-fall { gap: 8px; }
.mt-con-tr .mt-fall li { color: #a3a3a3; font-size: 14px; }
.mt-con-tr .mt-sb { background: #262626; }
.mt-con-tr .mt-sb b { background: #737373; }
.mt-con-tr .mt-fall li:nth-child(2) b, .mt-con-tr .mt-fall li:nth-child(4) b { background: #fafafa; }
.mt-con-tr.on .mt-fall li { color: #fafafa; }
.mt-con-tr.on .mt-sb b { transform: scaleX(1); }
.mt-con-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px 8px 8px 18px; border-top: 1px solid rgba(255, 255, 255, .1); font: 500 14px/1 var(--mono); color: #a3a3a3; }
.mt-con-foot b { font-weight: 500; color: #d4d4d4; }
.mt-con-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: #fafafa; text-decoration: none; font: 500 14px/1 var(--sans); transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); touch-action: manipulation; }
.mt-con-open:active { transform: scale(.97); transition-duration: .09s; }
.mt-note { margin: 16px 0 0; font-size: 14px; color: #a3a3a3; }
/* the related card and the close: no blank runs between rooms or before the footer */
/* the close: the repo link answers like a control */
.mt-close { padding-bottom: clamp(56px, 6vw, 96px); }
.mt-close .lx-close-repo { margin-left: -10px; padding: 0 10px; border-radius: 999px; transition: background-color .15s cubic-bezier(0, 0, .2, 1), text-decoration-color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); touch-action: manipulation; }
.mt-close .lx-close-repo:active { transform: scale(.97); transition-duration: .09s; }
@media (hover: hover) {
.mt-split button:not([aria-pressed='true']):hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.mt-split button[aria-pressed='true']:hover { color: #262626; }
.mt-lab-c button:not([aria-pressed='true']):hover { border-color: var(--ink); color: var(--ink); }
.mt-lab-c button[aria-pressed='true']:hover { background: #f5f5f5; }
.mt-copy .x-copy:hover { background: #262626; color: #fafafa; }
.mt-con-title:hover { color: #fafafa; background: #171717; }
.mt-con-ico:hover { color: #fafafa; background: #171717; }
.mt-con-ico:hover .mt-tip { opacity: 1; transform: translate(0, -50%); }
.mt-rfield:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.mt-svc button:hover { background: #171717; }
.mt-con-open:hover { background: #fafafa; color: #0a0a0a; }
.mt-close .lx-close-repo:hover { background: #f2f2f2; text-decoration-color: currentColor; }
}
@media (max-width: 899px) {
.mt-hero { padding: 24px 0 32px; }
.mt-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mt-lead { gap: 12px; }
.mt-tool { padding: 14px; border-radius: 16px; }
.mt-host { display: none; }
.mt-q { font-size: 14px; }
.mt-split button { padding: 0 9px; min-height: 44px; font-size: 14px; white-space: nowrap; }
.mt-legend { gap: 12px; font-size: 14px; }
.mt-stage { grid-template-columns: minmax(0, 1fr); margin-top: 16px; border-radius: 16px; }
.mt-field { height: 220px; }
.mt-flag { font-size: 14px; top: 12px; }
.mt-cur { top: 50px; }
.mt-traces { border-left: 0; border-top: 1px solid rgba(0, 0, 0, .1); padding: 18px 16px 20px; }
.mt-fall li { grid-template-columns: 136px 1fr; gap: 10px; font-size: 14px; }
/* chapters stack: each chapter's own table above its words, nothing pinned, every word kept */
.mt-ch-stick { padding: 40px 0 64px; }
.mt-ch-grid { grid-template-columns: minmax(0, 1fr); }
.mt-ch-steps { gap: 48px; }
.mt-ch-grid { gap: 32px; align-items: start; }
/* the one table sticks under the header; white runs up under the glass header, so no line shows between them */
.mt-ch:not([data-pin]) .mt-ch-obj { position: sticky; top: 60px; z-index: 2; order: -1; padding: 8px 0 12px; background: #fff; box-shadow: 0 -60px 0 #fff; }
.mt-ch:not([data-pin]) .mt-ch-steps { gap: 30svh; padding-bottom: 20svh; }
.mt-ch:not([data-pin]) .mt-ch-step[data-at='next'], .mt-ch:not([data-pin]) .mt-ch-step[data-at='past'] { opacity: .35; }
.mt-ch:not([data-pin]) .mt-ch-step { transition: opacity .3s cubic-bezier(0, 0, .2, 1); }
.mt-ch-it { font-size: 32px; }
.mt-ch-il { font-size: 17px; margin-top: 12px; }
.mt-ch-t { font-size: 26px; }
.mt-ch-k { margin-top: 10px; }
.mt-ch-d { margin-top: 12px; line-height: 1.5; }
.mt-tab { border-radius: 16px; }
.mt-tab-bar { padding: 0 16px; height: 50px; }
.mt-dots { display: none; }
.mt-store, .mt-chip { font-size: 14px; }
.mt-chip:not(.on) { right: 16px; }
.mt-tab-q { padding: 0 16px; min-height: 54px; }
.mt-tab-q code { font-size: 14px; }
.mt-pills i { font-size: 14px; }
.mt-mode { display: none; }
.mt-row { grid-template-columns: 74px 1.4fr .7fr .8fr; gap: 8px; padding: 0 16px; height: 40px; font-size: 14px; }
.mt-row .c-model, .mt-row .c-route { display: none; }
.mt-row.head { height: 34px; font-size: 12px; }
.mt-grid .mt-row:nth-child(6), .mt-grid .mt-row:nth-child(8) { display: none; }
/* chapter three on a phone: the label columns replace name and value, so the tick lands on a column you can see */
.mt-tab[data-step='2'] .mt-row { grid-template-columns: 74px .8fr 1.3fr .8fr; } /* /v1/search reads whole at 320 and up */
@media (max-width: 360px) { .mt-tab[data-step='2'] .mt-row { gap: 6px; padding: 0 12px; font-size: 12px; grid-template-columns: 64px .8fr 1.3fr .8fr; } .mt-tab[data-step='2'] .mt-row.head { font-size: 11px; letter-spacing: .06em; } }
.mt-tab[data-step='2'] .mt-row .c-name, .mt-tab[data-step='2'] .mt-row .c-value { display: none; }
.mt-tab[data-step='2'] .mt-row .c-model, .mt-tab[data-step='2'] .mt-row .c-route { display: block; }
.mt-lab { gap: 12px; }
.mt-lab-c button { padding: 0 12px; }
.mt-lab-r dt, .mt-lab-r dd { font-size: 14px; }
.mt-send-grid { grid-template-columns: minmax(0, 1fr); }
.mt-wire { display: none; }
.mt-send-l .lx-headline { margin-bottom: 24px; }
.mt-api { font-size: 14px; }
.mt-paste-code { font-size: 14px; padding: 18px; }
.mt-con-main { padding: 12px; }
.mt-con-body { grid-template-columns: 52px minmax(0, 1fr); }
.mt-svc { grid-template-columns: minmax(0, 1fr); }
.mt-tip { display: none; }
.mt-land-f { font-size: 14px; }
.mt-con-tr .mt-fall li { grid-template-columns: 134px 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
.mt-mode, .mt-pills i, .mt-con-cap p, .mt-land i, .mt-land-f { animation: none; }
.mt-field .mt-plot, .mt-caret, .mt-svc-s b, .mt-wire b.go, .mt-ch-rail button[aria-current] i::after { animation: none; }
.mt-ch-rail button[aria-current] i::after { transform: scaleX(1); }
.mt-ch[data-pin] .mt-ch-step { transform: none !important; transition: opacity .01s, visibility 0s; }
}
/* the Logs link lives in the black room now, a hairline row under the prompt */
.mt-rel { margin-top: 28px; }
.mt-rel-k { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a3a3a3; }
.mt-logs { display: flex; align-items: baseline; gap: 12px; min-height: 44px; margin-top: 12px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .14); color: #fafafa; text-decoration: none; }
.mt-logs b { font-weight: 600; font-size: 17px; letter-spacing: -.015em; }
.mt-logs span { color: #a3a3a3; font-size: 14px; }
.mt-logs svg { align-self: center; margin-left: auto; color: #a3a3a3; transition: transform .3s cubic-bezier(.16, 1, .3, 1), color .15s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) { .mt-logs:hover svg { transform: translateX(4px); color: #fafafa; } .mt-logs:hover span { color: #d4d4d4; } }
.mt-logs:active { transform: translateY(1px); }
.mt-logs:focus-visible { outline: 2px solid #fafafa; outline-offset: 4px; border-radius: 4px; }
/* the close says it once, under the h1's size */
.mt-close .lx-close-h { font-size: 52px; }
@media (max-width: 899px) { .mt-close .lx-close-h { font-size: 40px; } }
/* 320: the tool card's rows stack and the split tabs shrink to fit */
@media (max-width: 359px) {
.mt-tool { grid-template-areas: 'host pause' 'q q' 'split split' 'legend legend'; }
.mt-split { justify-self: stretch; }
.mt-split button { padding: 0 6px; font-size: 12px; }
.mt-legend { flex-wrap: wrap; gap: 8px 12px; }
.mt-q { overflow-wrap: anywhere; }
}
/* ---------- the flip board: the mode in the query bar is a strip of split-flap tiles; a changed tile flips down ---------- */
.mt-board { flex: none; display: inline-flex; gap: 2px; perspective: 300px; animation: none; }
.mt-board i { position: relative; display: inline-grid; place-items: center; width: 13px; height: 22px; border-radius: 3px; background: #0a0a0a; color: #fafafa; font: 500 12px/1 var(--mono); font-style: normal; text-transform: uppercase; transform-origin: 50% 0; backface-visibility: hidden; }
.mt-board i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .18); }
.mt-board i.sp { background: transparent; }
.mt-board i.sp::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
.mt-board i:not(.sp) { animation: mt-flap .42s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(var(--j) * 28ms); }
}
@keyframes mt-flap { 0% { transform: rotateX(-92deg); background: #262626; } 70% { transform: rotateX(10deg); } 100% { transform: none; } }
/* ---------- the stage: each chapter changes the object, not one row ---------- */
.mt-row:not(.head) { transition: opacity .4s cubic-bezier(0, 0, .2, 1), background-color .3s cubic-bezier(0, 0, .2, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.mt-grid { position: relative; transition: opacity .4s cubic-bezier(0, 0, .2, 1); }
.mt-tab-q { transition: background-color .4s cubic-bezier(.4, 0, .2, 1), color .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s cubic-bezier(.4, 0, .2, 1); }
.mt-tab-q code { transition: color .4s cubic-bezier(.4, 0, .2, 1); }
/* 01, one store: the three kinds arrive from three stacks (metrics from the left, traces from above, logs from the right) */
.mt-tab[data-step='0'][data-beat='0'] .mt-row.r-metric, .mt-tab[data-step='0'] .mt-row.r-metric:not(.hot) { transform: translateX(-56px); opacity: .12; }
.mt-tab[data-step='0'] .mt-row.r-trace:not(.hot) { transform: translateY(-36px); opacity: .12; }
.mt-tab[data-step='0'] .mt-row.r-log:not(.hot) { transform: translateX(56px); opacity: .12; }
/* 02, PromQL or the builder: the query bar is the object; the rows step back */
.mt-tab[data-step='1'] .mt-grid { opacity: .28; }
.mt-tab[data-step='1'] .mt-tab-q { background: #0a0a0a; color: #fafafa; }
.mt-tab[data-step='1'] .mt-tab-q code { color: #fafafa; }
.mt-tab[data-step='1'] .mt-pills i { background: #262626; color: #fafafa; }
.mt-tab[data-step='1'] .mt-board i { background: #fafafa; color: #0a0a0a; }
.mt-tab[data-step='1'] .mt-board i::after { background: rgba(0, 0, 0, .14); }
.mt-tab[data-step='1'] .mt-board i.sp { background: transparent; }
/* 03, labels: a label column exists only once it is ticked; the grid grows a column per tick */
@media (min-width: 900px) {
.mt-row { transition-property: opacity, background-color, transform, grid-template-columns; }
.mt-tab[data-step='2'] .mt-row { grid-template-columns: 96px 1.8fr .9fr var(--cm, .6fr) var(--cr, 1fr) var(--ct, .6fr); }
.mt-tab[data-step='2'] .mt-row > span { min-width: 0; }
}
/* 04, the number leads somewhere: the spike row opens into its chart and the traces for that window */
.mt-tab-spike { position: absolute; z-index: 2; left: 1px; right: 1px; top: 94px; bottom: 1px; border-radius: 0 0 23px 23px; display: grid; grid-template-rows: 1fr auto; gap: 14px; padding: 14px 24px 18px; background: #fff; border-top: 1px solid rgba(0, 0, 0, .1); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s cubic-bezier(.16, 1, .3, 1), visibility 0s .6s; }
.mt-tab-spike.on { clip-path: inset(0); visibility: visible; transition: clip-path .6s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.mt-tab-spike svg { width: 100%; height: 100%; min-height: 80px; overflow: visible; }
.mt-tab-spike svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.4, 0, .2, 1) .2s; }
.mt-tab-spike.on svg { clip-path: inset(0 -2% 0 0); }
.mt-tab-spike path { fill: none; stroke: #0a0a0a; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mt-tab-spike.on .mt-sb b { transform: scaleX(1); transition-delay: calc(.5s + var(--i) * 80ms); }
.mt-tab-spike .mt-fall li { color: var(--ink); }
/* 05, alerts are saved queries: the query folds down into a kept rule, the rows step back */
.mt-tab[data-step='4'][data-beat='2'] .mt-grid { opacity: .28; }
.mt-tab[data-step='4'][data-beat='2'] .mt-tab-q { background: #f5f5f5; box-shadow: inset 0 0 0 1.5px #0a0a0a; }
@media (prefers-reduced-motion: no-preference) { .mt-tab[data-step='4'][data-beat='2'] .mt-tab-q code { display: inline-block; transform-origin: 50% 0; animation: mt-fold .6s cubic-bezier(.16, 1, .3, 1) both; } }
@keyframes mt-fold { from { transform: perspective(500px) rotateX(-70deg); opacity: 0; } }
/* 06, scoped to your org: org b and org c slide out of the table */
.mt-row.gone { opacity: .06; transform: translateX(40px); }
/* the chapter words sit right above the rail, not a screen-half away from it */
.mt-ch[data-pin] .mt-ch-step { align-self: end; }
/* phones keep the query bar to the query: the board stays on wider screens */
@media (max-width: 899px) { .mt-board { display: none; } }
@media (max-width: 899px) {
.mt-tab-spike { top: 80px; gap: 8px; padding: 10px 16px 12px; }
.mt-tab-spike svg { min-height: 40px; }
.mt-tab-spike .mt-fall { gap: 6px; }
.mt-tab-spike .mt-fall li { height: 22px; grid-template-columns: 128px 1fr; }
}
@media (max-width: 899px) { .mt-tab-spike { border-radius: 0 0 15px 15px; } }
/* ---------- dark mode, on Hanzo's tokens. The launch kit's page tokens turn over on this page; the black room (the
prompt and Metrics' own console) is black in both modes and keeps its values. Fills below read our --x-* tokens,
because --muted here is the kit's body grey, not Hanzo's fill. ---------- */
html:not(.light) .lx.mt {
--ink: var(--foreground); --acc: var(--foreground); --acc-soft: var(--x-fill); --muted: var(--muted-foreground); --soft: var(--muted-foreground);
--faint: var(--text-tertiary); --silver: var(--border-strong); --card: var(--x-fill); --line: var(--border); --bg: var(--background);
}
@media (hover: hover) { html:not(.light):has(main.mt) header[data-slot=masthead] a[href='https://hanzo.ai/signup']:hover { background-color: var(--glass); } }
html:not(.light) .mt-tool, html:not(.light) .mt-stage { background: var(--x-fill); }
html:not(.light) .mt-host, html:not(.light) .mt-legend, html:not(.light) .mt-split button { color: var(--soft); }
html:not(.light) .mt-split { background: var(--background); }
html:not(.light) .mt-split::before { background: var(--x-knob); }
html:not(.light) .mt-split button[aria-pressed='true'] { color: var(--ink); }
html:not(.light) .mt-legend .s0 { color: var(--ink); }
html:not(.light) .mt-legend i { border-top-color: var(--ink); }
html:not(.light) .mt-legend .s1 i { border-top-color: var(--soft); }
html:not(.light) .mt-legend .s2 i { border-top-color: var(--faint); }
html:not(.light) .mt-legend li.hl { color: var(--ink); }
html:not(.light) .mt-field { color: var(--ink); }
html:not(.light) .mt-field .mt-plot .grid { stroke: var(--edge); }
html:not(.light) .mt-field .s0 { stroke: var(--ink); }
html:not(.light) .mt-field .s1 { stroke: var(--soft); }
html:not(.light) .mt-field .s2 { stroke: var(--faint); }
html:not(.light) .mt-cur { border-left-color: var(--ink); }
html:not(.light) .mt-flag, html:not(.light) .mt-chip { background: var(--ink); color: var(--x-on-ink); }
html:not(.light) .mt-x { background: var(--border-focus); }
html:not(.light) .mt-x i { background: var(--bg); box-shadow: 0 0 0 2.5px var(--ink); }
html:not(.light) .mt-traces { border-color: var(--border); }
html:not(.light) .mt-stage .mt-tk, html:not(.light) .mt-stage .mt-fall li, html:not(.light) .mt-tab .mt-fall li { color: var(--soft); }
html:not(.light) .mt-stage .mt-tk b, html:not(.light) .mt-traces.on .mt-fall li, html:not(.light) .mt-tab-spike .mt-fall li { color: var(--ink); }
html:not(.light) .mt-stage .mt-sb, html:not(.light) .mt-tab .mt-sb { background: var(--secondary); }
html:not(.light) .mt-stage .mt-sb b, html:not(.light) .mt-tab .mt-sb b { background: var(--faint); }
html:not(.light) .mt-stage .mt-fall li:nth-child(2) b, html:not(.light) .mt-stage .mt-fall li:nth-child(4) b,
html:not(.light) .mt-tab .mt-fall li:nth-child(2) b, html:not(.light) .mt-tab .mt-fall li:nth-child(4) b { background: var(--ink); }
html:not(.light) .mt-traces.rest .mt-sb b { background: var(--border-strong); }
html:not(.light) .mt-traces.rest .mt-fall li { color: var(--faint); }
html:not(.light) .mt-ch-rail button[data-at='past'] { color: var(--faint); }
html:not(.light) .mt-ch-rail i { background: var(--border-strong); }
html:not(.light) .mt-ch-rail button[data-at='past'] i::after { background: var(--faint); }
html:not(.light) .mt-tab { background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--border); }
html:not(.light) .mt-tab-bar, html:not(.light) .mt-tab-q, html:not(.light) .mt-row + .mt-row, html:not(.light) .mt-lab-r div { border-color: var(--border); }
html:not(.light) .mt-tab .mt-dots i, html:not(.light) .mt-pills i { background: var(--secondary); }
html:not(.light) .mt-row, html:not(.light) .mt-row.head { color: var(--faint); }
html:not(.light) .mt-row.hot { color: var(--ink); }
html:not(.light) .mt-row.spike { background: var(--x-fill); }
html:not(.light) .k-metric { background: var(--ink); }
html:not(.light) .k-trace { border-color: var(--ink); }
html:not(.light) .k-log { background: var(--soft); }
html:not(.light) .c-value b { background: var(--border-strong); }
html:not(.light) .mt-row.hot .c-value b { background: var(--ink); }
html:not(.light) .mt-lab-c button { border-color: var(--border-control); background: var(--x-raised); color: var(--soft); }
html:not(.light) .mt-lab-c button[aria-pressed='true'] { background: var(--x-raised); color: var(--ink); border-color: var(--ink); }
html:not(.light) .mt-lab-r dt { color: var(--soft); }
/* 02: the query bar stays the one black object, edged so it reads on the dark table */
html:not(.light) .mt-tab[data-step='1'] .mt-tab-q { box-shadow: inset 0 0 0 1px var(--border-strong); }
html:not(.light) .mt-tab[data-step='4'][data-beat='2'] .mt-tab-q { background: var(--x-fill); box-shadow: inset 0 0 0 1.5px var(--ink); }
html:not(.light) .mt-tab-spike { background: var(--x-raised); border-top-color: var(--border); }
html:not(.light) .mt-tab-spike path { stroke: var(--ink); }
@media (hover: hover) {
html:not(.light) .mt-split button:not([aria-pressed='true']):hover { color: var(--ink); background: var(--glass-strong); }
html:not(.light) .mt-split button[aria-pressed='true']:hover { color: var(--ink); }
html:not(.light) .mt-lab-c button[aria-pressed='true']:hover { background: var(--x-fill); }
html:not(.light) .mt-close .lx-close-repo:hover { background: var(--x-fill); }
}
@media (max-width: 899px) {
html:not(.light) .mt-ch:not([data-pin]) .mt-ch-obj { background: var(--bg); box-shadow: 0 -60px 0 var(--bg); }
}
/* the close's art tile reads Hanzo's --muted fill, which on a launch-kit page is the kit's body grey: it takes the fill token */
html:not(.light) .mt-close .lx-close-art { background: var(--x-fill); }
/* the shared pause control draws its icon in #0a0a0a on its own fill; in the tool card it takes the ink */
html:not(.light) .mt-pause:not([aria-pressed='true']) { color: var(--ink); }
/* the close's Sigil and repo underline are drawn in fixed black by the shared close; on this page they take the ink */
html:not(.light) .mt-close .lx-close-sigil { color: var(--ink); }
html:not(.light) .mt-close .lx-close-repo { text-decoration-color: var(--border-selected); }
/* dark: the shared pause puck is white in both modes (LivePause.css); on this page it sits on Hanzo's dark surface,
so it takes the dark icon-tile fill (--secondary) under its light glyph, as /kms does */
html:not(.light) .mt .lx-pause:not([aria-pressed='true']) { background: var(--secondary); color: var(--foreground); }
/* dark: live hanzo.ai's heroes carry a halftone dot field in dark, densest at the edges (the same rule as /investors);
light mode draws nothing here */
html:not(.light) .mt-hero { position: relative; isolation: isolate; }
html:not(.light) .mt-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, var(--white-20) 1px, transparent 1.6px) 0 0 / 5px 5px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 45% 45%, transparent 35%, #000 100%), linear-gradient(#000 70%, transparent); -webkit-mask-composite: source-in; mask-image: radial-gradient(ellipse 75% 70% at 45% 45%, transparent 35%, #000 100%), linear-gradient(#000 70%, transparent); mask-composite: intersect; }