/* Hallmark · shape: Workbench · genre: modern-minimal · theme: Furrow (deal 2/3, seed cosito-b2b-voice-data-e828·17b04712·2026-11-20·r0) · job: sign up · draw: 4b3c9f
 * hero: Stage, photo-led · nav: edge-aligned bar with the brand logo · footer: mast with the logo · imagery: a technician speaking a reading at the pumps (placeholder photo) + the product built (tabbed records, equipment trend; sample values) + customer-site photos as placeholders · signature: the technician on his route with the record card over the photo, its three tabs naming the three uses: maintenance route, quality check, goods receipt
 * axes: light/grotesk-sans/cool · posture: committed · contrast: pass · fold: pass · v2.0.0
 * revision 6: record card and maintenance section rebuilt as insight output (severity scale, signals, the why from what was said, suggested work order), story from the P-110 demo video script
 * revision 8: quality check and CCP merged into one Production Formats tab (the CCP example); revision 7: CCP tab added; hero photo follows the selected tab (cold room is a placeholder); Send to ERP; SAP, Oracle, Microsoft Dynamics marks (simple-icons 11.14.0) where records go
 * revision 9: three-uses section removed (repeated the hero); the why plays in sequence (line, each thing said at its point, then the insight); hero tabs advance every 5 s, pause on hover or focus, off with reduced motion; Send to your ERP button removed
 * revision 10: each moment marks both vibration and bearing temp; insight deepened (evidence from readings and what was said, ruled out, time to trip limit, sibling pumps, actions); all sample values
 * revision 11: three moments instead of five; insight cut to one verdict (no evidence list, no suggested actions: not in the product yet)
 * revision 12: chart and a live insight side by side so the section fits one screen; the insight steps Normal, Warning, Severe as the line grows; flow line and personal names removed; How a plant starts and the Your data row removed
 * revision 13: dots are buttons that reopen what was said; Play again and the sample-values caption removed; normal band raised to hold the 3-weeks reading (still in range, warning); subtitle on know-how leaving with people
 * revision 14: insight states carry the reasoning; tabs every 3 s and stop for good on a click; Book a demo; customer quotes and photo credit removed until customers approve; IT section retitled
 * revision 15: footer logo at nav size; mic icon on every spoken quote; founder statement on why Cosito exists
 * brand: Cosito override (logo PNG, app palette) · white ground and neutral greys instead of manila, ink purple-black, Cosito purple as the one signal, green kept for in range · revision 5: floor plan removed at the user's request; hero is a photo with the record card; headline in the user's words naming the three uses; tabs renamed; three-uses lead photo changed to the compressor inspection
 * material: real = phase 1 copy, customer photos and quotes from the Cosito customer stories deck, founder and backers · absent = logos, metrics (the deck's figures are illustrative, left out), customer names */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4 · weakest: E, the quotes carry no faces or names until customers approve attribution */
/* Hallmark · dismissed 58 · page total counts the two hidden tab panels and three verbatim customer quotes, which are not cut; the 9-word h1 is the user's own wording, naming all three uses so the first screen is not read as inspections only */
/* Hallmark · waive 84 · the console runs on customers' real routes and formats · capturing it would show private plant data, so records are rebuilt with sample values in slots */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- chrome ---------- */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }


.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule-strong); }
.bar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; border-radius: var(--radius-pill); }
.logo img { display: block; height: 28px; width: auto; }
.logo:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.bar nav ul { display: flex; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.bar nav a { font-weight: 500; text-decoration: none; color: var(--color-ink); white-space: nowrap; }
.bar nav a:hover { color: var(--color-accent-deep); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 var(--color-sheet), 0 1px 1px var(--color-rule); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent-deep); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-sheet) 32%, transparent), inset 0 -1px 0 color-mix(in oklab, var(--color-ink) 18%, transparent); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); }
.textlink { font-weight: 500; color: var(--color-ink); text-underline-offset: 0.2em; }
.textlink:hover { color: var(--color-accent-deep); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } }

.num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }

