@property --h0 { syntax: '<color>'; inherits: true; initial-value: #fff; }
@property --h1 { syntax: '<color>'; inherits: true; initial-value: #f1f0ec; }
@property --h2 { syntax: '<color>'; inherits: true; initial-value: #e6e4de; }
@property --he { syntax: '<color>'; inherits: true; initial-value: #8f8c85; }
@property --hs { syntax: '<color>'; inherits: true; initial-value: #b9b6ae; }
@property --be { syntax: '<color>'; inherits: true; initial-value: #8f8c85; }
@property --lift { syntax: '<length>'; inherits: true; initial-value: 0px; }
/* Kintric Context, the 1:1 page system (23 Nov 2026): every size, colour and timing here was measured from the reference
   layout (see _reference/home-1to1.md); words, pictures and type are ours (Geist at the measured sizes, weight 450). */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ink: #0D0D0C; --ink-2: #45423E; --muted: #6B6863; --faint: #8C8981; --pill: #1C1A18;
  --sand: #F6F5F1; --tile: #F1F0EC; --back: #EDEBE5; --line: #E3E0D9; --pitch: #0B0B0A; --bar: #0C0C0C;
  --out: cubic-bezier(.22, 1, .36, 1); --std: cubic-bezier(.4, 0, .2, 1);
  --pad-x: 40px; --sec: 144px; --sec-m: 128px; --sec-s: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; background: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-weight: 450; font-size: 16px; line-height: 1.4; letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
main, footer { overflow-x: clip; }
:focus-visible { outline: 2px solid #3d63d6; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 9px; }
.skip:focus { top: 12px; }
[data-unconfirmed] { display: none !important; }

.c { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad-x); }

/* Photographs (kit.pic): a <picture> filling its slot, the image cropped by object-fit like the reference's */
.ph { position: absolute; inset: 0; display: block; overflow: hidden; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a slot still waiting for its photograph: a neutral blurred field (data-draft keeps it out of production) */
.ph-draft { background: radial-gradient(120% 90% at 18% 12%, #E7E5EE 0%, rgba(231, 229, 238, 0) 62%), radial-gradient(110% 85% at 88% 92%, #DCE3DF 0%, rgba(220, 227, 223, 0) 60%), #E9E7E2; }

/* Type (measured) */
.t-h1 { font-size: 52px; line-height: 1.1; letter-spacing: -0.032em; font-weight: 450; text-wrap: balance; }
.t-h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.032em; font-weight: 450; text-wrap: balance; }
.t-h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.022em; font-weight: 450; }
.t-bt { font-size: 24px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 450; }
.t-lede { font-size: 16px; line-height: 1.4; letter-spacing: -0.006em; color: var(--muted); text-wrap: pretty; }
.t-eye { font-size: 14px; line-height: 1.2; color: var(--muted); }
.t-sm { font-size: 14px; line-height: 1.4; color: var(--muted); letter-spacing: 0; }
.center { text-align: center; }
.center .t-lede, .center .t-h2, .center .t-h1 { margin-left: auto; margin-right: auto; }

/* Pills */
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 17.6px; border: 0; border-radius: 9px; font-size: 14px; line-height: 21px; font-weight: 450; letter-spacing: 0; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.pill-ink { background: var(--pill); color: #fff; }
.pill-ink:hover { background: #33302c; }
.pill-soft { background: rgba(28, 26, 24, .07); color: var(--pill); }
.pill-soft:hover { background: rgba(28, 26, 24, .12); }
.pill-white { background: #fff; color: var(--pill); }
.pill-white:hover { background: #f1f0ec; }
.pill-glass { background: rgba(255, 255, 255, .14); color: #fff; }
.pill-glass:hover { background: rgba(255, 255, 255, .22); }
.pill-sm { height: 36px; padding: 0 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.center .btns { justify-content: center; }
.act { display: inline-flex; align-items: center; gap: 6px; padding: 5.6px 0; font-size: 14px; line-height: 16.8px; color: var(--ink-2); border-bottom: 1px solid var(--line); transition: border-color .2s ease; }
.act:hover { border-color: var(--ink-2); }

/* Promo strip */
.strip { height: 40px; background: var(--bar); color: rgba(255, 255, 255, .78); font-size: 13px; }
.strip .c { height: 40px; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; overflow: hidden; }
.strip-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12px; }
.strip a { color: #fff; }
.strip-s { display: none; }
@media (max-width: 600px) { .strip-l { display: none; } .strip-s { display: inline; } }
.strip a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Bar */
.bar { position: sticky; top: 0; z-index: 40; height: 68px; background: rgba(12, 12, 12, .98); color: #fff; transition: background-color .3s ease, box-shadow .3s ease; }
.bar .c { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 105px; height: 26px; }
.brand-sub { font-size: 15px; letter-spacing: -0.015em; }
.menu { display: flex; align-items: center; margin-left: auto; margin-right: auto; }
.menu > a, .dd > button { display: inline-flex; align-items: center; gap: 6px; height: 41px; padding: 12px 14px; border: 0; border-radius: 9px; background: none; font-size: 14px; line-height: 16.8px; color: rgba(255, 255, 255, .75); cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.menu > a:hover, .dd > button:hover, .dd.open > button { color: #fff; }
.menu > a[aria-current="page"] { color: #fff; }
/* six entries since Pricing joined: one line each, a little tighter just above the burger */
.menu > a, .dd > button { white-space: nowrap; }
@media (max-width: 1240px) { .menu > a, .dd > button { padding-left: 9px; padding-right: 9px; } }
.dd > button svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--std); }
.dd.open > button svg { transform: rotate(180deg); }
/* The menus, as on the reference (measured 24 Nov 2026): one white panel under the bar holds all four. It slides to sit
   centred under the item pointed at and takes its menu's size (.35s, out-expo), the menus crossfade inside it (.2s), and
   it fades out .15s after the pointer leaves. Rows light sand; the picture on the right follows the row (site.js). */
.mm { --mm-e: cubic-bezier(.22, 1, .36, 1); position: absolute; left: 0; top: 100%; z-index: 50; padding-top: 19.5px; transform: translateX(var(--mx, 0px)); transition: transform .35s var(--mm-e); pointer-events: none; }
.menu.mm-on .mm { pointer-events: auto; }
.mm-s { position: relative; overflow: hidden; width: var(--mw, 0px); height: var(--mh, 0px); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(28, 26, 24, .06), 0 30px 60px -20px rgba(28, 26, 24, .25), 0 8px 20px rgba(28, 26, 24, .06); opacity: 0; transition: width .35s var(--mm-e), height .35s var(--mm-e), opacity .2s ease; }
.menu.mm-on .mm-s { opacity: 1; }
.mm-l { position: absolute; left: 0; top: 0; display: flex; gap: 16px; width: max-content; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.mm-l.on { opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s; }
.mm-c { display: flex; flex-direction: column; width: 290px; }
.mm-k { padding: 4px 10px 8px; font-size: 14px; color: var(--muted); }
.mm-more { margin: 10px 0 0; padding-top: 16px; border-top: 1px solid #ece9e3; }
.mm-r { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; transition: background-color .15s ease; }
.mm-r.on, .mm-r:focus-visible { background: #f6f5f1; }
.mm-r i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px #e3e0d9; transition: box-shadow .15s ease; }
.mm-r.on i { box-shadow: 0 0 0 1px #d6d2c9; }
/* the row icons: small isometric drawings (menu-icons.mjs) coloured from these variables; the row that lights up lights its
   drawing's key part blue and lifts it, as a part lights on the industry pages */
.mi { display: block; width: 36px; height: 36px; overflow: visible;
  --b0: #fff; --b1: #f1f0ec; --b2: #e6e4de; --be: #8f8c85; --bs: #b9b6ae;
  --h0: #fff; --h1: #f1f0ec; --h2: #e6e4de; --he: #8f8c85; --hs: #b9b6ae; --lift: 0px;
  transition: --h0 .3s ease, --h1 .3s ease, --h2 .3s ease, --he .3s ease, --hs .3s ease, --be .3s ease, --lift .45s var(--mm-e, ease); }
.mm-r.on .mi { --h0: #f7f9ff; --h1: #e9eefc; --h2: #dde5fa; --he: #3e63dd; --hs: #8aa2ea; --be: #6b6863; --lift: -1.5px; }
.mi-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mi { transition: none; } }
.mm-r b { display: block; font-weight: 450; font-size: 14px; line-height: 19.6px; color: var(--ink); }
.mm-r small { display: block; font-size: 12px; line-height: 16.5px; color: var(--muted); }
.mm-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px; }
.mm-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 9px; background: #f1efea; font-size: 14px; color: var(--ink); transition: background-color .15s ease; }
.mm-chip:hover, .mm-chip:focus-visible { background: #e7e4dd; }
.mm-act { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: auto 10px 0; padding-top: 14px; font-size: 14px; color: #4b44d6; }
.mm-act svg, .mm-go svg, .mm-hire-a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--mm-e, ease); }
.mm-act:hover svg, .mm-pv:hover .mm-go svg, .mm-card:hover .mm-go svg, .mm-hire:hover .mm-hire-a svg { transform: translateX(3px); }
.mm-v { display: flex; flex-direction: column; gap: 12px; width: 520px; }
.mm-pv { position: relative; display: block; flex: 1 0 262px; overflow: hidden; border-radius: 12px; background: #eceae4; isolation: isolate; }
.mm-pv-tall { flex-basis: 320px; }
.mm-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease, transform .6s var(--mm-e, ease); }
.mm-img.on { opacity: 1; }
.mm-pv:hover .mm-img.on { transform: scale(1.02); }
.mm-pv:not(.mm-pv-tall)::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(12, 12, 12, .62), rgba(12, 12, 12, 0) 58%); pointer-events: none; }
.mm-pv-i { position: absolute; left: 16px; right: 56px; bottom: 15px; z-index: 2; display: none; color: #fff; }
.mm-pv-i.on { display: block; animation: mm-in .3s ease both; }
@keyframes mm-in { from { opacity: 0; transform: translateY(4px); } }
.mm-pv-n { font-size: 21px; line-height: 1.2; font-weight: 450; letter-spacing: -0.02em; }
.mm-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.mm-tags li { padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; line-height: 16px; color: #fff; }
.mm-go { position: absolute; right: 16px; bottom: 15px; z-index: 2; display: grid; color: #fff; }
.mm-go svg { width: 18px; height: 18px; }
.mm-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px #ece9e3; transition: background-color .15s ease; }
.mm-card:hover, .mm-card:focus-visible { background: #f6f5f1; }
.mm-th { flex: none; width: 64px; height: 44px; border-radius: 8px; object-fit: cover; background: #eceae4; }
.mm-card b { display: block; font-weight: 450; font-size: 14px; line-height: 19.6px; color: var(--ink); }
.mm-card small { display: block; font-size: 12px; line-height: 16.5px; color: var(--muted); }
.mm-card .mm-go { position: static; margin-left: auto; color: var(--muted); }
.mm-two { flex-direction: row; gap: 12px; }
.mm-art { width: 254px; padding: 6px; border-radius: 12px; transition: background-color .15s ease; }
.mm-art:hover, .mm-art:focus-visible { background: #f6f5f1; }
.mm-art .mm-img { position: static; display: block; height: 150px; border-radius: 8px; background: #eceae4; }
.mm-art-k { margin: 10px 4px 0; font-size: 13px; color: var(--muted); }
.mm-art-t { margin: 2px 4px 4px; font-size: 14px; line-height: 1.35; color: var(--ink); }
.mm-one { width: 400px; }
.mm-hire { position: relative; display: block; height: 250px; overflow: hidden; border-radius: 12px; background: #eceae4; isolation: isolate; }
.mm-hire::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(12, 12, 12, .62), rgba(12, 12, 12, .1) 70%); }
.mm-hire-t { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: #fff; }
.mm-hire-n { font-size: 20px; line-height: 1.2; font-weight: 450; letter-spacing: -0.02em; }
.mm-hire-d { max-width: 30ch; margin-top: 6px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.mm-hire-a { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 500; }
.bar-end { display: flex; align-items: center; gap: 8px; }
.bar-end > a:not(.pill) { font-size: 12px; color: rgba(255, 255, 255, .8); padding: 4px 8px; }
.burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 9px; background: none; cursor: pointer; }
.burger i { display: block; width: 18px; height: 1.6px; margin: 4px auto; background: #fff; transition: transform .35s var(--out); }
.mopen .burger i:first-child { transform: translateY(2.8px) rotate(45deg); }
.mopen .burger i:last-child { transform: translateY(-2.8px) rotate(-45deg); }
.msheet { display: none; }
/* keeps a tender number, a code or a short phrase on one line */
.nw { white-space: nowrap; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero-lines { position: absolute; left: 50%; top: 70px; width: 1288px; height: 340px; transform: translateX(-50%); opacity: .1; pointer-events: none; }
.hero-lines svg { width: 100%; height: 100%; }
.hero-head { position: relative; padding-top: 96px; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 4px 12px 4px 4px; border-radius: 8px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(13, 13, 12, .07); font-size: 13px; line-height: 19.5px; color: var(--ink-2); }
.badge img { width: 20px; height: 20px; border-radius: 5px; }
.hero h1 { margin-top: 28px; max-width: 515px; }
.hero .t-lede { margin-top: 20px; max-width: 555px; color: var(--ink-2); }
.hero .btns { margin-top: 32px; }
.frame { position: relative; margin: 64px 32px 0; height: 670px; border-radius: 26px; overflow: hidden; background: var(--back); }
.frame > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.window { position: absolute; left: 68px; right: 68px; top: 40px; bottom: 0; border-radius: 14px 14px 0 0; overflow: hidden; background: #0F0F11; box-shadow: 0 -1px 0 rgba(255, 255, 255, .06), 0 40px 90px -30px rgba(0, 0, 0, .5); }
.window img, .window video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.window video { object-fit: contain; background: #0F0F11; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 22px 0 8px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--pill); font-size: 15px; letter-spacing: -0.01em; cursor: pointer; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .15s ease, transform .35s var(--out); }
.play:hover { background: #fff; transform: translate(-50%, -50%) scale(1.03); }
.play i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pill); }
.play i::after { content: ""; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.window.playing .play, .window.playing > img { opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; padding-bottom: 0; }
.steps li { position: relative; padding-top: 16px; cursor: pointer; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.steps li.on::after { transform: scaleX(var(--p, 0)); }
.steps .st { display: flex; align-items: baseline; gap: 8px; margin-top: 0; }
.steps .st span { font-size: 12px; line-height: 18px; color: var(--faint); font-variant-numeric: tabular-nums; }
.steps .st b { font-weight: 450; font-size: 18px; line-height: 22.5px; letter-spacing: -0.01em; color: var(--muted); transition: color .3s ease; }
.steps p { margin-top: 8px; font-size: 14px; line-height: 19.25px; color: var(--faint); max-width: 364px; transition: color .3s ease; }
.steps li.on .st b { color: var(--ink); }
.steps li.on p { color: var(--muted); }

/* Section shells */
.sec { padding: var(--sec) 0; }
.sec-head { max-width: 920px; margin: 0 auto; }
.sec-head .t-h2 { margin-top: 22px; }
.sec-head .t-lede { margin-top: 20px; max-width: 575px; }

/* The problem: five source cards */
.srcs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 64px; }
.card { border-radius: 14px; background: var(--sand); padding: 8px; }
.src { display: flex; flex-direction: column; min-height: 322px; }
.src-v { height: 176px; border-radius: 10px; background: #fff; overflow: hidden; display: grid; place-items: center; padding: 12px; }
.src-t { padding: 16px 12px 12px; }
.src-t .row { display: flex; align-items: center; gap: 10px; }
.src-t .ic { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(61, 99, 214, .1); }
.src-t .ic svg { width: 15px; height: 15px; fill: none; stroke: #3d63d6; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.src-t p { margin-top: 9px; font-size: 14px; line-height: 19.6px; color: var(--muted); }

/* Two stacked blocks: text with collapsible rows, a picture with a product card */
.blocks { display: grid; gap: 16px; margin-top: 55px; }
.blk { display: grid; grid-template-columns: 467.7fr 748.3fr; gap: 8px; min-height: 496px; }
.blk-t { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 20px; }
.blk-t .t-bt + .t-bt { color: var(--faint); }
.blk-t .t-lede { margin-top: 20px; }
.blk-v { position: relative; border-radius: 10px; overflow: hidden; background: var(--back); min-height: 480px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.blk-v > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blk-v > .ui { position: relative; width: min(460px, 86%); }
.rows { border-bottom: 1px solid var(--line); }
.rows .rw { border-top: 1px solid var(--line); }
.rows button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; height: 45px; padding: 12px 0; border: 0; background: none; font-size: 14px; line-height: 21px; letter-spacing: -0.01em; color: var(--ink-2); cursor: pointer; text-align: left; }
.rows button svg, .faq button svg { flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .3s var(--std); }
.rows .rw.open button svg, .faq .rw.open button svg { transform: rotate(45deg); }
.fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--out); }
.fold > div { overflow: hidden; }
.rw.open .fold { grid-template-rows: 1fr; }
.rows .fold p { padding: 0 32px 12px 0; font-size: 13.5px; line-height: 21.9px; color: var(--muted); letter-spacing: 0; }

/* Dark industries */
.dark { background: var(--pitch); color: #fff; padding: var(--sec-m) 0; }
.dark .t-lede { color: rgba(255, 255, 255, .6); }
.inds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 57px; }
.ind { position: relative; display: block; color: #fff; height: 507px; border-radius: 12px; overflow: hidden; background: var(--back); grid-column: span 2; isolation: isolate; }
.ind:nth-child(-n + 2) { grid-column: span 3; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.ind:hover img { transform: scale(1.05); }
.ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .18) 38%, rgba(0, 0, 0, 0) 60%); z-index: 0; }
.ind-t { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ind-t b { display: block; font-weight: 450; font-size: 32px; line-height: 35.2px; letter-spacing: -0.02em; }
.ind-t small { display: block; margin-top: 7px; font-size: 14px; line-height: 19.6px; color: rgba(255, 255, 255, .78); max-width: 320px; }
.ind-t svg { flex: none; width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.6; transition: transform .3s var(--std); }
.ind:hover .ind-t svg { transform: translateX(3px); }

/* Pilot: split head, three tiles, four steps */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.split .t-h2 { margin-top: 22px; }
.split .t-lede { max-width: 476px; justify-self: end; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 48px; }
.tl { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 240px; padding: 24px; border-radius: 12px; background: var(--tile); }
.tl b { font-weight: 450; font-size: 63.36px; line-height: 1; letter-spacing: -0.05em; }
.tl p { font-size: 14px; line-height: 19.6px; color: var(--muted); max-width: 243px; }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; margin-top: 64px; }
.four li { position: relative; padding-top: 20px; }
.four li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.four li::after { content: ""; position: absolute; left: 0; top: 0; width: 34%; height: 1px; background: var(--ink); }
.four span { font-size: 12px; line-height: 18px; color: var(--faint); }
.four .t-h3 { margin-top: 6px; }
.four p { margin-top: 8px; font-size: 14px; line-height: 19.6px; color: var(--muted); }

/* Picture band with a two-part sentence */
.band { padding: var(--sec-s) 0; }
.band-card { position: relative; height: 480px; border-radius: 16px; overflow: hidden; background: var(--back); }
.band-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-t { position: absolute; left: 48px; right: 48px; top: 222px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.band-t p { position: relative; padding-top: 24px; font-size: 38.4px; line-height: 42.24px; letter-spacing: -0.035em; color: var(--pill); }
.band-t p:first-child { color: rgba(13, 13, 12, .7); }
.band-t p::before { content: ""; position: absolute; left: 0; right: -64px; top: 0; height: 1px; background: rgba(13, 13, 12, .3); }
.band-t p:last-child::before { right: 0; }
.band-t p::after { content: ""; position: absolute; left: 0; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--pill); }

/* Who it is for: picture with a product card, text with rows */
.for { padding: 64px 0; }
.for .t-eye { margin-bottom: 32px; }
.for-card { display: grid; grid-template-columns: 467.7fr 748.3fr; gap: 8px; min-height: 507px; }
.for-v { position: relative; border-radius: 10px; overflow: hidden; background: var(--back); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.for-v > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.for-v > .ui { position: relative; width: min(388px, 84%); }
.for-t { display: flex; flex-direction: column; gap: 40px; padding: 20px; }
.for-t .t-lede { margin-top: 16px; max-width: 396px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad-x); }
.faq .t-h2 { max-width: 12ch; }
.faq .rw { border-bottom: 1px solid var(--line); }
.faq .rw:first-child { border-top: 1px solid var(--line); }
.faq button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 16px 0; border: 0; background: none; font-size: 16px; line-height: 22.4px; letter-spacing: -0.006em; color: var(--ink); text-align: left; cursor: pointer; }
.faq .fold { transition-duration: .5s; }
.faq .fold p { padding: 0 40px 20px 0; font-size: 16px; line-height: 22.4px; color: var(--muted); }

/* CTA card */
.cta { padding: 0 0 112px; }
.cta-card { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; height: 460px; padding: 48px; border-radius: 20px; overflow: hidden; background: var(--back); }
.cta-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-card > * { position: relative; }
.cta-card > .ph { position: absolute; }
.cta-card .t-eye { color: rgba(13, 13, 12, .6); }
.cta-card .t-h2 { margin-top: 22px; max-width: 420px; color: var(--pill); }
.cta-card .t-lede { margin-top: 20px; max-width: 436px; color: rgba(13, 13, 12, .7); }
/* the closing card of the product pages (platform, security, enterprise, company pages): no eyebrow, one pill, card 440 */
.ctap { padding: 16px 0 112px; }
.ctap .cta-card { height: 440px; }
/* film grain over photographs (the reference's overlay noise at .2) */
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .2; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E"); }

/* Footer */
.foot { background: var(--bar); color: #fff; padding-top: 96px; overflow: hidden; }
.foot-g { display: grid; grid-template-columns: 394.66fr 789.34fr; gap: 56px; }
.foot-l { display: flex; flex-direction: column; gap: 32px; }
.foot-tag { font-size: 22px; line-height: 26.4px; letter-spacing: -0.022em; color: rgba(255, 255, 255, .85); max-width: 260px; }
.foot-pr b { display: block; font-weight: 450; font-size: 16px; line-height: 22.4px; }
.foot-pr p { margin-top: 8px; font-size: 14px; line-height: 19.6px; color: rgba(255, 255, 255, .55); max-width: 384px; }
.foot-pr .btns { margin-top: 20px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: 5px; }
.foot-cols h3 { font-weight: 450; font-size: 14px; line-height: 16.8px; color: rgba(255, 255, 255, .4); margin-bottom: 26px; }
.foot-cols li + li { margin-top: 12px; }
.foot-cols a { font-size: 14px; line-height: 19.6px; color: rgba(255, 255, 255, .6); transition: color .15s ease; }
.foot-cols a:hover { color: #fff; }
.foot-name { display: block; width: 100%; height: auto; margin: 72px 0 24px; color: rgba(255, 255, 255, .055); }
.foot-b { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0 40px; font-size: 14px; line-height: 19.6px; color: rgba(255, 255, 255, .45); }
.foot-b nav { display: flex; gap: 20px; }
.foot-b a:hover { color: #fff; }

/* Arrival (measured: opacity and rise, .9s) */
.js [data-rise] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--out), transform .9s var(--out); transition-delay: var(--d, 0s); }
.js [data-rise].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .fold, .mm, .mm-s, .mm-l, .mm-img, .ind img, .steps li::after, .play { transition: none; }
}

/* 390 (measured) */
@media (max-width: 1080px) {
  .menu, .bar-end > a:not(.pill) { display: none; }
  .burger { display: block; }
  .bar-end { margin-left: auto; }
  .msheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; overflow: auto; background: var(--bar); color: #fff; padding: 8px 16px 40px; }
  .mopen .msheet { display: block; }
  .mopen body { overflow: hidden; }
  .msheet p { margin: 26px 0 4px; font-size: 13px; color: rgba(255, 255, 255, .45); }
  /* the rows of the bar's menus, each with its drawing at night: dark faces, light edges; the page you are on lit blue */
  .ms-r { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .ms-r i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
  .ms-r b { display: block; font-weight: 450; font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; color: #fff; }
  .ms-r small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .5); }
  .msheet .mi { --b0: #2c2f38; --b1: #24272f; --b2: #1c1e25; --be: #a6abb8; --bs: #5d6270; --h0: #2c2f38; --h1: #24272f; --h2: #1c1e25; --he: #a6abb8; --hs: #5d6270; }
  .ms-r[aria-current="page"] .mi, .ms-r:active .mi { --h0: #283561; --h1: #212c52; --h2: #1b2546; --he: #9db1ff; --hs: #6278cc; --lift: -1.5px; }
  .ms-r[aria-current="page"] i { box-shadow: inset 0 0 0 1px rgba(157, 177, 255, .35); }
  .ms-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .ms-chips a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 15px; color: #fff; }
  .ms-act { display: inline-flex; align-items: center; gap: 6px; padding: 14px 0 2px; font-size: 16px; color: #b9b3ff; }
  .ms-act svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .ms-end { display: flex; gap: 22px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .ms-end a { font-size: 16px; color: rgba(255, 255, 255, .72); }
  .msheet .pill { display: inline-flex; margin-top: 22px; border: 0; font-size: 15px; }
}
@media (max-width: 900px) {
  :root { --pad-x: 16px; --sec: 96px; --sec-m: 96px; --sec-s: 64px; }
  .t-h1, .t-h2 { font-size: 32px; line-height: 1.1; }
  .t-h3 { font-size: 18px; }
  .hero-head { padding-top: 96px; }
  .hero h1 { margin-top: 16px; }
  .frame { margin: 48px 8px 0; height: 192px; border-radius: 20px; }
  .window { left: 16px; right: 16px; top: 14px; }
  .play { height: 40px; font-size: 13px; padding: 0 14px 0 6px; gap: 8px; }
  .play i { width: 28px; height: 28px; }
  .steps { gap: 8px; margin-top: 20px; }
  .steps p { display: none; }
  .steps .st span { display: none; }
  .steps .st b { font-size: 14px; line-height: 18px; }
  .srcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srcs li:last-child { grid-column: span 2; }
  .src { min-height: 288px; }
  .src-v { height: 132px; }
  .blk, .for-card { grid-template-columns: minmax(0, 1fr); }
  .blk-t { gap: 40px; padding: 16px; }
  .blk-v { min-height: 438px; }
  .for-card .for-v { order: 2; min-height: 459px; }
  .for-t { padding: 16px; }
  .inds { grid-template-columns: minmax(0, 1fr); }
  .ind, .ind:nth-child(-n + 2) { grid-column: auto; height: 286px; }
  .ind-t { left: 24px; right: 24px; bottom: 24px; }
  .ind-t b { font-size: 24px; line-height: 26.4px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .split .t-lede { justify-self: start; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tl { min-height: 161px; }
  .tl b { font-size: 41.6px; }
  .four { grid-template-columns: minmax(0, 1fr); }
  .band-card { height: 440px; }
  .band-t { left: 24px; right: 24px; top: auto; bottom: 48px; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .band-t p { font-size: 24px; line-height: 26.4px; }
  .band-t p::before { right: 0; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .cta-card { height: 420px; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 28px; }
  .cta-card .t-h2 { font-size: 32px; }
  .ctap { padding: 16px 0 80px; }
  .ctap .cta-card { height: 400px; }
  .foot-g { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-b { flex-direction: column; align-items: flex-start; }
}

/* Home: product cards inside the pictures, at app density, scaled as one unit by site.js (data-w = natural width) */
.ui { transform-origin: 50% 50%; }
.ui > .mk { width: 100%; }
.src-v .mn { box-shadow: none; }
.src-v.ev-v { padding: 18px; }
.src-v.ev-v img { width: 100%; height: auto; }

/* The water treatment plant's three documents (as in the film) */
.ev { padding: 14px; display: grid; gap: 10px; }
.ev-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ev-c { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px; background: var(--raised, #212124); box-shadow: inset 0 0 0 1px #2a2a30; }
.ev-c.warn { box-shadow: inset 0 0 0 1.5px rgba(245, 182, 42, .55); }
.ev-k { font-size: 12px; line-height: 1.35; color: #eeeef1; min-height: 32px; }
.ev-k span { display: block; color: #a7a8b0; }
.ev-crop { height: 66px; border-radius: 6px; background: #fff; overflow: hidden; display: grid; place-items: center; padding: 6px; }
.ev-crop img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.ev-c:first-child .ev-crop img { width: 260%; max-width: none; height: auto; max-height: none; transform: translateX(-8%); }
.ev-n { display: flex; align-items: flex-end; gap: 8px; }
.ev-n b { font-size: 36px; line-height: .9; letter-spacing: -0.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.ev-c.warn .ev-n b { color: #f5b62a; }
.ev-n span { font-size: 11.5px; line-height: 1.3; color: #c9cad2; }
.ev-f .mk-t { font-size: 15px; }
.ev-f .mk-act { min-height: 0; }

/* One workspace per company */
.co .mk-card { padding: 18px; }
.co-l { margin-top: 14px; display: grid; gap: 6px; }
.co-l li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; background: #2a2a2e; }
.co-l li.add { background: transparent; box-shadow: inset 0 0 0 1px #34343a; }
.co-l .av { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
.co-l b { display: block; font-size: 14px; font-weight: 500; }
.co-l small { display: block; font-size: 12.5px; color: #a7a8b0; }
.co-l em { margin-left: auto; }
.co-l .add .av { background: transparent; box-shadow: inset 0 0 0 1px #45454c; }

/* The pilot sheet's send button (the sheet's own rules come from ../styles.css) */
.pf .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 999px; background: #A0BDDB; color: #080813; font-size: 15px; font-weight: 600; cursor: pointer; }
.pf .btn:hover { background: #B2D5E5; }
.pf .bk { display: none; }

/* fixes after the first overlay */
.act svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.sec.how { padding-top: 0; padding-bottom: 64px; }
.sec-head > :first-child { margin-top: 0; }
@media (max-width: 900px) { .sec.how { padding-bottom: 48px; } }
.foot-logo { width: 113px; height: 28px; margin-bottom: 24px; }
.foot-name { margin-top: 88px; }
.foot-b { padding-bottom: 60px; }
@media (max-width: 900px) { .bar .c { gap: 12px; } }
@media (max-width: 440px) { .bar-end > .pill { display: none; } }
.play { white-space: nowrap; }

/* light variants of the home's own cards (water plant evidence, workspaces) */
.mk.lt .ev-c { background: var(--raised); box-shadow: inset 0 0 0 1px var(--ln); }
.mk.lt .ev-c.warn { box-shadow: inset 0 0 0 1.5px rgba(224, 160, 28, .6); }
.mk.lt .ev-k { color: var(--ink); }
.mk.lt .ev-k span, .mk.lt .ev-n span { color: var(--mut); }
.mk.lt .ev-c.warn .ev-n b { color: #b7800f; }
.mk.lt .ev-crop { box-shadow: inset 0 0 0 1px var(--ln); }
.mk.lt .co-l li { background: var(--raised); box-shadow: inset 0 0 0 1px var(--ln); }
.mk.lt .co-l li.add { background: transparent; box-shadow: inset 0 0 0 1px var(--ln-2); }
.mk.lt .co-l small { color: var(--mut); }
.mk.lt .co-l .add .av { box-shadow: inset 0 0 0 1px var(--ln-2); }

/* Build or buy: vibe-coded in-house against Kintric Context, honest both ways. First what each way hands you (a
   script's list that still has to be checked; a finding checked across documents and approved), then the buyer's own
   questions, answered both ways with no win or lose marks, then a plain verdict. The Kintric column stands on the card
   colour from its picture to its last row. On phones the pictures stack and, in the rows, the question spans the row with
   the two answers side by side under the column names. */
.sec.vs { padding-top: calc(var(--sec) - 64px); }
.vs .nw { white-space: nowrap; }
.vs-l { font-size: 20px; line-height: 1.35; letter-spacing: -0.014em; }
.vs-l b { font-weight: 450; color: var(--ink); }
.vs-h { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.2; font-weight: 500; color: var(--ink); }
.vs-a .vs-h { color: var(--muted); }
.vs-i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; }
i.vs-i { background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); }
i.vs-i svg { width: 13px; height: 13px; fill: none; stroke: var(--faint); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* what you get: the script's output on the left, the app's finding on the right */
.vs-g { display: grid; grid-template-columns: 30% 32% 38%; margin-top: 64px; }
.vs-gl { padding-top: 30px; }
.vs-gs { margin-top: 10px; max-width: 230px; font-size: 16px; line-height: 1.4; letter-spacing: -0.006em; color: var(--ink-2); text-wrap: pretty; }
.vs-g > .vs-a { padding: 28px 32px 40px 0; }
.vs-g > .vs-k { padding: 28px 28px 40px; border-radius: 14px 14px 0 0; background: var(--sand); }
.vs-g .vs-h { margin-bottom: 18px; }
.vs-term { padding: 16px 16px 0; border-radius: 12px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); font: 12px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink-2); }
.vs-bar { display: flex; align-items: center; margin: -16px -16px 14px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 11px; line-height: 1.2; color: var(--faint); }
.vs-bar::before { content: ""; flex: none; width: 7px; height: 7px; margin-right: 32px; border-radius: 50%; background: #d3cfc6; box-shadow: 11px 0 0 #d3cfc6, 22px 0 0 #d3cfc6; }
.vs-cmd::before { content: "$ "; color: var(--faint); }
.vs-log { color: var(--muted); }
.vs-csv { margin-top: 12px; }
.vs-csv li { display: grid; grid-template-columns: 52px minmax(0, 1fr) 34px; padding: 3px 0; border-top: 1px dashed #d9d5cc; }
.vs-csv li.hd { border-top: 0; color: var(--faint); }
.vs-csv li > div:nth-child(3) { text-align: right; }
.vs-csv li.more { color: var(--faint); }
.vs-q { display: flex; align-items: center; gap: 9px; margin: 14px -16px 0; padding: 13px 16px; border-top: 1px solid var(--line); font: 450 13.5px/1.3 var(--font); letter-spacing: -0.006em; color: var(--ink); }
.vs-q::before { content: "?"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #FDF3DC; color: #a86d07; font-size: 11.5px; font-weight: 600; }
.vs-app { box-shadow: 0 22px 44px -26px rgba(20, 18, 40, .4), 0 0 0 1px rgba(13, 13, 12, .05); }
.vs-app .lc-t { font-size: 15.5px; line-height: 1.3; }
.lc-f.vs-ok { font-size: 12.5px; color: var(--ink-2); }
.lc-f.vs-ok svg { width: 14px; height: 14px; stroke: #1f8f4e; stroke-width: 1.9; stroke-linejoin: round; }

/* the questions */
.vs-t { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.vs-t col.q { width: 30%; }
.vs-t col.a { width: 32%; }
.vs-t col.k { width: 38%; }
.vs-t th, .vs-t td { vertical-align: top; text-align: left; font-weight: 400; padding: 24px 32px 26px 0; border-top: 1px solid var(--line); }
.vs-t .vs-k { padding-left: 28px; padding-right: 28px; background: var(--sand); border-top-color: rgba(13, 13, 12, .07); }
.vs-t tbody tr:last-child .vs-k { border-radius: 0 0 14px 14px; padding-bottom: 32px; }
.vs-t tbody th { font-size: 18px; line-height: 1.3; letter-spacing: -0.016em; font-weight: 450; color: var(--ink); }
.vs-t td p { font-size: 16px; line-height: 1.4; letter-spacing: -0.006em; text-wrap: pretty; }
.vs-t .vs-a p { color: var(--ink-2); }
.vs-t .vs-k p { color: var(--ink); }
.vs-csv li.lo > div:nth-child(3) { color: #a86d07; }
/* the plain verdict under the table: when to build it yourself, when to bring us in */
.vs-end { margin-top: 56px; }
.vs-end p { max-width: 820px; font-size: 24px; line-height: 1.25; letter-spacing: -0.022em; font-weight: 450; color: var(--ink); text-wrap: balance; }
.vs-end .act, .pl-act { margin-top: 22px; }
.pl-act { margin-top: 48px; }
/* above phones the pictures carry the column names, so the table's own head is read out but not shown */
@media (min-width: 901px) { .vs-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
@media (min-width: 901px) and (max-width: 1080px) {
  .vs-g > .vs-k, .vs-t .vs-k { padding-left: 20px; padding-right: 20px; }
  .vs-g > .vs-a, .vs-t th, .vs-t td.vs-a { padding-right: 24px; }
  .vs-app .lc-rows { padding: 6px 14px; }
  .vs-app .lc-rows li { grid-template-columns: 26px 78px minmax(0, 1fr) auto; gap: 8px; }
}
@media (max-width: 900px) {
  .sec.vs { padding-top: calc(var(--sec) - 48px); }
  .vs-l { font-size: 18px; }
  .vs-g { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .vs-gl { padding-top: 0; margin-bottom: 20px; }
  .vs-gs { max-width: none; }
  .vs-g > .vs-a { padding: 0 0 20px; }
  .vs-g > .vs-k { padding: 16px; border-radius: 14px; }
  .vs-g .vs-h { margin-bottom: 14px; }
  .vs-t, .vs-t thead, .vs-t tbody { display: block; }
  .vs-t { margin-top: 44px; }
  .vs-t colgroup, .vs-t thead td { display: none; }
  .vs-t tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 8px; }
  .vs-t th, .vs-t td { display: block; padding: 0; border: 0; }
  .vs-t thead th { padding: 0 0 10px; }
  .vs-t thead .vs-k { padding: 0 14px 10px; background: none; }
  .vs-t .vs-h { gap: 8px; font-size: 13px; }
  .vs-t .vs-i { width: 18px; height: 18px; border-radius: 5px; }
  .vs-t i.vs-i svg { width: 11px; height: 11px; }
  .vs-t tbody th { grid-column: 1 / -1; padding: 18px 0 10px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 500; }
  .vs-t tbody td.vs-a { padding: 12px 8px 14px 0; }
  .vs-t tbody td.vs-k, .vs-t tbody tr:last-child .vs-k { padding: 12px 14px 14px; border-radius: 12px; }
  .vs-t td p { font-size: 15px; line-height: 1.38; }
  .vs-end { margin-top: 40px; }
  .vs-end p { font-size: 20px; }
}
.pf:not([open]) { display: none; }
.pf { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: transparent; color: #F5F4F0; font: 400 16px/1.5 var(--font); letter-spacing: -0.006em; display: grid; place-items: center; overflow: hidden; }
.pf::backdrop { background: rgba(5, 6, 12, 0); transition: background-color .35s ease; }
.pf.in::backdrop { background: rgba(5, 6, 12, .66); }
.pf-panel { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); width: min(1020px, 100%); max-height: min(800px, calc(100svh - 48px)); border-radius: 22px; overflow: hidden; background: #0B0E1A; box-shadow: 0 0 0 1px rgba(245, 244, 240, .08), 0 40px 120px -30px rgba(0, 0, 0, .7); opacity: 0; transform: translate3d(0, 22px, 0) scale(.985); transition: opacity .4s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.pf.in .pf-panel { opacity: 1; transform: none; }
.pf.closing .pf-panel { transition-duration: .2s, .24s; transform: translate3d(0, 12px, 0) scale(.99); }
.pf-x { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #A5B4C6; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.pf-x:hover { background: rgba(245, 244, 240, .08); color: #F5F4F0; }
.pf-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.pf-side { position: relative; display: flex; flex-direction: column; padding: 34px 34px 30px; background: radial-gradient(95% 70% at 18% 8%, #151B36 0%, #080813 72%); overflow: hidden; }
.pf-side::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, rgba(245, 244, 240, .14) 1px, transparent 1.4px) 0 0 / 16px 16px; -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 60%); mask-image: linear-gradient(160deg, #000 0%, transparent 60%); }
.pf-side > * { position: relative; }
.pf-mark { width: 28px; height: 28px; }
.pf-eye { margin-top: 48px; font-size: 13px; font-weight: 500; color: #8fb7f1; }
.pf-side h2 { margin-top: 10px; font-size: clamp(30px, 3vw, 40px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; text-wrap: balance; }
.pf-lede { margin-top: 14px; font-size: 15px; line-height: 1.55; color: #A5B4C6; text-wrap: pretty; }
.pf-steps { margin-top: auto; padding-top: 40px; display: grid; gap: 13px; }
.pf-steps li { display: flex; gap: 14px; font-size: 14px; line-height: 1.4; color: #C9D2DE; }
.pf-steps span { flex: none; width: 18px; padding-top: 1px; font-size: 12px; color: #8fb7f1; font-variant-numeric: tabular-nums; }
.pf-alt { margin-top: 30px; font-size: 13px; color: #8D9AAE; }
.pf-alt a { color: #F5F4F0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(245, 244, 240, .35); }
.pf-alt a:hover { text-decoration-color: #F5F4F0; }

.pf-main { position: relative; overflow: auto; overscroll-behavior: contain; padding: 38px 40px 32px; }
.pf-form { display: grid; gap: 20px; }
.pf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.pf-f { display: grid; gap: 7px; align-content: start; }
.pf-f label, .pf-g legend { font-size: 13px; font-weight: 500; color: #C9D2DE; }
.pf-f label em, .pf-g legend em { margin-left: 4px; font-style: normal; font-weight: 400; color: #6F7C92; }
.pf-f input, .pf-f textarea { width: 100%; height: 46px; padding: 0 14px; border: 0; border-radius: 10px; background: rgba(245, 244, 240, .05); box-shadow: inset 0 0 0 1px rgba(245, 244, 240, .1); color: #F5F4F0; font: inherit; font-size: 16px; transition: box-shadow .2s ease, background-color .2s ease; }
.pf-f textarea { display: block; height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.pf-f input::placeholder, .pf-f textarea::placeholder { color: #6F7C92; }
.pf-f input:hover, .pf-f textarea:hover { box-shadow: inset 0 0 0 1px rgba(245, 244, 240, .22); }
.pf-f input:focus, .pf-f textarea:focus { outline: none; background: rgba(143, 183, 241, .07); box-shadow: inset 0 0 0 1.5px #8fb7f1; }
.pf-f input:-webkit-autofill { -webkit-text-fill-color: #F5F4F0; box-shadow: inset 0 0 0 1px rgba(245, 244, 240, .1), inset 0 0 0 40px #161A28; caret-color: #F5F4F0; }
.pf-m { display: none; font-size: 12.5px; color: #F4A283; }
.pf-f.bad .pf-m { display: block; }
.pf-f.bad input { box-shadow: inset 0 0 0 1.5px #F4A283; }
.pf-g { min-width: 0; margin: 0; padding: 0; border: 0; }
.pf-g legend { margin-bottom: 9px; padding: 0; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-c { position: relative; cursor: pointer; }
.pf-c input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pf-c span { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 15px 0 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(245, 244, 240, .16); font-size: 14px; color: #C9D2DE; user-select: none; -webkit-user-select: none; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .14s cubic-bezier(.3, 1.3, .5, 1); }
.pf-c span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.3px rgba(245, 244, 240, .4); transition: background-color .2s ease, box-shadow .2s ease; }
.pf-c:hover span { box-shadow: inset 0 0 0 1px rgba(245, 244, 240, .34); color: #F5F4F0; }
.pf-c:active span { transform: scale(.97); }
.pf-c input:checked + span { background: #A0BDDB; color: #080813; box-shadow: none; }
.pf-c input:checked + span::before { background: #080813; box-shadow: none; }
.pf-c input:focus-visible + span { outline: 2px solid #A0BDDB; outline-offset: 2px; }
.pf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pf-err { display: none; font-size: 14px; color: #F4A283; }
.pf-err.on { display: block; }
.pf-err a { color: #F5F4F0; text-decoration: underline; text-underline-offset: 3px; }
.pf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.pf-send { min-width: 170px; }
.pf-send:disabled { cursor: progress; }
.pf-spin { display: none; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(8, 8, 19, .25); border-top-color: #080813; animation: pf-spin .8s linear infinite; }
.pf.sending .pf-spin { display: inline-block; }
@keyframes pf-spin { to { transform: rotate(360deg); } }
.pf-note { font-size: 13px; color: #8D9AAE; }

.pf-done { display: none; height: 100%; flex-direction: column; align-items: flex-start; justify-content: center; padding: 12px 0; }
.pf.sent .pf-form { display: none; }
.pf.sent .pf-done { display: flex; animation: pf-in .55s cubic-bezier(.16, 1, .3, 1); }
@keyframes pf-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } }
.pf-ok { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #A0BDDB; }
.pf-ok svg { width: 26px; height: 26px; fill: none; stroke: #080813; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; animation: pf-tick .5s .2s cubic-bezier(.3, 0, .2, 1) forwards; }
@keyframes pf-tick { to { stroke-dashoffset: 0; } }
.pf-done h3 { margin-top: 22px; font-size: 32px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; }
.pf-done-t { margin-top: 10px; max-width: 36ch; font-size: 16px; color: #A5B4C6; }
.pf-close2 { margin-top: 26px; height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: rgba(245, 244, 240, .08); color: #F5F4F0; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s ease; }
.pf-close2:hover { background: rgba(245, 244, 240, .14); }

@media (max-width: 760px) {
  .pf { padding: 0; place-items: end stretch; }
  .pf-panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); width: 100%; max-height: 94svh; border-radius: 22px 22px 0 0; transform: translate3d(0, 44px, 0); }
  .pf.closing .pf-panel { transform: translate3d(0, 36px, 0); }
  .pf-side { padding: 24px 22px 4px; background: #0B0E1A; }
  .pf-side::before, .pf-mark, .pf-steps, .pf-alt { display: none; }
  .pf-eye { margin-top: 0; }
  .pf-side h2 { font-size: 30px; }
  .pf-lede { margin-top: 10px; font-size: 14.5px; }
  .pf-x { top: 12px; right: 10px; }
  .pf-main { padding: 18px 22px 0; }
  .pf-row { grid-template-columns: minmax(0, 1fr); }
  .pf-foot { position: sticky; bottom: 0; z-index: 2; margin: 0 -22px; padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, #0B0E1A 74%, rgba(11, 14, 26, 0)); }
  .pf-send { flex: 1; }
  .pf-note { width: 100%; text-align: center; }
  .pf-done { padding: 12px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .pf-panel, .pf::backdrop, .pf-c span { transition: none; } .pf.sent .pf-done, .pf-ok svg { animation: none; stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------------------------------------------------------------
   Home hero, rebuilt 24 Nov 2026 to the reference's measured layout: a faint isometric plant drawing and a soft drifting
   halo behind the head, the product frame capped at 1376 px, and the app itself in the window (sheet D.2.1.2 as the
   reader's digital copy), driven by the three steps under it. The film moved to a dialog opened by "Watch the film".
   --------------------------------------------------------------------------------------------------------------------- */
/* ---- The header, in kintric.app's style (24 Nov 2026). The navy strip carries the deployment line; under it a light bar
   with the ink lockup. The bar takes the tone of the section beneath it (site.js sets data-tone: dark over the industries
   band and the footer) and turns to glass once the page moves. While the phone menu is open it is the dark bar. */
.strip { background: #090C12; color: rgba(245, 244, 240, .68); }
.strip .c { gap: 12px; }
.strip-tag { background: rgba(178, 213, 229, .16); color: #B2D5E5; font-weight: 500; }
.strip b { font-weight: 500; color: #fff; }
.strip a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .2s ease; }
.strip a:hover { text-decoration: underline; text-decoration-color: #fff; }

.bar { background: #FBFAF8; color: #080813; box-shadow: 0 1px 0 rgba(8, 8, 19, .08); transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.bar.scrolled { background: rgba(251, 250, 248, .88); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.bar[data-tone="dark"] { background: #090C12; color: #F5F4F0; box-shadow: 0 1px 0 rgba(245, 244, 240, .08); }
.bar.scrolled[data-tone="dark"] { background: rgba(9, 12, 18, .78); }
.mopen .bar, .mopen .bar.scrolled { background: #090C12; color: #F5F4F0; box-shadow: 0 1px 0 rgba(245, 244, 240, .08); }

.brand { gap: 10px; }
.brand-logo { position: relative; display: block; flex: none; width: 105px; height: 26px; }
.brand-logo img { position: absolute; inset: 0; width: 105px; height: 26px; transition: opacity .35s ease; }
.bar .logo-white, .bar[data-tone="dark"] .logo-ink, .mopen .bar .logo-ink { opacity: 0; }
.bar[data-tone="dark"] .logo-white, .mopen .bar .logo-white { opacity: 1; }
/* "Context" stands on the wordmark's baseline (measured at 4x: the text sat 2.5 px above it) and reads as its second word */
.brand-sub { font-size: 17px; line-height: 1; letter-spacing: -0.02em; color: inherit; opacity: .58; transform: translateY(3.5px); }

.dd > button svg { display: none; }
.bar-end > a:not(.pill) { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: inherit; opacity: .72; transition: opacity .2s ease, background-color .15s ease; }
.bar-end > a:not(.pill)::after { content: "\2197"; font-size: 12px; line-height: 1; opacity: .7; }
.bar-end > a:not(.pill):hover { color: inherit; opacity: 1; }
/* the button: ink on the light bar, white on the dark one */
.bar .bar-end .pill { background: #080813; color: #F5F4F0; transition: background-color .2s ease, color .2s ease; }
.bar .bar-end .pill:hover { background: #262A35; }
.bar[data-tone="dark"] .bar-end .pill, .mopen .bar .bar-end .pill { background: #fff; color: #080813; }
.bar[data-tone="dark"] .bar-end .pill:hover, .mopen .bar .bar-end .pill:hover { background: #E4EEF3; }
.burger i { background: currentColor; }
.msheet { background: #090C12; }
@media (max-width: 400px) { .strip .c { gap: 9px; } }
@media (max-width: 370px) { .strip-tag { display: none; } }

.hero-halo { position: absolute; left: -12%; width: 124%; top: -164px; height: 890px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(32% 42% at 16% 34%, rgba(150, 214, 196, .30), rgba(150, 214, 196, 0) 70%),
    radial-gradient(30% 40% at 84% 30%, rgba(178, 168, 255, .32), rgba(178, 168, 255, 0) 70%),
    radial-gradient(26% 34% at 52% 14%, rgba(255, 214, 178, .20), rgba(255, 214, 178, 0) 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 92%); mask-image: linear-gradient(to bottom, #000 40%, transparent 92%);
  animation: halo 18s ease-in-out infinite alternate; }
@keyframes halo { 0% { transform: translate3d(-1.5%, 0, 0) scale(1); } 50% { transform: translate3d(1%, 1.5%, 0) scale(1.03); } 100% { transform: translate3d(2%, -1%, 0) scale(1); } }
.hero-lines { position: absolute; left: 50%; top: 70px; width: min(1288px, calc(100% - 32px)); height: auto; transform: translateX(-50%); z-index: 0;
  opacity: .13; mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect; }
.hero-lines img { width: 100%; height: auto; }
.hero-head { z-index: 1; }

.frame { position: relative; z-index: 1; width: min(1376px, calc(100% - 64px)); height: auto; margin: 64px auto 0; padding-top: 40px; border-radius: 26px; overflow: hidden; background: var(--back); }
.frame > .ph, .frame > img.bg { position: absolute; inset: 0; }
.window { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: min(1240px, calc(100% - 136px)); margin: 0 auto; aspect-ratio: 2400 / 1219; border-radius: 14px 14px 0 0; overflow: hidden; background: #0e0e10;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .06), 0 40px 90px -30px rgba(0, 0, 0, .5); }

/* steps: a 2 px track, the step in focus fills it, an arrow between steps */
.steps { margin-top: 28px; }
.steps li { padding-top: 17px; padding-right: 28px; }
.steps li::before { height: 2px; border-radius: 1px; background: rgba(0, 0, 0, .08); }
.steps li::after { height: 2px; border-radius: 1px; }
.steps li .arr { position: absolute; right: 0; top: 17px; width: 16px; height: 22px; color: var(--faint); }
.steps li .arr svg { width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.steps li.on .arr { color: var(--ink); }

/* ---- the app, at its own size (1440 x 731.4), scaled as one picture ------------------------------------------------ */
.app { position: absolute; inset: 0; overflow: hidden; --a: #9692ff; --ok: #33d097; --warn: #f5b62a; --coral: #f0644c; --pan: #18181a; --edge: rgba(255, 255, 255, .07); --t1: #ececf0; --t2: #c4c5cc; --t3: #8d8e97; --t4: #5c5d66; }
.ap { position: absolute; left: 0; top: 0; width: 1440px; height: 731.4px; transform: scale(var(--k, 1)); transform-origin: 0 0;
  display: grid; grid-template-columns: 212px minmax(0, 1fr) 318px; gap: 8px; padding: 8px; background: #0e0e10;
  color: var(--t1); font-size: 12px; line-height: 1.42; letter-spacing: -0.002em; text-align: left; -webkit-font-smoothing: antialiased; }
.ap svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ap-side, .ap-main, .ap-chat { position: relative; min-height: 0; border-radius: 11px; background: var(--pan); box-shadow: inset 0 0 0 1px var(--edge); overflow: hidden; }
.ap b { font-weight: 500; }
.ap small { display: block; font-size: 11px; color: var(--t3); }
.ap-two { display: block; min-width: 0; flex: 1; }
.ap-two b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* left: workspace */
.ap-side { display: flex; flex-direction: column; padding: 10px 8px; gap: 1px; }
.ap-org, .ap-proj { display: flex; align-items: center; gap: 9px; padding: 5px 6px; border-radius: 8px; color: var(--t3); }
.ap-proj { margin-top: 6px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--edge); }
.ap-tile { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #19b4c9; color: #0d1d20; font-size: 11px; font-weight: 600; }
.ap-pi { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--t2); }
.ap-org b, .ap-proj b { color: var(--t1); }
.ap-org svg, .ap-proj svg { width: 12px; height: 12px; }
.ap-search { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 5px 7px; border-radius: 7px; color: var(--t3); }
.ap-search span { flex: 1; }
.ap-search kbd { font: inherit; font-size: 10px; padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, .06); color: var(--t3); }
.ap-cta { display: flex; gap: 6px; margin: 4px 0 6px; }
.ap-go { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 28px; border-radius: 7px; background: var(--a); color: #0d0c1d; font-weight: 500; }
.ap-upl { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: rgba(255, 255, 255, .06); color: var(--t2); }
.ap-h { display: flex; align-items: center; justify-content: space-between; margin: 12px 7px 3px; font-size: 11px; color: var(--t3); }
.ap-h span { display: inline-flex; align-items: center; gap: 4px; }
.ap-h svg { width: 11px; height: 11px; }
.ap-nav li { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 7px; border-radius: 6px; color: var(--t2); white-space: nowrap; }
.ap-nav li span { overflow: hidden; text-overflow: ellipsis; flex: 1; }
.ap-nav li svg { width: 13px; height: 13px; color: var(--t3); }
.ap-nav li.on { background: rgba(255, 255, 255, .06); color: var(--t1); }
.ap-nav li.on svg { color: var(--a); }
.ap-nav .ap-in { padding-left: 22px; }
.ap-nav .ap-dir svg { width: 10px; height: 10px; transform: rotate(90deg); }
.ap-nav em { font-style: normal; font-size: 10px; color: var(--t3); }
.ap-nav .ap-mut { color: var(--t4); }
.ap-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 8px 7px 2px; border-top: 1px solid var(--edge); color: var(--t3); font-size: 11px; }

/* centre: the sheet fills the canvas; the toolbar floats over it */
.ap-main { background: #0b0b0d; }
.ap-sheet { position: absolute; inset: 0; overflow: hidden; }
.ap-paper { position: absolute; top: 0; height: 100%; left: -50px; aspect-ratio: 328 / 234; }
.ap-paper > img, .ap-paper > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ap .ap-cp, .ap .ap-ov { width: 100%; height: 100%; overflow: visible; fill: none; stroke: none; stroke-width: 0; }
.ap-base { opacity: .92; transition: opacity .6s var(--std); }
.ap-cp { transition: opacity .6s var(--std), filter .6s var(--std); }
.cp-runs path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cp-ves path { fill: none; stroke: #a99cf7; stroke-width: .34; stroke-linecap: round; stroke-linejoin: round; }
.cp-valves rect { fill: rgba(232, 121, 159, .16); stroke: rgba(232, 121, 159, .55); stroke-width: .14; }
.cp-valves path { fill: none; stroke: #f29ab8; stroke-width: .3; stroke-linecap: round; stroke-linejoin: round; }
.cp-ins rect { fill: rgba(180, 168, 255, .14); }
.cp-ins path { fill: none; stroke: #c4baff; stroke-width: .3; stroke-linecap: round; stroke-linejoin: round; }
.cp-tag .s { fill: none; stroke: #d6d6db; stroke-width: .2; stroke-linecap: round; }
.cp-tag .f { fill: #d6d6db; fill-rule: evenodd; }
.cp-pop { transform-box: fill-box; transform-origin: center; }
.ap-focus, .ap-focus-p { opacity: 0; transition: opacity .5s var(--std); }
.app.q-pumps .ap-focus-p { opacity: 1; }
.fv { filter: drop-shadow(0 0 .9px rgba(255, 110, 90, .85)); }
.fv .fp { fill: rgba(240, 100, 76, .24); stroke: rgba(255, 138, 115, .95); stroke-width: .2; }
.fv path { fill: none; stroke: #ffa08c; stroke-width: .42; stroke-linecap: round; stroke-linejoin: round; }
.ap-hit rect { fill: transparent; stroke: none; cursor: crosshair; pointer-events: all; transition: fill .25s ease, stroke .25s ease; }
.ap-hit rect:hover { fill: rgba(150, 146, 255, .22); stroke: rgba(180, 173, 255, .9); stroke-width: .2; }
.ap-hit rect.hl { fill: rgba(240, 100, 76, .22); stroke: rgba(255, 138, 115, .95); stroke-width: .24; }
.ap-call { position: absolute; left: 19%; top: 28.6%; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 7px;
  background: rgba(24, 24, 26, .96); box-shadow: inset 0 0 0 1px rgba(255, 138, 115, .5), 0 8px 20px -8px rgba(0, 0, 0, .8); font-size: 11px; color: var(--t3); white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity .4s var(--std), transform .4s var(--out); pointer-events: none; }
.ap-call::after { content: ""; position: absolute; left: 17px; top: 100%; width: 1px; height: 28px; background: linear-gradient(rgba(255, 138, 115, .7), rgba(255, 138, 115, 0)); }
.ap-call i { width: 7px; height: 7px; border-radius: 2px; background: #ff8a73; }
.ap-call b { color: var(--t1); }
.ap-beam { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.ap-beam i { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; transform: translateX(-100%); opacity: 0;
  background: linear-gradient(to right, rgba(150, 146, 255, 0) calc(100% - 220px), rgba(150, 146, 255, .07) calc(100% - 90px), rgba(170, 166, 255, .22) calc(100% - 3px), #d9d7ff calc(100% - 1.5px), rgba(217, 215, 255, 0) 100%); }
.ap-tip { position: absolute; z-index: 4; left: 0; top: 0; padding: 5px 9px; border-radius: 7px; background: #222225; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 10px 24px -10px rgba(0, 0, 0, .8);
  font-size: 11.5px; color: var(--t1); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.ap-tip.on { opacity: 1; }
.ap-tip b { color: #b4adff; margin-right: 7px; }
.ap-tool { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 3; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 6px 0 12px; border-radius: 9px;
  background: rgba(22, 22, 24, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--edge), 0 12px 28px -14px rgba(0, 0, 0, .7); white-space: nowrap; }
.ap-tool > b { font-size: 12px; }
.ap-chip { display: inline-flex; align-items: baseline; gap: 4px; font-size: 11px; color: var(--t3); }
.ap-chip em { font-style: normal; color: var(--t1); font-variant-numeric: tabular-nums; }
.ap-div { width: 1px; height: 16px; background: var(--edge); }
.ap-ics { display: inline-flex; gap: 1px; color: var(--t3); }
.ap-ics svg { width: 26px; height: 24px; padding: 5px 6px; border-radius: 6px; }
.ap-ics:not(.ap-z) svg:first-child { background: rgba(255, 255, 255, .08); color: var(--t1); }
.ap-sp { flex: 1; }

/* right: the conversation */
.ap-chat { display: flex; flex-direction: column; }
.ap-ch { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-bottom: 1px solid var(--edge); }
.ap-ch small { display: flex; align-items: center; gap: 6px; }
.ap-ch small i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(51, 208, 151, .14); }
.ap-thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 44px); mask-image: linear-gradient(to bottom, transparent 0, #000 44px); }
.ap-conv { display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 12px; }
.ap-day { align-self: center; font-size: 10.5px; color: var(--t4); }
.m { max-width: 100%; }
.m.me { align-self: flex-end; max-width: 88%; padding: 7px 11px; border-radius: 12px 12px 4px 12px; background: #26262a; color: var(--t1); }
.m.ai { color: var(--t2); }
.m.ai > * + * { margin-top: 8px; }
.ap-who { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--t3); }
.ap-who i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(150, 146, 255, .18); color: #b4adff; }
.ap-who svg { width: 11px; height: 11px; }
.ap-work { display: flex; align-items: center; gap: 10px; color: var(--t3); }
.ap-bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.ap-bar i { display: block; height: 100%; width: 100%; border-radius: 2px; background: var(--a); transform-origin: 0 50%; transform: scaleX(0); }
.ap-tab, .ap-cmp { display: grid; gap: 0; padding: 2px 0; border-radius: 9px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--edge); }
.ap-tab li, .ap-cmp li { display: flex; align-items: center; gap: 8px; height: 29px; padding: 0 10px; }
.ap-tab li + li, .ap-cmp li + li { box-shadow: inset 0 1px 0 var(--edge); }
.ap-tab li span, .ap-cmp li span { flex: 1; display: flex; align-items: center; gap: 8px; color: var(--t2); }
.ap-tab li span i { width: 7px; height: 7px; border-radius: 2px; background: var(--c); }
.ap-tab li b, .ap-cmp li b { font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--t1); }
.ap-cmp li svg { width: 13px; height: 13px; color: var(--t3); }
.ap-cmp li.warn { background: rgba(245, 182, 42, .08); }
.ap-cmp li.warn b { color: var(--warn); }
.ap-find { padding: 12px; border-radius: 11px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--edge); }
.ap-lab { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--t3); }
.ap-lab em { font-style: normal; font-size: 10.5px; padding: 1px 7px; border-radius: 5px; background: rgba(245, 182, 42, .14); color: var(--warn); }
.ap-ft { font-size: 13.5px; line-height: 1.38; color: var(--t1); }
.ap-att { display: flex; flex-wrap: wrap; gap: 5px; }
.ap-att span { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); font-size: 11px; color: var(--t2); }
.ap-att svg { width: 12px; height: 12px; }
.ap-act { position: relative; height: 28px; }
.ap-act > span { position: absolute; left: 0; top: 0; height: 28px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.ap-btn { padding: 0 12px; border-radius: 7px; background: var(--t1); color: #101011; font-weight: 500; }
.ap-wait { color: var(--t3); opacity: 0; }
.ap-wait i { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }
.ap-ok { color: var(--ok); opacity: 0; }
.ap-ok svg { width: 15px; height: 15px; stroke-width: 1.8; }
.ap-sys { align-self: center; font-size: 10.5px; color: var(--t4); }
.ap-qa { display: none; flex-direction: column; gap: 12px; }
.app.qa .ap-qa { display: flex; }
.ap-qa .m.ai b { color: var(--t1); }
.ap-ask { padding: 10px; border-top: 1px solid var(--edge); display: grid; gap: 8px; }
.ap-sug { display: grid; gap: 2px; }
.ap-sug button { display: flex; align-items: center; gap: 9px; width: 100%; height: 30px; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; color: var(--t2); font-size: 11.5px; text-align: left; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.ap-sug button svg { width: 13px; height: 13px; color: var(--t3); }
.ap-sug button:hover, .ap-sug button.on { background: rgba(255, 255, 255, .06); color: var(--t1); }
.ap-in { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 6px 0 12px; border-radius: 9px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--edge); color: var(--t3); }
.ap-in i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--t1); }

/* ---- the three steps ------------------------------------------------------------------------------------------- */
.app[data-st="0"] [data-from="1"], .app[data-st="0"] [data-from="2"], .app[data-st="1"] [data-from="2"] { display: none; }
.app:not([data-st="0"]) .ap-work { display: none; }
@keyframes ap-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 1 · it reads: a beam crosses the sheet; behind it every run is drawn along its length and every symbol lands */
.app[data-st="0"] .m.me[data-from="0"] { animation: ap-in .4s .85s var(--out) both; }
.app[data-st="0"] .m.ai[data-from="0"] { animation: ap-in .45s 1.25s var(--out) both; }
.app[data-st="0"] .ap-beam i { animation: ap-beam 2.95s .85s cubic-bezier(.4, 0, .3, 1) both; }
@keyframes ap-beam { 0% { transform: translateX(-100%); opacity: 1; } 94% { opacity: 1; } 100% { transform: translateX(8%); opacity: 0; } }
.app[data-st="0"] .ap-base { animation: ap-scan-base 4.2s ease both; }
@keyframes ap-scan-base { 0% { opacity: .55; } 22% { opacity: .55; } 90%, 100% { opacity: .92; } }
.app[data-st="0"] .cp-runs path { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: cp-draw .75s calc(.85s + var(--d) * 2.95s) cubic-bezier(.3, 0, .2, 1) forwards; }
.app[data-st="0"] .cp-ves path { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: cp-draw .9s calc(.9s + var(--d) * 2.95s) cubic-bezier(.3, 0, .2, 1) forwards; }
@keyframes cp-draw { to { stroke-dashoffset: 0; } }
.app[data-st="0"] .cp-pop { animation: cp-pop .6s calc(.9s + var(--d) * 2.95s) var(--out) both; }
@keyframes cp-pop { 0% { opacity: 0; transform: scale(1.6); filter: brightness(2); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; filter: none; } }
.app[data-st="0"] .cp-tag { animation: cp-tag .7s calc(.95s + var(--d) * 2.95s) ease both; }
@keyframes cp-tag { 0% { opacity: 0; } 25% { opacity: 1; filter: brightness(1.9); } 100% { opacity: 1; filter: none; } }
.app[data-st="0"] .ap-bar i { animation: ap-fill 2.95s .85s cubic-bezier(.4, 0, .3, 1) both; }
@keyframes ap-fill { to { transform: scaleX(1); } }
.app[data-st="0"] .ap-work { animation: ap-out .3s 3.9s ease both; }
@keyframes ap-out { to { opacity: 0; height: 0; margin: 0; overflow: hidden; } }
.app[data-st="0"] .ap-done { animation: ap-in .5s 4s var(--out) both; }
.app[data-st="0"] .ap-tab li { animation: ap-in .35s var(--out) both; }
.app[data-st="0"] .ap-tab li:nth-child(1) { animation-delay: 4.2s; } .app[data-st="0"] .ap-tab li:nth-child(2) { animation-delay: 4.3s; }
.app[data-st="0"] .ap-tab li:nth-child(3) { animation-delay: 4.4s; } .app[data-st="0"] .ap-tab li:nth-child(4) { animation-delay: 4.5s; }

/* 2 · it compares: the copy steps back into grey, the four control valves come forward */
.app[data-st="1"] .ap-cp, .app[data-st="2"] .ap-cp, .app.q-on .ap-cp { opacity: .5; filter: saturate(.15); }
.app[data-st="1"] .ap-base, .app[data-st="2"] .ap-base, .app.q-on .ap-base { opacity: .62; }
.app[data-st="1"] .ap-focus, .app[data-st="2"] .ap-focus, .app.q-valves .ap-focus { opacity: 1; transition-delay: .3s; }
.app[data-st="1"] .ap-call, .app[data-st="2"] .ap-call, .app.q-valves .ap-call { opacity: 1; transform: none; transition-delay: .6s; }
.app[data-st="1"] .ap-cp, .app[data-st="1"] .ap-base { transition-delay: 1.6s; }
.app[data-st="1"] .ap-focus { transition-delay: 1.9s; }
.app[data-st="1"] .ap-call { transition-delay: 2.4s; }
.app.qa:not(.q-valves) .ap-focus, .app.qa:not(.q-valves) .ap-call { opacity: 0; transition-delay: 0s; }
.app[data-st="1"] .m.me[data-from="1"] { animation: ap-in .4s .95s var(--out) both; }
.app[data-st="1"] .m.ai[data-from="1"] { animation: ap-in .45s 1.6s var(--out) both; }
.app[data-st="1"] .ap-cmp li { animation: ap-in .35s var(--out) both; }
.app[data-st="1"] .ap-cmp li:nth-child(1) { animation-delay: 2s; } .app[data-st="1"] .ap-cmp li:nth-child(2) { animation-delay: 2.25s; } .app[data-st="1"] .ap-cmp li:nth-child(3) { animation-delay: 2.5s; }

/* 3 · an engineer approves: the finding waits for a named approver, then the four valves turn green */
.app[data-st="2"] .ap-find { animation: ap-in .5s .2s var(--out) both; }
.app[data-st="2"] .ap-sys { animation: ap-in .5s .9s var(--out) both; }
.app[data-st="2"] .ap-btn { animation: ap-press 2.2s ease both; }
@keyframes ap-press { 0%, 70% { opacity: 1; transform: none; } 80% { transform: scale(.96); } 90%, 100% { opacity: 0; transform: none; } }
.app[data-st="2"] .ap-wait { animation: ap-wait 4.2s 2s ease both; }
@keyframes ap-wait { 0% { opacity: 0; } 8%, 88% { opacity: 1; } 100% { opacity: 0; } }
.app[data-st="2"] .ap-ok { animation: ap-in .5s 5.9s var(--out) both; }
.ap-lab em .a { display: none; }
.app[data-st="2"] .ap-lab em { animation: ap-chip .4s 5.9s ease both; }
.app[data-st="2"] .ap-lab em .d { animation: ap-hide 0s 5.9s both; }
.app[data-st="2"] .ap-lab em .a { display: inline; animation: ap-show 0s 5.9s both; }
@keyframes ap-hide { to { display: none; } }
@keyframes ap-show { from { display: none; } to { display: inline; } }
.app[data-st="2"] .ap-call { animation: ap-callok .6s 5.9s ease both; }
.app[data-st="2"] .ap-call i { animation: ap-dotok .6s 5.9s ease both; }
@keyframes ap-callok { to { box-shadow: inset 0 0 0 1px rgba(95, 230, 180, .55), 0 8px 20px -8px rgba(0, 0, 0, .8); } }
@keyframes ap-dotok { to { background: #5fe6b4; } }
@keyframes ap-chip { to { background: rgba(51, 208, 151, .14); color: var(--ok); } }
.app[data-st="2"] .fv path { animation: ap-green .6s 5.9s ease both; }
.app[data-st="2"] .fv .fp { animation: ap-greenp .6s 5.9s ease both; }
.app[data-st="2"] .fv { animation: ap-glow .6s 5.9s ease both; }
@keyframes ap-green { to { stroke: #5fe6b4; } }
@keyframes ap-greenp { to { fill: rgba(51, 208, 151, .22); stroke: rgba(95, 230, 180, .9); } }
@keyframes ap-glow { to { filter: drop-shadow(0 0 .9px rgba(51, 208, 151, .85)); } }
.app.qa .ap-qa .m { animation: ap-in .4s var(--out) both; }
.app.qa .ap-qa .m.ai { animation-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  .hero-halo { animation: none; }
  .app *, .app *::before, .app *::after { animation-duration: 1ms !important; animation-delay: 0s !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
}

@media (max-width: 900px) {
  .hero-lines { top: 64px; }
  .frame { width: calc(100% - 16px); margin-top: 48px; padding-top: 14px; border-radius: 20px; }
  .window { width: calc(100% - 32px); border-radius: 10px 10px 0 0; }
  .steps li { padding-right: 0; }
  .steps li .arr { display: none; }
}

/* the film, in a dialog opened by any "Watch the film" link */
.film-dlg { width: min(1240px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; background: #000; color: #fff; overflow: hidden; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7); }
.film-dlg::backdrop { background: rgba(8, 8, 8, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.film-dlg video { display: block; width: 100%; height: auto; max-height: calc(100vh - 32px); background: #000; }
.film-x { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; }
.film-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.film-x:hover { background: rgba(0, 0, 0, .8); }
.film-dlg[open] { animation: film-in .35s var(--out); }
@keyframes film-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---- the problem section's five sources: the real sheet, a clean equipment table, one colour per kind -------------- */
.src-t .row { align-items: flex-start; }
.src-t .row .ic { margin-top: 1px; }
.s-dr .ic { background: rgba(61, 99, 214, .1); } .s-dr .ic svg { stroke: #3d63d6; }
.s-et .ic { background: rgba(122, 90, 248, .1); } .s-et .ic svg { stroke: #6a4ef0; }
.s-bi .ic { background: rgba(31, 157, 85, .1); } .s-bi .ic svg { stroke: #1f8f4e; }
.s-ds .ic { background: rgba(214, 140, 20, .12); } .s-ds .ic svg { stroke: #b7740f; }
.s-em .ic { background: rgba(224, 83, 61, .1); } .s-em .ic svg { stroke: #d2462f; }
.src-v.src-sheet { padding: 0; place-items: stretch; }
.src-v.src-et { padding: 14px; place-items: stretch; }
.et { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.et-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 12.5px; }
.et-h b { font-weight: 500; color: var(--ink); }
.et-h span { font-size: 11px; color: var(--faint); }
.et-t { border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.et-r { display: grid; grid-template-columns: 1.2fr 1fr .4fr; white-space: nowrap; align-items: center; gap: 8px; height: 26px; padding: 0 10px; font-size: 11.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.et-r + .et-r { box-shadow: inset 0 1px 0 var(--line); }
.et-r > :last-child { justify-self: end; }
.et-hd { height: 24px; border-radius: 8px 8px 0 0; background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); font-size: 10.5px; color: var(--faint); }
.et-r i { display: block; height: 5px; border-radius: 3px; background: #ECEAE4; }
.et-x { color: var(--ink); }
.et-q { color: #b7800f; font-weight: 600; }

/* the cursor that works the app */
.ap-cur { position: absolute; left: 0; top: 0; z-index: 30; width: 20px; height: 22px; pointer-events: none; opacity: 0; transition: opacity .35s ease; will-change: transform; }
.ap-cur.on { opacity: 1; }
.ap .ap-cur svg { width: 20px; height: 22px; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); transform-origin: 2px 2px; transition: transform .12s ease; }
.ap-cur path { fill: #0f0f10; stroke: #fff; stroke-width: 1.35; stroke-linejoin: round; }
.ap-cur.down svg { transform: scale(.84); }
.ap-rip { position: absolute; left: 0; top: 0; z-index: 29; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .75); }
.ap-rip.go { animation: ap-rip .6s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes ap-rip { from { opacity: .95; transform: scale(.25); } to { opacity: 0; transform: scale(1.3); } }
.ap .press { transform: scale(.955); filter: brightness(1.15); transition: transform .1s ease, filter .1s ease; }
.ap-in.press { box-shadow: inset 0 0 0 1px rgba(150, 146, 255, .7); }

/* ---- four screens in one window, one per step, crossfading as the reference's do ---------------------------------- */
.scr { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--std), visibility 0s linear .7s; }
.app[data-st="0"] .s1, .app[data-st="1"] .s2, .app[data-st="2"] .s3, .app[data-st="3"] .s4 { opacity: 1; visibility: visible; transition: opacity .7s var(--std), visibility 0s; }
.ap.ap-curl { display: block; padding: 0; background: none; pointer-events: none; z-index: 10; }
.ap.cx, .ap.co { display: flex; flex-direction: column; padding: 0; gap: 0; background: #0e0e10; }
.ap .wt svg { width: 56%; height: 56%; stroke-width: 1.5; }
.cx-top { display: flex; align-items: center; gap: 10px; flex: none; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--edge); font-size: 13px; color: var(--t2); white-space: nowrap; }
.window .cx-top .k-sym { position: static; flex: none; width: 18px; height: 18px; object-fit: contain; }
.cx-top > b { color: var(--t1); }
.cx-top .sl { font-style: normal; color: var(--t4); }
.cx-top .mu { color: var(--t3); }
.cx-top > svg { width: 12px; height: 12px; color: var(--t3); }
.cx-top .sp { flex: 1; }
.cx-stat { font-size: 12px; color: var(--t3); }
.cx-stat b { margin-right: 4px; color: var(--t1); font-variant-numeric: tabular-nums; }
.cx-badge { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 7px; background: rgba(255, 255, 255, .06); font-size: 12px; color: var(--t1); }
.cx-badge i { width: 7px; height: 7px; border-radius: 2px; background: #6d8cff; animation: cx-pulse 1.2s ease-in-out infinite alternate; }
.co-work i { background: var(--warn); }
@keyframes cx-pulse { from { opacity: .45; } to { opacity: 1; } }
.cx-two { display: block; min-width: 0; }
.cx-two b { display: block; font-size: 12.5px; color: var(--t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-two small { display: block; font-size: 11px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); font-size: 11px; color: var(--t2); white-space: nowrap; }

/* 02 · the context */
.cx-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 260px minmax(0, 1fr) 372px; }
.cx-src { padding: 16px 12px; border-right: 1px solid var(--edge); }
.cx-h { margin: 0 6px 8px; font-size: 11px; color: var(--t3); }
.cx-src li { display: flex; align-items: center; gap: 11px; padding: 9px 8px; border-radius: 9px; }
.cx-si { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
.cx-si svg { width: 15px; height: 15px; }
.cx-ok { margin-left: auto; color: var(--ok); }
.cx-ok svg { width: 15px; height: 15px; stroke-width: 1.8; }
.cx-src .cx-add { justify-content: center; gap: 7px; margin-top: 6px; padding: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: var(--t3); font-size: 12px; }
.cx-add svg { width: 12px; height: 12px; }
.cx-legend { margin-top: 26px; }
.cx-legend span { display: inline-flex; align-items: center; gap: 6px; margin: 0 12px 6px 6px; font-size: 11px; color: var(--t2); }
.cx-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--c); }
.cx-graph { position: relative; overflow: hidden; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0); background-size: 22px 22px; }
.ap .cx-edges { position: absolute; left: 0; top: 0; width: 880px; height: 667px; overflow: visible; }
.cx-e { fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; transition: opacity .5s var(--std); }
.cx-e.dash { stroke-dasharray: 3 4; }
.cx-e.dim, .cx-l.dim { opacity: .45; }
.cx-l { position: absolute; z-index: 1; transform: translate(-50%, -50%); padding: 2px 7px; border-radius: 6px; background: #121214; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent);
  color: var(--c); font: 500 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; transition: opacity .5s var(--std); }
.cx-n { position: absolute; z-index: 2; height: 48px; padding: 7px 11px; border-radius: 9px; background: #151517; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 26px -14px rgba(0, 0, 0, .9); transition: opacity .5s var(--std), box-shadow .4s var(--std); }
.cx-n b { display: block; font-size: 13px; color: var(--t1); }
.cx-n small { display: block; font-size: 10.5px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-n.dim { opacity: .42; }
.cx-dots { position: absolute; right: 9px; bottom: -11px; display: flex; gap: 3px; }
.cx-dots i { width: 6px; height: 6px; border-radius: 1.5px; background: var(--c); }
.cx-det { padding: 18px 20px; border-left: 1px solid var(--edge); }
.cx-dh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cx-dh .cx-tag { font-size: 20px; font-weight: 450; letter-spacing: -0.01em; }
.cx-dh small { margin-top: 3px; font-size: 13px; color: var(--t2); }
.cx-sum { margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--edge); font-size: 12px; color: var(--t3); }
.cx-f li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--edge); font-size: 12.5px; line-height: 1.45; color: var(--t1); }
.cx-f em { flex: none; font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 5px; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent); }

.app[data-st="1"] .cx-src li:not(.cx-add) { animation: ap-in .4s calc(.15s + var(--i) * .22s) var(--out) both; }
.app[data-st="1"] .cx-ok { animation: co-pop .3s calc(.55s + var(--i) * .35s) var(--out) both; }
.app[data-st="1"] .cx-n { animation: cx-node .5s calc(.45s + var(--o) * .3s) var(--out) both; }
@keyframes cx-node { from { opacity: 0; transform: translateY(6px) scale(.96); } }
.app[data-st="1"] .cx-e:not(.dash) { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: cp-draw .6s calc(.55s + var(--o) * .3s) cubic-bezier(.3, 0, .2, 1) forwards; }
.app[data-st="1"] .cx-e.dash { animation: cx-fade .5s calc(.6s + var(--o) * .3s) ease both; }
.app[data-st="1"] .cx-l { animation: cx-lab .4s calc(.85s + var(--o) * .3s) var(--out) both; }
@keyframes cx-fade { from { opacity: 0; } }
@keyframes cx-lab { from { opacity: 0; transform: translate(-50%, -50%) scale(.9); } }
.app[data-st="1"] .cx-n.pick { animation: cx-node .5s calc(.45s + var(--o) * .3s) var(--out) both, cx-pick .4s 2.65s var(--out) both; }
@keyframes cx-pick { to { box-shadow: inset 0 0 0 1.5px #9692ff, 0 0 0 4px rgba(150, 146, 255, .16), 0 14px 30px -12px rgba(0, 0, 0, .9); } }
.app[data-st="1"] .cx-graph .cx-n:not(.pick):not(.rel) { animation: cx-node .5s calc(.45s + var(--o) * .3s) var(--out) both, cx-dimmer .5s 2.75s ease both; }
.cx-n.dim { opacity: .42; }
.app[data-st="1"] .cx-e:not(.sel):not(.dash) { animation: cp-draw .6s calc(.55s + var(--o) * .3s) cubic-bezier(.3, 0, .2, 1) forwards, cx-dimmer .5s 2.75s ease both; }
.app[data-st="1"] .cx-e.dash:not(.sel) { animation: cx-fade .5s calc(.6s + var(--o) * .3s) ease both, cx-dimmer .5s 2.75s ease both; }
.app[data-st="1"] .cx-l:not(.sel) { animation: cx-lab .4s calc(.85s + var(--o) * .3s) var(--out) both, cx-dimmer .5s 2.75s ease both; }
.app[data-st="1"] .cx-e.sel { animation: cp-draw .6s calc(.55s + var(--o) * .3s) cubic-bezier(.3, 0, .2, 1) forwards, cx-glow .5s 2.75s ease both; }
.app[data-st="1"] .cx-e.dash.sel { stroke-dasharray: 3 4; stroke-dashoffset: 0; animation: cx-fade .5s calc(.6s + var(--o) * .3s) ease both, cx-glow .5s 2.75s ease both; }
@keyframes cx-glow { to { stroke-width: 2.2; } }
@keyframes cx-dimmer { to { opacity: .26; } }
.app[data-st="1"] .cx-dh, .app[data-st="1"] .cx-sum { animation: ap-in .45s 2.8s var(--out) both; }
.app[data-st="1"] .cx-f li { animation: ap-in .45s calc(3.15s + var(--i) * .5s) var(--out) both; }

/* 03 · an AI colleague does the work */
.co-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 236px minmax(0, 1fr) 404px; }
.co-nav { padding: 12px 10px; border-right: 1px solid var(--edge); }
.co-nav .ap-nav { margin-bottom: 4px; }
.co-list li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px; }
.co-list li.on { background: rgba(255, 255, 255, .06); }
.co-list li > svg { margin-left: auto; color: var(--t3); }
.co-list .co-new { gap: 9px; color: var(--t3); }
.co-list .co-new svg { margin-left: 6px; width: 12px; height: 12px; }
.co-chat { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--edge); }
.co-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 22px; border-bottom: 1px solid var(--edge); font-size: 13.5px; }
.co-thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: 18px 22px 14px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px); mask-image: linear-gradient(to bottom, transparent 0, #000 40px); }
.co-m { display: flex; gap: 12px; }
.co-m > div { min-width: 0; flex: 1; }
.co-m > div > * + * { margin-top: 9px; }
.co-av { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2a2a2e; font-size: 10.5px; font-weight: 500; color: var(--t2); }
.co-who { display: flex; align-items: baseline; gap: 8px; font-size: 11.5px; color: var(--t3); }
.co-who b { font-size: 13px; color: var(--t1); }
.co-who em { font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 5px; background: rgba(150, 146, 255, .16); color: #b4adff; }
.co-m p { font-size: 13px; line-height: 1.5; color: var(--t2); }
.co-m .co-who { line-height: 1.3; }
.co-file { display: inline-flex !important; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--edge); font-size: 12px !important; color: var(--t1) !important; }
.co-file b { font-size: 9.5px; padding: 2px 5px; border-radius: 4px; background: rgba(240, 100, 76, .16); color: #ff8a73; }
.co-file span { color: var(--t3); }
.co-steps { border-radius: 10px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--edge); }
.co-steps li { display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 12px; font-size: 12.5px; color: var(--t3); }
.co-steps li + li { box-shadow: inset 0 1px 0 var(--edge); }
.co-steps li em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--t3); }
.co-s { position: relative; flex: none; display: grid; place-items: center; width: 16px; height: 16px; }
.co-s > i { width: 12px; height: 12px; border-radius: 50%; border: 1.6px solid var(--t4); border-right-color: transparent; opacity: .55; }
.co-s > svg { position: absolute; inset: 0; margin: auto; width: 15px; height: 15px; color: var(--ok); stroke-width: 1.8; opacity: 0; }
.co-find { padding: 12px 14px; border-radius: 11px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--edge); }
.co-find > * + * { margin-top: 8px; }
.co-acts { position: relative; display: flex; align-items: center; gap: 8px; height: 30px; }
.co-approve { display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 7px; background: var(--t1); color: #101011; font-weight: 500; }
.co-edit { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 7px; background: rgba(255, 255, 255, .07); color: var(--t2); }
.co-ok { position: absolute; left: 0; top: 0; height: 30px; display: inline-flex; align-items: center; gap: 7px; color: var(--ok); opacity: 0; white-space: nowrap; }
.co-ok svg { width: 15px; height: 15px; stroke-width: 1.8; }
.co-in { flex: none; display: flex; align-items: center; justify-content: space-between; height: 40px; margin: 0 22px 16px; padding: 0 6px 0 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--edge); color: var(--t3); }
.co-in i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--t1); }
.co-live { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.co-card { padding: 12px; border-radius: 12px; background: #141416; box-shadow: inset 0 0 0 1px var(--edge); }
.co-ch { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12.5px; color: var(--t3); }
.co-ch b { color: var(--t1); }
.co-ch em { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 11.5px; color: var(--ok); }
.co-ch em i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(51, 208, 151, .15); }
.tn { position: relative; aspect-ratio: 230 / 80; border-radius: 8px; overflow: hidden; background: #0b0b0d; box-shadow: inset 0 0 0 1px var(--edge); }
.tn-paper { position: absolute; }
.tn-paper img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tn-v { position: absolute; border-radius: 3px; background: rgba(240, 100, 76, .26); box-shadow: inset 0 0 0 1.5px rgba(255, 138, 115, .95), 0 0 10px rgba(255, 110, 90, .55); opacity: 0; transform: scale(1.7); }
.ag { position: absolute; left: 52%; top: 96%; z-index: 2; display: flex; align-items: flex-start; pointer-events: none; }
.ap .ag svg { width: 15px; height: 17px; overflow: visible; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.ag path { fill: #9692ff; stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; }
.ag b { margin: 13px 0 0 -2px; padding: 2px 7px; border-radius: 6px; background: #9692ff; color: #0d0c1d; font-size: 10.5px; font-weight: 600; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .7); }
.co-cnt { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--t3); }
.co-cnt b { color: var(--t1); font-variant-numeric: tabular-nums; }
.co-bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.co-bar i { display: block; width: 100%; height: 100%; background: var(--a); transform-origin: 0 50%; transform: scaleX(0); }
.co-items ul { border-radius: 9px; box-shadow: inset 0 0 0 1px var(--edge); }
.co-items li { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; font-size: 12px; color: var(--t2); }
.co-items li + li { box-shadow: inset 0 1px 0 var(--edge); }
.co-items li span { flex: 1; display: flex; align-items: center; gap: 8px; }
.co-items li svg { width: 13px; height: 13px; color: var(--t3); }
.co-items li b { font-size: 13px; color: var(--t1); font-variant-numeric: tabular-nums; }
.co-items li.warn { background: rgba(245, 182, 42, .08); }
.co-items li.warn b { color: var(--warn); }

.app[data-st="2"] .co-u { animation: ap-in .45s .15s var(--out) both; }
.app[data-st="2"] .co-a { animation: ap-in .45s .6s var(--out) both; }
.app[data-st="2"] .co-steps li { animation: co-txt .3s var(--a) ease both; }
@keyframes co-txt { to { color: var(--t1); } }
.app[data-st="2"] .co-s > i { animation: co-work 0s var(--a) both, co-spin .8s var(--a) linear infinite, co-gone 0s var(--b) both; }
@keyframes co-work { to { border-color: #b4adff; border-right-color: transparent; opacity: 1; } }
@keyframes co-spin { to { transform: rotate(360deg); } }
@keyframes co-gone { to { opacity: 0; } }
.app[data-st="2"] .co-s > svg { animation: co-pop .3s var(--b) var(--out) both; }
@keyframes co-pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
.co-steps li em { opacity: 0; }
.app[data-st="2"] .co-steps li em { animation: cx-show .3s var(--b) ease both; }
@keyframes cx-show { to { opacity: 1; } }
.co-find { opacity: 0; }
.app[data-st="2"] .co-find { animation: ap-in .5s 5.9s var(--out) both; }
.app[data-st="2"] .co-approve, .app[data-st="2"] .co-edit { animation: co-off .25s 7.05s ease both; }
@keyframes co-off { to { opacity: 0; visibility: hidden; } }
.app[data-st="2"] .co-ok { animation: ap-in .45s 7.15s var(--out) both; }
.co-find .ap-lab em .a { display: none; }
.app[data-st="2"] .co-find .ap-lab em { animation: ap-chip .4s 7.15s ease both; }
.app[data-st="2"] .co-find .ap-lab em .d { animation: ap-hide 0s 7.15s both; }
.app[data-st="2"] .co-find .ap-lab em .a { display: inline; animation: ap-show 0s 7.15s both; }
.app[data-st="2"] .co-items li { animation: ap-in .4s calc(1.4s + var(--i) * .2s) var(--out) both; }
.app[data-st="2"] .tn-v { animation: tn-hit .35s calc(2.95s + var(--i) * .7s) var(--out) both; }
@keyframes tn-hit { to { opacity: 1; transform: none; } }
.app[data-st="2"] .co-bar i { animation: co-prog 2.1s 2.95s linear both; }
@keyframes co-prog { to { transform: scaleX(1); } }
.app[data-st="2"] .ag { animation: ag-go 3.4s 2.3s both; }
@keyframes ag-go {
  0% { left: 52%; top: 96%; animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  17.6% { left: var(--x1); top: var(--y); animation-timing-function: linear; }
  20.6% { left: var(--x1); top: var(--y); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  38.2% { left: var(--x2); top: var(--y); animation-timing-function: linear; }
  41.2% { left: var(--x2); top: var(--y); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  58.8% { left: var(--x3); top: var(--y); animation-timing-function: linear; }
  61.8% { left: var(--x3); top: var(--y); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  79.4% { left: var(--x4); top: var(--y); animation-timing-function: linear; }
  82.4% { left: var(--x4); top: var(--y); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  100% { left: 90%; top: 84%; }
}

/* problem cards: time series, field record */
.s-ts .ic { background: rgba(31, 157, 85, .1); } .s-ts .ic svg { stroke: #1f8f4e; }
.s-fr .ic { background: rgba(25, 140, 190, .1); } .s-fr .ic svg { stroke: #1a7fae; }
.s-et .ic { background: rgba(214, 140, 20, .12); } .s-et .ic svg { stroke: #b7740f; }
.src-v.src-ts { padding: 16px 16px 10px; place-items: stretch; }
.ts { display: flex; flex-direction: column; width: 100%; height: 100%; }
.ts-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 12px; color: var(--faint); }
.ts-h b { font-size: 15px; font-weight: 500; color: #b7800f; font-variant-numeric: tabular-nums; }
.ts-cw { position: relative; flex: 1; margin-top: 8px; }
.ts-c { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ts-dl { position: absolute; left: 0; top: 31.25%; transform: translateY(-135%); font-size: 10.5px; line-height: 1; color: #a8740f; }
.ts-lim { fill: none; stroke: #d39a2c; stroke-width: 1.2; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.ts-l { fill: none; stroke: #33353d; stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.src-v.src-ph { position: relative; padding: 0; }
.src-ph .ph { border-radius: inherit; }

/* how it works: clean light cards in the pictures */
.lc { width: 100%; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px -30px rgba(20, 18, 40, .45), 0 0 0 1px rgba(13, 13, 12, .04); overflow: hidden; text-align: left; }
.lc-h { padding: 18px 20px 16px; border-bottom: 1px solid #EFEDE8; }
.lc-k { font-size: 11px; color: var(--faint); }
.lc-t { margin-top: 4px; font-size: 17px; letter-spacing: -0.01em; }
.lc-s { margin-top: 3px; font-size: 12px; color: var(--muted); }
.lc-rows { padding: 6px 20px; }
.lc-rows li { display: grid; grid-template-columns: 28px 96px 1fr auto; align-items: center; gap: 10px; height: 46px; font-size: 13px; }
.lc-i .ic { width: 26px; height: 26px; border-radius: 7px; background: color-mix(in srgb, var(--c) 11%, transparent); display: grid; place-items: center; }
.lc-i .ic svg { width: 15px; height: 15px; fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lc-l { font-size: 12.5px; color: var(--muted); }
.lc-v { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-th { width: 46px; height: 28px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px #E6E3DC; }
.lc-warn { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 5px; background: #FDF3DC; color: #a86d07; }
.lc-f { display: flex; align-items: center; gap: 7px; padding: 12px 20px; border-top: 1px solid #EFEDE8; font-size: 12px; color: var(--faint); }
.lc-f svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.lc-jobs li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; }
.lc-jobs li + li { border-top: 1px solid #EFEDE8; }
.lc-jobs b { display: block; font-size: 13.5px; font-weight: 450; }
.lc-jobs small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.lc-jobs em { flex: none; font-style: normal; font-size: 12px; }
.lc-done { display: inline-flex; align-items: center; gap: 5px; color: #1f8f4e; }
.lc-done svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lc-ap { padding: 6px 12px; border-radius: 7px; background: #3d63d6; color: #fff; box-shadow: 0 6px 14px -6px rgba(61, 99, 214, .7); }
.lc-wait { color: var(--faint); }

/* what the cursor points at lights up as a real hover would */
.ap-hit rect.hov { fill: rgba(150, 146, 255, .22); stroke: rgba(180, 173, 255, .9); stroke-width: .2; }
.cx-f li { transition: background-color .25s ease, box-shadow .25s ease; border-radius: 6px; }
.cx-f li.hov { background: rgba(255, 255, 255, .05); box-shadow: -8px 0 0 rgba(255, 255, 255, .05), 8px 0 0 rgba(255, 255, 255, .05); }

/* ---- the bar, as on kintric.app: the others dim while one is pointed at, a small dot slides under it; glass when scrolled */
.menu { position: relative; }
.menu > a, .dd > button { font-weight: 500; color: inherit; opacity: .72; transition: opacity .25s ease; }
.menu > a:hover, .dd > button:hover, .dd.open > button, .menu > a[aria-current="page"], .dd.cur > button { opacity: 1; color: inherit; }
.menu:hover > a:not(:hover), .menu:hover > .dd:not(:hover):not(.open) > button { opacity: .5; }
.menu-dot { position: absolute; left: 0; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; pointer-events: none; opacity: 0;
  transform: translateX(var(--x, 0px)); transition: transform .5s cubic-bezier(.3, 1.2, .4, 1), opacity .3s ease; }
.menu-dot.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .menu-dot { transition: none; } }

/* ---- private equity: the rollout card */
.rl li { padding: 14px 20px 16px; }
.rl li + li { border-top: 1px solid #EFEDE8; }
.rl-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rl-top p { font-size: 13.5px; color: var(--ink); }
.rl-top p b { font-weight: 450; }
.rl-top p span { color: var(--faint); }
.rl small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.rl em { flex: none; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; }
.rl em svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rl .ok { color: #1f8f4e; } .rl .bl { color: #3d63d6; } .rl .am { color: #a86d07; } .rl .mu { color: var(--faint); }
.rl-bar { display: block; height: 3px; margin-top: 10px; border-radius: 2px; background: #ECEAE4; overflow: hidden; }
.rl-bar i { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: 2px; background: var(--c); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.3s var(--out) .35s; }
.in .rl-bar i { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .rl-bar i { transform: none; transition: none; } }

/* ---- the closing card: a plant photograph, blurred to colour, under a soft wash that keeps the words clear */
.cta-glow > .ph img { filter: blur(34px) saturate(1.2); transform: scale(1.25); object-position: 50% 88% !important; }
.cta-wash { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(232, 231, 246, .82) 0%, rgba(226, 226, 244, .62) 34%, rgba(220, 222, 240, .18) 62%, rgba(220, 222, 240, 0) 80%), linear-gradient(to bottom, rgba(214, 216, 240, .55), rgba(214, 216, 240, 0) 55%); }
.cta-glow > div { z-index: 1; }

/* ---- the footer, as on kintric.app: night ground, the name in living dots, back to the top */
.foot { background: #090C12; }
.foot-dots { position: relative; margin: 72px 0 22px; aspect-ratio: 3976.5 / 799.9; }
.foot-dots .foot-name { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; color: rgba(242, 241, 233, .07); transition: opacity .6s ease; }
.foot-dots canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot-dots.on .foot-name { opacity: 0; }
.foot-b { font-size: 13px; color: rgba(242, 241, 233, .66); }
.foot-r { display: flex; align-items: center; gap: 28px; }
.foot-b a { color: rgba(242, 241, 233, .66); transition: color .15s ease; }
.foot-b a:hover { color: #F2F1E9; }
.foot-top i { font-style: normal; }
@media (max-width: 900px) { .foot-r { flex-direction: column; align-items: flex-start; gap: 12px; } .foot-b nav { flex-wrap: wrap; } }

.rl em.ok svg { display: inline-block; }

/* ---- the four steps as one timeline: each bar runs a quarter further than the one before, filling as it arrives */
.four { column-gap: 32px; }
.four li:nth-child(1) { --n: 1; } .four li:nth-child(2) { --n: 2; } .four li:nth-child(3) { --n: 3; } .four li:nth-child(4) { --n: 4; }
.four li::after { width: calc(var(--n, 1) * 25%); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--out) calc(.2s + var(--n, 1) * .14s); }
.four li.in::after { transform: scaleX(1); }
.four span { font-size: 13px; line-height: 18px; }
.four .t-h3 { margin-top: 8px; font-size: 20px; }
.four p { max-width: 300px; }
@media (prefers-reduced-motion: reduce) { .four li::after { transform: none; transition: none; } }
@media (max-width: 900px) { .four li::after { width: calc(var(--n, 1) * 25%); } }

/* the language switch, as on the reference: a globe and the other language */
.bar-end > a.lang { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: inherit; transition: background-color .15s ease, opacity .2s ease; }
.bar-end > a.lang::after { content: none; }
.bar-end > a.lang svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.bar-end > a.lang:hover { background: rgba(8, 8, 19, .06); }
.bar[data-tone="dark"] .bar-end > a.lang:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 1080px) { .bar-end > a.lang { display: none; } }

/* ---- 04 · a soft digital twin: the filter hall as one live model (hero-screens.mjs). Times follow the cursor's plan in
   site.js: it picks filter 8.2 at 1.9 s and asks "What feeds filter 8.2?" at 4.9 s; the answer draws the water's route
   from pump 7.1 to the filter and lights the parts it passes. The drawing arrives as a file once the page has loaded. -- */
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; } }
.ap.tw { display: flex; flex-direction: column; padding: 0; gap: 0; background: #0d0d10; --tok: #3ccfc0; --twarn: #f0b53c; --tsel: #bdb7ff; }
.tw-live i { background: var(--tok); }
.tw-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 228px minmax(0, 1fr) 352px; }
/* status dots: running, needs attention, standby */
.tw-sys i, .tw-leg i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--tok); }
.tw-sys i.warn, .tw-leg i.warn { background: var(--twarn); } .tw-sys i.idle, .tw-leg i.idle { background: #5c5d66; }
.tw-leg i.fl { width: 14px; height: 2px; border-radius: 1px; background: repeating-linear-gradient(90deg, var(--tok) 0 3px, transparent 3px 6px); }
.tw-nav { padding: 14px 10px; border-right: 1px solid var(--edge); }
.tw-sys li, .tw-src li, .tw-docs li { display: flex; align-items: center; gap: 9px; height: 31px; padding: 0 8px; border-radius: 8px; font-size: 12.5px; color: var(--t2); white-space: nowrap; }
.tw-sys { margin-bottom: 18px; }
.tw-sys li.on { background: rgba(255, 255, 255, .06); color: var(--t1); }
.tw-sys em, .tw-src em, .tw-docs em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--t3); font-variant-numeric: tabular-nums; }
.tw-src i, .tw-docs i { flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--c); }
.tw-src .lv i { border-radius: 50%; background: var(--tok); box-shadow: 0 0 0 3px rgba(60, 207, 192, .15); animation: cx-pulse 1.2s ease-in-out infinite alternate; }

/* the stage: the model large and alone, a caption above, the legend below */
.tw-stage { position: relative; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--edge); overflow: hidden;
  background: radial-gradient(62% 56% at 50% 46%, rgba(150, 146, 255, .075), transparent 74%), radial-gradient(40% 30% at 50% 78%, rgba(60, 207, 192, .05), transparent 80%); }
.tw-cap, .tw-foot { flex: none; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 20px; font-size: 12px; color: var(--t3); }
.tw-lay { display: flex; gap: 6px; }
.tw-lay em { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .05); font-style: normal; font-size: 11px; color: var(--t2); }
.tw-leg { display: flex; gap: 14px; } .tw-leg > span { display: inline-flex; align-items: center; gap: 6px; }
.tw-upd { display: inline-flex; align-items: center; gap: 7px; } .tw-upd i { width: 6px; height: 6px; border-radius: 50%; background: var(--tok); animation: cx-pulse 1.2s ease-in-out infinite alternate; }
.tw-plot { position: relative; flex: none; width: calc(100% - 28px); margin: auto; aspect-ratio: 960 / 540; }

/* the drawing in the app's dark theme. It must not take the app's icon strokes (.ap svg), so it sets its own */
.ap .tw-plot .iso { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: none; opacity: 0; transition: opacity .6s ease; }
.ap .tw-plot .iso.in { opacity: 1; }
.tw-plot .iso polygon, .tw-plot .iso path { vector-effect: non-scaling-stroke; }
.tw-plot .iso .f0 { fill: #1f2129; } .tw-plot .iso .f1 { fill: #191b22; } .tw-plot .iso .f2 { fill: #14151b; }
.tw-plot .iso .st { stroke-width: .6; } .tw-plot .iso .st.f0 { stroke: #1f2129; } .tw-plot .iso .st.f1 { stroke: #191b22; } .tw-plot .iso .st.f2 { stroke: #14151b; }
.tw-plot .iso .e { fill: none; stroke: #5c6170; stroke-width: .7; stroke-linejoin: round; stroke-linecap: round; }
.tw-plot .iso .e.sm { stroke: #383c46; }
.tw-plot .iso-slab polygon { stroke: #262932; stroke-width: .6; } .tw-plot .iso-slab .f0 { fill: #121318; } .tw-plot .iso-slab .f1 { fill: #0f1014; } .tw-plot .iso-slab .f2 { fill: #0d0e12; }
.tw-plot .iso .grid { fill: none; stroke: #1b1d24; stroke-width: .6; }
.tw-plot .iso .lbl { fill: #6f7484; stroke: none; font-family: inherit; letter-spacing: .04em; }
/* each asset's edges carry its state: running and in service in teal, filter 8.2 (its pressure drop rising) in amber */
.tw-plot :is(g[data-k="pumps"], g[data-k="f1"], g[data-k="f3"], g[data-k="f4"]) .e:not(.sm) { stroke: #2f8f86; }
.tw-plot g[data-k="f2"] .e:not(.sm) { stroke: #b88a2e; }
/* picked, then on the answer's route: the parts light one after another; the rest steps back */
.tw-plot g[data-k="f2"] { --tw: 2s; } .tw-plot g[data-k="pumps"] { --tw: 5.95s; } .tw-plot g[data-k="inlet"] { --tw: 6.3s; } .tw-plot g[data-k="cv2"] { --tw: 6.65s; }
@keyframes tw-f0 { to { fill: #2e2b57; stroke: #2e2b57; } }
@keyframes tw-f1 { to { fill: #262347; stroke: #262347; } }
@keyframes tw-f2 { to { fill: #1f1d39; stroke: #1f1d39; } }
@keyframes tw-e { to { stroke: var(--tsel); } }
@keyframes tw-dim { to { stroke: #34373f; } }
.app[data-st="3"] .tw-plot :is(g[data-k="f2"], g[data-k="pumps"], g[data-k="inlet"], g[data-k="cv2"]) .f0 { animation: tw-f0 .6s var(--tw) ease forwards; }
.app[data-st="3"] .tw-plot :is(g[data-k="f2"], g[data-k="pumps"], g[data-k="inlet"], g[data-k="cv2"]) .f1 { animation: tw-f1 .6s var(--tw) ease forwards; }
.app[data-st="3"] .tw-plot :is(g[data-k="f2"], g[data-k="pumps"], g[data-k="inlet"], g[data-k="cv2"]) .f2 { animation: tw-f2 .6s var(--tw) ease forwards; }
.app[data-st="3"] .tw-plot :is(g[data-k="f2"], g[data-k="pumps"], g[data-k="inlet"], g[data-k="cv2"]) .e:not(.sm) { animation: tw-e .6s var(--tw) ease forwards; }
.app[data-st="3"] .tw-plot g[data-k]:not([data-k="f2"], [data-k="pumps"], [data-k="inlet"], [data-k="cv2"]) .e:not(.sm) { animation: tw-dim .8s 5.8s ease forwards; }
.tw-plot:has(.tw-v[data-k="cv2"].hov) g[data-k="cv2"] .e:not(.sm) { stroke: #fff; animation: none; }

/* above the drawing: water moving through the pipes, the ring under the picked filter, the answer's route */
.ap .tw-ov { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; stroke: none; }
.tw-fl { stroke: var(--tok); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 2 9; opacity: .6; vector-effect: non-scaling-stroke; animation: tw-flow 1.3s linear infinite; }
@keyframes tw-flow { to { stroke-dashoffset: -11; } }
@keyframes tw-fade { to { opacity: .22; } }
.app[data-st="3"] .tw-fl { animation: tw-flow 1.3s linear infinite, tw-fade .7s 5.8s ease forwards; }
.tw-route { stroke: var(--tsel); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(150, 146, 255, .85)); }
.app[data-st="3"] .tw-route { animation: cp-draw 1.4s 5.85s cubic-bezier(.45, 0, .2, 1) forwards; }
@keyframes tw-on { to { opacity: 1; } }
.tw-glow { position: absolute; z-index: 1; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(150, 146, 255, .32), rgba(150, 146, 255, .1) 42%, transparent 68%); mix-blend-mode: screen; }
.app[data-st="3"] .tw-glow { animation: tw-on .7s 1.95s ease forwards; }
.tw-plot:not(.ready) :is(.tw-ov, .tw-v, .tw-glow) { visibility: hidden; }

/* readings pinned to the plant: a value and a stem down to the point it was read at */
.tw-v { position: absolute; z-index: 2; display: inline-flex; width: max-content; /* near the plot's right edge it would otherwise shrink and its text spill out */ align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 7px; transform: translate(-50%, calc(-100% - 10px)); white-space: nowrap;
  background: rgba(19, 20, 26, .94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 20px -8px rgba(0, 0, 0, .7); font-size: 11px; color: var(--t2); transition: background-color .25s ease, box-shadow .25s ease; }
.tw-v::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 8px; background: rgba(255, 255, 255, .26); }
.tw-v::before { content: ""; position: absolute; left: 50%; top: calc(100% + 7px); width: 5px; height: 5px; margin-left: -2px; border-radius: 50%; background: var(--tok); box-shadow: 0 0 0 3px rgba(60, 207, 192, .18); }
.tw-v.warn::before { background: var(--twarn); box-shadow: 0 0 0 3px rgba(240, 181, 60, .2); }
.tw-v b { font-weight: 500; color: var(--t1); }
.tw-v em { font-style: normal; color: #86e6db; font-variant-numeric: tabular-nums; }
.tw-v.warn em { color: #ffd27a; }
.tw-v.hov { background: rgba(46, 43, 87, .97); box-shadow: inset 0 0 0 1px rgba(189, 183, 255, .6), 0 8px 20px -8px rgba(0, 0, 0, .7); }
.app[data-st="3"] .tw-v { animation: ap-in .45s calc(.55s + var(--i) * .12s) var(--out) both; }
.tw-hit { position: absolute; z-index: 1; border-radius: 14px; }

/* the right side: the picked asset whole, then the conversation with the plant */
.tw-side { display: flex; flex-direction: column; min-height: 0; }
.tw-insp { position: relative; flex: 1; min-height: 0; padding: 16px 16px 0; }
.tw-empty { position: absolute; left: 28px; right: 28px; top: 40%; transform: translateY(-50%); text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--t4); }
@keyframes tw-out { to { opacity: 0; } }
.app[data-st="3"] .tw-empty { animation: tw-out .3s 1.95s ease forwards; }
.tw-sel { opacity: 0; }
.app[data-st="3"] .tw-sel { animation: ap-in .5s 2.1s var(--out) both; }
.tw-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--edge); }
.tw-h .cx-tag { font-size: 15px; }
.tw-ok { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(60, 207, 192, .12); font-size: 11px; color: #6fe0d3; }
.tw-ok i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tw-sel .cx-h { margin: 14px 2px 4px; }
.tw-rd li { display: grid; grid-template-columns: minmax(0, 1fr) 76px 70px; align-items: center; gap: 10px; height: 31px; padding: 0 2px; font-size: 12.5px; color: var(--t2); }
.tw-rd b { justify-self: end; font-weight: 500; color: var(--t1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tw-rd .up b { color: #ffd27a; }
.ap .tw-sp { display: block; width: 76px; height: 20px; overflow: visible; fill: none; stroke: none; }
.tw-sp path { fill: none; stroke: var(--tok); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tw-rd .up .tw-sp path { stroke: var(--twarn); }
.app[data-st="3"] .tw-sp path { animation: cp-draw 1s 2.35s cubic-bezier(.3, 0, .2, 1) forwards; }
/* how close the pressure drop is to the backwash limit, and the colleague that already acted on it */
.tw-meter { margin: 8px 2px 0; padding: 10px 12px; border-radius: 10px; background: rgba(240, 181, 60, .06); box-shadow: inset 0 0 0 1px rgba(240, 181, 60, .16); }
.tw-meter p { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--t2); }
.tw-meter em { font-style: normal; color: #ffd27a; }
.tw-meter > i { position: relative; display: block; height: 4px; margin-top: 8px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tw-meter > i b { position: absolute; left: 0; top: 0; bottom: 0; width: 84%; border-radius: 2px; background: linear-gradient(90deg, var(--tok), var(--twarn)); transform: scaleX(0); transform-origin: 0 50%; }
@keyframes tw-grow { to { transform: none; } }
.app[data-st="3"] .tw-meter > i b { animation: tw-grow 1.1s 2.45s cubic-bezier(.3, 0, .2, 1) forwards; }
.tw-wo { display: flex; align-items: center; gap: 8px; margin: 10px 2px 0; font-size: 11.5px; color: var(--t3); }
.tw-docs li { padding: 0 2px; }

.tw-chat { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--edge); }
.tw-me { align-self: flex-end; max-width: 80%; padding: 0 11px; border-radius: 12px 12px 4px 12px; background: #26262a; font-size: 12.5px; color: var(--t1); max-height: 0; margin-top: -10px; overflow: hidden; opacity: 0; }
.tw-ans { padding: 0 13px; border-radius: 11px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--edge); max-height: 0; margin-top: -10px; overflow: hidden; opacity: 0; }
.tw-ans > * + * { margin-top: 7px; }
.tw-ans .co-who { align-items: center; }
.tw-a { font-size: 12.5px; line-height: 1.5; color: var(--t2); }
.tw-cite { display: flex; flex-wrap: wrap; gap: 6px; }
.tw-dots { display: flex; gap: 4px; height: 0; overflow: hidden; }
.tw-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--t3); animation: cx-pulse .6s ease-in-out infinite alternate; }
.tw-dots i:nth-child(2) { animation-delay: .2s; } .tw-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes tw-me { to { max-height: 60px; margin-top: 0; padding-top: 7px; padding-bottom: 7px; opacity: 1; } }
@keyframes tw-ans { to { max-height: 260px; margin-top: 0; padding-top: 11px; padding-bottom: 11px; opacity: 1; } }
.app[data-st="3"] .tw-me { animation: tw-me .4s 5s var(--out) forwards; }
.app[data-st="3"] .tw-ans { animation: tw-ans .5s 5.25s var(--out) forwards; }
.tw-ans > .tw-dots { margin-top: 0; }
@keyframes tw-typing { 0%, 99% { height: 6px; margin-top: 7px; } 100% { height: 0; margin-top: 0; } }
@keyframes tw-show { from { opacity: 0; } to { opacity: 1; } }
.app[data-st="3"] .tw-dots { animation: tw-typing .55s 5.25s linear both; }
.app[data-st="3"] .tw-a, .app[data-st="3"] .tw-cite { animation: tw-show .45s 5.8s ease both; }
.tw-sug { display: flex; flex-wrap: wrap; gap: 6px; }
.tw-sug button { height: 28px; padding: 0 10px; border: 0; border-radius: 7px; background: rgba(255, 255, 255, .05); font: inherit; font-size: 11.5px; color: var(--t2); cursor: default; }
@keyframes tw-qon { to { background: rgba(150, 146, 255, .2); color: #dcd8ff; box-shadow: inset 0 0 0 1px rgba(189, 183, 255, .45); } }
@keyframes tw-gone { to { opacity: 0; height: 0; margin-top: -10px; } }
.app[data-st="3"] .tw-q { animation: tw-qon .25s 4.95s ease forwards; }
.app[data-st="3"] .tw-sug { animation: tw-gone .3s 5.05s ease forwards; }
.tw-in { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 8px 0 13px; border-radius: 10px; background: #18181b; box-shadow: inset 0 0 0 1px var(--edge); }
.tw-ph { font-size: 12.5px; color: var(--t4); }
.tw-in i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--t1); }

/* ---- the problem, one valve in five places (24 Nov 2026, redrawn the same day): valve 41.2 is marked in every source as
   the app marks a cited region (platform/web/src/styles/fx.css .ev-mark, viewer.css .sel-mark): four crosses land on the
   corners, a fine dashed frame draws itself clockwise, in the app's evidence blue, and on the drawing, the chart and the
   photo a dark tag pill names it. The marks land card after card as the cards arrive and stay; pointing at any card
   selects the valve in all five (the frames turn solid). Amber is kept for what disagrees: the table's quantity, the
   reading above design. */
.pr-h span { display: block; }
.pr-h span + span { text-wrap: balance; }
.pr-l { text-wrap: balance; }
.src-sheet { position: relative; overflow: hidden; }
.mn-mail .bd { font-size: 11.5px; line-height: 1.45; color: #5d5f68; }
.dr-in { position: absolute; left: 72%; top: 40%; min-width: 100%; min-height: 100%; aspect-ratio: 480 / 336; transform: translate(-72%, -40%); }
.dr-in img { display: block; width: 100%; height: 100%; }
.fr-in { position: absolute; left: 50%; top: 30%; min-width: 100%; min-height: 100%; aspect-ratio: 1824 / 1140; transform: translate(-50%, -30%); }
.fr-in > .ph { border-radius: 0; }

x-ev { --ev: #3d6db3; --cs: 9px; --w0: calc(.45s + var(--n, 0) * .16s); position: absolute; z-index: 2; display: block; pointer-events: none; }
x-ev > .ec { position: absolute; width: var(--cs); height: var(--cs);
  background: linear-gradient(var(--ev), var(--ev)) center / 100% 1.5px no-repeat, linear-gradient(var(--ev), var(--ev)) center / 1.5px 100% no-repeat; }
x-ev > .etl { --x: -1; --y: -1; left: calc(var(--cs) / -2); top: calc(var(--cs) / -2); }
x-ev > .etr { --x: 1; --y: -1; right: calc(var(--cs) / -2); top: calc(var(--cs) / -2); }
x-ev > .ebr { --x: 1; --y: 1; right: calc(var(--cs) / -2); bottom: calc(var(--cs) / -2); }
x-ev > .ebl { --x: -1; --y: 1; left: calc(var(--cs) / -2); bottom: calc(var(--cs) / -2); }
x-ev > .es { position: absolute; color: var(--ev); }
x-ev > .es::before, x-ev > .es::after { content: ""; position: absolute; inset: 0; }
x-ev > .est, x-ev > .esb { left: 0; right: 0; height: 1px; }
x-ev > .esr, x-ev > .esl { top: 0; bottom: 0; width: 1px; }
x-ev > .est { top: 0; transform-origin: 0 50%; } x-ev > .esb { bottom: 0; transform-origin: 100% 50%; }
x-ev > .esr { right: 0; transform-origin: 50% 0; } x-ev > .esl { left: 0; transform-origin: 50% 100%; }
x-ev > .est::before, x-ev > .esb::before { background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 5.5px); }
x-ev > .esr::before, x-ev > .esl::before { background: repeating-linear-gradient(180deg, currentColor 0 3px, transparent 3px 5.5px); }
x-ev > .es::after { background: currentColor; opacity: 0; transition: opacity .25s ease; }
/* the tag pill (viewer.css .sel-lbl): the trace square, the tag bold, what this source says in grey */
x-ev > .ep { position: absolute; left: -1px; bottom: calc(100% + 9px); display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px 0 6px;
  border-radius: 6px; border: 1px solid #2a2a33; background: #111118; color: #f2f1e9; font-size: 10.5px; line-height: 1; white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgba(8, 8, 19, .55); }
x-ev > .ep.ep-below { bottom: auto; top: calc(100% + 9px); }
x-ev > .ep.ep-end { left: auto; right: -1px; }
x-ev > .ep i { flex: none; width: 6px; height: 6px; border-radius: 1.5px; background: #7fa6e6; }
x-ev > .ep b { font-weight: 600; font-variant-numeric: tabular-nums; }
x-ev > .ep small { font-size: 10px; color: #a4a4ac; }
/* pointing at any card selects valve 41.2 in all five */
.srcs:has(.src:hover) x-ev > .es::after { opacity: 1; }
/* where each mark sits */
.ts-ev { left: 74%; right: -2%; top: 17%; height: 21%; }
.et-x { position: relative; }
.et-ev { --cs: 9px; inset: -1px 1px; }
mark.ev-t { position: relative; margin: 0 1px 0 4px; padding: 0 3px; background: none; color: var(--ink); font-weight: 500; white-space: nowrap; }
.ev-in { --cs: 6px; inset: 0 0 1px; }
/* on a phone the cards are small: the pill keeps only the tag, and the table keeps the first row and the marked one */
@media (max-width: 600px) {
  x-ev > .ep small { display: none; }
  x-ev > .ep { padding-right: 6px; }
  .et-t > .et-r:nth-child(3), .et-t > .et-r:nth-child(4), .et-h span { display: none; }
  .src-v.src-et { padding: 12px 10px; }
  .et-r { gap: 6px; padding: 0 7px; font-size: 11px; }
}
.src-ph x-ev { --ev: #b9d0ff; filter: drop-shadow(0 0 1px rgba(8, 8, 19, .7)); }
.src-ph x-ev > .ep { border-color: rgba(255, 255, 255, .16); filter: none; }
/* they land as the cards arrive: the crosses fly in onto the corners, then the frame draws clockwise, then the pill */
@media (prefers-reduced-motion: no-preference) {
  x-ev > .ec { transition: transform .42s cubic-bezier(.3, 1.25, .55, 1) var(--w0), opacity .16s ease-out var(--w0); }
  x-ev > .es { transition: transform .36s cubic-bezier(.16, 1, .3, 1); }
  x-ev > .est { transition-delay: calc(var(--w0) + .1s); } x-ev > .esr { transition-delay: calc(var(--w0) + .2s); }
  x-ev > .esb { transition-delay: calc(var(--w0) + .3s); } x-ev > .esl { transition-delay: calc(var(--w0) + .4s); }
  x-ev > .ep { transition: opacity .2s ease calc(var(--w0) + .5s), transform .3s cubic-bezier(.16, 1, .3, 1) calc(var(--w0) + .5s); }
  .js .src:not(.in) x-ev > .ec { opacity: 0; transform: translate3d(calc(var(--x) * 18px), calc(var(--y) * 18px), 0) rotate(45deg); }
  .js .src:not(.in) x-ev > :is(.est, .esb) { transform: scaleX(0); }
  .js .src:not(.in) x-ev > :is(.esr, .esl) { transform: scaleY(0); }
  .js .src:not(.in) x-ev > .ep { opacity: 0; transform: translateY(3px); }
}