/* ---------- hero ---------- */
.hero .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; min-height: calc(100svh - 72px); padding-block: var(--space-2xl); }
.hero h1 { max-width: 15ch; font-size: clamp(2.25rem, 2.6vw + 1rem, 3.75rem); line-height: 1.04; overflow-wrap: break-word; min-width: 0; }
.hero__visual { position: relative; padding-bottom: var(--space-3xl); }
.hero-photo { margin: 0; height: min(600px, 70svh); min-height: 460px; border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-3); box-shadow: 0 0 0 1px var(--color-rule-strong); }
.hero-photo { position: relative; }
.hero-photo > img, .hero-photo > .hero-ph { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.hero-photo > .is-on { opacity: 1; z-index: 2; }
html:not(.js) .hero-photo > [data-for="tab-route"] { opacity: 1; }
.hero-ph { display: grid !important; place-items: start end; padding: var(--space-lg); background: repeating-linear-gradient(135deg, var(--color-paper-3) 0 14px, var(--color-rule) 14px 15px); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.hero-ph span { padding: var(--space-xs) var(--space-sm); background: var(--color-sheet); border-radius: var(--radius-pill); box-shadow: 0 0 0 1px var(--color-rule-strong); }
@media (prefers-reduced-motion: reduce) { .hero-photo > img, .hero-photo > .hero-ph { transition: none; } }
.hero__visual .entry { position: absolute; left: calc(-1 * var(--space-3xl)); bottom: calc(-1 * var(--space-lg)); width: min(476px, 100%); z-index: var(--z-raised); }
.hero .lead { margin-top: var(--space-lg); color: var(--color-muted); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }



/* the notebook record */
.entry { width: min(352px, 100%); border-radius: var(--radius-entry); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-ink), var(--shadow-lift); overflow: hidden; }
.entry__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-md); padding: var(--space-md) var(--space-md) var(--space-sm); background: var(--color-ink); color: var(--color-paper); }
.entry__kind { font-size: var(--text-sm); font-weight: 500; }
.entry__time { font: var(--display-weight) 2.75rem/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.entry__day { font-size: var(--text-sm); color: var(--color-plan-hatch); }
.notebook { background: linear-gradient(var(--color-grid) 1px, transparent 1px) 0 0 / 8px 8px, linear-gradient(90deg, var(--color-grid) 1px, transparent 1px) 0 0 / 8px 8px, var(--color-paper-2); }
.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.cells > div { padding: var(--space-xs) var(--space-md) var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-ink); }
.cells > div:nth-child(odd):not(.span) { border-right: var(--rule-hair) solid var(--color-ink); }
.cells .span { grid-column: 1 / -1; }
.cells dt { font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); }
.cells dd { margin: var(--space-3xs) 0 0; font-weight: 500; }
.cells .said { font-size: var(--text-md); font-weight: 400; line-height: 1.4; }
.entry__foot { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: stretch; min-height: 56px; }
.entry__foot .key { display: flex; align-items: center; justify-content: center; border: 0; background: var(--color-paper-2); color: var(--color-ink); cursor: pointer; }
.entry__foot .key:first-child { border-right: var(--rule-hair) solid var(--color-ink); }
.entry__foot .key:last-child { border-left: var(--rule-hair) solid var(--color-ink); }
.entry__foot .key:hover { background: var(--color-paper-3); }
.entry__foot .key:active { transform: translateY(1px); }
.entry__foot .key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -3px; }
.entry__foot .key:disabled { opacity: 0.55; cursor: not-allowed; }
.entry__foot .state { display: flex; align-items: center; justify-content: center; }
.entry__foot:has(.key--wide), .entry__foot:has(.foot-note) { grid-template-columns: minmax(0, 1fr) auto; }
.entry__foot .state:first-child { justify-content: flex-start; padding-inline: var(--space-md); }
.entry__foot .key--wide { padding-inline: var(--space-md); font-weight: 500; text-decoration: none; background: var(--color-accent); color: var(--color-accent-ink); border-left: var(--rule-hair) solid var(--color-ink); }
.entry__foot .key--wide:hover { background: var(--color-accent-deep); }
.entry__foot--single { grid-template-columns: minmax(0, 1fr); }
.entry__foot--single .state:first-child { justify-content: center; }
/* tabs on the record card */
.tabs { display: grid; grid-template-columns: repeat(3, minmax(max-content, 1fr)); overflow-x: auto; scrollbar-width: none; background: var(--color-paper-3); border-bottom: var(--rule-hair) solid var(--color-ink); }
.tab { min-height: 44px; padding: 0 var(--space-sm); white-space: nowrap; border: 0; background: transparent; color: var(--color-muted); font: 500 var(--text-sm)/1.2 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.tab + .tab { border-left: var(--rule-hair) solid var(--color-rule-strong); }
.tab:hover { color: var(--color-ink); background: var(--color-paper-2); }
.tab:active { transform: translateY(1px); }
.tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -3px; }
.tab[aria-selected="true"] { color: var(--color-ink); background: var(--color-paper-2); box-shadow: inset 0 -3px 0 var(--color-accent); }
.tab:disabled { opacity: 0.55; cursor: not-allowed; }
.panel-rec:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -3px; }
.seen { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); font-weight: 400 !important; }
.thumb { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 4px; box-shadow: 0 0 0 1px var(--color-ink); color: var(--color-muted); }
.entry__foot .foot-note { display: flex; align-items: center; padding-inline: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); border-left: var(--rule-hair) solid var(--color-ink); }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 500; }
.chip--ok { background: var(--color-green-soft); color: var(--color-green); }
.chip--flag { background: var(--color-accent-soft); color: var(--color-accent-deep); }
.chip--hold { background: var(--color-ink); color: var(--color-paper); }

/* severity, insight and signals on the record card */
.sev { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 28px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
.sev::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sev--critical { background: var(--color-critical-soft); color: var(--color-critical); }
.sev--severe { background: var(--color-severe-soft); color: var(--color-severe); }
.sev--warn { background: var(--color-warn-soft); color: var(--color-warn); }
.sev--ok { background: var(--color-green-soft); color: var(--color-green); }
.alert-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-strong); }
.alert-where { font-size: var(--text-xs); color: var(--color-muted); }
.alert-asset { font: var(--display-weight) var(--text-lg)/1.2 var(--font-display); letter-spacing: -0.01em; }
.insight { margin: 0; padding: var(--space-sm) var(--space-md); background: var(--color-accent-soft); color: var(--color-ink); font-weight: 500; line-height: 1.35; }
.insight__by, .why__by { display: block; margin-bottom: var(--space-3xs); font-size: var(--text-xs); font-weight: 500; color: var(--color-accent-deep); }
.signals { margin: 0; padding: var(--space-xs) var(--space-md); list-style: none; border-bottom: var(--rule-hair) solid var(--color-rule); }
.signals li { display: grid; grid-template-columns: 92px 80px minmax(0, 1fr); align-items: center; gap: var(--space-sm); min-height: 32px; font-size: var(--text-sm); }
.signals li > span:first-child { color: var(--color-ink-2); }
.spark { width: 80px; height: 24px; }
.spark polyline { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark--severe polyline { stroke: var(--color-severe-line); }
.spark--warn polyline { stroke: var(--color-warn-line); }
.spark--ok polyline { stroke: var(--color-green); }
.meter { display: block; height: 8px; border-radius: 4px; background: var(--color-paper-3); overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--color-critical); }
.meter--ok > span { background: var(--color-green); }
.trendtag { justify-self: end; font-weight: 500; white-space: nowrap; color: var(--color-ink-2); }
.trendtag--up { color: var(--color-severe); }
.trendtag--warn { color: var(--color-warn); }
.trendtag--critical { color: var(--color-critical); }
.trendtag--ok { color: var(--color-green); }
.why { padding: var(--space-sm) var(--space-md); }
.why ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); }
.why li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink); }
.why li > span:last-child:not(.thumb) { flex: none; font-size: var(--text-xs); color: var(--color-muted); }
.why__now { font-weight: 500; }
.why .thumb { width: 44px; height: 44px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb--empty { background: repeating-linear-gradient(135deg, var(--color-paper-3) 0 6px, var(--color-rule) 6px 7px); }
/* systems Cosito sends to */
.systems { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.sys { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink-2); font-weight: 500; }
.sys svg { width: 28px; height: 28px; fill: currentColor; }
.sys--any { color: var(--color-muted); font-weight: 400; }
.dash__systems { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-strong); }
.dash__systems .systems { margin: 0; }
.dash__systems-by { font-size: var(--text-sm); color: var(--color-muted); }
.rows .systems { margin-top: var(--space-md); }
.entry__foot .wo-line { justify-content: flex-start; padding-inline: var(--space-md); font-size: var(--text-sm); font-weight: 500; line-height: 1.3; border-top: var(--rule-hair) solid var(--color-ink); }
.entry__foot .key--wide { border-top: var(--rule-hair) solid var(--color-ink); white-space: nowrap; }

/* the why: dashboard */
.dash { margin: 0; border-radius: var(--radius-card); background: var(--color-sheet); box-shadow: 0 0 0 1px var(--color-rule-strong), var(--shadow-card); overflow: hidden; }
.dash__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule-strong); background: var(--color-paper-3); }
.dash__title { font-weight: 500; }
.tally { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.dash__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.dash__panel { padding: var(--space-xl); }
.dash__panel + .dash__panel { border-left: var(--rule-hair) solid var(--color-rule-strong); }
.dash__h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-xs) var(--space-md); }
.dash__h h3 { font-size: var(--text-xl); }
.dash__asset { font-size: var(--text-sm); color: var(--color-muted); }
.chart { display: block; width: 100%; height: auto; margin-top: var(--space-lg); }
.chart__normal { fill: var(--color-green-soft); }
.chart__line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart__line--vib { stroke: var(--color-severe-line); }
.chart__line--temp { stroke: var(--color-critical); }
.chart__line--flow { stroke: var(--color-muted); stroke-dasharray: 6 5; stroke-width: 2; }
.chart__end--vib { fill: var(--color-severe-line); }
.chart__end--temp { fill: var(--color-critical); }
.chart__label { font: 500 14px var(--font-body); }
.chart__label--vib { fill: var(--color-severe); }
.chart__label--temp { fill: var(--color-critical); }
.chart__label--flow { fill: var(--color-muted); }
.chart__axis { font: 500 12px var(--font-outlier); fill: var(--color-muted); }
.chart__axis--ok { fill: var(--color-green); font-family: var(--font-body); }
.chart__marks path { stroke: var(--color-accent); stroke-width: 1; stroke-dasharray: 2 4; }
.chart__marks circle { fill: var(--color-accent); }
.chart__marks text { font: 600 12px var(--font-body); fill: var(--color-accent-ink); text-anchor: middle; }
.dash__verdict { margin-top: var(--space-md); color: var(--color-muted); }
.said-line { margin: var(--space-lg) 0 0; padding: 0; list-style: none; counter-reset: said; display: grid; gap: var(--space-md); }
.said-line li { counter-increment: said; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: var(--space-sm); }
.said-line li::before { content: counter(said); grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-xs); font-weight: 600; }
.said-line b { font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); }
.said-line span { line-height: 1.4; }
.said-line__now span { font-weight: 500; }
.dash__insight { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm) var(--space-md); align-items: center; padding: var(--space-lg) var(--space-xl); background: var(--color-accent-soft); border-top: var(--rule-hair) solid var(--color-rule-strong); }
.dash__insight p { font-size: var(--text-lead); line-height: 1.35; }
.dash__wo { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md); color: var(--color-ink-2); }

/* the why, played: line draws, each thing said appears at its point, then the insight */
.legend { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); font-weight: 500; }
.legend li { display: inline-flex; align-items: center; gap: var(--space-xs); }
.legend li::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: currentColor; }
.legend--vib { color: var(--color-severe); }
.legend--temp { color: var(--color-critical); }
.legend--flow { color: var(--color-muted); }
.play { padding: var(--space-xl) var(--space-xl) var(--space-md); }
.play__stage { position: relative; }
.chart--big { margin-top: 0; overflow: visible; }
.pin__link { stroke: var(--color-accent); stroke-width: 2; stroke-dasharray: 3 3; }
.pin__dot { fill: var(--color-sheet); stroke-width: 3; transition: fill var(--dur-short) var(--ease-out); }
.pin__ring { fill: var(--color-accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin__dot--vib { stroke: var(--color-severe-line); }
.pin__dot--temp { stroke: var(--color-critical); }
.pin.is-past .pin__dot--vib, .pin.is-now .pin__dot--vib { fill: var(--color-severe-line); }
.pin.is-past .pin__dot--temp, .pin.is-now .pin__dot--temp { fill: var(--color-critical); }
.pin.is-now .pin__dot { stroke: var(--color-accent); stroke-width: 4; }
.pin.is-now .pin__ring { animation: pin-pulse 1.4s var(--ease-out) infinite; }
@keyframes pin-pulse { from { opacity: 0.35; transform: scale(0.5); } to { opacity: 0; transform: scale(1.6); } }
.why-play.is-armed .pin { opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.why-play.is-armed .pin.is-past, .why-play.is-armed .pin.is-now, .why-play.is-done .pin { opacity: 1; }
.bubble { position: absolute; z-index: 2; display: grid; gap: var(--space-3xs); width: min(340px, 50%); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-paper); box-shadow: var(--shadow-lift); transform: translate(-50%, calc(-100% - 22px)); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); pointer-events: none; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: var(--color-ink); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.bubble--left { transform: translate(-88%, calc(-100% - 22px)); }
.bubble--left::after { left: 88%; }
.js .bubble:not(.is-now) { opacity: 0; visibility: hidden; }
html:not(.js) .bubble:not(.is-now) { display: none; }
.bubble.is-now { transition-delay: 0s; }
.bubble__when { font-size: var(--text-xs); color: var(--color-plan-hatch); }
.bubble__q { font-size: var(--text-md); font-weight: 500; line-height: 1.35; }
.bubble__vals { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); margin-top: var(--space-2xs); padding-top: var(--space-xs); border-top: 1px solid color-mix(in oklab, var(--color-paper) 18%, transparent); font-size: var(--text-sm); }
.bubble__vals > span { display: inline-flex; align-items: center; gap: var(--space-xs); white-space: nowrap; }
.bubble__vals b { font-family: var(--font-outlier); font-weight: 500; }
.bubble__vals--hi b { color: var(--color-severe-on-dark); }
.k { width: 8px; height: 8px; border-radius: 50%; }
.k--vib { background: var(--color-severe-line); }
.k--temp { background: var(--color-critical-on-dark); }
.bubble__who { font-size: var(--text-xs); color: var(--color-plan-hatch); }
.play__note { position: relative; min-height: 1.6em; margin-top: var(--space-sm); color: var(--color-muted); }
.play__note > span { position: absolute; inset: 0 auto auto 0; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.why-play.is-sensor .play__note-sensor { opacity: 1; }
.why-play.is-armed:not(.is-sensor):not(.is-done) .play__note-said { opacity: 1; }
.play__insight { grid-template-columns: auto minmax(0, 1fr); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.why-play.is-armed:not(.is-done) .play__insight { opacity: 0.12; transform: translateY(8px); }
.play__insight .insight__by { font-size: var(--text-sm); }
.replay { padding: 0; border: 0; background: none; font: 500 var(--text-md) var(--font-body); text-decoration: underline; cursor: pointer; min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .bubble, .play__insight, .play__note > span { transition: none; } .pin.is-now .pin__ring { animation: none; } }
/* hero tabs: 5-second progress under the selected tab while it plays */
.tab { position: relative; }
.entry.is-playing .tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--color-accent-deep); transform-origin: left; animation: tab-run 3s linear forwards; }
@keyframes tab-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* the deeper insight */
.ai { display: block; padding: var(--space-xl); }
.ai__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md); align-items: start; }
.ai__verdict { margin: 0; font: var(--display-weight) var(--text-xl)/1.25 var(--font-display); letter-spacing: -0.015em; max-width: 46ch; }
.ai__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-accent) 25%, transparent); }
.ai .ai__h { margin: 0 0 var(--space-sm); font: 600 var(--text-md)/1.3 var(--font-body); letter-spacing: 0; }
.ai__col .ai__h:not(:first-child) { margin-top: var(--space-lg); }
.ai__ev { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-md); }
.ai__ev li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--space-sm); align-items: baseline; line-height: 1.45; color: var(--color-ink-2); }
.ai__src { justify-self: start; padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 500; white-space: nowrap; }
.ai__src--data { background: var(--color-severe-soft); color: var(--color-severe); }
.ai__src--said { background: var(--color-sheet); color: var(--color-accent-deep); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-accent) 30%, transparent); }
.ai__risk { margin: 0; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-pill); background: var(--color-severe-soft); line-height: 1.45; }
.ai__risk b { color: var(--color-severe); }
.ai__also { margin: var(--space-sm) 0 0; line-height: 1.45; color: var(--color-ink-2); }
.ai__do { margin: 0; padding-left: 1.25em; display: grid; gap: var(--space-xs); line-height: 1.45; }
.ai__do li::marker { color: var(--color-accent-deep); font-weight: 600; }
.ai__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-accent) 25%, transparent); }
.ai__foot .dash__systems { padding-top: 0; border-top: 0; }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap); }
.section--tight { padding-block: var(--section-gap-s); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head .lead { color: var(--color-muted); }

/* three uses, with photographs */
.uses { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.use { display: grid; gap: var(--space-sm); align-content: start; }
.use__pic { height: 380px; margin: 0 0 var(--space-sm); border-radius: var(--radius-card); }
.use--lead h3 { font-size: var(--text-2xl); }
.use p:not(.use__said) { color: var(--color-muted); max-width: 48ch; }
.use__said { font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink); }
.slot-note { position: absolute; left: var(--space-md); right: var(--space-md); bottom: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.use__pic:not(:has(> img)) { border: 1px dashed var(--color-rule-strong); }
.use__where { font-size: var(--text-sm); color: var(--color-muted); }

/* customers, in their own words */

/* the exported sheet */
.sheet-wrap { position: relative; padding: var(--space-2xl); border-radius: var(--radius-card); background: var(--color-paper-3); }
.sheet { position: relative; max-width: 1040px; margin-inline: auto; padding: var(--space-xl) var(--space-2xl) var(--space-2xl); background: var(--color-sheet); border-radius: 3px; box-shadow: var(--shadow-card); }
.sheet::before, .sheet::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(var(--color-paper-2), var(--color-rule)); pointer-events: none; }
.sheet::before { top: 33.3%; }
.sheet::after { top: 66.6%; }
.sheet__top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 2px solid var(--color-ink); }
.sheet__title { font: var(--display-weight) var(--text-xl)/1.2 var(--font-display); letter-spacing: -0.02em; }
.sheet__meta { color: var(--color-muted); font-size: var(--text-sm); text-align: right; }
.sheet table { width: 100%; border-collapse: collapse; margin-top: var(--space-md); }
.sheet th { text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); padding: var(--space-xs) var(--space-sm) var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-ink); white-space: nowrap; }
.sheet td { padding: var(--space-sm) var(--space-sm) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; }
.sheet td:first-child { font-weight: 500; }
.sheet tr.dev td { background: var(--color-accent-soft); }
.sheet__sign { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 2px solid var(--color-ink); font-size: var(--text-sm); }
.sheet__sign dt { color: var(--color-muted); }
.sheet__sign dd { margin: var(--space-3xs) 0 0; font-weight: 500; }
.caption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }

/* equipment trend */
.trend { display: block; width: 100%; height: auto; margin-top: var(--space-lg); }
.trend .band-normal { fill: var(--color-green-soft); }
.trend .baseline { stroke: var(--color-green); stroke-width: 1; stroke-dasharray: 4 4; }
.trend .trend-line { fill: none; stroke: var(--color-ink); stroke-width: 2; }
.trend .dot { fill: var(--color-sheet); stroke: var(--color-ink); stroke-width: 2; }
.trend .dot--warm { stroke: var(--color-accent); }
.trend .dot--flag { fill: var(--color-accent); stroke: var(--color-accent-deep); }
.trend .axis { font: 500 13px var(--font-outlier); fill: var(--color-muted); }
.trend .axis--band { fill: var(--color-green); font-family: var(--font-body); }
.trend .value { font: 500 15px var(--font-body); fill: var(--color-accent-deep); }
.trend .obs { font: 400 14px var(--font-body); fill: var(--color-ink-2); }
.trend .obs-lead { stroke: var(--color-rule-strong); stroke-width: 1; fill: none; }
.sheet::before, .sheet::after { display: none; }

/* how it starts */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; gap: var(--space-md); align-content: start; border-top: 2px solid var(--color-ink); padding-top: var(--space-lg); }
.steps > li::before { content: counter(step); font: var(--display-weight) var(--text-3xl)/1 var(--font-display); color: var(--color-accent-deep); }
.steps p { color: var(--color-muted); }
.stack { display: grid; gap: var(--space-xs); margin: var(--space-xs) 0 0; padding: 0; list-style: none; }
.stack li { display: flex; justify-content: space-between; gap: var(--space-md); align-items: center; min-height: 48px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule-strong); font-weight: 500; }
.stack li span { color: var(--color-muted); font-weight: 400; font-size: var(--text-sm); }
.steps .said-chip { color: var(--color-paper); }
.said-chip { padding: var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font-size: var(--text-lead); line-height: 1.4; }

/* for IT: rows */
.it { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.it .head { margin-bottom: 0; }
.rows { margin: 0; border-top: var(--rule-hair) solid var(--color-ink); }
.rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows dt { font: var(--display-weight) var(--text-title)/1.2 var(--font-display); letter-spacing: -0.02em; }
.rows dd { margin: 0; color: var(--color-muted); max-width: 52ch; }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* statement band */
.band { background: var(--color-paper); color: var(--color-ink); padding-block: var(--section-gap-s); border-block: var(--rule-hair) solid var(--color-rule-strong); }
.statement { margin: 0; font: var(--display-weight) var(--text-section)/1.08 var(--font-display); letter-spacing: var(--tracking-display); max-width: 22ch; text-wrap: balance; }
.band .attrib { margin-top: var(--space-xl); color: var(--color-muted); max-width: 60ch; }
.band .attrib b { color: var(--color-ink); font-weight: 500; }

/* close */
.close { background: var(--color-paper-3); padding-block: var(--section-gap-s); }
.close .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.close h2 { max-width: 16ch; }
.close .lead { margin-top: var(--space-md); color: var(--color-muted); }
.close__act { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: flex-end; align-items: center; }
.close__act a:not(.btn) { font-weight: 500; }

/* footer: mast */
.mast { border-top: var(--rule-hair) solid var(--color-rule-strong); padding-block: var(--space-2xl) var(--space-xl); }
.mast__logo { display: block; width: auto; height: 28px; }
.mast__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.mast__links ul { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.mast__links a { text-decoration: none; }
.mast__links a:hover { color: var(--color-accent-deep); text-decoration: underline; }
.mast small { color: var(--color-muted); font-size: var(--text-sm); }
.credits { margin-top: var(--space-md); font-size: var(--text-xs); color: var(--color-muted); max-width: none; }
.credits a:hover { color: var(--color-accent-deep); }

/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  .bar nav ul { gap: var(--space-lg); }
  .bar nav li:not(.keep) { display: none; }
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; }
  .hero__visual { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 0; }
  .hero-photo { height: 420px; min-height: 0; }
  .hero__visual .entry { position: relative; left: auto; bottom: auto; min-width: 0; justify-self: center; margin: calc(-1 * var(--space-3xl)) 0 0; width: calc(100% - 2 * var(--space-md)); max-width: 400px; }
  .uses { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .use__pic { height: 280px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .it { grid-template-columns: minmax(0, 1fr); }
  .rows > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .close { background: var(--color-paper-3); padding-block: var(--section-gap-s); }
.close .container { grid-template-columns: minmax(0, 1fr); }
  .close__act { justify-content: flex-start; }
  .sheet-wrap { padding: var(--space-md); }
  .sheet { padding: var(--space-lg); }
  .sheet__sign { grid-template-columns: minmax(0, 1fr); }
  .dash__grid { grid-template-columns: minmax(0, 1fr); }
  .dash__panel + .dash__panel { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
  .dash__panel, .dash__bar, .dash__insight { padding-inline: var(--space-md); }
  .dash__insight { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .dash__wo, .dash__systems { grid-column: 1; }
  .play { padding: var(--space-md); }
  .bubble { position: static; width: auto; margin-top: var(--space-sm); transform: none !important; }
  .bubble::after { display: none; }
  .js .bubble:not(.is-now) { display: none; }
  .ai { padding: var(--space-lg) var(--space-md); }
  .ai__head { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .ai__cols { grid-template-columns: minmax(0, 1fr); }
  .ai__ev li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .chart--big .chart__axis { font-size: 30px; }
  .chart--big .chart__line { stroke-width: 6; }
  .chart--big .pin__dot { stroke-width: 5; }
  .play__insight { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .bar nav { display: none; }
  .sheet__top { flex-direction: column; align-items: flex-start; }
  .sheet__meta { text-align: left; }
  .sheet-wrap { padding: 0; background: none; }
  .sheet { padding: var(--space-md); }
  .sheet td:nth-child(2) { white-space: nowrap; }
  .sheet { overflow-x: auto; }
  .trend { width: 640px; max-width: none; }
}
.ai .ai__risk, .ai .ai__also { font-size: var(--text-md); }

/* the why, revision 12: chart and a live insight side by side, one screen */
.why__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.why__grid .play { padding: var(--space-lg) var(--space-lg) var(--space-md); }
.live { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-lg); background: var(--color-accent-soft); border-left: var(--rule-hair) solid var(--color-rule-strong); }
.live .insight__by { font-size: var(--text-sm); margin: 0; }
.live__state { display: none; gap: var(--space-sm); justify-items: start; }
.live__state.is-on { display: grid; animation: live-in var(--dur-long) var(--ease-out); }
.live__state p { margin: 0; font: var(--display-weight) var(--text-lg)/1.3 var(--font-display); letter-spacing: -0.01em; }
@keyframes live-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.live__foot { margin-top: auto; display: grid; gap: var(--space-xs); padding-top: var(--space-md); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-accent) 25%, transparent); }
.live__by { font-size: var(--text-sm); color: var(--color-muted); }
.live .systems { margin: 0; gap: var(--space-xs) var(--space-md); font-size: var(--text-sm); }
.live .sys svg { width: 20px; height: 20px; }
.live .replay { justify-self: start; min-height: 32px; font-size: var(--text-sm); }
.bubble--side { transform: translate(calc(-100% - 22px), calc(-100% + 18px)); }
.bubble--side::after { left: auto; right: -7px; top: auto; bottom: 12px; transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .live__state.is-on { animation: none; } }
@media (max-width: 60rem) {
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .live { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
}

/* dots open what was said at that moment */
.pin { cursor: pointer; outline: none; }
.pin__hit { fill: transparent; }
.pin:hover .pin__dot { stroke: var(--color-accent); stroke-width: 4; }
.pin:focus-visible .pin__ring { opacity: 0.35; animation: none; transform: scale(1.2); }
.why-play.is-done .pin.is-now .pin__ring { animation: none; opacity: 0.25; transform: scale(1.1); }
.why-play.is-done .pin__dot--vib { fill: var(--color-severe-line); }
.why-play.is-done .pin__dot--temp { fill: var(--color-critical); }
.live__state p.live__why { font: 400 var(--text-md)/1.5 var(--font-body); letter-spacing: 0; color: var(--color-ink-2); }
/* spoken: a small mic before anything that came from the team's voice */
.said-icon { flex: none; width: 1em; height: 1em; margin-right: 0.35em; vertical-align: -0.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.said-icon rect { fill: currentColor; stroke: none; }
.bubble__q .said-icon { color: var(--color-plan-hatch); }
.why .said-icon { color: var(--color-accent); }
.statement { max-width: 32ch; font-size: clamp(1.75rem, 1.6vw + 1rem, 2.75rem); }
.said { display: inline-flex; align-items: center; }
.why .said-icon { width: 14px; height: 14px; }
.said-icon { display: inline-block; }
.entry__foot .erp-ready { gap: var(--space-2xs); font-weight: 500; color: var(--color-green); white-space: nowrap; border-top: var(--rule-hair) solid var(--color-ink); }
.erp-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.bar nav { margin-left: auto; }
@media (max-width: 40rem) { .bar nav { display: block; } .bar nav ul { gap: var(--space-md); } }
/* chart sits in the middle of its column and uses the full width */
.why__grid .play { display: flex; flex-direction: column; justify-content: center; padding: var(--space-2xl) var(--space-md) var(--space-lg); }
.why__grid .play__stage { width: 100%; }
@media (max-width: 60rem) { .why__grid .play { padding: var(--space-lg) var(--space-md); } }
/* fixed size: every insight state shares one cell, so the panel is as tall as the longest one and never grows */
.live { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-content: start; }
.live .insight__by { grid-row: 1; }
.live__state { display: grid !important; grid-row: 2; grid-column: 1; align-content: start; visibility: hidden; opacity: 0; transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); animation: none !important; }
.live__state.is-on { visibility: visible; opacity: 1; transition-delay: 0s; }
.live__foot { grid-row: 3; }

/* goods receipt: voice to record to business value */
.steps-bar { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps-bar li { counter-increment: st; display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); background: var(--color-sheet); box-shadow: 0 0 0 1px var(--color-rule-strong); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.steps-bar li::before { content: counter(st); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--color-paper-3); font-size: var(--text-xs); }
.steps-bar li.is-on { color: var(--color-accent-deep); background: var(--color-accent-soft); box-shadow: none; }
.steps-bar li.is-on::before { background: var(--color-accent); color: var(--color-accent-ink); }
.dock__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 430px; }
.dock__col { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); }
.dock__col + .dock__col { border-left: var(--rule-hair) solid var(--color-rule-strong); }
.dock__value { background: var(--color-accent-soft); }
.voice__rec { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.voice__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-critical); }
.voice__wave { display: inline-flex; align-items: center; gap: 3px; height: 20px; margin-left: auto; }
.voice__wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--color-accent); transform: scaleY(0.25); }
.dock-play.is-talking .voice__wave i { animation: wave 0.9s ease-in-out infinite; }
.voice__wave i:nth-child(3n) { animation-delay: -0.3s; } .voice__wave i:nth-child(3n+1) { animation-delay: -0.6s; } .voice__wave i:nth-child(4n) { animation-delay: -0.15s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
.voice__text { margin: 0; font: var(--display-weight) var(--text-lg)/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--color-ink); min-height: 9.8em; }
.voice__text .said-icon { color: var(--color-accent); }
.voice__pics { display: flex; gap: var(--space-xs); margin-top: auto; }
.voice__pic { display: grid; place-items: center; width: 88px; height: 88px; border-radius: var(--radius-pill); overflow: hidden; background: repeating-linear-gradient(135deg, var(--color-paper-3) 0 8px, var(--color-rule) 8px 9px); font-size: var(--text-xs); color: var(--color-muted); }
.voice__pic img { width: 100%; height: 100%; object-fit: cover; }
.rec { margin: 0; display: grid; gap: 0; }
.rec > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--space-sm); align-items: center; padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.rec dt { font-size: var(--text-sm); color: var(--color-muted); }
.rec dd { margin: 0; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.tick { color: var(--color-green); }
.rec__ai { margin: auto 0 0; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent-soft); font-weight: 500; line-height: 1.4; }
.value { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-sm); }
.value li { display: grid; gap: var(--space-3xs); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-pill); background: var(--color-sheet); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-accent) 18%, transparent); }
.value b { font-weight: 600; color: var(--color-ink); }
.value span { font-size: var(--text-sm); color: var(--color-ink-2); line-height: 1.4; }
/* armed state: everything is visible without script; the script hides, then reveals */
.dock-play.is-armed [data-f], .dock-play.is-armed .rec__ai, .dock-play.is-armed .voice__pics { opacity: 0; transform: translateY(6px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.dock-play.is-armed [data-f].is-on, .dock-play.is-armed.has-ai .rec__ai, .dock-play.is-armed.has-pics .voice__pics { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .dock-play .voice__wave i { animation: none !important; } }
@media (max-width: 60rem) {
  .dock__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dock__col + .dock__col { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule-strong); }
  .voice__text { min-height: 0; }
}
/* language switch */
.lang { display: inline-flex; padding: var(--space-3xs); border-radius: var(--radius-pill); box-shadow: 0 0 0 1px var(--color-rule-strong); }
.lang button { min-height: 32px; min-width: 40px; padding: 0 var(--space-xs); border: 0; border-radius: 4px; background: transparent; color: var(--color-muted); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--color-accent-soft); color: var(--color-accent-deep); }
.lang button:hover:not([aria-pressed="true"]) { color: var(--color-ink); }
.lang button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.signals li { grid-template-columns: minmax(92px, max-content) 80px minmax(0, 1fr); }
/* product name above each story */
.product-tag { display: inline-flex; align-items: center; gap: var(--space-xs); justify-self: start; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-accent-soft); font-weight: 600; color: var(--color-accent-deep); font-size: var(--text-md); }
.product-tag img { height: 16px; width: auto; display: block; }
/* production formats */
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.checks li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--space-sm); align-items: center; padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.checks__t { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-muted); }
.checks__w { display: grid; gap: var(--space-3xs); }
.checks__w b { font-weight: 600; }
.checks__w span { font-size: var(--text-sm); color: var(--color-ink-2); }
.checks__bad { background: var(--color-critical-soft); border-radius: var(--radius-pill); padding-inline: var(--space-xs) !important; }
.dev { display: grid; gap: var(--space-xs); }
.dev__head { margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; font-weight: 600; }
.dev__label { margin: var(--space-xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); }
.dev__said { margin: 0; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); line-height: 1.45; }
.dev__said .said-icon { color: var(--color-plan-hatch); }
.review { display: grid; gap: var(--space-xs); padding: var(--space-md); border-radius: var(--radius-pill); background: var(--color-sheet); }
.review__k { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.review__big { margin: 0; font: var(--display-weight) var(--text-xl)/1.2 var(--font-display); }
.review__big b { color: var(--color-accent-deep); }
.review__list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.review__sign { margin: 0; display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.review__sign .erp-ready { display: inline-flex; align-items: center; gap: var(--space-2xs); font-weight: 500; color: var(--color-green); font-size: var(--text-md); }
.certs { display: grid; gap: var(--space-xs); }
.certs ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.certs li { padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-sheet); box-shadow: 0 0 0 1px var(--color-rule-strong); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.certs__note { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); line-height: 1.45; }
.pf-play.is-armed [data-c], .pf-play.is-armed [data-d], .pf-play.is-armed [data-r] { opacity: 0; transform: translateY(6px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.pf-play.is-armed .is-on { opacity: 1; transform: none; }
/* production formats: each check opens its record */
.checks [data-open] { cursor: pointer; border-radius: var(--radius-pill); padding-inline: var(--space-xs); transition: background-color var(--dur-short) var(--ease-out); }
.checks [data-open]:hover { background: var(--color-paper-3); }
.checks [data-open]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.checks [data-open][aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--color-accent); background: var(--color-accent-soft); }
.checks .checks__bad[aria-pressed="true"] { background: var(--color-critical-soft); box-shadow: inset 3px 0 0 var(--color-critical); }
.pf-detail { display: grid; }
.pf-panel { grid-area: 1 / 1; display: grid; gap: var(--space-xs); align-content: start; }
.pf-panel[hidden] { display: grid !important; visibility: hidden; }
.dev__said--ok { margin-top: var(--space-xs); }
.pf-panel .rec > div { grid-template-columns: 104px minmax(0, 1fr); }
/* production formats, revision: no times, compact records, cold rooms table */
.checks li { grid-template-columns: minmax(0, 1fr) auto !important; }
.checks .sev { white-space: normal; text-align: left; line-height: 1.15; padding-block: var(--space-2xs); }
.pf-panel .rec > div { padding: 5px 0; }
.pf-panel .dev__said { padding: var(--space-xs) var(--space-sm); font-size: var(--text-sm); }
.pf-panel .dev { display: grid; gap: var(--space-xs); }
.pf-panel .dev + .dev { margin-top: var(--space-sm); }
.rooms { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.rooms th { text-align: left; font-weight: 500; color: var(--color-muted); padding: var(--space-3xs) var(--space-xs) var(--space-2xs) 0; border-bottom: var(--rule-hair) solid var(--color-ink); }
.rooms td { padding: var(--space-2xs) var(--space-xs) var(--space-2xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.rooms td.num { font-family: var(--font-outlier); }
.pf-op { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rooms caption { caption-side: top; text-align: left; font-size: var(--text-sm); color: var(--color-muted); padding-bottom: var(--space-2xs); }
.rooms-range { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
/* who it is for, under the hero line */
.sites { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.sites li { padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper-3); box-shadow: 0 0 0 1px var(--color-rule-strong); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.it--solo { grid-template-columns: minmax(0, 1fr); }
/* evidence photos at the dock */
.voice__pics { gap: var(--space-sm); }
.voice__pic { margin: 0; display: grid; gap: var(--space-2xs); width: 96px; height: auto; background: none; overflow: visible; }
.voice__pic img { width: 96px; height: 96px; border-radius: var(--radius-pill); object-fit: cover; }
.voice__pic figcaption { font-size: var(--text-xs); color: var(--color-muted); }
.voice__credit { margin: 0; font-size: 0.75rem; color: var(--color-muted); line-height: 1.4; }
.voice__credit a { color: inherit; }
.head__note { margin: 0; display: inline-flex; align-items: center; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.head__note .said-icon { color: var(--color-accent); fill: none; }
.head__note .said-icon rect { fill: none; stroke: currentColor; }
.band__why { display: grid; gap: var(--space-sm); margin-top: var(--space-xl); max-width: 62ch; }
.band__why p { margin: 0; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); }
/* founder statement: line on the left, the why on the right */
.band__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.band__grid .statement { max-width: none; }
.band__side { display: grid; gap: var(--space-lg); padding-top: var(--space-xs); }
.band__side .band__why { margin-top: 0; max-width: none; }
.band__side .attrib { margin-top: 0; }
@media (max-width: 60rem) { .band__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
/* founder statement: one wide column, big line then the why */
.band__grid { display: block; }
.band__grid .statement { max-width: 34ch; font-size: clamp(2rem, 2.6vw + 1rem, 3.5rem); }
.band__side { margin-top: var(--space-xl); gap: var(--space-md); padding-top: 0; }
.band__side .band__why { max-width: 96ch; }
@media (min-width: 60rem) { .band__grid .statement { max-width: none; } }
.bar__login { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.bar__login:hover { color: var(--color-accent-deep); }
.bar__login:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 40rem) {
  .bar nav { display: none; }
  .bar .container { gap: var(--space-sm); }
  .bar .logo { margin-right: auto; }
  .bar .btn--small { padding: 0 var(--space-sm); }
  .lang button { min-width: 32px; }
}
/* learn-more link under a product story */
.section__more { margin: var(--space-lg) 0 0; display: flex; justify-content: flex-end; }
/* plant inspections page */
.pi-hero h1 { font-size: var(--text-display-s); max-width: 20ch; }
.pi-video { margin: 0; }
.pi-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-card); background: var(--color-ink); box-shadow: 0 0 0 1px var(--color-rule-strong), var(--shadow-card); }
.pi-video figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.pi-steps { margin: 0; padding: 0; list-style: none; counter-reset: pi; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.pi-steps > li { counter-increment: pi; display: grid; gap: var(--space-xs); align-content: start; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink); }
.pi-steps > li::before { content: counter(pi); font: var(--display-weight) var(--text-2xl)/1 var(--font-display); color: var(--color-accent-deep); }
.pi-steps h3 { font-size: var(--text-xl); }
.pi-steps p { margin: 0; color: var(--color-ink-2); max-width: 52ch; line-height: 1.5; }
.pi-steps .systems { margin-top: var(--space-sm); }
.bar nav a[aria-current="page"] { color: var(--color-accent-deep); }
@media (max-width: 60rem) { .pi-steps { grid-template-columns: minmax(0, 1fr); } }
.pi-steps .systems li { border: 0; padding: 0; }
.pi-steps .systems li::before { content: none; }
/* the logo never gets squeezed by the menu */
.bar .logo { flex: none; }
.bar .logo img { flex: none; width: auto; max-width: none; height: 28px; aspect-ratio: 2000 / 497; }
@media (max-width: 75rem) { .bar nav ul { gap: var(--space-md); } .bar .container { gap: var(--space-md); } }
@media (max-width: 64rem) { .bar nav li:not(.keep) { display: none; } }
/* log in looks like the demo button; on small phones both get compact */
.btn.bar__login { color: var(--color-ink); }
.btn.bar__login:hover { color: var(--color-ink); background: var(--color-paper-3); }
@media (max-width: 40rem) {
  .bar .btn--small { min-height: 40px; padding: 0 var(--space-xs); font-size: var(--text-sm); }
  .bar .container { gap: var(--space-xs); }
}
@media (max-width: 26rem) { .bar .lang { display: none; } }
.docs-link { margin-top: var(--space-lg); display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-accent-soft); color: var(--color-ink); text-decoration: none; transition: box-shadow var(--dur-short) var(--ease-out); }
.docs-link:hover { box-shadow: 0 0 0 1px var(--color-accent); }
.docs-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.docs-link > span:first-child { display: grid; gap: var(--space-3xs); }
.docs-link b { font: var(--display-weight) var(--text-lg)/1.2 var(--font-display); }
.docs-link > span:first-child > span { font-size: var(--text-sm); color: var(--color-ink-2); }
.docs-link > span:last-child { font-size: var(--text-xl); color: var(--color-accent-deep); }
/* product pages: hero photo and what-you-get list */
.pp-photo { margin: 0; }
.pp-photo img { display: block; width: 100%; height: clamp(320px, 42vw, 560px); object-fit: cover; border-radius: var(--radius-card); box-shadow: 0 0 0 1px var(--color-rule-strong), var(--shadow-card); }
.pp-photo figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.pp-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.pp-list li { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-3); }
.pp-list b { font: var(--display-weight) var(--text-lg)/1.2 var(--font-display); }
.pp-list span { color: var(--color-ink-2); line-height: 1.5; }
.pp-note { margin-top: var(--space-lg); }
@media (max-width: 60rem) { .pp-list { grid-template-columns: minmax(0, 1fr); } }
/* fixed size for the hero record card: every tab shares one cell, so switching never moves the page */
.entry--tabs { display: grid; grid-template-columns: minmax(0, 1fr); }
.entry--tabs > .tabs { grid-row: 1; }
.entry--tabs > .panel-rec { grid-row: 2; grid-column: 1; display: flex; flex-direction: column; }
.entry--tabs > .panel-rec[hidden] { display: flex !important; visibility: hidden; }
.entry--tabs > .panel-rec > .entry__foot { margin-top: auto; }
/* phones and tablets: the chart comment sits under the chart in a fixed slot */
@media (max-width: 60rem) {
  .play__stage { display: grid; grid-template-columns: minmax(0, 1fr); }
  .play__stage > .chart { grid-row: 1; grid-column: 1; }
  .play__stage > .bubble { grid-row: 2; grid-column: 1; }
  .js .bubble:not(.is-now) { display: grid; visibility: hidden; }
  .voice__text { min-height: 0; }
}
/* spacing pass: tighter gaps between the stories, one soft line between them */
.section .head { margin-bottom: var(--space-xl); }
#history, #formats, #dock { padding-block: var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.section__more { margin-top: var(--space-md); }
#it { padding-block: var(--space-2xl); }
#it .rows { border-top: 0; }
#it .rows > div { padding-block: var(--space-lg); }
#it .rows > div:last-child { border-bottom: 0; }
.band { border-top: var(--rule-hair) solid var(--color-rule); border-bottom: 0; padding-block: var(--space-3xl); }
@media (max-width: 60rem) {
  #history, #formats, #dock, #it { padding-block: var(--space-xl); }
  .section .head { margin-bottom: var(--space-lg); }
  .band { padding-block: var(--space-2xl); }
}
/* product pages: same tighter rhythm as the home stories */
.section--tight { padding-block: var(--space-2xl); }
.pi-hero { padding-top: var(--space-2xl); }
.pi-hero + .section--tight, .section--tight + .section--tight { border-top: var(--rule-hair) solid var(--color-rule); }
@media (max-width: 60rem) { .section--tight { padding-block: var(--space-xl); } }

/* production formats: checks as tabs (Nov 2026) */
.pf-tabs { grid-template-columns: repeat(4, minmax(max-content, 1fr)); }
.pf-tabs .tab { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs); }
.tab__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tab__dot--ok { background: var(--color-green); }
.tab__dot--bad { background: var(--color-critical); }
@media (min-width: 60.01rem) { .pf-play .dock__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
@media (max-width: 40rem) {
  .pf-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-tabs .tab:nth-child(3) { border-left: 0; }
  .pf-tabs .tab:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule-strong); }
}

/* demo videos: caption + English / Español picker */
.vid-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-md); }
.vid-lang { display: inline-flex; flex: none; padding: var(--space-3xs); border-radius: var(--radius-pill); box-shadow: 0 0 0 1px var(--color-rule-strong); }
.vid-lang button { min-height: 32px; padding: 0 var(--space-sm); border: 0; border-radius: 4px; background: transparent; color: var(--color-muted); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; }
.vid-lang button[aria-pressed="true"] { background: var(--color-accent-soft); color: var(--color-accent-deep); }
.vid-lang button:hover:not([aria-pressed="true"]) { color: var(--color-ink); }
.vid-lang button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }

/* mobile menu (deployed site) */
.menu { display: none; position: static; }
.menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; cursor: pointer; color: var(--color-ink); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.menu svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu .menu__close, .menu[open] .menu__open { display: none; }
.menu[open] .menu__close { display: inline; }
.menu[open] > summary { background: var(--color-paper-3); }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule-strong); box-shadow: 0 12px 24px rgb(31 26 46 / 0.08); padding: var(--space-xs) var(--space-md) var(--space-md); }
.bar .menu__panel nav { display: block !important; margin: 0; }
.bar .menu__panel li { display: block !important; }
.menu__panel ul { display: block !important; margin: 0; padding: 0; list-style: none; }
.menu__panel li a { display: flex; align-items: center; min-height: 48px; font-weight: 500; font-size: var(--text-md); color: var(--color-ink); text-decoration: none; border-bottom: var(--rule-hair) solid var(--color-rule); }
.menu__panel li a[aria-current="page"] { color: var(--color-accent-deep); }
.menu__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 56px; border-bottom: var(--rule-hair) solid var(--color-rule); }
.menu__label { color: var(--color-muted); font-size: var(--text-sm); }
.menu__panel .lang { display: inline-flex !important; }
.menu__panel .lang a { min-height: 40px; min-width: 52px; }
.menu__login { margin-top: var(--space-md); width: 100%; justify-content: center; min-height: 44px; box-shadow: 0 0 0 1px var(--color-rule-strong); }
.bar { position: sticky; }
.bar .container { position: relative; }
@media (max-width: 64rem) {
  .menu { display: block; }
  .bar nav[aria-label="Main"] { display: none; }
}
@media (min-width: 40.01rem) { .menu__row, .menu__login { display: none !important; } }
@media (max-width: 40rem) {
  .bar .container > .lang, .bar .container > .bar__login { display: none; }
  .bar .container > .menu .menu__panel { display: block; }
}

/* language links (deployed site) */
.lang a { display: inline-grid; place-items: center; min-height: 32px; min-width: 40px; padding: 0 var(--space-xs); border-radius: 4px; color: var(--color-muted); font: 500 var(--text-sm)/1 var(--font-body); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--color-accent-soft); color: var(--color-accent-deep); }
.lang a:hover:not([aria-current="true"]) { color: var(--color-ink); }
.lang a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.legal h1 { font-size: var(--text-display-s); color: var(--color-ink); }
.legal h2 { font-size: var(--text-xl); margin-top: var(--space-xl); scroll-margin-top: 96px; }
.legal p, .legal li { font-size: 1.0625rem; line-height: 1.7; }
.legal__meta { color: var(--color-muted); font-size: var(--text-sm) !important; }
.legal__toc { margin: var(--space-lg) 0; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-3); }
.legal__toc p { margin: 0 0 var(--space-xs); font-weight: 600; color: var(--color-ink); }
.legal__toc ol { margin: 0; padding-left: 1.25em; display: block; columns: 2; column-gap: var(--space-xl); }
.legal__toc li { font-size: var(--text-sm); line-height: 1.5; }
.legal__table { overflow-x: auto; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.legal__table th { text-align: left; font-weight: 500; color: var(--color-muted); padding: var(--space-xs) var(--space-sm) var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-ink); }
.legal__table td { padding: var(--space-sm) var(--space-sm) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; line-height: 1.5; }
.mast__links a { font-size: var(--text-md); }
@media (max-width: 40rem) { .legal__toc ol { columns: 1; } }
